CvInvokePerspectiveTransform Method |
Name | Description | |
---|---|---|
PerspectiveTransform(PointF, IInputArray) |
Transforms every element of src in the following way:
(x, y) -> (x'/w, y'/w),
where
(x', y', w') = mat3x3 * (x, y, 1)
and w = w' if w'!=0,
inf otherwise
| |
PerspectiveTransform(IInputArray, IOutputArray, IInputArray) |
Transforms every element of src (by treating it as 2D or 3D vector) in the following way:
(x, y, z) -> (x'/w, y'/w, z'/w) or
(x, y) -> (x'/w, y'/w),
where
(x', y', z', w') = mat4x4 * (x, y, z, 1) or
(x', y', w') = mat3x3 * (x, y, 1)
and w = w' if w'!=0,
inf otherwise
|