Skip to content

Shape from focus

A three-dimensional reconstruction method that estimates scene depth from how image focus or defocus changes across a stack of differently focused views.

Version
v1 · 2026-09-08 · History
Domain-specific #
6699
Origin domain
computer vision
Subdomain
computer vision

Core Idea

Shape from focus selects the focus setting maximizing a sharpness measure at each image location, while shape from defocus fits blur across settings; optics, texture and occlusion determine identifiability. Changing focus sweeps a narrow depth plane through the scene, local contrast or high-frequency energy peaks when a surface point lies in that plane and calibration converts the maximizing setting into depth. The abstraction is therefore identified by a declared carrier, a transformation or constraint over that carrier, and an invariant that tells an analyst whether the named structure is genuinely present.

Scope of Application

Shape from focus belongs to computer vision and is useful where the analyst can specify the typed computer vision carrier, defining objects and relations, parameters, conventions, evidence, boundary cases, and comparison targets, then evaluate the camera and lens model, focus settings and calibration, registered image stack, focus or blur measure, spatial window, depth estimator, occlusion and texture handling, uncertainty and validation geometry are explicit. The scope is broad within that domain but bounded by the need for the camera and lens model, focus settings and calibration, registered image stack, focus or blur measure, spatial window, depth estimator, occlusion and texture handling, uncertainty and validation geometry are explicit. Conceptual computer-vision identity only; high-stakes metrology requires calibrated optics and independent validation.

Clarity

The abstraction clarifies a crowded vocabulary by making the camera and lens model, focus settings and calibration, registered image stack, focus or blur measure, spatial window, depth estimator, occlusion and texture handling, uncertainty and validation geometry are explicit the center of the account. A claim should name the carrier, the governing operation or relation, the applicable assumptions, and the recognition test.

Manages Complexity

Without the abstraction, an analyst must reason directly over many local details: the carrier roles, admissibility assumptions, competing conventions, derived invariants, boundary cases, and proof or validation obligations specific to Shape from focus. Shape from focus compresses them into the roles in the structural signature. That compression permits comparison across instances without erasing the variables that determine validity. It also exposes which details may be varied safely and which are constitutive.

Abstract Reasoning

  1. Identify the carrier. State what the elements, states, objects, or observations are: the typed computer vision carrier, defining objects and relations, parameters, conventions, evidence, boundary cases, and comparison targets. Reject examples whose alleged carrier belongs to a different problem. 2. Lock the constitutive rule. Express the camera and lens model, focus settings and calibration, registered image stack, focus or blur measure, spatial window, depth estimator, occlusion and texture handling, uncertainty and validation geometry are explicit independently of one notation or implementation.

Knowledge Transfer

Knowledge transfers strongly among subfields of computer vision because they reuse the typed computer vision carrier, defining objects and relations, parameters, conventions, evidence, boundary cases, and comparison targets, Changing focus sweeps a narrow depth plane through the scene, local contrast or high-frequency energy peaks when a surface point lies in that plane and calibration converts the maximizing setting into depth., and type the carrier, state every parameter and convention in the definition, test that the camera and lens model, focus settings and calibration, registered image stack, focus or blur measure, spatial window, depth estimator, occlusion and texture handling, uncertainty and validation geometry are explicit, compare the nearest accepted identity, and report counterexamples, uncertainty, and limiting cases.

Relationships to Other Abstractions

Local relationship map for Shape from focusParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Shape from focusDOMAINPrime abstraction: Hidden Information Reconstruction — is a kind ofHidden Informat…PRIME

Current abstraction Shape from focus Domain-specific

Parents (1) — more general patterns this builds on

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Shape from focus sits in a crowded region of the domain-specific corpus (21st percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Imaging Geometry & Visual Transformation (33 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-09-08