Updated 21 Mar 2016
This simple method can be used to segment locally darker regions in a grayscale image that have a somewhat circular appearance.
demo.m performs a segmentation on the example image recon_test.png.
The method has been used in medical imaging as part of an airway segmentation method to extract the 3D airways. See http://www.lungworkshop.org/2009/proc2009/297.pdf for details of the full method and http://image.diku.dk/exact/exact_team_result.php?team_id=15 for results.
Benjamin I (2020). Segmentation using morphology (https://github.com/benjaminirving/segmentation-morphology), GitHub. Retrieved .
@ debasmita bhoumik,
The easiest option would be to invert your image before performing the segmentation.
Inew = max(I(:)) - I
This method is for " segment locally darker regions in a grayscale image that have a somewhat circular appearance. "
I want to segment locally lighter region.. what should i do (i am a very beginner student in matlab)
please I want matalab program to cut ROI from dicom image
link to github