|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< float > MayaFlux::Kinesis::Vision::rgba_to_hsv | ( | std::span< const float > | rgba, |
| uint32_t | w, | ||
| uint32_t | h | ||
| ) |
Convert RGBA to HSV.
Output is interleaved HSV, 3 floats per pixel. H in [0, 1] (mapped from [0, 360]), S and V in [0, 1]. Alpha channel is discarded.
| rgba | Interleaved RGBA span, size must be w * h * 4. |
| w | Image width in pixels. |
| h | Image height in pixels. |
Definition at line 131 of file PixelOps.cpp.
References h, and rgba_to_hsv().
Here is the call graph for this function: