Firstly, variables dir_left, dir_right, proj_left, proj_right and found are defined in the function computeCoplanarCts. They are never used after line 284.
Secondly, though you modify cluster_left and cluster_right, which can be used beyond this function, the function computeCoplanarCts is only used once and these 2 parameters make no sense.
Maybe you wanted to do something, but you forgot?
And actually I don't know what this repartition do. Would you mind explaining it to me? Thank you.
I think that I wanted to do something and maybe I did some test.
However, I cannot tell you what I wanted to do at this time and it would be better to delete it.
Hello, @ySalaun!
Thank you for your great job on line-based SfM. I'm reading your code and have some doubts.
From line 246 to line 284 in LineSfM/CALIBRATION/scale_uniformization.cpp, you make a repartition among directions. But the code seems useless.
Firstly, variables
dir_left
,dir_right
,proj_left
,proj_right
andfound
are defined in the functioncomputeCoplanarCts
. They are never used after line 284.Secondly, though you modify
cluster_left
andcluster_right
, which can be used beyond this function, the functioncomputeCoplanarCts
is only used once and these 2 parameters make no sense.Maybe you wanted to do something, but you forgot?
And actually I don't know what this repartition do. Would you mind explaining it to me? Thank you.
Looking forward to your reply.
Sincerely, Jim