-
Notifications
You must be signed in to change notification settings - Fork 2
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
How to use open-DIBR on custom data? #3
Comments
Thank you for your question. Once you have gone through the information in the wiki, you can follow these steps on your own dataset:
Now, the program assumes that everything uses the OpenGL axial system. The only difference with the COLMAP axial system is that the Y and Z axes are flipped, as described here:
Good luck! |
Hi, it means if I directly use the extrinsic estimated by the colmap, I just need to first comment out "omafToOpenGLPosition(/out/pos); |
Commenting out
is correct, as well as using the translation vector in the extrensics for the Position. However, for the rotation, the correct order is (pitch, yaw, roll), corresponding to the rotation around the X, Y and Z axis respectively. Indeed these (euler) angles should be in degrees. I think you missed the last step that I mentioned. OpenDIBR uses the OpenGL coordinate system, which is not the same as the COLMAP coordinate system. The difference is that the directions of both the Y and Z axis should be inverted. One thing that I also missed in my previous reply is that the custom data images should be undistorted. If this still doesn't work, feel free to email me a minimal reproducible example. |
Hi, I try again as suggested, however,it fails again. I have provided some examples in attachment. |
Hello again. I pushed an update to OpenDIBR to support 3 axial systems: OMAF, COLMAP and OPENGL. I've also created a python script for your DTU dataset (that seems to be prepared for something like MVSNet) to generate the input .json file for OpenDIBR. You can download it, as well as the .json file, from here. If I run the latest commit of OpenDIBR with this json, it works:
There is still some misalignment, but I think this is because of how OpenDIBR reads in the depth map. It uses the
I assumed that the last 2 values in |
Hi, would you like to provide the solution to apply the open-DIBR on custom data? Thank you.
The text was updated successfully, but these errors were encountered: