vitis::ai::SegmentationResult - 3.5 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2023-06-29
Version
3.5 English
Struct of the result returned by the segmentation network.

FPN Num of segmentation classes

  • 0 : "unlabeled"
  • 1 : "ego vehicle"
  • 2 : "rectification border"
  • 3 : "out of roi"
  • 4 : "static"
  • 5 : "dynamic"
  • 6 : "ground"
  • 7 : "road"
  • 8 : "sidewalk"
  • 9 : "parking"
  • 10 : "rail track"
  • 11 : "building"
  • 12 : "wall"
  • 13 : "fence"
  • 14 : "guard rail"
  • 15 : "bridge"
  • 16 : "tunnel"
  • 17 : "pole"
  • 18 : "polegroup"

Declaration

typedef struct
{
  int width;
  int height;
  cv::Mat segmentation;

} vitis::ai::SegmentationResult;
Table 1. Structure vitis::ai::SegmentationResult Member Description
Member Description
width Width of input image.
height Height of input image.
segmentation Segmentation result. The cv::Mat type is CV_8UC1 or CV_8UC3.