Skip to content

Commit c701c9b

Browse files
committed
Add panoramic mosaic section and related images
Introduced a new section in project-3/proj3.html describing the process of creating a panoramic mosaic from three images. Added centerright.png and mosaic.png to illustrate the stitching results. Also added two new screenshots to project-4/images.
1 parent 591ddfa commit c701c9b

File tree

5 files changed

+41
-1
lines changed

5 files changed

+41
-1
lines changed

project-3/images/centerright.png

2.99 MB
Loading

project-3/images/mosaic.png

5.07 MB
Loading

project-3/proj3.html

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,50 @@ <h3>Part 3</h3>
166166
</div>
167167
<hr>
168168

169+
<h3>Part 4</h3>
170+
<p>With these tools, we can create a panoramic mosaic of multiple images. Take 3 images below:</p>
171+
172+
<div style="display:flex; flex-wrap:wrap; justify-content:center; text-align:center;">
173+
174+
<figure style="flex: 1 0 30%; margin:12px;">
175+
<img src="images/img_left.png" alt="img_left.png" width="50%">
176+
</figure>
177+
178+
<figure style="flex: 1 0 30%; margin:12px;">
179+
<img src="images/img_center.png" alt="img_center.png" width="50%">
180+
</figure>
181+
182+
<figure style="flex: 1 0 30%; margin:12px;">
183+
<img src="images/img_right.png" alt="img_right.png" width="50%">
184+
</figure>
185+
</div>
186+
187+
<p>We can first compute the homography of the right image and warp & stitch it with the center image. Once this is done, we will compute the pixel offests of the stitched center-right image with the original center image, so that the center image pixels matches with the center image the homography of the left and center image is computed with.</p>
188+
<div style="display:flex; flex-wrap:wrap; justify-content:center; text-align:center;">
189+
190+
<figure style="flex: 1 0 40%; margin:12px;">
191+
<figcaption style="margin-bottom:6px;">Warped left image</figcaption>
192+
<img src="images/imwraped_bilinearL.jpg" alt="imwraped_bilinearL.jpg" width="50%">
193+
</figure>
194+
195+
<figure style="flex: 1 0 40%; margin:12px;">
196+
<figcaption style="margin-bottom:6px;">Center-right stitch</figcaption>
197+
<img src="images/centerright.png" alt="centerright.png" width="50%">
198+
</figure>
199+
</div>
200+
201+
<p>Because we have already warped the left image, we can simply stitch it with the stitched center-right image, creating the following 3-image mosaic:</p>
202+
<div align="center">
203+
<figure style="flex: 1 0 30%; margin:12px;">
204+
<img src="images/mosaic.png" alt="mosaic.png" width="50%">
205+
</figure>
206+
</div>
207+
<hr>
208+
169209
<div align="center">
170210
<a href="https://cjxthecoder.github.io">cjxthecoder</a> | <a href="https://github.com/cjxthecoder">GitHub</a> | <a href="https://www.linkedin.com/in/daniel-cheng-71b475279">LinkedIn</a>
171211
</div>
172212

173213
</main>
174214
</body>
175-
</html>
215+
</html>
927 KB
Loading
1.27 MB
Loading

0 commit comments

Comments
 (0)