|
libfovis
|
Extracts mean-normalized intensity patch around a pixel. More...
Public Member Functions | |
| const int * | getDescriptorIndexOffsets () const |
| int | getDescriptorLength () const |
| int | getDescriptorStride () const |
| IntensityDescriptorExtractor (int raw_gray_stride, int feature_window_size) | |
| void | populateDescriptorAligned (uint8_t *image, int x, int y, uint8_t *descriptor) const |
| void | populateDescriptorInterp (uint8_t *image, float x, float y, uint8_t *descriptor) const |
| void | populateDescriptorsAligned (uint8_t *image, const KeypointData *keypoints, int num_keypoints, uint8_t *descriptors) const |
| void | populateDescriptorsInterp (uint8_t *image, const KeypointData *keypoints, int num_keypoints, uint8_t *descriptors) const |
Extracts mean-normalized intensity patch around a pixel.
|
inline |
| raw_gray_stride | specifies the number of bytes separating each row of the input image. |
| feature_window_size | the size of the descriptor window. |
| void populateDescriptorInterp | ( | uint8_t * | image, |
| float | x, | ||
| float | y, | ||
| uint8_t * | descriptor | ||
| ) | const |
Computes a single descriptor using bilinear interpolation at every point on the descriptor. This performs 4 floating point multiplications for every pixel in the descriptor.
Assumes that the output parameter is 16-byte aligned.
| void populateDescriptorAligned | ( | uint8_t * | image, |
| int | x, | ||
| int | y, | ||
| uint8_t * | descriptor | ||
| ) | const |
Computes a single descriptor. Assumes that the output parameter descriptor is 16-byte aligned.
| void populateDescriptorsInterp | ( | uint8_t * | image, |
| const KeypointData * | keypoints, | ||
| int | num_keypoints, | ||
| uint8_t * | descriptors | ||
| ) | const |
Compute many descriptors using bilinear interpolation.
| image | input image used for descriptor computation. |
| keypoints | keypoints for descriptor computation. |
| num_keypoints | the number of keypoints. |
| descriptors | Must be 16-byte aligned and pre-allocated to num_keypoints * 16 * getDescriptorStride() bytes. |
| void populateDescriptorsAligned | ( | uint8_t * | image, |
| const KeypointData * | keypoints, | ||
| int | num_keypoints, | ||
| uint8_t * | descriptors | ||
| ) | const |
Compute many descriptors.
| image | input image used for descriptor computation. |
| keypoints | keypoints for descriptor computation. |
| num_keypoints | the number of keypoints. |
| descriptors | Must be 16-byte aligned and pre-allocated to num_keypoints * 16 * getDescriptorStride() bytes. |
|
inline |
|
inline |
|
inline |
1.8.9.1