pulmonarytoolkit icon indicating copy to clipboard operation
pulmonarytoolkit copied to clipboard

Can't Load Nii files in pulmonary toolkit

Open anirban1513 opened this issue 4 years ago • 4 comments

Hello!!

I can't load nii files here. For lobe Segmentation!! How to do that??

anirban1513 avatar Dec 20 '20 08:12 anirban1513

ptk_main = PTKMain();

source_path_raw = 'C:\PATH_raw.nii'; source_path_airwaylabel = 'C:\PATH_airway.nii';

V_raw = niftiread(source_path_raw); V_airwaylabel = niftiread(source_path_airwaylabel);

this works for me.

1nvestigator avatar Dec 20 '20 16:12 1nvestigator

image

anirban1513 avatar Dec 20 '20 17:12 anirban1513

Did you set the path ? You can try to run at the same folder with .m file

1nvestigator avatar Dec 20 '20 17:12 1nvestigator

Hi @anirban1513, are you trying to load images into the GUI? What happens if you Import Data and choose the directory containing your .nii file?

tomdoel avatar Jan 04 '21 22:01 tomdoel