com.drew.imaging
Class PhotographicConversions
java.lang.Object
com.drew.imaging.PhotographicConversions
public class PhotographicConversions
extends java.lang.Object
Contains helper methods that perform photographic conversions.
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.
|
ROOT_TWO
public static final double ROOT_TWO
apertureToFStop
public static double apertureToFStop(double aperture)
Converts an aperture value to its corresponding F-stop number.
aperture
- the aperture value to convert
- the F-stop number of the specified aperture
shutterSpeedToExposureTime
public static double shutterSpeedToExposureTime(double shutterSpeed)
Converts a shutter speed to an exposure time.
shutterSpeed
- the shutter speed to convert
- the exposure time of the specified shutter speed
Copyright © 2006 Drew Noakes. All Rights Reserved.