Line segments are ubiquitous in our human-made world and are increasingly used in vision tasks. They are complementary to feature points thanks to their spatial extent and the structural information they provide. Traditional line detectors based on the image gradient are extremely fast and accurate, but lack robustness in noisy images and challenging conditions. Their learned counterparts are more repeatable and can handle challenging images, but at the cost of a lower accuracy and a bias towards wireframe lines. We propose to combine traditional and learned approaches to get the best of both worlds: an accurate and robust line detector that can be trained in the wild without ground truth lines. Our new line segment detector, DeepLSD, processes images with a deep network to generate a line attraction field, before converting it to a surrogate image gradient magnitude and angle, which is then fed to any existing handcrafted line detector. Additionally, we propose a new optimization tool to refine line segments based on the attraction field and vanishing points. This refinement improves the accuracy of current deep detectors by a large margin. We demonstrate the performance of our method on low-level line detection metrics, as well as on several downstream tasks using multiple challenging datasets. The source code and models are available at https://github.com/cvg/DeepLSD.
翻译:以图像梯度为基础的传统线条探测器非常快速和准确,但缺乏响亮图像和具有挑战性的条件。他们所学的对等人员更可重复,能够处理具有挑战性的图像,但代价是精度较低,偏向于线条。我们提议将传统和学识方法结合起来,以获得两个世界的最佳结果:精确和稳健的线条探测器,可以在没有地面真相线的情况下在野外训练。我们的新线段探测器DeepLSD,用深网络处理图像,以生成线条吸引场,然后将其转换成代理图像梯度大小和角度,然后将其输入任何现有的手制线条探测器。此外,我们提出一个新的优化工具,以吸引场和消亡点为基础改进线条段。这种改进将大大提高当前深线探测器的准确性。我们用低线线条探测仪的性能展示了我们的方法,在使用多层数据模型/高端数据模型的下游区域/高端数据模型中,以及使用多层数据模型的LSD/SD源。