Window and Leveling
Posted by Prasad Rajagopal on Jun 13, 2006; 7:40pm
URL: http://imagej.273.s1.nabble.com/Window-and-Leveling-tp3702480.html
Hi all,
I am pretty much new to the mailing list but I have been using
ImageJ in my application for about an year. Recently we are required to
offer a new feature for our Medical Images - Window & Leveling concept.
After going through couple of articles I managed to understand
clearly what it means. But I also knew that, ImageJ does have W&L added in
the Menu Bar and I did play around with that for a while.
But our requirements are like this. We have specific users who
wants to have these Window&Level values preset for them.
For example:
Lungs = value1
Brain = value2
Bones = value3
etc.,
So i was thinking to have a drop-down list and have lungs,
brain, bones etc., listed in them. So when the user chooses one of them,
it will change the intensity of the Image to their needs.
So, can anybody help me find what API function should I exaclty
use for setting the values. I could not find any such function in the
documentation.
But I am pretty much convinced that there is one, because W&L of
the ImageJ has an "Apply" button in it, which exactly does what I need.
Any ideas ?
Thanks
Prasad