libimgdoc2
Loading...
Searching...
No Matches
pixeltypes.h
1// SPDX-FileCopyrightText: 2023 Carl Zeiss Microscopy GmbH
2//
3// SPDX-License-Identifier: MIT
4
5#pragma once
6
7#include <cstdint>
8
9namespace imgdoc2
10{
16 {
17 public:
18 static constexpr std::uint8_t Unknown = 0;
19 static constexpr std::uint8_t Gray8 = 1;
20 static constexpr std::uint8_t Gray16 = 2;
21 static constexpr std::uint8_t Bgr24 = 3;
22 static constexpr std::uint8_t Bgr48 = 4;
23 static constexpr std::uint8_t Gray32Float = 5;
24 };
25}
definition of pixel types
Definition: pixeltypes.h:16
static constexpr std::uint8_t Gray16
This constant is representing the pixel type "gray16". A pixel is represented by an unsigned word.
Definition: pixeltypes.h:20
static constexpr std::uint8_t Bgr48
This constant is representing the pixel type "BGR48". A pixel is represented by a triple of 3 unsigne...
Definition: pixeltypes.h:22
static constexpr std::uint8_t Unknown
This constant is reserved for representing an unknown pixel type.
Definition: pixeltypes.h:18
static constexpr std::uint8_t Bgr24
This constant is representing the pixel type "BGR24". A pixel is represented by a triple of 3 unsigne...
Definition: pixeltypes.h:21
static constexpr std::uint8_t Gray32Float
This constant is representing the pixel type "gray32float". A pixel is represented by a 32-bit float.
Definition: pixeltypes.h:23
static constexpr std::uint8_t Gray8
This constant is representing the pixel type "gray8". A pixel is represented by an unsigned byte.
Definition: pixeltypes.h:19