Drake
Drake C++ Documentation
pixel_types.h File Reference
#include <cstdint>
#include <limits>
#include <string>
#include "drake/common/fmt.h"
#include "drake/common/hash.h"
#include "drake/common/symbolic/expression.h"
Include dependency graph for pixel_types.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  ImageTraits< PixelType >
 Traits class for Image, specialized by PixelType. More...
 
struct  ImageTraits< PixelType::kRgb8U >
 
struct  ImageTraits< PixelType::kBgr8U >
 
struct  ImageTraits< PixelType::kRgba8U >
 
struct  ImageTraits< PixelType::kBgra8U >
 
struct  ImageTraits< PixelType::kDepth32F >
 
struct  ImageTraits< PixelType::kDepth16U >
 
struct  ImageTraits< PixelType::kLabel16I >
 
struct  ImageTraits< PixelType::kGrey8U >
 
struct  hash< drake::systems::sensors::PixelType >
 

Namespaces

 drake
 
 drake::systems
 
 drake::systems::sensors
 

Enumerations

enum  PixelType {
  kRgb8U, kBgr8U, kRgba8U, kBgra8U,
  kGrey8U, kDepth16U, kDepth32F, kLabel16I
}
 The enum class to be used for describing pixel type in Image class. More...
 
enum  PixelFormat {
  kRgb, kBgr, kRgba, kBgra,
  kGrey, kDepth, kLabel
}
 The enum class to be used to express semantic meaning of pixels. More...
 
enum  PixelScalar { k8U, k16I, k16U, k32F }
 The enum class to be used to express channel type. More...
 

Functions

std::string to_string (PixelType)
 
std::string to_string (PixelFormat)
 
std::string to_string (PixelScalar)
 
 DRAKE_FORMATTER_AS (, drake::systems::sensors, PixelType, x, drake::systems::sensors::to_string(x)) DRAKE_FORMATTER_AS(
 

Variables

 PixelFormat
 
 x
 
 PixelScalar
 

Function Documentation

◆ DRAKE_FORMATTER_AS()

DRAKE_FORMATTER_AS ( drake::systems::sensors  ,
PixelType  ,
x  ,
drake::systems::sensors::to_string(x  
)

Variable Documentation

◆ PixelFormat

PixelFormat

◆ PixelScalar

PixelScalar

◆ x

x