Type Definition opencv::types::PtrOfSparseOpticalFlow [−][src]
pub type PtrOfSparseOpticalFlow = Ptr<dyn SparseOpticalFlow>;
Implementations
Trait Implementations
Stores algorithm parameters in a file storage
simplified API for language bindings Stores algorithm parameters in a file storage Read more
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more
fn calc(
&mut self,
prev_img: &dyn ToInputArray,
next_img: &dyn ToInputArray,
prev_pts: &dyn ToInputArray,
next_pts: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
err: &mut dyn ToOutputArray
) -> Result<()>
fn calc(
&mut self,
prev_img: &dyn ToInputArray,
next_img: &dyn ToInputArray,
prev_pts: &dyn ToInputArray,
next_pts: &mut dyn ToInputOutputArray,
status: &mut dyn ToOutputArray,
err: &mut dyn ToOutputArray
) -> Result<()>
Calculates a sparse optical flow. Read more