필터 지우기
필터 지우기

Crop the region

조회 수: 2 (최근 30일)
Amishi
Amishi 2012년 5월 25일
I wanted to know how to obtain the region inside the border. For example I am using the MRI liver image and I just want all the portions inside the liver. The other portions such as kidney, uterus and other things i do not require. I have obtained the border for the liver but its black inside the region.

채택된 답변

Image Analyst
Image Analyst 2012년 5월 25일
  댓글 수: 2
Amishi
Amishi 2012년 5월 27일
Thanks a lot. This demo was really useful.
I have a query when i give my liver mri image and use the bwboundaries and plot i get all the regions with boundaries.
When i try using imcrop the sub image which i get is not the exact which is shown in boundary, it contains some extra portions other than which is in boundaries. May i know why this happens.
Image Analyst
Image Analyst 2012년 5월 27일
That's because imcrop must take a rectangular region while boundaries do not have to be rectangular. You can mask out stuff outside the boundaries. I've posted demos on masking before - search for them or ask if you can't find any.

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by