float32Channel Class Reference
#include <image.h>
Definition at line 178 of file image.h.
Definition at line 183 of file image.h.
183 { m_data = float(d); }
Definition at line 346 of file image.h.
346 { m_data = float(d); }
Definition at line 185 of file image.h.
185 { m_data = float(d); }
Definition at line 186 of file image.h.
186 { m_data = float(d); }
Definition at line 190 of file image.h.
192 *(
float *)
this = *(
float *)&d;
Definition at line 221 of file image.h.
221 {
return half_(m_data); }
Definition at line 222 of file image.h.
224 if (m_data < 0.0
f)
return 0;
225 if (m_data > 1.0
f)
return 65535;
226 return uInt16(m_data * 65535.0
f);
Definition at line 228 of file image.h.
230 if (m_data < 0.0
f)
return 0;
231 if (m_data > 1.0
f)
return 255;
232 return uInt8(m_data * 255.0
f);
The documentation for this class was generated from the following file: