inserting a circle on a binary image
이전 댓글 표시
i have a binary image and i want to do a loop for which if the pixel is 1 i want to insert a mark on it and otherwise do nothing. can someone kindly guide me?
댓글 수: 2
Walter Roberson
2018년 3월 11일
What is a "mark" for your purpose?
Is the required output something on the display, or is it a new matrix with the marks included?
How does this relate to the question about inserting a circle?
Nouf Harbi
2018년 3월 11일
답변 (1개)
Walter Roberson
2018년 3월 11일
0 개 추천
regionprops() to get the centroids . You can pass the centroids to viscircles() to have a circle be drawn at those locations.
카테고리
도움말 센터 및 File Exchange에서 Image Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!