FR3054707A3 - METHOD FOR ACQUIRING COLOR IMAGES UNDER INCOMING AMBIENT LIGHTING - Google Patents
METHOD FOR ACQUIRING COLOR IMAGES UNDER INCOMING AMBIENT LIGHTING Download PDFInfo
- Publication number
- FR3054707A3 FR3054707A3 FR1670409A FR1670409A FR3054707A3 FR 3054707 A3 FR3054707 A3 FR 3054707A3 FR 1670409 A FR1670409 A FR 1670409A FR 1670409 A FR1670409 A FR 1670409A FR 3054707 A3 FR3054707 A3 FR 3054707A3
- Authority
- FR
- France
- Prior art keywords
- image
- multicolored
- acquisition
- color
- brightness
- 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 16
- 238000001228 spectrum Methods 0.000 claims abstract description 16
- 230000000694 effects Effects 0.000 claims abstract description 5
- 238000004458 analytical method Methods 0.000 claims description 10
- 230000003247 decreasing effect Effects 0.000 claims description 4
- 230000000717 retained effect Effects 0.000 claims description 4
- 238000005286 illumination Methods 0.000 claims description 3
- 238000001429 visible spectrum Methods 0.000 claims description 2
- 239000003086 colorant Substances 0.000 abstract description 21
- 239000000976 ink Substances 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000005855 radiation Effects 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 2
- 230000001788 irregular Effects 0.000 description 2
- 238000004611 spectroscopical analysis Methods 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
- 238000009738 saturating Methods 0.000 description 1
- 229910052709 silver Inorganic materials 0.000 description 1
- 239000004332 silver Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06046—Constructional details
- G06K19/0614—Constructional details the marking being selective to wavelength, e.g. color barcode or barcodes only visible under UV or IR
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/146—Methods for optical code recognition the method including quality enhancement steps
- G06K7/1465—Methods for optical code recognition the method including quality enhancement steps using several successive scans of the optical code
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Quality & Reliability (AREA)
- Spectrometry And Color Measurement (AREA)
Abstract
On compare deux acquisitions successives d'un objet multicolore qui peut être un code-barres, dont l'une est faite sous un éclairage ambiant qui peut être inconnu, et une l'autre en ajoutant un éclairage sensiblement blanc dont le spectre est connu. Par comparaison de ces deux acquisitions, on peut obtenir l'effet de cet éclairage connu, ce qui permet de déduire les couleurs des modules constituant le code-barres multicolore et donc de le décoder.We compare two successive acquisitions of a multicolored object that may be a barcode, one of which is made under ambient lighting that may be unknown, and the other by adding a substantially white light whose spectrum is known. By comparing these two acquisitions, we can obtain the effect of this known lighting, which allows to deduce the colors of the modules constituting the multicolored barcode and thus to decode.
Description
Procédé d’acquisition d’images en couleurs sous éclairage ambiant inconnu Domaine d’application L’invention est une méthode d’acquisition d’images en couleurs, qui s’applique en particulier à la reproduction de photographies en couleurs et à l’utilisation de codes à lecture optiques..Method for acquiring color images under unknown ambient lighting Area of application The invention is a method for acquiring color images, which is particularly applicable to the reproduction of color photographs and to the use of images. Optical reading codes.
Un code à lecture optique est une symbologie, c'est-à-dire une représentation graphique d'un ensemble de données. Divers formats ont été proposés pour codifier la manière de produire une image qui correspond de manière biunivoque à des données en entrée. Parmi ces formats, on compte par exemple : Datamatrix (ISO/IEC 16022), Maxicode (ISO/IEC 16023), QR-Code (ISO/IEC 18004), entre autres.An optical read code is a symbology, that is, a graphical representation of a set of data. Various formats have been proposed for coding how to produce an image that corresponds one-to-one with input data. These formats include: Datamatrix (ISO / IEC 16022), Maxicode (ISO / IEC 16023), QR-Code (ISO / IEC 18004), among others.
Les codes optiques sont composés d'un ensemble de traits ou points appelés cellules élémentaires considérés comme sombres ou clairs en fonction d’une règle choisie par leur concepteur. Problème poséOptical codes are composed of a set of lines or points called elementary cells considered as dark or clear according to a rule chosen by their designer. Problem
Lorsque l’on photographie un objet coloré, les couleurs observées dépendent du spectre de la source lumineuse éclairant l’objet.When photographing a colored object, the colors observed depend on the spectrum of the light source illuminating the object.
Lorsque l’on est dans le noir, il est habituel d’utiliser une lumière blanche afin que chaque couleur de l’objet soit reflétée. En revanche, si l’on utilise une lumière qui ne comporte pas le même niveau de chacune des radiations composant la lumière blanche mais un spectre irrégulier, les couleurs réfléchies ne sont pas celles qui auraient été réfléchies par une lumière blanche. Par exemple, si l’on utilise une source lumineuse dont le spectre comprend essentiellement des radiations correspondant aux couleurs rouge, vert et bleu, c'est-à-dire un blanc d’ordre supérieur, on a l’impression de disposer d’un éclairage blanc mais les couleurs de l’objet qui ne font pas partie de ces trois séries de radiations ne sont pas réfléchies. Il en résulte une erreur dans l’appréciation des couleurs de l’objet.When one is in the dark, it is usual to use a white light so that each color of the object is reflected. On the other hand, if one uses a light which does not have the same level of each of the radiations composing the white light but an irregular spectrum, the reflected colors are not those which would have been reflected by a white light. For example, if we use a light source whose spectrum essentially comprises radiations corresponding to the colors red, green and blue, that is to say a higher order white, we have the impression of having a white light but the colors of the object that are not part of these three sets of radiation are not reflected. This results in an error in the appreciation of the colors of the object.
Ceci limite considérablement les applications des codes barres en couleurs, qui permettent d’augmenter le nombre de combinaisons possibles d’un code-barres, sans augmenter pour autant la surface qu’ils occupent, car on ne maîtrise en général pas le spectre de l’éclairage ambiant, ou on ne le connaît pas si l’on ne dispose pas d’un spectromètre.This considerably limits the applications of color barcodes, which make it possible to increase the number of possible combinations of a barcode, without increasing the surface area they occupy, since the spectrum of the barcode is generally not controlled. ambient lighting, or we do not know if we do not have a spectrometer.
Art antérieurPrior art
Une acquisition de couleurs imprécise est souvent sans importance, mais il y a de nombreux cas où l’on souhaite que la couleur mesurée soit la plus exacte possible. C’est le cas lors de la reproduction du résultat d’une analyse spectrographique par exemple, mais le cas le plus courant est la réalisation de codes barres en couleurs, qui ont l’avantage de permettre la représentation de plus d’informations sur une surface donnée. Il y a eu de nombreuses tentatives pour mesurer la couleur des cellules élémentaires d’un code-barres, mais aucune n’a réussi parce que l’éclairage ambiant n’est pas toujours blanc, ce qui peut fausser l’appréciation des couleurs.Inaccurate color acquisition is often unimportant, but there are many cases where it is desired that the measured color be as accurate as possible. This is the case when reproducing the result of a spectrographic analysis, for example, but the most common case is the realization of color barcodes, which have the advantage of allowing the representation of more information on a specific object. given surface. There have been numerous attempts to measure the color of the elementary cells of a barcode, but none have succeeded because the ambient lighting is not always white, which can distort color appreciation.
Le brevet initial des codes-barres - US 2612994 du 20 octobre 1949 - a été déposé par deux étudiants américains, Norman Joseph Woodland et Bernard Silver, et ο n connaît les brevets de Wei Ming (Konika Minolta) US7823797B2 et US8215556B2, qui décrivent des codes-barres en couleur munis d'une palette d'échantillons des couleurs utiliséesThe original barcode patent - US 2612994 of October 20, 1949 - was filed by two American students, Norman Joseph Woodland and Bernard Silver, and is known from the patents of Wei Ming (Konika Minolta) US7823797B2 and US8215556B2, which describe color barcodes with a color palette used
On connaît aussi les trois brevets suivants : US 2002/066786 Al (Saito Takahiro [JP] 6 juin 2002 (2002-06-06), US 2013/126618 Al (Gaop Wenliang [US] 23 mai 2013 (2013-05-23) et WP01/24106 Al (Sicpa Holging SA [CH]) 5 avril 2001 (2001-04-05), qui proposent tous d’éclairer un code barres multicolores successivement par plusieurs sources de lumière monochromes, pour faire apparaître à chaque fois l’une des couleurs correspondantes du code barres considéré.The following three patents are also known: US 2002/066786 Al (Saito Takahiro [JP] Jun 6, 2002 (2002-06-06), US 2013/126618 Al (Gaop Wenliang [US] May 23, 2013 (2013-05-23 ) and WP01 / 24106 Al (Sicpa Holging SA [CH]) April 5, 2001 (2001-04-05), all of which propose to illuminate a multicolored bar code successively by several monochrome light sources, in order to show each time the one of the corresponding colors of the bar code considered.
Aucune de ces solutions ne permet d’acquérir une image en couleurs lorsque l’on ne dispose que d’un éclairage ambiant dont on ne connaît pas forcément le spectre photométrique, et d’une lumière sensiblement blanche produite par un flash comme celui d’un appareil photographique. Exposé de l’invention L'invention est un procédé d’acquisition d’une image d’un objet multicolore, caractérisé par le fait qu’il consiste : - à acquérir successivement avec un moyen d'acquisition comme une caméra deux vues de l’objet multicolore, en faisant varier l'éclairage, l'une des acquisitions étant faite sous un éclairage ambiant et l’autre en ajoutant à cet éclairage ambiant une source de lumière multi chromatique dite supplémentaire, dont le spectre est connu, qui recouvre sensiblement tout le spectre du spectre visible comme par exemple un flash d’appareil photographique, - et à comparer les deux acquisitions pour en déduire l'effet de l'ajout de ladite source de lumière supplémentaire.None of these solutions makes it possible to acquire a color image when only ambient lighting is available whose photometric spectrum is not known, and a substantially white light produced by a flash such as that of a camera. DESCRIPTION OF THE INVENTION The invention is a method of acquiring an image of a multicolored object, characterized in that it consists in: - acquiring successively with an acquisition means such as a camera two views of the multicolored object, by varying the lighting, one of the acquisitions being made under ambient lighting and the other by adding to this ambient lighting a so-called additional multi-chromatic light source, whose spectrum is known, which covers substantially the entire spectrum of the visible spectrum, such as a camera flash, and comparing the two acquisitions to deduce the effect of adding said additional light source.
Selon d’autres caractéristiques, - la valeur retenue pour chaque pixel d’une image obtenue lors d’une acquisition est une moyenne pondérée de la luminosité de ce pixel et de pixels adjacents ; - la valeur retenue pour chaque pixel d’une image obtenue lors d’une acquisition est majorée ou minorée d’un coefficient identique pour tous les pixels de cette image tel qu’une surface de l’objet multicolore dont la luminosité et/ou la couleur sont connues soit représentée à la luminosité et/ou la couleur connue correspondante ; - les valeurs retenues pour chaque pixel d’une des deux images obtenues, est majorée ou minorée d’un coefficient identique pour tous les pixels de cette image, ce coefficient étant tel qu’aucun pixel de l’image réalisé avec la source d’éclairage additionnelle ne soit noté comme plus lumineux dans l’acquisition faite avec la source de lumière additionnelle que dans l’autre image avec le seul éclairage ambiant. - l’image obtenue par ladite comparaison des deux acquisitions est corrigée pour tenir compte de la nature connue du spectre photométrique de ladite source de lumière supplémentaire ; - ledit objet multicolore est un code-barres ; - le procédé comporte une étape qui est l’analyse monochromatique du code barres multicolore, conduisant à un décodage d’informations, et une autre étape qui est l’analyse de la couleur de chacune des cellules élémentaires du code barres multicolore conduisant à une autre série d’informations. - ladite autre étape comporte aussi l’analyse de la luminosité de chacune des cellules élémentaires dudit code barres multicolore.According to other characteristics, the value retained for each pixel of an image obtained during an acquisition is a weighted average of the brightness of this pixel and of adjacent pixels; the value retained for each pixel of an image obtained during an acquisition is increased or decreased by an identical coefficient for all the pixels of this image, such as a surface of the multicolored object whose luminosity and / or color are known to be represented at the brightness and / or the corresponding known color; the values retained for each pixel of one of the two images obtained is increased or decreased by an identical coefficient for all the pixels of this image, this coefficient being such that no pixel of the image made with the source of Additional lighting is noted as brighter in the acquisition made with the additional light source than in the other picture with the only ambient lighting. the image obtained by said comparison of the two acquisitions is corrected to take account of the known nature of the photometric spectrum of said additional light source; said multicolored object is a barcode; the method comprises a step which is the monochromatic analysis of the multicolored bar code, leading to a decoding of information, and another step which is the analysis of the color of each of the elementary cells of the multicolored bar code leading to another series of information. said other step also comprises the analysis of the brightness of each of the elementary cells of said multicolored bar code.
Description sommaire des dessins L’invention sera bien comprise, et d’autres buts, avantages et caractéristiques de celle-ci apparaîtront plus clairement à la lecture de la description qui va suivre, laquelle est illustrée par les figures annexées numérotées de 1 à 11.Brief description of the drawings The invention will be better understood, and other objects, advantages and characteristics thereof will appear more clearly on reading the description which follows, which is illustrated by the appended figures numbered from 1 to 11.
Les figures 1 et 2 représentent deux codes barres différents.Figures 1 and 2 show two different bar codes.
La figure 3 représente une combinaison de ces deux codes barres, comportant des cellules élémentaires de quatre couleurs différentes. Ces couleurs sont représentées par des niveaux de gris différents.Figure 3 shows a combination of these two barcodes, comprising elementary cells of four different colors. These colors are represented by different gray levels.
La figure 4 représente les cellules secondaires contenant chacune des échantillons des couleurs utilisées pour le code barres de la figure 3.Fig. 4 shows the secondary cells each containing color samples used for the bar code of Fig. 3.
La figure 5 représente la combinaison des cellules élémentaires primaires de la figure 3 et des cellules élémentaires secondaires de la figure 4.Fig. 5 shows the combination of the primary elementary cells of Fig. 3 and the secondary elementary cells of Fig. 4.
Les figures 6 et 7 représentent une série de 9 cellules élémentaires d’un code, dont les cellules élémentaires primaires ont été colorées (les couleurs sont ici aussi représentées par des niveaux de gris). La figure 7 montre par un exemple de répartition des cellules secondaires comment disposer des informations supplémentaires.Figures 6 and 7 show a series of 9 elementary cells of a code, whose primary elementary cells have been colored (the colors are here also represented by gray levels). Figure 7 shows an example of distribution of secondary cells how to have additional information.
Les figures 8 à 11 illustrent une façon d’ajouter une image à un code, en utilisant les cellules élémentaires secondaires. La figure 8 représente en niveaux de gris une image en couleurs qui va être combinée au code enrichi. La figure 9 représente les parties de cette image qui constitueront les cellules élémentaires secondaires du code enrichi. La figure 10 représente le code enrichi. La figure 11 représente l’image extraite par logiciel du code enrichi.Figures 8-11 illustrate one way of adding an image to a code, using the secondary elementary cells. Figure 8 shows in grayscale a color image that will be combined with the enriched code. FIG. 9 represents the parts of this image that will constitute the secondary elementary cells of the enriched code. Figure 10 shows the enriched code. Figure 11 shows the software extracted image of the enriched code.
La figure 12 montre le résultat de l’impression sur un substrat blanc, par synthèse soustractive, de trois surfaces avec des encres de couleurs cyan, magenta et jaune, notées respectivement c, m et j, ce qui donne lieu à l’apparence de 7 couleurs, soit rouge, vert, bleu et noir, notées respectivement r,v,b et n en supplément des couleurs des encres.FIG. 12 shows the result of the printing on a white substrate, by subtractive synthesis, of three surfaces with inks of cyan, magenta and yellow colors, noted respectively c, m and j, which gives rise to the appearance of 7 colors, namely red, green, blue and black, denoted respectively r, v, b and n in addition to the colors of the inks.
La figure 13 montre le résultat de l’impression sur un substrat blanc, par synthèse soustractive, de quatre surfaces avec des encres de couleurs cyan, magenta, jaune et noir, notées respectivement c, m, j, et n, ce qui donne lieu à l’apparence de 14 couleurs, soit cyan foncé, magenta foncé, jaune foncé, noir foncé, rouge foncé, rouge clair, vert foncé, vert clair, bleu foncé, bleu clair, notées respectivement C, M, J, N, R, r, V, v, B et b, en supplément des couleurs des encres.FIG. 13 shows the result of the printing on a white substrate, by subtractive synthesis, of four surfaces with inks of cyan, magenta, yellow and black colors, respectively noted c, m, j, and n, which gives rise to 14-color, dark cyan, dark magenta, dark yellow, dark black, dark red, light red, dark green, light green, dark blue, light blue, noted respectively C, M, J, N, R , r, V, v, B and b, in addition to the colors of the inks.
Description détaillée de l’inventionDetailed description of the invention
Le principe de la présente invention est de comparer deux acquisitions successives d'un objet comme un code-barres, dont l'une est faite sous un éclairage quelconque, l’autre étant faite après avoir ajouté un éclairage multi chromatique sensiblement blanc dont le spectre est connu. Par comparaison, on peut donc obtenir l'effet de cet éclairage sensiblement blanc dont le spectre est connu, ce qui permet de déduire les couleurs des cellules élémentaires constituant le code-barres multicolore et donc de le décoder.The principle of the present invention is to compare two successive acquisitions of an object such as a barcode, one of which is made under any lighting, the other being made after adding a substantially white multi-chromatic lighting whose spectrum is known. By comparison, one can thus obtain the effect of this substantially white illumination whose spectrum is known, which allows to deduce the colors of the elementary cells constituting the multicolored barcode and thus to decode it.
Il y a quatre avantages principaux à utiliser d’une part la lumière ambiante et d’autre part la somme de cette lumière ambiante et d’un éclairage multi chromatique sensiblement blanc : 1. cela permet d’utiliser des codes barres contenant n’importe quelle couleur visible par l’œil humain ; 2. cela permet d’opérer sans connaître la spectrométrie de l’éclairage ambiant ; 3. on peut utiliser comme lumière additionnelle le simple flash d’un appareil photographique ; 4. et cela permet de connaître exactement les couleurs dans le cas où l’on connaît la spectrométrie de l’éclairage multi chromatique sensiblement blanc.There are four main advantages to using on the one hand ambient light and on the other hand the sum of this ambient light and a substantially white multi-chromatic lighting: 1. this allows to use barcodes containing any what color is visible to the human eye 2. it allows to operate without knowing the spectrometry of the ambient lighting; 3. the simple flash of a camera can be used as additional light; 4. and this makes it possible to know exactly the colors in the case where the spectrometry of the substantially white multi-chromatic lighting is known.
Il faut apporter des corrections aux résultats de chacune des deux acquisitions avant de réaliser la soustraction, pour tenir compte d’une part du bruit qui peut perturber l’acquisition et d’autre part du changement d’ouverture de l’objectif et de temps d’exposition entre les deux acquisitions, en particulier lorsque le moyen d’acquisition est automatisé comme c’est très souvent le cas lorsque ce moyen d’acquisition est un smartphone.Corrections must be made to the results of each of the two acquisitions before subtracting, to account for some of the noise that can disrupt the acquisition and for the change in aperture and time exposure between the two acquisitions, especially when the acquisition means is automated as is very often the case when this means of acquisition is a smartphone.
Pour réduire le bruit, la solution la plus simple est de corriger la valeur de chaque pixel de l’image obtenue en utilisant en lieu et place de la valeur d’origine une moyenne pondérée de la luminosité de ce pixel et des pixels voisins. Cette opération peut se faire successivement ou simultanément dans les trois couleurs élémentaires du capteur. On peut aussi diminuer la résolution de l’image, ce qui produit sensiblement le même effet. L’homme de l’art sait corriger le changement d’ouverture de l’objectif et/ou du temps d’exposition entre les deux acquisitions lorsqu’il sait quels sont les paramètres qui ont été modifiés, mais il arrive que Ton ne sache pas quels sont les changements qui ont été opérés par le dispositif d’acquisition lorsqu’il est automatisé. C’est le cas pour de nombreux smartphones. Dans ce cas, il est avantageux d’utiliser l’une et/ou l’autre des deux méthodes suivantes : 1. corriger la luminosité des pixels d’une image, pour qu’une surface dont la luminosité est connue soit représentée à la luminosité correspondante - cette opération est avantageusement réalisée sur deux couleurs qui peuvent être le noir et le blanc ; 2. corriger la luminosité des pixels d’une des deux images obtenues, pour qu’aucun pixel de l’image réalisé avec la source d’éclairage additionnelle ne soit noté comme plus lumineux dans l’acquisition avec la source de lumière additionnelle que dans l’autre image avec le seul éclairage ambiant.To reduce the noise, the simplest solution is to correct the value of each pixel of the image obtained by using instead of the original value a weighted average of the brightness of this pixel and neighboring pixels. This operation can be done successively or simultaneously in the three elementary colors of the sensor. It is also possible to reduce the resolution of the image, which produces substantially the same effect. Those skilled in the art can correct the change in the aperture of the lens and / or the exposure time between the two acquisitions when it knows what the parameters have been changed, but sometimes it is not known not what are the changes that have been made by the acquisition device when it is automated. This is the case for many smartphones. In this case, it is advantageous to use one or both of the following two methods: 1. to correct the brightness of the pixels of an image so that a surface whose brightness is known is represented at the corresponding brightness - this operation is advantageously performed on two colors that can be black and white; 2. correct the brightness of the pixels of one of the two images obtained, so that no pixel of the image made with the additional lighting source is noted as brighter in the acquisition with the additional light source than in the other image with the only ambient lighting.
On peut utiliser l’image obtenue par la comparaison des deux acquisitions telle quelle, si l’on considère que l’écart entre la lumière produite par la source de lumière additionnelle a un spectre suffisamment régulier pour produire une lumière réellement blanche, mais l’homme de l’art peut aisément, connaissant le spectre de cette source de lumière additionnelle, corriger l’image obtenue par la comparaison pour obtenir une représentation fidèle des couleurs de l’objet multicolore.We can use the image obtained by comparing the two acquisitions as it is, if we consider that the difference between the light produced by the additional light source has a sufficiently regular spectrum to produce a truly white light, but the One skilled in the art can easily, knowing the spectrum of this additional light source, correct the image obtained by the comparison to obtain a faithful representation of the colors of the multicolored object.
Lorsque l’objet multicolore est un code barres, l’acquisition se fait avantageusement en deux étapes. On commence par une analyse monochromatique dudit code barres multicolore, ce qui conduit à un premier décodage d’informations. Ensuite, une seconde étape consiste à analyser la couleur de chacune des cellules élémentaires dudit code barres multicolore pour obtenir une seconde série d’informations. Ladite seconde étape peut aussi comporter l’analyse de la luminosité de chacune des cellules élémentaires dudit code barres multicolore. L’ordre de ces deux étapes peut être inversé.When the multicolored object is a barcode, the acquisition is advantageously in two steps. We begin with a monochromatic analysis of the multicolor bar code, which leads to a first information decoding. Then, a second step is to analyze the color of each of the elementary cells of said multicolor bar code to obtain a second set of information. Said second step may also include analyzing the brightness of each of the elementary cells of said multicolor bar code. The order of these two steps can be reversed.
Il est avantageux de faire varier la forme et/ou la couleur, et/ou la texture et/ou la luminosité d’une au moins des surfaces élémentaires sombres ou claires d’un code barres, ces variations de forme, et/ou de couleur, et/ou de texture et/ou de luminosité représentant des données additionnelles. Il est particulièrement avantageux que les surfaces élémentaires claires restent claires et les surfaces élémentaires sombres restent sombres, car ces surfaces élémentaires restent considérées comme claires ou sombres par l’algorithme classique de lecture du code barres. Dans ce cas, la variation de forme, et/ou de couleurs, et/ou de texture et/ou de luminosité ne gêne pas l’acquisition du code barres qui peut être faite au cours d’une première étape. Cette première étape est suivie d’une seconde étape dans laquelle on analyse plus finement la forme, la couleur, la luminosité des surfaces élémentaires primaires.It is advantageous to vary the shape and / or the color, and / or the texture and / or brightness of at least one of the dark or light elemental surfaces of a bar code, these variations in shape, and / or color, and / or texture and / or brightness representing additional data. It is particularly advantageous that the light elemental surfaces remain clear and the dark elementary surfaces remain dark, since these elementary surfaces remain considered light or dark by the conventional bar code reading algorithm. In this case, the variation in shape, and / or colors, and / or texture and / or brightness does not interfere with the acquisition of the bar code that can be made during a first step. This first step is followed by a second step in which the shape, the color and the brightness of the primary elementary surfaces are analyzed more finely.
Un code barres obtenu par ce procédé peut comporter en supplément une ou plusieurs surfaces élémentaires dites surfaces élémentaires secondaires contenant des données additionnelles représentées par la forme, et/ou par la couleur, et/ou par la texture et/ou par la luminosité des dites surfaces élémentaires secondaires. Ces surfaces élémentaires secondaires peuvent être analysées après la première étape, pour fournir un grand nombre de données additionnelles. L’homme de l’art peut par exemple diviser les cellules élémentaires primaires en plusieurs parties, et les cellules élémentaires secondaires aussi en plusieurs parties, l’ensemble de chacune des mêmes parties des cellules élémentaires pouvant être acquise par un appareil photographique et constituer un code barres supplémentaires. En divisant une cellule élémentaire primaire en quatre parties et une cellule élémentaire secondaire en 5 parties, ce qui correspond à diviser une surface élémentaire en 9 parties, on a ainsi 9 codes barres qui ont chacun le même nombre de cellules élémentaires.A bar code obtained by this method may additionally comprise one or more elementary surfaces called secondary elementary surfaces containing additional data represented by the shape, and / or by the color, and / or by the texture and / or the brightness of the said elements. secondary elementary surfaces. These secondary elementary surfaces can be analyzed after the first step, to provide a large number of additional data. Those skilled in the art can for example divide the primary elementary cells into several parts, and the secondary elementary cells also into several parts, the whole of each of the same parts of the elementary cells being able to be acquired by a camera and constitute a additional barcode. By dividing a primary elementary cell into four parts and a secondary elementary cell into 5 parts, which corresponds to dividing an elementary surface into 9 parts, there are thus 9 barcodes which each have the same number of elementary cells.
Il est à noter que le code barres représenté par des cellules élémentaire primaires peut constituer l’un de ces codes barres, et qu’il reste très facile à analyser par l’algorithme le plus classique, lors de la première étape. L’analyse des 8 ou 9 autres codes barres requiert une analyse faite à une résolution trois fois plus élevée, mais elle n’a pas besoin d’être faite aussi rapidement que celle du premier code barres.It should be noted that the bar code represented by primary elementary cells may constitute one of these bar codes, and that it remains very easy to analyze by the most conventional algorithm during the first step. The analysis of the 8 or 9 other barcodes requires an analysis done at a resolution three times higher, but it does not need to be done as quickly as that of the first barcode.
Avantageusement, une surface élémentaire dite primaire est la partie centrale d’une des surfaces élémentaires d’un ensemble de surfaces élémentaires constituant un code barres. L’homme de l’art sait en effet analyser un code barres en commençant par regarder le centre de chaque cellule élémentaire et ne pas tenir compte du reste de chaque cellule. Une surface élémentaire secondaire peut donc être constituée par une partie au moins de la partie périphérique de la surface élémentaire considérée.Advantageously, a so-called primary primary surface is the central part of one of the elementary surfaces of a set of elementary surfaces constituting a barcode. The person skilled in the art knows how to analyze a barcode by starting by looking at the center of each elementary cell and ignoring the rest of each cell. A secondary elementary surface may therefore consist of at least part of the peripheral part of the elementary surface considered.
Comme illustré à la figure 7, une surface élémentaire dite secondaire peut être constituée par tout ou partie de la partie périphérique de la surface élémentaire considérée, et par une partie au moins de la partie périphérique d’une surface élémentaire adjacente. Cela permet de disposer de surfaces élémentaires plus grandes, donc plus faciles à acquérir par un appareil photographique. Pour éviter qu’un éclairage irrégulier du code ne perturbe l’acquisition d’un code enrichi selon l’invention, il est recommandé de disposer des échantillons de couleur, et/ou de texture et/ou de luminosité à proximité du code.As illustrated in FIG. 7, a so-called secondary elementary surface may consist of all or part of the peripheral part of the elementary surface considered, and of at least part of the peripheral part of an adjacent elementary surface. This makes it possible to have larger elementary surfaces, thus easier to acquire by a camera. To avoid that irregular illumination of the code disrupts the acquisition of a code enriched according to the invention, it is recommended to have the color samples, and / or texture and / or brightness near the code.
Dans une mise en œuvre particulière illustrée aux figures 4 et 5, ces échantillons de couleur, et/ou de texture et/ou de luminosité sont disposés sur les surfaces élémentaires secondaires du code enrichi. Cela a pour avantage de pouvoir comparer la couleur et/ou la texture et/ou la luminosité d’une cellule élémentaire primaire avec un échantillon situé très près et donc le plus probablement soumis au même éclairage.In a particular implementation illustrated in Figures 4 and 5, these color samples, and / or texture and / or brightness are arranged on the secondary elementary surfaces of the enriched code. This has the advantage of being able to compare the color and / or texture and / or brightness of a primary elementary cell with a sample located very closely and therefore most likely subjected to the same lighting.
Il est particulièrement avantageux dans certaines applications qu’une partie des surfaces élémentaires primaires et/ou secondaires représente des données cryptées. La clé permettant de les décrypter peut être contenue dans des informations représentée par d’autres surfaces élémentaires primaires et/ou secondaires. Elle peut aussi être présente sur un serveur à une adresse contenue dans d’autres surfaces élémentaires. L’homme de l’art peut prévoir toutes sortes de stratégies pour ne communiquer la clé qu’aux personnes habilitées à pratiquer le décodage.It is particularly advantageous in some applications that part of the primary and / or secondary elementary surfaces represents encrypted data. The key to decrypt them can be contained in information represented by other primary and / or secondary elementary surfaces. It can also be present on a server at an address contained in other elementary surfaces. Those skilled in the art can provide all kinds of strategies to communicate the key only to people able to practice decoding.
Dans une mise en œuvre particulière illustrée par les figures 8 à 11, la couleur et/ou la luminosité d’une surface élémentaire secondaire est une représentation de la couleur et/ou de la luminosité d’un pixel d’une image qui peut donc être extraite dudit code enrichi. Les surfaces élémentaires secondaires peuvent être obtenues très simplement en masquant les surfaces élémentaires de l’image, comme illustré à la figure 9, mais l’homme de l’art peut aussi calculer la luminosité et la couleur de ces surfaces pour qu’elles représentent au mieux la luminosité et la couleur des parties conservées et des parties masquées.In a particular embodiment illustrated in FIGS. 8 to 11, the color and / or the brightness of a secondary elementary surface is a representation of the color and / or brightness of a pixel of an image which can therefore be be extracted from said enriched code. The secondary elementary surfaces can be obtained very simply by masking the elementary surfaces of the image, as illustrated in FIG. 9, but those skilled in the art can also calculate the brightness and the color of these surfaces so that they represent at best the brightness and color of the preserved parts and the masked parts.
Pour lire un tel code, on opère selon l’une des méthodes exposées ci-avant, et on extrait ensuite la photographie à partir de l’ensemble des surfaces élémentaires secondaires. On remplace les zones manquantes (celles qui correspondent aux cellules élémentaires primaires) par le calcul à partir de la luminosité et de la couleur des cellules les plus proches. Une atténuation par floutage permet in fine de reconstituer l’image d’origine comme le montre la figure 11. L’image d’origine peut avoir été cryptée avant d’être combinée à un code barres, et décryptée lors de l’acquisition du code. Il est à noter que la présente invention permet ainsi de faire apparaître une image comme une photographie uniquement aux personnes disposant de la clé, et de le faire en mode local, sans aucune liaison avec un réseau extérieur.To read such a code, one operates according to one of the methods described above, and then the photograph is extracted from the set of secondary elementary surfaces. Missing areas (those corresponding to the primary elementary cells) are replaced by the calculation based on the brightness and color of the nearest cells. An attenuation by blurring allows in fine to reconstitute the original image as shown in Figure 11. The original image may have been encrypted before being combined with a barcode, and decrypted during the acquisition of the image. code. It should be noted that the present invention thus makes it possible to display an image as a photograph only to persons having the key, and to do it in local mode, without any connection with an external network.
Avantageusement, le dit moyen d'acquisition est placé de telle sorte que ladite source de lumière additionnelle ne soit pas reflétée directement par la surface d'impression dudit code barres vers ledit moyen d'acquisition. Dans le cas contraire, ce reflet peut gêner l'acquisition en saturant l'image du code-barres de lumière.Advantageously, said acquisition means is placed in such a way that said additional light source is not reflected directly by the printing surface of said barcode towards said acquisition means. Otherwise, this reflection may interfere with the acquisition by saturating the image of the barcode with light.
Principaux avantages de l’invention par rapport à l’art antérieurMain advantages of the invention over the prior art
Elle permet d’acquérir des images d’objets multicolores même dans des conditions d’éclairage ne sont pas connues.It allows to acquire images of multicolored objects even under lighting conditions are not known.
Elle permet en particulier de concevoir des codes barres multicolores qui peuvent être lus dans pratiquement toutes les conditions d’éclairage. De tels codes-barres permettent un nombre de combinaisons possibles égal à CN pour un code composé de C codes de couleurs différentes comportant N cellules élémentaires, au lieu de 2N pour les codes monochromes traditionnels. Applications L'invention s’applique à toutes les acquisitions photographiques, et en particulier à toutes les applications des codes-barres. La sérialisation des produits, qui nécessite l’impression de nombres très grands sous forme de codes-barres, est une des grandes applications de la présente invention.In particular, it allows the design of multicolored barcodes that can be read in virtually any lighting condition. Such bar codes allow a number of possible combinations equal to CN for a code consisting of C different color codes having N elementary cells, instead of 2N for traditional monochrome codes. Applications The invention applies to all photographic acquisitions, and in particular to all applications of barcodes. The serialization of the products, which requires the printing of very large numbers in the form of barcodes, is one of the great applications of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
FR1670409A FR3054707A3 (en) | 2016-07-26 | 2016-07-26 | METHOD FOR ACQUIRING COLOR IMAGES UNDER INCOMING AMBIENT LIGHTING |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
FR1670409A FR3054707A3 (en) | 2016-07-26 | 2016-07-26 | METHOD FOR ACQUIRING COLOR IMAGES UNDER INCOMING AMBIENT LIGHTING |
Publications (1)
Publication Number | Publication Date |
---|---|
FR3054707A3 true FR3054707A3 (en) | 2018-02-02 |
Family
ID=61000195
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
FR1670409A Withdrawn FR3054707A3 (en) | 2016-07-26 | 2016-07-26 | METHOD FOR ACQUIRING COLOR IMAGES UNDER INCOMING AMBIENT LIGHTING |
Country Status (1)
Country | Link |
---|---|
FR (1) | FR3054707A3 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10740666B2 (en) | 2018-09-27 | 2020-08-11 | Caleb J. Webster | Two-dimensional cryptographic poly-chromatic poly-digital code |
-
2016
- 2016-07-26 FR FR1670409A patent/FR3054707A3/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10740666B2 (en) | 2018-09-27 | 2020-08-11 | Caleb J. Webster | Two-dimensional cryptographic poly-chromatic poly-digital code |
US10997482B2 (en) | 2018-09-27 | 2021-05-04 | Caleb J. Webster | Two-dimensional cryptographic poly-chromatic poly-digital code |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10498941B2 (en) | Sensor-synchronized spectrally-structured-light imaging | |
US10113910B2 (en) | Sensor-synchronized spectrally-structured-light imaging | |
CA2864763C (en) | Method and device for measuring the colour of an object | |
AU2016343295A1 (en) | Spectral reconstruction | |
WO2009077534A1 (en) | Device for evaluating the surface of a tyre | |
EP2011329B1 (en) | Method of processing a relative illumination phenomenon on a digital image and associated processing system | |
Wu et al. | Multispectral imaging via nanostructured random broadband filtering | |
Xu et al. | Self-training-based spectral image reconstruction for art paintings with multispectral imaging | |
Deng et al. | Snapshot hyperspectral imaging via spectral basis multiplexing in Fourier domain | |
Prasad et al. | Metrics and statistics of frequency of occurrence of metamerism in consumer cameras for natural scenes | |
Fredembach et al. | The bright-chromagenic algorithm for illuminant estimation | |
WO2017060618A1 (en) | Method of classifying a product by analysing the distribution of the colours of the product | |
FR3054699A3 (en) | ENRICHED BAR CODE | |
FR3054707A3 (en) | METHOD FOR ACQUIRING COLOR IMAGES UNDER INCOMING AMBIENT LIGHTING | |
US20210123806A1 (en) | Spectral imaging device and method | |
Ni et al. | Single-shot multispectral imager using spatially multiplexed fourier spectral filters | |
Hemsley et al. | Optimized coded aperture for frugal hyperspectral image recovery using a dual-disperser system | |
Qiu et al. | Image quality degradation of object-color metamer mismatching in digital camera color reproduction | |
EP4364131A1 (en) | Method for converting data between colour spaces | |
Nieves et al. | Unsupervised illuminant estimation from natural scenes: an RGB digital camera suffices | |
WO2021239990A1 (en) | Method for reconstructing an image, in particular an exact colour image, and associated computer program, device and system | |
WO2006005831A1 (en) | Multispectral scanner with enlarged range, in particular a single-pass flat scanner | |
EP1170576A1 (en) | Chromatometric spectra and cages, their utilization and how to elaborate them | |
FR3054354B1 (en) | IMPROVING IN-DEPTH PICTURE IS SUBJECT TO SHADING EFFECT | |
EP1542450B1 (en) | Method and arrangement for halftoning with error diffusion of vectors from a table |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ST | Notification of lapse |
Effective date: 20180330 |