Find the intersecting points

조회 수: 1 (최근 30일)
mathru
mathru 2020년 1월 22일
편집: mathru 2020년 1월 22일
How can I calculate the intersecting points (red circled) from the following image?
  댓글 수: 2
Ajay Kumar
Ajay Kumar 2020년 1월 22일
How is this plot formed? Could you help with the code?
mathru
mathru 2020년 1월 22일
편집: mathru 2020년 1월 22일
This is not a plot. This is an image ( just an trapezoidal shape object kept on a flat surface).

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

채택된 답변

KSSV
KSSV 2020년 1월 22일
If you have the image in hand.
  1. Get the locations/ positions i.e (x,y) for both the regions using logical indexing.
  2. Get the boundary of both the regions using boundary.
  3. Use InterX from the link: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=5165138&tab=function
If you have points (x,y) straight away follow from step 2 in the above.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by