Search found 4 matches

by romangrothausmann
2019-07-03T06:33:53-07:00
Forum: Users
Topic: Mapping (neg./pos.) float values to a LUT on an absolute scale
Replies: 6
Views: 6343

Re: Mapping (neg./pos.) float values to a LUT on an absolute scale

I see, thanks for that clarification, something new to learn every day;-)
by romangrothausmann
2019-07-03T03:06:57-07:00
Forum: Users
Topic: Mapping (neg./pos.) float values to a LUT on an absolute scale
Replies: 6
Views: 6343

Re: Mapping (neg./pos.) float values to a LUT on an absolute scale

Many thanks snibgo for all your feedback. I got it solved with: convert-im6.q16hdri input.tif -fx " ( u - -0.57368) / (0.673743 - -0.57368) " LUT.png -clut output.png Your hint to use IM-HDRI was what I had been missing when trying that before. Oddly, convert-im6.q16hdri input.tif -evaluat...
by romangrothausmann
2019-07-02T07:27:38-07:00
Forum: Users
Topic: Mapping (neg./pos.) float values to a LUT on an absolute scale
Replies: 6
Views: 6343

Re: Mapping (neg./pos.) float values to a LUT on an absolute scale

Many thanks snibgo for taking a look and for your response. I suppose you mean -0.57368 and 0.673743 of QuantumRange I'm not sure about that. The input.tif contains 32-bit float values, in this case the are all within [-1,1] but in general could be outside that range. Isn't QuantumRange limited to t...
by romangrothausmann
2019-07-02T01:26:40-07:00
Forum: Users
Topic: Mapping (neg./pos.) float values to a LUT on an absolute scale
Replies: 6
Views: 6343

Mapping (neg./pos.) float values to a LUT on an absolute scale

Hi! How can I apply a LUT (of e.g. 200 colors) to an image containing negative and positive float values (input.tif, scientific image, similar to a distance-map) on an absolute scale? I.e. I would like the first color of the LUT to be mapped to -0.57368 and the last color of the LUT to 0.673743. Is ...