資源簡介
一個神經網絡算法的matlab實現,這是源代碼,很不錯的資源

代碼片段和文件信息
function?ex_system_codegen
%?Find?corresponding?interest?points?between?a?pair?of?images?using?local
%?neighborhoods.
%#codegen
?
%?Declare?functions?called?into?MATLAB?that?do?not?generate
%?code?as?extrinsic.
coder.extrinsic(‘imread‘);
imgLeft??=?imread(‘viprectification_deskLeft.png‘);
imgRight?=?imread(‘viprectification_deskRight.png‘);
?
?
%?Declare?System?objects?as?persistent.
persistent?cornerDetector?colorSpaceConverter
?
?
%?Initialize?persistent?System?objects?only?once
%?Do?this?with?‘if?isempty(persistent?variable).‘
%?This?condition?will?be?false?after?the?first?time.
if?isempty(cornerDetector)
?
????%?Create?system?objects.?Pass?property?value?arguments?as?constructor
????%?arguments.?Property?values?must?be?constants?during?compile?time.
?
????cornerDetector?=?vision.CornerDetector(‘Method‘...
????????‘Harris?corner?detection?(Harris?&?Stephens)‘);
?
????colorSpaceConverter?=?vision.ColorSpaceConverter(‘Conversion‘...
????????????‘RGB?to?intensity‘);
end
?
?
%?The?output?of?an?extrinsic?function?is?an?mxArray?-?also?called?a?MATLAB
%?array.?To?use?mxArrays?returned?by?extrinsic?functions?assign?the
%?mxArray?to?a?variable?whose?type?and?size?is?defined.
imgLeft??=?zeros([300?400?3]‘uint8‘);
imgRight?=?zeros([300?400?3]‘uint8‘);
?
%?Call?extrinsic?function
?
?
%?Convert?RGB?to?grayscale
I1?=?step(colorSpaceConverterimgLeft);
I2?=?step(colorSpaceConverterimgRight);
?
%?Find?corners
points1?=?step(cornerDetector?I1);
points2?=?step(cornerDetector?I2);
?
%?Extract?neighborhood?features
[features1?valid_points1]?=?extractFeatures(I1?points1);
[features2?valid_points2]?=?extractFeatures(I2?points2);
?
%?Match?features
index_pairs?=?matchFeatures(features1?features2);
?
%?Retrieve?locations?of?corresponding?points?for?each?image
matched_points1?=?valid_points1(index_pairs(:?1)?:);
matched_points2?=?valid_points2(index_pairs(:?2)?:);
?
%?Visualize?corresponding?points
coder.extrinsic(‘cvexShowMatches‘);
cvexShowMatches(I1?I2?matched_points1?matched_points2);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2085??2014-06-09?05:42??傳感器信息融合-隨書程序\第2章\ex_system_codegen.m
?????文件????????568??2014-06-09?05:41??傳感器信息融合-隨書程序\第2章\sobel.m
?????文件???????6944??2014-06-09?05:46??傳感器信息融合-隨書程序\第3章\kalmanfusion.m
?????文件???????1727??2014-06-09?05:48??傳感器信息融合-隨書程序\第4章\lindetection.m
?????文件????????424??2014-06-09?05:49??傳感器信息融合-隨書程序\第4章\serial-comunication.m
?????文件????????303??2014-06-09?05:52??傳感器信息融合-隨書程序\第5章\example1.m
?????文件???????1148??2014-06-09?05:53??傳感器信息融合-隨書程序\第5章\example2.m
?????文件????????443??2014-06-09?05:53??傳感器信息融合-隨書程序\第5章\example3.m
?????文件????????424??2014-06-09?05:54??傳感器信息融合-隨書程序\第5章\example4.m
?????文件????????950??2014-06-09?05:55??傳感器信息融合-隨書程序\第5章\example5.m
?????文件???????2518??2014-06-09?05:56??傳感器信息融合-隨書程序\第5章\example6.m
?????文件????????692??2012-02-08?21:12??傳感器信息融合-隨書程序\第6章\area_var_match.m
?????文件??????23329??2007-01-07?19:04??傳感器信息融合-隨書程序\第6章\clock1.bmp
?????文件??????26535??2007-01-07?19:04??傳感器信息融合-隨書程序\第6章\clock2.bmp
?????文件???????3167??2014-06-09?06:04??傳感器信息融合-隨書程序\第6章\dctVarFusion.m
?????文件????????149??2012-02-08?21:18??傳感器信息融合-隨書程序\第6章\dec2.m
?????文件????????330??2012-02-08?21:10??傳感器信息融合-隨書程序\第6章\downspl.m
?????文件????????398??2012-02-08?21:19??傳感器信息融合-隨書程序\第6章\es2.m
?????文件????????879??2012-02-08?21:05??傳感器信息融合-隨書程序\第6章\ex1.m
?????文件????????454??2012-02-08?21:06??傳感器信息融合-隨書程序\第6章\ex2.m
?????文件????????174??2012-02-08?21:11??傳感器信息融合-隨書程序\第6章\ex3.m
?????文件????????618??2014-06-09?05:58??傳感器信息融合-隨書程序\第6章\example1.m
?????文件???????2941??2014-06-09?05:58??傳感器信息融合-隨書程序\第6章\example2.m
?????文件???????1771??2014-06-09?06:03??傳感器信息融合-隨書程序\第6章\example3.m
?????文件????????879??2014-06-09?06:04??傳感器信息融合-隨書程序\第6章\example6.m
?????文件???????1417??2012-02-08?21:17??傳感器信息融合-隨書程序\第6章\fuse_lap.m
?????文件??????17263??2004-06-13?15:46??傳感器信息融合-隨書程序\第6章\high.jpg
?????文件??????12150??2004-06-13?15:47??傳感器信息融合-隨書程序\第6章\low.jpg
?????文件???????1058??2012-02-08?21:11??傳感器信息融合-隨書程序\第6章\lowfrefus.m
?????文件????????501??2012-02-08?21:07??傳感器信息融合-隨書程序\第6章\modmat.m
............此處省略19個文件信息
- 上一篇:改進人工勢場法
- 下一篇:L-shade.zip
評論
共有 條評論