vitis::ai::SegmentationResult - 3.5 简体中文

Vitis AI Library 用户指南 (UG1354)

Document ID
UG1354
Release Date
2023-06-29
Version
3.5 简体中文
表示分割网络返回的结果的结构体。

分割类的 FPN 数量

  • 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"

声明

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

} vitis::ai::SegmentationResult;
表 1. 结构 vitis::ai::SegmentationResult 成员描述
成员 描述
width 输入图像的宽度。
height 输入图像的高度。
segmentation Segmentation 结果。cv::Mat 类型为 CV_8UC1 或 CV_8UC3。