Class AddBrownNtoN_F64

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

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

      • AddBrownNtoN_F64

        public AddBrownNtoN_F64()
    • Method Detail

      • setDistortion

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

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

        public AddBrownNtoN_F64 copyConcurrent()
        Specified by:
        copyConcurrent in interface boofcv.struct.distort.Point2Transform2_F64