public class VisOdomMonoOverheadMotion2D<T extends boofcv.struct.image.ImageBase<T>>
extends java.lang.Object
CreateSyntheticOverheadView for more
information about the ground plane coordinates and overhead image..| Constructor and Description |
|---|
VisOdomMonoOverheadMotion2D(double cellSize,
double maxCellsPerPixel,
double mapHeightFraction,
ImageMotion2D<T,georegression.struct.se.Se2_F64> motion2D,
boofcv.struct.image.ImageType<T> imageType)
Configures motion estimation algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureCamera(boofcv.struct.calib.CameraPinholeRadial intrinsic,
georegression.struct.se.Se3_F64 planeToCamera)
Camera the camera's intrinsic and extrinsic parameters.
|
ImageMotion2D<T,georegression.struct.se.Se2_F64> |
getMotion2D()
2D motion algorithm
|
OverheadView<T> |
getOverhead()
Overhead image view
|
georegression.struct.se.Se2_F64 |
getWorldToCurr2D()
2D motion.
|
georegression.struct.se.Se3_F64 |
getWorldToCurr3D()
3D motion.
|
boolean |
process(T image)
Estimates the motion which the camera undergoes relative to the first frame processed.
|
void |
reset()
Resets the algorithm into its initial state
|
public VisOdomMonoOverheadMotion2D(double cellSize,
double maxCellsPerPixel,
double mapHeightFraction,
ImageMotion2D<T,georegression.struct.se.Se2_F64> motion2D,
boofcv.struct.image.ImageType<T> imageType)
cellSize - Size of cells in plane in world unitsmaxCellsPerPixel - Specifies minimum resolution of a region in overhead image. A pixel in the camera
can't overlap more than this number of map cells. Higher values allow lower
resolution regions. Try 4.mapHeightFraction - Reduce the map height by this fraction to avoid excessive unusable image space. Set to
1.0 to maximize the viewing area and any value less than one to crop it.motion2D - Estimates motion inside the overhead image.public void configureCamera(boofcv.struct.calib.CameraPinholeRadial intrinsic,
georegression.struct.se.Se3_F64 planeToCamera)
intrinsic - Intrinsic camera parametersplaneToCamera - Transform from the plane to camera.public void reset()
public boolean process(T image)
image - Most recent camera image.public georegression.struct.se.Se2_F64 getWorldToCurr2D()
public georegression.struct.se.Se3_F64 getWorldToCurr3D()
public OverheadView<T> getOverhead()
public ImageMotion2D<T,georegression.struct.se.Se2_F64> getMotion2D()