Robot Vision : Internal and External Corner detection code

Dear All,
I am newbee to MATLAB, please experts suggest me THe code for internal and external code detection the basic algoristh is here
procedure count_objects(B);
{
E:=0;
I:=0;
for L:= 0 to MaxRow - 1
for P:= 0 to MaxRow - 1
{
if external_match(L,P) then E:=E+1;
if internal_match(L,P) then I:=I+1;
};
return((E-1)/4);
}

回答 (1 件)

Image Analyst
Image Analyst 2020 年 4 月 9 日

0 投票

If you have the Computer Vision Toolbox, try
detectHarrisFeatures
Detect corners using Harris–Stephens algorithm and return cornerPoints object

カテゴリ

回答済み:

2020 年 4 月 9 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by