ON THE REDUCTION OF SUB-PIXEL ERROR IN IMAGE BASED DISPLACEMENT MEASUREMENT

Similar documents
CMS Note Mailing address: CMS CERN, CH-1211 GENEVA 23, Switzerland

A Study of Slanted-Edge MTF Stability and Repeatability

1 st IFAC Conference on Mechatronic Systems - Mechatronics 2000, September 18-20, 2000, Darmstadt, Germany

Volumetric positioning accuracy of a vertical machining center equipped with linear motor drives (evaluated by the laser vector method)

ROBOT VISION. Dr.M.Madhavi, MED, MVSREC

MULTIPLE SENSORS LENSLETS FOR SECURE DOCUMENT SCANNERS

PROPERTY OF THE LARGE FORMAT DIGITAL AERIAL CAMERA DMC II

Improving registration metrology by correlation methods based on alias-free image simulation

Bias errors in PIV: the pixel locking effect revisited.

Application of Digital Sampling Method for Voltage Transformer Test Set Calibrations. Hüseyin Çaycı

ENHANCEMENT OF THE RADIOMETRIC IMAGE QUALITY OF PHOTOGRAMMETRIC SCANNERS.

Understanding Optical Specifications

5 m-measurement system for traceable measurements of tapes and rules

More Info at Open Access Database by S. Dutta and T. Schmidt

Outdoor Image Recording and Area Measurement System

UltraCam and UltraMap An Update

Optical design of a high resolution vision lens

The study of combining hive-grid target with sub-pixel analysis for measurement of structural experiment

CCD Automatic Gain Algorithm Design of Noncontact Measurement System Based on High-speed Circuit Breaker

EMVA1288 compliant Interpolation Algorithm

Difrotec Product & Services. Ultra high accuracy interferometry & custom optical solutions

Investigations of Digital Levels for High Precision Measurements

ANALYSIS OF JPEG2000 QUALITY IN PHOTOGRAMMETRIC APPLICATIONS

Image Measurement of Roller Chain Board Based on CCD Qingmin Liu 1,a, Zhikui Liu 1,b, Qionghong Lei 2,c and Kui Zhang 1,d

CONTROLLING THE OSCILLATIONS OF A SWINGING BELL BY USING THE DRIVING INDUCTION MOTOR AS A SENSOR

EBU - Tech 3335 : Methods of measuring the imaging performance of television cameras for the purposes of characterisation and setting

On spatial resolution

ON THE BIAS OF TERMINAL BASED GAIN AND OFFSET ESTIMATION USING THE ADC HISTOGRAM TEST METHOD

Image Based Subpixel Techniques for Movement and Vibration Tracking

QUANTITATIVE IMAGE TREATMENT FOR PDI-TYPE QUALIFICATION OF VT INSPECTIONS

Automatic optical measurement of high density fiber connector

Various Calibration Functions for Webcams and AIBO under Linux

Coherence radar - new modifications of white-light interferometry for large object shape acquisition

A Structured Light Range Imaging System Using a Moving Correlation Code

Filtering and Processing IR Images of PV Modules

PhD Thesis. Balázs Gombköt. New possibilities of comparative displacement measurement in coherent optical metrology

Defense Technical Information Center Compilation Part Notice

CALIBRATION OF OPTICAL SATELLITE SENSORS

MULTI-LAYERED HYBRID ARCHITECTURE TO SOLVE COMPLEX TASKS OF AN AUTONOMOUS MOBILE ROBOT

Digital Photogrammetry. Presented by: Dr. Hamid Ebadi

APPLICATION AND ACCURACY POTENTIAL OF A STRICT GEOMETRIC MODEL FOR ROTATING LINE CAMERAS

Optical basics for machine vision systems. Lars Fermum Chief instructor STEMMER IMAGING GmbH

Camera Resolution and Distortion: Advanced Edge Fitting

Proceeding The Alignment Method for Linear Scale Projection Lithography Based on CCD Image Analysis

Digital Photographic Imaging Using MOEMS

MEASUREMENT OF ROUGHNESS USING IMAGE PROCESSING. J. Ondra Department of Mechanical Technology Military Academy Brno, Brno, Czech Republic

This document is a preview generated by EVS

A NEW MOTION COMPENSATION TECHNIQUE FOR INFRARED STRESS MEASUREMENT USING DIGITAL IMAGE CORRELATION

Computational Approaches to Cameras

S.R.Taplin, A. Gh.Podoleanu, D.J.Webb, D.A.Jackson AB STRACT. Keywords: fibre optic sensors, white light, channeled spectra, ccd, signal processing.

Displacement Measurement of Burr Arch-Truss Under Dynamic Loading Based on Image Processing Technology

A software video stabilization system for automotive oriented applications

Development of a Low-order Adaptive Optics System at Udaipur Solar Observatory

PULSED REMOTE FIELD TECHNIQUE IN FERROMAGNETIC TUBE WALL THICKNESS AND INNER DIAMETER MEASUREMENT

Be aware that there is no universal notation for the various quantities.

Applications of Piezoelectric Actuator

6.869 Advances in Computer Vision Spring 2010, A. Torralba

Demo Pattern and Performance Test

Principles of Photogrammetry

The suitability of the Pulnix TM6CN CCD camera for photogrammetric measurement. S. Robson, T.A. Clarke, & J. Chen.

DEFINING A SPARKLE MEASUREMENT STANDARD FOR QUALITY CONTROL OF ANTI-GLARE DISPLAYS Presented By Matt Scholz April 3, 2018

A 3D Profile Parallel Detecting System Based on Differential Confocal Microscopy. Y.H. Wang, X.F. Yu and Y.T. Fei

Weld gap position detection based on eddy current methods with mismatch compensation

An application of the least squares plane fitting interpolation process to image reconstruction and enhancement

CS534 Introduction to Computer Vision. Linear Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University

Dynamic Distortion Correction for Endoscopy Systems with Exchangeable Optics

POTENTIAL OF LARGE FORMAT DIGITAL AERIAL CAMERAS. Dr. Karsten Jacobsen Leibniz University Hannover, Germany

A PILOT STUDY ON ULTRASONIC SENSOR-BASED MEASURE- MENT OF HEAD MOVEMENT

Metric Accuracy Testing with Mobile Phone Cameras

PIXPOLAR WHITE PAPER 29 th of September 2013

Real-Time Scanning Goniometric Radiometer for Rapid Characterization of Laser Diodes and VCSELs

CS 443: Imaging and Multimedia Cameras and Lenses

Vision Research at. Validation of a Novel Hartmann-Moiré Wavefront Sensor with Large Dynamic Range. Wavefront Science Congress, Feb.

inter.noise 2000 The 29th International Congress and Exhibition on Noise Control Engineering August 2000, Nice, FRANCE

Optical Performance of Nikon F-Mount Lenses. Landon Carter May 11, Measurement and Instrumentation

SITE-TO-SITE REPRODUCIBILITY IN CONDUCTED IMMUNITY TESTS ON PC-BASED DATA ACQUISITION SYSTEMS

DETERMINING CALIBRATION PARAMETERS FOR A HARTMANN- SHACK WAVEFRONT SENSOR

Module 5: Experimental Modal Analysis for SHM Lecture 36: Laser doppler vibrometry. The Lecture Contains: Laser Doppler Vibrometry

RADIOMETRIC AND GEOMETRIC CHARACTERISTICS OF PLEIADES IMAGES

Calibration Report. Short Version. Vexcel Imaging GmbH, A-8010 Graz, Austria

Calibration Report. Short Version. UltraCam L, S/N UC-L Vexcel Imaging GmbH, A-8010 Graz, Austria

PICO MASTER 200. UV direct laser writer for maskless lithography

Measurement of Texture Loss for JPEG 2000 Compression Peter D. Burns and Don Williams* Burns Digital Imaging and *Image Science Associates

Calibration Report. Short Version. UltraCam Eagle, S/N UC-E f210. Vexcel Imaging GmbH, A-8010 Graz, Austria

Sampling Efficiency in Digital Camera Performance Standards

648. Measurement of trajectories of piezoelectric actuators with laser Doppler vibrometer

Blind Single-Image Super Resolution Reconstruction with Defocus Blur

Evaluation of Distortion Error with Fuzzy Logic

Digital database creation of historical Remote Sensing Satellite data from Film Archives A case study

On machine Measurement for Precision Corrective polishing of Aspheres and Freeform Surfaces

Resampling in hyperspectral cameras as an alternative to correcting keystone in hardware, with focus on benefits for optical design and data quality

Evaluation of laser-based active thermography for the inspection of optoelectronic devices

Imaging Photometer and Colorimeter

Non-contact structural vibration monitoring under varying environmental conditions

Puntino. Shack-Hartmann wavefront sensor for optimizing telescopes. The software people for optics

Investigation of an optical sensor for small angle detection

Astigmatism Particle Tracking Velocimetry for Macroscopic Flows

Image and Multidimensional Signal Processing

MIT CSAIL Advances in Computer Vision Fall Problem Set 6: Anaglyph Camera Obscura

G-302 Dual Projector Edge Blender Quick User Guide

Transcription:

5 XVII IMEKO World Congress Metrology in the 3 rd Millennium June 22 27, 2003, Dubrovnik, Croatia ON THE REDUCTION OF SUB-PIXEL ERROR IN IMAGE BASED DISPLACEMENT MEASUREMENT Alfredo Cigada, Remo Sala, Emanuele Zappa Politecnico di Milano, Dept. of Mechanics, via La Masa, 34, 20158 Milano, ITALY Abstract Image based measurement techniques allow for quick and contact-less measurement of single or multiple target displacement, shape, orientation and so on. The subpixel analysis increases the vision based displacement resolution. In the present paper resolution and uncertainty of 1D camera based displacement measurements is analysed, paying particular attention to the target geometry effect on the results. Comparison between camera based and laser interferometer displacement measurement is performed and some target modifications are tried, in order to reduce measurement uncertainty, due to sub-pixel systematic effect; the use of including the systematic effect into uncertainty, is wrong in theory but in practise often justified by the usual need of coarse and speed measurements. The uncertainty in target displacement estimation given by three different image analysis algorithms is also tested in the case of rectangular, rhomboidal and circular targets. require a hardware improvement and it is usually cheaper. Of course both the pixel number increasing and the subpixel analysis can be applied together. Even if applying sub-pixel analysis the available resolution of the vision-based measurement device can be very high (some software houses state that the maximum resolution obtainable using their routines is 1/50 of the pixel size, sometimes without explaining wich algorithm is applied), the uncertainty of the measured displacements is often worse ([2]), vanishing the resolution capabilities ([1]). It is in fact known in literature that, applying sub-pixel algorithms, a systematic effect is introduced in the measured data. Keywords: Sub-pixel, imaging, uncertainty 1. SYSTEMATIC EFFECT IN SUB-PIXEL ANALYSIS Image processing is becoming one among the most common techniques in industrial process control and contactless measurement technique: this is mainly due to the increasing CPU capabilities, to the improvements in CCD sensors and the related electronics, and to the new postprocessing image algorithms. The main purpose of this paper is to look for a metrological qualification of a camera, as a displacement transducer. This is due to the fact that the above mentioned improvements have pulled image processing to performances comparable to those of some more traditional, well known and frequently used transducers. In order to obtain accurate measurements both resolution and uncertainty must be considered because, as stated in Italian standard [1], high resolution is useless if uncertainty is larger than the resolution. In order to improve the resolution capabilities of an image-based measurement system, two approaches are possible: increasing the CCD resolution (i.e. increasing the total number of pixels, but this usually contrasts with the dynamic properties) or applying a sub-pixel image processing. The number of pixels can be increased only up to a certain level, depending on the technical development of the CCD sensors, and imply an increase of the system cost. On the other hand, using a sub-pixel algorithm does not Fig. 1. Systematic sub-pixel effect Some authors (see [2]) studied this phenomenon, trying to get the sources of the systematic effect. In 1994 Fryer ([3]) observed the phenomenon but no plausible explanation was clearly found. The only noticed correlation consisted in the fact that the effect is periodic, the period being coincident with the pixel side length (Figure 1). In 1998 Pedersini, Sarti & Tubaro [4] considered the effect due to the non photosensitive portion of the pixel area. As a matter of fact, the measurement result is affected by a non-negligible systematic effect (see for example [2]). In literature a certain number of algorithms are described, able to compensate for this effect (see for example [4], [5], [6] and [7]). In order to apply this compensation, however, it is necessary to perform some tests on the optical part of the measurement chain (particularly lens and CCD sensor), and obtain the parameters of the compensating law.

5 Another possible approach, able to reduce the systematic effect, is intentional blurring: in this way the edge transition curve becomes smoother, and sub-pixel interpolation produces better results. This strategy, however, reduces the system capability of resolving details that are close each other, since blurring deteriorates the quality of the images ([4]). The last approach, very commonly used by the software developers, is to comprise this effect in an uncertainty enlargement, a practice that, according to the ISO Guide to the expression of uncertainty in measurements ([8]) should be avoided whenever possible. In this work the uncertainty of the camera-based acquisition device is analysed, in order to define the accuracy level and the effect of some important parameters on it, paying particular attention on target geometry. It is important to note that just the static properties will be considered, while the dynamic ones will be the object of a further paper. Although with a camera it is possible to measure also 2D displacements of a number of objects (targets), in the present work only 1D displacement measurement is considered: the extension to 2D measurement is anyway possible, starting from 1D analysis. 2. EXPERIMENTAL SETUP Tests on camera based displacement measurements were performed using a 1D-displacements motor-driven support for the target. In order to evaluate the uncertainty properties of the vision device as a displacement sensor, measurements obtained with the camera are compared with those taken by a laser interferometer system (Fig. 2) used for linear displacement transducer calibration, with uncertainty of 0,3 µm. The laser interferometer is therefore a good reference for calibration of the camera with uncertainty up to a few µm that is an order of magnitude larger than the declared 0.3 µm for the interferometer. The first part of the present paper shows an analysis of the common sub-pixel algorithms efficiency in giving displacement of a target, particularly considering the target geometry effect on the obtainable uncertainty. In this research the attention is focused on very small displacements (i.e. few pixels); for that reason the eventual optical aberration is not considered and no distortion compensation algorithms are applied. If aberration compensation algorithms are applied the uncertainty linked to those algorithms must me accounted for too. Sometimes this uncertainty is larger than the one due to sub-pixel algorithms and can then become the main uncertainty source in the whole measurement chain. 3. SUB-PIXEL STRATEGIES In order to measure the target position it is both possible to measure the position of an edge of the target or to measure the two edges and average the obtained values (see Fig. 3). This second option, applied to all the measurements shown in the present paper, produces measurements with lower uncertainty thanks to the average. It is also possible to analyse just one pixel line or consider a number N of pixel lines in the performed measurement. White Black Transition curves N pixel lines: N transition curves Edge position Fig. 3 One or two edge targets and single or multiple pixel line analysis When N pixel lines are considered in the analysis, two possible approaches are available: the standard one (i.e. the one usually applied by the commercial image analysis libraries) is based on the average of the N transition curves to obtain an averaged transition curve to be used to estimate the edge position by applying the edge detection algorithm. In the following of the paper we will refer to this approach as the standard approach. a b X Fig. 2 Sliding support of the target and laser interferometer retro reflector (viewed from the camera under test) Fig. 4 Target edges parallel or angled with respect to the pixel grid One different possible procedure is proposed in this paper in order to improve the measurement accuracy (as will

5 be shown in the following paragraph); the idea is to estimate the edge position for each pixel line by applying the edge detection algorithm for each line and then to average the N obtained positions (this approach will be referred to as new proposed approach ). It will be shown that, using this second approach in case of target edges non-parallel to the pixel lines (Fig. 4b), it is possible to reduce the systematic effect by averaging it out. Since the systematic effect can produce an overestimation or an underestimation of the edge location, depending on the relative edge-pixel position (see Fig. 1), different pixel lines can produce opposite systematic effects. It is then possible to choose the number N of horizontal pixel lines so that, between the first and the last lines, the horizontal shift produced on the transition lines is 1 pixel (or an integer multiple of one pixel), as shown in Fig. 4b. Once averaged results from those N lines, the systematic effect can be compensated for. Some examples of the systematic effect compensation are shown in the following paragraph. 4. EXPERIMENTAL RESULTS WITH RECTANGULAR TARGETS AND EDGE DETECTION In this paragraph some results are shown in the case of rectangular targets considering both the right and the left edges. In Fig. 5 the systematic effect is clearly visible and no effect reduction can be obtained using the new proposed approach of extracting the edge position from each pixel line and averaging the results. standard approach on 30 pixel lines nor applying the new proposed approach. Fig. 6 Systematic effect considering one pixel line or 30 pixel lines with the standard and the new proposed approach In order to investigate the edge rotation effect, the target was angled of 2.1 and 4.2 degrees. In this way the horizontal edge position is shifted of one and two pixels respectively ( X in Figure 4) between the first and the last considered horizontal line. In case of 2.1 rotation, Fig. 7 shows the systematic effect when the standard algorithm (i.e. intensity pixel lines sum) is applied, together with the proposed approach results (edge detection on each single line and obtained position average). The reduction of the systematic effect intensity is evident in the standard deviation values. Nevertheless the computation effort is higher in the latter approach, since the edge detection algorithm must be applied for each line. Fig. 5: Systematic effect with vertical-edge target In order to underline and quantify the entity of the systematic effect the deviation is calculated as the difference between the actual displacement (measured with the laser interferometer) and the camera measured one. In Figure 6 the deviation is shown as a function of the reference displacement. Data shown in Figure 6 are those already shown in Figure 5, together with the data obtained considering just one pixel line. In the case of vertical edge target measurements, no improving of the measurement accuracy with respect to the single line analysis can be obtained neither using the Fig. 7: Systematic effect in case of 2.1 rotated rectangular target A further reduction of the systematic effect is obtained putting the target in an angle of 4.2 : in this case systematic

5 effect is smaller than the random one (it is actually non visible), as shown in Figure 8. Analogously to Figure 10, in Figure 11 and 12 systematic effect is shown in the cases of rhomboid and circular target respectively.. Syst. Effect [pixel] 0.60 0.40 0.20-0.20-0.40 BA: s=0.14px GMF: s=0.03px PM: s=0.17px 0.10 0.20 0.30 0.40 Fig. 8: Systematic effect in case of 4.2 rotated rectangular target Tests on two edge targets show that the systematic effect due to sub-pixel error can be strongly reduced putting the target in an angle (i.e. not exactly parallel with the pixel grid). 5. SYSTEMATIC EFFECT MODIFICATION DUE TO TARGET SHAPE CHANGING AND DIFFERENT ALGORITHMS APPLICATION In order to better understand the sub-pixel algorithm capabilities, tests using different target shapes have been performed and, for each target shape, three algoritms are applied: blob analysis, pattern matching and GMF (Matrox MIL library algorithm based on a Geometric Model Finder, [9]). The considered target shapes are: square (this condition is actually the same to the one analysed in the previous paragraph), rhomboid and circular. 30 Fig. 9: Different tested target shapes The detailed explanation of the adopted algorithms is not a goal of this paper but can be found in literature (see for example [10]). In Figure 10 systematic effect is shown in the case of rectangular target, applying the blob analysis (BA), the pattern matching (PM) and the geometric model finder (GMF). In the legend the values of the estimated standard deviations "s" in pixel units are shown for each algorithm. Syst. Effect [pixel]. Fig. 10: Systematic effect with rectangular target with sides parallel to the pixel grid BA: s=0.02px GMF: s=0.02px PM: s=0.01px 0.06 0.04 0.02-0.02-0.04-0.06 0.10 0.20 0.30 0.40 Fig. 11: Systematic effect with rhomboid target (square target 45 rotated). Syst. Effect [pixel] 0.10 0.05-0.05-0.10-0.15 BA: s=0.04px GMF: s=0.02px PM: s=0.02px 0.10 0.20 0.30 0.40 Fig. 12: Systematic effect with circular target It can be seen that the systematic effect can be strongly reduced using a rhomboid target or a circular one, although the used algorithm is still very important. The pattern matching algorithm ensures the best performances but request the maximum computation time.

5 Using the rhomboid target, however, the three algorithms show almost the same standard deviation, lower than the ones obtained with the other targets. 6. CONCLUSIONS In this paper the systematic effect due to sub-pixel algorithm is analysed and an investigation on the best choices to improve results is proposed, in order to reduce the systematic effect intensity in 1D measurements. While in the case of rectangular target the proposed technique can be applied only when the marker orientation does not change during the target motion, when a circular target is adopted, the target angle is of course irrelevant. The uncertainty level associated with the standard and new measurement techniques was also measured, showing that a significant uncertainty reduction can be obtained, without the need of any error compensation algorithm, using angled or circular targets. The introduced approach allows to strongly reduce the start-up time of the vision-based measurement systems and permits the use of commercial sub-pixel routines In the second part of the paper, different commercial algorithms were tested and uncertainty associated to displacement measurements were estimated, in case of rectangular, rhomboidal and circular targets. REFERENCES [1] UNI 4546 "Misure e misurazioni, Termini e definizioni fondamentali" Italian Standard November 1984 [2] T. A. Clarke, "A frame grabber related error in subpixel target location" Photogrammetric Record. Vol XV. No 86. pp.315-322 [3] J. G. Fryer, T. A. Clarke and J. Chen "Lens distortion for simple C-mount lenses" International Archives of Photogrammetry and remote sensing, (1994), 30(5): 97-101. [4] F. Pedersini, A. Sarti, S. Tubaro: "Improving the performance of edge localisation techniques through error compensation" Image Communication 12 (1998) 33-47 [5] K. Ohtani, M. Baba "A Fast Edge Location Measurement with Subpixel Accuracy Using CCD Image" IEEE Instrumentation and Measurement Technology Conference, Budapest, Hungary, May 21-23, 2001 [6] T. A. Clarke, X. Wang "Extracting high precision information from CCD images" Proc. ImechE Conf., Optical methods and data processing for hat and fluid flow, City University, pp.311-320. [7] S. Tabbone, D. Ziou "Subpixel positioning of Edges for First and Second Order Operators" IEEE, 0-8186-2920-7/92, 1992 [8] ISO Guide to the expression of uncertainty in measurements, ISO, 1995 [9] Matrox MIL 7.0 User Guide [10] K. Fu, R. Gonzales e C. Lee, "Robotica" McGraw-Hill Authors: Alfredo Cigada, Politecnico di Milano, via La Masa, 34, 20158 Milano, Italy, phone +390223998487, fax +390223998492 E-mail alfredo.cigada@polimi.it. Emanuele Zappa, Politecnico di Milano, via La Masa, 34, 20158 Milano, Italy, phone +390223998445, fax +390223998492 E-mail emanuele.zappa@polimi.it. Remo Sala, Politecnico di Milano, via La Masa, 34, 20158 Milano, Italy, phone +390223998488, fax +390223998492 E-mail remo.sala@polimi.it.