Base class for segmenting nuclei from images of cells.
Input is an image (cv:Mat).
Output is a struct of detection results, named MedicalSegcellResult
.
Sample code :
Mat img = cv::imread("sample_medicalsegcell.jpg");
auto medicalsegcell =
vitis::ai::MedicalSegcell::create
("medical_seg_cell_tf2",true);
auto results = medicalsegcell->run(img);
// results is structure holding cv::Mat.
// please check test samples for detail usage.
Quick Function Reference
The following table lists all the functions defined in the vitis::ai::MedicalSegcell
class:
Type | Name | Arguments |
---|---|---|
std::unique_ptr< MedicalSegcell > |
create |
|
vitis::ai::MedicalSegcellResult
|
run |
|
std::vector< vitis::ai::MedicalSegcellResult > |
run |
|
int | getInputWidth |
|
int | getInputHeight |
|
size_t | get_input_batch |
|