NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.7.1.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
CrossCorrFull_NormLevelAdvanced

Primitives for computing the normalized cross correlation coefficient between two images with full mode with large image template sizes. More...

CrossCorrFull_NormLevelAdvanced

The functions compute the $\gamma_{st}(c,r)$ in General Introduction with full mode (see Categorizations).

The functions require an additional scratch buffer and advanced scratch buffer for computations.

Note: For maximum performance oSrcRoiSize.width + oTplRoiSize.width - 1 MUST be an integer multiple of 4.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_32f_C1R_Ctx (const Npp32f *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp32f *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp32f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 One-channel 32-bit floating point image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_32f_C3R_Ctx (const Npp32f *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp32f *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp32f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 Three-channel 32-bit floating point image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_32f_C4R_Ctx (const Npp32f *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp32f *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp32f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 Four-channel 32-bit floating point image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_64f_C1R_Ctx (const Npp64f *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp64f *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp64f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 One-channel 64-bit floating point image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_64f_C3R_Ctx (const Npp64f *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp64f *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp64f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 Three-channel 64-bit floating point image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_64f_C4R_Ctx (const Npp64f *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp64f *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp64f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 Four-channel 64-bit floating point image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_8u32f_C1R_Ctx (const Npp8u *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp8u *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp32f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 One-channel 8-bit unsigned image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_8u32f_C3R_Ctx (const Npp8u *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp8u *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp32f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 Three-channel 8-bit unsigned image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_8u32f_C4R_Ctx (const Npp8u *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp8u *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp32f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 Four-channel 8-bit unsigned image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_8s32f_C1R_Ctx (const Npp8s *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp8s *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp32f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 One-channel 8-bit signed image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_8s32f_C3R_Ctx (const Npp8s *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp8s *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp32f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 Three-channel 8-bit signed image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_8s32f_C4R_Ctx (const Npp8s *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp8s *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp32f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 Four-channel 8-bit signed image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_16u32f_C1R_Ctx (const Npp16u *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp16u *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp32f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 One-channel 16-bit unsigned image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_16u32f_C3R_Ctx (const Npp16u *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp16u *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp32f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 Three-channel 16-bit unsigned image CrossCorrFull_NormLevelAdvanced. More...
 
NppStatus nppiCrossCorrFull_NormLevelAdvanced_16u32f_C4R_Ctx (const Npp16u *pSrc, int nSrcStep, NppiSize oSrcRoiSize, const Npp16u *pTpl, int nTplStep, NppiSize oTplRoiSize, Npp32f *pDst, int nDstStep, Npp8u *pDeviceBuffer, Npp8u *pAdvancedScratchBuffer, NppStreamContext nppStreamCtx)
 Four-channel 16-bit unsigned image CrossCorrFull_NormLevelAdvanced. More...
 

FullNormLevelGetAdvancedScratchBufferHostSize

Companion primitives for computing the device buffer size (in bytes) required by the CrossCorrFull_NormLevelAdvanced primitives.

NppStatus nppiCrossCorrFull_NormLevel_GetAdvancedScratchBufferSize (NppiSize oSrcRoiSize, NppiSize oTplRoiSize, int nSizeofDstData, int nSrcChannels, int *hpBufferSize)
 Buffer size (in bytes) for nppiCrossCorrFull_NormLevelAdvanced functions. More...
 

Detailed Description

Primitives for computing the normalized cross correlation coefficient between two images with full mode with large image template sizes.

Function Documentation

NppStatus nppiCrossCorrFull_NormLevel_GetAdvancedScratchBufferSize ( NppiSize  oSrcRoiSize,
NppiSize  oTplRoiSize,
int  nSizeofDstData,
int  nSrcChannels,
int *  hpBufferSize 
)

Buffer size (in bytes) for nppiCrossCorrFull_NormLevelAdvanced functions.

Parameters
oSrcRoiSizeRegion-of-Interest (ROI).
oTplRoiSizeRegion-of-Interest (ROI).
nSizeofDstDatasizeof(destination data type (usually Npp32f)).
nSrcChannelsnumber of source image color channels.
hpBufferSizeRequired buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiCrossCorrFull_NormLevelAdvanced_16u32f_C1R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp16u pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp32f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

One-channel 16-bit unsigned image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_16u32f_C3R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp16u pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp32f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

Three-channel 16-bit unsigned image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_16u32f_C4R_Ctx ( const Npp16u pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp16u pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp32f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

Four-channel 16-bit unsigned image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_32f_C1R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp32f pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp32f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

One-channel 32-bit floating point image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_32f_C3R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp32f pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp32f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

Three-channel 32-bit floating point image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_32f_C4R_Ctx ( const Npp32f pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp32f pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp32f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

Four-channel 32-bit floating point image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_64f_C1R_Ctx ( const Npp64f pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp64f pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp64f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

One-channel 64-bit floating point image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_64f_C3R_Ctx ( const Npp64f pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp64f pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp64f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

Three-channel 64-bit floating point image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_64f_C4R_Ctx ( const Npp64f pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp64f pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp64f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

Four-channel 64-bit floating point image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_8s32f_C1R_Ctx ( const Npp8s pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp8s pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp32f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

One-channel 8-bit signed image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_8s32f_C3R_Ctx ( const Npp8s pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp8s pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp32f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

Three-channel 8-bit signed image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_8s32f_C4R_Ctx ( const Npp8s pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp8s pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp32f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

Four-channel 8-bit signed image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_8u32f_C1R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp8u pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp32f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

One-channel 8-bit unsigned image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_8u32f_C3R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp8u pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp32f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

Three-channel 8-bit unsigned image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.

NppStatus nppiCrossCorrFull_NormLevelAdvanced_8u32f_C4R_Ctx ( const Npp8u pSrc,
int  nSrcStep,
NppiSize  oSrcRoiSize,
const Npp8u pTpl,
int  nTplStep,
NppiSize  oTplRoiSize,
Npp32f pDst,
int  nDstStep,
Npp8u pDeviceBuffer,
Npp8u pAdvancedScratchBuffer,
NppStreamContext  nppStreamCtx 
)

Four-channel 8-bit unsigned image CrossCorrFull_NormLevelAdvanced.

For common parameter descriptions, see Common parameters for nppiSqrDistanceFull functions.


Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES