Library/ManagedCuda/NPP/NPPImage_32fC4.cs
/// <summary>
/// 4 channel 32-bit floating point in place color twist, not affecting Alpha.<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 unmodified.
/// </summary>
/// <param name="twistMatrix">The color twist matrix with floating-point pixel values [3,4].</param>
4 channel 32-bit floating point in place color twist, not affecting Alpha.
An input color twist matrix with floating-point coefficient values is applied with in ROI.
Alpha channel is the last channel and is unmodified.
4 channel 32 - bit floating point in place color twist not affecting Alpha . An input color twist matrix with floating - point coefficient values is applied with in ROI . Alpha channel is the last channel and is unmodified .
public void ColorTwist(float[,] twistMatrix)
		{
			status = NPPNativeMethods.NPPi.ColorTwist.nppiColorTwist_32f_C4IR(_devPtr, _pitch, _sizeRoi, twistMatrix);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiColorTwist_32f_C4IR", status));
			NPPException.CheckNppStatus(status, this);
		}
public void ColorTwist ( float [ , ] twistMatrix ) { status = NPPNativeMethods . NPPi . ColorTwist . nppiColorTwist_32f_C4IR ( _devPtr , _pitch , _sizeRoi , twistMatrix ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
4 channel 32-bit floating point in place color twist, not affecting Alpha.
4 channel 32 - bit floating point in place color twist not affecting Alpha .
twistMatrix
float[,]
The color twist matrix with floating-point pixel values [3,4].
The color twist matrix with floating - point pixel values [ 3 4 ] .