histocartography / seg-gini

SEGmentation using Graphs with Inexact aNd Incomplete labels
MIT License
22 stars 4 forks source link

Dataset question #2

Open 7xw opened 1 month ago

7xw commented 1 month ago

The stitched WSIs and corresponding Gleason pattern segmentation masks dataset link https://ibm.box.com/s/h165tu6gh96r6da4d8jrjd8xl01o0mfz was unavailable, could you please provide a link for Google Drive or OneDrive ?

I used the script you provided to download and process the file. The mask file obtained after decompression is in jpg format instead of png format. I cannot extract the specified pixel value and parse the corresponding label. Do you have the original data here to provide? Thank you very much for your help!

SuooL commented 1 month ago

The code you write at https://github.com/histocartography/seg-gini/blob/1c90f832d7c872f8d9eafa72aa6afcdab7808b7f/bin/create_sicap_data.py#L76 masks = [np.array(Image.open(f.replace('images', 'masks').replace('.jpg', '.png'))) for f in fnames] can not run successfully. All the mask files were in JPG format, not PNG format.

Please explain why.