Show / Hide Table of Contents

    Class NPPImage_8sC1

    Inheritance
    System.Object
    NPPImageBase
    NPPImage_8sC1
    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_8sC1 : NPPImageBase, IDisposable

    Constructors

    | Improve this Doc View Source

    NPPImage_8sC1(CUdeviceptr, NppiSize, Int32)

    Creates a new NPPImage from allocated device ptr.

    Declaration
    public NPPImage_8sC1(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_8sC1(CUdeviceptr, NppiSize, Int32, Boolean)

    Creates a new NPPImage from allocated device ptr.

    Declaration
    public NPPImage_8sC1(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_8sC1(CUdeviceptr, Int32, Int32, Int32)

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

    Declaration
    public NPPImage_8sC1(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_8sC1(CUdeviceptr, Int32, Int32, Int32, Boolean)

    Creates a new NPPImage from allocated device ptr.

    Declaration
    public NPPImage_8sC1(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_8sC1(NPPImageBase)

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

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

    NPP image

    | Improve this Doc View Source

    NPPImage_8sC1(NppiSize)

    Allocates new memory on device using NPP-Api.

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

    Image size

    | Improve this Doc View Source

    NPPImage_8sC1(Int32, Int32)

    Allocates new memory on device using NPP-Api.

    Declaration
    public NPPImage_8sC1(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

    AlphaComp(SByte, NPPImage_8sC1, SByte, NPPImage_8sC1, NppiAlphaOp)

    Image composition using constant alpha.

    Declaration
    public void AlphaComp(sbyte alpha1, NPPImage_8sC1 src2, sbyte alpha2, NPPImage_8sC1 dest, NppiAlphaOp nppAlphaOp)
    Parameters
    Type Name Description
    System.SByte alpha1

    constant alpha for this image

    NPPImage_8sC1 src2

    2nd source image

    System.SByte alpha2

    constant alpha for src2

    NPPImage_8sC1 dest

    Destination image

    NppiAlphaOp nppAlphaOp

    alpha compositing operation

    | Improve this Doc View Source

    AverageError(NPPImage_8sC1, CudaDeviceVariable<Double>)

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

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

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    | Improve this Doc View Source

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

    image average error.

    Declaration
    public void AverageError(NPPImage_8sC1 src2, CudaDeviceVariable<double> pError, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, CudaDeviceVariable<Double>)

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

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

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    | Improve this Doc View Source

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

    image average relative error.

    Declaration
    public void AverageRelativeError(NPPImage_8sC1 src2, CudaDeviceVariable<double> pError, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, Single[,])

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

    Declaration
    public void ColorTwist(NPPImage_8sC1 dest, float[, ] twistMatrix)
    Parameters
    Type Name Description
    NPPImage_8sC1 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

    Convert(NPPImage_16sC1)

    8-bit signed to 16-bit signed conversion.

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

    Destination image

    | Improve this Doc View Source

    Convert(NPPImage_16uC1)

    8-bit signed to 16-bit unsigned conversion with saturation.

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

    Destination image

    | Improve this Doc View Source

    Convert(NPPImage_32fC1)

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

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

    Destination image

    | Improve this Doc View Source

    Convert(NPPImage_32sC1)

    8-bit signed to 32-bit signed conversion.

    Declaration
    public void Convert(NPPImage_32sC1 dst)
    Parameters
    Type Name Description
    NPPImage_32sC1 dst

    Destination image

    | Improve this Doc View Source

    Convert(NPPImage_32uC1)

    8-bit signed to 32-bit unsigned conversion with saturation.

    Declaration
    public void Convert(NPPImage_32uC1 dst)
    Parameters
    Type Name Description
    NPPImage_32uC1 dst

    Destination image

    | Improve this Doc View Source

    Convert(NPPImage_8uC1)

    8-bit signed to 8-bit unsigned conversion with saturation.

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

    Destination image

    | Improve this Doc View Source

    Copy(NPPImage_8sC1)

    Image copy.

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

    Destination image

    | Improve this Doc View Source

    CrossCorrFull_Norm(NPPImage_8sC1, NPPImage_32fC1)

    image CrossCorrFull_Norm.

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

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    CrossCorrFull_NormLevel(NPPImage_8sC1, NPPImage_32fC1)

    CrossCorrFull_NormLevel. Buffer is internally allocated and freed.

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

    template image.

    NPPImage_32fC1 dst

    Destination image

    | Improve this Doc View Source

    CrossCorrFull_NormLevel(NPPImage_8sC1, NPPImage_32fC1, CudaDeviceVariable<Byte>)

    CrossCorrFull_NormLevel.

    Declaration
    public void CrossCorrFull_NormLevel(NPPImage_8sC1 tpl, NPPImage_32fC1 dst, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, NPPImage_32fC1)

    image CrossCorrSame_Norm.

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

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    CrossCorrSame_NormLevel(NPPImage_8sC1, NPPImage_32fC1)

    CrossCorrSame_NormLevel. Buffer is internally allocated and freed.

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

    template image.

    NPPImage_32fC1 dst

    Destination image

    | Improve this Doc View Source

    CrossCorrSame_NormLevel(NPPImage_8sC1, NPPImage_32fC1, CudaDeviceVariable<Byte>)

    CrossCorrSame_NormLevel.

    Declaration
    public void CrossCorrSame_NormLevel(NPPImage_8sC1 tpl, NPPImage_32fC1 dst, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, NPPImage_32fC1)

    image CrossCorrValid.

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

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    CrossCorrValid_Norm(NPPImage_8sC1, NPPImage_32fC1)

    image CrossCorrValid_Norm.

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

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    CrossCorrValid_NormLevel(NPPImage_8sC1, NPPImage_32fC1)

    CrossCorrValid_NormLevel. Buffer is internally allocated and freed.

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

    template image.

    NPPImage_32fC1 dst

    Destination image

    | Improve this Doc View Source

    CrossCorrValid_NormLevel(NPPImage_8sC1, NPPImage_32fC1, CudaDeviceVariable<Byte>)

    CrossCorrValid_NormLevel.

    Declaration
    public void CrossCorrValid_NormLevel(NPPImage_8sC1 tpl, NPPImage_32fC1 dst, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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

    DotProdGetBufferHostSize()

    Device scratch buffer size (in bytes) for nppiDotProd_8s64f_C1R.

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

    DotProduct(NPPImage_8sC1, CudaDeviceVariable<Double>)

    One-channel 8-bit signed image DotProd. Buffer is internally allocated and freed.

    Declaration
    public void DotProduct(NPPImage_8sC1 src2, CudaDeviceVariable<double> pDp)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    One-channel 8-bit signed image DotProd.

    Declaration
    public void DotProduct(NPPImage_8sC1 src2, CudaDeviceVariable<double> pDp, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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

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

    convolution filter.

    Declaration
    public void Filter(NPPImage_16sC1 dst, CudaDeviceVariable<float> pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
    Parameters
    Type Name Description
    NPPImage_16sC1 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

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

    convolution filter.

    Declaration
    public void Filter(NPPImage_8sC1 dst, CudaDeviceVariable<float> pKernel, NppiSize oKernelSize, NppiPoint oAnchor)
    Parameters
    Type Name Description
    NPPImage_8sC1 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

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

    One channel 8-bit signed to 16-bit signed 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_16sC1 dest, CudaDeviceVariable<float> pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_16sC1 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

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

    One channel 8-bit signed 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_8sC1 dest, CudaDeviceVariable<float> pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_8sC1 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

    FilterLaplace(NPPImage_16sC1, MaskSize)

    Laplace filter.

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

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterScharrHoriz(NPPImage_16sC1)

    horizontal Scharr filter.

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

    Destination-Image

    | Improve this Doc View Source

    FilterScharrHorizBorder(NPPImage_16sC1, NppiBorderType)

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

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

    Destination image

    NppiBorderType eBorderType

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

    | Improve this Doc View Source

    FilterScharrVert(NPPImage_16sC1)

    vertical Scharr filter.

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

    Destination-Image

    | Improve this Doc View Source

    FilterSobelCross(NPPImage_16sC1, MaskSize)

    second cross derivative Sobel filter.

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

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterSobelCrossBorder(NPPImage_16sC1, MaskSize, NppiBorderType)

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

    Declaration
    public void FilterSobelCrossBorder(NPPImage_16sC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_16sC1 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_16sC1, MaskSize)

    horizontal Sobel filter.

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

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterSobelHorizBorder(NPPImage_16sC1, MaskSize, NppiBorderType)

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

    Declaration
    public void FilterSobelHorizBorder(NPPImage_16sC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_16sC1 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

    FilterSobelHorizSecond(NPPImage_16sC1, MaskSize)

    second derivative, horizontal Sobel filter.

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

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterSobelHorizSecondBorder(NPPImage_16sC1, MaskSize, NppiBorderType)

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

    Declaration
    public void FilterSobelHorizSecondBorder(NPPImage_16sC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_16sC1 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_16sC1, MaskSize)

    vertical Sobel filter.

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

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterSobelVertBorder(NPPImage_16sC1, MaskSize, NppiBorderType)

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

    Declaration
    public void FilterSobelVertBorder(NPPImage_16sC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_16sC1 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

    FilterSobelVertSecond(NPPImage_16sC1, MaskSize)

    second derivative, vertical Sobel filter.

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

    Destination-Image

    MaskSize eMaskSize

    Enumeration value specifying the mask size.

    | Improve this Doc View Source

    FilterSobelVertSecondBorder(NPPImage_16sC1, MaskSize, NppiBorderType)

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

    Declaration
    public void FilterSobelVertSecondBorder(NPPImage_16sC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_16sC1 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

    FilterVertHorizBorder(NPPImage_16sC1, NppiBorderType)

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

    Declaration
    public void FilterVertHorizBorder(NPPImage_16sC1 dest, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_16sC1 dest

    Destination image

    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

    MaxError(NPPImage_8sC1, CudaDeviceVariable<Double>)

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

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

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    | Improve this Doc View Source

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

    image maximum error.

    Declaration
    public void MaxError(NPPImage_8sC1 src2, CudaDeviceVariable<double> pError, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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

    MaximumRelativeError(NPPImage_8sC1, CudaDeviceVariable<Double>)

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

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

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    | Improve this Doc View Source

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

    image maximum relative error.

    Declaration
    public void MaximumRelativeError(NPPImage_8sC1 src2, CudaDeviceVariable<double> pError, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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

    Mean(CudaDeviceVariable<Double>, NPPImage_8uC1)

    image mean with 64-bit double precision result

    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

    Image mask

    | 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

    Image mask

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at MeanGetBufferHostSize()

    | 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

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

    image mean and standard deviation.

    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 mean and standard deviation. 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 with mask

    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

    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

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

    image mean and standard deviation with mask. 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

    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 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

    MinMaxIndx(CudaDeviceVariable<SByte>, CudaDeviceVariable<SByte>, CudaDeviceVariable<NppiPoint>, CudaDeviceVariable<NppiPoint>)

    image minimum and maximum values with their indices

    Declaration
    public void MinMaxIndx(CudaDeviceVariable<sbyte> min, CudaDeviceVariable<sbyte> max, CudaDeviceVariable<NppiPoint> minIndex, CudaDeviceVariable<NppiPoint> maxIndex)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.SByte> min

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

    CudaDeviceVariable<System.SByte> max

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

    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

    MinMaxIndx(CudaDeviceVariable<SByte>, CudaDeviceVariable<SByte>, CudaDeviceVariable<NppiPoint>, CudaDeviceVariable<NppiPoint>, CudaDeviceVariable<Byte>)

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

    Declaration
    public void MinMaxIndx(CudaDeviceVariable<sbyte> min, CudaDeviceVariable<sbyte> max, CudaDeviceVariable<NppiPoint> minIndex, CudaDeviceVariable<NppiPoint> maxIndex, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.SByte> min

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

    CudaDeviceVariable<System.SByte> max

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

    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 MinMaxIndxGetBufferHostSize()

    | Improve this Doc View Source

    MinMaxIndx(CudaDeviceVariable<SByte>, CudaDeviceVariable<SByte>, CudaDeviceVariable<NppiPoint>, CudaDeviceVariable<NppiPoint>, NPPImage_8uC1)

    image minimum and maximum values with their indices with mask

    Declaration
    public void MinMaxIndx(CudaDeviceVariable<sbyte> min, CudaDeviceVariable<sbyte> max, CudaDeviceVariable<NppiPoint> minIndex, CudaDeviceVariable<NppiPoint> maxIndex, NPPImage_8uC1 mask)
    Parameters
    Type Name Description
    CudaDeviceVariable<System.SByte> min

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

    CudaDeviceVariable<System.SByte> max

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

    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

    MinMaxIndx(CudaDeviceVariable<SByte>, CudaDeviceVariable<SByte>, CudaDeviceVariable<NppiPoint>, CudaDeviceVariable<NppiPoint>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image minimum and maximum values with their indices with mask. No additional buffer is allocated.

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

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

    CudaDeviceVariable<System.SByte> max

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

    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 MinMaxIndxGetBufferHostSize()

    | Improve this Doc View Source

    MinMaxIndxGetBufferHostSize()

    Scratch-buffer size for MinMaxIndx.

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

    MinMaxIndxMaskedGetBufferHostSize()

    Scratch-buffer size for MinMaxIndx (Masked).

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

    NormDiff_Inf(NPPImage_8sC1, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image NormDiff_Inf. Buffer is internally allocated and freed.

    Declaration
    public void NormDiff_Inf(NPPImage_8sC1 tpl, CudaDeviceVariable<double> pNormDiff, NPPImage_8uC1 pMask)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormDiff_Inf.

    Declaration
    public void NormDiff_Inf(NPPImage_8sC1 tpl, CudaDeviceVariable<double> pNormDiff, NPPImage_8uC1 pMask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image NormDiff_L1. Buffer is internally allocated and freed.

    Declaration
    public void NormDiff_L1(NPPImage_8sC1 tpl, CudaDeviceVariable<double> pNormDiff, NPPImage_8uC1 pMask)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormDiff_L1.

    Declaration
    public void NormDiff_L1(NPPImage_8sC1 tpl, CudaDeviceVariable<double> pNormDiff, NPPImage_8uC1 pMask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image NormDiff_L2. Buffer is internally allocated and freed.

    Declaration
    public void NormDiff_L2(NPPImage_8sC1 tpl, CudaDeviceVariable<double> pNormDiff, NPPImage_8uC1 pMask)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormDiff_L2.

    Declaration
    public void NormDiff_L2(NPPImage_8sC1 tpl, CudaDeviceVariable<double> pNormDiff, NPPImage_8uC1 pMask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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

    NormDiffInfMaskedGetBufferHostSize()

    Device scratch buffer size (in bytes) for NormDiff_Inf.

    Declaration
    public int NormDiffInfMaskedGetBufferHostSize()
    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

    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>, NPPImage_8uC1)

    image infinity norm

    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

    Image 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

    Image mask

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormInfBufferHostSize()

    | Improve this Doc View Source

    NormInfBufferHostSize()

    Scratch-buffer size for NormInf.

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

    NormL1(CudaDeviceVariable<Double>, NPPImage_8uC1)

    image L1 norm

    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

    Image 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

    Image mask

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormL1BufferHostSize()

    | Improve this Doc View Source

    NormL1BufferHostSize()

    Scratch-buffer size for NormL1.

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

    NormL2(CudaDeviceVariable<Double>, NPPImage_8uC1)

    image L2 norm

    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

    Image 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

    Image mask

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at NormL1BufferHostSize()

    | Improve this Doc View Source

    NormL2BufferHostSize()

    Scratch-buffer size for NormL2.

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

    NormRel_Inf(NPPImage_8sC1, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image NormRel_Inf. Buffer is internally allocated and freed.

    Declaration
    public void NormRel_Inf(NPPImage_8sC1 tpl, CudaDeviceVariable<double> pNormRel, NPPImage_8uC1 pMask)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormRel_Inf.

    Declaration
    public void NormRel_Inf(NPPImage_8sC1 tpl, CudaDeviceVariable<double> pNormRel, NPPImage_8uC1 pMask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image NormRel_L1. Buffer is internally allocated and freed.

    Declaration
    public void NormRel_L1(NPPImage_8sC1 tpl, CudaDeviceVariable<double> pNormRel, NPPImage_8uC1 pMask)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormRel_L1.

    Declaration
    public void NormRel_L1(NPPImage_8sC1 tpl, CudaDeviceVariable<double> pNormRel, NPPImage_8uC1 pMask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image NormRel_L2. Buffer is internally allocated and freed.

    Declaration
    public void NormRel_L2(NPPImage_8sC1 tpl, CudaDeviceVariable<double> pNormRel, NPPImage_8uC1 pMask)
    Parameters
    Type Name Description
    NPPImage_8sC1 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_8sC1, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormRel_L2.

    Declaration
    public void NormRel_L2(NPPImage_8sC1 tpl, CudaDeviceVariable<double> pNormRel, NPPImage_8uC1 pMask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    NPPImage_8sC1 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

    NormRelInfMaskedGetBufferHostSize()

    Device scratch buffer size (in bytes) for NormRel_Inf.

    Declaration
    public int NormRelInfMaskedGetBufferHostSize()
    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

    NormRelL2MaskedGetBufferHostSize()

    Device scratch buffer size (in bytes) for NormRel_L2.

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

    RShiftC(UInt32)

    image bit shift by constant (right), inplace.

    Declaration
    public void RShiftC(uint nConstant)
    Parameters
    Type Name Description
    System.UInt32 nConstant

    Constant

    | Improve this Doc View Source

    RShiftC(UInt32, NPPImage_8sC1)

    image bit shift by constant (right).

    Declaration
    public void RShiftC(uint nConstant, NPPImage_8sC1 dest)
    Parameters
    Type Name Description
    System.UInt32 nConstant

    Constant

    NPPImage_8sC1 dest

    Destination image

    | 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

    Set(SByte)

    Set pixel values to nValue.

    Declaration
    public void Set(sbyte nValue)
    Parameters
    Type Name Description
    System.SByte nValue

    Value to be set

    | Improve this Doc View Source

    SqrDistanceFull_Norm(NPPImage_8sC1, NPPImage_32fC1)

    image SqrDistanceFull_Norm.

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

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    SqrDistanceSame_Norm(NPPImage_8sC1, NPPImage_32fC1)

    image SqrDistanceSame_Norm.

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

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    SqrDistanceValid_Norm(NPPImage_8sC1, NPPImage_32fC1)

    image SqrDistanceValid_Norm.

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

    template image.

    NPPImage_32fC1 dst

    Destination-Image

    | Improve this Doc View Source

    ToCudaPitchedDeviceVariable()

    Converts a NPPImage to a CudaPitchedDeviceVariable

    Declaration
    public CudaPitchedDeviceVariable<sbyte> ToCudaPitchedDeviceVariable()
    Returns
    Type Description
    CudaPitchedDeviceVariable<System.SByte>
    | Improve this Doc View Source

    ValidNormLevelGetBufferHostSize()

    Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel.

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

    Operators

    | Improve this Doc View Source

    Implicit(CudaPitchedDeviceVariable<SByte> to NPPImage_8sC1)

    Converts a CudaPitchedDeviceVariable to a NPPImage

    Declaration
    public static implicit operator NPPImage_8sC1(CudaPitchedDeviceVariable<sbyte> img)
    Parameters
    Type Name Description
    CudaPitchedDeviceVariable<System.SByte> img

    CudaPitchedDeviceVariable

    Returns
    Type Description
    NPPImage_8sC1

    NPPImage with the same device pointer and size of CudaPitchedDeviceVariable with ROI set to full image

    | Improve this Doc View Source

    Implicit(NPPImage_8sC1 to CudaPitchedDeviceVariable<SByte>)

    Converts a NPPImage to a CudaPitchedDeviceVariable

    Declaration
    public static implicit operator CudaPitchedDeviceVariable<sbyte>(NPPImage_8sC1 img)
    Parameters
    Type Name Description
    NPPImage_8sC1 img

    NPPImage

    Returns
    Type Description
    CudaPitchedDeviceVariable<System.SByte>

    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