Page 1 of 1

Lookup table for input/output value changes?

Posted: Tue Feb 23, 2010 6:57 pm
by rkwright
I'm looking for a way to change a floating point TIFF to an indexed PNG. I need this done in a batch way, so that all input TIFFs are indexed with the same output values. The input images are all single-band.

Is there a way to use a lookup table in nconvert that provides min/max input values, along with the output number?

Example:

input range:output value
0.0-1.534:0
1.535-24.3922:1
25.3923-100.328:2
etc....

so if a pixel has a source value of 10.23 the output value would be 1

Thanks in advance!

Re: Lookup table for input/output value changes?

Posted: Wed Feb 24, 2010 9:53 am
by xnview
rkwright wrote: Is there a way to use a lookup table in nconvert that provides min/max input values, along with the output number?
!
Currently no way, but will be great!