RainyNight commited on
Commit
6be85e8
Β·
verified Β·
1 Parent(s): e3f94d5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +15 -2
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
- └── LICENSE # Dataset license (CC BY-NC 4.0)
 
 
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