Effacer les filtres
Effacer les filtres

how to mask on roi area

1 vue (au cours des 30 derniers jours)
asthana
asthana le 19 Fév 2014
Commenté : asthana le 19 Fév 2014
hello sir/madam i want to mask some portion of image and that portion will decide by user not me. so how to mask the portion and how to get the detail about that mask portion like area.

Réponse acceptée

Image Analyst
Image Analyst le 19 Fév 2014
  1 commentaire
asthana
asthana le 19 Fév 2014
thank you very much

Connectez-vous pour commenter.

Plus de réponses (1)

Dishant Arora
Dishant Arora le 19 Fév 2014
you can ask user to interactively specify ROI:
I = imread('fullfilename');
imshow(I)
h = imfreehand(gca);
wait(h) % waits for user to specify region of interest
bw = createMask(h) % Binary mask with 1's inside ROI
  1 commentaire
asthana
asthana le 19 Fév 2014
thank you mr.dishant arora

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by