lyndonchan / hsn_v1

HistoSegNet: Semantic Segmentation of Histological Tissue Type in Whole Slide Images (ICCV 2019)
MIT License
87 stars 23 forks source link

(how) can apply my own image? #2

Open duernaT opened 3 years ago

duernaT commented 3 years ago

I noticed your paper (very nice work!) mention about HistoSegNet can generalize to other datasets without retraining. If I am not misunderstanding, I can load my own image and get the segment information?

If so, can you point out how to input my images?

With many thanks, Duerna

lyndonchan commented 3 years ago

Hello Duerna, yes, HistoSegNet can generalize to other datasets without retraining, assuming that:

If those requirements are met, then you can drop your images into a new sub-folder of the "img" folder and set the "input_name" parameter of HistoSegNetV1 accordingly. You can check out "demo_01_segment_patches.ipynb" for an example.

duernaT commented 3 years ago

Thank you so much.

I have the HE-stain pictures that reshaped to 224x224 pixels. And then drop the images to "img" and set the HistoSegNetV1. However, I have tried several times, it not work with my images.

Here are they: GTEX-VJYA-1526_0575 GTEX-VJYA-1526_0909 GTEX-VJYA-1526_1394 GTEX-VJYA-1526_1560 GTEX-VJYA-1526_1812

Can you please kindly point out how can I apply my img to the HistoSegNet?

Best regards, Duerna

guascy666 commented 1 year ago

hi,i want to know that after I have got the segmentation result of each patch,how can I merge the patches to the origin size of the WSI