Package boofcv.alg.distort
Interface LensDistortionNarrowFOV
- All Known Implementing Classes:
LensDistortionBrown
,LensDistortionDivision
,LensDistortionPinhole
public interface LensDistortionNarrowFOV
HInterface for creating transform between distorted and undistorted pixel/normalized-2D image
cordinates for camera models that supports FOV less than 180 degrees.
-
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
-
Method Details
-
distort_F64
Adds lens distortion- 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
Adds lens distortion- 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
Removes lens distortion- 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
Removes lens distortion- 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
Point2Transform2_F32 normalized_F32()Converts a pixel coordinate into a normalized image coordinate. Assumes that pixels have lens distortion removed already -
normalized_F64
Point2Transform2_F64 normalized_F64()Converts a pixel coordinate into a normalized image coordinate. Assumes that pixels have lens distortion removed already
-