|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API double MayaFlux::Kakshya::read_normalized_at | ( | const DataVariant & | v, |
| ImageFormat | format, | ||
| size_t | elem_index | ||
| ) |
Read one element as a normalised double.
uint8 divided by 255. uint16 divided by 65535 unless the format is half-float, in which case the raw bits are returned uninterpreted. float returned unchanged.
| v | Source variant. |
| format | Pixel format governing the uint16 interpretation. |
| elem_index | Element index. Returns 0.0 when out of range. |
Definition at line 217 of file PixelStorage.cpp.
References format, and read_normalized_at().
Here is the call graph for this function: