检测模糊图像中的细线 [英] Detecting thin lines in blurry image
问题描述
我正在寻找一些想法来检测附加图像中的线条。假设线是垂直的,但它们的质量非常差,每条模糊线之间只有2-3个像素。
I'm looking for some ideas to detect lines in the attached image. Lines are assumed to be vertical, but their are very poor quality and there are only 2-3 pixels between each blurry line.
我已经尝试过这些方法:
侵蚀和垂直扩张 - >增强效果良好
CLAHE - >适合增强效果
Hough - >将图像转换为Black&虽然会有太多断线或桥梁。
我也尝试了垂直线掩模。
基本上基于Black& White图像转换的方法不适用于此。
I tried these methods already: Erosion& Dilation in vertical ->good result for enhancement CLAHE -> Good for enhancement Hough -> Failed since converting the images to Black & while will have too many broken lines or bridges. Also I tried vertical line Mask too. Basically methods based on Black&White image conversion won't be applicable for this.
>
推荐答案
我会折叠图像获得1d配置文件的行。并在那里进行检测(例如,通过查看中位数上方的峰值。
I would collapse the image along the lines to get 1d profile. And do the detection there (e.g. by looking at the peaks above the median.
这是折叠后的图像
对象检测有明显的
这篇关于检测模糊图像中的细线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!