3#include <iolink/DataType.h>
4#include <iolink/IOLinkAPI.h>
5#include <iolink/ImageType.h>
6#include <iolink/Vector.h>
Stores information about a data type.
Definition: DataType.h:162
This property describes the way the axes must be interpreted (IMAGE, VOLUME, SEQUENCE....
Definition: ImageInfoProperty.h:127
ImageInfoProperty(ImageType axesInterpretation, ImageInterpretation interpretation, bool hasAlpha, DataType dataType)
Short constructor using the given data type standard properties to initialize with default values.
void setAlpha(bool hasAlpha)
Set if an alpha channel is present.
ImageInfoProperty(ImageType axesInterpretation, ImageInterpretation interpretation, bool hasAlpha, size_t bitDepth, const Vector2d &valueRange)
Constructor.
bool operator==(const ImageInfoProperty &other) const
Equality operator.
bool hasAlpha() const
Return if an alpha channel is present.
void setValueRange(const Vector2d &range)
Set the value range of components.
ImageInfoProperty(ImageType axesInterpretation, DataType dataType)
Shorter constructor using the given Image Type and Data type standard properties hasAlpha property is...
ImageType axesInterpretation() const
Return an ImageType describing the interpretation of the axes of the image.
void setInterpretation(ImageInterpretation interpretation)
Setter for Image Interpretation.
Vector2d valueRange() const
The value range of the pixel component.
void setBitDepth(size_t bitdepth)
Set the bit depth of pixel components.
std::string toString() const
Return string representation.
static size_t channelCount(ImageInterpretation interpretation)
Method which gives you the number of channels for one pixel in a specific ImageInterpretation.
ImageInfoProperty(DataType dataType)
Shorter constructor using the given data type standard properties to initialize.
size_t bitDepth() const
The bit depth of pixel components.
void setAxesInterpretation(ImageType type)
Set the image's axes interpretation.
ImageInterpretation interpretation() const
Getter for Image interpretation.
A flag system that describes the dimensions of an image.
Definition: ImageType.h:40
An arithmetic vector.
Definition: Vector.h:37
All IOLink symbols are enclosed in this namespace.
Definition: ArrayX.h:8
ImageInterpretation
Interpretation of an Image.
Definition: ImageInfoProperty.h:17
@ CIE_UVW
CIE U*V*W* color space (CIE 1964)
@ SRGB
Standard RGB color.
@ CIE_LUV
CIE L*u*v* color space (CIE 1976)
@ CIE_LAB
CIE L*a*b* color space (CIE 1976)
@ HSV
HSV color (Hue, Saturation, Value)
@ LABEL
Indices corresponding to a label.
@ CIE_XYZ_CHROMATICITY
CIE XYZ color with chromaticity coordinates.
@ RGB_CHROMATICITY
RGB color with chromaticity coordinates.
@ HSL
HSL color (Hue, Saturation, Lightness)
@ RGB
RGB color (CIE 1931)
@ MULTISPECTRAL
Multiple layers of spectral data.
@ CIE_XYZ
CIE XYZ color space (CIE 1931)
@ GRAYSCALE
A shade of grey, from black to white.
@ YDD
YDbDr color (SECAM & PAL-N)
@ CMYK
CMYK color (Cyan, Magenta, Yellow, blacK)
@ UNKNOWN
An opaque type, that the no one knows about.