Openseadragon viewer for render service #124
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello everyone,
In this branch Openseadragon Viewer feature is developed for the Render Service.
Openseadragon is a web-based viewer for high resolution zoomable images implemented in Javascript. To know more about it please refer (https://openseadragon.github.io/)
In this branch Rendered images are converted to Deep Zoom images to feed into openseadragon viewer.
MagickSlicer is used to convert the rendered images to DZI(Deep Zoom Images) (https://github.com/VoidVolker/MagickSlicer)
The Rendered images and the converted DZI images are stored on a http server, which are used by openseadragon viewer.
A python script is configured to run the DZI image conversion pipeline on the HPC cluster. This python script needs to be placed on HPC Cluster and the file path should be provided as the parameter in the Dockerfile.
Here are the parameters which should be provided in Dockerfile to enable openseadragon viewer feature.
VIEW_OPENSEADRAGON_HOST_AND_PORT="" (render-ws/src/main/webapp/view/openseadragon.html file web URL)
VIEW_DATA_PREP="" \ (python file Path on the HPC cluster, openseadragon/derived_data_preparation_code/data_preparation.py)
VIEW_DATA_PREPSH="" \ (magick-slicer shell script path which is placed on HPC cluster, https://github.com/VoidVolker/MagickSlicer)
VIEW_OPENSEADRAGON_DATA_HOST="" \ (HTTP webserver where the rendered and DZI images are placed)
VIEW_OPENSEADRAGON_DATA_SOURCE_FOLDER="" \ (rendered images path on HPC cluster or http webserver link)
VIEW_OPENSEADRAGON_DATA_DESTINATION_FOLDER="" \ (Destination folder PATH on the HPC cluster)
Here you can submit a job to the cluster to convert rendered images to DZI images, cluster details and credentials can be provided through the user interface in stacks.html page.
you can view the DZI images of the stacks in the openseadragon viewer by clicking on 'view in openseadragon' hyperlink in the stacks section.
Could you please merge this code as a separate branch, so that I can push my future development to that brach.
Thank you,
Sukesh.