public interface MonocularVisualOdometry<T extends ImageBase<T>> extends VisualOdometry<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 then
VisualOdometry.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 which
VisualOdometry.isFault() returns false.
setIntrinsicvoid setIntrinsic(CameraPinholeBrown param)Specifies the intrinsic parameters for the camera.
param- Intrinsic parameters for camera
processboolean 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 then
VisualOdometry.isFault()also needs to be checked to see if the pose estimate has been reset.
input- Next image in the sequence.
- If the motion estimate has been updated or not
getImageTypeType of input images it can process.
- The image type