Skip to content

Commit 558dbac

Browse files
committed
Update proj1.html (FINAL VERSION)
1 parent a066ffb commit 558dbac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

project-1/proj1.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h1>Project 1: Colorizing the Prokudin-Gorskii photo collection</h1>
1414
</div>
1515

1616
<div align="center">
17-
<img src="images/emirCrop.png" alt="emirCrop.png" width="50%">
17+
<img src="images/emirCrop.jpg" alt="emirCrop.jpg" width="50%">
1818
</div>
1919

2020
<!-- Section 1 -->
@@ -255,13 +255,13 @@ <h2>Cropping with Sobel</h2>
255255
</div>
256256

257257
<p>
258-
Once the best displacements for the blue and red plate are found, the final step is to find a way to merge the 3 crops, which can be done in the following steps: First, find the intersection of all shifted crops. Second, shift them back to their starting position using the inverse of the displacement. Finally, shift the pixels from the starting positions back to the center using the best displacement, and combine the 3 crops into their respective RGB channels. As a failsafe for bad starting crops, the normal overlap method (discussed in the NCC & Preprocessing section) will be used instead. At the cost of doubling the runtime due to convolution, the images are now much cleaner:
258+
Once the best displacements for the blue and red plates are found, the final step is to find a way to merge the 3 crops, which can be done in the following steps: First, find the intersection of all shifted crops. Second, shift them back to their starting position using the inverse of the displacement. Finally, shift the pixels from the starting positions back to the center using the best displacement, and combine the 3 crops into their respective RGB channels. As a failsafe for bad starting crops, the normal overlap method (discussed in the NCC & Preprocessing section) will be used instead. At the cost of doubling the runtime due to convolution, the images are now much cleaner:
259259
</p>
260260

261261
<div style="display:flex; flex-wrap:wrap; justify-content:center; text-align:center;">
262262

263263
<figure style="flex: 1 0 20%; margin:12px;">
264-
<figcaption style="margin-bottom:6px;">cathedralCrop.jpg</figcaption>
264+
<figcaption style="margin-bottom:6px;">cathedral.jpg</figcaption>
265265
<img src="images/cathedralCrop.jpg" alt="cathedralCrop.jpg" width="50%">
266266
<figcaption style="margin-bottom:6px;">Best shift: (-2, 336), (1, -334)
267267
<br>0.054221s</figcaption>

0 commit comments

Comments
 (0)