window leveling

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
AlreadyGoogled
Posts: 17
Joined: Wed, 2005-01-26, 16:43

window leveling

#1 Post by AlreadyGoogled »

How does DCMTK perform window leveling on RGB images?

Does it just do the window level formula on each color channel per pixel?

Is the SetWindow method of DicomImage + GetOutput fast enough to be called in real time so that I can change the window level interactively on the fly?

Thanks, :o
________
Teen Health Advice
Last edited by AlreadyGoogled on Sun, 2011-02-13, 00:31, edited 1 time in total.

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

How does DCMTK perform window leveling on RGB images?
DCMTK currently does not support windowing on RGB images.
Is the SetWindow method of DicomImage + GetOutput fast enough to be called in real time so that I can change the window level interactively on the fly?
This depends, of course, on the underlying hardware platform but in principle: yes, it is fast enough to perform windowing in real-time. For example, we've developed a mammography viewing software which offers interactive windowing on high-resolution screens. An alternative could be to perform the interactive windowing on a specific image region only (see DicomImage::setRoiWindow()).

winstondcm
Posts: 31
Joined: Wed, 2010-03-24, 17:14

hi

#3 Post by winstondcm »

i don't know whether it's DCMTK not support windows leveling on RGB color dicom or, the dicom standard says that. since i found Sante DICOM viewer can adjust window center/width when displaying RGB color image.


can you give me some explanation...

thanks a lot..

winston

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#4 Post by Jörg Riesmeier »

Why don't you just read the relevant sections of the DICOM standard, e.g. PS 3.3-2009 section C.11.2.1.2 (Window center and window width):
These Attributes shall be used only for Images with Photometric Interpretation (0028,0004)
values of MONOCHROME1 and MONOCHROME2. They have no meaning for other Images.

winstondcm
Posts: 31
Joined: Wed, 2010-03-24, 17:14

#5 Post by winstondcm »

Thank you very much, jorg..

have a nice weekend.

winston.

Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest