Update README.md
Browse files
README.md
CHANGED
|
@@ -25,7 +25,9 @@ CSDI/
|
|
| 25 |
β βββ ...
|
| 26 |
βββ CSDI_annotations.csv # Annotation CSV file (UTF-8 encoded)
|
| 27 |
βββ README.md # Dataset description
|
| 28 |
-
|
|
|
|
|
|
|
| 29 |
```
|
| 30 |
|
| 31 |
|
|
@@ -82,7 +84,18 @@ This standardized scoring system and diagnostic protocol were strictly adhered t
|
|
| 82 |
|
| 83 |
English and Chinese versions of the diagnostic descriptions are included to support multilingual and cross-lingual research applications.
|
| 84 |
|
| 85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
## π― Applications
|
| 87 |
|
| 88 |
- Automated cataract screening and grading
|
|
|
|
| 25 |
β βββ ...
|
| 26 |
βββ CSDI_annotations.csv # Annotation CSV file (UTF-8 encoded)
|
| 27 |
βββ README.md # Dataset description
|
| 28 |
+
βββ LICENSE.md # Dataset license (CC BY-NC 4.0)
|
| 29 |
+
βββ crop_fundus_images.py # Script for cropping fundus images
|
| 30 |
+
βββ augment_fundus_images.py # Script for image augmentation
|
| 31 |
```
|
| 32 |
|
| 33 |
|
|
|
|
| 84 |
|
| 85 |
English and Chinese versions of the diagnostic descriptions are included to support multilingual and cross-lingual research applications.
|
| 86 |
|
| 87 |
+
## π» Code Scripts
|
| 88 |
+
|
| 89 |
+
- **crop_fundus_images.py**: Crop fundus images to remove black borders and save cropping info in CSV.
|
| 90 |
+
```bash
|
| 91 |
+
python crop_fundus_images.py -i csdi_datasets/original_images -o csdi_datasets/cropped_images -p 0 -c crop_info.csv
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
augment_fundus_images.py: Apply random rotations, zoom-ins, and rotation+zoom augmentations to cropped images.
|
| 95 |
+
```bash
|
| 96 |
+
python augment_fundus_images.py
|
| 97 |
+
```
|
| 98 |
+
|
| 99 |
## π― Applications
|
| 100 |
|
| 101 |
- Automated cataract screening and grading
|