Skip to content

Commit

Permalink
Update process_data.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthakpati authored Mar 12, 2021
1 parent 5db2cf9 commit d231e23
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/process_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,12 @@ If you have processed data from a prior study that you would like to include in
2. Run `PrepareDataset` [as shown above](#pre-processing)
3. In `DataForQC`, under each patient, the transformation matrices will be generated per modality. Use the **T1CE_to_SRI.mat** file (the assumption here is that the data is co-registered within each patient) to transform the annotation (which is in the patient space) in the following manner:
```bash
${fets_root_dir}/bin/Preprocessing -i /path/to/patient_X/annotation.nii.gz -rFI ${fets_root_dir}/data/sri24/atlasImage.nii.gz -o /path/to/output/DataForFeTS/patient_X/annotation_final_seg.nii.gz -reg Rigid -rIS 1 -rIA /path/to/output/DataForQC/patient_X/T1CE_to_SRI.mat -rSg 1
${fets_root_dir}/bin/Preprocessing \
-i /path/to/patient_X/annotation.nii.gz \
-rFI ${fets_root_dir}/data/sri24/atlasImage.nii.gz \
-o /path/to/output/DataForFeTS/patient_X/annotation_final_seg.nii.gz \
-rIA /path/to/output/DataForQC/patient_X/T1CE_to_SRI.mat \
-reg Rigid -rIS 1 -rSg 1
```
4. Load the transformed images and corresponding annotation to ensure they are aligned correctly:
- `/path/to/output/DataForFeTS/patient_X/brain_*`
Expand Down

0 comments on commit d231e23

Please sign in to comment.