Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.CopySubpix

    Functions for copying linearly interpolated images using source image subpixel coordinates

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

    Methods

    nppiCopySubpix_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    4 channel 16-bit signed integer linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected. See nppiCopySubpix_16s_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    1 channel 16-bit signed integer linearly interpolated source image subpixel coordinate color copy.

    Declaration
    public static NppStatus nppiCopySubpix_16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size (width, height) of the destination region, i.e. the region that gets filled with

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    3 channel 16-bit signed integer linearly interpolated source image subpixel coordinate color copy. See nppiCopySubpix_16s_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_16s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    4 channel 16-bit signed integer linearly interpolated source image subpixel coordinate color copy. See nppiCopySubpix_16s_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_16s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    4 channel 16-bit unsigned linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected. See nppiCopySubpix_16u_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    1 channel 16-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

    Declaration
    public static NppStatus nppiCopySubpix_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size (width, height) of the destination region, i.e. the region that gets filled with

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    3 channel 16-bit unsigned integer linearly interpolated source image subpixel coordinate color copy. See nppiCopySubpix_16u_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    4 channel 16-bit unsigned integer linearly interpolated source image subpixel coordinate color copy. See nppiCopySubpix_16u_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_16u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    4 channel 32-bit floating point linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected. See nppiCopySubpix_32f_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    1 channel 32-bit floating point linearly interpolated source image subpixel coordinate color copy.

    Declaration
    public static NppStatus nppiCopySubpix_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size (width, height) of the destination region, i.e. the region that gets filled with

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    3 channel 32-bit floating point linearly interpolated source image subpixel coordinate color copy. See nppiCopySubpix_32f_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    4 channel 32-bit floating point linearly interpolated source image subpixel coordinate color copy. See nppiCopySubpix_32f_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_32s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    4 channel 32-bit signed integer linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected. See nppiCopySubpix_32s_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_32s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_32s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    1 channel 32-bit signed integer linearly interpolated source image subpixel coordinate color copy.

    Declaration
    public static NppStatus nppiCopySubpix_32s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size (width, height) of the destination region, i.e. the region that gets filled with

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_32s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    3 channel 32-bit signed linearly interpolated source image subpixel coordinate color copy. See nppiCopySubpix_32s_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_32s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_32s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    4 channel 32-bit signed integer linearly interpolated source image subpixel coordinate color copy. See nppiCopySubpix_32s_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_32s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    4 channel 8-bit unsigned integer linearly interpolated source image subpixel coordinate color copy with alpha channel unaffected. See nppiCopySubpix_8u_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    1 channel 8-bit unsigned integer linearly interpolated source image subpixel coordinate color copy.

    Declaration
    public static NppStatus nppiCopySubpix_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size (width, height) of the destination region, i.e. the region that gets filled with

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    3 channel 8-bit unsigned integer linearly interpolated source image subpixel coordinate color copy. See nppiCopySubpix_8u_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCopySubpix_8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Single)

    4 channel 8-bit unsigned integer linearly interpolated source image subpixel coordinate color copy. See nppiCopySubpix_8u_C1R() for detailed documentation.

    Declaration
    public static NppStatus nppiCopySubpix_8u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oDstSizeROI, float nDx, float nDy)
    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 oDstSizeROI

    Size of the destination region-of-interest.

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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