public class FactoryMotion2D
extends java.lang.Object
| Constructor and Description |
|---|
FactoryMotion2D() |
| Modifier and Type | Method and Description |
|---|---|
static <I extends boofcv.struct.image.ImageBase,IT extends georegression.struct.InvertibleTransform> |
createMotion2D(int ransacIterations,
double inlierThreshold,
int outlierPrune,
int absoluteMinimumTracks,
double respawnTrackFraction,
double respawnCoverageFraction,
boolean refineEstimate,
boofcv.abst.feature.tracker.PointTracker<I> tracker,
IT motionModel)
Estimates the 2D motion of an image using different models.
|
static <I extends boofcv.struct.image.ImageSingleBand,IT extends georegression.struct.InvertibleTransform> |
createVideoStitch(double maxJumpFraction,
ImageMotion2D<I,IT> motion2D,
java.lang.Class<I> imageType)
Estimates the image motion then combines images together.
|
static <I extends boofcv.struct.image.ImageSingleBand,IT extends georegression.struct.InvertibleTransform> |
createVideoStitchMS(double maxJumpFraction,
ImageMotion2D<boofcv.struct.image.MultiSpectral<I>,IT> motion2D,
java.lang.Class<I> imageType)
Estimates the image motion from multi-spectral images and then combines images together.
|
public static <I extends boofcv.struct.image.ImageBase,IT extends georegression.struct.InvertibleTransform> ImageMotion2D<I,IT> createMotion2D(int ransacIterations, double inlierThreshold, int outlierPrune, int absoluteMinimumTracks, double respawnTrackFraction, double respawnCoverageFraction, boolean refineEstimate, boofcv.abst.feature.tracker.PointTracker<I> tracker, IT motionModel)
I - Image input type.IT - Model modelransacIterations - Number of RANSAC iterationsinlierThreshold - Threshold which defines an inlier.outlierPrune - If a feature is an outlier for this many turns in a row it is dropped. Try 2absoluteMinimumTracks - New features will be respawned if the number of inliers drop below this number.respawnTrackFraction - If the fraction of current inliers to the original number of inliers drops below
this fraction then new features are spawned. Try 0.3respawnCoverageFraction - If the area covered drops by this fraction then spawn more features. Try 0.8refineEstimate - Should it refine the model estimate using all inliers.tracker - Point feature tracker.motionModel - Instance of the model model used. Affine2D_F64 or Homography2D_F64public static <I extends boofcv.struct.image.ImageSingleBand,IT extends georegression.struct.InvertibleTransform> StitchingFromMotion2D<I,IT> createVideoStitch(double maxJumpFraction, ImageMotion2D<I,IT> motion2D, java.lang.Class<I> imageType)
I - Image input type.IT - Model modelmaxJumpFraction - If the area changes by this much between two consecuative frames then the transform
is reset.motion2D - Estimates the image motion.imageType - Type of image processedpublic static <I extends boofcv.struct.image.ImageSingleBand,IT extends georegression.struct.InvertibleTransform> StitchingFromMotion2D<boofcv.struct.image.MultiSpectral<I>,IT> createVideoStitchMS(double maxJumpFraction, ImageMotion2D<boofcv.struct.image.MultiSpectral<I>,IT> motion2D, java.lang.Class<I> imageType)
I - Image input type.IT - Model modelmaxJumpFraction - If the area changes by this much between two consecuative frames then the transform
is reset.motion2D - Estimates the image motion.imageType - Type of image processed