public class PlToGrayMotion2D<T extends boofcv.struct.image.ImageGray<T>,IT extends georegression.struct.InvertibleTransform> extends java.lang.Object implements ImageMotion2D<boofcv.struct.image.Planar<T>,IT>, AccessPointTracks
| Constructor and Description |
|---|
PlToGrayMotion2D(ImageMotion2D<T,IT> motion,
java.lang.Class<T> imageType) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<georegression.struct.point.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(boofcv.struct.image.Planar<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.
|
public PlToGrayMotion2D(ImageMotion2D<T,IT> motion, java.lang.Class<T> imageType)
public boolean process(boofcv.struct.image.Planar<T> input)
ImageMotion2Dprocess in interface ImageMotion2D<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray<T>>,IT extends georegression.struct.InvertibleTransform>input - Next image in the sequence. Not modified.public void reset()
ImageMotion2Dreset in interface ImageMotion2D<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray<T>>,IT extends georegression.struct.InvertibleTransform>public void setToFirst()
ImageMotion2DsetToFirst in interface ImageMotion2D<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray<T>>,IT extends georegression.struct.InvertibleTransform>public IT getFirstToCurrent()
ImageMotion2DgetFirstToCurrent in interface ImageMotion2D<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray<T>>,IT extends georegression.struct.InvertibleTransform>public java.lang.Class<IT> getTransformType()
ImageMotion2DgetTransformType in interface ImageMotion2D<boofcv.struct.image.Planar<T extends boofcv.struct.image.ImageGray<T>>,IT extends georegression.struct.InvertibleTransform>public long getTrackId(int index)
AccessPointTracksgetTrackId in interface AccessPointTracksindex - which trackpublic java.util.List<georegression.struct.point.Point2D_F64> getAllTracks()
AccessPointTracksgetAllTracks in interface AccessPointTrackspublic boolean isInlier(int index)
AccessPointTracksisInlier in interface AccessPointTracksindex - The index in allpublic boolean isNew(int index)
AccessPointTracksisNew in interface AccessPointTracksindex - The index in all