Line 22: Line 22:
 
----
 
----
 
==[3] :: Alpha Blending==
 
==[3] :: Alpha Blending==
 +
 +
For each R/G/B color channel of each pixel, I used the following blending equation that treated one image as a fully (100%) opaque background and the other image as a variably-opaque foreground.  Because the opacity value of the foreground was 50% here, the distinction between foreground and background is inconsequential:
 +
 +
<math>opacity = \sigma \in [0,1]</math>
 +
 +
<math>R_tot = \sigma * </math>
 +
 +
And as previously described, <math>\sigma = .5</math> in this case.
  
 
[[image:Alpha_blending.PNG]]
 
[[image:Alpha_blending.PNG]]
  
 
[[image:Alpha_blending_zoom.PNG]]
 
[[image:Alpha_blending_zoom.PNG]]

Revision as of 13:21, 13 February 2013

Image Blending

(alec green)

Images below implicitly demonstrate how humans vision system perceives different ways of blending two distinct images. OpenCV was used to access images at pixel level.

Note that 'complete' images are likely aliased due to your internet browser, so I posted a zoomed in version for each form of image blending in the hopes that you see what kind of blending method was used. You can observe this alias on the 'complete' images by zooming in and out with your browser (usually ctrl+mouse_scroll).


[1] :: Alternating Pixels, with Aligned Columns

Alternating columns.PNG

Alternating columns zoom.PNG


[2] :: Alternating Pixels, with Misaligned Columns

Alternating pixels.PNG

Alternating pixels zoom.PNG


[3] :: Alpha Blending

For each R/G/B color channel of each pixel, I used the following blending equation that treated one image as a fully (100%) opaque background and the other image as a variably-opaque foreground. Because the opacity value of the foreground was 50% here, the distinction between foreground and background is inconsequential:

$ opacity = \sigma \in [0,1] $

$ R_tot = \sigma * $

And as previously described, $ \sigma = .5 $ in this case.

Alpha blending.PNG

Alpha blending zoom.PNG

Alumni Liaison

ECE462 Survivor

Seraj Dosenbach