IDS peak ICV v1.0.0
Loading...
Searching...
No Matches
peak_common_pixel_format.hpp File Reference
#include <peak_common/detail/peak_common_defines.hpp>
#include <peak_common/exceptions/peak_common_exceptions.hpp>
#include <peak_common/types/geometry/peak_common_size.hpp>
#include <peak_common/types/peak_common_channel.hpp>
#include <peak_common_c/types/peak_common_pixel_format.h>
#include <unordered_map>
#include <algorithm>
#include <array>
#include <cstdint>
#include <ostream>
#include <string>
#include <vector>
Include dependency graph for peak_common_pixel_format.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  PixelFormatInfo
 Provides information and utility functions for pixel formats. More...
 
struct  PixelFormatTraits< peak::common::PixelFormat::Mono8 >
 
struct  PixelFormatTraits< peak::common::PixelFormat::Mono10 >
 
struct  PixelFormatTraits< peak::common::PixelFormat::Mono12 >
 
struct  PixelFormatTraits< peak::common::PixelFormat::Mono16 >
 
struct  PixelFormatTraits< peak::common::PixelFormat::RGB8 >
 
struct  PixelFormatTraits< peak::common::PixelFormat::RGBa8 >
 
struct  PixelFormatTraits< peak::common::PixelFormat::BGR8 >
 
struct  PixelFormatTraits< peak::common::PixelFormat::BGRa8 >
 
struct  PixelFormatTraits< peak::common::PixelFormat::Coord3D_ABC32f >
 
struct  PixelFormatTraits< peak::common::PixelFormat::Coord3D_C32f >
 
struct  PixelFormatTraits< PixelFormat::Mono10p >
 
struct  PixelFormatTraits< PixelFormat::Mono12p >
 
struct  PixelFormatTraits< PixelFormat::RGB10 >
 
struct  PixelFormatTraits< PixelFormat::RGB12 >
 
struct  PixelFormatTraits< PixelFormat::RGBa10 >
 
struct  PixelFormatTraits< PixelFormat::RGBa12 >
 
struct  PixelFormatTraits< PixelFormat::BGR10 >
 
struct  PixelFormatTraits< PixelFormat::BGR12 >
 
struct  PixelFormatTraits< PixelFormat::BGRa10 >
 
struct  PixelFormatTraits< PixelFormat::BGRa12 >
 
struct  PixelFormatTraits< PixelFormat::RGB10p32 >
 
struct  PixelFormatTraits< PixelFormat::BGR10p32 >
 
struct  PixelFormatTraits< PixelFormat::BayerGR8 >
 
struct  PixelFormatTraits< PixelFormat::BayerGR10 >
 
struct  PixelFormatTraits< PixelFormat::BayerGR12 >
 
struct  PixelFormatTraits< PixelFormat::BayerRG8 >
 
struct  PixelFormatTraits< PixelFormat::BayerRG10 >
 
struct  PixelFormatTraits< PixelFormat::BayerRG12 >
 
struct  PixelFormatTraits< PixelFormat::BayerGB8 >
 
struct  PixelFormatTraits< PixelFormat::BayerGB10 >
 
struct  PixelFormatTraits< PixelFormat::BayerGB12 >
 
struct  PixelFormatTraits< PixelFormat::BayerBG8 >
 
struct  PixelFormatTraits< PixelFormat::BayerBG10 >
 
struct  PixelFormatTraits< PixelFormat::BayerBG12 >
 
struct  PixelFormatTraits< PixelFormat::BayerGR10p >
 
struct  PixelFormatTraits< PixelFormat::BayerGR12p >
 
struct  PixelFormatTraits< PixelFormat::BayerRG10p >
 
struct  PixelFormatTraits< PixelFormat::BayerRG12p >
 
struct  PixelFormatTraits< PixelFormat::BayerGB10p >
 
struct  PixelFormatTraits< PixelFormat::BayerGB12p >
 
struct  PixelFormatTraits< PixelFormat::BayerBG10p >
 
struct  PixelFormatTraits< PixelFormat::BayerBG12p >
 
struct  PixelFormatTraits< PixelFormat::Confidence8 >
 
struct  PixelFormatTraits< PixelFormat::Confidence16 >
 
struct  PixelFormatTraits< PixelFormat::Coord3D_C8 >
 
struct  PixelFormatTraits< PixelFormat::Coord3D_C16 >
 
struct  PixelFormatTraits< PixelFormat::BayerBG10g40IDS >
 
struct  PixelFormatTraits< PixelFormat::BayerBG12g24IDS >
 
struct  PixelFormatTraits< PixelFormat::BayerGB10g40IDS >
 
struct  PixelFormatTraits< PixelFormat::BayerGB12g24IDS >
 
struct  PixelFormatTraits< PixelFormat::BayerGR10g40IDS >
 
struct  PixelFormatTraits< PixelFormat::BayerGR12g24IDS >
 
struct  PixelFormatTraits< PixelFormat::BayerRG10g40IDS >
 
struct  PixelFormatTraits< PixelFormat::BayerRG12g24IDS >
 
struct  PixelFormatTraits< PixelFormat::YUV420_8_YY_UV_SemiplanarIDS >
 
struct  PixelFormatTraits< PixelFormat::YUV420_8_YY_VU_SemiplanarIDS >
 
struct  PixelFormatTraits< PixelFormat::YUV422_8_UYVY >
 
struct  PixelFormatTraits< PixelFormat::Mono10g40IDS >
 
struct  PixelFormatTraits< PixelFormat::Mono12g24IDS >
 

Namespaces

namespace  peak
 
namespace  peak::common
 Root namespace for common types and interfaces shared across multiple libraries.
 
namespace  peak::common::detail
 Namespace for internal implementation details and low-level types.
 

Enumerations

enum class  PixelFormat : uint64_t {
  BayerGR8 = PEAK_COMMON_PIXEL_FORMAT_BAYER_GR_8 ,
  BayerGR10 = PEAK_COMMON_PIXEL_FORMAT_BAYER_GR_10 ,
  BayerGR12 = PEAK_COMMON_PIXEL_FORMAT_BAYER_GR_12 ,
  BayerRG8 = PEAK_COMMON_PIXEL_FORMAT_BAYER_RG_8 ,
  BayerRG10 = PEAK_COMMON_PIXEL_FORMAT_BAYER_RG_10 ,
  BayerRG12 = PEAK_COMMON_PIXEL_FORMAT_BAYER_RG_12 ,
  BayerGB8 = PEAK_COMMON_PIXEL_FORMAT_BAYER_GB_8 ,
  BayerGB10 = PEAK_COMMON_PIXEL_FORMAT_BAYER_GB_10 ,
  BayerGB12 = PEAK_COMMON_PIXEL_FORMAT_BAYER_GB_12 ,
  BayerBG8 = PEAK_COMMON_PIXEL_FORMAT_BAYER_BG_8 ,
  BayerBG10 = PEAK_COMMON_PIXEL_FORMAT_BAYER_BG_10 ,
  BayerBG12 = PEAK_COMMON_PIXEL_FORMAT_BAYER_BG_12 ,
  Mono8 = PEAK_COMMON_PIXEL_FORMAT_MONO_8 ,
  Mono10 = PEAK_COMMON_PIXEL_FORMAT_MONO_10 ,
  Mono12 = PEAK_COMMON_PIXEL_FORMAT_MONO_12 ,
  Mono16 = PEAK_COMMON_PIXEL_FORMAT_MONO_16 ,
  Confidence8 = PEAK_COMMON_PIXEL_FORMAT_CONFIDENCE_8 ,
  Confidence16 = PEAK_COMMON_PIXEL_FORMAT_CONFIDENCE_16 ,
  Coord3D_C8 = PEAK_COMMON_PIXEL_FORMAT_COORD3D_C8 ,
  Coord3D_C16 = PEAK_COMMON_PIXEL_FORMAT_COORD3D_C16 ,
  Coord3D_C32f = PEAK_COMMON_PIXEL_FORMAT_COORD3D_C32F ,
  Coord3D_ABC32f = PEAK_COMMON_PIXEL_FORMAT_COORD3D_ABC32F ,
  YUV420_8_YY_UV_SemiplanarIDS = PEAK_COMMON_PIXEL_FORMAT_YUV420_8_YY_UV_SemiplanarIDS ,
  YUV420_8_YY_VU_SemiplanarIDS = PEAK_COMMON_PIXEL_FORMAT_YUV420_8_YY_VU_SemiplanarIDS ,
  YUV422_8_UYVY = PEAK_COMMON_PIXEL_FORMAT_YUV422_8_UYVY ,
  RGB8 = PEAK_COMMON_PIXEL_FORMAT_RGB_8 ,
  RGB10 = PEAK_COMMON_PIXEL_FORMAT_RGB_10 ,
  RGB12 = PEAK_COMMON_PIXEL_FORMAT_RGB_12 ,
  BGR8 = PEAK_COMMON_PIXEL_FORMAT_BGR_8 ,
  BGR10 = PEAK_COMMON_PIXEL_FORMAT_BGR_10 ,
  BGR12 = PEAK_COMMON_PIXEL_FORMAT_BGR_12 ,
  RGBa8 = PEAK_COMMON_PIXEL_FORMAT_RGBA_8 ,
  RGBa10 = PEAK_COMMON_PIXEL_FORMAT_RGBA_10 ,
  RGBa12 = PEAK_COMMON_PIXEL_FORMAT_RGBA_12 ,
  BGRa8 = PEAK_COMMON_PIXEL_FORMAT_BGRA_8 ,
  BGRa10 = PEAK_COMMON_PIXEL_FORMAT_BGRA_10 ,
  BGRa12 = PEAK_COMMON_PIXEL_FORMAT_BGRA_12 ,
  BayerBG10p = PEAK_COMMON_PIXEL_FORMAT_BAYER_BG_10_PACKED ,
  BayerBG12p = PEAK_COMMON_PIXEL_FORMAT_BAYER_BG_12_PACKED ,
  BayerGB10p = PEAK_COMMON_PIXEL_FORMAT_BAYER_GB_10_PACKED ,
  BayerGB12p = PEAK_COMMON_PIXEL_FORMAT_BAYER_GB_12_PACKED ,
  BayerGR10p = PEAK_COMMON_PIXEL_FORMAT_BAYER_GR_10_PACKED ,
  BayerGR12p = PEAK_COMMON_PIXEL_FORMAT_BAYER_GR_12_PACKED ,
  BayerRG10p = PEAK_COMMON_PIXEL_FORMAT_BAYER_RG_10_PACKED ,
  BayerRG12p = PEAK_COMMON_PIXEL_FORMAT_BAYER_RG_12_PACKED ,
  Mono10p = PEAK_COMMON_PIXEL_FORMAT_MONO_10_PACKED ,
  Mono12p = PEAK_COMMON_PIXEL_FORMAT_MONO_12_PACKED ,
  RGB10p32 = PEAK_COMMON_PIXEL_FORMAT_RGB_10_PACKED_32 ,
  BGR10p32 = PEAK_COMMON_PIXEL_FORMAT_BGR_10_PACKED_32 ,
  BayerRG10g40IDS = PEAK_COMMON_PIXEL_FORMAT_BAYER_RG_10_GROUPED_40_IDS ,
  BayerGB10g40IDS = PEAK_COMMON_PIXEL_FORMAT_BAYER_GB_10_GROUPED_40_IDS ,
  BayerGR10g40IDS = PEAK_COMMON_PIXEL_FORMAT_BAYER_GR_10_GROUPED_40_IDS ,
  BayerBG10g40IDS = PEAK_COMMON_PIXEL_FORMAT_BAYER_BG_10_GROUPED_40_IDS ,
  BayerRG12g24IDS = PEAK_COMMON_PIXEL_FORMAT_BAYER_RG_12_GROUPED_24_IDS ,
  BayerGB12g24IDS = PEAK_COMMON_PIXEL_FORMAT_BAYER_GB_12_GROUPED_24_IDS ,
  BayerGR12g24IDS = PEAK_COMMON_PIXEL_FORMAT_BAYER_GR_12_GROUPED_24_IDS ,
  BayerBG12g24IDS = PEAK_COMMON_PIXEL_FORMAT_BAYER_BG_12_GROUPED_24_IDS ,
  Mono10g40IDS = PEAK_COMMON_PIXEL_FORMAT_MONO_10_GROUPED_40_IDS ,
  Mono12g24IDS = PEAK_COMMON_PIXEL_FORMAT_MONO_12_GROUPED_24_IDS
}
 Enum listing all supported pixel formats and their internal IDs. More...
 

Functions

std::ostream & operator<< (std::ostream &os, PixelFormat pixelFormat)
 

Detailed Description

Enum holding the possible pixel format names.

Author
IDS Imaging Development Systems GmbH
Date
2025-05-09
Since
ids_peak_common 1.0

Copyright (c) 2025, IDS Imaging Development Systems GmbH. All rights reserved.

Definition in file peak_common_pixel_format.hpp.