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

Home » Public Forums » archive » Re: Medical Imaging Question
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: Medical Imaging Question [message #16603 is a reply to message #16599] Thu, 05 August 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Mirko (mirko_vukovic@notes.mrc.sony.com) writes:

> davidf@dfanning.com (David Fanning) wrote:
>>
>> I've got a 12-bit Dicom image. I want to display this in
>> such a way that there is a direct correlation between
>> the pixel value (0 to 4094) and the representation of
>> that pixel value on the display. How do I do that?
>>
>
> Can you please expand on that? What do you mean by direct correlation?
> For a 4-bit image would color be a good correlation
> (16 values <=> 16 colors/intensities)?

I mean by this that I want to "see" 4094 shades of gray.
Now I know there are only 256 "pure" shades of gray, so
I presume that I have to fudge a gray somehow. For example,
the pure gray (128, 128, 128) could be fudged by something
like (128, 128, 135). The latter is not really a gray, but
it's almost gray and presumably it "looks" different than
the pure gray. My question really boils down to this: Is there
some standard way to "fudge" gray values between the pure
gray values, so that it appears as though I have 4094
shades of gray? And if so, what is the algorithm to
go from the pixel representation on the display to the
real pixel value?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@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
Read Message
Read Message
Previous Topic: SAVEIMAGE update
Next Topic: Re: external c shared libraries

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

Current Time: Sat Oct 11 10:25:26 PDT 2025

Total time taken to generate the page: 0.32041 seconds