NVIDIA Performance Primitives (NPP)
Version 9.2
|
XYZ to RGB color conversion. More...
Functions | |
NppStatus | nppiXYZToRGB_8u_C3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
3 channel 8-bit unsigned packed XYZ to 3 channel 8-bit unsigned packed RGB color conversion. More... |
|
NppStatus | nppiXYZToRGB_8u_AC4R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
4 channel 8-bit unsigned packed XYZ with alpha to 4 channel 8-bit unsigned packed RGB with alpha color conversion. More... |
|
XYZ to RGB color conversion.
Here is how NPP converts XYZ to gamma corrected RGB or BGR. The code assumes that X,Y, and Z values are in the range [0..1].
NppStatus nppiXYZToRGB_8u_AC4R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
4 channel 8-bit unsigned packed XYZ with alpha to 4 channel 8-bit unsigned packed RGB with alpha 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). |
NppStatus nppiXYZToRGB_8u_C3R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
3 channel 8-bit unsigned packed XYZ to 3 channel 8-bit unsigned packed RGB 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). |