US20150324679A1 - Optical-reading code preparation device - Google Patents

Optical-reading code preparation device Download PDF

Info

Publication number
US20150324679A1
US20150324679A1 US14/803,345 US201514803345A US2015324679A1 US 20150324679 A1 US20150324679 A1 US 20150324679A1 US 201514803345 A US201514803345 A US 201514803345A US 2015324679 A1 US2015324679 A1 US 2015324679A1
Authority
US
United States
Prior art keywords
data
image
information
code
layer
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.)
Abandoned
Application number
US14/803,345
Inventor
Laurent Tonnelier
Ludovic Lebas
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.)
MOBILEAD
Original Assignee
MOBILEAD
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 MOBILEAD filed Critical MOBILEAD
Priority to US14/803,345 priority Critical patent/US20150324679A1/en
Assigned to MOBILEAD reassignment MOBILEAD ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: LEBAS, Ludovic, TONNELIER, Laurent
Publication of US20150324679A1 publication Critical patent/US20150324679A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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/06009Record 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/06046Constructional details
    • G06K19/06103Constructional details the marking being embedded in a human recognizable image, e.g. a company logo with an embedded two-dimensional code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K1/00Methods or arrangements for marking the record carrier in digital fashion
    • G06K1/12Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
    • G06K1/121Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching by printing code marks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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/06009Record 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/06037Record 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 multi-dimensional coding

Abstract

An optical-reading code preparation device includes: a storage unit able to receive data to be coded, and parameter data including presentation data, an encoding unit, able to produce code data on the basis of data to be coded and of parameter data, an imaging unit, able to produce data defining an image plane on the basis of presentation data and/or of code data, a scheduler devised so as to, in response to the receipt of data to be coded and of parameter data comprising presentation data: call the encoding unit with the data to be coded and the parameter data received so as to produce associated code data, call the imaging unit with the associated code data, selectively with some at least of the presentation data, call the imaging unit, and prepare an optical-reading code.

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • This application is a continuation of U.S. patent application Ser. No. 14/238,974 filed on Feb. 14, 2014, which claims priority to International Patent Application Serial No. PCT/FR2012/000325, filed on Aug. 2, 2012, which claims priority to French Patent Application Serial No. 1102520, filed on Aug. 16, 2011, all of which are incorporated by reference herein.
  • BACKGROUND AND SUMMARY
  • The invention relates to the field of preparation of optical-reading codes.
  • An optical-reading code is a symbology, i.e. a graphic representation of a set of data. Various formats have been proposed to codify the production of an image that bijectively corresponds to input data. For example Datamatrix (ISO/IEC 16022), Maxicode (ISO/IEC 16023), QR-Code (ISO/IEC 18004), among others, are among such formats.
  • The output image is composed of a set of square-shaped black and white dots called modules. These points define a flat file, also called a matrix, from which the original data can be recovered.
  • Optical-reading codes are very advantageous since they can store a large amount of data on a limited area, and in a highly reproducible manner. Thus, many software applications are now available for phones (also called “smart phones” or “Smartphones”) and tablets. These applications make it possible to read optical-reading codes and to use the data contained therein. To do this, these applications use the photographic optical sensor (or video camera), and restore the information on the basis of the image or sequence of images taken. This type of application makes it possible to avoid optical character recognition (OCR), and enables for example to provide a link to a website or another link in a magazine or in a shopwindow, without the user having to enter the address or to make any other effort.
  • One of the main drawbacks associated with optical-reading codes is that they are unsightly. As a matter of fact, the algorithms corresponding to the various formats produce black and white squares matrices that are meaningless to the person watching same. For example, it is difficult to associate graphic elements of the universe of the code publisher with a given code.
  • Moreover, associating a graphic display—whether a drawing or a photograph—with an optical-reading code is complex, and generally makes the code illegible, or severely limits the amount of information it can contain. For these reasons, every effort to customize optical-reading codes have so far been rather trials and errors, through tests and failures, until a functional and aesthetically pleasing enough code has been obtained. In this context, no solution currently exists to produce graphically-customized optical-reading codes, still less such codes that are adapted to be printed in lots, for example, in several thousands of copies of seemingly similar codes, but each containing various information.
  • The invention improves the situation. To this end, the invention provides for an optical-reading code preparation device comprising:
      • a storage unit able to receive data to be coded, and parameter data comprising presentation data,
      • an encoding unit able to produce code data on the basis of data to be coded and parameter data,
      • an imaging unit able to produce data defining an image plane on the basis of presentation data and/or code data,
      • a scheduler devised so as to, in response to the receipt of data to be coded and of parameter data comprising presentation data:
      • call the encoding unit with the data to be coded and the parameter data received so as to produce associated code data,
      • call the imaging unit with the associated code data, selectively with some at least of the presentation data so as to produce data regarding a bright information plane and/or data regarding a dark information plane,
      • call the imaging unit with some of the designated presentation data defining an image so as to produce data regarding a bright information plane and/or data regarding a dark information plane, and
      • prepare the code on the basis of an arrangement, in a predetermined order, of the data regarding a bright information plane, the data regarding a dark information plane, the data regarding a bright image plane, and the data regarding a dark image plane.
  • The invention also relates to a method for preparing an optical-reading code, which comprises:
      • receiving data to be coded, and parameter data comprising presentation data,
      • calculating code data on the basis of data to be coded and parameter data,
      • producing data regarding a bright information plane and/or data regarding a dark information plane on the basis of the code data, and selectively on the basis of some at least of the presentation data,
      • producing data regarding a bright image plane and/or data regarding a dark image plane on the basis of some at least of the presentation data defining an image, and
      • preparing the code on the basis of an arrangement, in a predetermined order, of the data regarding a bright information plane and/or the data regarding a dark information plane, and/or the data regarding a bright image plane, and/or data regarding a dark image plane.
    BRIEF DESCRIPTION OF THE DRAWINGS
  • Other characteristics and advantages of the invention will become more apparent when reading the following description, taken from examples given for illustration and not restriction, from the drawings wherein:
  • FIG. 1 shows a diagram of a device according to the invention;
  • FIG. 2 shows a schematic diagram of the operation of the device of FIG. 1;
  • FIG. 3 shows an algorithm for the preparation of optical-reading codes implemented by the device of FIG. 1;
  • FIG. 4 shows an embodiment of a first operation of FIG. 3;
  • FIG. 5 shows a schematic diagram of a second operation of FIG. 3;
  • FIG. 6 shows a third operation of FIG. 3;
  • FIG. 7 shows an exemplary implementation of a fourth operation of FIG. 3;
  • FIG. 8 shows an exemplary implementation of another embodiment; and
  • FIG. 9 shows an exemplary implementation of still another embodiment.
  • DETAILED DESCRIPTION
  • The drawings and the description below mainly contain characteristic elements. They can therefore be used not only for a better understanding of the present invention, but also to contribute to the definition thereof, if need be. This description is likely to involve elements that may be protected by royalties and/or copyrights. The rights holder has no objection to the identical reproduction of this patent document or the description thereof, as it appears in the official records, by anyone. For the rest, he/she fully reserves his/her rights.
  • FIG. 1 shows a device according to the invention. As can be seen in this Figure, the device 2 comprises a storage unit 4, an encoding unit 6, an imaging unit 8 and a scheduler 10.
  • In the example described here, the storage unit 4 is a conventional storage medium, which may be a platter or flash memory hard disk (SSD), a flash or ROM memory, a physical storage medium such as a compact disk (CD), a DVD, a Blue-Ray disk, or any other type of physical storage medium. The storage unit 4 may also be transferred to a system area network (SAN) or to the Internet or generally to the “cloud.”
  • In the present example, the encoding unit 6, the imaging unit 8 and the scheduler 10 are software elements executed by a computer containing same. However, they could be implemented in a distributed way on multiple computers, or be in the form of printed circuits (ASIC, FPGA or any other one), or dedicated microprocessors (NoC or SoC). The scheduler 10 selectively controls the encoding unit 6 and the imaging unit 8, and accesses the storage unit 4 to implement the processing according to the invention.
  • FIG. 2 shows the processing performed by the device 2. As can be seen in this Figure, the device 2 receives on the one hand parameters data 20 and on the other hand, data to be coded 22, and outputs a code 24.
  • The parameter data 20 consist of all the presentation data making it possible to customize the optical-reading code to be produced, as well as any parameter specific to the execution of the device 2. For example, the parameter data 20 may include, without limitation, code background data, code foreground data, image data, pattern data, pattern transformation data, or any other data. The execution-specific parameters may include data of the type of code to be produced, batch data, block data, or any other data. The nature and the function of these data will be specified in the following.
  • The data to be coded 22 are the data the code 24 must contain. These data may form a business card file, or a Web address, or any other information defined by one or more text strings, bit strings or any other string. Although the code 24 is shown in FIG. 2 in its final form, as it will be seen by a physical person, it should be understood that the code 24 produced by the device 2 may be any element enabling to obtain a functional optical-reading code. Thus, the code 24 may be available in the form of vector graphics, as a bitmap image, or still in the form of a document wherein multiple layers are defined, but not yet merged, and in any form of data which may be assembled to obtain such elements.
  • FIG. 3 shows a diagram of an exemplary algorithm implemented by the device 2 to prepare an optical-reading code. This algorithm begins with an operation 300 wherein the parameter data 20 are entered by the user, either directly or by indicating the location of a source containing these data. These data will condition the preparation of the code 24 and the final rendering effect.
  • As already seen, such data may include code background data, code foreground data, image data, pattern data, pattern transformation data, data of the type of code to be produced, batch data and block data. As a matter of fact, the applicant has identified several ways to graphically customize an optical-reading code, through for example the addition of a background or a foreground, or by using one or several patterns for the achievement of the modules.
  • The background data and the foreground data may include, for example, a chosen colour background, in the form of a bitmap or a vector, or a continuous-tone image. For a given code, only background data, or foreground data may be provided. As a matter of fact, the most frequently chosen colour to represent a “0” piece of information is the white colour, which comes to have a transparent background or foreground. However, if a background and a foreground are provided for, one of them has to be detected as “bright”, i.e. as a “0” piece of information, and the other one has to be detected as “dark”, i.e. a “1” piece of information.
  • The image data may include any graphic type data in the form of a bitmap or a vector, which enables to reproduce one or more photographs, or drawings associated with a company, such as a logo, a model, a brand mark or any other image. As will be seen later, the dimensions of the image associated with the image data may be any dimensions, as compared to the dimensions desired for the code 24, i.e. they may be smaller, the same or larger.
  • Pattern data may include all graphic type data, in the form of a bitmap or a vector, which can be used to form patterns intended to represent the modules or groups of modules that make up the information in the optical-reading code. The pattern transformation data may include any function and parameter enabling to apply a geometric and/or optical transformation to a pattern. These transformations include, for example, rotation about an axis, translation, homothety, light projection, shadows projection, soft-focus, distortion, transparency, turbulence, etc., or a composition of such transformations.
  • Using pattern data and transformation data to form original patterns is possible thanks to the intrinsic tolerance of information detection. As a matter of fact, when an optical-reading code is decoded, it is first divided into a plurality of areas corresponding to each of the boxes in the matrix. Then, each area is determined as dark or bright, which differentiates a “1” piece of information and a “0” piece of information. The result of this is that almost any graphic element can be used to represent a module, insofar as this element has a colour profile that will be properly decoded, and as this element occupies a sufficient space in the concerned area.
  • For example, a red heart can be used to replace the black modules, insofar as such hearts cover a sufficient portion of each area. This principle similarly applies to the transformations described above. The result of the foregoing is that a pattern can also “go past” the area which it corresponds to, insofar as this pattern does not change the information of the area(s) beyond which it extends.
  • The concept of “bright” and “dark” discovered by the Applicant is crucial. As a matter of fact, it has long been considered that, to reliably, i.e. without risking too many mistakes, produce a functional optical-reading code, the modules must be completely black to be detected as a “1” piece of information and totally white to be detected as a “0” piece of information. In addition, today it is also considered as essential for the modules to be square-shaped, and identical to each other within a given code. As a matter of fact, if these conditions are not met, it becomes necessary to make several series of approximations to obtain a functional code.
  • For example, the integration of an image, even a small one is made through trials and errors: the image is integrated, usually in the middle of the code, and then the code is tested. This test is usually negative. Then the image is modified, often by trimming, and then the process is repeated, until a functional and more or less aesthetic code is obtained.
  • The approach clearly results more from art than computer graphics. And it is impossible to create a lot of media that have optical-reading codes both customized for people, for example with their business cards, and graphically customized, for example with the logos of their companies.
  • The Applicant has discovered that these concepts are erroneous, and that the “bright” parts, and the “dark” parts should actually be distinguished. As a matter of fact, the applicant has found that it is possible to achieve the following equivalences:
      • a “bright” part will be detected as a “0” piece of information, and
      • a “dark” part will be detected as a “1” piece of information. In the following, “0” or “bright” data will therefore designate a module carrying a “0” piece of information and “1” or “dark” data will therefore designate a module carrying a “1” piece of information.
  • This discovery is fundamental, and enabled the applicant to produce customized optical-reading codes, wherein the graphic element used for representing the modules is no longer limited to a black square occupying a space having given dimensions, but almost any graphic element having appropriate properties. These optical-reading codes could also be customized by the free integration of graphic elements not linked to the modules, such as images.
  • The data of the code 24 to be produced make it possible to specify the type of the code 24 output as described above: bitmap image, vector drawing, document including not smoothed layers, etc. Batch data make it possible to indicate that several codes must be made using the same parameters and different data to be coded 22. It thus becomes possible to print media with customized information using the optical-reading code, but with the same type of batch graphic customization.
  • In the case of batch processing, only the data to be inserted into the code change, but the graphic customization data and the visual rendering remain the same. As discussed below, the invention enables to reliably produce a significant amount of similarly customized codes as regards graphics, and differently customized as regards the data, as well as reliably, i.e. without error or through tests and failures.
  • The block data enable to indicate the number of modules that are reserved around the code. Conventionally, the block data consist of two or four modules containing a “bright” or “0” piece of information, around the information matrix, i.e. around the code.
  • Once the parameters are set, the algorithm continues in an operation 310 with the creation of a background layer and a foreground layer. As a matter of fact, the applicant has found that it is possible to customize the optical-reading code in an extremely rich and free way, insofar as certain rules are followed. These rules mainly relate to preserving the detection of the “bright” and “dark” information.
  • FIG. 4 shows an exemplary implementation of the operation 310. In an operation 400, the foreground data, the background data and the image data associated with the code to be prepared are recovered.
  • Then, an operation 410 tests the presence of image data. As a matter of fact, if these data are not available, then the background layer and the foreground layer are directly executed in an operation 420 using a Lay( ) function and the operation 310 ends in 430. If no background data or foreground data are available, the Lay( ) function does nothing, or returns a transparent layer.
  • If image data have been combined, then a Split_I( ) function is executed in an operation 440. The Split_I( ) function receives the image data and the background data as arguments. The Split_I( ) function will produce two layers on the basis of the image data, depending on the type of information associated with the background data. Thus, if the background data correspond to “dark” information, then the Split_I( ) function creates a Img_B layer which contains the image data corresponding to “dark” information, and a Img_F layer that contains the image data corresponding to “bright” information.
  • An exemplary method for executing the Split_I( ) function consists in taking the image data, and cutting them according to the modules matrix to define a set of areas in the image data. Then, each area is tested to determine if it contains the image data corresponding to “bright” information, or image data corresponding to “dark” information. Finally, the Img_B and Img_F layers are reconstructed on the basis of this determination.
  • Finally, a BGL background layer is calculated using a Fus( ) function in an operation 450, a FGL foreground layer is calculated using the Fus( ) function in an operation 460 and the operation ends in 430. The Fus( ) function is executed by smoothing the planes that are passed as arguments in the order of submission. In the example described here, the Img_B layer is smoothed on the BG layer, and the Img_F layer is smoothed on the FG layer.
  • Once the background and foreground layers are produced, the preparation of the optical-reading code continues in a data matrices creation operation 320. The operation 320 comprises two steps. In a first step, the data to be coded 22 are transformed into an information matrix in accordance with the code format selected. Then, an additional matrix is generated, the role of which will be explained hereunder.
  • FIG. 5 shows a schematic diagram of implementation of the operation 320, where the information matrix is referenced 500 and the additional matrix is referenced 510. In this operation, if block data are defined, they are integrated in the matrices, which are partially shown here.
  • It should be noted that although all the coefficients are shown in FIG. 5, only those which are not null will be effectively discussed in the following. The matrices 500 and 510 could also be represented in the form of a series of clues that indicate the locations of the non null coefficients, which are the locations in the code wherein the modules should be represented. The data representing the matrices 500 and 510 are the code data. The example described here is suitable for the QR-Code format. Other code formats will induce different matrices.
  • Then, an optional operation 330 is executed. The operation 330 is a group detection operation. As a matter of fact, it may be interesting to combine several pieces of information of the “1” or “0” type which are contiguous, depending on the pattern selected to form the code.
  • Thus, in one example implemented by the applicant, the patterns are pencil lines. When several lines are aligned vertically or horizontally, it may be interesting to combine these into one long continuous line. Similarly, when an image is used as a pattern, for example a hamburger, it may be interesting to combine identical pieces of information which form a square to substitute a single image therefor, whereon homothety is executed. Alternately, other forms, for example similar to Tetris (trademark) type elements shapes may be detected and used.
  • The operation 330 facilitates this implementation by detecting these groups in the matrices produced with the operation 320. FIG. 6 shows a schematic diagram of the implementation of the operation 330, where the matrix before detection is referenced 600 and the matrix after detection is referenced 610. In the example described here, a single coefficient comprising group detection information is substituted for a group of coefficients, and the other coefficients are nullified. As in FIG. 5, the matrices 600 and 610 are shown in parts, and in the matrix 600, a rectangular block of 3*2 modules size has been identified. Other alternative solutions may be implemented.
  • The group detection operation 330 is generally carried out on the information matrix 500, since the modules corresponding to “1” information are generally made with a “dark” colour. In the example described here, only the matrix 500 is the object of a detection group, and the matrix 510 remains unchanged. In alternative solutions, the matrix 510 or both matrices 500 and 510 could be the object of the operation 330.
  • Then an operation 340 is performed, wherein the MUL useful information layer and a MCL additional information layer are generated. FIG. 7 shows an exemplary implementation of this operation. This operation starts in 700 with the recovery of the BG background data, the Pat pattern data and the Fx_Par transformation data. In the example described here, the Pat pattern and the Fx_Par transformation data are tables.
  • Then a Chs( ) function is executed in a operation 710 to determine the matrix which will be used as a basis for the preparation of the information layer. As a matter of fact, if the BGL background layer corresponds to “bright” information, then this is the MU useful information matrix. If not so, the MC additional information matrix is used.
  • The Chs( ) function therefore receives the MU useful information matrix, the MC additional information matrix (if need be as modified after the operation 330), and the BGL background layer as arguments. The Chs( ) function returns two matrices, MI and M2, the MI matrix comprising the MU matrix if the information of the BGL background layer are bright, and the MC matrix if not so. In the absence of a background layer, or if the layer is transparent, then the M1 matrix is the MU matrix.
  • Then, in an operation 720, the matrix M1 is transformed into an information plane by a Mak( ) function. At first, the Mak( ) function transforms the M1 matrix into a table in a MI_Tab( ) function. The MI_Tab( ) function receives the MI matrix of the operation 710 and the Pat pattern data and the Fx_Par transformation data as arguments, and returns a MI_Tab[ ] table, wherein each element comprises one or more indices of the MI matrix areas.
  • In the example described here, each element of the MI_Tab[ ] table is a matrix of identical dimensions to those of MI. In each MI_Tab[i] matrix, only some coefficients are not null and correspond to not null coefficients of MI. When a coefficient of a MI_Tab [i] matrix is not null, it is null in all the other MI_Tab[j] matrices, and the sum of all the MI_Tab[i] matrices gives MI.
  • Not null coefficients can be assigned in each MI_Tab[i] matrix in a predetermined order, or randomly, and can be performed according to the Pat pattern data and the Fx_Par transformation data. In the latter case, this means that, when processing a batch, all the produced codes will have a common visual form, but they will however be completely different from each other. Each M1 module is therefore in a matrix of the MI_Tab[ ] table, and in one only.
  • This makes it possible to process all the information of the M1 matrix separately using varied patterns and/or by applying different effects for each not null coefficient of MI. When the operation 330 is performed, the selection of the pattern may depend on the group detection information, and more particularly on the size of the group it refers to.
  • In a second step, the Mak( ) function generates the MUL useful information layer on the basis of the MI_Tab[ ] table, and of the Pat pattern data and the Fx_Par transformation data to represent the modules with the elements identified by the Pat pattern data according to the Fx_Par transformation data, at the locations designated by the not null coefficients of the MI_Tab[i] matrices.
  • In the example described herein, the Fx_Par transformation data are so applied that the baric centre of the Pat pattern data is preserved. This ensures that the pattern data prior to the application of the FxPar transformation data and the Pat pattern data after the application of the Fx_Par transformation data will be detected in the same way by the code reading application.
  • In the simplest implementation, there is only one type of pattern and no transformation. In this case, the MI_Tab[ ] table contains a unique matrix identical to the M1 matrix, and the modules are shown at the locations indicated by the M1 matrix with the pattern data.
  • Then a MCL additional information layer is created similarly in an operation 730 by the Mak(M2) function, and the operation 340 ends in 740. Alternately, the operations 720 and 730 might not return layers, but layers declarations data, if a declarative graphics engine is used.
  • Once all the background, foreground, and information layers have been created, the operation 350 processes these to provide the code 24 as provided in the data type of data. Thus, if these data indicate that a code 24 in the form of a smoothed image is requested, then this operation smoothes the background layer, the useful information layer, the foreground layer, and the additional information layer. If a not smoothed image is requested, then these layers are provided directly etc. Then again, the code 24 may be defined by a set of layers declarations data if a declarative graphics engine is used.
  • In addition, some of the operations described above may be optional or performed in a different order to get a better visual effect. For example, as regards the additional information, such information is often desired to be invisible, i.e. transparent. More specifically, additional information have to be displayed only when corresponds to a “bright” piece of information that is located in a code area wherein a background or a “dark” foreground has been applied. When such areas do not exist, the application of the additional information layer may be omitted.
  • This is reinforced by the fact that background data more often exist than foreground data. As a result, the FGL foreground layer is often reduced to the Img_F part of the image, which reduces the chance for such areas to exist.
  • In addition it can be noted from the above that it is easy to mass-produce highly customized optical-reading codes thanks to the invention. As a matter of fact, as the production of the code provides for the preservation of the “bright” and “dark” information, whatever the graphic customization considered, it is certain that the codes produced within the scope of the invention are functional. This is very advantageous, and not possible in the state of the art.
  • The applicant has also discovered another advantageous way to produce an optical-reading code. FIG. 8 shows a first embodiment thereof. In an operation 800, the image data, the pattern data, the transformation data, and the data of the MU and MC matrices are received.
  • Then, in an operation 810, a LE( ) function is applied to the image data. The LE( ) function aims at changing the Img image represented by the image data, by making it progressively transparent. As a result, Low_Img data are obtained, which represent an image wherein all the data of the original image, the brightness of which corresponds to a “bright” piece of information, have been removed by making these progressively transparent. Alternately, this function could make all the elements of the input image, the brightness of which is lower than a selected threshold, transparent, and all the elements of the input images, the brightness of which is greater than the selected threshold, opaque.
  • Then, in an operation 820, the MU_Img and MC_Img data are calculated by the Mak(MU, MC) function, then the MU_Img data are made black in an operation 830 by a Blk( ) function. The Blk( ) function transforms all the elements of the MU_Img image that are not strictly white into black elements, to provide data defining a MU_Img_Blk image. Thereafter, the MU_Img_Blk data are superimposed on the Low_Img data in an operation 840, then a colour inversion operation is performed in an operation 850 by a Inv( ) function to produce Holed_Inv data. The Holed_Inv data thus contain the colorimetric mirror of the Img image data with transparent holes corresponding to the locations of the “dark” modules of the MU matrix.
  • In an operation 860, the LE( ) function is applied to the Holed_Inv data, and the resulting High_Holed_Inv data are reversed again by the Inv( ) function in an operation 870 to produce High_Holed data. In practice, the High_Holed data correspond to the “dark” parts of the Img image wherein the modules corresponding to the “bright” information have been represented. Finally, in an operation 880, the MU_Img, Low_Img, MC_Img and High_Holed data layers are smoothed to produce the code 24. As described above, these operations can generate a code 24 in the form of a smoothed image, in the form of a group of ordered layers, or in the form of a set of layers declarations if a declarative graphics engine is used.
  • FIG. 9 shows a variant of FIG. 8. In an operation 900, the image data, the pattern data, the transformation data, and the MU and MC matrices data are received. At first, this variant aims at calculating the parts of the Img image which are “dark” and which correspond to the locations of “dark” modules in the MU matrix. To do this, in an operation 905, the MU_Img data are calculated by the Mak(MU) function, then the MU_Img data are made black in an operation 907 by the Blk( ) function to provide data defining a MU_Img_Blk image.
  • Then the Inv( ) function is applied to the MU_Img_Blk data in an operation 910 to obtain MU_Img_Inv data. Typically, the MU_Img_Inv image corresponds to the MC matrix with the block data if any, wherein the “bright” modules are shown in black, and wherein the “dark” modules are shown in white. The LE( ) function is then applied to the MU_Img_Inv data in an operation 915, to make the “bright” modules opaque and the “dark” modules transparent. The resulting data are called Low_MU_Img_Inv.
  • In an operation 920, the image data of the Img image are colorimetrically reversed by the Inv( ) function to get Img_Inv data and then the Low_MU_Img_Inv data are merged with the Img_Inv data in an operation 925. As a result, Img_Msk_Inv mask data are obtained, which contain the colorimetric mirror of the parts of the Img image which correspond to the “dark” modules of MU. To obtain an image that comprises the parts of the Img image which are “dark” and which correspond to the locations of “dark” modules in the MU matrix, the Inv( ) function is applied to the Img_Msk_Inv data in an operation 930, then the LE( ) function is applied to the resulting Img_Msk data in an operation 935, which results in Low_Img_Msk output data.
  • In a second step, this variant aims at calculating the parts of the Img image which are “bright” and which correspond to locations of “dark” modules in the MU matrix. To do this, in an operation 940, the MC_Img data are calculated by the Mak(MC) function, then the MC_Img data are made white in an operation 945 by a Wht( ) function. The Wht( ) function transforms all the elements of the MC_Img image that are not strictly black into white elements, to provide data defining a MC_Img_Wht image.
  • Then the LE( ) function is applied to the MC_Img_Wht data in an operation 947 to obtain High_MC_Img data corresponding to an image, wherein the “dark” modules of MU are opaque, and the “bright” modules of MC are transparent. Then, in an operation 950, the High_MC_Img data are merged with the image data of the Img image to obtain Img_Msk data.
  • The Img_Msk data contain the parts of the Img image that correspond to the “bright” modules of MC. To obtain an image which comprises the parts of the Img image which are “bright” and which correspond to locations of “bright” modules of the MC matrix, the Inv( ) function is applied to the Img_Msk data in an operation 955, then the LE( ) function is applied to the resulting Img_Msk_Inv data in an operation 960, and the Inv function( ) is applied again in an operation 965, which results in High_Img_Msk output data. Specifically, the Low_Img_Msk data contain all the “dark” data of the Img image, as masked by the image representing the “dark” modules of the MU matrix, and the High_Img_Msk data contain all the “bright” data of the Img image, as masked by the image of the “bright” modules of the MC matrix.
  • To get the code 24, then the planes simply have to be superimposed in an operation 970, from the deepest to the foremost one:
      • MU_Img data,
      • Low_Img_Msk data,
      • MC_Img data and
      • High_Img_Msk data.
  • Alternately, the image data of the Img image can be used as the background for the code 24 thus produced. As a matter of fact, it has been seen that the modules need not occupy the entire space provided in the code, without affecting the quality of the code 24 produced.
  • Thus, the applicant has found that, within the scope of the production of codes with a fairly large image as a graphic customization, it is advantageous and aesthetic to use modules, the size of which is slightly smaller than the location reserved for them in the code 24. As a matter of fact, with modules that do not occupy the whole location, “not contiguous” modules are obtained, which is visually shown by a gap between the rows and columns of modules, which gives a very good visual rendering.
  • However, as has just been seen, the variant of FIG. 9 precisely cuts the image along the contours of the modules, so that they fill the locations dedicated to them. Therefore, the superposition of the planes described above then leaves the gaps empty. Reusing the Img image as a background fills these gaps without corrupting the code 24, and even improves the visual rendering thereof.
  • Again, the code 24 may be provided as specified in the code type data. Thus, if these data indicate that a code 24 in the form of a smoothed image is requested, then this operation smoothes the planes in the order defined above. If a non-smoothed image is requested, then these layers are provided directly etc. Again, the code 24 may be defined by a set of layers declarations if a declarative graphics engine is used.
  • In the foregoing, smoothing and mergers were alternately referred to. These operations aim as much at a conventional smoothing of the planes, as at the merger with alpha channel management, as appropriate. In addition, in many cases, the operations are performed to produce disjoint, i.e. not overlapping, graphic elements. In this case, using smoothing or a merger with alpha channel management is indifferent. This is for example the case with some of the data of the variant of FIG. 9: the Low_Img_Msk and High_Img_Msk data are completely separate.
  • The use of planes transparency and separation explains the main difference between the variant of FIG. 8 and the variant of FIG. 9:
  • In FIG. 8, the processing focuses on the Img image, and the dark portions of the Img image which must be “drilled” with “bright” modules are desired to be preserved. Using the LE( ) function makes sense since the separation in “bright” and “dark” layers is complementary, and reconstructs the Img image when planes are merged. Using other tools than the LE( ) function in this variant might give different results not preserving the Img image in the code 24;
  • In FIG. 9, the processing focuses on the code useful piece of information, and the Img image is methodically cut according to the “bright” and “dark” modules. Here, the LE( ) function could easily be replaced without any consequence for the integrity of the Img image in the final code 24.
  • Moreover, if image data are provided, background or foreground data are rarely provided, which still brings these embodiments closer. In any event, the foreground and background data can be processed as image data in the variants of FIGS. 8 and 9.
  • In addition, all the variants and options described in connection with FIGS. 1-7 can be directly applied to the variants of FIGS. 8 and 9, including those concerning the group detection, the use of various patterns for the modules and the application of transformations. The main difference in these embodiments is that the embodiment of FIGS. 1-7 handles the images in a different way, and relies more on layer smoothing, where the variants of FIGS. 8 and 9 make use of transparency.
  • Additional variations may also be applied to improve the visual rendering of all the variants described. As a matter of fact, the applicant has found that it may be advantageous to re-apply all or part of the background, the foreground or the image as the foreground on the code prepared according to the invention, with a low opacity, usually lower than 75%. This allows homogenizing the display of the image, without changing the additional information.
  • Moreover, most optical-reading codes have specific areas which contain information defined by the format and never varying. These areas are usually called a “driver”. Their function is to enable an application trying to decode the optical-reading code to place it according to a predefined orientation, in order to read it in the correct order, whatever the orientation in which the code has been photographed.
  • For example, in the basic QR-code type codes, three areas are provided in the top left, top right and bottom left corners, which include a first square of “dark” information, a second square of “bright” information within the first square, and a square full of “dark” information within the second square. These drivers are shown in FIG. 2, for example. A final driver is also included at the bottom right.
  • In some optical-reading code formats, these drivers are crucial because, without them, reading the code correctly is impossible. It may be desired, for safety reasons, not to treat the drivers like the rest of the code data. This can be done within the scope of the invention by separating the drivers in the operation 710, as is done for the information matrix. Then, the drivers are smoothed according to their correspondence with a dark or not information.
  • Furthermore, the combinations and smoothing described above are provided to give an optimum visual rendering for the code 24. However, other less visually optimal solutions can be used, for example by reversing some smoothing.
  • The result of the above is that the preparation of the code is based on alternating layers of the graphic type and information layers that are associated with opposite information. For example, a bright background is used, whereon dark information, then a dark foreground and bright additional information, etc. are smoothed. The smoothing, pattern and effects variations are free, insofar as this smoothing preserves information.
  • This preservation of information enables to produce an almost infinite range of graphic customizations, something that has been inconceivable so far. In addition, the invention guarantees the integrity of the code and of the images, and no verification or editing step is required.
  • Finally, as the invention is compatible with any image, whatever the size thereof, it becomes very easy to integrate an optical-reading code into any graphic support, such as a poster or an advertisement. The relative position of the image forming the medium simply has to be specified and this image will be modified by integrating the code. Thus, you no longer have on the one hand a visual medium and on the other hand a code added to this medium, but an actual merging of the code and the medium wherein it is to be integrated. The invention is of course compatible with not two-dimension optical-reading codes, such as EAN-8, EAN-13, UPC-A, UPC-E, PDF-417 or other codes.

Claims (19)

What is claimed is:
1. A two-dimension image comprising a first two-dimension layer comprising a transformation of a part of an encoded information, a code to encode and decode said information being an optical code;
wherein the transformation is one of an optical transformation and a geometrical transformation of the part of the encoded information.
2. The two-dimension image of claim 1, wherein the transformation comprises a vector operation.
3. The two-dimension image of claim 1, wherein the optical code is compliant with an encoding and decoding standard.
4. The two-dimension image of claim 3, wherein the encoding and decoding standard is one of a QR standard, an EAN standard and a Datamatrix standard.
5. The two-dimension image of claim 1, wherein the optical code encodes at least one of an URL, an URI and an alphanumeric information.
6. The two-dimension image of claim 1, wherein the geometrical transformation is one of a rotation about an axis, a translation and a scaling.
7. The two-dimension image of claim 1, wherein the optical transformation is one of an illumination, a darkening, a flouting, a shading and a shaking.
8. The two-dimension assembly of claim 1, further including reserved areas around subparts of the transformation of the information.
9. The two-dimension image of claim 1, further comprising a second two-dimension layer comprising a pictorial image which is one of an overlay and an underlay of the first two-dimension layer.
10. The two-dimension image of claim 9, wherein the pictorial image comprises one of a photo, a trade dress and a trademark.
11. The two-dimension image of claim 9, wherein portions of the pictorial image are visible in between portions of transformations of parts of the encoded information.
12. The two-dimension image of claim 9, wherein the first layer is divided into a first portion with light shades and a second portion with dark shades, the second layer is divided into a first portion with light shades and a second portion with dark shades, the first portion of the first layer is one of an overlay and an underlay of one of the first portion and the second portion of the second layer and the second portion of the first layer is one of an overlay and an underlay of one of the first portion and the second portion of the second layer.
13. The two-dimension image of claim 12, wherein the first portion and the second portion of the second layer have been produced by an inversion of brightness features of an original second layer.
14. The two-dimension image of claim 1, which is generated by a computer process from a source file stored on a non-transitory computer media, said source file comprising:
information to be encoded using an optical code;
at least a parameter defining at least one of an optical and a geometrical transformation of said information.
15. The two-dimension image of claim 14, wherein the source file further comprises a pictorial image.
16. A source file stored on a non-transitory computer media, said source file comprising:
information to be encoded using an optical code, said optical code being usable to decode the information;
at least a parameter defining at least one of an optical and a geometrical transformation of said information.
17. The source file of claim 16, wherein the optical code is compliant with an encoding and decoding standard.
18. The source file of claim 17, further comprising a pictorial image.
19. The source file of claim 18, wherein the pictorial image is divided into a first portion with light shades and a second portion with dark shades.
US14/803,345 2011-08-16 2015-07-20 Optical-reading code preparation device Abandoned US20150324679A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/803,345 US20150324679A1 (en) 2011-08-16 2015-07-20 Optical-reading code preparation device

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
FR1102520A FR2979160B1 (en) 2011-08-16 2011-08-16 OPTICAL READING CODE PREPARATION DEVICE
FR1102520 2011-08-16
PCT/FR2012/000325 WO2013024211A1 (en) 2011-08-16 2012-08-02 Optical-reading code preparation device
US201414238974A 2014-04-10 2014-04-10
US14/803,345 US20150324679A1 (en) 2011-08-16 2015-07-20 Optical-reading code preparation device

Related Parent Applications (2)

Application Number Title Priority Date Filing Date
US14/238,974 Continuation US9117150B2 (en) 2011-08-16 2012-08-02 Optical-reading code preparation device
PCT/FR2012/000325 Continuation WO2013024211A1 (en) 2011-08-16 2012-08-02 Optical-reading code preparation device

Publications (1)

Publication Number Publication Date
US20150324679A1 true US20150324679A1 (en) 2015-11-12

Family

ID=46832456

Family Applications (2)

Application Number Title Priority Date Filing Date
US14/238,974 Active 2032-08-04 US9117150B2 (en) 2011-08-16 2012-08-02 Optical-reading code preparation device
US14/803,345 Abandoned US20150324679A1 (en) 2011-08-16 2015-07-20 Optical-reading code preparation device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US14/238,974 Active 2032-08-04 US9117150B2 (en) 2011-08-16 2012-08-02 Optical-reading code preparation device

Country Status (6)

Country Link
US (2) US9117150B2 (en)
EP (2) EP3173981A1 (en)
JP (2) JP2014526109A (en)
CN (1) CN103858136B (en)
FR (1) FR2979160B1 (en)
WO (1) WO2013024211A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6821418B2 (en) * 2016-12-16 2021-01-27 キヤノン株式会社 Image processing equipment, image processing methods, and programs
WO2020217262A1 (en) * 2019-04-25 2020-10-29 Seshaasai Business Forms Pvt. Ltd System and method for generation of secure qr code
CN112422196A (en) * 2020-11-09 2021-02-26 南京师范大学 Dark information composing device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6502752B2 (en) * 2001-01-23 2003-01-07 Hewlett-Packard Company Method and system for encoding information on a printed page by modulation of the dot development
US20030039394A1 (en) * 2001-08-27 2003-02-27 Tsutomu Yamazaki Image processing device, image processing method, image processing program, and computer readable recording medium on which image processing program is recorded
US20060215931A1 (en) * 2005-03-25 2006-09-28 Kabushiki Kaisha Image forming apparatus and computer readable medium
US7193754B2 (en) * 2003-07-11 2007-03-20 Tesa Scribos Gmbh Method for calculating and producing a computer-generated hologram and also a storage medium with a computer-generated hologram and a reading device
US20080002853A1 (en) * 2006-04-19 2008-01-03 A T Communications Co., Ltd. Two-dimensional code with a logo
US20100012736A1 (en) * 2006-07-05 2010-01-21 Iti Scotland Limited Bar code authentication
US20130039394A1 (en) * 2011-08-11 2013-02-14 Fujitsu Semiconductor Limited System and method for reducing or eliminating temperature dependence of a coherent receiver in a wireless communication device
US8406526B2 (en) * 2006-06-21 2013-03-26 Namco Bandai Games Inc. Two-dimensional code generation method, two-dimensional code, two-dimensional code recognition method, and image recognition device
US8915440B2 (en) * 2011-12-23 2014-12-23 Konica Minolta Laboratory U.S.A., Inc. Four dimensional (4D) color barcode for high capacity data encoding and decoding
US8931700B2 (en) * 2011-12-23 2015-01-13 Konica Minolta Laboratory U.S.A., Inc. Four dimensional (4D) color barcode for high capacity data encoding and decoding
US9355344B2 (en) * 2006-04-27 2016-05-31 Codebroker, Llc Customizing barcode images for particular displays

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7207491B2 (en) 2001-11-09 2007-04-24 International Barcode Corporation System and method for generating a combined bar code image
JP3817691B2 (en) * 2001-12-20 2006-09-06 温 松下 Communication method and communication system using screen
US7025269B2 (en) * 2003-04-24 2006-04-11 Watson Label Products Corp. Barcodes including embedded security features and space saving interleaved text
JP4014602B2 (en) * 2004-03-30 2007-11-28 下本 唱司 Image generation method and program including two-dimensional code
JP2005332112A (en) * 2004-05-19 2005-12-02 Matsushita Electric Ind Co Ltd Method for providing two-dimensional code
JP2006302050A (en) * 2005-04-21 2006-11-02 Main:Kk Two-dimensional bar code
JP4863346B2 (en) * 2005-06-01 2012-01-25 Kddi株式会社 Color image superimposed barcode generation method and apparatus
JP4592554B2 (en) * 2005-10-06 2010-12-01 デジタル・インフォメーション・テクノロジー株式会社 Code pattern image data generation device, code pattern image data generation method, medium with code pattern, display device, and computer program
CA2654085A1 (en) * 2006-06-14 2007-12-21 Veritec, Inc. Multi-dimensional symbologies and related methods
JP4873623B2 (en) * 2006-07-28 2012-02-08 Kddi株式会社 Method and apparatus for embedding barcode in color image, and computer program
JP2009075873A (en) * 2007-09-20 2009-04-09 A T Communications Co Ltd Apparatus, method and program for creating two-dimensional code with logo
JP4969403B2 (en) * 2007-10-24 2012-07-04 A・Tコミュニケーションズ株式会社 Two-dimensional code with logo
JP2010165340A (en) * 2008-12-18 2010-07-29 Exfrontier Co Ltd Method for generating two-dimensional code superimposed on color image
WO2011118540A1 (en) * 2010-03-26 2011-09-29 A・Tコミュニケーションズ株式会社 Two-dimensional code with a logo, device for generating a two-dimensional code with a logo, method for generating a two-dimensional code with a logo, and program

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6502752B2 (en) * 2001-01-23 2003-01-07 Hewlett-Packard Company Method and system for encoding information on a printed page by modulation of the dot development
US20030039394A1 (en) * 2001-08-27 2003-02-27 Tsutomu Yamazaki Image processing device, image processing method, image processing program, and computer readable recording medium on which image processing program is recorded
US7193754B2 (en) * 2003-07-11 2007-03-20 Tesa Scribos Gmbh Method for calculating and producing a computer-generated hologram and also a storage medium with a computer-generated hologram and a reading device
US20060215931A1 (en) * 2005-03-25 2006-09-28 Kabushiki Kaisha Image forming apparatus and computer readable medium
US20080002853A1 (en) * 2006-04-19 2008-01-03 A T Communications Co., Ltd. Two-dimensional code with a logo
US9355344B2 (en) * 2006-04-27 2016-05-31 Codebroker, Llc Customizing barcode images for particular displays
US8406526B2 (en) * 2006-06-21 2013-03-26 Namco Bandai Games Inc. Two-dimensional code generation method, two-dimensional code, two-dimensional code recognition method, and image recognition device
US20100012736A1 (en) * 2006-07-05 2010-01-21 Iti Scotland Limited Bar code authentication
US20130039394A1 (en) * 2011-08-11 2013-02-14 Fujitsu Semiconductor Limited System and method for reducing or eliminating temperature dependence of a coherent receiver in a wireless communication device
US8915440B2 (en) * 2011-12-23 2014-12-23 Konica Minolta Laboratory U.S.A., Inc. Four dimensional (4D) color barcode for high capacity data encoding and decoding
US8931700B2 (en) * 2011-12-23 2015-01-13 Konica Minolta Laboratory U.S.A., Inc. Four dimensional (4D) color barcode for high capacity data encoding and decoding

Also Published As

Publication number Publication date
CN103858136A (en) 2014-06-11
JP2017079082A (en) 2017-04-27
FR2979160A1 (en) 2013-02-22
JP2014526109A (en) 2014-10-02
US20140299669A1 (en) 2014-10-09
EP2745241A1 (en) 2014-06-25
FR2979160B1 (en) 2013-09-06
CN103858136B (en) 2016-10-12
WO2013024211A1 (en) 2013-02-21
US9117150B2 (en) 2015-08-25
EP3173981A1 (en) 2017-05-31

Similar Documents

Publication Publication Date Title
Chu et al. Halftone QR codes
JP4607179B2 (en) Transparent two-dimensional code, article with two-dimensional code, two-dimensional code printing method and display method
JP4557866B2 (en) Mixed code, mixed code generation method and apparatus, and recording medium
JP4515999B2 (en) Mixed code decoding method and apparatus, and recording medium
KR100653885B1 (en) Mixed-code decoding method and apparatus
US9077823B1 (en) Systems and methods for automatically generating a photo-based project having a flush photo montage on the front cover
EP1807796B1 (en) Mixed code, and method and apparatus for generating the same, and method and appratus for decoding the same
Baharav et al. Visually significant QR codes: Image blending and statistical analysis
US20100281361A1 (en) Automated method for alignment of document objects
RU2668063C2 (en) Data transmission using optical codes
US8550367B2 (en) System and method for embedding machine-readable codes in combination with other images such as logos
CN105117760A (en) Method for generating color image two-dimensional code through fusion of two-dimensional code with color image
CA2708588A1 (en) Document verification using dynamic document identification framework
EP2864958A2 (en) Image mask providing a machine-readable data matrix code
US20170200247A1 (en) Systems and methods for authentication of physical features on identification documents
WO2020024939A1 (en) Text region identification method and device
US20150324679A1 (en) Optical-reading code preparation device
CN106557733B (en) Information processing unit and information processing method
US20130334313A1 (en) System and method for encoding and extending data limit of barcode symbologies
JP4738668B2 (en) Document management apparatus, document management method, and storage medium storing program for causing computer to perform processing in document management apparatus
Beglov Object information based on marker recognition
CN107273961A (en) A kind of method that color 2 D code is automatically generated according to template
Dogan et al. StructCode: Leveraging Fabrication Artifacts to Store Data in Laser-Cut Objects
Ledoux et al. Alphanumeric glyphs transformation based on shape morphing: Context of text
US10832016B1 (en) Three dimensional encoded geometry fabrication operation

Legal Events

Date Code Title Description
AS Assignment

Owner name: MOBILEAD, FRANCE

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:TONNELIER, LAURENT;LEBAS, LUDOVIC;REEL/FRAME:036713/0819

Effective date: 20151002

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION