Robot Vision : Internal and External Corner detection code
조회 수: 1 (최근 30일)
이전 댓글 표시
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);
}
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/283042/image.jpeg)
댓글 수: 0
답변 (1개)
Image Analyst
2020년 4월 9일
If you have the Computer Vision Toolbox, try
detectHarrisFeatures
Detect corners using Harris–Stephens algorithm and return cornerPoints object
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!