NVIDIA Performance Primitives (NPP)  Version 9.1
Functions

Pixel by pixel addition of squared pixels from source image to floating point pixel values of destination image. More...

Functions

NppStatus nppiAddSquare_8u32f_C1IMR (const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 One 8-bit unsigned char channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero). More...
 
NppStatus nppiAddSquare_8u32f_C1IR (const Npp8u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 One 8-bit unsigned char channel image squared then added to in place floating point destination image. More...
 
NppStatus nppiAddSquare_16u32f_C1IMR (const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 One 16-bit unsigned short channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero). More...
 
NppStatus nppiAddSquare_16u32f_C1IR (const Npp16u *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 One 16-bit unsigned short channel image squared then added to in place floating point destination image. More...
 
NppStatus nppiAddSquare_32f_C1IMR (const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 One 32-bit floating point channel image squared then added to in place floating point destination image using filter mask (updates destination when mask is non-zero). More...
 
NppStatus nppiAddSquare_32f_C1IR (const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 One 32-bit floating point channel image squared then added to in place floating point destination image. More...
 

Detailed Description

Pixel by pixel addition of squared pixels from source image to floating point pixel values of destination image.

Function Documentation

NppStatus nppiAddSquare_16u32f_C1IMR ( const Npp16u pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

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

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pMaskMask-Image Pointer.
nMaskStepMask-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddSquare_16u32f_C1IR ( const Npp16u pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

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

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddSquare_32f_C1IMR ( const Npp32f pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

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

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pMaskMask-Image Pointer.
nMaskStepMask-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddSquare_32f_C1IR ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

One 32-bit floating point channel image squared then added to in place floating point destination image.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddSquare_8u32f_C1IMR ( const Npp8u pSrc,
int  nSrcStep,
const Npp8u pMask,
int  nMaskStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

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

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pMaskMask-Image Pointer.
nMaskStepMask-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiAddSquare_8u32f_C1IR ( const Npp8u pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)

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

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes

Copyright © 2009-2017 NVIDIA Corporation