> Is there any way an ImageJ macro can determine the name of the
currently loaded LUT for the active image?
> I can't find it under "Show Info" or anywhere else.
as far as I can say, ImageJ does not store the name of the LUT. If you
apply a LUT to an image, it only remembers the 256 R, G, B values (these
are set as ColorModel to the ImageProcessor holding the image).
You would have to write a plugin that takes the LUT of the current image
and compares it with the built-in ones (the list is available as
You would have to create a dummy image, apply the luts one after the
other, and see whether it matches. (I see no way to access the ImageJ
built-in LUTs without applying them to an image; see the code of