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

  • 大小: 1.35MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-08-09
  • 語言: Matlab
  • 標簽: 樹葉識別??

資源簡介

使用Matlab完成神經網絡的樹葉識別,需要使用到相關的數據庫

資源截圖

代碼片段和文件信息

function?[cnon]?=?inpoly(pnodeedgeTOL)

%??INPOLY:?Point-in-polygon?testing.
%
%?Determine?whether?a?series?of?points?lie?within?the?bounds?of?a?polygon
%?in?the?2D?plane.?General?non-convex?multiply-connected?polygonal
%?regions?can?be?handled.
%
%?SHORT?SYNTAX:
%
%???in?=?inpoly(pnode);
%
%???p???:?The?points?to?be?tested?as?an?Nx2?array?[x1?y1;?x2?y2;?etc].
%???node:?The?vertices?of?the?polygon?as?an?Mx2?array?[X1?Y1;?X2?Y2;?etc].
%?????????The?standard?syntax?assumes?that?the?vertices?are?specified?in
%?????????consecutive?order.
%
%???in??:?An?Nx1?logical?array?with?IN(i)?=?TRUE?if?P(i:)?lies?within?the
%?????????region.
%
%?LONG?SYNTAX:
%
%??[inon]?=?inpoly(pnodeedge);
%
%??edge:?An?Mx2?array?of?polygon?edges?specified?as?connections?between
%????????the?vertices?in?NODE:?[n1?n2;?n3?n4;?etc].?The?vertices?in?NODE
%????????do?not?need?to?be?specified?in?connsecutive?order?when?using?the
%????????extended?syntax.
%
%??on??:?An?Nx1?logical?array?with?ON(i)?=?TRUE?if?P(i:)?lies?on?a
%????????polygon?edge.?(A?tolerance?is?used?to?deal?with?numerical
%????????precision?so?that?points?within?a?distance?of
%????????eps^0.8*norm(node(:)inf)?from?a?polygon?edge?are?considered?“on“
%????????the?edge.
%
%?EXAMPLE:
%
%???polydemo;???????%?Will?run?a?few?examples
%
%?See?also?INPOLYGON

%?The?algorithm?is?based?on?the?crossing?number?test?which?counts?the
%?number?of?times?a?line?that?extends?from?each?point?past?the?right-most
%?region?of?the?polygon?intersects?with?a?polygon?edge.?Points?with?odd
%?counts?are?inside.?A?simple?implementation?of?this?method?requires?each
%?wall?intersection?be?checked?for?each?point?resulting?in?an?O(N*M)
%?operation?count.
%
%?This?implementation?does?better?in?2?ways:
%
%???1.?The?test?points?are?sorted?by?y-value?and?a?binary?search?is?used?to
%??????find?the?first?point?in?the?list?that?has?a?chance?of?intersecting
%??????with?a?given?wall.?The?sorted?list?is?also?used?to?determine?when?we
%??????have?reached?the?last?point?in?the?list?that?has?a?chance?of
%??????intersection.?This?means?that?in?general?only?a?small?portion?of
%??????points?are?checked?for?each?wall?rather?than?the?whole?set.
%
%???2.?The?intersection?test?is?simplified?by?first?checking?against?the
%??????bounding?box?for?a?given?wall?segment.?Checking?against?the?bbox?is
%??????an?inexpensive?alternative?to?the?full?intersection?test?and?allows
%??????us?to?take?a?number?of?shortcuts?minimising?the?number?of?times?the
%??????full?test?needs?to?be?done.
%
%???Darren?Engwirda:?2005-2007
%???Email??????????:?d_engwirda@hotmail.com
%???Last?updated???:?23/11/2007?with?MATLAB?7.0
%
%?Problems?or?suggestions??Email?me.

%%?ERROR?CHECKING
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if?nargin<4
???TOL?=?1.0e-12;
???if?nargin<3
??????edge?=?[];
??????if?nargin<2
?????????error(‘Insufficient?inputs‘);
??????end
???end
end
nnode?=?

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-12-19?08:16??樹葉識別(改)\
?????文件???????90233??2014-12-04?18:52??樹葉識別(改)\17.jpg
?????文件???????25297??2014-12-04?21:11??樹葉識別(改)\20.jpg
?????文件??????????66??2014-12-04?21:53??樹葉識別(改)\data_test.txt
?????文件????????1181??2014-12-04?21:37??樹葉識別(改)\data_train.txt
?????文件????????4721??2014-12-08?18:06??樹葉識別(改)\GUI_leaf.fig
?????文件????????6392??2007-11-27?08:33??樹葉識別(改)\inpoly.m
?????文件???????10380??2014-12-16?09:08??樹葉識別(改)\nerve_leaf.m
?????文件???????27590??2014-11-16?20:57??樹葉識別(改)\sangye.jpg
?????文件??????750955??2014-12-16?09:33??樹葉識別(改)\數字圖像處理大作業樹葉識別+李達+計科1205+10.doc
?????目錄???????????0??2014-12-19?08:15??樹葉識別(改)\桉葉\
?????文件???????72019??2014-12-04?18:51??樹葉識別(改)\桉葉\10?-?副本.jpg
?????文件???????72019??2014-12-04?18:51??樹葉識別(改)\桉葉\10.jpg
?????文件???????74090??2014-12-04?18:52??樹葉識別(改)\桉葉\11.jpg
?????文件???????42658??2014-12-04?19:10??樹葉識別(改)\桉葉\12.jpg
?????文件???????92225??2014-12-04?18:52??樹葉識別(改)\桉葉\16.jpg
?????文件???????90233??2014-12-04?18:52??樹葉識別(改)\桉葉\17.jpg
?????文件?????????352??2014-12-04?19:22??樹葉識別(改)\桉葉\data_an.txt
?????文件????????6392??2007-11-27?08:33??樹葉識別(改)\桉葉\inpoly.m
?????文件????????9723??2014-12-04?19:12??樹葉識別(改)\桉葉\leafRecognize.m
?????文件????????9699??2014-12-04?19:21??樹葉識別(改)\桉葉\recognize_an.m
?????目錄???????????0??2014-12-19?08:15??樹葉識別(改)\灌木葉\
?????文件???????20299??2014-12-04?21:07??樹葉識別(改)\灌木葉\18.jpg
?????文件???????42505??2014-12-04?21:12??樹葉識別(改)\灌木葉\19.jpg
?????文件???????25297??2014-12-04?21:11??樹葉識別(改)\灌木葉\20.jpg
?????文件???????26144??2014-12-04?21:11??樹葉識別(改)\灌木葉\21.jpg
?????文件???????24018??2014-12-04?21:11??樹葉識別(改)\灌木葉\23.jpg
?????文件?????????345??2014-12-04?21:26??樹葉識別(改)\灌木葉\data_guan.txt
?????文件?????????134??2014-12-01?21:36??樹葉識別(改)\灌木葉\data_sang.txt
?????文件????????6392??2007-11-27?08:33??樹葉識別(改)\灌木葉\inpoly.m
?????文件????????9699??2014-12-04?19:21??樹葉識別(改)\灌木葉\recognize_an.m
............此處省略2個文件信息

評論

共有 條評論