[ITK-users] SimpleITK | chnage Window Levels on an image
Yaniv, Ziv Rafael (NIH/NLM/LHC) [C]
zivrafael.yaniv at nih.gov
Sat Mar 28 11:22:32 EDT 2015
My understanding is that you want to set the window and level. You can do this directly using the SetWindowLevel method:
http://www.itk.org/Doxygen/html/classitk_1_1IntensityWindowingImageFilter.html#ad99d5bd667dd23391ff3e2b2db1ce92d
Ziv
________________________________
From: Matias Montroull [matimontg at gmail.com]
Sent: Saturday, March 28, 2015 10:55 AM
To: Yaniv, Ziv Rafael (NIH/NLM/LHC) [C]
Cc: insight-users at itk.org Users
Subject: Re: [ITK-users] SimpleITK | chnage Window Levels on an image
Thanks Yaniv,
So if I would like to set the Levels of an image to let's say: WC 120 and WW 40, how should I use the variables below to do so?
filter->SetWindowMinimum(?);
filter->SetWindowMaximum(?);
I guess the above sentence just defines the range of the levels and not the actual level
Thank you,
Matias.
On Sat, Mar 28, 2015 at 11:47 AM, Yaniv, Ziv Rafael (NIH/NLM/LHC) [C] <zivrafael.yaniv at nih.gov<mailto:zivrafael.yaniv at nih.gov>> wrote:
The filter is:
itk::IntensityWindowingImageFilter
Ziv
________________________________
From: Matias Montroull [matimontg at gmail.com<mailto:matimontg at gmail.com>]
Sent: Saturday, March 28, 2015 8:57 AM
To: insight-users at itk.org<mailto:insight-users at itk.org> Users
Subject: [ITK-users] SimpleITK | chnage Window Levels on an image
Hi,
I would like to change the window width and window center of an image using ITK.
I guess it may be simple but I can't find the filter that would do that.
Thanks,
Matias.
More information about the Insight-users
mailing list