![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Base/FiducialExtraction.h>
Detect circles in the image patch using gradient-based (RANSAC) method. More...
Detect circles in the image patch using gradient-based (RANSAC) method.
Public Types | |
enum | GradientFilter { None , Outward , Inward } |
Public Member Functions | |
FiducialExtraction (SharedImage *image) | |
Constructor which takes an image where the circles need to be found. | |
~FiducialExtraction () | |
Destructor. | |
bool | findCircle (const vec2i &patchCenter, const vec2 &patchBboxSize, vec2 ¢erOut, double &radiusOut) |
Find a circle in the patch of m_image, specified by bounding box size and its center. | |
void | setGradientThreshold (float gradientThreshold) |
Set the gradient threshold. | |
float | gradientThreshold () const |
void | setInlierThreshold (double threshold) |
Set inlier threshold in pixels. | |
double | inlierThreshold () const |
void | setNormalizePatch (bool normalize) |
Set whether to normalize patch before fiducial extraction. If set to no the patch will be taken from the entire normalized image. | |
bool | normalizePatch () const |
void | setGradientFilter (GradientFilter filter) |
GradientFilter | gradientFilter () const |
enum GradientFilter |