impl: disp and motion calculation (gradient approximation)
impl
impl
impl