It seems that Hough detect the lines extremities. A gradient is probably computed during the process.
A solution would be to:
Doing that, each line will be reduced to 1 pixel width.
[EDIT] Here is an example:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.