Library/ManagedCuda/NPP/NPPImage_16sC4.cs
/// <summary>
/// Swap channels. Not affecting Alpha
/// </summary>
/// <param name="dest">Destination image</param>
/// <param name="aDstOrder">Integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of
/// the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to BGRA
/// channel order. In the AC4R case, the alpha channel is always assumed to be channel 3.
/// </param>
Swap channels. Not affecting Alpha
Swap channels . Not affecting Alpha
public void SwapChannelsA(NPPImage_16sC4 dest, int[] aDstOrder)
		{
			status = NPPNativeMethods.NPPi.SwapChannel.nppiSwapChannels_16s_AC4R(_devPtrRoi, _pitch, dest.DevicePointerRoi, dest.Pitch, _sizeRoi, aDstOrder);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiSwapChannels_16s_AC4R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void SwapChannelsA ( NPPImage_16sC4 dest , int [ ] aDstOrder ) { status = NPPNativeMethods . NPPi . SwapChannel . nppiSwapChannels_16s_AC4R ( _devPtrRoi , _pitch , dest . DevicePointerRoi , dest . Pitch , _sizeRoi , aDstOrder ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Swap channels.
Swap channels .
dest
NPPImage_16sC4
None
aDstOrder
int[]
Integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of
the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to BGRA
channel order. In the AC4R case, the alpha channel is always assumed to be channel 3.
Integer array describing how channel values are permutated . The n - th entry of the array contains the number of the channel that is stored in the n - th channel of the output image . E . g . Given an RGBA image aDstOrder = [ 2 1 0 ] converts this to BGRA channel order . In the AC4R case the alpha channel is always assumed to be channel 3 .