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

Home » Public Forums » archive » How to display a 16-bit gray image
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: How to display a 16-bit gray image [message #59968 is a reply to message #59822] Mon, 21 April 2008 04:59 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Magic.Zhou@gmail.com writes:

> I am doing a assignment, the image is 16-bit( 0-(2^16)-1), I use tvscl
> commond to display the image, but seems not ideal, is there someone
> who can give me the idea? Thank you!

Often 16-bit images are "windowed and leveled", meaning
you allow the user to select the center (level) and
extent (window) of the data to be scaled into 256 values
for display:

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

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: interpolation problem
Next Topic: Problem with histogram calculation - please need help

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

Current Time: Fri Oct 10 01:50:30 PDT 2025

Total time taken to generate the page: 0.24289 seconds