7#ifndef YARP_SIG_IMAGENETWORKHEADER_H
8#define YARP_SIG_IMAGENETWORKHEADER_H
#define BOTTLE_TAG_VOCAB32
Base class for storing images.
bool topIsLowIndex() const
size_t width() const
Gets width of image in pixels.
virtual size_t getPixelSize() const
Gets pixel size in memory in bytes.
size_t getRawImageSize() const
Access to the internal buffer size information (this is how much memory has been allocated for the im...
size_t getQuantum() const
The size of a row is constrained to be a multiple of the "quantum".
size_t height() const
Gets height of image in pixels.
virtual int getPixelCode() const
Gets pixel type identifier.
std::int16_t NetInt16
Definition of the NetInt16 type.
std::int32_t NetInt32
Definition of the NetInt32 type.
constexpr yarp::conf::vocab32_t createVocab32(char a, char b=0, char c=0, char d=0)
Create a vocab from chars.
#define YARP_END_PACK
Ends 1 byte packing for structs/classes.
#define YARP_BEGIN_PACK
Starts 1 byte packing for structs/classes.