public class FactoryDenseOpticalFlow
extends java.lang.Object
DenseOpticalFlow.| Constructor and Description |
|---|
FactoryDenseOpticalFlow() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends boofcv.struct.image.ImageGray> |
broxWarping(ConfigBroxWarping config,
java.lang.Class<T> imageType) |
static <I extends boofcv.struct.image.ImageGray,D extends boofcv.struct.image.ImageGray> |
flowKlt(PkltConfig configKlt,
int radius,
java.lang.Class<I> inputType,
java.lang.Class<D> derivType)
Compute optical flow using
PyramidKltTracker. |
static <T extends boofcv.struct.image.ImageGray,D extends boofcv.struct.image.ImageGray> |
hornSchunck(ConfigHornSchunck config,
java.lang.Class<T> imageType)
The original Horn-Schunck algorithm.
|
static <T extends boofcv.struct.image.ImageGray> |
hornSchunckPyramid(ConfigHornSchunckPyramid config,
java.lang.Class<T> imageType)
Creates an instance of
HornSchunckPyramid |
static <T extends boofcv.struct.image.ImageGray> |
region(ConfigOpticalFlowBlockPyramid config,
java.lang.Class<T> imageType)
Creates a pyramidal block
|
public static <I extends boofcv.struct.image.ImageGray,D extends boofcv.struct.image.ImageGray> DenseOpticalFlow<I> flowKlt(PkltConfig configKlt, int radius, java.lang.Class<I> inputType, java.lang.Class<D> derivType)
PyramidKltTracker.I - Input image type.D - Derivative image type.configKlt - Configuration for KLT. If null then default values are used.radius - Radius of square region.inputType - Type of input image.derivType - Type of derivative image. If null then default is used.DenseOpticalFlowKltpublic static <T extends boofcv.struct.image.ImageGray> DenseOpticalFlow<T> region(ConfigOpticalFlowBlockPyramid config, java.lang.Class<T> imageType)
T - config - Configuration for block pyramidDenseOpticalFlowBlockPyramid,
UtilDenseOpticalFlow.standardPyramid(int, int, double, double, int, int, Class)public static <T extends boofcv.struct.image.ImageGray,D extends boofcv.struct.image.ImageGray> DenseOpticalFlow<T> hornSchunck(ConfigHornSchunck config, java.lang.Class<T> imageType)
config - Configuration parameters. If null then default is used.imageType - Type of input gray scale imageHornSchunckpublic static <T extends boofcv.struct.image.ImageGray> DenseOpticalFlow<T> hornSchunckPyramid(ConfigHornSchunckPyramid config, java.lang.Class<T> imageType)
HornSchunckPyramidconfig - Configuration parameters. If null defaults will be used.HornSchunckPyramidpublic static <T extends boofcv.struct.image.ImageGray> DenseOpticalFlow<T> broxWarping(ConfigBroxWarping config, java.lang.Class<T> imageType)