FR2624608A1 - Device for automatic detection of defects in a mixed batch of objects - Google Patents

Device for automatic detection of defects in a mixed batch of objects Download PDF

Info

Publication number
FR2624608A1
FR2624608A1 FR8717339A FR8717339A FR2624608A1 FR 2624608 A1 FR2624608 A1 FR 2624608A1 FR 8717339 A FR8717339 A FR 8717339A FR 8717339 A FR8717339 A FR 8717339A FR 2624608 A1 FR2624608 A1 FR 2624608A1
Authority
FR
France
Prior art keywords
luminance
signal
line
circuit
digital
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.)
Pending
Application number
FR8717339A
Other languages
French (fr)
Inventor
Patrick Delahaye
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TECH BOIS AMEUBLEMENT CENTRE
Original Assignee
TECH BOIS AMEUBLEMENT CENTRE
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by TECH BOIS AMEUBLEMENT CENTRE filed Critical TECH BOIS AMEUBLEMENT CENTRE
Priority to FR8717339A priority Critical patent/FR2624608A1/en
Publication of FR2624608A1 publication Critical patent/FR2624608A1/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C5/00Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
    • B07C5/34Sorting according to other particular properties
    • B07C5/342Sorting according to other particular properties according to optical properties, e.g. colour
    • B07C5/3422Sorting according to other particular properties according to optical properties, e.g. colour using video scanning devices, e.g. TV-cameras

Abstract

The device for automatic detection of defects in a mixed batch of objects comprises a video camera 7 for observing the objects to be inspected 8, 8', means for fixing a luminance threshold corresponding to the observation of objects exhibiting defects, means for comparing the luminance signal delivered by the video camera when observing an object to be inspected with the said luminance threshold, and visual display or alarm means 19, selectively activated when the comparison means detect the exceeding of the said luminance threshold. The device furthermore comprises a cabled processor 30 for real-time and line-by-line processing of the video signal emitted by the camera, in order to produce a normalised video signal which is reset on each line to a set value which can be programmed as a function of the mean value of the luminance of the video signal for the line in question.

Description

Dispositif de detection automatique de defauts dans un lot héte- rogène d'objets.Device for automatic detection of faults in a heterogeneous batch of objects.

La- présente invention a pour objet un dispositif de détection automatique de défauts dans un lot hétérogène d'objets, comprenant une caméra vidéo d'observation des objets à contrôler, des moyens de fixation d'un seuil de luminance correspondant à l'observation d'objets présentant des défauts,. des moyens de comparaison entre le signal de luminance délivré par la caméra vidéo lors de llobservation d'un objet à contrôler et ledit seuil de luminance, et des moyens de visualisation ou d'alarme excités de façon sélective lorsque les moyens de comparaison détectent le franchissement dudit seuil de luminance. The object of the present invention is a device for automatically detecting faults in a heterogeneous batch of objects, comprising a video camera for observing the objects to be checked, means for fixing a luminance threshold corresponding to the observation of '' defective objects. means for comparing the luminance signal delivered by the video camera when observing an object to be checked and said luminance threshold, and display or alarm means selectively excited when the comparison means detect the crossing of said luminance threshold.

L'invention concerne ainsi le domaine de la vision industrielle, à l'aide de caméras vidéo associées à des systèmes de traitement ou d'affichage, et plus particulièrement des techniques de vision industrielle appliquées au contrôle de qualité ainsi qu'au tri ou classement de produits tels que des pièces de bois par exemple. The invention thus relates to the field of machine vision, using video cameras associated with processing or display systems, and more particularly machine vision techniques applied to quality control as well as sorting or classification. products such as pieces of wood for example.

Un dispositif de détection automatique de défauts par système de vision implique a priori le traitement d'un nombre d'informations très élevé. Ainsi, à titre d'exemple, une image issue d'une caméra matricielle de 512 points sur 580 lignes avec 256 niveaux de gris représente plus de 70 millions d'informations elémentaires à traiter en temps réel. A device for automatic detection of faults by vision system implies a priori the processing of a very large number of pieces of information. Thus, for example, an image from a matrix camera of 512 points on 580 lines with 256 levels of gray represents more than 70 million elementary information to be processed in real time.

Pour réduire la masse des informations envoyées au système de traitement afin de ne pas saturer celui-ci, il est possible de transformer l'image complexe de départ en une image formée de points ne définissant que deux niveaux (niveau de blanc et niveau de noir). Ceci est réalisé en comparant à un seuil prédéterminé les valeurs de luminance des divers points de l'image. Pour chaque point il est alors attribué une valeur de niveau de blanc ou de niveau de noir selon que le signal de luminance est supérieur ou inférieur au seuil prédéterminé. To reduce the amount of information sent to the processing system so as not to saturate it, it is possible to transform the initial complex image into an image formed by dots defining only two levels (white level and black level ). This is achieved by comparing the luminance values of the various points of the image to a predetermined threshold. For each point, a white level or black level value is then assigned according to whether the luminance signal is higher or lower than the predetermined threshold.

Ce type de pré-traitement fonctionne bien sur des images homogènes et parfaitement éclairees, mais ne donne pas de résultats satisfaisants dès lors que se présente dans le champ de la caméra un lot hétérogène de produits clairs et de produits foncés, puisque le seuil est identique sur toute l'image. This type of pre-processing works well on homogeneous and perfectly illuminated images, but does not give satisfactory results as soon as there is in the field of the camera a heterogeneous batch of light products and dark products, since the threshold is identical all over the image.

Dans la mesure où le seuil permettant la détection de défauts sur des produits clairs est en fait différent de celui à appliquer dans le cas de produits foncés, des moyens peuvent être mis en oeuvre afin de créer un seuil adaptatif. Insofar as the threshold allowing the detection of faults on light products is in fact different from that to be applied in the case of dark products, means can be implemented in order to create an adaptive threshold.

Selon une première possibilité, on procède par histogramme des niveaux de gris puis au calcul du seuil. Cette solution est puissante puisqu'elle permet de réaliser une opération de comparaison à un seuil sur une fenêtre d'écran, ce qui rend possible le calcul d'un seuil par objet. L'inconvénient majeur d'une telle solution réside dans son temps d'exécution. En effet, il est dans ce cas nécessaire de procéder séquentiellement à une acquisition d'image, une définition des fenêtres, u- calcul dthis- togramme pour chaque fenêtre, un calcul de seuil pour chaque fenêtre et une opération de comparaison avec le seuil déterminé pour chaque fenêtre. Ces différentes opérations impliquent un temps de traitement qui n'est pas compatible avec un traitement en temps réel. According to a first possibility, the grayscale histogram is carried out and then the threshold is calculated. This solution is powerful since it makes it possible to carry out an operation of comparison with a threshold on a screen window, which makes it possible to calculate a threshold per object. The major drawback of such a solution lies in its execution time. Indeed, it is in this case necessary to proceed sequentially to an image acquisition, a definition of the windows, u-calculation of histogram for each window, a calculation of threshold for each window and an operation of comparison with the determined threshold for each window. These different operations imply a processing time which is not compatible with real-time processing.

Selon une seconde possibilité, on procède par calcul du niveau de gris moyens sur l'image à l'aide d'un processeur câblé. According to a second possibility, one proceeds by calculating the average gray level on the image using a wired processor.

Une telle solution permet de tenir compte des variations lentes de luminosité de la scène, mais n'offre pas d'amélioration dès lors que des objets clairs et des objets foncés se trouvent mélangés dans la même scène.Such a solution makes it possible to take account of the slow variations in the brightness of the scene, but does not offer any improvement as soon as light objects and dark objects are mixed in the same scene.

Selon encore une troisième possibilité, le niveau de luminance moyen est mesuré à l'aide d'une cellule déportée et reliée au système de vision. Cette solution présente le mena inconvénient que la précédente et, de plus, amène des problèmes d'interprétation du fait de son temps de réponse par rapport à la caméra ou du fait qu'elle intègre le fond de la scène par exemple. According to yet a third possibility, the average luminance level is measured using a remote cell and connected to the vision system. This solution has the mena disadvantage that the previous one and, moreover, brings problems of interpretation because of its response time compared to the camera or because it integrates the background of the scene for example.

La présente invention vise à remédier aux inconvénients précités eut à permettre de réaliser de façon automatique et fiable, en temps réel, une détection de défauts dans un lot d'objets observés à l'aide d'une caméra vidéo, même si le lot d'objets comprend à la fois des objets clairs et des objets foncés. The present invention aims to remedy the aforementioned drawbacks had to allow automatic and reliable real-time detection of faults in a batch of objects observed using a video camera, even if the batch of objects includes both light and dark objects.

Ces buts sont atteints grâce à un dispositif de détection du type défini en tête de la description, caractérisé en ce qu'il comprend en outre un processeur câblé de traitement en temps réel et ligne par ligne du signal vidéo éllis par la caméra pour produire un signal vidéo normalisé qui est recalé à chaque ligne sur une valeur de consigne programmable en fonction de la valeur moyenne de la luminance du signal vidéo pour la ligne considérée. These aims are achieved by means of a detection device of the type defined at the head of the description, characterized in that it further comprises a wired processor for real-time and line-by-line processing of the video signal elected by the camera to produce a normalized video signal which is readjusted on each line to a programmable reference value as a function of the average value of the luminance of the video signal for the line in question.

Le signal vidéo d'une caméra étant représentatif du niveau de lumière réfléchi par la scène, l'invention vise ainsi à traiter le signal vidéo de manière à obtenir une homogénéité maximale du niveau de luminance moyen, tout en conservant la dynamique d'origine, ce qui s'avère possible du fait du traitement en temps réel et ligne par ligne. L'obtention d'un signal vidéo traité ainsi normalisé permet de minimiser à la fois les problèmes dûs aux variations de teinte des échantillons dans la mena scène, et les problèmes d'homogénéité d'éclairage. The video signal from a camera being representative of the light level reflected by the scene, the invention thus aims to process the video signal so as to obtain maximum homogeneity of the average luminance level, while retaining the original dynamics, which is possible due to the processing in real time and line by line. Obtaining a processed video signal thus normalized makes it possible to minimize both the problems due to variations in the hue of the samples in the mena scene, and the problems of homogeneity of lighting.

Le processeur de signal selon l'invention permet le recalage du signal vidéo, en temps réel, afin d'autoriser une opération de comparaison avec un seuil adapté, non pas image après image, mais ligne après ligne. The signal processor according to the invention allows the registration of the video signal, in real time, in order to authorize a comparison operation with a suitable threshold, not image after image, but line after line.

Ceci est réalisé de façon particulière par le calcul de la valeur moyenne de la luminance de chaque ligne et le verrouil-. This is done in a particular way by calculating the average value of the luminance of each line and locking it.

lage de cette valeur sur une consigne programmable.lage of this value on a programmable reference.

Selon une caractéristique particulière de l'invention, afin de r.e pas faire intervenir dans le calcul de la moyenne les valeurs de luminance appartenant au fond de la scène, il est prévu deux limites programmables au-delà desquelles le calcul du seuil est inhibé. According to a particular characteristic of the invention, in order not to involve the luminance values belonging to the background of the scene in the calculation of the average, two programmable limits are provided beyond which the calculation of the threshold is inhibited.

Cela permet de ne pas faire intervenir dans le calcul du seuil les valeurs de luminance inférieures à la limite basse, donc appartenant au fond dans le cas d'un éclairage supérieur (fond sombre), ou les valeurs supérieures à la limité haute dans le cas diun éclairage inférieur (fond clair).  This makes it possible not to involve in the calculation of the threshold the luminance values lower than the low limit, therefore belonging to the background in the case of a higher lighting (dark background), or the values higher than the high limit in the case diun lower lighting (bright background).

D'autres caractéristiques et avantages de l'invention ressortiront de la description suivante d'un mode particulier de réalisation donné à titre d'exemple, en référence aux dessins annexés sur lesquels
- la figure 1 est un schéma-bloc montrant les fonctions principales d'un dispositif de détection automatique de défauts dans un lot hétérogène d'objets, avec un processeur de recalage selon l'invention,
- la figure 2 est un organigramme montrant la succession d'étapes réalisées dans un processeur de traitement selon l'invention,
- les figures 3 et 4 montrent l'évolution d'un signal de luminance en fonction du temps, la forme d'une valeur moyenne et le positionnnement d'un seuil, et
- la figure 5 est un schéma-bloc d'un processeur de recalage utilisable dans le cadre d'un dispositif de détection selon l'invention, tel que celui représenté de façon schématique sur la figure 1.
Other characteristics and advantages of the invention will emerge from the following description of a particular embodiment given by way of example, with reference to the appended drawings in which
FIG. 1 is a block diagram showing the main functions of an automatic fault detection device in a heterogeneous batch of objects, with a registration processor according to the invention,
FIG. 2 is a flowchart showing the succession of steps carried out in a processing processor according to the invention,
FIGS. 3 and 4 show the evolution of a luminance signal as a function of time, the shape of an average value and the positioning of a threshold, and
FIG. 5 is a block diagram of a registration processor usable in the context of a detection device according to the invention, such as that shown schematically in FIG. 1.

On voit sur la figure 1 le schéma d'ensemble d'un dispositif de détection de défauts dans un lot hétérpgène d'objets 8, qui peuvent être constitués par exemple par un mélange de planchettes de bois clair et de planchettes de bois foncé. Les objets 8 à observer peuvent par exemple être placés sur un moyen de transport 80, tel qu'un convoyeur à bande, qui amène les lots d'objets 8 successivement dans le champ d'une caméra vidéo 7 dont les signaux sont appliqués à un système de traitement 9 destiné à comparer les signaux de luminance délivrés par la caméra vidéo 7 lors de l'observation d'objets à contrôler 8, à un seuil de luminance prédéterminé S fixé de manière à correspondre à l'observation d'objets présentant des défauts, tel que l'objet 8' par exemple. FIG. 1 shows the overall diagram of a device for detecting faults in a heterogeneous batch of objects 8, which may consist, for example, of a mixture of light wooden boards and dark wooden boards. The objects 8 to be observed can for example be placed on a means of transport 80, such as a conveyor belt, which brings the batches of objects 8 successively into the field of a video camera 7 whose signals are applied to a processing system 9 intended to compare the luminance signals delivered by the video camera 7 during the observation of objects to be controlled 8, with a predetermined luminance threshold S fixed so as to correspond to the observation of objects exhibiting faults, such as the 8 'object for example.

Des moyens de visualisation ou d'alarme 19 reliés au système de traitement 9 sont excités de façon sélective lorsque les moyens de comparaison détectent le franchissement du seuil de luminance S.Display or alarm means 19 connected to the processing system 9 are selectively excited when the comparison means detect the crossing of the luminance threshold S.

Un détecteur 81 de la présence d'objets dans le champ de la caméra 7, et/ou de contrôle du défilement du convoyeur 80 émet un signal
D qui peut être appliqué système de traitement 9 pour permettre l'identification des objets observés 8' ayant fait l'objet d'une détection de défaut.
A detector 81 for the presence of objects in the field of the camera 7, and / or for controlling the movement of the conveyor 80 emits a signal
D which can be applied processing system 9 to allow the identification of the observed objects 8 'which have been the subject of a fault detection.

Comme représenté sur la figure 1, un processeur de prétraitement 30 reçoit les signaux vidéo émis par la caméra 7, qui peut être par exemple une caméra matricielle noir et blanc de 512 points sur 580 lignes avec 256 niveaux de gris. Les signaux pré-traités issus du processeur câblé 30 de pré-traitement sont ensuite appliqués au système de traitement 9 qui peut lui-même être classique. As shown in FIG. 1, a preprocessing processor 30 receives the video signals emitted by the camera 7, which can for example be a black and white matrix camera of 512 points on 580 lines with 256 levels of gray. The pre-processed signals from the pre-processed cable processor 30 are then applied to the processing system 9 which may itself be conventional.

Le processeur câblé 30 vise essentiellement à réaliser le calcul en temps réel du niveau de gris moyen ligne par ligne, et non image par image, afin de déterminer en temps réel un seuil adapté ligne par ligne qui permet de délivrer au système de traitement 7 une image fortement pré-traitée. The wired processor 30 essentially aims to carry out the real-time calculation of the average gray level line by line, and not image by image, in order to determine in real time a suitable threshold line by line which makes it possible to deliver to the processing system 7 a strongly pre-processed image.

Selon un premier mode de réalisation possible, la valeur moyenne par ligne est pondérée afin de constituer un seuil adapté permettant l'obtention d'un image binaire qui est appliquée au système de traitement 9 pour faire l'objet d'une comparaison avec le seuil prédéterminé S et permettre la délivrance d'une information spécifique en cas de franchissement de -ce seuil se traduisant par la présence d'un défaut dans la champ de vision de la caméra. According to a first possible embodiment, the average value per line is weighted in order to constitute a suitable threshold allowing the obtaining of a binary image which is applied to the processing system 9 to be the subject of a comparison with the threshold predetermined S and allow the delivery of specific information in case of crossing of this threshold resulting in the presence of a defect in the field of vision of the camera.

Selon un second mode de réalisation possible, la valeur de la moyenne par ligne sert- de niveau de verrouillage (selon la technique dite de "clamping") dans un étage de réalignement du niveau infra-noir du signal vidéo. L'information produite par le processeur -câblé et fournie au système de traitement 9 est alors une image en niveaux de gris dont chaque ligne est pondérée par la valeur moyenne de la ligne précédente. According to a second possible embodiment, the value of the average per line serves as a locking level (according to the so-called "clamping" technique) in a stage for realigning the infrared level of the video signal. The information produced by the wired processor and supplied to the processing system 9 is then a grayscale image, each line of which is weighted by the average value of the previous line.

Les figures 3 et 4 représentent un exemple de la forme de la luminance d'un signal vidéo V en fonction du temps sur deux lignes successives de balayage d'une image vidéo, la figure 3 correspondant à une première ligne comprise entre les instants T-l et
TO et la figure 4 correspondant à une seconde ligne comprise - entre les instants TO et T+1.
FIGS. 3 and 4 represent an example of the shape of the luminance of a video signal V as a function of time over two successive lines for scanning a video image, FIG. 3 corresponding to a first line between the instants T1 and
TO and FIG. 4 corresponding to a second line included - between the instants TO and T + 1.

Sur la figure 3, S désigne le seuil établi de manière à correspondre à la moyenne à l'instant T-l et M désigne la valeur moyenne du signal vidéo V déterminée par le processeur 30 à partir du signal vidéo V entre les instants T-l et TO. In FIG. 3, S designates the threshold established so as to correspond to the average at time T-1 and M designates the average value of the video signal V determined by the processor 30 from the video signal V between the instants T-1 and TO.

Sur la figure 4, S désigne le seuil établi de manière à correspondre à la moyenne à l'instant TO et M désigne la valeur moyenne du signal vidéo V déterminée par le processeur 30 à partir du signal vidéo V entre les instants TO et T+1. In FIG. 4, S designates the threshold established so as to correspond to the average at the time TO and M designates the average value of the video signal V determined by the processor 30 from the video signal V between the instants TO and T + 1.

Sur les figures 3 et 4, L1 et L2 représentent deux limites programmables basse et haute au-delà desquelles le calcul de la moyenne est inhibé. Cela permet de ne pas faire intervenir dans le calcul du seuil les valeurs de luminance inférieures à la limite L1, donc appartenant au fond dans le cas d'un éclairage supérieur (fond noir) ou les valeurs de luminance supérieures à la limite haute L2 dans le cas d'un éclairage inférieur (fond ciair).  In Figures 3 and 4, L1 and L2 represent two low and high programmable limits beyond which the averaging is inhibited. This makes it possible not to involve in the calculation of the threshold the luminance values lower than the limit L1, therefore belonging to the background in the case of a higher lighting (black background) or the luminance values higher than the high limit L2 in the case of lower lighting (sky background).

Les opérations principales effectuées par le processeur câblé 30 sont représentées sur l'organigramme de la figure 2. The main operations performed by the wired processor 30 are shown in the flow diagram of FIG. 2.

Lors d'une première étape 101 le processeur effectue une mesure de la luminance du signal d'entrée. During a first step 101, the processor measures the luminance of the input signal.

Dans une seconde étape 102, le processeur effectue un test pour déterminer si la valeur de luminance mesurée est comprise ou non dans les limites prédéterminées L1 et L2 (figures 3 et 4). In a second step 102, the processor performs a test to determine whether the measured luminance value is included or not within the predetermined limits L1 and L2 (FIGS. 3 and 4).

Si ce n'est pas le cas, il y a retour à l'étape 101. Si en revanche, la valeur de luminance mesurée est bien comprise entre L1 et L2, le processeur passe à l'étape suivante 103 qui comprend le calcul de la valeur moyenne du signal de luminance.If this is not the case, there is a return to step 101. If on the other hand, the measured luminance value is indeed between L1 and L2, the processor proceeds to the next step 103 which includes the calculation of the average value of the luminance signal.

Après l'étape 103, le processeur effectue le test 104 consistant à examiner si l'on a atteint la fin d'une ligne vidéo. After step 103, the processor performs the test 104 consisting in examining whether the end of a video line has been reached.

Si ce n'est pas le cas, il y a retour à l'étape initiale 101 de mesure de luminance. Si en revanche, le test 104 permet de constater que l'on est parvenu à la fin d'une ligne vidéo, il y a passage à une étape 105 de calcul de l'écart X constitué par la valeur algébrique de la différence entre une valeur de consigne et la valeur moyenne calculée en dernier lieu à l'étape 103. L'étape suivante 106 consista à ajouter la valeur algçbrique X au signal de luminance de sortie pour fournir en sortie du processeur 30 un signal pré-traité recalé sur une valeur de consigne, et donc "normalisé", ce qui permet bien de s'affranchir ensuite, lors du traitement par le système de traitement 9, des fluctuations dues aux problèmes d'hétérogénéité d'éclairage ou aux variations de teinte des échantillons (par exemple planchettes ou feuillets de bois) de la même scène.If this is not the case, there is a return to the initial step 101 of luminance measurement. If, on the other hand, the test 104 makes it possible to note that one has reached the end of a video line, there is passage to a step 105 of calculating the difference X constituted by the algebraic value of the difference between a setpoint and the average value last calculated in step 103. The next step 106 consisted in adding the algebraic value X to the output luminance signal in order to provide at the output of processor 30 a pre-processed signal readjusted on a setpoint, and therefore "normalized", which then makes it possible to overcome, during processing by the processing system 9, fluctuations due to problems of heterogeneity of lighting or variations in shade of the samples (by example planks or wooden sheets) of the same scene.

La figure 1 montre sous forme de schéma-bloc les principaux modules fonctionnels du processeur 30 de recalage du signal de luminance Le signal d'entrée issu de la caméra vidéo 7 est appliqué à un étage 1 de conversion analogique-numérique. Les signaux numériques issus de l'étage 1 sont appliques d'une part à un module 2 de calcul de la moyenne par ligne vidéo, à l'intérieur de limites basse et haute L1 et L2, et d'autre part, à un étage de correction 5. La valeur algébrique de l'écart X entre une valeur de consigne fournie par une mémoire 3 et la valeur moyenne par ligne vidéo issue du module de calcul 2 est déterminée par un module soustracteur 4 et est appliquée à l'étage de correction 5 pour être additionnée algébriquement à la valeur numérique issue de l'étage 1 de conversion analogique-numérique. Le signal corrigé issu de l'étage de correction 5 est appliqué à un étage 6 de conversion numérique-analogique qui fournit un signal de sortie analogique pré-traité conforme aux normes des signaux vidéo classiques, pour être appliqué au système de traitement 9 qui peut lui-même être classique. FIG. 1 shows in the form of a block diagram the main functional modules of the processor 30 for registration of the luminance signal. The input signal from the video camera 7 is applied to a stage 1 of analog-digital conversion. The digital signals from stage 1 are applied on the one hand to a module 2 for calculating the average per video line, within low and high limits L1 and L2, and on the other hand, to a stage of correction 5. The algebraic value of the difference X between a set value provided by a memory 3 and the average value per video line coming from the calculation module 2 is determined by a subtractor module 4 and is applied to the stage of correction 5 to be added algebraically to the digital value from stage 1 of analog-digital conversion. The corrected signal coming from the correction stage 5 is applied to a digital-analog conversion stage 6 which provides a pre-processed analog output signal conforming to the standards of conventional video signals, to be applied to the processing system 9 which can itself be classic.

La figure 5 montre de façon plus complète sous forme de schéma-bloc les modules réalisables électroniquement qui assurent les fonctions élémentaires du processeur câblé 30. Le processeur câblé 30 de traitement du signal comprend en premier lieu un circuit séparateur 10 recevant les signaux délivrés par la caméra vidéo 7 pour fournir en sortie d'une part des signaux de synchronisation ligne et trame, eut d'autre part un signal de luminance. FIG. 5 shows in a more complete way in the form of a block diagram the electronically realizable modules which ensure the elementary functions of the wired processor 30. The wired processor 30 for signal processing comprises first of all a separator circuit 10 receiving the signals delivered by the video camera 7 to provide on the one hand line and frame synchronization signals, on the other hand a luminance signal.

Un convertisseur analogique-numérique 11 reçoit an entrée le signal de luminance issu du circuit séparateur 10. Un circuit 25 de mise en mémoire des valeurs de luminance délivrées par le convertisseur analogique-numérique 11, est relié à des circuits logiques de séquencement 12 commandés par lesdits signaux de synchronisation ligne et trame. Un sous-ensemble de calcul de moyenne en temps réel par ligne vidéo comprend un circuit additionneur 26, un compteur de points 27 et un circuit diviseur 28.Un circuit soustracteur 4 pour déterminer la valeur et le signe du décalage existant entre la valeur moyenne calculée dans le sous-ensemble 26, 27, 28, et délivrée par le circuit diviseur 28 et une valeur de consigne contenue dans une mémoire de consigne 3 fournit une valeur de décalage X à un circuit additionneur 5 qui décale le signal de sortie du convertisseur analogique-numérique 11 en ajoutant algébriquement aux valeurs numériques issues du convertisseur 11 la valeur de décalage issue du circuit soustracteur 4.Un convertisseur numérique-analogique 6 transforme les nombres issus du circuit additionneur 5 en un signal analogique représentant la luminance du signal de sortie, et un amplificateur de sortie 61 assure la combinaison des signaux de synchronisation issus du circuit séparateur 10 et du signal de luminance issu du convertisseur numérique-analogique 6 pour recréer un signal vidéo composite CCIR. L'amplificateur de sortie 61 permet également l'adaptation d'impédance par exemple 75 ohms.An analog-digital converter 11 receives the luminance signal from the separator circuit 10 as an input. A circuit 25 for storing the luminance values delivered by the analog-digital converter 11 is connected to sequencing logic circuits 12 controlled by said line and frame synchronization signals. A real-time averaging sub-assembly per video line comprises an adder circuit 26, a point counter 27 and a divider circuit 28. A subtractor circuit 4 for determining the value and the sign of the offset existing between the calculated average value in the sub-assembly 26, 27, 28, and delivered by the divider circuit 28 and a setpoint value contained in a setpoint memory 3 provides an offset value X to an adder circuit 5 which shifts the output signal of the analog converter -digital 11 by adding algebraically to the digital values from the converter 11 the offset value from the subtractor circuit 4.A digital-analog converter 6 transforms the numbers from the adder circuit 5 into an analog signal representing the luminance of the output signal, and an output amplifier 61 ensures the combination of the synchronization signals from the separator circuit 10 and the luminance signal from the conver digital-analog weaver 6 to recreate a CCIR composite video signal. The output amplifier 61 also makes it possible to adapt the impedance, for example 75 ohms.

Le processeur câblé 30 de traitement du signal comprend en outre une mémoire 21 de valeur limite haute de luminance et une mémoire 22 de valeur limite basse de luminance, ainsi que deux comparateurs 23, 24. Le premier comparateur 23 reçoit d'une part le signal numérique issu du convertisseur analogique-numérique 11 et d'autre part la valeur limite haute stockée dans la mémoire 21 tendis que le second comparateur 24 reçoit d'une part le signal numérique issu du convertisseur analogique-numérique Il et d'autre part la valeur limite basse stockée dans la mémoire 22. Les sorties des premier et second comparateurs 23, 24 sont reliées à la mémoire 25 de valeur de luminance pour limiter le calcul de moyenne aux valeurs de luminance comprises entre les limites haute et basse.  The wired signal processing processor 30 further comprises a high luminance limit value memory 21 and a low luminance limit value memory 22, as well as two comparators 23, 24. The first comparator 23 receives the signal on the one hand digital output from the analog-digital converter 11 and on the other hand the high limit value stored in the memory 21 while the second comparator 24 receives on the one hand the digital signal from the analog-digital converter II and on the other hand the value low limit stored in the memory 22. The outputs of the first and second comparators 23, 24 are connected to the luminance value memory 25 to limit the averaging to the luminance values between the high and low limits.

Claims (6)

REVENDICATIONS 1. Dispositif de détection automatique de défauts dans un lot hétérogène d'objets, comprenant une camera vidéo(7) d'observation des objets à contrôler (8,8'), des moyens de fixation d'un seuil de luminance correspondant à l'observation d'objets présentant des défauts, des moyens de comparaison entre le signal de luminance délivré par la caméra vidéo lors de l'observation d'un objet à eontrôler et ledit seuil de luminance, et des moyens de visualisation ou d'alarme (19) excités de façon sélective lorsque les moyens de comparaison détectent le franchissement dudit seuil de luminance, caractérisé en ce qu'il comprend en outre un processeur câblé (30) de traitement en temps réel et ligne par ligne du signal vidéo émis par la caméra pour produire un signal vidéo normalisé qui est recalé à chaque ligne sur une valeur de consigne programmable en fonction de la valeur moyenne de la luminance du signal vidéo pour la ligne considérée.1. Device for automatically detecting faults in a heterogeneous batch of objects, comprising a video camera (7) for observing the objects to be checked (8.8 ′), means for fixing a luminance threshold corresponding to l observation of objects presenting defects, means of comparison between the luminance signal delivered by the video camera during the observation of an object to be checked and said luminance threshold, and means of display or alarm ( 19) selectively excited when the comparison means detect the crossing of said luminance threshold, characterized in that it further comprises a wired processor (30) for real-time and line-by-line processing of the video signal emitted by the camera to produce a standardized video signal which is readjusted on each line to a programmable reference value as a function of the average value of the luminance of the video signal for the line in question. 2. Dispositif selon la revendication 1, caractérise en ce que le processeur câblé comprend en outre des moyens pour limiter la détermination de la valeur moyenne de la luminance du signal vidéo à chaque ligne aux valeurs de luminance comprises entre une valeur limite inférieure (L1) et une valeur limite supérieure (L2).2. Device according to claim 1, characterized in that the wired processor further comprises means for limiting the determination of the average value of the luminance of the video signal at each line to the luminance values comprised between a lower limit value (L1) and an upper limit value (L2). 3. Dispositif selon la revendication 1 ou la revendication 2, caractérisé en ce que le processeur câblé de traitement do signal comprend un circuit séparateur (10) recevant les signaux délivrés par la caméra vidéo pour fournir en sortie d'une part des signaux de synchronisation ligne et trame, et d'autre part, un signal de luminance; un convertisseur analogique-numérique (11) recevant en entrée le signal de luminance issu du circuit séparateur (10); un circuit (25) de mise en mémoire des valeurs de luminance délivrées par le convertisseur analogique-numérique (11), lequel circuit (25) de mise en mémoire est relié à des circuits logiques de séquencement (12) commandés par lesdits signaux de synchronisation ligne et trame; un sous-ensemble de calcul de moyenne en temps réel par ligne vidéo comprenant un circuit addi tionneur (26), un compteur de points (27) et un circuit diviseur (28); un circuit soustracteur (4) pour déterminer la valeur et le signe du décalage existant entre la valeur moyenne calculée et une valeur de consigne contenue dans une mémoire de consigne (3), un circuit additionneur (5) pour décaler le signal de sortie du convertisseur analogique-numérique (11) en ajoutant algébriquement aux valeurs numériques issues du convertisseur (11) la valeur de décalage issue du circuit soustracteur (4), un convertisseur numériqueanalogique (6) pour transformer les nombres issus du circuit additionneur (5) en un signal analogique représentant la luminance du signal de sortie, et un amplificateur de sortie (61) assurant la combinaison des signaux de synchronisation issus du circuit séparateur (10) et du signal de luminance issu du convertisseur numérique-analogique (6) pour recréer un signal vidéo composite CCIR.3. Device according to claim 1 or claim 2, characterized in that the wired signal processing processor comprises a splitter circuit (10) receiving the signals delivered by the video camera to provide on the one hand synchronization signals line and frame, and on the other hand, a luminance signal; an analog-digital converter (11) receiving as input the luminance signal coming from the separator circuit (10); a circuit (25) for storing the luminance values delivered by the analog-digital converter (11), which circuit (25) for storing is connected to logic sequencing circuits (12) controlled by said synchronization signals line and frame; a real-time averaging sub-assembly per video line comprising an addition circuit (26), a point counter (27) and a divider circuit (28); a subtractor circuit (4) for determining the value and the sign of the offset existing between the calculated average value and a reference value contained in a reference memory (3), an adder circuit (5) for shifting the output signal of the converter analog-digital (11) by adding algebraically to the digital values from the converter (11) the offset value from the subtractor circuit (4), a digital analog converter (6) to transform the numbers from the adder circuit (5) into a signal analog representing the luminance of the output signal, and an output amplifier (61) ensuring the combination of the synchronization signals from the separator circuit (10) and the luminance signal from the digital-analog converter (6) to recreate a video signal CCIR composite. 4. Dispositif selon la revendication 2 ou la revendication 3, caractérisé en ce que le processeur câblé de traitement du signal comprend en outre une mémoire (21) de valeur limite haute de luminance et une mémoire (22) de valeur limite basse de luminance, un premier comparateur (23) pour recevoir d'une part le signal numérique issu du convertisseur analogique-numérique (11) et d'autre part la valeur limite haute stockée dans la mémoire (21), un second comparateur (24) pour recevoir d'une part le signal numérique issu du convertisseur analogique-numérique (11) et d'autre part la valeur limite basse stockée dans la mémoire (22), les sorties des premier et second comparateurs (23, 24) étant reliées à la mémoire (25) de valeur de luminance pour limiter le calcul de moyenne aux valeurs de luminance comprises entre les limites haute et basse.4. Device according to claim 2 or claim 3, characterized in that the wired signal processing processor further comprises a memory (21) of high luminance limit value and a memory (22) of low luminance limit value, a first comparator (23) for receiving on the one hand the digital signal coming from the analog-digital converter (11) and on the other hand the high limit value stored in the memory (21), a second comparator (24) for receiving d on the one hand the digital signal coming from the analog-digital converter (11) and on the other hand the low limit value stored in the memory (22), the outputs of the first and second comparators (23, 24) being connected to the memory ( 25) luminance value to limit the averaging to luminance values between the high and low limits. 5. Dispositif selon l'une quelconque des revendications 1 à 4, caractérisé en ce qu'il est appliqué à l'observation d'un lot hétérogène d'objets clairs et foncés, tels que des planchettes ou feuillets de bois.5. Device according to any one of claims 1 to 4, characterized in that it is applied to the observation of a heterogeneous batch of light and dark objects, such as boards or sheets of wood. 6. Dispositif selon l'une quelconque des revendications 1 à 5, caractérisé en ce que la caméra vidéo est une caméra matricielle d'au moins 512 points sur 580 lignes. 6. Device according to any one of claims 1 to 5, characterized in that the video camera is a matrix camera of at least 512 points on 580 lines.
FR8717339A 1987-12-11 1987-12-11 Device for automatic detection of defects in a mixed batch of objects Pending FR2624608A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
FR8717339A FR2624608A1 (en) 1987-12-11 1987-12-11 Device for automatic detection of defects in a mixed batch of objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FR8717339A FR2624608A1 (en) 1987-12-11 1987-12-11 Device for automatic detection of defects in a mixed batch of objects

Publications (1)

Publication Number Publication Date
FR2624608A1 true FR2624608A1 (en) 1989-06-16

Family

ID=9357794

Family Applications (1)

Application Number Title Priority Date Filing Date
FR8717339A Pending FR2624608A1 (en) 1987-12-11 1987-12-11 Device for automatic detection of defects in a mixed batch of objects

Country Status (1)

Country Link
FR (1) FR2624608A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993025894A1 (en) * 1992-06-10 1993-12-23 Fagus-Grecon Greten Gmbh & Co. Kg Process for calibrating an image processing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3920970A (en) * 1974-04-30 1975-11-18 Intec Corp Laser scanner flaw detection system using baseline follower signal processing
EP0025284A1 (en) * 1979-08-22 1981-03-18 Oy Partek Ab A method and apparatus for the classification of articles which are in a state of motion
EP0032592A1 (en) * 1980-01-14 1981-07-29 TASCO S.p.A. Method and apparatus for real time detection of faults in industrial objects
EP0146005B1 (en) * 1983-11-26 1991-08-28 Kabushiki Kaisha Toshiba Surface defect inspecting apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3920970A (en) * 1974-04-30 1975-11-18 Intec Corp Laser scanner flaw detection system using baseline follower signal processing
EP0025284A1 (en) * 1979-08-22 1981-03-18 Oy Partek Ab A method and apparatus for the classification of articles which are in a state of motion
EP0032592A1 (en) * 1980-01-14 1981-07-29 TASCO S.p.A. Method and apparatus for real time detection of faults in industrial objects
EP0146005B1 (en) * 1983-11-26 1991-08-28 Kabushiki Kaisha Toshiba Surface defect inspecting apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993025894A1 (en) * 1992-06-10 1993-12-23 Fagus-Grecon Greten Gmbh & Co. Kg Process for calibrating an image processing system

Similar Documents

Publication Publication Date Title
CN108445007B (en) Detection method and detection device based on image fusion
CA1205885A (en) Automated control method and device for assessing the transparency of objects, especially containers
EP2225608B1 (en) Device for evaluating the surface of a tyre
JP4707605B2 (en) Image inspection method and image inspection apparatus using the method
EP1241467A2 (en) Inspection device and system for inspecting foreign matters in liquid filled in transparent container
FR2721400A1 (en) Fog detection system for use on vehicle
JP6303352B2 (en) Appearance inspection system
FR2726085A1 (en) GLASS OBJECT INSPECTION MACHINE
US20210356404A1 (en) Automated inspection of foreign materials, cracks and other surface anomalies
US7599576B2 (en) Image subtraction of illumination artifacts
US6765224B1 (en) Machine vision method and system for the inspection of a material
FR2624608A1 (en) Device for automatic detection of defects in a mixed batch of objects
KR101993654B1 (en) Inspecting apparatus mura of display panel and method thereof
US20210264639A1 (en) Determination of defects in light sources integrated with cameras
EP0692714A1 (en) Process and device for recognizing geometric characteristics of parallelepipedic parts of polygonal cross section
JPH10104076A (en) Method and system for inspecting mixture of foreign matter
JP2002267613A (en) Device and system for detecting foreign matter in liquid filled in transparent container or the like
FR2949893A1 (en) METHOD FOR AIDING THE IDENTIFICATION OF NON-COMPLIANT PRODUCTS MANUALLY SORTED AND INSTALLATION FOR ITS IMPLEMENTATION
FR2736718A1 (en) METHOD AND DEVICE FOR OPTICALLY DETECTING A FAULT OF HERMETICITY OF A CONTAINER CONTAINING A GASEOUS LIQUID
JPH05164703A (en) Inspecting method for surface of workpiece
JP2818347B2 (en) Appearance inspection device
JP2807599B2 (en) Semiconductor chip appearance inspection device
JP3175347B2 (en) Inspection method for foreign substances in sheet products
FR2655502A1 (en) PROCESSOR FOR PROCESSING IMAGES WITH COMPENSATION OF VARIATIONS OF THE ILLUMINATION AND METHOD FOR EXECUTING SUCH COMPENSATION.
JP2756738B2 (en) Apparatus for visual inspection of semiconductor devices