freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于matlab的圖像處理(參考版)

2024-11-11 21:55本頁(yè)面
  

【正文】 end 。BackgroundColor39。defaultUicontrolBackgroundColor39。BackgroundColor39。 imshow(y)。)。 =get(,39。value39。 x=()。,[.9 .9 .9])。)) set(hObject,39。), get(0,39。 % Executes during object creation, after setting all properties. function ld_CreateF(hObject, eventdata, handles) if isequal(get(hObject,39。 y=imadjust(x,[0 ],[0 1],)。value39。)。 =get(,39。 end end %這是亮度滑動(dòng)條的程序 function ld_Callback(hObject, eventdata, handles) axes()。,3),)/255。 k=filter2(fspecial(39。 case39。 k=wiener2(,[5,5])。 case 39。 k=conv2(m,h)。 H=h/9。1 1 1。線性濾波 39。 k=medfilt2()。 end else switch str case 39。,3),c)/255。 k(:,:,3)=filter2(fspecial(39。average39。,3),a)/255。 k(:,:,1)=filter2(fspecial(39。 case39。 k(:,:,3)=wiener2(c,[5,5])。 k(:,:,1)=wiener2(a,[5,5])。 24 imshow(k) case 39。 k(:,:,2)=medfilt2(b)。中值濾波 39。 c=(:,:,3)。 if isrgb(i) a=(:,:,1)。 axes()。ON39。HandleVisibility39。)。 end %這是濾波程序 function lvbo_SelectionChangeF(hObject, eventdata, handles) str=get(hObject,39。轉(zhuǎn)換失敗 39。這是灰度圖像 ,不能轉(zhuǎn)換 39。 imshow(ycbcr)。 x=()。)。,39。 else msgbox(39。 if isrgb(x) ntsc=rgb2ntsc(x)。 end function ntsc_Callback(hObject, eventdata, handles) %RGB 轉(zhuǎn) NTSC axes()。轉(zhuǎn)換失敗 39。這是灰度圖像 ,不能轉(zhuǎn)換 39。 imshow(HSV)。 x=()。 imshow(y,jet(16))。 else y=grayslice(x,16)。創(chuàng)建失敗 39。這是彩色圖像 ,不能創(chuàng)建索引圖像 39。 x=()。 imshow(bw)。erode39。 se=eye(5)。)。,39。 if isrgb(x) msgbox(39。 end function tuxiangfushi_Callback(hObject, eventdata, handles) %圖像腐蝕 23 axes()。 else j=im2bw(x)。轉(zhuǎn)換失敗 39。這是彩色圖像 ,不能轉(zhuǎn)換為二值圖像 39。 x=()。 imshow(y3)。 y2=ifft2(result)。 end result(i,j)=h*g(i,j)。 % 計(jì)算高通濾波器傳遞函數(shù) if d=d0 h=0。 n=fix(N/2)。 d0=3。 % 轉(zhuǎn)換數(shù)據(jù)矩陣 [M,N]=size(g)。 % 數(shù)據(jù)類(lèi)型轉(zhuǎn)換 k=fft2(f)。)。 else y1=imnoise(x,39。失敗 39。這是彩色圖像 ,不能通過(guò)高通濾波器 39。 x=()。 imshow(y3)。 y2=ifft2(result)。 % 計(jì)算低通濾波器傳遞函數(shù) result(i,j)=h*g(i,j)。 for i=1:M for j=1:N d=sqrt((im)^2+(jn)^2)。 %截止頻率為 10 m=fix(M/2)。 nn=2。 % 傅立葉變換 g=fftshift(g)。 % 疊加椒鹽噪聲 f=double(y1)。 pepper39。 else y1=imnoise(x,39。失敗 39。這是彩色圖像 ,不能通過(guò)低通濾波器 39。 x=()。 imshow(log(abs(y)),[])。 else m=fft2(x)。 y=fftshift(m)。 x=()。 %直方圖均衡 imshow(h)。 imshow(k)。 k(:,:,2)=b。 c=histeq((:,:,3))。 if isrgb() a=histeq((:,:,1))。)。,39。 end function junheng_Callback(hObject, eventdata, handles) %直方圖均衡 set(,39。旋轉(zhuǎn)失敗 39。這是灰度圖像 39。,0:2020:15000)。 %set(,39。xtick39。 %axis([0 255 0 150000])。 horz=1:10:256。 if isrgb() x=imhist((:,:,3))。)。,39。 end function blue_Callback(hObject, eventdata, handles) %B 直方圖 set(,39。旋轉(zhuǎn)失敗 39。這是灰度圖像 39。,0:50:255)。 set(,39。 horz=1:10:256。 if isrgb() x=imhist((:,:,2))。)。,39。 function gray_Callback(hObject, eventdata, handles) %G 直方圖 set(,39。xtick39。 bar(horz,x1)。 %直方圖統(tǒng)計(jì) x1=x(1:10:256)。 axes()。ON39。HandleVisibility39。 guidata(hObject,handles)。 imshow(y)。speckle39。 p1=str2num(p{1})。輸入?yún)?shù) 39。}。 defans={39。輸入?yún)?shù) 1:39。 function cx_Callback(hObject, eventdata, handles) %加入乘性噪聲 axes()。 =y。,p1)。salt amp。 x=()。 p1=str2num(p{1})。輸入?yún)?shù) 39。}。 %對(duì)話框的設(shè)置,用戶(hù)輸入的是字符串 defans={39。輸入?yún)?shù) 1:39。 guidata(hObject,handles)。 imshow(y)。gaussian39。 p2=str2num(p{2})。,1,defans)。 p=inputdlg(prompt,39。39。039。}。,39。 prompt={39。 imshow(y)。 p1=str2num(p{1})。輸入?yún)?shù) 39。}。 defans={39。輸入?yún)?shù) 1:39。 function other_Callback(hObject, eventdata, handles) %任意角度旋轉(zhuǎn) axes()。 y=imrotate(x,90)。 function right90_Callback(hObject, eventdata, handles) %右轉(zhuǎn) 90 度 axes()。 y=imrotate(x,90)。 end function zeft90_Callback(hObject, eventdata, handles) %左轉(zhuǎn) 90 度 axes()。 y=fliplr(x)。%左右 翻轉(zhuǎn) 函數(shù) end imshow(y)。 if isrgb() x=()。 imshow(y)。 else x=()。 if isrgb() for k=1:3 y(:,:,k)=flipud(x(:,:,k))。 function xuanzhuan_Callback(hObject, eventdata, handles) function updown_Callback(hObject, eventdata, handles) %上下翻轉(zhuǎn) axes()。)。 y=imresize(,p1,39。,1,defans)。 p=inputdlg(prompt,39。39。}。 prompt={39。 %最近鄰插值法 縮小 imshow(y)。bilinear39。 p1=str2num(p{1})。輸入放大倍數(shù) 39。}。 defans={39。輸入放大倍數(shù) :39。 function shuangxian_Callback(hObject, eventdata, handles) %雙線性縮小 axes()。)。 y=imresize(,p1,39。,1,defans)。 p=inputdlg(prompt,39。39。}。 prom
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1