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

資源簡介

圖像找茬游戲是時下非常流行的游戲之一, 人眼通過對比找出圖像中差異較大的位置是一件較為有難度的事情,但是對于計算機來說精確找出圖像差異卻是一件簡單的事情。本文利用圖像之間的灰度差和色彩差尋找圖像之間的差異,在圖像做差的結果上進行閾值分割形成二值圖像,對于二值圖像采用形態學處理,首先使用膨脹腐蝕運算去除噪聲和填補二值團塊,然后利用連通域分析算法對圖像中差異較大的位置進行精確的定位。最后通過多組實驗進行算法參數調節,實驗證明本文提出的圖像找茬算法能有效的定位圖像之間的差異。

資源截圖

代碼片段和文件信息

function?varargout?=?untitled(varargin)
%?UNtitleD?MATLAB?code?for?untitled.fig
%??????UNtitleD?by?itself?creates?a?new?UNtitleD?or?raises?the?existing
%??????singleton*.
%
%??????H?=?UNtitleD?returns?the?handle?to?a?new?UNtitleD?or?the?handle?to
%??????the?existing?singleton*.
%
%??????UNtitleD(‘CALLBACK‘hobjecteventDatahandles...)?calls?the?local
%??????function?named?CALLBACK?in?UNtitleD.M?with?the?given?input?arguments.
%
%??????UNtitleD(‘Property‘‘Value‘...)?creates?a?new?UNtitleD?or?raises?the
%??????existing?singleton*.??Starting?from?the?left?property?value?pairs?are
%??????applied?to?the?GUI?before?untitled_OpeningFcn?gets?called.??An
%??????unrecognized?property?name?or?invalid?value?makes?property?application
%??????stop.??All?inputs?are?passed?to?untitled_OpeningFcn?via?varargin.
%
%??????*See?GUI?Options?on?GUIDE‘s?Tools?menu.??Choose?“GUI?allows?only?one
%??????instance?to?run?(singleton)“.
%
%?See?also:?GUIDE?GUIDATA?GUIHANDLES

%?Edit?the?above?text?to?modify?the?response?to?help?untitled

%?Last?Modified?by?GUIDE?v2.5?15-Mar-2016?16:00:18

%?Begin?initialization?code?-?DO?NOT?EDIT

gui_Singleton?=?1;
gui_State?=?struct(‘gui_Name‘???????mfilename?...
???????????????????‘gui_Singleton‘??gui_Singleton?...
???????????????????‘gui_OpeningFcn‘?@untitled_OpeningFcn?...
???????????????????‘gui_OutputFcn‘??@untitled_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
%?End?initialization?code?-?DO?NOT?EDIT


%?---?Executes?just?before?untitled?is?made?visible.
function?untitled_OpeningFcn(hobject?eventdata?handles?varargin)
%?This?function?has?no?output?args?see?OutputFcn.
%?hobject????handle?to?figure
%?eventdata??reserved?-?to?be?defined?in?a?future?version?of?MATLAB
%?handles????structure?with?handles?and?user?data?(see?GUIDATA)
%?varargin???command?line?arguments?to?untitled?(see?VARARGIN)

%?Choose?default?command?line?output?for?untitled
handles.output?=?hobject;

%?Update?handles?structure
guidata(hobject?handles);

%?UIWAIT?makes?untitled?wait?for?user?response?(see?UIRESUME)
%?uiwait(handles.figure1);
set(handles.axes1‘visible‘‘off‘)
set(handles.axes2‘visible‘‘off‘)

%?---?Outputs?from?this?function?are?returned?to?the?command?line.
function?varargout?=?untitled_OutputFcn(hobject?eventdata?handles)?
%?varargout??cell?array?for?returning?output?args?(see?VARARGOUT);
%?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?command?line?output?from?handles?structure
varargout{1}?=?handles.output;


%?---?Executes?on?button?press?in?pushbutton1.
function?pushbutton1_Callback(hobject?eventdata?handles)
%?hobject????handle?t

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-10-10?15:39??源碼\
?????目錄???????????0??2016-04-13?09:14??源碼\9829_find_difference\
?????文件???????38437??2016-04-12?10:24??源碼\9829_find_difference\3_0.JPG
?????文件??????134328??2016-04-12?10:24??源碼\9829_find_difference\4.jpg
?????文件??????152883??2016-04-12?10:24??源碼\9829_find_difference\4_0.jpg
?????文件????????6110??2016-04-12?10:24??源碼\9829_find_difference\untitled.m
?????文件?????4232704??2016-04-13?09:12??源碼\matlab圖像找茬設計與實現.doc
?????目錄???????????0??2018-10-10?15:39??演示\
?????文件????12349416??2016-04-13?11:18??演示\9829錄像.avi
?????文件??????????64??2018-10-10?16:34??說明.txt
?????目錄???????????0??2018-10-10?15:38??需求\
?????文件???????10240??2016-04-09?11:37??需求\功能需求說明.doc

評論

共有 條評論