Crop the region
1 回表示 (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
採用された回答
Image Analyst
2012 年 5 月 25 日
You need to do image segmentation. I have demos for that in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
2 件のコメント
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 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!