|
NVIDIA 2D Image And Signal Performance Primitives (NPP)
Version 11.5.0.*
|
Lab to BGR color conversion. More...
Functions | |
| NppStatus | nppiLabToBGR_8u_C3R_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx) |
| 3 channel 8-bit unsigned packed Lab to 3 channel 8-bit unsigned packed BGR color conversion. More... |
|
| NppStatus | nppiLabToBGR_8u_C3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
Lab to BGR color conversion.
This is how NPP converts Lab to gamma corrected BGR or RGB using the CIE Lab D65 white point with a Y luminance of 1.0. The code uses powf() the 32 bit floating point power math function.
| NppStatus nppiLabToBGR_8u_C3R | ( | const Npp8u * | pSrc, |
| int | nSrcStep, | ||
| Npp8u * | pDst, | ||
| int | nDstStep, | ||
| NppiSize | oSizeROI | ||
| ) |
| NppStatus nppiLabToBGR_8u_C3R_Ctx | ( | const Npp8u * | pSrc, |
| int | nSrcStep, | ||
| Npp8u * | pDst, | ||
| int | nDstStep, | ||
| NppiSize | oSizeROI, | ||
| NppStreamContext | nppStreamCtx | ||
| ) |
3 channel 8-bit unsigned packed Lab to 3 channel 8-bit unsigned packed BGR 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. |