【正文】
GUIDATA)axes()。defans={39。input parameter39。 imshow(y)。,39。039。 p=inputdlg(prompt,39。 p2=str2num(p{2})。imshow(y)。input parameter1:39。}。 p1=str2num(p{1})。salt amp。=y。input parameter1:39。}。p1=str2num(p{1})。imshow(y)。HandleVisibility39。axes()。bar(horz,x1)。%function gray_Callback(hObject, eventdata, handles)% hObject handle to gray (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)set(,39。)。horz=1:10:256。,0:50:255)。 failed to spin39。,39。if isrgb() x=imhist((:,:,3))。axis([0 255 0 150000])。set(,39。This is already a gray level image39。end頻譜分析單欄:%function pinpufenxi_Callback(hObject, eventdata, handles)% hObject handle to pinpufenxi (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)%function pinputu_Callback(hObject, eventdata, handles)% hObject handle to pinputu (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)axes()。 imshow(log(abs(y)),[])。end%function ditong_Callback(hObject, eventdata, handles)% hObject handle to ditong (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)axes()。,39。salt amp。 g=fft2(f)。 d0=10。 h=1/(1+*(d/d0)^(2*nn))。y3=uint8(real(y2))。if isrgb(x) msgbox(39。)。 f=double(y1)。nn=2。for i=1:M for j=1:N d=sqrt((im)^2+(jn)^2)。 endendresult=ifftshift(result)。 end灰度圖像處理欄:%function huiduchuli_Callback(hObject, eventdata, handles)% hObject handle to huiduchuli (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)%function erzhituxiang_Callback(hObject, eventdata, handles)% hObject handle to erzhituxiang (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)axes()。,39。imshow(j)。this is a color image,Cannot carry out image corrosion 39。elsej=im2bw(x)。)。if isrgb(x) msgbox(39。)。end%function tuxianglunkuo_Callback(hObject, eventdata, handles)% hObject handle to tuxianglunkuo (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)顏色轉(zhuǎn)換模型菜單欄:%function yansemoxing_Callback(hObject, eventdata, handles)% hObject handle to yansemoxing (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)%function RGB_Callback(hObject, eventdata, handles)% hObject handle to RGB (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)%function NTSC_Callback(hObject, eventdata, handles)% hObject handle to NTSC (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)%RGBNTSCaxes()。else msgbox(39。)。 imshow(HSV)。error39。if isrgb(x)ycbcr=rgb2ycbcr(x)。,39。string39。原圖39。 BW=edge(y,39。 case 39。)。 BW=edge(y,39。end。)。 case 39。 BW=edge(y,39。)。 case 39。axes()。)。else msgbox(39。end%function YCBCR_Callback(hObject, eventdata, handles)% hObject handle to YCBCR (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)%RGBYCBCRaxes()。this is a gray level image,can not convert39。x=()。,39。if isrgb(x)ntsc=rgb2ntsc(x)。axes()。,39。end%function chuanjiansuoyin_Callback(hObject, eventdata, handles)% hObject handle to chuanjiansuoyin (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)axes()。bw=bwmorph(j,39。error39。x=()。)。if isrgb(x) msgbox(39。y3=uint8(real(y2))。