Matlab detectHarrisFeatures函數的使用


調用句式:
points = detectHarrisFeatures(I)
points = detectHarrisFeatures(I,Name,Value)

示例:
I = checkerboard; %讀取圖像
corners = detectHarrisFeatures(I); %檢測角點
imshow(I); hold on;
plot(corners.selectStrongest(50)); %展示結果

輸入:
I 輸入的圖片,必須為實數且非稀疏

參數設置:
'MinQuality' — 最小可接受角點質量 0.01 (default)
取值為[0,1]之間的標量,將該值增大可移除錯誤檢測出來的角點

'FilterSize' — 高斯濾波器尺寸 5 (default)
取值為奇數,不得超過圖片尺寸

'ROI' — 矩形區域 [1 1 size(I,2) size(I,1)] (default) | 向量
限定角點檢測區域,格式為[x,y,width,height]。前兩個整數值[x,y]表示目標區域左上角的位置,后兩個整數值表示寬度和高度

輸出:
points — 角點

[1] Harris, C., and M. Stephens, "A Combined Corner and Edge Detector," Proceedings of the 4th Alvey Vision Conference, August 1988, pp. 147-151.


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM