Comments (4)
Hi yggs1401, thanks for your good question. The concat for imgtile is a small trick for building skybox image. In theory, a skybox should have no boundaries. When building a skybox using a single background sky image, say, the "./skybox/jupiter.jpg", we need to relocate the center of the camera-view to the top-left corner of the background image. This is because, when we are performing the affine transform, the origin of the transformation is at the upper left corner of the image. We need to make such an alignment. If you show the background image after the tile, it would be like the following.
This operation may look a little bit tricky but it does simply the warping a lot. Hope the above explanation will address your concern.
from skyar.
Thank you for your answer! The origin of the affine transformation is always on the top left corner? Another question is, we apply the transformation matrix on all pixels or just on the origin?
Thank you!
Yes, the origin of an affine transform should be always in the top left corner. Let's say if you want to rotate an image for a certain degree. If you simply apply a rotation matrix to the image data, the rotation would be performed based on the upper left corner of the image, rather than the image center.
The second question. We apply the transform to all pixels.
from skyar.
Thank you for your answer! The origin of the affine transformation is always on the top left corner? Another question is, we apply the transformation matrix on all pixels or just on the origin?
Thank you!
from skyar.
Thank you! Kind regards and stay safe!
from skyar.
Related Issues (20)
- 请问一下NVIDIA显卡是不是必要条件呢? HOT 1
- Great library HOT 1
- Input Error HOT 5
- I can only generate the 40frame GIF previews in Colab HOT 3
- Skybox follows the camera HOT 3
- how to save the videos HOT 3
- I make a simply implementation, and have a small question. HOT 10
- How to make the picture or video of sky match the aspect ratio of video which being processed
- Awesome
- Question regarding CoordConv HOT 4
- import error HOT 2
- ImportError: cannot import name 'compare_ssim' from 'skimage.measure'. I need help as I cannot start train.py HOT 3
- Need to do on Images only HOT 1
- Cloudy Footage
- Noncommercial
- Awesome work HOT 1
- No good result on new test video HOT 13
- Can't install Requirements.txt HOT 13
- 请问能帮忙把预训练模型放一放在百度网盘吗,国内上不了google网盘 HOT 2
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 skyar.