public class SquareImage_to_FiducialDetector<T extends boofcv.struct.image.ImageGray<T>> extends SquareBase_to_FiducialDetector<T,DetectFiducialSquareImage<T>>
DetectFiducialSquareImage for FiducialDetector| Constructor and Description |
|---|
SquareImage_to_FiducialDetector(DetectFiducialSquareImage<T> alg) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPatternBinary(boofcv.struct.image.GrayU8 binary,
double lengthSide)
Add a new pattern to be detected.
|
void |
addPatternImage(T pattern,
double threshold,
double lengthSide)
Add a new pattern to be detected.
|
double |
getWidth(int which)
Returns the width of the fiducial in world units.
|
detect, estimatePose, getAlgorithm, getBounds, getCenter, getControl3D, getDetectedControl, getId, getInputType, getMessage, hasMessage, hasUniqueID, setLensDistortion, totalFoundcomputeStability, getFiducialToCamera, getLensDistortion, is3Dpublic SquareImage_to_FiducialDetector(DetectFiducialSquareImage<T> alg)
public void addPatternImage(T pattern, double threshold, double lengthSide)
pattern - Gray scale image of the patternthreshold - Threshold used to convert it into a binary imagelengthSide - Length of a side on the square in world units.public void addPatternBinary(boofcv.struct.image.GrayU8 binary,
double lengthSide)
binary - Binary image of the pattern. 0 = black, 1 = white.lengthSide - Length of a side on the square in world units.public double getWidth(int which)
FiducialDetectorwhich - Fiducial's index