How to Extract skin/region outside the bone (white part in image 1)?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Considering the two images, I want to extract the part of image in 1 outside the bone shown in image 2. Being a novice, I could not get to any solution to extract that region. Any help would be appreciated.
5 Kommentare
Image Analyst
am 1 Apr. 2018
I don't think anusha reddy knows how to solve it or even cares about your problem. So why don't you start your own question so we don't keep bugging anusha? By the way, I don't even know how to answer your question or even know what you want or what the arrows are pointing to.
anusha gorrila
am 2 Apr. 2018
Hello ash fairy, apologize for the delay. Usually in scans, the bone pixels are at a higher intensity compared to the soft tissue. We could extract the bone pixels by using a minimum threshold intensity of the bone pixel intensities, capturing all the pixels above the threshold leaving you with the bone.
Antworten (2)
Image Analyst
am 30 Mai 2016
Take the bone-only image and fill it, then use it as a mask against the original image
mask = imfill(boneOnlyImage, 'holes'); % Fill holes.
outsideSkin = grayImage; % Initialize
outsideSkin(mask) = 0; % Zero out inside the mask.
5 Kommentare
Image Analyst
am 30 Mai 2016
"image 1" was the original image with 3 gray levels (actually more because you unfortunately jpegged it). So I had to use that to threshold and get the bone-only image. Like I said, you did not use the same threshold. You said you took it out so I'm not even sure how you got the bone-only binary image. But however you're doing it, it's picking a threshold that's wrong because there is a little break on the left side which prevents the blob from getting filled. My code does not have a little gap in the skull like yours does. Again, follow my guidance and you'll be alright.
anusha gorrila
am 2 Apr. 2018
Worked the problem a year ago. Apologize for the delay. I filled in both regions separately with same pixel intensities and negated the filled whole face region (image 1) with the filled skull region in image 2, leaving me the soft tissue depth, which was what I was looking for.
Siehe auch
Kategorien
Mehr zu Computer Vision with Simulink finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!