tomdoel / pulmonarytoolkit

Lung medical image analysis and visualisation software for Matlab.
GNU General Public License v3.0
86 stars 58 forks source link

Can't Load Nii files in pulmonary toolkit #44

Open anirban1513 opened 3 years ago

anirban1513 commented 3 years ago

Hello!!

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

1nvestigator commented 3 years ago

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.

anirban1513 commented 3 years ago

image

1nvestigator commented 3 years ago

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

tomdoel commented 3 years ago

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?