How to get smooth straight line in binary(im2bw)?

1 次查看(过去 30 天)
How to get smooth straight line in the middle of this picture in binary(bw). I try using c=im2bw(b,graythresh(b)); but it become rough line. Need straight line as actual image in binary(bw). Thank you.

回答(1 个)

Image Analyst
Image Analyst 2015-1-22
How about using imline()? Or houghlines() or hough()?

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by