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

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.

Variables

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