public class SelectOverheadParameters
extends java.lang.Object
| Constructor and Description |
|---|
SelectOverheadParameters(double cellSize,
double maxCellsPerPixel,
double viewHeightFraction)
Configure algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends boofcv.struct.image.ImageBase<T>> |
createOverhead(boofcv.struct.image.ImageType<T> imageType)
Creates a new instance of the overhead view
|
double |
getCenterX() |
double |
getCenterY() |
int |
getOverheadHeight() |
int |
getOverheadWidth() |
boolean |
process(boofcv.struct.calib.CameraPinholeBrown intrinsic,
georegression.struct.se.Se3_F64 planeToCamera)
Computes the view's characteristics
|
public SelectOverheadParameters(double cellSize,
double maxCellsPerPixel,
double viewHeightFraction)
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 cells. Higher values allow lower
resolution regions. Try 4.viewHeightFraction - Reduce the view 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.public boolean process(boofcv.struct.calib.CameraPinholeBrown intrinsic,
georegression.struct.se.Se3_F64 planeToCamera)
intrinsic - Intrinsic camera parametersplaneToCamera - Extrinsic camera parameters which specify the planepublic <T extends boofcv.struct.image.ImageBase<T>> OverheadView createOverhead(boofcv.struct.image.ImageType<T> imageType)
public int getOverheadWidth()
public int getOverheadHeight()
public double getCenterX()
public double getCenterY()