C# Class ManagedCuda.NPP.NPPImage_8uC4

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

Méthodes publiques

Méthode Description
ADotProdGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for nppiDotProd_8u64f_C4R. Ignoring alpha channel.

ADotProduct ( NPPImage_8uC4 src2, CudaDeviceVariable pDp ) : void

Four-channel 8-bit unsigned image DotProd. Buffer is internally allocated and freed. Ignoring alpha channel.

ADotProduct ( NPPImage_8uC4 src2, CudaDeviceVariable pDp, CudaDeviceVariable buffer ) : void

Four-channel 8-bit unsigned image DotProd. Ignoring alpha channel.

AbsDiff ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void

Absolute difference of this minus src2.

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

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

Add ( NPPImage_8uC4 src2, int nScaleFactor ) : void

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

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

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

Add ( byte nConstant, int nScaleFactor ) : void

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

AddA ( NPPImage_8uC4 src2, NPPImage_8uC4 dest, int nScaleFactor ) : void

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

AddA ( NPPImage_8uC4 src2, int nScaleFactor ) : void

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

AddA ( byte nConstant, NPPImage_8uC4 dest, int nScaleFactor ) : void

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

AddA ( byte nConstant, int nScaleFactor ) : void

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

AlphaComp ( NPPImage_8uC4 src2, NPPImage_8uC4 dest, NppiAlphaOp nppAlphaOp ) : void

Four 8-bit unsigned char channel image composition using image alpha values (0 - max channel pixel value).

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

Image composition using constant alpha.

AlphaCompA ( byte alpha1, NPPImage_8uC4 src2, byte alpha2, NPPImage_8uC4 dest, NppiAlphaOp nppAlphaOp ) : void

Image composition using constant alpha. Not affecting alpha channel.

AlphaCompColorKeyA ( byte alpha1, NPPImage_8uC4 src2, byte alpha2, NPPImage_8uC4 dest, byte colorKeyConst, NppiAlphaOp nppAlphaOp ) : void

complement color key replacement of source image 1 by source image 2 with alpha blending.

AlphaPremul ( byte alpha ) : void

In place alpha premultiplication using constant alpha.

AlphaPremul ( byte alpha, NPPImage_8uC4 dest ) : void

Image premultiplication using constant alpha.

AlphaPremulA ( ) : void

Four 8-bit unsigned char channel in place image premultiplication with pixel alpha (0 - max channel pixel value).

AlphaPremulA ( NPPImage_8uC4 dest ) : void

Four 8-bit unsigned char channel image premultiplication with pixel alpha (0 - max channel pixel value).

AlphaPremulA ( byte alpha ) : void

In place alpha premultiplication using constant alpha. Not affecting alpha channel.

AlphaPremulA ( byte alpha, NPPImage_8uC4 dest ) : void

Image premultiplication using constant alpha. Not affecting alpha channel.

And ( NPPImage_8uC4 src2 ) : void

In place image logical and.

And ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void

Image logical and.

And ( byte nConstant ) : void

In place image logical and with constant.

And ( byte nConstant, NPPImage_8uC4 dest ) : void

Image logical and with constant.

AndA ( NPPImage_8uC4 src2 ) : void

In place image logical and. Unchanged Alpha.

AndA ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void

Image logical and. Unchanged Alpha.

AndA ( byte nConstant ) : void

In place image logical and with constant. Unchanged Alpha.

AndA ( byte nConstant, NPPImage_8uC4 dest ) : void

Image logical and with constant. Unchanged Alpha.

AverageError ( NPPImage_8uC4 src2, CudaDeviceVariable pError ) : void

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

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

image average error.

AverageErrorGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for AverageError.

AverageRelativeError ( NPPImage_8uC4 src2, CudaDeviceVariable pError ) : void

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

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

image average relative error.

AverageRelativeErrorGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for AverageRelativeError.

BGRToCbYCr422 ( ManagedCuda.NPP.NPPImage_8uC2 dest ) : void

4 channel 8-bit unsigned packed BGR with alpha to 2 channel 8-bit unsigned packed CbYCr422 color conversion.

BGRToCbYCr422_709HDTV ( ManagedCuda.NPP.NPPImage_8uC2 dest ) : void

4 channel 8-bit unsigned packed BGR with alpha to 2 channel 8-bit unsigned packed CbYCr422_709HDTV color conversion.

BGRToHLS ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2, ManagedCuda.NPP.NPPImage_8uC1 dest3 ) : void

4 channel 8-bit unsigned packed BGR with alpha to 4 channel 8-bit unsigned planar HLS with alpha color conversion.

BGRToHLS ( ManagedCuda.NPP.NPPImage_8uC1 src0, ManagedCuda.NPP.NPPImage_8uC1 src1, ManagedCuda.NPP.NPPImage_8uC1 src2, ManagedCuda.NPP.NPPImage_8uC1 src3, ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2, ManagedCuda.NPP.NPPImage_8uC1 dest3 ) : void

4 channel 8-bit unsigned planar BGR with alpha to 4 channel 8-bit unsigned planar HLS with alpha color conversion.

BGRToHLS ( ManagedCuda.NPP.NPPImage_8uC1 src0, ManagedCuda.NPP.NPPImage_8uC1 src1, ManagedCuda.NPP.NPPImage_8uC1 src2, ManagedCuda.NPP.NPPImage_8uC1 src3, NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned planar HLS with alpha to 4 channel 8-bit unsigned packed BGR with alpha color conversion.

BGRToHLS ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed BGR with alpha to 4 channel 8-bit unsigned packed HLS with alpha color conversion.

BGRToYCbCr ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void

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

BGRToYCbCr ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2, ManagedCuda.NPP.NPPImage_8uC1 dest3 ) : void

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

BGRToYCbCr411 ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void

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

BGRToYCbCr420 ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void

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

BGRToYCbCr420_709CSC ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void

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

BGRToYCbCr420_709HDTV ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void

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

BGRToYCbCr422 ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void

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

BGRToYCbCr422 ( ManagedCuda.NPP.NPPImage_8uC2 dest ) : void

4 channel 8-bit unsigned packed BGR with alpha to 2 channel 8-bit unsigned packed YCrCb422 color conversion.

BGRToYCrCb420 ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void

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

BGRToYCrCb420_709CSC ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void

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

BGRToYUV ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2, ManagedCuda.NPP.NPPImage_8uC1 dest3 ) : void

4 channel 8-bit unsigned packed BGR with alpha to 4 channel 8-bit unsigned planar YUV color conversion with alpha.

BGRToYUV ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed BGR with alpha to 4 channel 8-bit unsigned packed YUV color conversion with alpha, not affecting alpha.

BGRToYUV420 ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void

4 channel 8-bit unsigned pacmed BGR with alpha to 3 channel 8-bit unsigned planar YUV420 color conversion.

ColorToGray ( ManagedCuda.NPP.NPPImage_8uC1 dest, float aCoeffs ) : void

Color to Gray conversion.

ColorToGrayA ( ManagedCuda.NPP.NPPImage_8uC1 dest, float aCoeffs ) : void

Color to Gray conversion, not affecting Alpha.

ColorTwist ( NPPImage_8uC4 dest, float twistMatrix ) : void

4 channel 8-bit unsigned color twist, with alpha copy. An input color twist matrix with floating-point coefficient values is applied with in ROI. Alpha channel is the last channel and is copied unmodified from the source pixel to the destination pixel.

ColorTwist ( float twistMatrix ) : void

4 channel 8-bit unsigned in place color twist, not affecting Alpha. An input color twist matrix with floating-point coefficient values is applied with in ROI. Alpha channel is the last channel and is unmodified.

ColorTwistA ( NPPImage_8uC4 dest, float twistMatrix ) : void

An input color twist matrix with floating-point pixel values is applied within ROI. Alpha channel is the last channel and is not processed.

ColorTwistA ( float aTwist ) : void

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

ColorTwistC ( NPPImage_8uC4 dest, float twistMatrix, float aConstants ) : void

4 channel 8-bit unsigned color twist with 4x4 matrix and constant vector addition. An input 4x4 color twist matrix with floating-point coefficient values with an additional constant vector addition is applied within ROI. For this particular version of the function the result is generated as shown below. \code dst[0] = aTwist[0][0] /// src[0] + aTwist[0][1] /// src[1] + aTwist[0][2] /// src[2] + aTwist[0][3] /// src[3] + aConstants[0] dst[1] = aTwist[1][0] /// src[0] + aTwist[1][1] /// src[1] + aTwist[1][2] /// src[2] + aTwist[1][3] /// src[3] + aConstants[1] dst[2] = aTwist[2][0] /// src[0] + aTwist[2][1] /// src[1] + aTwist[2][2] /// src[2] + aTwist[2][3] /// src[3] + aConstants[2] dst[3] = aTwist[3][0] /// src[0] + aTwist[3][1] /// src[1] + aTwist[3][2] /// src[2] + aTwist[3][3] /// src[3] + aConstants[3] \endcode

ColorTwistC ( float twistMatrix, float aConstants ) : void

4 channel 8-bit unsigned in place color twist with 4x4 matrix and an additional constant vector addition. An input 4x4 color twist matrix with floating-point coefficient values with an additional constant vector addition is applied within ROI. For this particular version of the function the result is generated as shown below. \code dst[0] = aTwist[0][0] /// src[0] + aTwist[0][1] /// src[1] + aTwist[0][2] /// src[2] + aTwist[0][3] /// src[3] + aConstants[0] dst[1] = aTwist[1][0] /// src[0] + aTwist[1][1] /// src[1] + aTwist[1][2] /// src[2] + aTwist[1][3] /// src[3] + aConstants[1] dst[2] = aTwist[2][0] /// src[0] + aTwist[2][1] /// src[1] + aTwist[2][2] /// src[2] + aTwist[2][3] /// src[3] + aConstants[2] dst[3] = aTwist[3][0] /// src[0] + aTwist[3][1] /// src[1] + aTwist[3][2] /// src[2] + aTwist[3][3] /// src[3] + aConstants[3] \endcode

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

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

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

Compare pSrc1’s pixels with corresponding pixels in pSrc2.

Compare ( byte constants, ManagedCuda.NPP.NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void

Compare pSrc's pixels with constant value.

CompareA ( NPPImage_8uC4 src2, ManagedCuda.NPP.NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void

Compare pSrc1’s pixels with corresponding pixels in pSrc2. Not affecting Alpha.

CompareA ( byte constants, ManagedCuda.NPP.NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void

Compare pSrc's pixels with constant value. Not affecting Alpha.

Convert ( ManagedCuda.NPP.NPPImage_16sC4 dst ) : void

8-bit unsigned to 16-bit signed conversion.

Convert ( ManagedCuda.NPP.NPPImage_16uC4 dst ) : void

8-bit unsigned to 16-bit unsigned conversion.

Convert ( ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

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

Convert ( ManagedCuda.NPP.NPPImage_32sC4 dst ) : void

8-bit unsigned to 32-bit signed conversion.

ConvertA ( ManagedCuda.NPP.NPPImage_16sC4 dst ) : void

8-bit unsigned to 16-bit signed conversion. Not affecting Alpha channel.

ConvertA ( ManagedCuda.NPP.NPPImage_16uC4 dst ) : void

8-bit unsigned to 16-bit unsigned conversion. Not affecting Alpha channel.

ConvertA ( ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

8-bit unsigned to 32-bit floating point conversion. Not affecting Alpha channel.

ConvertA ( ManagedCuda.NPP.NPPImage_32sC4 dst ) : void

8-bit unsigned to 32-bit signed conversion. Not affecting Alpha channel.

Copy ( ManagedCuda.NPP.NPPImage_8uC1 dst0, ManagedCuda.NPP.NPPImage_8uC1 dst1, ManagedCuda.NPP.NPPImage_8uC1 dst2, ManagedCuda.NPP.NPPImage_8uC1 dst3 ) : void

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

Copy ( ManagedCuda.NPP.NPPImage_8uC1 src0, ManagedCuda.NPP.NPPImage_8uC1 src1, ManagedCuda.NPP.NPPImage_8uC1 src2, ManagedCuda.NPP.NPPImage_8uC1 src3, NPPImage_8uC4 dest ) : void

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

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

Image copy.

Copy ( NPPImage_8uC4 dst ) : void

Masked Operation 8-bit unsigned image copy.

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

Masked Operation 8-bit unsigned image copy.

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

Image copy.

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

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

CopyA ( NPPImage_8uC4 dst ) : void

Masked Operation 8-bit unsigned image copy. Not affecting Alpha channel.

CopyA ( NPPImage_8uC4 dst, ManagedCuda.NPP.NPPImage_8uC1 mask ) : void

Masked Operation 8-bit unsigned image copy. Not affecting Alpha channel.

CopyA ( NPPImage_8uC4 dst, int nTopBorderHeight, int nLeftBorderWidth, byte nValue ) : void

Copy image and pad borders with a constant, user-specifiable color. Not affecting Alpha channel.

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

image copy with nearest source image pixel color.

CopyReplicateBorderA ( NPPImage_8uC4 dst, int nTopBorderHeight, int nLeftBorderWidth ) : void

image copy with nearest source image pixel color. Not affecting Alpha.

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

linearly interpolated source image subpixel coordinate color copy.

CopySubpixA ( NPPImage_8uC4 dst, float nDx, float nDy ) : void

linearly interpolated source image subpixel coordinate color copy. Not affecting Alpha.

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

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

CopyWrapBorderA ( NPPImage_8uC4 dst, int nTopBorderHeight, int nLeftBorderWidth ) : void

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

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

image CountInRange. Not affecting Alpha.

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

image CountInRange. Not affecting Alpha.

CountInRangeAGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CountInRange.

CrossCorrFull_Norm ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

image CrossCorrFull_Norm.

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

image CrossCorrFull_Norm.

CrossCorrFull_NormA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

image CrossCorrFull_Norm. Not affecting Alpha.

CrossCorrFull_NormA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void

image CrossCorrFull_Norm. Not affecting Alpha.

CrossCorrFull_NormLevel ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

CrossCorrFull_NormLevel. Buffer is internally allocated and freed.

CrossCorrFull_NormLevel ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst, CudaDeviceVariable buffer ) : void

CrossCorrFull_NormLevel.

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

CrossCorrFull_NormLevel. Buffer is internally allocated and freed.

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

CrossCorrFull_NormLevel.

CrossCorrFull_NormLevelA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

CrossCorrFull_NormLevel. Buffer is internally allocated and freed. Not affecting Alpha.

CrossCorrFull_NormLevelA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst, CudaDeviceVariable buffer ) : void

CrossCorrFull_NormLevel. Not affecting Alpha.

CrossCorrFull_NormLevelA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void

CrossCorrFull_NormLevel. Buffer is internally allocated and freed. Not affecting Alpha.

CrossCorrFull_NormLevelA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void

CrossCorrFull_NormLevel. Not affecting Alpha.

CrossCorrSame_Norm ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

image CrossCorrSame_Norm.

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

image CrossCorrSame_Norm.

CrossCorrSame_NormA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

image CrossCorrSame_Norm. Not affecting Alpha.

CrossCorrSame_NormA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void

image CrossCorrSame_Norm. Not affecting Alpha.

CrossCorrSame_NormLevel ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

CrossCorrSame_NormLevel. Buffer is internally allocated and freed.

CrossCorrSame_NormLevel ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst, CudaDeviceVariable buffer ) : void

CrossCorrSame_NormLevel.

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

CrossCorrSame_NormLevel. Buffer is internally allocated and freed.

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

CrossCorrSame_NormLevel.

CrossCorrSame_NormLevelA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

CrossCorrSame_NormLevel. Buffer is internally allocated and freed. Not affecting Alpha.

CrossCorrSame_NormLevelA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst, CudaDeviceVariable buffer ) : void

CrossCorrSame_NormLevel. Not affecting Alpha.

CrossCorrSame_NormLevelA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void

CrossCorrSame_NormLevel. Buffer is internally allocated and freed. Not affecting Alpha.

CrossCorrSame_NormLevelA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void

CrossCorrSame_NormLevel. Not affecting Alpha.

CrossCorrValid_Norm ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

image CrossCorrValid_Norm.

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

image CrossCorrValid_Norm.

CrossCorrValid_NormA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

image CrossCorrValid_Norm. Not affecting Alpha.

CrossCorrValid_NormA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void

image CrossCorrValid_Norm. Not affecting Alpha.

CrossCorrValid_NormLevel ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

CrossCorrValid_NormLevel. Buffer is internally allocated and freed.

CrossCorrValid_NormLevel ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst, CudaDeviceVariable buffer ) : void

CrossCorrValid_NormLevel.

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

CrossCorrValid_NormLevel. Buffer is internally allocated and freed.

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

CrossCorrValid_NormLevel.

CrossCorrValid_NormLevelA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void

CrossCorrValid_NormLevel. Buffer is internally allocated and freed. Not affecting Alpha.

CrossCorrValid_NormLevelA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst, CudaDeviceVariable buffer ) : void

CrossCorrValid_NormLevel. Not affecting Alpha.

CrossCorrValid_NormLevelA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void

CrossCorrValid_NormLevel. Buffer is internally allocated and freed. Not affecting Alpha.

CrossCorrValid_NormLevelA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void

CrossCorrValid_NormLevel. Not affecting Alpha.

Dilate ( NPPImage_8uC4 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_8uC4 dst ) : void

3x3 dilation.

Dilate3x3A ( NPPImage_8uC4 dst ) : void

3x3 dilation, not affecting Alpha.

Dilate3x3Border ( NPPImage_8uC4 dest, NppiBorderType eBorderType ) : void

3x3 dilation with border control.

Dilate3x3BorderA ( NPPImage_8uC4 dest, NppiBorderType eBorderType ) : void

3x3 dilation with border control, ignoring alpha-channel.

DilateA ( NPPImage_8uC4 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, not affecting Alpha.

DilateBorder ( NPPImage_8uC4 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.

DilateBorderA ( NPPImage_8uC4 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, ignoring alpha-channel.

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

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

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

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

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

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

Div ( NPPImage_8uC4 src2, int nScaleFactor ) : void

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

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

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

Div ( byte nConstant, int nScaleFactor ) : void

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

DivA ( NPPImage_8uC4 src2, NPPImage_8uC4 dest, NppRoundMode rndMode, int nScaleFactor ) : void

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

DivA ( NPPImage_8uC4 src2, NPPImage_8uC4 dest, int nScaleFactor ) : void

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

DivA ( NPPImage_8uC4 src2, NppRoundMode rndMode, int nScaleFactor ) : void

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

DivA ( NPPImage_8uC4 src2, int nScaleFactor ) : void

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

DivA ( byte nConstant, NPPImage_8uC4 dest, int nScaleFactor ) : void

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

DivA ( byte nConstant, int nScaleFactor ) : void

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

DotProdGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for nppiDotProd_8u64f_C4R.

DotProduct ( NPPImage_8uC4 src2, CudaDeviceVariable pDp ) : void

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

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

Four-channel 8-bit unsigned image DotProd.

Erode ( NPPImage_8uC4 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_8uC4 dst ) : void

3x3 erosion.

Erode3x3A ( NPPImage_8uC4 dst ) : void

3x3 erosion, not affecting Alpha.

Erode3x3Border ( NPPImage_8uC4 dest, NppiBorderType eBorderType ) : void

3x3 erosion with border control.

Erode3x3BorderA ( NPPImage_8uC4 dest, NppiBorderType eBorderType ) : void

3x3 erosion with border control, ignoring alpha-channel.

ErodeA ( NPPImage_8uC4 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, not affecting Alpha.

ErodeBorder ( NPPImage_8uC4 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.

ErodeBorderA ( NPPImage_8uC4 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, ignoring alpha-channel.

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

Compute levels with even distribution.

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

convolution filter.

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

convolution filter.

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

FilterA ( NPPImage_16sC4 dst, CudaDeviceVariable pKernel, NppiSize oKernelSize, NppiPoint oAnchor ) : void

convolution filter. Not affecting Alpha.

FilterA ( NPPImage_8uC4 dst, CudaDeviceVariable pKernel, NppiSize oKernelSize, NppiPoint oAnchor ) : void

convolution filter. Not affecting Alpha.

FilterA ( NPPImage_8uC4 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. Not affecting Alpha.

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

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

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

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

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

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

FilterBorderA ( NPPImage_16sC4 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void

Four channel 8-bit unsigned to 16-bit signed convolution filter with border control, ignoring alpha channel. 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.

FilterBorderA ( NPPImage_8uC4 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void

Four channel 8-bit unsigned convolution filter with border control, ignoring alpha channel. 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.

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

Four channel 8-bit unsigned convolution filter with border control, ignoring alpha channel. 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_8uC4 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void

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

FilterBoxA ( NPPImage_8uC4 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void

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

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

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

FilterBoxBorderA ( NPPImage_8uC4 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void

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

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

1D column convolution.

FilterColumn ( NPPImage_8uC4 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.

FilterColumnA ( NPPImage_8uC4 dst, CudaDeviceVariable pKernel, int nAnchor ) : void

1D column convolution. Not affecting Alpha.

FilterColumnA ( NPPImage_8uC4 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. Not affecting Alpha.

FilterColumnBorder ( NPPImage_8uC4 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_8uC4 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.

FilterColumnBorderA ( NPPImage_8uC4 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.

FilterColumnBorderA ( NPPImage_8uC4 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_8uC4 dst, CudaDeviceVariable Kernel ) : void

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

FilterGauss ( NPPImage_8uC4 dst, MaskSize eMaskSize ) : void

Gauss filter.

FilterGaussA ( NPPImage_8uC4 dst, CudaDeviceVariable Kernel ) : void

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

FilterGaussA ( NPPImage_8uC4 dst, MaskSize eMaskSize ) : void

Gauss filter. Not affecting Alpha.

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

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

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

FilterGaussBorderA ( NPPImage_8uC4 dst, CudaDeviceVariable Kernel, NppiBorderType eBorderType ) : void

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

FilterGaussBorderA ( NPPImage_8uC4 dest, MaskSize eMaskSize, NppiBorderType eBorderType ) : void

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

FilterHighPass ( NPPImage_8uC4 dst, MaskSize eMaskSize ) : void

High pass filter.

FilterHighPassA ( NPPImage_8uC4 dst, MaskSize eMaskSize ) : void

High pass filter. Not affecting Alpha.

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

High pass filter.

FilterHighPassBorderA ( NPPImage_8uC4 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void

High pass filter.

FilterLaplace ( NPPImage_8uC4 dst, MaskSize eMaskSize ) : void

Laplace filter.

FilterLaplaceA ( NPPImage_8uC4 dst, MaskSize eMaskSize ) : void

Laplace filter. Not affecting Alpha.

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

Laplace filter.

FilterLaplaceBorderA ( NPPImage_8uC4 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void

Laplace filter.

FilterLowPass ( NPPImage_8uC4 dst, MaskSize eMaskSize ) : void

Low pass filter.

FilterLowPassA ( NPPImage_8uC4 dst, MaskSize eMaskSize ) : void

Low pass filter. Not affecting Alpha.

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

Low pass filter.

FilterLowPassBorderA ( NPPImage_8uC4 dst, MaskSize eMaskSize, NppiBorderType eBorderType ) : void

Low pass filter.

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

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

FilterMaxA ( NPPImage_8uC4 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void

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

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

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

FilterMaxBorderA ( NPPImage_8uC4 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void

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

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

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

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

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

FilterMedianA ( NPPImage_8uC4 dst, NppiSize oMaskSize, NppiPoint oAnchor ) : void

Result pixel value is the median of pixel values under the rectangular mask region, ignoring alpha channel.

FilterMedianA ( NPPImage_8uC4 dst, NppiSize oMaskSize, NppiPoint oAnchor, CudaDeviceVariable buffer ) : void

Result pixel value is the median of pixel values under the rectangular mask region, ignoring alpha channel.

FilterMedianGetBufferHostSize ( NppiSize oMaskSize ) : int

Device scratch buffer size (in bytes) for FilterMedian.

FilterMedianGetBufferHostSizeA ( NppiSize oMaskSize ) : int

Device scratch buffer size (in bytes) for FilterMedian, ignoring alpha channel.

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

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

FilterMinA ( NPPImage_8uC4 dest, NppiSize oMaskSize, NppiPoint oAnchor ) : void

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

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

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

FilterMinBorderA ( NPPImage_8uC4 dest, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void

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

FilterPrewittHoriz ( NPPImage_8uC4 dst ) : void

horizontal Prewitt filter.

FilterPrewittHorizA ( NPPImage_8uC4 dst ) : void

horizontal Prewitt filter. Not affecting Alpha.

FilterPrewittHorizBorder ( NPPImage_8uC4 dst, NppiBorderType eBorderType ) : void

horizontal Prewitt filter.

FilterPrewittHorizBorderA ( NPPImage_8uC4 dst, NppiBorderType eBorderType ) : void

horizontal Prewitt filter.

FilterPrewittVert ( NPPImage_8uC4 dst ) : void

vertical Prewitt filter.

FilterPrewittVertA ( NPPImage_8uC4 dst ) : void

vertical Prewitt filter. Not affecting Alpha.

FilterPrewittVertBorder ( NPPImage_8uC4 dst, NppiBorderType eBorderType ) : void

vertical Prewitt filter.

FilterPrewittVertBorderA ( NPPImage_8uC4 dst, NppiBorderType eBorderType ) : void

vertical Prewitt filter.

FilterRobertsDown ( NPPImage_8uC4 dst ) : void

horizontal Roberts filter.

FilterRobertsDownA ( NPPImage_8uC4 dst ) : void

horizontal Roberts filter. Not affecting Alpha.

FilterRobertsDownBorder ( NPPImage_8uC4 dst, NppiBorderType eBorderType ) : void

horizontal Roberts filter.

FilterRobertsDownBorderA ( NPPImage_8uC4 dst, NppiBorderType eBorderType ) : void

horizontal Roberts filter.

FilterRobertsUp ( NPPImage_8uC4 dst ) : void

vertical Roberts filter..

FilterRobertsUpA ( NPPImage_8uC4 dst ) : void

vertical Roberts filter. Not affecting Alpha.

FilterRobertsUpBorder ( NPPImage_8uC4 dst, NppiBorderType eBorderType ) : void

vertical Roberts filter.

FilterRobertsUpBorderA ( NPPImage_8uC4 dst, NppiBorderType eBorderType ) : void

vertical Roberts filter.

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

1D row convolution.

FilterRow ( NPPImage_8uC4 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.

FilterRowA ( NPPImage_8uC4 dst, CudaDeviceVariable pKernel, int nAnchor ) : void

1D row convolution. Not affecting Alpha.

FilterRowA ( NPPImage_8uC4 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. Not affecting Alpha.

FilterRowBorder ( NPPImage_8uC4 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_8uC4 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.

FilterRowBorderA ( NPPImage_8uC4 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.

FilterRowBorderA ( NPPImage_8uC4 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. Not affecting Alpha.

FilterSharpen ( NPPImage_8uC4 dst ) : void

Sharpen filter.

FilterSharpenA ( NPPImage_8uC4 dst ) : void

Sharpen filter. Not affecting Alpha.

FilterSharpenBorder ( NPPImage_8uC4 dst, NppiBorderType eBorderType ) : void

Sharpen filter.

FilterSharpenBorderA ( NPPImage_8uC4 dst, NppiBorderType eBorderType ) : void

Sharpen filter.

FilterSobelHorizBorder ( NPPImage_8uC4 dest, NppiBorderType eBorderType ) : void

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

FilterSobelHorizBorderA ( NPPImage_8uC4 dest, NppiBorderType eBorderType ) : void

Filters the image using a horizontal Sobel filter kernel with border control, ignoring alpha channel.

FilterSobelVert ( NPPImage_8uC4 dst ) : void

vertical Sobel filter.

FilterSobelVertA ( NPPImage_8uC4 dst ) : void

vertical Sobel filter. Not affecting Alpha.

FilterSobelVertBorder ( NPPImage_8uC4 dest, NppiBorderType eBorderType ) : void

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

FilterSobelVertBorderA ( NPPImage_8uC4 dest, NppiBorderType eBorderType ) : void

Filters the image using a vertical Sobel filter kernel with border control, ignoring alpha channel.

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

FilterUnsharpBorderA ( NPPImage_8uC4 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.

FilterUnsharpGetBufferSizeA ( float nRadius, float nSigma ) : int

Scratch-buffer size for unsharp filter.

FullNormLevelAGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrFull_NormLevel. Not affecting Alpha.

FullNormLevelGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrFull_NormLevel.

FullNormLevelScaledAGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrFull_NormLevel. Not affecting Alpha.

FullNormLevelScaledGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrFull_NormLevel.

GammaA ( ) : void

Inplace image forward gamma correction. Not affecting alpha.

GammaA ( NPPImage_8uC4 dest ) : void

image forward gamma correction. Not affecting alpha.

GammaInvA ( ) : void

Inplace image inverse gamma correction. Not affecting alpha.

GammaInvA ( NPPImage_8uC4 dest ) : void

image inverse gamma correction. Not affecting alpha.

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

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.

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

4 channel 8-bit unsigned packed HLS with alpha to 4 channel 8-bit unsigned planar BGR with alpha color conversion.

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

4 channel 8-bit unsigned planar HLS with alpha to 4 channel 8-bit unsigned planar BGR with alpha color conversion.

HLSToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 src3, NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned planar HLS with alpha to 4 channel 8-bit unsigned packed BGR with alpha color conversion.

HLSToBGR ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed HLS with alpha to 4 channel 8-bit unsigned packed BGR with alpha color conversion.

HLSToRGB ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed HLS with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion.

HSVToRGB ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed HSV with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion.

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

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

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

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

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

Histogram with evenly distributed bins. Buffer is internally allocated and freed. Alpha channel is ignored during the histograms computations.

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

Histogram with evenly distributed bins. No additional buffer is allocated. Alpha channel is ignored during the histograms computations.

HistogramEvenGetBufferSize ( int nLevels ) : int

Scratch-buffer size for HistogramEven.

HistogramEvenGetBufferSizeA ( int nLevels ) : int

Scratch-buffer size for HistogramEven. Not affecting Alpha channel.

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.

HistogramRangeA ( CudaDeviceVariable histogram, CudaDeviceVariable pLevels ) : void

Histogram with bins determined by pLevels array. Buffer is internally allocated and freed. Alpha channel is ignored during the histograms computations.

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

Histogram with bins determined by pLevels array. No additional buffer is allocated. Alpha channel is ignored during the histograms computations.

HistogramRangeGetBufferSize ( int nLevels ) : int

Scratch-buffer size for HistogramRange.

HistogramRangeGetBufferSizeA ( int nLevels ) : int

Scratch-buffer size for HistogramRange. Not affecting Alpha channel.

LShiftC ( uint nConstant ) : void

image bit shift by constant (left), inplace.

LShiftC ( uint nConstant, NPPImage_8uC4 dest ) : void

image bit shift by constant (left).

LShiftCA ( uint nConstant ) : void

image bit shift by constant (left), inplace. Unchanged Alpha.

LShiftCA ( uint nConstant, NPPImage_8uC4 dest ) : void

image bit shift by constant (left). Unchanged Alpha.

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

LUTA ( 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. Not affecting Alpha.

LUTA ( NPPImage_8uC4 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. Not affecting Alpha.

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

LUTCubicA ( 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. Not affecting Alpha.

LUTCubicA ( NPPImage_8uC4 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. Not affecting Alpha.

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.

LUTLinearA ( 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. Not affecting Alpha.

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

LUTPaletteA ( NPPImage_8uC4 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. Not affecting Alpha.

LUTTrilinear ( NPPImage_8uC4 dst, CudaDeviceVariable pValues, int pLevels0, int pLevels1, int pLevels2, int aLevels ) : void

Four channel 8-bit unsigned 3D trilinear interpolated look-up-table color conversion, with alpha copy. Alpha channel is the last channel and is copied to the destination unmodified. The LUT is derived from a set of user defined mapping points through trilinear interpolation.

LUTTrilinearA ( CudaDeviceVariable pValues, int pLevels0, int pLevels1, int pLevels2, int aLevels ) : void

Four channel 8-bit unsigned 3D trilinear interpolated look-up-table color conversion, not affecting alpha. Alpha channel is the last channel and is not processed. The LUT is derived from a set of user defined mapping points through trilinear interpolation.

LUTTrilinearA ( NPPImage_8uC4 dst, CudaDeviceVariable pValues, int pLevels0, int pLevels1, int pLevels2, int aLevels ) : void

Four channel 8-bit unsigned 3D trilinear interpolated look-up-table color conversion, not affecting alpha. Alpha channel is the last channel and is not processed. The LUT is derived from a set of user defined mapping points through trilinear interpolation.

LUVToRGB ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed LUV with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion.

Lut ( NPPImage_8uC4 dest, CudaDeviceVariable values0, CudaDeviceVariable levels0, CudaDeviceVariable values1, CudaDeviceVariable levels1, CudaDeviceVariable values2, CudaDeviceVariable levels2, CudaDeviceVariable values3, CudaDeviceVariable levels3 ) : void

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

LutA ( NPPImage_8uC4 dest, CudaDeviceVariable values0, CudaDeviceVariable levels0, CudaDeviceVariable values1, CudaDeviceVariable levels1, CudaDeviceVariable values2, CudaDeviceVariable levels2 ) : void

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

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.

MaxA ( CudaDeviceVariable max ) : void

Image pixel maximum. Buffer is internally allocated and freed. Not affecting alpha.

MaxA ( CudaDeviceVariable max, CudaDeviceVariable buffer ) : void

Image pixel maximum. No additional buffer is allocated. Not affecting alpha.

MaxError ( NPPImage_8uC4 src2, CudaDeviceVariable pError ) : void

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

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

image maximum error.

MaxErrorGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for MaxError.

MaxEvery ( NPPImage_8uC4 src2 ) : void

image MaxEvery

MaxEveryA ( NPPImage_8uC4 src2 ) : void

image MaxEvery Not affecting Alpha.

MaxGetBufferHostSize ( ) : int

Scratch-buffer size for Max.

MaxGetBufferHostSizeA ( ) : int

Scratch-buffer size for Max. Not affecting alpha.

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.

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

Image pixel maximum. Buffer is internally allocated and freed. Not affecting alpha.

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

Image pixel minimum. No additional buffer is allocated. Not affecting alpha.

MaxIndexGetBufferHostSize ( ) : int

Scratch-buffer size for MaxIndex.

MaxIndexGetBufferHostSizeA ( ) : int

Scratch-buffer size for MaxIndex. Not affecting alpha.

MaximumRelativeError ( NPPImage_8uC4 src2, CudaDeviceVariable pError ) : void

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

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

MeanA ( CudaDeviceVariable mean ) : void

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

MeanA ( CudaDeviceVariable mean, CudaDeviceVariable buffer ) : void

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

MeanGetBufferHostSize ( ) : int

Scratch-buffer size for Mean.

MeanGetBufferHostSizeA ( ) : int

Scratch-buffer size for Mean. Not affecting alpha.

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.

MinA ( CudaDeviceVariable min ) : void

Image pixel minimum. Buffer is internally allocated and freed. Not affecting alpha.

MinA ( CudaDeviceVariable min, CudaDeviceVariable buffer ) : void

Image pixel minimum. No additional buffer is allocated. Not affecting alpha.

MinEvery ( NPPImage_8uC4 src2 ) : void

image MinEvery

MinEveryA ( NPPImage_8uC4 src2 ) : void

image MinEvery Not affecting Alpha.

MinGetBufferHostSize ( ) : int

Scratch-buffer size for Min.

MinGetBufferHostSizeA ( ) : int

Scratch-buffer size for Min. Not affecting alpha.

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.

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

Image pixel minimum. Buffer is internally allocated and freed. Not affecting alpha.

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

Image pixel minimum. No additional buffer is allocated. Not affecting alpha.

MinIndexGetBufferHostSize ( ) : int

Scratch-buffer size for MinIndex.

MinIndexGetBufferHostSizeA ( ) : int

Scratch-buffer size for MinIndex. Not affecting alpha.

MinMax ( CudaDeviceVariable min, CudaDeviceVariable max ) : void

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

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

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

MinMaxGetBufferHostSize ( ) : int

Scratch-buffer size for MinMax.

Mirror ( NPPImage_8uC4 dest, NppiAxis flip ) : void

Mirror image.

Mirror ( NppiAxis flip ) : void

Mirror image inplace.

MirrorA ( NPPImage_8uC4 dest, NppiAxis flip ) : void

Mirror image. Not affecting Alpha.

MirrorA ( NppiAxis flip ) : void

Mirror image inplace. Not affecting Alpha.

Mul ( NPPImage_8uC4 src2 ) : void

In place image multiplication and scale by max bit width value

Mul ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void

Image multiplication and scale by max bit width value.

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

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

Mul ( NPPImage_8uC4 src2, int nScaleFactor ) : void

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

Mul ( byte nConstant ) : void

Multiply constant to image and scale by max bit width value

Mul ( byte nConstant, NPPImage_8uC4 dest ) : void

Multiply constant to image and scale by max bit width value

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

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

Mul ( byte nConstant, int nScaleFactor ) : void

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

MulA ( NPPImage_8uC4 src2 ) : void

In place image multiplication and scale by max bit width value. Unchanged Alpha.

MulA ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void

Image multiplication and scale by max bit width value. Unchanged Alpha.

MulA ( NPPImage_8uC4 src2, NPPImage_8uC4 dest, int nScaleFactor ) : void

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

MulA ( NPPImage_8uC4 src2, int nScaleFactor ) : void

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

MulA ( byte nConstant ) : void

Multiply constant to image and scale by max bit width value. Unchanged Alpha.

MulA ( byte nConstant, NPPImage_8uC4 dest ) : void

Multiply constant to image and scale by max bit width value. Unchanged Alpha.

MulA ( byte nConstant, NPPImage_8uC4 dest, int nScaleFactor ) : void

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

MulA ( byte nConstant, int nScaleFactor ) : void

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

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

Creates a new NPPImage from allocated device ptr.

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

Creates a new NPPImage from allocated device ptr.

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

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

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

Creates a new NPPImage from allocated device ptr.

NPPImage_8uC4 ( CudaPitchedDeviceVariable devPtr ) : System

Creates a new NPPImage from allocated device ptr.

NPPImage_8uC4 ( CudaPitchedDeviceVariable devPtr, bool isOwner ) : System

Creates a new NPPImage from allocated device ptr.

NPPImage_8uC4 ( NPPImageBase image ) : System

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

NPPImage_8uC4 ( NppiSize size ) : System

Allocates new memory on device using NPP-Api.

NPPImage_8uC4 ( int nWidthPixels, int nHeightPixels ) : System

Allocates new memory on device using NPP-Api.

NormDiffInfAGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_Inf. Not affecting Alpha.

NormDiffInfGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_Inf.

NormDiffL1AGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_L1. Not affecting Alpha.

NormDiffL1GetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_L1.

NormDiffL2AGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_L2. Not affecting Alpha.

NormDiffL2GetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormDiff_L2.

NormDiff_Inf ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_Inf. Buffer is internally allocated and freed.

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

image NormDiff_Inf.

NormDiff_InfA ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_Inf. Buffer is internally allocated and freed. Not affecting Alpha.

NormDiff_InfA ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void

image NormDiff_Inf. Not affecting Alpha.

NormDiff_L1 ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_L1. Buffer is internally allocated and freed.

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

image NormDiff_L1.

NormDiff_L1A ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_L1. Buffer is internally allocated and freed. Not affecting Alpha.

NormDiff_L1A ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void

image NormDiff_L1. Not affecting Alpha.

NormDiff_L2 ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_L2. Buffer is internally allocated and freed.

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

image NormDiff_L2.

NormDiff_L2A ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormDiff ) : void

image NormDiff_L2. Buffer is internally allocated and freed. Not affecting Alpha.

NormDiff_L2A ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormDiff, CudaDeviceVariable buffer ) : void

image NormDiff_L2. Not affecting Alpha.

NormInf ( CudaDeviceVariable norm ) : void

image infinity norm. Buffer is internally allocated and freed.

NormInf ( CudaDeviceVariable norm, CudaDeviceVariable buffer ) : void

image infinity norm. No additional buffer is allocated.

NormInfGetBufferHostSize ( ) : int

Scratch-buffer size for Norm inf.

NormL1 ( CudaDeviceVariable norm ) : void

image L1 norm. Buffer is internally allocated and freed.

NormL1 ( CudaDeviceVariable norm, CudaDeviceVariable buffer ) : void

image L1 norm. No additional buffer is allocated.

NormL1GetBufferHostSize ( ) : int

Scratch-buffer size for Norm L1.

NormL2 ( CudaDeviceVariable norm ) : void

image L2 norm. Buffer is internally allocated and freed.

NormL2 ( CudaDeviceVariable norm, CudaDeviceVariable buffer ) : void

image L2 norm. No additional buffer is allocated.

NormL2GetBufferHostSize ( ) : int

Scratch-buffer size for Norm L2.

NormRelInfAGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_Inf. Not affecting Alpha.

NormRelInfGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_Inf.

NormRelL1AGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_L1. Not affecting Alpha.

NormRelL1GetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_L1.

NormRelL2AGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_L2. Not affecting Alpha.

NormRelL2GetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for NormRel_L2.

NormRel_Inf ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_Inf. Buffer is internally allocated and freed.

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

image NormRel_Inf.

NormRel_InfA ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_Inf. Buffer is internally allocated and freed. Not affecting Alpha.

NormRel_InfA ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormRel, CudaDeviceVariable buffer ) : void

image NormRel_Inf. Not affecting Alpha.

NormRel_L1 ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_L1. Buffer is internally allocated and freed.

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

image NormRel_L1.

NormRel_L1A ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_L1. Buffer is internally allocated and freed. Not affecting Alpha.

NormRel_L1A ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormRel, CudaDeviceVariable buffer ) : void

image NormRel_L1. Not affecting Alpha.

NormRel_L2 ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_L2. Buffer is internally allocated and freed.

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

image NormRel_L2.

NormRel_L2A ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormRel ) : void

image NormRel_L2. Buffer is internally allocated and freed. Not affecting Alpha.

NormRel_L2A ( NPPImage_8uC4 tpl, CudaDeviceVariable pNormRel, CudaDeviceVariable buffer ) : void

image NormRel_L2. Not affecting Alpha.

Not ( ) : void

In place image logical Not.

Not ( NPPImage_8uC4 dest ) : void

Image logical Not.

NotA ( ) : void

In place image logical Not. Unchanged Alpha.

NotA ( NPPImage_8uC4 dest ) : void

Image logical Not. Unchanged Alpha.

Or ( NPPImage_8uC4 src2 ) : void

In place image logical Or.

Or ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void

Image logical Or.

Or ( byte nConstant ) : void

In place image logical Or with constant.

Or ( byte nConstant, NPPImage_8uC4 dest ) : void

Image logical Or with constant.

OrA ( NPPImage_8uC4 src2 ) : void

In place image logical Or. Unchanged Alpha.

OrA ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void

Image logical Or. Unchanged Alpha.

OrA ( byte nConstant ) : void

In place image logical Or with constant. Unchanged Alpha.

OrA ( byte nConstant, NPPImage_8uC4 dest ) : void

Image logical Or with constant. Unchanged Alpha.

QualityIndexA ( NPPImage_8uC4 src2, CudaDeviceVariable dst ) : void

image QualityIndex. Not affecting Alpha.

QualityIndexA ( NPPImage_8uC4 src2, CudaDeviceVariable dst, CudaDeviceVariable buffer ) : void

image QualityIndex. Not affecting Alpha.

QualityIndexAGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for QualityIndex.

RGBToGrayA ( NPPImage_8uC1 dest ) : void

RGB to Gray conversion, not affecting Alpha.

RGBToHLS ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed RGB with alpha to 4 channel 8-bit unsigned packed HLS with alpha color conversion.

RGBToHSV ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed RGB with alpha to 4 channel 8-bit unsigned packed HSV with alpha color conversion.

RGBToLUV ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed RGB with alpha to 4 channel 8-bit unsigned packed LUV with alpha color conversion.

RGBToXYZ ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed RGB with alpha to 4 channel 8-bit unsigned packed XYZ with alpha color conversion.

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

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

RGBToYCbCr ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed RGB to packed YCbCr color conversion. Alpha channel is the last channel and is not processed.

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

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

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

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

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

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

RGBToYUV ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed RGB with alpha to 4 channel 8-bit unsigned packed YUV color conversion with alpha, not affecting alpha.

RShiftC ( uint nConstant ) : void

image bit shift by constant (right), inplace.

RShiftC ( uint nConstant, NPPImage_8uC4 dest ) : void

image bit shift by constant (right).

RShiftCA ( uint nConstant ) : void

image bit shift by constant (right), inplace. Unchanged Alpha.

RShiftCA ( uint nConstant, NPPImage_8uC4 dest ) : void

image bit shift by constant (right). Unchanged Alpha.

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

planar image remap.

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

image remap.

RemapA ( NPPImage_8uC4 dst, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation ) : void

image remap. Not affecting Alpha.

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

resizes planar images.

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

Resizes images.

ResizeA ( NPPImage_8uC4 dest, double xFactor, double yFactor, InterpolationMode eInterpolation ) : void

Resizes images. Not affecting Alpha.

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

planar image resize.

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

image resize.

ResizeSqrPixelA ( NPPImage_8uC4 dst, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation ) : void

image resize. Not affecting Alpha.

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

Rotate images.

RotateA ( NPPImage_8uC4 dest, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation ) : void

Rotate images. Not affecting Alpha.

SameNormLevelAGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrSame_NormLevel. Not affecting Alpha.

SameNormLevelGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrSame_NormLevel.

SameNormLevelScaledAGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrSame_NormLevel. Not affecting Alpha.

SameNormLevelScaledGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrSame_NormLevel.

Scale ( NPPImage_16sC4 dst ) : void

image conversion.

Scale ( NPPImage_16uC4 dst ) : void

image conversion.

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

image conversion.

Scale ( NPPImage_32sC4 dst ) : void

image conversion.

ScaleA ( NPPImage_16sC4 dst ) : void

image conversion. Not affecting Alpha.

ScaleA ( NPPImage_16uC4 dst ) : void

image conversion. Not affecting Alpha.

ScaleA ( NPPImage_32fC4 dst, float nMin, float nMax ) : void

image conversion. Not affecting Alpha.

ScaleA ( NPPImage_32sC4 dst ) : void

image conversion. Not affecting Alpha.

Set ( byte nValue ) : void

Set pixel values to nValue.

Set ( byte nValue, NPPImage_8uC1 mask ) : void

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

Set ( byte nValue, int channel ) : void

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

SetA ( byte nValue ) : 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. Not affecting alpha channel.

SetA ( byte nValue, NPPImage_8uC1 mask ) : void

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

SobelHoriz ( NPPImage_8uC4 dst ) : void

horizontal Sobel filter.

SobelHorizA ( NPPImage_8uC4 dst ) : void

horizontal Sobel filter. Not affecting Alpha.

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

SqrA ( NPPImage_8uC4 dest, int nScaleFactor ) : void

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

SqrA ( int nScaleFactor ) : void

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

SqrDistanceFull_Norm ( NPPImage_8uC4 tpl, NPPImage_32fC4 dst ) : void

image SqrDistanceFull_Norm.

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

image SqrDistanceFull_Norm.

SqrDistanceFull_NormA ( NPPImage_8uC4 tpl, NPPImage_32fC4 dst ) : void

image SqrDistanceFull_Norm. Not affecting Alpha.

SqrDistanceFull_NormA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void

image SqrDistanceFull_Norm. Not affecting Alpha.

SqrDistanceSame_Norm ( NPPImage_8uC4 tpl, NPPImage_32fC4 dst ) : void

image SqrDistanceSame_Norm.

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

image SqrDistanceSame_Norm.

SqrDistanceSame_NormA ( NPPImage_8uC4 tpl, NPPImage_32fC4 dst ) : void

image SqrDistanceSame_Norm. Not affecting Alpha.

SqrDistanceSame_NormA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void

image SqrDistanceSame_Norm. Not affecting Alpha.

SqrDistanceValid_Norm ( NPPImage_8uC4 tpl, NPPImage_32fC4 dst ) : void

image SqrDistanceValid_Norm.

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

image SqrDistanceValid_Norm.

SqrDistanceValid_NormA ( NPPImage_8uC4 tpl, NPPImage_32fC4 dst ) : void

image SqrDistanceValid_Norm. Not affecting Alpha.

SqrDistanceValid_NormA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void

image SqrDistanceValid_Norm. Not affecting Alpha.

Sqrt ( NPPImage_8uC4 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.

SqrtA ( NPPImage_8uC4 dest, int nScaleFactor ) : void

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

SqrtA ( int nScaleFactor ) : void

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

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

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

Sub ( NPPImage_8uC4 src2, int nScaleFactor ) : void

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

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

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

Sub ( byte nConstant, int nScaleFactor ) : void

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

SubA ( NPPImage_8uC4 src2, NPPImage_8uC4 dest, int nScaleFactor ) : void

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

SubA ( NPPImage_8uC4 src2, int nScaleFactor ) : void

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

SubA ( byte nConstant, NPPImage_8uC4 dest, int nScaleFactor ) : void

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

SubA ( byte nConstant, int nScaleFactor ) : void

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

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.

Sum ( CudaDeviceVariable result ) : void

image sum with 64-bit long long 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.

SumA ( CudaDeviceVariable result ) : void

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

SumA ( CudaDeviceVariable result, CudaDeviceVariable buffer ) : void

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

SumDoubleGetBufferHostSize ( ) : int

Scratch-buffer size for nppiSum_8u_C4R.

SumDoubleGetBufferHostSizeA ( ) : int

Scratch-buffer size for nppiSum_8u_C4R. Not affecting alpha.

SumLongGetBufferHostSize ( ) : int

Scratch-buffer size for nppiSum_8u_C4R.

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

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

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

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

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

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

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

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

SwapChannels ( NPPImage_8uC3 dest, int aDstOrder ) : void

Swap channels.

SwapChannels ( NPPImage_8uC4 dest, int aDstOrder ) : void

Swap channels.

SwapChannels ( int aDstOrder ) : void

Swap channels, in-place.

SwapChannelsA ( NPPImage_8uC4 dest, int aDstOrder ) : void

Swap channels. Not affecting Alpha

Threshold ( NPPImage_8uC4 dest, NppCmpOp eComparisonOperation, byte aThresholds ) : void

If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nThreshold, otherwise it is set to sourcePixel. Not affecting Alpha.

Threshold ( NPPImage_8uC4 dest, byte nThreshold, NppCmpOp eComparisonOperation ) : void

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

Threshold ( NPPImage_8uC4 dest, byte nThreshold, byte nValue, NppCmpOp eComparisonOperation ) : void

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

Threshold ( byte nThreshold, NppCmpOp eComparisonOperation ) : void

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

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

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

ThresholdGT ( NPPImage_8uC4 dest, byte nThreshold ) : void

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

ThresholdGT ( NPPImage_8uC4 dest, byte nThreshold, byte nValue ) : void

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

ThresholdGT ( byte nThreshold ) : void

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

ThresholdGT ( byte nThreshold, byte nValue ) : void

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

ThresholdLT ( NPPImage_8uC4 dest, byte nThreshold ) : void

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

ThresholdLT ( NPPImage_8uC4 dest, byte nThreshold, byte nValue ) : void

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

ThresholdLT ( byte nThreshold ) : void

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

ThresholdLT ( byte nThreshold, byte nValue ) : void

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

ThresholdLTGT ( NPPImage_8uC4 dest, byte nThresholdLT, byte nValueLT, byte nThresholdGT, byte nValueGT ) : void

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

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

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

ToCudaPitchedDeviceVariable ( ) : CudaPitchedDeviceVariable

Converts a NPPImage to a CudaPitchedDeviceVariable

Transpose ( NPPImage_8uC4 dest ) : void

image transpose

ValidNormLevelAGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel. Not affecting Alpha.

ValidNormLevelGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel.

ValidNormLevelScaledAGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel. Not affecting Alpha.

ValidNormLevelScaledGetBufferHostSize ( ) : int

Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel.

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

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

WarpAffine ( NPPImage_8uC4 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.

WarpAffineA ( NPPImage_8uC4 dest, double coeffs, InterpolationMode eInterpolation ) : void

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

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

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

WarpAffineBack ( NPPImage_8uC4 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.

WarpAffineBackA ( NPPImage_8uC4 dest, double coeffs, InterpolationMode eInterpolation ) : void

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

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

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

WarpAffineQuad ( double srcQuad, NPPImage_8uC4 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.

WarpAffineQuadA ( double srcQuad, NPPImage_8uC4 dest, double dstQuad, InterpolationMode eInterpolation ) : void

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

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

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

WarpPerspective ( NPPImage_8uC4 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.

WarpPerspectiveA ( NPPImage_8uC4 dest, double coeffs, InterpolationMode eInterpolation ) : void

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

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

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

WarpPerspectiveBack ( NPPImage_8uC4 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.

WarpPerspectiveBackA ( NPPImage_8uC4 dest, double coeffs, InterpolationMode eInterpolation ) : void

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

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

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

WarpPerspectiveQuad ( double srcQuad, NPPImage_8uC4 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.

WarpPerspectiveQuadA ( double srcQuad, NPPImage_8uC4 dest, double destQuad, InterpolationMode eInterpolation ) : void

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

XYZToRGB ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed XYZ with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion.

Xor ( NPPImage_8uC4 src2 ) : void

In place image logical Xor.

Xor ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void

Image logical Xor.

Xor ( byte nConstant ) : void

In place image logical Xor with constant.

Xor ( byte nConstant, NPPImage_8uC4 dest ) : void

Image logical Xor with constant.

XorA ( NPPImage_8uC4 src2 ) : void

In place image logical Xor. Unchanged Alpha.

XorA ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void

Image logical Xor. Unchanged Alpha.

XorA ( byte nConstant ) : void

In place image logical Xor with constant. Unchanged Alpha.

XorA ( byte nConstant, NPPImage_8uC4 dest ) : void

Image logical Xor with constant. Unchanged Alpha.

YCCToRGB ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed YCC with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion.

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

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

YCbCrToRGB ( NPPImage_8uC4 dest ) : void

4 channel 8-bit unsigned packed YCbCr to RGB color conversion. Alpha channel is the last channel and is not processed.

YUVToBGR ( NPPImage_8uC4 dest ) : void

4 channel 8-bit packed YUV with alpha to 4 channel 8-bit unsigned packed BGR color conversion with alpha, not affecting alpha.

YUVToRGB ( NPPImage_8uC4 dest ) : void

4 channel 8-bit packed YUV with alpha to 4 channel 8-bit unsigned packed RGB color conversion with alpha, not affecting alpha.

Method Details

ADotProdGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for nppiDotProd_8u64f_C4R. Ignoring alpha channel.
public ADotProdGetBufferHostSize ( ) : int
Résultat int

ADotProduct() public méthode

Four-channel 8-bit unsigned image DotProd. Buffer is internally allocated and freed. Ignoring alpha channel.
public ADotProduct ( NPPImage_8uC4 src2, CudaDeviceVariable pDp ) : void
src2 NPPImage_8uC4 2nd source image
pDp CudaDeviceVariable Pointer to the computed dot product of the two images. (3 * sizeof(double))
Résultat void

ADotProduct() public méthode

Four-channel 8-bit unsigned image DotProd. Ignoring alpha channel.
public ADotProduct ( NPPImage_8uC4 src2, CudaDeviceVariable pDp, CudaDeviceVariable buffer ) : void
src2 NPPImage_8uC4 2nd source image
pDp CudaDeviceVariable Pointer to the computed dot product of the two images. (3 * sizeof(double))
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

AbsDiff() public méthode

Absolute difference of this minus src2.
public AbsDiff ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void
src2 NPPImage_8uC4 2nd source image
dest NPPImage_8uC4 Destination image
Résultat void

Add() public méthode

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

Add() public méthode

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

Add() public méthode

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

Add() public méthode

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

AddA() public méthode

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

AddA() public méthode

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

AddA() public méthode

Add constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Unmodified Alpha.
public AddA ( byte nConstant, NPPImage_8uC4 dest, int nScaleFactor ) : void
nConstant byte Values to add
dest NPPImage_8uC4 Destination image
nScaleFactor int scaling factor
Résultat void

AddA() public méthode

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

AlphaComp() public méthode

Four 8-bit unsigned char channel image composition using image alpha values (0 - max channel pixel value).
public AlphaComp ( NPPImage_8uC4 src2, NPPImage_8uC4 dest, NppiAlphaOp nppAlphaOp ) : void
src2 NPPImage_8uC4 2nd source image
dest NPPImage_8uC4 Destination image
nppAlphaOp NppiAlphaOp alpha compositing operation
Résultat void

AlphaComp() public méthode

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

AlphaCompA() public méthode

Image composition using constant alpha. Not affecting alpha channel.
public AlphaCompA ( byte alpha1, NPPImage_8uC4 src2, byte alpha2, NPPImage_8uC4 dest, NppiAlphaOp nppAlphaOp ) : void
alpha1 byte constant alpha for this image
src2 NPPImage_8uC4 2nd source image
alpha2 byte constant alpha for src2
dest NPPImage_8uC4 Destination image
nppAlphaOp NppiAlphaOp alpha compositing operation
Résultat void

AlphaCompColorKeyA() public méthode

complement color key replacement of source image 1 by source image 2 with alpha blending.
public AlphaCompColorKeyA ( byte alpha1, NPPImage_8uC4 src2, byte alpha2, NPPImage_8uC4 dest, byte colorKeyConst, NppiAlphaOp nppAlphaOp ) : void
alpha1 byte source1 image alpha opacity (0 - max channel pixel value).
src2 NPPImage_8uC4 source2 packed pixel format image.
alpha2 byte source2 image alpha opacity (0 - max channel pixel value).
dest NPPImage_8uC4 Destination image
colorKeyConst byte color key constants
nppAlphaOp NppiAlphaOp NppiAlphaOp alpha compositing operation selector (excluding premul ops).
Résultat void

AlphaPremul() public méthode

In place alpha premultiplication using constant alpha.
public AlphaPremul ( byte alpha ) : void
alpha byte alpha
Résultat void

AlphaPremul() public méthode

Image premultiplication using constant alpha.
public AlphaPremul ( byte alpha, NPPImage_8uC4 dest ) : void
alpha byte alpha
dest NPPImage_8uC4 Destination image
Résultat void

AlphaPremulA() public méthode

Four 8-bit unsigned char channel in place image premultiplication with pixel alpha (0 - max channel pixel value).
public AlphaPremulA ( ) : void
Résultat void

AlphaPremulA() public méthode

Four 8-bit unsigned char channel image premultiplication with pixel alpha (0 - max channel pixel value).
public AlphaPremulA ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

AlphaPremulA() public méthode

In place alpha premultiplication using constant alpha. Not affecting alpha channel.
public AlphaPremulA ( byte alpha ) : void
alpha byte alpha
Résultat void

AlphaPremulA() public méthode

Image premultiplication using constant alpha. Not affecting alpha channel.
public AlphaPremulA ( byte alpha, NPPImage_8uC4 dest ) : void
alpha byte alpha
dest NPPImage_8uC4 Destination image
Résultat void

And() public méthode

In place image logical and.
public And ( NPPImage_8uC4 src2 ) : void
src2 NPPImage_8uC4 2nd source image
Résultat void

And() public méthode

Image logical and.
public And ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void
src2 NPPImage_8uC4 2nd source image
dest NPPImage_8uC4 Destination image
Résultat void

And() public méthode

In place image logical and with constant.
public And ( byte nConstant ) : void
nConstant byte Value (Array length = 4)
Résultat void

And() public méthode

Image logical and with constant.
public And ( byte nConstant, NPPImage_8uC4 dest ) : void
nConstant byte Value (Array length = 4)
dest NPPImage_8uC4 Destination image
Résultat void

AndA() public méthode

In place image logical and. Unchanged Alpha.
public AndA ( NPPImage_8uC4 src2 ) : void
src2 NPPImage_8uC4 2nd source image
Résultat void

AndA() public méthode

Image logical and. Unchanged Alpha.
public AndA ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void
src2 NPPImage_8uC4 2nd source image
dest NPPImage_8uC4 Destination image
Résultat void

AndA() public méthode

In place image logical and with constant. Unchanged Alpha.
public AndA ( byte nConstant ) : void
nConstant byte Value (Array length = 4)
Résultat void

AndA() public méthode

Image logical and with constant. Unchanged Alpha.
public AndA ( byte nConstant, NPPImage_8uC4 dest ) : void
nConstant byte Value (Array length = 4)
dest NPPImage_8uC4 Destination image
Résultat void

AverageError() public méthode

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

AverageError() public méthode

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

AverageErrorGetBufferHostSize() public méthode

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

AverageRelativeError() public méthode

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

AverageRelativeError() public méthode

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

AverageRelativeErrorGetBufferHostSize() public méthode

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

BGRToCbYCr422() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 2 channel 8-bit unsigned packed CbYCr422 color conversion.
public BGRToCbYCr422 ( ManagedCuda.NPP.NPPImage_8uC2 dest ) : void
dest ManagedCuda.NPP.NPPImage_8uC2 Destination image
Résultat void

BGRToCbYCr422_709HDTV() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 2 channel 8-bit unsigned packed CbYCr422_709HDTV color conversion.
public BGRToCbYCr422_709HDTV ( ManagedCuda.NPP.NPPImage_8uC2 dest ) : void
dest ManagedCuda.NPP.NPPImage_8uC2 Destination image
Résultat void

BGRToHLS() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 4 channel 8-bit unsigned planar HLS with alpha color conversion.
public BGRToHLS ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2, ManagedCuda.NPP.NPPImage_8uC1 dest3 ) : void
dest0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dest1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dest2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
dest3 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 3
Résultat void

BGRToHLS() public static méthode

4 channel 8-bit unsigned planar BGR with alpha to 4 channel 8-bit unsigned planar HLS with alpha color conversion.
public static BGRToHLS ( ManagedCuda.NPP.NPPImage_8uC1 src0, ManagedCuda.NPP.NPPImage_8uC1 src1, ManagedCuda.NPP.NPPImage_8uC1 src2, ManagedCuda.NPP.NPPImage_8uC1 src3, ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2, ManagedCuda.NPP.NPPImage_8uC1 dest3 ) : void
src0 ManagedCuda.NPP.NPPImage_8uC1 Source image channel 0
src1 ManagedCuda.NPP.NPPImage_8uC1 Source image channel 1
src2 ManagedCuda.NPP.NPPImage_8uC1 Source image channel 2
src3 ManagedCuda.NPP.NPPImage_8uC1 Source image channel 2
dest0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dest1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dest2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
dest3 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 3
Résultat void

BGRToHLS() public static méthode

4 channel 8-bit unsigned planar HLS with alpha to 4 channel 8-bit unsigned packed BGR with alpha color conversion.
public static BGRToHLS ( ManagedCuda.NPP.NPPImage_8uC1 src0, ManagedCuda.NPP.NPPImage_8uC1 src1, ManagedCuda.NPP.NPPImage_8uC1 src2, ManagedCuda.NPP.NPPImage_8uC1 src3, NPPImage_8uC4 dest ) : void
src0 ManagedCuda.NPP.NPPImage_8uC1 Source image channel 0
src1 ManagedCuda.NPP.NPPImage_8uC1 Source image channel 1
src2 ManagedCuda.NPP.NPPImage_8uC1 Source image channel 2
src3 ManagedCuda.NPP.NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
Résultat void

BGRToHLS() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 4 channel 8-bit unsigned packed HLS with alpha color conversion.
public BGRToHLS ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

BGRToYCbCr() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCbCr color conversion.
public BGRToYCbCr ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void
dest0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dest1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dest2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
Résultat void

BGRToYCbCr() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 4 channel 8-bit unsigned planar YCbCr color conversion.
public BGRToYCbCr ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2, ManagedCuda.NPP.NPPImage_8uC1 dest3 ) : void
dest0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dest1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dest2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
dest3 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 3
Résultat void

BGRToYCbCr411() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCbCr411 color conversion.
public BGRToYCbCr411 ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void
dest0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dest1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dest2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
Résultat void

BGRToYCbCr420() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCbCr420 color conversion.
public BGRToYCbCr420 ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void
dest0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dest1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dest2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
Résultat void

BGRToYCbCr420_709CSC() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCbCr420_709CSC color conversion.
public BGRToYCbCr420_709CSC ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void
dest0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dest1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dest2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
Résultat void

BGRToYCbCr420_709HDTV() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCbCr420_709HDTV color conversion.
public BGRToYCbCr420_709HDTV ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void
dest0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dest1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dest2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
Résultat void

BGRToYCbCr422() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCbCr422 color conversion.
public BGRToYCbCr422 ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void
dest0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dest1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dest2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
Résultat void

BGRToYCbCr422() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 2 channel 8-bit unsigned packed YCrCb422 color conversion.
public BGRToYCbCr422 ( ManagedCuda.NPP.NPPImage_8uC2 dest ) : void
dest ManagedCuda.NPP.NPPImage_8uC2 Destination image
Résultat void

BGRToYCrCb420() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCrCb420 color conversion.
public BGRToYCrCb420 ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void
dest0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dest1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dest2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
Résultat void

BGRToYCrCb420_709CSC() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 3 channel 8-bit unsigned planar YCrCb420_709CSC color conversion.
public BGRToYCrCb420_709CSC ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void
dest0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dest1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dest2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
Résultat void

BGRToYUV() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 4 channel 8-bit unsigned planar YUV color conversion with alpha.
public BGRToYUV ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2, ManagedCuda.NPP.NPPImage_8uC1 dest3 ) : void
dest0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dest1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dest2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
dest3 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 3
Résultat void

BGRToYUV() public méthode

4 channel 8-bit unsigned packed BGR with alpha to 4 channel 8-bit unsigned packed YUV color conversion with alpha, not affecting alpha.
public BGRToYUV ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

BGRToYUV420() public méthode

4 channel 8-bit unsigned pacmed BGR with alpha to 3 channel 8-bit unsigned planar YUV420 color conversion.
public BGRToYUV420 ( ManagedCuda.NPP.NPPImage_8uC1 dest0, ManagedCuda.NPP.NPPImage_8uC1 dest1, ManagedCuda.NPP.NPPImage_8uC1 dest2 ) : void
dest0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dest1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dest2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
Résultat void

ColorToGray() public méthode

Color to Gray conversion.
public ColorToGray ( ManagedCuda.NPP.NPPImage_8uC1 dest, float aCoeffs ) : void
dest ManagedCuda.NPP.NPPImage_8uC1 Destination image
aCoeffs float fixed size array of constant floating point conversion coefficient values, one per color channel.
Résultat void

ColorToGrayA() public méthode

Color to Gray conversion, not affecting Alpha.
public ColorToGrayA ( ManagedCuda.NPP.NPPImage_8uC1 dest, float aCoeffs ) : void
dest ManagedCuda.NPP.NPPImage_8uC1 Destination image
aCoeffs float fixed size array of constant floating point conversion coefficient values, one per color channel.
Résultat void

ColorTwist() public méthode

4 channel 8-bit unsigned color twist, with alpha copy. An input color twist matrix with floating-point coefficient values is applied with in ROI. Alpha channel is the last channel and is copied unmodified from the source pixel to the destination pixel.
public ColorTwist ( NPPImage_8uC4 dest, float twistMatrix ) : void
dest NPPImage_8uC4 Destination image
twistMatrix float The color twist matrix with floating-point pixel values [3,4].
Résultat void

ColorTwist() public méthode

4 channel 8-bit unsigned in place color twist, not affecting Alpha. An input color twist matrix with floating-point coefficient values is applied with in ROI. Alpha channel is the last channel and is unmodified.
public ColorTwist ( float twistMatrix ) : void
twistMatrix float The color twist matrix with floating-point pixel values [3,4].
Résultat void

ColorTwistA() public méthode

An input color twist matrix with floating-point pixel values is applied within ROI. Alpha channel is the last channel and is not processed.
public ColorTwistA ( NPPImage_8uC4 dest, float twistMatrix ) : void
dest NPPImage_8uC4 Destination image
twistMatrix float The color twist matrix with floating-point pixel values [3,4].
Résultat void

ColorTwistA() public méthode

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

ColorTwistC() public méthode

4 channel 8-bit unsigned color twist with 4x4 matrix and constant vector addition. An input 4x4 color twist matrix with floating-point coefficient values with an additional constant vector addition is applied within ROI. For this particular version of the function the result is generated as shown below. \code dst[0] = aTwist[0][0] /// src[0] + aTwist[0][1] /// src[1] + aTwist[0][2] /// src[2] + aTwist[0][3] /// src[3] + aConstants[0] dst[1] = aTwist[1][0] /// src[0] + aTwist[1][1] /// src[1] + aTwist[1][2] /// src[2] + aTwist[1][3] /// src[3] + aConstants[1] dst[2] = aTwist[2][0] /// src[0] + aTwist[2][1] /// src[1] + aTwist[2][2] /// src[2] + aTwist[2][3] /// src[3] + aConstants[2] dst[3] = aTwist[3][0] /// src[0] + aTwist[3][1] /// src[1] + aTwist[3][2] /// src[2] + aTwist[3][3] /// src[3] + aConstants[3] \endcode
public ColorTwistC ( NPPImage_8uC4 dest, float twistMatrix, float aConstants ) : void
dest NPPImage_8uC4 Destination image
twistMatrix float The color twist matrix with floating-point coefficient values [4,4].
aConstants float fixed size array of constant values, one per channel [4]
Résultat void

ColorTwistC() public méthode

4 channel 8-bit unsigned in place color twist with 4x4 matrix and an additional constant vector addition. An input 4x4 color twist matrix with floating-point coefficient values with an additional constant vector addition is applied within ROI. For this particular version of the function the result is generated as shown below. \code dst[0] = aTwist[0][0] /// src[0] + aTwist[0][1] /// src[1] + aTwist[0][2] /// src[2] + aTwist[0][3] /// src[3] + aConstants[0] dst[1] = aTwist[1][0] /// src[0] + aTwist[1][1] /// src[1] + aTwist[1][2] /// src[2] + aTwist[1][3] /// src[3] + aConstants[1] dst[2] = aTwist[2][0] /// src[0] + aTwist[2][1] /// src[1] + aTwist[2][2] /// src[2] + aTwist[2][3] /// src[3] + aConstants[2] dst[3] = aTwist[3][0] /// src[0] + aTwist[3][1] /// src[1] + aTwist[3][2] /// src[2] + aTwist[3][3] /// src[3] + aConstants[3] \endcode
public ColorTwistC ( float twistMatrix, float aConstants ) : void
twistMatrix float The color twist matrix with floating-point coefficient values [4,4].
aConstants float fixed size array of constant values, one per channel [4]
Résultat void

CompColorKey() public méthode

packed color complement color key replacement of source image 1 by source image 2
public CompColorKey ( NPPImage_8uC4 src2, NPPImage_8uC4 dest, byte colorKeyConst ) : void
src2 NPPImage_8uC4 source2 packed pixel format image.
dest NPPImage_8uC4 Destination image
colorKeyConst byte color key constants
Résultat void

Compare() public méthode

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

Compare() public méthode

Compare pSrc's pixels with constant value.
public Compare ( byte constants, ManagedCuda.NPP.NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void
constants byte list of constants, one per color channel.
dest ManagedCuda.NPP.NPPImage_8uC1 Destination image
eComparisonOperation NppCmpOp Specifies the comparison operation to be used in the pixel comparison.
Résultat void

CompareA() public méthode

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

CompareA() public méthode

Compare pSrc's pixels with constant value. Not affecting Alpha.
public CompareA ( byte constants, ManagedCuda.NPP.NPPImage_8uC1 dest, NppCmpOp eComparisonOperation ) : void
constants byte list of constants, one per color channel.
dest ManagedCuda.NPP.NPPImage_8uC1 Destination image
eComparisonOperation NppCmpOp Specifies the comparison operation to be used in the pixel comparison.
Résultat void

Convert() public méthode

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

Convert() public méthode

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

Convert() public méthode

8-bit unsigned to 32-bit floating point conversion.
public Convert ( ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
Résultat void

Convert() public méthode

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

ConvertA() public méthode

8-bit unsigned to 16-bit signed conversion. Not affecting Alpha channel.
public ConvertA ( ManagedCuda.NPP.NPPImage_16sC4 dst ) : void
dst ManagedCuda.NPP.NPPImage_16sC4 Destination image
Résultat void

ConvertA() public méthode

8-bit unsigned to 16-bit unsigned conversion. Not affecting Alpha channel.
public ConvertA ( ManagedCuda.NPP.NPPImage_16uC4 dst ) : void
dst ManagedCuda.NPP.NPPImage_16uC4 Destination image
Résultat void

ConvertA() public méthode

8-bit unsigned to 32-bit floating point conversion. Not affecting Alpha channel.
public ConvertA ( ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
Résultat void

ConvertA() public méthode

8-bit unsigned to 32-bit signed conversion. Not affecting Alpha channel.
public ConvertA ( ManagedCuda.NPP.NPPImage_32sC4 dst ) : void
dst ManagedCuda.NPP.NPPImage_32sC4 Destination image
Résultat void

Copy() public méthode

Three-channel 8-bit unsigned packed to planar image copy.
public Copy ( ManagedCuda.NPP.NPPImage_8uC1 dst0, ManagedCuda.NPP.NPPImage_8uC1 dst1, ManagedCuda.NPP.NPPImage_8uC1 dst2, ManagedCuda.NPP.NPPImage_8uC1 dst3 ) : void
dst0 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 0
dst1 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 1
dst2 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 2
dst3 ManagedCuda.NPP.NPPImage_8uC1 Destination image channel 3
Résultat void

Copy() public static méthode

Three-channel 8-bit unsigned planar to packed image copy.
public static Copy ( ManagedCuda.NPP.NPPImage_8uC1 src0, ManagedCuda.NPP.NPPImage_8uC1 src1, ManagedCuda.NPP.NPPImage_8uC1 src2, ManagedCuda.NPP.NPPImage_8uC1 src3, NPPImage_8uC4 dest ) : void
src0 ManagedCuda.NPP.NPPImage_8uC1 Source image channel 0
src1 ManagedCuda.NPP.NPPImage_8uC1 Source image channel 1
src2 ManagedCuda.NPP.NPPImage_8uC1 Source image channel 2
src3 ManagedCuda.NPP.NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
Résultat void

Copy() public méthode

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

Copy() public méthode

Masked Operation 8-bit unsigned image copy.
public Copy ( NPPImage_8uC4 dst ) : void
dst NPPImage_8uC4 Destination image
Résultat void

Copy() public méthode

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

Copy() public méthode

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

Copy() public méthode

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

CopyA() public méthode

Masked Operation 8-bit unsigned image copy. Not affecting Alpha channel.
public CopyA ( NPPImage_8uC4 dst ) : void
dst NPPImage_8uC4 Destination image
Résultat void

CopyA() public méthode

Masked Operation 8-bit unsigned image copy. Not affecting Alpha channel.
public CopyA ( NPPImage_8uC4 dst, ManagedCuda.NPP.NPPImage_8uC1 mask ) : void
dst NPPImage_8uC4 Destination image
mask ManagedCuda.NPP.NPPImage_8uC1 Mask image
Résultat void

CopyA() public méthode

Copy image and pad borders with a constant, user-specifiable color. Not affecting Alpha channel.
public CopyA ( NPPImage_8uC4 dst, int nTopBorderHeight, int nLeftBorderWidth, byte nValue ) : void
dst NPPImage_8uC4 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.
Résultat void

CopyReplicateBorder() public méthode

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

CopyReplicateBorderA() public méthode

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

CopySubpix() public méthode

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

CopySubpixA() public méthode

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

CopyWrapBorder() public méthode

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

CopyWrapBorderA() public méthode

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

CountInRangeA() public méthode

image CountInRange. Not affecting Alpha.
public CountInRangeA ( CudaDeviceVariable pCounts, byte nLowerBound, byte nUpperBound ) : void
pCounts CudaDeviceVariable Pointer to the number of pixels that fall into the specified range. (3 * sizeof(int))
nLowerBound byte Fixed size array of the lower bound of the specified range, one per channel.
nUpperBound byte Fixed size array of the upper bound of the specified range, one per channel.
Résultat void

CountInRangeA() public méthode

image CountInRange. Not affecting Alpha.
public CountInRangeA ( CudaDeviceVariable pCounts, byte nLowerBound, byte nUpperBound, CudaDeviceVariable buffer ) : void
pCounts CudaDeviceVariable Pointer to the number of pixels that fall into the specified range. (3 * sizeof(int))
nLowerBound byte Fixed size array of the lower bound of the specified range, one per channel.
nUpperBound byte Fixed size array of the upper bound of the specified range, one per channel.
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

CountInRangeAGetBufferHostSize() public méthode

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

CrossCorrFull_Norm() public méthode

image CrossCorrFull_Norm.
public CrossCorrFull_Norm ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination-Image
Résultat void

CrossCorrFull_Norm() public méthode

image CrossCorrFull_Norm.
public CrossCorrFull_Norm ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination-Image
nScaleFactor int Integer Result Scaling.
Résultat void

CrossCorrFull_NormA() public méthode

image CrossCorrFull_Norm. Not affecting Alpha.
public CrossCorrFull_NormA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination-Image
Résultat void

CrossCorrFull_NormA() public méthode

image CrossCorrFull_Norm. Not affecting Alpha.
public CrossCorrFull_NormA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination-Image
nScaleFactor int Integer Result Scaling.
Résultat void

CrossCorrFull_NormLevel() public méthode

CrossCorrFull_NormLevel. Buffer is internally allocated and freed.
public CrossCorrFull_NormLevel ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
Résultat void

CrossCorrFull_NormLevel() public méthode

CrossCorrFull_NormLevel.
public CrossCorrFull_NormLevel ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

CrossCorrFull_NormLevel() public méthode

CrossCorrFull_NormLevel. Buffer is internally allocated and freed.
public CrossCorrFull_NormLevel ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination image
nScaleFactor int Integer Result Scaling.
Résultat void

CrossCorrFull_NormLevel() public méthode

CrossCorrFull_NormLevel.
public CrossCorrFull_NormLevel ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination image
nScaleFactor int Integer Result Scaling.
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

CrossCorrFull_NormLevelA() public méthode

CrossCorrFull_NormLevel. Buffer is internally allocated and freed. Not affecting Alpha.
public CrossCorrFull_NormLevelA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
Résultat void

CrossCorrFull_NormLevelA() public méthode

CrossCorrFull_NormLevel. Not affecting Alpha.
public CrossCorrFull_NormLevelA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

CrossCorrFull_NormLevelA() public méthode

CrossCorrFull_NormLevel. Buffer is internally allocated and freed. Not affecting Alpha.
public CrossCorrFull_NormLevelA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination image
nScaleFactor int Integer Result Scaling.
Résultat void

CrossCorrFull_NormLevelA() public méthode

CrossCorrFull_NormLevel. Not affecting Alpha.
public CrossCorrFull_NormLevelA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination image
nScaleFactor int Integer Result Scaling.
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

CrossCorrSame_Norm() public méthode

image CrossCorrSame_Norm.
public CrossCorrSame_Norm ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination-Image
Résultat void

CrossCorrSame_Norm() public méthode

image CrossCorrSame_Norm.
public CrossCorrSame_Norm ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination-Image
nScaleFactor int Integer Result Scaling.
Résultat void

CrossCorrSame_NormA() public méthode

image CrossCorrSame_Norm. Not affecting Alpha.
public CrossCorrSame_NormA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination-Image
Résultat void

CrossCorrSame_NormA() public méthode

image CrossCorrSame_Norm. Not affecting Alpha.
public CrossCorrSame_NormA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination-Image
nScaleFactor int Integer Result Scaling.
Résultat void

CrossCorrSame_NormLevel() public méthode

CrossCorrSame_NormLevel. Buffer is internally allocated and freed.
public CrossCorrSame_NormLevel ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
Résultat void

CrossCorrSame_NormLevel() public méthode

CrossCorrSame_NormLevel.
public CrossCorrSame_NormLevel ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

CrossCorrSame_NormLevel() public méthode

CrossCorrSame_NormLevel. Buffer is internally allocated and freed.
public CrossCorrSame_NormLevel ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination image
nScaleFactor int Integer Result Scaling.
Résultat void

CrossCorrSame_NormLevel() public méthode

CrossCorrSame_NormLevel.
public CrossCorrSame_NormLevel ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination image
nScaleFactor int Integer Result Scaling.
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

CrossCorrSame_NormLevelA() public méthode

CrossCorrSame_NormLevel. Buffer is internally allocated and freed. Not affecting Alpha.
public CrossCorrSame_NormLevelA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
Résultat void

CrossCorrSame_NormLevelA() public méthode

CrossCorrSame_NormLevel. Not affecting Alpha.
public CrossCorrSame_NormLevelA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

CrossCorrSame_NormLevelA() public méthode

CrossCorrSame_NormLevel. Buffer is internally allocated and freed. Not affecting Alpha.
public CrossCorrSame_NormLevelA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination image
nScaleFactor int Integer Result Scaling.
Résultat void

CrossCorrSame_NormLevelA() public méthode

CrossCorrSame_NormLevel. Not affecting Alpha.
public CrossCorrSame_NormLevelA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination image
nScaleFactor int Integer Result Scaling.
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

CrossCorrValid_Norm() public méthode

image CrossCorrValid_Norm.
public CrossCorrValid_Norm ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination-Image
Résultat void

CrossCorrValid_Norm() public méthode

image CrossCorrValid_Norm.
public CrossCorrValid_Norm ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination-Image
nScaleFactor int Integer Result Scaling.
Résultat void

CrossCorrValid_NormA() public méthode

image CrossCorrValid_Norm. Not affecting Alpha.
public CrossCorrValid_NormA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination-Image
Résultat void

CrossCorrValid_NormA() public méthode

image CrossCorrValid_Norm. Not affecting Alpha.
public CrossCorrValid_NormA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination-Image
nScaleFactor int Integer Result Scaling.
Résultat void

CrossCorrValid_NormLevel() public méthode

CrossCorrValid_NormLevel. Buffer is internally allocated and freed.
public CrossCorrValid_NormLevel ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
Résultat void

CrossCorrValid_NormLevel() public méthode

CrossCorrValid_NormLevel.
public CrossCorrValid_NormLevel ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

CrossCorrValid_NormLevel() public méthode

CrossCorrValid_NormLevel. Buffer is internally allocated and freed.
public CrossCorrValid_NormLevel ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination image
nScaleFactor int Integer Result Scaling.
Résultat void

CrossCorrValid_NormLevel() public méthode

CrossCorrValid_NormLevel.
public CrossCorrValid_NormLevel ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination image
nScaleFactor int Integer Result Scaling.
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

CrossCorrValid_NormLevelA() public méthode

CrossCorrValid_NormLevel. Buffer is internally allocated and freed. Not affecting Alpha.
public CrossCorrValid_NormLevelA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
Résultat void

CrossCorrValid_NormLevelA() public méthode

CrossCorrValid_NormLevel. Not affecting Alpha.
public CrossCorrValid_NormLevelA ( NPPImage_8uC4 tpl, ManagedCuda.NPP.NPPImage_32fC4 dst, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC4 template image.
dst ManagedCuda.NPP.NPPImage_32fC4 Destination image
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

CrossCorrValid_NormLevelA() public méthode

CrossCorrValid_NormLevel. Buffer is internally allocated and freed. Not affecting Alpha.
public CrossCorrValid_NormLevelA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination image
nScaleFactor int Integer Result Scaling.
Résultat void

CrossCorrValid_NormLevelA() public méthode

CrossCorrValid_NormLevel. Not affecting Alpha.
public CrossCorrValid_NormLevelA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor, CudaDeviceVariable buffer ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination image
nScaleFactor int Integer Result Scaling.
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

Dilate() public méthode

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_8uC4 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_8uC4 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.
Résultat void

Dilate3x3() public méthode

3x3 dilation.
public Dilate3x3 ( NPPImage_8uC4 dst ) : void
dst NPPImage_8uC4 Destination-Image
Résultat void

Dilate3x3A() public méthode

3x3 dilation, not affecting Alpha.
public Dilate3x3A ( NPPImage_8uC4 dst ) : void
dst NPPImage_8uC4 Destination-Image
Résultat void

Dilate3x3Border() public méthode

3x3 dilation with border control.
public Dilate3x3Border ( NPPImage_8uC4 dest, NppiBorderType eBorderType ) : void
dest NPPImage_8uC4 Destination image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

Dilate3x3BorderA() public méthode

3x3 dilation with border control, ignoring alpha-channel.
public Dilate3x3BorderA ( NPPImage_8uC4 dest, NppiBorderType eBorderType ) : void
dest NPPImage_8uC4 Destination image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

DilateA() public méthode

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, not affecting Alpha.
public DilateA ( NPPImage_8uC4 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_8uC4 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.
Résultat void

DilateBorder() public méthode

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_8uC4 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC4 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.
Résultat void

DilateBorderA() public méthode

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, ignoring alpha-channel.
public DilateBorderA ( NPPImage_8uC4 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC4 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.
Résultat void

Div() public méthode

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

Div() public méthode

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

Div() public méthode

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

Div() public méthode

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

Div() public méthode

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

Div() public méthode

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

DivA() public méthode

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

DivA() public méthode

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

DivA() public méthode

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

DivA() public méthode

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

DivA() public méthode

Divide constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Unchanged Alpha.
public DivA ( byte nConstant, NPPImage_8uC4 dest, int nScaleFactor ) : void
nConstant byte Value
dest NPPImage_8uC4 Destination image
nScaleFactor int scaling factor
Résultat void

DivA() public méthode

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

DotProdGetBufferHostSize() public méthode

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

DotProduct() public méthode

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

DotProduct() public méthode

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

Erode() public méthode

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_8uC4 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_8uC4 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.
Résultat void

Erode3x3() public méthode

3x3 erosion.
public Erode3x3 ( NPPImage_8uC4 dst ) : void
dst NPPImage_8uC4 Destination-Image
Résultat void

Erode3x3A() public méthode

3x3 erosion, not affecting Alpha.
public Erode3x3A ( NPPImage_8uC4 dst ) : void
dst NPPImage_8uC4 Destination-Image
Résultat void

Erode3x3Border() public méthode

3x3 erosion with border control.
public Erode3x3Border ( NPPImage_8uC4 dest, NppiBorderType eBorderType ) : void
dest NPPImage_8uC4 Destination image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

Erode3x3BorderA() public méthode

3x3 erosion with border control, ignoring alpha-channel.
public Erode3x3BorderA ( NPPImage_8uC4 dest, NppiBorderType eBorderType ) : void
dest NPPImage_8uC4 Destination image
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

ErodeA() public méthode

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, not affecting Alpha.
public ErodeA ( NPPImage_8uC4 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor ) : void
dest NPPImage_8uC4 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.
Résultat void

ErodeBorder() public méthode

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_8uC4 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC4 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.
Résultat void

ErodeBorderA() public méthode

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, ignoring alpha-channel.
public ErodeBorderA ( NPPImage_8uC4 dest, CudaDeviceVariable Mask, NppiSize aMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC4 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.
Résultat void

EvenLevels() public méthode

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

Filter() public méthode

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

Filter() public méthode

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

Filter() public méthode

Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. Before writing the result pixel the sum is scaled back via division by nDivisor.
public Filter ( NPPImage_8uC4 dest, CudaDeviceVariable Kernel, NppiSize aKernelSize, NppiPoint oAnchor, int nDivisor ) : void
dest NPPImage_8uC4 Destination image
Kernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
aKernelSize NppiSize Width and Height of the rectangular kernel.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.
nDivisor int The factor by which the convolved summation from the Filter operation should be divided. If equal to the sum of coefficients, this will keep the maximum result value within full scale.
Résultat void

FilterA() public méthode

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

FilterA() public méthode

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

FilterA() public méthode

Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. Before writing the result pixel the sum is scaled back via division by nDivisor. Not affecting Alpha.
public FilterA ( NPPImage_8uC4 dest, CudaDeviceVariable Kernel, NppiSize aKernelSize, NppiPoint oAnchor, int nDivisor ) : void
dest NPPImage_8uC4 Destination image
Kernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
aKernelSize NppiSize Width and Height of the rectangular kernel.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference w.r.t the source pixel.
nDivisor int The factor by which the convolved summation from the Filter operation should be divided. If equal to the sum of coefficients, this will keep the maximum result value within full scale.
Résultat void

FilterBorder() public méthode

Four channel 8-bit unsigned to 16-bit signed convolution filter with border control. General purpose 2D convolution filter using floating-point weights with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. Before writing the result pixel the sum is scaled back via division by nDivisor. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.
public FilterBorder ( NPPImage_16sC4 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16sC4 Destination image
pKernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order
nKernelSize NppiSize Width and Height of the rectangular kernel.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference relative to the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterBorder() public méthode

Four channel 8-bit unsigned convolution filter with border control. General purpose 2D convolution filter using floating-point weights with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. Before writing the result pixel the sum is scaled back via division by nDivisor. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.
public FilterBorder ( NPPImage_8uC4 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC4 Destination image
pKernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order
nKernelSize NppiSize Width and Height of the rectangular kernel.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference relative to the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterBorder() public méthode

Four channel 8-bit unsigned convolution filter with border control. General purpose 2D convolution filter with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. Before writing the result pixel the sum is scaled back via division by nDivisor. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.
public FilterBorder ( NPPImage_8uC4 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, int nDivisor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC4 Destination image
pKernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order
nKernelSize NppiSize Width and Height of the rectangular kernel.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference relative to the source pixel.
nDivisor int The factor by which the convolved summation from the Filter operation should be divided. /// If equal to the sum of coefficients, this will keep the maximum result value within full scale.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterBorderA() public méthode

Four channel 8-bit unsigned to 16-bit signed convolution filter with border control, ignoring alpha channel. 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 FilterBorderA ( NPPImage_16sC4 dest, CudaDeviceVariable pKernel, NppiSize nKernelSize, NppiPoint oAnchor, NppiBorderType eBorderType ) : void
dest NPPImage_16sC4 Destination image
pKernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order
nKernelSize NppiSize Width and Height of the rectangular kernel.
oAnchor NppiPoint X and Y offsets of the kernel origin frame of reference relative to the source pixel.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterBorderA() public méthode

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

FilterBorderA() public méthode

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

FilterBox() public méthode

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

FilterBoxA() public méthode

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

FilterBoxBorder() public méthode

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

FilterBoxBorderA() public méthode

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

FilterColumn() public méthode

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

FilterColumn() public méthode

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

FilterColumnA() public méthode

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

FilterColumnA() public méthode

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

FilterColumnBorder() public méthode

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

FilterColumnBorder() public méthode

General purpose 1D convolution column filter with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. Before writing the result pixel the sum is scaled back via division by nDivisor. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.
public FilterColumnBorder ( NPPImage_8uC4 dest, CudaDeviceVariable Kernel, int nAnchor, int nDivisor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC4 Destination image
Kernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
nAnchor int X offset of the kernel origin frame of reference w.r.t the source pixel.
nDivisor int The factor by which the convolved summation from the Filter operation should be divided. If equal to the sum of coefficients, this will keep the maximum result value within full scale.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterColumnBorderA() public méthode

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

FilterColumnBorderA() public méthode

General purpose 1D convolution column filter with border control. Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. Before writing the result pixel the sum is scaled back via division by nDivisor. If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.
public FilterColumnBorderA ( NPPImage_8uC4 dest, CudaDeviceVariable Kernel, int nAnchor, int nDivisor, NppiBorderType eBorderType ) : void
dest NPPImage_8uC4 Destination image
Kernel CudaDeviceVariable Pointer to the start address of the kernel coefficient array. Coeffcients are expected to be stored in reverse order.
nAnchor int X offset of the kernel origin frame of reference w.r.t the source pixel.
nDivisor int The factor by which the convolved summation from the Filter operation should be divided. If equal to the sum of coefficients, this will keep the maximum result value within full scale.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterGauss() public méthode

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

FilterGauss() public méthode

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

FilterGaussA() public méthode

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

FilterGaussA() public méthode

Gauss filter. Not affecting Alpha.
public FilterGaussA ( NPPImage_8uC4 dst, MaskSize eMaskSize ) : void
dst NPPImage_8uC4 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
Résultat void

FilterGaussBorder() public méthode

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

FilterGaussBorder() public méthode

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

FilterGaussBorderA() public méthode

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

FilterGaussBorderA() public méthode

Filters the image using a Gaussian filter kernel with border control, ignoring alpha channel: 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 FilterGaussBorderA ( NPPImage_8uC4 dest, MaskSize eMaskSize, NppiBorderType eBorderType ) : void
dest NPPImage_8uC4 Destination image
eMaskSize MaskSize Enumeration value specifying the mask size.
eBorderType NppiBorderType The border type operation to be applied at source image border boundaries.
Résultat void

FilterHighPass() public méthode

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

FilterHighPassA() public méthode

High pass filter. Not affecting Alpha.
public FilterHighPassA ( NPPImage_8uC4 dst, MaskSize eMaskSize ) : void
dst NPPImage_8uC4 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
Résultat void

FilterHighPassBorder() public méthode

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

FilterHighPassBorderA() public méthode

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

FilterLaplace() public méthode

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

FilterLaplaceA() public méthode

Laplace filter. Not affecting Alpha.
public FilterLaplaceA ( NPPImage_8uC4 dst, MaskSize eMaskSize ) : void
dst NPPImage_8uC4 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
Résultat void

FilterLaplaceBorder() public méthode

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

FilterLaplaceBorderA() public méthode

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

FilterLowPass() public méthode

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

FilterLowPassA() public méthode

Low pass filter. Not affecting Alpha.
public FilterLowPassA ( NPPImage_8uC4 dst, MaskSize eMaskSize ) : void
dst NPPImage_8uC4 Destination-Image
eMaskSize MaskSize Enumeration value specifying the mask size.
Résultat void

FilterLowPassBorder() public méthode

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

FilterLowPassBorderA() public méthode

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

FilterMax() public méthode

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

FilterMaxA() public méthode

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

FilterMaxBorder() public méthode

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

FilterMaxBorderA() public méthode

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

FilterMedian() public méthode

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

FilterMedian() public méthode

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

FilterMedianA() public méthode

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

FilterMedianA() public méthode

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

FilterMedianGetBufferHostSize() public méthode

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

FilterMedianGetBufferHostSizeA() public méthode

Device scratch buffer size (in bytes) for FilterMedian, ignoring alpha channel.
public FilterMedianGetBufferHostSizeA ( NppiSize oMaskSize ) : int
oMaskSize NppiSize
Résultat int

FilterMin() public méthode

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

FilterMinA() public méthode

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

FilterMinBorder() public méthode

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

FilterMinBorderA() public méthode

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

FilterPrewittHoriz() public méthode

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

FilterPrewittHorizA() public méthode

horizontal Prewitt filter. Not affecting Alpha.
public FilterPrewittHorizA ( NPPImage_8uC4 dst ) : void
dst NPPImage_8uC4 Destination-Image
Résultat void

FilterPrewittHorizBorder() public méthode

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

FilterPrewittHorizBorderA() public méthode

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

FilterPrewittVert() public méthode

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

FilterPrewittVertA() public méthode

vertical Prewitt filter. Not affecting Alpha.
public FilterPrewittVertA ( NPPImage_8uC4 dst ) : void
dst NPPImage_8uC4 Destination-Image
Résultat void

FilterPrewittVertBorder() public méthode

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

FilterPrewittVertBorderA() public méthode

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

FilterRobertsDown() public méthode

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

FilterRobertsDownA() public méthode

horizontal Roberts filter. Not affecting Alpha.
public FilterRobertsDownA ( NPPImage_8uC4 dst ) : void
dst NPPImage_8uC4 Destination-Image
Résultat void

FilterRobertsDownBorder() public méthode

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

FilterRobertsDownBorderA() public méthode

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

FilterRobertsUp() public méthode

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

FilterRobertsUpA() public méthode

vertical Roberts filter. Not affecting Alpha.
public FilterRobertsUpA ( NPPImage_8uC4 dst ) : void
dst NPPImage_8uC4 Destination-Image
Résultat void

FilterRobertsUpBorder() public méthode

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

FilterRobertsUpBorderA() public méthode

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

FilterRow() public méthode

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

FilterRow() public méthode

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

FilterRowA() public méthode

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

FilterRowA() public méthode

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

FilterRowBorder() public méthode

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

FilterRowBorder() public méthode

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

FilterRowBorderA() public méthode

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

FilterRowBorderA() public méthode

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

FilterSharpen() public méthode

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

FilterSharpenA() public méthode

Sharpen filter. Not affecting Alpha.
public FilterSharpenA ( NPPImage_8uC4 dst ) : void
dst NPPImage_8uC4 Destination-Image
Résultat void

FilterSharpenBorder() public méthode

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

FilterSharpenBorderA() public méthode

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

FilterSobelHorizBorder() public méthode

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

FilterSobelHorizBorderA() public méthode

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

FilterSobelVert() public méthode

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

FilterSobelVertA() public méthode

vertical Sobel filter. Not affecting Alpha.
public FilterSobelVertA ( NPPImage_8uC4 dst ) : void
dst NPPImage_8uC4 Destination-Image
Résultat void

FilterSobelVertBorder() public méthode

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

FilterSobelVertBorderA() public méthode

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

FilterUnsharpBorder() public méthode

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

FilterUnsharpBorderA() public méthode

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

FilterUnsharpGetBufferSize() public méthode

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

FilterUnsharpGetBufferSizeA() public méthode

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

FullNormLevelAGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for CrossCorrFull_NormLevel. Not affecting Alpha.
public FullNormLevelAGetBufferHostSize ( ) : int
Résultat int

FullNormLevelGetBufferHostSize() public méthode

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

FullNormLevelScaledAGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for CrossCorrFull_NormLevel. Not affecting Alpha.
public FullNormLevelScaledAGetBufferHostSize ( ) : int
Résultat int

FullNormLevelScaledGetBufferHostSize() public méthode

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

GammaA() public méthode

Inplace image forward gamma correction. Not affecting alpha.
public GammaA ( ) : void
Résultat void

GammaA() public méthode

image forward gamma correction. Not affecting alpha.
public GammaA ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

GammaInvA() public méthode

Inplace image inverse gamma correction. Not affecting alpha.
public GammaInvA ( ) : void
Résultat void

GammaInvA() public méthode

image inverse gamma correction. Not affecting alpha.
public GammaInvA ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

GetAffineBound() public méthode

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]
Résultat ].double[

GetAffineQuad() public méthode

Calculates affine transform projection of given source rectangular ROI
public GetAffineQuad ( double coeffs ) : ].double[
coeffs double Affine transform coefficients [2,3]
Résultat ].double[

GetAffineTransform() public méthode

Calculates affine transform coefficients given source rectangular ROI and its destination quadrangle projection
public GetAffineTransform ( double quad ) : ].double[
quad double Destination quadrangle [4,2]
Résultat ].double[

GetPerspectiveBound() public méthode

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]
Résultat ].double[

GetPerspectiveQuad() public méthode

Calculates perspective transform projection of given source rectangular ROI
public GetPerspectiveQuad ( double coeffs ) : ].double[
coeffs double Perspective transform coefficients [3,3]
Résultat ].double[

GetPerspectiveTransform() public méthode

Calculates affine transform coefficients given source rectangular ROI and its destination quadrangle projection
public GetPerspectiveTransform ( double quad ) : ].double[
quad double Destination quadrangle [4,2]
Résultat ].double[

GetRotateBound() public méthode

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
Résultat ].double[

GetRotateQuad() public méthode

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
Résultat ].double[

HLSToBGR() public méthode

4 channel 8-bit unsigned packed HLS with alpha to 4 channel 8-bit unsigned planar BGR with alpha color conversion.
public HLSToBGR ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, NPPImage_8uC1 dest3 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
dest3 NPPImage_8uC1 Destination image channel 3
Résultat void

HLSToBGR() public static méthode

4 channel 8-bit unsigned planar HLS with alpha to 4 channel 8-bit unsigned planar BGR with alpha color conversion.
public static HLSToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 src3, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, NPPImage_8uC1 dest3 ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
src3 NPPImage_8uC1 Source image channel 2
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
dest3 NPPImage_8uC1 Destination image channel 3
Résultat void

HLSToBGR() public static méthode

4 channel 8-bit unsigned planar HLS with alpha to 4 channel 8-bit unsigned packed BGR with alpha color conversion.
public static HLSToBGR ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 src3, NPPImage_8uC4 dest ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
src3 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
Résultat void

HLSToBGR() public méthode

4 channel 8-bit unsigned packed HLS with alpha to 4 channel 8-bit unsigned packed BGR with alpha color conversion.
public HLSToBGR ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

HLSToRGB() public méthode

4 channel 8-bit unsigned packed HLS with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion.
public HLSToRGB ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

HSVToRGB() public méthode

4 channel 8-bit unsigned packed HSV with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion.
public HSVToRGB ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

HistogramEven() public méthode

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

HistogramEven() public méthode

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

HistogramEvenA() public méthode

Histogram with evenly distributed bins. Buffer is internally allocated and freed. Alpha channel is ignored during the histograms computations.
public HistogramEvenA ( CudaDeviceVariable histogram, int nLowerLevel, int nUpperLevel ) : void
histogram CudaDeviceVariable Allocated device memory of size nLevels (3 Variables)
nLowerLevel int Lower boundary of lowest level bin. E.g. 0 for [0..255]. Size = 3
nUpperLevel int Upper boundary of highest level bin. E.g. 256 for [0..255]. Size = 3
Résultat void

HistogramEvenA() public méthode

Histogram with evenly distributed bins. No additional buffer is allocated. Alpha channel is ignored during the histograms computations.
public HistogramEvenA ( CudaDeviceVariable histogram, int nLowerLevel, int nUpperLevel, CudaDeviceVariable buffer ) : void
histogram CudaDeviceVariable Allocated device memory of size nLevels (3 Variables)
nLowerLevel int Lower boundary of lowest level bin. E.g. 0 for [0..255]. Size = 3
nUpperLevel int Upper boundary of highest level bin. E.g. 256 for [0..255]. Size = 3
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

HistogramEvenGetBufferSize() public méthode

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

HistogramEvenGetBufferSizeA() public méthode

Scratch-buffer size for HistogramEven. Not affecting Alpha channel.
public HistogramEvenGetBufferSizeA ( int nLevels ) : int
nLevels int
Résultat int

HistogramRange() public méthode

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

HistogramRange() public méthode

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

HistogramRangeA() public méthode

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

HistogramRangeA() public méthode

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

HistogramRangeGetBufferSize() public méthode

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

HistogramRangeGetBufferSizeA() public méthode

Scratch-buffer size for HistogramRange. Not affecting Alpha channel.
public HistogramRangeGetBufferSizeA ( int nLevels ) : int
nLevels int
Résultat int

LShiftC() public méthode

image bit shift by constant (left), inplace.
public LShiftC ( uint nConstant ) : void
nConstant uint Constant (Array length = 4)
Résultat void

LShiftC() public méthode

image bit shift by constant (left).
public LShiftC ( uint nConstant, NPPImage_8uC4 dest ) : void
nConstant uint Constant (Array length = 4)
dest NPPImage_8uC4 Destination image
Résultat void

LShiftCA() public méthode

image bit shift by constant (left), inplace. Unchanged Alpha.
public LShiftCA ( uint nConstant ) : void
nConstant uint Constant (Array length = 4)
Résultat void

LShiftCA() public méthode

image bit shift by constant (left). Unchanged Alpha.
public LShiftCA ( uint nConstant, NPPImage_8uC4 dest ) : void
nConstant uint Constant (Array length = 4)
dest NPPImage_8uC4 Destination image
Résultat void

LUT() public méthode

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

LUT() public méthode

look-up-table color conversion. The LUT is derived from a set of user defined mapping points with no interpolation.
public LUT ( NPPImage_8uC4 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
dst NPPImage_8uC4 Destination-Image
pValues CudaDeviceVariable Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values.
pLevels CudaDeviceVariable Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. pLevels.Size gives nLevels.
Résultat void

LUTA() public méthode

Inplace look-up-table color conversion. The LUT is derived from a set of user defined mapping points with no interpolation. Not affecting Alpha.
public LUTA ( CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
pValues CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values.
pLevels CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. pLevels.Size gives nLevels.
Résultat void

LUTA() public méthode

look-up-table color conversion. The LUT is derived from a set of user defined mapping points with no interpolation. Not affecting Alpha.
public LUTA ( NPPImage_8uC4 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
dst NPPImage_8uC4 Destination-Image
pValues CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values.
pLevels CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. pLevels.Size gives nLevels.
Résultat void

LUTCubic() public méthode

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

LUTCubic() public méthode

cubic interpolated look-up-table color conversion. The LUT is derived from a set of user defined mapping points through cubic interpolation.
public LUTCubic ( NPPImage_8uC4 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
dst NPPImage_8uC4 Destination-Image
pValues CudaDeviceVariable Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values.
pLevels CudaDeviceVariable Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. pLevels.Size gives nLevels.
Résultat void

LUTCubicA() public méthode

Inplace cubic interpolated look-up-table color conversion. The LUT is derived from a set of user defined mapping points through cubic interpolation. Not affecting Alpha.
public LUTCubicA ( CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
pValues CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values.
pLevels CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. pLevels.Size gives nLevels.
Résultat void

LUTCubicA() public méthode

cubic interpolated look-up-table color conversion. The LUT is derived from a set of user defined mapping points through cubic interpolation. Not affecting Alpha.
public LUTCubicA ( NPPImage_8uC4 dst, CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
dst NPPImage_8uC4 Destination-Image
pValues CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values.
pLevels CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. pLevels.Size gives nLevels.
Résultat void

LUTLinear() public méthode

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

LUTLinearA() public méthode

Inplace linear interpolated look-up-table color conversion. The LUT is derived from a set of user defined mapping points through cubic interpolation. Not affecting Alpha.
public LUTLinearA ( CudaDeviceVariable pValues, CudaDeviceVariable pLevels ) : void
pValues CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT values.
pLevels CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined INPUT values. pLevels.Size gives nLevels.
Résultat void

LUTPalette() public méthode

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_8uC4 dst, CudaDeviceVariable pTable, int nBitSize ) : void
dst NPPImage_8uC4 Destination-Image
pTable CudaDeviceVariable Host pointer to an array of 4 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT palette values.
nBitSize int Number of least significant bits (must be > 0 and <= 8) of each source pixel value to use as index into palette table during conversion.
Résultat void

LUTPaletteA() public méthode

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. Not affecting Alpha.
public LUTPaletteA ( NPPImage_8uC4 dst, CudaDeviceVariable pTable, int nBitSize ) : void
dst NPPImage_8uC4 Destination-Image
pTable CudaDeviceVariable Host pointer to an array of 3 device memory pointers, one per color CHANNEL, pointing to user defined OUTPUT palette values.
nBitSize int Number of least significant bits (must be > 0 and <= 8) of each source pixel value to use as index into palette table during conversion.
Résultat void

LUTTrilinear() public méthode

Four channel 8-bit unsigned 3D trilinear interpolated look-up-table color conversion, with alpha copy. Alpha channel is the last channel and is copied to the destination unmodified. The LUT is derived from a set of user defined mapping points through trilinear interpolation.
public LUTTrilinear ( NPPImage_8uC4 dst, CudaDeviceVariable pValues, int pLevels0, int pLevels1, int pLevels2, int aLevels ) : void
dst NPPImage_8uC4 Destination-Image
pValues CudaDeviceVariable Device pointer to aLevels[2] number of contiguous 2D x,y planes of 4-byte packed RGBX values /// containing the user defined base OUTPUT values at that x,y, and z (R,G,B) level location. Each level must contain x * y 4-byte /// packed pixel values (4th byte is used for alignement only and is ignored) in row (x) order.
pLevels0 int array, cube edge 0, with user defined INPUT level values.
pLevels1 int array, cube edge 1, with user defined INPUT level values.
pLevels2 int array, cube edge 2, with user defined INPUT level values.
aLevels int Host pointer to an array of 3 user defined number of input/output mapping points, one per 3D cube edge. /// aLevels[0] represents the number of x axis levels (Red), aLevels[1] represents the number of y axis levels (Green), /// and aLevels[2] represets the number of z axis levels (Blue).
Résultat void

LUTTrilinearA() public méthode

Four channel 8-bit unsigned 3D trilinear interpolated look-up-table color conversion, not affecting alpha. Alpha channel is the last channel and is not processed. The LUT is derived from a set of user defined mapping points through trilinear interpolation.
public LUTTrilinearA ( CudaDeviceVariable pValues, int pLevels0, int pLevels1, int pLevels2, int aLevels ) : void
pValues CudaDeviceVariable Device pointer to aLevels[2] number of contiguous 2D x,y planes of 4-byte packed RGBX values /// containing the user defined base OUTPUT values at that x,y, and z (R,G,B) level location. Each level must contain x * y 4-byte /// packed pixel values (4th byte is used for alignement only and is ignored) in row (x) order.
pLevels0 int array, cube edge 0, with user defined INPUT level values.
pLevels1 int array, cube edge 1, with user defined INPUT level values.
pLevels2 int array, cube edge 2, with user defined INPUT level values.
aLevels int Host pointer to an array of 3 user defined number of input/output mapping points, one per 3D cube edge. /// aLevels[0] represents the number of x axis levels (Red), aLevels[1] represents the number of y axis levels (Green), /// and aLevels[2] represets the number of z axis levels (Blue).
Résultat void

LUTTrilinearA() public méthode

Four channel 8-bit unsigned 3D trilinear interpolated look-up-table color conversion, not affecting alpha. Alpha channel is the last channel and is not processed. The LUT is derived from a set of user defined mapping points through trilinear interpolation.
public LUTTrilinearA ( NPPImage_8uC4 dst, CudaDeviceVariable pValues, int pLevels0, int pLevels1, int pLevels2, int aLevels ) : void
dst NPPImage_8uC4 Destination-Image
pValues CudaDeviceVariable Device pointer to aLevels[2] number of contiguous 2D x,y planes of 4-byte packed RGBX values /// containing the user defined base OUTPUT values at that x,y, and z (R,G,B) level location. Each level must contain x * y 4-byte /// packed pixel values (4th byte is used for alignement only and is ignored) in row (x) order.
pLevels0 int array, cube edge 0, with user defined INPUT level values.
pLevels1 int array, cube edge 1, with user defined INPUT level values.
pLevels2 int array, cube edge 2, with user defined INPUT level values.
aLevels int Host pointer to an array of 3 user defined number of input/output mapping points, one per 3D cube edge. /// aLevels[0] represents the number of x axis levels (Red), aLevels[1] represents the number of y axis levels (Green), /// and aLevels[2] represets the number of z axis levels (Blue).
Résultat void

LUVToRGB() public méthode

4 channel 8-bit unsigned packed LUV with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion.
public LUVToRGB ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

Lut() public méthode

look-up-table color conversion. The LUT is derived from a set of user defined mapping points through linear interpolation.
public Lut ( NPPImage_8uC4 dest, CudaDeviceVariable values0, CudaDeviceVariable levels0, CudaDeviceVariable values1, CudaDeviceVariable levels1, CudaDeviceVariable values2, CudaDeviceVariable levels2, CudaDeviceVariable values3, CudaDeviceVariable levels3 ) : void
dest NPPImage_8uC4 Destination image
values0 CudaDeviceVariable array of user defined OUTPUT values, channel 0
levels0 CudaDeviceVariable array of user defined INPUT values, channel 0
values1 CudaDeviceVariable array of user defined OUTPUT values, channel 1
levels1 CudaDeviceVariable array of user defined INPUT values, channel 1
values2 CudaDeviceVariable array of user defined OUTPUT values, channel 2
levels2 CudaDeviceVariable array of user defined INPUT values, channel 2
values3 CudaDeviceVariable array of user defined OUTPUT values, channel 3
levels3 CudaDeviceVariable array of user defined INPUT values, channel 3
Résultat void

LutA() public méthode

look-up-table color conversion. The LUT is derived from a set of user defined mapping points through linear interpolation. Not affecting alpha channel.
public LutA ( NPPImage_8uC4 dest, CudaDeviceVariable values0, CudaDeviceVariable levels0, CudaDeviceVariable values1, CudaDeviceVariable levels1, CudaDeviceVariable values2, CudaDeviceVariable levels2 ) : void
dest NPPImage_8uC4 Destination image
values0 CudaDeviceVariable array of user defined OUTPUT values, channel 0
levels0 CudaDeviceVariable array of user defined INPUT values, channel 0
values1 CudaDeviceVariable array of user defined OUTPUT values, channel 1
levels1 CudaDeviceVariable array of user defined INPUT values, channel 1
values2 CudaDeviceVariable array of user defined OUTPUT values, channel 2
levels2 CudaDeviceVariable array of user defined INPUT values, channel 2
Résultat void

Max() public méthode

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

Max() public méthode

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

MaxA() public méthode

Image pixel maximum. Buffer is internally allocated and freed. Not affecting alpha.
public MaxA ( CudaDeviceVariable max ) : void
max CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(byte)
Résultat void

MaxA() public méthode

Image pixel maximum. No additional buffer is allocated. Not affecting alpha.
public MaxA ( CudaDeviceVariable max, CudaDeviceVariable buffer ) : void
max CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(byte)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

MaxError() public méthode

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

MaxError() public méthode

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

MaxErrorGetBufferHostSize() public méthode

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

MaxEvery() public méthode

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

MaxEveryA() public méthode

image MaxEvery Not affecting Alpha.
public MaxEveryA ( NPPImage_8uC4 src2 ) : void
src2 NPPImage_8uC4 Source-Image
Résultat void

MaxGetBufferHostSize() public méthode

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

MaxGetBufferHostSizeA() public méthode

Scratch-buffer size for Max. Not affecting alpha.
public MaxGetBufferHostSizeA ( ) : int
Résultat int

MaxIndex() public méthode

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

MaxIndex() public méthode

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

MaxIndexA() public méthode

Image pixel maximum. Buffer is internally allocated and freed. Not affecting alpha.
public MaxIndexA ( CudaDeviceVariable max, CudaDeviceVariable indexX, CudaDeviceVariable indexY ) : void
max CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(byte)
indexX CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
Résultat void

MaxIndexA() public méthode

Image pixel minimum. No additional buffer is allocated. Not affecting alpha.
public MaxIndexA ( CudaDeviceVariable max, CudaDeviceVariable indexX, CudaDeviceVariable indexY, CudaDeviceVariable buffer ) : void
max CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(byte)
indexX CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

MaxIndexGetBufferHostSize() public méthode

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

MaxIndexGetBufferHostSizeA() public méthode

Scratch-buffer size for MaxIndex. Not affecting alpha.
public MaxIndexGetBufferHostSizeA ( ) : int
Résultat int

MaximumRelativeError() public méthode

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

MaximumRelativeError() public méthode

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

MaximumRelativeErrorGetBufferHostSize() public méthode

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

Mean() public méthode

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

Mean() public méthode

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

MeanA() public méthode

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

MeanA() public méthode

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

MeanGetBufferHostSize() public méthode

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

MeanGetBufferHostSizeA() public méthode

Scratch-buffer size for Mean. Not affecting alpha.
public MeanGetBufferHostSizeA ( ) : int
Résultat int

Min() public méthode

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

Min() public méthode

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

MinA() public méthode

Image pixel minimum. Buffer is internally allocated and freed. Not affecting alpha.
public MinA ( CudaDeviceVariable min ) : void
min CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(byte)
Résultat void

MinA() public méthode

Image pixel minimum. No additional buffer is allocated. Not affecting alpha.
public MinA ( CudaDeviceVariable min, CudaDeviceVariable buffer ) : void
min CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(byte)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

MinEvery() public méthode

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

MinEveryA() public méthode

image MinEvery Not affecting Alpha.
public MinEveryA ( NPPImage_8uC4 src2 ) : void
src2 NPPImage_8uC4 Source-Image
Résultat void

MinGetBufferHostSize() public méthode

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

MinGetBufferHostSizeA() public méthode

Scratch-buffer size for Min. Not affecting alpha.
public MinGetBufferHostSizeA ( ) : int
Résultat int

MinIndex() public méthode

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

MinIndex() public méthode

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

MinIndexA() public méthode

Image pixel minimum. Buffer is internally allocated and freed. Not affecting alpha.
public MinIndexA ( CudaDeviceVariable min, CudaDeviceVariable indexX, CudaDeviceVariable indexY ) : void
min CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(byte)
indexX CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
Résultat void

MinIndexA() public méthode

Image pixel minimum. No additional buffer is allocated. Not affecting alpha.
public MinIndexA ( CudaDeviceVariable min, CudaDeviceVariable indexX, CudaDeviceVariable indexY, CudaDeviceVariable buffer ) : void
min CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(byte)
indexX CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
indexY CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(int)
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

MinIndexGetBufferHostSize() public méthode

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

MinIndexGetBufferHostSizeA() public méthode

Scratch-buffer size for MinIndex. Not affecting alpha.
public MinIndexGetBufferHostSizeA ( ) : int
Résultat int

MinMax() public méthode

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

MinMax() public méthode

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

MinMaxGetBufferHostSize() public méthode

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

Mirror() public méthode

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

Mirror() public méthode

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

MirrorA() public méthode

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

MirrorA() public méthode

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

Mul() public méthode

In place image multiplication and scale by max bit width value
public Mul ( NPPImage_8uC4 src2 ) : void
src2 NPPImage_8uC4 2nd source image
Résultat void

Mul() public méthode

Image multiplication and scale by max bit width value.
public Mul ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void
src2 NPPImage_8uC4 2nd source image
dest NPPImage_8uC4 Destination image
Résultat void

Mul() public méthode

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

Mul() public méthode

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

Mul() public méthode

Multiply constant to image and scale by max bit width value
public Mul ( byte nConstant ) : void
nConstant byte Value
Résultat void

Mul() public méthode

Multiply constant to image and scale by max bit width value
public Mul ( byte nConstant, NPPImage_8uC4 dest ) : void
nConstant byte Value
dest NPPImage_8uC4 Destination image
Résultat void

Mul() public méthode

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

Mul() public méthode

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

MulA() public méthode

In place image multiplication and scale by max bit width value. Unchanged Alpha.
public MulA ( NPPImage_8uC4 src2 ) : void
src2 NPPImage_8uC4 2nd source image
Résultat void

MulA() public méthode

Image multiplication and scale by max bit width value. Unchanged Alpha.
public MulA ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void
src2 NPPImage_8uC4 2nd source image
dest NPPImage_8uC4 Destination image
Résultat void

MulA() public méthode

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

MulA() public méthode

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

MulA() public méthode

Multiply constant to image and scale by max bit width value. Unchanged Alpha.
public MulA ( byte nConstant ) : void
nConstant byte Value
Résultat void

MulA() public méthode

Multiply constant to image and scale by max bit width value. Unchanged Alpha.
public MulA ( byte nConstant, NPPImage_8uC4 dest ) : void
nConstant byte Value
dest NPPImage_8uC4 Destination image
Résultat void

MulA() public méthode

Multiply constant to image, scale by 2^(-nScaleFactor), then clamp to saturated value. Unchanged Alpha.
public MulA ( byte nConstant, NPPImage_8uC4 dest, int nScaleFactor ) : void
nConstant byte Value
dest NPPImage_8uC4 Destination image
nScaleFactor int scaling factor
Résultat void

MulA() public méthode

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

NPPImage_8uC4() public méthode

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

NPPImage_8uC4() public méthode

Creates a new NPPImage from allocated device ptr.
public NPPImage_8uC4 ( 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
Résultat System

NPPImage_8uC4() public méthode

Creates a new NPPImage from allocated device ptr. Does not take ownership of decPtr.
public NPPImage_8uC4 ( 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
Résultat System

NPPImage_8uC4() public méthode

Creates a new NPPImage from allocated device ptr.
public NPPImage_8uC4 ( 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
Résultat System

NPPImage_8uC4() public méthode

Creates a new NPPImage from allocated device ptr.
public NPPImage_8uC4 ( CudaPitchedDeviceVariable devPtr ) : System
devPtr CudaPitchedDeviceVariable Already allocated device ptr.
Résultat System

NPPImage_8uC4() public méthode

Creates a new NPPImage from allocated device ptr.
public NPPImage_8uC4 ( CudaPitchedDeviceVariable devPtr, bool isOwner ) : System
devPtr CudaPitchedDeviceVariable Already allocated device ptr.
isOwner bool If TRUE, devPtr is freed when disposing
Résultat System

NPPImage_8uC4() public méthode

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

NPPImage_8uC4() public méthode

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

NPPImage_8uC4() public méthode

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

NormDiffInfAGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for NormDiff_Inf. Not affecting Alpha.
public NormDiffInfAGetBufferHostSize ( ) : int
Résultat int

NormDiffInfGetBufferHostSize() public méthode

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

NormDiffL1AGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for NormDiff_L1. Not affecting Alpha.
public NormDiffL1AGetBufferHostSize ( ) : int
Résultat int

NormDiffL1GetBufferHostSize() public méthode

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

NormDiffL2AGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for NormDiff_L2. Not affecting Alpha.
public NormDiffL2AGetBufferHostSize ( ) : int
Résultat int

NormDiffL2GetBufferHostSize() public méthode

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

NormDiff_Inf() public méthode

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

NormDiff_Inf() public méthode

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

NormDiff_InfA() public méthode

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

NormDiff_InfA() public méthode

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

NormDiff_L1() public méthode

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

NormDiff_L1() public méthode

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

NormDiff_L1A() public méthode

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

NormDiff_L1A() public méthode

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

NormDiff_L2() public méthode

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

NormDiff_L2() public méthode

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

NormDiff_L2A() public méthode

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

NormDiff_L2A() public méthode

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

NormInf() public méthode

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

NormInf() public méthode

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

NormInfGetBufferHostSize() public méthode

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

NormL1() public méthode

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

NormL1() public méthode

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

NormL1GetBufferHostSize() public méthode

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

NormL2() public méthode

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

NormL2() public méthode

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

NormL2GetBufferHostSize() public méthode

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

NormRelInfAGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for NormRel_Inf. Not affecting Alpha.
public NormRelInfAGetBufferHostSize ( ) : int
Résultat int

NormRelInfGetBufferHostSize() public méthode

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

NormRelL1AGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for NormRel_L1. Not affecting Alpha.
public NormRelL1AGetBufferHostSize ( ) : int
Résultat int

NormRelL1GetBufferHostSize() public méthode

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

NormRelL2AGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for NormRel_L2. Not affecting Alpha.
public NormRelL2AGetBufferHostSize ( ) : int
Résultat int

NormRelL2GetBufferHostSize() public méthode

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

NormRel_Inf() public méthode

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

NormRel_Inf() public méthode

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

NormRel_InfA() public méthode

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

NormRel_InfA() public méthode

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

NormRel_L1() public méthode

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

NormRel_L1() public méthode

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

NormRel_L1A() public méthode

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

NormRel_L1A() public méthode

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

NormRel_L2() public méthode

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

NormRel_L2() public méthode

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

NormRel_L2A() public méthode

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

NormRel_L2A() public méthode

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

Not() public méthode

In place image logical Not.
public Not ( ) : void
Résultat void

Not() public méthode

Image logical Not.
public Not ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

NotA() public méthode

In place image logical Not. Unchanged Alpha.
public NotA ( ) : void
Résultat void

NotA() public méthode

Image logical Not. Unchanged Alpha.
public NotA ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

Or() public méthode

In place image logical Or.
public Or ( NPPImage_8uC4 src2 ) : void
src2 NPPImage_8uC4 2nd source image
Résultat void

Or() public méthode

Image logical Or.
public Or ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void
src2 NPPImage_8uC4 2nd source image
dest NPPImage_8uC4 Destination image
Résultat void

Or() public méthode

In place image logical Or with constant.
public Or ( byte nConstant ) : void
nConstant byte Value (Array length = 4)
Résultat void

Or() public méthode

Image logical Or with constant.
public Or ( byte nConstant, NPPImage_8uC4 dest ) : void
nConstant byte Value (Array length = 4)
dest NPPImage_8uC4 Destination image
Résultat void

OrA() public méthode

In place image logical Or. Unchanged Alpha.
public OrA ( NPPImage_8uC4 src2 ) : void
src2 NPPImage_8uC4 2nd source image
Résultat void

OrA() public méthode

Image logical Or. Unchanged Alpha.
public OrA ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void
src2 NPPImage_8uC4 2nd source image
dest NPPImage_8uC4 Destination image
Résultat void

OrA() public méthode

In place image logical Or with constant. Unchanged Alpha.
public OrA ( byte nConstant ) : void
nConstant byte Value (Array length = 4)
Résultat void

OrA() public méthode

Image logical Or with constant. Unchanged Alpha.
public OrA ( byte nConstant, NPPImage_8uC4 dest ) : void
nConstant byte Value (Array length = 4)
dest NPPImage_8uC4 Destination image
Résultat void

QualityIndexA() public méthode

image QualityIndex. Not affecting Alpha.
public QualityIndexA ( NPPImage_8uC4 src2, CudaDeviceVariable dst ) : void
src2 NPPImage_8uC4 2nd source image
dst CudaDeviceVariable Pointer to the quality index. (3 * sizeof(float))
Résultat void

QualityIndexA() public méthode

image QualityIndex. Not affecting Alpha.
public QualityIndexA ( NPPImage_8uC4 src2, CudaDeviceVariable dst, CudaDeviceVariable buffer ) : void
src2 NPPImage_8uC4 2nd source image
dst CudaDeviceVariable Pointer to the quality index. (3 * sizeof(float))
buffer CudaDeviceVariable Allocated device memory with size of at
Résultat void

QualityIndexAGetBufferHostSize() public méthode

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

RGBToGrayA() public méthode

RGB to Gray conversion, not affecting Alpha.
public RGBToGrayA ( NPPImage_8uC1 dest ) : void
dest NPPImage_8uC1 Destination image
Résultat void

RGBToHLS() public méthode

4 channel 8-bit unsigned packed RGB with alpha to 4 channel 8-bit unsigned packed HLS with alpha color conversion.
public RGBToHLS ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

RGBToHSV() public méthode

4 channel 8-bit unsigned packed RGB with alpha to 4 channel 8-bit unsigned packed HSV with alpha color conversion.
public RGBToHSV ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

RGBToLUV() public méthode

4 channel 8-bit unsigned packed RGB with alpha to 4 channel 8-bit unsigned packed LUV with alpha color conversion.
public RGBToLUV ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

RGBToXYZ() public méthode

4 channel 8-bit unsigned packed RGB with alpha to 4 channel 8-bit unsigned packed XYZ with alpha color conversion.
public RGBToXYZ ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

RGBToYCbCr() public méthode

4 channel 8-bit unsigned packed RGB with alpha to 3 channel 8-bit unsigned planar YCbCr color conversion.
public RGBToYCbCr ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Résultat void

RGBToYCbCr() public méthode

4 channel 8-bit unsigned packed RGB to packed YCbCr color conversion. Alpha channel is the last channel and is not processed.
public RGBToYCbCr ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

RGBToYCbCr411() public méthode

4 channel 8-bit unsigned packed RGB with alpha to 3 channel 8-bit unsigned planar YCbCr411 color conversion.
public RGBToYCbCr411 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Résultat void

RGBToYCrCb420() public méthode

4 channel 8-bit unsigned packed RGB with alpha to 3 channel 8-bit unsigned planar YCrCb420 color conversion.
public RGBToYCrCb420 ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
Résultat void

RGBToYUV() public méthode

4 channel 8-bit unsigned packed RGB with alpha to 4 channel 8-bit unsigned planar YUV color conversion with alpha.
public RGBToYUV ( NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, NPPImage_8uC1 dest3 ) : void
dest0 NPPImage_8uC1 Destination image channel 0
dest1 NPPImage_8uC1 Destination image channel 1
dest2 NPPImage_8uC1 Destination image channel 2
dest3 NPPImage_8uC1 Destination image channel 3
Résultat void

RGBToYUV() public méthode

4 channel 8-bit unsigned packed RGB with alpha to 4 channel 8-bit unsigned packed YUV color conversion with alpha, not affecting alpha.
public RGBToYUV ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

RShiftC() public méthode

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

RShiftC() public méthode

image bit shift by constant (right).
public RShiftC ( uint nConstant, NPPImage_8uC4 dest ) : void
nConstant uint Constant (Array length = 4)
dest NPPImage_8uC4 Destination image
Résultat void

RShiftCA() public méthode

image bit shift by constant (right), inplace. Unchanged Alpha.
public RShiftCA ( uint nConstant ) : void
nConstant uint Constant (Array length = 4)
Résultat void

RShiftCA() public méthode

image bit shift by constant (right). Unchanged Alpha.
public RShiftCA ( uint nConstant, NPPImage_8uC4 dest ) : void
nConstant uint Constant (Array length = 4)
dest NPPImage_8uC4 Destination image
Résultat void

Remap() public static méthode

planar image remap.
public static Remap ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 src3, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, NPPImage_8uC1 dest3, NPPImage_32fC1 pXMap, NPPImage_32fC1 pYMap, InterpolationMode eInterpolation ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
src3 NPPImage_8uC1 Source image (Channel 3)
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
dest3 NPPImage_8uC1 Destination image (Channel 3)
pXMap NPPImage_32fC1 Device memory pointer to 2D image array of X coordinate values to be used when sampling source image.
pYMap NPPImage_32fC1 Device memory pointer to 2D image array of Y coordinate values to be used when sampling source image.
eInterpolation InterpolationMode The type of eInterpolation to perform resampling.
Résultat void

Remap() public méthode

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

RemapA() public méthode

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

Resize() public static méthode

resizes planar images.
public static Resize ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 src3, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, NPPImage_8uC1 dest3, double xFactor, double yFactor, InterpolationMode eInterpolation ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
src3 NPPImage_8uC1 Source image (Channel 3)
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
dest3 NPPImage_8uC1 Destination image (Channel 3)
xFactor double X scaling factor
yFactor double Y scaling factor
eInterpolation InterpolationMode Interpolation mode
Résultat void

Resize() public méthode

Resizes images.
public Resize ( NPPImage_8uC4 dest, double xFactor, double yFactor, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC4 Destination image
xFactor double X scaling factor
yFactor double Y scaling factor
eInterpolation InterpolationMode Interpolation mode
Résultat void

ResizeA() public méthode

Resizes images. Not affecting Alpha.
public ResizeA ( NPPImage_8uC4 dest, double xFactor, double yFactor, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC4 Destination image
xFactor double X scaling factor
yFactor double Y scaling factor
eInterpolation InterpolationMode Interpolation mode
Résultat void

ResizeSqrPixel() public static méthode

planar image resize.
public static ResizeSqrPixel ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC1 src3, NPPImage_8uC1 dest0, NPPImage_8uC1 dest1, NPPImage_8uC1 dest2, NPPImage_8uC1 dest3, double nXFactor, double nYFactor, double nXShift, double nYShift, InterpolationMode eInterpolation ) : void
src0 NPPImage_8uC1 Source image (Channel 0)
src1 NPPImage_8uC1 Source image (Channel 1)
src2 NPPImage_8uC1 Source image (Channel 2)
src3 NPPImage_8uC1 Source image (Channel 3)
dest0 NPPImage_8uC1 Destination image (Channel 0)
dest1 NPPImage_8uC1 Destination image (Channel 1)
dest2 NPPImage_8uC1 Destination image (Channel 2)
dest3 NPPImage_8uC1 Destination image (Channel 3)
nXFactor double Factor by which x dimension is changed.
nYFactor double Factor by which y dimension is changed.
nXShift double Source pixel shift in x-direction.
nYShift double Source pixel shift in y-direction.
eInterpolation InterpolationMode The type of eInterpolation to perform resampling.
Résultat void

ResizeSqrPixel() public méthode

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

ResizeSqrPixelA() public méthode

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

Rotate() public méthode

Rotate images.
public Rotate ( NPPImage_8uC4 dest, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC4 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
Résultat void

RotateA() public méthode

Rotate images. Not affecting Alpha.
public RotateA ( NPPImage_8uC4 dest, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC4 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
Résultat void

SameNormLevelAGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for CrossCorrSame_NormLevel. Not affecting Alpha.
public SameNormLevelAGetBufferHostSize ( ) : int
Résultat int

SameNormLevelGetBufferHostSize() public méthode

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

SameNormLevelScaledAGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for CrossCorrSame_NormLevel. Not affecting Alpha.
public SameNormLevelScaledAGetBufferHostSize ( ) : int
Résultat int

SameNormLevelScaledGetBufferHostSize() public méthode

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

Scale() public méthode

image conversion.
public Scale ( NPPImage_16sC4 dst ) : void
dst NPPImage_16sC4 Destination-Image
Résultat void

Scale() public méthode

image conversion.
public Scale ( NPPImage_16uC4 dst ) : void
dst NPPImage_16uC4 Destination-Image
Résultat void

Scale() public méthode

image conversion.
public Scale ( NPPImage_32fC4 dst, float nMin, float nMax ) : void
dst NPPImage_32fC4 Destination-Image
nMin float specifies the minimum saturation value to which every output value will be clamped.
nMax float specifies the maximum saturation value to which every output value will be clamped.
Résultat void

Scale() public méthode

image conversion.
public Scale ( NPPImage_32sC4 dst ) : void
dst NPPImage_32sC4 Destination-Image
Résultat void

ScaleA() public méthode

image conversion. Not affecting Alpha.
public ScaleA ( NPPImage_16sC4 dst ) : void
dst NPPImage_16sC4 Destination-Image
Résultat void

ScaleA() public méthode

image conversion. Not affecting Alpha.
public ScaleA ( NPPImage_16uC4 dst ) : void
dst NPPImage_16uC4 Destination-Image
Résultat void

ScaleA() public méthode

image conversion. Not affecting Alpha.
public ScaleA ( NPPImage_32fC4 dst, float nMin, float nMax ) : void
dst NPPImage_32fC4 Destination-Image
nMin float specifies the minimum saturation value to which every output value will be clamped.
nMax float specifies the maximum saturation value to which every output value will be clamped.
Résultat void

ScaleA() public méthode

image conversion. Not affecting Alpha.
public ScaleA ( NPPImage_32sC4 dst ) : void
dst NPPImage_32sC4 Destination-Image
Résultat void

Set() public méthode

Set pixel values to nValue.
public Set ( byte nValue ) : void
nValue byte Value to be set (Array size = 4)
Résultat void

Set() public méthode

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

Set() public méthode

Set pixel values to nValue. The 8-bit mask image affects setting of the respective pixels in the destination image. If the mask value is zero (0) the pixel is not set, if the mask is non-zero, the corresponding destination pixel is set to specified value.
public Set ( byte nValue, int channel ) : void
nValue byte Value to be set
channel int Channel number. This number is added to the dst pointer
Résultat void

SetA() public méthode

Set pixel values to nValue. The 8-bit mask image affects setting of the respective pixels in the destination image. If the mask value is zero (0) the pixel is not set, if the mask is non-zero, the corresponding destination pixel is set to specified value. Not affecting alpha channel.
public SetA ( byte nValue ) : void
nValue byte Value to be set (Array size = 3)
Résultat void

SetA() public méthode

Set pixel values to nValue. The 8-bit mask image affects setting of the respective pixels in the destination image. If the mask value is zero (0) the pixel is not set, if the mask is non-zero, the corresponding destination pixel is set to specified value. Not affecting alpha channel.
public SetA ( byte nValue, NPPImage_8uC1 mask ) : void
nValue byte Value to be set (Array size = 3)
mask NPPImage_8uC1 Mask image
Résultat void

SobelHoriz() public méthode

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

SobelHorizA() public méthode

horizontal Sobel filter. Not affecting Alpha.
public SobelHorizA ( NPPImage_8uC4 dst ) : void
dst NPPImage_8uC4 Destination-Image
Résultat void

Sqr() public méthode

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

Sqr() public méthode

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

SqrA() public méthode

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

SqrA() public méthode

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

SqrDistanceFull_Norm() public méthode

image SqrDistanceFull_Norm.
public SqrDistanceFull_Norm ( NPPImage_8uC4 tpl, NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_32fC4 Destination-Image
Résultat void

SqrDistanceFull_Norm() public méthode

image SqrDistanceFull_Norm.
public SqrDistanceFull_Norm ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination-Image
nScaleFactor int Integer Result Scaling.
Résultat void

SqrDistanceFull_NormA() public méthode

image SqrDistanceFull_Norm. Not affecting Alpha.
public SqrDistanceFull_NormA ( NPPImage_8uC4 tpl, NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_32fC4 Destination-Image
Résultat void

SqrDistanceFull_NormA() public méthode

image SqrDistanceFull_Norm. Not affecting Alpha.
public SqrDistanceFull_NormA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination-Image
nScaleFactor int Integer Result Scaling.
Résultat void

SqrDistanceSame_Norm() public méthode

image SqrDistanceSame_Norm.
public SqrDistanceSame_Norm ( NPPImage_8uC4 tpl, NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_32fC4 Destination-Image
Résultat void

SqrDistanceSame_Norm() public méthode

image SqrDistanceSame_Norm.
public SqrDistanceSame_Norm ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination-Image
nScaleFactor int Integer Result Scaling.
Résultat void

SqrDistanceSame_NormA() public méthode

image SqrDistanceSame_Norm. Not affecting Alpha.
public SqrDistanceSame_NormA ( NPPImage_8uC4 tpl, NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_32fC4 Destination-Image
Résultat void

SqrDistanceSame_NormA() public méthode

image SqrDistanceSame_Norm. Not affecting Alpha.
public SqrDistanceSame_NormA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination-Image
nScaleFactor int Integer Result Scaling.
Résultat void

SqrDistanceValid_Norm() public méthode

image SqrDistanceValid_Norm.
public SqrDistanceValid_Norm ( NPPImage_8uC4 tpl, NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_32fC4 Destination-Image
Résultat void

SqrDistanceValid_Norm() public méthode

image SqrDistanceValid_Norm.
public SqrDistanceValid_Norm ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination-Image
nScaleFactor int Integer Result Scaling.
Résultat void

SqrDistanceValid_NormA() public méthode

image SqrDistanceValid_Norm. Not affecting Alpha.
public SqrDistanceValid_NormA ( NPPImage_8uC4 tpl, NPPImage_32fC4 dst ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_32fC4 Destination-Image
Résultat void

SqrDistanceValid_NormA() public méthode

image SqrDistanceValid_Norm. Not affecting Alpha.
public SqrDistanceValid_NormA ( NPPImage_8uC4 tpl, NPPImage_8uC4 dst, int nScaleFactor ) : void
tpl NPPImage_8uC4 template image.
dst NPPImage_8uC4 Destination-Image
nScaleFactor int Integer Result Scaling.
Résultat void

Sqrt() public méthode

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

Sqrt() public méthode

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

SqrtA() public méthode

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

SqrtA() public méthode

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

Sub() public méthode

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

Sub() public méthode

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

Sub() public méthode

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

Sub() public méthode

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

SubA() public méthode

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

SubA() public méthode

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

SubA() public méthode

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

SubA() public méthode

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

Sum() public méthode

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

Sum() public méthode

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

Sum() public méthode

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

Sum() public méthode

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

SumA() public méthode

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

SumA() public méthode

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

SumDoubleGetBufferHostSize() public méthode

Scratch-buffer size for nppiSum_8u_C4R.
public SumDoubleGetBufferHostSize ( ) : int
Résultat int

SumDoubleGetBufferHostSizeA() public méthode

Scratch-buffer size for nppiSum_8u_C4R. Not affecting alpha.
public SumDoubleGetBufferHostSizeA ( ) : int
Résultat int

SumLongGetBufferHostSize() public méthode

Scratch-buffer size for nppiSum_8u_C4R.
public SumLongGetBufferHostSize ( ) : int
Résultat int

SumWindowColumn() public méthode

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

SumWindowColumnBorder() public méthode

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

SumWindowRow() public méthode

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

SumWindowRowBorder() public méthode

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

SwapChannels() public méthode

Swap channels.
public SwapChannels ( NPPImage_8uC3 dest, int aDstOrder ) : void
dest NPPImage_8uC3 Destination image
aDstOrder int Host memory integer array describing how channel values are permutated. The n-th entry /// of the array contains the number of the channel that is stored in the n-th channel of /// the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to a 3 channel BGR /// channel order.
Résultat void

SwapChannels() public méthode

Swap channels.
public SwapChannels ( NPPImage_8uC4 dest, int aDstOrder ) : void
dest NPPImage_8uC4 Destination image
aDstOrder int Integer array describing how channel values are permutated. The n-th entry of the array /// contains the number of the channel that is stored in the n-th channel of the output image. E.g. /// Given an RGBA image, aDstOrder = [3,2,1,0] converts this to ABGR channel order.
Résultat void

SwapChannels() public méthode

Swap channels, in-place.
public SwapChannels ( int aDstOrder ) : void
aDstOrder int Integer array describing how channel values are permutated. The n-th entry of the array /// contains the number of the channel that is stored in the n-th channel of the output image. E.g. /// Given an RGBA image, aDstOrder = [3,2,1,0] converts this to ABGR channel order.
Résultat void

SwapChannelsA() public méthode

Swap channels. Not affecting Alpha
public SwapChannelsA ( NPPImage_8uC4 dest, int aDstOrder ) : void
dest NPPImage_8uC4 Destination image
aDstOrder int Integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of /// the output image. E.g. Given an RGBA image, aDstOrder = [2,1,0] converts this to BGRA /// channel order. In the AC4R case, the alpha channel is always assumed to be channel 3. ///
Résultat void

Threshold() public méthode

If for a comparison operations OP the predicate (sourcePixel.channel OP nThreshold) is true, the channel value is set to nThreshold, otherwise it is set to sourcePixel. Not affecting Alpha.
public Threshold ( NPPImage_8uC4 dest, NppCmpOp eComparisonOperation, byte aThresholds ) : void
dest NPPImage_8uC4 Destination image
eComparisonOperation NppCmpOp The type of comparison operation to be used. The only valid values are: NppCmpOp.Less and NppCmpOp.Greater
aThresholds byte The threshold values, one per color channel. (Size = 3)
Résultat void

Threshold() public méthode

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

Threshold() public méthode

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

Threshold() public méthode

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

Threshold() public méthode

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

ThresholdGT() public méthode

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

ThresholdGT() public méthode

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

ThresholdGT() public méthode

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

ThresholdGT() public méthode

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

ThresholdLT() public méthode

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

ThresholdLT() public méthode

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

ThresholdLT() public méthode

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

ThresholdLT() public méthode

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

ThresholdLTGT() public méthode

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

ThresholdLTGT() public méthode

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

ToCudaPitchedDeviceVariable() public méthode

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

Transpose() public méthode

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

ValidNormLevelAGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel. Not affecting Alpha.
public ValidNormLevelAGetBufferHostSize ( ) : int
Résultat int

ValidNormLevelGetBufferHostSize() public méthode

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

ValidNormLevelScaledAGetBufferHostSize() public méthode

Device scratch buffer size (in bytes) for CrossCorrValid_NormLevel. Not affecting Alpha.
public ValidNormLevelScaledAGetBufferHostSize ( ) : int
Résultat int

ValidNormLevelScaledGetBufferHostSize() public méthode

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

WarpAffine() public static méthode

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

WarpAffine() public méthode

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_8uC4 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC4 Destination image
coeffs double Affine transform coefficients [2,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Résultat void

WarpAffineA() public méthode

Affine transform of an image. Not affecting Alpha channel.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 WarpAffineA ( NPPImage_8uC4 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC4 Destination image
coeffs double Affine transform coefficients [2,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Résultat void

WarpAffineBack() public static méthode

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

WarpAffineBack() public méthode

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_8uC4 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC4 Destination image
coeffs double Affine transform coefficients [2,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Résultat void

WarpAffineBackA() public méthode

Inverse affine transform of an image. Not affecting Alpha channel. 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 WarpAffineBackA ( NPPImage_8uC4 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC4 Destination image
coeffs double Affine transform coefficients [2,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Résultat void

WarpAffineQuad() public static méthode

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

WarpAffineQuad() public méthode

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_8uC4 dest, double dstQuad, InterpolationMode eInterpolation ) : void
srcQuad double Source quadrangle [4,2]
dest NPPImage_8uC4 Destination image
dstQuad double Destination quadrangle [4,2]
eInterpolation InterpolationMode Interpolation mode: can be , or
Résultat void

WarpAffineQuadA() public méthode

Affine transform of an image. Not affecting Alpha channel. 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 WarpAffineQuadA ( double srcQuad, NPPImage_8uC4 dest, double dstQuad, InterpolationMode eInterpolation ) : void
srcQuad double Source quadrangle [4,2]
dest NPPImage_8uC4 Destination image
dstQuad double Destination quadrangle [4,2]
eInterpolation InterpolationMode Interpolation mode: can be , or
Résultat void

WarpPerspective() public static méthode

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

WarpPerspective() public méthode

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_8uC4 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC4 Destination image
coeffs double Perspective transform coefficients [3,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Résultat void

WarpPerspectiveA() public méthode

Perspective transform of an image. Not affecting Alpha channel. 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 WarpPerspectiveA ( NPPImage_8uC4 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC4 Destination image
coeffs double Perspective transform coefficients [3,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Résultat void

WarpPerspectiveBack() public static méthode

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

WarpPerspectiveBack() public méthode

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_8uC4 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC4 Destination image
coeffs double Perspective transform coefficients [3,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Résultat void

WarpPerspectiveBackA() public méthode

Inverse perspective transform of an image. Not affecting Alpha channel. 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 WarpPerspectiveBackA ( NPPImage_8uC4 dest, double coeffs, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC4 Destination image
coeffs double Perspective transform coefficients [3,3]
eInterpolation InterpolationMode Interpolation mode: can be , or
Résultat void

WarpPerspectiveQuad() public static méthode

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

WarpPerspectiveQuad() public méthode

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_8uC4 dest, double destQuad, InterpolationMode eInterpolation ) : void
srcQuad double Source quadrangle [4,2]
dest NPPImage_8uC4 Destination image
destQuad double Destination quadrangle [4,2]
eInterpolation InterpolationMode Interpolation mode: can be , or
Résultat void

WarpPerspectiveQuadA() public méthode

Perspective transform of an image. Not affecting Alpha channel. 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 WarpPerspectiveQuadA ( double srcQuad, NPPImage_8uC4 dest, double destQuad, InterpolationMode eInterpolation ) : void
srcQuad double Source quadrangle [4,2]
dest NPPImage_8uC4 Destination image
destQuad double Destination quadrangle [4,2]
eInterpolation InterpolationMode Interpolation mode: can be , or
Résultat void

XYZToRGB() public méthode

4 channel 8-bit unsigned packed XYZ with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion.
public XYZToRGB ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

Xor() public méthode

In place image logical Xor.
public Xor ( NPPImage_8uC4 src2 ) : void
src2 NPPImage_8uC4 2nd source image
Résultat void

Xor() public méthode

Image logical Xor.
public Xor ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void
src2 NPPImage_8uC4 2nd source image
dest NPPImage_8uC4 Destination image
Résultat void

Xor() public méthode

In place image logical Xor with constant.
public Xor ( byte nConstant ) : void
nConstant byte Value (Array length = 4)
Résultat void

Xor() public méthode

Image logical Xor with constant.
public Xor ( byte nConstant, NPPImage_8uC4 dest ) : void
nConstant byte Value (Array length = 4)
dest NPPImage_8uC4 Destination image
Résultat void

XorA() public méthode

In place image logical Xor. Unchanged Alpha.
public XorA ( NPPImage_8uC4 src2 ) : void
src2 NPPImage_8uC4 2nd source image
Résultat void

XorA() public méthode

Image logical Xor. Unchanged Alpha.
public XorA ( NPPImage_8uC4 src2, NPPImage_8uC4 dest ) : void
src2 NPPImage_8uC4 2nd source image
dest NPPImage_8uC4 Destination image
Résultat void

XorA() public méthode

In place image logical Xor with constant. Unchanged Alpha.
public XorA ( byte nConstant ) : void
nConstant byte Value (Array length = 4)
Résultat void

XorA() public méthode

Image logical Xor with constant. Unchanged Alpha.
public XorA ( byte nConstant, NPPImage_8uC4 dest ) : void
nConstant byte Value (Array length = 4)
dest NPPImage_8uC4 Destination image
Résultat void

YCCToRGB() public méthode

4 channel 8-bit unsigned packed YCC with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion.
public YCCToRGB ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

YCbCr411ToRGB() public static méthode

3 channel 8-bit unsigned planar YCbCr411 to 4 channel 8-bit unsigned packed RGB color conversion with constant alpha.
public static YCbCr411ToRGB ( NPPImage_8uC1 src0, NPPImage_8uC1 src1, NPPImage_8uC1 src2, NPPImage_8uC4 dest, byte nAval ) : void
src0 NPPImage_8uC1 Source image channel 0
src1 NPPImage_8uC1 Source image channel 1
src2 NPPImage_8uC1 Source image channel 2
dest NPPImage_8uC4 Destination image
nAval byte 8-bit unsigned alpha constant.
Résultat void

YCbCrToRGB() public méthode

4 channel 8-bit unsigned packed YCbCr to RGB color conversion. Alpha channel is the last channel and is not processed.
public YCbCrToRGB ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

YUVToBGR() public méthode

4 channel 8-bit packed YUV with alpha to 4 channel 8-bit unsigned packed BGR color conversion with alpha, not affecting alpha.
public YUVToBGR ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void

YUVToRGB() public méthode

4 channel 8-bit packed YUV with alpha to 4 channel 8-bit unsigned packed RGB color conversion with alpha, not affecting alpha.
public YUVToRGB ( NPPImage_8uC4 dest ) : void
dest NPPImage_8uC4 Destination image
Résultat void