/AutofocusAlgorithm

A textbook autofocus algorithm and visualizer using C# / .NET5

Primary LanguageC#GNU Affero General Public License v3.0AGPL-3.0

Autofocus Algorithm

This repo contains a textbook autofocus algorithm which has been implemented using C# and .NET5.

Screenshot(s)

image-20210221194046945

The screenshot demonstrates the basic functionality of the autofocus "application":

  • The user can select between multiple scenes
  • The user can change the focal distance and aperture size at will
  • A focus region can be defined by clicking/dragging a rectangle on the scene
  • By clicking the [Autofocus]-button, the user can instruct the application to find the optimal focal length to keep the selected region in focus.