NPPST Image Processing

Functions

NCV_EXPORTS NCVStatus nppiStDecimate_32u_C1R (Ncv32u *d_src, Ncv32u srcStep, Ncv32u *d_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale, NcvBool readThruTexture)
NCV_EXPORTS NCVStatus nppiStDecimate_32s_C1R (Ncv32s *d_src, Ncv32u srcStep, Ncv32s *d_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale, NcvBool readThruTexture)
NCV_EXPORTS NCVStatus nppiStDecimate_32f_C1R (Ncv32f *d_src, Ncv32u srcStep, Ncv32f *d_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale, NcvBool readThruTexture)
NCV_EXPORTS NCVStatus nppiStDecimate_64u_C1R (Ncv64u *d_src, Ncv32u srcStep, Ncv64u *d_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale, NcvBool readThruTexture)
NCV_EXPORTS NCVStatus nppiStDecimate_64s_C1R (Ncv64s *d_src, Ncv32u srcStep, Ncv64s *d_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale, NcvBool readThruTexture)
NCV_EXPORTS NCVStatus nppiStDecimate_64f_C1R (Ncv64f *d_src, Ncv32u srcStep, Ncv64f *d_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale, NcvBool readThruTexture)
NCV_EXPORTS NCVStatus nppiStDecimate_32u_C1R_host (Ncv32u *h_src, Ncv32u srcStep, Ncv32u *h_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale)
NCV_EXPORTS NCVStatus nppiStDecimate_32s_C1R_host (Ncv32s *h_src, Ncv32u srcStep, Ncv32s *h_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale)
NCV_EXPORTS NCVStatus nppiStDecimate_32f_C1R_host (Ncv32f *h_src, Ncv32u srcStep, Ncv32f *h_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale)
NCV_EXPORTS NCVStatus nppiStDecimate_64u_C1R_host (Ncv64u *h_src, Ncv32u srcStep, Ncv64u *h_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale)
NCV_EXPORTS NCVStatus nppiStDecimate_64s_C1R_host (Ncv64s *h_src, Ncv32u srcStep, Ncv64s *h_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale)
NCV_EXPORTS NCVStatus nppiStDecimate_64f_C1R_host (Ncv64f *h_src, Ncv32u srcStep, Ncv64f *h_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale)
NCV_EXPORTS NCVStatus nppiStRectStdDev_32f_C1R (Ncv32u *d_sum, Ncv32u sumStep, Ncv64u *d_sqsum, Ncv32u sqsumStep, Ncv32f *d_norm, Ncv32u normStep, NcvSize32u roi, NcvRect32u rect, Ncv32f scaleArea, NcvBool readThruTexture)
NCV_EXPORTS NCVStatus nppiStRectStdDev_32f_C1R_host (Ncv32u *h_sum, Ncv32u sumStep, Ncv64u *h_sqsum, Ncv32u sqsumStep, Ncv32f *h_norm, Ncv32u normStep, NcvSize32u roi, NcvRect32u rect, Ncv32f scaleArea)
NCV_EXPORTS NCVStatus nppiStTranspose_32u_C1R (Ncv32u *d_src, Ncv32u srcStride, Ncv32u *d_dst, Ncv32u dstStride, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStTranspose_32s_C1R (Ncv32s *d_src, Ncv32u srcStride, Ncv32s *d_dst, Ncv32u dstStride, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStTranspose_32f_C1R (Ncv32f *d_src, Ncv32u srcStride, Ncv32f *d_dst, Ncv32u dstStride, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStTranspose_64u_C1R (Ncv64u *d_src, Ncv32u srcStride, Ncv64u *d_dst, Ncv32u dstStride, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStTranspose_64s_C1R (Ncv64s *d_src, Ncv32u srcStride, Ncv64s *d_dst, Ncv32u dstStride, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStTranspose_64f_C1R (Ncv64f *d_src, Ncv32u srcStride, Ncv64f *d_dst, Ncv32u dstStride, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStTranspose_128_C1R (void *d_src, Ncv32u srcStep, void *d_dst, Ncv32u dstStep, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStTranspose_32u_C1R_host (Ncv32u *h_src, Ncv32u srcStride, Ncv32u *h_dst, Ncv32u dstStride, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStTranspose_32s_C1R_host (Ncv32s *h_src, Ncv32u srcStride, Ncv32s *h_dst, Ncv32u dstStride, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStTranspose_32f_C1R_host (Ncv32f *h_src, Ncv32u srcStride, Ncv32f *h_dst, Ncv32u dstStride, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStTranspose_64u_C1R_host (Ncv64u *h_src, Ncv32u srcStride, Ncv64u *h_dst, Ncv32u dstStride, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStTranspose_64s_C1R_host (Ncv64s *h_src, Ncv32u srcStride, Ncv64s *h_dst, Ncv32u dstStride, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStTranspose_64f_C1R_host (Ncv64f *h_src, Ncv32u srcStride, Ncv64f *h_dst, Ncv32u dstStride, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStTranspose_128_C1R_host (void *d_src, Ncv32u srcStep, void *d_dst, Ncv32u dstStep, NcvSize32u srcRoi)
NCV_EXPORTS NCVStatus nppiStIntegralGetSize_8u32u (NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp)
NCV_EXPORTS NCVStatus nppiStIntegralGetSize_32f32f (NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp)
NCV_EXPORTS NCVStatus nppiStIntegral_8u32u_C1R (Ncv8u *d_src, Ncv32u srcStep, Ncv32u *d_dst, Ncv32u dstStep, NcvSize32u roiSize, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
NCV_EXPORTS NCVStatus nppiStIntegral_32f32f_C1R (Ncv32f *d_src, Ncv32u srcStep, Ncv32f *d_dst, Ncv32u dstStep, NcvSize32u roiSize, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
NCV_EXPORTS NCVStatus nppiStIntegral_8u32u_C1R_host (Ncv8u *h_src, Ncv32u srcStep, Ncv32u *h_dst, Ncv32u dstStep, NcvSize32u roiSize)
NCV_EXPORTS NCVStatus nppiStIntegral_32f32f_C1R_host (Ncv32f *h_src, Ncv32u srcStep, Ncv32f *h_dst, Ncv32u dstStep, NcvSize32u roiSize)
NCV_EXPORTS NCVStatus nppiStSqrIntegralGetSize_8u64u (NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp)
NCV_EXPORTS NCVStatus nppiStSqrIntegral_8u64u_C1R (Ncv8u *d_src, Ncv32u srcStep, Ncv64u *d_dst, Ncv32u dstStep, NcvSize32u roiSize, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
NCV_EXPORTS NCVStatus nppiStSqrIntegral_8u64u_C1R_host (Ncv8u *h_src, Ncv32u srcStep, Ncv64u *h_dst, Ncv32u dstStep, NcvSize32u roiSize)

Function Documentation

NCV_EXPORTS NCVStatus nppiStDecimate_32u_C1R ( Ncv32u d_src,
Ncv32u  srcStep,
Ncv32u d_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi,
Ncv32u  scale,
NcvBool  readThruTexture 
)

Downsamples (decimates) an image using the nearest neighbor algorithm. 32-bit unsigned pixels, single channel.

Parameters:
d_src [IN] Source image pointer (CUDA device memory)
srcStep [IN] Source image line step
d_dst [OUT] Destination image pointer (CUDA device memory)
dstStep [IN] Destination image line step
srcRoi [IN] Region of interest in the source image
scale [IN] Downsampling scale factor (positive integer)
readThruTexture [IN] Performance hint to cache source in texture (true) or read directly (false)
Returns:
NCV status code
NCV_EXPORTS NCVStatus nppiStDecimate_32s_C1R ( Ncv32s d_src,
Ncv32u  srcStep,
Ncv32s d_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi,
Ncv32u  scale,
NcvBool  readThruTexture 
)

Downsamples (decimates) an image using the nearest neighbor algorithm. 32-bit signed pixels, single channel.

See also:
nppiStDecimate_32u_C1R
NCV_EXPORTS NCVStatus nppiStDecimate_32f_C1R ( Ncv32f d_src,
Ncv32u  srcStep,
Ncv32f d_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi,
Ncv32u  scale,
NcvBool  readThruTexture 
)

Downsamples (decimates) an image using the nearest neighbor algorithm. 32-bit float pixels, single channel.

See also:
nppiStDecimate_32u_C1R
NCV_EXPORTS NCVStatus nppiStDecimate_64u_C1R ( Ncv64u d_src,
Ncv32u  srcStep,
Ncv64u d_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi,
Ncv32u  scale,
NcvBool  readThruTexture 
)

Downsamples (decimates) an image using the nearest neighbor algorithm. 64-bit unsigned pixels, single channel.

See also:
nppiStDecimate_32u_C1R
NCV_EXPORTS NCVStatus nppiStDecimate_64s_C1R ( Ncv64s d_src,
Ncv32u  srcStep,
Ncv64s d_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi,
Ncv32u  scale,
NcvBool  readThruTexture 
)

Downsamples (decimates) an image using the nearest neighbor algorithm. 64-bit signed pixels, single channel.

See also:
nppiStDecimate_32u_C1R
NCV_EXPORTS NCVStatus nppiStDecimate_64f_C1R ( Ncv64f d_src,
Ncv32u  srcStep,
Ncv64f d_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi,
Ncv32u  scale,
NcvBool  readThruTexture 
)

Downsamples (decimates) an image using the nearest neighbor algorithm. 64-bit float pixels, single channel.

See also:
nppiStDecimate_32u_C1R
NCV_EXPORTS NCVStatus nppiStDecimate_32u_C1R_host ( Ncv32u h_src,
Ncv32u  srcStep,
Ncv32u h_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi,
Ncv32u  scale 
)

Downsamples (decimates) an image using the nearest neighbor algorithm. 32-bit unsigned pixels, single channel. Host implementation.

Parameters:
h_src [IN] Source image pointer (Host or pinned memory)
srcStep [IN] Source image line step
h_dst [OUT] Destination image pointer (Host or pinned memory)
dstStep [IN] Destination image line step
srcRoi [IN] Region of interest in the source image
scale [IN] Downsampling scale factor (positive integer)
Returns:
NCV status code
NCV_EXPORTS NCVStatus nppiStDecimate_32s_C1R_host ( Ncv32s h_src,
Ncv32u  srcStep,
Ncv32s h_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi,
Ncv32u  scale 
)

Downsamples (decimates) an image using the nearest neighbor algorithm. 32-bit signed pixels, single channel. Host implementation.

See also:
nppiStDecimate_32u_C1R_host
NCV_EXPORTS NCVStatus nppiStDecimate_32f_C1R_host ( Ncv32f h_src,
Ncv32u  srcStep,
Ncv32f h_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi,
Ncv32u  scale 
)

Downsamples (decimates) an image using the nearest neighbor algorithm. 32-bit float pixels, single channel. Host implementation.

See also:
nppiStDecimate_32u_C1R_host
NCV_EXPORTS NCVStatus nppiStDecimate_64u_C1R_host ( Ncv64u h_src,
Ncv32u  srcStep,
Ncv64u h_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi,
Ncv32u  scale 
)

Downsamples (decimates) an image using the nearest neighbor algorithm. 64-bit unsigned pixels, single channel. Host implementation.

See also:
nppiStDecimate_32u_C1R_host
NCV_EXPORTS NCVStatus nppiStDecimate_64s_C1R_host ( Ncv64s h_src,
Ncv32u  srcStep,
Ncv64s h_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi,
Ncv32u  scale 
)

Downsamples (decimates) an image using the nearest neighbor algorithm. 64-bit signed pixels, single channel. Host implementation.

See also:
nppiStDecimate_32u_C1R_host
NCV_EXPORTS NCVStatus nppiStDecimate_64f_C1R_host ( Ncv64f h_src,
Ncv32u  srcStep,
Ncv64f h_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi,
Ncv32u  scale 
)

Downsamples (decimates) an image using the nearest neighbor algorithm. 64-bit float pixels, single channel. Host implementation.

See also:
nppiStDecimate_32u_C1R_host
NCV_EXPORTS NCVStatus nppiStRectStdDev_32f_C1R ( Ncv32u d_sum,
Ncv32u  sumStep,
Ncv64u d_sqsum,
Ncv32u  sqsumStep,
Ncv32f d_norm,
Ncv32u  normStep,
NcvSize32u  roi,
NcvRect32u  rect,
Ncv32f  scaleArea,
NcvBool  readThruTexture 
)

Computes standard deviation for each rectangular region of the input image using integral images.

Parameters:
d_sum [IN] Integral image pointer (CUDA device memory)
sumStep [IN] Integral image line step
d_sqsum [IN] Squared integral image pointer (CUDA device memory)
sqsumStep [IN] Squared integral image line step
d_norm [OUT] Stddev image pointer (CUDA device memory). Each pixel contains stddev of a rect with top-left corner at the original location in the image
normStep [IN] Stddev image line step
roi [IN] Region of interest in the source image
rect [IN] Rectangular region to calculate stddev over
scaleArea [IN] Multiplication factor to account decimated scale
readThruTexture [IN] Performance hint to cache source in texture (true) or read directly (false)
Returns:
NCV status code
NCV_EXPORTS NCVStatus nppiStRectStdDev_32f_C1R_host ( Ncv32u h_sum,
Ncv32u  sumStep,
Ncv64u h_sqsum,
Ncv32u  sqsumStep,
Ncv32f h_norm,
Ncv32u  normStep,
NcvSize32u  roi,
NcvRect32u  rect,
Ncv32f  scaleArea 
)

Computes standard deviation for each rectangular region of the input image using integral images. Host implementation

Parameters:
h_sum [IN] Integral image pointer (Host or pinned memory)
sumStep [IN] Integral image line step
h_sqsum [IN] Squared integral image pointer (Host or pinned memory)
sqsumStep [IN] Squared integral image line step
h_norm [OUT] Stddev image pointer (Host or pinned memory). Each pixel contains stddev of a rect with top-left corner at the original location in the image
normStep [IN] Stddev image line step
roi [IN] Region of interest in the source image
rect [IN] Rectangular region to calculate stddev over
scaleArea [IN] Multiplication factor to account decimated scale
Returns:
NCV status code
NCV_EXPORTS NCVStatus nppiStTranspose_32u_C1R ( Ncv32u d_src,
Ncv32u  srcStride,
Ncv32u d_dst,
Ncv32u  dstStride,
NcvSize32u  srcRoi 
)

Transposes an image. 32-bit unsigned pixels, single channel

Parameters:
d_src [IN] Source image pointer (CUDA device memory)
srcStride [IN] Source image line step
d_dst [OUT] Destination image pointer (CUDA device memory)
dstStride [IN] Destination image line step
srcRoi [IN] Region of interest of the source image
Returns:
NCV status code
NCV_EXPORTS NCVStatus nppiStTranspose_32s_C1R ( Ncv32s d_src,
Ncv32u  srcStride,
Ncv32s d_dst,
Ncv32u  dstStride,
NcvSize32u  srcRoi 
)

Transposes an image. 32-bit signed pixels, single channel

See also:
nppiStTranspose_32u_C1R
NCV_EXPORTS NCVStatus nppiStTranspose_32f_C1R ( Ncv32f d_src,
Ncv32u  srcStride,
Ncv32f d_dst,
Ncv32u  dstStride,
NcvSize32u  srcRoi 
)

Transposes an image. 32-bit float pixels, single channel

See also:
nppiStTranspose_32u_C1R
NCV_EXPORTS NCVStatus nppiStTranspose_64u_C1R ( Ncv64u d_src,
Ncv32u  srcStride,
Ncv64u d_dst,
Ncv32u  dstStride,
NcvSize32u  srcRoi 
)

Transposes an image. 64-bit unsigned pixels, single channel

See also:
nppiStTranspose_32u_C1R
NCV_EXPORTS NCVStatus nppiStTranspose_64s_C1R ( Ncv64s d_src,
Ncv32u  srcStride,
Ncv64s d_dst,
Ncv32u  dstStride,
NcvSize32u  srcRoi 
)

Transposes an image. 64-bit signed pixels, single channel

See also:
nppiStTranspose_32u_C1R
NCV_EXPORTS NCVStatus nppiStTranspose_64f_C1R ( Ncv64f d_src,
Ncv32u  srcStride,
Ncv64f d_dst,
Ncv32u  dstStride,
NcvSize32u  srcRoi 
)

Transposes an image. 64-bit float pixels, single channel

See also:
nppiStTranspose_32u_C1R
NCV_EXPORTS NCVStatus nppiStTranspose_128_C1R ( void *  d_src,
Ncv32u  srcStep,
void *  d_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi 
)

Transposes an image. 128-bit pixels of any type, single channel

See also:
nppiStTranspose_32u_C1R
NCV_EXPORTS NCVStatus nppiStTranspose_32u_C1R_host ( Ncv32u h_src,
Ncv32u  srcStride,
Ncv32u h_dst,
Ncv32u  dstStride,
NcvSize32u  srcRoi 
)

Transposes an image. 32-bit unsigned pixels, single channel. Host implementation

Parameters:
h_src [IN] Source image pointer (Host or pinned memory)
srcStride [IN] Source image line step
h_dst [OUT] Destination image pointer (Host or pinned memory)
dstStride [IN] Destination image line step
srcRoi [IN] Region of interest of the source image
Returns:
NCV status code
NCV_EXPORTS NCVStatus nppiStTranspose_32s_C1R_host ( Ncv32s h_src,
Ncv32u  srcStride,
Ncv32s h_dst,
Ncv32u  dstStride,
NcvSize32u  srcRoi 
)

Transposes an image. 32-bit signed pixels, single channel. Host implementation

See also:
nppiStTranspose_32u_C1R_host
NCV_EXPORTS NCVStatus nppiStTranspose_32f_C1R_host ( Ncv32f h_src,
Ncv32u  srcStride,
Ncv32f h_dst,
Ncv32u  dstStride,
NcvSize32u  srcRoi 
)

Transposes an image. 32-bit float pixels, single channel. Host implementation

See also:
nppiStTranspose_32u_C1R_host
NCV_EXPORTS NCVStatus nppiStTranspose_64u_C1R_host ( Ncv64u h_src,
Ncv32u  srcStride,
Ncv64u h_dst,
Ncv32u  dstStride,
NcvSize32u  srcRoi 
)

Transposes an image. 64-bit unsigned pixels, single channel. Host implementation

See also:
nppiStTranspose_32u_C1R_host
NCV_EXPORTS NCVStatus nppiStTranspose_64s_C1R_host ( Ncv64s h_src,
Ncv32u  srcStride,
Ncv64s h_dst,
Ncv32u  dstStride,
NcvSize32u  srcRoi 
)

Transposes an image. 64-bit signed pixels, single channel. Host implementation

See also:
nppiStTranspose_32u_C1R_host
NCV_EXPORTS NCVStatus nppiStTranspose_64f_C1R_host ( Ncv64f h_src,
Ncv32u  srcStride,
Ncv64f h_dst,
Ncv32u  dstStride,
NcvSize32u  srcRoi 
)

Transposes an image. 64-bit float pixels, single channel. Host implementation

See also:
nppiStTranspose_32u_C1R_host
NCV_EXPORTS NCVStatus nppiStTranspose_128_C1R_host ( void *  d_src,
Ncv32u  srcStep,
void *  d_dst,
Ncv32u  dstStep,
NcvSize32u  srcRoi 
)

Transposes an image. 128-bit pixels of any type, single channel. Host implementation

See also:
nppiStTranspose_32u_C1R_host
NCV_EXPORTS NCVStatus nppiStIntegralGetSize_8u32u ( NcvSize32u  roiSize,
Ncv32u pBufsize,
cudaDeviceProp &  devProp 
)

Calculates the size of the temporary buffer for integral image creation

Parameters:
roiSize [IN] Size of the input image
pBufsize [OUT] Pointer to host variable that returns the size of the temporary buffer (in bytes)
devProp [IN] CUDA device properties structure, containing texture alignment information
Returns:
NCV status code
NCV_EXPORTS NCVStatus nppiStIntegralGetSize_32f32f ( NcvSize32u  roiSize,
Ncv32u pBufsize,
cudaDeviceProp &  devProp 
)

Calculates the size of the temporary buffer for integral image creation

See also:
nppiStIntegralGetSize_8u32u
NCV_EXPORTS NCVStatus nppiStIntegral_8u32u_C1R ( Ncv8u d_src,
Ncv32u  srcStep,
Ncv32u d_dst,
Ncv32u  dstStep,
NcvSize32u  roiSize,
Ncv8u pBuffer,
Ncv32u  bufSize,
cudaDeviceProp &  devProp 
)

Creates an integral image representation for the input image

Parameters:
d_src [IN] Source image pointer (CUDA device memory)
srcStep [IN] Source image line step
d_dst [OUT] Destination integral image pointer (CUDA device memory)
dstStep [IN] Destination image line step
roiSize [IN] Region of interest of the source image
pBuffer [IN] Pointer to the pre-allocated temporary buffer (CUDA device memory)
bufSize [IN] Size of the pBuffer in bytes
devProp [IN] CUDA device properties structure, containing texture alignment information
Returns:
NCV status code
NCV_EXPORTS NCVStatus nppiStIntegral_32f32f_C1R ( Ncv32f d_src,
Ncv32u  srcStep,
Ncv32f d_dst,
Ncv32u  dstStep,
NcvSize32u  roiSize,
Ncv8u pBuffer,
Ncv32u  bufSize,
cudaDeviceProp &  devProp 
)

Creates an integral image representation for the input image

See also:
nppiStIntegral_8u32u_C1R
NCV_EXPORTS NCVStatus nppiStIntegral_8u32u_C1R_host ( Ncv8u h_src,
Ncv32u  srcStep,
Ncv32u h_dst,
Ncv32u  dstStep,
NcvSize32u  roiSize 
)

Creates an integral image representation for the input image. Host implementation

Parameters:
h_src [IN] Source image pointer (Host or pinned memory)
srcStep [IN] Source image line step
h_dst [OUT] Destination integral image pointer (Host or pinned memory)
dstStep [IN] Destination image line step
roiSize [IN] Region of interest of the source image
Returns:
NCV status code
NCV_EXPORTS NCVStatus nppiStIntegral_32f32f_C1R_host ( Ncv32f h_src,
Ncv32u  srcStep,
Ncv32f h_dst,
Ncv32u  dstStep,
NcvSize32u  roiSize 
)

Creates an integral image representation for the input image. Host implementation

See also:
nppiStIntegral_8u32u_C1R_host
NCV_EXPORTS NCVStatus nppiStSqrIntegralGetSize_8u64u ( NcvSize32u  roiSize,
Ncv32u pBufsize,
cudaDeviceProp &  devProp 
)

Calculates the size of the temporary buffer for squared integral image creation

Parameters:
roiSize [IN] Size of the input image
pBufsize [OUT] Pointer to host variable that returns the size of the temporary buffer (in bytes)
devProp [IN] CUDA device properties structure, containing texture alignment information
Returns:
NCV status code
NCV_EXPORTS NCVStatus nppiStSqrIntegral_8u64u_C1R ( Ncv8u d_src,
Ncv32u  srcStep,
Ncv64u d_dst,
Ncv32u  dstStep,
NcvSize32u  roiSize,
Ncv8u pBuffer,
Ncv32u  bufSize,
cudaDeviceProp &  devProp 
)

Creates a squared integral image representation for the input image

Parameters:
d_src [IN] Source image pointer (CUDA device memory)
srcStep [IN] Source image line step
d_dst [OUT] Destination squared integral image pointer (CUDA device memory)
dstStep [IN] Destination image line step
roiSize [IN] Region of interest of the source image
pBuffer [IN] Pointer to the pre-allocated temporary buffer (CUDA device memory)
bufSize [IN] Size of the pBuffer in bytes
devProp [IN] CUDA device properties structure, containing texture alignment information
Returns:
NCV status code
NCV_EXPORTS NCVStatus nppiStSqrIntegral_8u64u_C1R_host ( Ncv8u h_src,
Ncv32u  srcStep,
Ncv64u h_dst,
Ncv32u  dstStep,
NcvSize32u  roiSize 
)

Creates a squared integral image representation for the input image. Host implementation

Parameters:
h_src [IN] Source image pointer (Host or pinned memory)
srcStep [IN] Source image line step
h_dst [OUT] Destination squared integral image pointer (Host or pinned memory)
dstStep [IN] Destination image line step
roiSize [IN] Region of interest of the source image
Returns:
NCV status code