【正文】
imshow(g)。 g=histeq(img_src,255)。)。 % function m_image_jh_Callback(hObject, eventdata, handles) % hObject handle to m_image_jh (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) img_src=getappdata(,39。 end end end axes()。 elseif img_src(i,j) fb J(i,j)=k2*(img_src(i,j)fa)。 k3=(255gb)/(255fb)。 k1=ga/fa。 [m,n]=size(img_src)。gb=155。fb=155。)。 % function m_image_zk_Callback(hObject, eventdata, handles) % hObject handle to m_image_zk (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) img_src=getappdata(,39。 end end end axes()。 elseif img_src(i,j) fb J(i,j)=k2*(img_src(i,j)fa)。 k2=255/(fbfa)。 [m,n]=size(img_src)。 fb=)。 24 % function m_file_Callback(hObject, eventdata, handles) % hObject handle to m_file (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % function m_image_Callback(hObject, eventdata, handles) % hObject handle to m_image (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % function m_image_hj_Callback(hObject, eventdata, handles) % hObject handle to m_image_hj (see GCBO) % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) img_src=getappdata(,39。%取得打開圖片的數(shù)據(jù) imwrite(img_src,fpath)。img_src39。%如果點了“取消” else fpath=fullfile(pathname, filename)。)。}, 39。,39。*.jpg。BMP files39。*.bmp39。,img_src)。 setappdata(,39。 img_src=imread(fpath)。 end axes()。)。}, ... 39。, 39。 ... 39。, 39。*.png。*.bmp。 % hObject handle to figure % eventdata reserved to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % Get default mand line output from handles structure varargout{1} = 。 % UIWAIT makes untitled wait for user response (see UIRESUME) % uiwait()。 end % End initialization code DO NOT EDIT % Executes just before untitled is made visible. function untitled_OpeningF(hObject, eventdata, handles, varargin) % T