How to extract image pixel region by image index value ?

조회 수: 1 (최근 30일)
Selva Karna
Selva Karna 2017년 8월 4일
편집: Jiro Doke 2017년 8월 11일
selc_region

답변 (1개)

Jiro Doke
Jiro Doke 2017년 8월 4일
편집: Jiro Doke 2017년 8월 4일
im_region = im(id1:id2,id3:id4);
  댓글 수: 2
Selva Karna
Selva Karna 2017년 8월 10일
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 2017년 8월 11일
편집: Jiro Doke 2017년 8월 11일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by