ome-files 0.1.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

PixelProperties.h
1 /*
2 * #%L
3 * OME-FILES C++ library for image IO.
4 * Copyright © 2006 - 2015 Open Microscopy Environment:
5 * - Massachusetts Institute of Technology
6 * - National Institutes of Health
7 * - University of Dundee
8 * - Board of Regents of the University of Wisconsin-Madison
9 * - Glencoe Software, Inc.
10 * %%
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions are met:
13 *
14 * 1. Redistributions of source code must retain the above copyright notice,
15 * this list of conditions and the following disclaimer.
16 * 2. Redistributions in binary form must reproduce the above copyright notice,
17 * this list of conditions and the following disclaimer in the documentation
18 * and/or other materials provided with the distribution.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
24 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 * POSSIBILITY OF SUCH DAMAGE.
31 *
32 * The views and conclusions contained in the software and documentation are
33 * those of the authors and should not be interpreted as representing official
34 * policies, either expressed or implied, of any organization.
35 * #L%
36 */
37
38 #ifndef OME_FILES_PIXELPROPERTIES_H
39 #define OME_FILES_PIXELPROPERTIES_H
40
41 #include <complex>
42
43 #include <ome/common/boolean.h>
44 #include <ome/common/endian.h>
45
46 #include <ome/compat/cstdint.h>
47
48 #include <ome/files/Types.h>
49
50 #include <ome/xml/model/enums/PixelType.h>
51
52 namespace ome
53 {
54 namespace files
55 {
56
60 template<int>
61 struct PixelProperties;
62
76 template<class P>
77 struct PixelPropertiesBase
78 {
84 static pixel_size_type
85 pixel_byte_size()
86 {
87 return sizeof(typename P::std_type);
88 }
89
95 static pixel_size_type
96 pixel_bit_size()
97 {
98 return pixel_byte_size() * 8;
99 }
100
107 static pixel_size_type
108 pixel_significant_bit_size()
109 {
110 return pixel_bit_size();
111 }
112 };
113
115 template<>
116 struct PixelProperties< ::ome::xml::model::enums::PixelType::INT8> :
117 public PixelPropertiesBase<PixelProperties< ::ome::xml::model::enums::PixelType::INT8> >
118 {
120 typedef int8_t std_type;
121
123 typedef boost::endian::big_int8_t big_type;
125 typedef boost::endian::little_int8_t little_type;
127 typedef boost::endian::native_int8_t native_type;
128
130 static const bool is_signed = true;
132 static const bool is_integer = true;
134 static const bool is_complex = false;
135 };
136
138 template<>
139 struct PixelProperties< ::ome::xml::model::enums::PixelType::INT16> :
140 public PixelPropertiesBase<PixelProperties< ::ome::xml::model::enums::PixelType::INT16> >
141 {
143 typedef int16_t std_type;
144
146 typedef boost::endian::big_int16_t big_type;
148 typedef boost::endian::little_int16_t little_type;
150 typedef boost::endian::native_int16_t native_type;
151
153 static const bool is_signed = true;
155 static const bool is_integer = true;
157 static const bool is_complex = false;
158 };
159
161 template<>
162 struct PixelProperties< ::ome::xml::model::enums::PixelType::INT32> :
163 public PixelPropertiesBase<PixelProperties< ::ome::xml::model::enums::PixelType::INT32> >
164 {
166 typedef int32_t std_type;
167
169 typedef boost::endian::big_int32_t big_type;
171 typedef boost::endian::little_int32_t little_type;
173 typedef boost::endian::native_int32_t native_type;
174
176 static const bool is_signed = true;
178 static const bool is_integer = true;
180 static const bool is_complex = false;
181 };
182
184 template<>
185 struct PixelProperties< ::ome::xml::model::enums::PixelType::UINT8> :
186 public PixelPropertiesBase<PixelProperties< ::ome::xml::model::enums::PixelType::UINT8> >
187 {
189 typedef uint8_t std_type;
190
192 typedef boost::endian::big_uint8_t big_type;
194 typedef boost::endian::little_uint8_t little_type;
196 typedef boost::endian::native_uint8_t native_type;
197
199 static const bool is_signed = false;
201 static const bool is_integer = true;
203 static const bool is_complex = false;
204 };
205
207 template<>
208 struct PixelProperties< ::ome::xml::model::enums::PixelType::UINT16> :
209 public PixelPropertiesBase<struct PixelProperties< ::ome::xml::model::enums::PixelType::UINT16> >
210 {
212 typedef uint16_t std_type;
213
215 typedef boost::endian::big_uint16_t big_type;
217 typedef boost::endian::little_uint16_t little_type;
219 typedef boost::endian::native_uint16_t native_type;
220
222 static const bool is_signed = false;
224 static const bool is_integer = true;
226 static const bool is_complex = false;
227 };
228
230 template<>
231 struct PixelProperties< ::ome::xml::model::enums::PixelType::UINT32> :
232 public PixelPropertiesBase<PixelProperties< ::ome::xml::model::enums::PixelType::UINT32> >
233 {
235 typedef uint32_t std_type;
236
238 typedef boost::endian::big_uint32_t big_type;
240 typedef boost::endian::little_uint32_t little_type;
242 typedef boost::endian::native_uint32_t native_type;
243
245 static const bool is_signed = false;
247 static const bool is_integer = true;
249 static const bool is_complex = false;
250 };
251
253 template<>
254 struct PixelProperties< ::ome::xml::model::enums::PixelType::FLOAT> :
255 public PixelPropertiesBase<PixelProperties< ::ome::xml::model::enums::PixelType::FLOAT> >
256 {
258 typedef float std_type;
259
261 typedef boost::endian::big_float32_t big_type;
263 typedef boost::endian::little_float32_t little_type;
265 typedef boost::endian::native_float32_t native_type;
266
268 static const bool is_signed = true;
270 static const bool is_integer = false;
272 static const bool is_complex = false;
273 };
274
276 template<>
277 struct PixelProperties< ::ome::xml::model::enums::PixelType::DOUBLE> :
278 public PixelPropertiesBase<PixelProperties< ::ome::xml::model::enums::PixelType::DOUBLE> >
279 {
281 typedef double std_type;
282
284 typedef boost::endian::big_float64_t big_type;
286 typedef boost::endian::little_float64_t little_type;
288 typedef boost::endian::native_float64_t native_type;
289
291 static const bool is_signed = true;
293 static const bool is_integer = false;
295 static const bool is_complex = false;
296 };
297
299 template<>
300 struct PixelProperties< ::ome::xml::model::enums::PixelType::BIT> :
301 public PixelPropertiesBase<PixelProperties< ::ome::xml::model::enums::PixelType::BIT> >
302 {
304 typedef bool std_type;
305
307 typedef ome::common::boolean big_type;
309 typedef ome::common::boolean little_type;
311 typedef ome::common::boolean native_type;
312
314 static const bool is_signed = false;
316 static const bool is_integer = true;
318 static const bool is_complex = false;
319
326 static pixel_size_type
327 pixel_significant_bit_size()
328 {
329 return 1;
330 }
331 };
332
334 template<>
335 struct PixelProperties< ::ome::xml::model::enums::PixelType::COMPLEX> :
336 public PixelPropertiesBase<PixelProperties< ::ome::xml::model::enums::PixelType::COMPLEX> >
337 {
339 typedef std::complex<float> std_type;
340
342 typedef std::complex<boost::endian::big_float32_t> big_type;
344 typedef std::complex<boost::endian::little_float32_t> little_type;
346 typedef std::complex<boost::endian::native_float32_t> native_type;
347
349 static const bool is_signed = true;
351 static const bool is_integer = false;
353 static const bool is_complex = true;
354 };
355
357 template<>
358 struct PixelProperties< ::ome::xml::model::enums::PixelType::DOUBLECOMPLEX> :
359 public PixelPropertiesBase<PixelProperties< ::ome::xml::model::enums::PixelType::DOUBLECOMPLEX> >
360 {
362 typedef std::complex<double> std_type;
363
365 typedef std::complex<boost::endian::big_float64_t> big_type;
367 typedef std::complex<boost::endian::little_float64_t> little_type;
369 typedef std::complex<boost::endian::native_float64_t> native_type;
370
372 static const bool is_signed = true;
374 static const bool is_integer = false;
376 static const bool is_complex = true;
377 };
378
383 template<int, int>
384 struct PixelEndianProperties;
385
387 template<int P>
388 struct PixelEndianProperties<P, ENDIAN_BIG>
389 {
391 typedef typename PixelProperties<P>::big_type type;
392 };
393
395 template<int P>
396 struct PixelEndianProperties<P, ENDIAN_LITTLE>
397 {
399 typedef typename PixelProperties<P>::little_type type;
400 };
401
403 template<int P>
404 struct PixelEndianProperties<P, ENDIAN_NATIVE>
405 {
407 typedef typename PixelProperties<P>::native_type type;
408 };
409
417 pixel_size_type
418 bytesPerPixel(::ome::xml::model::enums::PixelType pixeltype);
419
427 pixel_size_type
428 bitsPerPixel(::ome::xml::model::enums::PixelType pixeltype);
429
438 pixel_size_type
439 significantBitsPerPixel(::ome::xml::model::enums::PixelType pixeltype);
440
448 bool
449 isSigned(::ome::xml::model::enums::PixelType pixeltype);
450
458 bool
459 isInteger(::ome::xml::model::enums::PixelType pixeltype);
460
470 bool
471 isFloatingPoint(::ome::xml::model::enums::PixelType pixeltype);
472
480 bool
481 isComplex(::ome::xml::model::enums::PixelType pixeltype);
482
497 ::ome::xml::model::enums::PixelType
498 pixelTypeFromBytes(pixel_size_type bytes,
499 bool is_signed = false,
500 bool is_integer = true,
501 bool is_complex = false);
502
517 ::ome::xml::model::enums::PixelType
518 pixelTypeFromBits(pixel_size_type bytes,
519 bool is_signed = false,
520 bool is_integer = true,
521 bool is_complex = false);
522
528 template<typename T>
529 inline void
530 byteswap(T& value)
531 {
532 boost::endian::reverse(value);
533 }
534
540 template<>
541 inline void
542 byteswap(std::complex<float>& value)
543 {
544 // For pre-C++11 compatibility, it's not possible to byteswap in
545 // place.
546 value = std::complex<float>(reverse_value(value.real()),
547 reverse_value(value.imag()));
548 }
549
555 template<>
556 inline void
557 byteswap(std::complex<double>& value)
558 {
559 // For pre-C++11 compatibility, it's not possible to byteswap in
560 // place.
561 value = std::complex<double>(reverse_value(value.real()),
562 reverse_value(value.imag()));
563 }
564
565 }
566 }
567
568 #endif // OME_FILES_PIXELPROPERTIES_H
569
570 /*
571 * Local Variables:
572 * mode:C++
573 * End:
574 */
ome::xml::model::enums::PixelType::UINT32
UINT32
ome::files::bytesPerPixel
pixel_size_type bytesPerPixel(::ome::xml::model::enums::PixelType pixeltype)
Get the size of a PixelType, in bytes.
Definition: PixelProperties.cpp:65
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::UINT16 >::native_type
boost::endian::native_uint16_t native_type
Pixel type (native endian).
Definition: PixelProperties.h:219
ome::xml::model::enums::PixelType::UINT8
UINT8
ome::files::pixelTypeFromBytes
::ome::xml::model::enums::PixelType pixelTypeFromBytes(pixel_size_type size, bool is_signed, bool is_integer, bool is_complex)
Determine a likely pixel type from its the storage size in bytes.
Definition: PixelProperties.cpp:190
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::UINT32 >::native_type
boost::endian::native_uint32_t native_type
Pixel type (native endian).
Definition: PixelProperties.h:242
ome::files::pixelTypeFromBits
::ome::xml::model::enums::PixelType pixelTypeFromBits(pixel_size_type size, bool is_signed, bool is_integer, bool is_complex)
Determine a likely pixel type from its the storage size in bits.
Definition: PixelProperties.cpp:251
ome::files::PixelPropertiesBase
Properties common to all pixel types.
Definition: PixelProperties.h:77
ome::files::PixelEndianProperties< P, ENDIAN_LITTLE >::type
PixelProperties< P >::little_type type
Pixel type (little endian).
Definition: PixelProperties.h:399
ome::xml::model::enums::PixelType::BIT
BIT
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::COMPLEX >::little_type
std::complex< boost::endian::little_float32_t > little_type
Pixel type (little endian).
Definition: PixelProperties.h:344
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::FLOAT >::big_type
boost::endian::big_float32_t big_type
Pixel type (big endian).
Definition: PixelProperties.h:261
ome::files::pixel_size_type
uint32_t pixel_size_type
Size type for pixel bit depths.
Definition: Types.h:62
ome::xml::model::enums::PixelType::INT8
INT8
ome::files::significantBitsPerPixel
pixel_size_type significantBitsPerPixel(::ome::xml::model::enums::PixelType pixeltype)
Get the significant (maximum bits used) size of a PixelType, in bits.
Definition: PixelProperties.cpp:105
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::INT32 >::little_type
boost::endian::little_int32_t little_type
Pixel type (little endian).
Definition: PixelProperties.h:171
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::BIT >::native_type
ome::common::boolean native_type
Pixel type (native endian).
Definition: PixelProperties.h:311
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::BIT >::pixel_significant_bit_size
static pixel_size_type pixel_significant_bit_size()
Get significant (maximum bits used) size of pixel type, in bits.
Definition: PixelProperties.h:327
ome::files::PixelPropertiesBase::pixel_byte_size
static pixel_size_type pixel_byte_size()
Get size of pixel type, in bytes.
Definition: PixelProperties.h:85
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::BIT >::little_type
ome::common::boolean little_type
Pixel type (little endian).
Definition: PixelProperties.h:309
ome::files::ENDIAN_BIG
Big endian.
Definition: Types.h:70
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::INT8 >::little_type
boost::endian::little_int8_t little_type
Pixel type (little endian).
Definition: PixelProperties.h:125
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::INT8 >::big_type
boost::endian::big_int8_t big_type
Pixel type (big endian).
Definition: PixelProperties.h:123
ome::files::PixelPropertiesBase::pixel_significant_bit_size
static pixel_size_type pixel_significant_bit_size()
Get significant (maximum bits used) size of pixel type, in bits.
Definition: PixelProperties.h:108
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::FLOAT >::native_type
boost::endian::native_float32_t native_type
Pixel type (native endian).
Definition: PixelProperties.h:265
ome::files::PixelProperties
Map a given PixelPropertiesType enum to the corresponding language types.
Definition: PixelProperties.h:61
ome::files::isInteger
bool isInteger(::ome::xml::model::enums::PixelType pixeltype)
Check whether a PixelType is integer.
Definition: PixelProperties.cpp:145
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::UINT16 >::std_type
uint16_t std_type
Pixel type (standard language type).
Definition: PixelProperties.h:212
ome::common::boolean
ome::xml::model::enums::PixelType::INT16
INT16
ome::xml::model::enums::PixelType::UINT16
UINT16
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::INT16 >::little_type
boost::endian::little_int16_t little_type
Pixel type (little endian).
Definition: PixelProperties.h:148
ome::files::PixelPropertiesBase::pixel_bit_size
static pixel_size_type pixel_bit_size()
Get size of pixel type, in bits.
Definition: PixelProperties.h:96
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::INT8 >::std_type
int8_t std_type
Pixel type (standard language type).
Definition: PixelProperties.h:120
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::UINT16 >::big_type
boost::endian::big_uint16_t big_type
Pixel type (big endian).
Definition: PixelProperties.h:215
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::UINT32 >::std_type
uint32_t std_type
Pixel type (standard language type).
Definition: PixelProperties.h:235
ome::files::isComplex
bool isComplex(::ome::xml::model::enums::PixelType pixeltype)
Check whether a PixelType is complex.
Definition: PixelProperties.cpp:171
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::INT16 >::std_type
int16_t std_type
Pixel type (standard language type).
Definition: PixelProperties.h:143
endian.h
ome::xml::model::enums::PixelType::FLOAT
FLOAT
ome
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::DOUBLE >::little_type
boost::endian::little_float64_t little_type
Pixel type (little endian).
Definition: PixelProperties.h:286
ome::files::ENDIAN_NATIVE
Native endian.
Definition: Types.h:72
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::INT32 >::big_type
boost::endian::big_int32_t big_type
Pixel type (big endian).
Definition: PixelProperties.h:169
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::UINT8 >::std_type
uint8_t std_type
Pixel type (standard language type).
Definition: PixelProperties.h:189
ome::xml::model::enums::PixelType::COMPLEX
COMPLEX
ome::files::byteswap
void byteswap(T &value)
Byteswap value to switch endianness.
Definition: PixelProperties.h:530
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::INT16 >::big_type
boost::endian::big_int16_t big_type
Pixel type (big endian).
Definition: PixelProperties.h:146
ome::files::isFloatingPoint
bool isFloatingPoint(::ome::xml::model::enums::PixelType pixeltype)
Check whether a PixelType is floating point.
Definition: PixelProperties.cpp:160
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::INT8 >::native_type
boost::endian::native_int8_t native_type
Pixel type (native endian).
Definition: PixelProperties.h:127
ome::files::PixelEndianProperties< P, ENDIAN_BIG >::type
PixelProperties< P >::big_type type
Pixel type (big endian).
Definition: PixelProperties.h:391
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::UINT16 >::little_type
boost::endian::little_uint16_t little_type
Pixel type (little endian).
Definition: PixelProperties.h:217
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::INT32 >::std_type
int32_t std_type
Pixel type (standard language type).
Definition: PixelProperties.h:166
ome::files::isSigned
bool isSigned(::ome::xml::model::enums::PixelType pixeltype)
Check whether a PixelType is signed.
Definition: PixelProperties.cpp:125
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::COMPLEX >::native_type
std::complex< boost::endian::native_float32_t > native_type
Pixel type (native endian).
Definition: PixelProperties.h:346
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::INT16 >::native_type
boost::endian::native_int16_t native_type
Pixel type (native endian).
Definition: PixelProperties.h:150
ome::files::PixelEndianProperties< P, ENDIAN_NATIVE >::type
PixelProperties< P >::native_type type
Pixel type (native endian).
Definition: PixelProperties.h:407
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::INT32 >::native_type
boost::endian::native_int32_t native_type
Pixel type (native endian).
Definition: PixelProperties.h:173
ome::xml::model::enums::PixelType::DOUBLE
DOUBLE
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::UINT8 >::native_type
boost::endian::native_uint8_t native_type
Pixel type (native endian).
Definition: PixelProperties.h:196
ome::xml::model::enums::PixelType
cstdint.h
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::DOUBLECOMPLEX >::little_type
std::complex< boost::endian::little_float64_t > little_type
Pixel type (little endian).
Definition: PixelProperties.h:367
ome::files::PixelEndianProperties
Map the given PixelPropertiesType and Endian enums to the corresponding endian-specific language type...
Definition: PixelProperties.h:384
ome::files::ENDIAN_LITTLE
Little endian.
Definition: Types.h:71
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::DOUBLE >::native_type
boost::endian::native_float64_t native_type
Pixel type (native endian).
Definition: PixelProperties.h:288
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::BIT >::std_type
bool std_type
Pixel type (standard language type).
Definition: PixelProperties.h:304
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::UINT32 >::big_type
boost::endian::big_uint32_t big_type
Pixel type (big endian).
Definition: PixelProperties.h:238
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::DOUBLE >::big_type
boost::endian::big_float64_t big_type
Pixel type (big endian).
Definition: PixelProperties.h:284
ome::xml::model::enums::PixelType::INT32
INT32
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::FLOAT >::std_type
float std_type
Pixel type (standard language type).
Definition: PixelProperties.h:258
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::DOUBLECOMPLEX >::native_type
std::complex< boost::endian::native_float64_t > native_type
Pixel type (native endian).
Definition: PixelProperties.h:369
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::DOUBLECOMPLEX >::std_type
std::complex< double > std_type
Pixel type (standard language type).
Definition: PixelProperties.h:362
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::COMPLEX >::big_type
std::complex< boost::endian::big_float32_t > big_type
Pixel type (big endian).
Definition: PixelProperties.h:342
ome::xml::model::enums::PixelType::DOUBLECOMPLEX
DOUBLECOMPLEX
ome::files::bitsPerPixel
pixel_size_type bitsPerPixel(::ome::xml::model::enums::PixelType pixeltype)
Get the size of a PixelType, in bits.
Definition: PixelProperties.cpp:85
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::BIT >::big_type
ome::common::boolean big_type
Pixel type (big endian).
Definition: PixelProperties.h:307
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::DOUBLE >::std_type
double std_type
Pixel type (standard language type).
Definition: PixelProperties.h:281
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::UINT8 >::big_type
boost::endian::big_uint8_t big_type
Pixel type (big endian).
Definition: PixelProperties.h:192
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::UINT8 >::little_type
boost::endian::little_uint8_t little_type
Pixel type (little endian).
Definition: PixelProperties.h:194
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::FLOAT >::little_type
boost::endian::little_float32_t little_type
Pixel type (little endian).
Definition: PixelProperties.h:263
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::COMPLEX >::std_type
std::complex< float > std_type
Pixel type (standard language type).
Definition: PixelProperties.h:339
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::UINT32 >::little_type
boost::endian::little_uint32_t little_type
Pixel type (little endian).
Definition: PixelProperties.h:240
ome::files::PixelProperties< ::ome::xml::model::enums::PixelType::DOUBLECOMPLEX >::big_type
std::complex< boost::endian::big_float64_t > big_type
Pixel type (big endian).
Definition: PixelProperties.h:365