No value in centers when using imfindcircles
이전 댓글 표시
Hello, im trying to detect a circle caused fungi using imfindcircles function. But when i checked workspace there are no values in centres, radii, and metric that leads to Index exceeds matrix dimensions. Can anyone help me, please?
this is the script i used:
A=imread('1.jpg');
imshow(A)
B=rgb2gray(A);
figure, imshow(B)
[centers, radii, metric] = imfindcircles(A,[15 30]);
X= centers(1:1,:);
Y= radii(1:1);
Z= metric(1:1);
viscircles(X, Y,'EdgeColor','b');
댓글 수: 2
KALYAN ACHARJYA
2019년 7월 22일
편집: KALYAN ACHARJYA
2019년 7월 22일
Please do share image 1 (Use Clip Attach)
Please do explain, what you are trying to with 1:1?
Firecky Dwika
2019년 7월 23일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

