public class FlowKlt_to_DenseOpticalFlow<I extends boofcv.struct.image.ImageGray,D extends boofcv.struct.image.ImageGray> extends java.lang.Object implements DenseOpticalFlow<I>
DenseOpticalFlowKlt for DenseOpticalFlow.| Constructor and Description |
|---|
FlowKlt_to_DenseOpticalFlow(DenseOpticalFlowKlt<I,D> flowKlt,
boofcv.abst.filter.derivative.ImageGradient<I,D> gradient,
boofcv.struct.pyramid.ImagePyramid<I> pyramidSrc,
boofcv.struct.pyramid.ImagePyramid<I> pyramidDst,
java.lang.Class<I> inputType,
java.lang.Class<D> derivType) |
| Modifier and Type | Method and Description |
|---|---|
boofcv.struct.image.ImageType<I> |
getInputType()
Input image type
|
void |
process(I source,
I destination,
ImageFlow flow)
Computes the optical flow.
|
public FlowKlt_to_DenseOpticalFlow(DenseOpticalFlowKlt<I,D> flowKlt, boofcv.abst.filter.derivative.ImageGradient<I,D> gradient, boofcv.struct.pyramid.ImagePyramid<I> pyramidSrc, boofcv.struct.pyramid.ImagePyramid<I> pyramidDst, java.lang.Class<I> inputType, java.lang.Class<D> derivType)
public void process(I source, I destination, ImageFlow flow)
DenseOpticalFlowprocess in interface DenseOpticalFlow<I extends boofcv.struct.image.ImageGray>source - (Input) First imagedestination - (Input) Second imageflow - (Output) Computed flow information from source to destinationpublic boofcv.struct.image.ImageType<I> getInputType()
DenseOpticalFlowgetInputType in interface DenseOpticalFlow<I extends boofcv.struct.image.ImageGray>