how can i follow canny output?

1 次查看(过去 30 天)
nadia
nadia 2016-10-26
评论: nadia 2016-10-27
I segment a mammography breast image but the border of it is not accurate. I also have canny output of the image. now, I want to expand breast region to outer border of canny, but I do not know how to do it? I insert the output of breast segmentation and canny output below. I want to expand segmentation to outer border of canny. can you help me?

回答(1 个)

Image Analyst
Image Analyst 2016-10-26
Why did you use canny anyway? Why not just threshold? Or maybe you can use activecontour() for a smoother outline.
  8 个评论
Image Analyst
Image Analyst 2016-10-26
Zero out the pixelCount(1). There's something weird about the histogram so it's not finding the right threshold. It's because the second bin is zero and the first bin is real high. Zeroing out the first bin will fix that.
nadia
nadia 2016-10-27
no, this solution dose not work. because in some other images by zero out the pixelCount(1),threshold become very big and only some white part remain.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by