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 日

0 投票

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 件)

カテゴリ

質問済み:

2020 年 1 月 22 日

編集済み:

2020 年 1 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by