-
Notifications
You must be signed in to change notification settings - Fork 3
LunchBox/Dicom-Viewer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>DICOM viewer demo</title> <script type="text/javascript" src="javascripts/prototype.js"></script> <script type="text/javascript" src="javascripts/slider.js"></script> <script type="text/javascript" src="javascripts/raphael.js"></script> <script type="text/javascript" src="javascripts/image_operator.js"></script> <link type="text/css" rel="stylesheet" media="screen" href="stylesheets/viewer.css"> </head> <body> <div id="image_viewer"> <img src="images/concept_6.jpg" id="image" /> </div> <script type="text/javascript"> new ImageViewer("image_viewer", "image", 640, 480); </script> </body> </html> ///////////////////////////////////////////////////////////////////////////////////// CallBacks: new ImageViewer("image_viewer", "image", 640, 480, { onDistanceCreate: function(distances){alert(distances.toJSON());}, onDistanceRemove: function(distances){alert(distances.toJSON();}, onROICreate: function(rois){alert(rois.toJSON());}, onROIRemove: function(rois){alert(rois.toJSON());} });
About
a dicom viewer base on raphael
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published