How can I remove unwanted edges?

7 views (last 30 days)
Kaw Tar
Kaw Tar on 6 Dec 2015
Answered: Image Analyst on 6 Dec 2015
Hello all,
I got this image after applying my edge detection algorithm to an MRI brain image and after a skull stripping operation. as you can see there is some noise corresponding to the skull, how can I delete them and keep only the brain mass.
help me please.

Answers (1)

Image Analyst
Image Analyst on 6 Dec 2015
Why did you do an edge detection? That pretty much destroyed your brain.
And anyway, even if you do want the edges as your final output image, I don't know which edges you consider noise and which edges you want to keep. If it's just based on size, you can use bwareaopen() to toss out really small, short edges.

Community Treasure Hunt

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

Start Hunting!