imfindcircles: How to store the center coordinate of the circles when using the function in a for loop?
1 回表示 (過去 30 日間)
古いコメントを表示
The center is saved as a double (3X2)
How can I save the coordinates at the end of each loop without overwriting it?
7 件のコメント
Rik
2017 年 6 月 29 日
You put this line inside your for-loop: cell2StoreCenters = cell(1,5);
That clears your variable each loop. Place that line of code outside your for-loop and it should work.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Computer Vision with Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!