Class AddBrownNtoN_F32

All Implemented Interfaces:

@Generated("boofcv.alg.distort.brown.AddBrownNtoN_F64") public class AddBrownNtoN_F32 extends Object implements Point2Transform2_F32
Given an undistorted normalized pixel coordinate, compute the distorted normalized coordinate.
  • Constructor Details

    • AddBrownNtoN_F32

      public AddBrownNtoN_F32()
  • Method Details

    • setDistortion

      public AddBrownNtoN_F32 setDistortion(@Nullable @org.jetbrains.annotations.Nullable double[] radial, double t1, double t2)
      Specify intrinsic camera parameters
      radial - Radial distortion parameters
    • compute

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

      public AddBrownNtoN_F32 copyConcurrent()
      Description copied from interface: Point2Transform2_F32
      Creates a copy of this transform for use in concurrent application. What that means is that any variable which might be modified by a concurrent call to Point2Transform2_F32.compute(float, float, georegression.struct.point.Point2D_F32) is not passed to the 'copied' output. Expensive to compute models might be passed in as a reference.
      Specified by:
      copyConcurrent in interface Point2Transform2_F32