Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Focus stacking

From Wikipedia, the free encyclopedia
Digital image processing technique
Series of images demonstrating a six-imagefocus bracket of aTachinid fly. First two images illustrate typicalDOF of a single image at f/10 while the third image is the composite of six images.
Focus stacking (for extended depth of field) inbright fieldlight microscopy. This example is of adiatommicrofossil indiatomaceous earth. Three source images at different focus distances (top left) are combined with masks (top right) to obtain the contributions of their respective images to the final focus stacked image (bottom). Black is no contribution; white is full.

Focus stacking – also calledfocal plane merging,z-stacking,[1]focus bracketing[2] orfocus blending – is adigital image processing technique which combines multiple images taken at differentfocus distances to give a resulting image with a greaterdepth of field (DOF) than any of the individual source images.[3][4] Focus stacking can be used in any situation where individual images have a very shallow depth of field;macro photography andoptical microscopy are two typical examples. Focus stacking can also be useful inlandscape photography.

Focus stacking offers flexibility: since it is a computational technique, images with several different depths of field can be generated in post-processing and compared for best artistic merit or scientific clarity. Focus stacking also allows generation of images physically impossible with normal imaging equipment; images with nonplanar focus regions can be generated. Alternative techniques for generating images with increased or flexible depth of field includewavefront coding,light-field cameras andtilt.

Technique

[edit]

The starting point for focus stacking is a series of images captured at different focus distances; in each image different areas of the sample will be in focus. While none of these images has the sample entirely in focus they collectively contain all the data required to generate an image which has all parts of the sample in focus. In-focus regions of each image may be detected automatically, for example viaedge detection orFourier analysis, or selected manually. The in-focus patches are then blended together to generate the final image.

This processing is also calledz-stacking, focal plane merging (orzedification in French).[5][6]

In photography

[edit]

Getting sufficientdepth of field can be particularly challenging inmacro photography, because depth of field is smaller (shallower) for objects nearer the camera, so if a small object fills the frame, it is often so close that its entire depth cannot be in focus at once. Depth of field is normally increased bystopping downaperture (using a largerf-number), but beyond a certain point, stopping down causesblurring due to diffraction, which counteracts the benefit of being infocus. It also reduces the luminosity of the image. Focus stacking allows the depth of field of images taken at the sharpest aperture to be effectively increased. The images at right illustrate the increase in DOF that can be achieved by combining multiple exposures.

Stacked image of theCuriosity Rover's first sampling hole inMount Sharp. The hole is 1.6 cm (0.63 in) wide and 6.7 cm (2.6 in) deep.

TheMars Science Laboratory mission has a device calledMars Hand Lens Imager (MAHLI), which can take photos that can later be focus stacked.[7]

In microscopy

[edit]

Inmicroscopy, highnumerical apertures are desirable to capture as much light as possible from a small sample. A high numerical aperture (equivalent to a low f-number) gives a very shallow depth of field. Higher magnificationobjective lenses generally have shallower depth of field; a 100×objective lens with a numerical aperture of around 1.4 has a depth of field of approximately 1μm. When observing a sample directly, the limitations of the shallow depth of field are easy to circumvent by focusing up and down through the sample; to effectively present microscopy data of a complex 3D structure in 2D, focus stacking is a very useful technique.

Atomic resolutionscanning transmission electron microscopy encounters similar difficulties, where specimen features are much larger than the depth of field. By taking athrough-focal series, the depth of focus can be reconstructed to create a single image entirely in focus.[8]

Software and applications

[edit]
Focus stacking software
NamePrimary authorApplication typePlatformLicense
Adobe Photoshop[9]AdobeDesktopWindows, Mac OS XProprietary
Affinity Photo 'Focus Merge'SerifDesktopWindows, Mac OS XProprietary
Aphelion with Multifocus extensionADCISDesktopWindowsProprietary, 30-day trial
Amira /Avizo 'Image Stack Projection'[10]Thermo FisherDesktopWindows, Mac OS X, LinuxProprietary
CamRangerCamRangerDesktop / MobileiOS, Android, Mac OS X, WindowsProprietary
Chasys Draw IESJohn Paul ChachaDesktopWindowsProprietary
CombineZAlan HadleyDesktopWindowsGPL
CUVI Vision & Imaging LibraryTunaCodeDesktop / EmbeddedWindows, LinuxProprietary
Enfuse (combined withalign_image_stack or similar)Andrew Mihal andhugin development teamDesktopMultiplatformGPL
FocusFusionDelphiToolsDesktopWindowsProprietary
Focus StackerAlexander Boltnev, Olga KacherDesktopMac OS XProprietary
Focus Stacking Online[11]Focus Stacking OnlineWeb applicationAllProprietary
Helicon FocusDanylo KozubDesktopWindows, Mac OS XProprietary, 30-day trial
ImageJ with Extended Depth of Field PluginAlex Prudencio, Jesse Berent, Daniel SageDesktopUnix, Linux, Windows, Mac OS 9 and Mac OS XPublic domain
MacroFusion[12]Dariusz DumaDesktopLinuxGPL
Mathematica viaImageFocusCombine[13]Wolfram ResearchDesktop / WebWindows, Mac OS X, LinuxProprietary, 15-day trial
Open GalileoBrandon Antonio Segura TorresDesktopWindowsFree and open-source software
PicolayHeribert CypionkaDesktopWindowsFreeware
QuickPHOTO with Deep Focus extensionPromicraDesktopWindowsProprietary, 30-day trial
Shine Stacker[14]Luca ListaDesktopWindows, Max OS X, LinuxLGPL
Shutter Stream Product Photography SoftwareIconasysDesktopWindows, Mac OS XProprietary
Zerene StackerRik LittlefieldDesktopWindows, Mac OS X, LinuxProprietary, 30-day trial

Gallery

[edit]

Pictures

[edit]
  • Pepper mill, stack of 28 frames
    Pepper mill, stack of 28 frames
  • Stacked image of 3 × 2.5 mm electric wires
    Stacked image of 3 × 2.5 mm electric wires
  • Shaver head, stack of 36 frames, retouched
    Shaver head, stack of 36 frames, retouched
  • Macrolepiota procera, stack of 15 frames
    Macrolepiota procera, stack of 15 frames
  • Stacked image of the inner ridge of an orchid blossom
    Stacked image of the inner ridge of an orchid blossom
  • Stacked image of two Arecaceae viewed through a hole in a tree trunk
    Stacked image of twoArecaceae viewed through a hole in a tree trunk
  • Pellet, stack of 32 frames
    Pellet, stack of 32 frames
  • Alluaudia comosa, stack of 10 frames
    Alluaudia comosa, stack of 10 frames
  • Mold on Litchi chinensis, stack of 20 frames
    Mold onLitchi chinensis, stack of 20 frames
  • Skull, stack of 6 frames
    Skull, stack of 6 frames
  • Sympetrum flaveolum male, stack of 36 frames
    Sympetrum flaveolum male, stack of 36 frames
  • Pinot Gris grape, stack of 12 frames.
    Pinot Gris grape, stack of 12 frames.

Videos

[edit]
  • Focus stacking images of a lily
  • Focus stacking images of a microchip

Diagrams

[edit]
  • Software creates from the sharpest areas in a stack of sections.
    Software creates from the sharpest areas in a stack of sections.

See also

[edit]

References

[edit]
  1. ^"Malin Space Science Systems - Mars Science Laboratory (MSL) Mars Hand Lens Imager (MAHLI) Instrument Description".Msss.com. Archived fromthe original on 2012-10-24. Retrieved2012-12-10.
  2. ^"FOCUS STACKING & BRACKETING WITH OM-D". Retrieved2025-05-21.
  3. ^Johnson, Dave (2008).How to Do Everything: Digital Camera (5th ed.). McGraw-Hill Osborne Media. p. 336.ISBN 978-0-07-149580-6.There are a number of programs that allow you to get the equivalent of infinite depth of field in your photos, with sharp focus from the foreground all the way back to the rear. How is this possible? By taking multiple photos of the same scene and stacking them afterwards into a composite that features only the sharpest bits of each image. One of the best is Helicon Focus.
  4. ^Ray 2002,231–232
  5. ^"Afficher le sujet - Proposition d'un terme français pour "focus stacking" • Le Naturaliste".Lenaturaliste.net (in French). Retrieved2012-10-05.
  6. ^"Malin Space Science Systems - Mars Science Laboratory (MSL) Mars Hand Lens Imager (MAHLI) Instrument Description".Msss.com. Retrieved2012-10-05.
  7. ^"MSL Science Corner: Mars Hand Lens Imager (MAHLI)".MSL-SciCorner.JPL.NASA.gov. Archived fromthe original on 2009-03-20. Retrieved2012-10-05.
  8. ^Hovden, Robert; Xin, Huolin L.; Muller, David A. (2010). "Extended Depth of Field for High-Resolution Scanning Transmission Electron Microscopy".Microscopy and Microanalysis.17 (1):75–80.arXiv:1010.4500.Bibcode:2011MiMic..17...75H.doi:10.1017/S1431927610094171.PMID 21122192.S2CID 17082879.
  9. ^"Focus Stacking Made Easy with Photoshop".Envato Tuts+. 2013-03-14. Retrieved2023-04-17.
  10. ^"Avizo User Guide, Module "Image Stack Projection""(PDF). 2018-03-30.
  11. ^"Focus stacking online - free online focus stacking application".FocusStackingOnline.com. Retrieved2020-08-02.
  12. ^"GUI to Combine Photos to Get Deeper DOF or HDR".SourceForge.net. 27 November 2016. Retrieved2017-10-19.
  13. ^"ImageFocusCombine". Retrieved2021-09-11.
  14. ^"Shine Stacker".GitHub. Retrieved2025-10-17.

External links

[edit]
Wikimedia Commons has media related toFocus stacking.
Equipment
Terminology
Genres
Techniques
Composition
History
Regional
Digital photography
Color photography
Photographic
processing
Lists
Related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Focus_stacking&oldid=1332483023"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp