Function opencv::imgproc::get_affine_transform_slice
source · pub fn get_affine_transform_slice(
src: &[Point2f; 3],
dst: &[Point2f; 3]
) -> Result<Mat>
Expand description
Calculates an affine transform from three pairs of the corresponding points.
The function calculates the matrix of an affine transform so that:
where
§Parameters
- src: Coordinates of triangle vertices in the source image.
- dst: Coordinates of the corresponding triangle vertices in the destination image.
§See also
warpAffine, transform