DESIGN VIEW · OPTICS

DORI Distance Calculator

Estimate detect, observe, recognize and identify distances from resolution, scene geometry and focal length.

INPUT / 01

RESULT / 02

Recent history

Method and formulas

For each target density, maximum distance follows the pinhole relation: horizontal pixels × focal length ÷ (sensor width × required pixels per metre).

Use sustained or worst-case values for critical designs. Decimal storage units are shown unless the result says otherwise.

DORI describes image detail potential, not guaranteed identification under poor lighting or motion.

GUIDE

Purpose and Application of the DORI Distance Calculator

The DORI Distance Calculator assists CCTV system designers in determining the maximum distances at which a camera can achieve detection, observation, recognition, and identification performance levels based on horizontal pixel resolution, sensor width, and focal length. It applies the pinhole camera model to compute these ranges for each target pixel density specified in IEC 62676-4. Users input horizontal resolution in pixels, sensor width in millimetres, focal length in millimetres, and select either metric or imperial pixel density standards to obtain precise estimates for scene planning.

This tool proves essential during the initial design phase of surveillance installations where lens selection and camera placement must satisfy regulatory or operational requirements for image detail. It supports worst-case analysis by relying on sustained values rather than optimistic averages, ensuring critical infrastructure projects meet minimum performance thresholds under controlled conditions.

Worked Example with Default Parameters

Consider a 4K camera with 3840 horizontal pixels, a 5.37 mm sensor width, and an 8 mm focal length. Selecting the IEC standard yields the following maximum distances for each DORI category. The calculation applies the relation distance equals horizontal pixels multiplied by focal length divided by the product of sensor width and required pixels per metre, with all linear dimensions converted consistently to metres.

DORI LevelPixel DensityMaximum Distance (m)
Detection25 px/m229.0
Observation63 px/m90.9
Recognition125 px/m45.8
Identification250 px/m22.9

These values represent theoretical limits derived directly from the geometry inputs. In practice, designers cross-reference them against site surveys to confirm that mounting height and field of view align with the computed ranges before finalising equipment orders.

Formula and Method Table

Input ParameterSymbolUnitOutput Relation
Horizontal resolutionPxpixelsDistance = Px × focal ÷ (sensorW × density)
Sensor widthsensorWmmIntermediate focal plane scaling factor
Focal lengthfocalmmDetermines angular field coverage
Pixel densitydensitypx/m or px/ftDefines DORI threshold per IEC 62676-4
distance (m) = Px × focal (mm) / (sensorW (mm) × px_per_m)

The method processes each density level independently, returning four separate distance values. All arithmetic occurs with floating-point precision and displays results in metres or feet according to the selected standard.

Units and Conversions Notes

The calculator accepts sensor width and focal length exclusively in millimetres while resolution remains in pixels. When the feet standard is chosen, densities convert internally as 8 px/ft for detection, 20 px/ft for observation, 40 px/ft for recognition, and 80 px/ft for identification. Decimal storage units appear unless the final numeric result evaluates to an integer. Users must verify that the chosen sensor width matches the actual image sensor active area rather than the packaged diagonal measurement to avoid scaling errors.

Limitations

DORI distances describe only the potential for image detail based on pixel sampling density and do not account for illumination levels, lens aberrations, motion blur, or atmospheric attenuation. The underlying pinhole model assumes perfect focus and rectilinear projection; real lenses introduce distortion that can reduce effective resolution at the image edges. Results remain valid only within the linear range of the sensor and should be treated as upper bounds for critical security designs.

Common Mistakes

Designers frequently substitute the full sensor diagonal for the horizontal width, inflating calculated distances by 30 to 40 percent. Another error involves applying average rather than worst-case pixel densities when regulatory compliance demands sustained performance. Omitting verification of actual focal length after lens installation also leads to discrepancies between modelled and measured ranges. Finally, confusing horizontal resolution with total megapixels produces incorrect inputs that invalidate all downstream DORI outputs.

Additional considerations include confirming that the selected pixel density set matches the project specification document before committing to hardware. Edge cases arise when focal length approaches sensor width, yielding impractically short distances that signal the need for a longer lens. Validation limits prevent division by zero when density equals zero, returning an error message instead of an undefined result. Production deployments require supplementary checks for infrared sensitivity and shutter speed settings that the geometric model cannot address.

Frequently asked questions

How does selecting the feet standard alter the pixel density values compared with the IEC metric set?

The feet option maps directly to 8, 20, 40, and 80 px/ft, which are the imperial equivalents of the IEC 62676-4 densities. Internal conversion multiplies each imperial value by approximately 3.2808 to obtain the matching px/m figure before applying the distance formula.

What happens if the entered sensor width is smaller than the actual horizontal active area?

An understated sensor width produces overestimated distances because the formula treats the supplied width as the full horizontal dimension. The resulting DORI ranges become optimistic and may fail to meet operational requirements once the camera is installed.

Can the calculator handle focal lengths expressed in inches instead of millimetres?

No. All focal length and sensor width inputs must be supplied in millimetres. Users must convert any inch-based specifications by multiplying by 25.4 before entry to maintain unit consistency.

Why do the computed distances represent maximum theoretical values rather than guaranteed performance?

The pinhole relation ignores real-world factors such as lens MTF, lighting, and compression artefacts. Therefore the figures indicate the distance at which the required pixel density is geometrically possible, not the distance at which identification remains reliable under field conditions.

How should a designer adjust inputs when the camera uses a varifocal lens set to a non-nominal focal length?

Measure the actual focal length at the installed zoom position with a calibrated lens scale or software tool and substitute that value. Using the nominal marking without verification commonly produces distance errors exceeding 15 percent.

What validation prevents division by zero when a user selects zero pixels per metre?

The tool explicitly checks that the chosen density is greater than zero for every DORI level. If zero is detected, an error message appears and no distance is returned, protecting against undefined arithmetic results.

Does horizontal resolution alone determine DORI distances, or must vertical resolution also be considered?

Only horizontal resolution enters the formula because the supplied pixel densities are defined along the horizontal axis. Vertical resolution affects aspect ratio and total pixel count but does not alter the horizontal sampling density used for DORI calculations.

When should a project require additional checks beyond the DORI distances produced by this tool?

Projects involving low-light scenes, high-speed targets, or wide-angle lenses with significant distortion need separate photometric analysis and on-site resolution testing. The geometric model supplies only the baseline sampling distances and cannot replace empirical verification.