Lung segmentation with image processing
10 views (last 30 days)
Show older comments
Niels Palmans on 25 Nov 2015
Answered: Image Analyst on 30 Dec 2015
I'm busy with a matlab project. In this project I got some CT-scans from the lungs and now I want to do a segmentation on it. This is an example of the scan:
I don't really know how I have to proceed. I tried to make the picture a black and white (now it's a grayscale), but it wasn't very usefull...
Image Analyst on 30 Dec 2015
I'd try thresholding. Then call imclearborder() to get rid of any light stuff that touches the border. Then take the largest blob with bwareafilt(). If the area is not big enough, then take the biggest two blobs.
Also check the literature for better algorithms: http://www.visionbib.com/bibliography/contentsmedical.html#Medical%20Applications,%20CAT,%20MRI,%20Ultrasound,%20Heart%20Models,%20Brain%20Models
More Answers (1)
Arnab Sen on 30 Dec 2015
I understand that you would like to segment a image into different portions based on color. You can create segments of the image based on colors using K-means clustering algorithm. Refer to the following link for more details of image segmentation in MATLAB:
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!