项目作者: sunsided

项目描述 :
Focus stacking and depth-from-focus experiments
高级语言: Jupyter Notebook
项目地址: git://github.com/sunsided/focus-stacking.git
创建时间: 2018-04-21T12:34:30Z
项目社区:https://github.com/sunsided/focus-stacking

开源协议:

下载


Focus stacking and depth synthesis

This repo contains some experiments about focus stacking, i.e.
synthesis of in-focus areas of different images.

Simultaneously, a depth map of the scene is reconstructed by
taking advantage of a priori knowledge of the images taken,
such as focal distance of each image.

Code

Open the focus-stacking.ipynb notebook to start.

Example images

First image of the sequence:

First input image

Depth reconstruction from defocus (using all images):

Depth from focus

Stacked/fused images:

Fused images