Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sunsided/focus-stacking

Focus stacking and depth-from-focus experiments
https://github.com/sunsided/focus-stacking

computational-imaging depth-estimation depth-from-defocus focus-stacking image-fusion image-processing jupyter-notebook

Last synced: 3 months ago
JSON representation

Focus stacking and depth-from-focus experiments

Awesome Lists containing this project

README

        

# 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`](focus-stacking.ipynb) notebook to start.

## Example images

First image of the sequence:

![First input image](docs/input.jpg)

Depth reconstruction from defocus (using all images):

![Depth from focus](docs/depth.jpg)

Stacked/fused images:

![Fused images](docs/stacked.jpg)