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

  • 大小: 500KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-01
  • 語言: Matlab
  • 標簽: hogsvm??

資源簡介

該代碼實現的是圖像的二分類,hog用于圖像的特征提取,svm表示的是對特征的分類。解壓縮后,在添加到matlab的工作目錄后,需要在代碼中修改一下資源文件的路徑(比如正負樣本的圖片路徑),才可以正確運行。

資源截圖

代碼片段和文件信息

function?F?=?hogcalculator(img?cellpw?cellph?nblockw?nblockh...
????nthet?overlap?isglobalinterpolate?issigned?normmethod)
%?HOGCALCULATOR?calculate?R-HOG?feature?vector?of?an?input?image?using?the
%?procedure?presented?in?Dalal?and?Triggs‘s?paper?in?CVPR?2005.
%

%?Author:???timeHandle
%?Time:?????March?24?2010
%???????????May?12,2010?update.
%
%???????this?copy?of?code?is?written?for?my?personal?interest?which?is?an?
%???????original?and?inornate?realization?of?[Dalal?CVPR2005]‘s?algorithm
%???????without?any?optimization.?I?just?want?to?check?whether?I?understand
%???????the?algorithm?really?or?not?and?also?do?some?practices?for?knowing
%???????matlab?programming?more?well?because?I?could?be?called?as?‘novice‘.?
%???????OpenCV?2.0?has?realized?Dalal‘s?HOG?algorithm?which?runs?faster
%???????than?mine?without?any?doubt?╮(╯▽╰)╭?.?Ronan?pointed?a?error?in?
%???????the?code,thanks?for?his?correction.?Note?that?at?the?end?of?this
%???????code?there?are?some?demonstration?code,please?remove?in?your?work.


%?
%?F?=?hogcalculator(img?cellpw?cellph?nblockw?nblockh
%????nthet?overlap?isglobalinterpolate?issigned?normmethod)
%
%?IMG:
%???????IMG?is?the?input?image.
%
%?CELLPW?CELLPH:
%???????CELLPW?and?CELLPH?are?cell‘s?pixel?width?and?height?respectively.
%
%?NBLOCKW?NBLCOKH:
%???????NBLOCKW?and?NBLCOKH?are?block?size?counted?by?cells?number?in?x?and
%???????y?directions?respectively.
%
%?NTHET?ISSIGNED:
%???????NTHET?is?the?number?of?the?bins?of?the?histogram?of?oriented
%???????gradient.?The?histogram?of?oriented?gradient?ranges?from?0?to?pi?in
%???????‘unsigned‘?condition?while?to?2*pi?in?‘signed‘?condition?which?can
%???????be?specified?through?setting?the?value?of?the?variable?ISSIGNED?by
%???????the?string?‘unsigned‘?or?‘signed‘.
%
%?OVERLAP:
%???????OVERLAP?is?the?overlap?proportion?of?two?neighboring?block.
%
%?ISGLOBALINTERPOLATE:
%???????ISGLOBALINTERPOLATE?specifies?whether?the?trilinear?interpolation
%???????is?done?in?a?single?global?3d?histogram?of?the?whole?detecting
%???????window?by?the?string?‘globalinterpolate‘?or?in?each?local?3d
%???????histogram?corresponding?to?respective?blocks?by?the?string
%???????‘localinterpolate‘?which?is?in?strict?accordance?with?the?procedure
%???????proposed?in?Dalal‘s?paper.?Interpolating?in?the?whole?detecting
%???????window?requires?the?block‘s?sliding?step?to?be?an?integral?multiple
%???????of?cell‘s?width?and?height?because?the?histogram?is?fixing?before
%???????interpolate.?In?fact?here?the?so?called?‘global?interpolation‘?is
%???????a?notation?given?by?myself.?at?first?the?spatial?interpolation?is?
%???????done?without?any?relevant?to?block‘s?slide?position?but?when?I?was
%???????doing?calculation?while?OVERLAP?is?0.75?something?occurred?and
%???????confused?me?o__O“…?.?This?let?me?find?that?the?operation?I?firstly
%???????did?is?different?from?which?mentioned?in?Dalal‘s?paper.?But?this
%???????does?not?mean?i

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2016-12-19?14:49??hog_svm\
?????文件???????16046??2016-12-19?11:51??hog_svm\hogcalculator.m
?????文件????????1512??2016-12-19?14:47??hog_svm\hog_svm.m
?????目錄???????????0??2016-12-19?14:49??hog_svm\neg\
?????文件???????28379??2016-12-19?13:25??hog_svm\neg\001.jpg
?????文件???????24048??2016-12-19?13:27??hog_svm\neg\002.jpg
?????文件???????10631??2016-12-19?13:27??hog_svm\neg\003.jpg
?????文件???????14410??2016-12-19?13:28??hog_svm\neg\004.jpg
?????文件????????7307??2016-12-19?13:27??hog_svm\neg\005.jpg
?????文件????????5905??2016-12-19?13:27??hog_svm\neg\006.jpg
?????文件????????9291??2016-12-19?13:28??hog_svm\neg\007.jpg
?????文件???????20519??2016-12-19?13:28??hog_svm\neg\008.jpg
?????文件???????22736??2016-12-19?13:28??hog_svm\neg\009.jpg
?????文件????????7373??2016-12-19?13:28??hog_svm\neg\010.jpg
?????文件????????7615??2016-12-19?13:29??hog_svm\neg\011.jpg
?????文件????????4661??2016-12-19?13:29??hog_svm\neg\012.jpg
?????文件????????7956??2016-12-19?13:29??hog_svm\neg\013.jpg
?????文件????????8925??2016-12-19?13:29??hog_svm\neg\014.jpg
?????文件???????11752??2016-12-19?13:29??hog_svm\neg\015.jpg
?????文件????????8469??2016-12-19?13:30??hog_svm\neg\016.jpg
?????文件????????6579??2016-12-19?13:30??hog_svm\neg\017.jpg
?????文件???????10228??2016-12-19?13:30??hog_svm\neg\018.jpg
?????文件???????11701??2016-12-19?13:30??hog_svm\neg\019.jpg
?????文件???????15527??2016-12-19?13:31??hog_svm\neg\020.jpg
?????目錄???????????0??2016-12-19?14:49??hog_svm\pos\
?????文件???????25899??2016-12-19?13:31??hog_svm\pos\001.jpg
?????文件???????24854??2016-12-19?13:31??hog_svm\pos\002.jpg
?????文件???????22313??2016-12-19?13:32??hog_svm\pos\003.jpg
?????文件????????8009??2016-12-19?13:32??hog_svm\pos\004.jpg
?????文件????????7728??2016-12-19?13:32??hog_svm\pos\005.jpg
?????文件????????7610??2016-12-19?13:33??hog_svm\pos\006.jpg
............此處省略15個文件信息

評論

共有 條評論

相關資源