GithubHelp home page GithubHelp logo

ella2le / holefilling Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zer01ike/holefilling

0.0 1.0 0.0 37 KB

:blush: This is the algorithm reproduce of the ICIP 2010's paper 'Temproally Consistent handling of disocclusions with texture synthesis for depth-image-based rendering '

License: Apache License 2.0

Python 100.00%

holefilling's Introduction

TODO LIST :

2018/5/29: add

  • more efficiency process separation

  • Warping Process

  • Detph Fill

  • Sprite Update -[x] Remember the hole location

  • Image Update

  • Initial Fill

  • Texture Refine

paper's Assumption

  1. BG(BackGround) is static
  2. For the moving BG, motion estimation is required to compensate the BG motion, then can use this function to filling the hole.

input paramater

a video with associated depth map

steps

step 1

This is the algorithm to generate the a 3D image warping image and it's associated depth map, there have distortion area in both Warpied image and it's associated depth map

see more detail in package Warping

step 2

Depth Fill is the pre-process of the depth map, which can fill the distortion area of the depth map with K-means Algorithm.

It's purpose is to separate the FG(foreground) and the BG(background).

Choose i's neighborhood which is like a M * N squared area. using K-means(K=2) to cluster those pixel's into to region. then we can get the cluster center named c_min and c_max

Then just do a judge function to change the i's value. If it is big than C_min, it will be C_min. If it is less than C_min, it will not change. See more detail in package 'DepthFilling' and the paper.

step 3

Sprite update contain the BG sprite updation and DM sprite updation.

BG and DM sprite are only one in whole process. just to calculate the median C_min and the do judge function to distribute the pixel which is needed to store in the Sprite

step 4

Need to be done

step 5

initial Filling contains two method, filling small holes just to using Laplace equation to fill. Fill large hole is using author's previous work( ๐Ÿ˜ญ I don't reproduce this work)

step 6

Texture refinement need to be done

holefilling's People

Contributors

zer01ike avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.