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

Generation of Voxel #27

Open
Q-Y-Yang opened this issue Mar 8, 2022 · 2 comments
Open

Generation of Voxel #27

Q-Y-Yang opened this issue Mar 8, 2022 · 2 comments

Comments

@Q-Y-Yang
Copy link

Q-Y-Yang commented Mar 8, 2022

@xingyuansun @jiajunwu Thanks for your great work of Pixel3d!

I am creating a custom dataset following pixel3D to train MeshRCNN. However, I am stuck in the voxel generation from mesh using binvox software for many days.

Could you please provide more information about how to convert .binvox to .mat? I tried the method in issue 19, but it does not work.
I compared the .mat file provided from pixel3d dataset with the .mat file I generated from .obj (pixel3d’s object) using binvox. They are different. I rotated 90 degree around x axis when converting model (.obj) to .binvox, because in README it says as follows:
model: 3D model of the object (+x: leftward, +y: upward, +z: inward, in canonical view)
voxel: voxelized 3D model (+x: leftward, +y: outward, +z: upward, in canonical view)

I would be very appreciate if you have time to reply.

@xingyuansun
Copy link
Owner

Hi Qiaoyue, thank you for using Pix3D! I am sorry if I did not express it clearly in #19. We did not use binvox to generate voxels in Pix3D, but some MATLAB code that was developed by one of our co-authors. Thus the voxels generated by binvox very likely will not be identical to the voxels provided by Pix3D, even after proper rotation. I believe the discussions in #19 would be very helpful in converting binvox to mat. Thanks!

@grEmsIsY
Copy link

grEmsIsY commented Oct 3, 2022

@Q-Y-Yang Did you finish yet?

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

3 participants