Class NPPNativeMethods.NPPi.ColorLUT
Perform image color processing using members of various types of color look up tables.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class ColorLUT
Methods
nppiLUT_16s_AC4IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 16-bit signed look-up-table in place color conversion, not affecting Alpha. The LUT is derived from a set of user defined mapping points using no interpolation. Alpha channel is the last channel and is not processed.
Declaration
public static NppStatus nppiLUT_16s_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 16-bit signed look-up-table color conversion, not affecting Alpha. The LUT is derived from a set of user defined mapping points using no interpolation. Alpha channel is the last channel and is not processed.
Declaration
public static NppStatus nppiLUT_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16s_C1IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, Int32)
16-bit signed look-up-table in place color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_16s_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr pValues, CUdeviceptr pLevels, int nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pValues | Pointer to an array of user defined OUTPUT values (this is a device memory pointer) |
CUdeviceptr | pLevels | Pointer to an array of user defined INPUT values (this is a device memory pointer) |
System.Int32 | nLevels | Number of user defined number of input/output mapping points (levels) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, Int32)
16-bit signed look-up-table color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pValues, CUdeviceptr pLevels, int nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pValues | Pointer to an array of user defined OUTPUT values (this is a device memory pointer) |
CUdeviceptr | pLevels | Pointer to an array of user defined INPUT values (this is a device memory pointer) |
System.Int32 | nLevels | Number of user defined number of input/output mapping points (levels) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16s_C3IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
3 channel 16-bit signed look-up-table in place color conversion.
The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_16s_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
3 channel 16-bit signed look-up-table color conversion.
The LUT is derived from a set of user defined mapping points using no interpolation.
Declaration
public static NppStatus nppiLUT_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16s_C4IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 16-bit signed look-up-table in place color conversion.
The LUT is derived from a set of user defined mapping points using no interpolation.
Declaration
public static NppStatus nppiLUT_16s_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 4 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 16-bit signed look-up-table color conversion.
The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_16s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 4 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16u_AC4IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 16-bit unsigned look-up-table in place color conversion, not affecting Alpha. The LUT is derived from a set of user defined mapping points using no interpolation. Alpha channel is the last channel and is not processed.
Declaration
public static NppStatus nppiLUT_16u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 16-bit unsigned look-up-table color conversion, not affecting Alpha. The LUT is derived from a set of user defined mapping points using no interpolation. Alpha channel is the last channel and is not processed.
Declaration
public static NppStatus nppiLUT_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16u_C1IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, Int32)
16-bit unsigned look-up-table in place color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_16u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr pValues, CUdeviceptr pLevels, int nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pValues | Pointer to an array of user defined OUTPUT values (this is a device memory pointer) |
CUdeviceptr | pLevels | Pointer to an array of user defined INPUT values (this is a device memory pointer) |
System.Int32 | nLevels | Number of user defined number of input/output mapping points (levels) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, Int32)
16-bit unsigned look-up-table color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pValues, CUdeviceptr pLevels, int nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pValues | Pointer to an array of user defined OUTPUT values (this is a device memory pointer) |
CUdeviceptr | pLevels | Pointer to an array of user defined INPUT values (this is a device memory pointer) |
System.Int32 | nLevels | Number of user defined number of input/output mapping points (levels) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16u_C3IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
3 channel 16-bit unsigned look-up-table in place color conversion.
The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_16u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
3 channel 16-bit unsigned look-up-table color conversion.
The LUT is derived from a set of user defined mapping points using no interpolation.
Declaration
public static NppStatus nppiLUT_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16u_C4IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 16-bit unsigned look-up-table in place color conversion.
The LUT is derived from a set of user defined mapping points using no interpolation.
Declaration
public static NppStatus nppiLUT_16u_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 4 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 16-bit unsigned look-up-table color conversion.
The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_16u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 4 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_32f_AC4IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 32-bit floating point look-up-table in place color conversion, not affecting Alpha. The LUT is derived from a set of user defined mapping points using no interpolation. Alpha channel is the last channel and is not processed.
Declaration
public static NppStatus nppiLUT_32f_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 32-bit floating point look-up-table color conversion, not affecting Alpha. The LUT is derived from a set of user defined mapping points using no interpolation. Alpha channel is the last channel and is not processed.
Declaration
public static NppStatus nppiLUT_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_32f_C1IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, Int32)
32-bit floating point look-up-table in place color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_32f_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr pValues, CUdeviceptr pLevels, int nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pValues | Pointer to an array of user defined OUTPUT values (this is a device memory pointer) |
CUdeviceptr | pLevels | Pointer to an array of user defined INPUT values (this is a device memory pointer) |
System.Int32 | nLevels | Number of user defined number of input/output mapping points (levels) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, Int32)
32-bit floating point look-up-table color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pValues, CUdeviceptr pLevels, int nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pValues | Pointer to an array of user defined OUTPUT values (this is a device memory pointer) |
CUdeviceptr | pLevels | Pointer to an array of user defined INPUT values (this is a device memory pointer) |
System.Int32 | nLevels | Number of user defined number of input/output mapping points (levels) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_32f_C3IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
3 channel 32-bit floating point look-up-table in place color conversion.
The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_32f_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
3 channel 32-bit floating point look-up-table color conversion.
The LUT is derived from a set of user defined mapping points using no interpolation.
Declaration
public static NppStatus nppiLUT_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_32f_C4IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 32-bit floating point look-up-table in place color conversion.
The LUT is derived from a set of user defined mapping points using no interpolation.
Declaration
public static NppStatus nppiLUT_32f_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 4 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 32-bit floating point look-up-table color conversion.
The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 4 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 1024 (the current size limit). |
nppiLUT_8u_AC4IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 8-bit unsigned look-up-table in place color conversion, not affecting Alpha. The LUT is derived from a set of user defined mapping points using no interpolation. Alpha channel is the last channel and is not processed.
Declaration
public static NppStatus nppiLUT_8u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 256. |
nppiLUT_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 8-bit unsigned look-up-table color conversion, not affecting Alpha. The LUT is derived from a set of user defined mapping points using no interpolation. Alpha channel is the last channel and is not processed.
Declaration
public static NppStatus nppiLUT_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 256. |
nppiLUT_8u_C1IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, Int32)
8-bit unsigned look-up-table in place color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_8u_C1IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr pValues, CUdeviceptr pLevels, int nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pValues | Pointer to an array of user defined OUTPUT values (this is a device memory pointer) |
CUdeviceptr | pLevels | Pointer to an array of user defined INPUT values (this is a device memory pointer) |
System.Int32 | nLevels | Number of user defined number of input/output mapping points (levels) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 256. |
nppiLUT_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, Int32)
8-bit unsigned look-up-table color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pValues, CUdeviceptr pLevels, int nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pValues | Pointer to an array of user defined OUTPUT values (this is a device memory pointer) |
CUdeviceptr | pLevels | Pointer to an array of user defined INPUT values (this is a device memory pointer) |
System.Int32 | nLevels | Number of user defined number of input/output mapping points (levels) |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 256. |
nppiLUT_8u_C3IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
3 channel 8-bit unsigned look-up-table in place color conversion.
The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_8u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 256. |
nppiLUT_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
3 channel 8-bit unsigned look-up-table color conversion.
The LUT is derived from a set of user defined mapping points using no interpolation.
Declaration
public static NppStatus nppiLUT_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 3 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 256. |
nppiLUT_8u_C4IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 8-bit unsigned look-up-table in place color conversion.
The LUT is derived from a set of user defined mapping points using no interpolation.
Declaration
public static NppStatus nppiLUT_8u_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrcDst | In-Place Image Pointer. |
System.Int32 | nSrcDstStep | In-Place Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 4 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 256. |
nppiLUT_8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr[], CUdeviceptr[], Int32[])
4 channel 8-bit unsigned look-up-table color conversion.
The LUT is derived from a set of user defined mapping points with no interpolation.
Declaration
public static NppStatus nppiLUT_8u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr[] pValues, CUdeviceptr[] pLevels, int[] nLevels)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | Source-Image Pointer. |
System.Int32 | nSrcStep | Source-Image Line Step. |
CUdeviceptr | pDst | Destination-Image Pointer. |
System.Int32 | nDstStep | Destination-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr[] | pValues | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values. |
CUdeviceptr[] | pLevels | Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. |
System.Int32[] | nLevels | Host pointer to an array of 4 user defined number of input/output mapping points, one per color CHANNEL. |
Returns
Type | Description |
---|---|
NppStatus | StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError - ::NPP_LUT_NUMBER_OF_LEVELS_ERROR if the number of levels is less than 2 or greater than 256. |