Class PointDeform_MLS

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void compute​(float x, float y, georegression.struct.point.Point2D_F32 out)  
      PointDeform_MLS copyConcurrent()  
      ImageDeformPointMLS_F32 getAlgorithm()  
      void setDestination​(int which, float x, float y)
      Changes the destination location of a single key point
      void setDestination​(java.util.List<georegression.struct.point.Point2D_F32> locations)
      Specifies the distorted location of all the key points.
      void setImageShape​(int width, int height)
      Must be called first.
      void setSource​(int which, float x, float y)
      Changes the source location of a single key point
      void setSource​(java.util.List<georegression.struct.point.Point2D_F32> locations)
      Specifies the location of all the key points.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • compute

        public void compute​(float x,
                            float y,
                            georegression.struct.point.Point2D_F32 out)
        Specified by:
        compute in interface boofcv.struct.distort.Point2Transform2_F32
      • copyConcurrent

        public PointDeform_MLS copyConcurrent()
        Specified by:
        copyConcurrent in interface boofcv.struct.distort.Point2Transform2_F32
      • setImageShape

        public void setImageShape​(int width,
                                  int height)
        Description copied from interface: PointDeformKeyPoints
        Must be called first. Specifies the shape of the image this transform will be applied to
        Specified by:
        setImageShape in interface PointDeformKeyPoints
        Parameters:
        width - image width
        height - image height
      • setSource

        public void setSource​(java.util.List<georegression.struct.point.Point2D_F32> locations)
        Description copied from interface: PointDeformKeyPoints
        Specifies the location of all the key points. The initial distorted location of each keypoint will be set to the same location.
        Specified by:
        setSource in interface PointDeformKeyPoints
        Parameters:
        locations - Location of key points in undistorted image. Local copy of points is saved.
      • setDestination

        public void setDestination​(java.util.List<georegression.struct.point.Point2D_F32> locations)
        Description copied from interface: PointDeformKeyPoints
        Specifies the distorted location of all the key points.
        Specified by:
        setDestination in interface PointDeformKeyPoints
        Parameters:
        locations - location of key points in distorted image. Local copy of points is saved.
      • setSource

        public void setSource​(int which,
                              float x,
                              float y)
        Description copied from interface: PointDeformKeyPoints
        Changes the source location of a single key point
        Specified by:
        setSource in interface PointDeformKeyPoints
        Parameters:
        which - Index of key point to change
        x - distorted x-coordinate
        y - distorted y-coordinate
      • setDestination

        public void setDestination​(int which,
                                   float x,
                                   float y)
        Description copied from interface: PointDeformKeyPoints
        Changes the destination location of a single key point
        Specified by:
        setDestination in interface PointDeformKeyPoints
        Parameters:
        which - Index of key point to change
        x - distorted x-coordinate
        y - distorted y-coordinate