float16Channel Class Reference
#include <image.h>
The data type for a 16 bit float image channel.
Definition at line 239 of file image.h.
Definition at line 244 of file image.h.
244 { m_data = float(d); }
Definition at line 245 of file image.h.
245 { m_data = float(d); }
Definition at line 246 of file image.h.
246 { m_data = float(d); }
Definition at line 247 of file image.h.
247 { m_data = float(d); }
Definition at line 281 of file image.h.
281 {
return float(m_data); }
Definition at line 284 of file image.h.
285 {
float d = float(m_data);
286 if (d < 0.0
f)
return 0;
287 if (d > 1.0
f)
return 65535;
Definition at line 290 of file image.h.
291 {
float d = float(m_data);
292 if (d < 0.0
f)
return 0;
293 if (d > 1.0
f)
return 255;
The documentation for this class was generated from the following file: