Interface MonocularVisualOdometry<T extends boofcv.struct.image.ImageBase<T>>
-
- All Superinterfaces:
org.ddogleg.struct.VerbosePrint,VisualOdometry<georegression.struct.se.Se3_F64>
public interface MonocularVisualOdometry<T extends boofcv.struct.image.ImageBase<T>> extends VisualOdometry<georegression.struct.se.Se3_F64>
Interface for visual odometry from a single camera that provides 6-DOF pose. The camera is assumed to be calibrated so that the "true" Euclidean motion can be extracted, up to a scale factor. Motion can only be found up to a scale factor because it is impossible to distinguish between a large motion and distant objects against a small motion and close objects when using a single camera.
Each time a new image arrives the function
process(T)should be invoked and its return value checked. If false is returned thenVisualOdometry.isFault()needs to be called to see if a fatal error occurred. If a fatal error occurred then the motion estimate has been reset relative to the first frame in whichVisualOdometry.isFault()returns false.
-
-
Field Summary
-
Fields inherited from interface boofcv.abst.sfm.d3.VisualOdometry
VERBOSE_RUNTIME, VERBOSE_TRACKING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boofcv.struct.image.ImageType<T>getImageType()Type of input images it can process.booleanprocess(T input)Process the new image and update the motion estimate.voidsetIntrinsic(boofcv.struct.calib.CameraPinholeBrown param)Specifies the intrinsic parameters for the camera.-
Methods inherited from interface boofcv.abst.sfm.d3.VisualOdometry
getCameraToWorld, getFrameID, isFault, reset
-
-
-
-
Method Detail
-
setIntrinsic
void setIntrinsic(boofcv.struct.calib.CameraPinholeBrown param)
Specifies the intrinsic parameters for the camera.- Parameters:
param- Intrinsic parameters for camera
-
process
boolean process(T input)
Process the new image and update the motion estimate. The return value must be checked to see if the estimate was actually updated. If false is returned thenVisualOdometry.isFault()also needs to be checked to see if the pose estimate has been reset.- Parameters:
input- Next image in the sequence.- Returns:
- If the motion estimate has been updated or not
-
getImageType
boofcv.struct.image.ImageType<T> getImageType()
Type of input images it can process.- Returns:
- The image type
-
-