Skip to content

Commit e58574e

Browse files
committed
changed labels file
1 parent b89e50e commit e58574e

4 files changed

Lines changed: 19 additions & 133 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div style="text-align: justify; width: 100%;">
1717
This repository presents an auto-contouring algorithm [??] segmenting the entire heart, including its chambers and coronary arteries. This algorithm was trained on 560 thoracic planning computed tomography (CT) scans from Brigham and Women’s Hospital/Dana-Farber Cancer Institute and internally validated on 70 additional cases. External validation was conducted on 283 patients with lung or breast cancer treated at Cedars-Sinai Medical Center (2005-2020). This auto-contouring algorithm segments the whole heart, the heart chambers (LA, LV, RA, RV) and the heart coronaries (LAD, LCX, LM, PDA, RCA). </div>
1818

19-
Please refer to [TS_Eclipse.csv](heartSegClinic/data/labels/TS_Eclipse.csv) for additional details on the algorithm segments.
19+
Please refer to [modelLabels.csv](heartSegClinic/data/labels/modelLabels.csv) for additional details on the algorithm segments.
2020

2121
## Usage
2222

heartSegClinic/data/labels/TS_Eclipse.csv

Lines changed: 0 additions & 131 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Model_label,Name,Color
2+
heart,Heart,255-128-128
3+
heart_atrium_left,Atrium_L,255-128-0
4+
heart_atrium_right,Atrium_R,255-128-0
5+
heart_ventricle_left,Ventricle_L,255-128-0
6+
heart_ventricle_right,Ventricle_R,255-128-0
7+
HEART,Heart,255-128-128
8+
LA,Atrium_L,255-128-0
9+
RA,Atrium_R,255-128-0
10+
LV,Ventricle_L,255-128-0
11+
RV,Ventricle_R,255-128-0
12+
LAD,Coronary_LAD,128-0-64
13+
PDA,Coronary_PDA,128-0-64
14+
RCA,Coronary_RCA,128-0-64
15+
LCX,Coronary_LCX,128-0-64
16+
LM,Coronary_LM,128-0-64
17+
CORONARIES,Coronaries,128-0-64

heartSegClinic/pyHeartSegClinic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def str2bool(v):
246246
def heartSegClinic(inputPath : str, outputPath : str, verbose = False):
247247

248248
modelPath = pkg_resources.files("heartSegClinic").joinpath("data/models")
249-
labelsPath = pkg_resources.files("heartSegClinic").joinpath("data/labels/TS_Eclipse.csv")
249+
labelsPath = pkg_resources.files("heartSegClinic").joinpath("data/labels/modelLabels.csv")
250250

251251
df_labels = pd.read_csv(labelsPath)
252252

0 commit comments

Comments
 (0)