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