NVIDIA 2D Image And Signal Performance Primitives (NPP)
Version 11.8..*
|
Primitives for computing the stansdard deviation of the integral images. More...
RectStdDev | |
NppStatus | nppiRectStdDev_32f_C1R_Ctx (const Npp32f *pSrc, int nSrcStep, const Npp64f *pSqr, int nSqrStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppiRect oRect, NppStreamContext nppStreamCtx) |
One-channel 32-bit floating point image RectStdDev. More... |
|
NppStatus | nppiRectStdDev_32f_C1R (const Npp32f *pSrc, int nSrcStep, const Npp64f *pSqr, int nSqrStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppiRect oRect) |
NppStatus | nppiRectStdDev_32s_C1RSfs_Ctx (const Npp32s *pSrc, int nSrcStep, const Npp32s *pSqr, int nSqrStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppiRect oRect, int nScaleFactor, NppStreamContext nppStreamCtx) |
One-channel 32-bit signed image RectStdDev, scaled by ![]() |
|
NppStatus | nppiRectStdDev_32s_C1RSfs (const Npp32s *pSrc, int nSrcStep, const Npp32s *pSqr, int nSqrStep, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppiRect oRect, int nScaleFactor) |
NppStatus | nppiRectStdDev_32s32f_C1R_Ctx (const Npp32s *pSrc, int nSrcStep, const Npp64f *pSqr, int nSqrStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppiRect oRect, NppStreamContext nppStreamCtx) |
One-channel 32-bit signed image RectStdDev. More... |
|
NppStatus | nppiRectStdDev_32s32f_C1R (const Npp32s *pSrc, int nSrcStep, const Npp64f *pSqr, int nSqrStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppiRect oRect) |
Primitives for computing the stansdard deviation of the integral images.
The function computes the standard deviation of the pixel in the rectangular window with the integral image and the squared integral image
, which can be obtained by calling Integral and SqrIntegral.
The standard deviation of the pixel can be computed using the formula:
where ,
,
.
The size of the and
should be
NppStatus nppiRectStdDev_32f_C1R | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
const Npp64f * | pSqr, | ||
int | nSqrStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiRect | oRect | ||
) |
NppStatus nppiRectStdDev_32f_C1R_Ctx | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
const Npp64f * | pSqr, | ||
int | nSqrStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiRect | oRect, | ||
NppStreamContext | nppStreamCtx | ||
) |
One-channel 32-bit floating point image RectStdDev.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pSqr | Destination-Image Pointer. |
nSqrStep | Destination-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
oRect | rectangular window |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiRectStdDev_32s32f_C1R | ( | const Npp32s * | pSrc, |
int | nSrcStep, | ||
const Npp64f * | pSqr, | ||
int | nSqrStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiRect | oRect | ||
) |
NppStatus nppiRectStdDev_32s32f_C1R_Ctx | ( | const Npp32s * | pSrc, |
int | nSrcStep, | ||
const Npp64f * | pSqr, | ||
int | nSqrStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiRect | oRect, | ||
NppStreamContext | nppStreamCtx | ||
) |
One-channel 32-bit signed image RectStdDev.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pSqr | Destination-Image Pointer. |
nSqrStep | Destination-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
oRect | rectangular window |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiRectStdDev_32s_C1RSfs | ( | const Npp32s * | pSrc, |
int | nSrcStep, | ||
const Npp32s * | pSqr, | ||
int | nSqrStep, | ||
Npp32s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiRect | oRect, | ||
int | nScaleFactor | ||
) |
NppStatus nppiRectStdDev_32s_C1RSfs_Ctx | ( | const Npp32s * | pSrc, |
int | nSrcStep, | ||
const Npp32s * | pSqr, | ||
int | nSqrStep, | ||
Npp32s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiRect | oRect, | ||
int | nScaleFactor, | ||
NppStreamContext | nppStreamCtx | ||
) |
One-channel 32-bit signed image RectStdDev, scaled by .
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pSqr | Destination-Image Pointer. |
nSqrStep | Destination-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
oRect | rectangular window |
nScaleFactor | Integer Result Scaling. |
nppStreamCtx | Application Managed Stream Context. |