Skip to content

Commit bc76d3e

Browse files
authored
Update proj2.html
1 parent 07ac685 commit bc76d3e

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

project-2/proj2.html

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,39 @@ <h3>Part 2.2: Hybrid Images</h3>
177177
<div align="center">
178178
<img src="images/lowhigh.png" alt="lowhigh.png" width="50%">
179179
</div>
180-
To find the optimal &sigma; for each image to create the Gaussian & impulse filter with, a good starting point
180+
<p>
181+
To find the optimal &sigma; for each image to create the Gaussian & impulse filter with, a good starting point through experiementation is 2% times the shorter of the width and height of the LPF image, and 1% for the HPF image. In the example above, the optimal percentages were found to be 3% and 1% for the low and high frequency image:
182+
</p>
183+
<div align="center">
184+
<img src="images/lpfhpf.png" alt="lpfhpf.png" width="50%">
185+
</div>
186+
<p>
187+
Below is a visualization displaying the log magnitude of the Fourier Tranform of the starting and the filtered images:
188+
</p>
189+
<div align="center">
190+
<img src="images/fourier.png" alt="fourier.png" width="50%">
191+
</div>
192+
<p>
193+
After aligning an combining the LPF and HPF images, we get the final result below:
194+
</p>
195+
<div align="center">
196+
<img src="images/hybrid1.png" alt="hybrid1.png" width="50%">
197+
</div>
198+
<p>
199+
This effect can also be used on any 2 images that are aligned, like the following examples:
200+
</p>
201+
<div align="center">
202+
<img src="images/odettefloryn.png" alt="odettefloryn.png" width="50%">
203+
</div>
204+
<div align="center">
205+
<img src="images/hybrid2.png" alt="hybrid2.png" width="50%">
206+
</div>
207+
<div align="center">
208+
<img src="images/yinlukas.png" alt="yinlukas.png" width="50%">
209+
</div>
210+
<div align="center">
211+
<img src="images/hybrid3.png" alt="hybrid3.png" width="50%">
212+
</div>
181213
<!-- 2.3 + 2.4 -->
182214
<article id="part2-3">
183215
<h3>Part 2.3 &amp; 2.4. Gaussian/Laplacian Stacks; Figure 3.42(a–l); Custom Blends</h3>

0 commit comments

Comments
 (0)