NVIDIA Performance Primitives (NPP)
Version 9.2
|
RGB to XYZ color conversion. More...
Functions | |
NppStatus | nppiRGBToXYZ_8u_C3R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed XYZ color conversion. More... |
|
NppStatus | nppiRGBToXYZ_8u_AC4R (const Npp8u *pSrc, int nSrcStep, Npp8u *pDst, int nDstStep, NppiSize oSizeROI) |
4 channel 8-bit unsigned packed RGB with alpha to 4 channel 8-bit unsigned packed XYZ with alpha color conversion. More... |
|
RGB to XYZ color conversion.
Here is how NPP converts gamma corrected RGB or BGR to XYZ.
NppStatus nppiRGBToXYZ_8u_AC4R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
4 channel 8-bit unsigned packed RGB with alpha to 4 channel 8-bit unsigned packed XYZ 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 nppiRGBToXYZ_8u_C3R | ( | const Npp8u * | pSrc, |
int | nSrcStep, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
3 channel 8-bit unsigned packed RGB to 3 channel 8-bit unsigned packed XYZ 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). |