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} |
void Serialize | ( | Archive * | a | ) |
Passes this object to an Archive.
Refer to YAML Serialization for background.
int channels {} |
int depth {} |
ImageFileFormat format {ImageFileFormat::kJpeg} |
int height {} |
PixelScalar scalar {PixelScalar::k8U} |
int width {} |