Skip to content
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

Test image size problem #21

Open
QingWindIsStillTheWind opened this issue Nov 1, 2020 · 1 comment
Open

Test image size problem #21

QingWindIsStillTheWind opened this issue Nov 1, 2020 · 1 comment

Comments

@QingWindIsStillTheWind
Copy link

I would like to ask the author, if the size of the image used for network training is 960x540, then when I want to use this network test, the resolution of the photos taken by my camera is very large, such as 4608x3456. When I take this picture to test, the parallax map effect is very bad. When I reduce the original image to 960x540, the parallax map effect is very good OK, but I don't know how to restore the parallax value of the original image. Or how to use your network to test higher resolution images without enough similar data sets to train? Hope that the author can guide, thank you very much!

@xy-guo
Copy link
Owner

xy-guo commented Mar 1, 2021

You can compute the disparity map using 960x540. Once you got the output disparity map, resize it back to 4608x3456. Then multiply a scale factor 4.8 (4608 / 960)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants