public class PyramidDirectColorDepth_to_DepthVisualOdometry<T extends boofcv.struct.image.ImageBase<T>,Depth extends boofcv.struct.image.ImageGray<Depth>> extends java.lang.Object implements DepthVisualOdometry<T,Depth>
| Constructor and Description |
|---|
PyramidDirectColorDepth_to_DepthVisualOdometry(DepthSparse3D<Depth> sparse3D,
boofcv.core.image.ConvertImageFilter<T,?> convertImage,
PyramidDirectColorDepth alg,
java.lang.Class<Depth> depthType) |
PyramidDirectColorDepth_to_DepthVisualOdometry(DepthSparse3D<Depth> sparse3D,
PyramidDirectColorDepth alg,
java.lang.Class<Depth> depthType) |
| 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.
|
java.lang.Class<Depth> |
getDepthType()
Type of depth images it can process.
|
double |
getFractionInBounds() |
boofcv.struct.image.Planar |
getUndistorted() |
boofcv.struct.image.ImageType<T> |
getVisualType()
Type of visual images it can process.
|
boolean |
isFault()
If a fatal error occurred while updating its state then this function will return true.
|
boolean |
process(T visual,
Depth depth)
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.CameraPinholeRadial paramVisual,
boofcv.struct.distort.Point2Transform2_F32 visToDepth)
Specifies the intrinsic parameters for the visual camera and the transform from visual to depth pixels.
|
public PyramidDirectColorDepth_to_DepthVisualOdometry(DepthSparse3D<Depth> sparse3D, PyramidDirectColorDepth alg, java.lang.Class<Depth> depthType)
public PyramidDirectColorDepth_to_DepthVisualOdometry(DepthSparse3D<Depth> sparse3D, boofcv.core.image.ConvertImageFilter<T,?> convertImage, PyramidDirectColorDepth alg, java.lang.Class<Depth> depthType)
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 void setCalibration(boofcv.struct.calib.CameraPinholeRadial paramVisual,
boofcv.struct.distort.Point2Transform2_F32 visToDepth)
DepthVisualOdometrysetCalibration in interface DepthVisualOdometry<T extends boofcv.struct.image.ImageBase<T>,Depth extends boofcv.struct.image.ImageGray<Depth>>paramVisual - Intrinsic parameters for visual cameravisToDepth - Transform from visual camera pixels into depth camera pixelspublic boolean process(T visual, Depth depth)
DepthVisualOdometryVisualOdometry.isFault()
also needs to be checked to see if the pose estimate has been reset.public double getFractionInBounds()
public boofcv.struct.image.ImageType<T> getVisualType()
DepthVisualOdometrygetVisualType in interface DepthVisualOdometry<T extends boofcv.struct.image.ImageBase<T>,Depth extends boofcv.struct.image.ImageGray<Depth>>public java.lang.Class<Depth> getDepthType()
DepthVisualOdometrygetDepthType in interface DepthVisualOdometry<T extends boofcv.struct.image.ImageBase<T>,Depth extends boofcv.struct.image.ImageGray<Depth>>public boofcv.struct.image.Planar getUndistorted()