Skip to content

Instantly share code, notes, and snippets.

@csghone
Last active March 11, 2025 06:33
Show Gist options
  • Select an option

  • Save csghone/f4a87ece88e723377296d3bf308ed35d to your computer and use it in GitHub Desktop.

Select an option

Save csghone/f4a87ece88e723377296d3bf308ed35d to your computer and use it in GitHub Desktop.
photography

Summary

  • High level explanation of basic photography terminology as well as optics and imaging in general
  • References to give a non-mathematical, intuitive understanding of optics and imaging
  • Corrections/Additions are welcome

Focal length of lenses

Aperture:

  • https://en.wikipedia.org/wiki/Aperture
  • Fast aperture: Large opening, more light, faster capture.
  • Slow aperture: Small opening, less light, longer exposure time or higher ISO needed.
  • f-stop numbers increase like: f/1.4, f/2, f/2.8, f/4...
    • Radius increase by sqrt(2), Open area increases by 2x. Therefore, image brightness increases by 2x
  • Point and shoot cameras have smaller absolute size of apertures. Therefore slower f-stops are not useful.
    • Typically, point and shoot cameras have only one or two options for aperture, typically f2.8/f5.6/f8
  • In most cameras, step size increase brightness by (1/3) to match changes with ISO scale.

Sensor size:

  • Sensor size are given in terms of its diagonal size
  • Full-frame sensors have a sizeof 35mm and are considered standard (Originates from 35mm film used in movies)
  • Entry level DSLRs are 1.6x smaller - APS-C - (crop-factor = 1.6x)
  • Point and shoot camera's are significantly smaller - 1/2.3"

Field of view and Zoom

  • How much area is captured depends on the sensor size and focal length of the lens
  • Area capture on 24mm lens on Full-Frame SLR is considered as 1x Zoom
  • Zoom factor scale approximately linearly with focal length. eg: 48mm lens will have 2x zoom.
  • Smaller cameras need smaller focal length for same field of view
  • Since crop factor of APS-C is 1.6x, 24/1.6 = 15mm lens will give 1x zoom on APS-C sensor
    • So a 15mm lens on APS-C is said to be full-frame equivalent to 24mm.
  • To enable easy comparison, several camera manufactures specify focal lengths in terms of equivalent full frame length
  • Since smaller cameras need smaller focal length for same field of view - it has following advantages:
    • Lens assemblies are smaller allowing for larger full-frame equivalent focal lengths.
    • Zoom ranges in point and shoot cameras are ,therfore, typically larger as compared to DSLR.

Camera ISO or Film Speed

  • https://en.wikipedia.org/wiki/Film_speed
  • Defines sensitivity of the sensor.
  • Original defined based on photo sensitivity of chemicals used on the films.
  • Higher ISO means higher sensitivity.
  • ISO Step sizes are defined similar to aperture: 100/200/400/800 - each step indicates 2x increase in brightness.
  • Higher ISO means higher sensitivity - but also means higher noise.
    • Higher ISO images are typically noisy
  • Example of why ISO change is useful
    • If a scene is bright, increasing ISO would not result in much visible noise.
    • This will allow shutter speed to be lower resulting in lower shaking movement.

Exposure time or Shutter Speed

  • https://en.wikipedia.org/wiki/Shutter_speed
  • Defines how long the camera shutter is open to allow light.
  • Shutter step sizes are also standardized to that each step results in approximately 2x increase in brightness.

Camera mode: Av (Aperture priority)

  • Camera keeps aperture fixed as specified by user.
  • It changes shutter speed and ISO appropriately to get overall brightness to a defined level.

Camera mode: Tv (Time priority)

  • Camera keeps shutter speed fixed as specified by user.
  • It changes aperture and ISO appropriately to get overall brightness to a defined level.

Camera mode: P (Auto)

  • Camera sets aperture, shutter speed and ISO to get an optimal picture.

Camera mode: M (Manual)

Bokeh effect

  • This is the background blurring which occurs in fast lenses on larger frame-size cameras.
  • https://en.wikipedia.org/wiki/Bokeh
  • In case of point and shoot camera, since absolute aperture sizes very small, bokeh effects are not prominent.
  • In point and shoot cameras, some bokeh effect can be observed at very high zoom values - typically in cases like wildlife and bird photogrpahy

Hyperfocal distance

  • This is the distance at which if you focus a camera, all objects beyond that distance appear to be in focus.
  • https://en.wikipedia.org/wiki/Hyperfocal_distance
  • This is related to circle of confusion as well.
  • This is small in case of smaller focal lengths and smaller apertures.
  • As a result, Smartphone and point and shoot cameras have very short hyperfocal distance
    • Therefore most images taken with these have all objects in focus.
  • Boundary case for hyperfocal distance is a pinhole camera.
  • Hyperfocal distance can be reduced by reducing aperture - which causes reduction in circle of confusion.
    • eg: For taking landscape photos in DSLR, to get faraway mountains and trees is sharp focus, you need to ensure higher f-stop value
    • Typically f-7.1 or higher.

HDR images:

Light painting:

Star trails Photography

Telescopes/Binoculars/Astrophotography

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment