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<T>> |
broxWarping(ConfigBroxWarping config,
java.lang.Class<T> imageType) |
static <I extends boofcv.struct.image.ImageGray<I>,D extends boofcv.struct.image.ImageGray<D>> |
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<T>,D extends boofcv.struct.image.ImageGray<D>> |
hornSchunck(ConfigHornSchunck config,
java.lang.Class<T> imageType)
The original Horn-Schunck algorithm.
|
static <T extends boofcv.struct.image.ImageGray<T>> |
hornSchunckPyramid(ConfigHornSchunckPyramid config,
java.lang.Class<T> imageType)
Creates an instance of
HornSchunckPyramid |
static <T extends boofcv.struct.image.ImageGray<T>> |
region(ConfigOpticalFlowBlockPyramid config,
java.lang.Class<T> imageType)
Creates a pyramidal block
|
public static <I extends boofcv.struct.image.ImageGray<I>,D extends boofcv.struct.image.ImageGray<D>> DenseOpticalFlow<I> flowKlt(@Nullable 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<T>> DenseOpticalFlow<T> region(@Nullable 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<T>,D extends boofcv.struct.image.ImageGray<D>> DenseOpticalFlow<T> hornSchunck(@Nullable 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<T>> DenseOpticalFlow<T> hornSchunckPyramid(@Nullable ConfigHornSchunckPyramid config, java.lang.Class<T> imageType)
HornSchunckPyramidconfig - Configuration parameters. If null defaults will be used.HornSchunckPyramidpublic static <T extends boofcv.struct.image.ImageGray<T>> DenseOpticalFlow<T> broxWarping(ConfigBroxWarping config, java.lang.Class<T> imageType)