#include <MultiSenseTypes.hh>
Public Member Functions | |
ApriltagParams () | |
Public Attributes | |
double | decode_sharpening |
std::string | family |
uint8_t | max_hamming |
size_t | min_border_width |
double | quad_detection_blur_sigma |
double | quad_detection_decimate |
bool | refine_quad_edges |
Class containing parameters for the apriltag fiducial detection algorithm application which may be running on the specifically commissioned MultiSenses.
Example code to set a device's apriltag parameters:
Definition at line 3880 of file Legacy/include/MultiSense/MultiSenseTypes.hh.
|
inline |
Default constructor
Definition at line 3926 of file Legacy/include/MultiSense/MultiSenseTypes.hh.
double crl::multisense::system::ApriltagParams::decode_sharpening |
How much to sharpen the quad before sampling the pixels. After the homography turns the sampled pixels into a perfect square image representing the tag bits, the sharpening is applied bring out the potentially soft edges. 0 to turn off, large values are stronger sharpening, recommended to stay below 1
Definition at line 3923 of file Legacy/include/MultiSense/MultiSenseTypes.hh.
std::string crl::multisense::system::ApriltagParams::family |
Apriltag family to detect
Definition at line 3883 of file Legacy/include/MultiSense/MultiSenseTypes.hh.
uint8_t crl::multisense::system::ApriltagParams::max_hamming |
The maximum hamming correction that will be applied while detecting codes
Definition at line 3886 of file Legacy/include/MultiSense/MultiSenseTypes.hh.
size_t crl::multisense::system::ApriltagParams::min_border_width |
Minimum border width that can be considered a valid tag. Used to filter contours based on area and perimeter. Units are in undecimated image pixels. Increasing the value will speed up the detector and may reduce false detection rates at the expense of reducing ability to detect small tags. NOTE: If this value is smaller than the smallest tag border, detector will override with the minimum border width out of the active families in the detector.
Family border widths for reference: tag16h5 : 6 px tag25h9 : 7 px tag36h11 : 8 px tagCircle21h7 : 5 px tagCircle49h12 : 5 px tagCustom48h12 : 6 px tagStandard41h12 : 5 px tagStandard52h13 : 6 px
Definition at line 3914 of file Legacy/include/MultiSense/MultiSenseTypes.hh.
double crl::multisense::system::ApriltagParams::quad_detection_blur_sigma |
Sigma of the Gaussian blur applied to the image before quad_detection Specified in full resolution pixels. Kernel size = 4*sigma, rounded up to the next odd number. (<0.5 results in no blur)
Definition at line 3891 of file Legacy/include/MultiSense/MultiSenseTypes.hh.
double crl::multisense::system::ApriltagParams::quad_detection_decimate |
Amount to decimate image before detecting quads. Values < 1.0 (0.5 decimation reduces height/width by half)
Definition at line 3895 of file Legacy/include/MultiSense/MultiSenseTypes.hh.
bool crl::multisense::system::ApriltagParams::refine_quad_edges |
Whether or not to refine the edges before attempting to decode
Definition at line 3917 of file Legacy/include/MultiSense/MultiSenseTypes.hh.