The DVID Volume Viewer is a javascript, browser based, tool for viewing the grayscale imagery and segmentation data within a DVID repository. It leverages the OpenSeadragon tile viewer with some additional features specific to this data type. For example, the imagery data can be interrogated in the XY, XZ, and YZ cut planes. There is also an interface to allow quick navigation to any point in the 3D volume. The intention is to facilitate quick investigation of the data without the need to install more complicated analysis tools.
Required to build the javascript.
- node - http://nodejs.org/
- npm - https://www.npmjs.com/
-
Clone or download this repository
-
Change directory to the root of the repository
> cd /download/location/
- Install dependencies
> npm install
-
Configure the repository information in js/src/common/config.js There are multiple sections with comments on what needs to be changed to fit the data instance being used.
-
Bundle the javascript and produce a packaged version.
> grunt
The packaged version of the code can be found in the 'dist' directory at the top level of the repository. This directory can be uploaded to the html directory of a webserver for use in production.
Alternatively, you can just open the index.html file, found in the 'dist' directory, in your browser from the File menu and it will load in the data from your DVID instance.
See LICENSE.txt