This function extracts a binary image from gray scale image using auto-tuned threshold value obtained from the correlation of Image euler numbers. Euler number is calculated using binary image correlated to gray scale level. Number of level being used is defined by the user.
This function works for Matlab 7.0 with bweuler() and histeq() function from Image Processing Toolbox. No further validation for other version done yet.
Lip Pang Wong (2021). Example of Lung Region Extraction from Chest X-Ray Image (https://www.mathworks.com/matlabcentral/fileexchange/12543-example-of-lung-region-extraction-from-chest-x-ray-image), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!