Skip to content

Calculate the Depth Of FIeld, In Focus and the Hyperforcal Point of the camera given the make, max aperture, focal length of lens. User provides the desired aperture and distance to the subject.

License

Notifications You must be signed in to change notification settings

nmathias0121/Depth_Of_Field_Calculator

Repository files navigation

Depth_Of_Field_Calculator

Calculate the Depth Of FIeld, In Focus and the Hyperforcal Point of the camera given the make, max aperture, focal length of lens. User provides the desired aperture and distance to the subject.
Developed in Java to utilize Object Oriented Programming.

Project Aim

Provides Backend logic for developing an App (Depth of Field for Camera Lens App)

Files & Contents

Source Code includes:

  • Model Package contains following classes : Lens, DepthOfFieldCalculator, LensManager, Main
  • Test Package contains following classes : DepthOfFieldCalculatorTest
  • TextUI Package contains following classes : TextUI

Install & Run Project

Install IntelliJ Community Edition
JUnit User Guide

Before running Main class or tests in this project, please download following library from the Maven Repository :
        org.junit.jupiter:junit-jupiter:5.8.1

Select Main File & Run Current File to obtain depth of field calculations for desired lens combination
Select Test File & Run Current File to test Depth Of Field Calculator Class

About

Calculate the Depth Of FIeld, In Focus and the Hyperforcal Point of the camera given the make, max aperture, focal length of lens. User provides the desired aperture and distance to the subject.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages