LEADTOOLS Support
Medical
Medical SDK Questions
MedicalViewer - Contrast/brightness doesn't work with Image (16 BitsPerPixel) from Dicomdataset
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, July 24, 2009 4:35:05 AM(UTC)
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
#2
Posted
:
Sunday, July 26, 2009 7:19:00 AM(UTC)
Groups: Guests
Posts: 3,022
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)
Groups: Registered
Posts: 19
Hi Basel.
This problem was solved thru version upgrade (v16.5)
Thanks!
Alexandre
LEADTOOLS Support
Medical
Medical SDK Questions
MedicalViewer - Contrast/brightness doesn't work with Image (16 BitsPerPixel) from Dicomdataset
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.