Perspective transformation coefficients. More...
Public Member Functions | |
| None | PerspectiveTransformation (self, cvb.Point2D left_top, cvb.Point2D right_top, cvb.Point2D right_bottom, cvb.Point2D left_bottom, cvb.Rect dest_rect) |
| Calculate the defining coefficients for the perspective transformation. | |
Perspective transformation coefficients.
| None PerspectiveTransformation | ( | self, | |
| cvb.Point2D | left_top, | ||
| cvb.Point2D | right_top, | ||
| cvb.Point2D | right_bottom, | ||
| cvb.Point2D | left_bottom, | ||
| cvb.Rect | dest_rect ) |
Calculate the defining coefficients for the perspective transformation.
left_top : cvb.Point2D Left top corner's coordinate in the source image.
right_top : cvb.Point2D Right top corner's coordinate in the source image.
right_bottom : cvb.Point2D Right bottom corner's coordinate in the source image.
left_bottom : cvb.Point2D Left bottom corner's coordinate in the source image.
dest_rect : cvb.Rect Rectangle containing the positions into which the input points are to be converted.