How can I remove the background of a particular image?

1 回表示 (過去 30 日間)
char S
char S 2014 年 6 月 20 日
コメント済み: char S 2014 年 6 月 23 日
I want to remove the background of the corresponding MRI image. Please suggest the coding steps.

回答 (1 件)

Image Analyst
Image Analyst 2014 年 6 月 20 日
Find the background and save it into a binary image called mask. Then define what "remove" means, keeping in mind that an image has to be rectangular - you can't have oval images. If you just want to set the background to some particular value, like 0, then:
grayImage(mask) = theValueYouWant;
  1 件のコメント
char S
char S 2014 年 6 月 23 日
Thanks for the reply.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMRI についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by