How to Extract skin/region outside the bone (white part in image 1)?
4 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Image Analyst
2018 年 4 月 1 日
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
2018 年 4 月 2 日
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.
回答 (2 件)
Image Analyst
2016 年 5 月 30 日
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 件のコメント
Image Analyst
2016 年 5 月 30 日
"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
2018 年 4 月 2 日
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.
参考
カテゴリ
Help Center および File Exchange で Computer Vision with Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!