Lookup table for input/output value changes?
Posted: 2010-02-23T11:39:51-07:00
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 ImageMagick 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....
such that if a pixel has a source value of 10.23 the output value would be 1
Thanks in advance!
Is there a way to use a lookup table in ImageMagick 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....
such that if a pixel has a source value of 10.23 the output value would be 1
Thanks in advance!