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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boofcv.struct.distort.Point2Transform2_F32 distort_F32​(boolean pixelIn, boolean pixelOut)
      Adds lens distortion
      boofcv.struct.distort.Point2Transform2_F64 distort_F64​(boolean pixelIn, boolean pixelOut)
      Adds lens distortion
      boofcv.struct.distort.Point2Transform2_F32 normalized_F32()
      Converts a pixel coordinate into a normalized image coordinate.
      boofcv.struct.distort.Point2Transform2_F64 normalized_F64()
      Converts a pixel coordinate into a normalized image coordinate.
      boofcv.struct.distort.Point2Transform2_F32 undistort_F32​(boolean pixelIn, boolean pixelOut)
      Removes lens distortion
      boofcv.struct.distort.Point2Transform2_F64 undistort_F64​(boolean pixelIn, boolean pixelOut)
      Removes lens distortion
    • Method Detail

      • distort_F64

        boofcv.struct.distort.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

        boofcv.struct.distort.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

        boofcv.struct.distort.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

        boofcv.struct.distort.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

        boofcv.struct.distort.Point2Transform2_F32 normalized_F32()
        Converts a pixel coordinate into a normalized image coordinate. Assumes that pixels have lens distortion removed already
      • normalized_F64

        boofcv.struct.distort.Point2Transform2_F64 normalized_F64()
        Converts a pixel coordinate into a normalized image coordinate. Assumes that pixels have lens distortion removed already