comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Image scale as 0 - 4096 instead of 0 - 255
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Image scale as 0 - 4096 instead of 0 - 255 [message #29942 is a reply to message #29908] Tue, 26 March 2002 17:35 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Akhila (idlfreak@yahoo.com) writes:

> I hope i'm clear this time.

I think Mark solved this one for you. You can have as many
object windows as you like. Set the RETAIN keyword so they
do their own backing store and redraw properly.

> I'm sorry to bother you, but i have another question to ask you. I saw
> that you have once discussed about dispaying the image for Medical
> imaging purposes using 4096 as a greyscale instead of 255. Is that
> possible and how can you do that?

I didn't say 4096 shades of gray. I said that often medical
images are 12 or 16 bit rather than 8 and radiologists don't
want to throw *any* data away. So they prefer to define a
"window" into their 16-bit data and choose which range of
the data is displayed in the 256 shades of gray available
on a computer.

The program ConstrastZoom on my web page demonstrates one
way this windowing can be done (among other things).

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: command line edit problem
Next Topic: Re: updating a different widget from the event handler

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 23:55:31 PDT 2025

Total time taken to generate the page: 0.00491 seconds