-
Notifications
You must be signed in to change notification settings - Fork 221
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
manual normals calculation from Pyntcloud.points object #311
Labels
Comments
Hola @jkissi ! Unfortunately, there is no support for oriented normals, only unoriented which can be computed as follows: k_neighbors = cloud.get_k_neighbors(k=10, ...)
cloud.add_scalar_field(
"normals",
k_neighbors=k_neighbors) However, if your point cloud file already contains normal information, it looks like the way to go should be to extend Alternatively (or in addition) we could add a new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
I have a problem when load .pcd files.
PyntCloud.from_file()
does not automatically create normals from .pcd files as it does from .ply files. I have tried to manually load my point data into a PyntCloud object usingcloud = PyntCloud(points)
However the resulting dataframe only consists of the x y z coordinates and not the normal vectors, which I also need. Can you show an example of how these can be manually generated? Is there a way to automatically create all the same variables as if you are using the
from_file()
function?Thanks!
J
The text was updated successfully, but these errors were encountered: