andyzeng / 3dmatch-toolbox

3DMatch - a 3D ConvNet-based local geometric descriptor for aligning 3D meshes and point clouds.
http://3dmatch.cs.princeton.edu/
BSD 2-Clause "Simplified" License
836 stars 189 forks source link

Could it work on Windows? #1

Open hitsjt opened 7 years ago

hitsjt commented 7 years ago

I want to use it on Windows,will it work? Thank you!

andyzeng commented 7 years ago

3DMatch will not work immediately on Windows because it uses Marvin. However, if you can successfully compile Marvin in Windows, you can tweak the 3DMatch code (which uses standard C++ libraries and CUDA) to also work on Windows.

hitsjt commented 7 years ago

I tried to compile Marvin using the windows branch,but failed.Have you ever tried to compile it under windows or do you know any one does? Thank you!

andyzeng commented 7 years ago

I have not tried compiling Marvin on Windows, but if I find someone who has, I will post here. If anyone else has compiled Marvin successfully on Windows, it would be great if you can post here as well.

2017Greg commented 6 years ago

Hi, I ran your "Demo: Align Two Point Clouds with 3DMatch" on my computer and it works well with your sample data. But when I changed the data with my .ply files, some problems happened in "2. Generates a TDF voxel volume for the point cloud". The size of TDF is too big, like 17450 17486 17320. I compared the header of my .ply file and yours, and find that they are different. So I changed my .ply files to the same format as yours, but it didn't work. So do you have any suggestions? Thank you, I really appreciate your work.

andyzeng commented 6 years ago

The code in demo.cu uses the point coordinates in your .ply file as well as voxel_size (on line 97) to automatically estimate how large the TDF voxel volume should be. By default, the point coordinates in the demo .ply files are in meters, so voxel_size = 0.01 (in meters) makes sense. For your case, you'll need to adjust your voxel size accordingly to the spatial size of your point cloud data. Voxel size determines the resolution of your voxel volume.