How to display only a certain portion of an image?
이전 댓글 표시
Hi,
I got this image as shown in figure. Now, I want is to display only a certain portion (I only want to show the middle part, ignoring the remaining outside parts) of this image. How can we do this?
I just want the green and blue parts but ignoring the outside red and orange part. I tried to use data cursor with the following line of code.
I tried following lines:
imagesc(abs(b1p(254:320,166:320)))
but all i get is blank image.
What is wrong with this line? or is there any other better way of doing this?

Thanks in advance!
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!