cvlab-stonybrook / SAMPath

Repository for "SAM-Path: A Segment Anything Model for Semantic Segmentation in Digital Pathology" (MedAGI2023, MICCAI2023 workshop)
29 stars 6 forks source link

How to convert instance-level masks to semantic masks in the CRAG dataset? #23

Open li-qi-lin opened 2 days ago

li-qi-lin commented 2 days ago

I am currently working with the CRAG dataset, which provides instance-level segmentation masks of adenocarcinoma and benign glands in colon cancer.

I would like to know how to convert these instance-level masks to semantic masks in your experiment.

Could you provide some guidance or suggestions on how to achieve this?

Thank you!

jingweizhang-xyz commented 2 days ago

Simply regard all instances as one class: gland and regard the rest region as background.