Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.LinearTransforms

    Linear image transforms, like Fourier and DCT transformations.

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

    Methods

    nppiMagnitude_32fc32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    32-bit floating point complex to 32-bit floating point magnitude.

    Converts complex-number pixel image to single channel image computing the result pixels as the magnitude of the complex values.

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiMagnitudeSqr_32fc32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    32-bit floating point complex to 32-bit floating point squared magnitude.

    Converts complex-number pixel image to single channel image computing the result pixels as the squared magnitude of the complex values.

    The squared magnitude is an itermediate result of magnitude computation and can thus be computed faster than actual magnitude. If magnitudes are required for sorting/comparing only, using this function instead of nppiMagnitude_32fc32f_C1R can be a worthwhile performance optimization.

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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