Issue in mask writer in wholeslidedata

Issue in mask writer in wholeslidedata  

  By: swagatam on April 7, 2022, 8:54 a.m.

We are having problems in reading masks files. If we use a different library then those tif/tiff files are not getting read.The general slide reading libraries are not working.Gdal is working for some of them and can be read with gdal.Can we use gdal for the purpose?

Re: Issue in mask writer in wholeslidedata  

  By: crunch on April 7, 2022, 10:40 a.m.

Hi,

what kind of problem/exception? The masks are a tif-variant and can be read by asap (viewer and python api) and wholeslidedata. pyvips should work too. (openslide didn't work with them when I tried it since it expected rgbs and not 1-channel masks). We have never tried gdal.

 Last edited by: crunch on Aug. 15, 2023, 12:56 p.m., edited 1 time in total.

Re: Issue in mask writer in wholeslidedata  

  By: kaczmarj on April 7, 2022, 12:32 p.m.

I have been using large_image to read the TIF files. https://github.com/girder/large_image. There are a lot of packages that read these images, but feel free to try large_image. I really enjoy it.

Re: Issue in mask writer in wholeslidedata  

  By: lorenzo.gorini on May 19, 2022, 5:54 p.m.

Hi, in ASAP viewer (GUI v2.0.0 nightly on Ubuntu 20.04) we do not find the option to open the TIF annotation files created by the SegmentationWriter. Particularly, after opening the raw image in ASAP viewer, I open the tab "Annotations" and then I click on "Load" button, but the new window does not even show the TIF annotation files. On the other hand, it opens XML files as annotations correctly. 1. Is there another option to load TIF files as annotations on ASAP viewer? 2. Are XML files allowed as annotation outputs of the Leaderboard 1 algorithm? Thank you very much!

Lorenzo

 Last edited by: lorenzo.gorini on Aug. 15, 2023, 12:56 p.m., edited 2 times in total.

Re: Issue in mask writer in wholeslidedata  

  By: mart.vanrijthoven on May 19, 2022, 7:24 p.m.

Dear Lorenzo,

You can open masks in ASAP, via the 'overlay' tab (it is positioned vertically) XML files are not allowed as an output.

Best wishes, Mart

 Last edited by: mart.vanrijthoven on Aug. 15, 2023, 12:56 p.m., edited 1 time in total.