Perceptually Uniform Projection (PUP)
PUP is an ImageJ/Fiji macro that uses the CIELAB color space to generate a perceptually accurate display of two grayscale images as a single color image. More information about PUP and its derivation can be found in the following publication:
Taylor, A. B., Ioannou, M. S., Watanabe, T., Hahn, K., & Chew, T. L. (2017). Perceptually accurate display of two greyscale images as a single colour image. Journal of microscopy, 268(1), 73-83. https://doi.org/10.1111/jmi.12588
File Descriptions
Our code consists of three files:
PUP_CODE.ijm- the ImageJ/Fiji macroPUP_NR.lut- the narrow range lookup tablePUP_BR.lut- the broad range lookup table
Dependencies
PUP code depends on ijp-color written by Jarek Sacha. The Color and Multiband Processing plugin (which is part of IJ-Plugins Toolkit) can be installed through the ImageJ/Fiji update site https://sites.imagej.net/IJ-Plugins/. Instructions can be found at https://github.com/ij-plugins/ijp-toolkit/wiki.
Installation
- Install IJ-Plugins Toolkit dependency.
- Place the lookup table files (i.e.,
PUP_NR.lutandPUP_BR.lut) in the default ImageJlutsfolder (typically,ImageJ.app/lutsorFiji.app/luts). - Open/Run
PUP_CODE.ijmthrough the ImageJ/Fiji menu system (Plugins > Macros > Run…). Alternatively, drag-and-drop the file onto the ImageJ/Fiji toolbar.