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

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일

0 개 추천

How about using imline()? Or houghlines() or hough()?

카테고리

태그

질문:

2015년 1월 22일

답변:

2015년 1월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by