File size: 3,780 Bytes
594ae30
566d68e
 
 
 
8aaea5c
cd68073
8aaea5c
 
 
594ae30
cd68073
 
 
 
8aaea5c
 
566d68e
 
594ae30
 
45c3942
 
 
 
 
594ae30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
566d68e
594ae30
566d68e
594ae30
 
 
 
566d68e
594ae30
566d68e
594ae30
 
 
 
 
566d68e
594ae30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
566d68e
45c3942
 
594ae30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
---
title: Veterinary DICOM MCP Server
emoji: 🐾
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.32.0
app_file: app.py
pinned: false
license: apache-2.0
tags:
- mcp-server-track
- veterinary
- medical-imaging
- hackathon-2025
---

# 🐾 Veterinary DICOM MCP Server

**First MCP server for veterinary medical imaging with species-specific DICOM enhancement using CLAHE, adaptive histogram equalization, and AI-powered quality assessment.**

## πŸŽ₯ Demo Video
**[πŸ”— Watch the Full Demo on Loom](https://www.loom.com/share/edc57face5614164ac822b110ba76c0e?sid=241e64ef-06fc-4f2e-9c3e-2bf32cb5b162)**

See the Veterinary DICOM MCP Server in action with real veterinary X-ray enhancement and analysis.

## 🎯 Hackathon Track 1: MCP Server Implementation

Transforms veterinary radiology with:
- **Species-specific algorithms** (canine, feline, equine, bovine)
- **Advanced image enhancement** (CLAHE, adaptive, contrast stretching)
- **AI quality metrics** (SSIM, PSNR, entropy analysis)
- **Agent-ready prompts** for diagnostic assessment

Built with Gradio + scikit-image + veterinary expertise from DIRU (Diagnostic Imaging Research Unit).

## πŸ”§ MCP Integration

Add this to your Claude Desktop or MCP client:
```json
{
  "mcpServers": {
    "veterinary_dicom": {
      "url": "https://huggingface.co/spaces/Agents-MCP-Hackathon/veterinary-dicom-mcp/gradio_api/mcp/sse"
    }
  }
}
```

## πŸš€ Features

### Species-Specific Enhancement
- **Canine**: Optimized parameters for dog radiology
- **Feline**: Cat-specific imaging adjustments  
- **Equine**: Horse anatomy considerations
- **Bovine**: Cattle imaging optimization

### Advanced Algorithms
- **CLAHE**: Contrast Limited Adaptive Histogram Equalization
- **Adaptive**: Local contrast enhancement
- **Histogram**: Global equalization
- **Contrast Stretch**: Percentile-based improvement
- **Gamma Correction**: Brightness adjustment

### Quality Assessment
- **SSIM**: Structural Similarity Index
- **PSNR**: Peak Signal-to-Noise Ratio
- **Entropy**: Information content analysis
- **Edge Density**: Structure definition metrics

## πŸ₯ Clinical Applications

- **Diagnostic Imaging**: Enhanced visualization for veterinarians
- **Quality Control**: Automated image quality assessment
- **Research**: Standardized enhancement for studies
- **Education**: Teaching tool for veterinary radiology

## πŸ† Hackathon Innovation

This project represents the **first implementation** of:
- Veterinary-specific MCP server
- Species-aware medical image enhancement
- AI-powered diagnostic quality assessment
- Integration of veterinary domain expertise with modern AI tools

## πŸ”¬ Technical Implementation

Built using:
- **Gradio**: Web interface and MCP server framework
- **scikit-image**: Advanced image processing algorithms
- **PyDICOM**: Medical imaging format support
- **NumPy/SciPy**: Scientific computing foundation

## πŸ‘₯ Team

**DIRU - Diagnostic Imaging Research Unit**  
Veterinary Medicine, University of Zurich

Combining veterinary medical expertise with cutting-edge AI technology to advance animal healthcare through improved diagnostic imaging.

## πŸ“– Usage

1. Upload a DICOM file or medical image
2. Select animal species (canine, feline, equine, bovine)
3. Choose enhancement method (CLAHE, adaptive, etc.)
4. Specify body region for targeted analysis
5. Receive enhanced image with quality metrics and AI assessment

## 🎯 MCP Tools Available

- `enhance_dicom_image`: Species-specific image enhancement
- `compare_enhancement_methods`: Multi-algorithm comparison
- Automated quality metrics and diagnostic prompts for AI agents

---

**Developed for veterinary medicine with ❀️ and cutting-edge web technology**

**Gradio Agents & MCP Hackathon 2025 - Track 1 Submission**