# Technical Document: Medical Image Segmentation Model Comparison
## Image Structure
The image is a comparative visualization of medical image segmentation results across three datasets: **LITS** (Liver Tumor Segmentation), **LITS** (repeated), and **Kvasir-SEG** (polyp segmentation). Each row represents a dataset, and each column represents a model's output or ground truth.
---
## Labels and Axis Titles
- **Rows (Datasets):**
1. **LITS** (Liver Tumor Segmentation)
2. **LITS** (repeated, likely a different slice or case)
3. **Kvasir-SEG** (polyp segmentation in endoscopic images)
- **Columns (Models/Datasets):**
1. **Image**: Original input medical images.
2. **GT (Ground Truth)**: Reference segmentation masks (gold standard).
3. **PAM-UNet**: Segmentation output from the PAM-UNet model.
4. **UNet**: Segmentation output from the UNet model.
5. **DeepLabv3+**: Segmentation output from the DeepLabv3+ model.
6. **HRNet**: Segmentation output from the HRNet model.
7. **FCN8**: Segmentation output from the FCN8 model.
8. **ResUNet**: Segmentation output from the ResUNet model.
9. **MobileUNet**: Segmentation output from the MobileUNet model.
10. **AttUNet**: Segmentation output from the AttUNet model.
---
## Key Observations
1. **Ground Truth (GT)**:
- White regions represent the target anatomical structures (e.g., liver tumors, polyps).
- Used as the reference for evaluating model performance.
2. **Model Performance**:
- **PAM-UNet** (red label): Highlights segmentation results with varying accuracy across datasets.
- **UNet**: Shows moderate segmentation quality, with some over/under-segmentation.
- **DeepLabv3+**: Captures larger tumor regions but may miss smaller details.
- **HRNet**: Demonstrates finer segmentation but with potential noise in Kvasir-SEG.
- **FCN8**: Struggles with small structures (e.g., polyps in Kvasir-SEG).
- **ResUNet**: Balanced performance, closely matching GT in LITS.
- **MobileUNet**: Lightweight model with acceptable results but lower precision.
- **AttUNet**: Attention-based model shows improved focus on small structures (e.g., polyps).
3. **Dataset-Specific Notes**:
- **LITS**: Focuses on liver tumor segmentation. Models like ResUNet and PAM-UNet perform well.
- **Kvasir-SEG**: Polyp segmentation is challenging due to small size and variability. AttUNet and HRNet show better adaptation.
---
## Color Legend
- **Green**: Ground Truth (GT).
- **Red**: PAM-UNet segmentation results.
- **Black/White**: Segmentation outputs from other models (binary masks).
---
## Transcribed Text Embedded in Diagrams
- Column headers: `Image`, `GT`, `PAM-UNet`, `UNet`, `DeepLabv3+`, `HRNet`, `FCN8`, `ResUNet`, `MobileUNet`, `AttUNet`.
- Row headers: `LITS`, `LITS`, `Kvasir-SEG`.
---
## Notes
- All segmentation outputs are binary masks (black background, white segmented regions).
- Model performance varies by dataset complexity (e.g., Kvasir-SEG's small polyps vs. LITS' larger tumors).
- No numerical metrics (e.g., Dice score) are provided; qualitative comparison is implied.