Skip to content
Snippets Groups Projects
Commit d7d10b9e authored by Iván del Pino's avatar Iván del Pino
Browse files

added constants to represent gt labels in colors in the point cloud

parent e73699af
No related branches found
No related tags found
No related merge requests found
......@@ -73,8 +73,28 @@ const int TRUNK = 71;
const int POLE = 80;
const int TRAFFIC_SIGN = 81;
// Key obstacles like cars, pedestrians and so on are the rest of the classes so we will not explicitly write them here
// KITTI Classes rgb codes:
const uint8_t R_CLASS_ROAD = 0;
const uint8_t G_CLASS_ROAD = 0;
const uint8_t B_CLASS_ROAD = 255;
const uint8_t R_CLASS_SIDEWALK = 127;
const uint8_t G_CLASS_SIDEWALK = 127;
const uint8_t B_CLASS_SIDEWALK = 127;
const uint8_t R_CLASS_TERRAIN = 127;
const uint8_t G_CLASS_TERRAIN = 127;
const uint8_t B_CLASS_TERRAIN = 0;
const uint8_t R_CLASS_VEGETATION = 0;
const uint8_t G_CLASS_VEGETATION = 255;
const uint8_t B_CLASS_VEGETATION = 0;
const uint8_t R_CLASS_KITTI_OBSTACLE = 0;
const uint8_t G_CLASS_KITTI_OBSTACLE = 255;
const uint8_t B_CLASS_KITTI_OBSTACLE = 255;
// Key obstacles like cars, pedestrians and so on are the rest of the classes so we will not explicitly write them here
//Custom labels not present in Kitti semantic
const int CLASS_GROUND = 46;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment