Library/ManagedCuda/NPP/NPPImage_16uC3.cs
/// <summary>
///Calculates perspective transform projection of given source rectangular ROI
/// </summary>
/// <param name="coeffs">Perspective transform coefficients [3,3]</param>
/// <returns>Destination quadrangle [4,2]</returns>
Calculates perspective transform projection of given source rectangular ROI
Calculates perspective transform projection of given source rectangular ROI
public double[,] GetPerspectiveQuad(double[,] coeffs)
		{
			double[,] quad = new double[4, 2];
			NppiRect rect = new NppiRect(_pointRoi, _sizeRoi);
			status = NPPNativeMethods.NPPi.PerspectiveTransforms.nppiGetPerspectiveQuad(rect, quad, coeffs);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiGetPerspectiveQuad", status));
			NPPException.CheckNppStatus(status, this);
			return quad;
		}
public double [ , ] GetPerspectiveQuad ( double [ , ] coeffs ) { double [ , ] quad = new double [ 4 , 2 ] ; NppiRect rect = new NppiRect ( _pointRoi , _sizeRoi ) ; status = NPPNativeMethods . NPPi . PerspectiveTransforms . nppiGetPerspectiveQuad ( rect , quad , coeffs ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; return quad ; }
Calculates perspective transform projection of given source rectangular ROI
Calculates perspective transform projection of given source rectangular ROI
Destination quadrangle [4,2]
Destination quadrangle [ 4 2 ]
coeffs
double[,]
Perspective transform coefficients [3,3]
Perspective transform coefficients [ 3 3 ]