Recovering point colours from VoxelGrid #315
Unanswered
thesmallblondguy
asked this question in
Q&A
Replies: 1 comment 1 reply
-
There is not currently a direct way of doing this, although there might be workarounds. One question I'm not sure if what values do you expect for the voxel colors to have, a mean of the RGB values of the points inside the voxel? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background:
I am working on point cloud change detection. As test data I have two small, registered point clouds -- with some small differences -- which I am trying to force to a matching voxel grid, i.e. I want the co-located points to have equal coordinate values. The goal is to easily hide points with matching x- and y-coordinates from the visualisation (without having to do elaborate queries with ranges around each point). After trying a number of approaches I came across PyntCloud. The
get_sample("voxelgrid_centers",...
seams promising. However, I have been unable to recover the point colours from the cloud.Question:
How can I recover (compute for each new point) the point colours?
I have tried:
So, as far as I can tell, the PyntCloud object has colours, but I seem to be unable to recover them. Is there a way to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions