[][src]Function opencv::videostab::get_motion

pub fn get_motion(from: i32, to: i32, motions: &VectorOfMat) -> Result<Mat>

Computes motion between two frames assuming that all the intermediate motions are known.

Parameters

  • from: Source frame index.
  • to: Destination frame index.
  • motions: Pair-wise motions. motions[i] denotes motion from the frame i to the frame i+1

Returns

Motion from the Source frame to the Destination frame.