Effacer les filtres
Effacer les filtres

Get binary Mask of selected regions

1 vue (au cours des 30 derniers jours)
Elysi Cochin
Elysi Cochin le 18 Jan 2017
Commenté : Elysi Cochin le 18 Jan 2017
i wanted to get the mask of only regions in an image with selected intensity values such as 111, 118, 147, etc.... The intensity values can be adjacent values like 91 & 92 or 111 - 115 or random values as given above....
please can someone tell me how to do it....

Réponse acceptée

Guillaume
Guillaume le 18 Jan 2017
Assuming a grayscale image:
mask = ismember(yourimage, [91 92 111 118 147]); %obviously adjust the values of the vector to those intensities you want in the mask.
  1 commentaire
Elysi Cochin
Elysi Cochin le 18 Jan 2017
thank you sir

Connectez-vous pour commenter.

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