|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< float > MayaFlux::Kinesis::Vision::gray_to_rgba | ( | std::span< const float > | gray, |
| uint32_t | w, | ||
| uint32_t | h | ||
| ) |
Convert single-channel gray to RGBA.
R, G, B are all set to the gray value. Alpha is 1.0f.
| gray | Gray float span, size must be w * h. |
| w | Image width in pixels. |
| h | Image height in pixels. |
Definition at line 207 of file PixelOps.cpp.
References gray_to_rgba(), and h.
Here is the call graph for this function: