Effacer les filtres
Effacer les filtres

using bwareafilt to get area in a range

1 vue (au cours des 30 derniers jours)
Elysi Cochin
Elysi Cochin le 21 Fév 2018
i used
bw2 = bwareafilt(bw, [40 50]);
to get regions having area in the range 40-50.
but more than one region is coming. How can i get only one region, either the first region or last region in that particular range

Réponse acceptée

Walter Roberson
Walter Roberson le 21 Fév 2018
bw3 = bwareafilt(bw2, 1);

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by