Hello,
I'm trying to use the FieldMap Toolbox (ver.beta.2.0) for SPM5 to create a
field map. I introduce the Phase and Magnitude images and the Short and Long
TE times and then I click calculate and I get the following error message in
Matlab:
??? Invalid MEX-file
'/usr/local/bin/spm5/toolbox/FieldMap/ip_bwlabel.mexglx':
/usr/local/bin/spm5/toolbox/FieldMap/ip_bwlabel.mexglx: symbol
mxGetNumberOfDimensions, version libmx.INTERNAL not defined in file
libmx.so with link time reference.
Error in ==> pm_mask at 38
[lmask,num] = ip_bwlabel(mask,6);
Error in ==> pm_unwrap at 167
mask = pm_mask(angvar,mthres,ndil);
Error in ==> pm_make_fieldmap at 162
[fm.upm,angvar,fm.mask,fm.opm] = pm_unwrap(cmap,pxs,flags.method);
Error in ==> FieldMap at 1621
IP.fm = pm_make_fieldmap([IP.P{1} IP.P{2} IP.P{3}
IP.P{4}],IP.uflags);
Error in ==> FieldMap at 697
status=FieldMap('CreateFieldMap',IP);
??? Error while evaluating uicontrol Callback
I've searched the archives and haven't found anyone with a similar problem,
so any help will be very much appreciated. Is it a bug or am I doing
something wrong?
Thanks,
Ana Catarino
|