Package boofcv.alg.distort
Interface LensDistortionNarrowFOV
- All Known Implementing Classes:
LensDistortionBrown
,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 Type Method Description Point2Transform2_F32
distort_F32(boolean pixelIn, boolean pixelOut)
Adds lens distortionPoint2Transform2_F64
distort_F64(boolean pixelIn, boolean pixelOut)
Adds lens distortionPoint2Transform2_F32
normalized_F32()
Converts a pixel coordinate into a normalized image coordinate.Point2Transform2_F64
normalized_F64()
Converts a pixel coordinate into a normalized image coordinate.Point2Transform2_F32
undistort_F32(boolean pixelIn, boolean pixelOut)
Removes lens distortionPoint2Transform2_F64
undistort_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
-