Embed lookup table in a floating point tif

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Embed lookup table in a floating point tif

Mikhail
Hi!

I'm wondering if there is a way to embed a lookup table in a floating
point (SAMPLEFORMAT_IEEEFP) tif file? It would seem that the required
lookup table size for a 32bit value is 2^32, which is gigantic! The way
I expect this to work is to apply the lookup between the values set by
MinSampleValue\MaxSampleValue or SMinSampleValue\SMaxSampleValue

A week ago I asked this question on SO
(http://stackoverflow.com/questions/42777811/embed-lookup-table-in-a-floating-point-tif)
but it hasn't received much of a response. Maybe somebody on this
mailing list would know?
_______________________________________________
Tiff mailing list: [hidden email]
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Embed lookup table in a floating point tif

Kemp Watson-2
You can embed anything you like in any kind of TIFF; just remembering that
other applications will likely not understand how to read itŠ

A TIFF file does not have a sample format, just the image(s) within.

W. Kemp Watson
[hidden email]


Objective Pathology Services Limited

8250 Lawson Road
Milton, Ontario
Canada  L9T 5C6

www.objectivepathology.com
tel. +1 (416) 970-7284





On 2017-03-18, 6:08 PM, "Mikhail" <[hidden email] on
behalf of [hidden email]> wrote:

>Hi!
>
>I'm wondering if there is a way to embed a lookup table in a floating
>point (SAMPLEFORMAT_IEEEFP) tif file? It would seem that the required
>lookup table size for a 32bit value is 2^32, which is gigantic! The way
>I expect this to work is to apply the lookup between the values set by
>MinSampleValue\MaxSampleValue or SMinSampleValue\SMaxSampleValue
>
>A week ago I asked this question on SO
>(http://stackoverflow.com/questions/42777811/embed-lookup-table-in-a-float
>ing-point-tif)
>but it hasn't received much of a response. Maybe somebody on this
>mailing list would know?
>_______________________________________________
>Tiff mailing list: [hidden email]
>http://lists.maptools.org/mailman/listinfo/tiff
>http://www.remotesensing.org/libtiff/


_______________________________________________
Tiff mailing list: [hidden email]
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
Loading...