sparse-segmentation icon indicating copy to clipboard operation
sparse-segmentation copied to clipboard

Problem in the upsampling process for computing Y and Z

Open liulj13 opened this issue 6 years ago • 0 comments

Hi, thanking you for your great work! I have some problems regarding the upsampling process. In the line 212 to line 215 in scripts/convert.py, to compute the Y and Z you wrote: `# get Y interm[:,1] = xyzirl1[:,1] + d*(xyzirl2[:,1]-xyzirl1[:,1]) / D # y1 + d * (y2-y1) / D '# get Z interm[:,2] = xyzirl1[:,2] + d*(xyzirl2[:,2]-xyzirl1[:,2]) / D # z1 + d * (z2-z1) / D I am wondering why don't you just use the average number instead? interm[:,1] = (xyzirl1[:,1] + xyzirl2[:,1]) / 2 interm[:,2] = (xyzirl1[:,2] + xyzirl2[:,2]) / 2 Why it is not in the way that you compute the X, I, R?

liulj13 avatar Dec 09 '19 07:12 liulj13