Library/ManagedCuda/NPP/NPPImage_32fC4.cs
/// <summary>
/// color twist batch
/// An input 4x5 color twist matrix with floating-point coefficient values including a constant (in the fourth column) vector
/// is applied within ROI. For this particular version of the function the result is generated as shown below. Color twist matrix can vary per image. The same ROI is applied to each image.
/// </summary>
/// <param name="nMin">Minimum clamp value.</param>
/// <param name="nMax">Maximum saturation and clamp value.</param>
/// <param name="oSizeROI"></param>
/// <param name="pBatchList">Device memory pointer to nBatchSize list of NppiColorTwistBatchCXR structures.</param>
color twist batch
An input 4x5 color twist matrix with floating-point coefficient values including a constant (in the fourth column) vector
is applied within ROI. For this particular version of the function the result is generated as shown below. Color twist matrix can vary per image. The same ROI is applied to each image.
color twist batch An input 4x5 color twist matrix with floating - point coefficient values including a constant ( in the fourth column ) vector is applied within ROI . For this particular version of the function the result is generated as shown below . Color twist matrix can vary per image . The same ROI is applied to each image .
public static void ColorTwistBatchC(float nMin, float nMax, NppiSize oSizeROI, CudaDeviceVariable<NppiColorTwistBatchCXR> pBatchList)
        {
            NppStatus status = NPPNativeMethods.NPPi.ColorTwistBatch.nppiColorTwistBatch_32fC_C4R(nMin, nMax, oSizeROI, pBatchList.DevicePointer, pBatchList.Size);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiColorTwistBatch_32fC_C4R", status));
            NPPException.CheckNppStatus(status, pBatchList);
        }
public static void ColorTwistBatchC ( float nMin , float nMax , NppiSize oSizeROI , CudaDeviceVariable < NppiColorTwistBatchCXR > pBatchList ) { NppStatus status = NPPNativeMethods . NPPi . ColorTwistBatch . nppiColorTwistBatch_32fC_C4R ( nMin , nMax , oSizeROI , pBatchList . DevicePointer , pBatchList . Size ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pBatchList ) ; }
color twist batch
An input 4x5 color twist matrix with floating-point coefficient values including a constant (in the fourth column) vector
is applied within ROI.
color twist batch An input 4x5 color twist matrix with floating - point coefficient values including a constant ( in the fourth column ) vector is applied within ROI .
nMin
float
Minimum clamp value.
Minimum clamp value .
nMax
float
Maximum saturation and clamp value.
Maximum saturation and clamp value .
oSizeROI
NppiSize
None
pBatchList
CudaDeviceVariable<NppiColorTwistBatchCXR>
Device memory pointer to nBatchSize list of NppiColorTwistBatchCXR structures.
Device memory pointer to nBatchSize list of NppiColorTwistBatchCXR structures .