| NVIDIA 2D Image And Signal Performance Primitives (NPP)
    Version 11.6.3.*
    | 
BGR to Lab color conversion. More...
| Functions | |
| NppStatus | nppiBGRToLab_8u_C3R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx) | 
| 3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned packed Lab color conversion.  More... | |
| NppStatus | nppiBGRToLab_8u_C3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) | 
BGR to Lab color conversion.
This is how NPP converts gamma corrected BGR or RGB to Lab using the CIE Lab D65 white point with a Y luminance of 1.0. The computed values of the L component are in the range [0..100], a and b component values are in the range [-128..127]. The code uses cbrtf() the 32 bit floating point cube root math function.
| NppStatus nppiBGRToLab_8u_C3R | ( | const Npp8u * | pSrc, | 
| int | nSrcStep, | ||
| Npp8u * | pDst, | ||
| int | nDstStep, | ||
| NppiSize | oSizeROI | ||
| ) | 
| NppStatus nppiBGRToLab_8u_C3R_Ctx | ( | const Npp8u * | pSrc, | 
| int | nSrcStep, | ||
| Npp8u * | pDst, | ||
| int | nDstStep, | ||
| NppiSize | oSizeROI, | ||
| NppStreamContext | nppStreamCtx | ||
| ) | 
3 channel 8-bit unsigned packed BGR to 3 channel 8-bit unsigned packed Lab color 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. |