Point Cloud Library (PCL)
1.14.1-dev
|
BRISK Scale Space helper. More...
#include <pcl/keypoints/brisk_2d.h>
Public Member Functions | |
ScaleSpace (int octaves=3) | |
Constructor. More... | |
~ScaleSpace () | |
void | constructPyramid (const std::vector< unsigned char > &image, int width, int height) |
Construct the image pyramids. More... | |
void | getKeypoints (const int threshold, std::vector< pcl::PointWithScale, Eigen::aligned_allocator< pcl::PointWithScale > > &keypoints) |
Get the keypoints for the associated image and threshold. More... | |
Protected Member Functions | |
bool | isMax2D (const std::uint8_t layer, const int x_layer, const int y_layer) |
Nonmax suppression. More... | |
float | refine1D (const float s_05, const float s0, const float s05, float &max) |
1D (scale axis) refinement: around octave More... | |
float | refine1D_1 (const float s_05, const float s0, const float s05, float &max) |
1D (scale axis) refinement: around intra More... | |
float | refine1D_2 (const float s_05, const float s0, const float s05, float &max) |
1D (scale axis) refinement: around octave 0 only More... | |
float | subpixel2D (const int s_0_0, const int s_0_1, const int s_0_2, const int s_1_0, const int s_1_1, const int s_1_2, const int s_2_0, const int s_2_1, const int s_2_2, float &delta_x, float &delta_y) |
2D maximum refinement More... | |
float | refine3D (const std::uint8_t layer, const int x_layer, const int y_layer, float &x, float &y, float &scale, bool &ismax) |
3D maximum refinement centered around (x_layer,y_layer) More... | |
int | getScoreAbove (const std::uint8_t layer, const int x_layer, const int y_layer) |
interpolated score access with recalculation when needed More... | |
int | getScoreBelow (const std::uint8_t layer, const int x_layer, const int y_layer) |
float | getScoreMaxAbove (const std::uint8_t layer, const int x_layer, const int y_layer, const int threshold, bool &ismax, float &dx, float &dy) |
return the maximum of score patches above or below More... | |
float | getScoreMaxBelow (const std::uint8_t layer, const int x_layer, const int y_layer, const int threshold, bool &ismax, float &dx, float &dy) |
Protected Attributes | |
std::uint8_t | layers_ |
std::vector< pcl::keypoints::brisk::Layer > | pyramid_ |
std::uint8_t | threshold_ |
std::uint8_t | safe_threshold_ |
float | safety_factor_ {1.0} |
float | basic_size_ {12.0} |
BRISK Scale Space helper.
Definition at line 390 of file brisk_2d.h.
pcl::keypoints::brisk::ScaleSpace::ScaleSpace | ( | int | octaves = 3 | ) |
Constructor.
Specify the number of octaves.
[in] | octaves | the number of octaves (default: 3) |
pcl::keypoints::brisk::ScaleSpace::~ScaleSpace | ( | ) |
void pcl::keypoints::brisk::ScaleSpace::constructPyramid | ( | const std::vector< unsigned char > & | image, |
int | width, | ||
int | height | ||
) |
Construct the image pyramids.
[in] | image | the image to construct pyramids for |
[in] | width | the image width |
[in] | height | the image height |
Referenced by pcl::BriskKeypoint2D< PointInT, PointOutT, IntensityT >::detectKeypoints().
void pcl::keypoints::brisk::ScaleSpace::getKeypoints | ( | const int | threshold, |
std::vector< pcl::PointWithScale, Eigen::aligned_allocator< pcl::PointWithScale > > & | keypoints | ||
) |
Get the keypoints for the associated image and threshold.
[in] | threshold | the threshold for the keypoints |
[out] | keypoints | the resultant list of keypoints |
Referenced by pcl::BriskKeypoint2D< PointInT, PointOutT, IntensityT >::detectKeypoints().
|
inlineprotected |
interpolated score access with recalculation when needed
|
inlineprotected |
|
inlineprotected |
return the maximum of score patches above or below
|
inlineprotected |
|
inlineprotected |
Nonmax suppression.
|
inlineprotected |
1D (scale axis) refinement: around octave
|
inlineprotected |
1D (scale axis) refinement: around intra
|
inlineprotected |
1D (scale axis) refinement: around octave 0 only
|
inlineprotected |
3D maximum refinement centered around (x_layer,y_layer)
|
inlineprotected |
2D maximum refinement
|
protected |
Definition at line 476 of file brisk_2d.h.
|
protected |
Definition at line 467 of file brisk_2d.h.
|
protected |
Definition at line 468 of file brisk_2d.h.
|
protected |
Definition at line 472 of file brisk_2d.h.
|
protected |
Definition at line 475 of file brisk_2d.h.
|
protected |
Definition at line 471 of file brisk_2d.h.