tomdoel / pulmonarytoolkit

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

undefined function 'ordf' #21

Open cat2tom opened 7 years ago

cat2tom commented 7 years ago

Sorry for another question. After manage to load CT images, click any module, it always failed and gave some the following information:

The plugin PTKSpongeModel failed with the following error: Undefined function 'ordf' for input arguments of type 'double'

Could you help me to resolve the problem? I am using matlab 2015a on Window 7.

Thanks

cat2tom commented 7 years ago

Really impressive! You created your own GUI system using OOP.

tomdoel commented 7 years ago

So far I've not been able to reproduce this on R2015b or R2016b. It sounds like a problem with the Matlab image processing toolbox but it's hard to confirm that. Do you have the image processing toolbox installed and does it match your version of Matlab? And is it correctly on your path? You could try executing some example uses of Matlab's ordfilt2function and see if that works correctly.

tomdoel commented 7 years ago

NB. I'm planning to spin out the GUI system soon as a separate project so it can be used to create custom GUI applications