Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.
/ scene-change Public archive

Implementation of the scene change algorithm

License

Notifications You must be signed in to change notification settings

mmsr-tud-32/scene-change

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MMSR-TUD-32 Scene Change

Steps

Finding the perspective

For both the foreground and background images.

  • Resize
  • Hough transform to detect lines
  • Find intersections
  • Merge foreground and background
  • Add noise

Align & scale foreground

The horizon of both images should be sufficiently close to each other in order to create a believable image.

Fix white balance

Sources

The code in this repo is originally inspired by the work performed in this repo, but has been heavily edited in the process. As such we opted not to fork the repository, as the script no longer reflects the goal of the original script.