File size: 3,724 Bytes
fa07d98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
---
license: apache-2.0
tags:
- infrared-small-target-detection
- remote-sensing
- computer-vision
- frequency-domain
- pytorch
---

<a id="top"></a>
<div align="center">
  <h1>πŸš€ HDNet: A Hybrid Domain Network with Multi-Scale High-Frequency Information Enhancement for Infrared Small Target Detection</h1>

  <p>
    <b>Mingzhu Xu</b><sup>1</sup>&nbsp;
    <b>Chenglong Yu</b><sup>1</sup>&nbsp;
    <b>Zexuan Li</b><sup>1</sup>&nbsp;
    <b>Haoyu Tang</b><sup>1</sup>&nbsp;
    <b>Yupeng Hu</b><sup>1βœ‰</sup>&nbsp;
    <b>Liqiang Nie</b><sup>1</sup>
  </p>

  <p>
    <sup>1</sup>Affiliation (Please update if needed)
  </p>
</div>

Official implementation of **HDNet**, a Hybrid Domain Network for Infrared Small Target Detection (IRSTD).

πŸ”— **Journal:** IEEE Transactions on Geoscience and Remote Sensing (TGRS), 2025  
πŸ”— **Task:** Infrared Small Target Detection (IRSTD)  
πŸ”— **Framework:** PyTorch  

---

## πŸ“Œ Model Information

### 1. Model Name
**HDNet** (Hybrid Domain Network)

---

### 2. Task Type & Applicable Tasks
- **Task Type:** Infrared Small Target Detection / Remote Sensing  
- **Core Task:** Small target detection under complex backgrounds  
- **Applicable Scenarios:**
  - Infrared surveillance  
  - Remote sensing target detection  
  - Low-SNR object detection  

---

### 3. Project Introduction

Infrared small target detection is challenging due to low signal-to-noise ratio and complex background interference.

**HDNet** proposes a Hybrid Domain Network that integrates spatial-domain and frequency-domain representations:

- **Spatial Domain Branch:** introduces Multi-scale Atrous Contrast (MAC) module to enhance target perception  
- **Frequency Domain Branch:** introduces Dynamic High-Pass Filter (DHPF) to suppress low-frequency background  
- Combines complementary representations to improve target-background contrast  

### Key Contributions:
- A hybrid-domain framework combining spatial and frequency information  
- MAC module for multi-scale small target perception  
- DHPF module for adaptive low-frequency suppression  
- Extensive validation on three benchmark datasets  

---

### 4. Training Data Source

Datasets:

- **IRSTD-1K**
- **NUAA-SIRST**
- **NUDT-SIRST**

Download datasets and place them in:

```
./datasets
```

---

## πŸš€ Environment Setup

- Ubuntu 22.04  
- Python 3.10  
- PyTorch 2.1.0  
- Torchvision 0.16.2+cu121  
- CUDA 12.1  
- GPU: NVIDIA RTX 3090  

---

## πŸš€ Training

```bash
python main.py --dataset-dir './dataset/IRSTD-1k' --batch-size 4 --epochs 800 --mode 'train'
```

---

## πŸš€ Testing

```bash
python main.py --dataset-dir './dataset/IRSTD-1k' --batch-size 4 --mode 'test' --weight-path './weight/irstd.pkl'
```

---

## πŸ“Š Quantitative Results

| Dataset    | mIoU | Pd | Fa |
|-----------|------|----|----|
| IRSTD-1K   | 70.26 | 94.56 | 4.33 |
| NUAA-SIRST | 79.17 | 100 | 0.53 |
| NUDT-SIRST | 85.17 | 98.52 | 2.78 |

---

## πŸ“Š Qualitative Results

Visual results:

https://drive.google.com/drive/folders/1RfoxhoHpjfbRMZHBOvISrJSB5lpoz40t?usp=drive_link

---

## ⚠️ Notes

- Based on improvements over MSHNet  
- Uses SLS loss  
- Designed for research purposes  

---

## πŸ“ Citation

```bibtex
@ARTICLE{11017756,
 author={Xu, Mingzhu and Yu, Chenglong and Li, Zexuan and Tang, Haoyu and Hu, Yupeng and Nie, Liqiang},
 journal={IEEE Transactions on Geoscience and Remote Sensing}, 
 title={HDNet: A Hybrid Domain Network With Multiscale High-Frequency Information Enhancement for Infrared Small-Target Detection}, 
 year={2025},
 volume={63},
 pages={1-15},
 doi={10.1109/TGRS.2025.3574962}
}
```

---

## πŸ“¬ Contact

For questions or collaboration, please contact the corresponding author.

---