Raw Files

Introduction – Using raw files – Bayer raw and RCCC files – LibRaw demosaicing (for commercial raw files)  Differences with in-camera JPEGs – Monochrome images – Bayer frequency units  DNG files – Rawview utility – Generalized Read Raw (for binary raw files)  Decompanding – Estimating image width & height – Creating Synthetic raw images    The unprocessed digital output of an image sensor is called RAW image data. In this document, we sometimes refer to raw files from commercial cameras or development systems as Camera raw to distinguish them from Bayer raw files, which are standard monochrome image files that contain undemosaiced […]

Pre-distorted and special charts for Fisheye Lenses

Automatic region detection in SFRplus and eSFR ISO tolerates moderate amounts of optical distortion (pincushion or barrel), but it has definite limits. In this page we describe special versions of SFRplus and eSFR ISO charts that can work (i.e., can be detected automatically) with highly barrel-distorted (“fisheye“) lenses, with fields of view up to around 160 degrees— which are used in a number of applications, particularly for automotive rear-view and sports cameras. Cameras with fields of view over 160 degrees— even approaching 360 degrees— can be tested with the SFRreg module, which uses multiple individual “registration mark” charts facing the […]

Nyquist frequency, Aliasing, and Color Moire

Although sharpness is an important image quality factor, a sharper lens is not always better. A lens can be too sharp for a sensor, resulting in disturbing visual artifacts. These artifacts, which include “stair-stepping” and moiré patterns (low frequency patterns that can be strongly colored), can appear because digital cameras— and all digitally sampled systems— have a maximum spatial frequency, called the Nyquist frequency, beyond which scene information cannot be correctly reproduced. Any information above the Nyquist frequency that reaches the sensor will be “aliased” to a lower spatial frequency, which can result in the artifacts described below. Sampling – Nyquist […]

Nonuniformity Correction in grayscale and color chart modules

Imatest can correct for nonuniform illumination and lens response (vignetting) in Imatest modules that analyze grayscale and/or color charts, including Color/Tone Setup (formerly Color/Tone Interactive), Color/Tone Auto (formerly Color/Tone Auto), Colorcheck, and Stepchart. Nonuniformity correction involves reading and specifying a second image, taken from a flat-field target (plain gray or white) under identical conditions to the test image.  Note that the correction described in this page is not the same as nonuniformity correction for slanted-edge MTF measurements. Not also that Color/Tone Interactive (a highly interactive module) and Color/Tone Auto (a batch-capable fixed version of Color/Tone Interactive) are recommended for new […]

New measurements from Slanted-edges: Information capacity, NPS, NEQ, & SNRi

News: Imatest 23.1 (March 2023) (available in the Imatest Pilot program). New methods for calculating camera information capacity, Noise Power Spectrum (NPS), Noise Equivalent Quanta (NEQ), and Ideal observer SNR (SNRi) from slanted-edge patterns are now available. Shannon information capacity can also be calculated from images of the Siemens star, described in the 2020 white paper, Camera information capacity: a key performance indicator for Machine Vision and Artificial Intelligence systems. Siemens Star measurements are the recommended method for calculating information capacity when artifacts from image processing (demosaicing, data compression, etc.) are of importance. Slanted-edge measurements are faster, more convenient, and better for […]

Managing Supply Chain Image Quality with Imatest

Published January 30 2015 By Henry Koren, with contributions by Norman Koren. Edited by Matthew Donato, Jackson Roland and Ty Cumby. Table of Contents 1. Introduction The quality of imaging systems in mobile devices plays an increasingly important role in consumer purchasing decisions. A mobile device that fails to deliver acceptable quality images can have an adverse effect on the consumer’s brand loyalty, whether or not the customer has returned it. Unless proper care is taken, raising camera quality standards can reduce manufacturing yield. This could damage a supplier’s profitability as well as endanger their ability to deliver the required […]

Main Window (classic mode)

The Imatest Classic main window is the heart of Imatest Master: it’s where you open the analysis and utility modules. It’s complex but powerful. It consists of several well-populated dropdown menus, two columns of buttons (fixed and interactive analysis modules), and a tabbed area where you can select Utility, Data, and Help tabs. Imatest main window The contents of the three tabs on the right, Utility, Data, and Help , are shown in the right three columns of the table below, which has a similar structure as the Imatest main window. Map of Imatest main window, with links to instructions […]

Log Frequency

Analysis of log frequency-varying charts Introduction Log frequency, which uses the Rescharts interface, measures the contrast of narrow bar or sine charts that increase logarithmically in spatial frequency. It also measures color Moiré (Imatest Master only). When the image pattern is sinusoidal (rather than a bar chart), contrast is equivalent to SFR or MTF. This method is more direct than the slanted-edge method, but less accurate and more susceptible to noise. A chart can be created by Test Charts and printed on a high quality inkjet printer. Log Frequency image (complete and cropped) The image above used to illustrate the […]

Log F-Contrast

Analysis of Log Frequency-Contrast charts New in Imatest 4.0  Automatic region is available with the revised version of the chart, which includes registration marks in the corners. Sharpness and Texture Analysis using Log F‑Contrast from Imaging-Resource compares the the effects of sharpening and noise reduction in several cameras using images downloaded from Imaging-Resource.com. Introduction Log F-Contrast (short for Log Frequency-Contrast; not in Imatest Studio) measures the effects of signal processing— noise reduction and sharpening— on imaging system performance using a chart that varies in spatial frequency on the horizontal axis (log frequency increases with x) and in modulation ((max-min)/(max+min) signal, […]

Information capacity measurements from Slanted edges: Instructions

News: Imatest 23.1 (March 2023) (available in the Imatest Pilot program). New methods for calculating camera information capacity, Noise Power Spectrum (NPS), Noise Equivalent Quanta (NEQ), and Ideal observer SNR (SNRi) from slanted-edge patterns are now available. The basic premise of this work is that Information capacity is a superior Key Performance Indicator (KPI) of imaging systems — better than sharpness or noise, which it incorporates. The revised 2020 white paper, “Camera information capacity from Siemens Stars“, briefly introduces information theory, describes the Siemens star camera information capacity measurement, then shows results (including the effects of artifacts).  A more recent […]

Implementing Pass/Fail in Imatest

Imatest Pass/Fail Operation and Reference   Introduction Imatest can return pass/fail (P/F) results for applications (such as industrial camera testing) where they are required. Although pass/fail is primarily intended for Imatest IT (Industrial Testing; DLL and EXE), it works with GUI-based versions of Imatest (except for Studio), where the Pass/Fail monitor can be particularly useful for previewing the results of P/F threshold settings for Imatest IT.  Getting started – Summary – Pass/fail settings file – Pass/Fail Reference  Slanted-edge (SFRplus, etc.) settings – Sharpness (Random and Star) – Blemish and Uniformity  Colorcheck – Distortion – Color/Tone – Stepchart  Getting started with […]

Information capacity measurements from Slanted edges: Equations and Algorithms

News: Imatest 23.1 (March 2023) (available in the Imatest Pilot program). New methods for calculating Camera information capacity, Noise Power Spectrum (NPS), Noise Equivalent Quanta (NEQ), Ideal observer SNR (SNRi), and Noise autocorrelation from slanted-edge patterns are now available. The basic premise of this work is that Information capacity is a superior predictor of the performance of machine vision/artificial intelligence systems —  better than sharpness or noise, which it incorporates. The revised 2020 white paper, “Camera information capacity from Siemens Stars“, briefly introduces information theory, describes the Siemens star camera information capacity measurement, then shows results (including the effects of […]

Imatest with ON Semiconductor DevWare

Introduction This page illustrates how to use image acquisition with ON Semiconductor DevWare, which is a part of ON Semiconductor’s DevSuite. Imatest also supports other development systems. Load images directly from DevWare. This eliminates the need to capture images separately, store them, then load them individually into Imatest, dramatically improving productivity. Note: As of Imatest 5.0 image acquisition capabilities were added to Imatest Master and Imatest IS was discontinued. Learn more.  Download and Install Software To download Imatest Master software, go to www.imatest.com/products/imatest-master/ Download and open the self-extracting executable (Imatest-IS-3.n.exe). This will install Imatest and the Matlab Compiler Runtime (MCR), which is required for […]

Imatest SFR LCD target

A pattern on an LCD screen may be used for SFR measurements using a pattern generated by the Imatest Screen Patterns module, which has several patterns to choose from. These patterns are convenient, but somewhat limited in usefulness because an LCD screen can only cover a fraction of the image frame, hence you can’t produce a good map the camera’s MTF response. Screen Patterns The Screen Patterns module is opened by clicking on Screen Patterns on the right of the Imatest main window. When it first comes up, it is completely blank (for use with Light Falloff). Select SFR: Quadrants […]

Imatest IT/EXE instructions

How Imatest IT/EXE works Imatest IT/EXE (Industrial Testing EXE; formerly API/EXE) is a set of standalone programs initiated by DOS calls, which can be issued by a test system. The programs have the same functionality as the corresponding Imatest Master modules, but they operate without user intervention, making them suitable for use in automated testing systems. They are represented by the blue box in the lower right of the figure below. Imatest IT/EXE flow diagram The test system interacts with the IT/EXE programs through files specified in the DOS command line— primarily an image file and an INI control file […]

Imatest IT/.NET Instructions

How Imatest IT/.NET works Imatest IT/.NET (Industrial Testing .NET) is a Microsoft .NET Framework library that allows developers to access Imatest‘s powerful image quality analysis tools via calls to methods residing in a .NET DLL library. The library methods perform the same calculations as the corresponding GUI-based Imatest Master modules.  Imatest IT/.NET is compatible with .NET Framework versions 4.5 and higher.  Fourteen modules are available: SFR   SFRplus   Star Colorcheck   Stepchart   Wedge Uniformity (Light Falloff)   Distortion   eSFR ISO Blemish   Dot Pattern   Multitest OIS   Random     Imatest IT/.NET is a complete package that includes the module libraries, […]

Imatest IT Modules & Tests

Test Item   Imatest Module

Imatest IT Instructions

  Introduction Watch on YouTube. Imatest IT (Industrial Testing) is a set of Application Programming Interfaces (APIs) that allow developers to access Imatest’s powerful image quality analysis tools in their own custom applications. Imatest IT is available for 64-bit Windows, MacOS and Linux, and includes libraries for use with C, C++, Python, Objective-C, .NET (Windows only – including C# and Visual Basic), and LabVIEW. IT also contains standalone executables that can be called from a command line or script. The API libraries perform the exact same calculations as the corresponding GUI-based Imatest Master modules. Imatest IT is a complete package […]

Imatest Instructions – Getting started

Imatest software can measure many digital camera image quality factors from test chart images. If you’re just getting started we recommend that you explore: Image Quality factors page and IQ Testing for Beginners. The two most popular charts types/analysis modules are SFRplus and eSFR ISO, These allow users to measure a great many image quality factors from single test chart images.  Other modules and charts let you meet a wide variety of testing challenges.   Links to Content on this page: The Imatest workflow – Download & trial – Questions – Interactive vs. Fixed modules  Selecting the chart and module […]

Imatest INI Reference

This page is a reference for the INI files used to store Imatest settings, particularly imatest-v2.ini, which is the basis of ini files used to control Imatest IT. It focuses on INI file settings that are used by several modules and are of interest to users of Imatest IT and the Functional Interface.  INI file structure – Extracting an INI file for IT – Running from a Custom File – INI File Monitor – [api] (for Imatest IT) [LibRaw] – [rdraw] (Generalized Read Raw) – Secondary Readouts – Miscellaneous To keep this document to a reasonable length, the INI references for Imatest IT modules are stored […]