3dmatch-toolbox icon indicating copy to clipboard operation
3dmatch-toolbox copied to clipboard

Could it work on Windows?

Open hitsjt opened this issue 7 years ago • 5 comments

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

hitsjt avatar Feb 12 '17 12:02 hitsjt

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.

andyzeng avatar Feb 12 '17 18:02 andyzeng

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!

hitsjt avatar Feb 21 '17 08:02 hitsjt

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.

andyzeng avatar Feb 21 '17 18:02 andyzeng

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.

2017Greg avatar Sep 14 '18 09:09 2017Greg

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.

andyzeng avatar Sep 14 '18 21:09 andyzeng