Skip to content

Commit

Permalink
fix church.tif displacement
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbarua committed Sep 9, 2024
1 parent 7d3deaf commit cad6598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proj1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h2 style="text-align: center;">Josh Barua</h2>
<p><b>Base Image:</b> I used the blue channel as the base image and try to align red and green channel to it.</p>

<div class="section-title">Bells and Whistles</div>
<p><b>Sobel Edge Detection:</b> While the base methods worked well for most images, I found that certain images like "emir.tif" were difficult to align with the objective function if I used RGB values as input. Instead of computing SSD on the RGB values of the image directly, I preprocessed the images using a sobel edge detection filter and computed SSD on the filtered image. This led to noticeable improvements visualized below.</p>
<p><b>Sobel Edge Detection:</b> While the base methods worked well for most images, I found that certain images like "emir.tif" were difficult to align with SSD if I used RGB values as input. Instead of computing SSD on the RGB values of the image directly, I preprocessed the images using a sobel edge detection filter and computed SSD on the filtered image. This led to noticeable improvements visualized below.</p>

<div class="section-title">Results</div>

Expand Down Expand Up @@ -119,7 +119,7 @@ <h3 class="column-title">Base Algorithm + Sobel Edge Detection Filter</h3>
<div class="image-row">
<div>
<img src="media/color_False_church.jpg" alt="Image 1" width="400" height="400">
<div class="image-caption">R: [58,-4] G: [25,3]</div>
<div class="image-caption">R: [52,-6] G: [0,-5]</div>
</div>
<div>
<img src="media/color_True_church.jpg" alt="Image 2" width="400" height="400">
Expand Down

0 comments on commit cad6598

Please sign in to comment.