How to have a contour with 4-connectivity?

1 回表示 (過去 30 日間)
Meshooo
Meshooo 2015 年 11 月 26 日
コメント済み: Meshooo 2015 年 11 月 27 日
Dear all,
I have a contour that shown below. Two of the corners are with 8-connectivity. Is there a way to make all the corners satisfy 4-connectivity?
Best,
Meshoo

採用された回答

Meghana Dinesh
Meghana Dinesh 2015 年 11 月 26 日
編集済み: Meghana Dinesh 2015 年 11 月 26 日
Fill the image ( imfill). Use bwboundaries with conn = 4.
  1 件のコメント
Meshooo
Meshooo 2015 年 11 月 27 日
I was thinking if there is a direct way to restore those missing pixels. Thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by