The QuPath-cloud extension provides viewing whole-slide images online without full downloading and synchronize annotations with the help of Google Cloud Healthcare API.
- Download the latest qupath-cloud.jar from the releases tab.
- Run QuPath application and drop the qupath-cloud.jar on it's window or just put to /extensions in QuPath data folder.
If you haven't installed QuPath, install QuPath from here.
To upload to the cloud it is necessary to dicomize your whole-slide images using OrthancWSIDicomizer and upload it with the help of cURL or dcm4che stowrs.
- Dicomize your whole-slide images, following the instructions.
- Viewing whole-slide images in QuPath.
- Create empty project in QuPath.
- Click Cloud button on the button bar. Login with OAuth in your default browser with your account which have access permission (1 time).
- Select project and click NEXT button in extension window.
- Create dataset. Click New Dataset button, input dataset name, choose near location and after that click NEXT button.
- Create dicom store. Click New DICOM Store button, input dicom store name and after that click OK button.
- Upload dicomized images in created dicom store and dataset in chosen location, following the instructions. Also you can download and use dcm4che stowrs tool.
- Click Synchronize button on the button bar in QuPath for synchronization DICOM Store with your project.
Extension saved in your chosen dicom store for existing project and saved your access permission on computer.
Supported formats for qupath-cloud extension and pathology test data you can see here.
- Add/Edit image annotations in existing project.
- Save changed annotations via File->Save.
- Click Synchronize button (annotations will be uploaded to Google Cloud Healthcare).
- If dicom store contains dicomized annotations that are locally absent they will be downloaded.
- If dicom store contains different versions of annotations for same images, user will be presented window with conflict list and asked to resolve them (with defaults set based on last modified timestamp).
- (Re)open annotated image - need to reload ImageData containing annotations.
There are some bugs in current release of QuPath that affect the extension when QuPath is run using it's embedded java machine on linux.
They can be bypassed by running QuPath with system java from command line (from Qupath/app directory):
java -Djava.library.path=. -jar QuPathApp.jar
Make sure you're using Java 8 as the main QuPath application doesn't work for Java10+.
To compile the package from scratch you first need to locally install the main QuPath package:
To add this dependencies for compiling extension and packaging to qupath-cloud.jar:
- git clone https://github.com/qupath/qupath.git in terminal in your local folder (for adding dependencies from QuPath).
- git checkout v.0.1.2 to switch to stable release
- mvn install in QuPath folder in terminal.
- mvn package in qupath-cloud folder in terminal (for packaging to jar).
There is qupath-cloud-0.1-jar-with-dependencies.jar in qupath-cloud/target folder.
This extension is licensed under GPL v3. Full license text is available in LICENSE.