Hi, All
I was trying to use the ibaspm atlasing function on the colin brain in spm5 using Matlab 7.4 (R2007a) running on MAC OS 10.4. I get the following error message:
efilling...
??? Undefined function or method 'imfill' for input arguments of type 'char'.
Error in ==> Auto_Labelling at 127
Iseg_mask = imfill(logical(Iseg_mask),'holes');
Error in ==> Atlasing at 159
Auto_Labelling(GMSegFile, WMSegFile, CSSegFile, AtlasFile, Transf_matname, Output_dir(i,:),Thresh);
Error in ==> IBASPM_Atlasing>pushbutton4_Callback at 277
Atlasing(Images, Out_dir, AtlasFile, TempFile, Thresh);
Error in ==> gui_mainfcn at 95
feval(varargin{:});
Error in ==> IBASPM_Atlasing at 44
gui_mainfcn(gui_State, varargin{:});
??? Error using ==> IBASPM_Atlasing('pushbutton4_Callback',gcbo,[],guidata(gcbo))
Undefined function or method 'imfill' for input arguments of type 'char'.
??? Error while evaluating uicontrol Callback
Any insights into how I can conceivably fix this?
Thank you,
Cyrus