English

Self-Supervised Continuous Colormap Recovery from a 2D Scalar Field Visualization without a Legend

Computer Vision and Pattern Recognition 2025-09-09 v2 Human-Computer Interaction

Abstract

Recovering a continuous colormap from a single 2D scalar field visualization can be quite challenging, especially in the absence of a corresponding color legend. In this paper, we propose a novel colormap recovery approach that extracts the colormap from a color-encoded 2D scalar field visualization by simultaneously predicting the colormap and underlying data using a decoupling-and-reconstruction strategy. Our approach first separates the input visualization into colormap and data using a decoupling module, then reconstructs the visualization with a differentiable color-mapping module. To guide this process, we design a reconstruction loss between the input and reconstructed visualizations, which serves both as a constraint to ensure strong correlation between colormap and data during training, and as a self-supervised optimizer for fine-tuning the predicted colormap of unseen visualizations during inferencing. To ensure smoothness and correct color ordering in the extracted colormap, we introduce a compact colormap representation using cubic B-spline curves and an associated color order loss. We evaluate our method quantitatively and qualitatively on a synthetic dataset and a collection of real-world visualizations from the VIS30K dataset. Additionally, we demonstrate its utility in two prototype applications -- colormap adjustment and colormap transfer -- and explore its generalization to visualizations with color legends and ones encoded using discrete color palettes.

Keywords

Cite

@article{arxiv.2507.20632,
  title  = {Self-Supervised Continuous Colormap Recovery from a 2D Scalar Field Visualization without a Legend},
  author = {Hongxu Liu and Xinyu Chen and Haoyang Zheng and Manyi Li and Zhenfan Liu and Fumeng Yang and Yunhai Wang and Changhe Tu and Qiong Zeng},
  journal= {arXiv preprint arXiv:2507.20632},
  year   = {2025}
}

Comments

Submitted to IEEE VIS 2025

R2 v1 2026-07-01T04:21:44.621Z