|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Kinesis::Vision::rgba_to_hsv | ( | std::span< const float > | rgba, |
| std::span< float > | dst, | ||
| uint32_t | w, | ||
| uint32_t | h | ||
| ) |
Convert RGBA to HSV writing into caller-supplied buffer.
Output is interleaved HSV, 3 floats per pixel. H in [0, 1], S and V in [0, 1]. Alpha channel is discarded.
| rgba | Interleaved RGBA span, size must be w * h * 4. |
| dst | Output span, size must be w * h * 3. |
| w | Image width in pixels. |
| h | Image height in pixels. |
Definition at line 94 of file PixelOps.cpp.
Referenced by rgba_to_hsv(), and MayaFlux::Kinesis::Vision::VisionExecutor::run().
Here is the caller graph for this function: