Package boofcv.alg.distort.division
Class LensDistortionDivision
java.lang.Object
boofcv.alg.distort.division.LensDistortionDivision
- All Implemented Interfaces:
LensDistortionNarrowFOV
Division
lens distortion model point transforms.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondistort_F32
(boolean pixelIn, boolean pixelOut) Adds lens distortiondistort_F64
(boolean pixelIn, boolean pixelOut) Adds lens distortionConverts a pixel coordinate into a normalized image coordinate.Converts a pixel coordinate into a normalized image coordinate.undistort_F32
(boolean pixelIn, boolean pixelOut) Removes lens distortionundistort_F64
(boolean pixelIn, boolean pixelOut) Removes lens distortion
-
Constructor Details
-
LensDistortionDivision
-
-
Method Details
-
distort_F64
Description copied from interface:LensDistortionNarrowFOV
Adds lens distortion- Specified by:
distort_F64
in interfaceLensDistortionNarrowFOV
- Parameters:
pixelIn
- true if input is pixel coordinates or false if in normalized image coordinatespixelOut
- true if output is pixel coordinates or false if in normalized image coordinates- Returns:
- Specified transform
-
undistort_F64
Description copied from interface:LensDistortionNarrowFOV
Removes lens distortion- Specified by:
undistort_F64
in interfaceLensDistortionNarrowFOV
- Parameters:
pixelIn
- true if input is pixel coordinates or false if in normalized image coordinatespixelOut
- true if output is pixel coordinates or false if in normalized image coordinates- Returns:
- Specified transform
-
distort_F32
Description copied from interface:LensDistortionNarrowFOV
Adds lens distortion- Specified by:
distort_F32
in interfaceLensDistortionNarrowFOV
- Parameters:
pixelIn
- true if input is pixel coordinates or false if in normalized image coordinatespixelOut
- true if output is pixel coordinates or false if in normalized image coordinates- Returns:
- Specified transform
-
undistort_F32
Description copied from interface:LensDistortionNarrowFOV
Removes lens distortion- Specified by:
undistort_F32
in interfaceLensDistortionNarrowFOV
- Parameters:
pixelIn
- true if input is pixel coordinates or false if in normalized image coordinatespixelOut
- true if output is pixel coordinates or false if in normalized image coordinates- Returns:
- Specified transform
-
normalized_F32
Description copied from interface:LensDistortionNarrowFOV
Converts a pixel coordinate into a normalized image coordinate. Assumes that pixels have lens distortion removed already- Specified by:
normalized_F32
in interfaceLensDistortionNarrowFOV
-
normalized_F64
Description copied from interface:LensDistortionNarrowFOV
Converts a pixel coordinate into a normalized image coordinate. Assumes that pixels have lens distortion removed already- Specified by:
normalized_F64
in interfaceLensDistortionNarrowFOV
-
getIntrinsic
-