112 printf(
"error: input image is not a grayscale image\n");
131 printf(
"error: input image is not a grayscale image\n");
Vec2d * m_pInterestPoints
CDynamicArray * m_pResultList
static void CreateSIFTDescriptors(const CFloatMatrix *pImage, CDynamicArray *pResultList, float x, float y, float scale, float sigma, const float *pOrientationWeights, bool bManageMemory=true, bool bPerform80PercentCheck=true)
GLenum GLenum GLenum GLenum GLenum scale
int width
The width of the image in pixels.
static const float scale_factor
Base class for the representation of local features.
bool m_bPerform80PercentCheck
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
int CalculateFeatures(const CByteImage *pImage, CDynamicArray *pResultList, bool bManageMemory=true)
Data structure for the representation of SIFT features.
void FindInterestPoints(const CByteImage *pImage, float scale, int nLevel)
~CHarrisSIFTFeatureCalculator()
const CByteImage * m_pImage
CFeatureEntry * CreateCopy(const CFeatureEntry *pFeatureEntry)
int height
The height of the image in pixels.
CDynamicArrayTemplatePointer< CFeatureEntry > * m_pResultListTemplate
ImageType type
The type of the image.
int CalculateHarrisInterestPoints(const CByteImage *pInputImage, Vec2d *pInterestPoints, int nMaxPoints, float fQualityLevel=0.01f, float fMinDistance=5.0f)
Computes interest points within a CByteImage by applying the Harris corner detector.
static void InitializeVariables()
Data structure for the representation of a 2D vector.
bool Resize(const CByteImage *pInputImage, CByteImage *pOutputImage, const MyRegion *pROI=0, bool bInterpolation=true)
Resizes a CByteImage and writes the result to a CByteImage.
CHarrisSIFTFeatureCalculator(float fThreshold=0.01f, int nLayers=3, int nMaxInterestPoints=500)