Commit 2dd5dae1 authored by cc215's avatar cc215 💬
Browse files

update readme

parent a4119796
<component name="InspectionProjectProfileManager">
<settings>
<option name="PROJECT_PROFILE" />
<version value="1.0" />
</settings>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
This diff is collapsed.
......@@ -21,6 +21,7 @@ author: Chen Chen (cc215@ic.ac.uk)
- install them by running `pip install -r requirements.txt`
## Test segmentation
- For a quick start, we provide test samples under `test_data` subdir
- LVSA segmentation
- `python predict.py --sequence LVSA`
- VLA segmentation
......@@ -30,8 +31,25 @@ author: Chen Chen (cc215@ic.ac.uk)
- LVOT segmentation
- `python predict.py --sequence LVOT`
Results will be saved under `test_results` by default
## Customize your need
- please read predict.py for avanced settings.
- python predict.py --sequence {sequence_name} --root_dir {root_dir} --image_format {image_format_name} --save_folder_path {dir to save the result} --save_name_format {name of nifti file}
- In this demo, our test data are structured like:
- test_data
- patientX01
- LVSA
- lvsa_img_ED.nii.gz
- lvsa_img_ES.nii.gz
- 4CH
- 4CH_img_ED.nii.gz
- LVOT
- LVOT_img_ED.nii.gz
- VLA
- VLA_img_ED.nii.gz
- e.g.
- predict LVSA: `python predict.py --sequence LVSA --root_dir 'test_data/' --image_format 'LVSA/LVSA_img_{}.nii.gz' --save_folder_path 'test_results/' --save_format_name 'seg_sa_{}.nii.gz' `
- please read predict.py for avanced settings (batch size, image resampling).
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment