Drake
Drake C++ Documentation
ImageIo::Metadata Struct Reference

Detailed Description

Some characteristics of an image file.

Note that Drake's Image<> class can only express depth == 1.

#include <drake/systems/sensors/image_io.h>

Public Member Functions

template<typename Archive >
void Serialize (Archive *a)
 Passes this object to an Archive. More...
 

Public Attributes

ImageFileFormat format {ImageFileFormat::kJpeg}
 
int width {}
 
int height {}
 
int depth {}
 
int channels {}
 
PixelScalar scalar {PixelScalar::k8U}
 

Member Function Documentation

◆ Serialize()

void Serialize ( Archive *  a)

Passes this object to an Archive.

Refer to YAML Serialization for background.

Member Data Documentation

◆ channels

int channels {}

◆ depth

int depth {}

◆ format

◆ height

int height {}

◆ scalar

◆ width

int width {}

The documentation for this struct was generated from the following file: