|
Hello,
I have an array of floats that I want to turn into
an RGB BufferedImage.
Each float should correspond to one pixel, e.g. for
a float array that is 65536 elements long, I want to display a 256 x 256
image.
The range of the data is zero to approx
70.0
This is medical radiation dose data (higher values,
higher radiation dose).
I would like to be able to do something like
this:
all vals <= someMin
are to be transparent
all vals in
Range1 are to
be Color1
all vals in
Range2 are to
be Color2
etc.
Eventually I will superimpose this image over an
anatomical image to show which organs received what dose.
Thank you for your help and advice,
Ted Hill
|
