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에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!