public class TldAdjustRegion
extends java.lang.Object
| Constructor and Description |
|---|
TldAdjustRegion(int numCycles) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustRectangle(georegression.struct.shapes.Rectangle2D_F64 rect,
boofcv.struct.sfm.ScaleTranslate2D motion)
Estimate motion of points inside the rectangle and updates the rectangle using the found motion.
|
void |
init(int imageWidth,
int imageHeight) |
boolean |
process(org.ddogleg.struct.FastQueue<boofcv.struct.geo.AssociatedPair> pairs,
georegression.struct.shapes.Rectangle2D_F64 targetRectangle)
Adjusts target rectangle using track information
|
public TldAdjustRegion(int numCycles)
numCycles - Number of iterations in robust motion estimation. Try 50.public void init(int imageWidth,
int imageHeight)
public boolean process(org.ddogleg.struct.FastQueue<boofcv.struct.geo.AssociatedPair> pairs,
georegression.struct.shapes.Rectangle2D_F64 targetRectangle)
pairs - List of feature location in previous and current frame.targetRectangle - (Input) current location of rectangle. (output) adjusted locationprotected void adjustRectangle(georegression.struct.shapes.Rectangle2D_F64 rect,
boofcv.struct.sfm.ScaleTranslate2D motion)