Library/ManagedCuda/NPP/NPPImage_16sC4.cs
/// <summary>
/// image remap. Not affecting Alpha.
/// </summary>
/// <param name="dst">Destination-Image</param>
/// <param name="pXMap">Device memory pointer to 2D image array of X coordinate values to be used when sampling source image. </param>
/// <param name="pYMap">Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image. </param>
/// <param name="eInterpolation">The type of eInterpolation to perform resampling.</param>
image remap. Not affecting Alpha.
image remap . Not affecting Alpha .
public void RemapA(NPPImage_16sC4 dst, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation)
		{
			NppiRect srcRect = new NppiRect(_pointRoi, _sizeRoi);
			status = NPPNativeMethods.NPPi.Remap.nppiRemap_16s_AC4R(_devPtr, _sizeRoi, _pitch, srcRect, pXMap.DevicePointerRoi, pXMap.Pitch, pYMap.DevicePointerRoi, pYMap.Pitch, dst.DevicePointerRoi, dst.Pitch, dst.SizeRoi, eInterpolation);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiRemap_16s_AC4R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void RemapA ( NPPImage_16sC4 dst , NPPImage_32fC1 pXMap , NPPImage_32fC1 pYMap , InterpolationMode eInterpolation ) { NppiRect srcRect = new NppiRect ( _pointRoi , _sizeRoi ) ; status = NPPNativeMethods . NPPi . Remap . nppiRemap_16s_AC4R ( _devPtr , _sizeRoi , _pitch , srcRect , pXMap . DevicePointerRoi , pXMap . Pitch , pYMap . DevicePointerRoi , pYMap . Pitch , dst . DevicePointerRoi , dst . Pitch , dst . SizeRoi , eInterpolation ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
image remap.
image remap .
dst
NPPImage_16sC4
None
pXMap
NPPImage_32fC1
Device memory pointer to 2D image array of X coordinate values to be used when sampling source image.
Device memory pointer to 2D image array of X coordinate values to be used when sampling source image .
pYMap
NPPImage_32fC1
Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image.
Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image .
eInterpolation
InterpolationMode
The type of eInterpolation to perform resampling.
The type of eInterpolation to perform resampling .