OSVR-Core
Public Attributes | List of all members
osvr::vbtracker::BlobParams Struct Reference

Blob detection configuration parameters. More...

#include <BlobParams.h>

Public Attributes

float minDistBetweenBlobs = 3.0f
 Same meaning as the parameter to OpenCV's SimpleBlobDetector - in pixel units. More...
 
float minArea = 2.0f
 Same meaning as the parameter to OpenCV's SimpleBlobDetector - in square pixel units. More...
 
bool 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. More...
 
float minCircularity = 0.2f
 Same meaning as the parameter to OpenCV's SimpleBlobDetector.
 
bool filterByConvexity = true
 Same meaning as the parameter to OpenCV's SimpleBlobDetector - this is a lot more expensive than filterByCircularity.
 
float minConvexity = 0.85f
 Same meaning as the parameter to OpenCV's SimpleBlobDetector.
 
double absoluteMinThreshold = 50.
 This is the absolute minimum pixel value that will be considered as a possible signal. More...
 
double 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)
 
double 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)
 
int 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. More...
 

Detailed Description

Blob detection configuration parameters.

Member Data Documentation

§ absoluteMinThreshold

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.

§ filterByCircularity

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.

§ minArea

float osvr::vbtracker::BlobParams::minArea = 2.0f

Same meaning as the parameter to OpenCV's SimpleBlobDetector - in square pixel units.

§ minDistBetweenBlobs

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)

§ thresholdSteps

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.


The documentation for this struct was generated from the following file: