DE3809448A1 - METHOD FOR EVALUATING THE IMAGE INFORMATION IN AN OPTICAL SURFACE CONTROL BY MEANS OF AN ELECTRONIC SCANING SYSTEM - Google Patents
METHOD FOR EVALUATING THE IMAGE INFORMATION IN AN OPTICAL SURFACE CONTROL BY MEANS OF AN ELECTRONIC SCANING SYSTEMInfo
- Publication number
- DE3809448A1 DE3809448A1 DE3809448A DE3809448A DE3809448A1 DE 3809448 A1 DE3809448 A1 DE 3809448A1 DE 3809448 A DE3809448 A DE 3809448A DE 3809448 A DE3809448 A DE 3809448A DE 3809448 A1 DE3809448 A1 DE 3809448A1
- Authority
- DE
- Germany
- Prior art keywords
- filter
- efw
- value
- filter value
- old
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims description 17
- 230000003287 optical effect Effects 0.000 title claims description 4
- 230000007547 defect Effects 0.000 claims description 5
- 238000007689 inspection Methods 0.000 claims 1
- 230000003044 adaptive effect Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000011179 visual inspection Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/20—Image enhancement or restoration using local operators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
- G01N2021/8887—Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20224—Image subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30164—Workpiece; Machine component
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Description
Die Erfindung betrifft ein Verfahren zur Auswertung der Bildinformation bei einer optischen Oberflächenkontrolle mittels eines elektronischen Abtastsystems, das eine Beseitigung störender Untergrundinformationen der auf Fehlstellen zu untersuchenden Oberfläche ermöglicht.The invention relates to a method for evaluating the image information with an optical surface control by means of an electronic scanning system that eliminates disruptive Background information of those to be examined for defects Surface allows.
Es ist bekannt aus Reihe 10 der VDI-Fortschritt-Berichte Nr. 67 "Auswahl von Texturanalyseverfahren zur Automatisierung industrieller Sichtprüfungen" von M. S. Tatari, zur Bildung einer adaptiven Grauwertschwelle aus einem Referenzfenster den mittleren Grauwert m zu berechnen. Aus diesem werden iterativ über folgende RechenvorschriftIt is known from series 10 of VDI progress reports No. 67 "Selection of texture analysis methods for the automation of industrial visual inspections" by MS Tatari to calculate the mean gray value m from an reference window in order to form an adaptive gray value threshold. This becomes iterative using the following calculation rule
m neu = m alt + (x akt - m alt )/Kl m new = m old + (x act - m old ) / cl
neue Mittelwerte gebildet. Die Wahl der Zeitkonstante Kl steuert den Beitrag des aktuellen Grauwertes x akt bzw. des alten Mittelwertes m alt zum neuen Mittelwert. Grauwerte weit zurückliegender Bildpunkte tragen in immer abgeschwächterer Form zum Ergebnis bei. Durch Addition bzw. Subtraktion einer Grauwertabweichung vom gebildeten Mittelwert ergeben sich eine obere und eine untere Grauwertschwelle, die zusammen einen Bereich bilden. Bildpunkte, deren Grauwerte diesen Bereich verlassen, werden als Fehler detektiert.new averages formed. The choice of the time constant Kl controls the contribution of the current gray value x act or the old mean value m old to the new mean value. Gray values of far-lying pixels contribute to the result in an increasingly weakened form. By adding or subtracting a gray value deviation from the mean value formed, an upper and a lower gray value threshold result, which together form an area. Pixels whose gray values leave this area are detected as errors.
Der Erfindung liegt die Aufgabe zugrunde, bei einem Verfahren der eingangs genannten Art eine verbesserte Erkennbarkeit der Fehlstellen zu gewährleisten.The invention has for its object in a method of the type mentioned at the outset an improved detectability of the To ensure defects.
Zur Lösung dieser Aufgabe ist das erfindungsgemäße Verfahren so ausgebildet, daß die Bildpunktinformationen des Quellbildes zeilen- und/oder spaltenweise durch ein eindimensionales Filter in einem vorgegebenen Takt geschoben werden, zur Bildung eines Zielbildes, daß ein erster Filterwert des eindimensionalen Filters in Abhängigkeit von einem anderen Filterwert bei jedem Takt zu einem neuen ersten Filterwert korrigiert wird, in der Weise, daß ein Unterschied der Werte bei Überschreiten einer Schwelle zu einer vorgegebenen Änderung des ersten Filterwertes in Richtung des zweiten Filterwertes führt, und daß das resultierende Zielbild vom Quellbild subtrahiert wird, zur Beseitigung der Untergrundinformation der auf Fehlstellen zu untersuchenden Oberfläche. Als Filterwerte werden in vorteilhafter Weise ein Filterwert am Anfang (beispielsweise der erste Filterwert) und ein Filterwert am Ende (beispielsweise der letzte Filterwert) gemäß Anspruch 2 gewählt.The method according to the invention is used to achieve this object designed so that the pixel information of the source image row and / or column by column through a one-dimensional filter be pushed in a predetermined cycle to form a Target image that a first filter value of the one-dimensional Filters depending on a different filter value for each Clock is corrected to a new first filter value in the Way that a difference in values when a Threshold for a predetermined change in the first filter value leads in the direction of the second filter value, and that the resulting Target image is subtracted from the source image for elimination the background information of those to be examined for defects Surface. As filter values are more advantageous Start with a filter value (for example, the first filter value) and a filter value at the end (e.g. the last one Filter value) selected according to claim 2.
Das erfindungsgemäße Verfahren ist insofern vorteilhaft, da hier die Detektion kleiner und großer Fehler mit einem Verfahren durchgeführt werden kann und Fehlerbereiche formgetreu und geschlossen dargestellt werden. Das Verfahren benötigt keine Anfangswerte, da eine adaptive Anpassung des Untergrundes vorgenommen wird. Eine vorteilhafte Weiterbildung des erfindungsgemäßen Verfahrens ergibt sich gemäß Anspruch 3, die zu einer genaueren Adaption des Untergrundes führt. Das Verfahren kann weiterhin mit einer üblichen elektronischen Anordnung realisiert werden.The method according to the invention is advantageous in that here the detection of small and large errors with one method can be carried out and error areas true to form and are shown closed. The procedure needed no initial values because the surface is adaptive is made. An advantageous development of the invention The method results according to claim 3 leads to a more precise adaptation of the underground. The procedure can continue with a common electronic arrangement will be realized.
Fig. 1 zeigt einen typischen Verlauf einer digitalisierten Bildzeile und Fig. 1 shows a typical course of a digitized image line and
Fig. 2 zeigt eine Prinzipanordnung eines Filters, mit der das erfindungsgemäße Verfahren durchgeführt werden kann. Fig. 2 shows a schematic arrangement of a filter with the method of the invention can be carried out.
Das Verfahren wird zunächst von Fig. 1 erläutert. Das obere Teilbild zeigt einen Ausschnitt einer digitalisierten Videobildzeile mit 512 Bildpunkten BP, wobei die Helligkeit der Bildzeile von links nach rechts abnimmt. In das Helligkeitsgefälle sind zwei Fehler FE 1, FE 2 eingebettet, links ein kleiner (FE 1) mit starker Krümmung und rechts ein großer, schwach gekrümmter Fehler FE 2.The method is first explained in FIG. 1. The upper partial image shows a section of a digitized video image line with 512 pixels BP , the brightness of the image line decreasing from left to right. Two errors FE 1 , FE 2 are embedded in the brightness gradient, a small one (FE 1 ) on the left with a strong curvature and a large, slightly curved error FE 2 on the right.
Das Verfahren beruht darauf, den Untergrund im Fehlerbereich nachzubilden, d. h., einen Helligkeitsverlauf zu erzeugen, der ohne Auftreten des Fehlers vorhanden gewesen wäre. Die Grauwerte im Fehlerbereich werden durch solche ersetzt, die an die Fehlerumgebung angepaßt sind. Der nachfolgend beschriebene Algorithmus erzeugt aus dem Grauwertverlauf der Bildzeile im ersten Teilbild den strichpunktierten Verlauf des gebildeten Untergrundes für diese Bildzeile im zweiten Teilbild. Um den Untergrund herum wird ein Toleranzband gelegt. Alle Bildpunkte des ursprünglichen Grauwertverlaufes, die außerhalb des Toleranzbandes liegen, gehören zu Fehlstellen. Durch Differenzbildung des Untergrundes vom Grauwertverlauf der originalen Bildzeile erhält man die im unteren Teilbild gezeigten Fehlerbereiche.The procedure is based on the underground in the error area replicate, d. i.e. to generate a brightness curve that would have existed without the error occurring. The gray values in the error area are replaced by those to the Error environment are adapted. The algorithm described below generated from the gray value curve of the image line in the first Drawing the dot-dash course of the formed Background for this image line in the second drawing file. To the A tolerance band is laid around the surface. All pixels of the original gray value curve, which is outside the tolerance band are part of defects. By forming differences of the background from the gray value curve of the original In the image line, the error areas shown in the lower sub-image are obtained.
Die Bildung des Untergrundes, die den Kern des Verfahrens darstellt, erfolgt mit einem eindimensionalen Filter F der Größe n × 1 nach Fig. 2. Lediglich der erste (EFW) und der letzte Filterwert LFW tragen zur Untergrundbildung bei. Die Bilddaten eines Quellbildes QB werden durch das Filter F vom ersten Filterwert EFW taktweise in Richtung zum letzten Filterwert LFW und von hier in ein Zielbild ZB (Untergrundbild) geschoben. Die Besonderheit hierbei ist, daß mit jedem Takt aus den beiden Werten EFW alt und LFW gemäß den Formeln (1) The formation of the background, which is the core of the method, is carried out with a one-dimensional filter F of size n × 1 according to FIG. 2. Only the first (EFW) and the last filter value LFW contribute to the formation of the background. The image data of a source image QB are shifted by the filter F from the first filter value EFW in cycles towards the last filter value LFW and from here into a target image ZB (background image). The peculiarity here is that with each cycle from the two values EFW old and LFW according to the formulas (1)
ein neuer Wert EFW neu gebildet wird, der anstelle des alten Wertes EFW alt durch das Filter F läuft. Der korrigierte Wert wird also in den Filteranfang und nicht - wie üblich - in die Filtermitte eingeschrieben. Durch diese Maßnahme erhält man ein rekursives Filter, da der korrigierte Wert EFW neu einige Takte später als der letzte Filterwert LFW erneut in die Berechnung eines Filterwertes eingeht.a new value EFW is newly formed, which runs through the filter F instead of the old value EFW old . The corrected value is therefore written in the beginning of the filter and not - as usual - in the middle of the filter. This measure gives a recursive filter, as the corrected value EFW new as the last filter value LFW again received some bars later in the calculation of a filter value.
Die in den Formeln (1) und (2) angegebenen Filterfunktionen stellen nur eine von mehreren Lösungsmöglichkeiten dar.The filter functions specified in formulas (1) and (2) are just one of several possible solutions.
Die Erfindung ist bei optischen Verfahren zur Oberflächenkontrolle, beispielsweise von Blechteilen im Automobilbau, anwendbar.The invention relates to optical methods for surface control, for example sheet metal parts in the automotive industry, applicable.
Claims (4)
- - die Bildpunktinformationen des Quellbildes (QB) zeilen- und/ oder spaltenweise durch ein eindimensionales Filter (F) in einem vorgegebenen Takt geschoben werden, zur Bildung eines Zielbildes (ZB),
- - ein erster Filterwert (EFW alt ) des eindimensionalen Filters
(F) in Abhängigkeit von einem anderen Filterwert (LFW) bei
jedem Takt zu einem neuen ersten Filterwert (EFW neu ) korrigiert
wird,
- - in der Weise, daß ein Unterschied der Werte (EFW alt , LFW) bei Überschreiten einer Schwelle zu einer vorgegebenen Änderung des ersten Filterwertes (EFW alt ) in Richtung des zweiten Filterwertes führt,
- the pixel information of the source image (QB) is shifted line by line and / or column by column by a one-dimensional filter (F) in a predetermined cycle to form a target image (ZB) ,
- a first filter value ( old EFW ) of the one-dimensional filter (F ) is corrected as a function of another filter value (LFW) with a clock pulse to a new first filter value ( new EFW ),
- in such a way that a difference in the values ( old EFW , LFW) leads to a predetermined change in the first filter value ( old EFW ) in the direction of the second filter value when a threshold is exceeded,
- - das resultierende Zielbild (ZB) vom Quellbild (QB) subtrahiert wird, zur Beseitigung der Untergrundinformation der auf Fehlstellen zu untersuchenden Oberfläche.
- - The resulting target image (ZB) is subtracted from the source image (QB) to eliminate the background information of the surface to be examined for defects.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE3809448A DE3809448A1 (en) | 1988-03-21 | 1988-03-21 | METHOD FOR EVALUATING THE IMAGE INFORMATION IN AN OPTICAL SURFACE CONTROL BY MEANS OF AN ELECTRONIC SCANING SYSTEM |
DE8989104403T DE58902018D1 (en) | 1988-03-21 | 1989-03-13 | METHOD FOR EVALUATING THE IMAGE INFORMATION IN AN OPTICAL SURFACE CONTROL BY MEANS OF AN ELECTRONIC SCANING SYSTEM. |
EP89104403A EP0334152B1 (en) | 1988-03-21 | 1989-03-13 | Proceeding for the evaluation of the image information in an optical surface control with a scanner |
ES198989104403T ES2034445T3 (en) | 1988-03-21 | 1989-03-13 | PROCEDURE FOR THE EVALUATION OF GRAPHIC INFORMATION IN AN OPTICAL SURFACE CONTROL THROUGH AN ELECTRONIC EXPLORATION SYSTEM. |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE3809448A DE3809448A1 (en) | 1988-03-21 | 1988-03-21 | METHOD FOR EVALUATING THE IMAGE INFORMATION IN AN OPTICAL SURFACE CONTROL BY MEANS OF AN ELECTRONIC SCANING SYSTEM |
Publications (1)
Publication Number | Publication Date |
---|---|
DE3809448A1 true DE3809448A1 (en) | 1989-10-12 |
Family
ID=6350284
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE3809448A Withdrawn DE3809448A1 (en) | 1988-03-21 | 1988-03-21 | METHOD FOR EVALUATING THE IMAGE INFORMATION IN AN OPTICAL SURFACE CONTROL BY MEANS OF AN ELECTRONIC SCANING SYSTEM |
DE8989104403T Expired - Fee Related DE58902018D1 (en) | 1988-03-21 | 1989-03-13 | METHOD FOR EVALUATING THE IMAGE INFORMATION IN AN OPTICAL SURFACE CONTROL BY MEANS OF AN ELECTRONIC SCANING SYSTEM. |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE8989104403T Expired - Fee Related DE58902018D1 (en) | 1988-03-21 | 1989-03-13 | METHOD FOR EVALUATING THE IMAGE INFORMATION IN AN OPTICAL SURFACE CONTROL BY MEANS OF AN ELECTRONIC SCANING SYSTEM. |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP0334152B1 (en) |
DE (2) | DE3809448A1 (en) |
ES (1) | ES2034445T3 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4401263C1 (en) * | 1994-01-18 | 1995-03-09 | Helge Dipl Ing Bohlmann | Surface profile measuring device |
DE10038494A1 (en) * | 2000-08-08 | 2002-02-21 | Abb Patent Gmbh | Data processing method for equipment monitoring uses autocorrelation function to identify noise corruption |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1172960A (en) * | 1996-08-05 | 1998-02-11 | 顾康庭 | 256-grade gradation lighting method for microscope |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
NL7602468A (en) * | 1976-03-09 | 1977-09-13 | Skf Ind Trading & Dev | DEVICE FOR CONTROLLING THE MANUFACTURE QUALITY OF ITEMS. |
CH615031A5 (en) * | 1976-04-30 | 1979-12-28 | Gretag Ag | |
DD156635A1 (en) * | 1981-03-02 | 1982-09-08 | Rainer Gutsch | METHOD FOR SEPARATING DEVICE DEVIATIONS FROM TECHNICAL SURFACES |
DD253295A1 (en) * | 1986-10-10 | 1988-01-13 | Technisches Glas Veb K | METHOD AND ARRANGEMENT FOR THE AUTOMATED DETECTION OF IRREGULARITIES IN TRANSPARENT PROJECT OBJECTS |
-
1988
- 1988-03-21 DE DE3809448A patent/DE3809448A1/en not_active Withdrawn
-
1989
- 1989-03-13 EP EP89104403A patent/EP0334152B1/en not_active Expired - Lifetime
- 1989-03-13 ES ES198989104403T patent/ES2034445T3/en not_active Expired - Lifetime
- 1989-03-13 DE DE8989104403T patent/DE58902018D1/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4401263C1 (en) * | 1994-01-18 | 1995-03-09 | Helge Dipl Ing Bohlmann | Surface profile measuring device |
DE10038494A1 (en) * | 2000-08-08 | 2002-02-21 | Abb Patent Gmbh | Data processing method for equipment monitoring uses autocorrelation function to identify noise corruption |
Also Published As
Publication number | Publication date |
---|---|
ES2034445T3 (en) | 1993-04-01 |
EP0334152B1 (en) | 1992-08-12 |
DE58902018D1 (en) | 1992-09-17 |
EP0334152A1 (en) | 1989-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE3937950C2 (en) | ||
DE69628723T2 (en) | Gradient-based method for generating values for unknown pixels in a digital image | |
DE3249233C2 (en) | ||
DE2952443A1 (en) | METHOD AND DEVICE FOR DETERMINING THE POSITION OF AN OBJECT | |
EP0409310A2 (en) | Method and apparatus for edge detection in images | |
EP0702487A1 (en) | Method and circuit for detecting and concealing errors in a video signal | |
DE2620611A1 (en) | PROCEDURE FOR EVALUATING A PRINTED PRODUCT | |
DE4201514A1 (en) | METHOD FOR DETERMINING DEFECTIVE SITES | |
EP1585059A2 (en) | Method and apparatus for evaluation of motion vectors allocated to image regions | |
DE3636077C2 (en) | Method for masking errors in a video signal and circuit for carrying out the method | |
DE3315148A1 (en) | DIGITAL VISIBILITY DEVICE | |
DE4133590A1 (en) | METHOD FOR CLASSIFYING SIGNALS | |
DE2700252C2 (en) | Procedure for checking defined structures | |
DE19840969C2 (en) | Method and device for optoelectronic determination of the contact patterns on tooth flanks of gear wheels | |
DE3939621C2 (en) | Method and device for capturing brand data in image data | |
DE4323293C2 (en) | Method and scanning arrangement for identifying a code consisting of successive light and dark fields | |
DE3226999A1 (en) | METHOD AND DEVICE FOR DETECTING ANOMALIES IN THE REPRODUCTION OF A PATTERN | |
DE3809448A1 (en) | METHOD FOR EVALUATING THE IMAGE INFORMATION IN AN OPTICAL SURFACE CONTROL BY MEANS OF AN ELECTRONIC SCANING SYSTEM | |
DE10312535A1 (en) | Method and device for geometrically measuring a material strip | |
EP1246452B1 (en) | Method and device for steepening signal transitions in television pictures | |
DE3113440A1 (en) | Method for testing similar objects for defects | |
DE10234085A1 (en) | Analysis of color deviations of images with image sensor involves combining image sensor signals of color channels using computer instructions to generate complementary color channel output signals | |
EP0189860B1 (en) | Method for correcting picture errors | |
DE4406837A1 (en) | Image correction device and method for a camcorder | |
DE2007577C3 (en) | Arrangement for recognizing characters |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
8139 | Disposal/non-payment of the annual fee |