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, July 24, 2009 4:35:05 AM(UTC)
SpitfireUK2

Groups: Registered
Posts: 19


Hi.
I am using Leadtools 16.0 licensed version working in VB.NET 2008.
When I receive the X-Ray images (16BitsPerPixel) from DicomDataset (DICOM Sever) I can't use contrast/brightness control because it does't work.

My code:

medViewer.AddAction(MedicalViewerActionType.WindowLevel)
medViewer.AddAction(MedicalViewerActionType.Stack)
medViewer.AddAction(MedicalViewerActionType.Offset)

medViewer.SetAction(MedicalViewerActionType.WindowLevel, MedicalViewerMouseButtons.Left, MedicalViewerActionFlags.Active)
medViewer.SetAction(MedicalViewerActionType.Offset, MedicalViewerMouseButtons.Right, MedicalViewerActionFlags.Active)
medViewer.SetAction(MedicalViewerActionType.Stack, MedicalViewerMouseButtons.Wheel, MedicalViewerActionFlags.Active)

...

'==> info.BitsPerPixel return -> 16
imagem = ds.GetImage(element, i, info.BitsPerPixel, RasterByteOrder.Gray, DicomGetImageFlags.AutoApplyVoiLut)

Thanks.
Alexandre
 

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 : Sunday, July 26, 2009 7:19:00 AM(UTC)

Basel  
Guest

Groups: Guests
Posts: 3,034

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

Alexandre,
16 bits per pixel is supported by LEADTOOLS MedicalViewer and window leveling should work with it.
If you try the same image using our medical viewer demo shipped with the toolkit, does it work?
If not, please send me a sample image that shows the problem.
If you do please put it in a ZIP or a RAR file and post it here (do NOT use the preview feature when you attach) or send it to support@leadtools.com and mention this forum post.

 
#3 Posted : Wednesday, August 12, 2009 10:42:02 AM(UTC)
SpitfireUK2

Groups: Registered
Posts: 19


Hi Basel.
This problem was solved thru version upgrade (v16.5)

Thanks!

Alexandre
 
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-2020, Yet Another Forum.NET
This page was generated in 0.344 seconds.