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

Home » Public Forums » archive » image display by IDL
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 display [message #36051 is a reply to message #28640] Thu, 07 August 2003 09:39 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
New2IDL writes:

> Is there anyway to display images in a clear format without
> bytscaling them. I have a dicom image which i can open using ImageJ
> and Osiris. When i try to open the same without bytscaling in IDL, i
> can see grains in the image and the number of grey shades in the image
> is lesser and there are white patches.
> Is there any way to fix this. The image has floating point values.

If you don't byte scale your data, IDL will use only
the lowest 8 bits of information in each pixel value
to display the data. This is why you are seeing those
strange artifacts.

Dicom images are typically 16-bit images, so users
sometimes like to choose what portion of their
total data set is being byte scaled. This is called
"windowing". Setting the TOP keyword on the BYTSCL
command will adjust the contrast on the portion of
the data that is in the "window".

You can read about this in this article (as well as
find links to some programs):

http://www.dfanning.com/ip_tips/contrast.html

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
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
Previous Topic: Image display
Next Topic: Re: Real time application

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

Current Time: Sat Oct 11 10:13:22 PDT 2025

Total time taken to generate the page: 0.71921 seconds