-
Notifications
You must be signed in to change notification settings - Fork 121
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
Strange result of colmap data #21
Comments
Hi, I had similar problems. For my case, turned out, the pose provided by colmap was already inverted for some reason. Inverting the poses from colmap again and then feeding it to simplerecon solved for me. |
@Morpheus3000 could you give a bit more details as to what you mean you needed to invert poses provided by Colmap and exactly what you did? I'm having a similar issue. My depth/normals look reasonable, but like weihaosky, my mesh is a mess. colmap-conference-room-2-480.mov |
Hello, I also plan to use this project and use colmap to calculate posture. There was a problem with posture when I tried Neural Recon before. It seems that this project cannot directly use the posture exported from colmap. Have you found a solution yet |
Sorry to bother @Morpheus3000 , as @pablovela5620 I'm a bit lost on how to make the colmap data to work. I'm on it for 2 days trying to make it work. Can you give some more information on how to invert the data? The inver poses, you mean by invert the quaternions and translation data from each image that is stored on the "images.txt" file? Thanks a lot for the help |
Hello all, For me just inverting the pose (using the inverse) on the poses saved by colmap worked. So I assumed simplerecon expects the colmap poses to be inverted. |
@Morpheus3000 Thanks a lot, I'm getting crazy trying to find out how to invert. it would be to inver the quaternions only or also the tranlation data? If I'm not asking too much, can you point a direction, or something that you've found on how to invert it? I was thinking on trying to convert the quarterion + translation to a transform matrix, invert it and then try to split it again into quaternion and translation. That was what you've done? Sorry to bother with that, I'm 4h today just trying to invert the data 😅 |
@carlosedubarreto Hi, no problem. Getting stuff running is an experience I have had a lot haha. For the inversion, I just inverted the pose matrix. I didn't need to convert to quaternion. That solved the issue for me. |
@Morpheus3000 Thanks for the help. I tried to invert the data that was on the cameras.txt file, the part of the fx,fy,cx,cy. I took that data, put into a matrix, inverted that, put the data back on the cameras.txt file, passed through the split data and procssed it. The result just moved a few centimeters, but overall the result was still terrible. It would be to invert the data for each image that is on the images.txt? You said that just inverted the pose matrix, i dont know where it is. Do you remember if it was from a colmap result that you had this pose matrix? What you said seemed to be actually very simple i just dont have any idea where that data would be. I couldnt find it on the colmap results |
@carlosedubarreto Hmmm you are inverting the camera intrinsic matrix. You could convert the quaternion and translation to the pose matrix and invert that. I don't exactly remember what I did, but I remember using some libraries to do the conversion. |
Thanks a lot @Morpheus3000 that makes very much sense to me. Ill try your suggestion and post the results |
I've inverted but the result got much worst. after inverting the poses, it became this I'll send the code that I was able to make in case anyone wants to try to improve. I think I'll giveup I dont know what else to do But thanks a lto for all the suggestions @Morpheus3000 , really appreciated |
Hi. Have you verified that the colmap reconstruction looks correct? |
@daniyar-niantic, Thanks for the messagem, I actually dont even remember what I've done. I gave up on that. |
Hi, great work!
I am trying to reconstruct a small room. The camera poses and intrinsics are obtained from Colmap. Using the colmap dataloader from the repo, I only get a strange result as below:
Could you figure out where the problem is?
Many thanks!
The text was updated successfully, but these errors were encountered: