[Insight-users] DICOM WINDOW CENTER AND WIDTH

Wes Turner wes.turner at kitware.com
Wed Jan 4 09:12:35 EST 2012


Roberto,

I may have confused these with the values in 0028|1051 and 0028|1050.
 There are valid cases to use the slope/intercept to rescale the data.
 Sorry for the noise.

- Wes

On Wed, Jan 4, 2012 at 1:02 AM, Roberto Laurita
<roberto.laurita at gmail.com>wrote:

> Hi Wes.
>
> So, if I use the function "getpixel" I'll get an absolute value (not
> related to 0028|1050 and 0028|1051).
>
> Could you confirm it?
>
> br
>
> roberto
>
> Il giorno 02/gen/2012 19.13, "Wes Turner" <wes.turner at kitware.com> ha
> scritto:
>
> Roberto,
>>
>> I believe 0028|1050 and 0028|1051 are display only parameters and only
>> impact how bright a given pixel value appears.  I do not believe that they
>> actually specify modifications to the pixel values.  They are not binding
>> on the viewer and almost any software for viewing DICOM images will allow
>> you to interactively change the actual display settings used, but again,
>> that does not translate into an actual change in the pixel value, only how
>> bright a given value appears.
>>
>> - Wes
>>
>> On Fri, Dec 30, 2011 at 12:51 PM, Martijn Steenwijk <
>> martijnsteenwijk at gmail.com> wrote:
>>
>>> Hi Roberto,
>>>
>>> Can you supply some information about the scanner manufacturer and
>>> sequences? Were both slices acquired in the same series?
>>>
>>> Best,
>>> Martijn
>>>
>>> -----Oorspronkelijk bericht-----
>>> Van: insight-users-bounces at itk.org [mailto:insight-users-bounces at itk.org
>>> ]
>>> Namens Fleysher, Lazar
>>> Verzonden: vrijdag 30 december 2011 15:53
>>> Aan: Roberto Laurita
>>> CC: insight-users at itk.org
>>> Onderwerp: Re: [Insight-users] DICOM WINDOW CENTER AND WIDTH
>>>
>>> Dear Roberto
>>>
>>> I am not familiar with the meaning of "window center" and "window width"
>>> so
>>> cannot help you there, but as I mentined earlier, when two different
>>> acquisitions are made, you have to worry about other things.
>>> You really have to know what your particular system does. there are other
>>> factors involved which may not be even stored in DICOM... :( These
>>> factors
>>> are receiver gain, some other scale factors which manufacturer decided to
>>> put in .... yes yes... You have to force the system to operate under
>>> identical conditions in two cases. Probably you did that, but I thought I
>>> would mention it anyway.
>>>
>>> Lazar
>>> ________________________________
>>> From: Roberto Laurita [roberto.laurita at gmail.com]
>>> Sent: Thursday, December 29, 2011 07:30
>>> To: Fleysher, Lazar
>>> Cc: insight-users at itk.org
>>> Subject: Re: [Insight-users] DICOM WINDOW CENTER AND WIDTH
>>>
>>> Hi Lazar,
>>>
>>> thank you for the answer.
>>>
>>> It's better to supply more details. I have 1 slice acquired 2 times with
>>> a
>>> different TR. So I have 2 dicom files.
>>> Reading the headers of these 2 files I found different values of "window
>>> center" and "window width". The MRI scanner provided 2 couples of values
>>> for
>>> rendering reason.
>>>
>>> I'd like to know if it's possible to set "window center" and "window
>>> width"
>>> in the second file the same values of the first one. I need to compare
>>> the
>>> intensities (with different TR) of the same pixel
>>>
>>> I thought about manual rescaling, but ...... if there is a better way
>>> ......
>>>
>>> Thanks again
>>>
>>> Ciao
>>>
>>> Roberto
>>>
>>>
>>> 2011/12/29 Fleysher, Lazar
>>> <lazar.fleysher at mountsinai.org<mailto:lazar.fleysher at mountsinai.org>>
>>> Hello Roberto
>>>
>>> If I understood you correctly, you are asking how to convert from pixel
>>> intensity to image intensity.
>>> This is done, as far as I know like this:
>>>
>>> ImageValue = slope * storedValue + intercept.
>>>
>>> However, you should be aware that this is not the whole story. Some other
>>> hardware-related
>>> parameters might be at play which might contribute to scaling. It
>>> depends on
>>> how the data was acquired...
>>>
>>> Lazar
>>> ________________________________________
>>> From: insight-users-bounces at itk.org<mailto:insight-users-bounces at itk.org
>>> >
>>> [insight-users-bounces at itk.org<mailto:insight-users-bounces at itk.org>] on
>>> behalf of roberto.laurita
>>> [roberto.laurita at gmail.com<mailto:roberto.laurita at gmail.com>]
>>> Sent: Wednesday, December 28, 2011 17:57
>>> To: insight-users at itk.org<mailto:insight-users at itk.org>
>>> Subject: [Insight-users] DICOM WINDOW CENTER AND WIDTH
>>>
>>> Hi all,
>>>
>>> I hope someone will help me. My deal is to import and compare 2 slices
>>> (.dcm).
>>>
>>> In Dicom header there are 2 parameters 0028|1050 and 0028|1051 which work
>>> like contrast and brightness. I need to modify these parameters. Doing
>>> this,
>>> pixel intensity should be modified.
>>>
>>> Using ITK examples I'm able to do everything (read dicom header, and read
>>> pixels) but the change above.
>>>
>>> To compare pixel intensities of 2 slice windows center and width must be
>>> the
>>> same. A normalization is required.
>>>
>>> Could you suggest me how to change windows center and width ?
>>>
>>> Thanks
>>>
>>> BR
>>>
>>> Roberto
>>>
>>> --
>>> View this message in context:
>>>
>>> http://itk-insight-users.2283740.n2.nabble.com/DICOM-WINDOW-CENTER-AND-WIDTH
>>> -tp7134284p7134284.html<http://itk-insight-users.2283740.n2.nabble.com/DICOM-WINDOW-CENTER-AND-WIDTH-tp7134284p7134284.html>
>>> Sent from the ITK Insight Users mailing list archive at Nabble.com.
>>> _____________________________________
>>> Powered by www.kitware.com<http://www.kitware.com>
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://www.kitware.com/products/protraining.html
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-users
>>>
>>> _____________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://www.kitware.com/products/protraining.html
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-users
>>>
>>> _____________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Kitware offers ITK Training Courses, for more information visit:
>>> http://www.kitware.com/products/protraining.html
>>>
>>> Please keep messages on-topic and check the ITK FAQ at:
>>> http://www.itk.org/Wiki/ITK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.itk.org/mailman/listinfo/insight-users
>>>
>>
>>
>>
>> --
>> Wesley D. Turner, Ph.D.
>> Kitware, Inc.
>> Technical Leader
>> 28 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4920
>>
>


-- 
Wesley D. Turner, Ph.D.
Kitware, Inc.
Technical Leader
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4920
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120104/716c1ed2/attachment.htm>


More information about the Insight-users mailing list