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

Class WrapImageMotionPtkSmartRespawn<T extends ImageBase,IT extends InvertibleTransform>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List<Point2D_F64> getAllTracks()
      All the points being actively tracked in pixel coordinates.
      IT getFirstToCurrent()
      Transform from first image into the current image.
      long getTrackId(int index)
      Used to get the track ID of an active Track
      java.lang.Class<IT> getTransformType()
      Type of transform that it estimates
      boolean isInlier(int index)
      True if the specified track is an inlier used in motion estimation
      boolean isNew(int index)
      True if the specified track was just spawned
      boolean process(T 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.
      • Methods inherited from class java.lang.Object

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

      • process

        public boolean process(T input)
        Description copied from interface: ImageMotion2D
        Processes and updates the image transform. The very first image processed will always return true and have a transform of no motion.
        Specified by:
        process in interface ImageMotion2D<T extends ImageBase,IT extends InvertibleTransform>
        Parameters:
        input - Next image in the sequence. Not modified.
        Returns:
        true if the transform has been updated and false if not
      • getFirstToCurrent

        public IT getFirstToCurrent()
        Description copied from interface: ImageMotion2D
        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.
        Specified by:
        getFirstToCurrent in interface ImageMotion2D<T extends ImageBase,IT extends InvertibleTransform>
        Returns:
        Image transform
      • getTrackId

        public long getTrackId(int index)
        Description copied from interface: AccessPointTracks
        Used to get the track ID of an active Track
        Specified by:
        getTrackId in interface AccessPointTracks
        Parameters:
        index - which track
        Returns:
        The track's ID
      • getAllTracks

        public java.util.List<Point2D_F64> getAllTracks()
        Description copied from interface: AccessPointTracks
        All the points being actively tracked in pixel coordinates.
        Specified by:
        getAllTracks in interface AccessPointTracks
        Returns:
        all active tracks in pixel coordinates
      • isInlier

        public boolean isInlier(int index)
        Description copied from interface: AccessPointTracks
        True if the specified track is an inlier used in motion estimation
        Specified by:
        isInlier in interface AccessPointTracks
        Parameters:
        index - The index in all
        Returns:
        if it is an inlier or not
      • isNew

        public boolean isNew(int index)
        Description copied from interface: AccessPointTracks
        True if the specified track was just spawned
        Specified by:
        isNew in interface AccessPointTracks
        Parameters:
        index - The index in all
        Returns:
        if it is new or not

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.