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 Details

    • distort_F64

      Point2Transform2_F64 distort_F64(boolean pixelIn, boolean pixelOut)
      Adds lens distortion
      Parameters:
      pixelIn - true if input is pixel coordinates or false if in normalized image coordinates
      pixelOut - true if output is pixel coordinates or false if in normalized image coordinates
      Returns:
      Specified transform
    • distort_F32

      Point2Transform2_F32 distort_F32(boolean pixelIn, boolean pixelOut)
      Adds lens distortion
      Parameters:
      pixelIn - true if input is pixel coordinates or false if in normalized image coordinates
      pixelOut - true if output is pixel coordinates or false if in normalized image coordinates
      Returns:
      Specified transform
    • undistort_F64

      Point2Transform2_F64 undistort_F64(boolean pixelIn, boolean pixelOut)
      Removes lens distortion
      Parameters:
      pixelIn - true if input is pixel coordinates or false if in normalized image coordinates
      pixelOut - true if output is pixel coordinates or false if in normalized image coordinates
      Returns:
      Specified transform
    • undistort_F32

      Point2Transform2_F32 undistort_F32(boolean pixelIn, boolean pixelOut)
      Removes lens distortion
      Parameters:
      pixelIn - true if input is pixel coordinates or false if in normalized image coordinates
      pixelOut - 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