Function:OpticalFlowPyrLKDense
From CUVI Wiki
Computes Dense Optical Flow between each pixel of two images using pyramidal Lucas-Kanade method.
Function
|
Parameters
Name | Type | Description |
---|---|---|
previousImage | CuviImage* | The first image whose features are to be tracked |
nextImage | CuviImage* | Second image, in which to look for features of first image |
flowX | Cuvi32f* | Horizontal optical flow |
flowY | Cuvi32f* | Vertical optical flow |
criteria | CuviFeaturesCriteria | A structure containing various parameters that affect optical flow calculation |
stream | CuviStream* | GPU stream ID for execution |
Image Type Support
Input | Output |
---|---|
2x 8uC1 | 2x Cuvi32f* |
Samples
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Error creating thumbnail: Unable to save thumbnail to destination |
Example
|