psudo: Exploring Multi-Channel Biomedical Image Data with Spatially and Perceptually Optimized Pseudocoloring

Simon Warchol, Jakob Troidl, Jeremy Muhlich, Robert Krüger, John Hoffer, Tica Lin, Johanna Beyer, Elena L. Glassman, Peter K. Sorger, Hanspeter Pfister · DOI

Abstract

Over the past century, multichannel fluorescence imaging has been pivotal in myriad scientific breakthroughs by enabling the spatial visualization of proteins within a biological sample. With the shift to digital methods and visualization software, experts can now flexibly pseudocolor and combine image channels, each corresponding to a different protein, to explore their spatial relationships. We thus propose psudo, an interactive system that allows users to create optimal color palettes for multichannel spatial data. In psudo, a novel optimization method generates palettes that maximize the perceptual differences between channels while mitigating confusing color blending in overlapping channels. We integrate this method into a system that allows users to explore multi-channel image data and compare and evaluate color palettes for their data. An interactive lensing approach provides on-demand feedback on channel overlap and a color confusion metric while giving context to the underlying channel values. Color palettes can be applied globally or, using the lens, to local regions of interest. We evaluate our palette optimization approach using three graphical perception tasks in a crowdsourced user study with 150 participants, showing that users are more accurate at discerning and comparing the underlying data using our approach. Additionally, we showcase psudo in a case study exploring the complex immune responses in cancer tissue data with a biologist.

Introduction

Modern "multiplexed" imaging techniques, such as CycIF, allow biologists to observe 50 or more different proteins (biomarkers) within a single tissue sample. To visualize these, scientists use "pseudocoloring"—assigning a specific color to each protein channel and then blending them together. However, this process is fraught with perceptual traps. Because human vision is trichromatic, we struggle to distinguish more than three channels at once. When multiple colored channels overlap, they often produce "metamerism"—a phenomenon where different combinations of proteins result in the exact same blended color, making it impossible to tell which protein is actually present.

Methods: Perceptual and Spatial Optimization

The authors introduce psudo, a visualization pipeline and optimization method that treats color assignment as a mathematical balancing act. Instead of standard RGB blending, psudo uses OKLab (a perceptually uniform color space) to create gradients and CIEXYZ to perform additive mixing. This ensures that the brightness and hue of the resulting image more accurately reflect the underlying physical data.

Individual channels are assigned specific colors (pseudocolors) before being blended into a composite image.

The system uses a "simulated annealing" algorithm to minimize an objective function based on three criteria:

  1. Perceptual Distance: Maximizing the Euclidean distance between colors in the palette.
  2. Name Distinctiveness: Ensuring colors have distinct linguistic names (e.g., "Blue" vs. "Purple") to improve cognitive processing speed.
  3. Spatial Confusion: Analyzing actual image data to identify overlapping channels. If two proteins frequently overlap, the algorithm avoids colors that blend into a third color already present in the palette.

Interactive Features: The Lensing Approach

A standout feature of the system is the "lens" tool, which allows users to optimize colors for a specific region of interest rather than the whole slide. This is crucial because a color palette that works globally might be ineffective for a specific cluster of cells.

The interactive lens allows users to optimize color palettes for specific local regions of interest, providing real-time feedback on color confusion.

The lens provides real-time feedback via "gauge charts" that indicate the level of "color confusion" in the current view. This "focus + context" approach allows researchers to drill down into complex areas without losing the broader spatial context.

Key Results and Expert Validation

The researchers evaluated psudo using high-resolution CycIF datasets of lung cancer and melanoma tissue. A study with 150 participants across tasks like value estimation and channel comparison revealed:

  • Higher Accuracy: Participants were significantly more accurate at interpreting protein levels using psudo compared to standard baselines.
  • Scalability: The performance advantage of psudo increased as more channels were added (up to 8 channels simultaneously).
  • Metamerism Reduction: psudo reduced the number of "confusing" pixels from 15.5% in baseline views to just 3.5%.

In a case study with a melanoma biologist, psudo helped identify "exhausted" T-cells near tumors more clearly than traditional tools, demonstrating its potential to accelerate biological discovery.

Conclusion

By moving beyond simple RGB blending and incorporating spatial data into the color selection process, psudo offers a robust framework for exploring high-dimensional biomedical images. Future work aims to extend these methods to 3D volumetric data and incorporate accessibility features for color-blind users.

Summary updated

BibTeX
@article{warchol2024psudo,
  author = {Simon Warchol and Jakob Troidl and Jeremy Muhlich and Robert Krüger and John Hoffer and Tica Lin and Johanna Beyer and Elena L. Glassman and Peter K. Sorger and Hanspeter Pfister},
  title = {{psudo: Exploring Multi-Channel Biomedical Image Data with Spatially and Perceptually Optimized Pseudocoloring}},
  journal = {Computer Graphics Forum},
  year = {2024},
  doi = {10.1111/cgf.15103},
}
Figure