Skip to content

Commit e08605f

Browse files
authored
Update proj1.html
1 parent 3c925f4 commit e08605f

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
@@ -25,9 +25,9 @@ <h2 id="s2-title" class="title">NCC & Naive alignment</h2>
2525
<p class="lead" contenteditable="false"
2626
data-placeholder="Describe what you’re comparing (this text appears before both images)">
2727
The first strategy is to perform a naive search on what translations align the different image plates the best. To compute the similarity, we can use the normalized cross-correlation (NCC) formula for 2 images of the same size: [#formula]. Since we want to only compare the top (blue) & bottom (red) plates with the center (green) plate, we can start by moving the image down by H/3 units. For any given displacements (x1, y1) and (x2, y2) where y1 >= 0 and y2 <= 0, the resulting intersection of all 3 images is given by the following:
28-
28+
<br>
2929
[#image]
30-
30+
<br>
3131
Therefore, if we only want to compare the blue and green plates, we can add a second displacement (0, -H/3) to limit the comparison area to the center plate. Likewise, when comparing the red and green plates, we can have the second displacement be (0, H/3).
3232
</p>
3333
</section>
@@ -43,7 +43,7 @@ <h2 id="s2-title" class="title">Naive search</h2>
4343
<p class="lead" contenteditable="false"
4444
data-placeholder="Describe what you’re comparing (this text appears before both images)">
4545
In the previous section, we have seen that while naive search works on small images, it becomes computationally inefficient on larger ones. Is there a way to extend what works on smaller images so that it will still work on larger ones?
46-
46+
<br><br>
4747
The answer is yes.
4848
</p>
4949
</section>

0 commit comments

Comments
 (0)