Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, August 10, 2012 12:31:09 PM(UTC)

Travis  
Travis

Groups: Registered, Tech Support
Posts: 207

Was thanked: 3 time(s) in 3 post(s)

The attached files illustrate how to use our HTML5 Medical Web Viewer to simply window level extended grayscale images. 
The files consist of the main HTML page and a directory of scripts provided by LEADTOOLS HTML5 Medical Web Viewer Demo we ship with our tool kit. 

I wanted to keep this demo code as simple as possible, so I modified the MedicalViewer.js file to only include the necessary code to display the preview image, the grayscale data, and allow you to window level the grayscale image using the WindowLevelInteractiveMode object.

Before you can run this demo, you must setup your Medical Web Framework as described in this video: 

http://www.youtube.com/watch?v=maoEnKTeglI&list=UUB32BVMh2jnYb89IbNxveVA&index=2&feature=plcp


Once the framework is set up, you can communicate with the web service MedicalViewerService which we use to load the DICOM data into the viewer.

The demo first creates an AuthenticationProxy object so we can log in to the web service.  This gives us an authentication token we can use to create the other objects including the MedicalViewer.  You will need to modify the username and password parameters to valid values for your machine. 

The demo also allows you to enter a Patient ID, Study Instance UID, and Series Instance UID to load from the Web Service.  Note to keep the demo as simple as possible I only load the first frame of the returned series. 
Once loaded, you'll see the check box labeled "Enable Window Level" is disabled until the extended grayscale data is loaded.  Once loaded, the checkbox is enabled.allowing you to enable and disable the window level interactive mode. 

File Attachment(s):
Query Window Level.zip (55kb) downloaded 342 time(s).
Travis Montgomery
Senior Sales Engineer
LEAD Logo
thanks 1 user thanked Travis for this useful post.
Kuni Ujiie on 4/13/2017(UTC)
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.112 seconds.