See readme.txt in G14
Stereo images are typically used for the 3D reconstruction of a scene. However, there are also methods that can generate different views from a single image. So we we make the challenge for Computer Vision (SS22) at Technical University Munich: Tour into the picture.
Lecturer: Prof. Dr.-Ing. Klaus Diepold
Assistant: Luca Sacchetto, Sven Gronauer
Team Member:
- Shenghan Gao [email protected]
- Xuejiao Li [email protected]
- Zhiping Li [email protected]
- Yunshan Ye [email protected]
- Chongyu Zhang [email protected]
The content of the lecture contains:
- GUI Development
- choose the foreground, background, one or two vanish point
- coordinate transformations
- multi-camera-view systems
- 3D reconstruction, planar epipolar equation
- 3D and 2D Demonstration
- View under different perspectives
- Have user input coordinates for the polygon of foreground, the backwall and the number of vanish point (one or two, later more in developing) (Optional: If there are two or more vanish point, the user can choose one or two vanish point and get view, which they want to concentrate on)
- Use a mask to extract each polygon from the original image.
- Extract the 5 polygons that comprise of the walls, ceiling, and floor.
- Calculate the information of the image in the world coordinate system
- Interpolation through the pixel points and rebuild in a 3D Camera system.
- Warp each polygon back into a rectangle.
- Define the geometry of the 3D box and the surfaces of the walls in 3D.
- Generate 2D and 3D perspective images
💻 : should work both for WINDOWS MAC and LINUX
:MATLAB Version: at least MATLAB R2022a
- 3D and 2D Animation with real time changed angle alpha(x) beta(y) and theta(z)
- 3D and 2D in one GUI
- Foreground extraction then revert to the generated image
- project the picture with one or even two vanish points
- If you want to save some times, you can use the zip_pooling.function to compress image memory.
- To run the application, run 'gui.mlapp' in MATLAB 2022a.
- For a quick start, run 'main.m'.
Follow the instructions in the command window and the results can be shown after execution.
-
Step 1 Run the App and select one subfolder in the folder 'Datasets', e.g. xxx.png...
-
Step 2 First make the polygon mask for the foreground by clicking the Foreground Button, choose the number of vanish point(s), select one background from the image by clicking the Rückwand Button and a vanish point by clicking the Fuchtpunkt Button.
-
Step 3 User can input suitable smaller rotation angle. after clicking the Radiation and the 3D plot or 2D plot the new image from the user's defined perspective.
-
Step 4 User can save the generated images or upload new images to have a tour into the new picture.
We look forward to your suggestions!Thanks for your downloading and using.