Skip to content

vjwill2/focus-stacking

Repository files navigation

CS 445 Final Project - Focus Stacking

An implementation of Laplacian Focus Stacking and 3D Depth Mapping from an image stack.

Getting Started

Prerequisites

  • Ensure you have a Python 3 environment (Tested with 3.11) set up with the following packages:
    • matplotlib
    • numpy
    • opencv
    • sciki-image
  • An environment.yaml config file is provided for conda environments

Usage

To generate all project results, run:

python generate_results.py
  • Results can then be found in ./results_naive for naive approach, ./results_focus for laplacian, and ./results_stack for 3d depth mapping
  • Exact arguments used to generate results for each method are defined in the generate_results.py script

About

  • depth_mapping.py - Script containing 3D depth mapping implementation
  • naive_approach.py - Script containing naive focus stacking implementation
  • focus_stacking.py - Script containing laplacian focus stacking implementation
  • generate_results.py - Script containing arguments

Authors

  • Bennett Wu
  • Deeya Bodas
  • Victor Will

Acknowledgments

A list of resources and references used in the development of the project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •