Code Monkey home page Code Monkey logo

slicerweb's Introduction

SlicerWeb

Slicer modules that support web services and web applications.

(Still a work in progress, but starting to be useable)

Installation

This module can now be run from any slicer 4.2 binary download (release or nightly).

Simply run slicer with these arguments:

./path/to/Slicer --additional-module-paths path/to/SlicerWeb/WebServer

where 'path/to' is replaced with the appropriate paths. You could alternatively register the path/to/SlicerWeb/WebServer in the Module paths of the Application Settings dialog.

Usage

Go to the Servers->WebServer module and the server will start.

Access http://localhost:8080 with a web browser.

NOTE: after you select a demo, use the Reload button to trigger it.

NOTE: some demos require a WebGL compatible browser.

Direct API access:

  • get a json dump of the names of all nodes in mrml:

http://localhost:8080/slicer/mrml

  • get a png image of the threeD View

http://localhost:8080/slicer/threeD

  • get a png image of the yellow slice view

http://localhost:8080/slicer/slice?view=yellow

5/24/2012 sp

Can now access image data in nrrd format!

curl -v http://localhost:8070/slicer/volume\&id='MRHead' -o /tmp/local.nrrd

slicerweb's People

Contributors

pieper avatar davetchen avatar blezek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.