Library/ManagedCuda/NPP/NPPImage_8uC4.cs
/// <summary>
/// Calculates bounding box of the affine transform projection of the given source rectangular ROI
/// </summary>
/// <param name="coeffs">Affine transform coefficients [2,3]</param>
/// <returns>Destination quadrangle [2,2]</returns>
Calculates bounding box of the affine transform projection of the given source rectangular ROI
Calculates bounding box of the affine transform projection of the given source rectangular ROI
public double[,] GetAffineBound(double[,] coeffs)
		{
			double[,] bound = new double[2, 2];
			NppiRect rect = new NppiRect(_pointRoi, _sizeRoi);
			status = NPPNativeMethods.NPPi.AffinTransforms.nppiGetAffineBound(rect, bound, coeffs);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiGetAffineBound", status));
			NPPException.CheckNppStatus(status, this);
			return bound;
		}
public double [ , ] GetAffineBound ( double [ , ] coeffs ) { double [ , ] bound = new double [ 2 , 2 ] ; NppiRect rect = new NppiRect ( _pointRoi , _sizeRoi ) ; status = NPPNativeMethods . NPPi . AffinTransforms . nppiGetAffineBound ( rect , bound , coeffs ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; return bound ; }
Calculates bounding box of the affine transform projection of the given source rectangular ROI
Calculates bounding box of the affine transform projection of the given source rectangular ROI
Destination quadrangle [2,2]
Destination quadrangle [ 2 2 ]
coeffs
double[,]
Affine transform coefficients [2,3]
Affine transform coefficients [ 2 3 ]