Class CalibrationObservation

java.lang.Object
boofcv.alg.geo.calibration.CalibrationObservation

public class CalibrationObservation
extends Object
List of observed features and their pixel locations on a single calibration target from one image. Partially observable calibration targets is supported by the associated index for each point.
  • Field Details

    • width

      public int width
      Shape of the image in which observations were created from. Use to configure intrinsics and sanity checks
    • height

      public int height
      Shape of the image in which observations were created from. Use to configure intrinsics and sanity checks
    • points

      public List<PointIndex2D_F64> points
      List of pixel observations and the index of the control point
  • Constructor Details

    • CalibrationObservation

      public CalibrationObservation​(int width, int height)
    • CalibrationObservation

      public CalibrationObservation()
  • Method Details

    • setTo

      public void setTo​(CalibrationObservation obs)
    • get

      public PointIndex2D_F64 get​(int index)
    • add

      public void add​(Point2D_F64 observation, int which)
      Adds a new observation. A copy is made.
      Parameters:
      observation - The observation. A copy is internally created.
      which - Index of the observed feature
    • add

      public void add​(double x, double y, int which)
    • reset

      public void reset()
    • sort

      public void sort()
      Ensures the points order is in increasing order of index value
    • size

      public int size()
    • copy

      public CalibrationObservation copy()