commons-user mailing list archives

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

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,

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message