資源簡介
應用HOG和adbost進行人體檢測試過了,效果還不錯,推薦給大家!!!
代碼片段和文件信息
function?binfeat?=?BinHOGFeature(blockGr?blockInd?CellSize?BinNum)
%?devide?the?block?分割塊
block_ori1=blockGr(1:CellSize1:CellSize);
block_ori2=blockGr(1:CellSize(1+CellSize):2*CellSize);
block_ori3=blockGr((1+CellSize):2*CellSize1:CellSize);
block_ori4=blockGr((1+CellSize):2*CellSize(1+CellSize):2*CellSize);
block_grad1=blockInd(1:CellSize1:CellSize);
block_grad2=blockInd(1:CellSize(1+CellSize):2*CellSize);
block_grad3=blockInd((1+CellSize):2*CellSize1:CellSize);
block_grad4=blockInd((1+CellSize):2*CellSize(1+CellSize):2*CellSize);
%?here?we?calculate?4?cells?計算4個cell的特征
binfeat?=?zeros(BinNum*4?1);
feat1?=?zeros(BinNum?1);
feat2?=?zeros(BinNum?1);
feat3?=?zeros(BinNum?1);
feat4?=?zeros(BinNum?1);
for?i=1:BinNum
????feat1(i)?=?sum(block_ori1(find(bloc
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1162??2008-05-07?21:05??HOG?adaboost行人檢測\@crossvalidation\CatFold.m
?????文件????????996??2008-05-07?21:05??HOG?adaboost行人檢測\@crossvalidation\crossvalidation.m
?????文件???????1008??2008-05-07?21:05??HOG?adaboost行人檢測\@crossvalidation\GetFold.m
?????文件???????2403??2008-05-07?21:05??HOG?adaboost行人檢測\@crossvalidation\Initialize.asv
?????文件???????2400??2008-05-07?21:05??HOG?adaboost行人檢測\@crossvalidation\Initialize.m
?????文件???????1399??2010-12-06?17:29??HOG?adaboost行人檢測\@tree_node_w\calc_output.asv
?????文件???????1399??2010-12-06?17:33??HOG?adaboost行人檢測\@tree_node_w\calc_output.m
?????文件???????4941??2010-12-06?16:34??HOG?adaboost行人檢測\@tree_node_w\do_learn_nu.asv
?????文件???????4880??2010-12-06?16:42??HOG?adaboost行人檢測\@tree_node_w\do_learn_nu.m
?????文件???????1744??2008-05-07?21:05??HOG?adaboost行人檢測\@tree_node_w\get_dim_and_tr.asv
?????文件???????1964??2008-05-07?21:05??HOG?adaboost行人檢測\@tree_node_w\get_dim_and_tr.m
?????文件???????3665??2010-12-06?09:34??HOG?adaboost行人檢測\@tree_node_w\train.asv
?????文件???????3665??2010-12-06?09:35??HOG?adaboost行人檢測\@tree_node_w\train.m
?????文件???????1103??2010-11-25?14:52??HOG?adaboost行人檢測\@tree_node_w\tree_node_w.m
?????文件???????1367??2010-12-01?10:06??HOG?adaboost行人檢測\BinHOGFeature.m
?????文件???????1345??2010-12-06?09:35??HOG?adaboost行人檢測\Classify.m
?????文件???????3220??2010-11-30?16:13??HOG?adaboost行人檢測\GentleAdaBoost.m
?????文件????????972??2010-12-01?10:00??HOG?adaboost行人檢測\HOGGradient.m
?????文件???????2956??2010-12-02?16:41??HOG?adaboost行人檢測\ImgHOGFeature.m
?????文件???????2954??2010-12-08?09:37??HOG?adaboost行人檢測\ImgHOGFeature3.m
?????文件???????5191??2010-12-22?11:11??HOG?adaboost行人檢測\neg\1.png
?????文件???????4555??2010-12-22?11:11??HOG?adaboost行人檢測\neg\10.png
?????文件???????4537??2010-12-22?11:11??HOG?adaboost行人檢測\neg\100.png
?????文件???????4188??2010-12-22?11:11??HOG?adaboost行人檢測\neg\101.png
?????文件???????3678??2010-12-22?11:11??HOG?adaboost行人檢測\neg\102.png
?????文件???????5093??2010-12-22?11:11??HOG?adaboost行人檢測\neg\103.png
?????文件???????4284??2010-12-22?11:11??HOG?adaboost行人檢測\neg\104.png
?????文件???????5435??2010-12-22?11:11??HOG?adaboost行人檢測\neg\105.png
?????文件???????5576??2010-12-22?11:11??HOG?adaboost行人檢測\neg\106.png
?????文件???????5719??2010-12-22?11:11??HOG?adaboost行人檢測\neg\107.png
............此處省略2001個文件信息
評論
共有 條評論