Skip to content

sct_dmri_moco - cropped vs non-cropped image #46

@valosekj

Description

@valosekj

I'm wondering about the following thing:

  • on line 275, the DWI image is cropped (the output is "${file_dwi}"_crop.nii.gz)
  • but then, on line 277, motion correction is done on the original, non-cropped image (${file_dwi}.nii.gz)

# Crop data for faster processing
sct_crop_image -i "${file_dwi}".nii.gz -m "${file_dwi_seg}".nii.gz -dilate 15x15x0 -o "${file_dwi}"_crop.nii.gz
# Motion correction
sct_dmri_moco -i ${file_dwi}.nii.gz -bvec ${file_bvec} -x spline

Isn't file_dwi="${file_dwi}_crop" missing between lines 275 and 277?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions