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
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 CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by