Use getColorForFloat for all elements of the given arrays, whereas the values are first normalized to [0,1], either using the given min/max values or based on the actual minimal and maximal values existing in the array. More...

Use getColorForFloat for all elements of the given arrays, whereas the values are first normalized to [0,1], either using the given min/max values or based on the actual minimal and maximal values existing in the array.

The output is a byte array of size 3*width*height containing the colors in RGB order. If gray_scale is true, the outcome will still be an RGB image, but all colors apart for the special colors of non-finite numbers, will be gray values