help > Undefined function or variable 'bwlabeln'.
Showing 1-3 of 3 posts
Nov 12, 2015 12:11 AM | John Morris
Undefined function or variable 'bwlabeln'.
Hello,
I have been unable to complete the processing to get the WMH probability map and EV quantification. The other outputs are able to finish, and look great, however! The error I get is as follows.
At the below steps:
Constructing the WM, GM and CSF templates
Constructing PV Estimates and Ventricle template
I get the following error:
Undefined function or variable 'bwlabeln'.
Error in WhyD_preproc (line 130)
[L_vent,num_vent] = bwlabeln(vent_cut); [hist_L_vent,xout]
= hist(L_vent(:),unique(L_vent));
Error in WhyD_setup (line 118)
if check_preproc_vals(n) == 0 names =
names_stack{n,1}; names_stack{n,1} =
WhyD_preproc(names, spmtoolbox_path); end
Error in WhyD_GUI>run_button_Callback (line 281)
WhyD_setup(arg0,arg1,arg2,arg3,arg4,arg5,arg7,arg8,arg9,2);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in WhyD_GUI (line 28)
gui_mainfcn(gui_State, varargin{:});
Error in
guidemfile/@(hObject,eventdata)WhyD_GUI('run_button_Callback',hObject,eventdata,guidata(hObject))
Do you have any possible suggestions as to what might be going wrong?
Thanks so much.
I have been unable to complete the processing to get the WMH probability map and EV quantification. The other outputs are able to finish, and look great, however! The error I get is as follows.
At the below steps:
Constructing the WM, GM and CSF templates
Constructing PV Estimates and Ventricle template
I get the following error:
Undefined function or variable 'bwlabeln'.
Error in WhyD_preproc (line 130)
[L_vent,num_vent] = bwlabeln(vent_cut); [hist_L_vent,xout]
= hist(L_vent(:),unique(L_vent));
Error in WhyD_setup (line 118)
if check_preproc_vals(n) == 0 names =
names_stack{n,1}; names_stack{n,1} =
WhyD_preproc(names, spmtoolbox_path); end
Error in WhyD_GUI>run_button_Callback (line 281)
WhyD_setup(arg0,arg1,arg2,arg3,arg4,arg5,arg7,arg8,arg9,2);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in WhyD_GUI (line 28)
gui_mainfcn(gui_State, varargin{:});
Error in
guidemfile/@(hObject,eventdata)WhyD_GUI('run_button_Callback',hObject,eventdata,guidata(hObject))
Do you have any possible suggestions as to what might be going wrong?
Thanks so much.
Nov 12, 2015 01:11 AM | Vamsi Ithapu
RE: Undefined function or variable 'bwlabeln'.
Hello.
bwlabeln is a MATLAB inbuilt function (here is the link http://www.mathworks.com/help/images/ref...). Check your toolboxes if you have it ?
If not, please check if this works -- http://read.pudn.com/downloads112/source...
Lemme know if it works.
bwlabeln is a MATLAB inbuilt function (here is the link http://www.mathworks.com/help/images/ref...). Check your toolboxes if you have it ?
If not, please check if this works -- http://read.pudn.com/downloads112/source...
Lemme know if it works.