At the moment, 32-bit
int arrays are represented as RGB images by ImageJ1, which creates a problem if the
ints are being used to quantify something discrete (in my case, connected components particle labels), because the quantification is scrambled by the RGB conversion.
It would be very helpful to be able to display
int arrays as raw values from
Integer.MAX_VALUE with a look-up-table. The workaround is to use a 32-bit
float, but this loses integer precision at 223 (about 8 million) and so the rest of the 32-bit
int range up to 232 (about 2 billion) is not usable.
Having a look at the IJ1 code, it seems like it could be done by making a new
IntProcessor class based on e.g.
ShortProcessor, with the associated
@Wayne is this feasible?