func GetPerspectiveTransform(rect, dst []CvPoint2D32f) *Mat {
	mat := CreateMat(3, 3, CV_64F)
	result := C.cvGetPerspectiveTransform(
		(*C.CvPoint2D32f)(&rect[0]),
		(*C.CvPoint2D32f)(&dst[0]),
		(*C.struct_CvMat)(mat))
	return (*Mat)(result)
}
func GetPerspectiveTransform(rect, dst []CvPoint2D32f) *Mat {
	mat := CreateMat(3, 3, CV_64F)
	result := C.cvGetPerspectiveTransform(
		(*C.CvPoint2D32f)(&rect[0]),
		(*C.CvPoint2D32f)(&dst[0]),
		(*C.struct_CvMat)(mat))
	return (*Mat)(result)
}
func GetPerspectiveTransform ( rect , dst [ ] CvPoint2D32f ) * Mat { mat := CreateMat ( 3 , 3 , CV_64F ) result := C . cvGetPerspectiveTransform ( ( * C . CvPoint2D32f ) ( & rect [ 0 ] ) , ( * C . CvPoint2D32f ) ( & dst [ 0 ] ) , ( * C . struct_CvMat ) ( mat ) ) return ( * Mat ) ( result ) }
// GetPerspectiveTransform calculates a perspective transform from four pairs of the corresponding points.
//
// Parameters:
// 	src – Coordinates of quadrangle vertices in the source image.
// 	dst – Coordinates of the corresponding quadrangle vertices in the destination image.
// 	Returns the computed matrix
GetPerspectiveTransform calculates a perspective transform from four pairs of the corresponding points . Parameters : src – Coordinates of quadrangle vertices in the source image . dst – Coordinates of the corresponding quadrangle vertices in the destination image . Returns the computed matrix