A Web based viewer for displaying Whole Slide Images with zoom, pan and basic annotations functionality.
- Uses dzi (Deep Zoomable Images) format for loading & showing slides.
- WSI (Whole Slide Images) File formats -> Trestle(.tif), Leica(.scn), Hamamatsu (.vms, .vmu, .ndpi), Philips (.tiff) etc.
- WSI is converted to dzi format using
libvips
library.
Download slides from https://portal.gdc.cancer.gov/
- Zoom-In/ Zoom-Out
- Change slides instantly
-
Use different shapes to annotate region of interest (ROI)
- Rectangle/Square tool
- Triangle, Circle tool
- React -> A JavaScript library for building user interfaces.
- Fabric.js -> a powerful and simple Javascript HTML5 canvas library.
- OpenSeadragon -> An open-source, web-based viewer for high-resolution zoomable images.
- OpenSeadragonFabricjsOverlay -> It allows you to add Fabric.js canvas overlay that pans and zooms with OpenSeadragon viewer.
- libvips -> A fast image processing library with low memory needs.
- Git -> A free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
In the project directory, you can run:
To install all the dependencies/packages
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!