raisim::CocoRle
struct · #include <raisim/sensors/GroundTruthIo.hpp>
Uncompressed COCO run-length encoding of a binary mask.
Public attributes
height
cpp
int heightImage height in pixels.
width
cpp
int widthImage width in pixels.
counts
cpp
std::vector<uint32_t> countsRun lengths in column-major pixel order (down the first column, then the next), alternating between pixels outside and inside the mask, starting outside (the first count may be 0).