Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.SwapChannel

    Methods for exchanging the color channels of an image.

    The methods support arbitrary permutations of the original channels, including replication.

    Inheritance
    System.Object
    NPPNativeMethods.NPPi.SwapChannel
    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 SwapChannel

    Methods

    nppiSwapChannels_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 16-bit signed integer source image to 4 channel destination image with destination alpha channel unaffected.

    Declaration
    public static NppStatus nppiSwapChannels_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_16s_C3C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[], Int16)

    3 channel 16-bit signed integer source image to 4 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_16s_C3C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder, short nValue)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    System.Int16 nValue

    (V) Single channel constant value that can be replicated in one or more of the 4 destination channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_16s_C3IR(CUdeviceptr, Int32, NppiSize, Int32[])

    3 channel 16-bit signed integer in place image.

    Declaration
    public static NppStatus nppiSwapChannels_16s_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int[] aDstOrder)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    3 channel 16-bit signed integer source image to 3 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_16s_C4C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 16-bit signed integer source image to 3 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_16s_C4C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_16s_C4IR(CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 16-bit signed integer in place image.

    Declaration
    public static NppStatus nppiSwapChannels_16s_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int[] aDstOrder)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_16s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 16-bit signed integer source image to 4 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_16s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 16-bit unsigned integer source image to 4 channel destination image with destination alpha channel unaffected.

    Declaration
    public static NppStatus nppiSwapChannels_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_16u_C3C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[], UInt16)

    3 channel 16-bit unsigned integer source image to 4 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_16u_C3C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder, ushort nValue)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    System.UInt16 nValue

    (V) Single channel constant value that can be replicated in one or more of the 4 destination channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_16u_C3IR(CUdeviceptr, Int32, NppiSize, Int32[])

    3 channel 16-bit unsigned integer in place image.

    Declaration
    public static NppStatus nppiSwapChannels_16u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int[] aDstOrder)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    3 channel 16-bit unsigned integer source image to 3 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_16u_C4C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 16-bit unsigned integer source image to 3 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_16u_C4C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_16u_C4IR(CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 16-bit unsigned integer in place image.

    Declaration
    public static NppStatus nppiSwapChannels_16u_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int[] aDstOrder)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 16-bit unsigned integer source image to 4 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_16u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 32-bit floating point source image to 4 channel destination image with destination alpha channel unaffected.

    Declaration
    public static NppStatus nppiSwapChannels_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32f_C3C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[], Single)

    3 channel 32-bit floating point source image to 4 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_32f_C3C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder, float nValue)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    System.Single nValue

    (V) Single channel constant value that can be replicated in one or more of the 4 destination channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32f_C3IR(CUdeviceptr, Int32, NppiSize, Int32[])

    3 channel 32-bit floating point in place image.

    Declaration
    public static NppStatus nppiSwapChannels_32f_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int[] aDstOrder)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    oSizeROI Region-of-Interest (ROI).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    3 channel 32-bit floating point source image to 3 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32f_C4C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 32-bit floating point source image to 3 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_32f_C4C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32f_C4IR(CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 32-bit floating point in place image.

    Declaration
    public static NppStatus nppiSwapChannels_32f_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int[] aDstOrder)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 32-bit floating point source image to 4 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 32-bit signed integer source image to 4 channel destination image with destination alpha channel unaffected.

    Declaration
    public static NppStatus nppiSwapChannels_32s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32s_C3C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[], Int32)

    3 channel 32-bit signed integer source image to 4 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_32s_C3C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder, int nValue)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    System.Int32 nValue

    (V) Single channel constant value that can be replicated in one or more of the 4 destination channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32s_C3IR(CUdeviceptr, Int32, NppiSize, Int32[])

    3 channel 32-bit signed integer in place image.

    Declaration
    public static NppStatus nppiSwapChannels_32s_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int[] aDstOrder)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    3 channel 32-bit signed integer source image to 3 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_32s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32s_C4C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 32-bit signed integer source image to 3 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_32s_C4C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32s_C4IR(CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 32-bit signed integer in place image.

    Declaration
    public static NppStatus nppiSwapChannels_32s_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int[] aDstOrder)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_32s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 32-bit signed integer source image to 4 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_32s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 8-bit unsigned integer source image to 4 channel destination image with destination alpha channel unaffected.

    Declaration
    public static NppStatus nppiSwapChannels_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_8u_C3C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[], Byte)

    3 channel 8-bit unsigned integer source image to 4 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_8u_C3C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder, byte nValue)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    System.Byte nValue

    (V) Single channel constant value that can be replicated in one or more of the 4 destination channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_8u_C3IR(CUdeviceptr, Int32, NppiSize, Int32[])

    3 channel 8-bit unsigned integer in place image.

    Declaration
    public static NppStatus nppiSwapChannels_8u_C3IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int[] aDstOrder)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    3 channel 8-bit unsigned integer source image to 3 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_8u_C4C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 8-bit unsigned integer source image to 3 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_8u_C4C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_8u_C4IR(CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 8-bit unsigned swap channels, in-place.

    Declaration
    public static NppStatus nppiSwapChannels_8u_C4IR(CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int[] aDstOrder)
    Parameters
    Type Name Description
    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32[] aDstOrder

    Integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSwapChannels_8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32[])

    4 channel 8-bit unsigned integer source image to 4 channel destination image.

    Declaration
    public static NppStatus nppiSwapChannels_8u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, int[] aDstOrder)
    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).

    System.Int32[] aDstOrder

    Host memory integer array describing how channel values are permutated. The n-th entry

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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