91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 6.75MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-19
  • 語言: Matlab
  • 標簽: Matlab??

資源簡介

基于Matlab的數字圖像處理課程設計,實現了圖像的去噪、濾波、旋轉、平滑等處理

資源截圖

代碼片段和文件信息

function?varargout?=?GUI(varargin)
gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@GUI_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@GUI_OutputFcn?...
???????????????????‘gui_LayoutFcn‘??[]??...
???????????????????‘gui_Callback‘???[]);
if?nargin?&&?ischar(varargin{1})
????gui_State.gui_Callback?=?str2func(varargin{1});
end
if?nargout
????[varargout{1:nargout}]?=?gui_mainfcn(gui_State?varargin{:});
else
????gui_mainfcn(gui_State?varargin{:});
end

function?GUI_OpeningFcn(hobject?eventdata?handles?varargin)
handles.output?=?hobject;
guidata(hobject?handles);

function?varargout?=?GUI_OutputFcn(hobject?eventdata?handles)?
varargout{1}?=?handles.output;


%?讀取圖像
function?duqutuxiang_Callback(hobject?eventdata?handles)
[fnamepnameindex]=uigetfile({‘*.jpg‘;‘*.gif‘;‘*.bmp‘}‘選擇圖片‘);
?global?c;
?if?index
?????str=[pname?fname];
?????c=imread(str);
?????axes(handles.axes1);
?????imshow(c);
?????axis?off
end

%?亮度變換
function?liangdubianhuan_Callback(hobject?eventdata?handles)
global?c;
prompt={‘輸入參數1[low_in?high_in]?‘‘輸入參數2?[low_out?high_out]‘‘輸入gamma‘};
?defans={‘[0?0.7]‘‘[0?1]‘‘1‘};
?p=inputdlg(prompt‘輸入參數‘1defans);
?p1=str2num(p{1});
?p2=str2num(p{2});
?p3=str2num(p{3});
?gamma=p3;
?x=(c);
?y=imadjust(xp1p2gamma);
?axes(handles.axes1);
?imshow(y);

%?灰度變換
function?huidubianhuan_Callback(hobject?eventdata?handles)
global?c;
I=RGB2gray(c);
imshow(I);

%?FFT變換
function?FFTbianhuan_Callback(hobject?eventdata?handles)
global?c
I=RGB2gray(c);
A=fft2(I);
A=fftshift(A);
imshow(log(abs(A)+1)[0?15]);
%DCTb變換
function?DCTbianhuan_Callback(hobject?eventdata?handles)
global?c
I=RGB2gray(c);
A=dct2(I);
imshow(log(abs(A))[?]);

%?加椒鹽噪聲
function?jiajiaoyanzaosheng_Callback(hobject?eventdata?handles)
global?c
I=RGB2gray(c);
I?=?imnoise(I‘salt?&?pepper‘?0.04);
imshow(I);
%高斯噪聲
function?gaosizaosheng_Callback(hobject?eventdata?handles)
global?c
I=RGB2gray(c);
I?=?imnoise(I‘gaussian‘?0.03);
imshow(I);




%?乘性噪聲
function?chengxinzaosheng_Callback(hobject?eventdata?handles)
global?c
I=RGB2gray(c);
I?=?imnoise(I‘speckle‘?0.05);
imshow(I);

%?中值濾波
function?zhongzhilvbo_Callback(hobject?eventdata?handles)
global?c;
I=RGB2gray(c);
J?=?imnoise(I‘salt?&?pepper‘?0.04);
K?=?medfilt2(J);
imshow(I);



%高通濾波
function?gaotonglvbo_Callback(hobject?eventdata?handles)
%?hobject????handle?to?pushbutton2?(see?GCBO)
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
global?c
temp1?=fftshift(fft2(c(::1)));
temp2?=fftshift(fft2(c(::2)));
temp3?=?fftshift(fft2(c(::3)));
[x?y?z]?=?size(c);
high_pass_temp?=?ones(xy);
high_pass_temp(ceil(x/200*90):ceil(x/200*110)ceil(y/200*90):ceil(y/200*110))?=?0;
temp1?=?high_pass_te

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????53655??2011-12-27?20:28??數字圖像處理課設\1.PNG

?????文件?????223134??2011-12-27?20:57??數字圖像處理課設\10.PNG

?????文件?????229869??2011-12-27?20:58??數字圖像處理課設\11.PNG

?????文件?????232070??2011-12-27?21:01??數字圖像處理課設\12.PNG

?????文件??????86512??2011-12-27?21:03??數字圖像處理課設\13.PNG

?????文件?????316431??2011-12-27?21:05??數字圖像處理課設\14.PNG

?????文件?????200442??2011-12-27?21:08??數字圖像處理課設\15.PNG

?????文件??????80595??2011-12-27?21:11??數字圖像處理課設\16.PNG

?????文件??????64533??2011-12-27?21:13??數字圖像處理課設\17.PNG

?????文件??????66483??2011-12-31?12:15??數字圖像處理課設\18.PNG

?????文件??????58578??2011-12-27?20:43??數字圖像處理課設\2.PNG

?????文件?????395879??2011-12-27?20:44??數字圖像處理課設\3.PNG

?????文件??????19059??2011-12-27?20:48??數字圖像處理課設\4.PNG

?????文件?????180123??2011-12-27?20:49??數字圖像處理課設\5.PNG

?????文件?????263671??2011-12-27?20:51??數字圖像處理課設\6.PNG

?????文件?????254223??2011-12-27?20:52??數字圖像處理課設\7.PNG

?????文件?????233818??2011-12-27?20:54??數字圖像處理課設\8.PNG

?????文件??????15839??2011-12-27?20:55??數字圖像處理課設\9.PNG

?????文件??????11714??2011-12-31?12:14??數字圖像處理課設\kechengsheji.asv

?????文件??????10252??2011-12-31?12:18??數字圖像處理課設\kechengsheji.fig

?????文件??????11714??2011-12-31?12:14??數字圖像處理課設\kechengsheji.m

?????文件????1134895??2011-12-31?17:10??DSP嵌入式圖像處理設計.docx

?????文件????3045047??2011-12-31?17:10??gui數字圖像處理報告.docx

?????目錄??????????0??2011-12-31?12:15??數字圖像處理課設

-----------?---------??----------?-----??----

??????????????7188536????????????????????24


評論

共有 條評論