Show / Hide Table of Contents

    Class NPPImage_32fC1

    Inheritance
    System.Object
    NPPImageBase
    NPPImage_32fC1
    Implements
    System.IDisposable
    Inherited Members
    NPPImageBase._devPtr
    NPPImageBase._devPtrRoi
    NPPImageBase._sizeOriginal
    NPPImageBase._sizeRoi
    NPPImageBase._pointRoi
    NPPImageBase._pitch
    NPPImageBase._channels
    NPPImageBase._typeSize
    NPPImageBase.res
    NPPImageBase.status
    NPPImageBase.disposed
    NPPImageBase._isOwner
    NPPImageBase.Dispose()
    NPPImageBase.Dispose(Boolean)
    NPPImageBase.CopyToDevice(IntPtr, SizeT)
    NPPImageBase.CopyToDevice<T>(CudaPitchedDeviceVariable<T>)
    NPPImageBase.CopyToDevice(NPPImageBase)
    NPPImageBase.CopyToDevice<T>(CudaDeviceVariable<T>)
    NPPImageBase.CopyToDevice(CUdeviceptr)
    NPPImageBase.CopyToDevice(CUdeviceptr, SizeT)
    NPPImageBase.CopyToHost(IntPtr, SizeT)
    NPPImageBase.CopyToDevice(Array, SizeT)
    NPPImageBase.CopyToHost(Array, SizeT)
    NPPImageBase.CopyToDevice(IntPtr)
    NPPImageBase.CopyToHost(IntPtr)
    NPPImageBase.CopyToDevice(Array)
    NPPImageBase.CopyToHost<T>(T[])
    NPPImageBase.CopyToDevice(Bitmap)
    NPPImageBase.CopyToHost(Bitmap)
    NPPImageBase.CopyToDeviceRoi(IntPtr, SizeT, NppiRect)
    NPPImageBase.CopyToDeviceRoi<T>(CudaPitchedDeviceVariable<T>, NppiRect)
    NPPImageBase.CopyToDeviceRoi(NPPImageBase)
    NPPImageBase.CopyToDeviceRoi<T>(CudaDeviceVariable<T>, NppiRect)
    NPPImageBase.CopyToDeviceRoi(CUdeviceptr, NppiRect)
    NPPImageBase.CopyToDeviceRoi(CUdeviceptr, SizeT, NppiRect)
    NPPImageBase.CopyToHostRoi(IntPtr, SizeT, NppiRect)
    NPPImageBase.CopyToDeviceRoi(Array, SizeT, NppiRect)
    NPPImageBase.CopyToHostRoi(Array, SizeT, NppiRect)
    NPPImageBase.CopyToDeviceRoi(IntPtr, NppiRect)
    NPPImageBase.CopyToHostRoi(IntPtr, NppiRect)
    NPPImageBase.CopyToDeviceRoi(Array, NppiRect)
    NPPImageBase.CopyToHostRoi<T>(T[], NppiRect)
    NPPImageBase.CopyToDeviceRoi(Bitmap, NppiRect)
    NPPImageBase.CopyToHostRoi(Bitmap, NppiRect)
    NPPImageBase.AsyncCopyToDevice(CUdeviceptr, CUstream)
    NPPImageBase.AsyncCopyToDevice<T>(CudaDeviceVariable<T>, CUstream)
    NPPImageBase.AsyncCopyToDevice<T>(CudaPitchedDeviceVariable<T>, CUstream)
    NPPImageBase.AsyncCopyToDevice(NPPImageBase, CUstream)
    NPPImageBase.Size
    NPPImageBase.SizeRoi
    NPPImageBase.PointRoi
    NPPImageBase.DevicePointer
    NPPImageBase.DevicePointerRoi
    NPPImageBase.Width
    NPPImageBase.WidthInBytes
    NPPImageBase.Height
    NPPImageBase.WidthRoi
    NPPImageBase.WidthRoiInBytes
    NPPImageBase.HeightRoi
    NPPImageBase.Pitch
    NPPImageBase.TotalSizeInBytes
    NPPImageBase.Channels
    NPPImageBase.SetRoi(NppiRect)
    NPPImageBase.SetRoi(Int32, Int32, Int32, Int32)
    NPPImageBase.ResetRoi()
    NPPImageBase.GetResizeRect(Double, Double, Double, Double, InterpolationMode)
    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 class NPPImage_32fC1 : NPPImageBase, IDisposable

    Constructors

    | Improve this Doc View Source

    NPPImage_32fC1(CUdeviceptr, NppiSize, Int32)

    Creates a new NPPImage from allocated device ptr.

    Declaration
    public NPPImage_32fC1(CUdeviceptr devPtr, NppiSize size, int pitch)
    Parameters
    Type Name Description
    CUdeviceptr devPtr

    Already allocated device ptr.

    NppiSize size

    Image size

    System.Int32 pitch

    Pitch / Line step

    | Improve this Doc View Source

    NPPImage_32fC1(CUdeviceptr, NppiSize, Int32, Boolean)

    Creates a new NPPImage from allocated device ptr.

    Declaration
    public NPPImage_32fC1(CUdeviceptr devPtr, NppiSize size, int pitch, bool isOwner)
    Parameters
    Type Name Description
    CUdeviceptr devPtr

    Already allocated device ptr.

    NppiSize size

    Image size

    System.Int32 pitch

    Pitch / Line step

    System.Boolean isOwner

    If TRUE, devPtr is freed when disposing

    | Improve this Doc View Source

    NPPImage_32fC1(CUdeviceptr, Int32, Int32, Int32)

    Creates a new NPPImage from allocated device ptr. Does not take ownership of decPtr.

    Declaration
    public NPPImage_32fC1(CUdeviceptr devPtr, int width, int height, int pitch)
    Parameters
    Type Name Description
    CUdeviceptr devPtr

    Already allocated device ptr.

    System.Int32 width

    Image width in pixels

    System.Int32 height

    Image height in pixels

    System.Int32 pitch

    Pitch / Line step

    | Improve this Doc View Source

    NPPImage_32fC1(CUdeviceptr, Int32, Int32, Int32, Boolean)

    Creates a new NPPImage from allocated device ptr.

    Declaration
    public NPPImage_32fC1(CUdeviceptr devPtr, int width, int height, int pitch, bool isOwner)
    Parameters
    Type Name Description
    CUdeviceptr devPtr

    Already allocated device ptr.

    System.Int32 width

    Image width in pixels

    System.Int32 height

    Image height in pixels

    System.Int32 pitch

    Pitch / Line step

    System.Boolean isOwner

    If TRUE, devPtr is freed when disposing

    | Improve this Doc View Source

    NPPImage_32fC1(NPPImageBase)

    Creates a new NPPImage from allocated device ptr. Does not take ownership of inner image device pointer.

    Declaration
    public NPPImage_32fC1(NPPImageBase image)
    Parameters
    Type Name Description
    NPPImageBase image

    NPP image

    | Improve this Doc View Source

    NPPImage_32fC1(NppiSize)

    Allocates new memory on device using NPP-Api.

    Declaration
    public NPPImage_32fC1(NppiSize size)
    Parameters
    Type Name Description
    NppiSize size

    Image size

    | Improve this Doc View Source

    NPPImage_32fC1(Int32, Int32)

    Allocates new memory on device using NPP-Api.

    Declaration
    public NPPImage_32fC1(int nWidthPixels, int nHeightPixels)
    Parameters
    Type Name Description
    System.Int32 nWidthPixels

    Image width in pixels

    System.Int32 nHeightPixels

    Image height in pixels

    Methods

    | Improve this Doc View Source

    Abs()

    Image absolute value. In place.

    Declaration
    public void Abs()
    | Improve this Doc View Source

    Abs(NPPImage_32fC1)

    Image absolute value.

    Declaration
    public void Abs(NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    AbsDiff(NPPImage_32fC1, NPPImage_32fC1)

    Absolute difference of this minus src2.

    Declaration
    public void AbsDiff(NPPImage_32fC1 src2, NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    AbsDiff(Single, NPPImage_32fC1)

    Absolute difference with constant.

    Declaration
    public void AbsDiff(float nConstant, NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    System.Single nConstant

    Value to subtract

    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    Add(NPPImage_32fC1)

    In place image addition.

    Declaration
    public void Add(NPPImage_32fC1 src2)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    | Improve this Doc View Source

    Add(NPPImage_32fC1, NPPImage_32fC1)

    Image addition.

    Declaration
    public void Add(NPPImage_32fC1 src2, NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    Add(Single)

    Add constant to image. Inplace.

    Declaration
    public void Add(float nConstant)
    Parameters
    Type Name Description
    System.Single nConstant

    Value to add

    | Improve this Doc View Source

    Add(Single, NPPImage_32fC1)

    Add constant to image.

    Declaration
    public void Add(float nConstant, NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    System.Single nConstant

    Value to add

    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    AddProduct(NPPImage_32fC1)

    Image squared then added to in place floating point destination image.

    Declaration
    public void AddProduct(NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    AddProduct(NPPImage_32fC1, NPPImage_32fC1)

    Image product added to in place floating point destination image.

    Declaration
    public void AddProduct(NPPImage_32fC1 src2, NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    AddProduct(NPPImage_32fC1, NPPImage_32fC1, NPPImage_8uC1)

    Image product added to in place floating point destination image using filter mask (updates destination when mask is non-zero).

    Declaration
    public void AddProduct(NPPImage_32fC1 src2, NPPImage_32fC1 dest, NPPImage_8uC1 mask)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    NPPImage_32fC1 dest

    Destination image

    NPPImage_8uC1 mask

    Mask image

    | Improve this Doc View Source

    AddProduct(NPPImage_32fC1, NPPImage_8uC1)

    Image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).

    Declaration
    public void AddProduct(NPPImage_32fC1 dest, NPPImage_8uC1 mask)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NPPImage_8uC1 mask

    Mask image

    | Improve this Doc View Source

    AddWeighted(NPPImage_32fC1, NPPImage_8uC1, Single)

    Channel alpha weighted image added to in place floating point destination image using filter mask (updates destination when mask is non-zero).

    Declaration
    public void AddWeighted(NPPImage_32fC1 dest, NPPImage_8uC1 mask, float nAlpha)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NPPImage_8uC1 mask

    Mask image

    System.Single nAlpha

    Alpha weight to be applied to source image pixels (0.0F to 1.0F)

    | Improve this Doc View Source

    AddWeighted(NPPImage_32fC1, Single)

    Channel alpha weighted image added to in place floating point destination image.

    Declaration
    public void AddWeighted(NPPImage_32fC1 dest, float nAlpha)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Single nAlpha

    Alpha weight to be applied to source image pixels (0.0F to 1.0F)

    | Improve this Doc View Source

    AlphaComp(Single, NPPImage_32fC1, Single, NPPImage_32fC1, NppiAlphaOp)

    Image composition using constant alpha.

    Declaration
    public void AlphaComp(float alpha1, NPPImage_32fC1 src2, float alpha2, NPPImage_32fC1 dest, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    System.Single alpha1

    constant alpha for this image

    NPPImage_32fC1 src2

    2nd source image

    System.Single alpha2

    constant alpha for src2

    NPPImage_32fC1 dest

    Destination image

    NppiAlphaOp nppAlphaOp

    alpha compositing operation

    | Improve this Doc View Source

    AverageError(NPPImage_32fC1, CudaDeviceVariable<Double>)

    image average error. User buffer is internally allocated and freed.

    Declaration
    public void AverageError(NPPImage_32fC1 src2, CudaDeviceVariable<double> pError)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    | Improve this Doc View Source

    AverageError(NPPImage_32fC1, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image average error.

    Declaration
    public void AverageError(NPPImage_32fC1 src2, CudaDeviceVariable<double> pError, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    CudaDeviceVariable<System.Byte> buffer

    Pointer to the user-allocated scratch buffer required for the AverageError operation.

    | Improve this Doc View Source

    AverageErrorGetBufferHostSize()

    Device scratch buffer size (in bytes) for AverageError.

    Declaration
    public int AverageErrorGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    AverageRelativeError(NPPImage_32fC1, CudaDeviceVariable<Double>)

    image average relative error. User buffer is internally allocated and freed.

    Declaration
    public void AverageRelativeError(NPPImage_32fC1 src2, CudaDeviceVariable<double> pError)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    | Improve this Doc View Source

    AverageRelativeError(NPPImage_32fC1, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image average relative error.

    Declaration
    public void AverageRelativeError(NPPImage_32fC1 src2, CudaDeviceVariable<double> pError, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    CudaDeviceVariable<System.Byte> buffer

    Pointer to the user-allocated scratch buffer required for the AverageRelativeError operation.

    | Improve this Doc View Source

    AverageRelativeErrorGetBufferHostSize()

    Device scratch buffer size (in bytes) for AverageRelativeError.

    Declaration
    public int AverageRelativeErrorGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    ColorTwist(NPPImage_32fC1, Single[,])

    An input color twist matrix with floating-point pixel values is applied within ROI.

    Declaration
    public void ColorTwist(NPPImage_32fC1 dest, float[, ] twistMatrix)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Single[,] twistMatrix

    The color twist matrix with floating-point pixel values [3,4].

    | Improve this Doc View Source

    ColorTwist(Single[,])

    in place color twist.

    An input color twist matrix with floating-point coefficient values is applied within ROI.

    Declaration
    public void ColorTwist(float[, ] aTwist)
    Parameters
    Type Name Description
    System.Single[,] aTwist

    The color twist matrix with floating-point coefficient values. [3,4]

    | Improve this Doc View Source

    ColorTwistBatch(Single, Single, NppiSize, CudaDeviceVariable<NppiColorTwistBatchCXR>)

    color twist batch An input color twist matrix with floating-point coefficient values is applied within the ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

    Declaration
    public static void ColorTwistBatch(float nMin, float nMax, NppiSize oSizeROI, CudaDeviceVariable<NppiColorTwistBatchCXR> pBatchList)
    Parameters
    Type Name Description
    System.Single nMin

    Minimum clamp value.

    System.Single nMax

    Maximum saturation and clamp value.

    NppiSize oSizeROI
    CudaDeviceVariable<NppiColorTwistBatchCXR> pBatchList

    Device memory pointer to nBatchSize list of NppiColorTwistBatchCXR structures.

    | Improve this Doc View Source

    ColorTwistBatchI(Single, Single, NppiSize, CudaDeviceVariable<NppiColorTwistBatchCXR>)

    color twist batch An input color twist matrix with floating-point coefficient values is applied within the ROI for each image in batch. Color twist matrix can vary per image. The same ROI is applied to each image.

    Declaration
    public static void ColorTwistBatchI(float nMin, float nMax, NppiSize oSizeROI, CudaDeviceVariable<NppiColorTwistBatchCXR> pBatchList)
    Parameters
    Type Name Description
    System.Single nMin

    Minimum clamp value.

    System.Single nMax

    Maximum saturation and clamp value.

    NppiSize oSizeROI
    CudaDeviceVariable<NppiColorTwistBatchCXR> pBatchList

    Device memory pointer to nBatchSize list of NppiColorTwistBatchCXR structures.

    | Improve this Doc View Source

    Compare(NPPImage_32fC1, NPPImage_8uC1, NppCmpOp)

    Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public void Compare(NPPImage_32fC1 src2, NPPImage_8uC1 dest, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    NPPImage_8uC1 dest

    Destination image

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    | Improve this Doc View Source

    Compare(Single, NPPImage_8uC1, NppCmpOp)

    Compare pSrc's pixels with constant value.

    Declaration
    public void Compare(float nConstant, NPPImage_8uC1 dest, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    System.Single nConstant

    constant value

    NPPImage_8uC1 dest

    Destination image

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    | Improve this Doc View Source

    CompareEqualEps(NPPImage_32fC1, NPPImage_8uC1, Single)

    Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public void CompareEqualEps(NPPImage_32fC1 src2, NPPImage_8uC1 dest, float epsilon)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    NPPImage_8uC1 dest

    Destination image

    System.Single epsilon

    epsilon tolerance value to compare to pixel absolute differences.

    | Improve this Doc View Source

    CompareEqualEps(Single, NPPImage_8uC1, Single)

    Compare pSrc's pixels with constant value.

    Declaration
    public void CompareEqualEps(float nConstant, NPPImage_8uC1 dest, float epsilon)
    Parameters
    Type Name Description
    System.Single nConstant

    constant value

    NPPImage_8uC1 dest

    Destination image

    System.Single epsilon

    epsilon tolerance value to compare to pixel absolute differences.

    | Improve this Doc View Source

    Convert(NPPImage_16sC1, NppRoundMode)

    32-bit floating point to 16-bit conversion.

    Declaration
    public void Convert(NPPImage_16sC1 dst, NppRoundMode roundMode)
    Parameters
    Type Name Description
    NPPImage_16sC1 dst

    Destination image

    NppRoundMode roundMode

    Flag specifying how fractional float values are rounded to integer values.

    | Improve this Doc View Source

    Convert(NPPImage_16sC1, NppRoundMode, Int32)

    32-bit floating point to 16-bit signed conversion.

    Declaration
    public void Convert(NPPImage_16sC1 dst, NppRoundMode roundMode, int scaleFactor)
    Parameters
    Type Name Description
    NPPImage_16sC1 dst

    Destination image

    NppRoundMode roundMode

    Flag specifying how fractional float values are rounded to integer values.

    System.Int32 scaleFactor

    Integer Result Scaling.

    | Improve this Doc View Source

    Convert(NPPImage_16uC1, NppRoundMode)

    32-bit floating point to 16-bit conversion.

    Declaration
    public void Convert(NPPImage_16uC1 dst, NppRoundMode roundMode)
    Parameters
    Type Name Description
    NPPImage_16uC1 dst

    Destination image

    NppRoundMode roundMode

    Flag specifying how fractional float values are rounded to integer values.

    | Improve this Doc View Source

    Convert(NPPImage_16uC1, NppRoundMode, Int32)

    32-bit floating point to 16-bit unsigned conversion.

    Declaration
    public void Convert(NPPImage_16uC1 dst, NppRoundMode roundMode, int scaleFactor)
    Parameters
    Type Name Description
    NPPImage_16uC1 dst

    Destination image

    NppRoundMode roundMode

    Flag specifying how fractional float values are rounded to integer values.

    System.Int32 scaleFactor

    Integer Result Scaling.

    | Improve this Doc View Source

    Convert(NPPImage_32sC1, NppRoundMode, Int32)

    32-bit floating point to 32-bit signed conversion.

    Declaration
    public void Convert(NPPImage_32sC1 dst, NppRoundMode roundMode, int scaleFactor)
    Parameters
    Type Name Description
    NPPImage_32sC1 dst

    Destination image

    NppRoundMode roundMode

    Flag specifying how fractional float values are rounded to integer values.

    System.Int32 scaleFactor

    Integer Result Scaling.

    | Improve this Doc View Source

    Convert(NPPImage_32uC1, NppRoundMode, Int32)

    32-bit floating point to 32-bit unsigned conversion.

    Declaration
    public void Convert(NPPImage_32uC1 dst, NppRoundMode roundMode, int scaleFactor)
    Parameters
    Type Name Description
    NPPImage_32uC1 dst

    Destination image

    NppRoundMode roundMode

    Flag specifying how fractional float values are rounded to integer values.

    System.Int32 scaleFactor

    Integer Result Scaling.

    | Improve this Doc View Source

    Convert(NPPImage_8sC1, NppRoundMode)

    32-bit floating point to 8-bit signed conversion.

    Declaration
    public void Convert(NPPImage_8sC1 dst, NppRoundMode roundMode)
    Parameters
    Type Name Description
    NPPImage_8sC1 dst

    Destination image

    NppRoundMode roundMode

    Flag specifying how fractional float values are rounded to integer values.

    | Improve this Doc View Source

    Convert(NPPImage_8sC1, NppRoundMode, Int32)

    32-bit floating point to 8-bit signed conversion.

    Declaration
    public void Convert(NPPImage_8sC1 dst, NppRoundMode roundMode, int scaleFactor)
    Parameters
    Type Name Description
    NPPImage_8sC1 dst

    Destination image

    NppRoundMode roundMode

    Flag specifying how fractional float values are rounded to integer values.

    System.Int32 scaleFactor

    Integer Result Scaling.

    | Improve this Doc View Source

    Convert(NPPImage_8uC1, NppRoundMode)

    32-bit floating point to 8-bit unsigned conversion.

    Declaration
    public void Convert(NPPImage_8uC1 dst, NppRoundMode roundMode)
    Parameters
    Type Name Description
    NPPImage_8uC1 dst

    Destination image

    NppRoundMode roundMode

    Flag specifying how fractional float values are rounded to integer values.

    | Improve this Doc View Source

    Convert(NPPImage_8uC1, NppRoundMode, Int32)

    32-bit floating point to 8-bit unsigned conversion.

    Declaration
    public void Convert(NPPImage_8uC1 dst, NppRoundMode roundMode, int scaleFactor)
    Parameters
    Type Name Description
    NPPImage_8uC1 dst

    Destination image

    NppRoundMode roundMode

    Flag specifying how fractional float values are rounded to integer values.

    System.Int32 scaleFactor

    Integer Result Scaling.

    | Improve this Doc View Source

    Copy(NPPImage_32fC1)

    Image copy.

    Declaration
    public void Copy(NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination image

    | Improve this Doc View Source

    Copy(NPPImage_32fC1, NPPImage_8uC1)

    Masked Operation 8-bit unsigned image copy.

    Declaration
    public void Copy(NPPImage_32fC1 dst, NPPImage_8uC1 mask)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination image

    NPPImage_8uC1 mask

    Mask image

    | Improve this Doc View Source

    Copy(NPPImage_32fC1, Int32, Int32, Byte)

    Copy image and pad borders with a constant, user-specifiable color.

    Declaration
    public void Copy(NPPImage_32fC1 dst, int nTopBorderHeight, int nLeftBorderWidth, byte nValue)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination image. The image ROI defines the destination region, i.e. the region that gets filled with data from the source image (inner part) and constant border color (outer part).

    System.Int32 nTopBorderHeight

    Height (in pixels) of the top border. The height of the border at the bottom of the destination ROI is implicitly defined by the size of the source ROI: nBottomBorderHeight = oDstSizeROI.height - nTopBorderHeight - oSrcSizeROI.height.

    System.Int32 nLeftBorderWidth

    Width (in pixels) of the left border. The width of the border at the right side of the destination ROI is implicitly defined by the size of the source ROI: nRightBorderWidth = oDstSizeROI.width - nLeftBorderWidth - oSrcSizeROI.width.

    System.Byte nValue

    The pixel value to be set for border pixels.

    | Improve this Doc View Source

    Copy(NPPImage_32fC3, Int32)

    Image copy.

    Declaration
    public void Copy(NPPImage_32fC3 dst, int channel)
    Parameters
    Type Name Description
    NPPImage_32fC3 dst

    Destination image

    System.Int32 channel

    Channel number. This number is added to the dst pointer

    | Improve this Doc View Source

    Copy(NPPImage_32fC4, Int32)

    Image copy.

    Declaration
    public void Copy(NPPImage_32fC4 dst, int channel)
    Parameters
    Type Name Description
    NPPImage_32fC4 dst

    Destination image

    System.Int32 channel

    Channel number. This number is added to the dst pointer

    | Improve this Doc View Source

    CopyReplicateBorder(NPPImage_32fC1, Int32, Int32)

    image copy with nearest source image pixel color.

    Declaration
    public void CopyReplicateBorder(NPPImage_32fC1 dst, int nTopBorderHeight, int nLeftBorderWidth)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    System.Int32 nTopBorderHeight

    Height (in pixels) of the top border. The height of the border at the bottom of the destination ROI is implicitly defined by the size of the source ROI: nBottomBorderHeight = oDstSizeROI.height - nTopBorderHeight - oSrcSizeROI.height.

    System.Int32 nLeftBorderWidth

    Width (in pixels) of the left border. The width of the border at the right side of the destination ROI is implicitly defined by the size of the source ROI: nRightBorderWidth = oDstSizeROI.width - nLeftBorderWidth - oSrcSizeROI.width.

    | Improve this Doc View Source

    CopySubpix(NPPImage_32fC1, Single, Single)

    linearly interpolated source image subpixel coordinate color copy.

    Declaration
    public void CopySubpix(NPPImage_32fC1 dst, float nDx, float nDy)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    System.Single nDx

    Fractional part of source image X coordinate.

    System.Single nDy

    Fractional part of source image Y coordinate.

    | Improve this Doc View Source

    CopyWrapBorder(NPPImage_32fC1, Int32, Int32)

    image copy with the borders wrapped by replication of source image pixel colors.

    Declaration
    public void CopyWrapBorder(NPPImage_32fC1 dst, int nTopBorderHeight, int nLeftBorderWidth)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    System.Int32 nTopBorderHeight

    Height (in pixels) of the top border. The height of the border at the bottom of the destination ROI is implicitly defined by the size of the source ROI: nBottomBorderHeight = oDstSizeROI.height - nTopBorderHeight - oSrcSizeROI.height.

    System.Int32 nLeftBorderWidth

    Width (in pixels) of the left border. The width of the border at the right side of the destination ROI is implicitly defined by the size of the source ROI: nRightBorderWidth = oDstSizeROI.width - nLeftBorderWidth - oSrcSizeROI.width.

    | Improve this Doc View Source

    CountInRange(CudaDeviceVariable<Int32>, Single, Single)

    image CountInRange.

    Declaration
    public void CountInRange(CudaDeviceVariable<int> pCounts, float nLowerBound, float nUpperBound)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Int32> pCounts

    Pointer to the number of pixels that fall into the specified range. (1 * sizeof(int))

    System.Single nLowerBound

    Lower bound of the specified range.

    System.Single nUpperBound

    Upper bound of the specified range.

    | Improve this Doc View Source

    CountInRange(CudaDeviceVariable<Int32>, Single, Single, CudaDeviceVariable<Byte>)

    image CountInRange.

    Declaration
    public void CountInRange(CudaDeviceVariable<int> pCounts, float nLowerBound, float nUpperBound, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Int32> pCounts

    Pointer to the number of pixels that fall into the specified range. (1 * sizeof(int))

    System.Single nLowerBound

    Lower bound of the specified range.

    System.Single nUpperBound

    Upper bound of the specified range.

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at CountInRangeGetBufferHostSize()

    | Improve this Doc View Source

    CountInRangeGetBufferHostSize()

    Device scratch buffer size (in bytes) for CountInRange.

    Declaration
    public int CountInRangeGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    CrossCorrFull_Norm(NPPImage_32fC1, NPPImage_32fC1)

    image CrossCorrFull_Norm.

    Declaration
    public void CrossCorrFull_Norm(NPPImage_32fC1 tpl, NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    CrossCorrFull_NormLevel(NPPImage_32fC1, NPPImage_32fC1)

    CrossCorrFull_NormLevel. Buffer is internally allocated and freed.

    Declaration
    public void CrossCorrFull_NormLevel(NPPImage_32fC1 tpl, NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    NPPImage_32fC1 dst

    Destination image

    | Improve this Doc View Source

    CrossCorrFull_NormLevel(NPPImage_32fC1, NPPImage_32fC1, CudaDeviceVariable<Byte>)

    CrossCorrFull_NormLevel.

    Declaration
    public void CrossCorrFull_NormLevel(NPPImage_32fC1 tpl, NPPImage_32fC1 dst, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    NPPImage_32fC1 dst

    Destination image

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at FullNormLevelGetBufferHostSize()

    | Improve this Doc View Source

    CrossCorrSame_Norm(NPPImage_32fC1, NPPImage_32fC1)

    image CrossCorrSame_Norm.

    Declaration
    public void CrossCorrSame_Norm(NPPImage_32fC1 tpl, NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    CrossCorrSame_NormLevel(NPPImage_32fC1, NPPImage_32fC1)

    CrossCorrSame_NormLevel. Buffer is internally allocated and freed.

    Declaration
    public void CrossCorrSame_NormLevel(NPPImage_32fC1 tpl, NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    NPPImage_32fC1 dst

    Destination image

    | Improve this Doc View Source

    CrossCorrSame_NormLevel(NPPImage_32fC1, NPPImage_32fC1, CudaDeviceVariable<Byte>)

    CrossCorrSame_NormLevel.

    Declaration
    public void CrossCorrSame_NormLevel(NPPImage_32fC1 tpl, NPPImage_32fC1 dst, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    NPPImage_32fC1 dst

    Destination image

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at SameNormLevelGetBufferHostSize()

    | Improve this Doc View Source

    CrossCorrValid(NPPImage_32fC1, NPPImage_32fC1)

    image CrossCorrValid.

    Declaration
    public void CrossCorrValid(NPPImage_32fC1 tpl, NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    CrossCorrValid_Norm(NPPImage_32fC1, NPPImage_32fC1)

    image CrossCorrValid_Norm.

    Declaration
    public void CrossCorrValid_Norm(NPPImage_32fC1 tpl, NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    CrossCorrValid_NormLevel(NPPImage_32fC1, NPPImage_32fC1)

    CrossCorrValid_NormLevel. Buffer is internally allocated and freed.

    Declaration
    public void CrossCorrValid_NormLevel(NPPImage_32fC1 tpl, NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    NPPImage_32fC1 dst

    Destination image

    | Improve this Doc View Source

    CrossCorrValid_NormLevel(NPPImage_32fC1, NPPImage_32fC1, CudaDeviceVariable<Byte>)

    CrossCorrValid_NormLevel.

    Declaration
    public void CrossCorrValid_NormLevel(NPPImage_32fC1 tpl, NPPImage_32fC1 dst, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    NPPImage_32fC1 dst

    Destination image

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at ValidNormLevelGetBufferHostSize()

    | Improve this Doc View Source

    Dilate(NPPImage_32fC1, CudaDeviceVariable<Byte>, NppiSize, NppiPoint)

    Dilation computes the output pixel as the maximum pixel value of the pixels under the mask. Pixels who’s corresponding mask values are zero to not participate in the maximum search.

    Declaration
    public void Dilate(NPPImage_32fC1 dest, CudaDeviceVariable<byte> Mask, NppiSize aMaskSize, NppiPoint oAnchor)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Byte> Mask

    Pointer to the start address of the mask array.

    NppiSize aMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference w.r.t the source pixel.

    | Improve this Doc View Source

    Dilate3x3(NPPImage_32fC1)

    3x3 dilation.

    Declaration
    public void Dilate3x3(NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    Dilate3x3Border(NPPImage_32fC1, NppiBorderType)

    3x3 dilation with border control.

    Declaration
    public void Dilate3x3Border(NPPImage_32fC1 dest, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    DilateBorder(NPPImage_32fC1, CudaDeviceVariable<Byte>, NppiSize, NppiPoint, NppiBorderType)

    Dilation computes the output pixel as the maximum pixel value of the pixels under the mask. Pixels who’s corresponding mask values are zero to not participate in the maximum search. With border control.

    Declaration
    public void DilateBorder(NPPImage_32fC1 dest, CudaDeviceVariable<byte> Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Byte> Mask

    Pointer to the start address of the mask array.

    NppiSize aMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference w.r.t the source pixel.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    Div(NPPImage_32fC1)

    In place image division.

    Declaration
    public void Div(NPPImage_32fC1 src2)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    | Improve this Doc View Source

    Div(NPPImage_32fC1, NPPImage_32fC1)

    Image division.

    Declaration
    public void Div(NPPImage_32fC1 src2, NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    Div(Single)

    Divide constant to image. Inplace.

    Declaration
    public void Div(float nConstant)
    Parameters
    Type Name Description
    System.Single nConstant

    Value

    | Improve this Doc View Source

    Div(Single, NPPImage_32fC1)

    Divide constant to image.

    Declaration
    public void Div(float nConstant, NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    System.Single nConstant

    Value

    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    DotProdGetBufferHostSize()

    Device scratch buffer size (in bytes) for nppiDotProd_32f64f_C1R.

    Declaration
    public int DotProdGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    DotProduct(NPPImage_32fC1, CudaDeviceVariable<Double>)

    One-channel 32-bit floating point DotProd. Buffer is internally allocated and freed.

    Declaration
    public void DotProduct(NPPImage_32fC1 src2, CudaDeviceVariable<double> pDp)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    CudaDeviceVariable<System.Double> pDp

    Pointer to the computed dot product of the two images. (1 * sizeof(double))

    | Improve this Doc View Source

    DotProduct(NPPImage_32fC1, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    One-channel 32-bit floating point image DotProd.

    Declaration
    public void DotProduct(NPPImage_32fC1 src2, CudaDeviceVariable<double> pDp, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    CudaDeviceVariable<System.Double> pDp

    Pointer to the computed dot product of the two images. (1 * sizeof(double))

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at DotProdGetBufferHostSize()

    | Improve this Doc View Source

    Dup(NPPImage_32fC3)

    source image duplicated in all 3 channels of destination image.

    Declaration
    public void Dup(NPPImage_32fC3 dst)
    Parameters
    Type Name Description
    NPPImage_32fC3 dst

    Destination-Image

    | Improve this Doc View Source

    Dup(NPPImage_32fC4)

    source image duplicated in all 4 channels of destination image.

    Declaration
    public void Dup(NPPImage_32fC4 dst)
    Parameters
    Type Name Description
    NPPImage_32fC4 dst

    Destination-Image

    | Improve this Doc View Source

    DupA(NPPImage_32fC4)

    source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.

    Declaration
    public void DupA(NPPImage_32fC4 dst)
    Parameters
    Type Name Description
    NPPImage_32fC4 dst

    Destination-Image

    | Improve this Doc View Source

    Erode(NPPImage_32fC1, CudaDeviceVariable<Byte>, NppiSize, NppiPoint)

    Erosion computes the output pixel as the minimum pixel value of the pixels under the mask. Pixels who’s corresponding mask values are zero to not participate in the maximum search.

    Declaration
    public void Erode(NPPImage_32fC1 dest, CudaDeviceVariable<byte> Mask, NppiSize aMaskSize, NppiPoint oAnchor)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Byte> Mask

    Pointer to the start address of the mask array.

    NppiSize aMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference w.r.t the source pixel.

    | Improve this Doc View Source

    Erode3x3(NPPImage_32fC1)

    3x3 erosion.

    Declaration
    public void Erode3x3(NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    Erode3x3Border(NPPImage_32fC1, NppiBorderType)

    3x3 erosion with border control.

    Declaration
    public void Erode3x3Border(NPPImage_32fC1 dest, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    ErodeBorder(NPPImage_32fC1, CudaDeviceVariable<Byte>, NppiSize, NppiPoint, NppiBorderType)

    Erosion computes the output pixel as the minimum pixel value of the pixels under the mask. Pixels who’s corresponding mask values are zero to not participate in the maximum search. With border control.

    Declaration
    public void ErodeBorder(NPPImage_32fC1 dest, CudaDeviceVariable<byte> Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Byte> Mask

    Pointer to the start address of the mask array.

    NppiSize aMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference w.r.t the source pixel.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    EvenLevels(Int32, Int32, Int32)

    Compute levels with even distribution.

    Declaration
    public int[] EvenLevels(int nLevels, int nLowerBound, int nUpperBound)
    Parameters
    Type Name Description
    System.Int32 nLevels

    The number of levels being computed. nLevels must be at least 2, otherwise an NPP_- HISTO_NUMBER_OF_LEVELS_ERROR error is returned.

    System.Int32 nLowerBound

    Lower boundary value of the lowest level.

    System.Int32 nUpperBound

    Upper boundary value of the greatest level.

    Returns
    Type Description
    System.Int32[]

    An array of size nLevels which receives the levels being computed.

    | Improve this Doc View Source

    Exp()

    Inplace exponential.

    Declaration
    public void Exp()
    | Improve this Doc View Source

    Exp(NPPImage_32fC1)

    Exponential.

    Declaration
    public void Exp(NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    Filter(NPPImage_32fC1, CudaDeviceVariable<Single>, NppiSize, NppiPoint)

    convolution filter.

    Declaration
    public void Filter(NPPImage_32fC1 dst, CudaDeviceVariable<float> pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    CudaDeviceVariable<System.Single> pKernel

    Pointer to the start address of the kernel coefficient array.

    Coefficients are expected to be stored in reverse order.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    | Improve this Doc View Source

    FilterBilateralGaussBorder(NPPImage_32fC1, Int32, Int32, Single, Single, NppiBorderType)

    Single channel 32-bit floating-point bilateral Gauss filter with border control.

    Declaration
    public void FilterBilateralGaussBorder(NPPImage_32fC1 dest, int nRadius, int nStepBetweenSrcPixels, float nValSquareSigma, float nPosSquareSigma, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Int32 nRadius

    The radius of the round filter kernel to be used. A radius of 1 indicates a filter kernel size of 3 by 3, 2 indicates 5 by 5, etc. Radius values from 1 to 32 are supported.

    System.Int32 nStepBetweenSrcPixels

    The step size between adjacent source image pixels processed by the filter kernel, most commonly 1.

    System.Single nValSquareSigma

    The square of the sigma for the relative intensity distance between a source image pixel in the filter kernel and the source image pixel at the center of the filter kernel.

    System.Single nPosSquareSigma

    The square of the sigma for the relative geometric distance between a source image pixel in the filter kernel and the source image pixel at the center of the filter kernel.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterBorder(NPPImage_32fC1, CudaDeviceVariable<Single>, NppiSize, NppiPoint, NppiBorderType)

    One channel 32-bit float convolution filter with border control.

    General purpose 2D convolution filter using floating-point weights with border control.

    Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. Before writing the result pixel the sum is scaled back via division by nDivisor. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.

    Declaration
    public void FilterBorder(NPPImage_32fC1 dest, CudaDeviceVariable<float> pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Single> pKernel

    Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order

    NppiSize nKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference relative to the source pixel.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterBox(NPPImage_32fC1, NppiSize, NppiPoint)

    Computes the average pixel values of the pixels under a rectangular mask.

    Declaration
    public void FilterBox(NPPImage_32fC1 dest, NppiSize oMaskSize, NppiPoint oAnchor)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Avg operation.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.

    | Improve this Doc View Source

    FilterBoxBorder(NPPImage_32fC1, NppiSize, NppiPoint, NppiBorderType)

    Computes the average pixel values of the pixels under a rectangular mask.

    Declaration
    public void FilterBoxBorder(NPPImage_32fC1 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Avg operation.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterColumn(NPPImage_32fC1, CudaDeviceVariable<Single>, Int32)

    1D column convolution.

    Declaration
    public void FilterColumn(NPPImage_32fC1 dst, CudaDeviceVariable<float> pKernel, int nAnchor)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    CudaDeviceVariable<System.Single> pKernel

    Pointer to the start address of the kernel coefficient array. pKernel.Sizes gives kernel size

    Coefficients are expected to be stored in reverse order.

    System.Int32 nAnchor

    Y offset of the kernel origin frame of reference relative to the source pixel.

    | Improve this Doc View Source

    FilterColumnBorder(NPPImage_32fC1, CudaDeviceVariable<Single>, Int32, NppiBorderType)

    General purpose 1D convolution column filter with border control.

    Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.

    Declaration
    public void FilterColumnBorder(NPPImage_32fC1 dest, CudaDeviceVariable<float> Kernel, int nAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Single> Kernel

    Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.

    System.Int32 nAnchor

    X offset of the kernel origin frame of reference w.r.t the source pixel.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterGauss(NPPImage_32fC1, CudaDeviceVariable<Single>)

    Filters the image using a separable Gaussian filter kernel with user supplied floating point coefficients

    Declaration
    public void FilterGauss(NPPImage_32fC1 dst, CudaDeviceVariable<float> Kernel)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    CudaDeviceVariable<System.Single> Kernel

    Pointer to an array of nFilterTaps kernel coefficients which sum to 1.0F, where nFilterTaps = 2 * ((int)((float)ceil(radius) + 0.5F) ) + 1.

    | Improve this Doc View Source

    FilterGauss(NPPImage_32fC1, MaskSize)

    Gauss filter.

    Declaration
    public void FilterGauss(NPPImage_32fC1 dst, MaskSize eMaskSize)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterGaussBorder(NPPImage_32fC1, CudaDeviceVariable<Single>, NppiBorderType)

    Filters the image using a separable Gaussian filter kernel with user supplied floating point coefficients

    Declaration
    public void FilterGaussBorder(NPPImage_32fC1 dst, CudaDeviceVariable<float> Kernel, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    CudaDeviceVariable<System.Single> Kernel

    Pointer to an array of nFilterTaps kernel coefficients which sum to 1.0F, where nFilterTaps = 2 * ((int)((float)ceil(radius) + 0.5F) ) + 1.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterGaussBorder(NPPImage_32fC1, MaskSize, NppiBorderType)

    Filters the image using a Gaussian filter kernel with border control:

    1/16 2/16 1/16

    2/16 4/16 2/16

    1/16 2/16 1/16

    or

    2/571 7/571 12/571 7/571 2/571

    7/571 31/571 52/571 31/571 7/571

    12/571 52/571 127/571 52/571 12/571

    7/571 31/571 52/571 31/571 7/571

    2/571 7/571 12/571 7/571 2/571

    Declaration
    public void FilterGaussBorder(NPPImage_32fC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterGaussPyramidLayerDownBorder(NPPImage_32fC1, Single, Int32, CudaDeviceVariable<Single>, NppiBorderType)

    Single channel 32-bit floating-point Gauss filter with downsampling and border control.

    Declaration
    public void FilterGaussPyramidLayerDownBorder(NPPImage_32fC1 dest, float nRate, int nFilterTaps, CudaDeviceVariable<float> pKernel, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Single nRate

    The downsampling rate to be used. For integer equivalent rates unnecessary source pixels are just skipped. For non-integer rates the source image is bilinear interpolated. nRate must be > 1.0F and <= 10.0F.

    System.Int32 nFilterTaps

    The number of filter taps where nFilterTaps = 2 * ((int)((float)ceil(radius) + 0.5F) ) + 1.

    CudaDeviceVariable<System.Single> pKernel

    Pointer to an array of nFilterTaps kernel coefficients which sum to 1.0F.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterGaussPyramidLayerUpBorder(NPPImage_32fC1, Single, Int32, CudaDeviceVariable<Single>, NppiBorderType)

    Single channel 32-bit floating-point Gauss filter with downsampling and border control.

    Declaration
    public void FilterGaussPyramidLayerUpBorder(NPPImage_32fC1 dest, float nRate, int nFilterTaps, CudaDeviceVariable<float> pKernel, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Single nRate

    The downsampling rate to be used. For integer equivalent rates unnecessary source pixels are just skipped. For non-integer rates the source image is bilinear interpolated. nRate must be > 1.0F and <= 10.0F.

    System.Int32 nFilterTaps

    The number of filter taps where nFilterTaps = 2 * ((int)((float)ceil(radius) + 0.5F) ) + 1.

    CudaDeviceVariable<System.Single> pKernel

    Pointer to an array of nFilterTaps kernel coefficients which sum to 1.0F.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterHighPass(NPPImage_32fC1, MaskSize)

    High pass filter.

    Declaration
    public void FilterHighPass(NPPImage_32fC1 dst, MaskSize eMaskSize)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterHighPassBorder(NPPImage_32fC1, MaskSize, NppiBorderType)

    High pass filter.

    Declaration
    public void FilterHighPassBorder(NPPImage_32fC1 dst, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterLaplace(NPPImage_32fC1, MaskSize)

    Laplace filter.

    Declaration
    public void FilterLaplace(NPPImage_32fC1 dst, MaskSize eMaskSize)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterLaplaceBorder(NPPImage_32fC1, MaskSize, NppiBorderType)

    Laplace filter.

    Declaration
    public void FilterLaplaceBorder(NPPImage_32fC1 dst, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterLowPass(NPPImage_32fC1, MaskSize)

    Low pass filter.

    Declaration
    public void FilterLowPass(NPPImage_32fC1 dst, MaskSize eMaskSize)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterLowPassBorder(NPPImage_32fC1, MaskSize, NppiBorderType)

    Low pass filter.

    Declaration
    public void FilterLowPassBorder(NPPImage_32fC1 dst, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterMax(NPPImage_32fC1, NppiSize, NppiPoint)

    Result pixel value is the maximum of pixel values under the rectangular mask region.

    Declaration
    public void FilterMax(NPPImage_32fC1 dest, NppiSize oMaskSize, NppiPoint oAnchor)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Avg operation.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.

    | Improve this Doc View Source

    FilterMaxBorder(NPPImage_32fC1, NppiSize, NppiPoint, NppiBorderType)

    Result pixel value is the maximum of pixel values under the rectangular mask region.

    Declaration
    public void FilterMaxBorder(NPPImage_32fC1 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Avg operation.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterMedian(NPPImage_32fC1, NppiSize, NppiPoint)

    Result pixel value is the median of pixel values under the rectangular mask region.

    Declaration
    public void FilterMedian(NPPImage_32fC1 dst, NppiSize oMaskSize, NppiPoint oAnchor)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference relative to the source pixel.

    | Improve this Doc View Source

    FilterMedian(NPPImage_32fC1, NppiSize, NppiPoint, CudaDeviceVariable<Byte>)

    Result pixel value is the median of pixel values under the rectangular mask region.

    Declaration
    public void FilterMedian(NPPImage_32fC1 dst, NppiSize oMaskSize, NppiPoint oAnchor, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference relative to the source pixel.

    CudaDeviceVariable<System.Byte> buffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    | Improve this Doc View Source

    FilterMedianGetBufferHostSize(NppiSize)

    Device scratch buffer size (in bytes) for FilterMedian.

    Declaration
    public int FilterMedianGetBufferHostSize(NppiSize oMaskSize)
    Parameters
    Type Name Description
    NppiSize oMaskSize
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    FilterMin(NPPImage_32fC1, NppiSize, NppiPoint)

    Result pixel value is the minimum of pixel values under the rectangular mask region.

    Declaration
    public void FilterMin(NPPImage_32fC1 dest, NppiSize oMaskSize, NppiPoint oAnchor)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Avg operation.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.

    | Improve this Doc View Source

    FilterMinBorder(NPPImage_32fC1, NppiSize, NppiPoint, NppiBorderType)

    Result pixel value is the minimum of pixel values under the rectangular mask region.

    Declaration
    public void FilterMinBorder(NPPImage_32fC1 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Avg operation.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterPrewittHoriz(NPPImage_32fC1)

    horizontal Prewitt filter.

    Declaration
    public void FilterPrewittHoriz(NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    FilterPrewittHorizBorder(NPPImage_32fC1, NppiBorderType)

    horizontal Prewitt filter.

    Declaration
    public void FilterPrewittHorizBorder(NPPImage_32fC1 dst, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterPrewittVert(NPPImage_32fC1)

    vertical Prewitt filter.

    Declaration
    public void FilterPrewittVert(NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    FilterPrewittVertBorder(NPPImage_32fC1, NppiBorderType)

    vertical Prewitt filter.

    Declaration
    public void FilterPrewittVertBorder(NPPImage_32fC1 dst, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterRobertsDown(NPPImage_32fC1)

    horizontal Roberts filter.

    Declaration
    public void FilterRobertsDown(NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    FilterRobertsDownBorder(NPPImage_32fC1, NppiBorderType)

    horizontal Roberts filter.

    Declaration
    public void FilterRobertsDownBorder(NPPImage_32fC1 dst, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterRobertsUp(NPPImage_32fC1)

    vertical Roberts filter..

    Declaration
    public void FilterRobertsUp(NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    FilterRobertsUpBorder(NPPImage_32fC1, NppiBorderType)

    vertical Roberts filter.

    Declaration
    public void FilterRobertsUpBorder(NPPImage_32fC1 dst, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterRow(NPPImage_32fC1, CudaDeviceVariable<Single>, Int32)

    1D row convolution.

    Declaration
    public void FilterRow(NPPImage_32fC1 dst, CudaDeviceVariable<float> pKernel, int nAnchor)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    CudaDeviceVariable<System.Single> pKernel

    Pointer to the start address of the kernel coefficient array. pKernel.Sizes gives kernel size

    Coefficients are expected to be stored in reverse order.

    System.Int32 nAnchor

    X offset of the kernel origin frame of reference relative to the source pixel.

    | Improve this Doc View Source

    FilterRowBorder(NPPImage_32fC1, CudaDeviceVariable<Single>, Int32, NppiBorderType)

    1D row convolution with border control.

    Declaration
    public void FilterRowBorder(NPPImage_32fC1 dest, CudaDeviceVariable<float> Kernel, int nAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Single> Kernel

    Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.

    System.Int32 nAnchor

    X offset of the kernel origin frame of reference w.r.t the source pixel.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterScharrHoriz(NPPImage_32fC1)

    horizontal Scharr filter.

    Declaration
    public void FilterScharrHoriz(NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    FilterScharrHoriz(NPPImage_32fC1, NppiBorderType)

    horizontal Scharr filter kernel with border control.

    Declaration
    public void FilterScharrHoriz(NPPImage_32fC1 dst, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterScharrHorizBorder(NPPImage_32fC1, NppiBorderType)

    Filters the image using a horizontal Scharr filter kernel with border control.

    Declaration
    public void FilterScharrHorizBorder(NPPImage_32fC1 dest, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterScharrVert(NPPImage_32fC1)

    vertical Scharr filter.

    Declaration
    public void FilterScharrVert(NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    FilterScharrVertBorder(NPPImage_32fC1, NppiBorderType)

    Filters the image using a vertical Scharr filter kernel with border control.

    Declaration
    public void FilterScharrVertBorder(NPPImage_32fC1 dest, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterSharpen(NPPImage_32fC1)

    Sharpen filter.

    Declaration
    public void FilterSharpen(NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    FilterSharpenBorder(NPPImage_32fC1, NppiBorderType)

    Sharpen filter.

    Declaration
    public void FilterSharpenBorder(NPPImage_32fC1 dst, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterSobelCross(NPPImage_32fC1, MaskSize)

    second cross derivative Sobel filter.

    Declaration
    public void FilterSobelCross(NPPImage_32fC1 dst, MaskSize eMaskSize)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterSobelCrossBorder(NPPImage_32fC1, MaskSize, NppiBorderType)

    Filters the image using a second cross derivative Sobel filter kernel with border control.

    Declaration
    public void FilterSobelCrossBorder(NPPImage_32fC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    MaskSize eMaskSize

    Enumeration value specifying the mask size

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterSobelHoriz(NPPImage_32fC1, MaskSize)

    horizontal Sobel filter.

    Declaration
    public void FilterSobelHoriz(NPPImage_32fC1 dst, MaskSize eMaskSize)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterSobelHorizBorder(NPPImage_32fC1, MaskSize, NppiBorderType)

    Filters the image using a horizontal Sobel filter kernel with border control.

    Declaration
    public void FilterSobelHorizBorder(NPPImage_32fC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    MaskSize eMaskSize

    Enumeration value specifying the mask size

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterSobelHorizBorder(NPPImage_32fC1, NppiBorderType)

    Filters the image using a horizontal Sobel filter kernel with border control.

    Declaration
    public void FilterSobelHorizBorder(NPPImage_32fC1 dest, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterSobelHorizSecond(NPPImage_32fC1, MaskSize)

    second derivative, horizontal Sobel filter.

    Declaration
    public void FilterSobelHorizSecond(NPPImage_32fC1 dst, MaskSize eMaskSize)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterSobelHorizSecondBorder(NPPImage_32fC1, MaskSize, NppiBorderType)

    Filters the image using a second derivative, horizontal Sobel filter kernel with border control.

    Declaration
    public void FilterSobelHorizSecondBorder(NPPImage_32fC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    MaskSize eMaskSize

    Enumeration value specifying the mask size

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterSobelVert(NPPImage_32fC1)

    vertical Sobel filter.

    Declaration
    public void FilterSobelVert(NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    FilterSobelVert(NPPImage_32fC1, MaskSize)

    vertical Sobel filter.

    Declaration
    public void FilterSobelVert(NPPImage_32fC1 dst, MaskSize eMaskSize)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterSobelVertBorder(NPPImage_32fC1, MaskSize, NppiBorderType)

    Filters the image using a vertical Sobel filter kernel with border control.

    Declaration
    public void FilterSobelVertBorder(NPPImage_32fC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    MaskSize eMaskSize

    Enumeration value specifying the mask size

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterSobelVertBorder(NPPImage_32fC1, NppiBorderType)

    Filters the image using a vertical Sobel filter kernel with border control.

    Declaration
    public void FilterSobelVertBorder(NPPImage_32fC1 dest, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterSobelVertSecond(NPPImage_32fC1, MaskSize)

    second derivative, vertical Sobel filter.

    Declaration
    public void FilterSobelVertSecond(NPPImage_32fC1 dst, MaskSize eMaskSize)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterSobelVertSecondBorder(NPPImage_32fC1, MaskSize, NppiBorderType)

    Filters the image using a second derivative, vertical Sobel filter kernel with border control.

    Declaration
    public void FilterSobelVertSecondBorder(NPPImage_32fC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    MaskSize eMaskSize

    Enumeration value specifying the mask size

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    FilterUnsharpBorder(NPPImage_32fC1, Single, Single, Single, Single, NppiBorderType, CudaDeviceVariable<Byte>)

    Filters the image using a unsharp-mask sharpening filter kernel with border control.

    The algorithm involves the following steps:

    Smooth the original image with a Gaussian filter, with the width controlled by the nRadius.

    Subtract the smoothed image from the original to create a high-pass filtered image.

    Apply any clipping needed on the high-pass image, as controlled by the nThreshold.

    Add a certain percentage of the high-pass filtered image to the original image, with the percentage controlled by the nWeight. In pseudocode this algorithm can be written as:

    HighPass = Image - Gaussian(Image)

    Result = Image + nWeight * HighPass * ( |HighPass| >= nThreshold )

    where nWeight is the amount, nThreshold is the threshold, and >= indicates a Boolean operation, 1 if true, or 0 otherwise.

    If any portion of the mask overlaps the source image boundary, the requested border type operation is applied to all mask pixels which fall outside of the source image.

    Declaration
    public void FilterUnsharpBorder(NPPImage_32fC1 dst, float nRadius, float nSigma, float nWeight, float nThreshold, NppiBorderType eBorderType, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    System.Single nRadius

    The radius of the Gaussian filter, in pixles, not counting the center pixel.

    System.Single nSigma

    The standard deviation of the Gaussian filter, in pixel.

    System.Single nWeight

    The percentage of the difference between the original and the high pass image that is added back into the original.

    System.Single nThreshold

    The threshold needed to apply the difference amount.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    CudaDeviceVariable<System.Byte> buffer

    Pointer to the user-allocated device scratch buffer required for the unsharp operation.

    | Improve this Doc View Source

    FilterUnsharpGetBufferSize(Single, Single)

    Scratch-buffer size for unsharp filter.

    Declaration
    public int FilterUnsharpGetBufferSize(float nRadius, float nSigma)
    Parameters
    Type Name Description
    System.Single nRadius

    The radius of the Gaussian filter, in pixles, not counting the center pixel.

    System.Single nSigma

    The standard deviation of the Gaussian filter, in pixel.

    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    FilterWienerBorder(NPPImage_32fC1, NppiSize, NppiPoint, Single, NppiBorderType)

    Wiener filter with border control.

    Declaration
    public void FilterWienerBorder(NPPImage_32fC1 dest, NppiSize oMaskSize, NppiPoint oAnchor, float aNoise, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    destination_image_pointer

    NppiSize oMaskSize

    Pixel Width and Height of the rectangular region of interest surrounding the source pixel.

    NppiPoint oAnchor

    Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.

    System.Single aNoise

    Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    Finalize()

    For dispose

    Declaration
    protected void Finalize()
    | Improve this Doc View Source

    FullNormLevelGetBufferHostSize()

    Device scratch buffer size (in bytes) for CrossCorrFull_NormLevel.

    Declaration
    public int FullNormLevelGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetAffineBound(Double[,])

    Calculates bounding box of the affine transform projection of the given source rectangular ROI

    Declaration
    public double[, ] GetAffineBound(double[, ] coeffs)
    Parameters
    Type Name Description
    System.Double[,] coeffs

    Affine transform coefficients [2,3]

    Returns
    Type Description
    System.Double[,]

    Destination quadrangle [2,2]

    | Improve this Doc View Source

    GetAffineQuad(Double[,])

    Calculates affine transform projection of given source rectangular ROI

    Declaration
    public double[, ] GetAffineQuad(double[, ] coeffs)
    Parameters
    Type Name Description
    System.Double[,] coeffs

    Affine transform coefficients [2,3]

    Returns
    Type Description
    System.Double[,]

    Destination quadrangle [4,2]

    | Improve this Doc View Source

    GetAffineTransform(Double[,])

    Calculates affine transform coefficients given source rectangular ROI and its destination quadrangle projection

    Declaration
    public double[, ] GetAffineTransform(double[, ] quad)
    Parameters
    Type Name Description
    System.Double[,] quad

    Destination quadrangle [4,2]

    Returns
    Type Description
    System.Double[,]

    Affine transform coefficients [2,3]

    | Improve this Doc View Source

    GetFilterGaussPyramidLayerDownBorderDstROI(Single)

    Calculate destination image SizeROI width and height from source image ROI width and height and downsampling rate. It is highly recommended that this function be use to determine the destination image ROI for consistent results.

    Declaration
    public NppiSize GetFilterGaussPyramidLayerDownBorderDstROI(float nRate)
    Parameters
    Type Name Description
    System.Single nRate

    The downsampling rate to be used. For integer equivalent rates unnecessary source pixels are just skipped. For non-integer rates the source image is bilinear interpolated. nRate must be > 1.0F and <= 10.0F.

    Returns
    Type Description
    NppiSize

    the destination image roi_specification.

    | Improve this Doc View Source

    GetFilterGaussPyramidLayerUpBorderDstROI(Single, out NppiSize, out NppiSize)

    Calculate destination image SizeROI width and height from source image ROI width and height and downsampling rate. It is highly recommended that this function be use to determine the destination image ROI for consistent results.

    Declaration
    public void GetFilterGaussPyramidLayerUpBorderDstROI(float nRate, out NppiSize pDstSizeROIMin, out NppiSize pDstSizeROIMax)
    Parameters
    Type Name Description
    System.Single nRate

    The downsampling rate to be used. For integer equivalent rates unnecessary source pixels are just skipped. For non-integer rates the source image is bilinear interpolated. nRate must be > 1.0F and <= 10.0F.

    NppiSize pDstSizeROIMin

    Minimum recommended destination image roi_specification.

    NppiSize pDstSizeROIMax

    Maximum recommended destination image roi_specification.

    | Improve this Doc View Source

    GetPerspectiveBound(Double[,])

    Calculates bounding box of the affine transform projection of the given source rectangular ROI

    Declaration
    public double[, ] GetPerspectiveBound(double[, ] coeffs)
    Parameters
    Type Name Description
    System.Double[,] coeffs

    Perspective transform coefficients [3,3]

    Returns
    Type Description
    System.Double[,]

    Destination quadrangle [2,2]

    | Improve this Doc View Source

    GetPerspectiveQuad(Double[,])

    Calculates perspective transform projection of given source rectangular ROI

    Declaration
    public double[, ] GetPerspectiveQuad(double[, ] coeffs)
    Parameters
    Type Name Description
    System.Double[,] coeffs

    Perspective transform coefficients [3,3]

    Returns
    Type Description
    System.Double[,]

    Destination quadrangle [4,2]

    | Improve this Doc View Source

    GetPerspectiveTransform(Double[,])

    Calculates affine transform coefficients given source rectangular ROI and its destination quadrangle projection

    Declaration
    public double[, ] GetPerspectiveTransform(double[, ] quad)
    Parameters
    Type Name Description
    System.Double[,] quad

    Destination quadrangle [4,2]

    Returns
    Type Description
    System.Double[,]

    Perspective transform coefficients [3,3]

    | Improve this Doc View Source

    GetRotateBound(Double, Double, Double)

    Compute bounding-box of rotated image.

    Declaration
    public double[, ] GetRotateBound(double nAngle, double nShiftX, double nShiftY)
    Parameters
    Type Name Description
    System.Double nAngle

    The angle of rotation in degrees.

    System.Double nShiftX

    Shift along horizontal axis

    System.Double nShiftY

    Shift along vertical axis

    Returns
    Type Description
    System.Double[,]
    | Improve this Doc View Source

    GetRotateQuad(Double, Double, Double)

    Compute shape of rotated image.

    Declaration
    public double[, ] GetRotateQuad(double nAngle, double nShiftX, double nShiftY)
    Parameters
    Type Name Description
    System.Double nAngle

    The angle of rotation in degrees.

    System.Double nShiftX

    Shift along horizontal axis

    System.Double nShiftY

    Shift along vertical axis

    Returns
    Type Description
    System.Double[,]
    | Improve this Doc View Source

    GradientVectorPrewittBorder(NPPImage_32fC1, NPPImage_32fC1, NPPImage_32fC1, NPPImage_32fC1, MaskSize, NppiNorm, NppiBorderType)

    1 channel 32-bit floating-point packed RGB to optional 1 channel 32-bit floating point X (vertical), Y (horizontal), magnitude, and/or 32-bit floating point angle gradient vectors with user selectable fixed mask size and distance method with border control.

    Declaration
    public void GradientVectorPrewittBorder(NPPImage_32fC1 destX, NPPImage_32fC1 destY, NPPImage_32fC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 destX

    X vector destination_image_pointer

    NPPImage_32fC1 destY

    Y vector destination_image_pointer.

    NPPImage_32fC1 destMag

    magnitude destination_image_pointer.

    NPPImage_32fC1 destAngle

    angle destination_image_pointer.

    MaskSize eMaskSize

    fixed filter mask size to use.

    NppiNorm eNorm

    gradient distance method to use.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    GradientVectorScharrBorder(NPPImage_32fC1, NPPImage_32fC1, NPPImage_32fC1, NPPImage_32fC1, MaskSize, NppiNorm, NppiBorderType)

    1 channel 32-bit floating-point packed RGB to optional 1 channel 32-bit floating point X (vertical), Y (horizontal), magnitude, and/or 32-bit floating point angle gradient vectors with user selectable fixed mask size and distance method with border control.

    Declaration
    public void GradientVectorScharrBorder(NPPImage_32fC1 destX, NPPImage_32fC1 destY, NPPImage_32fC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 destX

    X vector destination_image_pointer

    NPPImage_32fC1 destY

    Y vector destination_image_pointer.

    NPPImage_32fC1 destMag

    magnitude destination_image_pointer.

    NPPImage_32fC1 destAngle

    angle destination_image_pointer.

    MaskSize eMaskSize

    fixed filter mask size to use.

    NppiNorm eNorm

    gradient distance method to use.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    GradientVectorSobelBorder(NPPImage_32fC1, NPPImage_32fC1, NPPImage_32fC1, NPPImage_32fC1, MaskSize, NppiNorm, NppiBorderType)

    1 channel 32-bit floating-point packed RGB to optional 1 channel 32-bit floating point X (vertical), Y (horizontal), magnitude, and/or 32-bit floating point angle gradient vectors with user selectable fixed mask size and distance method with border control.

    Declaration
    public void GradientVectorSobelBorder(NPPImage_32fC1 destX, NPPImage_32fC1 destY, NPPImage_32fC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 destX

    X vector destination_image_pointer

    NPPImage_32fC1 destY

    Y vector destination_image_pointer.

    NPPImage_32fC1 destMag

    magnitude destination_image_pointer.

    NPPImage_32fC1 destAngle

    angle destination_image_pointer.

    MaskSize eMaskSize

    fixed filter mask size to use.

    NppiNorm eNorm

    gradient distance method to use.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    GrayDilateBorder(NPPImage_32fC1, CudaDeviceVariable<Byte>, NppiSize, NppiPoint, NppiBorderType)

    Gray scale dilation with border control.

    Declaration
    public void GrayDilateBorder(NPPImage_32fC1 dest, CudaDeviceVariable<byte> Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Byte> Mask

    Pointer to the start address of the mask array.

    NppiSize aMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference w.r.t the source pixel.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    GrayErodeBorder(NPPImage_32fC1, CudaDeviceVariable<Byte>, NppiSize, NppiPoint, NppiBorderType)

    Gray scale erosion with border control.

    Declaration
    public void GrayErodeBorder(NPPImage_32fC1 dest, CudaDeviceVariable<byte> Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Byte> Mask

    Pointer to the start address of the mask array.

    NppiSize aMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference w.r.t the source pixel.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    HistogramOfGradientsBorder(NppiPoint[], CudaDeviceVariable<Byte>, NppiHOGConfig, CudaDeviceVariable<Byte>, NppiBorderType)

    1 channel 32-bit floating point grayscale per source image descriptor window location with source image border control to per descriptor window destination floating point histogram of gradients. Requires first calling nppiHistogramOfGradientsBorderGetBufferSize function call to get required scratch (host) working buffer size and nppiHistogramOfGradientsBorderGetDescriptorsSize() function call to get total size for nLocations of output histogram block descriptor windows.

    Declaration
    public void HistogramOfGradientsBorder(NppiPoint[] hpLocations, CudaDeviceVariable<byte> pDstWindowDescriptorBuffer, NppiHOGConfig oHOGConfig, CudaDeviceVariable<byte> pScratchBuffer, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NppiPoint[] hpLocations

    Host pointer to array of NppiPoint source pixel starting locations of requested descriptor windows. Important: hpLocations is a

    CudaDeviceVariable<System.Byte> pDstWindowDescriptorBuffer

    Output device memory buffer pointer of size hpDescriptorsSize bytes to first of nLoc descriptor windows (see nppiHistogramOfGradientsBorderGetDescriptorsSize() above).

    NppiHOGConfig oHOGConfig

    Requested HOG configuration parameters structure.

    CudaDeviceVariable<System.Byte> pScratchBuffer

    Device memory buffer pointer of size hpBufferSize bytes to scratch memory buffer (see nppiHistogramOfGradientsBorderGetBufferSize() above).

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    HistogramRange(CudaDeviceVariable<Int32>, CudaDeviceVariable<Int32>)

    Histogram with bins determined by pLevels array. Buffer is internally allocated and freed.

    Declaration
    public void HistogramRange(CudaDeviceVariable<int> histogram, CudaDeviceVariable<int> pLevels)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Int32> histogram

    array that receives the computed histogram. The array must be of size nLevels-1.

    CudaDeviceVariable<System.Int32> pLevels

    Array in device memory containing the level sizes of the bins. The array must be of size nLevels

    | Improve this Doc View Source

    HistogramRange(CudaDeviceVariable<Int32>, CudaDeviceVariable<Int32>, CudaDeviceVariable<Byte>)

    Histogram with bins determined by pLevels array. No additional buffer is allocated.

    Declaration
    public void HistogramRange(CudaDeviceVariable<int> histogram, CudaDeviceVariable<int> pLevels, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Int32> histogram

    array that receives the computed histogram. The array must be of size nLevels-1.

    CudaDeviceVariable<System.Int32> pLevels

    Array in device memory containing the level sizes of the bins. The array must be of size nLevels

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at HistogramRangeGetBufferSize(Int32)

    | Improve this Doc View Source

    HistogramRangeGetBufferSize(Int32)

    Scratch-buffer size for HistogramRange.

    Declaration
    public int HistogramRangeGetBufferSize(int nLevels)
    Parameters
    Type Name Description
    System.Int32 nLevels
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Ln()

    Natural logarithm.

    Declaration
    public void Ln()
    | Improve this Doc View Source

    Ln(NPPImage_32fC1)

    Natural logarithm.

    Declaration
    public void Ln(NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    LUT(CudaDeviceVariable<Single>, CudaDeviceVariable<Single>)

    Inplace look-up-table color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.

    Declaration
    public void LUT(CudaDeviceVariable<float> pValues, CudaDeviceVariable<float> pLevels)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> pValues

    Pointer to an array of user defined OUTPUT values

    CudaDeviceVariable<System.Single> pLevels

    Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.

    | Improve this Doc View Source

    LUT(NPPImage_32fC1, CudaDeviceVariable<Single>, CudaDeviceVariable<Single>)

    look-up-table color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.

    Declaration
    public void LUT(NPPImage_32fC1 dst, CudaDeviceVariable<float> pValues, CudaDeviceVariable<float> pLevels)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    CudaDeviceVariable<System.Single> pValues

    Pointer to an array of user defined OUTPUT values

    CudaDeviceVariable<System.Single> pLevels

    Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.

    | Improve this Doc View Source

    LUTCubic(CudaDeviceVariable<Single>, CudaDeviceVariable<Single>)

    Inplace cubic interpolated look-up-table color conversion. The LUT is derived from a set of user defined mapping points through cubic interpolation.

    Declaration
    public void LUTCubic(CudaDeviceVariable<float> pValues, CudaDeviceVariable<float> pLevels)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> pValues

    Pointer to an array of user defined OUTPUT values

    CudaDeviceVariable<System.Single> pLevels

    Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.

    | Improve this Doc View Source

    LUTCubic(NPPImage_32fC1, CudaDeviceVariable<Single>, CudaDeviceVariable<Single>)

    cubic interpolated look-up-table color conversion. The LUT is derived from a set of user defined mapping points through cubic interpolation.

    Declaration
    public void LUTCubic(NPPImage_32fC1 dst, CudaDeviceVariable<float> pValues, CudaDeviceVariable<float> pLevels)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    CudaDeviceVariable<System.Single> pValues

    Pointer to an array of user defined OUTPUT values

    CudaDeviceVariable<System.Single> pLevels

    Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.

    | Improve this Doc View Source

    LUTLinear(CudaDeviceVariable<Single>, CudaDeviceVariable<Single>)

    Inplace linear interpolated look-up-table color conversion. The LUT is derived from a set of user defined mapping points through cubic interpolation.

    Declaration
    public void LUTLinear(CudaDeviceVariable<float> pValues, CudaDeviceVariable<float> pLevels)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> pValues

    Pointer to an array of user defined OUTPUT values

    CudaDeviceVariable<System.Single> pLevels

    Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.

    | Improve this Doc View Source

    LUTLinear(NPPImage_32fC1, CudaDeviceVariable<Single>, CudaDeviceVariable<Single>)

    look-up-table color conversion.

    The LUT is derived from a set of user defined mapping points through linear interpolation.

    Declaration
    public void LUTLinear(NPPImage_32fC1 dest, CudaDeviceVariable<float> values, CudaDeviceVariable<float> levels)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Single> values

    array of user defined OUTPUT values

    CudaDeviceVariable<System.Single> levels

    array of user defined INPUT values

    | Improve this Doc View Source

    Max(CudaDeviceVariable<Single>)

    Image pixel maximum. Buffer is internally allocated and freed.

    Declaration
    public void Max(CudaDeviceVariable<float> max)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> max

    Allocated device memory with size of at least 1 * sizeof(float)

    | Improve this Doc View Source

    Max(CudaDeviceVariable<Single>, CudaDeviceVariable<Byte>)

    Image pixel maximum. No additional buffer is allocated.

    Declaration
    public void Max(CudaDeviceVariable<float> max, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> max

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at MaxGetBufferHostSize()

    | Improve this Doc View Source

    MaxError(NPPImage_32fC1, CudaDeviceVariable<Double>)

    image maximum error. User buffer is internally allocated and freed.

    Declaration
    public void MaxError(NPPImage_32fC1 src2, CudaDeviceVariable<double> pError)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    | Improve this Doc View Source

    MaxError(NPPImage_32fC1, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image maximum error.

    Declaration
    public void MaxError(NPPImage_32fC1 src2, CudaDeviceVariable<double> pError, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    CudaDeviceVariable<System.Byte> buffer

    Pointer to the user-allocated scratch buffer required for the MaxError operation.

    | Improve this Doc View Source

    MaxErrorGetBufferHostSize()

    Device scratch buffer size (in bytes) for MaxError.

    Declaration
    public int MaxErrorGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    MaxEvery(NPPImage_32fC1)

    image MaxEvery

    Declaration
    public void MaxEvery(NPPImage_32fC1 src2)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    Source-Image

    | Improve this Doc View Source

    MaxGetBufferHostSize()

    Scratch-buffer size for Max.

    Declaration
    public int MaxGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    MaximumRelativeError(NPPImage_32fC1, CudaDeviceVariable<Double>)

    image maximum relative error. User buffer is internally allocated and freed.

    Declaration
    public void MaximumRelativeError(NPPImage_32fC1 src2, CudaDeviceVariable<double> pError)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    | Improve this Doc View Source

    MaximumRelativeError(NPPImage_32fC1, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image maximum relative error.

    Declaration
    public void MaximumRelativeError(NPPImage_32fC1 src2, CudaDeviceVariable<double> pError, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    CudaDeviceVariable<System.Byte> buffer

    Pointer to the user-allocated scratch buffer required for the MaximumRelativeError operation.

    | Improve this Doc View Source

    MaximumRelativeErrorGetBufferHostSize()

    Device scratch buffer size (in bytes) for MaximumRelativeError.

    Declaration
    public int MaximumRelativeErrorGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    MaxIndex(CudaDeviceVariable<Single>, CudaDeviceVariable<Int32>, CudaDeviceVariable<Int32>)

    Image pixel maximum. Buffer is internally allocated and freed.

    Declaration
    public void MaxIndex(CudaDeviceVariable<float> max, CudaDeviceVariable<int> indexX, CudaDeviceVariable<int> indexY)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> max

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<System.Int32> indexX

    Allocated device memory with size of at least 1 * sizeof(int)

    CudaDeviceVariable<System.Int32> indexY

    Allocated device memory with size of at least 1 * sizeof(int)

    | Improve this Doc View Source

    MaxIndex(CudaDeviceVariable<Single>, CudaDeviceVariable<Int32>, CudaDeviceVariable<Int32>, CudaDeviceVariable<Byte>)

    Image pixel minimum. No additional buffer is allocated.

    Declaration
    public void MaxIndex(CudaDeviceVariable<float> max, CudaDeviceVariable<int> indexX, CudaDeviceVariable<int> indexY, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> max

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<System.Int32> indexX

    Allocated device memory with size of at least 1 * sizeof(int)

    CudaDeviceVariable<System.Int32> indexY

    Allocated device memory with size of at least 1 * sizeof(int)

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at MaxIndexGetBufferHostSize()

    | Improve this Doc View Source

    MaxIndexGetBufferHostSize()

    Scratch-buffer size for MaxIndex.

    Declaration
    public int MaxIndexGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Mean(CudaDeviceVariable<Double>)

    image mean with 64-bit double precision result. Buffer is internally allocated and freed.

    Declaration
    public void Mean(CudaDeviceVariable<double> mean)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> mean

    Allocated device memory with size of at least 1 * sizeof(double)

    | Improve this Doc View Source

    Mean(CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image mean with 64-bit double precision result. No additional buffer is allocated.

    Declaration
    public void Mean(CudaDeviceVariable<double> mean, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> mean

    Allocated device memory with size of at least 1 * sizeof(double)

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at MeanGetBufferHostSize()

    | Improve this Doc View Source

    Mean(CudaDeviceVariable<Double>, NPPImage_8uC1)

    image mean with 64-bit double precision result. Buffer is internally allocated and freed.

    Declaration
    public void Mean(CudaDeviceVariable<double> mean, NPPImage_8uC1 mask)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> mean

    Allocated device memory with size of at least 1 * sizeof(double)

    NPPImage_8uC1 mask

    If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0.

    | Improve this Doc View Source

    Mean(CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image mean with 64-bit double precision result. No additional buffer is allocated.

    Declaration
    public void Mean(CudaDeviceVariable<double> mean, NPPImage_8uC1 mask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> mean

    Allocated device memory with size of at least 1 * sizeof(double)

    NPPImage_8uC1 mask

    If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0.

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at MeanMaskedGetBufferHostSize()

    | Improve this Doc View Source

    MeanGetBufferHostSize()

    Scratch-buffer size for Mean.

    Declaration
    public int MeanGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    MeanMaskedGetBufferHostSize()

    Scratch-buffer size for Mean with mask.

    Declaration
    public int MeanMaskedGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    MeanStdDev(CudaDeviceVariable<Double>, CudaDeviceVariable<Double>)

    image mean and standard deviation. Buffer is internally allocated and freed.

    Declaration
    public void MeanStdDev(CudaDeviceVariable<double> mean, CudaDeviceVariable<double> stdDev)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> mean

    Allocated device memory with size of at least 1 * sizeof(double)

    CudaDeviceVariable<System.Double> stdDev

    Allocated device memory with size of at least 1 * sizeof(double)

    | Improve this Doc View Source

    MeanStdDev(CudaDeviceVariable<Double>, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image sum with 64-bit double precision result. No additional buffer is allocated.

    Declaration
    public void MeanStdDev(CudaDeviceVariable<double> mean, CudaDeviceVariable<double> stdDev, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> mean

    Allocated device memory with size of at least 1 * sizeof(double)

    CudaDeviceVariable<System.Double> stdDev

    Allocated device memory with size of at least 1 * sizeof(double)

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at MeanStdDevGetBufferHostSize()

    | Improve this Doc View Source

    MeanStdDev(CudaDeviceVariable<Double>, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image mean and standard deviation. Buffer is internally allocated and freed.

    Declaration
    public void MeanStdDev(CudaDeviceVariable<double> mean, CudaDeviceVariable<double> stdDev, NPPImage_8uC1 mask)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> mean

    Allocated device memory with size of at least 1 * sizeof(double)

    CudaDeviceVariable<System.Double> stdDev

    Allocated device memory with size of at least 1 * sizeof(double)

    NPPImage_8uC1 mask

    mask

    | Improve this Doc View Source

    MeanStdDev(CudaDeviceVariable<Double>, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image sum with 64-bit double precision result. No additional buffer is allocated.

    Declaration
    public void MeanStdDev(CudaDeviceVariable<double> mean, CudaDeviceVariable<double> stdDev, NPPImage_8uC1 mask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> mean

    Allocated device memory with size of at least 1 * sizeof(double)

    CudaDeviceVariable<System.Double> stdDev

    Allocated device memory with size of at least 1 * sizeof(double)

    NPPImage_8uC1 mask

    mask

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at MeanStdDevMaskedGetBufferHostSize()

    | Improve this Doc View Source

    MeanStdDevGetBufferHostSize()

    Scratch-buffer size for MeanStdDev.

    Declaration
    public int MeanStdDevGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    MeanStdDevMaskedGetBufferHostSize()

    Scratch-buffer size for MeanStdDev (masked).

    Declaration
    public int MeanStdDevMaskedGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Min(CudaDeviceVariable<Single>)

    Image pixel minimum. Buffer is internally allocated and freed.

    Declaration
    public void Min(CudaDeviceVariable<float> min)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> min

    Allocated device memory with size of at least 1 * sizeof(float)

    | Improve this Doc View Source

    Min(CudaDeviceVariable<Single>, CudaDeviceVariable<Byte>)

    Image pixel minimum. No additional buffer is allocated.

    Declaration
    public void Min(CudaDeviceVariable<float> min, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> min

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at MinGetBufferHostSize()

    | Improve this Doc View Source

    MinEvery(NPPImage_32fC1)

    image MinEvery

    Declaration
    public void MinEvery(NPPImage_32fC1 src2)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    Source-Image

    | Improve this Doc View Source

    MinGetBufferHostSize()

    Scratch-buffer size for Min.

    Declaration
    public int MinGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    MinIndex(CudaDeviceVariable<Single>, CudaDeviceVariable<Int32>, CudaDeviceVariable<Int32>)

    Image pixel minimum. Buffer is internally allocated and freed.

    Declaration
    public void MinIndex(CudaDeviceVariable<float> min, CudaDeviceVariable<int> indexX, CudaDeviceVariable<int> indexY)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> min

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<System.Int32> indexX

    Allocated device memory with size of at least 1 * sizeof(int)

    CudaDeviceVariable<System.Int32> indexY

    Allocated device memory with size of at least 1 * sizeof(int)

    | Improve this Doc View Source

    MinIndex(CudaDeviceVariable<Single>, CudaDeviceVariable<Int32>, CudaDeviceVariable<Int32>, CudaDeviceVariable<Byte>)

    Image pixel minimum. No additional buffer is allocated.

    Declaration
    public void MinIndex(CudaDeviceVariable<float> min, CudaDeviceVariable<int> indexX, CudaDeviceVariable<int> indexY, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> min

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<System.Int32> indexX

    Allocated device memory with size of at least 1 * sizeof(int)

    CudaDeviceVariable<System.Int32> indexY

    Allocated device memory with size of at least 1 * sizeof(int)

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at MinIndexGetBufferHostSize()

    | Improve this Doc View Source

    MinIndexGetBufferHostSize()

    Scratch-buffer size for MinIndex.

    Declaration
    public int MinIndexGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    MinMax(CudaDeviceVariable<Single>, CudaDeviceVariable<Single>)

    Image pixel minimum and maximum. Buffer is internally allocated and freed.

    Declaration
    public void MinMax(CudaDeviceVariable<float> min, CudaDeviceVariable<float> max)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> min

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<System.Single> max

    Allocated device memory with size of at least 1 * sizeof(float)

    | Improve this Doc View Source

    MinMax(CudaDeviceVariable<Single>, CudaDeviceVariable<Single>, CudaDeviceVariable<Byte>)

    Image pixel minimum and maximum. No additional buffer is allocated.

    Declaration
    public void MinMax(CudaDeviceVariable<float> min, CudaDeviceVariable<float> max, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> min

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<System.Single> max

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at MinMaxGetBufferHostSize()

    | Improve this Doc View Source

    MinMaxGetBufferHostSize()

    Scratch-buffer size for MinMax.

    Declaration
    public int MinMaxGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    MinMaxIndex(CudaDeviceVariable<Single>, CudaDeviceVariable<Single>, CudaDeviceVariable<NppiPoint>, CudaDeviceVariable<NppiPoint>)

    Image pixel minimum and maximum values with their indices. Buffer is internally allocated and freed.

    Declaration
    public void MinMaxIndex(CudaDeviceVariable<float> min, CudaDeviceVariable<float> max, CudaDeviceVariable<NppiPoint> minIndex, CudaDeviceVariable<NppiPoint> maxIndex)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> min

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<System.Single> max

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<NppiPoint> minIndex

    Allocated device memory with size of at least 1 * sizeof(NppiPoint)

    CudaDeviceVariable<NppiPoint> maxIndex

    Allocated device memory with size of at least 1 * sizeof(NppiPoint)

    | Improve this Doc View Source

    MinMaxIndex(CudaDeviceVariable<Single>, CudaDeviceVariable<Single>, CudaDeviceVariable<NppiPoint>, CudaDeviceVariable<NppiPoint>, CudaDeviceVariable<Byte>)

    Image pixel minimum and maximum values with their indices. No additional buffer is allocated.

    Declaration
    public void MinMaxIndex(CudaDeviceVariable<float> min, CudaDeviceVariable<float> max, CudaDeviceVariable<NppiPoint> minIndex, CudaDeviceVariable<NppiPoint> maxIndex, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> min

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<System.Single> max

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<NppiPoint> minIndex

    Allocated device memory with size of at least 1 * sizeof(NppiPoint)

    CudaDeviceVariable<NppiPoint> maxIndex

    Allocated device memory with size of at least 1 * sizeof(NppiPoint)

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at MinMaxIndexGetBufferHostSize()

    | Improve this Doc View Source

    MinMaxIndex(CudaDeviceVariable<Single>, CudaDeviceVariable<Single>, CudaDeviceVariable<NppiPoint>, CudaDeviceVariable<NppiPoint>, NPPImage_8uC1)

    Image pixel minimum and maximum values with their indices. Buffer is internally allocated and freed.

    Declaration
    public void MinMaxIndex(CudaDeviceVariable<float> min, CudaDeviceVariable<float> max, CudaDeviceVariable<NppiPoint> minIndex, CudaDeviceVariable<NppiPoint> maxIndex, NPPImage_8uC1 mask)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> min

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<System.Single> max

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<NppiPoint> minIndex

    Allocated device memory with size of at least 1 * sizeof(NppiPoint)

    CudaDeviceVariable<NppiPoint> maxIndex

    Allocated device memory with size of at least 1 * sizeof(NppiPoint)

    NPPImage_8uC1 mask

    If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0.

    | Improve this Doc View Source

    MinMaxIndex(CudaDeviceVariable<Single>, CudaDeviceVariable<Single>, CudaDeviceVariable<NppiPoint>, CudaDeviceVariable<NppiPoint>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    Image pixel minimum and maximum values with their indices. No additional buffer is allocated.

    Declaration
    public void MinMaxIndex(CudaDeviceVariable<float> min, CudaDeviceVariable<float> max, CudaDeviceVariable<NppiPoint> minIndex, CudaDeviceVariable<NppiPoint> maxIndex, NPPImage_8uC1 mask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Single> min

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<System.Single> max

    Allocated device memory with size of at least 1 * sizeof(float)

    CudaDeviceVariable<NppiPoint> minIndex

    Allocated device memory with size of at least 1 * sizeof(NppiPoint)

    CudaDeviceVariable<NppiPoint> maxIndex

    Allocated device memory with size of at least 1 * sizeof(NppiPoint)

    NPPImage_8uC1 mask

    If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0.

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at MinMaxIndexMaskedGetBufferHostSize()

    | Improve this Doc View Source

    MinMaxIndexGetBufferHostSize()

    Scratch-buffer size for MinMaxIndex.

    Declaration
    public int MinMaxIndexGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    MinMaxIndexMaskedGetBufferHostSize()

    Scratch-buffer size for MinMaxIndex with mask.

    Declaration
    public int MinMaxIndexMaskedGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Mirror(NppiAxis)

    Mirror image inplace.

    Declaration
    public void Mirror(NppiAxis flip)
    Parameters
    Type Name Description
    NppiAxis flip

    Specifies the axis about which the image is to be mirrored.

    | Improve this Doc View Source

    Mirror(NPPImage_32fC1, NppiAxis)

    Mirror image.

    Declaration
    public void Mirror(NPPImage_32fC1 dest, NppiAxis flip)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    NppiAxis flip

    Specifies the axis about which the image is to be mirrored.

    | Improve this Doc View Source

    MirrorBatch(NppiSize, NppiAxis, CudaDeviceVariable<NppiMirrorBatchCXR>)

    floating point image resize batch.

    Declaration
    public static void MirrorBatch(NppiSize oSizeROI, NppiAxis flip, CudaDeviceVariable<NppiMirrorBatchCXR> pBatchList)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Size in pixel.

    NppiAxis flip

    Specifies the axis about which the images are to be mirrored..

    CudaDeviceVariable<NppiMirrorBatchCXR> pBatchList

    Device memory pointer to nBatchSize list of NppiMirrorBatchCXR structures.

    | Improve this Doc View Source

    MirrorBatchI(NppiSize, NppiAxis, CudaDeviceVariable<NppiMirrorBatchCXR>)

    floating point in place image resize batch.

    Declaration
    public static void MirrorBatchI(NppiSize oSizeROI, NppiAxis flip, CudaDeviceVariable<NppiMirrorBatchCXR> pBatchList)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Size in pixel.

    NppiAxis flip

    Specifies the axis about which the images are to be mirrored..

    CudaDeviceVariable<NppiMirrorBatchCXR> pBatchList

    Device memory pointer to nBatchSize list of NppiMirrorBatchCXR structures.

    | Improve this Doc View Source

    MorphBlackHatBorder(NPPImage_32fC1, CudaDeviceVariable<Byte>, NppiSize, NppiPoint, CudaDeviceVariable<Byte>, NppiBorderType)

    1 channel 32-bit floating point morphological black hat with border control.

    Declaration
    public void MorphBlackHatBorder(NPPImage_32fC1 dest, CudaDeviceVariable<byte> pMask, NppiSize oMaskSize, NppiPoint oAnchor, CudaDeviceVariable<byte> pBuffer, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Byte> pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference w.r.t the source pixel.

    CudaDeviceVariable<System.Byte> pBuffer

    Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    MorphCloseBorder(NPPImage_32fC1, CudaDeviceVariable<Byte>, NppiSize, NppiPoint, CudaDeviceVariable<Byte>, NppiBorderType)

    1 channel 32-bit floating point morphological close with border control.

    Declaration
    public void MorphCloseBorder(NPPImage_32fC1 dest, CudaDeviceVariable<byte> pMask, NppiSize oMaskSize, NppiPoint oAnchor, CudaDeviceVariable<byte> pBuffer, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Byte> pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference w.r.t the source pixel.

    CudaDeviceVariable<System.Byte> pBuffer

    Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    MorphGetBufferSize()

    Calculate scratch buffer size needed for 1 channel 32-bit floating point MorphCloseBorder, MorphOpenBorder, MorphTopHatBorder, MorphBlackHatBorder, or MorphGradientBorder function based on destination image oSizeROI width and height.

    Declaration
    public int MorphGetBufferSize()
    Returns
    Type Description
    System.Int32

    Required buffer size in bytes.

    | Improve this Doc View Source

    MorphGradientBorder(NPPImage_32fC1, CudaDeviceVariable<Byte>, NppiSize, NppiPoint, CudaDeviceVariable<Byte>, NppiBorderType)

    1 channel 32-bit floating point morphological gradient with border control.

    Declaration
    public void MorphGradientBorder(NPPImage_32fC1 dest, CudaDeviceVariable<byte> pMask, NppiSize oMaskSize, NppiPoint oAnchor, CudaDeviceVariable<byte> pBuffer, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Byte> pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference w.r.t the source pixel.

    CudaDeviceVariable<System.Byte> pBuffer

    Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    MorphOpenBorder(NPPImage_32fC1, CudaDeviceVariable<Byte>, NppiSize, NppiPoint, CudaDeviceVariable<Byte>, NppiBorderType)

    1 channel 32-bit floating point morphological open with border control.

    Declaration
    public void MorphOpenBorder(NPPImage_32fC1 dest, CudaDeviceVariable<byte> pMask, NppiSize oMaskSize, NppiPoint oAnchor, CudaDeviceVariable<byte> pBuffer, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Byte> pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference w.r.t the source pixel.

    CudaDeviceVariable<System.Byte> pBuffer

    Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    MorphTopHatBorder(NPPImage_32fC1, CudaDeviceVariable<Byte>, NppiSize, NppiPoint, CudaDeviceVariable<Byte>, NppiBorderType)

    1 channel 32-bit floating point morphological top hat with border control.

    Declaration
    public void MorphTopHatBorder(NPPImage_32fC1 dest, CudaDeviceVariable<byte> pMask, NppiSize oMaskSize, NppiPoint oAnchor, CudaDeviceVariable<byte> pBuffer, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    CudaDeviceVariable<System.Byte> pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference w.r.t the source pixel.

    CudaDeviceVariable<System.Byte> pBuffer

    Pointer to device memory scratch buffer at least as large as value returned by the corresponding MorphGetBufferSize call.

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    | Improve this Doc View Source

    Mul(NPPImage_32fC1)

    In place image multiplication.

    Declaration
    public void Mul(NPPImage_32fC1 src2)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    | Improve this Doc View Source

    Mul(NPPImage_32fC1, NPPImage_32fC1)

    Image multiplication.

    Declaration
    public void Mul(NPPImage_32fC1 src2, NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    Mul(Single)

    Multiply constant to image. Inplace.

    Declaration
    public void Mul(float nConstant)
    Parameters
    Type Name Description
    System.Single nConstant

    Value

    | Improve this Doc View Source

    Mul(Single, NPPImage_32fC1)

    Multiply constant to image.

    Declaration
    public void Mul(float nConstant, NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    System.Single nConstant

    Value

    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    NormDiff_Inf(NPPImage_32fC1, CudaDeviceVariable<Double>)

    image NormDiff_Inf. Buffer is internally allocated and freed.

    Declaration
    public void NormDiff_Inf(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormDiff)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

    Pointer to the computed Inf-norm of differences. (1 * sizeof(double))

    | Improve this Doc View Source

    NormDiff_Inf(NPPImage_32fC1, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image NormDiff_Inf.

    Declaration
    public void NormDiff_Inf(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormDiff, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

    Pointer to the computed Inf-norm of differences. (1 * sizeof(double))

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormDiffInfGetBufferHostSize()

    | Improve this Doc View Source

    NormDiff_Inf(NPPImage_32fC1, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image NormDiff_Inf. Buffer is internally allocated and freed.

    Declaration
    public void NormDiff_Inf(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormDiff, NPPImage_8uC1 pMask)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

    Pointer to the computed Inf-norm of differences. (1 * sizeof(double))

    NPPImage_8uC1 pMask

    Mask image.

    | Improve this Doc View Source

    NormDiff_Inf(NPPImage_32fC1, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormDiff_Inf.

    Declaration
    public void NormDiff_Inf(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormDiff, NPPImage_8uC1 pMask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

    Pointer to the computed Inf-norm of differences. (1 * sizeof(double))

    NPPImage_8uC1 pMask

    Mask image.

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormDiffInfMaskedGetBufferHostSize()

    | Improve this Doc View Source

    NormDiff_L1(NPPImage_32fC1, CudaDeviceVariable<Double>)

    image NormDiff_L1. Buffer is internally allocated and freed.

    Declaration
    public void NormDiff_L1(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormDiff)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

    Pointer to the computed L1-norm of differences. (1 * sizeof(double))

    | Improve this Doc View Source

    NormDiff_L1(NPPImage_32fC1, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image NormDiff_L1.

    Declaration
    public void NormDiff_L1(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormDiff, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

    Pointer to the computed L1-norm of differences. (1 * sizeof(double))

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormDiffL1GetBufferHostSize()

    | Improve this Doc View Source

    NormDiff_L1(NPPImage_32fC1, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image NormDiff_L1. Buffer is internally allocated and freed.

    Declaration
    public void NormDiff_L1(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormDiff, NPPImage_8uC1 pMask)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

    Pointer to the computed L1-norm of differences. (1 * sizeof(double))

    NPPImage_8uC1 pMask

    Mask image.

    | Improve this Doc View Source

    NormDiff_L1(NPPImage_32fC1, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormDiff_L1.

    Declaration
    public void NormDiff_L1(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormDiff, NPPImage_8uC1 pMask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

    Pointer to the computed L1-norm of differences. (1 * sizeof(double))

    NPPImage_8uC1 pMask

    Mask image.

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormDiffL1MaskedGetBufferHostSize()

    | Improve this Doc View Source

    NormDiff_L2(NPPImage_32fC1, CudaDeviceVariable<Double>)

    image NormDiff_L2. Buffer is internally allocated and freed.

    Declaration
    public void NormDiff_L2(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormDiff)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

    Pointer to the computed L2-norm of differences. (1 * sizeof(double))

    | Improve this Doc View Source

    NormDiff_L2(NPPImage_32fC1, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image NormDiff_L2.

    Declaration
    public void NormDiff_L2(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormDiff, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

    Pointer to the computed L2-norm of differences. (1 * sizeof(double))

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormDiffL2GetBufferHostSize()

    | Improve this Doc View Source

    NormDiff_L2(NPPImage_32fC1, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image NormDiff_L2. Buffer is internally allocated and freed.

    Declaration
    public void NormDiff_L2(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormDiff, NPPImage_8uC1 pMask)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

    Pointer to the computed L2-norm of differences. (1 * sizeof(double))

    NPPImage_8uC1 pMask

    Mask image.

    | Improve this Doc View Source

    NormDiff_L2(NPPImage_32fC1, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormDiff_L2.

    Declaration
    public void NormDiff_L2(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormDiff, NPPImage_8uC1 pMask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

    Pointer to the computed L2-norm of differences. (1 * sizeof(double))

    NPPImage_8uC1 pMask

    Mask image.

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormDiffL2MaskedGetBufferHostSize()

    | Improve this Doc View Source

    NormDiffInfGetBufferHostSize()

    Device scratch buffer size (in bytes) for NormDiff_Inf.

    Declaration
    public int NormDiffInfGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormDiffInfMaskedGetBufferHostSize()

    Device scratch buffer size (in bytes) for NormDiff_Inf.

    Declaration
    public int NormDiffInfMaskedGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormDiffL1GetBufferHostSize()

    Device scratch buffer size (in bytes) for NormDiff_L1.

    Declaration
    public int NormDiffL1GetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormDiffL1MaskedGetBufferHostSize()

    Device scratch buffer size (in bytes) for NormDiff_L1.

    Declaration
    public int NormDiffL1MaskedGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormDiffL2GetBufferHostSize()

    Device scratch buffer size (in bytes) for NormDiff_L2.

    Declaration
    public int NormDiffL2GetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormDiffL2MaskedGetBufferHostSize()

    Device scratch buffer size (in bytes) for NormDiff_L2.

    Declaration
    public int NormDiffL2MaskedGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormInf(CudaDeviceVariable<Double>)

    image infinity norm. Buffer is internally allocated and freed.

    Declaration
    public void NormInf(CudaDeviceVariable<double> norm)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> norm

    Allocated device memory with size of at least 1 * sizeof(double)

    | Improve this Doc View Source

    NormInf(CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image infinity norm. No additional buffer is allocated.

    Declaration
    public void NormInf(CudaDeviceVariable<double> norm, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> norm

    Allocated device memory with size of at least 1 * sizeof(double)

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormInfGetBufferHostSize()

    | Improve this Doc View Source

    NormInf(CudaDeviceVariable<Double>, NPPImage_8uC1)

    image infinity norm. Buffer is internally allocated and freed.

    Declaration
    public void NormInf(CudaDeviceVariable<double> norm, NPPImage_8uC1 mask)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> norm

    Allocated device memory with size of at least 1 * sizeof(double)

    NPPImage_8uC1 mask

    mask

    | Improve this Doc View Source

    NormInf(CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image infinity norm. No additional buffer is allocated.

    Declaration
    public void NormInf(CudaDeviceVariable<double> norm, NPPImage_8uC1 mask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> norm

    Allocated device memory with size of at least 1 * sizeof(double)

    NPPImage_8uC1 mask

    mask

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormInfMaskedGetBufferHostSize()

    | Improve this Doc View Source

    NormInfGetBufferHostSize()

    Scratch-buffer size for Norm inf.

    Declaration
    public int NormInfGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormInfMaskedGetBufferHostSize()

    Scratch-buffer size for Norm inf (masked).

    Declaration
    public int NormInfMaskedGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormL1(CudaDeviceVariable<Double>)

    image L1 norm. Buffer is internally allocated and freed.

    Declaration
    public void NormL1(CudaDeviceVariable<double> norm)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> norm

    Allocated device memory with size of at least 1 * sizeof(double)

    | Improve this Doc View Source

    NormL1(CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image L1 norm. No additional buffer is allocated.

    Declaration
    public void NormL1(CudaDeviceVariable<double> norm, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> norm

    Allocated device memory with size of at least 1 * sizeof(double)

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormL1GetBufferHostSize()

    | Improve this Doc View Source

    NormL1(CudaDeviceVariable<Double>, NPPImage_8uC1)

    image L1 norm. Buffer is internally allocated and freed.

    Declaration
    public void NormL1(CudaDeviceVariable<double> norm, NPPImage_8uC1 mask)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> norm

    Allocated device memory with size of at least 1 * sizeof(double)

    NPPImage_8uC1 mask

    mask

    | Improve this Doc View Source

    NormL1(CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image L1 norm. No additional buffer is allocated.

    Declaration
    public void NormL1(CudaDeviceVariable<double> norm, NPPImage_8uC1 mask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> norm

    Allocated device memory with size of at least 1 * sizeof(double)

    NPPImage_8uC1 mask

    mask

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormL1MaskedGetBufferHostSize()

    | Improve this Doc View Source

    NormL1GetBufferHostSize()

    Scratch-buffer size for Norm L1.

    Declaration
    public int NormL1GetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormL1MaskedGetBufferHostSize()

    Scratch-buffer size for Norm L1 (masked).

    Declaration
    public int NormL1MaskedGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormL2(CudaDeviceVariable<Double>)

    image L2 norm. Buffer is internally allocated and freed.

    Declaration
    public void NormL2(CudaDeviceVariable<double> norm)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> norm

    Allocated device memory with size of at least 1 * sizeof(double)

    | Improve this Doc View Source

    NormL2(CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image L2 norm. No additional buffer is allocated.

    Declaration
    public void NormL2(CudaDeviceVariable<double> norm, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> norm

    Allocated device memory with size of at least 1 * sizeof(double)

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormL2GetBufferHostSize()

    | Improve this Doc View Source

    NormL2(CudaDeviceVariable<Double>, NPPImage_8uC1)

    image L2 norm. Buffer is internally allocated and freed.

    Declaration
    public void NormL2(CudaDeviceVariable<double> norm, NPPImage_8uC1 mask)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> norm

    Allocated device memory with size of at least 1 * sizeof(double)

    NPPImage_8uC1 mask

    mask

    | Improve this Doc View Source

    NormL2(CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image L2 norm. No additional buffer is allocated.

    Declaration
    public void NormL2(CudaDeviceVariable<double> norm, NPPImage_8uC1 mask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> norm

    Allocated device memory with size of at least 1 * sizeof(double)

    NPPImage_8uC1 mask

    mask

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormL2MaskedGetBufferHostSize()

    | Improve this Doc View Source

    NormL2GetBufferHostSize()

    Scratch-buffer size for Norm L2.

    Declaration
    public int NormL2GetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormL2MaskedGetBufferHostSize()

    Scratch-buffer size for Norm L2 (masked).

    Declaration
    public int NormL2MaskedGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormRel_Inf(NPPImage_32fC1, CudaDeviceVariable<Double>)

    image NormRel_Inf. Buffer is internally allocated and freed.

    Declaration
    public void NormRel_Inf(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormRel)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormRel

    Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))

    | Improve this Doc View Source

    NormRel_Inf(NPPImage_32fC1, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image NormRel_Inf.

    Declaration
    public void NormRel_Inf(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormRel, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormRel

    Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormRelInfGetBufferHostSize()

    | Improve this Doc View Source

    NormRel_Inf(NPPImage_32fC1, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image NormRel_Inf. Buffer is internally allocated and freed.

    Declaration
    public void NormRel_Inf(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormRel, NPPImage_8uC1 pMask)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormRel

    Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))

    NPPImage_8uC1 pMask

    Mask image.

    | Improve this Doc View Source

    NormRel_Inf(NPPImage_32fC1, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormRel_Inf.

    Declaration
    public void NormRel_Inf(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormRel, NPPImage_8uC1 pMask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormRel

    Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))

    NPPImage_8uC1 pMask

    Mask image.

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormRelInfMaskedGetBufferHostSize()

    | Improve this Doc View Source

    NormRel_L1(NPPImage_32fC1, CudaDeviceVariable<Double>)

    image NormRel_L1. Buffer is internally allocated and freed.

    Declaration
    public void NormRel_L1(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormRel)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormRel

    Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))

    | Improve this Doc View Source

    NormRel_L1(NPPImage_32fC1, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image NormRel_L1.

    Declaration
    public void NormRel_L1(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormRel, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormRel

    Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormRelL1GetBufferHostSize()

    | Improve this Doc View Source

    NormRel_L1(NPPImage_32fC1, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image NormRel_L1. Buffer is internally allocated and freed.

    Declaration
    public void NormRel_L1(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormRel, NPPImage_8uC1 pMask)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormRel

    Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))

    NPPImage_8uC1 pMask

    Mask image.

    | Improve this Doc View Source

    NormRel_L1(NPPImage_32fC1, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormRel_L1.

    Declaration
    public void NormRel_L1(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormRel, NPPImage_8uC1 pMask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormRel

    Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))

    NPPImage_8uC1 pMask

    Mask image.

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormRelL1MaskedGetBufferHostSize()

    | Improve this Doc View Source

    NormRel_L2(NPPImage_32fC1, CudaDeviceVariable<Double>)

    image NormRel_L2. Buffer is internally allocated and freed.

    Declaration
    public void NormRel_L2(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormRel)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormRel

    Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))

    | Improve this Doc View Source

    NormRel_L2(NPPImage_32fC1, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image NormRel_L2.

    Declaration
    public void NormRel_L2(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormRel, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormRel

    Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormRelL2GetBufferHostSize()

    | Improve this Doc View Source

    NormRel_L2(NPPImage_32fC1, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image NormRel_L2. Buffer is internally allocated and freed.

    Declaration
    public void NormRel_L2(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormRel, NPPImage_8uC1 pMask)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormRel

    Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))

    NPPImage_8uC1 pMask

    Mask image.

    | Improve this Doc View Source

    NormRel_L2(NPPImage_32fC1, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormRel_L2.

    Declaration
    public void NormRel_L2(NPPImage_32fC1 tpl, CudaDeviceVariable<double> pNormRel, NPPImage_8uC1 pMask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    CudaDeviceVariable<System.Double> pNormRel

    Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))

    NPPImage_8uC1 pMask

    Mask image.

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormRelL2MaskedGetBufferHostSize()

    | Improve this Doc View Source

    NormRelInfGetBufferHostSize()

    Device scratch buffer size (in bytes) for NormRel_Inf.

    Declaration
    public int NormRelInfGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormRelInfMaskedGetBufferHostSize()

    Device scratch buffer size (in bytes) for NormRel_Inf.

    Declaration
    public int NormRelInfMaskedGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormRelL1GetBufferHostSize()

    Device scratch buffer size (in bytes) for NormRel_L1.

    Declaration
    public int NormRelL1GetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormRelL1MaskedGetBufferHostSize()

    Device scratch buffer size (in bytes) for NormRel_L1.

    Declaration
    public int NormRelL1MaskedGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormRelL2GetBufferHostSize()

    Device scratch buffer size (in bytes) for NormRel_L2.

    Declaration
    public int NormRelL2GetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    NormRelL2MaskedGetBufferHostSize()

    Device scratch buffer size (in bytes) for NormRel_L2.

    Declaration
    public int NormRelL2MaskedGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    QualityIndex(NPPImage_32fC1, CudaDeviceVariable<Single>)

    image QualityIndex.

    Declaration
    public void QualityIndex(NPPImage_32fC1 src2, CudaDeviceVariable<float> dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    CudaDeviceVariable<System.Single> dst

    Pointer to the quality index. (1 * sizeof(float))

    | Improve this Doc View Source

    QualityIndex(NPPImage_32fC1, CudaDeviceVariable<Single>, CudaDeviceVariable<Byte>)

    image QualityIndex.

    Declaration
    public void QualityIndex(NPPImage_32fC1 src2, CudaDeviceVariable<float> dst, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    CudaDeviceVariable<System.Single> dst

    Pointer to the quality index. (1 * sizeof(float))

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at QualityIndexGetBufferHostSize()

    | Improve this Doc View Source

    QualityIndexGetBufferHostSize()

    Device scratch buffer size (in bytes) for QualityIndex.

    Declaration
    public int QualityIndexGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    RectStdDev(NPPImage_32fC1, NPPImage_32fC1)

    RectStdDev.

    Declaration
    public void RectStdDev(NPPImage_32fC1 dst, NPPImage_32fC1 sqr)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    NPPImage_32fC1 sqr

    Destination-Image

    | Improve this Doc View Source

    Remap(NPPImage_32fC1, NPPImage_32fC1, NPPImage_32fC1, InterpolationMode)

    image remap.

    Declaration
    public void Remap(NPPImage_32fC1 dst, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    NPPImage_32fC1 pXMap

    Device memory pointer to 2D image array of X coordinate values to be used when sampling source image.

    NPPImage_32fC1 pYMap

    Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image.

    InterpolationMode eInterpolation

    The type of eInterpolation to perform resampling.

    | Improve this Doc View Source

    Resize(NPPImage_32fC1, InterpolationMode)

    Resizes images.

    Declaration
    public void Resize(NPPImage_32fC1 dest, InterpolationMode eInterpolation)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    InterpolationMode eInterpolation

    Interpolation mode

    | Improve this Doc View Source

    ResizeBatch(NppiSize, NppiRect, NppiSize, NppiRect, InterpolationMode, CudaDeviceVariable<NppiResizeBatchCXR>)

    floating point image resize batch.

    Declaration
    public static void ResizeBatch(NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiSize oSmallestDstSize, NppiRect oDstRectROI, InterpolationMode eInterpolation, CudaDeviceVariable<NppiResizeBatchCXR> pBatchList)
    Parameters
    Type Name Description
    NppiSize oSmallestSrcSize

    Size in pixels of the entire smallest source image width and height, may be from different images.

    NppiRect oSrcRectROI

    Region of interest in the source images (may overlap source image size width and height).

    NppiSize oSmallestDstSize

    Size in pixels of the entire smallest destination image width and height, may be from different images.

    NppiRect oDstRectROI

    Region of interest in the destination images (may overlap destination image size width and height).

    InterpolationMode eInterpolation

    The type of eInterpolation to perform resampling. Currently limited to NPPI_INTER_NN, NPPI_INTER_LINEAR, NPPI_INTER_CUBIC, or NPPI_INTER_SUPER.

    CudaDeviceVariable<NppiResizeBatchCXR> pBatchList

    Device memory pointer to nBatchSize list of NppiResizeBatchCXR structures.

    | Improve this Doc View Source

    ResizeSqrPixel(NPPImage_32fC1, Double, Double, Double, Double, InterpolationMode)

    image resize.

    Declaration
    public void ResizeSqrPixel(NPPImage_32fC1 dst, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    System.Double nXFactor

    Factor by which x dimension is changed.

    System.Double nYFactor

    Factor by which y dimension is changed.

    System.Double nXShift

    Source pixel shift in x-direction.

    System.Double nYShift

    Source pixel shift in y-direction.

    InterpolationMode eInterpolation

    The type of eInterpolation to perform resampling.

    | Improve this Doc View Source

    Rotate(NPPImage_32fC1, Double, Double, Double, InterpolationMode)

    Rotate images.

    Declaration
    public void Rotate(NPPImage_32fC1 dest, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Double nAngle

    The angle of rotation in degrees.

    System.Double nShiftX

    Shift along horizontal axis

    System.Double nShiftY

    Shift along vertical axis

    InterpolationMode eInterpolation

    Interpolation mode

    | Improve this Doc View Source

    SameNormLevelGetBufferHostSize()

    Device scratch buffer size (in bytes) for CrossCorrSame_NormLevel.

    Declaration
    public int SameNormLevelGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Scale(NPPImage_32fC1, Single, Single)

    image conversion.

    Declaration
    public void Scale(NPPImage_32fC1 dst, float nMin, float nMax)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    System.Single nMin

    specifies the minimum saturation value to which every output value will be clamped.

    System.Single nMax

    specifies the maximum saturation value to which every output value will be clamped.

    | Improve this Doc View Source

    Set(Single)

    Set pixel values to nValue.

    Declaration
    public void Set(float nValue)
    Parameters
    Type Name Description
    System.Single nValue

    Value to be set

    | Improve this Doc View Source

    Set(Single, NPPImage_8uC1)

    Set pixel values to nValue.

    The 8-bit mask image affects setting of the respective pixels in the destination image.

    If the mask value is zero (0) the pixel is not set, if the mask is non-zero, the corresponding destination pixel is set to specified value.

    Declaration
    public void Set(float nValue, NPPImage_8uC1 mask)
    Parameters
    Type Name Description
    System.Single nValue

    Value to be set

    NPPImage_8uC1 mask

    Mask image

    | Improve this Doc View Source

    SobelHoriz(NPPImage_32fC1)

    horizontal Sobel filter.

    Declaration
    public void SobelHoriz(NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    Sqr()

    Inplace image squared.

    Declaration
    public void Sqr()
    | Improve this Doc View Source

    Sqr(NPPImage_32fC1)

    Image squared.

    Declaration
    public void Sqr(NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    SqrDistanceFull_Norm(NPPImage_32fC1, NPPImage_32fC1)

    image SqrDistanceFull_Norm.

    Declaration
    public void SqrDistanceFull_Norm(NPPImage_32fC1 tpl, NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    SqrDistanceSame_Norm(NPPImage_32fC1, NPPImage_32fC1)

    image SqrDistanceSame_Norm.

    Declaration
    public void SqrDistanceSame_Norm(NPPImage_32fC1 tpl, NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    SqrDistanceValid_Norm(NPPImage_32fC1, NPPImage_32fC1)

    image SqrDistanceValid_Norm.

    Declaration
    public void SqrDistanceValid_Norm(NPPImage_32fC1 tpl, NPPImage_32fC1 dst)
    Parameters
    Type Name Description
    NPPImage_32fC1 tpl

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    Sqrt()

    Inplace image square root.

    Declaration
    public void Sqrt()
    | Improve this Doc View Source

    Sqrt(NPPImage_32fC1)

    Image square root.

    Declaration
    public void Sqrt(NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    Sub(NPPImage_32fC1)

    In place image subtraction.

    Declaration
    public void Sub(NPPImage_32fC1 src2)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    | Improve this Doc View Source

    Sub(NPPImage_32fC1, NPPImage_32fC1)

    Image subtraction.

    Declaration
    public void Sub(NPPImage_32fC1 src2, NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    NPPImage_32fC1 src2

    2nd source image

    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    Sub(Single)

    Subtract constant to image. Inplace.

    Declaration
    public void Sub(float nConstant)
    Parameters
    Type Name Description
    System.Single nConstant

    Value to subtract

    | Improve this Doc View Source

    Sub(Single, NPPImage_32fC1)

    Subtract constant to image.

    Declaration
    public void Sub(float nConstant, NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    System.Single nConstant

    Value to subtract

    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    Sum(CudaDeviceVariable<Double>)

    image sum with 64-bit double precision result. Buffer is internally allocated and freed.

    Declaration
    public void Sum(CudaDeviceVariable<double> result)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> result

    Allocated device memory with size of at least 1 * sizeof(double)

    | Improve this Doc View Source

    Sum(CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image sum with 64-bit double precision result. No additional buffer is allocated.

    Declaration
    public void Sum(CudaDeviceVariable<double> result, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.Double> result

    Allocated device memory with size of at least 1 * sizeof(double)

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at SumGetBufferHostSize()

    | Improve this Doc View Source

    SumGetBufferHostSize()

    Scratch-buffer size for nppiSum_32f_C1R.

    Declaration
    public int SumGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Threshold(NPPImage_32fC1, Single, NppCmpOp)

    Image threshold.

    If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

    Declaration
    public void Threshold(NPPImage_32fC1 dest, float nThreshold, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Single nThreshold

    The threshold value.

    NppCmpOp eComparisonOperation

    eComparisonOperation. Only allowed values are Less and Greater

    | Improve this Doc View Source

    Threshold(NPPImage_32fC1, Single, Single, NppCmpOp)

    Image threshold.

    If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.

    Declaration
    public void Threshold(NPPImage_32fC1 dest, float nThreshold, float nValue, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Single nThreshold

    The threshold value.

    System.Single nValue

    The threshold replacement value.

    NppCmpOp eComparisonOperation

    eComparisonOperation. Only allowed values are Less and Greater

    | Improve this Doc View Source

    Threshold(Single, NppCmpOp)

    In place image threshold.

    If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

    Declaration
    public void Threshold(float nThreshold, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    System.Single nThreshold

    The threshold value.

    NppCmpOp eComparisonOperation

    eComparisonOperation. Only allowed values are Less and Greater

    | Improve this Doc View Source

    Threshold(Single, Single, NppCmpOp)

    In place image threshold.

    If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.

    Declaration
    public void Threshold(float nThreshold, float nValue, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    System.Single nThreshold

    The threshold value.

    System.Single nValue

    The threshold replacement value.

    NppCmpOp eComparisonOperation

    eComparisonOperation. Only allowed values are Less and Greater

    | Improve this Doc View Source

    ThresholdGT(NPPImage_32fC1, Single)

    Image threshold.

    If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

    Declaration
    public void ThresholdGT(NPPImage_32fC1 dest, float nThreshold)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Single nThreshold

    The threshold value.

    | Improve this Doc View Source

    ThresholdGT(NPPImage_32fC1, Single, Single)

    Image threshold.

    If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.

    Declaration
    public void ThresholdGT(NPPImage_32fC1 dest, float nThreshold, float nValue)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Single nThreshold

    The threshold value.

    System.Single nValue

    The threshold replacement value.

    | Improve this Doc View Source

    ThresholdGT(Single)

    In place image threshold.

    If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

    Declaration
    public void ThresholdGT(float nThreshold)
    Parameters
    Type Name Description
    System.Single nThreshold

    The threshold value.

    | Improve this Doc View Source

    ThresholdGT(Single, Single)

    In place image threshold.

    If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.

    Declaration
    public void ThresholdGT(float nThreshold, float nValue)
    Parameters
    Type Name Description
    System.Single nThreshold

    The threshold value.

    System.Single nValue

    The threshold replacement value.

    | Improve this Doc View Source

    ThresholdLT(NPPImage_32fC1, Single)

    Image threshold.

    If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

    Declaration
    public void ThresholdLT(NPPImage_32fC1 dest, float nThreshold)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Single nThreshold

    The threshold value.

    | Improve this Doc View Source

    ThresholdLT(NPPImage_32fC1, Single, Single)

    Image threshold.

    If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.

    Declaration
    public void ThresholdLT(NPPImage_32fC1 dest, float nThreshold, float nValue)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Single nThreshold

    The threshold value.

    System.Single nValue

    The threshold replacement value.

    | Improve this Doc View Source

    ThresholdLT(Single)

    In place image threshold.

    If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.

    Declaration
    public void ThresholdLT(float nThreshold)
    Parameters
    Type Name Description
    System.Single nThreshold

    The threshold value.

    | Improve this Doc View Source

    ThresholdLT(Single, Single)

    In place image threshold.

    If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.

    Declaration
    public void ThresholdLT(float nThreshold, float nValue)
    Parameters
    Type Name Description
    System.Single nThreshold

    The threshold value.

    System.Single nValue

    The threshold replacement value.

    | Improve this Doc View Source

    ThresholdLTGT(NPPImage_32fC1, Single, Single, Single, Single)

    Image threshold.

    If for a comparison operations sourcePixel is less than nThresholdLT is true, the pixel is set to nValueLT, else if sourcePixel is greater than nThresholdGT the pixel is set to nValueGT, otherwise it is set to sourcePixel.

    Declaration
    public void ThresholdLTGT(NPPImage_32fC1 dest, float nThresholdLT, float nValueLT, float nThresholdGT, float nValueGT)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Single nThresholdLT

    The thresholdLT value.

    System.Single nValueLT

    The thresholdLT replacement value.

    System.Single nThresholdGT

    The thresholdGT value.

    System.Single nValueGT

    The thresholdGT replacement value.

    | Improve this Doc View Source

    ThresholdLTGT(Single, Single, Single, Single)

    In place image threshold.

    If for a comparison operations sourcePixel is less than nThresholdLT is true, the pixel is set to nValueLT, else if sourcePixel is greater than nThresholdGT the pixel is set to nValueGT, otherwise it is set to sourcePixel.

    Declaration
    public void ThresholdLTGT(float nThresholdLT, float nValueLT, float nThresholdGT, float nValueGT)
    Parameters
    Type Name Description
    System.Single nThresholdLT

    The thresholdLT value.

    System.Single nValueLT

    The thresholdLT replacement value.

    System.Single nThresholdGT

    The thresholdGT value.

    System.Single nValueGT

    The thresholdGT replacement value.

    | Improve this Doc View Source

    ToCudaPitchedDeviceVariable()

    Converts a NPPImage to a CudaPitchedDeviceVariable

    Declaration
    public CudaPitchedDeviceVariable<float> ToCudaPitchedDeviceVariable()
    Returns
    Type Description
    CudaPitchedDeviceVariable<System.Single>
    | Improve this Doc View Source

    Transpose(NPPImage_32fC1)

    image transpose

    Declaration
    public void Transpose(NPPImage_32fC1 dest)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    | Improve this Doc View Source

    ValidNormLevelGetBufferHostSize()

    Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel.

    Declaration
    public int ValidNormLevelGetBufferHostSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    WarpAffine(NPPImage_32fC1, Double[,], InterpolationMode)

    Affine transform of an image.

    This function operates using given transform coefficients that can be obtained by using nppiGetAffineTransform function or set explicitly. The function operates on source and destination regions of interest. The affine warp function transforms the source image pixel coordinates (x,y) according to the following formulas:

    X_new = C_00 * x + C_01 * y + C_02

    Y_new = C_10 * x + C_11 * y + C_12

    The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetAffineQuad and nppiGetAffineBound can help with destination ROI specification.

    NPPI specific recommendation:

    The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but does not perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one.

    In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values

    (int)((void *)(pDst + dstRoi.x))
    and

    (int)((void *)(pDst + dstRoi.x + dstRoi.width))

    are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

    Declaration
    public void WarpAffine(NPPImage_32fC1 dest, double[, ] coeffs, InterpolationMode eInterpolation)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Double[,] coeffs

    Affine transform coefficients [2,3]

    InterpolationMode eInterpolation

    Interpolation mode: can be NearestNeighbor, Linear or Cubic

    | Improve this Doc View Source

    WarpAffineBack(NPPImage_32fC1, Double[,], InterpolationMode)

    Inverse affine transform of an image.

    This function operates using given transform coefficients that can be obtained by using nppiGetAffineTransform function or set explicitly. Thus there is no need to invert coefficients in your application before calling WarpAffineBack. The function operates on source and destination regions of interest.

    The affine warp function transforms the source image pixel coordinates (x,y) according to the following formulas:

    X_new = C_00 * x + C_01 * y + C_02

    Y_new = C_10 * x + C_11 * y + C_12

    The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetAffineQuad and nppiGetAffineBound can help with destination ROI specification.

    NPPI specific recommendation:

    The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values

    (int)((void *)(pDst + dstRoi.x))
    and

    (int)((void *)(pDst + dstRoi.x + dstRoi.width))

    are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

    Declaration
    public void WarpAffineBack(NPPImage_32fC1 dest, double[, ] coeffs, InterpolationMode eInterpolation)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Double[,] coeffs

    Affine transform coefficients [2,3]

    InterpolationMode eInterpolation

    Interpolation mode: can be NearestNeighbor, Linear or Cubic

    | Improve this Doc View Source

    WarpAffineBatch(NppiSize, NppiRect, NppiRect, InterpolationMode, CudaDeviceVariable<NppiWarpAffineBatchCXR>)

    floating point image warp affine batch.

    Declaration
    public static void WarpAffineBatch(NppiSize oSmallestSrcSize, NppiRect oSrcRectROI, NppiRect oDstRectROI, InterpolationMode eInterpolation, CudaDeviceVariable<NppiWarpAffineBatchCXR> pBatchList)
    Parameters
    Type Name Description
    NppiSize oSmallestSrcSize

    Size in pixels of the entire smallest source image width and height, may be from different images.

    NppiRect oSrcRectROI

    Region of interest in the source images (may overlap source image size width and height).

    NppiRect oDstRectROI

    Region of interest in the destination images (may overlap destination image size width and height).

    InterpolationMode eInterpolation

    The type of eInterpolation to perform resampling. Currently limited to NPPI_INTER_NN, NPPI_INTER_LINEAR, NPPI_INTER_CUBIC, or NPPI_INTER_SUPER.

    CudaDeviceVariable<NppiWarpAffineBatchCXR> pBatchList

    Device memory pointer to nBatchSize list of NppiWarpAffineBatchCXR structures.

    | Improve this Doc View Source

    WarpAffineQuad(Double[,], NPPImage_32fC1, Double[,], InterpolationMode)

    Affine transform of an image.

    This function performs affine warping of a the specified quadrangle in the source image to the specified quadrangle in the destination image. The function nppiWarpAffineQuad uses the same formulas for pixel mapping as in nppiWarpAffine function. The transform coefficients are computed internally. The transformed part of the source image is resampled using the specified eInterpolation method and written to the destination ROI.

    NPPI specific recommendation:

    The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values

    (int)((void *)(pDst + dstRoi.x))
    and

    (int)((void *)(pDst + dstRoi.x + dstRoi.width))

    are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

    Declaration
    public void WarpAffineQuad(double[, ] srcQuad, NPPImage_32fC1 dest, double[, ] dstQuad, InterpolationMode eInterpolation)
    Parameters
    Type Name Description
    System.Double[,] srcQuad

    Source quadrangle [4,2]

    NPPImage_32fC1 dest

    Destination image

    System.Double[,] dstQuad

    Destination quadrangle [4,2]

    InterpolationMode eInterpolation

    Interpolation mode: can be NearestNeighbor, Linear or Cubic

    | Improve this Doc View Source

    WarpPerspective(NPPImage_32fC1, Double[,], InterpolationMode)

    Perspective transform of an image.

    This function operates using given transform coefficients that can be obtained by using nppiGetPerspectiveTransform function or set explicitly. The function operates on source and destination regions of interest. The perspective warp function transforms the source image pixel coordinates (x,y) according to the following formulas:

    X_new = (C_00 * x + C_01 * y + C_02) / (C_20 * x + C_21 * y + C_22)

    Y_new = (C_10 * x + C_11 * y + C_12) / (C_20 * x + C_21 * y + C_22)

    The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetPerspectiveQuad and nppiGetPerspectiveBound can help with destination ROI specification.

    NPPI specific recommendation:

    The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values

    (int)((void *)(pDst + dstRoi.x))
    and

    (int)((void *)(pDst + dstRoi.x + dstRoi.width))

    are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

    Declaration
    public void WarpPerspective(NPPImage_32fC1 dest, double[, ] coeffs, InterpolationMode eInterpolation)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Double[,] coeffs

    Perspective transform coefficients [3,3]

    InterpolationMode eInterpolation

    Interpolation mode: can be NearestNeighbor, Linear or Cubic

    | Improve this Doc View Source

    WarpPerspectiveBack(NPPImage_32fC1, Double[,], InterpolationMode)

    Inverse perspective transform of an image.

    This function operates using given transform coefficients that can be obtained by using nppiGetPerspectiveTransform function or set explicitly. Thus there is no need to invert coefficients in your application before calling WarpPerspectiveBack. The function operates on source and destination regions of interest. The perspective warp function transforms the source image pixel coordinates (x,y) according to the following formulas:

    X_new = (C_00 * x + C_01 * y + C_02) / (C_20 * x + C_21 * y + C_22)

    Y_new = (C_10 * x + C_11 * y + C_12) / (C_20 * x + C_21 * y + C_22)

    The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetPerspectiveQuad and nppiGetPerspectiveBound can help with destination ROI specification.

    NPPI specific recommendation:

    The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values

    (int)((void *)(pDst + dstRoi.x))
    and

    (int)((void *)(pDst + dstRoi.x + dstRoi.width))

    are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

    Declaration
    public void WarpPerspectiveBack(NPPImage_32fC1 dest, double[, ] coeffs, InterpolationMode eInterpolation)
    Parameters
    Type Name Description
    NPPImage_32fC1 dest

    Destination image

    System.Double[,] coeffs

    Perspective transform coefficients [3,3]

    InterpolationMode eInterpolation

    Interpolation mode: can be NearestNeighbor, Linear or Cubic

    | Improve this Doc View Source

    WarpPerspectiveQuad(Double[,], NPPImage_32fC1, Double[,], InterpolationMode)

    Perspective transform of an image.

    This function performs perspective warping of a the specified quadrangle in the source image to the specified quadrangle in the destination image. The function nppiWarpPerspectiveQuad uses the same formulas for pixel mapping as in nppiWarpPerspective function. The transform coefficients are computed internally. The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI.

    NPPI specific recommendation:

    The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values

    (int)((void *)(pDst + dstRoi.x))
    and

    (int)((void *)(pDst + dstRoi.x + dstRoi.width))

    are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

    Declaration
    public void WarpPerspectiveQuad(double[, ] srcQuad, NPPImage_32fC1 dest, double[, ] destQuad, InterpolationMode eInterpolation)
    Parameters
    Type Name Description
    System.Double[,] srcQuad

    Source quadrangle [4,2]

    NPPImage_32fC1 dest

    Destination image

    System.Double[,] destQuad

    Destination quadrangle [4,2]

    InterpolationMode eInterpolation

    Interpolation mode: can be NearestNeighbor, Linear or Cubic

    Operators

    | Improve this Doc View Source

    Implicit(CudaPitchedDeviceVariable<Single> to NPPImage_32fC1)

    Converts a CudaPitchedDeviceVariable to a NPPImage

    Declaration
    public static implicit operator NPPImage_32fC1(CudaPitchedDeviceVariable<float> img)
    Parameters
    Type Name Description
    CudaPitchedDeviceVariable<System.Single> img

    CudaPitchedDeviceVariable

    Returns
    Type Description
    NPPImage_32fC1

    NPPImage with the same device pointer and size of CudaPitchedDeviceVariable with ROI set to full image

    | Improve this Doc View Source

    Implicit(NPPImage_32fC1 to CudaPitchedDeviceVariable<Single>)

    Converts a NPPImage to a CudaPitchedDeviceVariable

    Declaration
    public static implicit operator CudaPitchedDeviceVariable<float>(NPPImage_32fC1 img)
    Parameters
    Type Name Description
    NPPImage_32fC1 img

    NPPImage

    Returns
    Type Description
    CudaPitchedDeviceVariable<System.Single>

    CudaPitchedDeviceVariable with the same device pointer and size of NPPImage without ROI information

    Implements

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