How to segment part of an image
1 view (last 30 days)
Show older comments
Im trying to segment a Brain MRI tumor just so that the tumor is showing and the rest of the image is black.
here is what I have so far from my code:
EDU>> T = imread('Image_1.jpg');
EDU>> B = im2bw(T);
EDU>> imshow(B)
EDU>> V = bwareaopen(B,1000);
EDU>> imshow(V)
The image is a brain with a Tumor. I am trying to segment the Tumor so I can have only the tumor showing. Please help.
0 Comments
Answers (1)
Image Analyst
on 22 Apr 2014
A primitive algorithm like this will probably rarely work satisfactorily and won't work robustly over a wide variety of images. Do you really think any good algorithm can find tumors with only 2 lines of code ? I suggest you look over published algorithms for one that is better: http://iris.usc.edu/Vision-Notes/bibliography/contentsmedical.html#Medical%20Applications,%20CAT,%20MRI,%20Ultrasound,%20Heart%20Models,%20Brain%20Models
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!