Azzera filtri
Azzera filtri

How to have a contour with 4-connectivity?

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Meghana Dinesh
Meghana Dinesh il 26 Nov 2015
Modificato: Meghana Dinesh il 26 Nov 2015
Fill the image ( imfill). Use bwboundaries with conn = 4.
  1 Commento
Meshooo
Meshooo il 27 Nov 2015
I was thinking if there is a direct way to restore those missing pixels. Thank you.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Contour Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by