dki-questions
dki-questions > RE: dke_parameters cannot Access Image Files
Sep 26, 2019 08:09 PM | Rees Ridout
RE: dke_parameters cannot Access Image Files
Thanks for the reply.
1) Our data is: "/Volumes/sifnosspace/ReesWork/dki_example_data_nifti/4Drdki_0.nii"
2) DKE is installed in: "/Applications/Mac64/". There are two files in this folder: dke and run_dke.sh
3) MCR is installed in: "/Applications/MATLAB/MATLAB_Runtime/v90"
4) dke_parameter.data file is in: "/Volumes/sifnosspace/ReesWork/dke_parameters.dat"
Here is what we got after run the command line:
sifnos:sifnosspace rpr14$ /Applications/Mac64/run_dke.sh /Applications/MATLAB/MATLAB_Runtime/v90 /Volumes/sifnosspace/ReesWork/dke_parameters.dat
------------------------------------------
Setting up environment variables
---
DYLD_LIBRARY_PATH is .:/Applications/MATLAB/MATLAB_Runtime/v90/runtime/maci64:/Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64:/Applications/MATLAB/MATLAB_Runtime/v90/sys/os/maci64
dyld: Library not loaded: @rpath/libmwmclmcrrt.8.2.dylib
Referenced from: /Applications/Mac64/dke.app/Contents/MacOS/dke
Reason: image not found
/Applications/Mac64/run_dke.sh: line 29: 59115 Abort trap: 6 "/Applications/Mac64/dke.app/Contents/MacOS/dke" "/Volumes/sifnosspace/ReesWork/dke_parameters.dat"
4) We use the default dke_parameters.dat file and changed the path as suggested:
% paths
studydir = '/Volumes/sifnosspace/ReesWork/dki_example_data_nifti'; % root folder for data from all study subjects
subject_list = {''}; % cell array of subject sub-folders within the root folder studydir
% preprocessing parameters
preprocess_options_fn_nii='4Drdki_0.nii'; % input image format ('dicom', 'nifti' or 'bruker') (default: 'dicom')
preprocess_options.navg = 2; % number of DKI series (default: 2); each DKI series must contain a b = 0 image followed by diffusion-weighted images; all series must use identical acquisition protocols (i.e., same diffusion weightings and gradient directions)
preprocess_options.extra_b0 = 1; % whether (1) or not (0) there is an additional b = 0 series (default: 1); used when preprocess_options.format = 'dicom'
preprocess_options.coreg_flag = 1; % whether (1) or not (0) to perform 6-parameter rigid-body coregistration between diffusion-weighted images (default: 1); used when preprocess_options.format = 'dicom' or 'bruker'
preprocess_options.series_description = {'DKI1' 'DKI2' 'DKI_B0'}; % list of dicom series descriptions; used when preprocess_options.format = 'dicom'
preprocess_options.fn_nii = '4d.nii'; % four-dimensional nifti image file name; no coregistration is performed between the diffusion-weighted images; used when preprocess_options.format = 'nifti'; the first image must be the b = 0 image
% imaging diffusion weightings and directions
....................
Any suggestions?
Thanks,
Nian
1) Our data is: "/Volumes/sifnosspace/ReesWork/dki_example_data_nifti/4Drdki_0.nii"
2) DKE is installed in: "/Applications/Mac64/". There are two files in this folder: dke and run_dke.sh
3) MCR is installed in: "/Applications/MATLAB/MATLAB_Runtime/v90"
4) dke_parameter.data file is in: "/Volumes/sifnosspace/ReesWork/dke_parameters.dat"
Here is what we got after run the command line:
sifnos:sifnosspace rpr14$ /Applications/Mac64/run_dke.sh /Applications/MATLAB/MATLAB_Runtime/v90 /Volumes/sifnosspace/ReesWork/dke_parameters.dat
------------------------------------------
Setting up environment variables
---
DYLD_LIBRARY_PATH is .:/Applications/MATLAB/MATLAB_Runtime/v90/runtime/maci64:/Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64:/Applications/MATLAB/MATLAB_Runtime/v90/sys/os/maci64
dyld: Library not loaded: @rpath/libmwmclmcrrt.8.2.dylib
Referenced from: /Applications/Mac64/dke.app/Contents/MacOS/dke
Reason: image not found
/Applications/Mac64/run_dke.sh: line 29: 59115 Abort trap: 6 "/Applications/Mac64/dke.app/Contents/MacOS/dke" "/Volumes/sifnosspace/ReesWork/dke_parameters.dat"
4) We use the default dke_parameters.dat file and changed the path as suggested:
% paths
studydir = '/Volumes/sifnosspace/ReesWork/dki_example_data_nifti'; % root folder for data from all study subjects
subject_list = {''}; % cell array of subject sub-folders within the root folder studydir
% preprocessing parameters
preprocess_options_fn_nii='4Drdki_0.nii'; % input image format ('dicom', 'nifti' or 'bruker') (default: 'dicom')
preprocess_options.navg = 2; % number of DKI series (default: 2); each DKI series must contain a b = 0 image followed by diffusion-weighted images; all series must use identical acquisition protocols (i.e., same diffusion weightings and gradient directions)
preprocess_options.extra_b0 = 1; % whether (1) or not (0) there is an additional b = 0 series (default: 1); used when preprocess_options.format = 'dicom'
preprocess_options.coreg_flag = 1; % whether (1) or not (0) to perform 6-parameter rigid-body coregistration between diffusion-weighted images (default: 1); used when preprocess_options.format = 'dicom' or 'bruker'
preprocess_options.series_description = {'DKI1' 'DKI2' 'DKI_B0'}; % list of dicom series descriptions; used when preprocess_options.format = 'dicom'
preprocess_options.fn_nii = '4d.nii'; % four-dimensional nifti image file name; no coregistration is performed between the diffusion-weighted images; used when preprocess_options.format = 'nifti'; the first image must be the b = 0 image
% imaging diffusion weightings and directions
....................
Any suggestions?
Thanks,
Nian
Threaded View
Title | Author | Date |
---|---|---|
Rees Ridout | Sep 26, 2019 | |
Andrew Taylor | Sep 26, 2019 | |
Emilie McKinnon | Sep 26, 2019 | |
Rees Ridout | Sep 26, 2019 | |
Andrew Taylor | Sep 26, 2019 | |
Rees Ridout | Sep 26, 2019 | |
Andrew Taylor | Sep 26, 2019 | |
Nian Wang | Sep 26, 2019 | |
Emilie McKinnon | Oct 24, 2019 | |
Emilie McKinnon | Sep 26, 2019 | |