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
Dense image inverse warping #156
Comments
Hi again, After looking into the shape from shading example, I think I have completed the re-projection part. Similar to #151 , the image indexing won't work using
|
Update: Again, I don't need babysitting. You can just simply point me to the root of the problem, and I don't mind looking into the source code and modifying the source code. My only problem is the pixel sampling. Thanks!
|
Hi,
I am having difficulty with defining my Energy.
Here is the problem: I would like to perform image warping via known depth map and camera pose. The algorithm should look like this:
To convert the algorithm to the Terra/Lua code, I need the matrix multiplication and matrix slicing techniques, assuming I can create mesh grid and matrix broadcasting in my C++ code. I would also need bilinear interpolation to get the pixel intensities at sub-pixel locations (I presume that the optical flow example is already doing that, how can I use the code without the autodiff stuff?). I am a total beginner in Lua/Terra language, I hope that you can point me to the right resources.
Alternatively, can I just create an API to perform inverse_warp using Pytorch and spit out the inverse warped image for energy computation? If it is possible, how should I create the pipeline so that the datatypes match in both ends (i.e., the .t file and the .py file)?
The text was updated successfully, but these errors were encountered: