[−][src]Function opencv::imgproc::get_perspective_transform_slice
pub fn get_perspective_transform_slice(
src: &[Point2f],
dst: &[Point2f],
solve_method: i32
) -> Result<Mat>
Calculates a perspective transform from four pairs of the corresponding points.
The function calculates the matrix of a perspective transform so that:
where
Parameters
- src: Coordinates of quadrangle vertices in the source image.
- dst: Coordinates of the corresponding quadrangle vertices in the destination image.
- solveMethod: method passed to cv::solve (#DecompTypes)
See also
findHomography, warpPerspective, perspectiveTransform
Overloaded parameters
C++ default parameters
- solve_method: DECOMP_LU