Image Segmentation
medical
biology
Jose commited on
Commit
c9690db
Β·
2 Parent(s): 1b052a1 4e78183

Merge branch 'github' into main

Browse files
Files changed (2) hide show
  1. README.md +11 -13
  2. imgs/samples_vascx_hrf.png +3 -0
README.md CHANGED
@@ -6,19 +6,15 @@ tags:
6
  - biology
7
  ---
8
 
9
- # VascX models
10
 
11
  This repository contains the instructions for using the VascX models from the paper [VascX Models: Model Ensembles for Retinal Vascular Analysis from Color Fundus Images](https://arxiv.org/abs/2409.16016).
12
 
13
  The model weights are in [huggingface](https://huggingface.co/Eyened/vascx).
14
 
15
- <img src="imgs/CHASEDB1_12R_rgb.png" width="240" height="240" style="display:inline"><img src="imgs/CHASEDB1_12R.png" width="240" height="240" style="display:inline">
16
 
17
- <img src="imgs/DRIVE_22_rgb.png" width="240" height="240" style="display:inline"><img src="imgs/DRIVE_22.png" width="240" height="240" style="display:inline">
18
-
19
- <img src="imgs/HRF_04_g_rgb.png" width="240" height="240" style="display:inline"><img src="imgs/HRF_04_g.png" width="240" height="240" style="display:inline">
20
-
21
- ## Installation
22
 
23
  To install the entire fundus analysis pipeline including fundus preprocessing, model inference code and vascular biomarker extraction:
24
 
@@ -27,7 +23,7 @@ To install the entire fundus analysis pipeline including fundus preprocessing, m
27
  2. Install the [rtnls_inference package](https://github.com/Eyened/retinalysis-inference).
28
 
29
 
30
- ## `vascx run` Command
31
 
32
  The `run` command provides a comprehensive pipeline for processing fundus images, performing various analyses, and creating visualizations.
33
 
@@ -57,7 +53,7 @@ vascx run DATA_PATH OUTPUT_PATH [OPTIONS]
57
  | `--overlay/--no-overlay` | `--overlay` | Create visualization overlays combining all results |
58
  | `--n_jobs` | `4` | Number of preprocessing workers for parallel processing |
59
 
60
- ### Output Structure
61
 
62
  When run with default options, the command creates the following structure in `OUTPUT_PATH`:
63
 
@@ -73,7 +69,7 @@ OUTPUT_PATH/
73
  └── fovea.csv # Fovea coordinates
74
  ```
75
 
76
- ### Processing Stages
77
 
78
  1. **Preprocessing**:
79
  - Standardizes input images for consistent analysis
@@ -100,7 +96,7 @@ OUTPUT_PATH/
100
  - Optic disc in white
101
  - Fovea marked with yellow X
102
 
103
- ### Examples
104
 
105
  **Process a directory of images with all analyses:**
106
  ```bash
@@ -127,14 +123,16 @@ vascx run /path/to/preprocessed/images /path/to/output --no-preprocess
127
  vascx run /path/to/images /path/to/output --n_jobs 8
128
  ```
129
 
130
- ### Notes
131
 
132
  - The CSV input must contain a 'path' column with image file paths
133
  - If the CSV includes an 'id' column, these IDs will be used instead of filenames
134
  - When `--no-preprocess` is used, input images must already be in the proper format
135
  - The overlay visualization requires at least one analysis component to be enabled
136
 
137
- ###
 
 
138
 
139
  To speed up re-execution of vascx we recommend to run the preprocessing and segmentation steps separately:
140
 
 
6
  - biology
7
  ---
8
 
9
+ # πŸ‘οΈ VascX models
10
 
11
  This repository contains the instructions for using the VascX models from the paper [VascX Models: Model Ensembles for Retinal Vascular Analysis from Color Fundus Images](https://arxiv.org/abs/2409.16016).
12
 
13
  The model weights are in [huggingface](https://huggingface.co/Eyened/vascx).
14
 
15
+ <img src="imgs/samples_vascx_hrf.png">
16
 
17
+ ## πŸ› οΈ Installation
 
 
 
 
18
 
19
  To install the entire fundus analysis pipeline including fundus preprocessing, model inference code and vascular biomarker extraction:
20
 
 
23
  2. Install the [rtnls_inference package](https://github.com/Eyened/retinalysis-inference).
24
 
25
 
26
+ ## πŸš€ `vascx run` Command
27
 
28
  The `run` command provides a comprehensive pipeline for processing fundus images, performing various analyses, and creating visualizations.
29
 
 
53
  | `--overlay/--no-overlay` | `--overlay` | Create visualization overlays combining all results |
54
  | `--n_jobs` | `4` | Number of preprocessing workers for parallel processing |
55
 
56
+ ### πŸ“ Output Structure
57
 
58
  When run with default options, the command creates the following structure in `OUTPUT_PATH`:
59
 
 
69
  └── fovea.csv # Fovea coordinates
70
  ```
71
 
72
+ ### πŸ”„ Processing Stages
73
 
74
  1. **Preprocessing**:
75
  - Standardizes input images for consistent analysis
 
96
  - Optic disc in white
97
  - Fovea marked with yellow X
98
 
99
+ ### πŸ’» Examples
100
 
101
  **Process a directory of images with all analyses:**
102
  ```bash
 
123
  vascx run /path/to/images /path/to/output --n_jobs 8
124
  ```
125
 
126
+ ### πŸ“ Notes
127
 
128
  - The CSV input must contain a 'path' column with image file paths
129
  - If the CSV includes an 'id' column, these IDs will be used instead of filenames
130
  - When `--no-preprocess` is used, input images must already be in the proper format
131
  - The overlay visualization requires at least one analysis component to be enabled
132
 
133
+ ## πŸ““ Notebooks
134
+
135
+ For more advanced usage, we have Jupyter notebooks showing how preprocessing and inference are run.
136
 
137
  To speed up re-execution of vascx we recommend to run the preprocessing and segmentation steps separately:
138
 
imgs/samples_vascx_hrf.png ADDED

Git LFS Details

  • SHA256: 17499c0fef958fe55ed8bc359d71d803048ef16c106e7cee78e01d95a38de1ec
  • Pointer size: 132 Bytes
  • Size of remote file: 6.08 MB