# Dataset Description

This repository contains two datasets: **bird_dataset** and **face_dataset**, each with different folder structures and naming conventions.

---

## 1. Bird Dataset
- **Path:** `./bird_dataset/`  
- **Contents:** Multiple images, each bird corresponds to one index (`idx`).  

### Naming Rules
- Format: `{idx}_{type}.png`  
  - `idx`: Number `0–65`, uniquely identifies a bird.  
  - `type`: Image role, one of:
    - `lq` → Low-Quality degraded input (model input)  
    - `hq` → High-Quality ground truth (for loss/evaluation)  
    - `ref` → High-Quality reference (guide image for enhancement)  

### Example
- For the same bird (`idx=0`):  
  - `0_lq.png` → degraded input  
  - `0_hq.png` → ground truth  
  - `0_ref.png` → reference image  

### Quick Info
- Resolution: `512 × 512`  
- Total: `66` birds (idx `0–65`), i.e. `198` images  

---

## 2. Face Dataset
- **Path:** `./face_dataset/`  
- Resolution: `512 × 512`  
- Total: `162` face pairs

### Structure
- `hq/` → High-Quality ground truth images  
- `lq/` → Low-Quality degraded input images  
- `reference/` → High-Quality reference images  
- `processed_test.json` → Metadata file recording each LQ–Ref–HQ triplet  

### Notes
- Each sample is represented as a **triplet**:
  - one `lq` image  
  - one corresponding `hq` ground truth  
  - one `reference` image (used for enhancement)  
- The file `processed_test.json` stores all triplet mappings for testing/validation.  

---