Trait opencv::cudaoptflow::CUDA_SparsePyrLKOpticalFlowConst [−][src]
pub trait CUDA_SparsePyrLKOpticalFlowConst: CUDA_SparseOpticalFlowConst {
fn as_raw_CUDA_SparsePyrLKOpticalFlow(&self) -> *const c_void;
fn get_win_size(&self) -> Result<Size> { ... }
fn get_max_level(&self) -> Result<i32> { ... }
fn get_num_iters(&self) -> Result<i32> { ... }
fn get_use_initial_flow(&self) -> Result<bool> { ... }
}
Expand description
Class used for calculating a sparse optical flow.
The class can calculate an optical flow for a sparse feature set using the iterative Lucas-Kanade method with pyramids.
See also
calcOpticalFlowPyrLK
Note:
- An example of the Lucas Kanade optical flow algorithm can be found at opencv_source_code/samples/gpu/pyrlk_optical_flow.cpp