Class AddBrownNtoN_F32

  • All Implemented Interfaces:
    boofcv.struct.distort.Point2Transform2_F32

    public class AddBrownNtoN_F32
    extends java.lang.Object
    implements boofcv.struct.distort.Point2Transform2_F32
    Given an undistorted normalized pixel coordinate, compute the distorted normalized coordinate.
    • Constructor Detail

      • AddBrownNtoN_F32

        public AddBrownNtoN_F32()
    • Method Detail

      • setDistortion

        public AddBrownNtoN_F32 setDistortion​(double[] radial,
                                              double t1,
                                              double t2)
        Specify intrinsic camera parameters
        Parameters:
        radial - Radial distortion parameters
      • compute

        public void compute​(float x,
                            float y,
                            georegression.struct.point.Point2D_F32 out)
        Adds radial distortion
        Specified by:
        compute in interface boofcv.struct.distort.Point2Transform2_F32
        Parameters:
        x - Undistorted x-coordinate normalized image coordinates
        y - Undistorted y-coordinate normalized image coordinates
        out - Distorted normalized image coordinate.
      • copyConcurrent

        public AddBrownNtoN_F32 copyConcurrent()
        Specified by:
        copyConcurrent in interface boofcv.struct.distort.Point2Transform2_F32