CVBpy 14.0
PerspectiveTransformation Class Reference

Perspective transformation coefficients. More...

Inherits object.

Properties

 c00 = property
 float: Get defining coefficient for the transformation.
 
 c01 = property
 float: Gets the defining coefficient for the transformation.
 
 c02 = property
 float: Gets the defining coefficient for the transformation.
 
 c10 = property
 float: Gets the defining coefficient for the transformation.
 
 c11 = property
 float: Gets the defining coefficient for the transformation.
 
 c12 = property
 float: Gets the defining coefficient for the transformation.
 
 c20 = property
 float: Gets the defining coefficient for the transformation.
 
 c21 = property
 float: Gets the defining coefficient for the transformation.
 
 c22 = property
 float: Gets the defining coefficient for the transformation.
 

Detailed Description

Perspective transformation coefficients.

Calculate the defining coefficients for the perspective transformation.

Parameters

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.