JP2003091697A - Two-dimensional code system and method for the same - Google Patents

Two-dimensional code system and method for the same

Info

Publication number
JP2003091697A
JP2003091697A JP2001280940A JP2001280940A JP2003091697A JP 2003091697 A JP2003091697 A JP 2003091697A JP 2001280940 A JP2001280940 A JP 2001280940A JP 2001280940 A JP2001280940 A JP 2001280940A JP 2003091697 A JP2003091697 A JP 2003091697A
Authority
JP
Japan
Prior art keywords
dimensional code
data
cell
cells
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001280940A
Other languages
Japanese (ja)
Inventor
Hideki Fukunaga
秀樹 福永
Mario Fuse
マリオ 布施
Shoji Yamaguchi
昭治 山口
Tetsuya Kimura
哲也 木村
Hideaki Ashikaga
英昭 足利
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2001280940A priority Critical patent/JP2003091697A/en
Publication of JP2003091697A publication Critical patent/JP2003091697A/en
Pending legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a two-dimensional code that is larger in data capacity than a two-dimensional code of two black and white colors. SOLUTION: The standard of a mean optical density C of each cell has four-level multiple gradations C (0) to C (3) as exemplified in Fig. 3 (c), and a cell 1 of the lowest mean optical density, a cell 3 of the next low level, a cell 4 of the next low level and a cell 2 of the highest mean optical density correspond to two-bit data 00, two-bit data 01, two-bit data 10 and two-bit data 11 respectively. The two-dimensional code can express six-bit data with three multiple-gradation cells as exemplified in Fig. 3 (d). The two-dimensional code can thus realize twice as high an information density as a monochrome two-dimensional code.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、データを2次元コ
ードに変換し、2次元コードからデータを解読する2次
元コードシステムおよびその方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a two-dimensional code system and method for converting data into a two-dimensional code and decoding the data from the two-dimensional code.

【0002】[0002]

【従来の技術】例えば、POSシステムなどにおいて
は、データをバーコードと呼ばれる1次元的なパターン
(1次元コード)に変換して管理対象に付し、管理対象
に付したコードを光学的に読み出して、管理を行う方法
が用いられている。また、データを表現するコードが表
現するデータ量を増やすために、データを2次元的な白
黒のコードに変換する方法が用いられるようになってき
ている。例えば、「特開平2000−123132号公
報」(文献1)は、データをカラーの2次元コードに変
換する方法を開示する。
2. Description of the Related Art For example, in a POS system or the like, data is converted into a one-dimensional pattern (one-dimensional code) called a bar code, which is attached to a management target, and the code attached to the management target is optically read. Therefore, the method of managing is used. Further, in order to increase the amount of data expressed by a code expressing data, a method of converting the data into a two-dimensional black and white code has been used. For example, Japanese Patent Laid-Open No. 2000-123132 (Reference 1) discloses a method for converting data into a two-dimensional color code.

【0003】しかしながら、白黒2色の2次元コードを
用いて、表現するデータ量を増やそうとすると、2次元
コードを印刷し、また、印刷された2次元パターンを読
み取るための解像度を上げる必要がある。また、文献1
に開示された方法は、カラーで画像を印刷・読み取り可
能なカラープリンタおよびカラースキャナを必要とし、
例えば、白黒プリンタおよび白黒スキャナのみを備えた
システムに対して適用できない。また、文献1に開示さ
れた方法を用いても、カラースキャナは、カラー画像
を、色の三原色(R,G,B)に分解して読み込むの
で、データ容量を3倍以上の増やすことはできない。
However, if the amount of data to be expressed is increased by using a two-dimensional code of two colors of black and white, it is necessary to print the two-dimensional code and increase the resolution for reading the printed two-dimensional pattern. . In addition, reference 1
The method disclosed in requires a color printer and a color scanner capable of printing and reading an image in color,
For example, it cannot be applied to a system having only a monochrome printer and a monochrome scanner. Further, even if the method disclosed in Document 1 is used, the color scanner separates the color image into the three primary colors (R, G, B) and reads it, so that the data capacity cannot be increased more than three times. .

【0004】[0004]

【発明が解決しようとする課題】本発明は、上述した従
来技術の問題点に鑑みてなされたものであり、白黒2色
の2次元コードよりも、データ容量を大きく増やすこと
ができる2次元コードシステムおよびその方法を提供す
ることを目的とする。また、本発明は、カラープリンタ
・カラースキャナを用いない場合であっても、データ容
量が大きい2次元コードを作成し、この2次元コードか
ら元のデータを復元することができる2次元コードシス
テムおよびその方法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the prior art, and is a two-dimensional code capable of greatly increasing the data capacity as compared with a two-dimensional code of two colors of black and white. It is an object to provide a system and a method thereof. Further, according to the present invention, a two-dimensional code system capable of creating a two-dimensional code having a large data capacity and restoring the original data from the two-dimensional code even when a color printer / color scanner is not used. The purpose is to provide the method.

【0005】[0005]

【課題を解決するための手段】[2次元コードシステ
ム]上記目的を達成するために、本発明にかかる2次元
コードシステムは、データを、複数のセルを2次元の配
列で含む2次元コードに変換し、変換したコードから前
記データを復元する2次元コードシステムであって、前
記データを、前記2次元コードに含まれる複数のセルの
色の濃度に変換して、前記2次元コードを作成する2次
元コード作成手段と、前記作成された2次元コードを画
像出力する2次元コード出力手段とを有する。
[Two-dimensional code system] In order to achieve the above object, a two-dimensional code system according to the present invention converts data into a two-dimensional code including a plurality of cells in a two-dimensional array. A two-dimensional code system for converting and restoring the data from the converted code, wherein the data is converted into color densities of a plurality of cells included in the two-dimensional code to create the two-dimensional code. It has a two-dimensional code creation means and a two-dimensional code output means for outputting the created two-dimensional code as an image.

【0006】好適には、前記2次元コードは1つの色で
表現され、前記2次元コードに含まれるセルの色の濃淡
は、前記1つの色の複数の階調により表現され、前記2
次元コード作成手段は、前記データを、前記2次元コー
ドに含まれる複数のセルそれぞれの前記1色の階調に変
換して前記2次元コードを作成する。
Preferably, the two-dimensional code is represented by one color, and the shade of the color of the cell included in the two-dimensional code is represented by a plurality of gradations of the one color.
The dimension code creating means creates the two-dimensional code by converting the data into the gradation of the one color of each of the plurality of cells included in the two-dimensional code.

【0007】好適には、前記出力された2次元コードに
含まれる複数のセルそれぞれの前記1色の階調に基づい
て、前記データを復元するデータ復元手をさらに有す
る。
[0007] Preferably, there is further provided a data decompressor for decompressing the data based on the gradation of one color of each of a plurality of cells included in the output two-dimensional code.

【0008】好適には、前記2次元コードは、複数の色
で表現され、前記2次元コードに含まれるセルそれぞれ
の色の濃淡は、前記複数の色それぞれの階調の重ね合わ
せにより表現され、前記2次元コード作成手段は、前記
データを、前記2次元コードに含まれる複数のセルそれ
ぞれの前記複数の色それぞれの階調の重ね合わせに変換
して前記2次元コードを作成する。
Preferably, the two-dimensional code is represented by a plurality of colors, and the shade of each color of cells included in the two-dimensional code is represented by superimposing gradations of each of the plurality of colors, The two-dimensional code creating means creates the two-dimensional code by converting the data into a superposition of gradations of each of the plurality of colors of each of the plurality of cells included in the two-dimensional code.

【0009】好適には、前記出力された2次元コードに
含まれる複数のセルそれぞれの前記複数の色それぞれの
階調に基づいて、前記データを復元するデータ復元手段
をさらに有する。
Preferably, it further comprises a data restoring means for restoring the data based on the gradation of each of the plurality of colors of each of the plurality of cells included in the output two-dimensional code.

【0010】好適には、前記出力手段は、前記2次元コ
ードに含まれる複数のセルの色の濃淡を表現する色の階
調を示すパターンの画像を、前記2次元コード以外にさ
らに出力する。
Preferably, the output means further outputs, in addition to the two-dimensional code, an image of a pattern showing gradations of colors expressing the shades of colors of a plurality of cells included in the two-dimensional code.

【0011】[方法]また、本発明にかかる方法は、デ
ータを、複数のセルを2次元の配列で含む2次元コード
に変換し、変換したコードから前記データを復元する方
法であって、前記データを、前記2次元コードに含まれ
る複数のセルの色の濃度に変換して、前記2次元コード
を作成し、前記作成された2次元コードを画像出力す
る。
[Method] The method according to the present invention is a method of converting data into a two-dimensional code including a plurality of cells in a two-dimensional array, and restoring the data from the converted code. The data is converted into color densities of a plurality of cells included in the two-dimensional code to create the two-dimensional code, and the created two-dimensional code is output as an image.

【0012】[プログラム]また、本発明にかかるプロ
グラムは、データを、複数のセルを2次元の配列で含む
2次元コードに変換し、変換したコードから前記データ
を復元するプログラムであって、前記データを、前記2
次元コードに含まれる複数のセルの色の濃度に変換し
て、前記2次元コードを作成するステップと、前記作成
された2次元コードを画像出力するステップとをコンピ
ュータに実行させる。
[Program] A program according to the present invention is a program for converting data into a two-dimensional code including a plurality of cells in a two-dimensional array, and restoring the data from the converted code. The data is
The computer is caused to execute the steps of converting the color density of a plurality of cells included in the dimension code to create the two-dimensional code and the step of outputting the created two-dimensional code as an image.

【0013】[0013]

【発明の実施の形態】[本発明の背景]本発明の実施形
態の説明に先立ち、本発明の理解を助けるために、その
背景を説明する。図1は、本発明の背景技術として示す
2次元コード101の図である。図1に示した2次元コ
ード101は、セル102と呼ばれる白または黒で印刷
された矩形を最小単位として構成されている。図1に示
した2次元コード以外の2次元コードもセルから構成さ
れるが、セルの形状は正方形とは限らない。図1に示し
た以外の種類の2次元コードにおいては、正方形以外の
形状、例えば長方形、円、楕円あるいは線状といった、
様々な形状のセルが用いられることもある。
DESCRIPTION OF THE PREFERRED EMBODIMENTS [Background of the Invention] Before describing the embodiments of the present invention, the background thereof will be described in order to help understanding of the present invention. FIG. 1 is a diagram of a two-dimensional code 101 shown as the background art of the present invention. The two-dimensional code 101 shown in FIG. 1 is configured with a rectangular unit, called a cell 102, printed in white or black as a minimum unit. Two-dimensional codes other than the two-dimensional code shown in FIG. 1 are also composed of cells, but the shape of the cells is not necessarily square. In the types of two-dimensional codes other than those shown in FIG. 1, shapes other than squares, such as rectangles, circles, ellipses, or lines,
Various shaped cells may also be used.

【0014】2次元コードにおいては、セルの全てがデ
ータを表すために用いられているのではなく、例えば、
2次元コード101は、データを表すデータ領域105
のセルの他に、正確な読み取りのための基準を与える位
置検出パターン102およびタイミングパターン104
のセルを含んでいる。図1に示した2次元コード101
は、1000バイト程度のデータを表すことが可能であ
る。
In a two-dimensional code, not all cells are used to represent data, for example:
The two-dimensional code 101 is a data area 105 that represents data.
Position detection pattern 102 and timing pattern 104 that provide a reference for accurate reading
Contains cells. Two-dimensional code 101 shown in FIG.
Can represent data of about 1000 bytes.

【0015】更に情報量を増やすためには、2次元コー
ドを複数作成する方法か、2次元コードを構成するセル
の最小サイズを微細化する方法が考えられる。しかしな
がら、2次元コードを複数作成した場合、配置面積が大
きくなる上に、複数の2次元コードを個々に読取る手間
が生じる。また、セルの最小サイズを微小化した場合、
微小なゴミや汚れによる読み取りエラーが生じ易くなっ
たり、読み取りのために高解像度の光学系を用いる必要
が生じる。
In order to further increase the amount of information, a method of creating a plurality of two-dimensional codes or a method of miniaturizing the minimum size of cells forming the two-dimensional code can be considered. However, when a plurality of two-dimensional codes are created, the arrangement area becomes large and it takes time to read each of the plurality of two-dimensional codes. Also, when the minimum cell size is reduced,
A reading error is likely to occur due to minute dust or dirt, and it becomes necessary to use a high-resolution optical system for reading.

【0016】図2は、2次元コードのカラー化を説明す
る図である。これらの他に、情報量を増やす手段とし
て、2次元コードをカラー化して、情報量を3倍まで増
やす方法がある。例えば、図2に示すように、白色の面
上の2次元コード106は、2次元コード106の左辺
および下辺のセルに黒色を付し、他の2辺上のセルに白
色と黒色とを交互に付すことにより作成されたガイドセ
ル107と、ガイドセル107の内側に配置され、赤・
緑・青・黒の組み合わせによりデータを表すデータセル
108とから構成される。
FIG. 2 is a diagram for explaining colorization of a two-dimensional code. In addition to these, there is a method of increasing the amount of information up to three times by colorizing a two-dimensional code. For example, as shown in FIG. 2, in the two-dimensional code 106 on the white surface, the cells on the left side and the lower side of the two-dimensional code 106 are colored black, and the cells on the other two sides are alternated between white and black. The guide cell 107 created by attaching to the
It is composed of a data cell 108 which represents data by a combination of green, blue and black.

【0017】光の色合成では、赤・緑・青の3色を合成
すると白となり、赤・緑・黒を合成すると黄色になり、
緑・青・黒を合成するとシアンになり、青・赤・黒を合
成するとマゼンタとなる。2次元コード106は、ガイ
ドセル107の内側のセルそれぞれに白(地の色と同
じ)黄色・シアン・マゼンダを付すことにより、モノク
ロで表現された2次元コードの3倍の情報量を表現する
ことができる。2次元コード106からデータを復元す
るためには、2次元コード106を読み取って、各セル
の色をRGB分解すればよい。
In light color combination, three colors of red, green and blue are combined into white, and red, green and black are combined into yellow,
Combining green, blue, and black produces cyan, and combining blue, red, and black produces magenta. The two-dimensional code 106 expresses an information amount three times as large as that of the two-dimensional code expressed in monochrome by adding white (same as the background color) yellow, cyan, and magenta to each cell inside the guide cell 107. be able to. In order to restore the data from the two-dimensional code 106, the two-dimensional code 106 may be read and the color of each cell may be separated into RGB.

【0018】通常のカラースキャナーは、RGBの3色
に色分離を行うので、2次元コード106におけるよう
に、カラー化を図っても、表現しうるデータ量を3倍以
上に増やすことはできない。また、2次元コード106
の印刷には、当然のことながらカラープリンタが必要で
あり、2次元コード106を白黒プリンターのみを有す
るシステムでは印刷することができない。従って、モノ
クロの2次元コード101(図1)と同じ面積で、カラ
ー化した2次元コード106(図2)よりもさらに多く
の量のデータを表すことができれば、非常に便利であ
り、広範な用途が期待できる。
Since an ordinary color scanner performs color separation into three colors of RGB, even if colorization is attempted as in the two-dimensional code 106, the amount of data that can be expressed cannot be tripled or more. Also, the two-dimensional code 106
Of course, a color printer is required for printing, and the two-dimensional code 106 cannot be printed by a system having only a monochrome printer. Therefore, if it is possible to represent a larger amount of data than the colorized two-dimensional code 106 (FIG. 2) in the same area as the monochrome two-dimensional code 101 (FIG. 1), it is very convenient and wide range. Applications can be expected.

【0019】本発明にかかる2次元コードは、読み出し
時に位置検出等に用いる2次元状に配列されたセルから
構成された基本領域と、二進データで表される入力され
たデータを格納する2次元状に配列されたセルで構成さ
れたデータ領域とから形成された2次元コードにおい
て、前記データ領域内のセルが2つ以上の複数の二進デ
ータを1つのセルで表現する値に応じて複数の光学濃度
からなることを特徴とする。
The two-dimensional code according to the present invention stores a basic area composed of two-dimensionally arranged cells used for position detection and the like at the time of reading and input data represented by binary data. In a two-dimensional code formed of a data area composed of cells arranged in a dimension, a cell in the data area corresponds to a value representing two or more binary data in one cell. It is characterized by comprising a plurality of optical densities.

【0020】好適には、複数の色のセルによって形成さ
れるカラー2次元コードにおいて、前記データ領域内の
同一色のセルがデータに応じて前記複数の光学濃度から
なり、それぞれの色の前記セルが重ね合わされて一体化
されたものである。
Preferably, in a color two-dimensional code formed by cells of a plurality of colors, the cells of the same color in the data area consist of the plurality of optical densities according to data, and the cells of each color Are integrated by being superposed.

【0021】好適には、前記データ領域内のセルがデー
タに応じて前記複数の光学濃度からなる2次元コードに
おいて、前記データ領域以外の所定の位置で光学濃度が
規定されたパターンを有する。
Preferably, a cell in the data area has a pattern in which the optical density is defined at a predetermined position other than the data area in the two-dimensional code having the plurality of optical densities according to the data.

【0022】[第1実施形態]以下、本発明の第1の実
施形態を説明する。図3は、本発明にかかるカラー2次
元コードのセルを説明する図であって、(a)はモノク
ロの2次元コードに含まれるセルの光学濃度Cを示し、
(b)はモノクロの2次元コードに含まれるセルのパタ
ーンを例示し、(c)は本発明にかかる2次元コードの
セルの光学濃度Cを示す図であり、(d)は本発明にか
かる2次元コードに含まれるセルのパターンを示す。
[First Embodiment] The first embodiment of the present invention will be described below. FIG. 3 is a diagram for explaining a cell of a color two-dimensional code according to the present invention, in which (a) shows an optical density C of a cell included in a monochrome two-dimensional code,
(B) exemplifies a cell pattern included in a monochrome two-dimensional code, (c) is a diagram showing an optical density C of a cell of a two-dimensional code according to the present invention, and (d) relates to the present invention. The pattern of the cells included in the two-dimensional code is shown.

【0023】モノクロの2次元コードのセルは、図3
(a)に示すように、セルの平均光学濃度が高いC
(1)の黒セル2と、平均光学濃度が低いC(0)の白
セル1とに分けられる。例えば。白セル1はビット値0
を示し、黒セル2はビット値1を表し、図3(b)に示
すように、モノクロの2次元コードは、白セル1と黒セ
ル2とのパターン配列によりデータを表現する。
The cell of the monochrome two-dimensional code is shown in FIG.
As shown in (a), C having a high average optical density of the cell
It is divided into a black cell 2 of (1) and a white cell 1 of C (0) having a low average optical density. For example. White cell 1 has a bit value of 0
The black cell 2 represents the bit value 1, and as shown in FIG. 3B, the monochrome two-dimensional code represents the data by the pattern arrangement of the white cell 1 and the black cell 2.

【0024】これに対し、本発明にかかる2次元コード
は、各セルの平均光学濃度Cの基準を、図3(c)に例
示するように、C(0),C(1),C(2),C
(3)の4段階の多階調とし、平均光学濃度が最も低い
セル1を2ビットデータ00に、次に低いセル3を2ビ
ットデータ01に、次に低いセル4を2ビットデータ1
0に、最も平均光学濃度が高いセル2を2ビットデータ
11に対応させる。こうすることにより、本発明にかか
る2次元コードにおいては、6ビットデータは、図3
(d)に例示するように3個の多階調セルで表すことが
できる。従って、本発明にかかる2次元コードは、モノ
クロの2次元コードに対して、2倍の情報密度を実現す
ることができる。
On the other hand, in the two-dimensional code according to the present invention, the standard of the average optical density C of each cell is C (0), C (1), C (as shown in FIG. 3C. 2), C
The cell 1 having the lowest average optical density is the 2-bit data 00, the cell 3 having the second lowest is the 2-bit data 01, and the cell 4 having the second lowest is the 2-bit data 1 in (3).
The cell 2 having the highest average optical density is associated with 0 to the 2-bit data 11. By doing so, in the two-dimensional code according to the present invention, 6-bit data is converted into the data shown in FIG.
As illustrated in (d), it can be represented by three multi-tone cells. Therefore, the two-dimensional code according to the present invention can realize twice the information density as compared with the monochrome two-dimensional code.

【0025】図3(c),(d)には、セルの階調を4
段階とする場合を例示したが、セルの階調をさらに増や
し、例えば、平均光学濃度を8値とすると、情報密度を
モノクロの2次元コードの3倍とすることができ、さら
に、平均光学濃度を16値とすると、情報密度を4倍と
することができる。つまり、1つのセルの平均高額密度
を2のn乗(nは整数)段階とすると、1つのセルに格
納できるデータ量は、セルの平均光学濃度が2値(白・
黒)の時のn倍になる。
In FIGS. 3 (c) and 3 (d), the gradation of the cell is 4
Although the case where the number of steps is set as an example is illustrated, if the gradation of the cell is further increased and, for example, the average optical density is set to eight, the information density can be three times that of the monochrome two-dimensional code. When 16 is a value, the information density can be quadrupled. That is, if the average high-price density of one cell is set to the nth power of 2 (n is an integer), the amount of data that can be stored in one cell is such that the average optical density of the cell is binary (white.
It will be n times that of black).

【0026】このような平均光学濃度を変えた多階調で
表現するセルは、一般に知られているような、PDF41
7、Micro PDF417、Code49、Code16K、Cod
ablock、SuperCode、UltraCode、QRコード、Micr
o Qrコード、VeriCode、CPCode、DataMatrix、
Code1、MaxiCode、AztecCode、DataMatrix E
CC200、スキャントークコード、SPコード、DDコー
ド、Intacta Code、Cyber Codeなどの2次元コー
ドにも適用できる他、一般的なバーコードに用いること
もできる。
A cell which expresses in such a multi-gradation in which the average optical density is changed is a PDF 41 which is generally known.
7, Micro PDF417, Code49, Code16K, Cod
ablock, SuperCode, UltraCode, QR code, Micr
o Qr code, VeriCode, CPCode, DataMatrix,
Code1, MaxiCode, AztecCode, DataMatrix E
It can be applied to two-dimensional codes such as CC200, scan talk code, SP code, DD code, Intacta Code, and Cyber Code, and can also be used for general barcodes.

【0027】[本発明にかかる2次元コードの作成方
法]以下、本発明にかかる2次元コードの作成方法を説
明する。入力された24ビットデータの値が、例えば、
[0111 0010 1000 0001 0001
1101]である場合に、これら24ビットのデータ
をRGBの3色に対応させて8個づつ、Rのデータとし
てR[0111 0010]、GのデータとしてG[1
000 0001]、BのデータとしてB[0001
1101]の3つに分割する。各色におけるデータをR
[01|11|00|10],G[10|00|00|0
1],B[00|01|11|01]のように2個づつに
分け、[00],[01],[10],[11]を、R
の場合ではそれぞれ平均光学濃度R(0),R(1),
R(2),R(3)の4値に変換することによって、R
[R(1)|R(3)|R(0)|R(2)]のように4
個のデータが形成される。
[Method for Creating Two-Dimensional Code According to the Present Invention] The method for creating a two-dimensional code according to the present invention will be described below. The value of the input 24-bit data is, for example,
[0111 0010 1000 1000 0001 0001
1101], each of these 24-bit data is associated with three colors of RGB, eight each, R [0111 0010] as R data, and G [1 as G data.
000 0001], and B [0001 as the data of B
1101]. R for each color data
[01 | 11 | 00 | 10], G [10 | 00 | 00 | 0
1], B [00 | 01 | 11 | 01], and divide [00], [01], [10], [11] into R
In the case of, the average optical densities R (0), R (1),
By converting into four values of R (2) and R (3), R
4 like [R (1) | R (3) | R (0) | R (2)]
Individual data are formed.

【0028】図4は、本発明にかかる2次元コードに含
まれるセルのパターンを例示する図であって、(a)は
Rのデータを示し、(b)はGのデータを示し、(c)
はBのデータを示し、(d)は(a)〜(c)に示した
データを重ね合わせた状態を示す図である。このように
して平均光学濃度の値に変換されたデータを、所定のフ
ォーマットに従って配置し、2次元状のマトリックスを
形成する。
FIG. 4 is a diagram illustrating a cell pattern included in the two-dimensional code according to the present invention. (A) shows R data, (b) shows G data, and (c). )
Shows data of B, and (d) is a diagram showing a state in which the data shown in (a) to (c) are superimposed. The data thus converted into the value of the average optical density is arranged according to a predetermined format to form a two-dimensional matrix.

【0029】図4(a)に示すように、2×2のマトリ
ックM(2,2)5の場合、M(1,1)6,M(1,
2)7,M(2,1)8,M(2,2)9の順にデータ
を配置したとすると、平均光学濃度の値のデータはR
(1)→M(1,1)6,R(3)→M(1,2)7,
R(0)→M(2,1)8,R(2)→M(2,2)9
のようにマトリックス5に格納される。さらに、図4
(b),(c)に示すように、G,Bについても同様の
処理を行う。こうして形成されたRGBそれぞれのマト
リックスを図4(d)に示すように重ね合わせ、各マト
リックスのRGBで同じ行列に位置するセルでそれぞれ
の色を指定された平均光学濃度で合成し、データセル1
0を作成する。
As shown in FIG. 4A, in the case of a 2 × 2 matrix M (2,2) 5, M (1,1) 6, M (1,
2) If data is arranged in the order of 7, M (2,1) 8, M (2,2) 9, the data of the value of the average optical density is R
(1) → M (1,1) 6, R (3) → M (1,2) 7,
R (0) → M (2,1) 8, R (2) → M (2,2) 9
Are stored in the matrix 5 as follows. Furthermore, FIG.
As shown in (b) and (c), similar processing is performed for G and B. The RGB matrices thus formed are overlaid as shown in FIG. 4D, and the respective colors of the RGB cells of each matrix are combined at the specified average optical density in the cells located in the same matrix, and data cell 1
Create 0.

【0030】以上はデータが2×2のマトリックスで構
成される例を示したが、実際には2次元コードのデータ
領域にあるセル全てで同様なことを行う。図5に示すよ
うに2次元コード11には、データを格納するデータ領
域12の他に、一般にはそれぞれのセルの位置を検出す
るための位置検出用パターン13〜15が備わってい
る。ここで、第1の位置検出用パターン13をR
(3),G(3),B(3)の平均光学濃度の色で形成
し、第2の位置検出用パターン14をR(2),G
(2),B(2)の平均光学濃度の色で形成し、第3の
位置検出用パターン15をR(1),G(1),B
(1)の平均光学濃度の色で形成することにより、読み
取り時に基準とする平均光学濃度の設定を容易に行うこ
とができる。
Although the example in which the data is composed of a 2 × 2 matrix has been described above, the same operation is actually performed in all cells in the data area of the two-dimensional code. As shown in FIG. 5, the two-dimensional code 11 generally includes position detection patterns 13 to 15 for detecting the position of each cell, in addition to the data area 12 for storing data. Here, the first position detection pattern 13 is set to R
(3), G (3), and B (3) having the average optical density colors, and the second position detection pattern 14 is formed by R (2), G (3).
(2), B (2) are formed with a color having an average optical density, and the third position detection pattern 15 is formed by R (1), G (1), B
By forming the color having the average optical density of (1), it is possible to easily set the average optical density as a reference during reading.

【0031】なお、平均光学濃度の基準とするパターン
は、位置検出用パターンと必ずしも一致させる必要はな
く、位置検出用パターンと同様にデータを含まない基準
パターンとして2次元コード11内に配置してもよい。
このようにして多階調で表現されたカラー2次元コード
の画像が印刷装置によって出力される。
The pattern used as the reference of the average optical density does not necessarily have to match the position detection pattern, and like the position detection pattern, it is arranged in the two-dimensional code 11 as a reference pattern containing no data. Good.
In this way, the image of the color two-dimensional code expressed in multiple gradations is output by the printing device.

【0032】ここでは各色のマトリックスの要素数とセ
ルの大きさを同じにしたが、マトリックスやセルの大き
さはRGBそれぞれで異なっていてもよい。これは読み
取り後にRGBに色分解した場合、それぞれ独立にデコ
ードを行うため、データの取り扱いを行う上で、互いの
相関がないためである。また、本発明の実施の形態で示
した多階調のセルは、図5に示した2次元コードのパタ
ーンに限られるものではなく、従来から用いられている
モノクロあるいはカラーで表現された2次元コードにも
適用可能である。
Although the number of elements of the matrix of each color and the size of the cell are the same here, the size of the matrix and the cell may be different for each of RGB. This is because when the data is separated into RGB after reading, they are independently decoded, and there is no correlation in handling the data. The multi-gradation cell shown in the embodiment of the present invention is not limited to the pattern of the two-dimensional code shown in FIG. 5, but the two-dimensional one expressed in monochrome or color which has been conventionally used. It can also be applied to code.

【0033】次に、作成された2次元コードからのデー
タの復元方法について図6を用いて説明する。スキャナ
ーに2次元コードの記載された媒体をセットした後、ス
キャナーをスタートさせる。一般のスキャナーでは、レ
ンズを通過した光はカラーフィルターを通して色分離さ
れ、RGBそれぞれに対応したCCDセンサーに入射す
る。CCDセンサーによって電気信号に変換された信号
をアナログ/デジタル(A/D)変換し、色毎にメモリ
ーに格納される。
Next, a method of restoring data from the created two-dimensional code will be described with reference to FIG. After setting the medium with the two-dimensional code written in the scanner, start the scanner. In a general scanner, light passing through a lens is color-separated through a color filter and is incident on CCD sensors corresponding to RGB. The signal converted into an electric signal by the CCD sensor is converted from analog / digital (A / D) and stored in the memory for each color.

【0034】各色毎に位置検出パターンを検出した後、
この情報をもとに光学濃度基準パターンの位置を特定
し、基準パターンの濃度を読取って基準濃度を設定す
る。次にデータ領域の各セルの光学濃度を基準濃度と比
較することによって4値に振り分け、位置検出パターン
の情報をもとに所定のフォーマットに従って4値から2
値のデータに展開することで復号を行うと共に、誤り訂
正を行う。RGBそれぞれのデータが復号された後、各
データを合成することによって入力されたデータが復元
され、所定の方法で出力される。
After detecting the position detection pattern for each color,
The position of the optical density reference pattern is specified based on this information, the density of the reference pattern is read, and the reference density is set. Next, the optical density of each cell in the data area is divided into four values by comparing with the reference density, and from the four values to 2 according to the predetermined format based on the information of the position detection pattern.
The data is expanded into value data to perform decoding and error correction. After each of the RGB data is decoded, the input data is restored by synthesizing the data, and is output by a predetermined method.

【0035】ここでは一般に用いられているスキャナー
を例に挙げたが、一般のカメラを用いてもよく、その場
合カメラレンズで読取った2次元コードを色分離し、A/
D変換後メモリーに格納した後の処理は同様である。ま
た、色分離を行うにあたって、ここではフィルターを用
いているが、RGBに色分離する場合にはRGBの単色
光を当てることで、モノクロ対応のスキャナーやカメラ
を用いることも可能である。さらにここでは、光学濃度
の基準パターンとの比較によって各セルの平均光学濃度
の値を決定したが、データ領域を広く確保するために光
学濃度の基準パターンを用いない場合には、データ領域
内にあるセルから読み込んだ光学濃度の分布を解析する
ことによって基準値を算出してもよい。
Although a commonly used scanner is given as an example here, a general camera may be used. In that case, the two-dimensional code read by the camera lens is color-separated and
The processing after storing in the memory after D conversion is the same. Although a filter is used here for color separation, a monochrome scanner or camera can be used by applying RGB monochromatic light when performing color separation into RGB. Further, here, the value of the average optical density of each cell is determined by comparison with the reference pattern of optical density, but if the reference pattern of optical density is not used to secure a wide data area, it is set in the data area. The reference value may be calculated by analyzing the distribution of the optical density read from a certain cell.

【0036】以上、本発明の第1の実施形態において
は、RGB3色によるカラー2次元コードを用いて説明
を行ったが、可視光に対して透明でかつ赤外光を吸収す
る材料や、あるいは可視光に対して透明でかつ紫外光を
吸収する材料を用いた場合、RGBを構成する材料が赤
外光や紫外光に対し吸収材料に比べて十分に透明であれ
ば、これらを本発明に適用することによって2次元コー
ドを合成し、大容量化を図ることも可能である。
As described above, in the first embodiment of the present invention, the description has been made by using the color two-dimensional code of RGB three colors. However, a material which is transparent to visible light and absorbs infrared light, or When a material that is transparent to visible light and absorbs ultraviolet light is used, and if the material forming RGB is sufficiently transparent to infrared light or ultraviolet light as compared with the absorbing material, these are used in the present invention. By applying the two-dimensional code, it is possible to increase the capacity.

【0037】[第2実施形態]以下、本発明の第2の実
施形態を説明する。図7は、濃度階調を適用した本発明
にかかる2次元コードを例示する図である。銀塩写真や
昇華型プリンターでは、画像を形成する最小ドットの濃
度を直接変調することが可能であることから、通常濃度
階調が用いられている。本発明にかかる2次元コードを
実現するにあたっても、1つのセルを複数のドットで構
成する場合、各ドットの光学濃度を銀塩写真では露光強
度と露光時間によって、また昇華型プリンターでは、抵
抗体の発熱量をコントロールすることによって、1つの
セルの光学濃度CをC(0)16a、C(1)16b、
C(2)16c、C(3)16dのように変えることが
できる。この時の光学濃度は平均光学濃度にほぼ一致す
る。ここでは4階調の場合を例に挙げたが、正確な濃度
変調を行った場合、256階調程度まで階調をとること
ができ、その場合には1つのセルを1色で8ビット分の
データを格納することが可能である。
[Second Embodiment] The second embodiment of the present invention will be described below. FIG. 7 is a diagram illustrating a two-dimensional code according to the present invention to which density gradation is applied. In a silver salt photograph or a sublimation printer, since it is possible to directly modulate the density of the smallest dot forming an image, the density gradation is usually used. Also in realizing the two-dimensional code according to the present invention, when one cell is composed of a plurality of dots, the optical density of each dot depends on the exposure intensity and the exposure time in a silver salt photograph, and in the sublimation type printer, a resistor. By controlling the heat generation amount of C (0) 16a, C (1) 16b,
It can be changed like C (2) 16c and C (3) 16d. The optical density at this time is almost equal to the average optical density. Here, the case of 4 gradations is taken as an example, but when accurate density modulation is performed, gradations up to about 256 gradations can be taken, and in that case, one cell corresponds to 8 bits per color. It is possible to store the data of.

【0038】[第3実施形態]以下、版を用いた印刷や
電子写真プリンター、熱転写プリンター、あるいはイン
クジェットプリンターで用いられている面積階調を適用
した本発明の第3の実施形態を説明する。印刷や電子写
真プリンター、熱転写プリンターあるいはインクジェッ
トプリンターの場合、画像を形成する最小ドットの濃度
を直接制御することが一般には困難なため、画像の構成
単位を複数のドットで形成する画素とし、この画素内の
ドットの占有面積によって一つの画素内での平均濃度に
よって階調をとる方式が用いられている。2次元コード
において、セルをこの画素に対応させ、セル内の平均濃
度を階調に用いることができる。
[Third Embodiment] A third embodiment of the present invention will be described below in which area gradation used in printing using a printing plate, an electrophotographic printer, a thermal transfer printer, or an inkjet printer is applied. In the case of printing, electrophotographic printers, thermal transfer printers, or inkjet printers, it is generally difficult to directly control the density of the smallest dot that forms an image. A method is used in which gradation is obtained by the average density within one pixel depending on the area occupied by the dots inside. In the two-dimensional code, a cell can be associated with this pixel and the average density in the cell can be used for gradation.

【0039】図8は、面階調を適用した本発明にかかる
2次元コードを模式的に示す図である。図8において
は、1個のセル16が、4つの最小ドットから形成さ
れ、これを最小ドットを4個の光電変換素子17で読取
る解像度のCCDで読み取る場合を、模式図に示してあ
る。ここで、a(1,1)〜a(2,2)はセル16を
構成する印字した時の最小ドットで、b(1,1)〜b
(5,5)はCCDの光電変換素子17の配列を示して
いる。
FIG. 8 is a diagram schematically showing a two-dimensional code according to the present invention to which surface gradation is applied. In FIG. 8, one cell 16 is formed of four minimum dots, and the case where the minimum dots are read by a CCD having a resolution in which four photoelectric conversion elements 17 are read is schematically shown. Here, a (1,1) to a (2,2) are the smallest dots at the time of printing that form the cell 16, and b (1,1) to b
(5, 5) shows the arrangement of the photoelectric conversion elements 17 of the CCD.

【0040】図8(a)に示したように、2×2のドッ
トで構成されるセル16が、4×4の光電変換素子上に
対応している場合には、位置検出パターンからのデータ
に基づいてセルを読取るのに最も適した光電変換素子が
選択され、a(1,1)の光学濃度がB(1,1),B
(2,1),B(1,2),B(2,2)の光電変換素
子に読み取られる。印字されたセルの光学濃度を、印字
された時に1、印字されない時に0とすると、a(1,
1)が印字されている場合には、b(1,1),b
(2,1),b(1,2),b(2,2)にはそれぞれ
光学濃度1の光量が入射する。このような時には誤差は
生じず、正確な階調を読取ることができる。
As shown in FIG. 8A, when the cell 16 composed of 2 × 2 dots corresponds to the 4 × 4 photoelectric conversion element, data from the position detection pattern is obtained. The photoelectric conversion element most suitable for reading the cell is selected based on the above, and the optical density of a (1,1) is B (1,1), B.
It is read by the photoelectric conversion elements of (2,1), B (1,2), and B (2,2). If the optical density of the printed cells is 1 when printed and 0 when not printed, then a (1,
If 1) is printed, b (1,1), b
A light amount having an optical density of 1 is incident on each of (2,1), b (1,2), and b (2,2). In such a case, an error does not occur and an accurate gradation can be read.

【0041】しかしながら、通常はセル16と光電変換
素子17が完全に重なるということは難しく、図8
(b)に示すように、光電変換素子17のピッチの半分
だけセル16の位置がずれた場合には、光電変換素子B
(1,1)〜B(5,5)の中からB(1〜4,1〜
4)の組合せAか、B(1〜4,2〜5)の組合せB
か、B(2〜5,1〜4)の組合せCかもしくはB(2
〜5,2〜5)の組合せDの4通りのうちから任意の1
組の光電変換素子16個が選ばれる。
However, it is usually difficult for the cell 16 and the photoelectric conversion element 17 to completely overlap each other.
As shown in (b), when the positions of the cells 16 are displaced by half the pitch of the photoelectric conversion elements 17, the photoelectric conversion elements B
From (1,1) to B (5,5), B (1 to 4,1 to 1)
Combination A of 4) or combination B of B (1 to 4, 2 to 5)
Or a combination C of B (2, 5, 1 to 4) or B (2
~ 5, 2 to 5) any one of the four combinations D
16 photoelectric conversion elements of a set are selected.

【0042】4つのドットからなるセルでは、4つのド
ットのうち何個を光学濃度1にするか設定することによ
って、理想的には最大5つの階調を表現することができ
る。そこで以下では階調の表現方法について述べる。な
おここでは、光電変換素子の1個の全面に光学濃度1の
印字面からの反射光が入射した時を光学値1で、入射し
た光電変換素子の面積に比例すると定義する。これによ
り、1つのセルに対応した全ての光電変換素子の光学値
の和をとり、これを光電変換素子の数で割った値がセル
の階調(平均光学濃度)となる。
In a cell composed of four dots, ideally, a maximum of five gradations can be expressed by setting how many of the four dots have an optical density of 1. Therefore, a method of expressing gradation will be described below. Here, it is defined that when the reflected light from the printing surface having the optical density of 1 is incident on the entire surface of one photoelectric conversion element, the optical value is 1, and it is proportional to the area of the incident photoelectric conversion element. As a result, the sum of the optical values of all photoelectric conversion elements corresponding to one cell is calculated, and the value obtained by dividing this by the number of photoelectric conversion elements becomes the gradation (average optical density) of the cell.

【0043】[ドット1の場合]セル内のドットのうち、
1個が光学濃度1とすると、a(1,1)のドットが光
学濃度1だった場合、このセルを読取る光電変換素子の
組み合わせAでは、B(1,1)には4分の1の面積に
光学濃度1の光が入射するため、B(1,1)での光学
値は0.25、同様にB(2,1)では0.5、B(3,
1)では0.25、B(2,1)では0.5、B(2,
2)では1、B(2,3)では0.5、B(3,1)で
は0.25、B(3,2)では0.5、B(3,3)では
0.25で、その総和は光学値4となる。同じようにし
て組合せB、C、Dでの光学値はそれぞれ3、3、2.2
5となり、ドット1個を光学濃度1にした場合の得られ
る光学値は2.25〜4の範囲となる。これはセル内4
つのドットのうちどのドットを選んでも同じである。
[For dot 1] Of the dots in the cell,
Assuming that one has an optical density of 1, if the dot of a (1,1) has an optical density of 1, in the combination A of photoelectric conversion elements reading this cell, B (1,1) has a quarter Since light with an optical density of 1 is incident on the area, the optical value at B (1,1) is 0.25, and similarly at B (2,1) is 0.5, B (3,
1) is 0.25, B (2,1) is 0.5, B (2,2)
2) is 1, B (2,3) is 0.5, B (3,1) is 0.25, B (3,2) is 0.5, and B (3,3) is 0.25. The total sum is an optical value of 4. In the same way, the optical values for combinations B, C, and D are 3, 3, 2.2, respectively.
5, the optical value obtained when one dot has an optical density of 1 is in the range of 2.25 to 4. This is 4 in the cell
It is the same regardless of which dot is selected from the two dots.

【0044】[ドット2の場合]セル内のドットのうち、
2個が光学濃度1とすると、縦横に隣り合った組合せと
してa(1,1)とa(2,1)を光学濃度1とした場
合、光電変換素子の組み合わせAでの光学値は7、組合
せB、C、Dではそれぞれ5.25、7、5.25とな
る。一方、対角の組合せとしてa(1,1)とa(2,
2)を光学濃度1とした場合、組合せA、B、C、Dの光
学値はそれぞれ6.25、6、6、6.25となる。
[Dot 2] Of the dots in the cell,
When two have an optical density of 1, and when a (1,1) and a (2,1) have an optical density of 1 as a vertically and horizontally adjacent combination, the optical value of the photoelectric conversion element combination A is 7, The combinations B, C, and D are 5.25, 7, and 5.25, respectively. On the other hand, as diagonal combinations a (1,1) and a (2,
When the optical density of 1 is 2), the optical values of the combinations A, B, C, and D are 6.25, 6, 6, and 6.25, respectively.

【0045】縦横でも対角でも光学値の期待値(総和÷
組合せの数)は6.125で同じではあるが、バラツキ
(最大と最小の差÷期待値×100)は縦横が約29
%、対角が約4%であることから、4ドットからなるセル
で2ドットを選ぶ場合には対角で選ぶことが好ましい。
そうするとドット2個の時の光学値は6〜6.25の範
囲である。
The expected value of the optical value in both the vertical and horizontal directions and the diagonal value (total sum ÷
The number of combinations is the same at 6.125, but the variation (difference between maximum and minimum ÷ expected value × 100) is about 29 in the vertical and horizontal directions.
%, The diagonal is about 4%, so when selecting 2 dots in a cell consisting of 4 dots, it is preferable to select diagonally.
Then, the optical value of two dots is in the range of 6 to 6.25.

【0046】[ドット3の場合]セル内のドットのうち、
3個が光学濃度1とすると、セル内の光学濃度1のドッ
ト3個を選ぶことは、どれか光学濃度0のドット1個を
選ぶことと等価であるため、これはドット1個の場合と
同じように選び方に依存しない。a(1,1)、a
(2,1)、a(1,2)を光学濃度1とすると、組合
せA、B、C、Dの光学値はそれぞれ10、9.25、
9.25、8.25となり、光学値の範囲は8.25〜1
0である。
[For dot 3] Of the dots in the cell,
Assuming that three have an optical density of 1, selecting three dots having an optical density of 1 in a cell is equivalent to selecting one dot having an optical density of 0, so this is the same as the case of one dot. Similarly, it does not depend on the choice. a (1,1), a
If (2,1) and a (1,2) are assumed to have an optical density of 1, the optical values of the combinations A, B, C, and D are 10, 925, and
It becomes 9.25 and 8.25, and the range of the optical value is 8.25 to 1.
It is 0.

【0047】[ドット4の場合]セル内が全て光学濃度1
の場合では、光学値は12.25となる。上記では、注
目したセル以外の周囲のセルは全て光学濃度が0である
としているが、実際にはいろいろなパターンとなってい
る。その場合、セルの端にあたるB(1,1〜5),B
(2,1),B(2,5),B(3,1),B(3,
5), B(4,1), B(4,5), B(5,1〜
5)の光電変換素子には、セルに隣り合った他のセルか
らの反射光が入射するため、誤差を生じることになる。
周囲のセルが全て光学濃度0だった時にはセルの端での
光電変換素子の光学値は0だが、周囲のセルが全て光学
濃度1だった時には、4隅の光電変換素子B(1,
1),B(1,5),B(5,1),B(5,5)には
最大で光学値0.75変動があり、それ以外の端の光電
変換素子では最大で光学値0.5の変動がある。
[In case of dot 4] Optical density is 1 in all cells
In the case of, the optical value is 12.25. In the above description, all the peripheral cells other than the cell of interest have an optical density of 0, but actually, there are various patterns. In that case, B (1,1-5), B, which corresponds to the edge of the cell
(2,1), B (2,5), B (3,1), B (3,
5), B (4,1), B (4,5), B (5,1)
Since the reflected light from another cell adjacent to the cell is incident on the photoelectric conversion element of 5), an error occurs.
When all of the surrounding cells have an optical density of 0, the optical value of the photoelectric conversion element at the edge of the cell is 0, but when all of the surrounding cells have an optical density of 1, the photoelectric conversion elements B (1,
1), B (1,5), B (5,1), B (5,5) have a maximum optical value fluctuation of 0.75, and the photoelectric conversion elements at the other ends have a maximum optical value of 0. There is a fluctuation of .5.

【0048】すると、光学変換素子の組合せ4通りのう
ちのいずれかが選択された場合にも、光学値の変動は最
大3.75(例えば、B(1,1〜4),B(2,1〜
4),B(3,1〜4),B(4,1〜4)の組合せが
選択された場合、B(1,2〜4)、B(2〜4,1)
の6個の光電変換素子ではそれぞれ光学値0.5なので
合計3.0、B(1,1)の光電変換素子では光学値0.
75)となる。ここで、上記に示したように、セルが2
×2のドットから形成され、1個のドットを4個の光電
変換素子で検出する場合に得られる光学値を図9に表形
式で示す。
Then, even when any one of the four combinations of the optical conversion elements is selected, the maximum fluctuation of the optical value is 3.75 (for example, B (1,1-4), B (2,2). 1 to
4), B (3,1-4), and B (4,1-4) are selected, B (1,2-4), B (2-4,1)
6 photoelectric conversion elements each have an optical value of 0.5, so a total of 3.0, and B (1,1) photoelectric conversion elements have an optical value of 0.5.
75). Now, as shown above, there are two cells
FIG. 9 shows the optical values obtained in the case where one dot is detected by four photoelectric conversion elements, which are formed from × 2 dots, in a tabular form.

【0049】階調を検出するためには、光学値の変動の
大きさよりも、光学値の変化量が大きくなるようドット
の光学濃度を設定しなければならない。上記の例では、
ドット0、ドット2、ドット4の間では光学値が変動量
よりも離れているため、3値をとることができる。以上
では、1個のドットを4個の光電変換素子で検出する例
を挙げたが、1個のドットを4個の光電変換素子数以外
でも検出する場合の光学値を、図10に表形式で示す。
In order to detect the gradation, it is necessary to set the optical density of the dots so that the variation amount of the optical value is larger than the variation amount of the optical value. In the above example,
Since the optical values of the dot 0, the dot 2, and the dot 4 are farther than the fluctuation amount, three values can be taken. In the above, an example in which one dot is detected by four photoelectric conversion elements has been described, but the optical value in the case of detecting one dot other than the number of four photoelectric conversion elements is shown in FIG. Indicate.

【0050】図10からわかるように、1ドット当たり
の光電変換素子の数が9個以上であれば、光学値の変動
があっても各ドット数における光学値を5値に分離する
ことが可能である。したがって、セルを4個のドットで
形成し、4値以上に分離する場合には、1個のドットを
少なくとも9個、望ましくは16個以上の光電変換素子
により検出する。ここでは1ドットの1辺に対して整数
倍の光電変換素子数となるようにしているが、整数倍以
外でもよく、またセルの構成も正方形に限らず、長方
形、三角形などにおいても得られる光学値と変動量につ
いて同様の考えを適用することができる。
As can be seen from FIG. 10, if the number of photoelectric conversion elements per dot is 9 or more, the optical value at each dot number can be separated into five values even if the optical value varies. Is. Therefore, when a cell is formed by four dots and is divided into four or more values, one dot is detected by at least 9 and preferably 16 or more photoelectric conversion elements. Here, the number of photoelectric conversion elements is set to an integral multiple with respect to one side of one dot, but the number of photoelectric conversion elements may be other than an integral multiple, and the configuration of the cell is not limited to a square, and an optical obtained in a rectangle, a triangle, etc. Similar considerations can be applied for values and variations.

【0051】[第4実施形態]以下、本発明の第4の実
施形態として、セルを形成するドットが4個よりも多い
例を示す。図11にはセル16が9個のドットの最小ド
ットから形成され、これを最小ドットの倍の解像度の光
電変換素子17が配列したCCDで読取った時の模式図
を示す。ここでa(1,1)〜a(3,3)はセル16
を構成する印字した時の最小ドットで、B(1,1)〜
B(7,7)はCCDの光電変換素子17の配列を示し
ている。
[Fourth Embodiment] Hereinafter, as a fourth embodiment of the present invention, an example in which there are more than four dots forming cells will be described. FIG. 11 shows a schematic diagram when a cell 16 is formed from a minimum dot of 9 dots and is read by a CCD in which photoelectric conversion elements 17 having a resolution twice the minimum dot are arranged. Here, a (1,1) to a (3,3) are cells 16
Is the smallest dot when printed that makes up B (1,1) ~
B (7, 7) indicates the arrangement of the CCD photoelectric conversion elements 17.

【0052】ここで、光電変換素子17のピッチの半分
だけセルの位置がずれた場合には、光電変換素子B
(1,1)〜B(7,7)の中からB(1〜6,1〜
6),の組合せAか、B(1〜6,2〜7)の組合せB
か、B(2〜7,1〜6)の組合せCかもしくはB(2
〜7,2〜7)の組合せDの4通りのうちから任意の1
組の光電変換素子36個が選ばれる。
Here, when the position of the cell is shifted by a half of the pitch of the photoelectric conversion element 17, the photoelectric conversion element B
From (1,1) to B (7,7), B (1 to 6,1)
6), combination A or B (1-6, 2-7) combination B
Or a combination C of B (2-7, 1-6) or B (2
~ 7, 2-7) Any one of the four combinations D
A set of 36 photoelectric conversion elements is selected.

【0053】[ドット1の場合]セル内のドットのうち、
1個の選び方は基本的にはa(1,1)、a(1,
2)、a(2,2)の3通りで、残りはこの3つのうち
のどれかと等価である。a(1,1)を光学濃度1とす
ると、組合せABCDの光学値はそれぞれ4、3、3、
2.25で、セル内の4隅あるドットではいずれも光学
値は2.25〜4の値をとる。a(1,2)を光学濃度
1とすると、組合せABCDの光学値はそれぞれ4、4、
3、3となる。a(2,2)を光学濃度1とすると、組
合せABCDの光学値はいずれの場合も1である。
[Dot 1] Of the dots in the cell,
The method of selecting one is basically a (1,1), a (1,
2) and a (2,2), and the rest are equivalent to any of these three. If a (1,1) is the optical density 1, the optical values of the combined ABCD are 4, 3, 3, respectively.
At 2.25, the optical values of the dots at the four corners of the cell are 2.25 to 4. If a (1,2) is the optical density 1, then the optical values of the combined ABCD are 4, 4, respectively.
Three and three. When a (2,2) is the optical density 1, the optical value of the combination ABCD is 1 in all cases.

【0054】従って、ドット1個を光学濃度1にする場
合にはa(2,2)のドットを光学濃度1とすることが
望ましい。さらにセルを形成するドット数が増えた場合
においても、セルが他のセルと接触しない中央部のドッ
トから光学濃度を変えることによって、光学値の変動を
抑えることができる。
Therefore, when one dot has an optical density of 1, it is desirable that the dot of a (2,2) has an optical density of 1. Further, even when the number of dots forming a cell increases, it is possible to suppress the fluctuation of the optical value by changing the optical density from the central dot where the cell does not contact other cells.

【0055】[ドット2の場合]セル内のドットのうち、
2個の選び方は基本的にはa(1,1)+a(1,
2)、a(1,1)+a(1,3)、a(1,1)+a
(2,2)、a(1,1)+a(2,3)、a(1,
1)+a(3,3)、a(1,2)+a(2,1)、a
(1,2)+a(2,2)、a(1,2)+a(3,
2)の8通りで、残りはこの8つのうちのどれかと等価
である。これら8つの光学値は、a(1,1)+a
(1,2)が5.25〜8、a(1,1)+a(1,
3)が5.25〜7、a(1,1)+a(2,2)が6.
25〜8、a(1,1)+a(2,3)が6.25〜
7、a(1,1)+a(3,3)が6.25、a(1,
2)+a(2,1)が6〜8、a(1,2)+a(2,
2)が7〜8、a(1,2)+a(3,2)が7とな
る。
[For dot 2] Of the dots in the cell,
The two selection methods are basically a (1,1) + a (1,
2), a (1,1) + a (1,3), a (1,1) + a
(2,2), a (1,1) + a (2,3), a (1,
1) + a (3,3), a (1,2) + a (2,1), a
(1,2) + a (2,2), a (1,2) + a (3,
There are 8 ways in 2), and the rest are equivalent to any of these 8. These eight optical values are a (1,1) + a
(1,2) is 5.25 to 8, a (1,1) + a (1,
3) is 5.25 to 7, a (1,1) + a (2,2) is 6.
25-8, a (1,1) + a (2,3) is 6.25 ~
7, a (1,1) + a (3,3) is 6.25, a (1,
2) + a (2,1) is 6 to 8, a (1,2) + a (2,
2) is 7 to 8, and a (1,2) + a (3,2) is 7.

【0056】これより、a(2,2)を中心にして縦横
もしくは対角に並んだ場合、光学値の変動が少なく、a
(2,2)を含んだ場合は光学値の上限が高くなるが、
a(1,1)を含むと下限が低くなる傾向にある。ここ
では、光学値が比較的高くかつ変動が少ないa(1,
2)+a(3,2)のパターンを選ぶ。
As a result, when the pixels are arranged vertically or horizontally or diagonally with a (2,2) as the center, the variation of the optical value is small and a
When (2, 2) is included, the upper limit of the optical value becomes high,
If a (1,1) is included, the lower limit tends to be low. Here, a (1,
2) Select the pattern of + a (3,2).

【0057】[ドット3の場合]セル内のドットのうち、
3個の選び方は多数あるが、ここではドット1の場合と
ドット2の場合を考慮して選ぶ。光学値の変動が少ない
点からドット1で選んだa(2,2)とドット2で選ん
だa(1,2)+a(3,2)を選択することにより、
光学値は11が得られる。
[For dot 3] Of the dots in the cell,
Although there are many ways to select three, here, the case of dot 1 and the case of dot 2 are taken into consideration. By selecting a (2,2) selected by dot 1 and a (1,2) + a (3,2) selected by dot 2 from the point that the fluctuation of the optical value is small,
An optical value of 11 is obtained.

【0058】[ドット4の場合]ドット3で選んだドット
に、セルの4隅を除いた端のドットからa(2,1)を
加えることによって光学値14〜15が得られる。
[Case of Dot 4] Optical values 14 to 15 can be obtained by adding a (2,1) from the dots at the ends excluding the four corners of the cell to the dot selected as the dot 3.

【0059】[ドット5の場合]ドット4で選んだドット
に、a(2,2)に対してa(2,1)の対称な位置に
あるa(2,3)を加えることによって光学値18が得
られる。
[Dot 5] The optical value is obtained by adding a (2,3) at a position symmetrical to a (2,1) with respect to a (2,2) to the dot selected by dot 4. 18 is obtained.

【0060】[ドット6の場合]ドット5で選んだドット
に、残ったセルの4隅のいずれかとして、a(1,1)
を加えることによって光学値20.25〜22が得られ
る。
[In the case of dot 6] In the dot selected in dot 5, a (1,1) is set as one of the four corners of the remaining cells.
The optical values of 20.25-22 are obtained by adding.

【0061】[ドット7の場合]ドット6で選んだドット
に、a(2,2)に対してa(1,1)の対角の位置に
あるa(3,3)を加えることによって光学値24〜2
4.25が得られる。
[Case of Dot 7] By adding a (3,3) at a diagonal position of a (1,1) to a (2,2) to the dot selected by dot 6, Value 24-2
4.25 is obtained.

【0062】[ドット8の場合]ドット7で選んだドット
に、残ったセルのいずれかとしてa(1,3)を加える
ことによって光学値26.25〜28が得られる。
[In the case of dot 8] By adding a (1,3) as one of the remaining cells to the dot selected in dot 7, optical values of 26.25 to 28 are obtained.

【0063】[ドット9の場合]全てのドットが光学濃度
1では、光学値30.25となる。
[Case of Dot 9] When the optical density of all dots is 1, the optical value is 30.25.

【0064】次に、注目したセル以外からの影響を考慮
すると、B(1〜6,1〜6)の光電変換素子が選択さ
れた場合、B(2〜6,1)とB(1,2〜6)にはそ
れぞれ光学値0.5の変動があり、B(1,1)には光
学値0.75の変動があるため、全体の光学値の変動は
最大5.75となる。ここで、上記に示したように、セ
ルが3×3のドットから形成され、1個のドットを4個
の光電変換素子で検出する場合に得られる光学値を、図
12に表形式で示す。
Next, considering the influence from cells other than the cell of interest, when the photoelectric conversion elements of B (1-6, 1-6) are selected, B (2-6, 1) and B (1, 2 to 6) each have an optical value variation of 0.5, and B (1,1) has an optical value variation of 0.75, so that the maximum optical value variation is 5.75 at maximum. Here, as described above, FIG. 12 shows optical values obtained when cells are formed from 3 × 3 dots and one dot is detected by four photoelectric conversion elements in a table format. .

【0065】図12からわかるように、ここで示した例
では、ドット0、ドット3、ドット6、ドット9を階調
表現のために選ぶことにより、変動よりも大きな光学値
の差を得ることができる。ここで示した変動とドット全
てを光学濃度1にした時の光学値は、実施例1において
表2に示したように、1個のドット当たりの光電変換素
子数が9個の時と同じである。これは、セルを検出する
光電変換素子の全数がどちらも同じ36個になるためで
ある。従って、光学値の変動と上限はセルを検出する光
電変換素子数によって決まることがわかる。一方、セル
を形成するドットの数が多いほど光学値の値を多数に分
離することができ、多数の階調を表現することができ
る。
As can be seen from FIG. 12, in the example shown here, dot 0, dot 3, dot 6, and dot 9 are selected for gradation expression to obtain a difference in optical value larger than fluctuation. You can The fluctuations shown here and the optical values when all the dots have an optical density of 1 are the same as when the number of photoelectric conversion elements per dot is 9, as shown in Table 2 in Example 1. is there. This is because the total number of photoelectric conversion elements for detecting cells is the same, 36 in each case. Therefore, it can be seen that the fluctuation and the upper limit of the optical value are determined by the number of photoelectric conversion elements detecting cells. On the other hand, as the number of dots forming a cell increases, the optical value can be separated into a large number, and a large number of gradations can be expressed.

【0066】第4の実施形態からわかるように、セルの
中心部や隣接するセルとの接触領域が小さいドットほど
光学値への変動の寄与が小さい。したがって、セルを形
成するドット数がさらに増えた場合には、始めにセルの
中央部のドットから光学濃度を変え、次にセルの端では
隣接するセルとの接触領域が小さいドットの光学濃度を
変える。また、セルの中央部以外のドットの光学濃度を
変える場合、セルの中央に対して対称となる位置のドッ
トも同時に同じ光学濃度にすることにより、変動を抑え
ることができる。なお、本実施例ではセルの縦横に並ぶ
方向が、光電変換素子の縦横に並ぶ方向が同じであった
が、セルの縦横に並ぶ方向が、光電変換素子の縦横に並
ぶ方向とずれていた場合においても、始めにセルの中央
部のドットから光学濃度を変え、次にセルの端では隣接
するセルとの接触領域が小さいドットの光学濃度を変
え、さらにセルの中央部以外のドットの光学濃度を変え
る場合、セルの中央に対して対称となる位置のドットも
同時に同じ光学濃度にすることは有効である。
As can be seen from the fourth embodiment, the smaller the central area of a cell or the contact area with an adjacent cell, the smaller the contribution of fluctuations to the optical value. Therefore, when the number of dots forming a cell further increases, first change the optical density from the dot in the center of the cell, and then change the optical density of the dot with a small contact area with the adjacent cell at the edge of the cell. Change. Further, when the optical density of dots other than the central portion of the cell is changed, it is possible to suppress the fluctuation by simultaneously setting the optical density of the dots symmetrical with respect to the center of the cell. In the present embodiment, the vertical and horizontal directions of the cells are the same in the vertical and horizontal directions of the photoelectric conversion elements, but the vertical and horizontal directions of the cells are different from the vertical and horizontal directions of the photoelectric conversion elements. Also, the optical density is first changed from the dot in the center of the cell, then the optical density of the dot where the contact area with the adjacent cell is small is changed at the edge of the cell, and the optical density of dots other than the center of the cell is changed. When changing, the dots at positions symmetrical with respect to the center of the cell are effective to have the same optical density at the same time.

【0067】また、ドットの1つ1つが解像できるよう
な高い解像度の光学系によって光電変換素子上にセルの
像を結像させた場合には、各ドットをセルとみなすこと
ができる。しかしながら、その場合には周辺ドットの影
響による変動は検出する光電変換素子の数で決まるた
め、セル全体に比べてドット1つの変動は増大する。さ
らに、高解像の光学系は焦点深度が浅いため、デフォー
カスによる誤差が大きい。一方、多階調方式では、複数
のドットで1つのセルを形成するため、セルの中央部で
のデフォーカスは検出誤差とはならない。
Further, when an image of a cell is formed on the photoelectric conversion element by an optical system having a high resolution capable of resolving each dot, each dot can be regarded as a cell. However, in that case, the fluctuation due to the influence of the peripheral dots is determined by the number of photoelectric conversion elements to be detected, and therefore the fluctuation of one dot is larger than that of the entire cell. Further, since the high resolution optical system has a shallow depth of focus, the error due to defocus is large. On the other hand, in the multi-gradation method, since one cell is formed by a plurality of dots, defocus at the center of the cell does not cause a detection error.

【0068】本発明にかかる2次元コードによれば、モ
ノクロで表された2次元コードにおいて、専用の装置を
用いなくとも、汎用の印刷装置・プリンター、スキャナ
ー・カメラにより、同一の面積で従来より大容量のデー
タを格納することが可能である。また、本発明にかかる
2次元コードは、、カラー化された2次元コードにおい
てもそのまま適用することができる。
According to the two-dimensional code of the present invention, in a two-dimensional code represented in monochrome, a general-purpose printing device / printer / scanner / camera can be used in the same area compared to the conventional one without using a dedicated device. It is possible to store a large amount of data. Further, the two-dimensional code according to the present invention can be applied as it is to a two-dimensional code that has been colorized.

【0069】[画像処理装置]なお、以上説明した本発
明にかかる2次元コードの作成およびデータの復元は、
たとえば、図13〜15に示す画像処理装置50、およ
び、画像処理装置50が実行するプログラムにより実現
することができる。図13に示すように、画像処理装置
50は、CPU500およびメモリ502などを含む本
体、記録装置510、CRT表示装置およびキーボード
などの表示・入力装置520、デジタルカメラ522、
スキャナ524およびプリンタ526から構成される。
つまり、画像処理装置50は、画像の読み取りおよび印
刷が可能なコンピュータとしての構成部分を含む。
[Image Processing Apparatus] The two-dimensional code creation and data restoration according to the present invention described above are
For example, it can be realized by the image processing device 50 shown in FIGS. 13 to 15 and a program executed by the image processing device 50. As shown in FIG. 13, the image processing device 50 includes a main body including a CPU 500 and a memory 502, a recording device 510, a display / input device 520 such as a CRT display device and a keyboard, a digital camera 522, and the like.
It is composed of a scanner 524 and a printer 526.
That is, the image processing device 50 includes a component as a computer capable of reading and printing an image.

【0070】[コード作成プログラム60]図14は、
本発明にかかる2次元コードを作成するコード作成プロ
グラム60の構成を示す図である。コード作成プログラ
ム60は、データ受入部600、コード作成部602お
よび印刷制御部604から構成される。コード作成プロ
グラム60は、例えば、記録媒体512を介して画像処
理装置50のメモリにロードされて実行される。コード
作成プログラム60は、これらの構成部分により、表示
・入力装置から受け入れたデータを2次元コードに変換
し、プリンタ526により印刷する。
[Code Creation Program 60] FIG.
It is a figure which shows the structure of the code production | generation program 60 which produces | generates the two-dimensional code concerning this invention. The code creating program 60 includes a data receiving unit 600, a code creating unit 602, and a print control unit 604. The code creation program 60 is loaded into the memory of the image processing apparatus 50 via the recording medium 512 and executed, for example. The code creation program 60 converts the data received from the display / input device into a two-dimensional code by these components and prints it by the printer 526.

【0071】[データ復号プログラム70]図15は、
本発明にかかる2次元コードからデータを復号するデー
タ復号プログラム70構成を示す図である。図15に示
すように、データ復号プログラム70は、コード読取部
700、コード復号部702および表示制御部704か
ら構成される。データ復号プログラム70も、記録媒体
512を介して画像処理装置50のメモリにロードされ
て実行される。データ復号プログラム70は、デジタル
カメラ522およびスキャナ524などから読み込んだ
本発明にかかる2次元コードから、元のデータを復号
し、表示・入力装置524に表示する。
[Data Decoding Program 70] FIG.
It is a figure which shows the structure of the data decoding program 70 which decodes data from the two-dimensional code concerning this invention. As shown in FIG. 15, the data decoding program 70 includes a code reading unit 700, a code decoding unit 702, and a display control unit 704. The data decoding program 70 is also loaded into the memory of the image processing apparatus 50 via the recording medium 512 and executed. The data decoding program 70 decodes the original data from the two-dimensional code according to the present invention read from the digital camera 522, the scanner 524, etc., and displays it on the display / input device 524.

【0072】[0072]

【発明の効果】以上説明したように、本発明にかかる2
次元コードシステムおよびその方法によれば、白黒2色
の2次元コードよりも、データ容量を大きく増やすこと
ができる。また、本発明にかかる2次元コードシステム
およびその方法によれば、カラープリンタ・カラースキ
ャナを用いない場合であっても、データ容量が大きい2
次元コードを作成して記録し、この2次元コードから元
のデータを復元することができる。
As described above, according to the present invention,
According to the dimensional code system and the method thereof, the data capacity can be greatly increased as compared with the two-dimensional code of monochrome two colors. Further, according to the two-dimensional code system and the method thereof according to the present invention, even if the color printer / color scanner is not used, the data capacity is large.
A dimension code can be created and recorded, and the original data can be restored from this two-dimensional code.

【図面の簡単な説明】[Brief description of drawings]

【図1】図1は、本発明の背景技術として示す2次元コ
ードの図である。
FIG. 1 is a diagram of a two-dimensional code shown as the background art of the present invention.

【図2】2次元コードのカラー化を説明する図である。FIG. 2 is a diagram illustrating colorization of a two-dimensional code.

【図3】本発明にかかるカラー2次元コードのセルを説
明する図である。
FIG. 3 is a diagram illustrating a cell of a color two-dimensional code according to the present invention.

【図4】図4は、本発明にかかる2次元コードに含まれ
るセルのパターンを例示する図である。
FIG. 4 is a diagram exemplifying a pattern of cells included in a two-dimensional code according to the present invention.

【図5】2次元コードにおける、データを格納するデー
タ領域と、一般にはそれぞれのセルの位置を検出するた
めの位置検出用パターンとを示す図である。
FIG. 5 is a diagram showing a data area for storing data in a two-dimensional code and generally a position detection pattern for detecting the position of each cell.

【図6】2次元コードからのデータの復元方法を示す図
である。
FIG. 6 is a diagram showing a method of restoring data from a two-dimensional code.

【図7】濃度階調を適用した本発明にかかる2次元コー
ドを例示する図である。
FIG. 7 is a diagram illustrating a two-dimensional code according to the present invention to which density gradation is applied.

【図8】面階調を適用した本発明にかかる2次元コード
を模式的に示す図である。
FIG. 8 is a diagram schematically showing a two-dimensional code according to the present invention to which surface gradation is applied.

【図9】セルが2×2のドットから形成され、1個のド
ットを4個の光電変換素子で検出する場合に得られる光
学値を表形式で示す図である。
FIG. 9 is a diagram showing, in a tabular form, optical values obtained when cells are formed from 2 × 2 dots and one dot is detected by four photoelectric conversion elements.

【図10】1個のドットを4個の光電変換素子数以外で
も検出する場合の光学値を表形式で示す図である。
FIG. 10 is a diagram showing optical values in a table format when one dot is detected with a number other than four photoelectric conversion elements.

【図11】セルが9個のドットの最小ドットから形成さ
れ、これを最小ドットの倍の解像度の光電変換素子が配
列したCCDで読取った時の模式図である。
FIG. 11 is a schematic diagram when a cell is formed by a minimum dot of nine dots and is read by a CCD in which photoelectric conversion elements having a resolution twice that of the minimum dot are arranged.

【図12】セルが3×3のドットから形成され、1個の
ドットを4個の光電変換素子で検出する場合に得られる
光学値を表形式で示す図である。
FIG. 12 is a diagram showing, in a tabular form, optical values obtained when cells are formed from 3 × 3 dots and one dot is detected by four photoelectric conversion elements.

【図13】画像処理装置の構成を示す図である。FIG. 13 is a diagram showing a configuration of an image processing apparatus.

【図14】本発明にかかる2次元コードを作成するコー
ド作成プログラムの構成を示す図である。
FIG. 14 is a diagram showing a configuration of a code creating program for creating a two-dimensional code according to the present invention.

【図15】本発明にかかる2次元コードからデータを復
号するデータ復号プログラム構成を示す図である。
FIG. 15 is a diagram showing a data decoding program configuration for decoding data from a two-dimensional code according to the present invention.

【符号の説明】[Explanation of symbols]

50・・・画像処理装置 60・・・コード作成プログラム 70・・・データ復号プログラム 50 ... Image processing device 60 ... Code creation program 70 ... Data decryption program

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山口 昭治 神奈川県足柄上郡中井町境430グリーンテ クなかい 富士ゼロックス株式会社内 (72)発明者 木村 哲也 神奈川県足柄上郡中井町境430グリーンテ クなかい 富士ゼロックス株式会社内 (72)発明者 足利 英昭 神奈川県足柄上郡中井町境430グリーンテ クなかい 富士ゼロックス株式会社内 Fターム(参考) 2C055 JJ00 JJ07 JJ12 5B035 BA01 BB03 5B072 CC21 CC32 DD01 DD21    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Shoji Yamaguchi             430 Sakai, Nakai-cho, Ashigarakami-gun, Kanagawa Prefecture             Kunakai Fuji Xerox Co., Ltd. (72) Inventor Tetsuya Kimura             430 Sakai, Nakai-cho, Ashigarakami-gun, Kanagawa Prefecture             Kunakai Fuji Xerox Co., Ltd. (72) Inventor Hideaki Ashikaga             430 Sakai, Nakai-cho, Ashigarakami-gun, Kanagawa Prefecture             Kunakai Fuji Xerox Co., Ltd. F-term (reference) 2C055 JJ00 JJ07 JJ12                 5B035 BA01 BB03                 5B072 CC21 CC32 DD01 DD21

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】データを、複数のセルを2次元の配列で含
む2次元コードに変換し、変換したコードから前記デー
タを復元する2次元コードシステムであって、 前記データを、前記2次元コードに含まれる複数のセル
の色の濃度に変換して、前記2次元コードを作成する2
次元コード作成手段と、 前記作成された2次元コードを画像出力する2次元コー
ド出力手段とを有する2次元コードシステム。
1. A two-dimensional code system for converting data into a two-dimensional code including a plurality of cells in a two-dimensional array and restoring the data from the converted code, wherein the data is the two-dimensional code. Create the two-dimensional code by converting the color density of a plurality of cells included in
A two-dimensional code system having a two-dimensional code creating means and a two-dimensional code output means for outputting the created two-dimensional code as an image.
【請求項2】前記2次元コードは1つの色で表現され、
前記2次元コードに含まれるセルの色の濃淡は、前記1
つの色の複数の階調により表現され、 前記2次元コード作成手段は、前記データを、前記2次
元コードに含まれる複数のセルそれぞれの前記1色の階
調に変換して前記2次元コードを作成する請求項1に記
載の2次元コードシステム。
2. The two-dimensional code is represented by one color,
The light and shade of the color of the cell included in the two-dimensional code is 1
Expressed by a plurality of gradations of one color, the two-dimensional code creating means converts the data into the one-color gradation of each of a plurality of cells included in the two-dimensional code to generate the two-dimensional code The two-dimensional code system according to claim 1, which is created.
【請求項3】前記出力された2次元コードに含まれる複
数のセルそれぞれの前記1色の階調に基づいて、前記デ
ータを復元するデータ復元手段をさらに有する請求項2
に記載の2次元コードシステム。
3. A data restoring means for restoring the data based on the gradation of one color of each of a plurality of cells included in the output two-dimensional code.
The two-dimensional code system described in 1.
【請求項4】前記2次元コードは、複数の色で表現さ
れ、前記2次元コードに含まれるセルそれぞれの色の濃
淡は、前記複数の色それぞれの階調の重ね合わせにより
表現され、 前記2次元コード作成手段は、前記データを、前記2次
元コードに含まれる複数のセルそれぞれの前記複数の色
それぞれの階調の重ね合わせに変換して前記2次元コー
ドを作成する請求項1に記載の2次元コードシステム。
4. The two-dimensional code is represented by a plurality of colors, and the shade of each cell included in the two-dimensional code is represented by superimposing gradations of each of the plurality of colors. The dimensional code creating means creates the two-dimensional code by converting the data into a superposition of gradations of each of the plurality of colors of each of the plurality of cells included in the two-dimensional code. Two-dimensional code system.
【請求項5】前記出力された2次元コードに含まれる複
数のセルそれぞれの前記複数の色それぞれの階調に基づ
いて、前記データを復元するデータ復元手段をさらに有
する請求項4に記載の2次元コードシステム。
5. The data reconstructing unit according to claim 4, further comprising a data reconstructing unit that reconstructs the data based on gradations of the respective colors of the plurality of cells included in the output two-dimensional code. Dimensional code system.
【請求項6】前記出力手段は、前記2次元コードに含ま
れる複数のセルの色の濃淡を表現する色の階調を示すパ
ターンの画像を、前記2次元コード以外にさらに出力す
る請求項1〜5のいずれかに記載の2次元コードシステ
ム。
6. The output means further outputs, in addition to the two-dimensional code, an image of a pattern showing gradations of colors expressing the shades of colors of a plurality of cells included in the two-dimensional code. The two-dimensional code system according to any one of 1 to 5.
【請求項7】データを、複数のセルを2次元の配列で含
む2次元コードに変換し、変換したコードから前記デー
タを復元する方法であって、 前記データを、前記2次元コードに含まれる複数のセル
の色の濃度に変換して、前記2次元コードを作成し、 前記作成された2次元コードを画像出力する方法。
7. A method of converting data into a two-dimensional code including a plurality of cells in a two-dimensional array and restoring the data from the converted code, wherein the data is included in the two-dimensional code. A method of converting the color densities of a plurality of cells to create the two-dimensional code and outputting the created two-dimensional code as an image.
【請求項8】データを、複数のセルを2次元の配列で含
む2次元コードに変換し、変換したコードから前記デー
タを復元するプログラムであって、 前記データを、前記2次元コードに含まれる複数のセル
の色の濃度に変換して、前記2次元コードを作成するス
テップと、 前記作成された2次元コードを画像出力するステップと
をコンピュータに実行させるプログラム。
8. A program for converting data into a two-dimensional code including a plurality of cells in a two-dimensional array and restoring the data from the converted code, wherein the data is included in the two-dimensional code. A program for causing a computer to execute a step of converting the color density of a plurality of cells to create the two-dimensional code and a step of outputting the created two-dimensional code as an image.
JP2001280940A 2001-09-17 2001-09-17 Two-dimensional code system and method for the same Pending JP2003091697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001280940A JP2003091697A (en) 2001-09-17 2001-09-17 Two-dimensional code system and method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001280940A JP2003091697A (en) 2001-09-17 2001-09-17 Two-dimensional code system and method for the same

Publications (1)

Publication Number Publication Date
JP2003091697A true JP2003091697A (en) 2003-03-28

Family

ID=19104853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001280940A Pending JP2003091697A (en) 2001-09-17 2001-09-17 Two-dimensional code system and method for the same

Country Status (1)

Country Link
JP (1) JP2003091697A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005346600A (en) * 2004-06-07 2005-12-15 Gijutsu Transfer Service:Kk Two-dimensional code, device and method for forming two-dimensional code, and device and method for reading two-dimensional code
JP2007167514A (en) * 2005-12-26 2007-07-05 Aruze Corp Game machine
JP2007167513A (en) * 2005-12-26 2007-07-05 Aruze Corp Game machine
JP2008521068A (en) * 2004-11-24 2008-06-19 株式会社オプトエレクトロニクス Color symbol reader
WO2009057314A1 (en) * 2007-10-30 2009-05-07 Kenji Yoshida Code pattern
US8687242B2 (en) 2009-05-13 2014-04-01 Sharp Kabushiki Kaisha Image processing apparatus for obtaining image data comprising a code generation section, an encryption section, a pattern generation section, and an addition section
US8699087B2 (en) 2009-01-30 2014-04-15 Sharp Kabushiki Kaisha Image generating apparatus, image processing apparatus, image forming apparatus, and recording medium
CN109784451A (en) * 2017-11-13 2019-05-21 卓望数码技术(深圳)有限公司 A kind of method and apparatus expanding two dimensional code code capacity using more colors
JP2019144793A (en) * 2018-02-20 2019-08-29 富士ゼロックス株式会社 Information processing device and program
JP2019212355A (en) * 2018-06-07 2019-12-12 日本放送協会 Encoding device, decoding device, and hologram recording/reproducing device
JP2021002392A (en) * 2016-01-28 2021-01-07 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Method and device for initializing two-dimensional code

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4540397B2 (en) * 2004-06-07 2010-09-08 アライ株式会社 Two-dimensional code, two-dimensional code forming apparatus and forming method, and two-dimensional code reading apparatus and reading method
JP2005346600A (en) * 2004-06-07 2005-12-15 Gijutsu Transfer Service:Kk Two-dimensional code, device and method for forming two-dimensional code, and device and method for reading two-dimensional code
JP4773442B2 (en) * 2004-11-24 2011-09-14 株式会社オプトエレクトロニクス Color symbol reader
JP2008521068A (en) * 2004-11-24 2008-06-19 株式会社オプトエレクトロニクス Color symbol reader
JP2007167513A (en) * 2005-12-26 2007-07-05 Aruze Corp Game machine
JP2007167514A (en) * 2005-12-26 2007-07-05 Aruze Corp Game machine
WO2009057314A1 (en) * 2007-10-30 2009-05-07 Kenji Yoshida Code pattern
US8699087B2 (en) 2009-01-30 2014-04-15 Sharp Kabushiki Kaisha Image generating apparatus, image processing apparatus, image forming apparatus, and recording medium
US8687242B2 (en) 2009-05-13 2014-04-01 Sharp Kabushiki Kaisha Image processing apparatus for obtaining image data comprising a code generation section, an encryption section, a pattern generation section, and an addition section
JP2021002392A (en) * 2016-01-28 2021-01-07 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Method and device for initializing two-dimensional code
CN109784451A (en) * 2017-11-13 2019-05-21 卓望数码技术(深圳)有限公司 A kind of method and apparatus expanding two dimensional code code capacity using more colors
CN109784451B (en) * 2017-11-13 2022-03-18 卓望数码技术(深圳)有限公司 Method and device for expanding two-dimensional code coding capacity by using multiple colors
JP2019144793A (en) * 2018-02-20 2019-08-29 富士ゼロックス株式会社 Information processing device and program
JP2019212355A (en) * 2018-06-07 2019-12-12 日本放送協会 Encoding device, decoding device, and hologram recording/reproducing device
JP7079154B2 (en) 2018-06-07 2022-06-01 日本放送協会 Encoding device, decoding device, and hologram recording / playback device

Similar Documents

Publication Publication Date Title
US5818032A (en) Encoded color halftone micro-dots for high density digital information storage
JP5952178B2 (en) Four-dimensional (4D) color barcode for encoding and decoding large data
US8261988B2 (en) Phase locked IR encoding for peened 2D barcodes
KR101159330B1 (en) System and method for encoding high density geometric symbol set
EP3091478B1 (en) Multiple resolution readable color array
US9454688B1 (en) High capacity 2D color barcode design and decoding method
JPH09134125A (en) Document creation method and document reading method
JP2004070960A (en) Method for converting two-dimensional bar code into signal, scanner performing the same, and decoding method
JP2009540468A (en) Multidimensional symbology and related methods
WO2012053153A1 (en) Image processing apparatus and image processing method
JP2003091697A (en) Two-dimensional code system and method for the same
CN1964422A (en) Watermarked information embedding apparatus and method, and computer program
JP2001516480A (en) Symbol symbol method and apparatus having multiple colors
JP5634154B2 (en) Image processing apparatus and image processing method
JPH11353436A (en) Emblem code and its coding method
US20160379029A1 (en) High capacity 2d color barcode design and processing method for camera based applications
JP3738049B2 (en) Digital information recording method
US8797193B2 (en) Parallel test payload
JP2005208843A (en) Information encoding/decoding method, device and code indicator
TWI249141B (en) Document having index data and system for reading document having index data
JP2006330930A (en) Method and device for preparing and reading color code
JP2014128901A (en) Image processing device and image processing method
JP2006085506A (en) Image processing device
JP5316121B2 (en) Image processing apparatus, image processing method, image processing program, and printing method
JP2007047871A (en) Bar code reader and bar code reading method