MATLAB Answers

how to improve lung boundary distinction in chest xrays?

2 views (last 30 days)
ammu v
ammu v on 21 Aug 2019
Answered: Shubh Sahu on 28 Aug 2019
is there any particular method for improving the boundary for segmentation.i have tried histogram equalisation,contrast enhancement etc

Accepted Answer

Shubh Sahu
Shubh Sahu on 28 Aug 2019
Edge-aware local contrast manipulation might help you. Try the code below.
A = imread('your_image.png');
edgeThreshold = 0.4;
amount = 0.5;
B = localcontrast(A, edgeThreshold, amount);
imshowpair(A, B, 'montage') ;
You can modify edgeThresholdand amount according to your needs.out_image.png

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by