Library/ManagedCuda/NPP/NPPImage_16sC4.cs
/// <summary>
/// image resize. Not affecting Alpha.
/// </summary>
/// <param name="dst">Destination-Image</param>
/// <param name="nXFactor">Factor by which x dimension is changed. </param>
/// <param name="nYFactor">Factor by which y dimension is changed. </param>
/// <param name="nXShift">Source pixel shift in x-direction.</param>
/// <param name="nYShift">Source pixel shift in y-direction.</param>
/// <param name="eInterpolation">The type of eInterpolation to perform resampling.</param>
image resize. Not affecting Alpha.
image resize . Not affecting Alpha .
public void ResizeSqrPixelA(NPPImage_16sC4 dst, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation)
		{
			NppiRect srcRect = new NppiRect(_pointRoi, _sizeRoi);
			NppiRect dstRect = new NppiRect(dst.PointRoi, dst.SizeRoi);
			status = NPPNativeMethods.NPPi.ResizeSqrPixel.nppiResizeSqrPixel_16s_AC4R(_devPtr, _sizeRoi, _pitch, srcRect, dst.DevicePointer, dst.Pitch, dstRect, nXFactor, nYFactor, nXShift, nYShift, eInterpolation);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiResizeSqrPixel_16s_AC4R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void ResizeSqrPixelA ( NPPImage_16sC4 dst , double nXFactor , double nYFactor , double nXShift , double nYShift , InterpolationMode eInterpolation ) { NppiRect srcRect = new NppiRect ( _pointRoi , _sizeRoi ) ; NppiRect dstRect = new NppiRect ( dst . PointRoi , dst . SizeRoi ) ; status = NPPNativeMethods . NPPi . ResizeSqrPixel . nppiResizeSqrPixel_16s_AC4R ( _devPtr , _sizeRoi , _pitch , srcRect , dst . DevicePointer , dst . Pitch , dstRect , nXFactor , nYFactor , nXShift , nYShift , eInterpolation ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
image resize.
image resize .
dst
NPPImage_16sC4
None
nXFactor
double
Factor by which x dimension is changed.
Factor by which x dimension is changed .
nYFactor
double
Factor by which y dimension is changed.
Factor by which y dimension is changed .
nXShift
double
Source pixel shift in x-direction.
Source pixel shift in x - direction .
nYShift
double
Source pixel shift in y-direction.
Source pixel shift in y - direction .
eInterpolation
InterpolationMode
The type of eInterpolation to perform resampling.
The type of eInterpolation to perform resampling .