barma7 commited on
Commit
43c7de4
·
verified ·
1 Parent(s): 5be8272

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +99 -6
README.md CHANGED
@@ -1,14 +1,107 @@
1
  ---
2
  license: mit
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
- This dataset repository contains the T2 maps from the Multi-Echo-Spin-Echo (MESE) data present in the Osteoarthritis Initiative (OAI) fitted using the Extended Phase Graph (EPG) formalism, as described in Marco Barbieri, Anthony A. Gatti, and Feliks Kogan's work "Improving Accuracy and Repeatability of Cartilage T2 Mapping in the OAI Dataset through Extended Phase Graph Modeling."
6
- Currently, MESE data have been processed until the 48-month follow-up, but we will upload the remaining time points soon. Check the repository frequently.
7
 
8
- The journal article is currently in press in the Journal of Magnetic Resonance Imaging, but the full citation isn't still available and will be updated soon.
9
- If you use data from this repository, check frequently for the updated full citation and, please, cite the journal publication.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
- **Full journal citation:**
12
  Barbieri, M., Gatti, A.A. and Kogan, F. (2024), Improving Accuracy and Reproducibility of Cartilage T2 Mapping in the OAI Dataset Through Extended Phase Graph Modeling. J Magn Reson Imaging. https://doi.org/10.1002/jmri.29646
13
 
14
- The code used to perform the fitting is publicly available on GitHub at: https://github.com/barma7/EPGfit_for_cartilage_T2_mapping
 
 
 
1
  ---
2
  license: mit
3
  ---
4
+ # Osteoarthritis Initiative (OAI) T2 Maps – EPG Fit Dataset
5
+ ---
6
+ ## Dataset Summary
7
+
8
+ This dataset repository contains T2 maps derived from the Multi-Echo Spin-Echo (MESE) MRI data in the Osteoarthritis Initiative (OAI).
9
+ The maps were generated specifically for cartilage regions using the Extended Phase Graph (EPG) formalism, which improves the accuracy and reproducibility of cartilage T2 mapping, as detailed in the work of Marco Barbieri, Anthony A. Gatti, and Feliks Kogan (2024) [https://doi.org/10.1002/jmri.29646](https://doi.org/10.1002/jmri.29646).
10
+
11
+ ## Dataset Structure
12
+
13
+ ### Files and Folders
14
+
15
+ The dataset is organized by acquisition timepoints. Each main folder represents a timepoint in the OAI dataset and contains subfolders for individual subjects.
16
+
17
+ - **Timepoints**: `00m`, `12m`, `24m`, `36m`, `48m`, `72m`, `96m`.
18
+ - **Subject folders**: Each folder name is the unique OAI subject ID (e.g., `9000099`).
19
+
20
+ Within each subject folder:
21
+ - **`t2.nii.gz`**: The T2 map computed using the EPG dictionary fitting method, specific to cartilage regions.
22
+ - **`r2.nii.gz`**: The r-squared value of the fit (goodness of fit).
23
+
24
+ ### MESE Data Location Files
25
+
26
+ For each acquisition timepoint (e.g., `00_month_mese_locations.csv`, `12_month_mese_locations.csv`, etc), a CSV file provides a mapping to the original MESE data within the OAI dataset. Each CSV file includes the following columns:
27
+
28
+ - **subject_id**: The unique identifier for each OAI subject.
29
+ - **visit**: The month corresponding to the acquisition timepoint (e.g., 36 for `36m`).
30
+ - **laterality**: Indicates whether the MESE data is from the **RIGHT** or **LEFT** knee.
31
+ - **dicom_mese_path**: The relative path to the original DICOM MESE data within the OAI dataset.
32
+ - **t2map_nifti_path**: The relative path to the computed T2 map for that subject, located in this dataset.
33
+
34
+ These CSV files help researchers locate the original MESE DICOM data within the OAI dataset, which may be useful for referencing or aligning with other imaging modalities.
35
+
36
+ ### Features
37
+
38
+ - **Subject ID** (str): Unique identifier for each subject in the OAI study.
39
+ - **T2 Map (`t2.nii.gz`)**: Computed T2 map for cartilage using the EPG fitting method.
40
+ - **R-Squared Map (`r2.nii.gz`)**: Fit accuracy metric for the T2 computation.
41
+
42
+ ## Cartilage-Specific T2 Mapping
43
+
44
+ The T2 map in this dataset is provided **only for cartilage regions**, as the EPG model used in the computation is specifically designed for cartilage magnetic resonance (MR) properties. The model leverages segmented cartilage regions from the femoral, tibial, and patellar regions. Here’s the complete mapping process:
45
+
46
+ 1. **Cartilage Segmentation**: For each subject, the femoral, tibial, and patellar cartilage were segmented from the corresponding Double Echo Steady State (DESS) image using the [ShapeMedKneeModel](https://huggingface.co/aagatti/ShapeMedKnee).
47
+
48
+ 2. **Registration to MESE Images**: The segmented cartilage masks were then registered to the MESE images using [Elastix](https://github.com/SuperElastix/elastix), ensuring anatomical alignment across sequences.
49
+
50
+ 3. **Dilated Mask for T2 Mapping**: A dilated version of the cartilage mask was used during the T2 mapping process to allow researchers the flexibility to apply their segmentations if desired. This ensures that cartilage boundaries are fully captured while also accounting for anatomical variations.
51
+
52
+ The cartilage segmentations used for the OAI dataset are available in the public repository [ShapeMedKnee](https://huggingface.co/aagatti/ShapeMedKnee) and will be regularly maintained and updated there.
53
+
54
+ ## Dataset Creation
55
+
56
+ The T2 maps in this dataset were generated from the MESE data in the OAI dataset using the Extended Phase Graph (EPG) fitting method as described in the work by [Barbieri, Gatti, and Kogan, published in *Journal of Magnetic Resonance Imaging* (2024)](https://doi.org/10.1002/jmri.29646).
57
+ The code used to perform this fitting is open-source and accessible on GitHub at [EPGfit_for_cartilage_T2_mapping](https://github.com/barma7/EPGfit_for_cartilage_T2_mapping).
58
 
59
+ ## Getting Started
 
60
 
61
+ ### Installation
62
+
63
+ You can install and access the dataset using the `datasets` library:
64
+
65
+ ```bash
66
+ pip install datasets
67
+ ```
68
+
69
+ ### Usage
70
+
71
+ Load and interact with the dataset in Python:
72
+
73
+ ```python
74
+ from datasets import load_dataset
75
+
76
+ dataset = load_dataset("barma7/oai-t2maps-epgfit")
77
+
78
+ # Accessing a specific timepoint and subject data
79
+ print(dataset["00m"]["9000099"]["t2"])
80
+ print(dataset["00m"]["9000099"]["r2"])
81
+ ```
82
+
83
+ ## Dataset Details
84
+
85
+ - **File Size**: Each T2 map file (`t2.nii.gz`) and r-squared file (`r2.nii.gz`) are stored in compressed `.nii.gz` format, with sizes varying per subject and time point.
86
+ - **Number of Samples**: Covers subjects across seven OAI acquisition timepoints for which MESE was available.
87
+ - **File Format**: `.nii.gz` files.
88
+
89
+ ## License
90
+
91
+ This dataset is licensed under the MIT License, which allows for free use, modification, and distribution with attribution. For full license details, please see the LICENSE file in this repository.
92
+
93
+ ---
94
+
95
+ ## Acknowledgments
96
+
97
+ This dataset was created based on the Osteoarthritis Initiative (OAI) dataset. The authors, Marco Barbieri, Anthony A. Gatti, and Feliks Kogan, acknowledge the original OAI study and the contributions of all OAI collaborators.
98
+
99
+ ## Citation
100
+
101
+ If you use this dataset in your research, please cite:
102
 
 
103
  Barbieri, M., Gatti, A.A. and Kogan, F. (2024), Improving Accuracy and Reproducibility of Cartilage T2 Mapping in the OAI Dataset Through Extended Phase Graph Modeling. J Magn Reson Imaging. https://doi.org/10.1002/jmri.29646
104
 
105
+ ---
106
+
107
+ This README now covers all necessary information in a structured, accessible way. Let me know if you’d like further adjustments!