Package boofcv.abst.geo.calibration
Class MultiToSingleFiducialCalibration
java.lang.Object
boofcv.abst.geo.calibration.MultiToSingleFiducialCalibration
- All Implemented Interfaces:
DetectSingleFiducialCalibration
public class MultiToSingleFiducialCalibration
extends Object
implements DetectSingleFiducialCalibration
Wraps
DetectMultiFiducialCalibration by limiting it to a single marker.-
Constructor Summary
ConstructorsConstructorDescriptionMultiToSingleFiducialCalibration(int target, DetectMultiFiducialCalibration alg) -
Method Summary
Modifier and TypeMethodDescriptionReturns the set of detected points from the most recent call toDetectSingleFiducialCalibration.process(GrayF32).Returns the layout of the calibration points on the targetbooleanImage processing for calibration target detectionvoidsetLensDistortion(@Nullable LensDistortionNarrowFOV distortion, int width, int height) Explicitly handles lens distortion when detecting image features.
-
Constructor Details
-
MultiToSingleFiducialCalibration
-
MultiToSingleFiducialCalibration
-
-
Method Details
-
process
Description copied from interface:DetectSingleFiducialCalibrationImage processing for calibration target detection- Specified by:
processin interfaceDetectSingleFiducialCalibration- Parameters:
input- Gray scale image containing calibration target- Returns:
- true if target was detected and false if not
-
getDetectedPoints
Description copied from interface:DetectSingleFiducialCalibrationReturns the set of detected points from the most recent call toDetectSingleFiducialCalibration.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 interfaceDetectSingleFiducialCalibration- Returns:
- List of detected points in row major grid order.
-
getLayout
Description copied from interface:DetectSingleFiducialCalibrationReturns the layout of the calibration points on the target- Specified by:
getLayoutin interfaceDetectSingleFiducialCalibration- Returns:
- List of calibration points
-
setLensDistortion
public void setLensDistortion(@Nullable @Nullable LensDistortionNarrowFOV distortion, int width, int height) Description copied from interface:DetectSingleFiducialCalibrationExplicitly handles lens distortion when detecting image features. If used, features will be found in undistorted pixel coordinates- Specified by:
setLensDistortionin interfaceDetectSingleFiducialCalibration
-