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 : Monday, December 7, 2009 5:41:21 AM(UTC)
Marnix van Kempen

Groups: Registered
Posts: 17


If I look at the Silverlight code sample, the sample consumes the leadtools WCF RasterService in order to convert arbitrary image files to standard bitmaps that can be displayed by the leadtools silverlight image control. Can this approach be implemented also for arbitrary dicom files? Let's say the user opens a random DICOM file compressed as jpeglossless, can the web application also call the rasterservice to convert/decompress the dicom file?
 

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.

#2 Posted : Tuesday, December 8, 2009 4:22:43 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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

There is a way to handle DICOM files, which is using our Leadtools.Dicom.WCF DICOMService Class.
You can use the DICOMService.GetImage Method to get an image from a DICOM object. This image is of type RasterImage.

Please see this page for more details about this class:
http://leadtools.com/help/LEADTOOLS/v16/DH/Medical/DC/Leadtools.Dicom.WCF~Leadtools.Dicom.WCF.DICOMService_members.html

 
#3 Posted : Tuesday, December 8, 2009 5:03:24 AM(UTC)
Marnix van Kempen

Groups: Registered
Posts: 17


I am not sure if you understand what I mean? I am running the silverlight code sample (located in C:\Program Files\LEAD Technologies\LEADTOOLS 16.5\Shortcuts\.NET Silverlight Class Library). If I click the checkbox ("use leadtools wcf...") and open a random image file, the file is loaded first client-side, then sent to the WCF service to convert the image. Finally, the resulting image is passed to the silverlight image viewer control. This means that the leadtools wcf RasterService is used to convert/decompress the file. Can this approach be used for any kind of dicom file?
 
#4 Posted : Tuesday, December 8, 2009 5:18:38 AM(UTC)
Marnix van Kempen

Groups: Registered
Posts: 17


If a load a random CT dicom image (encoded with transfer syntax: Explicit VR Little Endian) and send this image to the RasterService to convert, the service returns the following exception:

+ $exception {System.ServiceModel.CommunicationException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.b__4(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.b__0(Object sendState)
--- End of inner exception stack trace ---
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
--- End of inner exception stack trace ---
at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
at SilverlightViewerDemo.LeadtoolsServices.RasterServiceClient.RasterServiceClientChannel.EndConvert(IAsyncResult result)
at SilverlightViewerDemo.LeadtoolsServices.RasterServiceClient.SilverlightViewerDemo.LeadtoolsServices.IRasterService.EndConvert(IAsyncResult result)
at SilverlightViewerDemo.LeadtoolsServices.RasterServiceClient.OnEndConvert(IAsyncResult result)
at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)} System.Exception {System.ServiceModel.CommunicationException}
 
#5 Posted : Thursday, December 10, 2009 6:11:18 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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

In my test, I was able to load some DICOM files such as "Image2.dcm" shipped with our toolkit, while other files were not loaded or loaded incorrectly using the RasterService. However, I did not get the error you are referring to.

This means, that you can use the RasterService to load some DICOM file, but it is not guaranteed to load all type of DICOM files. To load DICOM files correctly, use the LEADTOOLS WCF DICOMService.
 
#6 Posted : Tuesday, December 15, 2009 2:07:43 AM(UTC)
Marnix van Kempen

Groups: Registered
Posts: 17


can you tell me then what are the specifications of the Leadtools RasterService WCF service?
 
#7 Posted : Tuesday, December 15, 2009 5:47:42 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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

Please see this link for more information about LEADTOOLS WCF RasterService:
- IRasterService Interface:
http://www.leadtools.com/help/leadtools/v16/dh/rs/Leadtools.Services.Raster.ServiceContracts~Leadtools.Services.Raster.ServiceContracts.IRasterService.html

For details about LEADTOOLS WCF Services, please see this link:
http://www.leadtools.com/Help/LEADTOOLS/v16/DH/to/Leadtools.Topics~Leadtools.Topics.ProgrammingWithWCF.html

 
#8 Posted : Wednesday, April 28, 2010 2:36:28 PM(UTC)

Otis  
Guest

Groups: Guests
Posts: 3,022

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

LEADTOOLS will be introducing a complete Silverlight toolkit in V17. You will no longer need to use our WCF services to load non-Silverlight supported images on the client. Most formats are now loaded natively at the client. There will also be complete DICOM dataset support (load, edit, save, etc). To see the beta preview and for more information on the upcoming features, see "http://demo.leadtools.com/silverlight/default.htm?linkid=whatsnew".
 
#9 Posted : Thursday, January 27, 2011 6:27:23 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,022

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

LEADTOOLS V17 has a complete Silverlight toolkit which has the following features for dicom:
-Silverlight DICOM dataset support. Create,
load, view, edit and save DICOM datasets including pixel data, elements
and annotations in Silverlight clients.
-Medical and DICOM Annotation. Load, save, create and edit image annotations (markups) in Silverlight clients. Annotation object types include Rectangle, Ellipse, Highlight, Line, Redact, Text, Ruler, Protractor, CrossProduct, Image, TextPointer, Point, Curve, Point, Polygon and Polyline.
-Image Display. Silverlight Image viewer, image list and pan window controls complete with
window level and magnifying glass pixel shaders.
-Image Processing. Process images on Silverlight clients with more than 130 advanced image processing functions including Window Level, Multiscale Enhancement, Tissue Equalization, Adaptive Contrast, Unsharp Mask, Auto Segment, Digital Subtract and Add Bitmaps.

You can find more information here:
http://www.leadtools.com/sdk/web/silverlight-imaging.htm

You can also try the online demo:
http://demo.leadtools.com/Silverlight/DicomDemo/DicomDemo.html
 
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.138 seconds.