Library/ManagedCuda/NPP/NPPImage_8uC4.cs
/// <summary>
/// 4 channel 8-bit unsigned color twist, with alpha copy.<para/>
/// An input color twist matrix with floating-point coefficient values is applied with in ROI.<para/>
/// Alpha channel is the last channel and is copied unmodified from the source pixel to the destination pixel.
/// </summary>
/// <param name="dest">Destination image</param>
/// <param name="twistMatrix">The color twist matrix with floating-point pixel values [3,4].</param>
4 channel 8-bit unsigned color twist, with alpha copy.
An input color twist matrix with floating-point coefficient values is applied with in ROI.
Alpha channel is the last channel and is copied unmodified from the source pixel to the destination pixel.
4 channel 8 - bit unsigned color twist with alpha copy . An input color twist matrix with floating - point coefficient values is applied with in ROI . Alpha channel is the last channel and is copied unmodified from the source pixel to the destination pixel .
public void ColorTwist(NPPImage_8uC4 dest, float[,] twistMatrix)
		{
			status = NPPNativeMethods.NPPi.ColorTwist.nppiColorTwist32f_8u_C4R(_devPtr, _pitch, dest.DevicePointer, dest.Pitch, _sizeRoi, twistMatrix);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiColorTwist32f_8u_C4R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void ColorTwist ( NPPImage_8uC4 dest , float [ , ] twistMatrix ) { status = NPPNativeMethods . NPPi . ColorTwist . nppiColorTwist32f_8u_C4R ( _devPtr , _pitch , dest . DevicePointer , dest . Pitch , _sizeRoi , twistMatrix ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
4 channel 8-bit unsigned color twist, with alpha copy.
4 channel 8 - bit unsigned color twist with alpha copy .
dest
NPPImage_8uC4
None
twistMatrix
float[,]
The color twist matrix with floating-point pixel values [3,4].
The color twist matrix with floating - point pixel values [ 3 4 ] .