Clear Filters
Clear Filters

how can i follow canny output?

1 view (last 30 days)
nadia
nadia on 26 Oct 2016
Commented: nadia on 27 Oct 2016
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?

Answers (1)

Image Analyst
Image Analyst on 26 Oct 2016
Why did you use canny anyway? Why not just threshold? Or maybe you can use activecontour() for a smoother outline.
  8 Comments
Image Analyst
Image Analyst on 26 Oct 2016
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 on 27 Oct 2016
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!