vitis::ai::Covid19Segmentation - 1.4.1 English

Vitis AI Library User Guide (UG1354)

Document ID
Release Date
1.4.1 English
Base class for Covid19Segmentation.

Declaration Covid19Segmentation Network Branch positive detection: label0-negative, label1-positive Branch Infected area detection: label0-negative, label1-consolidation, label2-GGO

Input is an image (cv:Mat).

Output is result of running the Covid19Segmentation network.

Quick Function Reference

The following table lists all the functions defined in the vitis::ai::Covid19Segmentation class:

Table 1. Quick Function Reference
Type Name Arguments
std::unique_ptr< Covid19Segmentation > create
  • const std::string & model_name
  • bool need_preprocess
int getInputWidth
  • void
int getInputHeight
  • void
size_t get_input_batch
  • void
Covid19SegmentationResult run_8UC1
  • const cv::Mat & image
std::vector< Covid19SegmentationResult > run_8UC1
  • const std::vector< cv::Mat > & images
Covid19SegmentationResult run_8UC3
  • const cv::Mat & image
std::vector< Covid19SegmentationResult > run_8UC3
  • const std::vector< cv::Mat > & images