Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
ISO/IEC 12087-5-12:2016 is a member of the ISO/IEC 12087 series, which addresses computer graphics and image processing—specifically the Image Processing and Interchange (IPI) framework. This part provides a functional specification for image quality metrics used in automated visual inspection systems (AVIS). The standard defines a consistent set of measurement methods and performance indicators that enable objective evaluation of image quality across different inspection platforms, including those used in manufacturing, electronics assembly, pharmaceutical packaging, and food processing.
The primary audience includes system integrators, quality engineers, and developers of machine vision software who need to ensure that acquired images meet predetermined quality thresholds for reliable defect detection. The standard covers both spatial and temporal characteristics of image sequences, with a particular focus on real-time or near-real-time inspection scenarios.
The standard specifies a hierarchy of metrics that must be computed from raw sensor data or processed images. These are grouped into three categories:
Each metric must be obtained using a standardized procedure defined in the standard. For example, SNR is measured from a uniform grey target (D65 illuminant) recorded at the nominal exposure. The standard requires at least five consecutive frames to be averaged for temporal noise reduction. Table 1 summarizes the key measurement conditions for on-site validation.
| Metric | Target Type | Illuminant | Minimum Frames | Acceptance Criterion |
|---|---|---|---|---|
| SNR | Uniform grey (18% reflectance) | D65, 500 lux | 5 | ≥ 40 dB |
| MTF | Slanted edge (ISO 12233) | D50, 1000 lux | 3 | MTF50 ≥ 0.5 cycles/pixel |
| Contrast | Checkerboard (0/100% reflectance) | Any, uniform | 1 | Michelson contrast ≥ 0.8 |
| POD | Reference defect pattern (per Appendix A) | As specified by the user | 10 | POD ≥ 0.95 at 95% confidence |
The standard defines a set of APIs for retrieving metric values and for configuring the inspection pipeline. These interfaces are expressed in a language-neutral notation (based on OMG IDL) and support both synchronous and asynchronous queries. Implementations that claim conformance must expose at least the get_metric_list() and compute_metric() operations as described in clause 8 of the specification.
To achieve conformance, a system must be able to compute and report the mandatory metrics in every inspection cycle. This can be implemented as a middleware layer that intercepts image frames from the sensor, computes the metrics on a dedicated processor (GPU or FPGA recommended), and logs the results. The standard does not prescribe a specific hardware architecture, but it does require a timestamp with microsecond resolution for each metric value.
The standard mandates a calibration schedule: at least once every 30 days of operation or after any maintenance activity that could affect image quality (e.g., lens replacement, lighting change). The calibration must use the targets listed in Table 1 and records must be kept for at least two years.
Section 10 of the standard provides guidance on compensating for temperature drift, vibration, and ambient light fluctuations. Implementers are encouraged to include reference targets in the field of view for continuous self-monitoring.
ISO/IEC 12087-5-12:2016 defines three conformance levels: Basic (mandatory low-level metrics only), Standard (low + mid-level metrics), and Advanced (all metrics including POD/FAR). Most regulatory bodies in the automotive and medical device sectors require at least the Standard level for production-line inspection.
When certifying a system, the auditing body will require:
The standard harmonizes with ISO 9001:2015 (quality management systems) and IEC 61508 (functional safety) when used in safety-critical inspections. It also references ISO 12233 for MTF measurement and ISO 14524 for OECF computation.
This article was prepared in 2026 for informational purposes. For official document text, refer to the ISO/IEC catalogue at www.iso.org.