function setcosff()
% This is the machine-generated representation of a Handle Graphics object
% and its children.  Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.

a = figure('Units','centimeters', ...
	'Color',[0.8 0.8 0.8], ...
	'IntegerHandle','off', ...
	'Name','Set cost function', ...
	'NumberTitle','off', ...
	'Position',[2.80681 5.22544 8.39056 5.46432], ...
	'Tag','filename');
b = uicontrol('Parent',a, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','setcostf ok', ...
	'Position',[0.58156 0.311475 0.340426 0.15847], ...
	'String','Ok', ...
	'Tag','Pushbutton1');
b = uicontrol('Parent',a, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','close(gcbf)', ...
	'Position',[0.58156 0.125683 0.340426 0.15847], ...
	'String','Cancel', ...
	'Tag','Pushbutton1');
b = uicontrol('Parent',a, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','setcostf Lp', ...
	'Position',[0.0390071 0.704917 0.457446 0.191257], ...
	'String','Lp', ...
	'Style','radiobutton', ...
	'Tag','Lp');
b = uicontrol('Parent',a, ...
	'Units','normalized', ...
	'Callback','setcostf L2entropy', ...
	'Position',[0.0390071 0.4153 0.457446 0.191257], ...
	'String','L2 entropy', ...
	'Style','radiobutton', ...
	'Tag','L2 entropy');
b = uicontrol('Parent',a, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','setcostf threshold', ...
	'Position',[0.0390071 0.125683 0.457446 0.191257], ...
	'String','Threshold', ...
	'Style','radiobutton', ...
	'Tag','Threshold');
b = uicontrol('Parent',a, ...
	'Units','normalized', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'HorizontalAlignment','left', ...
	'Position',[0.58156 0.797814 0.351064 0.0983607], ...
	'Style','text', ...
	'Tag','text');
b = uicontrol('Parent',a, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'HorizontalAlignment','left', ...
	'Position',[0.58156 0.606557 0.347518 0.174863], ...
	'Style','edit', ...
	'Tag','edit');
