[−][src]Function opencv::sfm::projection_from_k_rt
pub fn projection_from_k_rt(
k: &dyn ToInputArray,
r: &dyn ToInputArray,
t: &dyn ToInputArray,
p: &mut dyn ToOutputArray
) -> Result<()>
Get projection matrix P from K, R and t.
Parameters
- K: Input 3x3 camera matrix .
- R: Input 3x3 rotation matrix.
- t: Input 3x1 translation vector.
- P: Output 3x4 projection matrix.
This function estimate the projection matrix by solving the following equation: