Mammogram - pectoral muscle removal
1 回表示 (過去 30 日間)
古いコメントを表示
Hi all
I have a problem with removing pectoral muscle on mammogram. After identified pectoral muscle, what should I do next? I found on some paper, they are using loop function to travel up to First zero pixel and then replace all travelled pixels with zero and in some condition is violating for consecutive 5 times, then decrease pole position for next row by 1 and replace all pixels with zero.
Below is my sample code to identified pectoral muscle area:
pect = I;
[x y] = size(I);
thres=173;
for i=1:x
for j=1:y
if (pect(i,j)<thres)
pect(i,j)=0;
end
end
end
*Note: I is the mammogram which I have removed "white text" area.
Thank you.
2 件のコメント
Image Analyst
2015 年 3 月 20 日
Post your image in a new question if my answer below about using thresholding does not work for you.
回答 (2 件)
Image Analyst
2011 年 10 月 8 日
I think you should just do
pect(pect <= thres) = 0;
instead of the loops.
12 件のコメント
Image Analyst
2011 年 10 月 9 日
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
Image Analyst
2011 年 10 月 9 日
You could threshold your image 5 to get a binary image. Then call imclearborder() to get the image of just the breast. Subtract that from the first binary image to get just the pect, which is touching the border. If you have cases where the breast also touches the border you'll have to do something like find the std dev of the regions and assume that the pect is the lower std dev.
参考
カテゴリ
Help Center および File Exchange で 3-D Volumetric Image Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!