C# 클래스 ManagedCuda.NPP.NPPImage_16uC1

상속: NPPImageBase
파일 보기 프로젝트 열기: kunzmi/managedCuda 1 사용 예제들

공개 메소드들

메소드 설명
AbsDiff ( NPPImage_16uC1 src2, NPPImage_16uC1 dest ) : void

Absolute difference of this minus src2.

AbsDiff ( ushort nConstant, NPPImage_16uC1 dest ) : void

Absolute difference with constant.

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

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

Add ( NPPImage_16uC1 src2, int nScaleFactor ) : void

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

Add ( ushort nConstant, NPPImage_16uC1 dest, int nScaleFactor ) : void

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

Add ( ushort nConstant, int nScaleFactor ) : void

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

AddProduct ( NPPImage_16uC1 src2, NPPImage_32fC1 dest ) : void

One 8-bit unsigned char channel image product added to in place floating point destination image.

AddProduct ( NPPImage_16uC1 src2, NPPImage_32fC1 dest, ManagedCuda.NPP.NPPImage_8uC1 mask ) : void

One 8-bit unsigned char channel image product added to in place floating point destination image using filter mask (updates destination when mask is non-zero).

AddProduct ( NPPImage_32fC1 dest ) : void

One 8-bit unsigned char channel image squared then added to in place floating point destination image.

AddProduct ( NPPImage_32fC1 dest, ManagedCuda.NPP.NPPImage_8uC1 mask ) : void

One 8-bit unsigned char channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).

AddWeighted ( NPPImage_32fC1 dest, ManagedCuda.NPP.NPPImage_8uC1 mask, float nAlpha ) : void

One 8-bit unsigned char channel alpha weighted image added to in place floating point destination image using filter mask (updates destination when mask is non-zero).

AddWeighted ( NPPImage_32fC1 dest, float nAlpha ) : void

One 8-bit unsigned char channel alpha weighted image added to in place floating point destination image.

AlphaComp ( ushort alpha1, NPPImage_16uC1 src2, ushort alpha2, NPPImage_16uC1 dest, NppiAlphaOp nppAlphaOp ) : void

Image composition using constant alpha.

AlphaPremul ( ushort alpha ) : void

In place alpha premultiplication using constant alpha.

AlphaPremul ( ushort alpha, NPPImage_16uC1 dest ) : void

Image premultiplication using constant alpha.

And ( NPPImage_16uC1 src2 ) : void

In place image logical and.

And ( NPPImage_16uC1 src2, NPPImage_16uC1 dest ) : void

Image logical and.

And ( ushort nConstant ) : void

In place image logical and with constant.

And ( ushort nConstant, NPPImage_16uC1 dest ) : void

Image logical and with constant.

AverageError ( NPPImage_16uC1 src2, CudaDeviceVariable pError ) : void

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

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

image average error.

AverageErrorGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for AverageError.

AverageRelativeError ( NPPImage_16uC1 src2, CudaDeviceVariable pError ) : void

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

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

image average relative error.

AverageRelativeErrorGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for AverageRelativeError.

CFAToRGB ( NPPImage_16uC3 dest, NppiBayerGridPosition eGrid, InterpolationMode eInterpolation ) : void

Grayscale Color Filter Array to RGB Color Debayer conversion. Generates one RGB color pixel for every grayscale source pixel. Source and destination images must have even width and height. Missing pixel colors are generated using bilinear interpolation with chroma correlation of generated green values (eInterpolation MUST be set to 0). eGrid allows the user to specify the Bayer grid registration position at source image location oSrcROI.x, oSrcROI.y relative to pSrc.

CFAToRGB ( ManagedCuda.NPP.NPPImage_16uC4 dest, NppiBayerGridPosition eGrid, InterpolationMode eInterpolation, ushort nAlpha ) : void

Grayscale Color Filter Array to RGB Color Debayer conversion. Generates one RGB color pixel for every grayscale source pixel. Source and destination images must have even width and height. Missing pixel colors are generated using bilinear interpolation with chroma correlation of generated green values (eInterpolation MUST be set to 0). eGrid allows the user to specify the Bayer grid registration position at source image location oSrcROI.x, oSrcROI.y relative to pSrc.

ColorTwist ( NPPImage_16uC1 dest, float twistMatrix ) : void

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

ColorTwist ( float aTwist ) : void

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

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

Compare pSrc1's pixels with corresponding pixels in pSrc2.

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

Compare pSrc's pixels with constant value.

Convert ( NPPImage_16sC1 dst, NppRoundMode roundMode, int scaleFactor ) : void

16-bit unsigned to 16-bit signed conversion.

Convert ( NPPImage_32fC1 dst ) : void

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

Convert ( ManagedCuda.NPP.NPPImage_32sC1 dst ) : void

16-bit unsigned to 32-bit signed conversion.

Convert ( ManagedCuda.NPP.NPPImage_32uC1 dst ) : void

16-bit unsigned to 32-bit unsigned conversion.

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

16-bit unsigned to 8-bit signed conversion.

Convert ( ManagedCuda.NPP.NPPImage_8uC1 dst ) : void

16-bit unsigned to 8-bit unsigned conversion.

Copy ( NPPImage_16uC1 dst ) : void

Image copy.

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

Masked Operation 8-bit unsigned image copy.

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

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

Copy ( NPPImage_16uC3 dst, int channel ) : void

Image copy.

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

Image copy.

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

image copy with nearest source image pixel color.

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

linearly interpolated source image subpixel coordinate color copy.

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

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

CrossCorrFull_Norm ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void

image CrossCorrFull_Norm.

CrossCorrFull_NormLevel ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void

CrossCorrFull_NormLevel. Buffer is internally allocated and freed.

CrossCorrFull_NormLevel ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst, CudaDeviceVariable buffer ) : void

CrossCorrFull_NormLevel.

CrossCorrSame_Norm ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void

image CrossCorrSame_Norm.

CrossCorrSame_NormLevel ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void

CrossCorrSame_NormLevel. Buffer is internally allocated and freed.

CrossCorrSame_NormLevel ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst, CudaDeviceVariable buffer ) : void

CrossCorrSame_NormLevel.

CrossCorrValid ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void

image CrossCorrValid.

CrossCorrValid_Norm ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void

image CrossCorrValid_Norm.

CrossCorrValid_NormLevel ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void

CrossCorrValid_NormLevel. Buffer is internally allocated and freed.

CrossCorrValid_NormLevel ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst, CudaDeviceVariable buffer ) : void

CrossCorrValid_NormLevel.

Dilate ( NPPImage_16uC1 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_16uC1 dst ) : void

3x3 dilation.

Dilate3x3Border ( NPPImage_16uC1 dest, NppiBorderType eBorderType ) : void

3x3 dilation with border control.

DilateBorder ( NPPImage_16uC1 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_16uC1 src2, NPPImage_16uC1 dest, NppRoundMode rndMode, int nScaleFactor ) : void

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

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

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

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

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

Div ( NPPImage_16uC1 src2, int nScaleFactor ) : void

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

Div ( ushort nConstant, NPPImage_16uC1 dest, int nScaleFactor ) : void

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

Div ( ushort 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_16u64f_C1R.

DotProduct ( NPPImage_16uC1 src2, CudaDeviceVariable pDp ) : void

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

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

One-channel 16-bit unsigned image DotProd.

Dup ( NPPImage_16uC3 dst ) : void

source image duplicated in all 3 channels of destination image.

Dup ( ManagedCuda.NPP.NPPImage_16uC4 dst ) : void

source image duplicated in all 4 channels of destination image.

DupA ( ManagedCuda.NPP.NPPImage_16uC4 dst ) : void

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

Erode ( NPPImage_16uC1 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_16uC1 dst ) : void

3x3 erosion.

Erode3x3Border ( NPPImage_16uC1 dest, NppiBorderType eBorderType ) : void

3x3 erosion with border control.

ErodeBorder ( NPPImage_16uC1 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_16uC1 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_16uC1 dst, CudaDeviceVariable pKernel, NppiSize oKernelSize, NppiPoint oAnchor ) : void

convolution filter.

Filter ( NPPImage_16uC1 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_16uC1 dest, int nRadius, int nStepBetweenSrcPixels, float nValSquareSigma, float nPosSquareSigma, NppiBorderType eBorderType ) : void

Single channel 16-bit unsigned bilateral Gauss filter with border control.

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

One channel 16-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_16uC1 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, int nDivisor, NppiBorderType eBorderType ) : void

One channel 16-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_16uC1 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void

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

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

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

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

1D column convolution.

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

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

FilterGauss ( NPPImage_16uC1 dst, MaskSize eMaskSize ) : void

Gauss filter.

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

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

FilterGaussBorder ( NPPImage_16uC1 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_16uC1 dest, float nRate, int nFilterTaps, CudaDeviceVariable pKernel, NppiBorderType eBorderType ) : void

Single channel 16-bit unsigned Gauss filter with downsampling and border control.

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

Single channel 16-bit unsigned Gauss filter with downsampling and border control.

FilterHighPass ( NPPImage_16uC1 dst, MaskSize eMaskSize ) : void

High pass filter.

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

High pass filter.

FilterLowPass ( NPPImage_16uC1 dst, MaskSize eMaskSize ) : void

Low pass filter.

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

Low pass filter.

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

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

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

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

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

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

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

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

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

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

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

1D row convolution.

FilterRow ( NPPImage_16uC1 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_16uC1 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_16uC1 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_16uC1 dst ) : void

Sharpen filter.

FilterSharpenBorder ( NPPImage_16uC1 dst, NppiBorderType eBorderType ) : void

Sharpen filter.

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

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.

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

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

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

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

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

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

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

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

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

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

HistogramEvenGetBufferSize ( int nLevels ) : int

Scratch-buffer size for HistogramEven.

HistogramRange ( CudaDeviceVariable histogram, CudaDeviceVariable pLevels ) : void

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

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

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

HistogramRangeGetBufferSize ( int nLevels ) : int

Scratch-buffer size for HistogramRange.

LShiftC ( uint nConstant ) : void

image bit shift by constant (left), inplace.

LShiftC ( uint nConstant, NPPImage_16uC1 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_16uC1 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.

LUT ( NPPImage_8uC1 dst, CudaDeviceVariable pTable, int nBitSize ) : void

range restricted palette look-up-table color conversion with 8-bit unsigned destination output per pixel. 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.

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_16uC1 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void

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

LUTLinear ( CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void

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

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

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

LUTPalette ( NPPImage_16uC1 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.

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

One channel 8-bit unsigned bit range restricted 32-bit palette look-up-table color conversion with 32-bit destination output per pixel. 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.

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

One channel 8-bit unsigned bit range restricted 24-bit palette look-up-table color conversion with 24-bit destination output per pixel. 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.

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

One channel 8-bit unsigned bit range restricted 32-bit palette look-up-table color conversion with 32-bit destination output per pixel. 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.

Ln ( NPPImage_16uC1 dest, int nScaleFactor ) : void

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

Ln ( int nScaleFactor ) : void

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

Max ( CudaDeviceVariable max ) : void

Image pixel maximum. Buffer is internally allocated and freed.

Max ( CudaDeviceVariable max, CudaDeviceVariable buffer ) : void

Image pixel maximum. No additional buffer is allocated.

MaxError ( NPPImage_16uC1 src2, CudaDeviceVariable pError ) : void

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

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

image maximum error.

MaxErrorGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for MaxError.

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

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

MaximumRelativeError ( NPPImage_16uC1 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 ( CudaDeviceVariable mean, NPPImage_8uC1 mask ) : void

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

Mean ( 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 ( CudaDeviceVariable mean, CudaDeviceVariable stdDev ) : void

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

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

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

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

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

MeanStdDev ( 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_16uC1 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 ( 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 ( 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 ( 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 ( 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_16uC1 dest, NppiAxis flip ) : void

Mirror image.

Mirror ( NppiAxis flip ) : void

Mirror image inplace.

Mul ( NPPImage_16uC1 src2 ) : void

In place image multiplication and scale by max bit width value

Mul ( NPPImage_16uC1 src2, NPPImage_16uC1 dest ) : void

Image multiplication and scale by max bit width value.

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

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

Mul ( NPPImage_16uC1 src2, int nScaleFactor ) : void

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

Mul ( ushort nConstant ) : void

Multiply constant to image and scale by max bit width value

Mul ( ushort nConstant, NPPImage_16uC1 dest ) : void

Multiply constant to image and scale by max bit width value

Mul ( ushort nConstant, NPPImage_16uC1 dest, int nScaleFactor ) : void

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

Mul ( ushort nConstant, int nScaleFactor ) : void

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

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

Creates a new NPPImage from allocated device ptr.

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

Creates a new NPPImage from allocated device ptr.

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

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

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

Creates a new NPPImage from allocated device ptr.

NPPImage_16uC1 ( NPPImageBase image ) : System

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

NPPImage_16uC1 ( NppiSize size ) : System

Allocates new memory on device using NPP-Api.

NPPImage_16uC1 ( 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_16uC1 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_Inf. Buffer is internally allocated and freed.

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

image NormDiff_Inf.

NormDiff_Inf ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff, NPPImage_8uC1 pMask ) : void

image NormDiff_Inf. Buffer is internally allocated and freed.

NormDiff_Inf ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void

image NormDiff_Inf.

NormDiff_L1 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_L1. Buffer is internally allocated and freed.

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

image NormDiff_L1.

NormDiff_L1 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff, NPPImage_8uC1 pMask ) : void

image NormDiff_L1. Buffer is internally allocated and freed.

NormDiff_L1 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void

image NormDiff_L1.

NormDiff_L2 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_L2. Buffer is internally allocated and freed.

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

image NormDiff_L2.

NormDiff_L2 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff, NPPImage_8uC1 pMask ) : void

image NormDiff_L2. Buffer is internally allocated and freed.

NormDiff_L2 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff, 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 ( CudaDeviceVariable norm, NPPImage_8uC1 mask ) : void

image infinity norm. Buffer is internally allocated and freed.

NormInf ( 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 ( CudaDeviceVariable norm, NPPImage_8uC1 mask ) : void

image L1 norm. Buffer is internally allocated and freed.

NormL1 ( 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 ( CudaDeviceVariable norm, NPPImage_8uC1 mask ) : void

image L2 norm. Buffer is internally allocated and freed.

NormL2 ( 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_16uC1 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_Inf. Buffer is internally allocated and freed.

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

image NormRel_Inf.

NormRel_Inf ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel, NPPImage_8uC1 pMask ) : void

image NormRel_Inf. Buffer is internally allocated and freed.

NormRel_Inf ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void

image NormRel_Inf.

NormRel_L1 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_L1. Buffer is internally allocated and freed.

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

image NormRel_L1.

NormRel_L1 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel, NPPImage_8uC1 pMask ) : void

image NormRel_L1. Buffer is internally allocated and freed.

NormRel_L1 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void

image NormRel_L1.

NormRel_L2 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_L2. Buffer is internally allocated and freed.

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

image NormRel_L2.

NormRel_L2 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel, NPPImage_8uC1 pMask ) : void

image NormRel_L2. Buffer is internally allocated and freed.

NormRel_L2 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void

image NormRel_L2.

Or ( NPPImage_16uC1 src2 ) : void

In place image logical Or.

Or ( NPPImage_16uC1 src2, NPPImage_16uC1 dest ) : void

Image logical Or.

Or ( ushort nConstant ) : void

In place image logical Or with constant.

Or ( ushort nConstant, NPPImage_16uC1 dest ) : void

Image logical Or with constant.

QualityIndex ( NPPImage_16uC1 src2, CudaDeviceVariable dst ) : void

image QualityIndex.

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

image QualityIndex.

QualityIndexGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for QualityIndex.

RShiftC ( uint nConstant ) : void

image bit shift by constant (right), inplace.

RShiftC ( uint nConstant, NPPImage_16uC1 dest ) : void

image bit shift by constant (right).

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

image remap.

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

Resizes images.

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

image resize.

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

Rotate images.

SameNormLevelGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrSame_NormLevel.

Scale ( NPPImage_8uC1 dst, NppHintAlgorithm hint ) : void

image conversion.

Set ( ushort nValue ) : void

Set pixel values to nValue.

Set ( ushort 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.

Sqr ( NPPImage_16uC1 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_16uC1 tpl, NPPImage_32fC1 dst ) : void

image SqrDistanceFull_Norm.

SqrDistanceSame_Norm ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void

image SqrDistanceSame_Norm.

SqrDistanceValid_Norm ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void

image SqrDistanceValid_Norm.

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

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

Sub ( NPPImage_16uC1 src2, int nScaleFactor ) : void

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

Sub ( ushort nConstant, NPPImage_16uC1 dest, int nScaleFactor ) : void

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

Sub ( ushort nConstant, int nScaleFactor ) : void

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

Sum ( CudaDeviceVariable result ) : void

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

Sum ( CudaDeviceVariable result, CudaDeviceVariable buffer ) : void

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

SumGetBufferHostSize ( ) : int

Scratch-buffer size for nppiSum_16u_C1R.

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

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

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

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

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

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

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

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

Threshold ( NPPImage_16uC1 dest, ushort 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_16uC1 dest, ushort nThreshold, ushort 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 ( ushort 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 ( ushort nThreshold, ushort 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_16uC1 dest, ushort 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_16uC1 dest, ushort nThreshold, ushort 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 ( ushort 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 ( ushort nThreshold, ushort 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_16uC1 dest, ushort 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_16uC1 dest, ushort nThreshold, ushort 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 ( ushort 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 ( ushort nThreshold, ushort 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_16uC1 dest, ushort nThresholdLT, ushort nValueLT, ushort nThresholdGT, ushort 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 ( ushort nThresholdLT, ushort nValueLT, ushort nThresholdGT, ushort 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_16uC1 dest ) : void

image transpose

ValidNormLevelGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel.

WarpAffine ( NPPImage_16uC1 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_16uC1 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 ( double srcQuad, NPPImage_16uC1 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_16uC1 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_16uC1 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 ( double srcQuad, NPPImage_16uC1 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.

Xor ( NPPImage_16uC1 src2 ) : void

In place image logical Xor.

Xor ( NPPImage_16uC1 src2, NPPImage_16uC1 dest ) : void

Image logical Xor.

Xor ( ushort nConstant ) : void

In place image logical Xor with constant.

Xor ( ushort nConstant, NPPImage_16uC1 dest ) : void

Image logical Xor with constant.

메소드 상세

AbsDiff() 공개 메소드

Absolute difference of this minus src2.
public AbsDiff ( NPPImage_16uC1 src2, NPPImage_16uC1 dest ) : void
src2 NPPImage_16uC1 2nd source image
dest NPPImage_16uC1 Destination image
리턴 void

AbsDiff() 공개 메소드

Absolute difference with constant.
public AbsDiff ( ushort nConstant, NPPImage_16uC1 dest ) : void
nConstant ushort Value to subtract
dest NPPImage_16uC1 Destination image
리턴 void

Add() 공개 메소드

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

Add() 공개 메소드

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

Add() 공개 메소드

Add constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Add ( ushort nConstant, NPPImage_16uC1 dest, int nScaleFactor ) : void
nConstant ushort Value to add
dest NPPImage_16uC1 Destination image
nScaleFactor int scaling factor
리턴 void

Add() 공개 메소드

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

AddProduct() 공개 메소드

One 8-bit unsigned char channel image product added to in place floating point destination image.
public AddProduct ( NPPImage_16uC1 src2, NPPImage_32fC1 dest ) : void
src2 NPPImage_16uC1 2nd source image
dest NPPImage_32fC1 Destination image
리턴 void

AddProduct() 공개 메소드

One 8-bit unsigned char channel image product added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
public AddProduct ( NPPImage_16uC1 src2, NPPImage_32fC1 dest, ManagedCuda.NPP.NPPImage_8uC1 mask ) : void
src2 NPPImage_16uC1 2nd source image
dest NPPImage_32fC1 Destination image
mask ManagedCuda.NPP.NPPImage_8uC1 Mask image
리턴 void

AddProduct() 공개 메소드

One 8-bit unsigned char channel image squared then added to in place floating point destination image.
public AddProduct ( NPPImage_32fC1 dest ) : void
dest NPPImage_32fC1 Destination image
리턴 void

AddProduct() 공개 메소드

One 8-bit unsigned char channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
public AddProduct ( NPPImage_32fC1 dest, ManagedCuda.NPP.NPPImage_8uC1 mask ) : void
dest NPPImage_32fC1 Destination image
mask ManagedCuda.NPP.NPPImage_8uC1 Mask image
리턴 void

AddWeighted() 공개 메소드

One 8-bit unsigned char channel alpha weighted image added to in place floating point destination image using filter mask (updates destination when mask is non-zero).
public AddWeighted ( NPPImage_32fC1 dest, ManagedCuda.NPP.NPPImage_8uC1 mask, float nAlpha ) : void
dest NPPImage_32fC1 Destination image
mask ManagedCuda.NPP.NPPImage_8uC1 Mask image
nAlpha float Alpha weight to be applied to source image pixels (0.0F to 1.0F)
리턴 void

AddWeighted() 공개 메소드

One 8-bit unsigned char channel alpha weighted image added to in place floating point destination image.
public AddWeighted ( NPPImage_32fC1 dest, float nAlpha ) : void
dest NPPImage_32fC1 Destination image
nAlpha float Alpha weight to be applied to source image pixels (0.0F to 1.0F)
리턴 void

AlphaComp() 공개 메소드

Image composition using constant alpha.
public AlphaComp ( ushort alpha1, NPPImage_16uC1 src2, ushort alpha2, NPPImage_16uC1 dest, NppiAlphaOp nppAlphaOp ) : void
alpha1 ushort constant alpha for this image
src2 NPPImage_16uC1 2nd source image
alpha2 ushort constant alpha for src2
dest NPPImage_16uC1 Destination image
nppAlphaOp NppiAlphaOp alpha compositing operation
리턴 void

AlphaPremul() 공개 메소드

In place alpha premultiplication using constant alpha.
public AlphaPremul ( ushort alpha ) : void
alpha ushort alpha
리턴 void

AlphaPremul() 공개 메소드

Image premultiplication using constant alpha.
public AlphaPremul ( ushort alpha, NPPImage_16uC1 dest ) : void
alpha ushort alpha
dest NPPImage_16uC1 Destination image
리턴 void

And() 공개 메소드

In place image logical and.
public And ( NPPImage_16uC1 src2 ) : void
src2 NPPImage_16uC1 2nd source image
리턴 void

And() 공개 메소드

Image logical and.
public And ( NPPImage_16uC1 src2, NPPImage_16uC1 dest ) : void
src2 NPPImage_16uC1 2nd source image
dest NPPImage_16uC1 Destination image
리턴 void

And() 공개 메소드

In place image logical and with constant.
public And ( ushort nConstant ) : void
nConstant ushort Value
리턴 void

And() 공개 메소드

Image logical and with constant.
public And ( ushort nConstant, NPPImage_16uC1 dest ) : void
nConstant ushort Value
dest NPPImage_16uC1 Destination image
리턴 void

AverageError() 공개 메소드

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

AverageError() 공개 메소드

image average error.
public AverageError ( NPPImage_16uC1 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void
src2 NPPImage_16uC1 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_16uC1 src2, CudaDeviceVariable pError ) : void
src2 NPPImage_16uC1 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
리턴 void

AverageRelativeError() 공개 메소드

image average relative error.
public AverageRelativeError ( NPPImage_16uC1 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void
src2 NPPImage_16uC1 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

CFAToRGB() 공개 메소드

Grayscale Color Filter Array to RGB Color Debayer conversion. Generates one RGB color pixel for every grayscale source pixel. Source and destination images must have even width and height. Missing pixel colors are generated using bilinear interpolation with chroma correlation of generated green values (eInterpolation MUST be set to 0). eGrid allows the user to specify the Bayer grid registration position at source image location oSrcROI.x, oSrcROI.y relative to pSrc.
public CFAToRGB ( NPPImage_16uC3 dest, NppiBayerGridPosition eGrid, InterpolationMode eInterpolation ) : void
dest NPPImage_16uC3 Destination image
eGrid NppiBayerGridPosition enumeration value specifying bayer grid registration position at location oSrcROI.x, oSrcROI.y relative to pSrc.
eInterpolation InterpolationMode MUST be
리턴 void

CFAToRGB() 공개 메소드

Grayscale Color Filter Array to RGB Color Debayer conversion. Generates one RGB color pixel for every grayscale source pixel. Source and destination images must have even width and height. Missing pixel colors are generated using bilinear interpolation with chroma correlation of generated green values (eInterpolation MUST be set to 0). eGrid allows the user to specify the Bayer grid registration position at source image location oSrcROI.x, oSrcROI.y relative to pSrc.
public CFAToRGB ( ManagedCuda.NPP.NPPImage_16uC4 dest, NppiBayerGridPosition eGrid, InterpolationMode eInterpolation, ushort nAlpha ) : void
dest ManagedCuda.NPP.NPPImage_16uC4 Destination image
eGrid NppiBayerGridPosition enumeration value specifying bayer grid registration position at location oSrcROI.x, oSrcROI.y relative to pSrc.
eInterpolation InterpolationMode MUST be
nAlpha ushort constant alpha value to be written to each destination pixel
리턴 void

ColorTwist() 공개 메소드

An input color twist matrix with floating-point pixel values is applied within ROI.
public ColorTwist ( NPPImage_16uC1 dest, float twistMatrix ) : void
dest NPPImage_16uC1 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

Compare() 공개 메소드

Compare pSrc1's pixels with corresponding pixels in pSrc2.
public Compare ( NPPImage_16uC1 src2, ManagedCuda.NPP.NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void
src2 NPPImage_16uC1 2nd source image
dest ManagedCuda.NPP.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 ( ushort nConstant, ManagedCuda.NPP.NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void
nConstant ushort constant value
dest ManagedCuda.NPP.NPPImage_8uC1 Destination image
eComparisonOperation NppCmpOp Specifies the comparison operation to be used in the pixel comparison.
리턴 void

Convert() 공개 메소드

16-bit unsigned to 16-bit signed conversion.
public Convert ( NPPImage_16sC1 dst, NppRoundMode roundMode, int scaleFactor ) : void
dst NPPImage_16sC1 Destination image
roundMode NppRoundMode Round mode
scaleFactor int scaling factor
리턴 void

Convert() 공개 메소드

16-bit unsigned to 32-bit floating point conversion.
public Convert ( NPPImage_32fC1 dst ) : void
dst NPPImage_32fC1 Destination image
리턴 void

Convert() 공개 메소드

16-bit unsigned to 32-bit signed conversion.
public Convert ( ManagedCuda.NPP.NPPImage_32sC1 dst ) : void
dst ManagedCuda.NPP.NPPImage_32sC1 Destination image
리턴 void

Convert() 공개 메소드

16-bit unsigned to 32-bit unsigned conversion.
public Convert ( ManagedCuda.NPP.NPPImage_32uC1 dst ) : void
dst ManagedCuda.NPP.NPPImage_32uC1 Destination image
리턴 void

Convert() 공개 메소드

16-bit unsigned to 8-bit signed conversion.
public Convert ( ManagedCuda.NPP.NPPImage_8sC1 dst, NppRoundMode roundMode, int scaleFactor ) : void
dst ManagedCuda.NPP.NPPImage_8sC1 Destination image
roundMode NppRoundMode Round mode
scaleFactor int scaling factor
리턴 void

Convert() 공개 메소드

16-bit unsigned to 8-bit unsigned conversion.
public Convert ( ManagedCuda.NPP.NPPImage_8uC1 dst ) : void
dst ManagedCuda.NPP.NPPImage_8uC1 Destination image
리턴 void

Copy() 공개 메소드

Image copy.
public Copy ( NPPImage_16uC1 dst ) : void
dst NPPImage_16uC1 Destination image
리턴 void

Copy() 공개 메소드

Masked Operation 8-bit unsigned image copy.
public Copy ( NPPImage_16uC1 dst, ManagedCuda.NPP.NPPImage_8uC1 mask ) : void
dst NPPImage_16uC1 Destination image
mask ManagedCuda.NPP.NPPImage_8uC1 Mask image
리턴 void

Copy() 공개 메소드

Copy image and pad borders with a constant, user-specifiable color.
public Copy ( NPPImage_16uC1 dst, int nTopBorderHeight, int nLeftBorderWidth, byte nValue ) : void
dst NPPImage_16uC1 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

Copy() 공개 메소드

Image copy.
public Copy ( NPPImage_16uC3 dst, int channel ) : void
dst NPPImage_16uC3 Destination image
channel int Channel number. This number is added to the dst pointer
리턴 void

Copy() 공개 메소드

Image copy.
public Copy ( ManagedCuda.NPP.NPPImage_16uC4 dst, int channel ) : void
dst ManagedCuda.NPP.NPPImage_16uC4 Destination image
channel int Channel number. This number is added to the dst pointer
리턴 void

CopyReplicateBorder() 공개 메소드

image copy with nearest source image pixel color.
public CopyReplicateBorder ( NPPImage_16uC1 dst, int nTopBorderHeight, int nLeftBorderWidth ) : void
dst NPPImage_16uC1 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_16uC1 dst, float nDx, float nDy ) : void
dst NPPImage_16uC1 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_16uC1 dst, int nTopBorderHeight, int nLeftBorderWidth ) : void
dst NPPImage_16uC1 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

CrossCorrFull_Norm() 공개 메소드

image CrossCorrFull_Norm.
public CrossCorrFull_Norm ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void
tpl NPPImage_16uC1 template image.
dst NPPImage_32fC1 Destination-Image
리턴 void

CrossCorrFull_NormLevel() 공개 메소드

CrossCorrFull_NormLevel. Buffer is internally allocated and freed.
public CrossCorrFull_NormLevel ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void
tpl NPPImage_16uC1 template image.
dst NPPImage_32fC1 Destination image
리턴 void

CrossCorrFull_NormLevel() 공개 메소드

CrossCorrFull_NormLevel.
public CrossCorrFull_NormLevel ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst, CudaDeviceVariable buffer ) : void
tpl NPPImage_16uC1 template image.
dst NPPImage_32fC1 Destination image
buffer CudaDeviceVariable Allocated device memory with size of at
리턴 void

CrossCorrSame_Norm() 공개 메소드

image CrossCorrSame_Norm.
public CrossCorrSame_Norm ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void
tpl NPPImage_16uC1 template image.
dst NPPImage_32fC1 Destination-Image
리턴 void

CrossCorrSame_NormLevel() 공개 메소드

CrossCorrSame_NormLevel. Buffer is internally allocated and freed.
public CrossCorrSame_NormLevel ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void
tpl NPPImage_16uC1 template image.
dst NPPImage_32fC1 Destination image
리턴 void

CrossCorrSame_NormLevel() 공개 메소드

CrossCorrSame_NormLevel.
public CrossCorrSame_NormLevel ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst, CudaDeviceVariable buffer ) : void
tpl NPPImage_16uC1 template image.
dst NPPImage_32fC1 Destination image
buffer CudaDeviceVariable Allocated device memory with size of at
리턴 void

CrossCorrValid() 공개 메소드

image CrossCorrValid.
public CrossCorrValid ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void
tpl NPPImage_16uC1 template image.
dst NPPImage_32fC1 Destination-Image
리턴 void

CrossCorrValid_Norm() 공개 메소드

image CrossCorrValid_Norm.
public CrossCorrValid_Norm ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void
tpl NPPImage_16uC1 template image.
dst NPPImage_32fC1 Destination-Image
리턴 void

CrossCorrValid_NormLevel() 공개 메소드

CrossCorrValid_NormLevel. Buffer is internally allocated and freed.
public CrossCorrValid_NormLevel ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void
tpl NPPImage_16uC1 template image.
dst NPPImage_32fC1 Destination image
리턴 void

CrossCorrValid_NormLevel() 공개 메소드

CrossCorrValid_NormLevel.
public CrossCorrValid_NormLevel ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst, CudaDeviceVariable buffer ) : void
tpl NPPImage_16uC1 template image.
dst NPPImage_32fC1 Destination image
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_16uC1 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_16uC1 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_16uC1 dst ) : void
dst NPPImage_16uC1 Destination-Image
리턴 void

Dilate3x3Border() 공개 메소드

3x3 dilation with border control.
public Dilate3x3Border ( NPPImage_16uC1 dest, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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_16uC1 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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_16uC1 src2, NPPImage_16uC1 dest, NppRoundMode rndMode, int nScaleFactor ) : void
src2 NPPImage_16uC1 2nd source image
dest NPPImage_16uC1 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_16uC1 src2, NPPImage_16uC1 dest, int nScaleFactor ) : void
src2 NPPImage_16uC1 2nd source image
dest NPPImage_16uC1 Destination image
nScaleFactor int scaling factor
리턴 void

Div() 공개 메소드

In place image division, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Div ( NPPImage_16uC1 src2, NppRoundMode rndMode, int nScaleFactor ) : void
src2 NPPImage_16uC1 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_16uC1 src2, int nScaleFactor ) : void
src2 NPPImage_16uC1 2nd source image
nScaleFactor int scaling factor
리턴 void

Div() 공개 메소드

Divide constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Div ( ushort nConstant, NPPImage_16uC1 dest, int nScaleFactor ) : void
nConstant ushort Value
dest NPPImage_16uC1 Destination image
nScaleFactor int scaling factor
리턴 void

Div() 공개 메소드

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

DotProdGetBufferHostSize() 공개 메소드

Device scratch buffer size (in bytes) for nppiDotProd_16u64f_C1R.
public DotProdGetBufferHostSize ( ) : int
리턴 int

DotProduct() 공개 메소드

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

DotProduct() 공개 메소드

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

Dup() 공개 메소드

source image duplicated in all 3 channels of destination image.
public Dup ( NPPImage_16uC3 dst ) : void
dst NPPImage_16uC3 Destination-Image
리턴 void

Dup() 공개 메소드

source image duplicated in all 4 channels of destination image.
public Dup ( ManagedCuda.NPP.NPPImage_16uC4 dst ) : void
dst ManagedCuda.NPP.NPPImage_16uC4 Destination-Image
리턴 void

DupA() 공개 메소드

source image duplicated in 3 channels of 4 channel destination image with alpha channel unaffected.
public DupA ( ManagedCuda.NPP.NPPImage_16uC4 dst ) : void
dst ManagedCuda.NPP.NPPImage_16uC4 Destination-Image
리턴 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_16uC1 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_16uC1 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_16uC1 dst ) : void
dst NPPImage_16uC1 Destination-Image
리턴 void

Erode3x3Border() 공개 메소드

3x3 erosion with border control.
public Erode3x3Border ( NPPImage_16uC1 dest, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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_16uC1 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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_16uC1 dest, int nScaleFactor ) : void
dest NPPImage_16uC1 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_16uC1 dst, CudaDeviceVariable pKernel, NppiSize oKernelSize, NppiPoint oAnchor ) : void
dst NPPImage_16uC1 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_16uC1 dest, CudaDeviceVariable Kernel, NppiSize aKernelSize, NppiPoint oAnchor, int nDivisor ) : void
dest NPPImage_16uC1 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() 공개 메소드

Single channel 16-bit unsigned bilateral Gauss filter with border control.
public FilterBilateralGaussBorder ( NPPImage_16uC1 dest, int nRadius, int nStepBetweenSrcPixels, float nValSquareSigma, float nPosSquareSigma, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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() 공개 메소드

One channel 16-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_16uC1 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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() 공개 메소드

One channel 16-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_16uC1 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, int nDivisor, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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_16uC1 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_16uC1 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_16uC1 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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_16uC1 dst, CudaDeviceVariable pKernel, int nAnchor ) : void
dst NPPImage_16uC1 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_16uC1 dest, CudaDeviceVariable Kernel, int nKernelSize, int nAnchor, int nDivisor ) : void
dest NPPImage_16uC1 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_16uC1 dest, CudaDeviceVariable Kernel, int nAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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_16uC1 dest, CudaDeviceVariable Kernel, int nAnchor, int nDivisor, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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_16uC1 dst, CudaDeviceVariable Kernel ) : void
dst NPPImage_16uC1 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_16uC1 dst, MaskSize eMaskSize ) : void
dst NPPImage_16uC1 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_16uC1 dst, CudaDeviceVariable Kernel, NppiBorderType eBorderType ) : void
dst NPPImage_16uC1 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_16uC1 dest, MaskSize eMaskSize, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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() 공개 메소드

Single channel 16-bit unsigned Gauss filter with downsampling and border control.
public FilterGaussPyramidLayerDownBorder ( NPPImage_16uC1 dest, float nRate, int nFilterTaps, CudaDeviceVariable pKernel, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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() 공개 메소드

Single channel 16-bit unsigned Gauss filter with downsampling and border control.
public FilterGaussPyramidLayerUpBorder ( NPPImage_16uC1 dest, float nRate, int nFilterTaps, CudaDeviceVariable pKernel, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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_16uC1 dst, MaskSize eMaskSize ) : void
dst NPPImage_16uC1 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
리턴 void

FilterHighPassBorder() 공개 메소드

High pass filter.
public FilterHighPassBorder ( NPPImage_16uC1 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void
dst NPPImage_16uC1 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_16uC1 dst, MaskSize eMaskSize ) : void
dst NPPImage_16uC1 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
리턴 void

FilterLowPassBorder() 공개 메소드

Low pass filter.
public FilterLowPassBorder ( NPPImage_16uC1 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void
dst NPPImage_16uC1 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_16uC1 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_16uC1 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_16uC1 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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_16uC1 dst, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dst NPPImage_16uC1 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_16uC1 dst, NppiSize oMaskSize, NppiPoint oAnchor, CudaDeviceVariable buffer ) : void
dst NPPImage_16uC1 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_16uC1 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_16uC1 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_16uC1 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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

FilterRow() 공개 메소드

1D row convolution.
public FilterRow ( NPPImage_16uC1 dst, CudaDeviceVariable pKernel, int nAnchor ) : void
dst NPPImage_16uC1 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_16uC1 dest, CudaDeviceVariable Kernel, int nKernelSize, int nAnchor, int nDivisor ) : void
dest NPPImage_16uC1 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_16uC1 dest, CudaDeviceVariable Kernel, int nAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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_16uC1 dest, CudaDeviceVariable Kernel, int nKernelSize, int nAnchor, int nDivisor, NppiBorderType eBorderType ) : void
dest NPPImage_16uC1 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_16uC1 dst ) : void
dst NPPImage_16uC1 Destination-Image
리턴 void

FilterSharpenBorder() 공개 메소드

Sharpen filter.
public FilterSharpenBorder ( NPPImage_16uC1 dst, NppiBorderType eBorderType ) : void
dst NPPImage_16uC1 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_16uC1 dst, float nRadius, float nSigma, float nWeight, float nThreshold, NppiBorderType eBorderType, CudaDeviceVariable buffer ) : void
dst NPPImage_16uC1 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

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[

GradientVectorPrewittBorder() 공개 메소드

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

GradientVectorScharrBorder() 공개 메소드

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

GradientVectorSobelBorder() 공개 메소드

1 channel 16-bit unsigned packed RGB to optional 1 channel 32-bit floating point X (vertical), Y (horizontal), magnitude, and/or 32-bit floating point angle gradient vectors with user selectable fixed mask size and distance method with border control.
public GradientVectorSobelBorder ( NPPImage_32fC1 destX, NPPImage_32fC1 destY, NPPImage_32fC1 destMag, NPPImage_32fC1 destAngle, MaskSize eMaskSize, NppiNorm eNorm, NppiBorderType eBorderType ) : void
destX NPPImage_32fC1 X vector destination_image_pointer
destY NPPImage_32fC1 Y vector destination_image_pointer.
destMag NPPImage_32fC1 magnitude destination_image_pointer.
destAngle NPPImage_32fC1 angle destination_image_pointer.
eMaskSize MaskSize fixed filter mask size to use.
eNorm NppiNorm gradient distance method to use.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
리턴 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
nLowerLevel int Lower boundary of lowest level bin. E.g. 0 for [0..255]
nUpperLevel int Upper boundary of highest level bin. E.g. 256 for [0..255]
리턴 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
nLowerLevel int Lower boundary of lowest level bin. E.g. 0 for [0..255]
nUpperLevel int Upper boundary of highest level bin. E.g. 256 for [0..255]
buffer CudaDeviceVariable Allocated device memory with size of at
리턴 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 array must be of size nLevels-1.
pLevels CudaDeviceVariable Array in device memory containing the level sizes of the bins. The array must be of size nLevels
리턴 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 array must be of size nLevels-1.
pLevels CudaDeviceVariable Array in device memory containing the level sizes of the bins. The array must be of size nLevels
buffer CudaDeviceVariable Allocated device memory with size of at
리턴 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
리턴 void

LShiftC() 공개 메소드

image bit shift by constant (left).
public LShiftC ( uint nConstant, NPPImage_16uC1 dest ) : void
nConstant uint Constant
dest NPPImage_16uC1 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 Pointer to an array of user defined OUTPUT values
pLevels CudaDeviceVariable Pointer to an array of 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_16uC1 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
dst NPPImage_16uC1 Destination-Image
pValues CudaDeviceVariable Pointer to an array of user defined OUTPUT values
pLevels CudaDeviceVariable Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.
리턴 void

LUT() 공개 메소드

range restricted palette look-up-table color conversion with 8-bit unsigned destination output per pixel. 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 LUT ( NPPImage_8uC1 dst, CudaDeviceVariable pTable, int nBitSize ) : void
dst NPPImage_8uC1 Destination-Image
pTable CudaDeviceVariable Pointer to an array of user defined OUTPUT palette values (4 bytes per pixel)
nBitSize int Number of least significant bits (must be > 0 and <= 16) of each source pixel value to use as index into palette table during conversion.
리턴 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 Pointer to an array of user defined OUTPUT values
pLevels CudaDeviceVariable Pointer to an array of 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_16uC1 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
dst NPPImage_16uC1 Destination-Image
pValues CudaDeviceVariable Pointer to an array of user defined OUTPUT values
pLevels CudaDeviceVariable Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.
리턴 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 Pointer to an array of user defined OUTPUT values
pLevels CudaDeviceVariable Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.
리턴 void

LUTLinear() 공개 메소드

linear interpolated look-up-table color conversion. The LUT is derived from a set of user defined mapping points through linear interpolation.
public LUTLinear ( NPPImage_16uC1 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
dst NPPImage_16uC1 Destination-Image
pValues CudaDeviceVariable Pointer to an array of user defined OUTPUT values
pLevels CudaDeviceVariable Pointer to an array of user defined INPUT values. pLevels.Size gives nLevels.
리턴 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_16uC1 dst, CudaDeviceVariable pTable, int nBitSize ) : void
dst NPPImage_16uC1 Destination-Image
pTable CudaDeviceVariable Pointer to an array of user defined OUTPUT palette values
nBitSize int Number of least significant bits (must be > 0 and <= 16) of each source pixel value to use as index into palette table during conversion.
리턴 void

LUTPalette() 공개 메소드

One channel 8-bit unsigned bit range restricted 32-bit palette look-up-table color conversion with 32-bit destination output per pixel. 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_32uC1 dst, CudaDeviceVariable pTable, int nBitSize ) : void
dst NPPImage_32uC1 Destination-Image
pTable CudaDeviceVariable Pointer to an array of user defined OUTPUT palette values (4 bytes per pixel)
nBitSize int Number of least significant bits (must be > 0 and <= 16) of each source pixel value to use as index into palette table during conversion.
리턴 void

LUTPalette() 공개 메소드

One channel 8-bit unsigned bit range restricted 24-bit palette look-up-table color conversion with 24-bit destination output per pixel. 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 Pointer to an array of user defined OUTPUT palette values (3 bytes per pixel)
nBitSize int Number of least significant bits (must be > 0 and <= 16) of each source pixel value to use as index into palette table during conversion.
리턴 void

LUTPalette() 공개 메소드

One channel 8-bit unsigned bit range restricted 32-bit palette look-up-table color conversion with 32-bit destination output per pixel. 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_8uC4 dst, CudaDeviceVariable pTable, int nBitSize ) : void
dst NPPImage_8uC4 Destination-Image
pTable CudaDeviceVariable Pointer to an array of user defined OUTPUT palette values (4 bytes per pixel)
nBitSize int Number of least significant bits (must be > 0 and <= 16) of each source pixel value to use as index into palette table during conversion.
리턴 void

Ln() 공개 메소드

Natural logarithm, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Ln ( NPPImage_16uC1 dest, int nScaleFactor ) : void
dest NPPImage_16uC1 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

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 1 * sizeof(ushort)
리턴 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 1 * sizeof(ushort)
buffer CudaDeviceVariable Allocated device memory with size of at
리턴 void

MaxError() 공개 메소드

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

MaxError() 공개 메소드

image maximum error.
public MaxError ( NPPImage_16uC1 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void
src2 NPPImage_16uC1 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_16uC1 src2 ) : void
src2 NPPImage_16uC1 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 1 * sizeof(ushort)
indexX CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
리턴 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 1 * sizeof(ushort)
indexX CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
buffer CudaDeviceVariable Allocated device memory with size of at
리턴 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_16uC1 src2, CudaDeviceVariable pError ) : void
src2 NPPImage_16uC1 2nd source image
pError CudaDeviceVariable Pointer to the computed error.
리턴 void

MaximumRelativeError() 공개 메소드

image maximum relative error.
public MaximumRelativeError ( NPPImage_16uC1 src2, CudaDeviceVariable pError, CudaDeviceVariable buffer ) : void
src2 NPPImage_16uC1 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 1 * 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 1 * 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 ( CudaDeviceVariable mean, NPPImage_8uC1 mask ) : void
mean CudaDeviceVariable Allocated device memory with size of at least 1 * 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 ( CudaDeviceVariable mean, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void
mean CudaDeviceVariable Allocated device memory with size of at least 1 * 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 ( CudaDeviceVariable mean, CudaDeviceVariable stdDev ) : void
mean CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
stdDev CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
리턴 void

MeanStdDev() 공개 메소드

image sum with 64-bit double precision result. No additional buffer is allocated.
public MeanStdDev ( CudaDeviceVariable mean, CudaDeviceVariable stdDev, CudaDeviceVariable buffer ) : void
mean CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
stdDev CudaDeviceVariable Allocated device memory with size of at least 1 * 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 ( CudaDeviceVariable mean, CudaDeviceVariable stdDev, NPPImage_8uC1 mask ) : void
mean CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
stdDev CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
mask NPPImage_8uC1 mask
리턴 void

MeanStdDev() 공개 메소드

image sum with 64-bit double precision result. No additional buffer is allocated.
public MeanStdDev ( CudaDeviceVariable mean, CudaDeviceVariable stdDev, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void
mean CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
stdDev CudaDeviceVariable Allocated device memory with size of at least 1 * 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 1 * sizeof(ushort)
리턴 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 1 * sizeof(ushort)
buffer CudaDeviceVariable Allocated device memory with size of at
리턴 void

MinEvery() 공개 메소드

image MinEvery
public MinEvery ( NPPImage_16uC1 src2 ) : void
src2 NPPImage_16uC1 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 1 * sizeof(ushort)
indexX CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
리턴 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 1 * sizeof(ushort)
indexX CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(int)
buffer CudaDeviceVariable Allocated device memory with size of at
리턴 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 1 * sizeof(ushort)
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(ushort)
리턴 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 1 * sizeof(ushort)
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(ushort)
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 ( CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable minIndex, CudaDeviceVariable maxIndex ) : void
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(ushort)
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(ushort)
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 ( CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable minIndex, CudaDeviceVariable maxIndex, CudaDeviceVariable buffer ) : void
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(ushort)
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(ushort)
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 ( CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable minIndex, CudaDeviceVariable maxIndex, NPPImage_8uC1 mask ) : void
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(ushort)
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(ushort)
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 ( CudaDeviceVariable min, CudaDeviceVariable max, CudaDeviceVariable minIndex, CudaDeviceVariable maxIndex, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void
min CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(ushort)
max CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(ushort)
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_16uC1 dest, NppiAxis flip ) : void
dest NPPImage_16uC1 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_16uC1 src2 ) : void
src2 NPPImage_16uC1 2nd source image
리턴 void

Mul() 공개 메소드

Image multiplication and scale by max bit width value.
public Mul ( NPPImage_16uC1 src2, NPPImage_16uC1 dest ) : void
src2 NPPImage_16uC1 2nd source image
dest NPPImage_16uC1 Destination image
리턴 void

Mul() 공개 메소드

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

Mul() 공개 메소드

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

Mul() 공개 메소드

Multiply constant to image and scale by max bit width value
public Mul ( ushort nConstant ) : void
nConstant ushort Value
리턴 void

Mul() 공개 메소드

Multiply constant to image and scale by max bit width value
public Mul ( ushort nConstant, NPPImage_16uC1 dest ) : void
nConstant ushort Value
dest NPPImage_16uC1 Destination image
리턴 void

Mul() 공개 메소드

Multiply constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Mul ( ushort nConstant, NPPImage_16uC1 dest, int nScaleFactor ) : void
nConstant ushort Value
dest NPPImage_16uC1 Destination image
nScaleFactor int scaling factor
리턴 void

Mul() 공개 메소드

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

NPPImage_16uC1() 공개 메소드

Creates a new NPPImage from allocated device ptr.
public NPPImage_16uC1 ( CUdeviceptr devPtr, NppiSize size, int pitch ) : System
devPtr CUdeviceptr Already allocated device ptr.
size NppiSize Image size
pitch int Pitch / Line step
리턴 System

NPPImage_16uC1() 공개 메소드

Creates a new NPPImage from allocated device ptr.
public NPPImage_16uC1 ( 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_16uC1() 공개 메소드

Creates a new NPPImage from allocated device ptr. Does not take ownership of decPtr.
public NPPImage_16uC1 ( 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_16uC1() 공개 메소드

Creates a new NPPImage from allocated device ptr.
public NPPImage_16uC1 ( 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_16uC1() 공개 메소드

Creates a new NPPImage from allocated device ptr. Does not take ownership of inner image device pointer.
public NPPImage_16uC1 ( NPPImageBase image ) : System
image NPPImageBase NPP image
리턴 System

NPPImage_16uC1() 공개 메소드

Allocates new memory on device using NPP-Api.
public NPPImage_16uC1 ( NppiSize size ) : System
size NppiSize Image size
리턴 System

NPPImage_16uC1() 공개 메소드

Allocates new memory on device using NPP-Api.
public NPPImage_16uC1 ( 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_16uC1 tpl, CudaDeviceVariable pNormDiff ) : void
tpl NPPImage_16uC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed Inf-norm of differences. (1 * sizeof(double))
리턴 void

NormDiff_Inf() 공개 메소드

image NormDiff_Inf.
public NormDiff_Inf ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void
tpl NPPImage_16uC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed Inf-norm of differences. (1 * 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_16uC1 tpl, CudaDeviceVariable pNormDiff, NPPImage_8uC1 pMask ) : void
tpl NPPImage_16uC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed Inf-norm of differences. (1 * sizeof(double))
pMask NPPImage_8uC1 Mask image.
리턴 void

NormDiff_Inf() 공개 메소드

image NormDiff_Inf.
public NormDiff_Inf ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
tpl NPPImage_16uC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed Inf-norm of differences. (1 * sizeof(double))
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_16uC1 tpl, CudaDeviceVariable pNormDiff ) : void
tpl NPPImage_16uC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L1-norm of differences. (1 * sizeof(double))
리턴 void

NormDiff_L1() 공개 메소드

image NormDiff_L1.
public NormDiff_L1 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void
tpl NPPImage_16uC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L1-norm of differences. (1 * 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_16uC1 tpl, CudaDeviceVariable pNormDiff, NPPImage_8uC1 pMask ) : void
tpl NPPImage_16uC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L1-norm of differences. (1 * sizeof(double))
pMask NPPImage_8uC1 Mask image.
리턴 void

NormDiff_L1() 공개 메소드

image NormDiff_L1.
public NormDiff_L1 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
tpl NPPImage_16uC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L1-norm of differences. (1 * sizeof(double))
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_16uC1 tpl, CudaDeviceVariable pNormDiff ) : void
tpl NPPImage_16uC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L2-norm of differences. (1 * sizeof(double))
리턴 void

NormDiff_L2() 공개 메소드

image NormDiff_L2.
public NormDiff_L2 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void
tpl NPPImage_16uC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L2-norm of differences. (1 * 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_16uC1 tpl, CudaDeviceVariable pNormDiff, NPPImage_8uC1 pMask ) : void
tpl NPPImage_16uC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L2-norm of differences. (1 * sizeof(double))
pMask NPPImage_8uC1 Mask image.
리턴 void

NormDiff_L2() 공개 메소드

image NormDiff_L2.
public NormDiff_L2 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormDiff, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
tpl NPPImage_16uC1 template image.
pNormDiff CudaDeviceVariable Pointer to the computed L2-norm of differences. (1 * sizeof(double))
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 1 * 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 1 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
리턴 void

NormInf() 공개 메소드

image infinity norm. Buffer is internally allocated and freed.
public NormInf ( CudaDeviceVariable norm, NPPImage_8uC1 mask ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
mask NPPImage_8uC1 mask
리턴 void

NormInf() 공개 메소드

image infinity norm. No additional buffer is allocated.
public NormInf ( CudaDeviceVariable norm, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 1 * 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 1 * 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 1 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
리턴 void

NormL1() 공개 메소드

image L1 norm. Buffer is internally allocated and freed.
public NormL1 ( CudaDeviceVariable norm, NPPImage_8uC1 mask ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
mask NPPImage_8uC1 mask
리턴 void

NormL1() 공개 메소드

image L1 norm. No additional buffer is allocated.
public NormL1 ( CudaDeviceVariable norm, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 1 * 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 1 * 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 1 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
리턴 void

NormL2() 공개 메소드

image L2 norm. Buffer is internally allocated and freed.
public NormL2 ( CudaDeviceVariable norm, NPPImage_8uC1 mask ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 1 * sizeof(double)
mask NPPImage_8uC1 mask
리턴 void

NormL2() 공개 메소드

image L2 norm. No additional buffer is allocated.
public NormL2 ( CudaDeviceVariable norm, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 1 * 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_16uC1 tpl, CudaDeviceVariable pNormRel ) : void
tpl NPPImage_16uC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
리턴 void

NormRel_Inf() 공개 메소드

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

NormRel_Inf() 공개 메소드

image NormRel_Inf. Buffer is internally allocated and freed.
public NormRel_Inf ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel, NPPImage_8uC1 pMask ) : void
tpl NPPImage_16uC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
pMask NPPImage_8uC1 Mask image.
리턴 void

NormRel_Inf() 공개 메소드

image NormRel_Inf.
public NormRel_Inf ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
tpl NPPImage_16uC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
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_16uC1 tpl, CudaDeviceVariable pNormRel ) : void
tpl NPPImage_16uC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
리턴 void

NormRel_L1() 공개 메소드

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

NormRel_L1() 공개 메소드

image NormRel_L1. Buffer is internally allocated and freed.
public NormRel_L1 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel, NPPImage_8uC1 pMask ) : void
tpl NPPImage_16uC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
pMask NPPImage_8uC1 Mask image.
리턴 void

NormRel_L1() 공개 메소드

image NormRel_L1.
public NormRel_L1 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
tpl NPPImage_16uC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
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_16uC1 tpl, CudaDeviceVariable pNormRel ) : void
tpl NPPImage_16uC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
리턴 void

NormRel_L2() 공개 메소드

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

NormRel_L2() 공개 메소드

image NormRel_L2. Buffer is internally allocated and freed.
public NormRel_L2 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel, NPPImage_8uC1 pMask ) : void
tpl NPPImage_16uC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
pMask NPPImage_8uC1 Mask image.
리턴 void

NormRel_L2() 공개 메소드

image NormRel_L2.
public NormRel_L2 ( NPPImage_16uC1 tpl, CudaDeviceVariable pNormRel, NPPImage_8uC1 pMask, CudaDeviceVariable buffer ) : void
tpl NPPImage_16uC1 template image.
pNormRel CudaDeviceVariable Pointer to the computed relative error for the infinity norm of two images. (1 * sizeof(double))
pMask NPPImage_8uC1 Mask image.
buffer CudaDeviceVariable Allocated device memory with size of at
리턴 void

Or() 공개 메소드

In place image logical Or.
public Or ( NPPImage_16uC1 src2 ) : void
src2 NPPImage_16uC1 2nd source image
리턴 void

Or() 공개 메소드

Image logical Or.
public Or ( NPPImage_16uC1 src2, NPPImage_16uC1 dest ) : void
src2 NPPImage_16uC1 2nd source image
dest NPPImage_16uC1 Destination image
리턴 void

Or() 공개 메소드

In place image logical Or with constant.
public Or ( ushort nConstant ) : void
nConstant ushort Value
리턴 void

Or() 공개 메소드

Image logical Or with constant.
public Or ( ushort nConstant, NPPImage_16uC1 dest ) : void
nConstant ushort Value
dest NPPImage_16uC1 Destination image
리턴 void

QualityIndex() 공개 메소드

image QualityIndex.
public QualityIndex ( NPPImage_16uC1 src2, CudaDeviceVariable dst ) : void
src2 NPPImage_16uC1 2nd source image
dst CudaDeviceVariable Pointer to the quality index. (1 * sizeof(float))
리턴 void

QualityIndex() 공개 메소드

image QualityIndex.
public QualityIndex ( NPPImage_16uC1 src2, CudaDeviceVariable dst, CudaDeviceVariable buffer ) : void
src2 NPPImage_16uC1 2nd source image
dst CudaDeviceVariable Pointer to the quality index. (1 * 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

RShiftC() 공개 메소드

image bit shift by constant (right), inplace.
public RShiftC ( uint nConstant ) : void
nConstant uint Constant
리턴 void

RShiftC() 공개 메소드

image bit shift by constant (right).
public RShiftC ( uint nConstant, NPPImage_16uC1 dest ) : void
nConstant uint Constant
dest NPPImage_16uC1 Destination image
리턴 void

Remap() 공개 메소드

image remap.
public Remap ( NPPImage_16uC1 dst, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation ) : void
dst NPPImage_16uC1 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 images.
public Resize ( NPPImage_16uC1 dest, double xFactor, double yFactor, InterpolationMode eInterpolation ) : void
dest NPPImage_16uC1 Destination image
xFactor double X scaling factor
yFactor double Y scaling factor
eInterpolation InterpolationMode Interpolation mode
리턴 void

ResizeSqrPixel() 공개 메소드

image resize.
public ResizeSqrPixel ( NPPImage_16uC1 dst, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation ) : void
dst NPPImage_16uC1 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_16uC1 dest, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation ) : void
dest NPPImage_16uC1 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

Scale() 공개 메소드

image conversion.
public Scale ( NPPImage_8uC1 dst, NppHintAlgorithm hint ) : void
dst NPPImage_8uC1 Destination-Image
hint NppHintAlgorithm algorithm performance or accuracy selector, currently ignored
리턴 void

Set() 공개 메소드

Set pixel values to nValue.
public Set ( ushort nValue ) : void
nValue ushort Value to be set
리턴 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 ( ushort nValue, NPPImage_8uC1 mask ) : void
nValue ushort Value to be set
mask NPPImage_8uC1 Mask image
리턴 void

Sqr() 공개 메소드

Image squared, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sqr ( NPPImage_16uC1 dest, int nScaleFactor ) : void
dest NPPImage_16uC1 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_16uC1 tpl, NPPImage_32fC1 dst ) : void
tpl NPPImage_16uC1 template image.
dst NPPImage_32fC1 Destination-Image
리턴 void

SqrDistanceSame_Norm() 공개 메소드

image SqrDistanceSame_Norm.
public SqrDistanceSame_Norm ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void
tpl NPPImage_16uC1 template image.
dst NPPImage_32fC1 Destination-Image
리턴 void

SqrDistanceValid_Norm() 공개 메소드

image SqrDistanceValid_Norm.
public SqrDistanceValid_Norm ( NPPImage_16uC1 tpl, NPPImage_32fC1 dst ) : void
tpl NPPImage_16uC1 template image.
dst NPPImage_32fC1 Destination-Image
리턴 void

Sqrt() 공개 메소드

Image square root, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sqrt ( NPPImage_16uC1 dest, int nScaleFactor ) : void
dest NPPImage_16uC1 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_16uC1 src2, NPPImage_16uC1 dest, int nScaleFactor ) : void
src2 NPPImage_16uC1 2nd source image
dest NPPImage_16uC1 Destination image
nScaleFactor int scaling factor
리턴 void

Sub() 공개 메소드

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

Sub() 공개 메소드

Subtract constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value.
public Sub ( ushort nConstant, NPPImage_16uC1 dest, int nScaleFactor ) : void
nConstant ushort Value to subtract
dest NPPImage_16uC1 Destination image
nScaleFactor int scaling factor
리턴 void

Sub() 공개 메소드

Subtract constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Inplace.
public Sub ( ushort nConstant, int nScaleFactor ) : void
nConstant ushort 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 1 * 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 1 * sizeof(double)
buffer CudaDeviceVariable Allocated device memory with size of at
리턴 void

SumGetBufferHostSize() 공개 메소드

Scratch-buffer size for nppiSum_16u_C1R.
public SumGetBufferHostSize ( ) : int
리턴 int

SumWindowColumn() 공개 메소드

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

SumWindowColumnBorder() 공개 메소드

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

SumWindowRow() 공개 메소드

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

SumWindowRowBorder() 공개 메소드

Apply Row Window Summation filter over a 1D mask region around each source pixel for 1-channel 8-bit pixel input images with 32-bit floating point output. Result 32-bit floating point pixel is equal to the sum of the corresponding and neighboring row pixel values in a mask region of the source image defined by nKernelDim and nAnchorX.
public SumWindowRowBorder ( NPPImage_32fC1 dest, int nMaskSize, int nAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_32fC1 Destination image
nMaskSize int Length of the linear kernel array.
nAnchor int X offset of the kernel origin frame of reference w.r.t the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
리턴 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_16uC1 dest, ushort nThreshold, NppCmpOp eComparisonOperation ) : void
dest NPPImage_16uC1 Destination image
nThreshold ushort 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_16uC1 dest, ushort nThreshold, ushort nValue, NppCmpOp eComparisonOperation ) : void
dest NPPImage_16uC1 Destination image
nThreshold ushort The threshold value.
nValue ushort 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 ( ushort nThreshold, NppCmpOp eComparisonOperation ) : void
nThreshold ushort 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 ( ushort nThreshold, ushort nValue, NppCmpOp eComparisonOperation ) : void
nThreshold ushort The threshold value.
nValue ushort 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_16uC1 dest, ushort nThreshold ) : void
dest NPPImage_16uC1 Destination image
nThreshold ushort 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_16uC1 dest, ushort nThreshold, ushort nValue ) : void
dest NPPImage_16uC1 Destination image
nThreshold ushort The threshold value.
nValue ushort 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 ( ushort nThreshold ) : void
nThreshold ushort 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 ( ushort nThreshold, ushort nValue ) : void
nThreshold ushort The threshold value.
nValue ushort 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_16uC1 dest, ushort nThreshold ) : void
dest NPPImage_16uC1 Destination image
nThreshold ushort 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_16uC1 dest, ushort nThreshold, ushort nValue ) : void
dest NPPImage_16uC1 Destination image
nThreshold ushort The threshold value.
nValue ushort 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 ( ushort nThreshold ) : void
nThreshold ushort 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 ( ushort nThreshold, ushort nValue ) : void
nThreshold ushort The threshold value.
nValue ushort 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_16uC1 dest, ushort nThresholdLT, ushort nValueLT, ushort nThresholdGT, ushort nValueGT ) : void
dest NPPImage_16uC1 Destination image
nThresholdLT ushort The thresholdLT value.
nValueLT ushort The thresholdLT replacement value.
nThresholdGT ushort The thresholdGT value.
nValueGT ushort 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 ( ushort nThresholdLT, ushort nValueLT, ushort nThresholdGT, ushort nValueGT ) : void
nThresholdLT ushort The thresholdLT value.
nValueLT ushort The thresholdLT replacement value.
nThresholdGT ushort The thresholdGT value.
nValueGT ushort The thresholdGT replacement value.
리턴 void

ToCudaPitchedDeviceVariable() 공개 메소드

Converts a NPPImage to a CudaPitchedDeviceVariable
public ToCudaPitchedDeviceVariable ( ) : CudaPitchedDeviceVariable
리턴 CudaPitchedDeviceVariable

Transpose() 공개 메소드

image transpose
public Transpose ( NPPImage_16uC1 dest ) : void
dest NPPImage_16uC1 Destination image
리턴 void

ValidNormLevelGetBufferHostSize() 공개 메소드

Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel.
public ValidNormLevelGetBufferHostSize ( ) : 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 WarpAffine ( NPPImage_16uC1 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_16uC1 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 WarpAffineBack ( NPPImage_16uC1 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_16uC1 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 WarpAffineQuad ( double srcQuad, NPPImage_16uC1 dest, double dstQuad, InterpolationMode eInterpolation ) : void
srcQuad double Source quadrangle [4,2]
dest NPPImage_16uC1 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 WarpPerspective ( NPPImage_16uC1 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_16uC1 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 WarpPerspectiveBack ( NPPImage_16uC1 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_16uC1 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 WarpPerspectiveQuad ( double srcQuad, NPPImage_16uC1 dest, double destQuad, InterpolationMode eInterpolation ) : void
srcQuad double Source quadrangle [4,2]
dest NPPImage_16uC1 Destination image
destQuad double Destination quadrangle [4,2]
eInterpolation InterpolationMode Interpolation mode: can be , or
리턴 void

Xor() 공개 메소드

In place image logical Xor.
public Xor ( NPPImage_16uC1 src2 ) : void
src2 NPPImage_16uC1 2nd source image
리턴 void

Xor() 공개 메소드

Image logical Xor.
public Xor ( NPPImage_16uC1 src2, NPPImage_16uC1 dest ) : void
src2 NPPImage_16uC1 2nd source image
dest NPPImage_16uC1 Destination image
리턴 void

Xor() 공개 메소드

In place image logical Xor with constant.
public Xor ( ushort nConstant ) : void
nConstant ushort Value
리턴 void

Xor() 공개 메소드

Image logical Xor with constant.
public Xor ( ushort nConstant, NPPImage_16uC1 dest ) : void
nConstant ushort Value
dest NPPImage_16uC1 Destination image
리턴 void