Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the coordinates in the las files #18

Open
YamasakiRuna opened this issue Mar 22, 2019 · 0 comments
Open

About the coordinates in the las files #18

YamasakiRuna opened this issue Mar 22, 2019 · 0 comments

Comments

@YamasakiRuna
Copy link

Hi, DBnet team!
In the las2fmap.py(line 30-33)
def lasReader(filename): """ Read xyz points from single las file :param filename: path of single point cloud """ f = File(filename, mode='r') x_max, x_min = np.max(f.x), np.min(f.x) y_max, y_min = np.max(f.y), np.min(f.y) z_max, z_min = np.max(f.z), np.min(f.z) return np.transpose(np.asarray([f.x, f.y, f.z])), \ [(x_min, x_max), (y_min, y_max), (z_min, z_max)], f.header
you use the "x y z" of the las file as the coordinate information.
But in the pointnet input script provide.py (line 142-143)
infile = laspy.file.File(self.X_train2[i]) data = np.vstack([infile.X, infile.Y, infile.Z]).transpose()
you use the "X Y Z" of the las file as the coordinate information.

Could you tell me the different between "x y z" & "X Y Z" because the number of them are not the same ("x y z"<200 and "X Y Z" are around 10^9)

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant