Skip to content

Commit 09cac16

Browse files
authored
Update proj2.html
1 parent aa3a23f commit 09cac16

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

project-2/proj2.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ <h3>Part 1.3: Derivative of Gaussian (DoG) Filter</h3>
113113
<div align="center">
114114
<img src="images/gradmag.png" alt="gradmag.png" width="50%">
115115
</div>
116+
<p>
117+
Instead of applying 2 convolutions to the image, we can take advantage of the fact that convolution is commutative, and first convolve the Gaussian with <i>D<sub>x</sub></i> and <i>D<sub>y</sub></i>, then convolve the image with the resulting kernel. This optimizes the computation by only convolving with the image once. Below are the respective results:
118+
</p>
119+
<div align="center">
120+
<img src="images/twovsone.png" alt="twovsone.png" width="50%">
121+
</div>
116122
</article>
117123
</section>
118124

0 commit comments

Comments
 (0)