NVIDIA 2D Image And Signal Performance Primitives (NPP)
Version 11.8..*
|
Routines for converting color images to grayscale. More...
RGBToGray | |
RGB to CCIR601 Gray conversion. Here is how NPP converts gamma corrected RGB to CCIR601 Gray. * nGray = 0.299F * R + 0.587F * G + 0.114F * B;
*
| |
NppStatus | nppiRGBToGray_8u_C3C1R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx) |
3 channel 8-bit unsigned packed RGB to 1 channel 8-bit unsigned packed Gray conversion. More... |
|
NppStatus | nppiRGBToGray_8u_C3C1R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
NppStatus | nppiRGBToGray_8u_AC4C1R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx) |
4 channel 8-bit unsigned packed RGB with alpha to 1 channel 8-bit unsigned packed Gray conversion. More... |
|
NppStatus | nppiRGBToGray_8u_AC4C1R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
NppStatus | nppiRGBToGray_16u_C3C1R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx) |
3 channel 16-bit unsigned packed RGB to 1 channel 16-bit unsigned packed Gray conversion. More... |
|
NppStatus | nppiRGBToGray_16u_C3C1R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI) |
NppStatus | nppiRGBToGray_16u_AC4C1R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx) |
4 channel 16-bit unsigned packed RGB with alpha to 1 channel 16-bit unsigned packed Gray conversion. More... |
|
NppStatus | nppiRGBToGray_16u_AC4C1R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI) |
NppStatus | nppiRGBToGray_16s_C3C1R_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx) |
3 channel 16-bit signed packed RGB to 1 channel 16-bit signed packed Gray conversion. More... |
|
NppStatus | nppiRGBToGray_16s_C3C1R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI) |
NppStatus | nppiRGBToGray_16s_AC4C1R_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx) |
4 channel 16-bit signed packed RGB with alpha to 1 channel 16-bit signed packed Gray conversion. More... |
|
NppStatus | nppiRGBToGray_16s_AC4C1R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI) |
NppStatus | nppiRGBToGray_32f_C3C1R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx) |
3 channel 32-bit floating point packed RGB to 1 channel 32-bit floating point packed Gray conversion. More... |
|
NppStatus | nppiRGBToGray_32f_C3C1R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI) |
NppStatus | nppiRGBToGray_32f_AC4C1R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx) |
4 channel 32-bit floating point packed RGB with alpha to 1 channel 32-bit floating point packed Gray conversion. More... |
|
NppStatus | nppiRGBToGray_32f_AC4C1R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI) |
ColorToGray | |
RGB Color to Gray conversion using user supplied conversion coefficients. Here is how NPP converts gamma corrected RGB Color to Gray using user supplied conversion coefficients. * nGray = aCoeffs[0] * R + aCoeffs[1] * G + aCoeffs[2] * B;
*
For the C4C1R versions of the functions the calculations are as follows. For BGRA or other formats with alpha just rearrange the coefficients accordingly. * nGray = aCoeffs[0] * R + aCoeffs[1] * G + aCoeffs[2] * B + aCoeffs[3] * A;
*
| |
NppStatus | nppiColorToGray_8u_C3C1R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3], NppStreamContext nppStreamCtx) |
3 channel 8-bit unsigned packed RGB to 1 channel 8-bit unsigned packed Gray conversion. More... |
|
NppStatus | nppiColorToGray_8u_C3C1R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3]) |
NppStatus | nppiColorToGray_8u_AC4C1R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3], NppStreamContext nppStreamCtx) |
4 channel 8-bit unsigned packed RGB with alpha to 1 channel 8-bit unsigned packed Gray conversion. More... |
|
NppStatus | nppiColorToGray_8u_AC4C1R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3]) |
NppStatus | nppiColorToGray_8u_C4C1R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[4], NppStreamContext nppStreamCtx) |
4 channel 8-bit unsigned packed RGBA to 1 channel 8-bit unsigned packed Gray conversion. More... |
|
NppStatus | nppiColorToGray_8u_C4C1R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[4]) |
NppStatus | nppiColorToGray_16u_C3C1R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3], NppStreamContext nppStreamCtx) |
3 channel 16-bit unsigned packed RGB to 1 channel 16-bit unsigned packed Gray conversion. More... |
|
NppStatus | nppiColorToGray_16u_C3C1R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3]) |
NppStatus | nppiColorToGray_16u_AC4C1R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3], NppStreamContext nppStreamCtx) |
4 channel 16-bit unsigned packed RGB with alpha to 1 channel 16-bit unsigned packed Gray conversion. More... |
|
NppStatus | nppiColorToGray_16u_AC4C1R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3]) |
NppStatus | nppiColorToGray_16u_C4C1R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[4], NppStreamContext nppStreamCtx) |
4 channel 16-bit unsigned packed RGBA to 1 channel 16-bit unsigned packed Gray conversion. More... |
|
NppStatus | nppiColorToGray_16u_C4C1R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[4]) |
NppStatus | nppiColorToGray_16s_C3C1R_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3], NppStreamContext nppStreamCtx) |
3 channel 16-bit signed packed RGB to 1 channel 16-bit signed packed Gray conversion. More... |
|
NppStatus | nppiColorToGray_16s_C3C1R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3]) |
NppStatus | nppiColorToGray_16s_AC4C1R_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3], NppStreamContext nppStreamCtx) |
4 channel 16-bit signed packed RGB with alpha to 1 channel 16-bit signed packed Gray conversion. More... |
|
NppStatus | nppiColorToGray_16s_AC4C1R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3]) |
NppStatus | nppiColorToGray_16s_C4C1R_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[4], NppStreamContext nppStreamCtx) |
4 channel 16-bit signed packed RGBA to 1 channel 16-bit signed packed Gray conversion. More... |
|
NppStatus | nppiColorToGray_16s_C4C1R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[4]) |
NppStatus | nppiColorToGray_32f_C3C1R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3], NppStreamContext nppStreamCtx) |
3 channel 32-bit floating point packed RGB to 1 channel 32-bit floating point packed Gray conversion. More... |
|
NppStatus | nppiColorToGray_32f_C3C1R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3]) |
NppStatus | nppiColorToGray_32f_AC4C1R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3], NppStreamContext nppStreamCtx) |
4 channel 32-bit floating point packed RGB with alpha to 1 channel 32-bit floating point packed Gray conversion. More... |
|
NppStatus | nppiColorToGray_32f_AC4C1R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[3]) |
NppStatus | nppiColorToGray_32f_C4C1R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[4], NppStreamContext nppStreamCtx) |
4 channel 32-bit floating point packed RGBA to 1 channel 32-bit floating point packed Gray conversion. More... |
|
NppStatus | nppiColorToGray_32f_C4C1R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, const Npp32f aCoeffs[4]) |
GradientColorToGray | |
RGB Color to Gray Gradient conversion using user selected gradient distance method. | |
NppStatus | nppiGradientColorToGray_8u_C3C1R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppiNorm eNorm, NppStreamContext nppStreamCtx) |
3 channel 8-bit unsigned packed RGB to 1 channel 8-bit unsigned packed Gray Gradient conversion. More... |
|
NppStatus | nppiGradientColorToGray_8u_C3C1R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppiNorm eNorm) |
NppStatus | nppiGradientColorToGray_16u_C3C1R_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppiNorm eNorm, NppStreamContext nppStreamCtx) |
3 channel 16-bit unsigned packed RGB to 1 channel 16-bit unsigned packed Gray Gradient conversion. More... |
|
NppStatus | nppiGradientColorToGray_16u_C3C1R (const Npp16u *pSrc, int nSrcStep, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, NppiNorm eNorm) |
NppStatus | nppiGradientColorToGray_16s_C3C1R_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppiNorm eNorm, NppStreamContext nppStreamCtx) |
3 channel 16-bit signed packed RGB to 1 channel 16-bit signed packed Gray Gradient conversion. More... |
|
NppStatus | nppiGradientColorToGray_16s_C3C1R (const Npp16s *pSrc, int nSrcStep, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, NppiNorm eNorm) |
NppStatus | nppiGradientColorToGray_32f_C3C1R_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppiNorm eNorm, NppStreamContext nppStreamCtx) |
3 channel 32-bit floating point packed RGB to 1 channel 32-bit floating point packed Gray Gradient conversion. More... |
|
NppStatus | nppiGradientColorToGray_32f_C3C1R (const Npp32f *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppiNorm eNorm) |
Routines for converting color images to grayscale.
NppStatus nppiColorToGray_16s_AC4C1R | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3] | ||
) |
NppStatus nppiColorToGray_16s_AC4C1R_Ctx | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3], | ||
NppStreamContext | nppStreamCtx | ||
) |
4 channel 16-bit signed packed RGB with alpha to 1 channel 16-bit signed packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
aCoeffs | fixed size array of constant floating point conversion coefficient values, one per color channel. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiColorToGray_16s_C3C1R | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3] | ||
) |
NppStatus nppiColorToGray_16s_C3C1R_Ctx | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3], | ||
NppStreamContext | nppStreamCtx | ||
) |
3 channel 16-bit signed packed RGB to 1 channel 16-bit signed packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
aCoeffs | fixed size array of constant floating point conversion coefficient values, one per color channel. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiColorToGray_16s_C4C1R | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[4] | ||
) |
NppStatus nppiColorToGray_16s_C4C1R_Ctx | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[4], | ||
NppStreamContext | nppStreamCtx | ||
) |
4 channel 16-bit signed packed RGBA to 1 channel 16-bit signed packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
aCoeffs | fixed size array of constant floating point conversion coefficient values, one per color channel. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiColorToGray_16u_AC4C1R | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3] | ||
) |
NppStatus nppiColorToGray_16u_AC4C1R_Ctx | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3], | ||
NppStreamContext | nppStreamCtx | ||
) |
4 channel 16-bit unsigned packed RGB with alpha to 1 channel 16-bit unsigned packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
aCoeffs | fixed size array of constant floating point conversion coefficient values, one per color channel. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiColorToGray_16u_C3C1R | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3] | ||
) |
NppStatus nppiColorToGray_16u_C3C1R_Ctx | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3], | ||
NppStreamContext | nppStreamCtx | ||
) |
3 channel 16-bit unsigned packed RGB to 1 channel 16-bit unsigned packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
aCoeffs | fixed size array of constant floating point conversion coefficient values, one per color channel. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiColorToGray_16u_C4C1R | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[4] | ||
) |
NppStatus nppiColorToGray_16u_C4C1R_Ctx | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[4], | ||
NppStreamContext | nppStreamCtx | ||
) |
4 channel 16-bit unsigned packed RGBA to 1 channel 16-bit unsigned packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
aCoeffs | fixed size array of constant floating point conversion coefficient values, one per color channel. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiColorToGray_32f_AC4C1R | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3] | ||
) |
NppStatus nppiColorToGray_32f_AC4C1R_Ctx | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3], | ||
NppStreamContext | nppStreamCtx | ||
) |
4 channel 32-bit floating point packed RGB with alpha to 1 channel 32-bit floating point packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
aCoeffs | fixed size array of constant floating point conversion coefficient values, one per color channel. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiColorToGray_32f_C3C1R | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3] | ||
) |
NppStatus nppiColorToGray_32f_C3C1R_Ctx | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3], | ||
NppStreamContext | nppStreamCtx | ||
) |
3 channel 32-bit floating point packed RGB to 1 channel 32-bit floating point packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
aCoeffs | fixed size array of constant floating point conversion coefficient values, one per color channel. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiColorToGray_32f_C4C1R | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[4] | ||
) |
NppStatus nppiColorToGray_32f_C4C1R_Ctx | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[4], | ||
NppStreamContext | nppStreamCtx | ||
) |
4 channel 32-bit floating point packed RGBA to 1 channel 32-bit floating point packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
aCoeffs | fixed size array of constant floating point conversion coefficient values, one per color channel. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiColorToGray_8u_AC4C1R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3] | ||
) |
NppStatus nppiColorToGray_8u_AC4C1R_Ctx | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3], | ||
NppStreamContext | nppStreamCtx | ||
) |
4 channel 8-bit unsigned packed RGB with alpha to 1 channel 8-bit unsigned packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
aCoeffs | fixed size array of constant floating point conversion coefficient values, one per color channel. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiColorToGray_8u_C3C1R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3] | ||
) |
NppStatus nppiColorToGray_8u_C3C1R_Ctx | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[3], | ||
NppStreamContext | nppStreamCtx | ||
) |
3 channel 8-bit unsigned packed RGB to 1 channel 8-bit unsigned packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
aCoeffs | fixed size array of constant floating point conversion coefficient values, one per color channel. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiColorToGray_8u_C4C1R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[4] | ||
) |
NppStatus nppiColorToGray_8u_C4C1R_Ctx | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
const Npp32f | aCoeffs[4], | ||
NppStreamContext | nppStreamCtx | ||
) |
4 channel 8-bit unsigned packed RGBA to 1 channel 8-bit unsigned packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
aCoeffs | fixed size array of constant floating point conversion coefficient values, one per color channel. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiGradientColorToGray_16s_C3C1R | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiNorm | eNorm | ||
) |
NppStatus nppiGradientColorToGray_16s_C3C1R_Ctx | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiNorm | eNorm, | ||
NppStreamContext | nppStreamCtx | ||
) |
3 channel 16-bit signed packed RGB to 1 channel 16-bit signed packed Gray Gradient conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
eNorm | Gradient distance method to use. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiGradientColorToGray_16u_C3C1R | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiNorm | eNorm | ||
) |
NppStatus nppiGradientColorToGray_16u_C3C1R_Ctx | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiNorm | eNorm, | ||
NppStreamContext | nppStreamCtx | ||
) |
3 channel 16-bit unsigned packed RGB to 1 channel 16-bit unsigned packed Gray Gradient conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
eNorm | Gradient distance method to use. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiGradientColorToGray_32f_C3C1R | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiNorm | eNorm | ||
) |
NppStatus nppiGradientColorToGray_32f_C3C1R_Ctx | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiNorm | eNorm, | ||
NppStreamContext | nppStreamCtx | ||
) |
3 channel 32-bit floating point packed RGB to 1 channel 32-bit floating point packed Gray Gradient conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
eNorm | Gradient distance method to use. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiGradientColorToGray_8u_C3C1R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiNorm | eNorm | ||
) |
NppStatus nppiGradientColorToGray_8u_C3C1R_Ctx | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppiNorm | eNorm, | ||
NppStreamContext | nppStreamCtx | ||
) |
3 channel 8-bit unsigned packed RGB to 1 channel 8-bit unsigned packed Gray Gradient conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
eNorm | Gradient distance method to use. |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiRGBToGray_16s_AC4C1R | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
NppStatus nppiRGBToGray_16s_AC4C1R_Ctx | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppStreamContext | nppStreamCtx | ||
) |
4 channel 16-bit signed packed RGB with alpha to 1 channel 16-bit signed packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiRGBToGray_16s_C3C1R | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
NppStatus nppiRGBToGray_16s_C3C1R_Ctx | ( | const Npp16s * | pSrc, |
int | nSrcStep, | ||
Npp16s * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppStreamContext | nppStreamCtx | ||
) |
3 channel 16-bit signed packed RGB to 1 channel 16-bit signed packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiRGBToGray_16u_AC4C1R | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
NppStatus nppiRGBToGray_16u_AC4C1R_Ctx | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppStreamContext | nppStreamCtx | ||
) |
4 channel 16-bit unsigned packed RGB with alpha to 1 channel 16-bit unsigned packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiRGBToGray_16u_C3C1R | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
NppStatus nppiRGBToGray_16u_C3C1R_Ctx | ( | const Npp16u * | pSrc, |
int | nSrcStep, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppStreamContext | nppStreamCtx | ||
) |
3 channel 16-bit unsigned packed RGB to 1 channel 16-bit unsigned packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiRGBToGray_32f_AC4C1R | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
NppStatus nppiRGBToGray_32f_AC4C1R_Ctx | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppStreamContext | nppStreamCtx | ||
) |
4 channel 32-bit floating point packed RGB with alpha to 1 channel 32-bit floating point packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiRGBToGray_32f_C3C1R | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
NppStatus nppiRGBToGray_32f_C3C1R_Ctx | ( | const Npp32f * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppStreamContext | nppStreamCtx | ||
) |
3 channel 32-bit floating point packed RGB to 1 channel 32-bit floating point packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiRGBToGray_8u_AC4C1R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
NppStatus nppiRGBToGray_8u_AC4C1R_Ctx | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppStreamContext | nppStreamCtx | ||
) |
4 channel 8-bit unsigned packed RGB with alpha to 1 channel 8-bit unsigned packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
nppStreamCtx | Application Managed Stream Context. |
NppStatus nppiRGBToGray_8u_C3C1R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
NppStatus nppiRGBToGray_8u_C3C1R_Ctx | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
NppStreamContext | nppStreamCtx | ||
) |
3 channel 8-bit unsigned packed RGB to 1 channel 8-bit unsigned packed Gray conversion.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
nppStreamCtx | Application Managed Stream Context. |