ukbb_cardiac icon indicating copy to clipboard operation
ukbb_cardiac copied to clipboard

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

Open Tiantian089 opened this issue 4 years ago • 3 comments

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?

Tiantian089 avatar Aug 04 '20 13:08 Tiantian089

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

tramanhphambme avatar May 30 '22 04:05 tramanhphambme

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.

iimog avatar Aug 31 '22 11:08 iimog

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

Taylent avatar Apr 24 '24 16:04 Taylent