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 个)

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

类别

帮助中心File Exchange 中查找有关 Feature Detection and Extraction 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by