You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
I used the following commands to test the trained model on HCI old dataset:
python ./mpi_from_images.py
--image1=examples/HCI_old/buddha/view_3_4.png
--image2=examples/HCI_old/buddha/view_5_4.png
--output_dir=examples/HCI_old/buddha/results
--yshift=45
--fx=9.3750
--fy=9.3750
--yoffset=0.125
--render_multiples=-1,-0.5,0,0.5,1,1.5,2
--render
where yshift = 2shift, fx=fy=focalLength, yoffset=2b, and shift, focalLength and b are provided by the lf.h5 file.
The results are quite undesirable. Does anyone help me?
The text was updated successfully, but these errors were encountered:
Hi – I think the issue is with the mpi plane depths. The range of depths in this data is narrow and very different from the real estate data, so it's better to choose min_depth and max_depth to fit the scene.
N.B. this is using a different input pair (two images horizontally adjacent) and my files were named differently, but you could make the appropriate adjustments.
It might seem odd that my xoffset is so big compared to your yoffset. But really what's important is the ratio of the plane depths to the offsets. So I think you can scale xoffset and yoffset up or down as much as you like, but you have to apply the same scaling to min_depth and max_depth.
@reyet Hi, by re-reading the code, I think to test on a light field image with the disparity range of [-d, d], the parameters only need to satisfy the following relations:
fx * width * xoffset / min_depth = xshift + d
fx * width * xoffset / max_depth = xshift - d
Is it correct? And if there is any other condition to influence the performance?
Thanks!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I used the following commands to test the trained model on HCI old dataset:
python ./mpi_from_images.py
--image1=examples/HCI_old/buddha/view_3_4.png
--image2=examples/HCI_old/buddha/view_5_4.png
--output_dir=examples/HCI_old/buddha/results
--yshift=45
--fx=9.3750
--fy=9.3750
--yoffset=0.125
--render_multiples=-1,-0.5,0,0.5,1,1.5,2
--render
where yshift = 2shift, fx=fy=focalLength, yoffset=2b, and shift, focalLength and b are provided by the lf.h5 file.
The results are quite undesirable. Does anyone help me?
The text was updated successfully, but these errors were encountered: