Skip to content

Commit

Permalink
Merge pull request #48 from CBICA/ge-dev
Browse files Browse the repository at this point in the history
Ge dev
  • Loading branch information
AlexanderGetka-cbica authored Dec 10, 2024
2 parents 390c46a + d10f8ac commit af78dbb
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 5 deletions.
Binary file added resources/videos/nichart_vtutorial_smri_1.webm
Binary file not shown.
Binary file added resources/videos/nichart_vtutorial_smri_2.webm
Binary file not shown.
Binary file removed resources/videos/tutorial_smri_1.webm
Binary file not shown.
28 changes: 23 additions & 5 deletions src/viewer/pages/tutorial_dlmuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,34 @@ def show_video(f_video):
st.markdown(
"""
### Show me an example 🤔
- Example datasets are provided for your convenience. Please watch the videos below for a step-by-step guide.
Please watch the videos below for a step-by-step guide. Example datasets are provided for your convenience.
**Note:** These videos are currently under development and will be updated with newer versions as they become available.
"""
)

st.markdown(
"""
**Video tutorial 1:**
- DLMUSE segmentation on a small dataset provided as raw dicom files
- Data: /test_data/dicoms.zip
"""
)

if st.button(':material/play_circle: DICOMs to Biomarkers (small n, complete pipeline)'):
f_video=os.path.join(st.session_state.paths['root'], 'resources', 'videos', 'tutorial_smri_1.webm')
if st.button(':material/play_circle: DICOMs to Biomarkers'):
f_video=os.path.join(st.session_state.paths['root'], 'resources', 'videos', 'nichart_vtutorial_smri_1.webm')
show_video(f_video)

if st.button(':material/play_circle: ROIs to Biomarkers (larger n, pre-computed ROIs)'):
f_video=os.path.join(st.session_state.paths['root'], 'resources', 'videos', 'tutorial_smri_1.webm')
st.markdown(
"""
**Video tutorial 2:**
- Calculation of ML scores and visualization of data on a larger dataset using pre-computed DLMUSE values
- Data: /test_data/processed/IXI
"""
)

if st.button(':material/play_circle: ROIs to Biomarkers'):
f_video=os.path.join(st.session_state.paths['root'], 'resources', 'videos', 'nichart_vtutorial_smri_2.webm')
show_video(f_video)

st.markdown(
Expand Down
Binary file added test_data/dicoms.zip
Binary file not shown.

0 comments on commit af78dbb

Please sign in to comment.