Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to upload .tif files #106

Open
Bsingstad opened this issue Oct 30, 2024 · 3 comments
Open

Not able to upload .tif files #106

Bsingstad opened this issue Oct 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Bsingstad
Copy link

Describe the bug
I have previously uploaded .svs files to FastPathology with success, but when uploading .tif files the system fails and gives me this error: FAST exception caught in Qt event handler OpenSlide was unable to open the file: C:/Users/Bjorn/Downloads/img.tif

To Reproduce

  • uploading .tif file files

System:

  • Windows 11
@Bsingstad Bsingstad added the bug Something isn't working label Oct 30, 2024
@andreped
Copy link
Member

Hello, @Bsingstad :]

FastPathology only supports pyramidal images. So if you try to import a nonpyramidal TIFF, that will not work.

Are you trying to import an image patch from a WSI? Is there a reason why you are not using the full original WSI? Or which type of image is this TIFF that fails to import?

@Bsingstad
Copy link
Author

Hi @andreped , thanks for your fast response. This was what we were able to extract from our PACs system at the hospital this time, but then I understand that we have to find a way to extract .svs or other pyramidal images.

Additionally, I wonder what kind of software you use to annotate the images (as far as I understand, FastPathology cant be used for annotation)?

@andreped
Copy link
Member

andreped commented Oct 31, 2024

This was what we were able to extract from our PACs system at the hospital this time, but then I understand that we have to find a way to extract .svs or other pyramidal images.

@SahPet likely could best assist you on how to get appropriate images exported from whichever solution you are trying to export from. But the images you got exported, are they just snapshots from the WSI, or are they the actual full resolution WSI in TIFF format? Which options do you have for export? it is possible that there is a format that is the appropriate one (for instance an option to enable BigTIFF which may produce the right pyramidal format - not sure).

Additionally, I wonder what kind of software you use to annotate the images (as far as I understand, FastPathology cant be used for annotation)?

We use QuPath for annotating our WSIs (see here) and so we have for several years. I assume you want to train a segmentation model, or maybe a patch-wise classifier? To train both, perhaps it is of interest to you to check our NoCodeSeg repository, which was described in this paper.

We have a video here demonstrating how you can annotate your data using QuPath, export these to MIB for training, then exporting the trained model and using it in FastPathology for deployment (inference on new WSIs):
https://www.youtube.com/watch?v=9dTfUwnL6zY

We have had several research teams using this pipeline with great success. Both for training segmentation models as well as patch-wise classification models :]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants