Re: 255 and 0 [message #39780] |
Sat, 12 June 2004 12:24 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Adhara writes:
> I know for sure that my bitmap contains ONLY zeros and 255s. However,
> when I try to transform this bitmap into a Tif image, the result shows
> 238 and 226 as well! How is this possible?
It's not possible. :-)
How do you "know" your bitmap contains only zeros and 255s?
Are both your bitmap AND your TIFF files 2D image arrays?
> I was suggested to scale
> the values, however, this is still happening...
There is absolutely no point in scaling data that
is already scaled into the range you want.
> Can someone help me..???
Probably not without collecting an eye of a newt
or something. I think you computer must be possessed. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|