RobotKinematicsLab

Pallet label overhead focus

A wide-field camera reads large label features from a varying pallet height.

Results ↓

Parameters

Sensor and lens
px
px
µm
mm
mm
mm

Live results

Pass

At least 3 pixels sample the feature. Confirm lens contrast and lighting on the real part.

FOV width
2030.34 mm
FOV height
1522.75 mm
Sampling
4.23654 px/feature
Depth of field
∞ mm
Optical ray cone and target plane
Optical ray cone and target planeSENSORLENSTARGETFeature samplingMINIMUM
  • Marginal rays
  • Optical axis
  • Object field
Lens, sampling and focus
QuantityValue
Finite-conjugate magnification0.00554785 ×
Distant-object pinhole magnification0.00551724 ×
Spatial resolution0.991375 mm/px
Feature size for 3 px2.97413 mm
Near focus limit613.59 mm
Far focus limit∞ mm
One-pixel hyperfocal distance1065.85 mm
Estimated diffraction spot at 550 nm2.69889 px

Formula trace

  1. Project the object field

    M = f/(WD − f); FOVx,y = (Nx,y · p)/M

    M = 0.00554785FOVx = 2030.34 mmFOVy = 1522.75 mm

    WD is measured from the lens principal plane. For a distant-object pinhole approximation use M ≈ f/WD.

  2. Sample the smallest feature

    resolution = p/M; pixels per feature = feature · M/p

    resolution = 0.991375 mm/pxfeature = 4.23654 px/feature

    Length/px × pixel count yields field width. The 2 px and 3 px comparisons use unrounded lengths.

  3. One-pixel focus criterion

    H₀ = f²/(f/# · p); near, far = WD/[1 ± (WD−f)/H₀]

    near = 613.59 mmfar = ∞ mmDoF = ∞ mm

    Far focus is unbounded when WD−f ≥ H₀. Geometric blur uses pixel pitch; diffraction and lens MTF affect usable contrast.