-
Notifications
You must be signed in to change notification settings - Fork 199
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
Guide on exporting scene from COLMAP #14
Comments
So the .ply point cloud from COLMAP does not have normals? |
It doesn't |
This is weird. The dense point cloud from COLMAP does usually have normals. Do you run an old version maybe? Or did you export the sparse point cloud by accident? |
I installed it literally yesterday from the last release in their github (So don't be surprized about stupid questions) |
I opened fused.ply and it contains nx, ny, nz values it looks like normals, but previous time I tried to set point_cloud_file in comap2adop to fusion result it went to endless loop |
Yes |
At removing duplicate points ADOP/src/lib/data/SceneData.cpp Line 80 in 51fbf9e
I waited for more than 30 mins... I tried to run it on some of example scenes and it really took minute or so. So I thought I use wrong file. I'll try with my new cloud, then. |
UPD: fixed it by passing path to original images directory to --image_dir. I found this in output of colmap2adop:
Is it ok? |
So, now the problem is that for some reason RemoveDoubles function takes a lot more time than on example scenes. |
I would like to take a look at your |
Thanks for pointing that out. This was a bug and is now fixed in the latest commit. |
In meantime, in UnifiedMesh.cpp, in RemoveDoubles function I printed the size of vector, returned from RadiusSearch. |
I made a work-around for this issue. I'd ask you to check that I haven't broken anything 👀
It is quite strange that from 1955964 points I get 23659, but there really might be a lot of duplicates |
It looks like The problem is that Assimp is not able to load your point cloud correctly. A simple workaround for now is to open the pointcloud with meshlab and select After that Assimp is able to read it correctly. I have added some debug checks in this commit f360201 to ensure the input point cloud is read correctly. |
Great thanks! It finally works, I managed to start training 😎 |
So, for those who have similar questions, footage processing pipeline:
|
@DenShlk Thanks for the instructions. I will add this those to the readme once all bugs are fixed. I have just updated to use the latest saiga+assimp version a1f0219. @DenShlk could you please check if (make sure to do a recursive submodule update after the pull)
|
Hi! Sorry for delay.
I checked it, it works perfectly. Thanks! I'd also asked you to consider using optimization for |
Hi! I try to build my scenes with COLMAP,but when i run colmap2adop,it said "Assertion 'std::filesystem::exists(img_file)' failed!" |
The converter did not find |
the images.bin is exsist in the sparse directory,but i copy the image directory and sparse directory from another computer,does this matter ? |
I find it was caused by a Wrong file organization,thank you ! |
Hi! I have some troubles exporting point cloud from COLMAP to compatible with ADOP format.
Here is what I did:
The text was updated successfully, but these errors were encountered: