Exact Image extraction is not possible
Ältere Kommentare anzeigen

I want to extract the inner black portion of image CT14.jpg using mask.png as a mask by multiplying these two image but every time I get the outer portion of the image. How it is possible to segment these two inner lung portion. please help me.

Akzeptierte Antwort
Weitere Antworten (2)
Image Analyst
am 6 Dez. 2013
How did you get that mask? Why not get one that is not connected to the outer black stuff? Anyway to mask the gray image by a binary (logical) image, you can do it in two ways.
maskedImage = grayImage; % Initialize
maskedImage(~mask) = 0;
or
maskedImage = grayImage .* uint8(mask); % or uint16, whatever grayImage is.
1 Kommentar
Image Analyst
am 8 Dez. 2013
That's because the Otsu method is lousy. It rarely picks good thresholds for real world images unless they're very contrasty with a bimodal histogram.
Jhilam Mukherjee
am 8 Dez. 2013
0 Stimmen
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


