diplib/library/datatype.h file

The dip::DataType class and support functions. This file is always included through diplib.h. See Pixel data types.

Contents

Classes

struct dip::DataType
DataType objects are used to indicate what the data type of an image is.

Aliases

using dip::DataTypeArray = dip::DimensionArray
An array to hold data types more...

Operators

auto dip::operator<<(std::ostream& os, dip::DataType type) -> std::ostream&
You can output a dip::DataType to std::cout or any other stream. The result of type.Name() is written. more...

Variables

dip::DataType const dip::DT_BIN constexpr
Constant representing the type dip::bin. more...
dip::DataType const dip::DT_UINT8 constexpr
Constant representing the type dip::uint8. more...
dip::DataType const dip::DT_SINT8 constexpr
Constant representing the type dip::sint8. more...
dip::DataType const dip::DT_UINT16 constexpr
Constant representing the type dip::uint16. more...
dip::DataType const dip::DT_SINT16 constexpr
Constant representing the type dip::sint16. more...
dip::DataType const dip::DT_UINT32 constexpr
Constant representing the type dip::uint32. more...
dip::DataType const dip::DT_SINT32 constexpr
Constant representing the type dip::sint32. more...
dip::DataType const dip::DT_UINT64 constexpr
Constant representing the type dip::uint64. more...
dip::DataType const dip::DT_SINT64 constexpr
Constant representing the type dip::sint64. more...
dip::DataType const dip::DT_SFLOAT constexpr
Constant representing the type dip::sfloat. more...
dip::DataType const dip::DT_DFLOAT constexpr
Constant representing the type dip::dfloat. more...
dip::DataType const dip::DT_SCOMPLEX constexpr
Constant representing the type dip::scomplex. more...
dip::DataType const dip::DT_DCOMPLEX constexpr
Constant representing the type dip::dcomplex. more...
dip::DataType const dip::DT_LABEL = DT_UINT32 constexpr
Type currently used for all labeled images, see dip::LabelType. more...