Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] Visualization of Defacing Proceedure #22

Closed
bendhouseart opened this issue Nov 16, 2023 · 1 comment · Fixed by #28
Closed

[ENH] Visualization of Defacing Proceedure #22

bendhouseart opened this issue Nov 16, 2023 · 1 comment · Fixed by #28

Comments

@bendhouseart
Copy link
Collaborator

Add support to Mideface Nipype workflow to support creation of preview images using the --pics option, outputs should be stored in the derivatives folder and named accordingly.

@bendhouseart bendhouseart added this to the v0.1.0 milestone Nov 16, 2023
@bendhouseart bendhouseart linked a pull request Nov 30, 2023 that will close this issue
2 tasks
@bendhouseart
Copy link
Collaborator Author

I think this is GTG for now, it's going to take a bit of work adding in a node or function to run freeview to make previews of the defaced pet images, however now by default running this pipeline produces:

tree *_defaced 
COX-1_analysis_faced_anat_in_each_session_folder_defaced
├── README
├── dataset_description.json
├── derivatives
│   └── petdeface
│       └── sub-PS50
│           ├── ses-baseline
│           │   ├── anat
│           │   │   ├── sub-PS50_ses-baseline_T1w_defacemask.nii
│           │   │   ├── sub-PS50_ses-baseline_desc-faceafter_T1w.png
│           │   │   └── sub-PS50_ses-baseline_desc-facebefore_T1w.png
│           │   └── pet
│           │       └── sub-PS50_ses-baseline_desc-pet2anat_pet.lta
│           └── ses-blocked
│               ├── anat
│               │   ├── sub-PS50_ses-blocked_T1w_defacemask.nii
│               │   ├── sub-PS50_ses-blocked_desc-faceafter_T1w.png
│               │   └── sub-PS50_ses-blocked_desc-facebefore_T1w.png
│               └── pet
│                   └── sub-PS50_ses-blocked_desc-pet2anat_pet.lta
└── sub-PS50
    ├── ses-baseline
    │   ├── anat
    │   │   ├── sub-PS50_ses-baseline_T1w.json
    │   │   └── sub-PS50_ses-baseline_T1w.nii
    │   └── pet
    │       ├── sub-PS50_ses-baseline_pet.json
    │       └── sub-PS50_ses-baseline_pet.nii.gz
    └── ses-blocked
        ├── anat
        │   ├── sub-PS50_ses-blocked_T1w.json
        │   └── sub-PS50_ses-blocked_T1w.nii
        └── pet
            ├── sub-PS50_ses-blocked_pet.json
            └── sub-PS50_ses-blocked_pet.nii.gz
COX-1_analysis_faced_anat_in_first_session_folder_defaced
├── README
├── dataset_description.json
├── derivatives
│   └── petdeface
│       └── sub-PS50
│           ├── ses-baseline
│           │   ├── anat
│           │   │   ├── sub-PS50_ses-baseline_T1w_defacemask.nii
│           │   │   ├── sub-PS50_ses-baseline_desc-faceafter_T1w.png
│           │   │   └── sub-PS50_ses-baseline_desc-facebefore_T1w.png
│           │   └── pet
│           │       └── sub-PS50_ses-baseline_desc-pet2anat_pet.lta
│           └── ses-blocked
│               └── pet
│                   └── sub-PS50_ses-blocked_desc-pet2anat_pet.lta
└── sub-PS50
    ├── ses-baseline
    │   ├── anat
    │   │   ├── sub-PS50_ses-baseline_T1w.json
    │   │   └── sub-PS50_ses-baseline_T1w.nii
    │   └── pet
    │       ├── sub-PS50_ses-baseline_pet.json
    │       └── sub-PS50_ses-baseline_pet.nii.gz
    └── ses-blocked
        └── pet
            ├── sub-PS50_ses-blocked_pet.json
            └── sub-PS50_ses-blocked_pet.nii.gz
COX-1_analysis_faced_inherit_anat_defaced
├── README
├── dataset_description.json
├── derivatives
│   └── petdeface
│       └── sub-PS50
│           ├── anat
│           │   ├── sub-PS50_T1w_defacemask.nii
│           │   ├── sub-PS50_desc-faceafter_T1w.png
│           │   └── sub-PS50_desc-facebefore_T1w.png
│           ├── ses-baseline
│           │   └── pet
│           │       └── sub-PS50_ses-baseline_desc-pet2anat_pet.lta
│           └── ses-blocked
│               └── pet
│                   └── sub-PS50_ses-blocked_desc-pet2anat_pet.lta
└── sub-PS50
    ├── anat
    │   ├── sub-PS50_T1w.json
    │   └── sub-PS50_T1w.nii
    ├── ses-baseline
    │   └── pet
    │       ├── sub-PS50_ses-baseline_pet.json
    │       └── sub-PS50_ses-baseline_pet.nii.gz
    └── ses-blocked
        └── pet
            ├── sub-PS50_ses-blocked_pet.json
            └── sub-PS50_ses-blocked_pet.nii.gz

14 directories, 13 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant