baiwenjia / ukbb_cardiac

Some code for processing and analysing UK Biobank cardiac MR images.
Apache License 2.0
147 stars 64 forks source link

No such file: sa_crop.nii.gz、 seg_sa_crop.nii.gz #7

Open Tiantian089 opened 4 years ago

Tiantian089 commented 4 years ago

Hi, I ran into some problems when running eval_strain_sax.py. It shows that FileNotFoundError: No such file or no access: '/cine_motion/sa_crop.nii.gz'

I think maybe the following statement did not execute successfully: os.system('mirtk transform-image {0}/sa.nii.gz {1}/sa_crop.nii.gz ' '-target {1}/seg_sa_lv_crop_ED.nii.gz'.format(data_dir, output_dir)) os.system('mirtk transform-image {0}/seg_sa.nii.gz {1}/seg_sa_crop.nii.gz ' '-target {1}/seg_sa_lv_crop_ED.nii.gz'.format(data_dir, output_dir))

But I've downloaded the MIRTK successful.... Could you give me some guidances?

tramanhphambme commented 2 years ago

Hello, I recently downloaded and tried to run the code. I also download the MIRTK program completely. But I couldn't run that statement as well. If you firgure it out, could you please share with me? Thanks

iimog commented 1 year ago

Can you verify, that mirtk is not only downloaded but in a location where it can be found by your shell. You can check with which mirtk. If the output is empty you need to add the folder containing mirtk to your PATH. For me this command works.

Taylent commented 3 months ago

I would like to ask what features should I select when compiling MIRTK with CMAKE?