Exposure

object Exposure

Utilities to compute exposure, exposure value at ISO 100 (EV100), luminance and illuminance using a physically-based camera model. Aperture is in f-stops, shutter speed in seconds, sensitivity in ISO.

Functions

Link copied to clipboard
fun ev100(camera: Camera): Float

The exposure value (EV at ISO 100) of camera.

fun ev100(aperture: Float, shutterSpeed: Float, sensitivity: Float): Float

The exposure value (EV at ISO 100) of the given exposure parameters.

Link copied to clipboard
fun ev100FromIlluminance(illuminance: Float): Float

The exposure value (EV at ISO 100) for an illuminance in lux.

Link copied to clipboard
fun ev100FromLuminance(luminance: Float): Float

The exposure value (EV at ISO 100) for an average luminance in cd/m².

Link copied to clipboard
fun exposure(camera: Camera): Float

The photometric exposure of camera.

fun exposure(ev100: Float): Float

The photometric exposure for ev100.

fun exposure(aperture: Float, shutterSpeed: Float, sensitivity: Float): Float

The photometric exposure of the given parameters; like exposure(ev100(...)) but more precise.

Link copied to clipboard
fun illuminance(camera: Camera): Float

The illuminance in lux for camera acting as an incident light meter.

fun illuminance(ev100: Float): Float

The illuminance in lux a camera would expose correctly at ev100.

fun illuminance(aperture: Float, shutterSpeed: Float, sensitivity: Float): Float

The illuminance in lux for the given parameters; like illuminance(ev100(...)) but more precise.

Link copied to clipboard
fun luminance(camera: Camera): Float

The incident luminance in cd/m² for camera acting as a spot meter.

fun luminance(ev100: Float): Float

The luminance in cd/m² a camera would expose correctly at ev100.

fun luminance(aperture: Float, shutterSpeed: Float, sensitivity: Float): Float

The incident luminance in cd/m² for the given parameters; like luminance(ev100(...)) but more precise.