How to extract image pixel region by image index value ?

1 vue (au cours des 30 derniers jours)
Selva Karna
Selva Karna le 4 Août 2017
Modifié(e) : Jiro Doke le 11 Août 2017
selc_region

Réponses (1)

Jiro Doke
Jiro Doke le 4 Août 2017
Modifié(e) : Jiro Doke le 4 Août 2017
im_region = im(id1:id2,id3:id4);
  2 commentaires
Selva Karna
Selva Karna le 10 Août 2017
it is not correct, how to extract image region ,by selection of pixel position from on image? your answer is wrong i dont know?
Jiro Doke
Jiro Doke le 11 Août 2017
Modifié(e) : Jiro Doke le 11 Août 2017
I guess your question doesn't make sense. What do you mean by "pixel position". In my answer, id1, id2, id3, id4 are pixel positions. So I just provided an answer where you extract a region of an image defined by those 4 positions.
Please be more precise with your problem statement. Note that the body text of your question just says "selc_region". What does that even mean? Also, tell us what you have tried and where exactly you are struggling. Providing code samples you tried would be best.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by