Package boofcv.abst.fiducial.calib
Class CalibrationDetectorMultiECoCheck
java.lang.Object
boofcv.abst.fiducial.calib.CalibrationDetectorMultiECoCheck
- All Implemented Interfaces:
DetectMultiFiducialCalibration
public class CalibrationDetectorMultiECoCheck
extends Object
implements DetectMultiFiducialCalibration
Implementation of
DetectMultiFiducialCalibration
for ECoCheckDetector
.-
Constructor Summary
ConstructorDescriptionCalibrationDetectorMultiECoCheck
(ECoCheckDetector<GrayF32> detector, int firstTargetDuplicated, List<ConfigECoCheckMarkers.MarkerShape> markers) -
Method Summary
Modifier and TypeMethodDescriptiongetDetectedPoints
(int detectionID) Returns the set of detected points from the most recent call toDetectMultiFiducialCalibration.process(GrayF32)
.int
Returns the number of detected markersgetLayout
(int markerID) Returns the layout of the calibration points on the targetint
Returns the number of unique markers that it can detectvoid
Image processing for calibration target detectionvoid
setLensDistortion
(@Nullable LensDistortionNarrowFOV distortion, int width, int height) Explicitly handles lens distortion when detecting image features.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.abst.geo.calibration.DetectMultiFiducialCalibration
getBestForEachTarget, getLayouts
-
Constructor Details
-
CalibrationDetectorMultiECoCheck
public CalibrationDetectorMultiECoCheck(ECoCheckDetector<GrayF32> detector, int firstTargetDuplicated, List<ConfigECoCheckMarkers.MarkerShape> markers)
-
-
Method Details
-
process
Description copied from interface:DetectMultiFiducialCalibration
Image processing for calibration target detection- Specified by:
process
in interfaceDetectMultiFiducialCalibration
- Parameters:
input
- Gray scale image containing calibration target
-
getDetectionCount
public int getDetectionCount()Description copied from interface:DetectMultiFiducialCalibration
Returns the number of detected markers- Specified by:
getDetectionCount
in interfaceDetectMultiFiducialCalibration
-
getTotalUniqueMarkers
public int getTotalUniqueMarkers()Description copied from interface:DetectMultiFiducialCalibration
Returns the number of unique markers that it can detect- Specified by:
getTotalUniqueMarkers
in interfaceDetectMultiFiducialCalibration
-
getDetectedPoints
Description copied from interface:DetectMultiFiducialCalibration
Returns the set of detected points from the most recent call toDetectMultiFiducialCalibration.process(GrayF32)
. Each time this function is invoked a new instance of the list and points is returned. No data reuse here.- Specified by:
getDetectedPoints
in interfaceDetectMultiFiducialCalibration
- Parameters:
detectionID
- Which detection should it return the points for- Returns:
- List of detected points in row major grid order.
-
getLayout
Description copied from interface:DetectMultiFiducialCalibration
Returns the layout of the calibration points on the target- Specified by:
getLayout
in interfaceDetectMultiFiducialCalibration
- Parameters:
markerID
- Which marker should it return the layout of- Returns:
- List of calibration points
-
setLensDistortion
public void setLensDistortion(@Nullable @Nullable LensDistortionNarrowFOV distortion, int width, int height) Description copied from interface:DetectMultiFiducialCalibration
Explicitly handles lens distortion when detecting image features. If used, features will be found in undistorted pixel coordinates- Specified by:
setLensDistortion
in interfaceDetectMultiFiducialCalibration
-