ohsu-qin/Papaya

Name: Papaya

Owner: OHSU QIN

Description: A pure JavaScript medical research image viewer.

Forked from: rii-mango/Papaya

Created: 2016-08-08 22:49:35.0

Updated: 2016-08-08 22:49:37.0

Pushed: 2016-07-12 19:21:13.0

Homepage:

Size: 96685

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Papaya

Papaya is a pure JavaScript medical research image viewer, supporting DICOM and NIFTI formats, compatible across a range of web browsers. This orthogonal viewer supports overlays, atlases, GIFTI surface data and DTI data. The Papaya UI is configurable with many display, menu and control options and can be run on a web server or as a local, shareable file.

ScreenShot   ScreenShot

Documentation & Demo
Quickstart Guide
Development

Load tests/debug_local.html or tests/debug_server.html in your favorite JavaScript debugger.

Building

See here for the latest release or run papaya-builder.sh to create your own build. See the documentation for more information.

Usage & Configuration
Basic usage (loads a blank viewer)
CTYPE html>
l xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
    <link rel="stylesheet" type="text/css" href="papaya.css" />
    <script type="text/javascript" src="papaya.js"></script>
    <title>Papaya Viewer</title>
</head>

<body>
    <div class="papaya"></div>
</body>
ml>
To automatically load images and configure other options
d>
...
<script type="text/javascript">
    var params = [];
    params["worldSpace"] = true;
    params["images"] = ["data/myBaseImage.nii.gz", "data/myOverlayImage.nii.gz"];
    params["surfaces"] = ["data/mySurface.surf.gii"];
    params["myOverlayImage.nii.gz"] = {"min": 4, "max": 10};
</script>
ad>



 class="papaya" data-params="params"></div>
Acknowledgments

Papaya uses:

As well as the following third-party libraries:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.