Robot Vision : Internal and External Corner detection code

3 views (last 30 days)
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);
}

Answers (1)

Image Analyst
Image Analyst on 9 Apr 2020
If you have the Computer Vision Toolbox, try
detectHarrisFeatures
Detect corners using Harris–Stephens algorithm and return cornerPoints object

Categories

Find more on Agriculture in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!