Skip to content

Lens lab

Move the sliders to see what a camera’s numbers mean: how the sensor and its aspect ratio sit inside the lens’s image circle, how focal length and lens projection set the field of view, how the stereo baseline sets depth error, how exposure time sets motion blur, and how much data a recording makes. It opens with the figures of the eg-soc-stereo-210; the eg-soc-stereo-210 and eg-soc-stereo-130 buttons load either store camera, including the eg-soc-stereo-130. Every term links to the page of the field guide that explains it, and all of them are defined in its glossary.

Loaded: eg-soc-stereo-210 (AR0234 sensor, focal length 618 px measured ≈ 1.85 mm, 60 mm baseline, two cameras at 60 fps).

1 Sensor and aspect ratio

The lens's image circle over the sensor. The bright part of the rectangle is the image the readout keeps; dark corners are parts of it the image circle does not reach.

  • image circle
  • sensor
  • readout crop
  • no light
Readout crop (aspect ratio)
Active area
Sensor diagonal
Image kept
Crop inside the circle

Active area is pixel count × pixel pitch. The image circle is the disc of light the lens projects; the factory sheet for eg-soc-stereo-210 does not give one, so the slider is not a specification of any camera. Where the circle is smaller than the image, the corners go dark: the far end of vignetting.

2 Lens and field of view

Seen from above: the horizontal field of view from a camera on the wearer's forehead, with two hands held out in front. Rings mark 0.5 m and 1 m. The hands are drawn in the horizontal plane through the lens.

Horizontal FOV
Vertical FOV
Diagonal FOV
Pixels per degree, left and right edge
Hands

What this ideal lens would record on the chosen sensor and crop: a room tiled with 0.5 m squares (front wall 3 m away), with the two hands as orange balls. Straight tile edges stay straight only with the rectilinear projection. Black is outside the image circle or beyond what the model can image.

eg-soc-stereo-210: printed, measured and the ideal models

For AR0234 (5.76 × 3.60 mm) and f = 1.85 mm (618 px, measured)HVD
Factory sheet (printed "D210° H190° Y118°")190°118°210°
Measured on our robot cell (our lens sheet)over 190°114°210° (equidistant projection)
Ideal rectilinear (perspective), r = f · tan(θ)114.6°88.4°122.8°
Ideal equidistant fisheye (f-theta), r = f · θ178.4°111.5°210.4°
Ideal equisolid-angle fisheye, r = 2f · sin(θ/2)204.4°116.4°266.5°
Ideal stereographic fisheye, r = 2f · tan(θ/2)151.6°103.8°170.2°

The sheet prints a focal length of 2.26 mm, but our calibrations of this lens measure 618 px, about 1.85 mm on this sensor; the lab uses the measured value. The frame's side edges are 98° from the centre, a little beyond the 96° we calibrate, so the horizontal field is over 190°; the diagonal is the ideal equidistant figure, beyond the calibrated field. A real fisheye does not follow an ideal formula exactly: the real mapping from angle to pixel comes from calibrating the camera with a fisheye model. Use the sliders to see how each model behaves, not to predict this lens.

3 Stereo depth

Depth error against distance for the chosen baseline and disparity error. The error grows with the square of the distance. Dots mark 0.3, 0.5, 1 and 2 m.

DistanceDisparityDepth error
Focal length in pixels used
Nearest point both cameras see

For a rectified stereo pair with focal length f in pixels and baseline B: disparity d = f · B / Z, and a disparity error Δd gives a depth error ΔZ ≈ Z² · Δd / (f · B). The focal length in pixels comes from panel 2 (focal length ÷ pixel pitch), which is the ideal pinhole value; a calibrated camera reports its own. The nearest shared point is on the line midway between two parallel cameras: (B / 2) / tan(HFOV / 2), and zero when the horizontal field is 180° or more.

4 Motion and shutter

Smear at the image centre, drawn at one screen pixel per sensor pixel. Top: a test pattern during the head turn. Bottom: a hand moving sideways.

Frame rate
Motion blur, head turn
Motion blur, hand
Head turns between frames
Hand moves between frames

Blur from turning is rate (°/s) × exposure time (s) × pixels per degree. Blur from a hand moving sideways at speed v and distance Z is v × exposure time ÷ Z × f, with f in pixels. Both are for the image centre. Exposure time sets blur and frame rate sets the gap between frames; they are separate settings. A global shutter exposes every pixel at the same moment, so motion blurs the image but does not skew it. The factory sheet gives no exposure time, so the slider is yours.

5 Data

Recording time on the card, on a 24-hour scale: uncompressed pixel data against video encoded at the bitrate you chose.

Cameras recorded
Frame rate
Bits per pixel, raw (your assumption)
Resolution recorded
Encoded, per hour
Hours on the card
Compression needed

Raw data rate is width × height × frame rate × bits per pixel × cameras, pixel data only. Hours on the card are card size × 8 ÷ bitrate, with 1 GB = 1,000,000,000 bytes. The bitrate is your assumption, not a specification: the factory sheet lists the formats (MJPEG, H.264, and H.265 in MP4) but no bitrate. How on-device encoders are used on public rigs, and the bitrates those rigs publish, are in the field guide.

What the camera buttons load

Each button sets only what that camera’s spec sheet, its lens maker or the sensor maker states, plus the focal length we measured on our robot cell:

Setting eg-soc-stereo-210 eg-soc-stereo-130 Where it comes from
Sensor AR0234, 1920 × 1200 pixels per camera The same Factory sheet (printed “AR0234 1/2.6 2M Global shutter”); onsemi: “an active−pixel array of 1920 (H) x 1200 (V)”
Pixel pitch 3.0 µm The same onsemi’s AR0234CS page lists “Pixel Size (µm)” as “3.0 x 3.0”
Active area 5.76 × 3.60 mm, diagonal 6.79 mm, aspect ratio 16:10 The same Calculated: 1920 × 3.0 µm, 1200 × 3.0 µm
Focal length 618 px, about 1.85 mm 726 px, about 2.18 mm Measured on our robot cell (pixels × 3.0 µm). Printed: 2.26 mm on the factory sheet, which does not fit this lens; 2.15 mm on the small lens maker’s drawing
Baseline 60 mm 60 mm Factory sheet (photo label “60mm Base line”); eg-soc-stereo-130 has the same board
Frame rate 60 fps, switchable to 30 fps Not changed: not yet confirmed for this model Factory sheet (printed “3840* 1200 60fps”; switch labelled “30FPS/60FPS Switch”)
Cameras Two, recorded side by side as 3840 × 1200 Two Factory sheet

No sheet gives an image-circle diameter, exposure time, bitrate or disparity error, and neither names the lens’s projection. Those sliders are your own assumptions; the buttons put them back at neutral starting values, which are not specifications of any camera. The projection selector starts on the equidistant fisheye model only as a starting point.

Field of view: printed, measured and the ideal models

The lab shows what an ideal lens would give. For a sensor dimension d (width, height or diagonal) and focal length f, each ideal projection gives a field of view of:

Ideal projection Image radius Field of view across d
Rectilinear (perspective) r = f · tan(θ) 2 · atan(d / 2f)
Equidistant fisheye (f-theta) r = f · θ d / f radians
Equisolid-angle fisheye r = 2f · sin(θ/2) 4 · asin(d / 4f)
Stereographic fisheye r = 2f · tan(θ/2) 4 · atan(d / 4f)

eg-soc-stereo-210, measured f = 618 px ≈ 1.85 mm on the 5.76 × 3.60 mm sensor:

Horizontal Vertical Diagonal
Factory sheet (printed “D210° H190° Y118°”) 190° 118° 210°
Measured on our robot cell (lens sheet) over 190° 114° 210° (ideal equidistant projection)
Ideal rectilinear 114.6° 88.4° 122.8°
Ideal equidistant 178.4° 111.5° 210.4°
Ideal equisolid-angle 204.4° 116.4° 266.5°
Ideal stereographic 151.6° 103.8° 170.2°

The sheet prints a focal length of 2.26 mm, but our calibrations of this lens measure 618 px, about 1.85 mm on this sensor, so the lab uses the measured value; with 2.26 mm no ideal model comes near the printed angles. The frame’s side edges are 98° from the centre, a little beyond the 96° we calibrate, so the horizontal field is over 190°, as printed. The diagonal, 210°, is the ideal equidistant figure beyond the calibrated field; the printed 210° agrees.

eg-soc-stereo-130, measured f = 726 px ≈ 2.18 mm on the same sensor:

Horizontal Vertical Diagonal
Lens maker, for a different sensor (printed “D: 128° H: 113° V: 95°”, “FOR SC235 SENSOR”) 113° 95° 128°
Measured on our robot cell, this sensor (lens sheet) 114° 82° 127°
Ideal rectilinear 105.8° 79.1° 114.6°
Ideal equidistant 151.4° 94.6° 178.5°
Ideal equisolid-angle 165.4° 97.5° 204.7°
Ideal stereographic 133.8° 89.7° 151.7°

The lens maker’s angles are for a sensor with a taller picture, so its vertical figure is larger than ours. This lens is far less distorted than a fisheye (maker: “DISTORTION< 10%”), so the measured angles fall between the ideal rectilinear and fisheye rows.

A real lens does not follow an ideal formula exactly: lens maker Commonlands describes distortion as “how far image height departs from the projection the lens is specified to follow”, and for field-of-view sums advises: “For fisheyes or distortion-sensitive work, use the lens’s measured projection data.” The real mapping from angle to pixel comes from calibrating the camera with a fisheye model, which is how the measured rows were made. Use the lab to see how each projection behaves, not to predict a lens.

All four projections give the same pixels per degree at the image centre, f in pixels × π / 180. They differ towards the edge: f / cos²θ for rectilinear, f for equidistant, f · cos(θ/2) for equisolid-angle and f / cos²(θ/2) for stereographic, each in pixels per radian.

Sensor, aspect ratio and image circle

  • The Sensor list offers the AR0234 of the store cameras first, then 64 other global-shutter sensors small enough for M12 lenses, grouped by resolution class, from the makers’ product pages, briefs and flyers listed under Sources. The pixel counts are each maker’s output (recording) size; four parts (SmartSens SC132GS and SC133GS, ST VD56G3 and VD66GY) are portrait arrays, taller than wide, so their crops are cut from a tall frame. Six entries end in “(estimated)”: the maker does not publish one of their values (the output pixel count, or for the PixArt PAG7830LT the pixel pitch), and that value is filled in from the maker’s other published figures (the full array size, or the megapixel count and optical format) or, for the PAG7830LT, from its sibling part, the PAG7930LT.
  • Active area is the pixel count times the pixel pitch.
  • A readout crop keeps the largest centred rectangle of the chosen aspect ratio. On a 1920 × 1200 sensor that is 1920 × 1080 for 16:9, 1600 × 1200 for 4:3 and 1200 × 1200 for 1:1. This is arithmetic in the lab, not a list of this camera’s output modes: the factory sheet lists 3840 × 1200 for the two cameras together.
  • The image circle is the disc of light the lens projects onto the sensor. If it is smaller than the image diagonal, the corners receive no light. Commonlands on using a lens beyond its rated circle: “Coverage beyond the rated image circle is unverified. Corners may darken or lose sharpness”. When the circle is narrower than the image, the circle and not the sensor sets the field of view.

Stereo depth

For a rectified stereo pair with focal length f in pixels and baseline B, a point at depth Z has disparity d = f · B / Z. A disparity error Δd gives a depth error of about ΔZ ≈ Z² · Δd / (f · B).

With the 60 mm baseline of both store cameras and the focal lengths we measured (618 px for eg-soc-stereo-210, 726 px for eg-soc-stereo-130):

Distance Disparity, eg-soc-stereo-210 Depth error per pixel, eg-soc-stereo-210 Disparity, eg-soc-stereo-130 Depth error per pixel, eg-soc-stereo-130
0.3 m 123.6 px 2.4 mm 145.2 px 2.1 mm
0.5 m 74.2 px 6.7 mm 87.1 px 5.7 mm
1 m 37.1 px 2.7 cm 43.6 px 2.3 cm
2 m 18.5 px 10.8 cm 21.8 px 9.2 cm

These illustrate the formula at the image centre. A rectified pair reports its own focal length in pixels, and the disparity error depends on the matcher and the scene; neither is on a spec sheet.

The nearest point that both cameras see, on the line midway between two parallel cameras, is at (B / 2) / tan(HFOV / 2). It is zero when the horizontal field of view is 180° or more.

Motion and shutter

  • Blur from a turning head: turn rate (°/s) × exposure time (s) × pixels per degree.
  • Blur from a hand moving sideways at speed v at distance Z: v × exposure time ÷ Z × f, with f in pixels.
  • Between two frames a hand moves v ÷ frame rate: at 1 m/s that is 33.3 mm at 30 fps and 16.7 mm at 60 fps.

Both blur figures are for the image centre. Exposure time sets blur; frame rate sets the gap between frames. This camera’s sensor has a global shutter, so every pixel is exposed at the same moment: motion blurs the image but does not skew it. The factory sheet gives no exposure time.

Data

  • Raw data rate: width × height × frame rate × bits per pixel × cameras. For this camera’s two 1920 × 1200 images at 60 fps, at an assumed 8 bits per pixel, that is 2.21 Gbit/s (276 MB/s) of pixel data.
  • Recording time: card size × 8 ÷ bitrate. A 256 GB card (256,000,000,000 bytes) holds 28.4 hours at 20 Mbit/s.

The 20 Mbit/s is an example, not a specification. The factory sheet lists the formats (MJPEG and H.264 over USB, H.265 in MP4 recordings) and no bitrate. Bitrates that public rigs publish are in the field guide under Bitrates and data volume.

Read more in the field guide

Sources