| NVIDIA Performance Primitives (NPP)
    Version 10.0
    | 
RGB to HSV color conversion. More...
| Functions | |
| NppStatus | nppiRGBToHSV_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 HSV color conversion.  More... | |
| NppStatus | nppiRGBToHSV_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 HSV with alpha color conversion.  More... | |
RGB to HSV color conversion.
This is how NPP converts gamma corrected RGB or BGR to HSV. This code uses the fmaxf() and fminf() 32 bit floating point math functions.
| NppStatus nppiRGBToHSV_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 HSV 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 nppiRGBToHSV_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 HSV 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). |