필터 지우기
필터 지우기

Mammogram - pectoral muscle removal

조회 수: 6 (최근 30일)
ws
ws 2011년 10월 8일
댓글: Image Analyst 2015년 3월 20일
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
krishnasai gudavalli
krishnasai gudavalli 2015년 3월 20일
How to identify the pectoral muscle?
Image Analyst
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
Image Analyst 2011년 10월 8일
I think you should just do
pect(pect <= thres) = 0;
instead of the loops.
  댓글 수: 12
Image Analyst
Image Analyst 2011년 10월 9일
http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
ws
ws 2011년 10월 9일
This is the image link: http://imageshack.us/photo/my-images/171/tasko.png/
My task:
1. Image 1 until image 5 are the steps I already done, now I want to find the way to get image 6 and 7.
2. I need image 6 to work with original image to get the final image (image 7).
3. After done this task I will use image7 for segmentation part.
Original image for testing purpose can get it from here: http://peipa.essex.ac.uk/ipa/pix/mias/mdb041.pgm
Thank you.

댓글을 달려면 로그인하십시오.


Image Analyst
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.
  댓글 수: 2
ws
ws 2011년 10월 9일
Thank you, I will try on it.
ws
ws 2011년 10월 13일
This method is looking for the opposite, I want pectorial muscle, but it removed it.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by