commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <gil...@harfang.homelinux.org>
Subject [imaging] Image from 2D-array of "double"s?
Date Sat, 22 Mar 2014 14:13:15 GMT
Hello.

I wish to easily generate an image representing the data stored in
a double[][]. Each array element is a pixel of the resulting image
(the entry at (0, 0) is the bottom-left pixel of the image).

Then, is there some tool to automatically map a selected range of
data values into a palette of colours[1]?


Thanks for your advice,
Gilles

[1] Values outside the range should be mapped to e.g. black, or even
     better, made transparent.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message