-
Notifications
You must be signed in to change notification settings - Fork 54
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
An issue in voxel.py #8
Comments
I think that you are right. I think that the function always lose 3 points, which are the point related to maximum of x, y and z axis. In the better hypothesis if only one point is the fairest it will lose only one.
It should work fine and it's less code. |
is my voxels.py code correct?
Data extraction functiondef get_data(file_path):
Parsing and saving datadef parse_RF_files(parent_dir, sub_dirs, file_ext='*.txt'):
Run the parserparse_RF_files(parent_dir, sub_dirs) |
Hi, I found a bug in the function voxalize that leads to incorrect results. I checked the value of np.sum(pixel) before return which should be equal to the number of points in the frame, but it is always smaller than it. So I guess some points are not correctly taken into account. I checked the code line by line, and I found line 78 does not work well when the point is close to the maximum boundary(in one of x, y, z dimension). Could you please fix this issue?
The text was updated successfully, but these errors were encountered: