|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Kakshya::denormalise_to_uint8 | ( | std::span< const float > | src, |
| std::span< uint8_t > | dst | ||
| ) |
Convert a normalised float span back to uint8_t pixels.
Multiplies each value by 255 and clamps to [0, 255]. Output size must equal src.size(). Single-channel input with channels=1 writes one byte per pixel. Three or four channel input writes interleaved bytes.
| src | Normalised float span, values in [0, 1]. |
| dst | Output span, size must equal src.size(). |
Definition at line 95 of file DataUtils.cpp.
Referenced by denormalise_to_uint8().
Here is the caller graph for this function: