Documentation of 'boofcv.abst.sfm.d2.ImageMotion2D' Java class
ImageMotion2D
boofcv.abst.sfm.d2

Interface ImageMotion2D<I extends ImageBase,IT extends InvertibleTransform>

  • Type Parameters:
    I - Input image type
    IT - Internally used image motion model
    All Known Implementing Classes:
    PlToGrayMotion2D, WrapImageMotionPtkSmartRespawn


    public interface ImageMotion2D<I extends ImageBase,IT extends InvertibleTransform>
    Estimates the 2D motion of images in a video sequence. All internal motion models must belong to the Homography2D_F64 transformation family, The returned transformations use the first image as the reference frame, but other images can be converted into the reference frame. Typically used in image stabilization or image mosaic applications.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      IT getFirstToCurrent()
      Transform from first image into the current image.
      java.lang.Class<IT> getTransformType()
      Type of transform that it estimates
      boolean process(I input)
      Processes and updates the image transform.
      void reset()
      Resets the class into its initial state and throws away any information on the image sequence
      void setToFirst()
      Turns the current image into the origin of the coordinate system.
    • Method Detail

      • process

        boolean process(I input)
        Processes and updates the image transform. The very first image processed will always return true and have a transform of no motion.
        Parameters:
        input - Next image in the sequence. Not modified.
        Returns:
        true if the transform has been updated and false if not
      • reset

        void reset()
        Resets the class into its initial state and throws away any information on the image sequence
      • setToFirst

        void setToFirst()
        Turns the current image into the origin of the coordinate system.
      • getFirstToCurrent

        IT getFirstToCurrent()
        Transform from first image into the current image. NOTE: Returned transform is owned by this class and can be modified after any function is called.
        Returns:
        Image transform
      • getTransformType

        java.lang.Class<IT> getTransformType()
        Type of transform that it estimates
        Returns:
        Transform type.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.