How to use threshold in this problem?
1 view (last 30 days)
muhammad ismail on 23 Jan 2015
I convert this picture into bw using c=im2bw(b,graythresh(b)); but the problem is the straight line is disconnected as picture below. It supposed to be straight single line. What kind of segmentation technique that I need to use?