Library/ManagedCuda/NPP/NPPImage_8uC4.cs
/// <summary>
/// Compute bounding-box 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 bounding-box of rotated image.
Compute bounding - box of rotated image .
public double[,] GetRotateBound(double nAngle, double nShiftX, double nShiftY)
		{
			double[,] bbox = new double[2, 2];
			status = NPPNativeMethods.NPPi.GeometricTransforms.nppiGetRotateBound(new NppiRect(_pointRoi, _sizeRoi), bbox, nAngle, nShiftX, nShiftY);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiGetRotateBound", status));
			NPPException.CheckNppStatus(status, this);
			return bbox;
		}
public double [ , ] GetRotateBound ( double nAngle , double nShiftX , double nShiftY ) { double [ , ] bbox = new double [ 2 , 2 ] ; status = NPPNativeMethods . NPPi . GeometricTransforms . nppiGetRotateBound ( new NppiRect ( _pointRoi , _sizeRoi ) , bbox , nAngle , nShiftX , nShiftY ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; return bbox ; }
Compute bounding-box of rotated image.
Compute bounding - box 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