com.drew.imaging
Class PhotographicConversions

java.lang.Object
  extended by com.drew.imaging.PhotographicConversions

public final class PhotographicConversions
extends Object

Contains helper methods that perform photographic conversions.

Author:
Drew Noakes http://drewnoakes.com

Field Summary
static double ROOT_TWO
           
 
Method Summary
static double apertureToFStop(double aperture)
          Converts an aperture value to its corresponding F-stop number.
static double shutterSpeedToExposureTime(double shutterSpeed)
          Converts a shutter speed to an exposure time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT_TWO

public static final double ROOT_TWO
Method Detail

apertureToFStop

public static double apertureToFStop(double aperture)
Converts an aperture value to its corresponding F-stop number.

Parameters:
aperture - the aperture value to convert
Returns:
the F-stop number of the specified aperture

shutterSpeedToExposureTime

public static double shutterSpeedToExposureTime(double shutterSpeed)
Converts a shutter speed to an exposure time.

Parameters:
shutterSpeed - the shutter speed to convert
Returns:
the exposure time of the specified shutter speed


Copyright © 2012. All Rights Reserved.