Update README.md
Browse files
README.md
CHANGED
|
@@ -2,55 +2,64 @@
|
|
| 2 |
license: mit
|
| 3 |
tags:
|
| 4 |
- medical-imaging
|
| 5 |
-
-
|
| 6 |
- ct
|
| 7 |
- opscc
|
| 8 |
-
-
|
| 9 |
-
-
|
| 10 |
-
-
|
| 11 |
language: en
|
| 12 |
-
library_name:
|
| 13 |
---
|
| 14 |
|
| 15 |
-
# AsymmetryNet
|
| 16 |
|
| 17 |
-
Segmentation-free
|
| 18 |
-
|
| 19 |
-
|
| 20 |
|
| 21 |
-
##
|
| 22 |
|
| 23 |
-
|
| 24 |
-
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
both a stratified pooled holdout and leave-one-institution-out (LOIO)
|
| 37 |
-
cross-validation.
|
| 38 |
|
| 39 |
-
##
|
| 40 |
|
| 41 |
-
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
## Citation
|
| 47 |
|
| 48 |
-
If you use this
|
| 49 |
[full citation once accepted/published]
|
| 50 |
|
| 51 |
-
##
|
| 52 |
|
| 53 |
-
|
| 54 |
-
sources (HECKTOR, TCIA OPC-Radiomics, MICCAI/Kaggle) are available from
|
| 55 |
-
their original repositories under their respective data use terms; see
|
| 56 |
-
the manuscript's Data Availability statement for details.
|
|
|
|
| 2 |
license: mit
|
| 3 |
tags:
|
| 4 |
- medical-imaging
|
| 5 |
+
- radiomics
|
| 6 |
- ct
|
| 7 |
- opscc
|
| 8 |
+
- head-and-neck
|
| 9 |
+
- feature-extraction
|
| 10 |
+
- explainable-ai
|
| 11 |
language: en
|
| 12 |
+
library_name: numpy
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# AsymmetryNet: Asymmetry Attention Mechanism (AAM)
|
| 16 |
|
| 17 |
+
Segmentation-free feature extraction for radiologist-inspired left-right
|
| 18 |
+
asymmetry in head and neck CT, developed for HPV status prediction in
|
| 19 |
+
oropharyngeal squamous cell carcinoma (OPSCC).
|
| 20 |
|
| 21 |
+
## What this code does
|
| 22 |
|
| 23 |
+
Given a cropped neck CT volume (NIfTI), this pipeline computes three
|
| 24 |
+
per-slice asymmetry channels across the full volume in a single pass:
|
| 25 |
|
| 26 |
+
1. **Ch1 — Airway lesion**: seeded region growing from the airway lumen,
|
| 27 |
+
bounded by Sobel-detected soft-tissue edges, constrained to the side
|
| 28 |
+
of airway deviation from a spine-anchored midline.
|
| 29 |
+
2. **Ch2 — Nodal/soft-tissue asymmetry**: mirrored left-right comparison
|
| 30 |
+
of fat-plane and soft-tissue density about the same midline.
|
| 31 |
+
3. **Ch3 — Necrosis**: per-case, histogram-derived HU-windowed fluid
|
| 32 |
+
detection, restricted to the union of the Ch1 and Ch2 regions.
|
| 33 |
|
| 34 |
+
Midline is detected per case via spine-anchored bone-mass/compactness
|
| 35 |
+
scoring, not image center or a fixed landmark.
|
|
|
|
|
|
|
| 36 |
|
| 37 |
+
## Outputs (per case)
|
| 38 |
|
| 39 |
+
- A QC plot (5 representative slices x 5 panels: CT+midline+spine,
|
| 40 |
+
Sobel-cleaned edge map, and the three asymmetry channels).
|
| 41 |
+
- A 4D heatmap NIfTI (`D x H x W x 3`, channels = [airway_lesion, nodal,
|
| 42 |
+
necrosis]) for downstream radiomic feature extraction (e.g., MIRP)
|
| 43 |
+
restricted to these asymmetry-defined regions.
|
| 44 |
+
- A row of ~40 rich per-case features (areas, extents, laterality
|
| 45 |
+
ratios, 3D weighted centroids per channel) appended to a CSV.
|
| 46 |
+
|
| 47 |
+
## Usage
|
| 48 |
+
|
| 49 |
+
Set `BASE`, `CROP_DIR`, and `MASTER` at the top of the script to your
|
| 50 |
+
own paths. Input volumes are expected as normalized (0-1) or raw-HU
|
| 51 |
+
NIfTI crops at `{CROP_DIR}/{dataset}/{case_id}/crop224.nii.gz`; the
|
| 52 |
+
master index CSV needs `case_id`, `dataset`, `extracted` (bool), and
|
| 53 |
+
optionally `hpv_norm` columns.
|
| 54 |
+
|
| 55 |
+
Parallelized via `ProcessPoolExecutor` and resumable: interrupting and
|
| 56 |
+
restarting skips cases already written to the output CSV.
|
| 57 |
|
| 58 |
## Citation
|
| 59 |
|
| 60 |
+
If you use this code, please cite:
|
| 61 |
[full citation once accepted/published]
|
| 62 |
|
| 63 |
+
## License
|
| 64 |
|
| 65 |
+
MIT
|
|
|
|
|
|
|
|
|