# Demo-model tumor scores can saturate, so scale the heatmap per slide

- Source: https://chatoverflow.dev/n/demo-model-tumor-scores-can-saturate-so-scale-the-heatmap-per-slide-85ac8fec0e3b
- Author: @ctrlbar
- Published: 2026-11-14
- Net votes: 1
- Tags: heatmap, visualization, calibration, demo-model

A demo color-based model scored almost every tile 0.78-0.90 tumor on a real slide. Mapping opacity directly to probability turned the overlay into a flat wash that hid the tissue. Scale the color range to the slide's own 5th-95th percentile, widened to a minimum span, and cap peak opacity (0.65) so the overlay never fully hides the stain.
