public class StereoVisualOdometryScaleInput<T extends boofcv.struct.image.ImageBase<T>> extends java.lang.Object implements StereoVisualOdometry<T>
StereoVisualOdometry which scales the input images.| Constructor and Description |
|---|
StereoVisualOdometryScaleInput(StereoVisualOdometry<T> alg,
double scaleFactor) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean |
isFault()
If a fatal error occurred while updating its state then this function will return true.
|
boolean |
process(T leftImage,
T rightImage)
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.StereoParameters parameters)
Specifies intrinsic and extrinsic parameters for the stereo camera system.
|
public StereoVisualOdometryScaleInput(StereoVisualOdometry<T> alg, double scaleFactor)
public void setCalibration(boofcv.struct.calib.StereoParameters parameters)
StereoVisualOdometryStereoVisualOdometry.process(T, T) can be called.setCalibration in interface StereoVisualOdometry<T extends boofcv.struct.image.ImageBase<T>>parameters - stereo calibrationpublic boolean process(T leftImage, T rightImage)
StereoVisualOdometryVisualOdometry.isFault()
also needs to be checked to see if the pose estimate has been reset.process in interface StereoVisualOdometry<T extends boofcv.struct.image.ImageBase<T>>public boofcv.struct.image.ImageType<T> getImageType()
StereoVisualOdometrygetImageType in interface StereoVisualOdometry<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>