C# Класс ManagedCuda.NPP.NPPImage_8uC3

Наследование: NPPImageBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AbsDiff ( NPPImage_8uC3 src2, NPPImage_8uC3 dest ) : void

Absolute difference of this minus src2.

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

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

Add ( NPPImage_8uC3 src2, int nScaleFactor ) : void

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

Add ( byte nConstant, NPPImage_8uC3 dest, int nScaleFactor ) : void

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

Add ( byte nConstant, int nScaleFactor ) : void

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

AlphaComp ( byte alpha1, NPPImage_8uC3 src2, byte alpha2, NPPImage_8uC3 dest, NppiAlphaOp nppAlphaOp ) : void

Image composition using constant alpha.

AlphaPremul ( byte alpha ) : void

In place alpha premultiplication using constant alpha.

AlphaPremul ( byte alpha, NPPImage_8uC3 dest ) : void

Image premultiplication using constant alpha.

And ( NPPImage_8uC3 src2 ) : void

In place image logical and.

And ( NPPImage_8uC3 src2, NPPImage_8uC3 dest ) : void

Image logical and.

And ( byte nConstant ) : void

In place image logical and with constant.

And ( byte nConstant, NPPImage_8uC3 dest ) : void

Image logical and with constant.

AverageError ( NPPImage_8uC3 src2, CudaDeviceVariable pError ) : void

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

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

image average error.

AverageErrorGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for AverageError.

AverageRelativeError ( NPPImage_8uC3 src2, CudaDeviceVariable pError ) : void

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

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

image average relative error.

AverageRelativeErrorGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for AverageRelativeError.

BGRToCbYCr422_709HDTV ( NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned packed BGR to 2 channel 8-bit unsigned packed CbYCr422_709HDTV color conversion.

BGRToHLS ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar HLS color conversion.

BGRToHLS ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar BGR to 3 channel 8-bit unsigned planar HLS color conversion.

BGRToHLS ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar BGR to 3 channel 8-bit unsigned packed HLS color conversion.

BGRToLab ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned packed Lab color conversion.

BGRToYCbCr ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr color conversion.

BGRToYCbCr411 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr411 color conversion.

BGRToYCbCr420 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr420 color conversion.

BGRToYCbCr420_709CSC ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr420_709CSC color conversion.

BGRToYCbCr422 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr422 color conversion.

BGRToYCbCr422 ( NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned packed BGR to 2 channel 8-bit unsigned packed YCbCr422 color conversion.

BGRToYCrCb420 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCrCb420 color conversion.

BGRToYCrCb420_709CSC ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCrCb420_709CSC color conversion.

BGRToYUV ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YUV color conversion.

BGRToYUV ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar BGR to 3 channel 8-bit unsigned planar YUV color conversion.

BGRToYUV ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned packed YUV color conversion.

ColorToGray ( NPPImage_8uC1 dest, float aCoeffs ) : void

Color to Gray conversion

ColorTwist ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, float twistMatrix ) : void

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

ColorTwist ( NPPImage_8uC1 srcDest0, NPPImage_8uC1 srcDest1, NPPImage_8uC1 srcDest2, float twistMatrix ) : void

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

ColorTwist ( NPPImage_8uC3 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.

CompColorKey ( NPPImage_8uC3 src2, NPPImage_8uC3 dest, byte colorKeyConst ) : void

packed color complement color key replacement of source image 1 by source image 2

Compare ( NPPImage_8uC3 src2, NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void

Compare pSrc1's pixels with corresponding pixels in pSrc2.

Compare ( byte nConstant, NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void

Compare pSrc's pixels with constant value.

Convert ( NPPImage_16sC3 dst ) : void

8-bit unsigned to 16-bit signed conversion.

Convert ( NPPImage_16uC3 dst ) : void

8-bit unsigned to 16-bit unsigned conversion.

Convert ( NPPImage_32fC3 dst ) : void

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

Convert ( NPPImage_32sC3 dst ) : void

8-bit unsigned to 32-bit signed conversion.

Copy ( NPPImage_8uC1 dst0, NPPImage_8uC1 dst1, NPPImage_8uC1 dst2 ) : void

Three-channel 8-bit unsigned packed to planar image copy.

Copy ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

Three-channel 8-bit unsigned planar to packed image copy.

Copy ( NPPImage_8uC1 dst, int channel ) : void

Image copy.

Copy ( NPPImage_8uC3 dst ) : void

image copy.

Copy ( NPPImage_8uC3 dst, NPPImage_8uC1 mask ) : void

Masked Operation 8-bit unsigned image copy.

Copy ( NPPImage_8uC3 dst, int channelSrc, int channelDst ) : void

Image copy.

Copy ( NPPImage_8uC3 dst, int nTopBorderHeight, int nLeftBorderWidth, byte nValue ) : void

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

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

image copy with nearest source image pixel color.

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

linearly interpolated source image subpixel coordinate color copy.

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

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

CountInRange ( CudaDeviceVariable pCounts, byte nLowerBound, byte nUpperBound ) : void

image CountInRange.

CountInRange ( CudaDeviceVariable pCounts, byte nLowerBound, byte nUpperBound, CudaDeviceVariable buffer ) : void

image CountInRange.

CountInRangeGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CountInRange.

CrossCorrFull_Norm ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void

image CrossCorrFull_Norm.

CrossCorrFull_Norm ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void

image CrossCorrFull_Norm.

CrossCorrFull_NormLevel ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void

CrossCorrFull_NormLevel. Buffer is internally allocated and freed.

CrossCorrFull_NormLevel ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst, CudaDeviceVariable buffer ) : void

CrossCorrFull_NormLevel.

CrossCorrFull_NormLevel ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void

CrossCorrFull_NormLevel. Buffer is internally allocated and freed.

CrossCorrFull_NormLevel ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void

CrossCorrFull_NormLevel.

CrossCorrSame_Norm ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void

image CrossCorrSame_Norm.

CrossCorrSame_Norm ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void

image CrossCorrSame_Norm.

CrossCorrSame_NormLevel ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void

CrossCorrSame_NormLevel. Buffer is internally allocated and freed.

CrossCorrSame_NormLevel ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst, CudaDeviceVariable buffer ) : void

CrossCorrSame_NormLevel.

CrossCorrSame_NormLevel ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void

CrossCorrSame_NormLevel. Buffer is internally allocated and freed.

CrossCorrSame_NormLevel ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void

CrossCorrSame_NormLevel.

CrossCorrValid_Norm ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void

image CrossCorrValid_Norm.

CrossCorrValid_Norm ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void

image CrossCorrValid_Norm.

CrossCorrValid_NormLevel ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void

CrossCorrValid_NormLevel. Buffer is internally allocated and freed.

CrossCorrValid_NormLevel ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst, CudaDeviceVariable buffer ) : void

CrossCorrValid_NormLevel.

CrossCorrValid_NormLevel ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void

CrossCorrValid_NormLevel. Buffer is internally allocated and freed.

CrossCorrValid_NormLevel ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void

CrossCorrValid_NormLevel.

Dilate ( NPPImage_8uC3 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor ) : void

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

Dilate3x3 ( NPPImage_8uC3 dst ) : void

3x3 dilation.

Dilate3x3Border ( NPPImage_8uC3 dest, NppiBorderType eBorderType ) : void

3x3 dilation with border control.

DilateBorder ( NPPImage_8uC3 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void

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

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

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

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

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

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

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

Div ( NPPImage_8uC3 src2, int nScaleFactor ) : void

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

Div ( byte nConstant, NPPImage_8uC3 dest, int nScaleFactor ) : void

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

Div ( byte 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_8u64f_C3R.

DotProduct ( NPPImage_8uC3 src2, CudaDeviceVariable pDp ) : void

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

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

Three-channel 8-bit unsigned image DotProd.

Erode ( NPPImage_8uC3 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor ) : void

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

Erode3x3 ( NPPImage_8uC3 dst ) : void

3x3 erosion.

Erode3x3Border ( NPPImage_8uC3 dest, NppiBorderType eBorderType ) : void

3x3 erosion with border control.

ErodeBorder ( NPPImage_8uC3 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void

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

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

Compute levels with even distribution.

Exp ( NPPImage_8uC3 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_16sC3 dst, CudaDeviceVariable pKernel, NppiSize oKernelSize, NppiPoint oAnchor ) : void

convolution filter.

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

convolution filter.

Filter ( NPPImage_8uC3 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.

FilterBilateralGaussBorder ( NPPImage_8uC3 dest, int nRadius, int nStepBetweenSrcPixels, float nValSquareSigma, float nPosSquareSigma, NppiBorderType eBorderType ) : void

Three channel 8-bit unsigned bilateral Gauss filter with border control.

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

Three channel 8-bit unsigned to 16-bit signed convolution filter with border control. General purpose 2D convolution filter using floating-point weights with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. Before writing the result pixel the sum is scaled back via division by nDivisor. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.

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

Three channel 8-bit unsigned 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_8uC3 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, int nDivisor, NppiBorderType eBorderType ) : void

Three channel 8-bit unsigned 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_8uC3 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void

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

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

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

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

1D column convolution.

FilterColumn ( NPPImage_8uC3 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_8uC3 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_8uC3 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_8uC3 dst, CudaDeviceVariable Kernel ) : void

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

FilterGauss ( NPPImage_8uC3 dst, MaskSize eMaskSize ) : void

Gauss filter.

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

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

FilterGaussBorder ( NPPImage_8uC3 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

FilterGaussPyramidLayerDownBorder ( NPPImage_8uC3 dest, float nRate, int nFilterTaps, CudaDeviceVariable pKernel, NppiBorderType eBorderType ) : void

Three channel 8-bit unsigned Gauss filter with downsampling and border control.

FilterGaussPyramidLayerUpBorder ( NPPImage_8uC3 dest, float nRate, int nFilterTaps, CudaDeviceVariable pKernel, NppiBorderType eBorderType ) : void

Three channel 8-bit unsigned Gauss filter with downsampling and border control.

FilterHighPass ( NPPImage_8uC3 dst, MaskSize eMaskSize ) : void

High pass filter.

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

High pass filter.

FilterLaplace ( NPPImage_8uC3 dst, MaskSize eMaskSize ) : void

Laplace filter.

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

Laplace filter.

FilterLowPass ( NPPImage_8uC3 dst, MaskSize eMaskSize ) : void

Low pass filter.

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

Low pass filter.

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

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

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

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

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

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

FilterMedian ( NPPImage_8uC3 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_8uC3 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void

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

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

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

FilterPrewittHoriz ( NPPImage_8uC3 dst ) : void

horizontal Prewitt filter.

FilterPrewittHorizBorder ( NPPImage_8uC3 dst, NppiBorderType eBorderType ) : void

horizontal Prewitt filter.

FilterPrewittVert ( NPPImage_8uC3 dst ) : void

vertical Prewitt filter.

FilterPrewittVertBorder ( NPPImage_8uC3 dst, NppiBorderType eBorderType ) : void

vertical Prewitt filter.

FilterRobertsDown ( NPPImage_8uC3 dst ) : void

horizontal Roberts filter.

FilterRobertsDownBorder ( NPPImage_8uC3 dst, NppiBorderType eBorderType ) : void

horizontal Roberts filter.

FilterRobertsUp ( NPPImage_8uC3 dst ) : void

vertical Roberts filter..

FilterRobertsUpBorder ( NPPImage_8uC3 dst, NppiBorderType eBorderType ) : void

vertical Roberts filter.

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

1D row convolution.

FilterRow ( NPPImage_8uC3 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_8uC3 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_8uC3 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_8uC3 dst ) : void

Sharpen filter.

FilterSharpenBorder ( NPPImage_8uC3 dst, NppiBorderType eBorderType ) : void

Sharpen filter.

FilterSobelHorizBorder ( NPPImage_8uC3 dest, NppiBorderType eBorderType ) : void

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

FilterSobelVert ( NPPImage_8uC3 dst ) : void

vertical Sobel filter.

FilterSobelVertBorder ( NPPImage_8uC3 dest, NppiBorderType eBorderType ) : void

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

FilterUnsharpBorder ( NPPImage_8uC3 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.

FullNormLevelGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrFull_NormLevel.

FullNormLevelScaledGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrFull_NormLevel.

Gamma ( ) : void

Inplace image forward gamma correction.

Gamma ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2 ) : void

3 channel 8-bit unsigned planar color in place forward gamma correction.

Gamma ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar color not in place forward gamma correction.

Gamma ( NPPImage_8uC3 dest ) : void

image forward gamma correction.

GammaInv ( ) : void

Inplace image inverse gamma correction.

GammaInv ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2 ) : void

3 channel 8-bit unsigned planar color in place inverse gamma correction.

GammaInv ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar color not in place inverse gamma correction.

GammaInv ( NPPImage_8uC3 dest ) : void

image inverse gamma correction.

GetAffineBound ( double coeffs ) : ].double[

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

GetAffineQuad ( double coeffs ) : ].double[

Calculates affine transform projection of given source rectangular ROI

GetAffineTransform ( double quad ) : ].double[

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

GetFilterGaussPyramidLayerDownBorderDstROI ( float nRate ) : NppiSize

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

GetFilterGaussPyramidLayerUpBorderDstROI ( float nRate, NppiSize &pDstSizeROIMin, NppiSize &pDstSizeROIMax ) : void

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

GetPerspectiveBound ( double coeffs ) : ].double[

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

GetPerspectiveQuad ( double coeffs ) : ].double[

Calculates perspective transform projection of given source rectangular ROI

GetPerspectiveTransform ( double quad ) : ].double[

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

GetRotateBound ( double nAngle, double nShiftX, double nShiftY ) : ].double[

Compute bounding-box of rotated image.

GetRotateQuad ( double nAngle, double nShiftX, double nShiftY ) : ].double[

Compute shape of rotated image.

GradientColorToGray ( NPPImage_8uC1 dest, NppiNorm eNorm ) : void

3 channel 8-bit unsigned packed RGB to 1 channel 8-bit unsigned packed Gray Gradient conversion.

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

3 channel 8-bit unsigned packed RGB to optional 1 channel 16-bit signed 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_16sC1 destX, NPPImage_16sC1 destY, NPPImage_16sC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType ) : void

3 channel 8-bit unsigned packed RGB to optional 1 channel 16-bit signed 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_16sC1 destX, NPPImage_16sC1 destY, NPPImage_16sC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType ) : void

3 channel 8-bit unsigned packed RGB to optional 1 channel 16-bit signed 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.

HLSToBGR ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed HLS to 3 channel 8-bit unsigned planar BGR color conversion.

HLSToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar HLS to 3 channel 8-bit unsigned planar BGR color conversion.

HLSToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar HLS to 3 channel 8-bit unsigned packed BGR color conversion.

HLSToRGB ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed HLS to 3 channel 8-bit unsigned packed RGB color conversion.

HSVToRGB ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed HSV to 3 channel 8-bit unsigned packed RGB color conversion.

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.

LShiftC ( uint nConstant ) : void

image bit shift by constant (left), inplace.

LShiftC ( uint nConstant, NPPImage_8uC3 dest ) : void

image bit shift by constant (left).

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

LUTPalette ( NPPImage_8uC3 dst, CudaDeviceVariable pTable, int nBitSize ) : void

range restricted palette look-up-table color conversion. The LUT is derived from a set of user defined mapping points in a palette and source pixels are then processed using a restricted bit range when looking up palette values.

LUTPaletteSwap ( NPPImage_8uC4 dst, int nAlphaValue, CudaDeviceVariable pTables0, CudaDeviceVariable pTables1, CudaDeviceVariable pTables2, int nBitSize ) : void

Three channel 8-bit unsigned source bit range restricted palette look-up-table color conversion to four channel 8-bit unsigned destination output with alpha. The LUT is derived from a set of user defined mapping points in a palette and source pixels are then processed using a restricted bit range when looking up palette values. This function also reverses the source pixel channel order in the destination so the Alpha channel is the first channel.

LUVToRGB ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed LUV to 3 channel 8-bit unsigned packed RGB color conversion.

LabToBGR ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed Lab to 3 channel 8-bit unsigned packed BGR color conversion.

Ln ( NPPImage_8uC3 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.

Lut ( NPPImage_8uC3 dest, CudaDeviceVariable values0, CudaDeviceVariable levels0, CudaDeviceVariable values1, CudaDeviceVariable levels1, CudaDeviceVariable values2, CudaDeviceVariable levels2 ) : void

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

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_8uC3 src2, CudaDeviceVariable pError ) : void

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

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

image maximum error.

MaxErrorGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for MaxError.

MaxEvery ( NPPImage_8uC3 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_8uC3 src2, CudaDeviceVariable pError ) : void

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

MaximumRelativeError ( NPPImage_8uC3 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.

Mean ( int coi, CudaDeviceVariable mean, NPPImage_8uC1 mask ) : void

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

Mean ( int coi, CudaDeviceVariable mean, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void

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

MeanGetBufferHostSize ( ) : int

Scratch-buffer size for Mean.

MeanMaskedGetBufferHostSize ( ) : int

Scratch-buffer size for Mean with mask.

MeanStdDev ( int coi, CudaDeviceVariable mean, CudaDeviceVariable stdDev ) : void

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

MeanStdDev ( int coi, CudaDeviceVariable mean, CudaDeviceVariable stdDev, CudaDeviceVariable buffer ) : void

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

MeanStdDev ( int coi, CudaDeviceVariable mean, CudaDeviceVariable stdDev, NPPImage_8uC1 mask ) : void

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

MeanStdDev ( int coi, CudaDeviceVariable mean, CudaDeviceVariable stdDev, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void

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

MeanStdDevGetBufferHostSize ( ) : int

Scratch-buffer size for MeanStdDev.

MeanStdDevMaskedGetBufferHostSize ( ) : int

Scratch-buffer size for MeanStdDev (masked).

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

MinMaxIndex ( int coi, CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable minIndex, CudaDeviceVariable maxIndex ) : void

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

MinMaxIndex ( int coi, CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable minIndex, CudaDeviceVariable maxIndex, CudaDeviceVariable buffer ) : void

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

MinMaxIndex ( int coi, CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable minIndex, CudaDeviceVariable maxIndex, NPPImage_8uC1 mask ) : void

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

MinMaxIndex ( int coi, CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable minIndex, CudaDeviceVariable maxIndex, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void

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

MinMaxIndexGetBufferHostSize ( ) : int

Scratch-buffer size for MinMaxIndex.

MinMaxIndexMaskedGetBufferHostSize ( ) : int

Scratch-buffer size for MinMaxIndex with mask.

Mirror ( NPPImage_8uC3 dest, NppiAxis flip ) : void

Mirror image.

Mirror ( NppiAxis flip ) : void

Mirror image inplace.

Mul ( NPPImage_8uC3 src2 ) : void

In place image multiplication and scale by max bit width value

Mul ( NPPImage_8uC3 src2, NPPImage_8uC3 dest ) : void

Image multiplication and scale by max bit width value.

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

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

Mul ( NPPImage_8uC3 src2, int nScaleFactor ) : void

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

Mul ( byte nConstant ) : void

Multiply constant to image and scale by max bit width value

Mul ( byte nConstant, NPPImage_8uC3 dest ) : void

Multiply constant to image and scale by max bit width value

Mul ( byte nConstant, NPPImage_8uC3 dest, int nScaleFactor ) : void

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

Mul ( byte nConstant, int nScaleFactor ) : void

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

NPPImage_8uC3 ( CUdeviceptr devPtr, NppiSize size, int pitch ) : System

Creates a new NPPImage from allocated device ptr.

NPPImage_8uC3 ( CUdeviceptr devPtr, NppiSize size, int pitch, bool isOwner ) : System

Creates a new NPPImage from allocated device ptr.

NPPImage_8uC3 ( CUdeviceptr devPtr, int width, int height, int pitch ) : System

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

NPPImage_8uC3 ( CUdeviceptr devPtr, int width, int height, int pitch, bool isOwner ) : System

Creates a new NPPImage from allocated device ptr.

NPPImage_8uC3 ( NPPImageBase image ) : System

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

NPPImage_8uC3 ( NppiSize size ) : System

Allocates new memory on device using NPP-Api.

NPPImage_8uC3 ( int nWidthPixels, int nHeightPixels ) : System

Allocates new memory on device using NPP-Api.

NormDiffInfGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_Inf.

NormDiffInfMaskedGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_Inf.

NormDiffL1GetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_L1.

NormDiffL1MaskedGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_L1.

NormDiffL2GetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_L2.

NormDiffL2MaskedGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_L2.

NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_Inf. Buffer is internally allocated and freed.

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

image NormDiff_Inf.

NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask ) : void

image NormDiff_Inf. Buffer is internally allocated and freed.

NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void

image NormDiff_Inf.

NormDiff_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_L1. Buffer is internally allocated and freed.

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

image NormDiff_L1.

NormDiff_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask ) : void

image NormDiff_L1. Buffer is internally allocated and freed.

NormDiff_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void

image NormDiff_L1.

NormDiff_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_L2. Buffer is internally allocated and freed.

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

image NormDiff_L2.

NormDiff_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask ) : void

image NormDiff_L2. Buffer is internally allocated and freed.

NormDiff_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask, 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.

NormInf ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask ) : void

image infinity norm. Buffer is internally allocated and freed.

NormInf ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void

image infinity norm. No additional buffer is allocated.

NormInfGetBufferHostSize ( ) : int

Scratch-buffer size for Norm inf.

NormInfMaskedGetBufferHostSize ( ) : int

Scratch-buffer size for Norm inf (masked).

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.

NormL1 ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask ) : void

image L1 norm. Buffer is internally allocated and freed.

NormL1 ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void

image L1 norm. No additional buffer is allocated.

NormL1GetBufferHostSize ( ) : int

Scratch-buffer size for Norm L1.

NormL1MaskedGetBufferHostSize ( ) : int

Scratch-buffer size for Norm L1 (masked).

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.

NormL2 ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask ) : void

image L2 norm. Buffer is internally allocated and freed.

NormL2 ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void

image L2 norm. No additional buffer is allocated.

NormL2GetBufferHostSize ( ) : int

Scratch-buffer size for Norm L2.

NormL2MaskedGetBufferHostSize ( ) : int

Scratch-buffer size for Norm L2 (masked).

NormRelInfGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_Inf.

NormRelInfMaskedGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_Inf.

NormRelL1GetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_L1.

NormRelL1MaskedGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_L1.

NormRelL2GetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_L2.

NormRelL2MaskedGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_L2.

NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_Inf. Buffer is internally allocated and freed.

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

image NormRel_Inf.

NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask ) : void

image NormRel_Inf. Buffer is internally allocated and freed.

NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void

image NormRel_Inf.

NormRel_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_L1. Buffer is internally allocated and freed.

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

image NormRel_L1.

NormRel_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask ) : void

image NormRel_L1. Buffer is internally allocated and freed.

NormRel_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void

image NormRel_L1.

NormRel_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_L2. Buffer is internally allocated and freed.

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

image NormRel_L2.

NormRel_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask ) : void

image NormRel_L2. Buffer is internally allocated and freed.

NormRel_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void

image NormRel_L2.

Not ( ) : void

In place image logical Not.

Not ( NPPImage_8uC3 dest ) : void

Image logical Not.

Or ( NPPImage_8uC3 src2 ) : void

In place image logical Or.

Or ( NPPImage_8uC3 src2, NPPImage_8uC3 dest ) : void

Image logical Or.

Or ( byte nConstant ) : void

In place image logical Or with constant.

Or ( byte nConstant, NPPImage_8uC3 dest ) : void

Image logical Or with constant.

QualityIndex ( NPPImage_8uC3 src2, CudaDeviceVariable dst ) : void

image QualityIndex.

QualityIndex ( NPPImage_8uC3 src2, CudaDeviceVariable dst, CudaDeviceVariable buffer ) : void

image QualityIndex.

QualityIndexGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for QualityIndex.

RGBToCbYCr422 ( NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned packed RGB to 2 channel 8-bit unsigned packed CbYCr422 color conversion.

RGBToCbYCr422Gamma ( NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned packed RGB first gets forward gamma corrected then converted to 2 channel 8-bit unsigned packed CbYCr422 color conversion.

RGBToGray ( NPPImage_8uC1 dest ) : void

RGB to Gray conversion

RGBToHLS ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed HLS color conversion.

RGBToHSV ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed HSV color conversion.

RGBToLUV ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed LUV color conversion.

RGBToXYZ ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed XYZ color conversion.

RGBToYCC ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed YCC color conversion.

RGBToYCbCr ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed RGB to 3 channel unsigned 8-bit packed YCbCr color conversion.

RGBToYCbCr ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel planar 8-bit unsigned RGB to YCbCr color conversion.

RGBToYCbCr ( NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned RGB to 2 channel chroma packed YCbCr422 color conversion.

RGBToYCbCr ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed RGB to packed YCbCr color conversion.

RGBToYCbCr411 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YCbCr411 color conversion.

RGBToYCbCr420 ( NPPImage_8uC1 dst0, NPPImage_8uC1 dst1, NPPImage_8uC1 dst2 ) : void

3 channel 8-bit unsigned packed RGB to planar YCbCr420 color conversion.

RGBToYCbCr422 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YCbCr422 color conversion.

RGBToYCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned planar RGB to 2 channel 8-bit unsigned packed YCbCr422 color conversion.

RGBToYCrCb422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned planar RGB to 2 channel 8-bit unsigned packed YCrCb422 color conversion.

RGBToYCrCb422 ( NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned packed RGB to 2 channel 8-bit unsigned packed YCrCb422 color conversion.

RGBToYUV ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YUV color conversion.

RGBToYUV ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar RGB to 3 channel 8-bit unsigned planar YUV color conversion.

RGBToYUV ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed YUV color conversion.

RGBToYUV420 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YUV420 color conversion.

RGBToYUV420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar RGB to 3 channel 8-bit unsigned planar YUV420 color conversion.

RGBToYUV422 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YUV422 color conversion.

RGBToYUV422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar RGB to 3 channel 8-bit unsigned planar YUV422 color conversion.

RGBToYUV422 ( NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned packed RGB to 2 channel 8-bit unsigned packed YUV422 color conversion.

RShiftC ( uint nConstant ) : void

image bit shift by constant (right), inplace.

RShiftC ( uint nConstant, NPPImage_8uC3 dest ) : void

image bit shift by constant (right).

Remap ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation ) : void

planar image remap.

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

image remap.

Resize ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double xFactor, double yFactor, InterpolationMode eInterpolation ) : void

resizes planar images.

Resize ( NPPImage_8uC3 dest, double xFactor, double yFactor, InterpolationMode eInterpolation ) : void

Resizes images.

ResizeSqrPixel ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation ) : void

planar image resize.

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

image resize.

Rotate ( NPPImage_8uC3 dest, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation ) : void

Rotate images.

SameNormLevelGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrSame_NormLevel.

SameNormLevelScaledGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrSame_NormLevel.

Scale ( NPPImage_16sC3 dst ) : void

image conversion.

Scale ( NPPImage_16uC3 dst ) : void

image conversion.

Scale ( NPPImage_32fC3 dst, float nMin, float nMax ) : void

image conversion.

Scale ( NPPImage_32sC3 dst ) : void

image conversion.

Set ( byte nValue ) : void

Set pixel values to nValue.

Set ( byte nValue, 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.

Set ( byte nValue, int channel ) : 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_8uC3 dst ) : void

horizontal Sobel filter.

Sqr ( NPPImage_8uC3 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.

SqrDistanceFull_Norm ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void

image SqrDistanceFull_Norm.

SqrDistanceFull_Norm ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void

image SqrDistanceFull_Norm.

SqrDistanceSame_Norm ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void

image SqrDistanceSame_Norm.

SqrDistanceSame_Norm ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void

image SqrDistanceSame_Norm.

SqrDistanceValid_Norm ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void

image SqrDistanceValid_Norm.

SqrDistanceValid_Norm ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void

image SqrDistanceValid_Norm.

Sqrt ( NPPImage_8uC3 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_8uC3 src2, NPPImage_8uC3 dest, int nScaleFactor ) : void

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

Sub ( NPPImage_8uC3 src2, int nScaleFactor ) : void

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

Sub ( byte nConstant, NPPImage_8uC3 dest, int nScaleFactor ) : void

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

Sub ( byte 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.

SumDoubleGetBufferHostSize ( ) : int

Scratch-buffer size for nppiSum_8u_C3R.

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

8-bit unsigned 1D (column) sum to 32f. Apply Column Window Summation filter over a 1D mask region around each source pixel for 3-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.

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

Apply Column Window Summation filter over a 1D mask region around each source pixel for 3-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_32fC3 dest, int nMaskSize, int nAnchor ) : void

8-bit unsigned 1D (row) sum to 32f. Apply Row Window Summation filter over a 1D mask region around each source pixel for 3-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.

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

Apply Row Window Summation filter over a 1D mask region around each source pixel for 3-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.

SwapChannels ( NPPImage_8uC3 dest, int aDstOrder ) : void

Swap color channels

SwapChannels ( NPPImage_8uC4 dest, int aDstOrder, byte nValue ) : void

Swap color channels

SwapChannels ( int aDstOrder ) : void

Swap color channels inplace

Threshold ( NPPImage_8uC3 dest, byte 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_8uC3 dest, byte nThreshold, byte 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 ( byte 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 ( byte nThreshold, byte 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_8uC3 dest, byte 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_8uC3 dest, byte nThreshold, byte 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 ( byte 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 ( byte nThreshold, byte 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_8uC3 dest, byte 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_8uC3 dest, byte nThreshold, byte 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 ( byte 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 ( byte nThreshold, byte 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_8uC3 dest, byte nThresholdLT, byte nValueLT, byte nThresholdGT, byte 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 ( byte nThresholdLT, byte nValueLT, byte nThresholdGT, byte 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_8uC3 dest ) : void

image transpose

ValidNormLevelGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel.

ValidNormLevelScaledGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel.

WarpAffine ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double coeffs, InterpolationMode eInterpolation ) : void

Affine transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetAffineTransform function or set explicitly. The function operates on source and destination regions of interest. The affine warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = C_00 * x + C_01 * y + C_02 Y_new = C_10 * x + C_11 * y + C_12 The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetAffineQuad and nppiGetAffineBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but does not perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

WarpAffine ( NPPImage_8uC3 dest, double coeffs, InterpolationMode eInterpolation ) : void

Affine transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetAffineTransform function or set explicitly. The function operates on source and destination regions of interest. The affine warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = C_00 * x + C_01 * y + C_02 Y_new = C_10 * x + C_11 * y + C_12 The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetAffineQuad and nppiGetAffineBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but does not perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

WarpAffineBack ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double coeffs, InterpolationMode eInterpolation ) : void

Inverse affine transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetAffineTransform function or set explicitly. Thus there is no need to invert coefficients in your application before calling WarpAffineBack. The function operates on source and destination regions of interest. The affine warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = C_00 * x + C_01 * y + C_02 Y_new = C_10 * x + C_11 * y + C_12 The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetAffineQuad and nppiGetAffineBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

WarpAffineBack ( NPPImage_8uC3 dest, double coeffs, InterpolationMode eInterpolation ) : void

Inverse affine transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetAffineTransform function or set explicitly. Thus there is no need to invert coefficients in your application before calling WarpAffineBack. The function operates on source and destination regions of interest. The affine warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = C_00 * x + C_01 * y + C_02 Y_new = C_10 * x + C_11 * y + C_12 The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetAffineQuad and nppiGetAffineBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

WarpAffineQuad ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, double srcQuad, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double dstQuad, InterpolationMode eInterpolation ) : void

Affine transform of an image. This function performs affine warping of a the specified quadrangle in the source image to the specified quadrangle in the destination image. The function nppiWarpAffineQuad uses the same formulas for pixel mapping as in nppiWarpAffine function. The transform coefficients are computed internally. The transformed part of the source image is resampled using the specified eInterpolation method and written to the destination ROI. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

WarpAffineQuad ( double srcQuad, NPPImage_8uC3 dest, double dstQuad, InterpolationMode eInterpolation ) : void

Affine transform of an image. This function performs affine warping of a the specified quadrangle in the source image to the specified quadrangle in the destination image. The function nppiWarpAffineQuad uses the same formulas for pixel mapping as in nppiWarpAffine function. The transform coefficients are computed internally. The transformed part of the source image is resampled using the specified eInterpolation method and written to the destination ROI. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

WarpPerspective ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double coeffs, InterpolationMode eInterpolation ) : void

Perspective transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetPerspectiveTransform function or set explicitly. The function operates on source and destination regions of interest. The perspective warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = (C_00 * x + C_01 * y + C_02) / (C_20 * x + C_21 * y + C_22) Y_new = (C_10 * x + C_11 * y + C_12) / (C_20 * x + C_21 * y + C_22) The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetPerspectiveQuad and nppiGetPerspectiveBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

WarpPerspective ( NPPImage_8uC3 dest, double coeffs, InterpolationMode eInterpolation ) : void

Perspective transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetPerspectiveTransform function or set explicitly. The function operates on source and destination regions of interest. The perspective warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = (C_00 * x + C_01 * y + C_02) / (C_20 * x + C_21 * y + C_22) Y_new = (C_10 * x + C_11 * y + C_12) / (C_20 * x + C_21 * y + C_22) The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetPerspectiveQuad and nppiGetPerspectiveBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

WarpPerspectiveBack ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double coeffs, InterpolationMode eInterpolation ) : void

Inverse perspective transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetPerspectiveTransform function or set explicitly. Thus there is no need to invert coefficients in your application before calling WarpPerspectiveBack. The function operates on source and destination regions of interest. The perspective warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = (C_00 * x + C_01 * y + C_02) / (C_20 * x + C_21 * y + C_22) Y_new = (C_10 * x + C_11 * y + C_12) / (C_20 * x + C_21 * y + C_22) The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetPerspectiveQuad and nppiGetPerspectiveBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

WarpPerspectiveBack ( NPPImage_8uC3 dest, double coeffs, InterpolationMode eInterpolation ) : void

Inverse perspective transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetPerspectiveTransform function or set explicitly. Thus there is no need to invert coefficients in your application before calling WarpPerspectiveBack. The function operates on source and destination regions of interest. The perspective warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = (C_00 * x + C_01 * y + C_02) / (C_20 * x + C_21 * y + C_22) Y_new = (C_10 * x + C_11 * y + C_12) / (C_20 * x + C_21 * y + C_22) The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetPerspectiveQuad and nppiGetPerspectiveBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

WarpPerspectiveQuad ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, double srcQuad, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double destQuad, InterpolationMode eInterpolation ) : void

Perspective transform of an image. This function performs perspective warping of a the specified quadrangle in the source image to the specified quadrangle in the destination image. The function nppiWarpPerspectiveQuad uses the same formulas for pixel mapping as in nppiWarpPerspective function. The transform coefficients are computed internally. The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

WarpPerspectiveQuad ( double srcQuad, NPPImage_8uC3 dest, double destQuad, InterpolationMode eInterpolation ) : void

Perspective transform of an image. This function performs perspective warping of a the specified quadrangle in the source image to the specified quadrangle in the destination image. The function nppiWarpPerspectiveQuad uses the same formulas for pixel mapping as in nppiWarpPerspective function. The transform coefficients are computed internally. The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.

XYZToRGB ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed XYZ to 3 channel 8-bit unsigned packed RGB color conversion.

Xor ( NPPImage_8uC3 src2 ) : void

In place image logical Xor.

Xor ( NPPImage_8uC3 src2, NPPImage_8uC3 dest ) : void

Image logical Xor.

Xor ( byte nConstant ) : void

In place image logical Xor with constant.

Xor ( byte nConstant, NPPImage_8uC3 dest ) : void

Image logical Xor with constant.

YCCToRGB ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed YCC to 3 channel 8-bit unsigned packed RGB color conversion.

YCbCr411 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void

3 channel 8-bit unsigned planar YCbCr411 to 2 channel 8-bit unsigned planar YCbCr411 sampling format conversion.

YCbCr411ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YCbCr411 to 3 channel 8-bit unsigned packed BGR color conversion.

YCbCr411ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void

3 channel 8-bit unsigned planar YCbCr411 to 4 channel 8-bit unsigned packed BGR color conversion with constant alpha.

YCbCr411ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YCbCr411 to 3 channel 8-bit unsigned packed RGB color conversion.

YCbCr411ToYCbCr420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void

3 channel 8-bit unsigned planar YCbCr411 to 2 channel 8-bit unsigned planar YCbCr420 sampling format conversion.

YCbCr411ToYCbCr420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar YCbCr411 to 3 channel 8-bit unsigned planar YCbCr420 sampling format conversion.

YCbCr411ToYCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar YCbCr411 to 3 channel 8-bit unsigned planar YCbCr422 sampling format conversion.

YCbCr411ToYCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned planar YCbCr411 to 2 channel 8-bit unsigned packed YCbCr422 sampling format conversion.

YCbCr411ToYCrCb422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar YCbCr411 to 3 channel 8-bit unsigned planar YCrCb422 sampling format conversion.

YCbCr411ToYCrCb422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned planar YCbCr411 to 2 channel 8-bit unsigned packed YCrCb422 sampling format conversion.

YCbCr420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void

3 channel 8-bit unsigned planar YCbCr420 to 2 channel 8-bit unsigned planar YCbCr420 sampling format conversion.

YCbCr420ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YCbCr420 to 3 channel 8-bit unsigned packed BGR color conversion.

YCbCr420ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void

3 channel 8-bit unsigned planar YCbCr420 to 4 channel 8-bit unsigned packed BGR color conversion with constant alpha.

YCbCr420ToBGR_709CSC ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YCbCr420 to 3 channel 8-bit unsigned packed BGR_709CSC color conversion.

YCbCr420ToBGR_709HDTV ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void

3 channel 8-bit unsigned planar YCbCr420 to 4 channel 8-bit unsigned packed BGR_709HDTV color conversion with constant alpha.

YCbCr420ToYCbCr411 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void

3 channel 8-bit unsigned planar YCbCr:420 to YCbCr:411 resampling.

YCbCr420ToYCbCr411 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YCbCr420 to packed RGB color conversion.

YCbCr420ToYCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar YCbCr:420 to YCbCr:422 resampling.

YCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned planar YCbCr422 to 2 channel 8-bit unsigned packed YCbCr422 sampling format conversion.

YCbCr422ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YCbCr422 to 3 channel 8-bit unsigned packed BGR color conversion.

YCbCr422ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YCbCr422 to 3 channel 8-bit unsigned packed RGB color conversion.

YCbCr422ToYCbCr411 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void

3 channel 8-bit unsigned planar YCbCr422 to 2 channel 8-bit unsigned planar YCbCr411 sampling format conversion.

YCbCr422ToYCbCr411 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar YCbCr:422 to YCbCr:411 resampling.

YCbCr422ToYCbCr420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void

3 channel 8-bit unsigned planar YCbCr422 to 2 channel 8-bit unsigned planar YCbCr420 sampling format conversion.

YCbCr422ToYCbCr420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar YCbCr:422 to YCbCr:420 resampling.

YCbCr422ToYCrCb422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned planar YCbCr422 to 2 channel 8-bit unsigned packed YCrCb422 sampling format conversion.

YCbCrToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed BGR color conversion.

YCbCrToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void

3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed BGR color conversion with constant alpha.

YCbCrToBGR_709CSC ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed BGR_709CSC color conversion.

YCbCrToBGR_709CSC ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void

3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed BGR_709CSC color conversion with constant alpha.

YCbCrToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar YCbCr to RGB color conversion.

YCbCrToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed RGB color conversion.

YCbCrToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void

3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed RGB color conversion with constant alpha.

YCbCrToRGB ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed YCbCr to RGB color conversion.

YCrCb420ToCbYCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned planar YCrCb420 to 2 channel 8-bit unsigned packed CbYCr422 sampling format conversion.

YCrCb420ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void

3 channel 8-bit unsigned planar YCrCb420 to 4 channel 8-bit unsigned packed RGB color conversion with constant alpha.

YCrCb420ToYCbCr411 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void

3 channel 8-bit unsigned planar YCrCb420 to 2 channel 8-bit unsigned planar YCbCr411 sampling format conversion.

YCrCb420ToYCbCr420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void

3 channel 8-bit unsigned planar YCrCb420 to 2 channel 8-bit unsigned planar YCbCr420 sampling format conversion.

YCrCb420ToYCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar YCrCb420 to 3 channel 8-bit unsigned planar YCbCr422 sampling format conversion.

YCrCb420ToYCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void

3 channel 8-bit unsigned planar YCrCb420 to 2 channel 8-bit unsigned packed YCbCr422 sampling format conversion.

YUV420ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YUV420 to 3 channel 8-bit unsigned packed BGR color conversion.

YUV420ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest ) : void

3 channel 8-bit unsigned planar YUV420 to 4 channel 8-bit unsigned packed BGR color conversion with constant alpha (0xFF).

YUV420ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar YUV420 to 3 channel 8-bit unsigned planar RGB color conversion.

YUV420ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YUV420 to 3 channel 8-bit unsigned packed RGB color conversion.

YUV420ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest ) : void

3 channel 8-bit unsigned planar YUV420 to 4 channel 8-bit unsigned packed RGB color conversion with alpha.

YUV420ToRGBA ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest ) : void

3 channel 8-bit unsigned planar YUV420 to 4 channel 8-bit unsigned packed RGB color conversion with constant alpha (0xFF).

YUV422ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar YUV422 to 3 channel 8-bit unsigned planar RGB color conversion.

YUV422ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YUV422 to 3 channel 8-bit unsigned packed RGB color conversion.

YUV422ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest ) : void

3 channel 8-bit unsigned planar YUV422 to 4 channel 8-bit unsigned packed RGB color conversion with alpha.

YUVToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar YUV to 3 channel 8-bit unsigned planar BGR color conversion.

YUVToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YUV to 3 channel 8-bit unsigned planar BGR color conversion.

YUVToBGR ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed YUV to 3 channel 8-bit unsigned packed BGR color conversion.

YUVToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void

3 channel 8-bit unsigned planar YUV to 3 channel 8-bit unsigned planar RGB color conversion.

YUVToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned planar YUV to 3 channel 8-bit unsigned packed RGB color conversion.

YUVToRGB ( NPPImage_8uC3 dest ) : void

3 channel 8-bit unsigned packed YUV to 3 channel 8-bit unsigned packed RGB color conversion.

Описание методов

AbsDiff() публичный Метод

Absolute difference of this minus src2.
public AbsDiff ( NPPImage_8uC3 src2, NPPImage_8uC3 dest ) : void
src2 NPPImage_8uC3 2nd source image
dest NPPImage_8uC3 Destination image
Результат void

Add() публичный Метод

Image addition, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Add ( NPPImage_8uC3 src2, NPPImage_8uC3 dest, int nScaleFactor ) : void
src2 NPPImage_8uC3 2nd source image
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
Результат void

Add() публичный Метод

In place image addition, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Add ( NPPImage_8uC3 src2, int nScaleFactor ) : void
src2 NPPImage_8uC3 2nd source image
nScaleFactor int scaling factor
Результат void

Add() публичный Метод

Add constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Add ( byte nConstant, NPPImage_8uC3 dest, int nScaleFactor ) : void
nConstant byte Values to add
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
Результат void

Add() публичный Метод

Add constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.
public Add ( byte nConstant, int nScaleFactor ) : void
nConstant byte Values to add
nScaleFactor int scaling factor
Результат void

AlphaComp() публичный Метод

Image composition using constant alpha.
public AlphaComp ( byte alpha1, NPPImage_8uC3 src2, byte alpha2, NPPImage_8uC3 dest, NppiAlphaOp nppAlphaOp ) : void
alpha1 byte constant alpha for this image
src2 NPPImage_8uC3 2nd source image
alpha2 byte constant alpha for src2
dest NPPImage_8uC3 Destination image
nppAlphaOp NppiAlphaOp alpha compositing operation
Результат void

AlphaPremul() публичный Метод

In place alpha premultiplication using constant alpha.
public AlphaPremul ( byte alpha ) : void
alpha byte alpha
Результат void

AlphaPremul() публичный Метод

Image premultiplication using constant alpha.
public AlphaPremul ( byte alpha, NPPImage_8uC3 dest ) : void
alpha byte alpha
dest NPPImage_8uC3 Destination image
Результат void

And() публичный Метод

In place image logical and.
public And ( NPPImage_8uC3 src2 ) : void
src2 NPPImage_8uC3 2nd source image
Результат void

And() публичный Метод

Image logical and.
public And ( NPPImage_8uC3 src2, NPPImage_8uC3 dest ) : void
src2 NPPImage_8uC3 2nd source image
dest NPPImage_8uC3 Destination image
Результат void

And() публичный Метод

In place image logical and with constant.
public And ( byte nConstant ) : void
nConstant byte Value (Array length = 3)
Результат void

And() публичный Метод

Image logical and with constant.
public And ( byte nConstant, NPPImage_8uC3 dest ) : void
nConstant byte Value (Array length = 3)
dest NPPImage_8uC3 Destination image
Результат void

AverageError() публичный Метод

image average error. User buffer is internally allocated and freed.
public AverageError ( NPPImage_8uC3 src2, CudaDeviceVariable pError ) : void
src2 NPPImage_8uC3 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
Результат void

AverageError() публичный Метод

image average error.
public AverageError ( NPPImage_8uC3 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void
src2 NPPImage_8uC3 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
buffer CudaDeviceVariable Pointer to the user-allocated scratch buffer required for the AverageError operation.
Результат void

AverageErrorGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for AverageError.
public AverageErrorGetBufferHostSize ( ) : int
Результат int

AverageRelativeError() публичный Метод

image average relative error. User buffer is internally allocated and freed.
public AverageRelativeError ( NPPImage_8uC3 src2, CudaDeviceVariable pError ) : void
src2 NPPImage_8uC3 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
Результат void

AverageRelativeError() публичный Метод

image average relative error.
public AverageRelativeError ( NPPImage_8uC3 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void
src2 NPPImage_8uC3 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
buffer CudaDeviceVariable Pointer to the user-allocated scratch buffer required for the AverageRelativeError operation.
Результат void

AverageRelativeErrorGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for AverageRelativeError.
public AverageRelativeErrorGetBufferHostSize ( ) : int
Результат int

BGRToCbYCr422_709HDTV() публичный Метод

3 channel 8-bit unsigned packed BGR to 2 channel 8-bit unsigned packed CbYCr422_709HDTV color conversion.
public BGRToCbYCr422_709HDTV ( NPPImage_8uC2 dest ) : void
dest NPPImage_8uC2 Destination image
Результат void

BGRToHLS() публичный Метод

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar HLS color conversion.
public BGRToHLS ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

BGRToHLS() публичный статический Метод

3 channel 8-bit unsigned planar BGR to 3 channel 8-bit unsigned planar HLS color conversion.
public static BGRToHLS ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

BGRToHLS() публичный статический Метод

3 channel 8-bit unsigned planar BGR to 3 channel 8-bit unsigned packed HLS color conversion.
public static BGRToHLS ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

BGRToLab() публичный Метод

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned packed Lab color conversion.
public BGRToLab ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

BGRToYCbCr() публичный Метод

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr color conversion.
public BGRToYCbCr ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

BGRToYCbCr411() публичный Метод

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr411 color conversion.
public BGRToYCbCr411 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

BGRToYCbCr420() публичный Метод

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr420 color conversion.
public BGRToYCbCr420 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

BGRToYCbCr420_709CSC() публичный Метод

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr420_709CSC color conversion.
public BGRToYCbCr420_709CSC ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

BGRToYCbCr422() публичный Метод

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCbCr422 color conversion.
public BGRToYCbCr422 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

BGRToYCbCr422() публичный Метод

3 channel 8-bit unsigned packed BGR to 2 channel 8-bit unsigned packed YCbCr422 color conversion.
public BGRToYCbCr422 ( NPPImage_8uC2 dest ) : void
dest NPPImage_8uC2 Destination image
Результат void

BGRToYCrCb420() публичный Метод

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCrCb420 color conversion.
public BGRToYCrCb420 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

BGRToYCrCb420_709CSC() публичный Метод

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YCrCb420_709CSC color conversion.
public BGRToYCrCb420_709CSC ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

BGRToYUV() публичный Метод

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned planar YUV color conversion.
public BGRToYUV ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

BGRToYUV() публичный статический Метод

3 channel 8-bit unsigned planar BGR to 3 channel 8-bit unsigned planar YUV color conversion.
public static BGRToYUV ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

BGRToYUV() публичный Метод

3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned packed YUV color conversion.
public BGRToYUV ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

ColorToGray() публичный Метод

Color to Gray conversion
public ColorToGray ( NPPImage_8uC1 dest, float aCoeffs ) : void
dest NPPImage_8uC1 Destination image
aCoeffs float fixed size array of constant floating point conversion coefficient values, one per color channel.
Результат void

ColorTwist() публичный статический Метод

3 channel planar 8-bit unsigned color twist. An input color twist matrix with floating-point pixel values is applied within ROI.
public static ColorTwist ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, float twistMatrix ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
twistMatrix float The color twist matrix with floating-point pixel values [3,4].
Результат void

ColorTwist() публичный статический Метод

3 channel planar 8-bit unsigned inplace color twist. An input color twist matrix with floating-point pixel values is applied within ROI.
public static ColorTwist ( NPPImage_8uC1 srcDest0, NPPImage_8uC1 srcDest1, NPPImage_8uC1 srcDest2, float twistMatrix ) : void
srcDest0 NPPImage_8uC1 Source / Destination image (Channel 0)
srcDest1 NPPImage_8uC1 Source / Destinationimage (Channel 1)
srcDest2 NPPImage_8uC1 Source / Destinationimage (Channel 2)
twistMatrix float The color twist matrix with floating-point pixel values [3,4].
Результат void

ColorTwist() публичный Метод

An input color twist matrix with floating-point pixel values is applied within ROI.
public ColorTwist ( NPPImage_8uC3 dest, float twistMatrix ) : void
dest NPPImage_8uC3 Destination image
twistMatrix float The color twist matrix with floating-point pixel values [3,4].
Результат void

ColorTwist() публичный Метод

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]
Результат void

CompColorKey() публичный Метод

packed color complement color key replacement of source image 1 by source image 2
public CompColorKey ( NPPImage_8uC3 src2, NPPImage_8uC3 dest, byte colorKeyConst ) : void
src2 NPPImage_8uC3 source2 packed pixel format image.
dest NPPImage_8uC3 Destination image
colorKeyConst byte color key constants
Результат void

Compare() публичный Метод

Compare pSrc1's pixels with corresponding pixels in pSrc2.
public Compare ( NPPImage_8uC3 src2, NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void
src2 NPPImage_8uC3 2nd source image
dest NPPImage_8uC1 Destination image
eComparisonOperation NppCmpOp Specifies the comparison operation to be used in the pixel comparison.
Результат void

Compare() публичный Метод

Compare pSrc's pixels with constant value.
public Compare ( byte nConstant, NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void
nConstant byte constant values
dest NPPImage_8uC1 Destination image
eComparisonOperation NppCmpOp Specifies the comparison operation to be used in the pixel comparison.
Результат void

Convert() публичный Метод

8-bit unsigned to 16-bit signed conversion.
public Convert ( NPPImage_16sC3 dst ) : void
dst NPPImage_16sC3 Destination image
Результат void

Convert() публичный Метод

8-bit unsigned to 16-bit unsigned conversion.
public Convert ( NPPImage_16uC3 dst ) : void
dst NPPImage_16uC3 Destination image
Результат void

Convert() публичный Метод

8-bit unsigned to 32-bit floating point conversion.
public Convert ( NPPImage_32fC3 dst ) : void
dst NPPImage_32fC3 Destination image
Результат void

Convert() публичный Метод

8-bit unsigned to 32-bit signed conversion.
public Convert ( NPPImage_32sC3 dst ) : void
dst NPPImage_32sC3 Destination image
Результат void

Copy() публичный Метод

Three-channel 8-bit unsigned packed to planar image copy.
public Copy ( NPPImage_8uC1 dst0, NPPImage_8uC1 dst1, NPPImage_8uC1 dst2 ) : void
dst0 NPPImage_8uC1 Destination image channel 0
dst1 NPPImage_8uC1 Destination image channel 1
dst2 NPPImage_8uC1 Destination image channel 2
Результат void

Copy() публичный статический Метод

Three-channel 8-bit unsigned planar to packed image copy.
public static Copy ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

Copy() публичный Метод

Image copy.
public Copy ( NPPImage_8uC1 dst, int channel ) : void
dst NPPImage_8uC1 Destination image
channel int Channel number. This number is added to the dst pointer
Результат void

Copy() публичный Метод

image copy.
public Copy ( NPPImage_8uC3 dst ) : void
dst NPPImage_8uC3 Destination image
Результат void

Copy() публичный Метод

Masked Operation 8-bit unsigned image copy.
public Copy ( NPPImage_8uC3 dst, NPPImage_8uC1 mask ) : void
dst NPPImage_8uC3 Destination image
mask NPPImage_8uC1 Mask image
Результат void

Copy() публичный Метод

Image copy.
public Copy ( NPPImage_8uC3 dst, int channelSrc, int channelDst ) : void
dst NPPImage_8uC3 Destination image
channelSrc int Channel number. This number is added to the src pointer
channelDst int Channel number. This number is added to the dst pointer
Результат void

Copy() публичный Метод

Copy image and pad borders with a constant, user-specifiable color.
public Copy ( NPPImage_8uC3 dst, int nTopBorderHeight, int nLeftBorderWidth, byte nValue ) : void
dst NPPImage_8uC3 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 byte The pixel value to be set for border pixels.
Результат void

CopyReplicateBorder() публичный Метод

image copy with nearest source image pixel color.
public CopyReplicateBorder ( NPPImage_8uC3 dst, int nTopBorderHeight, int nLeftBorderWidth ) : void
dst NPPImage_8uC3 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.
Результат void

CopySubpix() публичный Метод

linearly interpolated source image subpixel coordinate color copy.
public CopySubpix ( NPPImage_8uC3 dst, float nDx, float nDy ) : void
dst NPPImage_8uC3 Destination-Image
nDx float Fractional part of source image X coordinate.
nDy float Fractional part of source image Y coordinate.
Результат void

CopyWrapBorder() публичный Метод

image copy with the borders wrapped by replication of source image pixel colors.
public CopyWrapBorder ( NPPImage_8uC3 dst, int nTopBorderHeight, int nLeftBorderWidth ) : void
dst NPPImage_8uC3 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.
Результат void

CountInRange() публичный Метод

image CountInRange.
public CountInRange ( CudaDeviceVariable pCounts, byte nLowerBound, byte nUpperBound ) : void
pCounts CudaDeviceVariable Pointer to the number of pixels that fall into the specified range. (3 * sizeof(int))
nLowerBound byte Fixed size array of the lower bound of the specified range, one per channel.
nUpperBound byte Fixed size array of the upper bound of the specified range, one per channel.
Результат void

CountInRange() публичный Метод

image CountInRange.
public CountInRange ( CudaDeviceVariable pCounts, byte nLowerBound, byte nUpperBound, CudaDeviceVariable buffer ) : void
pCounts CudaDeviceVariable Pointer to the number of pixels that fall into the specified range. (3 * sizeof(int))
nLowerBound byte Fixed size array of the lower bound of the specified range, one per channel.
nUpperBound byte Fixed size array of the upper bound of the specified range, one per channel.
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

CountInRangeGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for CountInRange.
public CountInRangeGetBufferHostSize ( ) : int
Результат int

CrossCorrFull_Norm() публичный Метод

image CrossCorrFull_Norm.
public CrossCorrFull_Norm ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_32fC3 Destination-Image
Результат void

CrossCorrFull_Norm() публичный Метод

image CrossCorrFull_Norm.
public CrossCorrFull_Norm ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_8uC3 Destination-Image
nScaleFactor int Integer Result Scaling.
Результат void

CrossCorrFull_NormLevel() публичный Метод

CrossCorrFull_NormLevel. Buffer is internally allocated and freed.
public CrossCorrFull_NormLevel ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_32fC3 Destination image
Результат void

CrossCorrFull_NormLevel() публичный Метод

CrossCorrFull_NormLevel.
public CrossCorrFull_NormLevel ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_32fC3 Destination image
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

CrossCorrFull_NormLevel() публичный Метод

CrossCorrFull_NormLevel. Buffer is internally allocated and freed.
public CrossCorrFull_NormLevel ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_8uC3 Destination image
nScaleFactor int Integer Result Scaling.
Результат void

CrossCorrFull_NormLevel() публичный Метод

CrossCorrFull_NormLevel.
public CrossCorrFull_NormLevel ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_8uC3 Destination image
nScaleFactor int Integer Result Scaling.
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

CrossCorrSame_Norm() публичный Метод

image CrossCorrSame_Norm.
public CrossCorrSame_Norm ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_32fC3 Destination-Image
Результат void

CrossCorrSame_Norm() публичный Метод

image CrossCorrSame_Norm.
public CrossCorrSame_Norm ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_8uC3 Destination-Image
nScaleFactor int Integer Result Scaling.
Результат void

CrossCorrSame_NormLevel() публичный Метод

CrossCorrSame_NormLevel. Buffer is internally allocated and freed.
public CrossCorrSame_NormLevel ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_32fC3 Destination image
Результат void

CrossCorrSame_NormLevel() публичный Метод

CrossCorrSame_NormLevel.
public CrossCorrSame_NormLevel ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_32fC3 Destination image
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

CrossCorrSame_NormLevel() публичный Метод

CrossCorrSame_NormLevel. Buffer is internally allocated and freed.
public CrossCorrSame_NormLevel ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_8uC3 Destination image
nScaleFactor int Integer Result Scaling.
Результат void

CrossCorrSame_NormLevel() публичный Метод

CrossCorrSame_NormLevel.
public CrossCorrSame_NormLevel ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_8uC3 Destination image
nScaleFactor int Integer Result Scaling.
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

CrossCorrValid_Norm() публичный Метод

image CrossCorrValid_Norm.
public CrossCorrValid_Norm ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_32fC3 Destination-Image
Результат void

CrossCorrValid_Norm() публичный Метод

image CrossCorrValid_Norm.
public CrossCorrValid_Norm ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_8uC3 Destination-Image
nScaleFactor int Integer Result Scaling.
Результат void

CrossCorrValid_NormLevel() публичный Метод

CrossCorrValid_NormLevel. Buffer is internally allocated and freed.
public CrossCorrValid_NormLevel ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_32fC3 Destination image
Результат void

CrossCorrValid_NormLevel() публичный Метод

CrossCorrValid_NormLevel.
public CrossCorrValid_NormLevel ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_32fC3 Destination image
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

CrossCorrValid_NormLevel() публичный Метод

CrossCorrValid_NormLevel. Buffer is internally allocated and freed.
public CrossCorrValid_NormLevel ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_8uC3 Destination image
nScaleFactor int Integer Result Scaling.
Результат void

CrossCorrValid_NormLevel() публичный Метод

CrossCorrValid_NormLevel.
public CrossCorrValid_NormLevel ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_8uC3 Destination image
nScaleFactor int Integer Result Scaling.
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

Dilate() публичный Метод

Dilation computes the output pixel as the maximum pixel value of the pixels under the mask. Pixels who’s corresponding mask values are zero to not participate in the maximum search.
public Dilate ( NPPImage_8uC3 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_8uC3 Destination image
Mask CudaDeviceVariable Pointer to the start address of the mask array.
aMaskSize NppiSize Width and Height mask array.
oAnchor NppiPoint X and Y offsets of the mask origin frame of reference w.r.t the source pixel.
Результат void

Dilate3x3() публичный Метод

3x3 dilation.
public Dilate3x3 ( NPPImage_8uC3 dst ) : void
dst NPPImage_8uC3 Destination-Image
Результат void

Dilate3x3Border() публичный Метод

3x3 dilation with border control.
public Dilate3x3Border ( NPPImage_8uC3 dest, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 Destination image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

DilateBorder() публичный Метод

Dilation computes the output pixel as the maximum pixel value of the pixels under the mask. Pixels who’s corresponding mask values are zero to not participate in the maximum search. With border control.
public DilateBorder ( NPPImage_8uC3 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 Destination image
Mask CudaDeviceVariable Pointer to the start address of the mask array.
aMaskSize NppiSize Width and Height mask array.
oAnchor NppiPoint X and Y offsets of the mask origin frame of reference w.r.t the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

Div() публичный Метод

Image division, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Div ( NPPImage_8uC3 src2, NPPImage_8uC3 dest, NppRoundMode rndMode, int nScaleFactor ) : void
src2 NPPImage_8uC3 2nd source image
dest NPPImage_8uC3 Destination image
rndMode NppRoundMode Result Rounding mode to be used
nScaleFactor int scaling factor
Результат void

Div() публичный Метод

Image division, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Div ( NPPImage_8uC3 src2, NPPImage_8uC3 dest, int nScaleFactor ) : void
src2 NPPImage_8uC3 2nd source image
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
Результат void

Div() публичный Метод

In place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Div ( NPPImage_8uC3 src2, NppRoundMode rndMode, int nScaleFactor ) : void
src2 NPPImage_8uC3 2nd source image
rndMode NppRoundMode Result Rounding mode to be used
nScaleFactor int scaling factor
Результат void

Div() публичный Метод

In place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Div ( NPPImage_8uC3 src2, int nScaleFactor ) : void
src2 NPPImage_8uC3 2nd source image
nScaleFactor int scaling factor
Результат void

Div() публичный Метод

Divide constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Div ( byte nConstant, NPPImage_8uC3 dest, int nScaleFactor ) : void
nConstant byte Value
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
Результат void

Div() публичный Метод

Divide constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.
public Div ( byte nConstant, int nScaleFactor ) : void
nConstant byte Value
nScaleFactor int scaling factor
Результат void

DotProdGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for nppiDotProd_8u64f_C3R.
public DotProdGetBufferHostSize ( ) : int
Результат int

DotProduct() публичный Метод

Three-channel 8-bit unsigned image DotProd. Buffer is internally allocated and freed.
public DotProduct ( NPPImage_8uC3 src2, CudaDeviceVariable pDp ) : void
src2 NPPImage_8uC3 2nd source image
pDp CudaDeviceVariable Pointer to the computed dot product of the two images. (3 * sizeof(double))
Результат void

DotProduct() публичный Метод

Three-channel 8-bit unsigned image DotProd.
public DotProduct ( NPPImage_8uC3 src2, CudaDeviceVariable pDp, CudaDeviceVariable buffer ) : void
src2 NPPImage_8uC3 2nd source image
pDp CudaDeviceVariable Pointer to the computed dot product of the two images. (3 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

Erode() публичный Метод

Erosion computes the output pixel as the minimum pixel value of the pixels under the mask. Pixels who’s corresponding mask values are zero to not participate in the maximum search.
public Erode ( NPPImage_8uC3 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_8uC3 Destination image
Mask CudaDeviceVariable Pointer to the start address of the mask array.
aMaskSize NppiSize Width and Height mask array.
oAnchor NppiPoint X and Y offsets of the mask origin frame of reference w.r.t the source pixel.
Результат void

Erode3x3() публичный Метод

3x3 erosion.
public Erode3x3 ( NPPImage_8uC3 dst ) : void
dst NPPImage_8uC3 Destination-Image
Результат void

Erode3x3Border() публичный Метод

3x3 erosion with border control.
public Erode3x3Border ( NPPImage_8uC3 dest, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 Destination image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

ErodeBorder() публичный Метод

Erosion computes the output pixel as the minimum pixel value of the pixels under the mask. Pixels who’s corresponding mask values are zero to not participate in the maximum search. With border control.
public ErodeBorder ( NPPImage_8uC3 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 Destination image
Mask CudaDeviceVariable Pointer to the start address of the mask array.
aMaskSize NppiSize Width and Height mask array.
oAnchor NppiPoint X and Y offsets of the mask origin frame of reference w.r.t the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

EvenLevels() публичный Метод

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.
Результат int[]

Exp() публичный Метод

Exponential, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Exp ( NPPImage_8uC3 dest, int nScaleFactor ) : void
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
Результат void

Exp() публичный Метод

Inplace exponential, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Exp ( int nScaleFactor ) : void
nScaleFactor int scaling factor
Результат void

Filter() публичный Метод

convolution filter.
public Filter ( NPPImage_16sC3 dst, CudaDeviceVariable pKernel, NppiSize oKernelSize, NppiPoint oAnchor ) : void
dst NPPImage_16sC3 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
Результат void

Filter() публичный Метод

convolution filter.
public Filter ( NPPImage_8uC3 dst, CudaDeviceVariable pKernel, NppiSize oKernelSize, NppiPoint oAnchor ) : void
dst NPPImage_8uC3 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
Результат void

Filter() публичный Метод

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_8uC3 dest, CudaDeviceVariable Kernel, NppiSize aKernelSize, NppiPoint oAnchor, int nDivisor ) : void
dest NPPImage_8uC3 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.
Результат void

FilterBilateralGaussBorder() публичный Метод

Three channel 8-bit unsigned bilateral Gauss filter with border control.
public FilterBilateralGaussBorder ( NPPImage_8uC3 dest, int nRadius, int nStepBetweenSrcPixels, float nValSquareSigma, float nPosSquareSigma, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 Destination image
nRadius int The radius of the round filter kernel to be used. A radius of 1 indicates a filter kernel size of 3 by 3, 2 indicates 5 by 5, etc. Radius values from 1 to 32 are supported.
nStepBetweenSrcPixels int The step size between adjacent source image pixels processed by the filter kernel, most commonly 1.
nValSquareSigma float The square of the sigma for the relative intensity distance between a source image pixel in the filter kernel and the source image pixel at the center of the filter kernel.
nPosSquareSigma float The square of the sigma for the relative geometric distance between a source image pixel in the filter kernel and the source image pixel at the center of the filter kernel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterBorder() публичный Метод

Three channel 8-bit unsigned to 16-bit signed convolution filter with border control. General purpose 2D convolution filter using floating-point weights with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. Before writing the result pixel the sum is scaled back via division by nDivisor. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.
public FilterBorder ( NPPImage_16sC3 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16sC3 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.
Результат void

FilterBorder() публичный Метод

Three channel 8-bit unsigned 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_8uC3 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 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.
Результат void

FilterBorder() публичный Метод

Three channel 8-bit unsigned 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_8uC3 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, int nDivisor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 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.
Результат void

FilterBox() публичный Метод

Computes the average pixel values of the pixels under a rectangular mask.
public FilterBox ( NPPImage_8uC3 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_8uC3 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.
Результат void

FilterBoxBorder() публичный Метод

Computes the average pixel values of the pixels under a rectangular mask.
public FilterBoxBorder ( NPPImage_8uC3 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 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.
Результат void

FilterColumn() публичный Метод

1D column convolution.
public FilterColumn ( NPPImage_8uC3 dst, CudaDeviceVariable pKernel, int nAnchor ) : void
dst NPPImage_8uC3 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.
Результат void

FilterColumn() публичный Метод

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_8uC3 dest, CudaDeviceVariable Kernel, int nKernelSize, int nAnchor, int nDivisor ) : void
dest NPPImage_8uC3 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.
Результат void

FilterColumnBorder() публичный Метод

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_8uC3 dest, CudaDeviceVariable Kernel, int nAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 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.
Результат void

FilterColumnBorder() публичный Метод

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_8uC3 dest, CudaDeviceVariable Kernel, int nAnchor, int nDivisor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 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.
Результат void

FilterGauss() публичный Метод

Filters the image using a separable Gaussian filter kernel with user supplied floating point coefficients
public FilterGauss ( NPPImage_8uC3 dst, CudaDeviceVariable Kernel ) : void
dst NPPImage_8uC3 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.
Результат void

FilterGauss() публичный Метод

Gauss filter.
public FilterGauss ( NPPImage_8uC3 dst, MaskSize eMaskSize ) : void
dst NPPImage_8uC3 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
Результат void

FilterGaussBorder() публичный Метод

Filters the image using a separable Gaussian filter kernel with user supplied floating point coefficients
public FilterGaussBorder ( NPPImage_8uC3 dst, CudaDeviceVariable Kernel, NppiBorderType eBorderType ) : void
dst NPPImage_8uC3 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.
Результат void

FilterGaussBorder() публичный Метод

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_8uC3 dest, MaskSize eMaskSize, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 Destination image
eMaskSize MaskSize Enumeration value specifying the mask size.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterGaussPyramidLayerDownBorder() публичный Метод

Three channel 8-bit unsigned Gauss filter with downsampling and border control.
public FilterGaussPyramidLayerDownBorder ( NPPImage_8uC3 dest, float nRate, int nFilterTaps, CudaDeviceVariable pKernel, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 Destination image
nRate float The downsampling rate to be used. For integer equivalent rates unnecessary source pixels are just skipped. For non-integer rates the source image is bilinear interpolated. nRate must be > 1.0F and <= 10.0F.
nFilterTaps int The number of filter taps where nFilterTaps = 2 * ((int)((float)ceil(radius) + 0.5F) ) + 1.
pKernel CudaDeviceVariable Pointer to an array of nFilterTaps kernel coefficients which sum to 1.0F.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterGaussPyramidLayerUpBorder() публичный Метод

Three channel 8-bit unsigned Gauss filter with downsampling and border control.
public FilterGaussPyramidLayerUpBorder ( NPPImage_8uC3 dest, float nRate, int nFilterTaps, CudaDeviceVariable pKernel, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 Destination image
nRate float The downsampling rate to be used. For integer equivalent rates unnecessary source pixels are just skipped. For non-integer rates the source image is bilinear interpolated. nRate must be > 1.0F and <= 10.0F.
nFilterTaps int The number of filter taps where nFilterTaps = 2 * ((int)((float)ceil(radius) + 0.5F) ) + 1.
pKernel CudaDeviceVariable Pointer to an array of nFilterTaps kernel coefficients which sum to 1.0F.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterHighPass() публичный Метод

High pass filter.
public FilterHighPass ( NPPImage_8uC3 dst, MaskSize eMaskSize ) : void
dst NPPImage_8uC3 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
Результат void

FilterHighPassBorder() публичный Метод

High pass filter.
public FilterHighPassBorder ( NPPImage_8uC3 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void
dst NPPImage_8uC3 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterLaplace() публичный Метод

Laplace filter.
public FilterLaplace ( NPPImage_8uC3 dst, MaskSize eMaskSize ) : void
dst NPPImage_8uC3 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
Результат void

FilterLaplaceBorder() публичный Метод

Laplace filter.
public FilterLaplaceBorder ( NPPImage_8uC3 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void
dst NPPImage_8uC3 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterLowPass() публичный Метод

Low pass filter.
public FilterLowPass ( NPPImage_8uC3 dst, MaskSize eMaskSize ) : void
dst NPPImage_8uC3 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
Результат void

FilterLowPassBorder() публичный Метод

Low pass filter.
public FilterLowPassBorder ( NPPImage_8uC3 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void
dst NPPImage_8uC3 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterMax() публичный Метод

Result pixel value is the maximum of pixel values under the rectangular mask region.
public FilterMax ( NPPImage_8uC3 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_8uC3 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.
Результат void

FilterMaxBorder() публичный Метод

Result pixel value is the maximum of pixel values under the rectangular mask region.
public FilterMaxBorder ( NPPImage_8uC3 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 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.
Результат void

FilterMedian() публичный Метод

Result pixel value is the median of pixel values under the rectangular mask region.
public FilterMedian ( NPPImage_8uC3 dst, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dst NPPImage_8uC3 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.
Результат void

FilterMedian() публичный Метод

Result pixel value is the median of pixel values under the rectangular mask region.
public FilterMedian ( NPPImage_8uC3 dst, NppiSize oMaskSize, NppiPoint oAnchor, CudaDeviceVariable buffer ) : void
dst NPPImage_8uC3 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.
Результат void

FilterMedianGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for FilterMedian.
public FilterMedianGetBufferHostSize ( NppiSize oMaskSize ) : int
oMaskSize NppiSize
Результат int

FilterMin() публичный Метод

Result pixel value is the minimum of pixel values under the rectangular mask region.
public FilterMin ( NPPImage_8uC3 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_8uC3 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.
Результат void

FilterMinBorder() публичный Метод

Result pixel value is the minimum of pixel values under the rectangular mask region.
public FilterMinBorder ( NPPImage_8uC3 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 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.
Результат void

FilterPrewittHoriz() публичный Метод

horizontal Prewitt filter.
public FilterPrewittHoriz ( NPPImage_8uC3 dst ) : void
dst NPPImage_8uC3 Destination-Image
Результат void

FilterPrewittHorizBorder() публичный Метод

horizontal Prewitt filter.
public FilterPrewittHorizBorder ( NPPImage_8uC3 dst, NppiBorderType eBorderType ) : void
dst NPPImage_8uC3 Destination-Image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterPrewittVert() публичный Метод

vertical Prewitt filter.
public FilterPrewittVert ( NPPImage_8uC3 dst ) : void
dst NPPImage_8uC3 Destination-Image
Результат void

FilterPrewittVertBorder() публичный Метод

vertical Prewitt filter.
public FilterPrewittVertBorder ( NPPImage_8uC3 dst, NppiBorderType eBorderType ) : void
dst NPPImage_8uC3 Destination-Image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterRobertsDown() публичный Метод

horizontal Roberts filter.
public FilterRobertsDown ( NPPImage_8uC3 dst ) : void
dst NPPImage_8uC3 Destination-Image
Результат void

FilterRobertsDownBorder() публичный Метод

horizontal Roberts filter.
public FilterRobertsDownBorder ( NPPImage_8uC3 dst, NppiBorderType eBorderType ) : void
dst NPPImage_8uC3 Destination-Image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterRobertsUp() публичный Метод

vertical Roberts filter..
public FilterRobertsUp ( NPPImage_8uC3 dst ) : void
dst NPPImage_8uC3 Destination-Image
Результат void

FilterRobertsUpBorder() публичный Метод

vertical Roberts filter.
public FilterRobertsUpBorder ( NPPImage_8uC3 dst, NppiBorderType eBorderType ) : void
dst NPPImage_8uC3 Destination-Image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterRow() публичный Метод

1D row convolution.
public FilterRow ( NPPImage_8uC3 dst, CudaDeviceVariable pKernel, int nAnchor ) : void
dst NPPImage_8uC3 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.
Результат void

FilterRow() публичный Метод

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_8uC3 dest, CudaDeviceVariable Kernel, int nKernelSize, int nAnchor, int nDivisor ) : void
dest NPPImage_8uC3 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.
Результат void

FilterRowBorder() публичный Метод

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_8uC3 dest, CudaDeviceVariable Kernel, int nAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 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.
Результат void

FilterRowBorder() публичный Метод

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_8uC3 dest, CudaDeviceVariable Kernel, int nKernelSize, int nAnchor, int nDivisor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 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.
Результат void

FilterSharpen() публичный Метод

Sharpen filter.
public FilterSharpen ( NPPImage_8uC3 dst ) : void
dst NPPImage_8uC3 Destination-Image
Результат void

FilterSharpenBorder() публичный Метод

Sharpen filter.
public FilterSharpenBorder ( NPPImage_8uC3 dst, NppiBorderType eBorderType ) : void
dst NPPImage_8uC3 Destination-Image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterSobelHorizBorder() публичный Метод

Filters the image using a horizontal Sobel filter kernel with border control.
public FilterSobelHorizBorder ( NPPImage_8uC3 dest, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 Destination image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterSobelVert() публичный Метод

vertical Sobel filter.
public FilterSobelVert ( NPPImage_8uC3 dst ) : void
dst NPPImage_8uC3 Destination-Image
Результат void

FilterSobelVertBorder() публичный Метод

Filters the image using a vertical Sobel filter kernel with border control.
public FilterSobelVertBorder ( NPPImage_8uC3 dest, NppiBorderType eBorderType ) : void
dest NPPImage_8uC3 Destination image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Результат void

FilterUnsharpBorder() публичный Метод

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_8uC3 dst, float nRadius, float nSigma, float nWeight, float nThreshold, NppiBorderType eBorderType, CudaDeviceVariable buffer ) : void
dst NPPImage_8uC3 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.
Результат void

FilterUnsharpGetBufferSize() публичный Метод

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.
Результат int

FullNormLevelGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for CrossCorrFull_NormLevel.
public FullNormLevelGetBufferHostSize ( ) : int
Результат int

FullNormLevelScaledGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for CrossCorrFull_NormLevel.
public FullNormLevelScaledGetBufferHostSize ( ) : int
Результат int

Gamma() публичный Метод

Inplace image forward gamma correction.
public Gamma ( ) : void
Результат void

Gamma() публичный статический Метод

3 channel 8-bit unsigned planar color in place forward gamma correction.
public static Gamma ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
Результат void

Gamma() публичный статический Метод

3 channel 8-bit unsigned planar color not in place forward gamma correction.
public static Gamma ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

Gamma() публичный Метод

image forward gamma correction.
public Gamma ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

GammaInv() публичный Метод

Inplace image inverse gamma correction.
public GammaInv ( ) : void
Результат void

GammaInv() публичный статический Метод

3 channel 8-bit unsigned planar color in place inverse gamma correction.
public static GammaInv ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
Результат void

GammaInv() публичный статический Метод

3 channel 8-bit unsigned planar color not in place inverse gamma correction.
public static GammaInv ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

GammaInv() публичный Метод

image inverse gamma correction.
public GammaInv ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

GetAffineBound() публичный Метод

Calculates bounding box of the affine transform projection of the given source rectangular ROI
public GetAffineBound ( double coeffs ) : ].double[
coeffs double Affine transform coefficients [2,3]
Результат ].double[

GetAffineQuad() публичный Метод

Calculates affine transform projection of given source rectangular ROI
public GetAffineQuad ( double coeffs ) : ].double[
coeffs double Affine transform coefficients [2,3]
Результат ].double[

GetAffineTransform() публичный Метод

Calculates affine transform coefficients given source rectangular ROI and its destination quadrangle projection
public GetAffineTransform ( double quad ) : ].double[
quad double Destination quadrangle [4,2]
Результат ].double[

GetFilterGaussPyramidLayerDownBorderDstROI() публичный Метод

Calculate destination image SizeROI width and height from source image ROI width and height and downsampling rate. It is highly recommended that this function be use to determine the destination image ROI for consistent results.
public GetFilterGaussPyramidLayerDownBorderDstROI ( float nRate ) : NppiSize
nRate float The downsampling rate to be used. For integer equivalent rates unnecessary source pixels are just skipped. For non-integer rates the source image is bilinear interpolated. nRate must be > 1.0F and <= 10.0F.
Результат NppiSize

GetFilterGaussPyramidLayerUpBorderDstROI() публичный Метод

Calculate destination image SizeROI width and height from source image ROI width and height and downsampling rate. It is highly recommended that this function be use to determine the destination image ROI for consistent results.
public GetFilterGaussPyramidLayerUpBorderDstROI ( float nRate, NppiSize &pDstSizeROIMin, NppiSize &pDstSizeROIMax ) : void
nRate float The downsampling rate to be used. For integer equivalent rates unnecessary source pixels are just skipped. For non-integer rates the source image is bilinear interpolated. nRate must be > 1.0F and <= 10.0F.
pDstSizeROIMin NppiSize Minimum recommended destination image roi_specification.
pDstSizeROIMax NppiSize Maximum recommended destination image roi_specification.
Результат void

GetPerspectiveBound() публичный Метод

Calculates bounding box of the affine transform projection of the given source rectangular ROI
public GetPerspectiveBound ( double coeffs ) : ].double[
coeffs double Perspective transform coefficients [3,3]
Результат ].double[

GetPerspectiveQuad() публичный Метод

Calculates perspective transform projection of given source rectangular ROI
public GetPerspectiveQuad ( double coeffs ) : ].double[
coeffs double Perspective transform coefficients [3,3]
Результат ].double[

GetPerspectiveTransform() публичный Метод

Calculates affine transform coefficients given source rectangular ROI and its destination quadrangle projection
public GetPerspectiveTransform ( double quad ) : ].double[
quad double Destination quadrangle [4,2]
Результат ].double[

GetRotateBound() публичный Метод

Compute bounding-box of rotated image.
public GetRotateBound ( double nAngle, double nShiftX, double nShiftY ) : ].double[
nAngle double The angle of rotation in degrees.
nShiftX double Shift along horizontal axis
nShiftY double Shift along vertical axis
Результат ].double[

GetRotateQuad() публичный Метод

Compute shape of rotated image.
public GetRotateQuad ( double nAngle, double nShiftX, double nShiftY ) : ].double[
nAngle double The angle of rotation in degrees.
nShiftX double Shift along horizontal axis
nShiftY double Shift along vertical axis
Результат ].double[

GradientColorToGray() публичный Метод

3 channel 8-bit unsigned packed RGB to 1 channel 8-bit unsigned packed Gray Gradient conversion.
public GradientColorToGray ( NPPImage_8uC1 dest, NppiNorm eNorm ) : void
dest NPPImage_8uC1 Destination image
eNorm NppiNorm Gradient distance method to use.
Результат void

GradientVectorPrewittBorder() публичный Метод

3 channel 8-bit unsigned packed RGB to optional 1 channel 16-bit signed 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_16sC1 destX, NPPImage_16sC1 destY, NPPImage_16sC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType ) : void
destX NPPImage_16sC1 X vector destination_image_pointer
destY NPPImage_16sC1 Y vector destination_image_pointer.
destMag NPPImage_16sC1 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.
Результат void

GradientVectorScharrBorder() публичный Метод

3 channel 8-bit unsigned packed RGB to optional 1 channel 16-bit signed 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_16sC1 destX, NPPImage_16sC1 destY, NPPImage_16sC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType ) : void
destX NPPImage_16sC1 X vector destination_image_pointer
destY NPPImage_16sC1 Y vector destination_image_pointer.
destMag NPPImage_16sC1 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.
Результат void

GradientVectorSobelBorder() публичный Метод

3 channel 8-bit unsigned packed RGB to optional 1 channel 16-bit signed 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_16sC1 destX, NPPImage_16sC1 destY, NPPImage_16sC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType ) : void
destX NPPImage_16sC1 X vector destination_image_pointer
destY NPPImage_16sC1 Y vector destination_image_pointer.
destMag NPPImage_16sC1 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.
Результат void

HLSToBGR() публичный Метод

3 channel 8-bit unsigned packed HLS to 3 channel 8-bit unsigned planar BGR color conversion.
public HLSToBGR ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

HLSToBGR() публичный статический Метод

3 channel 8-bit unsigned planar HLS to 3 channel 8-bit unsigned planar BGR color conversion.
public static HLSToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

HLSToBGR() публичный статический Метод

3 channel 8-bit unsigned planar HLS to 3 channel 8-bit unsigned packed BGR color conversion.
public static HLSToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

HLSToRGB() публичный Метод

3 channel 8-bit unsigned packed HLS to 3 channel 8-bit unsigned packed RGB color conversion.
public HLSToRGB ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

HSVToRGB() публичный Метод

3 channel 8-bit unsigned packed HSV to 3 channel 8-bit unsigned packed RGB color conversion.
public HSVToRGB ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

HistogramEven() публичный Метод

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 (3 Variables)
nLowerLevel int Lower boundary of lowest level bin. E.g. 0 for [0..255]. Size = 3
nUpperLevel int Upper boundary of highest level bin. E.g. 256 for [0..255]. Size = 3
Результат void

HistogramEven() публичный Метод

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 (3 Variables)
nLowerLevel int Lower boundary of lowest level bin. E.g. 0 for [0..255]. Size = 3
nUpperLevel int Upper boundary of highest level bin. E.g. 256 for [0..255]. Size = 3
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

HistogramEvenGetBufferSize() публичный Метод

Scratch-buffer size for HistogramEven.
public HistogramEvenGetBufferSize ( int nLevels ) : int
nLevels int
Результат int

HistogramRange() публичный Метод

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 CudaDeviceVariable must be of size nLevels-1. Array size = 3
pLevels CudaDeviceVariable Array in device memory containing the level sizes of the bins. The CudaDeviceVariable must be of size nLevels. Array size = 3
Результат void

HistogramRange() публичный Метод

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 CudaDeviceVariable must be of size nLevels-1. Array size = 3
pLevels CudaDeviceVariable Array in device memory containing the level sizes of the bins. The CudaDeviceVariable must be of size nLevels. Array size = 3
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

HistogramRangeGetBufferSize() публичный Метод

Scratch-buffer size for HistogramRange.
public HistogramRangeGetBufferSize ( int nLevels ) : int
nLevels int
Результат int

LShiftC() публичный Метод

image bit shift by constant (left), inplace.
public LShiftC ( uint nConstant ) : void
nConstant uint Constant (Array length = 3)
Результат void

LShiftC() публичный Метод

image bit shift by constant (left).
public LShiftC ( uint nConstant, NPPImage_8uC3 dest ) : void
nConstant uint Constant (Array length = 3)
dest NPPImage_8uC3 Destination image
Результат void

LUT() публичный Метод

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 Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values.
pLevels CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. pLevels.Size gives nLevels.
Результат void

LUT() публичный Метод

look-up-table color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.
public LUT ( NPPImage_8uC3 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
dst NPPImage_8uC3 Destination-Image
pValues CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values.
pLevels CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. pLevels.Size gives nLevels.
Результат void

LUTCubic() публичный Метод

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 Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values.
pLevels CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. pLevels.Size gives nLevels.
Результат void

LUTCubic() публичный Метод

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_8uC3 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
dst NPPImage_8uC3 Destination-Image
pValues CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values.
pLevels CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. pLevels.Size gives nLevels.
Результат void

LUTLinear() публичный Метод

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 Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values.
pLevels CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. pLevels.Size gives nLevels.
Результат void

LUTPalette() публичный Метод

range restricted palette look-up-table color conversion. The LUT is derived from a set of user defined mapping points in a palette and source pixels are then processed using a restricted bit range when looking up palette values.
public LUTPalette ( NPPImage_8uC3 dst, CudaDeviceVariable pTable, int nBitSize ) : void
dst NPPImage_8uC3 Destination-Image
pTable CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT palette values.
nBitSize int Number of least significant bits (must be > 0 and <= 8) of each source pixel value to use as index into palette table during conversion.
Результат void

LUTPaletteSwap() публичный Метод

Three channel 8-bit unsigned source bit range restricted palette look-up-table color conversion to four channel 8-bit unsigned destination output with alpha. The LUT is derived from a set of user defined mapping points in a palette and source pixels are then processed using a restricted bit range when looking up palette values. This function also reverses the source pixel channel order in the destination so the Alpha channel is the first channel.
public LUTPaletteSwap ( NPPImage_8uC4 dst, int nAlphaValue, CudaDeviceVariable pTables0, CudaDeviceVariable pTables1, CudaDeviceVariable pTables2, int nBitSize ) : void
dst NPPImage_8uC4 Destination image
nAlphaValue int Signed alpha value that will be used to initialize the pixel alpha channel position in all modified destination pixels.
pTables0 CudaDeviceVariable Host pointer to an array of 3 device memory pointers, channel 0, pointing to user defined OUTPUT palette values. /// Alpha values < 0 or > 255 will cause destination pixel alpha channel values to be unmodified.
pTables1 CudaDeviceVariable Host pointer to an array of 3 device memory pointers, channel 1, pointing to user defined OUTPUT palette values. /// Alpha values < 0 or > 255 will cause destination pixel alpha channel values to be unmodified.
pTables2 CudaDeviceVariable Host pointer to an array of 3 device memory pointers, channel 2, pointing to user defined OUTPUT palette values. /// Alpha values < 0 or > 255 will cause destination pixel alpha channel values to be unmodified.
nBitSize int Number of least significant bits (must be > 0 and <= 8) of each source pixel value to use as index into palette table during conversion.
Результат void

LUVToRGB() публичный Метод

3 channel 8-bit unsigned packed LUV to 3 channel 8-bit unsigned packed RGB color conversion.
public LUVToRGB ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

LabToBGR() публичный Метод

3 channel 8-bit unsigned packed Lab to 3 channel 8-bit unsigned packed BGR color conversion.
public LabToBGR ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

Ln() публичный Метод

Natural logarithm, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Ln ( NPPImage_8uC3 dest, int nScaleFactor ) : void
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
Результат void

Ln() публичный Метод

Natural logarithm, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Ln ( int nScaleFactor ) : void
nScaleFactor int scaling factor
Результат void

Lut() публичный Метод

look-up-table color conversion. The LUT is derived from a set of user defined mapping points through linear interpolation.
public Lut ( NPPImage_8uC3 dest, CudaDeviceVariable values0, CudaDeviceVariable levels0, CudaDeviceVariable values1, CudaDeviceVariable levels1, CudaDeviceVariable values2, CudaDeviceVariable levels2 ) : void
dest NPPImage_8uC3 Destination image
values0 CudaDeviceVariable array of user defined OUTPUT values, channel 0
levels0 CudaDeviceVariable array of user defined INPUT values, channel 0
values1 CudaDeviceVariable array of user defined OUTPUT values, channel 1
levels1 CudaDeviceVariable array of user defined INPUT values, channel 1
values2 CudaDeviceVariable array of user defined OUTPUT values, channel 2
levels2 CudaDeviceVariable array of user defined INPUT values, channel 2
Результат void

Max() публичный Метод

Image pixel maximum. Buffer is internally allocated and freed.
public Max ( CudaDeviceVariable max ) : void
max CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(byte)
Результат void

Max() публичный Метод

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 3 * sizeof(byte)
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

MaxError() публичный Метод

image maximum error. User buffer is internally allocated and freed.
public MaxError ( NPPImage_8uC3 src2, CudaDeviceVariable pError ) : void
src2 NPPImage_8uC3 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
Результат void

MaxError() публичный Метод

image maximum error.
public MaxError ( NPPImage_8uC3 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void
src2 NPPImage_8uC3 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
buffer CudaDeviceVariable Pointer to the user-allocated scratch buffer required for the MaxError operation.
Результат void

MaxErrorGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for MaxError.
public MaxErrorGetBufferHostSize ( ) : int
Результат int

MaxEvery() публичный Метод

image MaxEvery
public MaxEvery ( NPPImage_8uC3 src2 ) : void
src2 NPPImage_8uC3 Source-Image
Результат void

MaxGetBufferHostSize() публичный Метод

Scratch-buffer size for Max.
public MaxGetBufferHostSize ( ) : int
Результат int

MaxIndex() публичный Метод

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 3 * sizeof(byte)
indexX CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
Результат void

MaxIndex() публичный Метод

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 3 * sizeof(byte)
indexX CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

MaxIndexGetBufferHostSize() публичный Метод

Scratch-buffer size for MaxIndex.
public MaxIndexGetBufferHostSize ( ) : int
Результат int

MaximumRelativeError() публичный Метод

image maximum relative error. User buffer is internally allocated and freed.
public MaximumRelativeError ( NPPImage_8uC3 src2, CudaDeviceVariable pError ) : void
src2 NPPImage_8uC3 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
Результат void

MaximumRelativeError() публичный Метод

image maximum relative error.
public MaximumRelativeError ( NPPImage_8uC3 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void
src2 NPPImage_8uC3 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
buffer CudaDeviceVariable Pointer to the user-allocated scratch buffer required for the MaximumRelativeError operation.
Результат void

MaximumRelativeErrorGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for MaximumRelativeError.
public MaximumRelativeErrorGetBufferHostSize ( ) : int
Результат int

Mean() публичный Метод

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 3 * sizeof(double)
Результат void

Mean() публичный Метод

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 3 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

Mean() публичный Метод

image mean with 64-bit double precision result. Buffer is internally allocated and freed.
public Mean ( int coi, CudaDeviceVariable mean, NPPImage_8uC1 mask ) : void
coi int Channel of interest (0, 1 or 2)
mean CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
mask NPPImage_8uC1 If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0.
Результат void

Mean() публичный Метод

image mean with 64-bit double precision result. No additional buffer is allocated.
public Mean ( int coi, CudaDeviceVariable mean, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void
coi int Channel of interest (0, 1 or 2)
mean CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
mask NPPImage_8uC1 If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0.
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

MeanGetBufferHostSize() публичный Метод

Scratch-buffer size for Mean.
public MeanGetBufferHostSize ( ) : int
Результат int

MeanMaskedGetBufferHostSize() публичный Метод

Scratch-buffer size for Mean with mask.
public MeanMaskedGetBufferHostSize ( ) : int
Результат int

MeanStdDev() публичный Метод

image mean and standard deviation. Buffer is internally allocated and freed.
public MeanStdDev ( int coi, CudaDeviceVariable mean, CudaDeviceVariable stdDev ) : void
coi int Channel of interest (0, 1 or 2)
mean CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
stdDev CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
Результат void

MeanStdDev() публичный Метод

image sum with 64-bit double precision result. No additional buffer is allocated.
public MeanStdDev ( int coi, CudaDeviceVariable mean, CudaDeviceVariable stdDev, CudaDeviceVariable buffer ) : void
coi int Channel of interest (0, 1 or 2)
mean CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
stdDev CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

MeanStdDev() публичный Метод

image mean and standard deviation. Buffer is internally allocated and freed.
public MeanStdDev ( int coi, CudaDeviceVariable mean, CudaDeviceVariable stdDev, NPPImage_8uC1 mask ) : void
coi int Channel of interest (0, 1 or 2)
mean CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
stdDev CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
mask NPPImage_8uC1 mask
Результат void

MeanStdDev() публичный Метод

image sum with 64-bit double precision result. No additional buffer is allocated.
public MeanStdDev ( int coi, CudaDeviceVariable mean, CudaDeviceVariable stdDev, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void
coi int Channel of interest (0, 1 or 2)
mean CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
stdDev CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
mask NPPImage_8uC1 mask
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

MeanStdDevGetBufferHostSize() публичный Метод

Scratch-buffer size for MeanStdDev.
public MeanStdDevGetBufferHostSize ( ) : int
Результат int

MeanStdDevMaskedGetBufferHostSize() публичный Метод

Scratch-buffer size for MeanStdDev (masked).
public MeanStdDevMaskedGetBufferHostSize ( ) : int
Результат int

Min() публичный Метод

Image pixel minimum. Buffer is internally allocated and freed.
public Min ( CudaDeviceVariable min ) : void
min CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(byte)
Результат void

Min() публичный Метод

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 3 * sizeof(byte)
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

MinEvery() публичный Метод

image MinEvery
public MinEvery ( NPPImage_8uC3 src2 ) : void
src2 NPPImage_8uC3 Source-Image
Результат void

MinGetBufferHostSize() публичный Метод

Scratch-buffer size for Min.
public MinGetBufferHostSize ( ) : int
Результат int

MinIndex() публичный Метод

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 3 * sizeof(byte)
indexX CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
Результат void

MinIndex() публичный Метод

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 3 * sizeof(byte)
indexX CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

MinIndexGetBufferHostSize() публичный Метод

Scratch-buffer size for MinIndex.
public MinIndexGetBufferHostSize ( ) : int
Результат int

MinMax() публичный Метод

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 3 * sizeof(byte)
max CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(byte)
Результат void

MinMax() публичный Метод

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 3 * sizeof(byte)
max CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(byte)
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

MinMaxGetBufferHostSize() публичный Метод

Scratch-buffer size for MinMax.
public MinMaxGetBufferHostSize ( ) : int
Результат int

MinMaxIndex() публичный Метод

Image pixel minimum and maximum values with their indices. Buffer is internally allocated and freed.
public MinMaxIndex ( int coi, CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable minIndex, CudaDeviceVariable maxIndex ) : void
coi int Channel of interest (0, 1 or 2)
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(byte)
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(byte)
minIndex CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(NppiPoint)
maxIndex CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(NppiPoint)
Результат void

MinMaxIndex() публичный Метод

Image pixel minimum and maximum values with their indices. No additional buffer is allocated.
public MinMaxIndex ( int coi, CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable minIndex, CudaDeviceVariable maxIndex, CudaDeviceVariable buffer ) : void
coi int Channel of interest (0, 1 or 2)
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(byte)
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(byte)
minIndex CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(NppiPoint)
maxIndex CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(NppiPoint)
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

MinMaxIndex() публичный Метод

Image pixel minimum and maximum values with their indices. Buffer is internally allocated and freed.
public MinMaxIndex ( int coi, CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable minIndex, CudaDeviceVariable maxIndex, NPPImage_8uC1 mask ) : void
coi int Channel of interest (0, 1 or 2)
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(byte)
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(byte)
minIndex CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(NppiPoint)
maxIndex CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(NppiPoint)
mask NPPImage_8uC1 If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0.
Результат void

MinMaxIndex() публичный Метод

Image pixel minimum and maximum values with their indices. No additional buffer is allocated.
public MinMaxIndex ( int coi, CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable minIndex, CudaDeviceVariable maxIndex, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void
coi int Channel of interest (0, 1 or 2)
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(byte)
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(byte)
minIndex CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(NppiPoint)
maxIndex CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(NppiPoint)
mask NPPImage_8uC1 If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0.
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

MinMaxIndexGetBufferHostSize() публичный Метод

Scratch-buffer size for MinMaxIndex.
public MinMaxIndexGetBufferHostSize ( ) : int
Результат int

MinMaxIndexMaskedGetBufferHostSize() публичный Метод

Scratch-buffer size for MinMaxIndex with mask.
public MinMaxIndexMaskedGetBufferHostSize ( ) : int
Результат int

Mirror() публичный Метод

Mirror image.
public Mirror ( NPPImage_8uC3 dest, NppiAxis flip ) : void
dest NPPImage_8uC3 Destination image
flip NppiAxis Specifies the axis about which the image is to be mirrored.
Результат void

Mirror() публичный Метод

Mirror image inplace.
public Mirror ( NppiAxis flip ) : void
flip NppiAxis Specifies the axis about which the image is to be mirrored.
Результат void

Mul() публичный Метод

In place image multiplication and scale by max bit width value
public Mul ( NPPImage_8uC3 src2 ) : void
src2 NPPImage_8uC3 2nd source image
Результат void

Mul() публичный Метод

Image multiplication and scale by max bit width value.
public Mul ( NPPImage_8uC3 src2, NPPImage_8uC3 dest ) : void
src2 NPPImage_8uC3 2nd source image
dest NPPImage_8uC3 Destination image
Результат void

Mul() публичный Метод

Image multiplication, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Mul ( NPPImage_8uC3 src2, NPPImage_8uC3 dest, int nScaleFactor ) : void
src2 NPPImage_8uC3 2nd source image
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
Результат void

Mul() публичный Метод

In place image multiplication, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Mul ( NPPImage_8uC3 src2, int nScaleFactor ) : void
src2 NPPImage_8uC3 2nd source image
nScaleFactor int scaling factor
Результат void

Mul() публичный Метод

Multiply constant to image and scale by max bit width value
public Mul ( byte nConstant ) : void
nConstant byte Value
Результат void

Mul() публичный Метод

Multiply constant to image and scale by max bit width value
public Mul ( byte nConstant, NPPImage_8uC3 dest ) : void
nConstant byte Value
dest NPPImage_8uC3 Destination image
Результат void

Mul() публичный Метод

Multiply constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Mul ( byte nConstant, NPPImage_8uC3 dest, int nScaleFactor ) : void
nConstant byte Value
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
Результат void

Mul() публичный Метод

Multiply constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.
public Mul ( byte nConstant, int nScaleFactor ) : void
nConstant byte Value
nScaleFactor int scaling factor
Результат void

NPPImage_8uC3() публичный Метод

Creates a new NPPImage from allocated device ptr.
public NPPImage_8uC3 ( CUdeviceptr devPtr, NppiSize size, int pitch ) : System
devPtr CUdeviceptr Already allocated device ptr.
size NppiSize Image size
pitch int Pitch / Line step
Результат System

NPPImage_8uC3() публичный Метод

Creates a new NPPImage from allocated device ptr.
public NPPImage_8uC3 ( CUdeviceptr devPtr, NppiSize size, int pitch, bool isOwner ) : System
devPtr CUdeviceptr Already allocated device ptr.
size NppiSize Image size
pitch int Pitch / Line step
isOwner bool If TRUE, devPtr is freed when disposing
Результат System

NPPImage_8uC3() публичный Метод

Creates a new NPPImage from allocated device ptr. Does not take ownership of decPtr.
public NPPImage_8uC3 ( CUdeviceptr devPtr, int width, int height, int pitch ) : System
devPtr CUdeviceptr Already allocated device ptr.
width int Image width in pixels
height int Image height in pixels
pitch int Pitch / Line step
Результат System

NPPImage_8uC3() публичный Метод

Creates a new NPPImage from allocated device ptr.
public NPPImage_8uC3 ( CUdeviceptr devPtr, int width, int height, int pitch, bool isOwner ) : System
devPtr 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
Результат System

NPPImage_8uC3() публичный Метод

Creates a new NPPImage from allocated device ptr. Does not take ownership of inner image device pointer.
public NPPImage_8uC3 ( NPPImageBase image ) : System
image NPPImageBase NPP image
Результат System

NPPImage_8uC3() публичный Метод

Allocates new memory on device using NPP-Api.
public NPPImage_8uC3 ( NppiSize size ) : System
size NppiSize Image size
Результат System

NPPImage_8uC3() публичный Метод

Allocates new memory on device using NPP-Api.
public NPPImage_8uC3 ( int nWidthPixels, int nHeightPixels ) : System
nWidthPixels int Image width in pixels
nHeightPixels int Image height in pixels
Результат System

NormDiffInfGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for NormDiff_Inf.
public NormDiffInfGetBufferHostSize ( ) : int
Результат int

NormDiffInfMaskedGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for NormDiff_Inf.
public NormDiffInfMaskedGetBufferHostSize ( ) : int
Результат int

NormDiffL1GetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for NormDiff_L1.
public NormDiffL1GetBufferHostSize ( ) : int
Результат int

NormDiffL1MaskedGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for NormDiff_L1.
public NormDiffL1MaskedGetBufferHostSize ( ) : int
Результат int

NormDiffL2GetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for NormDiff_L2.
public NormDiffL2GetBufferHostSize ( ) : int
Результат int

NormDiffL2MaskedGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for NormDiff_L2.
public NormDiffL2MaskedGetBufferHostSize ( ) : int
Результат int

NormDiff_Inf() публичный Метод

image NormDiff_Inf. Buffer is internally allocated and freed.
public NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff ) : void
tpl NPPImage_8uC3 template image.
pNormDiff CudaDeviceVariable Pointer to the computed Inf-norm of differences. (3 * sizeof(double))
Результат void

NormDiff_Inf() публичный Метод

image NormDiff_Inf.
public NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormDiff CudaDeviceVariable Pointer to the computed Inf-norm of differences. (3 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormDiff_Inf() публичный Метод

image NormDiff_Inf. Buffer is internally allocated and freed.
public NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask ) : void
tpl NPPImage_8uC3 template image.
pNormDiff CudaDeviceVariable Pointer to the computed Inf-norm of differences. (1 * sizeof(double))
nCOI int channel of interest.
pMask NPPImage_8uC1 Mask image.
Результат void

NormDiff_Inf() публичный Метод

image NormDiff_Inf.
public NormDiff_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormDiff CudaDeviceVariable Pointer to the computed Inf-norm of differences. (1 * sizeof(double))
nCOI int channel of interest.
pMask NPPImage_8uC1 Mask image.
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormDiff_L1() публичный Метод

image NormDiff_L1. Buffer is internally allocated and freed.
public NormDiff_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff ) : void
tpl NPPImage_8uC3 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L1-norm of differences. (3 * sizeof(double))
Результат void

NormDiff_L1() публичный Метод

image NormDiff_L1.
public NormDiff_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L1-norm of differences. (3 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormDiff_L1() публичный Метод

image NormDiff_L1. Buffer is internally allocated and freed.
public NormDiff_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask ) : void
tpl NPPImage_8uC3 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L1-norm of differences. (1 * sizeof(double))
nCOI int channel of interest.
pMask NPPImage_8uC1 Mask image.
Результат void

NormDiff_L1() публичный Метод

image NormDiff_L1.
public NormDiff_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L1-norm of differences. (1 * sizeof(double))
nCOI int channel of interest.
pMask NPPImage_8uC1 Mask image.
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormDiff_L2() публичный Метод

image NormDiff_L2. Buffer is internally allocated and freed.
public NormDiff_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff ) : void
tpl NPPImage_8uC3 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L2-norm of differences. (3 * sizeof(double))
Результат void

NormDiff_L2() публичный Метод

image NormDiff_L2.
public NormDiff_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L2-norm of differences. (3 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormDiff_L2() публичный Метод

image NormDiff_L2. Buffer is internally allocated and freed.
public NormDiff_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask ) : void
tpl NPPImage_8uC3 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L2-norm of differences. (1 * sizeof(double))
nCOI int channel of interest.
pMask NPPImage_8uC1 Mask image.
Результат void

NormDiff_L2() публичный Метод

image NormDiff_L2.
public NormDiff_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormDiff, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L2-norm of differences. (1 * sizeof(double))
nCOI int channel of interest.
pMask NPPImage_8uC1 Mask image.
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormInf() публичный Метод

image infinity norm. Buffer is internally allocated and freed.
public NormInf ( CudaDeviceVariable norm ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
Результат void

NormInf() публичный Метод

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 3 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormInf() публичный Метод

image infinity norm. Buffer is internally allocated and freed.
public NormInf ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask ) : void
coi int Channel of interest (0, 1 or 2)
norm CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
mask NPPImage_8uC1 mask
Результат void

NormInf() публичный Метод

image infinity norm. No additional buffer is allocated.
public NormInf ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void
coi int Channel of interest (0, 1 or 2)
norm CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
mask NPPImage_8uC1 mask
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormInfGetBufferHostSize() публичный Метод

Scratch-buffer size for Norm inf.
public NormInfGetBufferHostSize ( ) : int
Результат int

NormInfMaskedGetBufferHostSize() публичный Метод

Scratch-buffer size for Norm inf (masked).
public NormInfMaskedGetBufferHostSize ( ) : int
Результат int

NormL1() публичный Метод

image L1 norm. Buffer is internally allocated and freed.
public NormL1 ( CudaDeviceVariable norm ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
Результат void

NormL1() публичный Метод

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 3 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormL1() публичный Метод

image L1 norm. Buffer is internally allocated and freed.
public NormL1 ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask ) : void
coi int Channel of interest (0, 1 or 2)
norm CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
mask NPPImage_8uC1 mask
Результат void

NormL1() публичный Метод

image L1 norm. No additional buffer is allocated.
public NormL1 ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void
coi int Channel of interest (0, 1 or 2)
norm CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
mask NPPImage_8uC1 mask
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormL1GetBufferHostSize() публичный Метод

Scratch-buffer size for Norm L1.
public NormL1GetBufferHostSize ( ) : int
Результат int

NormL1MaskedGetBufferHostSize() публичный Метод

Scratch-buffer size for Norm L1 (masked).
public NormL1MaskedGetBufferHostSize ( ) : int
Результат int

NormL2() публичный Метод

image L2 norm. Buffer is internally allocated and freed.
public NormL2 ( CudaDeviceVariable norm ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
Результат void

NormL2() публичный Метод

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 3 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormL2() публичный Метод

image L2 norm. Buffer is internally allocated and freed.
public NormL2 ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask ) : void
coi int Channel of interest (0, 1 or 2)
norm CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
mask NPPImage_8uC1 mask
Результат void

NormL2() публичный Метод

image L2 norm. No additional buffer is allocated.
public NormL2 ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void
coi int Channel of interest (0, 1 or 2)
norm CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
mask NPPImage_8uC1 mask
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormL2GetBufferHostSize() публичный Метод

Scratch-buffer size for Norm L2.
public NormL2GetBufferHostSize ( ) : int
Результат int

NormL2MaskedGetBufferHostSize() публичный Метод

Scratch-buffer size for Norm L2 (masked).
public NormL2MaskedGetBufferHostSize ( ) : int
Результат int

NormRelInfGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for NormRel_Inf.
public NormRelInfGetBufferHostSize ( ) : int
Результат int

NormRelInfMaskedGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for NormRel_Inf.
public NormRelInfMaskedGetBufferHostSize ( ) : int
Результат int

NormRelL1GetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for NormRel_L1.
public NormRelL1GetBufferHostSize ( ) : int
Результат int

NormRelL1MaskedGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for NormRel_L1.
public NormRelL1MaskedGetBufferHostSize ( ) : int
Результат int

NormRelL2GetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for NormRel_L2.
public NormRelL2GetBufferHostSize ( ) : int
Результат int

NormRelL2MaskedGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for NormRel_L2.
public NormRelL2MaskedGetBufferHostSize ( ) : int
Результат int

NormRel_Inf() публичный Метод

image NormRel_Inf. Buffer is internally allocated and freed.
public NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel ) : void
tpl NPPImage_8uC3 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (3 * sizeof(double))
Результат void

NormRel_Inf() публичный Метод

image NormRel_Inf.
public NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (3 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormRel_Inf() публичный Метод

image NormRel_Inf. Buffer is internally allocated and freed.
public NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask ) : void
tpl NPPImage_8uC3 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
nCOI int channel of interest.
pMask NPPImage_8uC1 Mask image.
Результат void

NormRel_Inf() публичный Метод

image NormRel_Inf.
public NormRel_Inf ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
nCOI int channel of interest.
pMask NPPImage_8uC1 Mask image.
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormRel_L1() публичный Метод

image NormRel_L1. Buffer is internally allocated and freed.
public NormRel_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel ) : void
tpl NPPImage_8uC3 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (3 * sizeof(double))
Результат void

NormRel_L1() публичный Метод

image NormRel_L1.
public NormRel_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (3 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormRel_L1() публичный Метод

image NormRel_L1. Buffer is internally allocated and freed.
public NormRel_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask ) : void
tpl NPPImage_8uC3 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
nCOI int channel of interest.
pMask NPPImage_8uC1 Mask image.
Результат void

NormRel_L1() публичный Метод

image NormRel_L1.
public NormRel_L1 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
nCOI int channel of interest.
pMask NPPImage_8uC1 Mask image.
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormRel_L2() публичный Метод

image NormRel_L2. Buffer is internally allocated and freed.
public NormRel_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel ) : void
tpl NPPImage_8uC3 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (3 * sizeof(double))
Результат void

NormRel_L2() публичный Метод

image NormRel_L2.
public NormRel_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (3 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

NormRel_L2() публичный Метод

image NormRel_L2. Buffer is internally allocated and freed.
public NormRel_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask ) : void
tpl NPPImage_8uC3 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
nCOI int channel of interest.
pMask NPPImage_8uC1 Mask image.
Результат void

NormRel_L2() публичный Метод

image NormRel_L2.
public NormRel_L2 ( NPPImage_8uC3 tpl, CudaDeviceVariable pNormRel, int nCOI, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC3 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
nCOI int channel of interest.
pMask NPPImage_8uC1 Mask image.
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

Not() публичный Метод

In place image logical Not.
public Not ( ) : void
Результат void

Not() публичный Метод

Image logical Not.
public Not ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

Or() публичный Метод

In place image logical Or.
public Or ( NPPImage_8uC3 src2 ) : void
src2 NPPImage_8uC3 2nd source image
Результат void

Or() публичный Метод

Image logical Or.
public Or ( NPPImage_8uC3 src2, NPPImage_8uC3 dest ) : void
src2 NPPImage_8uC3 2nd source image
dest NPPImage_8uC3 Destination image
Результат void

Or() публичный Метод

In place image logical Or with constant.
public Or ( byte nConstant ) : void
nConstant byte Value (Array length = 3)
Результат void

Or() публичный Метод

Image logical Or with constant.
public Or ( byte nConstant, NPPImage_8uC3 dest ) : void
nConstant byte Value (Array length = 3)
dest NPPImage_8uC3 Destination image
Результат void

QualityIndex() публичный Метод

image QualityIndex.
public QualityIndex ( NPPImage_8uC3 src2, CudaDeviceVariable dst ) : void
src2 NPPImage_8uC3 2nd source image
dst CudaDeviceVariable Pointer to the quality index. (3 * sizeof(float))
Результат void

QualityIndex() публичный Метод

image QualityIndex.
public QualityIndex ( NPPImage_8uC3 src2, CudaDeviceVariable dst, CudaDeviceVariable buffer ) : void
src2 NPPImage_8uC3 2nd source image
dst CudaDeviceVariable Pointer to the quality index. (3 * sizeof(float))
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

QualityIndexGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for QualityIndex.
public QualityIndexGetBufferHostSize ( ) : int
Результат int

RGBToCbYCr422() публичный Метод

3 channel 8-bit unsigned packed RGB to 2 channel 8-bit unsigned packed CbYCr422 color conversion.
public RGBToCbYCr422 ( NPPImage_8uC2 dest ) : void
dest NPPImage_8uC2 Destination image
Результат void

RGBToCbYCr422Gamma() публичный Метод

3 channel 8-bit unsigned packed RGB first gets forward gamma corrected then converted to 2 channel 8-bit unsigned packed CbYCr422 color conversion.
public RGBToCbYCr422Gamma ( NPPImage_8uC2 dest ) : void
dest NPPImage_8uC2 Destination image
Результат void

RGBToGray() публичный Метод

RGB to Gray conversion
public RGBToGray ( NPPImage_8uC1 dest ) : void
dest NPPImage_8uC1 Destination image
Результат void

RGBToHLS() публичный Метод

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed HLS color conversion.
public RGBToHLS ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

RGBToHSV() публичный Метод

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed HSV color conversion.
public RGBToHSV ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

RGBToLUV() публичный Метод

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed LUV color conversion.
public RGBToLUV ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

RGBToXYZ() публичный Метод

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed XYZ color conversion.
public RGBToXYZ ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

RGBToYCC() публичный Метод

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed YCC color conversion.
public RGBToYCC ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

RGBToYCbCr() публичный Метод

3 channel 8-bit unsigned packed RGB to 3 channel unsigned 8-bit packed YCbCr color conversion.
public RGBToYCbCr ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

RGBToYCbCr() публичный статический Метод

3 channel planar 8-bit unsigned RGB to YCbCr color conversion.
public static RGBToYCbCr ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

RGBToYCbCr() публичный Метод

3 channel 8-bit unsigned RGB to 2 channel chroma packed YCbCr422 color conversion.
public RGBToYCbCr ( NPPImage_8uC2 dest ) : void
dest NPPImage_8uC2 Destination image
Результат void

RGBToYCbCr() публичный Метод

3 channel 8-bit unsigned packed RGB to packed YCbCr color conversion.
public RGBToYCbCr ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

RGBToYCbCr411() публичный Метод

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YCbCr411 color conversion.
public RGBToYCbCr411 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

RGBToYCbCr420() публичный Метод

3 channel 8-bit unsigned packed RGB to planar YCbCr420 color conversion.
public RGBToYCbCr420 ( NPPImage_8uC1 dst0, NPPImage_8uC1 dst1, NPPImage_8uC1 dst2 ) : void
dst0 NPPImage_8uC1 Destination image channel 0
dst1 NPPImage_8uC1 Destination image channel 1
dst2 NPPImage_8uC1 Destination image channel 2
Результат void

RGBToYCbCr422() публичный Метод

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YCbCr422 color conversion.
public RGBToYCbCr422 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

RGBToYCbCr422() публичный статический Метод

3 channel 8-bit unsigned planar RGB to 2 channel 8-bit unsigned packed YCbCr422 color conversion.
public static RGBToYCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC2 Destination image
Результат void

RGBToYCrCb422() публичный статический Метод

3 channel 8-bit unsigned planar RGB to 2 channel 8-bit unsigned packed YCrCb422 color conversion.
public static RGBToYCrCb422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC2 Destination image
Результат void

RGBToYCrCb422() публичный Метод

3 channel 8-bit unsigned packed RGB to 2 channel 8-bit unsigned packed YCrCb422 color conversion.
public RGBToYCrCb422 ( NPPImage_8uC2 dest ) : void
dest NPPImage_8uC2 Destination image
Результат void

RGBToYUV() публичный Метод

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YUV color conversion.
public RGBToYUV ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

RGBToYUV() публичный статический Метод

3 channel 8-bit unsigned planar RGB to 3 channel 8-bit unsigned planar YUV color conversion.
public static RGBToYUV ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

RGBToYUV() публичный Метод

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed YUV color conversion.
public RGBToYUV ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

RGBToYUV420() публичный Метод

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YUV420 color conversion.
public RGBToYUV420 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

RGBToYUV420() публичный статический Метод

3 channel 8-bit unsigned planar RGB to 3 channel 8-bit unsigned planar YUV420 color conversion.
public static RGBToYUV420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

RGBToYUV422() публичный Метод

3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned planar YUV422 color conversion.
public RGBToYUV422 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

RGBToYUV422() публичный статический Метод

3 channel 8-bit unsigned planar RGB to 3 channel 8-bit unsigned planar YUV422 color conversion.
public static RGBToYUV422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

RGBToYUV422() публичный Метод

3 channel 8-bit unsigned packed RGB to 2 channel 8-bit unsigned packed YUV422 color conversion.
public RGBToYUV422 ( NPPImage_8uC2 dest ) : void
dest NPPImage_8uC2 Destination image
Результат void

RShiftC() публичный Метод

image bit shift by constant (right), inplace.
public RShiftC ( uint nConstant ) : void
nConstant uint Constant (Array length = 3)
Результат void

RShiftC() публичный Метод

image bit shift by constant (right).
public RShiftC ( uint nConstant, NPPImage_8uC3 dest ) : void
nConstant uint Constant (Array length = 3)
dest NPPImage_8uC3 Destination image
Результат void

Remap() публичный статический Метод

planar image remap.
public static Remap ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
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.
Результат void

Remap() публичный Метод

image remap.
public Remap ( NPPImage_8uC3 dst, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation ) : void
dst NPPImage_8uC3 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.
Результат void

Resize() публичный статический Метод

resizes planar images.
public static Resize ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double xFactor, double yFactor, InterpolationMode eInterpolation ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
xFactor double X scaling factor
yFactor double Y scaling factor
eInterpolation InterpolationMode Interpolation mode
Результат void

Resize() публичный Метод

Resizes images.
public Resize ( NPPImage_8uC3 dest, double xFactor, double yFactor, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC3 Destination image
xFactor double X scaling factor
yFactor double Y scaling factor
eInterpolation InterpolationMode Interpolation mode
Результат void

ResizeSqrPixel() публичный статический Метод

planar image resize.
public static ResizeSqrPixel ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
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.
Результат void

ResizeSqrPixel() публичный Метод

image resize.
public ResizeSqrPixel ( NPPImage_8uC3 dst, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation ) : void
dst NPPImage_8uC3 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.
Результат void

Rotate() публичный Метод

Rotate images.
public Rotate ( NPPImage_8uC3 dest, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC3 Destination image
nAngle double The angle of rotation in degrees.
nShiftX double Shift along horizontal axis
nShiftY double Shift along vertical axis
eInterpolation InterpolationMode Interpolation mode
Результат void

SameNormLevelGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for CrossCorrSame_NormLevel.
public SameNormLevelGetBufferHostSize ( ) : int
Результат int

SameNormLevelScaledGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for CrossCorrSame_NormLevel.
public SameNormLevelScaledGetBufferHostSize ( ) : int
Результат int

Scale() публичный Метод

image conversion.
public Scale ( NPPImage_16sC3 dst ) : void
dst NPPImage_16sC3 Destination-Image
Результат void

Scale() публичный Метод

image conversion.
public Scale ( NPPImage_16uC3 dst ) : void
dst NPPImage_16uC3 Destination-Image
Результат void

Scale() публичный Метод

image conversion.
public Scale ( NPPImage_32fC3 dst, float nMin, float nMax ) : void
dst NPPImage_32fC3 Destination-Image
nMin float specifies the minimum saturation value to which every output value will be clamped.
nMax float specifies the maximum saturation value to which every output value will be clamped.
Результат void

Scale() публичный Метод

image conversion.
public Scale ( NPPImage_32sC3 dst ) : void
dst NPPImage_32sC3 Destination-Image
Результат void

Set() публичный Метод

Set pixel values to nValue.
public Set ( byte nValue ) : void
nValue byte Value to be set (Array size = 3)
Результат void

Set() публичный Метод

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 ( byte nValue, NPPImage_8uC1 mask ) : void
nValue byte Value to be set (Array size = 3)
mask NPPImage_8uC1 Mask image
Результат void

Set() публичный Метод

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 ( byte nValue, int channel ) : void
nValue byte Value to be set
channel int Channel number. This number is added to the dst pointer
Результат void

SobelHoriz() публичный Метод

horizontal Sobel filter.
public SobelHoriz ( NPPImage_8uC3 dst ) : void
dst NPPImage_8uC3 Destination-Image
Результат void

Sqr() публичный Метод

Image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sqr ( NPPImage_8uC3 dest, int nScaleFactor ) : void
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
Результат void

Sqr() публичный Метод

Inplace image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sqr ( int nScaleFactor ) : void
nScaleFactor int scaling factor
Результат void

SqrDistanceFull_Norm() публичный Метод

image SqrDistanceFull_Norm.
public SqrDistanceFull_Norm ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_32fC3 Destination-Image
Результат void

SqrDistanceFull_Norm() публичный Метод

image SqrDistanceFull_Norm.
public SqrDistanceFull_Norm ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_8uC3 Destination-Image
nScaleFactor int Integer Result Scaling.
Результат void

SqrDistanceSame_Norm() публичный Метод

image SqrDistanceSame_Norm.
public SqrDistanceSame_Norm ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_32fC3 Destination-Image
Результат void

SqrDistanceSame_Norm() публичный Метод

image SqrDistanceSame_Norm.
public SqrDistanceSame_Norm ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_8uC3 Destination-Image
nScaleFactor int Integer Result Scaling.
Результат void

SqrDistanceValid_Norm() публичный Метод

image SqrDistanceValid_Norm.
public SqrDistanceValid_Norm ( NPPImage_8uC3 tpl, NPPImage_32fC3 dst ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_32fC3 Destination-Image
Результат void

SqrDistanceValid_Norm() публичный Метод

image SqrDistanceValid_Norm.
public SqrDistanceValid_Norm ( NPPImage_8uC3 tpl, NPPImage_8uC3 dst, int nScaleFactor ) : void
tpl NPPImage_8uC3 template image.
dst NPPImage_8uC3 Destination-Image
nScaleFactor int Integer Result Scaling.
Результат void

Sqrt() публичный Метод

Image square root, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sqrt ( NPPImage_8uC3 dest, int nScaleFactor ) : void
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
Результат void

Sqrt() публичный Метод

Inplace image square root, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sqrt ( int nScaleFactor ) : void
nScaleFactor int scaling factor
Результат void

Sub() публичный Метод

Image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sub ( NPPImage_8uC3 src2, NPPImage_8uC3 dest, int nScaleFactor ) : void
src2 NPPImage_8uC3 2nd source image
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
Результат void

Sub() публичный Метод

In place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sub ( NPPImage_8uC3 src2, int nScaleFactor ) : void
src2 NPPImage_8uC3 2nd source image
nScaleFactor int scaling factor
Результат void

Sub() публичный Метод

Subtract constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sub ( byte nConstant, NPPImage_8uC3 dest, int nScaleFactor ) : void
nConstant byte Value to subtract
dest NPPImage_8uC3 Destination image
nScaleFactor int scaling factor
Результат void

Sub() публичный Метод

Subtract constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.
public Sub ( byte nConstant, int nScaleFactor ) : void
nConstant byte Value to subtract
nScaleFactor int scaling factor
Результат void

Sum() публичный Метод

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 3 * sizeof(double)
Результат void

Sum() публичный Метод

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 3 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
Результат void

SumDoubleGetBufferHostSize() публичный Метод

Scratch-buffer size for nppiSum_8u_C3R.
public SumDoubleGetBufferHostSize ( ) : int
Результат int

SumWindowColumn() публичный Метод

8-bit unsigned 1D (column) sum to 32f. Apply Column Window Summation filter over a 1D mask region around each source pixel for 3-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 SumWindowColumn ( NPPImage_32fC3 dest, int nMaskSize, int nAnchor ) : void
dest NPPImage_32fC3 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.
Результат void

SumWindowColumnBorder() публичный Метод

Apply Column Window Summation filter over a 1D mask region around each source pixel for 3-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_32fC3 dest, int nMaskSize, int nAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_32fC3 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.
Результат void

SumWindowRow() публичный Метод

8-bit unsigned 1D (row) sum to 32f. Apply Row Window Summation filter over a 1D mask region around each source pixel for 3-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 SumWindowRow ( NPPImage_32fC3 dest, int nMaskSize, int nAnchor ) : void
dest NPPImage_32fC3 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.
Результат void

SumWindowRowBorder() публичный Метод

Apply Row Window Summation filter over a 1D mask region around each source pixel for 3-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_32fC3 dest, int nMaskSize, int nAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_32fC3 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.
Результат void

SwapChannels() публичный Метод

Swap color channels
public SwapChannels ( NPPImage_8uC3 dest, int aDstOrder ) : void
dest NPPImage_8uC3 Destination image
aDstOrder int Integer array describing how channel values are permutated. The n-th entry of the array /// contains the number of the channel that is stored in the n-th channel of the output image. E.g. /// Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.
Результат void

SwapChannels() публичный Метод

Swap color channels
public SwapChannels ( NPPImage_8uC4 dest, int aDstOrder, byte nValue ) : void
dest NPPImage_8uC4 Destination image
aDstOrder int Integer array describing how channel values are permutated. The n-th entry of the array /// contains the number of the channel that is stored in the n-th channel of the output image. E.g. /// Given an RGB image, aDstOrder = [3,2,1,0] converts this to VBGR channel order.
nValue byte (V) Single channel constant value that can be replicated in one or more of the 4 destination channels. /// nValue is either written or not written to a particular channel depending on the aDstOrder entry for that destination /// channel. An aDstOrder value of 3 will output nValue to that channel, an aDstOrder value greater than 3 will leave that /// particular destination channel value unmodified.
Результат void

SwapChannels() публичный Метод

Swap color channels inplace
public SwapChannels ( int aDstOrder ) : void
aDstOrder int Integer array describing how channel values are permutated. The n-th entry of the array /// contains the number of the channel that is stored in the n-th channel of the output image. E.g. /// Given an RGB image, aDstOrder = [2,1,0] converts this to BGR channel order.
Результат void

Threshold() публичный Метод

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_8uC3 dest, byte nThreshold, NppCmpOp eComparisonOperation ) : void
dest NPPImage_8uC3 Destination image
nThreshold byte The threshold value.
eComparisonOperation NppCmpOp eComparisonOperation. Only allowed values are and
Результат void

Threshold() публичный Метод

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_8uC3 dest, byte nThreshold, byte nValue, NppCmpOp eComparisonOperation ) : void
dest NPPImage_8uC3 Destination image
nThreshold byte The threshold value.
nValue byte The threshold replacement value.
eComparisonOperation NppCmpOp eComparisonOperation. Only allowed values are and
Результат void

Threshold() публичный Метод

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 ( byte nThreshold, NppCmpOp eComparisonOperation ) : void
nThreshold byte The threshold value.
eComparisonOperation NppCmpOp eComparisonOperation. Only allowed values are and
Результат void

Threshold() публичный Метод

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 ( byte nThreshold, byte nValue, NppCmpOp eComparisonOperation ) : void
nThreshold byte The threshold value.
nValue byte The threshold replacement value.
eComparisonOperation NppCmpOp eComparisonOperation. Only allowed values are and
Результат void

ThresholdGT() публичный Метод

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_8uC3 dest, byte nThreshold ) : void
dest NPPImage_8uC3 Destination image
nThreshold byte The threshold value.
Результат void

ThresholdGT() публичный Метод

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_8uC3 dest, byte nThreshold, byte nValue ) : void
dest NPPImage_8uC3 Destination image
nThreshold byte The threshold value.
nValue byte The threshold replacement value.
Результат void

ThresholdGT() публичный Метод

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 ( byte nThreshold ) : void
nThreshold byte The threshold value.
Результат void

ThresholdGT() публичный Метод

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 ( byte nThreshold, byte nValue ) : void
nThreshold byte The threshold value.
nValue byte The threshold replacement value.
Результат void

ThresholdLT() публичный Метод

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_8uC3 dest, byte nThreshold ) : void
dest NPPImage_8uC3 Destination image
nThreshold byte The threshold value.
Результат void

ThresholdLT() публичный Метод

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_8uC3 dest, byte nThreshold, byte nValue ) : void
dest NPPImage_8uC3 Destination image
nThreshold byte The threshold value.
nValue byte The threshold replacement value.
Результат void

ThresholdLT() публичный Метод

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 ( byte nThreshold ) : void
nThreshold byte The threshold value.
Результат void

ThresholdLT() публичный Метод

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 ( byte nThreshold, byte nValue ) : void
nThreshold byte The threshold value.
nValue byte The threshold replacement value.
Результат void

ThresholdLTGT() публичный Метод

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_8uC3 dest, byte nThresholdLT, byte nValueLT, byte nThresholdGT, byte nValueGT ) : void
dest NPPImage_8uC3 Destination image
nThresholdLT byte The thresholdLT value.
nValueLT byte The thresholdLT replacement value.
nThresholdGT byte The thresholdGT value.
nValueGT byte The thresholdGT replacement value.
Результат void

ThresholdLTGT() публичный Метод

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 ( byte nThresholdLT, byte nValueLT, byte nThresholdGT, byte nValueGT ) : void
nThresholdLT byte The thresholdLT value.
nValueLT byte The thresholdLT replacement value.
nThresholdGT byte The thresholdGT value.
nValueGT byte The thresholdGT replacement value.
Результат void

ToCudaPitchedDeviceVariable() публичный Метод

Converts a NPPImage to a CudaPitchedDeviceVariable
public ToCudaPitchedDeviceVariable ( ) : CudaPitchedDeviceVariable
Результат CudaPitchedDeviceVariable

Transpose() публичный Метод

image transpose
public Transpose ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

ValidNormLevelGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel.
public ValidNormLevelGetBufferHostSize ( ) : int
Результат int

ValidNormLevelScaledGetBufferHostSize() публичный Метод

Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel.
public ValidNormLevelScaledGetBufferHostSize ( ) : int
Результат int

WarpAffine() публичный статический Метод

Affine transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetAffineTransform function or set explicitly. The function operates on source and destination regions of interest. The affine warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = C_00 * x + C_01 * y + C_02 Y_new = C_10 * x + C_11 * y + C_12 The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetAffineQuad and nppiGetAffineBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but does not perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.
public static WarpAffine ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double coeffs, InterpolationMode eInterpolation ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
coeffs double Affine transform coefficients [2,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Результат void

WarpAffine() публичный Метод

Affine transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetAffineTransform function or set explicitly. The function operates on source and destination regions of interest. The affine warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = C_00 * x + C_01 * y + C_02 Y_new = C_10 * x + C_11 * y + C_12 The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetAffineQuad and nppiGetAffineBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but does not perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.
public WarpAffine ( NPPImage_8uC3 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC3 Destination image
coeffs double Affine transform coefficients [2,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Результат void

WarpAffineBack() публичный статический Метод

Inverse affine transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetAffineTransform function or set explicitly. Thus there is no need to invert coefficients in your application before calling WarpAffineBack. The function operates on source and destination regions of interest. The affine warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = C_00 * x + C_01 * y + C_02 Y_new = C_10 * x + C_11 * y + C_12 The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetAffineQuad and nppiGetAffineBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.
public static WarpAffineBack ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double coeffs, InterpolationMode eInterpolation ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
coeffs double Affine transform coefficients [2,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Результат void

WarpAffineBack() публичный Метод

Inverse affine transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetAffineTransform function or set explicitly. Thus there is no need to invert coefficients in your application before calling WarpAffineBack. The function operates on source and destination regions of interest. The affine warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = C_00 * x + C_01 * y + C_02 Y_new = C_10 * x + C_11 * y + C_12 The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetAffineQuad and nppiGetAffineBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.
public WarpAffineBack ( NPPImage_8uC3 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC3 Destination image
coeffs double Affine transform coefficients [2,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Результат void

WarpAffineQuad() публичный статический Метод

Affine transform of an image. This function performs affine warping of a the specified quadrangle in the source image to the specified quadrangle in the destination image. The function nppiWarpAffineQuad uses the same formulas for pixel mapping as in nppiWarpAffine function. The transform coefficients are computed internally. The transformed part of the source image is resampled using the specified eInterpolation method and written to the destination ROI. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.
public static WarpAffineQuad ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, double srcQuad, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double dstQuad, InterpolationMode eInterpolation ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
srcQuad double Source quadrangle [4,2]
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
dstQuad double Destination quadrangle [4,2]
eInterpolation InterpolationMode Interpolation mode: can be , or
Результат void

WarpAffineQuad() публичный Метод

Affine transform of an image. This function performs affine warping of a the specified quadrangle in the source image to the specified quadrangle in the destination image. The function nppiWarpAffineQuad uses the same formulas for pixel mapping as in nppiWarpAffine function. The transform coefficients are computed internally. The transformed part of the source image is resampled using the specified eInterpolation method and written to the destination ROI. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.
public WarpAffineQuad ( double srcQuad, NPPImage_8uC3 dest, double dstQuad, InterpolationMode eInterpolation ) : void
srcQuad double Source quadrangle [4,2]
dest NPPImage_8uC3 Destination image
dstQuad double Destination quadrangle [4,2]
eInterpolation InterpolationMode Interpolation mode: can be , or
Результат void

WarpPerspective() публичный статический Метод

Perspective transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetPerspectiveTransform function or set explicitly. The function operates on source and destination regions of interest. The perspective warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = (C_00 * x + C_01 * y + C_02) / (C_20 * x + C_21 * y + C_22) Y_new = (C_10 * x + C_11 * y + C_12) / (C_20 * x + C_21 * y + C_22) The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetPerspectiveQuad and nppiGetPerspectiveBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.
public static WarpPerspective ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double coeffs, InterpolationMode eInterpolation ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
coeffs double Perspective transform coefficients [3,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Результат void

WarpPerspective() публичный Метод

Perspective transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetPerspectiveTransform function or set explicitly. The function operates on source and destination regions of interest. The perspective warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = (C_00 * x + C_01 * y + C_02) / (C_20 * x + C_21 * y + C_22) Y_new = (C_10 * x + C_11 * y + C_12) / (C_20 * x + C_21 * y + C_22) The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetPerspectiveQuad and nppiGetPerspectiveBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.
public WarpPerspective ( NPPImage_8uC3 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC3 Destination image
coeffs double Perspective transform coefficients [3,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Результат void

WarpPerspectiveBack() публичный статический Метод

Inverse perspective transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetPerspectiveTransform function or set explicitly. Thus there is no need to invert coefficients in your application before calling WarpPerspectiveBack. The function operates on source and destination regions of interest. The perspective warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = (C_00 * x + C_01 * y + C_02) / (C_20 * x + C_21 * y + C_22) Y_new = (C_10 * x + C_11 * y + C_12) / (C_20 * x + C_21 * y + C_22) The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetPerspectiveQuad and nppiGetPerspectiveBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.
public static WarpPerspectiveBack ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double coeffs, InterpolationMode eInterpolation ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
coeffs double Perspective transform coefficients [3,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Результат void

WarpPerspectiveBack() публичный Метод

Inverse perspective transform of an image. This function operates using given transform coefficients that can be obtained by using nppiGetPerspectiveTransform function or set explicitly. Thus there is no need to invert coefficients in your application before calling WarpPerspectiveBack. The function operates on source and destination regions of interest. The perspective warp function transforms the source image pixel coordinates (x,y) according to the following formulas: X_new = (C_00 * x + C_01 * y + C_02) / (C_20 * x + C_21 * y + C_22) Y_new = (C_10 * x + C_11 * y + C_12) / (C_20 * x + C_21 * y + C_22) The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. The functions nppiGetPerspectiveQuad and nppiGetPerspectiveBound can help with destination ROI specification. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.
public WarpPerspectiveBack ( NPPImage_8uC3 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC3 Destination image
coeffs double Perspective transform coefficients [3,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Результат void

WarpPerspectiveQuad() публичный статический Метод

Perspective transform of an image. This function performs perspective warping of a the specified quadrangle in the source image to the specified quadrangle in the destination image. The function nppiWarpPerspectiveQuad uses the same formulas for pixel mapping as in nppiWarpPerspective function. The transform coefficients are computed internally. The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.
public static WarpPerspectiveQuad ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, double srcQuad, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, double destQuad, InterpolationMode eInterpolation ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
srcQuad double Source quadrangle [4,2]
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
destQuad double Destination quadrangle [4,2]
eInterpolation InterpolationMode Interpolation mode: can be , or
Результат void

WarpPerspectiveQuad() публичный Метод

Perspective transform of an image. This function performs perspective warping of a the specified quadrangle in the source image to the specified quadrangle in the destination image. The function nppiWarpPerspectiveQuad uses the same formulas for pixel mapping as in nppiWarpPerspective function. The transform coefficients are computed internally. The transformed part of the source image is resampled using the specified interpolation method and written to the destination ROI. NPPI specific recommendation: The function operates using 2 types of kernels: fast and accurate. The fast method is about 4 times faster than its accurate variant, but doesn't perform memory access checks and requires the destination ROI to be 64 bytes aligned. Hence any destination ROI is chunked into 3 vertical stripes: the first and the third are processed by accurate kernels and the central one is processed by the fast one. In order to get the maximum available speed of execution, the projection of destination ROI onto image addresses must be 64 bytes aligned. This is always true if the values (int)((void *)(pDst + dstRoi.x)) and (int)((void *)(pDst + dstRoi.x + dstRoi.width)) are multiples of 64. Another rule of thumb is to specify destination ROI in such way that left and right sides of the projected image are separated from the ROI by at least 63 bytes from each side. However, this requires the whole ROI to be part of allocated memory. In case when the conditions above are not satisfied, the function may decrease in speed slightly and will return NPP_MISALIGNED_DST_ROI_WARNING warning.
public WarpPerspectiveQuad ( double srcQuad, NPPImage_8uC3 dest, double destQuad, InterpolationMode eInterpolation ) : void
srcQuad double Source quadrangle [4,2]
dest NPPImage_8uC3 Destination image
destQuad double Destination quadrangle [4,2]
eInterpolation InterpolationMode Interpolation mode: can be , or
Результат void

XYZToRGB() публичный Метод

3 channel 8-bit unsigned packed XYZ to 3 channel 8-bit unsigned packed RGB color conversion.
public XYZToRGB ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

Xor() публичный Метод

In place image logical Xor.
public Xor ( NPPImage_8uC3 src2 ) : void
src2 NPPImage_8uC3 2nd source image
Результат void

Xor() публичный Метод

Image logical Xor.
public Xor ( NPPImage_8uC3 src2, NPPImage_8uC3 dest ) : void
src2 NPPImage_8uC3 2nd source image
dest NPPImage_8uC3 Destination image
Результат void

Xor() публичный Метод

In place image logical Xor with constant.
public Xor ( byte nConstant ) : void
nConstant byte Value (Array length = 3)
Результат void

Xor() публичный Метод

Image logical Xor with constant.
public Xor ( byte nConstant, NPPImage_8uC3 dest ) : void
nConstant byte Value (Array length = 3)
dest NPPImage_8uC3 Destination image
Результат void

YCCToRGB() публичный Метод

3 channel 8-bit unsigned packed YCC to 3 channel 8-bit unsigned packed RGB color conversion.
public YCCToRGB ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

YCbCr411() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr411 to 2 channel 8-bit unsigned planar YCbCr411 sampling format conversion.
public static YCbCr411 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
destY NPPImage_8uC1 Destination image channel Y
destCbCr NPPImage_8uC1 Destination image channel CbCr
Результат void

YCbCr411ToBGR() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr411 to 3 channel 8-bit unsigned packed BGR color conversion.
public static YCbCr411ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YCbCr411ToBGR() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr411 to 4 channel 8-bit unsigned packed BGR color conversion with constant alpha.
public static YCbCr411ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
nAval byte 8-bit unsigned alpha constant.
Результат void

YCbCr411ToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr411 to 3 channel 8-bit unsigned packed RGB color conversion.
public static YCbCr411ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YCbCr411ToYCbCr420() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr411 to 2 channel 8-bit unsigned planar YCbCr420 sampling format conversion.
public static YCbCr411ToYCbCr420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
destY NPPImage_8uC1 Destination image channel Y
destCbCr NPPImage_8uC1 Destination image channel CbCr
Результат void

YCbCr411ToYCbCr420() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr411 to 3 channel 8-bit unsigned planar YCbCr420 sampling format conversion.
public static YCbCr411ToYCbCr420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

YCbCr411ToYCbCr422() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr411 to 3 channel 8-bit unsigned planar YCbCr422 sampling format conversion.
public static YCbCr411ToYCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

YCbCr411ToYCbCr422() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr411 to 2 channel 8-bit unsigned packed YCbCr422 sampling format conversion.
public static YCbCr411ToYCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC2 Destination image
Результат void

YCbCr411ToYCrCb422() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr411 to 3 channel 8-bit unsigned planar YCrCb422 sampling format conversion.
public static YCbCr411ToYCrCb422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

YCbCr411ToYCrCb422() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr411 to 2 channel 8-bit unsigned packed YCrCb422 sampling format conversion.
public static YCbCr411ToYCrCb422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC2 Destination image
Результат void

YCbCr420() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr420 to 2 channel 8-bit unsigned planar YCbCr420 sampling format conversion.
public static YCbCr420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
destY NPPImage_8uC1 Destination image channel Y
destCbCr NPPImage_8uC1 Destination image channel CbCr
Результат void

YCbCr420ToBGR() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr420 to 3 channel 8-bit unsigned packed BGR color conversion.
public static YCbCr420ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YCbCr420ToBGR() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr420 to 4 channel 8-bit unsigned packed BGR color conversion with constant alpha.
public static YCbCr420ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
nAval byte 8-bit unsigned alpha constant.
Результат void

YCbCr420ToBGR_709CSC() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr420 to 3 channel 8-bit unsigned packed BGR_709CSC color conversion.
public static YCbCr420ToBGR_709CSC ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YCbCr420ToBGR_709HDTV() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr420 to 4 channel 8-bit unsigned packed BGR_709HDTV color conversion with constant alpha.
public static YCbCr420ToBGR_709HDTV ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
nAval byte 8-bit unsigned alpha constant.
Результат void

YCbCr420ToYCbCr411() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr:420 to YCbCr:411 resampling.
public static YCbCr420ToYCbCr411 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
destY NPPImage_8uC1 Destination image channel 0
destCbCr NPPImage_8uC1 Destination image channel 1
Результат void

YCbCr420ToYCbCr411() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr420 to packed RGB color conversion.
public static YCbCr420ToYCbCr411 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YCbCr420ToYCbCr422() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr:420 to YCbCr:422 resampling.
public static YCbCr420ToYCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

YCbCr422() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr422 to 2 channel 8-bit unsigned packed YCbCr422 sampling format conversion.
public static YCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC2 Destination image
Результат void

YCbCr422ToBGR() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr422 to 3 channel 8-bit unsigned packed BGR color conversion.
public static YCbCr422ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YCbCr422ToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr422 to 3 channel 8-bit unsigned packed RGB color conversion.
public static YCbCr422ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YCbCr422ToYCbCr411() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr422 to 2 channel 8-bit unsigned planar YCbCr411 sampling format conversion.
public static YCbCr422ToYCbCr411 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
destY NPPImage_8uC1 Destination image channel Y
destCbCr NPPImage_8uC1 Destination image channel CbCr
Результат void

YCbCr422ToYCbCr411() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr:422 to YCbCr:411 resampling.
public static YCbCr422ToYCbCr411 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

YCbCr422ToYCbCr420() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr422 to 2 channel 8-bit unsigned planar YCbCr420 sampling format conversion.
public static YCbCr422ToYCbCr420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
destY NPPImage_8uC1 Destination image channel Y
destCbCr NPPImage_8uC1 Destination image channel CbCr
Результат void

YCbCr422ToYCbCr420() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr:422 to YCbCr:420 resampling.
public static YCbCr422ToYCbCr420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

YCbCr422ToYCrCb422() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr422 to 2 channel 8-bit unsigned packed YCrCb422 sampling format conversion.
public static YCbCr422ToYCrCb422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC2 Destination image
Результат void

YCbCrToBGR() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed BGR color conversion.
public static YCbCrToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YCbCrToBGR() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed BGR color conversion with constant alpha.
public static YCbCrToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
nAval byte 8-bit unsigned alpha constant.
Результат void

YCbCrToBGR_709CSC() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed BGR_709CSC color conversion.
public static YCbCrToBGR_709CSC ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YCbCrToBGR_709CSC() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed BGR_709CSC color conversion with constant alpha.
public static YCbCrToBGR_709CSC ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
nAval byte 8-bit unsigned alpha constant.
Результат void

YCbCrToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr to RGB color conversion.
public static YCbCrToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

YCbCrToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr to 3 channel 8-bit unsigned packed RGB color conversion.
public static YCbCrToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YCbCrToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YCbCr to 4 channel 8-bit unsigned packed RGB color conversion with constant alpha.
public static YCbCrToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
nAval byte 8-bit unsigned alpha constant.
Результат void

YCbCrToRGB() публичный Метод

3 channel 8-bit unsigned packed YCbCr to RGB color conversion.
public YCbCrToRGB ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

YCrCb420ToCbYCr422() публичный статический Метод

3 channel 8-bit unsigned planar YCrCb420 to 2 channel 8-bit unsigned packed CbYCr422 sampling format conversion.
public static YCrCb420ToCbYCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC2 Destination image
Результат void

YCrCb420ToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YCrCb420 to 4 channel 8-bit unsigned packed RGB color conversion with constant alpha.
public static YCrCb420ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
nAval byte 8-bit unsigned alpha constant.
Результат void

YCrCb420ToYCbCr411() публичный статический Метод

3 channel 8-bit unsigned planar YCrCb420 to 2 channel 8-bit unsigned planar YCbCr411 sampling format conversion.
public static YCrCb420ToYCbCr411 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
destY NPPImage_8uC1 Destination image channel Y
destCbCr NPPImage_8uC1 Destination image channel CbCr
Результат void

YCrCb420ToYCbCr420() публичный статический Метод

3 channel 8-bit unsigned planar YCrCb420 to 2 channel 8-bit unsigned planar YCbCr420 sampling format conversion.
public static YCrCb420ToYCbCr420 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 destY, NPPImage_8uC1 destCbCr ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
destY NPPImage_8uC1 Destination image channel Y
destCbCr NPPImage_8uC1 Destination image channel CbCr
Результат void

YCrCb420ToYCbCr422() публичный статический Метод

3 channel 8-bit unsigned planar YCrCb420 to 3 channel 8-bit unsigned planar YCbCr422 sampling format conversion.
public static YCrCb420ToYCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

YCrCb420ToYCbCr422() публичный статический Метод

3 channel 8-bit unsigned planar YCrCb420 to 2 channel 8-bit unsigned packed YCbCr422 sampling format conversion.
public static YCrCb420ToYCbCr422 ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC2 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC2 Destination image
Результат void

YUV420ToBGR() публичный статический Метод

3 channel 8-bit unsigned planar YUV420 to 3 channel 8-bit unsigned packed BGR color conversion.
public static YUV420ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YUV420ToBGR() публичный статический Метод

3 channel 8-bit unsigned planar YUV420 to 4 channel 8-bit unsigned packed BGR color conversion with constant alpha (0xFF).
public static YUV420ToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
Результат void

YUV420ToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YUV420 to 3 channel 8-bit unsigned planar RGB color conversion.
public static YUV420ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

YUV420ToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YUV420 to 3 channel 8-bit unsigned packed RGB color conversion.
public static YUV420ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YUV420ToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YUV420 to 4 channel 8-bit unsigned packed RGB color conversion with alpha.
public static YUV420ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
Результат void

YUV420ToRGBA() публичный статический Метод

3 channel 8-bit unsigned planar YUV420 to 4 channel 8-bit unsigned packed RGB color conversion with constant alpha (0xFF).
public static YUV420ToRGBA ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
Результат void

YUV422ToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YUV422 to 3 channel 8-bit unsigned planar RGB color conversion.
public static YUV422ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

YUV422ToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YUV422 to 3 channel 8-bit unsigned packed RGB color conversion.
public static YUV422ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YUV422ToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YUV422 to 4 channel 8-bit unsigned packed RGB color conversion with alpha.
public static YUV422ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
Результат void

YUVToBGR() публичный статический Метод

3 channel 8-bit unsigned planar YUV to 3 channel 8-bit unsigned planar BGR color conversion.
public static YUVToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

YUVToBGR() публичный статический Метод

3 channel 8-bit unsigned planar YUV to 3 channel 8-bit unsigned planar BGR color conversion.
public static YUVToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YUVToBGR() публичный Метод

3 channel 8-bit unsigned packed YUV to 3 channel 8-bit unsigned packed BGR color conversion.
public YUVToBGR ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void

YUVToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YUV to 3 channel 8-bit unsigned planar RGB color conversion.
public static YUVToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Результат void

YUVToRGB() публичный статический Метод

3 channel 8-bit unsigned planar YUV to 3 channel 8-bit unsigned packed RGB color conversion.
public static YUVToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC3 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC3 Destination image
Результат void

YUVToRGB() публичный Метод

3 channel 8-bit unsigned packed YUV to 3 channel 8-bit unsigned packed RGB color conversion.
public YUVToRGB ( NPPImage_8uC3 dest ) : void
dest NPPImage_8uC3 Destination image
Результат void