yosungho / LineTR

Line as a Visual Sentence: Context-aware Line Descriptor for Visual Localization (Line Transformer)
Other
238 stars 35 forks source link

About the output data of the LSD line detector #19

Open yiyihao2000 opened 1 year ago

yiyihao2000 commented 1 year ago

Hello, your work is excellent I have a question to ask you, which of the line segment feature data output by the line detector used by the line transformer? For example, what information is there beside the starting point, ending point, and angle of the line segment? Thanks

yosungho commented 1 year ago

Hi, the linetr needs two endpoints from a line detector, and its length, angle, and sample points between the endpoints are used in the networks.

yiyihao2000 commented 1 year ago

Thank you for your answer! May I ask if the two endpoints you mentioned refer to the starting and ending points of a line segment? Also, is the selection of sampling points related to line detectors?

yosungho commented 1 year ago

Yes. The two endpoints are the starting and ending points. The point samples on a line do not depend on the type of line detector. They are just the equi-distanced points between the two endpoints.

yiyihao2000 commented 1 year ago

Thank you for your answer. I have another question that I would like to trouble you with. May I ask what dimension tuple array is the output "klines_cv2" of the LSD line detector?