struct mrpt::maps::COccupancyGridMap2D::TGetAsImageParams
Overview
Options for getAsImage().
#include <mrpt/maps/COccupancyGridMap2D.h> struct TGetAsImageParams { // fields bool verticalFlip {false}; bool forceRGB {false}; bool tricolor {false}; };
Fields
bool verticalFlip {false}
If true, the image is vertically flipped (default: false).
bool forceRGB {false}
If true, output image is RGB instead of grayscale (default: false).
bool tricolor {false}
If true, only three gray levels: gray=unknown, black=occupied, white=free (default: false).