AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
June 2011

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2011.06.24 20:40 "16-bit image", by Leandro Bugnon
2011.06.24 21:43 "Re: 16-bit image", by Bob Friesenhahn
2011.06.24 22:50 "Re: 16-bit image", by Leandro Bugnon
2011.06.24 23:45 "Re: 16-bit image", by Bob Friesenhahn
2011.06.24 23:57 "Re: 16-bit image", by Chris Cox
2011.06.25 00:27 "Re: 16-bit image", by Leandro Bugnon
2011.06.25 01:19 "Re: 16-bit image", by Bob Friesenhahn
2011.06.25 01:34 "Re: 16-bit image", by Leandro Bugnon

2011.06.24 22:50 "Re: 16-bit image", by Leandro Bugnon

Thanks for the quick answer. Here is a test image

   - http://www.filefactory.com/file/cc0b359/n/test1.tif


Another thing that cannot understand is that TIFFTAG_SMINSAMPLEVALUE
/ TIFFTAG_SMAXSAMPLEVALUE remains in zero value but I changed that in the
code.

2011/6/24 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>

> On Fri, 24 Jun 2011, Leandro Bugnon wrote:
>
>  Hi,
>> I'm getting a 14bit image from a CCD cam, and save it in a 16bit. The
>> problem is that, if I take only 2 gray
>> values (greater than zero and less than 2^14), the viewers that I try
>> (imageJ and irfanview) take them as
>> zero and max valuo (black and white), they don't show the real color. How
>> can I fix it? I've tryed the next
>> tags:
>>
>> The values are correctly saved, but it always show a full black and full
>> white value when there isn't any
>> zero or 2^16 value.
>>
>
> I am not immediately seeing a problem with your tags.  Perhaps the pixel
> values are wrong, or perhaps this is a problem with these viewers.
>
> Are you able to post a sample TIFF file somewhere so we can download
> it and see how it is constructed?
>
> Bob
> --
> Bob Friesenhahn
> bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/**
> users/bfriesen/ <http://www.simplesystems.org/users/bfriesen/>
> GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




-- 

Leandro