#include <gamma.hpp>
|
using | lut_table_t = std::array< std::uint8_t, std::numeric_limits< std::uint8_t >::max()+1 > |
|
◆ lut_table_t
◆ gamma_table() [1/2]
neo::gamma_table::gamma_table |
( |
| ) |
|
|
default |
◆ gamma_table() [2/2]
◆ build()
Builds a lookup gamma table from sRGB values to the corresponding gamma-corrected intensity values. The returned table implements essentially gamma(srgb_to_linear(v))
.
◆ operator[]()
std::uint8_t neo::gamma_table::operator[] |
( |
std::uint8_t |
v | ) |
const |
|
inline |
◆ reverse_lookup()
std::uint8_t neo::gamma_table::reverse_lookup |
( |
std::uint8_t |
v | ) |
const |
- Note
- This bisects lut, so it's very slow.
◆ lut
The documentation for this struct was generated from the following files: