Realm

oa::vision::rodrigues

Convert between a [3, 1] Rodrigues rotation vector and a [3, 3] rotation matrix, matching Rodrigues in both directions. Errors Returns an error unless the input is a [3, 1]/[1, 3] or [3, 3] F32 matrix.

FnRust public API

Function Documentation

pub fn rodrigues( input: &Matrix ) -> Result<Matrix>
Convert between a [3, 1] Rodrigues rotation vector and a [3, 3] rotation matrix, matching Rodrigues in both directions. Errors Returns an error unless the input is a [3, 1]/[1, 3] or [3, 3] F32 matrix.