[−][src]Function opencv::sfm::normalize_points
pub fn normalize_points(
points: &dyn ToInputArray,
normalized_points: &mut dyn ToOutputArray,
t: &mut dyn ToOutputArray
) -> Result<()>
This function normalizes points (non isotropic).
Parameters
- points: Input vector of N-dimensional points.
- normalized_points: Output vector of the same N-dimensional points but with mean 0 and average norm .
- T: Output 3x3 transform matrix such that , where are the points to normalize and the normalized points.
Internally calls @ref preconditionerFromPoints in order to get the scaling matrix before applying @ref applyTransformationToPoints. This operation is an essential step before applying the DLT algorithm in order to consider the result as optimal.
Reference: HartleyZ00 4.4.4 pag.109