Comments (3)
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.
Looking back, I see that I ran it like this:
mpi_from_images \
--image1=$HCI/buddha/image_04_04.png \
--image2=$HCI/buddha/image_05_04.png \
--output_dir=$OUTPUT/buddha \
--xshift=23 --fx=9.375 --fy=9.375 --xoffset=48 \
--min_depth=14000 --max_depth=16000 --render
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
.
I hope this helps!
from stereo-magnification.
@reyet Many thanks! It really helps!
from stereo-magnification.
@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!
from stereo-magnification.
Related Issues (20)
- Dual Pair images to use
- Training stereo Magnification
- A problem about running examples
- Distance between camera and each plane?
- about the test dataset
- Training code seems to get stuck even for a very small set of input images HOT 14
- train detail
- Shifting image2 to image1 HOT 2
- How to train with a small subset of data HOT 4
- Fail to train VGG loss HOT 1
- Output depth maps?
- Dependencies???
- Is there another version for tensorflow v2?
- AssertionError
- ImportError: cannot import name 'mpi_net' from 'nets' HOT 4
- images/RealEstate10K/frames/test//pl7tUx1TUTM/pl7tUx1TUTM_56656573.jpg; No such file or directory
- How do you format the folder that contains the training images?
- Question about training
- Warp the MPI. How to Warp the MPI is there any command for it ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stereo-magnification.