Skip to content

Commit 0a5d778

Browse files
Merge pull request #24 from AtlasAnalyticsLab/fix/contour-visualization-scaling
docs(readme): add visualization samples and comparison figure
2 parents 55b78c1 + 00520f2 commit 0a5d778

3 files changed

Lines changed: 17 additions & 9 deletions

File tree

README.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- [B - Patch Coordinate Extraction](#b-patch-coordinate-extraction)
1616
- [C - Patch Embedding](#c-patch-embedding)
1717
- [D - Patch Writing](#d-patch-writing)
18+
- [Visualization Samples](#visualization-samples)
1819
- [Process Command Arguments](#process-command-arguments)
1920
- [Required](#required)
2021
- [Optional](#optional)
@@ -41,7 +42,6 @@
4142
- [License](#license)
4243
- [Future Updates](#future-updates)
4344
- [Slide Encoders](#slide-encoders)
44-
- [Visualization Samples](#visualization-samples)
4545

4646
## Installation
4747

@@ -175,6 +175,22 @@ atlaspatch segment-and-get-coords /path/to/slide.svs \
175175

176176
Pass a directory instead of a single file to process multiple WSIs; outputs land in `<output>/patches/<stem>.h5` based on the path you provide to `--output`.
177177

178+
### Visualization Samples
179+
180+
Below are some examples for the output masks and overlays (original image, predicted mask, overlay, contours, grid).
181+
182+
<p align="center">
183+
<img src="assets/images/VisualizationSamples.png" alt="AtlasPatch visualization samples" width="100%">
184+
</p>
185+
186+
Quantitative and qualitative analysis of AtlasPatch tissue detection against existing slide-preprocessing tools.
187+
188+
<p align="center">
189+
<img src="assets/images/Comparisons.jpg" alt="AtlasPatch method comparison" width="100%">
190+
</p>
191+
192+
Representative WSI thumbnails are shown from diverse tissue features and artifact conditions, with tissue masks predicted by thresholding methods (TIAToolbox, CLAM) and deep learning methods (pretrained "non-finetuned" SAM2 model, Trident-QC, Trident-Hest and AtlasPatch), highlighting differences in boundary fidelity, artifact suppression and handling of fragmented tissue (more tools are shown in the appendix). Tissue detection performance is also shown on the held-out test set for AtlasPatch and baseline pipelines, highlighting that AtlasPatch matches or exceeds their segmentation quality. The segmentation complexity–performance trade-off, plotting F1-score against segmentation runtime (on a random set of 100 WSIs), shows AtlasPatch achieves high performance with substantially lower wall-clock time than tile-wise detectors and heuristic pipelines, underscoring its suitability for large-scale WSI preprocessing.
193+
178194
### Process Command Arguments
179195

180196
The `process` command is the primary entry point for most workflows. It runs the full pipeline: tissue segmentation, patch coordinate extraction, and feature embedding. You can process a single slide or an entire directory of WSIs in one command.
@@ -491,11 +507,3 @@ AtlasPatch is released under CC-BY-NC-SA-4.0, which strictly disallows commercia
491507
492508
### Slide Encoders
493509
- We plan to add slide-level encoders (open for extension): TITAN, PRISM, GigaPath, Madeleine.
494-
495-
## Visualization Samples
496-
497-
Below are some examples for the output masks and overlays (original image, predicted mask, overlay, contours, grid).
498-
499-
<p align="center">
500-
<img src="assets/images/VisualizationSamples.png" alt="AtlasPatch visualization samples" width="100%">
501-
</p>

assets/images/Comparisons.jpg

12.3 MB
Loading
687 KB
Loading

0 commit comments

Comments
 (0)