cvg / DeepLSD

Implementation of the paper "DeepLSD: Line Segment Detection and Refinement with Deep Image Gradients"
MIT License
486 stars 62 forks source link

Does DeepLSD assume the coordinates of the center of the upper left pixel to be (0, 0) or (0.5, 0.5)? #33

Closed xulongbai closed 9 months ago

xulongbai commented 9 months ago

Hi, thanks for the great work! Does DeepLSD assume the coordinates of the center of the upper left pixel to be (0, 0) or (0.5, 0.5)?

rpautrat commented 9 months ago

Hi, as far as I remember, DeepLSD was trained by assuming that the origin is on the top left of the top left corner. In other words, an endpoint with coordinates (0, 0) is located exactly on the top left corner of the image.