Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N) to change the limit. Be aware that exceeding your available stack space can crash MATLAB and/or your computer."
6 次查看(过去 30 天)
显示 更早的评论
Maximum recursion limit of 500 reached. Use set(0,'RecursionLimit',N)
to change the limit. Be aware that exceeding your available stack space can
crash MATLAB and/or your computer."
This is the code
img = imread('coins.png');
imshow(img);
I=im2bw(img);
imgBW = edge(I);
rad = 24;
[y0detect,x0detect,Accumulator] = houghcircle(imgBW,rad,rad*pi);
figure;
imshow(imgBW);
hold on;
plot(x0detect(:),y0detect(:),'x','LineWidth',2,'Color','yellow');
figure;
imagesc(Accumulator);
回答(1 个)
Walter Roberson
2012-1-19
What filename did you use for the above code? And which line does MATLAB indicate was executing at the time of the error?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!