|
CycloPos Header version 1.0.0
ToolTech Software · C++ library reference
|
#include <cyFeature.h>
Public Member Functions | |
| cyFeature () | |
| virtual | ~cyFeature () |
| gzVoid | calculateFeatureCorners (gzImage *image, gzArray< gzInt32 > &levels, gzUInt32 divs=1, gzUInt32 targetCount=CY_DEFAULT_FEATURE_MAXFEAT, cyFeatureType featureType=CY_FEATURE_TYPE_FAST9, gzUInt32 maxIterations=CY_DEFAULT_FEATURE_MAX_ITERATIONS, gzFloat errorPercentage=CY_DEFAULT_FEATURE_ERROR_PERCENTAGE) |
| gzVoid | clearFeatures () |
| gzVoid | calculateIntegralImage (gzImage *image) |
| gzVoid | clearIntegralImage () |
| gzBool | hasIntegralImage () |
| gzVoid | normalize (gzBool yes) |
| gzVoid | undistort (cyCamera *cam) |
| gzFloat | dominantOrientation (gzInt32 x, gzInt32 y, gzFloat scale, gzFloat aspectXY=1, gzInt32 radius=6, gzInt32 angleIndex=40, gzInt32 deltaIndex=5, gzFloat sigma=CY_DEFAULT_DESCRIPTOR_ORIENTATION_SIGMA) const |
| Generic Dominant Orientation. | |
| gzUInt32 | descriptor (gzArray< gzFloat > &desc, cyDescriptorType type, gzInt32 x, gzInt32 y, gzInt32 x_blocks, gzInt32 y_blocks, gzInt32 x_size, gzInt32 y_size, gzFloat scale, gzFloat aspectXY, gzFloat orientation, gzFloat sigma=CY_DEFAULT_DESCRIPTOR_SIGMA) const |
| Generic Descriptor. | |
| gzVoid | calculateDescriptors (gzUInt32 octaves=3, gzUInt32 intervals=5, cyDescriptorType type=CY_DEFAULT_DESCRIPTOR_TYPE, gzInt32 x_blocks=CY_DEFAULT_DESCRIPTOR_X_BLOCKS, gzInt32 y_blocks=CY_DEFAULT_DESCRIPTOR_Y_BLOCKS, gzInt32 x_size=CY_DEFAULT_DESCRIPTOR_X_SIZE, gzInt32 y_size=CY_DEFAULT_DESCRIPTOR_Y_SIZE, gzFloat aspectXY=1, gzFloat sigma=CY_DEFAULT_DESCRIPTOR_SIGMA, gzFloat global_scale=1.0f, gzBool upright=FALSE) |
| gzVoid | clearDescriptors () |
| gzInt32 | getClosestCornerIndex (gzInt32 x, gzInt32 y, gzInt32 current, gzArray< gzBool > *allocList=NULL) |
| gzBool | areValidChessCornerNeighbours (gzImage *image, gzInt32 index_a, gzInt32 index_b, cyFeatureType type) |
| gzVoid | detectPositionPatterns (gzImage *image, gzRefList< cyPositionPattern > &result, cyCamera *camera) |
| gzVoid | getPositionPatternData (gzImage *image, gzRefList< cyPositionPattern > &result, gzUInt32 bits=4) |
| virtual gzVoid | debug (cyDebugFlags flags=CY_DEBUG_DEFAULT) |
| cyMatch * | match (cyFeature *feature, gzFloat minAngleDifference=CY_DEFAULT_MATCH_MIN_ANGLE_DIFFERENCE, gzFloat maxAngleDifference=CY_DEFAULT_MATCH_MAX_ANGLE_DIFFERENCE, gzFloat maxMatchDisplacement=CY_DEFAULT_MATCH_MAX_DISPLACEMENT, gzFloat maxMatchYDisplacement=CY_DEFAULT_MATCH_MAX_Y_DISPLACEMENT, gzUInt32 maxMatchedPoints=CY_DEFAULT_MATCH_MAX_MATCHED_POINTS, gzFloat maxMatchDistance=CY_DEFAULT_MATCH_MAX_DISTANCE, gzFloat matchRatio=CY_DEFAULT_MATCH_RATIO, gzBool sameScale=FALSE) |
| cyMatch * | match (cyFeature *feature, gzMatrixf &F, gzFloat maxMatchError, gzFloat minAngleDifference=CY_DEFAULT_MATCH_MIN_ANGLE_DIFFERENCE, gzFloat maxAngleDifference=CY_DEFAULT_MATCH_MAX_ANGLE_DIFFERENCE, gzUInt32 maxMatchedPoints=CY_DEFAULT_MATCH_MAX_MATCHED_POINTS, gzFloat maxMatchDistance=CY_DEFAULT_MATCH_MAX_DISTANCE, gzFloat matchRatio=CY_DEFAULT_MATCH_RATIO, gzBool sameScale=FALSE) |
| gzVoid | clearMatches () |
| gzBool | hasValidBaseP () |
| gzUInt32 | getWidth () const |
| gzUInt32 | getHeight () const |
| const gzArray< gzInt32 > & | getLevels () const |
| const gzInt32 & | getCornerCount () const |
| const gzInt32 & | getDescriptorCount () const |
| const gzUInt32 & | getReferenceID () const |
| gzVoid | setReferenceID (const gzUInt32 &prop) |
| const gzBool & | getNormalized () const |
| gzVoid | setNormalized (const gzBool &prop) |
| const gzMatrixf & | getBaseP () const |
| gzVoid | setBaseP (const gzMatrixf &prop) |
Static Public Member Functions | |
| static cyFeature * | createFromImage (gzImage *image, gzArray< gzInt32 > &levels, gzUInt32 divs=1, gzUInt32 targetCount=CY_DEFAULT_FEATURE_MAXFEAT, cyFeatureType featureType=CY_FEATURE_TYPE_FAST9, gzUInt32 maxIterations=CY_DEFAULT_FEATURE_MAX_ITERATIONS, gzFloat errorPercentage=CY_DEFAULT_FEATURE_ERROR_PERCENTAGE) |
| static gzArray2D< gzFloatXY > | getFeatureMatrix (gzImage *image, gzUInt32 expectedCorners, gzArray< gzInt32 > &levels, cyFeatureType featureType=CY_FEATURE_TYPE_CHESS) |
| static gzInt32 | getScore (gzImage *image, gzUInt32XY xy, cyFeatureType featureType=CY_FEATURE_TYPE_FAST9) |
| static gzFloatXY | getMaxSubpixel (gzImage *image, gzInt32XY xy, cyFeatureType featureType=CY_FEATURE_TYPE_FAST9) |
Friends | |
| class | cyMatch |
| class | cyCamera |
Definition at line 109 of file cyFeature.h.
| cyFeature::cyFeature | ( | ) |
References CY_EXPORT.
Referenced by createFromImage(), getBaseP(), match(), and match().
|
virtual |
References CY_EXPORT.
| gzBool cyFeature::areValidChessCornerNeighbours | ( | gzImage * | image, |
| gzInt32 | index_a, | ||
| gzInt32 | index_b, | ||
| cyFeatureType | type ) |
References CY_EXPORT.
| gzVoid cyFeature::calculateDescriptors | ( | gzUInt32 | octaves = 3, |
| gzUInt32 | intervals = 5, | ||
| cyDescriptorType | type = CY_DEFAULT_DESCRIPTOR_TYPE, | ||
| gzInt32 | x_blocks = CY_DEFAULT_DESCRIPTOR_X_BLOCKS, | ||
| gzInt32 | y_blocks = CY_DEFAULT_DESCRIPTOR_Y_BLOCKS, | ||
| gzInt32 | x_size = CY_DEFAULT_DESCRIPTOR_X_SIZE, | ||
| gzInt32 | y_size = CY_DEFAULT_DESCRIPTOR_Y_SIZE, | ||
| gzFloat | aspectXY = 1, | ||
| gzFloat | sigma = CY_DEFAULT_DESCRIPTOR_SIGMA, | ||
| gzFloat | global_scale = 1.0f, | ||
| gzBool | upright = FALSE ) |
| gzVoid cyFeature::calculateFeatureCorners | ( | gzImage * | image, |
| gzArray< gzInt32 > & | levels, | ||
| gzUInt32 | divs = 1, | ||
| gzUInt32 | targetCount = CY_DEFAULT_FEATURE_MAXFEAT, | ||
| cyFeatureType | featureType = CY_FEATURE_TYPE_FAST9, | ||
| gzUInt32 | maxIterations = CY_DEFAULT_FEATURE_MAX_ITERATIONS, | ||
| gzFloat | errorPercentage = CY_DEFAULT_FEATURE_ERROR_PERCENTAGE ) |
| gzVoid cyFeature::calculateIntegralImage | ( | gzImage * | image | ) |
References CY_EXPORT.
| gzVoid cyFeature::clearDescriptors | ( | ) |
References CY_EXPORT.
| gzVoid cyFeature::clearFeatures | ( | ) |
References CY_EXPORT.
| gzVoid cyFeature::clearIntegralImage | ( | ) |
References CY_EXPORT.
| gzVoid cyFeature::clearMatches | ( | ) |
References CY_EXPORT.
|
static |
|
virtual |
References CY_DEBUG_DEFAULT, and CY_EXPORT.
| gzUInt32 cyFeature::descriptor | ( | gzArray< gzFloat > & | desc, |
| cyDescriptorType | type, | ||
| gzInt32 | x, | ||
| gzInt32 | y, | ||
| gzInt32 | x_blocks, | ||
| gzInt32 | y_blocks, | ||
| gzInt32 | x_size, | ||
| gzInt32 | y_size, | ||
| gzFloat | scale, | ||
| gzFloat | aspectXY, | ||
| gzFloat | orientation, | ||
| gzFloat | sigma = CY_DEFAULT_DESCRIPTOR_SIGMA ) const |
Generic Descriptor.
References CY_DEFAULT_DESCRIPTOR_SIGMA, and CY_EXPORT.
| gzVoid cyFeature::detectPositionPatterns | ( | gzImage * | image, |
| gzRefList< cyPositionPattern > & | result, | ||
| cyCamera * | camera ) |
| gzFloat cyFeature::dominantOrientation | ( | gzInt32 | x, |
| gzInt32 | y, | ||
| gzFloat | scale, | ||
| gzFloat | aspectXY = 1, | ||
| gzInt32 | radius = 6, | ||
| gzInt32 | angleIndex = 40, | ||
| gzInt32 | deltaIndex = 5, | ||
| gzFloat | sigma = CY_DEFAULT_DESCRIPTOR_ORIENTATION_SIGMA ) const |
Generic Dominant Orientation.
References CY_DEFAULT_DESCRIPTOR_ORIENTATION_SIGMA, and CY_EXPORT.
| const gzMatrixf & cyFeature::getBaseP | ( | ) | const |
References CY_EXPORT, cyFeature(), and cyMatch.
| gzInt32 cyFeature::getClosestCornerIndex | ( | gzInt32 | x, |
| gzInt32 | y, | ||
| gzInt32 | current, | ||
| gzArray< gzBool > * | allocList = NULL ) |
References CY_EXPORT.
| const gzInt32 & cyFeature::getCornerCount | ( | ) | const |
References CY_EXPORT.
| const gzInt32 & cyFeature::getDescriptorCount | ( | ) | const |
References CY_EXPORT.
|
static |
References CY_EXPORT, and CY_FEATURE_TYPE_CHESS.
| gzUInt32 cyFeature::getHeight | ( | ) | const |
References CY_EXPORT.
| const gzArray< gzInt32 > & cyFeature::getLevels | ( | ) | const |
References CY_EXPORT.
|
static |
References CY_EXPORT, and CY_FEATURE_TYPE_FAST9.
| const gzBool & cyFeature::getNormalized | ( | ) | const |
References CY_EXPORT.
| gzVoid cyFeature::getPositionPatternData | ( | gzImage * | image, |
| gzRefList< cyPositionPattern > & | result, | ||
| gzUInt32 | bits = 4 ) |
References CY_EXPORT.
| const gzUInt32 & cyFeature::getReferenceID | ( | ) | const |
References CY_EXPORT.
|
static |
References CY_EXPORT, and CY_FEATURE_TYPE_FAST9.
| gzUInt32 cyFeature::getWidth | ( | ) | const |
References CY_EXPORT.
| gzBool cyFeature::hasIntegralImage | ( | ) |
References CY_EXPORT.
| gzBool cyFeature::hasValidBaseP | ( | ) |
References CY_EXPORT.
| cyMatch * cyFeature::match | ( | cyFeature * | feature, |
| gzFloat | minAngleDifference = CY_DEFAULT_MATCH_MIN_ANGLE_DIFFERENCE, | ||
| gzFloat | maxAngleDifference = CY_DEFAULT_MATCH_MAX_ANGLE_DIFFERENCE, | ||
| gzFloat | maxMatchDisplacement = CY_DEFAULT_MATCH_MAX_DISPLACEMENT, | ||
| gzFloat | maxMatchYDisplacement = CY_DEFAULT_MATCH_MAX_Y_DISPLACEMENT, | ||
| gzUInt32 | maxMatchedPoints = CY_DEFAULT_MATCH_MAX_MATCHED_POINTS, | ||
| gzFloat | maxMatchDistance = CY_DEFAULT_MATCH_MAX_DISTANCE, | ||
| gzFloat | matchRatio = CY_DEFAULT_MATCH_RATIO, | ||
| gzBool | sameScale = FALSE ) |
| cyMatch * cyFeature::match | ( | cyFeature * | feature, |
| gzMatrixf & | F, | ||
| gzFloat | maxMatchError, | ||
| gzFloat | minAngleDifference = CY_DEFAULT_MATCH_MIN_ANGLE_DIFFERENCE, | ||
| gzFloat | maxAngleDifference = CY_DEFAULT_MATCH_MAX_ANGLE_DIFFERENCE, | ||
| gzUInt32 | maxMatchedPoints = CY_DEFAULT_MATCH_MAX_MATCHED_POINTS, | ||
| gzFloat | maxMatchDistance = CY_DEFAULT_MATCH_MAX_DISTANCE, | ||
| gzFloat | matchRatio = CY_DEFAULT_MATCH_RATIO, | ||
| gzBool | sameScale = FALSE ) |
| gzVoid cyFeature::normalize | ( | gzBool | yes | ) |
References CY_EXPORT.
| gzVoid cyFeature::setBaseP | ( | const gzMatrixf & | prop | ) |
| gzVoid cyFeature::setNormalized | ( | const gzBool & | prop | ) |
| gzVoid cyFeature::setReferenceID | ( | const gzUInt32 & | prop | ) |
|
friend |
Definition at line 112 of file cyFeature.h.
References cyCamera.
Referenced by cyCamera, detectPositionPatterns(), and undistort().
|
friend |
Definition at line 111 of file cyFeature.h.
References cyMatch.
Referenced by cyMatch, getBaseP(), match(), and match().