public class HornSchunck_to_DenseOpticalFlow<T extends boofcv.struct.image.ImageBase,D extends boofcv.struct.image.ImageBase> extends java.lang.Object implements DenseOpticalFlow<T>
DenseOpticalFlow for HornSchunck.| Constructor and Description |
|---|
HornSchunck_to_DenseOpticalFlow(HornSchunck<T,D> hornSchunck,
boofcv.struct.image.ImageType<T> imageType) |
| Modifier and Type | Method and Description |
|---|---|
boofcv.struct.image.ImageType<T> |
getInputType()
Input image type
|
void |
process(T source,
T destination,
ImageFlow flow)
Computes the optical flow.
|
public HornSchunck_to_DenseOpticalFlow(HornSchunck<T,D> hornSchunck, boofcv.struct.image.ImageType<T> imageType)
public void process(T source, T destination, ImageFlow flow)
DenseOpticalFlowprocess in interface DenseOpticalFlow<T extends boofcv.struct.image.ImageBase>source - (Input) First imagedestination - (Input) Second imageflow - (Output) Computed flow information from source to destinationpublic boofcv.struct.image.ImageType<T> getInputType()
DenseOpticalFlowgetInputType in interface DenseOpticalFlow<T extends boofcv.struct.image.ImageBase>