Robot Vision : Internal and External Corner detection code

2 visualizaciones (últimos 30 días)
Muhammad Zeeshan Ahmed Khan
Muhammad Zeeshan Ahmed Khan el 9 de Abr. de 2020
Respondida: Image Analyst el 9 de Abr. de 2020
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);
}

Respuestas (1)

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

Categorías

Más información sobre Agriculture en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by