uInt8Channel Class Reference
#include <image.h>
The data type for a 8 bit image channel.
0-255 maps to 0.0 to 1.0 in floating point or 0-65535 in 16 bit fixed point.
Definition at line 99 of file image.h.
Definition at line 127 of file image.h.
127 {
return m_data * (1.0f/255.0f); }
Definition at line 128 of file image.h.
128 {
return half_(m_data * (1.0
f/255.0
f)); }
Definition at line 129 of file image.h.
129 {
return (m_data << 8) + m_data; }
The documentation for this class was generated from the following file: