ome-files
0.5.0
|
Properties common to all pixel types. More...
#include <ome/files/PixelProperties.h>
Static Public Member Functions | |
static pixel_size_type | pixel_byte_size () |
Get size of pixel type, in bytes. More... | |
static pixel_size_type | pixel_bit_size () |
Get size of pixel type, in bits. More... | |
static pixel_size_type | pixel_significant_bit_size () |
Get significant (maximum bits used) size of pixel type, in bits. More... | |
Properties common to all pixel types.
Note that is_signed, is_integer and is_complex are equivalent to the same members of std::numeric_limits, where present. They are duplicated here due to lack of std::numeric_limits support in Boost.Endian for some of its types, including native types. They can be removed entirely once std::numeric_limits support is present.
!is_integer
.
|
inlinestatic |
Get size of pixel type, in bits.
Referenced by ome::files::PixelPropertiesBase< PixelProperties<::ome::xml::model::enums::PixelType::INT16 > >::pixel_significant_bit_size().
|
inlinestatic |
Get size of pixel type, in bytes.
Referenced by ome::files::PixelPropertiesBase< PixelProperties<::ome::xml::model::enums::PixelType::INT16 > >::pixel_bit_size().
|
inlinestatic |
Get significant (maximum bits used) size of pixel type, in bits.