Show / Hide Table of Contents

    Class NPPImage_8sC3

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

    Constructors

    | Improve this Doc View Source

    NPPImage_8sC3(CUdeviceptr, NppiSize, Int32)

    Creates a new NPPImage from allocated device ptr.

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

    Creates a new NPPImage from allocated device ptr.

    Declaration
    public NPPImage_8sC3(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_8sC3(CUdeviceptr, Int32, Int32, Int32)

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

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

    Creates a new NPPImage from allocated device ptr.

    Declaration
    public NPPImage_8sC3(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_8sC3(NPPImageBase)

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

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

    NPP image

    | Improve this Doc View Source

    NPPImage_8sC3(NppiSize)

    Allocates new memory on device using NPP-Api.

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

    Image size

    | Improve this Doc View Source

    NPPImage_8sC3(Int32, Int32)

    Allocates new memory on device using NPP-Api.

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

    AverageError(NPPImage_8sC3, CudaDeviceVariable<Double>)

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

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

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    | Improve this Doc View Source

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

    image average error.

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

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

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

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    | Improve this Doc View Source

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

    image average relative error.

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

    3 channel planar 8-bit signed color twist. An input color twist matrix with floating-point pixel values is applied within ROI.

    Declaration
    public static void ColorTwist(NPPImage_8sC1 src0, NPPImage_8sC1 src1, NPPImage_8sC1 src2, NPPImage_8sC1 dest0, NPPImage_8sC1 dest1, NPPImage_8sC1 dest2, float[, ] twistMatrix)
    Parameters
    Type Name Description
    NPPImage_8sC1 src0

    Source image (Channel 0)

    NPPImage_8sC1 src1

    Source image (Channel 1)

    NPPImage_8sC1 src2

    Source image (Channel 2)

    NPPImage_8sC1 dest0

    Destination image (Channel 0)

    NPPImage_8sC1 dest1

    Destination image (Channel 1)

    NPPImage_8sC1 dest2

    Destination image (Channel 2)

    System.Single[,] twistMatrix

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

    | Improve this Doc View Source

    ColorTwist(NPPImage_8sC1, NPPImage_8sC1, NPPImage_8sC1, Single[,])

    3 channel planar 8-bit signed inplace color twist. An input color twist matrix with floating-point pixel values is applied within ROI.

    Declaration
    public static void ColorTwist(NPPImage_8sC1 srcDest0, NPPImage_8sC1 srcDest1, NPPImage_8sC1 srcDest2, float[, ] twistMatrix)
    Parameters
    Type Name Description
    NPPImage_8sC1 srcDest0

    Source / Destination image (Channel 0)

    NPPImage_8sC1 srcDest1

    Source / Destinationimage (Channel 1)

    NPPImage_8sC1 srcDest2

    Source / Destinationimage (Channel 2)

    System.Single[,] twistMatrix

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

    | Improve this Doc View Source

    ColorTwist(NPPImage_8sC3, Single[,])

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

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

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

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

    Destination image

    | Improve this Doc View Source

    Convert(NPPImage_32sC3)

    8-bit signed to 32-bit signed conversion.

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

    Destination image

    | Improve this Doc View Source

    Copy(NPPImage_8sC3)

    Image copy.

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

    Destination image

    | Improve this Doc View Source

    CrossCorrFull_Norm(NPPImage_8sC3, NPPImage_32fC3)

    image CrossCorrFull_Norm.

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

    template image.

    NPPImage_32fC3 dst

    Destination-Image

    | Improve this Doc View Source

    CrossCorrFull_NormLevel(NPPImage_8sC3, NPPImage_32fC3)

    CrossCorrFull_NormLevel. Buffer is internally allocated and freed.

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

    template image.

    NPPImage_32fC3 dst

    Destination image

    | Improve this Doc View Source

    CrossCorrFull_NormLevel(NPPImage_8sC3, NPPImage_32fC3, CudaDeviceVariable<Byte>)

    CrossCorrFull_NormLevel.

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

    template image.

    NPPImage_32fC3 dst

    Destination image

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at FullNormLevelGetBufferHostSize()

    | Improve this Doc View Source

    CrossCorrSame_Norm(NPPImage_8sC3, NPPImage_32fC3)

    image CrossCorrSame_Norm.

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

    template image.

    NPPImage_32fC3 dst

    Destination-Image

    | Improve this Doc View Source

    CrossCorrSame_NormLevel(NPPImage_8sC3, NPPImage_32fC3)

    CrossCorrSame_NormLevel. Buffer is internally allocated and freed.

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

    template image.

    NPPImage_32fC3 dst

    Destination image

    | Improve this Doc View Source

    CrossCorrSame_NormLevel(NPPImage_8sC3, NPPImage_32fC3, CudaDeviceVariable<Byte>)

    CrossCorrSame_NormLevel.

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

    template image.

    NPPImage_32fC3 dst

    Destination image

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at SameNormLevelGetBufferHostSize()

    | Improve this Doc View Source

    CrossCorrValid_Norm(NPPImage_8sC3, NPPImage_32fC3)

    image CrossCorrValid_Norm.

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

    template image.

    NPPImage_32fC3 dst

    Destination-Image

    | Improve this Doc View Source

    CrossCorrValid_NormLevel(NPPImage_8sC3, NPPImage_32fC3)

    CrossCorrValid_NormLevel. Buffer is internally allocated and freed.

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

    template image.

    NPPImage_32fC3 dst

    Destination image

    | Improve this Doc View Source

    CrossCorrValid_NormLevel(NPPImage_8sC3, NPPImage_32fC3, CudaDeviceVariable<Byte>)

    CrossCorrValid_NormLevel.

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

    template image.

    NPPImage_32fC3 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_C3R.

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

    DotProduct(NPPImage_8sC3, CudaDeviceVariable<Double>)

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

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

    2nd source image

    CudaDeviceVariable<System.Double> pDp

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

    | Improve this Doc View Source

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

    Three-channel 8-bit signed image DotProd.

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

    2nd source image

    CudaDeviceVariable<System.Double> pDp

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

    CudaDeviceVariable<System.Byte> buffer

    Allocated device memory with size of at DotProdGetBufferHostSize()

    | Improve this Doc View Source

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

    convolution filter.

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

    convolution filter.

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

    Three 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_16sC3 dest, CudaDeviceVariable<float> pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_16sC3 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_8uC3, CudaDeviceVariable<Single>, NppiSize, NppiPoint, NppiBorderType)

    Three 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_8uC3 dest, CudaDeviceVariable<float> pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    NPPImage_8uC3 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

    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_8sC3, CudaDeviceVariable<Double>)

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

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

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    | Improve this Doc View Source

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

    image maximum error.

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

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

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

    2nd source image

    CudaDeviceVariable<System.Double> pError

    Pointer to the computed error.

    | Improve this Doc View Source

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

    image maximum relative error.

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

    image mean with 64-bit double precision result

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

    Channel of interest (0,1,2)

    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(Int32, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

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

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

    Channel of interest (0,1,2)

    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(Int32, CudaDeviceVariable<Double>, CudaDeviceVariable<Double>)

    image mean and standard deviation.

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

    Channel of interest (0,1,2)

    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(Int32, CudaDeviceVariable<Double>, CudaDeviceVariable<Double>, CudaDeviceVariable<Byte>)

    image mean and standard deviation. No additional buffer is allocated.

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

    Channel of interest (0,1,2)

    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(Int32, CudaDeviceVariable<Double>, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image mean and standard deviation with mask

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

    Channel of interest (0,1,2)

    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(Int32, CudaDeviceVariable<Double>, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image mean and standard deviation with mask. No additional buffer is allocated.

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

    Channel of interest (0,1,2)

    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(Int32, CudaDeviceVariable<SByte>, CudaDeviceVariable<SByte>, CudaDeviceVariable<NppiPoint>, CudaDeviceVariable<NppiPoint>)

    image minimum and maximum values with their indices

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

    Channel of interest (0,1,2)

    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(Int32, 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(int coi, CudaDeviceVariable<sbyte> min, CudaDeviceVariable<sbyte> max, CudaDeviceVariable<NppiPoint> minIndex, CudaDeviceVariable<NppiPoint> maxIndex, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    System.Int32 coi

    Channel of interest (0,1,2)

    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(Int32, CudaDeviceVariable<SByte>, CudaDeviceVariable<SByte>, CudaDeviceVariable<NppiPoint>, CudaDeviceVariable<NppiPoint>, NPPImage_8uC1)

    image minimum and maximum values with their indices with mask

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

    Channel of interest (0,1,2)

    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(Int32, 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(int coi, CudaDeviceVariable<sbyte> min, CudaDeviceVariable<sbyte> max, CudaDeviceVariable<NppiPoint> minIndex, CudaDeviceVariable<NppiPoint> maxIndex, NPPImage_8uC1 mask, CudaDeviceVariable<byte> buffer)
    Parameters
    Type Name Description
    System.Int32 coi

    Channel of interest (0,1,2)

    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_8sC3, CudaDeviceVariable<Double>, Int32, NPPImage_8uC1)

    image NormDiff_Inf. Buffer is internally allocated and freed.

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

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

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

    System.Int32 nCOI

    channel of interest.

    NPPImage_8uC1 pMask

    Mask image.

    | Improve this Doc View Source

    NormDiff_Inf(NPPImage_8sC3, CudaDeviceVariable<Double>, Int32, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormDiff_Inf.

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

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

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

    System.Int32 nCOI

    channel of interest.

    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_8sC3, CudaDeviceVariable<Double>, Int32, NPPImage_8uC1)

    image NormDiff_L1. Buffer is internally allocated and freed.

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

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

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

    System.Int32 nCOI

    channel of interest.

    NPPImage_8uC1 pMask

    Mask image.

    | Improve this Doc View Source

    NormDiff_L1(NPPImage_8sC3, CudaDeviceVariable<Double>, Int32, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormDiff_L1.

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

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

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

    System.Int32 nCOI

    channel of interest.

    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_8sC3, CudaDeviceVariable<Double>, Int32, NPPImage_8uC1)

    image NormDiff_L2. Buffer is internally allocated and freed.

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

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

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

    System.Int32 nCOI

    channel of interest.

    NPPImage_8uC1 pMask

    Mask image.

    | Improve this Doc View Source

    NormDiff_L2(NPPImage_8sC3, CudaDeviceVariable<Double>, Int32, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormDiff_L2.

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

    template image.

    CudaDeviceVariable<System.Double> pNormDiff

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

    System.Int32 nCOI

    channel of interest.

    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(Int32, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image infinity norm

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

    Channel of interest (0,1,2)

    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(Int32, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image infinity norm. No additional buffer is allocated.

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

    Channel of interest (0,1,2)

    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(Int32, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image L1 norm

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

    Channel of interest (0,1,2)

    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(Int32, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image L1 norm. No additional buffer is allocated.

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

    Channel of interest (0,1,2)

    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(Int32, CudaDeviceVariable<Double>, NPPImage_8uC1)

    image L2 norm

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

    Channel of interest (0,1,2)

    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(Int32, CudaDeviceVariable<Double>, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image L2 norm. No additional buffer is allocated.

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

    Channel of interest (0,1,2)

    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_8sC3, CudaDeviceVariable<Double>, Int32, NPPImage_8uC1)

    image NormRel_Inf. Buffer is internally allocated and freed.

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

    template image.

    CudaDeviceVariable<System.Double> pNormRel

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

    System.Int32 nCOI

    channel of interest.

    NPPImage_8uC1 pMask

    Mask image.

    | Improve this Doc View Source

    NormRel_Inf(NPPImage_8sC3, CudaDeviceVariable<Double>, Int32, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormRel_Inf.

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

    template image.

    CudaDeviceVariable<System.Double> pNormRel

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

    System.Int32 nCOI

    channel of interest.

    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_8sC3, CudaDeviceVariable<Double>, Int32, NPPImage_8uC1)

    image NormRel_L1. Buffer is internally allocated and freed.

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

    template image.

    CudaDeviceVariable<System.Double> pNormRel

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

    System.Int32 nCOI

    channel of interest.

    NPPImage_8uC1 pMask

    Mask image.

    | Improve this Doc View Source

    NormRel_L1(NPPImage_8sC3, CudaDeviceVariable<Double>, Int32, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormRel_L1.

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

    template image.

    CudaDeviceVariable<System.Double> pNormRel

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

    System.Int32 nCOI

    channel of interest.

    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_8sC3, CudaDeviceVariable<Double>, Int32, NPPImage_8uC1)

    image NormRel_L2. Buffer is internally allocated and freed.

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

    template image.

    CudaDeviceVariable<System.Double> pNormRel

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

    System.Int32 nCOI

    channel of interest.

    NPPImage_8uC1 pMask

    Mask image.

    | Improve this Doc View Source

    NormRel_L2(NPPImage_8sC3, CudaDeviceVariable<Double>, Int32, NPPImage_8uC1, CudaDeviceVariable<Byte>)

    image NormRel_L2.

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

    template image.

    CudaDeviceVariable<System.Double> pNormRel

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

    System.Int32 nCOI

    channel of interest.

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

    image bit shift by constant (right).

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

    Constant

    NPPImage_8sC3 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_8sC3, NPPImage_32fC3)

    image SqrDistanceFull_Norm.

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

    template image.

    NPPImage_32fC3 dst

    Destination-Image

    | Improve this Doc View Source

    SqrDistanceSame_Norm(NPPImage_8sC3, NPPImage_32fC3)

    image SqrDistanceSame_Norm.

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

    template image.

    NPPImage_32fC3 dst

    Destination-Image

    | Improve this Doc View Source

    SqrDistanceValid_Norm(NPPImage_8sC3, NPPImage_32fC3)

    image SqrDistanceValid_Norm.

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

    template image.

    NPPImage_32fC3 dst

    Destination-Image

    | Improve this Doc View Source

    ToCudaPitchedDeviceVariable()

    Converts a NPPImage to a CudaPitchedDeviceVariable

    Declaration
    public CudaPitchedDeviceVariable<char3> ToCudaPitchedDeviceVariable()
    Returns
    Type Description
    CudaPitchedDeviceVariable<char3>
    | 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<char3> to NPPImage_8sC3)

    Converts a CudaPitchedDeviceVariable to a NPPImage

    Declaration
    public static implicit operator NPPImage_8sC3(CudaPitchedDeviceVariable<char3> img)
    Parameters
    Type Name Description
    CudaPitchedDeviceVariable<char3> img

    CudaPitchedDeviceVariable

    Returns
    Type Description
    NPPImage_8sC3

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

    | Improve this Doc View Source

    Implicit(NPPImage_8sC3 to CudaPitchedDeviceVariable<char3>)

    Converts a NPPImage to a CudaPitchedDeviceVariable

    Declaration
    public static implicit operator CudaPitchedDeviceVariable<char3>(NPPImage_8sC3 img)
    Parameters
    Type Name Description
    NPPImage_8sC3 img

    NPPImage

    Returns
    Type Description
    CudaPitchedDeviceVariable<char3>

    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