Blob detection configuration parameters. More...
#include </home/jenkins/root/workspace/OSVR-Core-Docs/plugins/videotrackershared/BlobParams.h>
Public Attributes | |
float | minDistBetweenBlobs = 3.0f |
float | minArea = 2.0f |
bool | filterByCircularity = true |
float | minCircularity = 0.2f |
Same meaning as the parameter to OpenCV's SimpleBlobDetector. | |
bool | filterByConvexity = true |
float | minConvexity = 0.85f |
Same meaning as the parameter to OpenCV's SimpleBlobDetector. | |
double | absoluteMinThreshold = 50. |
double | minThresholdAlpha = 0.3 |
double | maxThresholdAlpha = 0.8 |
int | thresholdSteps = 4 |
Blob detection configuration parameters.
Definition at line 40 of file BlobParams.h.
float osvr::vbtracker::BlobParams::minDistBetweenBlobs = 3.0f |
Same meaning as the parameter to OpenCV's SimpleBlobDetector - in pixel units. May not be used (not used by the EdgeHoleExtractor)
Definition at line 43 of file BlobParams.h.
float osvr::vbtracker::BlobParams::minArea = 2.0f |
Same meaning as the parameter to OpenCV's SimpleBlobDetector - in square pixel units.
Definition at line 52 of file BlobParams.h.
bool osvr::vbtracker::BlobParams::filterByCircularity = true |
Same meaning as the parameter to OpenCV's SimpleBlobDetector - this is faster than convexity but may be confused by side-views of LEDs.
Definition at line 57 of file BlobParams.h.
bool osvr::vbtracker::BlobParams::filterByConvexity = true |
Same meaning as the parameter to OpenCV's SimpleBlobDetector - this is a lot more expensive than filterByCircularity
Definition at line 64 of file BlobParams.h.
double osvr::vbtracker::BlobParams::absoluteMinThreshold = 50. |
This is the absolute minimum pixel value that will be considered as a possible signal. Images that contain only values below this will be totally discarded as containing zero keypoints.
Definition at line 72 of file BlobParams.h.
double osvr::vbtracker::BlobParams::minThresholdAlpha = 0.3 |
This value, in the range (0, 1), is the linear interpolation factor between the minimum and maximum value pixel in a frame that will be the minimum threshold value used by the simple blob detector (if it does not drop below absoluteMinThreshold)
Definition at line 78 of file BlobParams.h.
double osvr::vbtracker::BlobParams::maxThresholdAlpha = 0.8 |
This value, in the range (0, 1), is the linear interpolation factor between the minimum and maximum value pixel in a frame that will be the maximum threshold value used by the simple blob detector (if it does not drop below absoluteMinThreshold)
Definition at line 84 of file BlobParams.h.
int osvr::vbtracker::BlobParams::thresholdSteps = 4 |
This is the number of thresholding and contour extraction steps that the blob extractor will take between the two threshold extrema, and thus greatly impacts performance. Adjust with care. Not used by the EdgeHoleExtractor.
Definition at line 90 of file BlobParams.h.