MATLAB Answers

point of intersection of a circle and binary image

조회 수: 6(최근 30일)
Yeshudas Muttu
Yeshudas Muttu 18 Nov 2014
답변: Doug Hull 18 Nov 2014
i have a binary image and i have plot a circle on it as shown in figure A.The circle intersects the image at 4 points.But i want to mark two point with cross marker similar to figure B .How do i do that. Plz help

  댓글 수: 0

댓글을 달려면 로그인하십시오.

답변(1개)

Doug Hull
Doug Hull 18 Nov 2014
I have an ugly solution that might be what you want:
  • run EDGE on the binary image. You now have a binary image with the edges.
  • create a binary image with your circle being the TRUEs. Depending on how you specified your circle, this should be a very reasonable task.
  • AND these two binaries together. You should find the points of intersection. You might need to clean them up a bit is all.

  댓글 수: 0

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by