You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Gilles <gi...@harfang.homelinux.org> on 2014/04/01 12:47:53 UTC

Re: [imaging] Image from 2D-array of "double"s?

On Sat, 22 Mar 2014 15:13:15 +0100, Gilles wrote:
> 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.
>

Isn't Commons Imaging a suitable tool for this?


Regards,
Gilles


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