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
ConstructorsConstructorDescriptionCalibrationDetectorMultiECoCheck(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).intReturns the number of detected markersgetLayout(int markerID) Returns the layout of the calibration points on the targetintReturns the number of unique markers that it can detectvoidImage processing for calibration target detectionvoidsetLensDistortion(@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, waitMethods 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:DetectMultiFiducialCalibrationImage processing for calibration target detection- Specified by:
processin interfaceDetectMultiFiducialCalibration- Parameters:
input- Gray scale image containing calibration target
-
getDetectionCount
public int getDetectionCount()Description copied from interface:DetectMultiFiducialCalibrationReturns the number of detected markers- Specified by:
getDetectionCountin interfaceDetectMultiFiducialCalibration
-
getTotalUniqueMarkers
public int getTotalUniqueMarkers()Description copied from interface:DetectMultiFiducialCalibrationReturns the number of unique markers that it can detect- Specified by:
getTotalUniqueMarkersin interfaceDetectMultiFiducialCalibration
-
getDetectedPoints
Description copied from interface:DetectMultiFiducialCalibrationReturns 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:
getDetectedPointsin 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:DetectMultiFiducialCalibrationReturns the layout of the calibration points on the target- Specified by:
getLayoutin 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:DetectMultiFiducialCalibrationExplicitly handles lens distortion when detecting image features. If used, features will be found in undistorted pixel coordinates- Specified by:
setLensDistortionin interfaceDetectMultiFiducialCalibration
-