public class MonoOverhead_to_MonocularPlaneVisualOdometry<T extends boofcv.struct.image.ImageBase<T>> extends java.lang.Object implements MonocularPlaneVisualOdometry<T>, AccessPointTracks3D
VisOdomMonoOverheadMotion2D for MonocularPlaneVisualOdometry.| Constructor and Description |
|---|
MonoOverhead_to_MonocularPlaneVisualOdometry(VisOdomMonoOverheadMotion2D<T> alg,
boofcv.struct.image.ImageType<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.
|
georegression.struct.se.Se3_F64 |
getCameraToWorld()
Returns the estimated motion relative to the first frame in which a fatal error
does not happen.
|
boofcv.struct.image.ImageType<T> |
getImageType()
Type of input images it can process.
|
long |
getTrackId(int index)
Used to get the track ID of an active Track
|
georegression.struct.point.Point3D_F64 |
getTrackLocation(int index)
Returns the 3D location of the active track.
|
boolean |
isFault()
If a fatal error occurred while updating its state then this function will return true.
|
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)
Process the new image and update the motion estimate.
|
void |
reset()
Forget past history and tracking results, returning it to its initial state.
|
void |
setCalibration(boofcv.struct.calib.MonoPlaneParameters param)
Specifies the camera's intrinsic and extrinsic parameters.
|
public MonoOverhead_to_MonocularPlaneVisualOdometry(VisOdomMonoOverheadMotion2D<T> alg, boofcv.struct.image.ImageType<T> imageType)
public void setCalibration(boofcv.struct.calib.MonoPlaneParameters param)
MonocularPlaneVisualOdometrysetCalibration in interface MonocularPlaneVisualOdometry<T extends boofcv.struct.image.ImageBase<T>>param - Camera calibration parameterspublic boolean process(T input)
MonocularPlaneVisualOdometryVisualOdometry.isFault()
also needs to be checked to see if the pose estimate has been reset.process in interface MonocularPlaneVisualOdometry<T extends boofcv.struct.image.ImageBase<T>>input - Next image in the sequence.public boofcv.struct.image.ImageType<T> getImageType()
MonocularPlaneVisualOdometrygetImageType in interface MonocularPlaneVisualOdometry<T extends boofcv.struct.image.ImageBase<T>>public void reset()
VisualOdometryreset in interface VisualOdometry<georegression.struct.se.Se3_F64>public boolean isFault()
VisualOdometryVisualOdometry.reset() must be called. Only needs to be
called if process returns false.isFault in interface VisualOdometry<georegression.struct.se.Se3_F64>public georegression.struct.se.Se3_F64 getCameraToWorld()
VisualOdometrygetCameraToWorld in interface VisualOdometry<georegression.struct.se.Se3_F64>public georegression.struct.point.Point3D_F64 getTrackLocation(int index)
AccessPointTracks3DgetTrackLocation in interface AccessPointTracks3Dindex - The track's index in the active listpublic 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