C# Class ManagedCuda.NPP.NPPImage_16sC1

Inheritance: NPPImageBase
Afficher le fichier Open project: kunzmi/managedCuda Class Usage Examples

Méthodes publiques

Méthode Description
Abs ( ) : void

Image absolute value. In place.

Abs ( NPPImage_16sC1 dest ) : void

Image absolute value.

Add ( NPPImage_16sC1 src2, NPPImage_16sC1 dest, int nScaleFactor ) : void

Image addition, scale by 2^(-nScaleFactor), then clamp to saturated value.

Add ( NPPImage_16sC1 src2, int nScaleFactor ) : void

In place image addition, scale by 2^(-nScaleFactor), then clamp to saturated value.

Add ( short nConstant, NPPImage_16sC1 dest, int nScaleFactor ) : void

Add constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.

Add ( short nConstant, int nScaleFactor ) : void

Add constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.

AlphaComp ( short alpha1, NPPImage_16sC1 src2, short alpha2, NPPImage_16sC1 dest, NppiAlphaOp nppAlphaOp ) : void

Image composition using constant alpha.

AverageError ( NPPImage_16sC1 src2, CudaDeviceVariable pError ) : void

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

AverageError ( NPPImage_16sC1 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void

image average error.

AverageErrorGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for AverageError.

AverageRelativeError ( NPPImage_16sC1 src2, CudaDeviceVariable pError ) : void

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

AverageRelativeError ( NPPImage_16sC1 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void

image average relative error.

AverageRelativeErrorGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for AverageRelativeError.

ColorTwist ( NPPImage_16sC1 dest, float twistMatrix ) : void

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

ColorTwist ( float aTwist ) : void

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

Compare ( NPPImage_16sC1 src2, ManagedCuda.NPP.NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void

Compare pSrc1's pixels with corresponding pixels in pSrc2.

Compare ( short nConstant, ManagedCuda.NPP.NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void

Compare pSrc's pixels with constant value.

Convert ( NPPImage_16uC1 dst ) : void

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

Convert ( NPPImage_32fC1 dst ) : void

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

Convert ( ManagedCuda.NPP.NPPImage_32sC1 dst ) : void

16-bit signed to 32-bit signed conversion.

Convert ( ManagedCuda.NPP.NPPImage_32uC1 dst ) : void

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

Convert ( ManagedCuda.NPP.NPPImage_8sC1 dst, NppRoundMode roundMode, int scaleFactor ) : void

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

Convert ( ManagedCuda.NPP.NPPImage_8uC1 dst ) : void

16-bit signed to 8-bit unsigned conversion.

Copy ( NPPImage_16sC1 dst ) : void

Image copy.

Copy ( NPPImage_16sC1 dst, ManagedCuda.NPP.NPPImage_8uC1 mask ) : void

Masked Operation 8-bit unsigned image copy.

Copy ( NPPImage_16sC1 dst, int nTopBorderHeight, int nLeftBorderWidth, short nValue ) : void

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

Copy ( NPPImage_16sC3 dst, int channel ) : void

Image copy.

Copy ( ManagedCuda.NPP.NPPImage_16sC4 dst, int channel ) : void

Image copy.

CopyReplicateBorder ( NPPImage_16sC1 dst, int nTopBorderHeight, int nLeftBorderWidth ) : void

image copy with nearest source image pixel color.

CopySubpix ( NPPImage_16sC1 dst, float nDx, float nDy ) : void

linearly interpolated source image subpixel coordinate color copy.

CopyWrapBorder ( NPPImage_16sC1 dst, int nTopBorderHeight, int nLeftBorderWidth ) : void

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

Div ( NPPImage_16sC1 src2, NPPImage_16sC1 dest, NppRoundMode rndMode, int nScaleFactor ) : void

Image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

Div ( NPPImage_16sC1 src2, NPPImage_16sC1 dest, int nScaleFactor ) : void

Image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

Div ( NPPImage_16sC1 src2, NppRoundMode rndMode, int nScaleFactor ) : void

In place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

Div ( NPPImage_16sC1 src2, int nScaleFactor ) : void

In place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.

Div ( short nConstant, NPPImage_16sC1 dest, int nScaleFactor ) : void

Divide constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.

Div ( short nConstant, int nScaleFactor ) : void

Divide constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.

DotProdGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for nppiDotProd_16s64f_C1R.

DotProduct ( NPPImage_16sC1 src2, CudaDeviceVariable pDp ) : void

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

DotProduct ( NPPImage_16sC1 src2, CudaDeviceVariable pDp, CudaDeviceVariable buffer ) : void

One-channel 16-bit signed image DotProd.

Dup ( NPPImage_16sC3 dst ) : void

source image duplicated in all 3 channels of destination image.

Dup ( ManagedCuda.NPP.NPPImage_16sC4 dst ) : void

source image duplicated in all 4 channels of destination image.

DupA ( ManagedCuda.NPP.NPPImage_16sC4 dst ) : void

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

EvenLevels ( int nLevels, int nLowerBound, int nUpperBound ) : int[]

Compute levels with even distribution.

Exp ( NPPImage_16sC1 dest, int nScaleFactor ) : void

Exponential, scale by 2^(-nScaleFactor), then clamp to saturated value.

Exp ( int nScaleFactor ) : void

Inplace exponential, scale by 2^(-nScaleFactor), then clamp to saturated value.

Filter ( NPPImage_16sC1 dst, CudaDeviceVariable pKernel, NppiSize oKernelSize, NppiPoint oAnchor ) : void

convolution filter.

Filter ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, NppiSize aKernelSize, NppiPoint oAnchor, int nDivisor ) : void

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.

FilterBorder ( NPPImage_16sC1 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void

One channel 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.

FilterBorder ( NPPImage_16sC1 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, int nDivisor, NppiBorderType eBorderType ) : void

One channel 16-bit signed convolution filter with border control. General purpose 2D convolution filter 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.

FilterBox ( NPPImage_16sC1 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void

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

FilterBoxBorder ( NPPImage_16sC1 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void

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

FilterColumn ( NPPImage_16sC1 dst, CudaDeviceVariable pKernel, int nAnchor ) : void

1D column convolution.

FilterColumn ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, int nKernelSize, int nAnchor, int nDivisor ) : void

Apply convolution filter with user specified 1D column of weights. Result pixel is equal to the sum of the products between the kernel coefficients (pKernel array) and corresponding neighboring column pixel values in the source image defined by nKernelDim and nAnchorY, divided by nDivisor.

FilterColumnBorder ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, int nAnchor, NppiBorderType eBorderType ) : void

General purpose 1D convolution column filter with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.

FilterColumnBorder ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, int nAnchor, int nDivisor, NppiBorderType eBorderType ) : void

General purpose 1D convolution column filter with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. 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.

FilterGauss ( NPPImage_16sC1 dst, CudaDeviceVariable Kernel ) : void

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

FilterGauss ( NPPImage_16sC1 dst, MaskSize eMaskSize ) : void

Gauss filter.

FilterGaussBorder ( NPPImage_16sC1 dst, CudaDeviceVariable Kernel, NppiBorderType eBorderType ) : void

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

FilterGaussBorder ( NPPImage_16sC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType ) : void

Filters the image using a Gaussian filter kernel with border control: 1/16 2/16 1/16 2/16 4/16 2/16 1/16 2/16 1/16 or 2/571 7/571 12/571 7/571 2/571 7/571 31/571 52/571 31/571 7/571 12/571 52/571 127/571 52/571 12/571 7/571 31/571 52/571 31/571 7/571 2/571 7/571 12/571 7/571 2/571

FilterHighPass ( NPPImage_16sC1 dst, MaskSize eMaskSize ) : void

High pass filter.

FilterHighPassBorder ( NPPImage_16sC1 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void

High pass filter.

FilterLaplace ( NPPImage_16sC1 dst, MaskSize eMaskSize ) : void

Laplace filter.

FilterLaplaceBorder ( NPPImage_16sC1 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void

Laplace filter.

FilterLowPass ( NPPImage_16sC1 dst, MaskSize eMaskSize ) : void

Low pass filter.

FilterLowPassBorder ( NPPImage_16sC1 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void

Low pass filter.

FilterMax ( NPPImage_16sC1 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void

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

FilterMaxBorder ( NPPImage_16sC1 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void

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

FilterMedian ( NPPImage_16sC1 dst, NppiSize oMaskSize, NppiPoint oAnchor ) : void

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

FilterMedian ( NPPImage_16sC1 dst, NppiSize oMaskSize, NppiPoint oAnchor, CudaDeviceVariable buffer ) : void

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

FilterMedianGetBufferHostSize ( NppiSize oMaskSize ) : int

Device scratch buffer size (in bytes) for FilterMedian.

FilterMin ( NPPImage_16sC1 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void

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

FilterMinBorder ( NPPImage_16sC1 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void

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

FilterPrewittHoriz ( NPPImage_16sC1 dst ) : void

horizontal Prewitt filter.

FilterPrewittHorizBorder ( NPPImage_16sC1 dst, NppiBorderType eBorderType ) : void

horizontal Prewitt filter.

FilterPrewittVert ( NPPImage_16sC1 dst ) : void

vertical Prewitt filter.

FilterPrewittVertBorder ( NPPImage_16sC1 dst, NppiBorderType eBorderType ) : void

vertical Prewitt filter.

FilterRobertsDown ( NPPImage_16sC1 dst ) : void

horizontal Roberts filter.

FilterRobertsDownBorder ( NPPImage_16sC1 dst, NppiBorderType eBorderType ) : void

horizontal Roberts filter.

FilterRobertsUp ( NPPImage_16sC1 dst ) : void

vertical Roberts filter..

FilterRobertsUpBorder ( NPPImage_16sC1 dst, NppiBorderType eBorderType ) : void

vertical Roberts filter.

FilterRow ( NPPImage_16sC1 dst, CudaDeviceVariable pKernel, int nAnchor ) : void

1D row convolution.

FilterRow ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, int nKernelSize, int nAnchor, int nDivisor ) : void

Apply general linear Row convolution filter, with rescaling, in a 1D mask region around each source pixel. Result pixel is equal to the sum of the products between the kernel coefficients (pKernel array) and corresponding neighboring row pixel values in the source image defined by iKernelDim and iAnchorX, divided by iDivisor.

FilterRowBorder ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, int nAnchor, NppiBorderType eBorderType ) : void

General purpose 1D convolution row filter with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.

FilterRowBorder ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, int nKernelSize, int nAnchor, int nDivisor, NppiBorderType eBorderType ) : void

Apply general linear Row convolution filter, with rescaling, in a 1D mask region around each source pixel with border control. Result pixel is equal to the sum of the products between the kernel coefficients (pKernel array) and corresponding neighboring row pixel values in the source image defined by iKernelDim and iAnchorX, divided by iDivisor.

FilterSharpen ( NPPImage_16sC1 dst ) : void

Sharpen filter.

FilterSharpenBorder ( NPPImage_16sC1 dst, NppiBorderType eBorderType ) : void

Sharpen filter.

FilterSobelHorizBorder ( NPPImage_16sC1 dest, NppiBorderType eBorderType ) : void

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

FilterSobelVert ( NPPImage_16sC1 dst ) : void

vertical Sobel filter.

FilterSobelVertBorder ( NPPImage_16sC3 dest, NppiBorderType eBorderType ) : void

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

FilterUnsharpBorder ( NPPImage_16sC1 dst, float nRadius, float nSigma, float nWeight, float nThreshold, NppiBorderType eBorderType, CudaDeviceVariable buffer ) : void

Filters the image using a unsharp-mask sharpening filter kernel with border control. The algorithm involves the following steps: Smooth the original image with a Gaussian filter, with the width controlled by the nRadius. Subtract the smoothed image from the original to create a high-pass filtered image. Apply any clipping needed on the high-pass image, as controlled by the nThreshold. Add a certain percentage of the high-pass filtered image to the original image, with the percentage controlled by the nWeight. In pseudocode this algorithm can be written as: HighPass = Image - Gaussian(Image) Result = Image + nWeight * HighPass * ( |HighPass| >= nThreshold ) where nWeight is the amount, nThreshold is the threshold, and >= indicates a Boolean operation, 1 if true, or 0 otherwise. If any portion of the mask overlaps the source image boundary, the requested border type operation is applied to all mask pixels which fall outside of the source image.

FilterUnsharpGetBufferSize ( float nRadius, float nSigma ) : int

Scratch-buffer size for unsharp filter.

GradientVectorPrewittBorder ( NPPImage_32fC1 destX, NPPImage_32fC1 destY, NPPImage_32fC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType ) : void

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

GradientVectorScharrBorder ( NPPImage_32fC1 destX, NPPImage_32fC1 destY, NPPImage_32fC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType ) : void

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

GradientVectorSobelBorder ( NPPImage_32fC1 destX, NPPImage_32fC1 destY, NPPImage_32fC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType ) : void

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

HistogramEven ( CudaDeviceVariable histogram, int nLowerLevel, int nUpperLevel ) : void

Histogram with evenly distributed bins. Buffer is internally allocated and freed.

HistogramEven ( CudaDeviceVariable histogram, int nLowerLevel, int nUpperLevel, CudaDeviceVariable buffer ) : void

Histogram with evenly distributed bins. No additional buffer is allocated.

HistogramEvenGetBufferSize ( int nLevels ) : int

Scratch-buffer size for HistogramEven.

HistogramRange ( CudaDeviceVariable histogram, CudaDeviceVariable pLevels ) : void

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

HistogramRange ( CudaDeviceVariable histogram, CudaDeviceVariable pLevels, CudaDeviceVariable buffer ) : void

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

HistogramRangeGetBufferSize ( int nLevels ) : int

Scratch-buffer size for HistogramRange.

LUT ( CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void

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

LUT ( NPPImage_16sC1 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void

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

LUTCubic ( CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void

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

LUTCubic ( NPPImage_16sC1 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void

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

LUTLinear ( CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void

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

LUTLinear ( NPPImage_16sC1 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void

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

Ln ( NPPImage_16sC1 dest, int nScaleFactor ) : void

Natural logarithm, scale by 2^(-nScaleFactor), then clamp to saturated value.

Ln ( int nScaleFactor ) : void

Natural logarithm, scale by 2^(-nScaleFactor), then clamp to saturated value.

Max ( CudaDeviceVariable max ) : void

Image pixel maximum. Buffer is internally allocated and freed.

Max ( CudaDeviceVariable max, CudaDeviceVariable buffer ) : void

Image pixel maximum. No additional buffer is allocated.

MaxError ( NPPImage_16sC1 src2, CudaDeviceVariable pError ) : void

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

MaxError ( NPPImage_16sC1 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void

image maximum error.

MaxErrorGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for MaxError.

MaxEvery ( NPPImage_16sC1 src2 ) : void

image MaxEvery

MaxGetBufferHostSize ( ) : int

Scratch-buffer size for Max.

MaxIndex ( CudaDeviceVariable max, CudaDeviceVariable indexX, CudaDeviceVariable indexY ) : void

Image pixel maximum. Buffer is internally allocated and freed.

MaxIndex ( CudaDeviceVariable max, CudaDeviceVariable indexX, CudaDeviceVariable indexY, CudaDeviceVariable buffer ) : void

Image pixel minimum. No additional buffer is allocated.

MaxIndexGetBufferHostSize ( ) : int

Scratch-buffer size for MaxIndex.

MaximumRelativeError ( NPPImage_16sC1 src2, CudaDeviceVariable pError ) : void

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

MaximumRelativeError ( NPPImage_16sC1 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void

image maximum relative error.

MaximumRelativeErrorGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for MaximumRelativeError.

Mean ( CudaDeviceVariable mean ) : void

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

Mean ( CudaDeviceVariable mean, CudaDeviceVariable buffer ) : void

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

MeanGetBufferHostSize ( ) : int

Scratch-buffer size for Mean.

Min ( CudaDeviceVariable min ) : void

Image pixel minimum. Buffer is internally allocated and freed.

Min ( CudaDeviceVariable min, CudaDeviceVariable buffer ) : void

Image pixel minimum. No additional buffer is allocated.

MinEvery ( NPPImage_16sC1 src2 ) : void

image MinEvery

MinGetBufferHostSize ( ) : int

Scratch-buffer size for Min.

MinIndex ( CudaDeviceVariable min, CudaDeviceVariable indexX, CudaDeviceVariable indexY ) : void

Image pixel minimum. Buffer is internally allocated and freed.

MinIndex ( CudaDeviceVariable min, CudaDeviceVariable indexX, CudaDeviceVariable indexY, CudaDeviceVariable buffer ) : void

Image pixel minimum. No additional buffer is allocated.

MinIndexGetBufferHostSize ( ) : int

Scratch-buffer size for MinIndex.

MinMax ( CudaDeviceVariable min, CudaDeviceVariable max ) : void

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

MinMax ( CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable buffer ) : void

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

MinMaxGetBufferHostSize ( ) : int

Scratch-buffer size for MinMax.

Mirror ( NPPImage_16sC1 dest, NppiAxis flip ) : void

Mirror image.

Mirror ( NppiAxis flip ) : void

Mirror image inplace.

Mul ( NPPImage_16sC1 src2, NPPImage_16sC1 dest, int nScaleFactor ) : void

Image multiplication, scale by 2^(-nScaleFactor), then clamp to saturated value.

Mul ( NPPImage_16sC1 src2, int nScaleFactor ) : void

In place image multiplication, scale by 2^(-nScaleFactor), then clamp to saturated value.

Mul ( short nConstant, NPPImage_16sC1 dest, int nScaleFactor ) : void

Multiply constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.

Mul ( short nConstant, int nScaleFactor ) : void

Multiply constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.

NPPImage_16sC1 ( ManagedCuda.BasicTypes.CUdeviceptr devPtr, NppiSize size, int pitch ) : System

Creates a new NPPImage from allocated device ptr.

NPPImage_16sC1 ( ManagedCuda.BasicTypes.CUdeviceptr devPtr, NppiSize size, int pitch, bool isOwner ) : System

Creates a new NPPImage from allocated device ptr.

NPPImage_16sC1 ( ManagedCuda.BasicTypes.CUdeviceptr devPtr, int width, int height, int pitch ) : System

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

NPPImage_16sC1 ( ManagedCuda.BasicTypes.CUdeviceptr devPtr, int width, int height, int pitch, bool isOwner ) : System

Creates a new NPPImage from allocated device ptr.

NPPImage_16sC1 ( NPPImageBase image ) : System

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

NPPImage_16sC1 ( NppiSize size ) : System

Allocates new memory on device using NPP-Api.

NPPImage_16sC1 ( int nWidthPixels, int nHeightPixels ) : System

Allocates new memory on device using NPP-Api.

NormDiffInfGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_Inf.

NormDiffL1GetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_L1.

NormDiffL2GetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_L2.

NormDiff_Inf ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_Inf. Buffer is internally allocated and freed.

NormDiff_Inf ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void

image NormDiff_Inf.

NormDiff_L1 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_L1. Buffer is internally allocated and freed.

NormDiff_L1 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void

image NormDiff_L1.

NormDiff_L2 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_L2. Buffer is internally allocated and freed.

NormDiff_L2 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void

image NormDiff_L2.

NormInf ( CudaDeviceVariable norm ) : void

image infinity norm. Buffer is internally allocated and freed.

NormInf ( CudaDeviceVariable norm, CudaDeviceVariable buffer ) : void

image infinity norm. No additional buffer is allocated.

NormInfGetBufferHostSize ( ) : int

Scratch-buffer size for Norm inf.

NormL1 ( CudaDeviceVariable norm ) : void

image L1 norm. Buffer is internally allocated and freed.

NormL1 ( CudaDeviceVariable norm, CudaDeviceVariable buffer ) : void

image L1 norm. No additional buffer is allocated.

NormL1GetBufferHostSize ( ) : int

Scratch-buffer size for Norm L1.

NormL2 ( CudaDeviceVariable norm ) : void

image L2 norm. Buffer is internally allocated and freed.

NormL2 ( CudaDeviceVariable norm, CudaDeviceVariable buffer ) : void

image L2 norm. No additional buffer is allocated.

NormL2GetBufferHostSize ( ) : int

Scratch-buffer size for Norm L2.

NormRelInfGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_Inf.

NormRelL1GetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_L1.

NormRelL2GetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_L2.

NormRel_Inf ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_Inf. Buffer is internally allocated and freed.

NormRel_Inf ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormRel, CudaDeviceVariable buffer ) : void

image NormRel_Inf.

NormRel_L1 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_L1. Buffer is internally allocated and freed.

NormRel_L1 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormRel, CudaDeviceVariable buffer ) : void

image NormRel_L1.

NormRel_L2 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_L2. Buffer is internally allocated and freed.

NormRel_L2 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormRel, CudaDeviceVariable buffer ) : void

image NormRel_L2.

RShiftC ( uint nConstant ) : void

image bit shift by constant (right), inplace.

RShiftC ( uint nConstant, NPPImage_16sC1 dest ) : void

image bit shift by constant (right).

Remap ( NPPImage_16sC1 dst, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation ) : void

image remap.

ResizeSqrPixel ( NPPImage_16sC1 dst, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation ) : void

image resize.

Scale ( ManagedCuda.NPP.NPPImage_8uC1 dst, NppHintAlgorithm hint ) : void

image conversion.

Set ( short nValue ) : void

Set pixel values to nValue.

Set ( short nValue, ManagedCuda.NPP.NPPImage_8uC1 mask ) : void

Set pixel values to nValue. The 8-bit mask image affects setting of the respective pixels in the destination image. If the mask value is zero (0) the pixel is not set, if the mask is non-zero, the corresponding destination pixel is set to specified value.

SobelHoriz ( NPPImage_16sC1 dst ) : void

horizontal Sobel filter.

Sqr ( NPPImage_16sC1 dest, int nScaleFactor ) : void

Image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Sqr ( int nScaleFactor ) : void

Inplace image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.

Sqrt ( NPPImage_16sC1 dest, int nScaleFactor ) : void

Image square root, scale by 2^(-nScaleFactor), then clamp to saturated value.

Sqrt ( int nScaleFactor ) : void

Inplace image square root, scale by 2^(-nScaleFactor), then clamp to saturated value.

Sub ( NPPImage_16sC1 src2, NPPImage_16sC1 dest, int nScaleFactor ) : void

Image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Sub ( NPPImage_16sC1 src2, int nScaleFactor ) : void

In place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Sub ( short nConstant, NPPImage_16sC1 dest, int nScaleFactor ) : void

Subtract constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.

Sub ( short nConstant, int nScaleFactor ) : void

Subtract constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.

Sum ( CudaDeviceVariable result ) : void

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

Sum ( CudaDeviceVariable result, CudaDeviceVariable buffer ) : void

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

SumGetBufferHostSize ( ) : int

Scratch-buffer size for nppiSum_16s_C1R.

SumWindowColumn ( NPPImage_32fC1 dest, int nMaskSize, int nAnchor ) : void

16-bit signed 1D (column) sum to 32f. Apply Column Window Summation filter over a 1D mask region around each source pixel for 1-channel 16 bit/pixel input images with 32-bit floating point output. Result 32-bit floating point pixel is equal to the sum of the corresponding and neighboring column pixel values in a mask region of the source image defined by nMaskSize and nAnchor.

SumWindowColumnBorder ( NPPImage_32fC1 dest, int nMaskSize, int nAnchor, NppiBorderType eBorderType ) : void

Apply Column Window Summation filter over a 1D mask region around each source pixel for 1-channel 8 bit/pixel input images with 32-bit floating point output. Result 32-bit floating point pixel is equal to the sum of the corresponding and neighboring column pixel values in a mask region of the source image defined by nMaskSize and nAnchor.

SumWindowRow ( NPPImage_32fC1 dest, int nMaskSize, int nAnchor ) : void

16-bit signed 1D (row) sum to 32f. Apply Row Window Summation filter over a 1D mask region around each source pixel for 1-channel 16-bit pixel input images with 32-bit floating point output. Result 32-bit floating point pixel is equal to the sum of the corresponding and neighboring row pixel values in a mask region of the source image defined by nKernelDim and nAnchorX.

SumWindowRowBorder ( NPPImage_32fC1 dest, int nMaskSize, int nAnchor, NppiBorderType eBorderType ) : void

Apply Row Window Summation filter over a 1D mask region around each source pixel for 1-channel 8-bit pixel input images with 32-bit floating point output. Result 32-bit floating point pixel is equal to the sum of the corresponding and neighboring row pixel values in a mask region of the source image defined by nKernelDim and nAnchorX.

Threshold ( NPPImage_16sC1 dest, short nThreshold, NppCmpOp eComparisonOperation ) : void

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

Threshold ( NPPImage_16sC1 dest, short nThreshold, short nValue, NppCmpOp eComparisonOperation ) : void

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

Threshold ( short nThreshold, NppCmpOp eComparisonOperation ) : void

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

Threshold ( short nThreshold, short nValue, NppCmpOp eComparisonOperation ) : void

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

ThresholdGT ( NPPImage_16sC1 dest, short nThreshold ) : void

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

ThresholdGT ( NPPImage_16sC1 dest, short nThreshold, short nValue ) : void

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

ThresholdGT ( short nThreshold ) : void

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

ThresholdGT ( short nThreshold, short nValue ) : void

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

ThresholdLT ( NPPImage_16sC1 dest, short nThreshold ) : void

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

ThresholdLT ( NPPImage_16sC1 dest, short nThreshold, short nValue ) : void

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

ThresholdLT ( short nThreshold ) : void

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

ThresholdLT ( short nThreshold, short nValue ) : void

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

ThresholdLTGT ( NPPImage_16sC1 dest, short nThresholdLT, short nValueLT, short nThresholdGT, short nValueGT ) : void

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

ThresholdLTGT ( short nThresholdLT, short nValueLT, short nThresholdGT, short nValueGT ) : void

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

ToCudaPitchedDeviceVariable ( ) : CudaPitchedDeviceVariable

Converts a NPPImage to a CudaPitchedDeviceVariable

Transpose ( NPPImage_16sC1 dest ) : void

image transpose

Method Details

Abs() public méthode

Image absolute value. In place.
public Abs ( ) : void
Résultat void

Abs() public méthode

Image absolute value.
public Abs ( NPPImage_16sC1 dest ) : void
dest NPPImage_16sC1 Destination image
Résultat void

Add() public méthode

Image addition, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Add ( NPPImage_16sC1 src2, NPPImage_16sC1 dest, int nScaleFactor ) : void
src2 NPPImage_16sC1 2nd source image
dest NPPImage_16sC1 Destination image
nScaleFactor int scaling factor
Résultat void

Add() public méthode

In place image addition, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Add ( NPPImage_16sC1 src2, int nScaleFactor ) : void
src2 NPPImage_16sC1 2nd source image
nScaleFactor int scaling factor
Résultat void

Add() public méthode

Add constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Add ( short nConstant, NPPImage_16sC1 dest, int nScaleFactor ) : void
nConstant short Value to add
dest NPPImage_16sC1 Destination image
nScaleFactor int scaling factor
Résultat void

Add() public méthode

Add constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.
public Add ( short nConstant, int nScaleFactor ) : void
nConstant short Value to add
nScaleFactor int scaling factor
Résultat void

AlphaComp() public méthode

Image composition using constant alpha.
public AlphaComp ( short alpha1, NPPImage_16sC1 src2, short alpha2, NPPImage_16sC1 dest, NppiAlphaOp nppAlphaOp ) : void
alpha1 short constant alpha for this image
src2 NPPImage_16sC1 2nd source image
alpha2 short constant alpha for src2
dest NPPImage_16sC1 Destination image
nppAlphaOp NppiAlphaOp alpha compositing operation
Résultat void

AverageError() public méthode

image average error. User buffer is internally allocated and freed.
public AverageError ( NPPImage_16sC1 src2, CudaDeviceVariable pError ) : void
src2 NPPImage_16sC1 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
Résultat void

AverageError() public méthode

image average error.
public AverageError ( NPPImage_16sC1 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void
src2 NPPImage_16sC1 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
buffer CudaDeviceVariable Pointer to the user-allocated scratch buffer required for the AverageError operation.
Résultat void

AverageErrorGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for AverageError.
public AverageErrorGetBufferHostSize ( ) : int
Résultat int

AverageRelativeError() public méthode

image average relative error. User buffer is internally allocated and freed.
public AverageRelativeError ( NPPImage_16sC1 src2, CudaDeviceVariable pError ) : void
src2 NPPImage_16sC1 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
Résultat void

AverageRelativeError() public méthode

image average relative error.
public AverageRelativeError ( NPPImage_16sC1 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void
src2 NPPImage_16sC1 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
buffer CudaDeviceVariable Pointer to the user-allocated scratch buffer required for the AverageRelativeError operation.
Résultat void

AverageRelativeErrorGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for AverageRelativeError.
public AverageRelativeErrorGetBufferHostSize ( ) : int
Résultat int

ColorTwist() public méthode

An input color twist matrix with floating-point pixel values is applied within ROI.
public ColorTwist ( NPPImage_16sC1 dest, float twistMatrix ) : void
dest NPPImage_16sC1 Destination image
twistMatrix float The color twist matrix with floating-point pixel values [3,4].
Résultat void

ColorTwist() public méthode

in place color twist. An input color twist matrix with floating-point coefficient values is applied within ROI.
public ColorTwist ( float aTwist ) : void
aTwist float The color twist matrix with floating-point coefficient values. [3,4]
Résultat void

Compare() public méthode

Compare pSrc1's pixels with corresponding pixels in pSrc2.
public Compare ( NPPImage_16sC1 src2, ManagedCuda.NPP.NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void
src2 NPPImage_16sC1 2nd source image
dest ManagedCuda.NPP.NPPImage_8uC1 Destination image
eComparisonOperation NppCmpOp Specifies the comparison operation to be used in the pixel comparison.
Résultat void

Compare() public méthode

Compare pSrc's pixels with constant value.
public Compare ( short nConstant, ManagedCuda.NPP.NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void
nConstant short constant value
dest ManagedCuda.NPP.NPPImage_8uC1 Destination image
eComparisonOperation NppCmpOp Specifies the comparison operation to be used in the pixel comparison.
Résultat void

Convert() public méthode

16-bit signed to 16-bit unsigned conversion with saturation.
public Convert ( NPPImage_16uC1 dst ) : void
dst NPPImage_16uC1 Destination image
Résultat void

Convert() public méthode

16-bit signed to 32-bit floating point conversion.
public Convert ( NPPImage_32fC1 dst ) : void
dst NPPImage_32fC1 Destination image
Résultat void

Convert() public méthode

16-bit signed to 32-bit signed conversion.
public Convert ( ManagedCuda.NPP.NPPImage_32sC1 dst ) : void
dst ManagedCuda.NPP.NPPImage_32sC1 Destination image
Résultat void

Convert() public méthode

16-bit signed to 32-bit unsigned conversion with saturation.
public Convert ( ManagedCuda.NPP.NPPImage_32uC1 dst ) : void
dst ManagedCuda.NPP.NPPImage_32uC1 Destination image
Résultat void

Convert() public méthode

16-bit signed to 8-bit signed conversion with saturation.
public Convert ( ManagedCuda.NPP.NPPImage_8sC1 dst, NppRoundMode roundMode, int scaleFactor ) : void
dst ManagedCuda.NPP.NPPImage_8sC1 Destination image
roundMode NppRoundMode Round mode
scaleFactor int scaling factor
Résultat void

Convert() public méthode

16-bit signed to 8-bit unsigned conversion.
public Convert ( ManagedCuda.NPP.NPPImage_8uC1 dst ) : void
dst ManagedCuda.NPP.NPPImage_8uC1 Destination image
Résultat void

Copy() public méthode

Image copy.
public Copy ( NPPImage_16sC1 dst ) : void
dst NPPImage_16sC1 Destination image
Résultat void

Copy() public méthode

Masked Operation 8-bit unsigned image copy.
public Copy ( NPPImage_16sC1 dst, ManagedCuda.NPP.NPPImage_8uC1 mask ) : void
dst NPPImage_16sC1 Destination image
mask ManagedCuda.NPP.NPPImage_8uC1 Mask image
Résultat void

Copy() public méthode

Copy image and pad borders with a constant, user-specifiable color.
public Copy ( NPPImage_16sC1 dst, int nTopBorderHeight, int nLeftBorderWidth, short nValue ) : void
dst NPPImage_16sC1 Destination image. The image ROI defines the destination region, i.e. the region that gets filled with data from /// the source image (inner part) and constant border color (outer part).
nTopBorderHeight int Height (in pixels) of the top border. The height of the border at the bottom of /// the destination ROI is implicitly defined by the size of the source ROI: nBottomBorderHeight = /// oDstSizeROI.height - nTopBorderHeight - oSrcSizeROI.height.
nLeftBorderWidth int Width (in pixels) of the left border. The width of the border at the right side of /// the destination ROI is implicitly defined by the size of the source ROI: nRightBorderWidth = /// oDstSizeROI.width - nLeftBorderWidth - oSrcSizeROI.width.
nValue short The pixel value to be set for border pixels.
Résultat void

Copy() public méthode

Image copy.
public Copy ( NPPImage_16sC3 dst, int channel ) : void
dst NPPImage_16sC3 Destination image
channel int Channel number. This number is added to the dst pointer
Résultat void

Copy() public méthode

Image copy.
public Copy ( ManagedCuda.NPP.NPPImage_16sC4 dst, int channel ) : void
dst ManagedCuda.NPP.NPPImage_16sC4 Destination image
channel int Channel number. This number is added to the dst pointer
Résultat void

CopyReplicateBorder() public méthode

image copy with nearest source image pixel color.
public CopyReplicateBorder ( NPPImage_16sC1 dst, int nTopBorderHeight, int nLeftBorderWidth ) : void
dst NPPImage_16sC1 Destination-Image
nTopBorderHeight int Height (in pixels) of the top border. The height of the border at the bottom of /// the destination ROI is implicitly defined by the size of the source ROI: nBottomBorderHeight = /// oDstSizeROI.height - nTopBorderHeight - oSrcSizeROI.height.
nLeftBorderWidth int Width (in pixels) of the left border. The width of the border at the right side of /// the destination ROI is implicitly defined by the size of the source ROI: nRightBorderWidth = /// oDstSizeROI.width - nLeftBorderWidth - oSrcSizeROI.width.
Résultat void

CopySubpix() public méthode

linearly interpolated source image subpixel coordinate color copy.
public CopySubpix ( NPPImage_16sC1 dst, float nDx, float nDy ) : void
dst NPPImage_16sC1 Destination-Image
nDx float Fractional part of source image X coordinate.
nDy float Fractional part of source image Y coordinate.
Résultat void

CopyWrapBorder() public méthode

image copy with the borders wrapped by replication of source image pixel colors.
public CopyWrapBorder ( NPPImage_16sC1 dst, int nTopBorderHeight, int nLeftBorderWidth ) : void
dst NPPImage_16sC1 Destination-Image
nTopBorderHeight int Height (in pixels) of the top border. The height of the border at the bottom of /// the destination ROI is implicitly defined by the size of the source ROI: nBottomBorderHeight = /// oDstSizeROI.height - nTopBorderHeight - oSrcSizeROI.height.
nLeftBorderWidth int Width (in pixels) of the left border. The width of the border at the right side of /// the destination ROI is implicitly defined by the size of the source ROI: nRightBorderWidth = /// oDstSizeROI.width - nLeftBorderWidth - oSrcSizeROI.width.
Résultat void

Div() public méthode

Image division, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Div ( NPPImage_16sC1 src2, NPPImage_16sC1 dest, NppRoundMode rndMode, int nScaleFactor ) : void
src2 NPPImage_16sC1 2nd source image
dest NPPImage_16sC1 Destination image
rndMode NppRoundMode Result Rounding mode to be used
nScaleFactor int scaling factor
Résultat void

Div() public méthode

Image division, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Div ( NPPImage_16sC1 src2, NPPImage_16sC1 dest, int nScaleFactor ) : void
src2 NPPImage_16sC1 2nd source image
dest NPPImage_16sC1 Destination image
nScaleFactor int scaling factor
Résultat void

Div() public méthode

In place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Div ( NPPImage_16sC1 src2, NppRoundMode rndMode, int nScaleFactor ) : void
src2 NPPImage_16sC1 2nd source image
rndMode NppRoundMode Result Rounding mode to be used
nScaleFactor int scaling factor
Résultat void

Div() public méthode

In place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Div ( NPPImage_16sC1 src2, int nScaleFactor ) : void
src2 NPPImage_16sC1 2nd source image
nScaleFactor int scaling factor
Résultat void

Div() public méthode

Divide constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Div ( short nConstant, NPPImage_16sC1 dest, int nScaleFactor ) : void
nConstant short Value
dest NPPImage_16sC1 Destination image
nScaleFactor int scaling factor
Résultat void

Div() public méthode

Divide constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.
public Div ( short nConstant, int nScaleFactor ) : void
nConstant short Value
nScaleFactor int scaling factor
Résultat void

DotProdGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for nppiDotProd_16s64f_C1R.
public DotProdGetBufferHostSize ( ) : int
Résultat int

DotProduct() public méthode

One-channel 16-bit signed image DotProd. Buffer is internally allocated and freed.
public DotProduct ( NPPImage_16sC1 src2, CudaDeviceVariable pDp ) : void
src2 NPPImage_16sC1 2nd source image
pDp CudaDeviceVariable Pointer to the computed dot product of the two images. (1 * sizeof(double))
Résultat void

DotProduct() public méthode

One-channel 16-bit signed image DotProd.
public DotProduct ( NPPImage_16sC1 src2, CudaDeviceVariable pDp, CudaDeviceVariable buffer ) : void
src2 NPPImage_16sC1 2nd source image
pDp CudaDeviceVariable Pointer to the computed dot product of the two images. (1 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

Dup() public méthode

source image duplicated in all 3 channels of destination image.
public Dup ( NPPImage_16sC3 dst ) : void
dst NPPImage_16sC3 Destination-Image
Résultat void

Dup() public méthode

source image duplicated in all 4 channels of destination image.
public Dup ( ManagedCuda.NPP.NPPImage_16sC4 dst ) : void
dst ManagedCuda.NPP.NPPImage_16sC4 Destination-Image
Résultat void

DupA() public méthode

source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.
public DupA ( ManagedCuda.NPP.NPPImage_16sC4 dst ) : void
dst ManagedCuda.NPP.NPPImage_16sC4 Destination-Image
Résultat void

EvenLevels() public méthode

Compute levels with even distribution.
public EvenLevels ( int nLevels, int nLowerBound, int nUpperBound ) : int[]
nLevels int The number of levels being computed. nLevels must be at least 2, otherwise an NPP_- /// HISTO_NUMBER_OF_LEVELS_ERROR error is returned.
nLowerBound int Lower boundary value of the lowest level.
nUpperBound int Upper boundary value of the greatest level.
Résultat int[]

Exp() public méthode

Exponential, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Exp ( NPPImage_16sC1 dest, int nScaleFactor ) : void
dest NPPImage_16sC1 Destination image
nScaleFactor int scaling factor
Résultat void

Exp() public méthode

Inplace exponential, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Exp ( int nScaleFactor ) : void
nScaleFactor int scaling factor
Résultat void

Filter() public méthode

convolution filter.
public Filter ( NPPImage_16sC1 dst, CudaDeviceVariable pKernel, NppiSize oKernelSize, NppiPoint oAnchor ) : void
dst NPPImage_16sC1 Destination-Image
pKernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. /// Coefficients are expected to be stored in reverse order.
oKernelSize NppiSize Width and Height of the rectangular kernel.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference
Résultat void

Filter() public méthode

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.
public Filter ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, NppiSize aKernelSize, NppiPoint oAnchor, int nDivisor ) : void
dest NPPImage_16sC1 Destination image
Kernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
aKernelSize NppiSize Width and Height of the rectangular kernel.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.
nDivisor int The factor by which the convolved summation from the Filter operation should be divided. If equal to the sum of coefficients, this will keep the maximum result value within full scale.
Résultat void

FilterBorder() public méthode

One channel 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.
public FilterBorder ( NPPImage_16sC1 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16sC1 Destination image
pKernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order
nKernelSize NppiSize Width and Height of the rectangular kernel.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference relative to the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterBorder() public méthode

One channel 16-bit signed convolution filter with border control. General purpose 2D convolution filter 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.
public FilterBorder ( NPPImage_16sC1 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, int nDivisor, NppiBorderType eBorderType ) : void
dest NPPImage_16sC1 Destination image
pKernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order
nKernelSize NppiSize Width and Height of the rectangular kernel.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference relative to the source pixel.
nDivisor int The factor by which the convolved summation from the Filter operation should be divided. /// If equal to the sum of coefficients, this will keep the maximum result value within full scale.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterBox() public méthode

Computes the average pixel values of the pixels under a rectangular mask.
public FilterBox ( NPPImage_16sC1 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_16sC1 Destination image
oMaskSize NppiSize Width and Height of the neighborhood region for the local Avg operation.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.
Résultat void

FilterBoxBorder() public méthode

Computes the average pixel values of the pixels under a rectangular mask.
public FilterBoxBorder ( NPPImage_16sC1 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16sC1 Destination image
oMaskSize NppiSize Width and Height of the neighborhood region for the local Avg operation.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterColumn() public méthode

1D column convolution.
public FilterColumn ( NPPImage_16sC1 dst, CudaDeviceVariable pKernel, int nAnchor ) : void
dst NPPImage_16sC1 Destination-Image
pKernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. pKernel.Sizes gives kernel size /// Coefficients are expected to be stored in reverse order.
nAnchor int Y offset of the kernel origin frame of reference relative to the source pixel.
Résultat void

FilterColumn() public méthode

Apply convolution filter with user specified 1D column of weights. Result pixel is equal to the sum of the products between the kernel coefficients (pKernel array) and corresponding neighboring column pixel values in the source image defined by nKernelDim and nAnchorY, divided by nDivisor.
public FilterColumn ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, int nKernelSize, int nAnchor, int nDivisor ) : void
dest NPPImage_16sC1 Destination image
Kernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
nKernelSize int Length of the linear kernel array.
nAnchor int Y offset of the kernel origin frame of reference w.r.t the source pixel.
nDivisor int The factor by which the convolved summation from the Filter operation should be divided. If equal to the sum of coefficients, this will keep the maximum result value within full scale.
Résultat void

FilterColumnBorder() public méthode

General purpose 1D convolution column filter with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.
public FilterColumnBorder ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, int nAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16sC1 Destination image
Kernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
nAnchor int X offset of the kernel origin frame of reference w.r.t the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterColumnBorder() public méthode

General purpose 1D convolution column filter with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. 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.
public FilterColumnBorder ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, int nAnchor, int nDivisor, NppiBorderType eBorderType ) : void
dest NPPImage_16sC1 Destination image
Kernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
nAnchor int X offset of the kernel origin frame of reference w.r.t the source pixel.
nDivisor int The factor by which the convolved summation from the Filter operation should be divided. If equal to the sum of coefficients, this will keep the maximum result value within full scale.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterGauss() public méthode

Filters the image using a separable Gaussian filter kernel with user supplied floating point coefficients
public FilterGauss ( NPPImage_16sC1 dst, CudaDeviceVariable Kernel ) : void
dst NPPImage_16sC1 Destination-Image
Kernel CudaDeviceVariable Pointer to an array of nFilterTaps kernel coefficients which sum to 1.0F, where nFilterTaps = 2 * ((int)((float)ceil(radius) + 0.5F) ) + 1.
Résultat void

FilterGauss() public méthode

Gauss filter.
public FilterGauss ( NPPImage_16sC1 dst, MaskSize eMaskSize ) : void
dst NPPImage_16sC1 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
Résultat void

FilterGaussBorder() public méthode

Filters the image using a separable Gaussian filter kernel with user supplied floating point coefficients
public FilterGaussBorder ( NPPImage_16sC1 dst, CudaDeviceVariable Kernel, NppiBorderType eBorderType ) : void
dst NPPImage_16sC1 Destination-Image
Kernel CudaDeviceVariable Pointer to an array of nFilterTaps kernel coefficients which sum to 1.0F, where nFilterTaps = 2 * ((int)((float)ceil(radius) + 0.5F) ) + 1.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterGaussBorder() public méthode

Filters the image using a Gaussian filter kernel with border control: 1/16 2/16 1/16 2/16 4/16 2/16 1/16 2/16 1/16 or 2/571 7/571 12/571 7/571 2/571 7/571 31/571 52/571 31/571 7/571 12/571 52/571 127/571 52/571 12/571 7/571 31/571 52/571 31/571 7/571 2/571 7/571 12/571 7/571 2/571
public FilterGaussBorder ( NPPImage_16sC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType ) : void
dest NPPImage_16sC1 Destination image
eMaskSize MaskSize Enumeration value specifying the mask size.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterHighPass() public méthode

High pass filter.
public FilterHighPass ( NPPImage_16sC1 dst, MaskSize eMaskSize ) : void
dst NPPImage_16sC1 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
Résultat void

FilterHighPassBorder() public méthode

High pass filter.
public FilterHighPassBorder ( NPPImage_16sC1 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void
dst NPPImage_16sC1 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterLaplace() public méthode

Laplace filter.
public FilterLaplace ( NPPImage_16sC1 dst, MaskSize eMaskSize ) : void
dst NPPImage_16sC1 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
Résultat void

FilterLaplaceBorder() public méthode

Laplace filter.
public FilterLaplaceBorder ( NPPImage_16sC1 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void
dst NPPImage_16sC1 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterLowPass() public méthode

Low pass filter.
public FilterLowPass ( NPPImage_16sC1 dst, MaskSize eMaskSize ) : void
dst NPPImage_16sC1 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
Résultat void

FilterLowPassBorder() public méthode

Low pass filter.
public FilterLowPassBorder ( NPPImage_16sC1 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void
dst NPPImage_16sC1 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterMax() public méthode

Result pixel value is the maximum of pixel values under the rectangular mask region.
public FilterMax ( NPPImage_16sC1 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_16sC1 Destination image
oMaskSize NppiSize Width and Height of the neighborhood region for the local Avg operation.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.
Résultat void

FilterMaxBorder() public méthode

Result pixel value is the maximum of pixel values under the rectangular mask region.
public FilterMaxBorder ( NPPImage_16sC1 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16sC1 Destination image
oMaskSize NppiSize Width and Height of the neighborhood region for the local Avg operation.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterMedian() public méthode

Result pixel value is the median of pixel values under the rectangular mask region.
public FilterMedian ( NPPImage_16sC1 dst, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dst NPPImage_16sC1 Destination-Image
oMaskSize NppiSize Width and Height of the neighborhood region for the local Median operation.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference relative to the source pixel.
Résultat void

FilterMedian() public méthode

Result pixel value is the median of pixel values under the rectangular mask region.
public FilterMedian ( NPPImage_16sC1 dst, NppiSize oMaskSize, NppiPoint oAnchor, CudaDeviceVariable buffer ) : void
dst NPPImage_16sC1 Destination-Image
oMaskSize NppiSize Width and Height of the neighborhood region for the local Median operation.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference relative to the source pixel.
buffer CudaDeviceVariable Pointer to the user-allocated scratch buffer required for the Median operation.
Résultat void

FilterMedianGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for FilterMedian.
public FilterMedianGetBufferHostSize ( NppiSize oMaskSize ) : int
oMaskSize NppiSize
Résultat int

FilterMin() public méthode

Result pixel value is the minimum of pixel values under the rectangular mask region.
public FilterMin ( NPPImage_16sC1 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_16sC1 Destination image
oMaskSize NppiSize Width and Height of the neighborhood region for the local Avg operation.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.
Résultat void

FilterMinBorder() public méthode

Result pixel value is the minimum of pixel values under the rectangular mask region.
public FilterMinBorder ( NPPImage_16sC1 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16sC1 Destination image
oMaskSize NppiSize Width and Height of the neighborhood region for the local Avg operation.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterPrewittHoriz() public méthode

horizontal Prewitt filter.
public FilterPrewittHoriz ( NPPImage_16sC1 dst ) : void
dst NPPImage_16sC1 Destination-Image
Résultat void

FilterPrewittHorizBorder() public méthode

horizontal Prewitt filter.
public FilterPrewittHorizBorder ( NPPImage_16sC1 dst, NppiBorderType eBorderType ) : void
dst NPPImage_16sC1 Destination-Image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterPrewittVert() public méthode

vertical Prewitt filter.
public FilterPrewittVert ( NPPImage_16sC1 dst ) : void
dst NPPImage_16sC1 Destination-Image
Résultat void

FilterPrewittVertBorder() public méthode

vertical Prewitt filter.
public FilterPrewittVertBorder ( NPPImage_16sC1 dst, NppiBorderType eBorderType ) : void
dst NPPImage_16sC1 Destination-Image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterRobertsDown() public méthode

horizontal Roberts filter.
public FilterRobertsDown ( NPPImage_16sC1 dst ) : void
dst NPPImage_16sC1 Destination-Image
Résultat void

FilterRobertsDownBorder() public méthode

horizontal Roberts filter.
public FilterRobertsDownBorder ( NPPImage_16sC1 dst, NppiBorderType eBorderType ) : void
dst NPPImage_16sC1 Destination-Image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterRobertsUp() public méthode

vertical Roberts filter..
public FilterRobertsUp ( NPPImage_16sC1 dst ) : void
dst NPPImage_16sC1 Destination-Image
Résultat void

FilterRobertsUpBorder() public méthode

vertical Roberts filter.
public FilterRobertsUpBorder ( NPPImage_16sC1 dst, NppiBorderType eBorderType ) : void
dst NPPImage_16sC1 Destination-Image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterRow() public méthode

1D row convolution.
public FilterRow ( NPPImage_16sC1 dst, CudaDeviceVariable pKernel, int nAnchor ) : void
dst NPPImage_16sC1 Destination-Image
pKernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. pKernel.Sizes gives kernel size /// Coefficients are expected to be stored in reverse order.
nAnchor int X offset of the kernel origin frame of reference relative to the source pixel.
Résultat void

FilterRow() public méthode

Apply general linear Row convolution filter, with rescaling, in a 1D mask region around each source pixel. Result pixel is equal to the sum of the products between the kernel coefficients (pKernel array) and corresponding neighboring row pixel values in the source image defined by iKernelDim and iAnchorX, divided by iDivisor.
public FilterRow ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, int nKernelSize, int nAnchor, int nDivisor ) : void
dest NPPImage_16sC1 Destination image
Kernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
nKernelSize int Length of the linear kernel array.
nAnchor int X offset of the kernel origin frame of reference w.r.t the source pixel.
nDivisor int The factor by which the convolved summation from the Filter operation should be divided. If equal to the sum of coefficients, this will keep the maximum result value within full scale.
Résultat void

FilterRowBorder() public méthode

General purpose 1D convolution row filter with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.
public FilterRowBorder ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, int nAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16sC1 Destination image
Kernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
nAnchor int X offset of the kernel origin frame of reference w.r.t the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterRowBorder() public méthode

Apply general linear Row convolution filter, with rescaling, in a 1D mask region around each source pixel with border control. Result pixel is equal to the sum of the products between the kernel coefficients (pKernel array) and corresponding neighboring row pixel values in the source image defined by iKernelDim and iAnchorX, divided by iDivisor.
public FilterRowBorder ( NPPImage_16sC1 dest, CudaDeviceVariable Kernel, int nKernelSize, int nAnchor, int nDivisor, NppiBorderType eBorderType ) : void
dest NPPImage_16sC1 Destination image
Kernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
nKernelSize int Length of the linear kernel array.
nAnchor int X offset of the kernel origin frame of reference w.r.t the source pixel.
nDivisor int The factor by which the convolved summation from the Filter operation should be divided. If equal to the sum of coefficients, this will keep the maximum result value within full scale.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterSharpen() public méthode

Sharpen filter.
public FilterSharpen ( NPPImage_16sC1 dst ) : void
dst NPPImage_16sC1 Destination-Image
Résultat void

FilterSharpenBorder() public méthode

Sharpen filter.
public FilterSharpenBorder ( NPPImage_16sC1 dst, NppiBorderType eBorderType ) : void
dst NPPImage_16sC1 Destination-Image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterSobelHorizBorder() public méthode

Filters the image using a horizontal Sobel filter kernel with border control.
public FilterSobelHorizBorder ( NPPImage_16sC1 dest, NppiBorderType eBorderType ) : void
dest NPPImage_16sC1 Destination image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterSobelVert() public méthode

vertical Sobel filter.
public FilterSobelVert ( NPPImage_16sC1 dst ) : void
dst NPPImage_16sC1 Destination-Image
Résultat void

FilterSobelVertBorder() public méthode

Filters the image using a vertical Sobel filter kernel with border control.
public FilterSobelVertBorder ( NPPImage_16sC3 dest, NppiBorderType eBorderType ) : void
dest NPPImage_16sC3 Destination image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterUnsharpBorder() public méthode

Filters the image using a unsharp-mask sharpening filter kernel with border control. The algorithm involves the following steps: Smooth the original image with a Gaussian filter, with the width controlled by the nRadius. Subtract the smoothed image from the original to create a high-pass filtered image. Apply any clipping needed on the high-pass image, as controlled by the nThreshold. Add a certain percentage of the high-pass filtered image to the original image, with the percentage controlled by the nWeight. In pseudocode this algorithm can be written as: HighPass = Image - Gaussian(Image) Result = Image + nWeight * HighPass * ( |HighPass| >= nThreshold ) where nWeight is the amount, nThreshold is the threshold, and >= indicates a Boolean operation, 1 if true, or 0 otherwise. If any portion of the mask overlaps the source image boundary, the requested border type operation is applied to all mask pixels which fall outside of the source image.
public FilterUnsharpBorder ( NPPImage_16sC1 dst, float nRadius, float nSigma, float nWeight, float nThreshold, NppiBorderType eBorderType, CudaDeviceVariable buffer ) : void
dst NPPImage_16sC1 Destination-Image
nRadius float The radius of the Gaussian filter, in pixles, not counting the center pixel.
nSigma float The standard deviation of the Gaussian filter, in pixel.
nWeight float The percentage of the difference between the original and the high pass image that is added back into the original.
nThreshold float The threshold needed to apply the difference amount.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
buffer CudaDeviceVariable Pointer to the user-allocated device scratch buffer required for the unsharp operation.
Résultat void

FilterUnsharpGetBufferSize() public méthode

Scratch-buffer size for unsharp filter.
public FilterUnsharpGetBufferSize ( float nRadius, float nSigma ) : int
nRadius float The radius of the Gaussian filter, in pixles, not counting the center pixel.
nSigma float The standard deviation of the Gaussian filter, in pixel.
Résultat int

GradientVectorPrewittBorder() public méthode

1 channel 16-bit signed packed RGB to optional 1 channel 32-bit floating point X (vertical), Y (horizontal), magnitude, and/or 32-bit floating point angle gradient vectors with user selectable fixed mask size and distance method with border control.
public GradientVectorPrewittBorder ( NPPImage_32fC1 destX, NPPImage_32fC1 destY, NPPImage_32fC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType ) : void
destX NPPImage_32fC1 X vector destination_image_pointer
destY NPPImage_32fC1 Y vector destination_image_pointer.
destMag NPPImage_32fC1 magnitude destination_image_pointer.
destAngle NPPImage_32fC1 angle destination_image_pointer.
eMaskSize MaskSize fixed filter mask size to use.
eNorm NppiNorm gradient distance method to use.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

GradientVectorScharrBorder() public méthode

1 channel 16-bit signed packed RGB to optional 1 channel 32-bit floating point X (vertical), Y (horizontal), magnitude, and/or 32-bit floating point angle gradient vectors with user selectable fixed mask size and distance method with border control.
public GradientVectorScharrBorder ( NPPImage_32fC1 destX, NPPImage_32fC1 destY, NPPImage_32fC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType ) : void
destX NPPImage_32fC1 X vector destination_image_pointer
destY NPPImage_32fC1 Y vector destination_image_pointer.
destMag NPPImage_32fC1 magnitude destination_image_pointer.
destAngle NPPImage_32fC1 angle destination_image_pointer.
eMaskSize MaskSize fixed filter mask size to use.
eNorm NppiNorm gradient distance method to use.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

GradientVectorSobelBorder() public méthode

1 channel 16-bit signed packed RGB to optional 1 channel 32-bit floating point X (vertical), Y (horizontal), magnitude, and/or 32-bit floating point angle gradient vectors with user selectable fixed mask size and distance method with border control.
public GradientVectorSobelBorder ( NPPImage_32fC1 destX, NPPImage_32fC1 destY, NPPImage_32fC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType ) : void
destX NPPImage_32fC1 X vector destination_image_pointer
destY NPPImage_32fC1 Y vector destination_image_pointer.
destMag NPPImage_32fC1 magnitude destination_image_pointer.
destAngle NPPImage_32fC1 angle destination_image_pointer.
eMaskSize MaskSize fixed filter mask size to use.
eNorm NppiNorm gradient distance method to use.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

HistogramEven() public méthode

Histogram with evenly distributed bins. Buffer is internally allocated and freed.
public HistogramEven ( CudaDeviceVariable histogram, int nLowerLevel, int nUpperLevel ) : void
histogram CudaDeviceVariable Allocated device memory of size nLevels
nLowerLevel int Lower boundary of lowest level bin. E.g. 0 for [0..255]
nUpperLevel int Upper boundary of highest level bin. E.g. 256 for [0..255]
Résultat void

HistogramEven() public méthode

Histogram with evenly distributed bins. No additional buffer is allocated.
public HistogramEven ( CudaDeviceVariable histogram, int nLowerLevel, int nUpperLevel, CudaDeviceVariable buffer ) : void
histogram CudaDeviceVariable Allocated device memory of size nLevels
nLowerLevel int Lower boundary of lowest level bin. E.g. 0 for [0..255]
nUpperLevel int Upper boundary of highest level bin. E.g. 256 for [0..255]
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

HistogramEvenGetBufferSize() public méthode

Scratch-buffer size for HistogramEven.
public HistogramEvenGetBufferSize ( int nLevels ) : int
nLevels int
Résultat int

HistogramRange() public méthode

Histogram with bins determined by pLevels array. Buffer is internally allocated and freed.
public HistogramRange ( CudaDeviceVariable histogram, CudaDeviceVariable pLevels ) : void
histogram CudaDeviceVariable array that receives the computed histogram. The array must be of size nLevels-1.
pLevels CudaDeviceVariable Array in device memory containing the level sizes of the bins. The array must be of size nLevels
Résultat void

HistogramRange() public méthode

Histogram with bins determined by pLevels array. No additional buffer is allocated.
public HistogramRange ( CudaDeviceVariable histogram, CudaDeviceVariable pLevels, CudaDeviceVariable buffer ) : void
histogram CudaDeviceVariable array that receives the computed histogram. The array must be of size nLevels-1.
pLevels CudaDeviceVariable Array in device memory containing the level sizes of the bins. The array must be of size nLevels
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

HistogramRangeGetBufferSize() public méthode

Scratch-buffer size for HistogramRange.
public HistogramRangeGetBufferSize ( int nLevels ) : int
nLevels int
Résultat int

LUT() public méthode

Inplace look-up-table color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.
public LUT ( CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
pValues CudaDeviceVariable Pointer to an array of user defined OUTPUT values
pLevels CudaDeviceVariable Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.
Résultat void

LUT() public méthode

look-up-table color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.
public LUT ( NPPImage_16sC1 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
dst NPPImage_16sC1 Destination-Image
pValues CudaDeviceVariable Pointer to an array of user defined OUTPUT values
pLevels CudaDeviceVariable Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.
Résultat void

LUTCubic() public méthode

Inplace cubic interpolated look-up-table color conversion. The LUT is derived from a set of user defined mapping points through cubic interpolation.
public LUTCubic ( CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
pValues CudaDeviceVariable Pointer to an array of user defined OUTPUT values
pLevels CudaDeviceVariable Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.
Résultat void

LUTCubic() public méthode

cubic interpolated look-up-table color conversion. The LUT is derived from a set of user defined mapping points through cubic interpolation.
public LUTCubic ( NPPImage_16sC1 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
dst NPPImage_16sC1 Destination-Image
pValues CudaDeviceVariable Pointer to an array of user defined OUTPUT values
pLevels CudaDeviceVariable Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.
Résultat void

LUTLinear() public méthode

Inplace linear interpolated look-up-table color conversion. The LUT is derived from a set of user defined mapping points through cubic interpolation.
public LUTLinear ( CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
pValues CudaDeviceVariable Pointer to an array of user defined OUTPUT values
pLevels CudaDeviceVariable Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.
Résultat void

LUTLinear() public méthode

linear interpolated look-up-table color conversion. The LUT is derived from a set of user defined mapping points through linear interpolation.
public LUTLinear ( NPPImage_16sC1 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
dst NPPImage_16sC1 Destination-Image
pValues CudaDeviceVariable Pointer to an array of user defined OUTPUT values
pLevels CudaDeviceVariable Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.
Résultat void

Ln() public méthode

Natural logarithm, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Ln ( NPPImage_16sC1 dest, int nScaleFactor ) : void
dest NPPImage_16sC1 Destination image
nScaleFactor int scaling factor
Résultat void

Ln() public méthode

Natural logarithm, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Ln ( int nScaleFactor ) : void
nScaleFactor int scaling factor
Résultat void

Max() public méthode

Image pixel maximum. Buffer is internally allocated and freed.
public Max ( CudaDeviceVariable max ) : void
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(short)
Résultat void

Max() public méthode

Image pixel maximum. No additional buffer is allocated.
public Max ( CudaDeviceVariable max, CudaDeviceVariable buffer ) : void
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(short)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

MaxError() public méthode

image maximum error. User buffer is internally allocated and freed.
public MaxError ( NPPImage_16sC1 src2, CudaDeviceVariable pError ) : void
src2 NPPImage_16sC1 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
Résultat void

MaxError() public méthode

image maximum error.
public MaxError ( NPPImage_16sC1 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void
src2 NPPImage_16sC1 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
buffer CudaDeviceVariable Pointer to the user-allocated scratch buffer required for the MaxError operation.
Résultat void

MaxErrorGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for MaxError.
public MaxErrorGetBufferHostSize ( ) : int
Résultat int

MaxEvery() public méthode

image MaxEvery
public MaxEvery ( NPPImage_16sC1 src2 ) : void
src2 NPPImage_16sC1 Source-Image
Résultat void

MaxGetBufferHostSize() public méthode

Scratch-buffer size for Max.
public MaxGetBufferHostSize ( ) : int
Résultat int

MaxIndex() public méthode

Image pixel maximum. Buffer is internally allocated and freed.
public MaxIndex ( CudaDeviceVariable max, CudaDeviceVariable indexX, CudaDeviceVariable indexY ) : void
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(short)
indexX CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
Résultat void

MaxIndex() public méthode

Image pixel minimum. No additional buffer is allocated.
public MaxIndex ( CudaDeviceVariable max, CudaDeviceVariable indexX, CudaDeviceVariable indexY, CudaDeviceVariable buffer ) : void
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(short)
indexX CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

MaxIndexGetBufferHostSize() public méthode

Scratch-buffer size for MaxIndex.
public MaxIndexGetBufferHostSize ( ) : int
Résultat int

MaximumRelativeError() public méthode

image maximum relative error. User buffer is internally allocated and freed.
public MaximumRelativeError ( NPPImage_16sC1 src2, CudaDeviceVariable pError ) : void
src2 NPPImage_16sC1 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
Résultat void

MaximumRelativeError() public méthode

image maximum relative error.
public MaximumRelativeError ( NPPImage_16sC1 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void
src2 NPPImage_16sC1 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
buffer CudaDeviceVariable Pointer to the user-allocated scratch buffer required for the MaximumRelativeError operation.
Résultat void

MaximumRelativeErrorGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for MaximumRelativeError.
public MaximumRelativeErrorGetBufferHostSize ( ) : int
Résultat int

Mean() public méthode

image mean with 64-bit double precision result. Buffer is internally allocated and freed.
public Mean ( CudaDeviceVariable mean ) : void
mean CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
Résultat void

Mean() public méthode

image mean with 64-bit double precision result. No additional buffer is allocated.
public Mean ( CudaDeviceVariable mean, CudaDeviceVariable buffer ) : void
mean CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

MeanGetBufferHostSize() public méthode

Scratch-buffer size for Mean.
public MeanGetBufferHostSize ( ) : int
Résultat int

Min() public méthode

Image pixel minimum. Buffer is internally allocated and freed.
public Min ( CudaDeviceVariable min ) : void
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(short)
Résultat void

Min() public méthode

Image pixel minimum. No additional buffer is allocated.
public Min ( CudaDeviceVariable min, CudaDeviceVariable buffer ) : void
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(short)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

MinEvery() public méthode

image MinEvery
public MinEvery ( NPPImage_16sC1 src2 ) : void
src2 NPPImage_16sC1 Source-Image
Résultat void

MinGetBufferHostSize() public méthode

Scratch-buffer size for Min.
public MinGetBufferHostSize ( ) : int
Résultat int

MinIndex() public méthode

Image pixel minimum. Buffer is internally allocated and freed.
public MinIndex ( CudaDeviceVariable min, CudaDeviceVariable indexX, CudaDeviceVariable indexY ) : void
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(short)
indexX CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
Résultat void

MinIndex() public méthode

Image pixel minimum. No additional buffer is allocated.
public MinIndex ( CudaDeviceVariable min, CudaDeviceVariable indexX, CudaDeviceVariable indexY, CudaDeviceVariable buffer ) : void
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(short)
indexX CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

MinIndexGetBufferHostSize() public méthode

Scratch-buffer size for MinIndex.
public MinIndexGetBufferHostSize ( ) : int
Résultat int

MinMax() public méthode

Image pixel minimum and maximum. Buffer is internally allocated and freed.
public MinMax ( CudaDeviceVariable min, CudaDeviceVariable max ) : void
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(short)
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(short)
Résultat void

MinMax() public méthode

Image pixel minimum and maximum. No additional buffer is allocated.
public MinMax ( CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable buffer ) : void
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(short)
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(short)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

MinMaxGetBufferHostSize() public méthode

Scratch-buffer size for MinMax.
public MinMaxGetBufferHostSize ( ) : int
Résultat int

Mirror() public méthode

Mirror image.
public Mirror ( NPPImage_16sC1 dest, NppiAxis flip ) : void
dest NPPImage_16sC1 Destination image
flip NppiAxis Specifies the axis about which the image is to be mirrored.
Résultat void

Mirror() public méthode

Mirror image inplace.
public Mirror ( NppiAxis flip ) : void
flip NppiAxis Specifies the axis about which the image is to be mirrored.
Résultat void

Mul() public méthode

Image multiplication, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Mul ( NPPImage_16sC1 src2, NPPImage_16sC1 dest, int nScaleFactor ) : void
src2 NPPImage_16sC1 2nd source image
dest NPPImage_16sC1 Destination image
nScaleFactor int scaling factor
Résultat void

Mul() public méthode

In place image multiplication, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Mul ( NPPImage_16sC1 src2, int nScaleFactor ) : void
src2 NPPImage_16sC1 2nd source image
nScaleFactor int scaling factor
Résultat void

Mul() public méthode

Multiply constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Mul ( short nConstant, NPPImage_16sC1 dest, int nScaleFactor ) : void
nConstant short Value
dest NPPImage_16sC1 Destination image
nScaleFactor int scaling factor
Résultat void

Mul() public méthode

Multiply constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.
public Mul ( short nConstant, int nScaleFactor ) : void
nConstant short Value
nScaleFactor int scaling factor
Résultat void

NPPImage_16sC1() public méthode

Creates a new NPPImage from allocated device ptr.
public NPPImage_16sC1 ( ManagedCuda.BasicTypes.CUdeviceptr devPtr, NppiSize size, int pitch ) : System
devPtr ManagedCuda.BasicTypes.CUdeviceptr Already allocated device ptr.
size NppiSize Image size
pitch int Pitch / Line step
Résultat System

NPPImage_16sC1() public méthode

Creates a new NPPImage from allocated device ptr.
public NPPImage_16sC1 ( ManagedCuda.BasicTypes.CUdeviceptr devPtr, NppiSize size, int pitch, bool isOwner ) : System
devPtr ManagedCuda.BasicTypes.CUdeviceptr Already allocated device ptr.
size NppiSize Image size
pitch int Pitch / Line step
isOwner bool If TRUE, devPtr is freed when disposing
Résultat System

NPPImage_16sC1() public méthode

Creates a new NPPImage from allocated device ptr. Does not take ownership of decPtr.
public NPPImage_16sC1 ( ManagedCuda.BasicTypes.CUdeviceptr devPtr, int width, int height, int pitch ) : System
devPtr ManagedCuda.BasicTypes.CUdeviceptr Already allocated device ptr.
width int Image width in pixels
height int Image height in pixels
pitch int Pitch / Line step
Résultat System

NPPImage_16sC1() public méthode

Creates a new NPPImage from allocated device ptr.
public NPPImage_16sC1 ( ManagedCuda.BasicTypes.CUdeviceptr devPtr, int width, int height, int pitch, bool isOwner ) : System
devPtr ManagedCuda.BasicTypes.CUdeviceptr Already allocated device ptr.
width int Image width in pixels
height int Image height in pixels
pitch int Pitch / Line step
isOwner bool If TRUE, devPtr is freed when disposing
Résultat System

NPPImage_16sC1() public méthode

Creates a new NPPImage from allocated device ptr. Does not take ownership of inner image device pointer.
public NPPImage_16sC1 ( NPPImageBase image ) : System
image NPPImageBase NPP image
Résultat System

NPPImage_16sC1() public méthode

Allocates new memory on device using NPP-Api.
public NPPImage_16sC1 ( NppiSize size ) : System
size NppiSize Image size
Résultat System

NPPImage_16sC1() public méthode

Allocates new memory on device using NPP-Api.
public NPPImage_16sC1 ( int nWidthPixels, int nHeightPixels ) : System
nWidthPixels int Image width in pixels
nHeightPixels int Image height in pixels
Résultat System

NormDiffInfGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for NormDiff_Inf.
public NormDiffInfGetBufferHostSize ( ) : int
Résultat int

NormDiffL1GetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for NormDiff_L1.
public NormDiffL1GetBufferHostSize ( ) : int
Résultat int

NormDiffL2GetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for NormDiff_L2.
public NormDiffL2GetBufferHostSize ( ) : int
Résultat int

NormDiff_Inf() public méthode

image NormDiff_Inf. Buffer is internally allocated and freed.
public NormDiff_Inf ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormDiff ) : void
tpl NPPImage_16sC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed Inf-norm of differences. (1 * sizeof(double))
Résultat void

NormDiff_Inf() public méthode

image NormDiff_Inf.
public NormDiff_Inf ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void
tpl NPPImage_16sC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed Inf-norm of differences. (1 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

NormDiff_L1() public méthode

image NormDiff_L1. Buffer is internally allocated and freed.
public NormDiff_L1 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormDiff ) : void
tpl NPPImage_16sC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L1-norm of differences. (1 * sizeof(double))
Résultat void

NormDiff_L1() public méthode

image NormDiff_L1.
public NormDiff_L1 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void
tpl NPPImage_16sC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L1-norm of differences. (1 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

NormDiff_L2() public méthode

image NormDiff_L2. Buffer is internally allocated and freed.
public NormDiff_L2 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormDiff ) : void
tpl NPPImage_16sC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L2-norm of differences. (1 * sizeof(double))
Résultat void

NormDiff_L2() public méthode

image NormDiff_L2.
public NormDiff_L2 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void
tpl NPPImage_16sC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L2-norm of differences. (1 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

NormInf() public méthode

image infinity norm. Buffer is internally allocated and freed.
public NormInf ( CudaDeviceVariable norm ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
Résultat void

NormInf() public méthode

image infinity norm. No additional buffer is allocated.
public NormInf ( CudaDeviceVariable norm, CudaDeviceVariable buffer ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

NormInfGetBufferHostSize() public méthode

Scratch-buffer size for Norm inf.
public NormInfGetBufferHostSize ( ) : int
Résultat int

NormL1() public méthode

image L1 norm. Buffer is internally allocated and freed.
public NormL1 ( CudaDeviceVariable norm ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
Résultat void

NormL1() public méthode

image L1 norm. No additional buffer is allocated.
public NormL1 ( CudaDeviceVariable norm, CudaDeviceVariable buffer ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

NormL1GetBufferHostSize() public méthode

Scratch-buffer size for Norm L1.
public NormL1GetBufferHostSize ( ) : int
Résultat int

NormL2() public méthode

image L2 norm. Buffer is internally allocated and freed.
public NormL2 ( CudaDeviceVariable norm ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
Résultat void

NormL2() public méthode

image L2 norm. No additional buffer is allocated.
public NormL2 ( CudaDeviceVariable norm, CudaDeviceVariable buffer ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

NormL2GetBufferHostSize() public méthode

Scratch-buffer size for Norm L2.
public NormL2GetBufferHostSize ( ) : int
Résultat int

NormRelInfGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for NormRel_Inf.
public NormRelInfGetBufferHostSize ( ) : int
Résultat int

NormRelL1GetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for NormRel_L1.
public NormRelL1GetBufferHostSize ( ) : int
Résultat int

NormRelL2GetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for NormRel_L2.
public NormRelL2GetBufferHostSize ( ) : int
Résultat int

NormRel_Inf() public méthode

image NormRel_Inf. Buffer is internally allocated and freed.
public NormRel_Inf ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormRel ) : void
tpl NPPImage_16sC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
Résultat void

NormRel_Inf() public méthode

image NormRel_Inf.
public NormRel_Inf ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormRel, CudaDeviceVariable buffer ) : void
tpl NPPImage_16sC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

NormRel_L1() public méthode

image NormRel_L1. Buffer is internally allocated and freed.
public NormRel_L1 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormRel ) : void
tpl NPPImage_16sC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
Résultat void

NormRel_L1() public méthode

image NormRel_L1.
public NormRel_L1 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormRel, CudaDeviceVariable buffer ) : void
tpl NPPImage_16sC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

NormRel_L2() public méthode

image NormRel_L2. Buffer is internally allocated and freed.
public NormRel_L2 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormRel ) : void
tpl NPPImage_16sC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
Résultat void

NormRel_L2() public méthode

image NormRel_L2.
public NormRel_L2 ( NPPImage_16sC1 tpl, CudaDeviceVariable pNormRel, CudaDeviceVariable buffer ) : void
tpl NPPImage_16sC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

RShiftC() public méthode

image bit shift by constant (right), inplace.
public RShiftC ( uint nConstant ) : void
nConstant uint Constant
Résultat void

RShiftC() public méthode

image bit shift by constant (right).
public RShiftC ( uint nConstant, NPPImage_16sC1 dest ) : void
nConstant uint Constant
dest NPPImage_16sC1 Destination image
Résultat void

Remap() public méthode

image remap.
public Remap ( NPPImage_16sC1 dst, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation ) : void
dst NPPImage_16sC1 Destination-Image
pXMap NPPImage_32fC1 Device memory pointer to 2D image array of X coordinate values to be used when sampling source image.
pYMap NPPImage_32fC1 Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image.
eInterpolation InterpolationMode The type of eInterpolation to perform resampling.
Résultat void

ResizeSqrPixel() public méthode

image resize.
public ResizeSqrPixel ( NPPImage_16sC1 dst, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation ) : void
dst NPPImage_16sC1 Destination-Image
nXFactor double Factor by which x dimension is changed.
nYFactor double Factor by which y dimension is changed.
nXShift double Source pixel shift in x-direction.
nYShift double Source pixel shift in y-direction.
eInterpolation InterpolationMode The type of eInterpolation to perform resampling.
Résultat void

Scale() public méthode

image conversion.
public Scale ( ManagedCuda.NPP.NPPImage_8uC1 dst, NppHintAlgorithm hint ) : void
dst ManagedCuda.NPP.NPPImage_8uC1 Destination-Image
hint NppHintAlgorithm algorithm performance or accuracy selector, currently ignored
Résultat void

Set() public méthode

Set pixel values to nValue.
public Set ( short nValue ) : void
nValue short Value to be set
Résultat void

Set() public méthode

Set pixel values to nValue. The 8-bit mask image affects setting of the respective pixels in the destination image. If the mask value is zero (0) the pixel is not set, if the mask is non-zero, the corresponding destination pixel is set to specified value.
public Set ( short nValue, ManagedCuda.NPP.NPPImage_8uC1 mask ) : void
nValue short Value to be set
mask ManagedCuda.NPP.NPPImage_8uC1 Mask image
Résultat void

SobelHoriz() public méthode

horizontal Sobel filter.
public SobelHoriz ( NPPImage_16sC1 dst ) : void
dst NPPImage_16sC1 Destination-Image
Résultat void

Sqr() public méthode

Image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sqr ( NPPImage_16sC1 dest, int nScaleFactor ) : void
dest NPPImage_16sC1 Destination image
nScaleFactor int scaling factor
Résultat void

Sqr() public méthode

Inplace image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sqr ( int nScaleFactor ) : void
nScaleFactor int scaling factor
Résultat void

Sqrt() public méthode

Image square root, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sqrt ( NPPImage_16sC1 dest, int nScaleFactor ) : void
dest NPPImage_16sC1 Destination image
nScaleFactor int scaling factor
Résultat void

Sqrt() public méthode

Inplace image square root, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sqrt ( int nScaleFactor ) : void
nScaleFactor int scaling factor
Résultat void

Sub() public méthode

Image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sub ( NPPImage_16sC1 src2, NPPImage_16sC1 dest, int nScaleFactor ) : void
src2 NPPImage_16sC1 2nd source image
dest NPPImage_16sC1 Destination image
nScaleFactor int scaling factor
Résultat void

Sub() public méthode

In place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sub ( NPPImage_16sC1 src2, int nScaleFactor ) : void
src2 NPPImage_16sC1 2nd source image
nScaleFactor int scaling factor
Résultat void

Sub() public méthode

Subtract constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sub ( short nConstant, NPPImage_16sC1 dest, int nScaleFactor ) : void
nConstant short Value to subtract
dest NPPImage_16sC1 Destination image
nScaleFactor int scaling factor
Résultat void

Sub() public méthode

Subtract constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.
public Sub ( short nConstant, int nScaleFactor ) : void
nConstant short Value to subtract
nScaleFactor int scaling factor
Résultat void

Sum() public méthode

image sum with 64-bit double precision result. Buffer is internally allocated and freed.
public Sum ( CudaDeviceVariable result ) : void
result CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
Résultat void

Sum() public méthode

image sum with 64-bit double precision result. No additional buffer is allocated.
public Sum ( CudaDeviceVariable result, CudaDeviceVariable buffer ) : void
result CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

SumGetBufferHostSize() public méthode

Scratch-buffer size for nppiSum_16s_C1R.
public SumGetBufferHostSize ( ) : int
Résultat int

SumWindowColumn() public méthode

16-bit signed 1D (column) sum to 32f. Apply Column Window Summation filter over a 1D mask region around each source pixel for 1-channel 16 bit/pixel input images with 32-bit floating point output. Result 32-bit floating point pixel is equal to the sum of the corresponding and neighboring column pixel values in a mask region of the source image defined by nMaskSize and nAnchor.
public SumWindowColumn ( NPPImage_32fC1 dest, int nMaskSize, int nAnchor ) : void
dest NPPImage_32fC1 Destination image
nMaskSize int Length of the linear kernel array.
nAnchor int Y offset of the kernel origin frame of reference w.r.t the source pixel.
Résultat void

SumWindowColumnBorder() public méthode

Apply Column Window Summation filter over a 1D mask region around each source pixel for 1-channel 8 bit/pixel input images with 32-bit floating point output. Result 32-bit floating point pixel is equal to the sum of the corresponding and neighboring column pixel values in a mask region of the source image defined by nMaskSize and nAnchor.
public SumWindowColumnBorder ( NPPImage_32fC1 dest, int nMaskSize, int nAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_32fC1 Destination image
nMaskSize int Length of the linear kernel array.
nAnchor int Y offset of the kernel origin frame of reference w.r.t the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

SumWindowRow() public méthode

16-bit signed 1D (row) sum to 32f. Apply Row Window Summation filter over a 1D mask region around each source pixel for 1-channel 16-bit pixel input images with 32-bit floating point output. Result 32-bit floating point pixel is equal to the sum of the corresponding and neighboring row pixel values in a mask region of the source image defined by nKernelDim and nAnchorX.
public SumWindowRow ( NPPImage_32fC1 dest, int nMaskSize, int nAnchor ) : void
dest NPPImage_32fC1 Destination image
nMaskSize int Length of the linear kernel array.
nAnchor int X offset of the kernel origin frame of reference w.r.t the source pixel.
Résultat void

SumWindowRowBorder() public méthode

Apply Row Window Summation filter over a 1D mask region around each source pixel for 1-channel 8-bit pixel input images with 32-bit floating point output. Result 32-bit floating point pixel is equal to the sum of the corresponding and neighboring row pixel values in a mask region of the source image defined by nKernelDim and nAnchorX.
public SumWindowRowBorder ( NPPImage_32fC1 dest, int nMaskSize, int nAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_32fC1 Destination image
nMaskSize int Length of the linear kernel array.
nAnchor int X offset of the kernel origin frame of reference w.r.t the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

Threshold() public méthode

Image threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
public Threshold ( NPPImage_16sC1 dest, short nThreshold, NppCmpOp eComparisonOperation ) : void
dest NPPImage_16sC1 Destination image
nThreshold short The threshold value.
eComparisonOperation NppCmpOp eComparisonOperation. Only allowed values are and
Résultat void

Threshold() public méthode

Image threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
public Threshold ( NPPImage_16sC1 dest, short nThreshold, short nValue, NppCmpOp eComparisonOperation ) : void
dest NPPImage_16sC1 Destination image
nThreshold short The threshold value.
nValue short The threshold replacement value.
eComparisonOperation NppCmpOp eComparisonOperation. Only allowed values are and
Résultat void

Threshold() public méthode

In place image threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
public Threshold ( short nThreshold, NppCmpOp eComparisonOperation ) : void
nThreshold short The threshold value.
eComparisonOperation NppCmpOp eComparisonOperation. Only allowed values are and
Résultat void

Threshold() public méthode

In place image threshold. If for a comparison operations OP the predicate (sourcePixel OP nThreshold) is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
public Threshold ( short nThreshold, short nValue, NppCmpOp eComparisonOperation ) : void
nThreshold short The threshold value.
nValue short The threshold replacement value.
eComparisonOperation NppCmpOp eComparisonOperation. Only allowed values are and
Résultat void

ThresholdGT() public méthode

Image threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
public ThresholdGT ( NPPImage_16sC1 dest, short nThreshold ) : void
dest NPPImage_16sC1 Destination image
nThreshold short The threshold value.
Résultat void

ThresholdGT() public méthode

Image threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
public ThresholdGT ( NPPImage_16sC1 dest, short nThreshold, short nValue ) : void
dest NPPImage_16sC1 Destination image
nThreshold short The threshold value.
nValue short The threshold replacement value.
Résultat void

ThresholdGT() public méthode

In place image threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
public ThresholdGT ( short nThreshold ) : void
nThreshold short The threshold value.
Résultat void

ThresholdGT() public méthode

In place image threshold. If for a comparison operations sourcePixel is greater than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
public ThresholdGT ( short nThreshold, short nValue ) : void
nThreshold short The threshold value.
nValue short The threshold replacement value.
Résultat void

ThresholdLT() public méthode

Image threshold. If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
public ThresholdLT ( NPPImage_16sC1 dest, short nThreshold ) : void
dest NPPImage_16sC1 Destination image
nThreshold short The threshold value.
Résultat void

ThresholdLT() public méthode

Image threshold. If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
public ThresholdLT ( NPPImage_16sC1 dest, short nThreshold, short nValue ) : void
dest NPPImage_16sC1 Destination image
nThreshold short The threshold value.
nValue short The threshold replacement value.
Résultat void

ThresholdLT() public méthode

In place image threshold. If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nThreshold, otherwise it is set to sourcePixel.
public ThresholdLT ( short nThreshold ) : void
nThreshold short The threshold value.
Résultat void

ThresholdLT() public méthode

In place image threshold. If for a comparison operations sourcePixel is less than nThreshold is true, the pixel is set to nValue, otherwise it is set to sourcePixel.
public ThresholdLT ( short nThreshold, short nValue ) : void
nThreshold short The threshold value.
nValue short The threshold replacement value.
Résultat void

ThresholdLTGT() public méthode

Image threshold. If for a comparison operations sourcePixel is less than nThresholdLT is true, the pixel is set to nValueLT, else if sourcePixel is greater than nThresholdGT the pixel is set to nValueGT, otherwise it is set to sourcePixel.
public ThresholdLTGT ( NPPImage_16sC1 dest, short nThresholdLT, short nValueLT, short nThresholdGT, short nValueGT ) : void
dest NPPImage_16sC1 Destination image
nThresholdLT short The thresholdLT value.
nValueLT short The thresholdLT replacement value.
nThresholdGT short The thresholdGT value.
nValueGT short The thresholdGT replacement value.
Résultat void

ThresholdLTGT() public méthode

In place image threshold. If for a comparison operations sourcePixel is less than nThresholdLT is true, the pixel is set to nValueLT, else if sourcePixel is greater than nThresholdGT the pixel is set to nValueGT, otherwise it is set to sourcePixel.
public ThresholdLTGT ( short nThresholdLT, short nValueLT, short nThresholdGT, short nValueGT ) : void
nThresholdLT short The thresholdLT value.
nValueLT short The thresholdLT replacement value.
nThresholdGT short The thresholdGT value.
nValueGT short The thresholdGT replacement value.
Résultat void

ToCudaPitchedDeviceVariable() public méthode

Converts a NPPImage to a CudaPitchedDeviceVariable
public ToCudaPitchedDeviceVariable ( ) : CudaPitchedDeviceVariable
Résultat CudaPitchedDeviceVariable

Transpose() public méthode

image transpose
public Transpose ( NPPImage_16sC1 dest ) : void
dest NPPImage_16sC1 Destination image
Résultat void