Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.ColorLUTTrilinear

    Perform image color processing using 3D trilinear interpolation between members of various types of color look up tables.

    Inheritance
    System.Object
    NPPNativeMethods.NPPi.ColorLUTTrilinear
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ManagedCuda.NPP
    Assembly: NPP.dll
    Syntax
    public static class ColorLUTTrilinear

    Methods

    nppiLUT_Trilinear_8u_AC4IR(CUdeviceptr, Int32, NppiSize, CUdeviceptr, IntPtr[], Int32[])

    Four channel 8-bit unsigned 3D trilinear interpolated look-up-table in place color conversion, not affecting alpha. Alpha channel is the last channel and is not processed. The LUT is derived from a set of user defined mapping points through trilinear interpolation.

    Declaration
    public static NppStatus nppiLUT_Trilinear_8u_AC4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, CUdeviceptr pValues, IntPtr[] pLevels, int[] aLevels)
    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

    Device pointer aLevels[2] number of contiguous 2D x,y planes of 4-byte packed RGBX values

    System.IntPtr[] pLevels

    Host pointer to an array of 3 host pointers, one per cube edge, pointing to user defined INPUT level values. (Npp8u*)

    System.Int32[] aLevels

    Host pointer to an array of 3 user defined number of input/output mapping points, one per 3D cube edge.

    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_Trilinear_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, IntPtr[], Int32[])

    Four channel 8-bit unsigned 3D trilinear interpolated look-up-table color conversion, not affecting alpha. Alpha channel is the last channel and is not processed. The LUT is derived from a set of user defined mapping points through trilinear interpolation.

    Declaration
    public static NppStatus nppiLUT_Trilinear_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pValues, IntPtr[] pLevels, int[] aLevels)
    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

    Device pointer to aLevels[2] number of contiguous 2D x,y planes of 4-byte packed RGBX values

    System.IntPtr[] pLevels

    Host pointer to an array of 3 host pointers, one per cube edge, pointing to user defined INPUT level values. (Npp8u*)

    System.Int32[] aLevels

    Host pointer to an array of 3 user defined number of input/output mapping points, one per 3D cube edge.

    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_Trilinear_8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, IntPtr[], Int32[])

    Four channel 8-bit unsigned 3D trilinear interpolated look-up-table color conversion, with alpha copy. Alpha channel is the last channel and is copied to the destination unmodified. The LUT is derived from a set of user defined mapping points through trilinear interpolation.

    Declaration
    public static NppStatus nppiLUT_Trilinear_8u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pValues, IntPtr[] pLevels, int[] aLevels)
    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

    Device pointer to aLevels[2] number of contiguous 2D x,y planes of 4-byte packed RGBX values

    System.IntPtr[] pLevels

    Host pointer to an array of 3 host pointers, one per cube edge, pointing to user defined INPUT level values (Npp8u*).

    System.Int32[] aLevels

    Host pointer to an array of 3 user defined number of input/output mapping points, one per 3D cube edge.

    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.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX