AI Glossary / Computer vision and multimodal AI / Beginner
Focus peaking
Definition
Focus peaking is a camera or display aid that highlights image edges judged likely to be in focus. Usually shown as colored outlines over a live preview, it helps a person adjust manual focus by making areas of strong local detail easier to see.
What it means
When a subject becomes sharper, many of its edges become more distinct in the preview. Focus peaking uses image detail as a practical cue and places an overlay where its criteria are met. A photographer can watch the highlighted regions change while turning the focus control.
The overlay is guidance, not a complete measurement of optical focus. Strong texture, noise, exposure and preview processing can influence what is highlighted. A low-texture surface can be correctly focused without producing many visible outlines.
The feature is especially useful when a small display makes fine detail difficult to inspect. It should still be understood alongside magnified viewing and the intended subject, rather than treated as an automatic guarantee that every highlighted object will be acceptably sharp in the final output.
How it works
A typical approach examines high-frequency detail or local contrast in the live image. Locations meeting a chosen criterion receive a highlight color. Camera implementations and settings differ, so the exact calculation should not be assumed from the feature name alone.
A sensitivity or peaking-level setting changes how readily areas are highlighted. A permissive setting may show many outlines, while a stricter setting may show only stronger responses. Color choices help the overlay remain visible against different scenes.
The aid generally responds to the preview rather than adjusting the lens itself. The operator changes focus and observes the result. Preview resolution, display magnification, selected aperture and the camera's processing can affect how well that feedback predicts the recorded image.
Three practical examples
1. Manual photography: A photographer focuses on a textured product label while watching highlighted edges move onto the intended surface.
2. Video preparation: A camera operator checks a static subject before recording. The overlay supports judgment, but subject movement during the take can still require focus adjustment.
3. Close-up work: A user examines which part of a small object currently appears sharp. Magnified viewing provides an additional check when the depth of field is very narrow.
Think of it this way
Think of using a colored marker to draw attention to the clearest-looking edges on a small sketch. The marker helps your eyes find useful detail, but it does not determine whether the entire subject is represented correctly.
The analogy stops at human judgment. A camera applies a numerical criterion to its preview, and the same criterion may respond to noise or strong contrast that is not the intended focus target.
Worked example
Suppose an illustrative peaking system computes a local detail score. Three preview regions score 12, 35 and 60. With a threshold of 30, the latter two receive highlights. With a threshold of 50, only the third is highlighted.
Nothing about the lens or scene changed between these two displays; only the overlay rule changed. Therefore a larger highlighted area is not, by itself, evidence of greater depth of field.
Now imagine that the high score of 60 comes from a sharply rendered background pattern, while the desired subject scores 35. The operator must still choose the intended subject. These invented scores explain threshold behavior and are not the internal units or algorithm of a particular camera.
Illustrative case study
Fictional case: Laurel Workshop films a craft demonstration with a manually focused lens. The operator enables focus peaking and sees many colored outlines on the patterned workbench. The small tool being demonstrated is less textured and receives fewer highlights.
The operator adjusts framing, checks the tool in a magnified view and rehearses where it will move. After a short test recording, the team reviews actual sharpness on a larger display. They retain peaking as a useful aid but do not use the amount of color on screen as their acceptance criterion. This case illustrates a practical check, not a claim about a specific camera model.
Common misconceptions and mistakes
Focus peaking is not autofocus. Showing outlines does not necessarily mean the camera has moved the lens or selected the right subject.
More highlights do not automatically mean more of the scene is sharply focused. Sensitivity settings can change the overlay without changing optical focus.
An absence of highlights does not prove that a smooth surface is out of focus. It may lack the detectable edges needed by the aid.
A highlighted preview does not guarantee final-image sharpness. Motion blur, recording settings and the intended viewing size still matter. Also, focus peaking should not be confused with clipping warnings, which highlight exposure-related conditions.
Business use
Focus peaking can make manual capture workflows easier to operate, particularly with small screens or adapted lenses. Its business value comes from better operator feedback and fewer avoidable focus mistakes, which should be evaluated in the actual production setup.
Train operators to recognize the intended focus target and combine peaking with appropriate inspection. Confirm that display overlays behave as expected when output is sent to external monitors or recordings. Product documentation should describe the feature as assistance rather than a universal focus-certification tool.
People also ask
Does focus peaking change the recorded image?
It is ordinarily a viewing overlay, but output and monitoring behavior depend on the device and settings. Check the relevant manual for the workflow.
Can it work on a plain wall?
It may show little because there are few detectable edges, even if the focus distance is appropriate.
Should the highest sensitivity always be used?
No. A setting that highlights too much can be less selective. Choose and verify a useful setting for the scene and display.
Check your understanding
Increasing peaking sensitivity makes more of a scene appear outlined. Has the camera's depth of field increased?
Answer: Not because of that setting alone. The overlay has become more permissive. Optical depth of field depends on factors such as aperture, focus distance and imaging geometry, while the peaking setting controls displayed guidance.
Related terms
- Edge detection
- manual focus
- autofocus
- depth of field
- local contrast
- focus magnification
- live view
Learn next
Observe peaking on a scene containing both textured and smooth surfaces. Change only the peaking level and compare the overlay. Then change lens focus and inspect a recorded test image at the intended output size to learn how the aid relates to actual sharpness in that setup.
More in Computer vision and multimodal AI
- Fitness function - A fitness function evaluates how well a candidate solution meets the goals of an optimization task.
- Flash / no-flash photography - Flash / no-flash photography uses a pair of images of the same scene, one captured with flash and one using ambient light, to support a combined or improved...
- Focal stacking - Focal stacking, commonly called focus stacking, combines photographs taken at different focus settings into a composite with a greater range of apparently...
- Forensics - Forensics is the systematic examination of evidence to investigate what happened and support justified conclusions.
- Forward mapping - Forward mapping is an image-warping approach that takes locations in a source image and calculates where they go in a destination image.
- Forward operator - A forward operator is a mathematical rule that maps an underlying object, signal or set of parameters to the observations a model predicts.
Sources
Primary documentation: Nikon D850 manual, “Manual Focus,” https://onlinemanual.nikonimglib.com/d850/en/05_live_view_03.html ; Nikon Z7 II/Z6 II manual, “Focus Peaking,” https://onlinemanual.nikonimglib.com/z7II_z6II/en/09_menu_guide_05_d11.html . Relevant returned manual descriptions were reviewed. The score example is conceptual and does not describe Nikon's proprietary implementation.
Previous: Focus of expansion Next: Focused information criterion