Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.12 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.12 KB

Image Extrusion Blender

The goal is to blend an image into a background image and extrude the edges in the foreground image to make it visible after matching colors 1:1 with the background image (blending).

Algorithms of interest are Sobel edge detection and weighted sum blending.

Resources

Configurations

Sobel edge detection, optimal values:

  • ksize (kernel size) = 7
  • dx = 1
  • dy = 0

Weighted sum blending, optimal values:

  • Foreground weight = 55%
  • Background weight = 65%
  • Scalar added to each sum = 20

Example

Background Image Foreground Image
Sobel Image Blended Image (Final Result)