Overview
DigiPathAI provides specialized models for breast cancer metastasis detection, trained on the Camelyon (Cancer Metastases in Lymph Nodes) dataset. These models identify metastatic regions in lymph node sections.Camelyon Dataset
The Camelyon dataset contains whole slide images of lymph node sections with annotations for breast cancer metastases. The model ensemble includes:Inception
Multi-scale analysis for metastatic patterns
DenseNet
Efficient feature propagation for detection
DeepLabV3
Precise metastasis boundary segmentation
Model Details
The breast cancer models are automatically managed by DigiPathAI:Models are stored in
~/.DigiPathAI/camelyon_models/ and include:camelyon_inception.h5camelyon_deeplabv3.h5camelyon_densenet.h5
Usage Example
Basic Breast Metastasis Detection
Quick Mode (Single Model)
High-Sensitivity Detection
Parameters
| Parameter | Description | Default | Breast-Specific Notes |
|---|---|---|---|
mode | Tissue type | - | Must be set to 'breast' |
model | Architecture choice | 'dense' | Options: ‘dense’, ‘inception’, ‘deeplabv3’ |
quick | Single vs ensemble | True | Set to False for ensemble |
patch_size | Inference patch size | 256 | Recommended: 256 for metastasis detection |
stride_size | Sliding window stride | 128 | Use 64 for higher sensitivity |
batch_size | Batch size for inference | 32 | Adjust based on GPU memory |
Output
The segmentation provides comprehensive metastasis analysis:- Probability Map - Continuous probability values for metastatic likelihood
- Binary Mask - Thresholded segmentation (threshold=0.3) of metastatic regions
- Uncertainty Map - Model variance for quality assessment
Clinical Applications
- Sentinel Lymph Node Screening: Rapid detection of metastases
- Micrometastasis Detection: Identify small metastatic foci (less than 2mm)
- Macrometastasis Quantification: Measure extent of large metastases
- Quality Assurance: Uncertainty maps highlight areas needing pathologist review
- Research: Correlate metastatic burden with patient outcomes
Detection Thresholds
The default threshold (0.3) balances sensitivity and specificity. Adjust based on your use case:The Camelyon models are trained on lymph node sections and optimized for detecting breast cancer metastases. Performance on other tissue types may vary.
Related
- Colon Cancer Segmentation - DigestPath models
- Liver Cancer Segmentation - PAIP models
- API Reference - Full parameter documentation