Library/ManagedCuda/NPP/NPPImage_32fC1.cs
/// <summary>
/// Compute shape of rotated image.
/// </summary>
/// <param name="nAngle">The angle of rotation in degrees.</param>
/// <param name="nShiftX">Shift along horizontal axis</param>
/// <param name="nShiftY">Shift along vertical axis</param>
Compute shape of rotated image.
Compute shape of rotated image .
public double[,] GetRotateQuad(double nAngle, double nShiftX, double nShiftY)
		{
			double[,] quad = new double[4, 2];
			status = NPPNativeMethods.NPPi.GeometricTransforms.nppiGetRotateQuad(new NppiRect(_pointRoi, _sizeRoi), quad, nAngle, nShiftX, nShiftY);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiGetRotateQuad", status));
			NPPException.CheckNppStatus(status, this);
			return quad;
		}
public double [ , ] GetRotateQuad ( double nAngle , double nShiftX , double nShiftY ) { double [ , ] quad = new double [ 4 , 2 ] ; status = NPPNativeMethods . NPPi . GeometricTransforms . nppiGetRotateQuad ( new NppiRect ( _pointRoi , _sizeRoi ) , quad , nAngle , nShiftX , nShiftY ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; return quad ; }
Compute shape of rotated image.
Compute shape of rotated image .
nAngle
double
The angle of rotation in degrees.
The angle of rotation in degrees .
nShiftX
double
Shift along horizontal axis
Shift along horizontal axis
nShiftY
double
Shift along vertical axis
Shift along vertical axis