JP2010061217A - Two-dimensional code - Google Patents

Two-dimensional code Download PDF

Info

Publication number
JP2010061217A
JP2010061217A JP2008223665A JP2008223665A JP2010061217A JP 2010061217 A JP2010061217 A JP 2010061217A JP 2008223665 A JP2008223665 A JP 2008223665A JP 2008223665 A JP2008223665 A JP 2008223665A JP 2010061217 A JP2010061217 A JP 2010061217A
Authority
JP
Japan
Prior art keywords
cell
pattern
color
cells
dark
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.)
Granted
Application number
JP2008223665A
Other languages
Japanese (ja)
Other versions
JP5115404B2 (en
Inventor
Hiroaki Mizukoshi
宏明 水越
Yuichi Ito
裕一 伊東
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.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
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 Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2008223665A priority Critical patent/JP5115404B2/en
Publication of JP2010061217A publication Critical patent/JP2010061217A/en
Application granted granted Critical
Publication of JP5115404B2 publication Critical patent/JP5115404B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To more efficiently obtain a configuration capable of setting a reference area which becomes a standard of each color to be displayed on a cell, and capable of accurately separating a code area from a back ground in a two-dimensional code to be represented with colors. <P>SOLUTION: In the two-dimensional code 1, a plurality of cells "C" are two-dimensionally disposed within a rectangular area, and information encoded by color, density, or intensity of each cell is configured as a color code for color representation. The two-dimensional code 1 is provided with color reference patterns 21 to 27 which become to be standards of cell display colors to be used for each cell within the rectangular area. In the color reference patterns 21 to 27, the plurality of cells "C" are disposed with a matrix state, and at least a part of a cell string is configured as a boundary portion of the rectangular area. Moreover, the cell string configured as the boundary portion of the rectangular area in the color reference patterns 21 to 27 are configured by a predetermined color matrix for separating the rectangular area from the back ground of the rectangular area. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、二次元コードに関するものである。   The present invention relates to a two-dimensional code.

従来より提供されている二次元コードは、白色セル及び黒色セルをマトリックス状に配置した構成が一般的であるが、このような二次元コードは記録する情報量を増大させにくいという事情があった。そこで、現在では、セル表示をカラー表現するカラー二次元コードが各種提案され、記録する情報の高密度化を実現している。なお、このようなカラー二次元コードに関する技術としては例えば特許文献1、2のようなものがある。
特許第3923796号公報 特許第3996520号公報
Conventionally provided two-dimensional codes generally have a configuration in which white cells and black cells are arranged in a matrix, but such two-dimensional codes have a situation in which it is difficult to increase the amount of information to be recorded. . Therefore, various color two-dimensional codes for expressing the cell display in color have been proposed at present, and the recording information has been densified. In addition, there exist a thing like patent document 1, 2 as a technique regarding such a color two-dimensional code, for example.
Japanese Patent No. 3923696 Japanese Patent No. 3996520

上記のようなカラー二次元コードでは、セルに表示される各色を正確に判定することが求められる。しかしながら、各色の読み取り結果は印刷環境や読み取り環境によってばらつきやすく、何ら措置を講じないとばらつきに起因する誤判定を招いてしまう。このような誤判定を防ぐためには、特定領域に色判定の基準となるべき参照パターンを配置しておき、その参照パターンの参照結果を基準として各色の判定をすることが望ましい。   In the color two-dimensional code as described above, it is required to accurately determine each color displayed in the cell. However, the reading result of each color is likely to vary depending on the printing environment and the reading environment, and if no measures are taken, an erroneous determination due to the variation is caused. In order to prevent such an erroneous determination, it is desirable to place a reference pattern to be a color determination reference in a specific area and determine each color based on the reference result of the reference pattern.

一方、上記二次元コードでは、読み取りに際し二次元コードとして読み取るべき領域を明確にするため、コード領域と背景とを分離することが求められる。このような分離を正確に行うためには、背景と分離しやすい特定のパターンを予め決めておき、これを二次元コードの境界部に配置する構成とすることが望ましい。   On the other hand, in the above two-dimensional code, it is required to separate the code area and the background in order to clarify the area to be read as the two-dimensional code. In order to perform such separation accurately, it is desirable that a specific pattern that can be easily separated from the background is determined in advance and arranged at the boundary of the two-dimensional code.

上記のように、カラー二次元コードでは色判定の基準となるパターンやコード領域と背景とを分離するためのパターンを配置することが望まれ、更に、コード領域内においてより多くのデータを記録することを考慮すると、これら機能を有するパターンをより効率的に配意することが望まれる。   As described above, in the color two-dimensional code, it is desirable to arrange a pattern for separating color determination and a pattern for separating the code area from the background, and more data is recorded in the code area. In view of this, it is desirable to distribute patterns having these functions more efficiently.

本発明は、上述した課題を解決するためになされたものであり、カラー表現される二次元コードにおいて、セルに表示される各色の基準となる参照領域を設けることができ、且つコード領域と背景とを精度高く分離できる構成をより効率的に実現することを目的とする。   The present invention has been made to solve the above-described problems, and in a two-dimensional code expressed in color, a reference area serving as a reference for each color displayed in a cell can be provided, and the code area and the background can be provided. It is an object to more efficiently realize a configuration that can be separated from each other with high accuracy.

上記目的を達成するため、請求項1の発明は、複数のセルが矩形領域内に二次元的に配置され、各々のセルの色彩又は濃度又は輝度により符号化された情報をカラー表現する二次元コードであって、前記矩形領域内の各セルに使用するセル表示色の基準となる色参照パターンを備え、前記色参照パターンは、複数のセルがマトリックス状に配置され、且つ少なくとも一部のセル列が前記矩形領域の境界部として構成されており、更に、前記矩形領域の境界部として構成される前記セル列が、前記矩形領域と当該矩形領域の背景とを分離するための所定の色配列で構成されていることを特徴とする。   In order to achieve the above object, the invention of claim 1 is a two-dimensional representation in which a plurality of cells are two-dimensionally arranged in a rectangular area, and the information encoded by the color, density, or luminance of each cell is expressed in color. A color reference pattern which is a code and serves as a standard of a cell display color used for each cell in the rectangular area, wherein the color reference pattern includes a plurality of cells arranged in a matrix and at least some of the cells A column is configured as a boundary portion of the rectangular region, and the cell column configured as a boundary portion of the rectangular region further includes a predetermined color array for separating the rectangular region and the background of the rectangular region It is characterized by comprising.

請求項2の発明は、請求項1に記載の二次元コードにおいて、前記色参照パターンは、3行3列のマトリックス状に構成されていることを特徴とする。   According to a second aspect of the present invention, in the two-dimensional code according to the first aspect, the color reference pattern is configured in a matrix of 3 rows and 3 columns.

請求項3の発明は、請求項1又は請求項2に記載の二次元コードにおいて、前記矩形領域と前記背景とを分離するための特定パターンが前記矩形領域の境界に沿って配置されており、前記色参照パターンの前記セル列が、前記特定パターンの一部として構成されていることを特徴とする。   The invention of claim 3 is the two-dimensional code according to claim 1 or claim 2, wherein a specific pattern for separating the rectangular area and the background is arranged along a boundary of the rectangular area, The cell row of the color reference pattern is configured as a part of the specific pattern.

請求項4の発明は、請求項3に記載の二次元コードにおいて、前記特定パターンは、前記矩形領域を撮像して所定の色成分の画像を取得したときに、当該画像において、前記セル列によって構成される部分と、前記セル列以外の他部分によって構成される部分とが、連続した特定模様となるように構成されていることを特徴とする。   According to a fourth aspect of the present invention, in the two-dimensional code according to the third aspect, when the specific pattern captures the rectangular area and acquires an image of a predetermined color component, It is characterized by the structure comprised and the part comprised by other parts other than the said cell row | line | column so that it may become a continuous specific pattern.

請求項5の発明は、請求項4に記載の二次元コードにおいて、前記特定パターンの前記他部分は、前記所定の色成分の前記画像において、明と判別される明判別セルと、暗と判別される暗判別セルとが交互に配列された交互模様となるように構成され、前記セル列は、前記所定の色成分の前記画像において、前記他部分の交互模様に連続する交互模様となるように構成されていることを特徴とする。   According to a fifth aspect of the present invention, in the two-dimensional code according to the fourth aspect, the other part of the specific pattern is determined to be a bright discrimination cell that is discriminated to be bright and dark in the image of the predetermined color component. The dark discrimination cells are alternately arranged in an alternating pattern, and the cell row is an alternating pattern that is continuous with the alternating pattern of the other portion in the image of the predetermined color component. It is comprised by these.

請求項6の発明は、請求項4に記載の二次元コードにおいて、前記特定パターンの前記他部分は、前記所定の色成分の画像において、暗と判別される暗判別セルが連続する暗色連続模様となるように構成され、前記セル列は、前記所定の色成分の画像において、前記他部分の暗色連続模様に連続する暗色連続模様となるように構成されていることを特徴とする。   According to a sixth aspect of the present invention, in the two-dimensional code according to the fourth aspect, the other portion of the specific pattern is a dark continuous pattern in which dark determination cells determined to be dark are continuous in the image of the predetermined color component. The cell row is configured to be a dark color continuous pattern continuous with the dark color continuous pattern of the other portion in the image of the predetermined color component.

請求項7の発明は、請求項1又は請求項2に記載の二次元コードにおいて、前記色参照パターンは、前記セル列の少なくとも両端のセルが、前記矩形領域を撮像して所定の色成分の画像を取得したときの当該画像において暗と判別される暗判別セルとして構成されていることを特徴とする。   According to a seventh aspect of the present invention, in the two-dimensional code according to the first or second aspect, the color reference pattern includes at least cells at both ends of the cell column that capture the rectangular area and have a predetermined color component. It is configured as a dark discrimination cell that is determined to be dark in the image when the image is acquired.

請求項8の発明は、請求項7に記載の二次元コードにおいて、前記色参照パターンは、前記セル列を構成する全セルが前記暗判別セルとして構成されていることを特徴とする。   An eighth aspect of the invention is the two-dimensional code according to the seventh aspect, wherein all the cells constituting the cell column are configured as the dark discrimination cells in the color reference pattern.

請求項9の発明は、請求項4から請求項8のいずれか一項に記載の二次元コードにおいて、前記矩形領域の規定の角部には、当該矩形領域内の前記セルの位置基準となる基準パターンが設けられ、複数の前記色参照パターンが、前記規定の角部以外の角部にそれぞれ配置されており、前記色参照パターンは、当該色参照パターンの4つの角部に配置される角セルが、前記所定の色成分の画像において暗と判別される暗判別セルによって構成されていることを特徴とする。   The invention according to claim 9 is the two-dimensional code according to any one of claims 4 to 8, wherein a prescribed corner portion of the rectangular area serves as a position reference of the cell in the rectangular area. A reference pattern is provided, and a plurality of the color reference patterns are arranged at corners other than the prescribed corners, and the color reference patterns are corners arranged at four corners of the color reference pattern. The cell is constituted by a dark discrimination cell that is determined to be dark in the image of the predetermined color component.

請求項10の発明は、請求項1から請求項9のいずれか一項に記載の二次元コードにおいて、前記矩形領域には、前記色参照パターンが同一の色配列で複数設けられていることを特徴とする。   According to a tenth aspect of the present invention, in the two-dimensional code according to any one of the first to ninth aspects, a plurality of the color reference patterns having the same color arrangement are provided in the rectangular area. Features.

請求項1の発明は、矩形領域内の各セルに使用するセル表示色の基準となる色参照パターンが設けられているため、読み取りの際に各セルの色を精度高く判断しやすくなる。更に、色参照パターンのセル列が矩形領域の境界部として構成され、矩形領域と背景とを分離するための所定の色配列で構成されているため、コード領域と背景とを精度高く分離できる構成をより効率的に実現できる。   According to the first aspect of the present invention, since a color reference pattern serving as a standard of the cell display color used for each cell in the rectangular area is provided, it becomes easy to accurately determine the color of each cell at the time of reading. Furthermore, the cell array of the color reference pattern is configured as a boundary portion of the rectangular area, and is configured with a predetermined color arrangement for separating the rectangular area and the background, so that the code area and the background can be separated with high accuracy. Can be realized more efficiently.

請求項2の発明は、色参照パターンが3行3列のマトリックス状に構成されているため、色参照パターンをコンパクトに構成しつつ、背景と分離するためのセル列を3セル分使って適切に構成できる。   In the invention of claim 2, since the color reference pattern is configured in a matrix of 3 rows and 3 columns, it is appropriate to use 3 cell columns for separating the background from the background while making the color reference pattern compact. Can be configured.

請求項3の発明は、矩形領域と背景とを分離するための特定パターンが矩形領域の境界に沿って配置されており、色参照パターンのセル列が、この特定パターンの一部として構成されている。このようにすると色参照パターンのみならず、特定パターンを構成する他部分(色参照パターン以外の部分)をも用いて矩形領域と背景とを分離でき、より精度高く良好に分離できるようになる。   In the invention of claim 3, the specific pattern for separating the rectangular area and the background is arranged along the boundary of the rectangular area, and the cell sequence of the color reference pattern is configured as a part of the specific pattern. Yes. In this way, the rectangular area and the background can be separated using not only the color reference pattern but also other parts constituting the specific pattern (parts other than the color reference pattern), and can be separated more accurately and satisfactorily.

請求項4の発明は、矩形領域を撮像して所定の色成分の画像を取得したときに、当該画像において、セル列によって構成される部分と、セル列以外の他部分とが、連続した特定模様となるように構成されている。このようにすると、所定の色成分の画像を取得したときに矩形領域の境界を特定しうる特定模様が構成されることとなり、当該特定模様に基づき矩形領域をより精度高く分離できるようになる。特に、色参照パターンのみ、或いは色参照パターン以外の他部分のみによって特定模様を構成するのではなく、これらを連続させて特定模様を構成しているため、色参照パターンを効率的に配置しつつ特定模様をより長く設けることができる。   According to a fourth aspect of the present invention, when an image of a predetermined color component is acquired by capturing an image of a rectangular area, a portion constituted by a cell row and a portion other than the cell row are continuously specified in the image. It is configured to be a pattern. In this way, a specific pattern that can specify the boundary of the rectangular area when an image of a predetermined color component is acquired is configured, and the rectangular area can be separated with higher accuracy based on the specific pattern. In particular, the specific pattern is not constituted only by the color reference pattern or only by the other part other than the color reference pattern, but the specific pattern is constituted by continuing these, so that the color reference pattern can be arranged efficiently. A specific pattern can be provided longer.

請求項5の発明は、特定パターンの他部分(色参照パターンの一部をなすセル列以外の部分)が、所定の色成分の前記画像において、明と判別される明判別セルと、暗と判別される暗判別セルとが交互に配列された交互模様となるように構成されている。このようにすると、背景色の影響を抑えて矩形領域を精度高く特定しやすくなる。特に、所定の色成分の画像において、色参照パターンの一部をなすセル列と当該セル列以外の他部分とが連続する交互模様となるように構成されているため、境界部に色参照パターンを配置しつつ交互模様をより広い領域に表すことができ、矩形領域をより一層精度高く分離できるようになる。   According to a fifth aspect of the present invention, there is provided a light discrimination cell in which the other part of the specific pattern (a part other than the cell row forming a part of the color reference pattern) is determined to be bright in the image having a predetermined color component, The dark discrimination cells to be discriminated are alternately arranged in an alternating pattern. In this way, it becomes easy to specify the rectangular area with high accuracy while suppressing the influence of the background color. In particular, in an image of a predetermined color component, the color reference pattern is formed at the boundary portion because the cell row forming a part of the color reference pattern and the other portion other than the cell row are configured to be an alternating pattern. The alternating pattern can be expressed in a wider area while arranging the rectangular areas, and the rectangular areas can be separated with higher accuracy.

請求項6の発明は、特定パターンの他部分が、所定の色成分の画像において、暗と判別される暗判別セルが連続する暗色連続模様となるように構成されている。このようにすると、当該色成分の画像において背景色が明色となるときに矩形領域の境界をより明確に特定しやすくなる。特に、所定の色成分の画像において、色参照パターンの一部をなすセル列と当該セル列以外の他部分とが連続する暗色連続模様となるように構成されているため、境界部に色参照パターンを配置しつつ暗色連続模様をより広い領域に表すことができ、矩形領域をより一層精度高く分離できるようになる。   According to a sixth aspect of the present invention, the other part of the specific pattern is configured to be a dark continuous color pattern in which dark determination cells determined as dark are continuous in an image of a predetermined color component. In this way, it becomes easier to specify the boundary of the rectangular area more clearly when the background color is light in the image of the color component. In particular, in an image of a predetermined color component, since it is configured to be a dark continuous pattern in which a cell row that forms part of the color reference pattern and a portion other than the cell row are continuous, color reference is made at the boundary portion. A dark continuous pattern can be expressed in a wider area while arranging patterns, and rectangular areas can be separated with higher accuracy.

請求項7の発明は、色参照パターンのセル列(境界部として構成されるセル列)の少なくとも両端のセルが、所定の色成分の画像を取得したとき当該画像において暗と判別されるセル(暗判別セル)として構成されている。このようにすると、所定の色成分の画像において背景色が明色となるときに、当該セル列の一端から他端に亘り背景とセル列とを区別しやすくなり、ひいては背景と矩形領域とを正確に分離しやすくなる。   According to the seventh aspect of the present invention, at least the cells at both ends of the cell row of the color reference pattern (the cell row configured as the boundary) are determined to be dark in the image when the image of the predetermined color component is acquired ( (Dark discrimination cell). In this way, when the background color is light in the image of the predetermined color component, it becomes easy to distinguish the background and the cell row from one end to the other end of the cell row, and thus the background and the rectangular region are separated. It becomes easy to separate accurately.

請求項8の発明は、色参照パターンのセル列(境界部として構成されるセル列)の全セルが暗判別セルとして構成されている。このようにすると、所定の色成分の画像において背景色が明色となるときに、セル列全体と背景とがより一層区別しやすくなり、矩形領域をより一層正確に分離できるようになる。   In the invention of claim 8, all the cells of the cell row of the color reference pattern (cell row formed as the boundary portion) are configured as dark discrimination cells. In this way, when the background color is light in the image of the predetermined color component, it becomes easier to distinguish the entire cell row and the background, and the rectangular area can be more accurately separated.

請求項9の発明は、矩形領域の規定の角部に、当該矩形領域内のセルの位置基準となる基準パターンが設けられているため、規定の角部については基準パターンによって精度高く特定できるようになる。一方、規定の角部以外の角部については、色参照パターンがそれぞれ配置されているため、これら角部については色参照パターンによって特定できるようになる。更に、各色参照パターンの角セル(各色参照パターンにおける4つの角部に配置されるそれぞれのセル)が、暗判別セル(所定の色成分の画像において暗と判別されるセル)として構成されているため、所定の色成分の画像において矩形領域の角部にそれぞれ暗色が配置されることとなり、当該色成分の画像において背景色が明色となるときに各角部をより正確に特定できるようになる。   According to the ninth aspect of the present invention, since the reference pattern serving as the position reference of the cell in the rectangular area is provided at the specified corner of the rectangular area, the specified corner can be specified with high accuracy by the reference pattern. become. On the other hand, since the color reference patterns are arranged for corners other than the prescribed corners, these corners can be specified by the color reference pattern. Furthermore, the corner cells of each color reference pattern (respective cells arranged at the four corners of each color reference pattern) are configured as dark discrimination cells (cells that are determined to be dark in an image of a predetermined color component). Therefore, dark colors are arranged at the corners of the rectangular area in the image of the predetermined color component, and each corner can be more accurately specified when the background color is light in the image of the color component. Become.

請求項10の発明は、色参照パターンが同一の色配列で複数設けられている。このようにすると、複数の色参照パターンのいずれをも用いてセル表示色の基準を取得することができ、例えばいずれかのパターンの読み取りが困難な場合等において有利となる。更に、それらが同一の色配列で構成されているため、各パターンを読み取るために複雑な読み取り方法や読み取り情報を用いる必要がなく、読み取りをより簡素化できる。   According to a tenth aspect of the present invention, a plurality of color reference patterns are provided in the same color arrangement. In this way, the cell display color standard can be obtained using any of the plurality of color reference patterns, which is advantageous when, for example, it is difficult to read any of the patterns. Furthermore, since they are configured with the same color arrangement, it is not necessary to use a complicated reading method or reading information to read each pattern, and the reading can be further simplified.

[第1実施形態]
以下、本発明の二次元コードを具現化した第1実施形態について、図面を参照して説明する。図1は、第1実施形態に係る二次元コードを概略的に説明する説明図である。図2(a)は、図1の二次元コードに用いる色参照パターンを説明する説明図であり、(b)は、緑成分の画像を取得したときの色参照パターンの明暗構成を概略的に説明する説明図である。図3は、図1の二次元コードについて、緑成分の画像を取得したときの明暗構成を概略的に説明する説明図である。図4(a)は、赤成分の画像における各色と明暗の関係について説明する説明図であり、(b)は、緑成分の画像における各色と明暗の関係について説明する説明図であり、(c)は、青成分の画像における各色と明暗の関係について説明する説明図である。図5は、本実施形態の二次元コードを読み取る読取処理を例示するフローチャートである。
[First embodiment]
Hereinafter, a first embodiment embodying a two-dimensional code of the present invention will be described with reference to the drawings. FIG. 1 is an explanatory diagram schematically illustrating a two-dimensional code according to the first embodiment. FIG. 2A is an explanatory diagram for explaining a color reference pattern used in the two-dimensional code of FIG. 1, and FIG. 2B schematically shows a light / dark configuration of the color reference pattern when a green component image is acquired. It is explanatory drawing demonstrated. FIG. 3 is an explanatory diagram schematically illustrating a light / dark configuration when a green component image is acquired for the two-dimensional code of FIG. 1. FIG. 4A is an explanatory diagram for explaining the relationship between each color and brightness in the red component image, and FIG. 4B is an explanatory diagram for explaining the relationship between each color and brightness in the green component image. ) Is an explanatory diagram for explaining the relationship between each color and light and dark in a blue component image. FIG. 5 is a flowchart illustrating a reading process for reading the two-dimensional code of this embodiment.

本実施形態に係る二次元コード1は、図1に示すように、複数のセルCがマトリックス状に配列されてなるものであり、複数のコードブロック10と、第1の特定パターン2と、第2の特定パターン3、4と、を備えた構成をなしている。この二次元コード1は、外形が正方形状のセルCが集合してマトリックス状に配置されたセル集合体として構成されており、図1の例では、セル数が縦横同数(35セル×35セル)となる配列で構成されている。また、二次元コード1を構成するコード領域(セルCが配置される領域)は、外形が矩形状の矩形領域(図1の例では、外形が正方形状の正方形領域)とされている。   As shown in FIG. 1, the two-dimensional code 1 according to the present embodiment includes a plurality of cells C arranged in a matrix, and includes a plurality of code blocks 10, a first specific pattern 2, The configuration includes two specific patterns 3 and 4. This two-dimensional code 1 is configured as a cell aggregate in which cells C having a square outer shape are aggregated and arranged in a matrix. In the example of FIG. 1, the number of cells is the same number (35 cells × 35 cells). ). In addition, the code area (area where the cell C is arranged) constituting the two-dimensional code 1 is a rectangular area whose outer shape is rectangular (in the example of FIG. 1, a square area whose outer shape is square).

なお、図1では、一部のセルのみについて符号Cを付しており、他のセルの符号は省略している。また、図1では、一部の誤り訂正コードブロック12の位置を一点鎖線にて概念的に示しており、他の誤り訂正コードブロックについては図示を省略している。また、一部のデータコードブロック11の位置について二点鎖線にて概念的に示しており、他のデータコードブロック11については図示を省略している。また、図1では、データが記録される領域(データ記録領域)を破線AR1にて概念的に示しており、このデータ記録領域AR1内の具体的セル構成(各コードブロック10の具体的セル構成等)は省略して示している。   In FIG. 1, only some of the cells are denoted by reference symbol C, and the other cells are omitted. In FIG. 1, the positions of some error correction code blocks 12 are conceptually indicated by alternate long and short dash lines, and other error correction code blocks are not shown. Further, the positions of some data code blocks 11 are conceptually shown by two-dot chain lines, and the other data code blocks 11 are not shown. Further, in FIG. 1, an area (data recording area) in which data is recorded is conceptually indicated by a broken line AR1, and a specific cell configuration (specific cell configuration of each code block 10) in the data recording area AR1. Etc.) are omitted.

本実施形態の二次元コード1は、色彩又は濃度又は輝度の異なる3種類以上のセルを用いたいわゆるカラーコードとして構成されるものであり、図1では、その一例として、黒色セル、白色セル、赤色セル、緑色セル、青色セル、シアン色セル、マゼンダ色セル、黄色セル、の8色のセルを用いた構成を示している。なお、本実施形態及び他の実施形態を通し、黒色セルをCb、白色セルをCwで示すとともに、緑色セルを符号Cg、赤色セルをCr、青色セルをCu、黄色セルをCy、シアン色セルをCn、マゼンダ色セルをCmとそれぞれ示すこととする。   The two-dimensional code 1 of the present embodiment is configured as a so-called color code using three or more types of cells having different colors, densities, or luminances. In FIG. 1, black cells, white cells, A configuration using eight color cells of a red cell, a green cell, a blue cell, a cyan cell, a magenta cell, and a yellow cell is shown. Throughout this embodiment and other embodiments, the black cell is indicated by Cb, the white cell is indicated by Cw, the green cell is indicated by Cg, the red cell is Cr, the blue cell is Cu, the yellow cell is Cy, and the cyan cell. Is represented as Cn, and the magenta cell as Cm.

二次元コード1の一部を構成するコードブロック10は、複数のセルCが集合してなるものであり、図1の二次元コード1では、データコードブロック11と、誤り訂正コードブロック12とに分けられている。データコードブロック11及び誤り訂正コードブロック12は、いずれもマスク処理が施されていない非マスク化ブロックとされており、マスク処理の解除等を必要とせずにデコードしうる構成となっている。   The code block 10 that constitutes a part of the two-dimensional code 1 is a set of a plurality of cells C. In the two-dimensional code 1 of FIG. 1, the data code block 11 and the error correction code block 12 include It is divided. The data code block 11 and the error correction code block 12 are both unmasked blocks that have not been subjected to mask processing, and can be decoded without the need for cancellation of mask processing or the like.

データコードブロック11は、デコードの対象となるデータを符号化した符号化データ(データコード語)を複数のセルによって表現したブロックであり、図1の例では、複数のセルがマトリックス状に集合した構成となっている。データコードブロック11を構成する各セルは、予め定められた複数種類のセル(図1の例では上述の8色のセル)の中からいずれかの種類のセルが選択されて用いられている。なお、図1では、8つのセルが4行2列のマトリックス状に配列されたデータコードブロック11を二点鎖線にて概念的に例示しているが、データコードブロック11のセル数やブロック構成はこれ以外であってもよい。   The data code block 11 is a block in which encoded data (data code word) obtained by encoding data to be decoded is expressed by a plurality of cells. In the example of FIG. 1, a plurality of cells are gathered in a matrix. It has a configuration. Each cell constituting the data code block 11 is selected and used from a plurality of predetermined types of cells (the above-described eight color cells in the example of FIG. 1). In FIG. 1, the data code block 11 in which eight cells are arranged in a matrix of 4 rows and 2 columns is conceptually illustrated by a two-dot chain line, but the number of cells and the block configuration of the data code block 11 are illustrated. May be other than this.

各データコードブロック11は、デコードすべき符号化データ(データコード語)に対応したセルの配列で構成されている。具体的には、セル表示色が、数値に対応付けられており、例えば、データ値「0」に対して第1の色「白」、データ値「1」に対して第2の色「赤」、データ値「2」に対して第3の色「緑」、データ値「3」に対して第4の色「青」、データ値「4」、に対して第5の色「マゼンタ」、データ値「5」に対して第6の色「黄」、データ値「6」に対して第7の色「シアン」、データ値「7」、に対して第8の色「黒」、がそれぞれ対応付けられている。   Each data code block 11 is composed of an array of cells corresponding to encoded data (data code words) to be decoded. Specifically, the cell display color is associated with a numerical value. For example, the first color “white” for the data value “0” and the second color “red” for the data value “1”. ”, The third color“ green ”for the data value“ 2 ”, the fourth color“ blue ”for the data value“ 3 ”, and the fifth color“ magenta ”for the data value“ 4 ”. The sixth color “yellow” for the data value “5”, the seventh color “cyan” for the data value “6”, the eighth color “black” for the data value “7”, Are associated with each other.

誤り訂正コードブロック12は、データコードブロック11の誤り訂正を行うための誤り訂正コード語によって構成されている。この誤り訂正コードブロック12を構成する誤り訂正コード語は、データコードブロック11を構成する符号化データ(データコード語)に基づいて生成されたものである。なお、データコード語に基づいて誤り訂正コード語を生成する方法としては、例えば公知のリード・ソロモン誤り訂正方式を用いることができる。   The error correction code block 12 is composed of error correction code words for performing error correction of the data code block 11. The error correction code word constituting the error correction code block 12 is generated based on the encoded data (data code word) constituting the data code block 11. As a method for generating an error correction code word based on a data code word, for example, a known Reed-Solomon error correction method can be used.

本実施形態では、データコード語に基づいて誤り訂正コード語を生成する方法として、JISX0510:2004に規定された誤り訂正コード語の生成方法(JISX0510:2004、8.5誤り訂正)を用いている。この方法の場合、誤り訂正コード語は、データコードブロック11についてのデータコード語を二進数で表した後、誤り訂正検出及び訂正(JISX0510:2004付属書A)で使用される多項式g(x)によって当該データコード語を除算して得られた剰余とされる。誤り訂正コードブロック12は、このように生成された誤り訂正コード語を複数のセルによって表現したブロックとして構成される。なお、ここでは、JISX0510に規定される方法を用いて誤り訂正コード語を生成したが、誤り訂正コード語の生成方法はこれに限られず、公知の様々な方法を用いることができる。   In the present embodiment, an error correction code word generation method (JISX0510: 2004, 8.5 error correction) defined in JIS X0510: 2004 is used as a method for generating an error correction code word based on a data code word. . In this method, the error correction code word is represented by a polynomial g (x) used in error correction detection and correction (JISX0510: 2004 appendix A) after the data code word for the data code block 11 is represented in binary. Is the remainder obtained by dividing the data code word. The error correction code block 12 is configured as a block in which the error correction code word generated in this way is expressed by a plurality of cells. Here, the error correction code word is generated using the method defined in JISX0510, but the method of generating the error correction code word is not limited to this, and various known methods can be used.

第1の特定パターン2は、二次元コード1の矩形領域において4つ設けられた角部(矩形領域における角を構成する部分)5a〜5dのうち、規定の角部5aに配置されるものである。図1の例では第1の特定パターン2の外形が矩形状(詳しくは正方形状)に構成されており、第1の特定パターン2の外縁を構成する2辺によって矩形領域における規定の角部5aの角位置が定められている。この第1の特定パターン2は、矩形領域における各セルCの位置の特定するための要素として機能するものであり、具体的には、二次元コード1を光学的情報読取装置で読み取ったときに得られる画像データにおいて規定の角部5aの位置を特定するために用いられると共に、その画像データにおいて二次元コード1の向きを特定するために用いられる。なお、本明細書全体を通し、第1の特定パターン2、第2の特定パターン3、4、及び後述する色参照パターンは、二次元コードに含まれるデータ(デコードすべきデータ)に関係なく一定のパターンとして構成されている。   The 1st specific pattern 2 is arrange | positioned in the predetermined | prescribed corner | angular part 5a among four corner | angular parts (part which comprises the corner | angular in a rectangular area) 5a-5d provided in the rectangular area of the two-dimensional code 1. FIG. is there. In the example of FIG. 1, the outer shape of the first specific pattern 2 is configured in a rectangular shape (specifically, a square shape), and a prescribed corner portion 5 a in the rectangular region is defined by two sides that form the outer edge of the first specific pattern 2. The angular position of is determined. The first specific pattern 2 functions as an element for specifying the position of each cell C in the rectangular area. Specifically, when the two-dimensional code 1 is read by the optical information reader. It is used to specify the position of the prescribed corner 5a in the obtained image data, and is used to specify the direction of the two-dimensional code 1 in the image data. Throughout this specification, the first specific pattern 2, the second specific pattern 3, 4 and the color reference pattern described later are constant regardless of the data (data to be decoded) included in the two-dimensional code. It is configured as a pattern.

また、第1の特定パターン2は、中心に第1の色のセル(黒色セル2a)が1つ配置され、その第1の色のセル(黒色セル2a)の周りを複数種類のセル2b〜2iが矩形状に囲んでいる。さらに、その環状のセル群(複数色のセル群)の周りを第1の色のセル(黒色セル2j)が環状かつ矩形状に囲んだ構成をなし、それが最外周のセル群として構成されている。そして、その最外周のセル群の外形が矩形状(正方形状)に構成され、第1の特定パターン2全体として外形が矩形状(正方形状)となっている。   The first specific pattern 2 has one cell of the first color (black cell 2a) arranged at the center, and a plurality of types of cells 2b to around the first color cell (black cell 2a). 2i surrounds the rectangle. Further, the annular cell group (multi-color cell group) is surrounded by a first color cell (black cell 2j) in an annular and rectangular shape, which is configured as the outermost cell group. ing. The outermost cell group has an outer shape of a rectangular shape (square shape), and the outer shape of the first specific pattern 2 as a whole is a rectangular shape (square shape).

第2の特定パターン3、4は、コード領域(矩形領域)の境界をなす4つの辺(4つの境界辺6)のうち、第1の特定パターン2が接する境界辺(第1境界辺6a、6b)に隣接して配置されている。この第2の特定パターン3、4は、二次元コード1のコード領域(矩形領域)を背景から分離するために利用されるものであり、後述する読み取りの際にこの第2の特定パターン3,4を認識することで第1境界辺6a、6bの位置を特定できるようになっている。   The second specific patterns 3 and 4 are boundary sides (first boundary sides 6 a, 6 a, and 4) that are in contact with the first specific pattern 2 among the four sides (four boundary sides 6) forming the boundary of the code region (rectangular region). 6b). The second specific patterns 3 and 4 are used to separate the code area (rectangular area) of the two-dimensional code 1 from the background. By recognizing 4, the positions of the first boundary sides 6a and 6b can be specified.

第2の特定パターン3は、第1の特定パターン2の端部に隣接すると共に、当該隣接位置から角部5bまでの領域全体に亘り第1境界辺6aに隣接して配置されている。この第2の特定パターン3は、一部が色参照パターン21、22によって構成され、これら色参照パターン21、22以外の他部分が、白色セル及び黒色セルからなる白黒交互パターン3a、3bによって構成されている。   The second specific pattern 3 is adjacent to the end of the first specific pattern 2 and is disposed adjacent to the first boundary side 6a over the entire region from the adjacent position to the corner 5b. The second specific pattern 3 is partly constituted by the color reference patterns 21 and 22, and the other part other than the color reference patterns 21 and 22 is constituted by the black and white alternating patterns 3a and 3b composed of white cells and black cells. Has been.

第1の特定パターン2と色参照パターン21との間に配置される白黒交互パターン3aは、第1の特定パターン2に隣接する白色セルを一端部とし、色参照パターン21に隣接する白色セルを他端部とする11個のセルによって構成され、第1境界辺6aに沿って一列状に構成されている。この白黒交互パターン3aでは、一端部の白色セル(第1の特定パターン2に隣接する白色セル)に隣接して黒色セルが配置され、その黒色セルに隣接して白色セルが配置されるといった形態で白色セルと黒色セルとが1セルごと交互に配置されている。   The black-and-white alternating pattern 3 a arranged between the first specific pattern 2 and the color reference pattern 21 has a white cell adjacent to the first specific pattern 2 as one end, and a white cell adjacent to the color reference pattern 21 It is composed of 11 cells as the other end, and is arranged in a line along the first boundary side 6a. In the black-and-white alternating pattern 3a, a black cell is disposed adjacent to a white cell at one end (a white cell adjacent to the first specific pattern 2), and a white cell is disposed adjacent to the black cell. The white cells and the black cells are alternately arranged for each cell.

また、両色参照パターン21、22の間に配置される白黒交互パターン3bも同様であり、色参照パターン21に隣接する白色セルを一端部とし、色参照パターン22に隣接する白色セルを他端部とする11個のセルによって構成され、第1境界辺6aに沿って一列状に構成されている。この白黒交互パターン3bも、一端部の白色セル(色参照パターン21に隣接する白色セル)に隣接して黒色セルが配置され、その黒色セルに隣接して白色セルが配置されるといった形態で白色セルと黒色セルとが1セルごと交互に配置されている。   The same applies to the black-and-white alternating pattern 3b arranged between the two-color reference patterns 21 and 22. The white cell adjacent to the color reference pattern 21 is one end, and the white cell adjacent to the color reference pattern 22 is the other end. It is composed of 11 cells as a part, and is arranged in a line along the first boundary side 6a. The black-and-white alternating pattern 3b is also white in a form in which a black cell is arranged adjacent to a white cell at one end (a white cell adjacent to the color reference pattern 21), and a white cell is arranged adjacent to the black cell. Cells and black cells are alternately arranged for each cell.

色参照パターン21、22は、いずれも複数のセルがマトリックス状(図1の例では3行3列のマトリックス状)に配置されてなるものであり、図1の例では、両色参照パターン21、22が同一構成となっている。この色参照パターン21、22は、矩形領域内の各セルに使用するセル表示色の基準となるパターンであり、図2(a)に示すように二次元コード1で用いられる全セル表示色(黒色、白色、赤色、緑色、青色、マゼンタ色、シアン色、黄色)を表示する構成となっている。なお、図2(a)では、色参照パターン21のみを示しているが、色参照パターン22も同一の構成であるため当該色参照パターン22についての拡大図は省略する。   Each of the color reference patterns 21 and 22 includes a plurality of cells arranged in a matrix (in the example of FIG. 1, a matrix of 3 rows and 3 columns). In the example of FIG. , 22 have the same configuration. These color reference patterns 21 and 22 are patterns that serve as a standard for the cell display color used for each cell in the rectangular area. As shown in FIG. Black, white, red, green, blue, magenta, cyan, yellow). In FIG. 2A, only the color reference pattern 21 is shown, but since the color reference pattern 22 has the same configuration, an enlarged view of the color reference pattern 22 is omitted.

図1に示すように、色参照パターン21は、第1境界辺6aのほぼ中央位置に隣接して配置されており、第1境界辺6aに隣接するセル(即ち、外縁の一部が第1境界辺6aの位置に配置されるセル21a、21b、21c)からなるセル列30が矩形領域の境界部として構成されている。これらセル21a、21b、21cからなるセル列30は、矩形領域と当該矩形領域の背景とを分離するための所定の色配列(後述)で構成されると共に、第2の特定パターン3の一部として構成されており、一端側が白黒交互パターン3aに隣接し、他端側が白黒交互パターン3bに隣接した構成となっている。   As shown in FIG. 1, the color reference pattern 21 is disposed adjacent to a substantially central position of the first boundary side 6a, and a cell adjacent to the first boundary side 6a (that is, a part of the outer edge is the first). A cell row 30 including cells 21a, 21b, and 21c) arranged at the position of the boundary side 6a is configured as a boundary portion of the rectangular area. The cell row 30 including the cells 21a, 21b, and 21c is configured with a predetermined color arrangement (described later) for separating the rectangular area and the background of the rectangular area, and a part of the second specific pattern 3 The one end side is adjacent to the black-and-white alternating pattern 3a and the other end side is adjacent to the black-and-white alternating pattern 3b.

色参照パターン22は、第1境界辺6aの端部に隣接して配置されており、第1の境界辺6aに隣接するセル(即ち、外縁の一部が第1境界辺6aの位置に配置されるセル22a、22b、22c)からなるセル列31が、矩形領域と当該矩形領域の背景とを分離するための所定の色配列(後述)で構成されている。このセル列31は、第2の特定パターン3の一部として構成されており、一端側が白黒交互パターン3bに隣接し、他端部が矩形領域の角部5bとして構成されている。なお、色参照パターン22は、第1境界辺6aのエンドを示すエンドパターンとしての機能を有している。   The color reference pattern 22 is disposed adjacent to the end of the first boundary side 6a, and a cell adjacent to the first boundary side 6a (that is, a part of the outer edge is disposed at the position of the first boundary side 6a. The cell row 31 including the cells 22a, 22b, and 22c) is configured with a predetermined color arrangement (described later) for separating the rectangular area and the background of the rectangular area. The cell row 31 is configured as a part of the second specific pattern 3, and one end side is adjacent to the black and white alternating pattern 3b, and the other end portion is configured as a corner 5b of a rectangular region. The color reference pattern 22 has a function as an end pattern indicating the end of the first boundary side 6a.

第2の特定パターン4は、第1の特定パターン2の端部に隣接すると共に、当該隣接位置から角部5cまで領域全体に亘り第1境界辺6bに隣接して配置されている。この第2の特定パターン4は、一部が色参照パターン23、24によって構成され、これら色参照パターン23、24以外の他部分が、白色セル及び黒色セルからなる白黒交互パターン4a、4bによって構成されている。   The second specific pattern 4 is adjacent to the end of the first specific pattern 2 and is disposed adjacent to the first boundary side 6b over the entire region from the adjacent position to the corner 5c. The second specific pattern 4 is partly constituted by the color reference patterns 23 and 24, and the other part other than the color reference patterns 23 and 24 is constituted by the black and white alternating patterns 4a and 4b composed of white cells and black cells. Has been.

第1の特定パターン2と色参照パターン23との間に配置される白黒交互パターン4aは、第1の特定パターン2に隣接する白色セルを一端部とし、色参照パターン23に隣接する白色セルを他端部とする11個のセルによって構成され、第1境界辺6bに沿って一列状に構成されている。この白黒交互パターン4aは、一端部の白色セル(第1の特定パターン2に隣接する白色セル)に隣接して黒色セルが配置され、その黒色セルに隣接して白色セルが配置されるといった形態で白色セルと黒色セルとが1セルごと交互に配置されている。   The black-and-white alternating pattern 4 a arranged between the first specific pattern 2 and the color reference pattern 23 has a white cell adjacent to the first specific pattern 2 as one end, and a white cell adjacent to the color reference pattern 23. It is composed of 11 cells as the other end, and is arranged in a line along the first boundary side 6b. In this black and white alternating pattern 4a, a black cell is disposed adjacent to a white cell at one end (a white cell adjacent to the first specific pattern 2), and a white cell is disposed adjacent to the black cell. The white cells and the black cells are alternately arranged for each cell.

また、両色参照パターン23、24の間に配置される白黒交互パターン4bも同様であり、色参照パターン23に隣接する白色セルを一端部とし、色参照パターン24に隣接する白色セルを他端部とする11個のセルによって構成され、第1境界辺6bに沿って一列状に構成されている。この白黒交互パターン4bでも、一端部の白色セル(色参照パターン23に隣接する白色セル)に隣接して黒色セルが配置され、その黒色セルに隣接して白色セルが配置されるといった形態で白色セルと黒色セルとが1セルごと交互に配置されている。   The same applies to the black-and-white alternating pattern 4b arranged between the two color reference patterns 23 and 24. The white cell adjacent to the color reference pattern 23 is one end, and the white cell adjacent to the color reference pattern 24 is the other end. It is composed of 11 cells as a part, and is arranged in a line along the first boundary side 6b. Also in this black and white alternating pattern 4b, white cells are arranged in such a manner that a black cell is arranged adjacent to a white cell at one end (a white cell adjacent to the color reference pattern 23) and a white cell is arranged adjacent to the black cell. Cells and black cells are alternately arranged for each cell.

色参照パターン23、24は、いずれも複数のセルがマトリックス状(3行3列のマトリックス状)に配置されてなるものであり、本実施形態では、両色参照パターン23、24が同一構成となっており、更にこれら色参照パターン23、24が上述の色参照パターン21、22とも同一の構成となっている。この色参照パターン23、24も、矩形領域内の各セルに使用するセル表示色の基準となるパターンであり、上記色参照パターン21,22と同様に二次元コード1で用いられる全セル表示色(黒色、白色、赤色、緑色、青色、マゼンタ色、シアン色、黄色)を表示する構成となっている。   Each of the color reference patterns 23 and 24 is formed by arranging a plurality of cells in a matrix (a matrix of 3 rows and 3 columns). In this embodiment, the two color reference patterns 23 and 24 have the same configuration. Furthermore, these color reference patterns 23 and 24 have the same configuration as the above-described color reference patterns 21 and 22. These color reference patterns 23 and 24 are also patterns that serve as a standard for the cell display color used for each cell in the rectangular area, and the all cell display colors used in the two-dimensional code 1 are the same as the color reference patterns 21 and 22 described above. (Black, white, red, green, blue, magenta, cyan, yellow) are displayed.

図1に示すように、色参照パターン23は、第1境界辺6bのほぼ中央位置に隣接して配置されており、第1境界辺6bに隣接するセル(即ち、外縁の一部が第1境界辺6bに位置するセル23a、23h、23g)からなるセル列32が矩形領域の境界部として構成されている。このセル列30は、矩形領域と当該矩形領域の背景とを分離するための所定の色配列(後述)で構成されると共に、第2の特定パターン4の一部として構成されており、一端側が白黒交互パターン4aに隣接し、他端側が白黒交互パターン4bに隣接した構成となっている。   As shown in FIG. 1, the color reference pattern 23 is disposed adjacent to a substantially central position of the first boundary side 6b, and a cell adjacent to the first boundary side 6b (that is, a part of the outer edge is the first). A cell row 32 composed of cells 23a, 23h, 23g) located on the boundary side 6b is configured as a boundary portion of the rectangular area. The cell row 30 is configured with a predetermined color array (described later) for separating the rectangular area and the background of the rectangular area, and is configured as a part of the second specific pattern 4. The black-and-white alternating pattern 4a is adjacent, and the other end is adjacent to the black-and-white alternating pattern 4b.

また、色参照パターン24は、第1境界辺6bの端部に隣接して配置されており、第1境界辺6bに隣接するセル(即ち、外縁の一部が第1境界辺6bに位置する24a、24h、24g)からなるセル列33が、矩形領域と当該矩形領域の背景とを分離するための所定の色配列(後述)で構成されている。このセル列33は、第2の特定パターン4の一部として構成されており、一端側が白黒交互パターン4bに隣接し、他端部が矩形領域の角部5cとして構成されている。なお、色参照パターン24は、第1境界辺6bのエンドを示すエンドパターンとしての機能を有している。   The color reference pattern 24 is arranged adjacent to the end of the first boundary side 6b, and a cell adjacent to the first boundary side 6b (that is, a part of the outer edge is located on the first boundary side 6b). 24a, 24h, and 24g) is configured with a predetermined color arrangement (described later) for separating the rectangular area and the background of the rectangular area. The cell row 33 is configured as a part of the second specific pattern 4, and one end side is adjacent to the black and white alternating pattern 4b, and the other end portion is configured as a corner 5c of a rectangular region. Note that the color reference pattern 24 has a function as an end pattern indicating the end of the first boundary side 6b.

次に、「矩形領域と当該矩形領域の背景とを分離するための所定の色配列」について説明する。
二次元コード1で用いられる色参照パターン21は、矩形領域を撮像して所定の色成分の画像を取得したとき、当該所定の色成分の画像において、セル列30と、セル列30以外の他部分(即ち、白黒交互パターン3a、3b)とが、連続した特定模様となるように構成されている。
Next, the “predetermined color arrangement for separating the rectangular area and the background of the rectangular area” will be described.
When the color reference pattern 21 used in the two-dimensional code 1 captures a rectangular area and acquires an image of a predetermined color component, in the image of the predetermined color component, other than the cell column 30 and the cell column 30 The portions (that is, the black and white alternating patterns 3a and 3b) are configured to be a continuous specific pattern.

以下、「所定の色成分の画像」を「緑成分の画像」とするときの構成例について説明する。
緑成分の画像(G画像)では、「緑」の信号レベルと、「白」「黄」「シアン」の信号レベルとに大きな差がなくこれらは「明」に類するレベルとなる。一方、この緑成分の画像では、「黒」「赤」「青」「マゼンタ」の各信号レベルに大きな差がなく、これらは「暗」に類するレベルとなる。なお、図4(b)では、緑成分の画像における各色と明暗の対応関係を示している。
Hereinafter, a configuration example when the “predetermined color component image” is the “green component image” will be described.
In the green component image (G image), there is no significant difference between the signal level of “green” and the signal levels of “white”, “yellow”, and “cyan”, and these levels are similar to “bright”. On the other hand, in the green component image, there is no significant difference between the signal levels of “black”, “red”, “blue”, and “magenta”, which are levels similar to “dark”. FIG. 4B shows the correspondence between each color and light and dark in the green component image.

本実施形態では上記のような性質に着目して特定パターン3を構成している。まず、セル列30、31以外の他部分(白黒交互パターン3a、3b)は、図3に示すように、緑成分の画像において明判別セル(緑成分の画像において明と判別されるセル)と暗判別セル(緑成分の画像において暗と判別されるセル)とが1セルごとに交互に配列された交互模様3a'3b'となるように構成されている。図1の例では、白黒交互パターン3a、3bを構成する黒色セルが緑成分の画像における暗判別セルとなり、白色セルが緑成分の画像における明判別セルとなるように構成されている。   In the present embodiment, the specific pattern 3 is configured by paying attention to the above properties. First, as shown in FIG. 3, the other portions (black and white alternate patterns 3a and 3b) other than the cell rows 30 and 31 are bright discrimination cells (cells determined to be bright in the green component image) in the green component image. The dark discrimination cells (cells that are discriminated as dark in the green component image) are arranged in an alternating pattern 3a'3b 'in which cells are alternately arranged. In the example of FIG. 1, the black cells constituting the black and white alternating patterns 3a and 3b are dark discrimination cells in the green component image, and the white cells are light discrimination cells in the green component image.

また、セル列30は、図3に示すように、緑成分の画像において白黒交互パターン3aの交互模様3a'に連続する交互模様30'となるように構成されており、更に、当該交互模様30'が白黒交互パターン3bの交互模様3b'にも連続するように構成されている。   In addition, as shown in FIG. 3, the cell row 30 is configured to be an alternating pattern 30 ′ continuous with the alternating pattern 3 a ′ of the black and white alternating pattern 3 a in the green component image. It is configured so that “is continuous with the alternating pattern 3b of the black and white alternating pattern 3b”.

図1の構成では、白黒交互パターン3aにおけるセル列30側の端部側が・・・白、黒、白と構成され、端部が白色セルによって構成されており、図3に示す交互模様3a'は、セル列30側の端部側が明、暗、明と構成され端部が明判別セルによって構成されている。従って、セル列30の交互模様30'がこれに続く暗、明、暗となるように、セル列30における白黒交互パターン3a側の端部セル21aを緑成分の画像において暗判別セルとなる黒色セルによって構成し、それに続くセル21bを緑成分の画像において明判別セルとなるシアン色セルによって構成し、更にそれに続く端部セル21cを、緑成分の画像において暗判別セルとなる赤色セルによって構成している。   In the configuration of FIG. 1, the end portion on the cell row 30 side in the black-and-white alternating pattern 3a is composed of white, black, white, and the end is composed of white cells, and the alternating pattern 3a ′ shown in FIG. The cell array 30 has an end side that is bright, dark, and bright, and an end portion that is configured by a light discrimination cell. Accordingly, the end cell 21a on the black and white alternating pattern 3a side in the cell row 30 is a black color that becomes a dark discrimination cell in the green component image so that the alternating pattern 30 ′ of the cell row 30 is dark, light, and dark. Consists of cells, the subsequent cell 21b is configured by a cyan cell that is a light discrimination cell in the green component image, and the subsequent end cell 21c is configured by a red cell that is a dark discrimination cell in the green component image is doing.

また、図2(b)、図3に示すように、緑成分の画像におけるセル列30の交互模様30'は、暗(暗判別セル21a')、明(明判別セル21b')、暗(暗判別セル21c')と構成され、端部が暗判別セル21c'によって構成されている。従って、白黒交互パターン3bの交互模様3b'がこれに続く明、暗、明・・・となるように、白黒交互パターン3bのセル列30側の構成を、白、黒、白・・・といった並びとしている(図1)。   As shown in FIGS. 2B and 3, the alternating pattern 30 ′ of the cell row 30 in the green component image is dark (dark discrimination cell 21 a ′), bright (bright discrimination cell 21 b ′), dark ( The dark discrimination cell 21c ′) and the end portion are constituted by the dark discrimination cell 21c ′. Therefore, the configuration on the cell row 30 side of the black and white alternating pattern 3b is white, black, white, and so on so that the alternating pattern 3b 'of the black and white alternating pattern 3b becomes the following light, dark, light, and so on. They are lined up (FIG. 1).

また、図1に示すように、白黒交互パターン3bは、セル列31側の端部側が・・・白、黒、白と構成され、端部が白色セルとなっており、図3に示す緑成分の画像において、白黒交互パターン3bの交互模様3b'は、セル列31側の端部側において・・・明、暗、明と構成され、端部が明判別セルによって構成されている。従って、セル列31の交互模様31'がこれに続く暗、明、暗となるように、セル列31における白黒交互パターン3b側の端部セル22aを緑成分の画像において暗判別セル22a'となる黒色セルによって構成し、それに続くセル22bを緑成分の画像において明判別セル22b'となるシアン色セルによって構成し、更にそれに続く端部セル22cを、緑成分の画像において暗判別セル22c'となる赤色セルによって構成している。   As shown in FIG. 1, the black-and-white alternating pattern 3b is composed of white, black, white on the end side on the cell row 31 side and white cells on the end side, and the green shown in FIG. In the component image, the alternating pattern 3b ′ of the black-and-white alternating pattern 3b is composed of... Bright, dark, and bright on the end side on the cell row 31 side, and the end is composed of light discrimination cells. Accordingly, the end cell 22a on the black and white alternating pattern 3b side in the cell row 31 is replaced with the dark discrimination cell 22a ′ in the green component image so that the alternating pattern 31 ′ of the cell row 31 is dark, light, and dark. And the subsequent cell 22b is a cyan cell that becomes the light discrimination cell 22b 'in the green component image, and the subsequent end cell 22c is the dark discrimination cell 22c' in the green component image. It is comprised by the red cell which becomes.

更に、セル列31は、緑成分の画像にて構成される交互模様31'において角部5b側の端部が暗判別セル22c'となるように構成されており、当該交互模様31'の暗判別セル22c'によって矩形領域の角部5bが示されるようになっている。   Further, the cell row 31 is configured such that the end on the corner 5b side in the alternating pattern 31 ′ configured by the green component image becomes the dark discrimination cell 22c ′, and the dark pattern of the alternating pattern 31 ′. The corner 5b of the rectangular area is indicated by the discrimination cell 22c ′.

このように構成されているため、図3のような緑成分の画像を取得したときに、明暗が1セルごとに交互に配置される交互模様の規則性が第1の特定パターン2に隣接する位置から角部5bの位置まで及び、第1境界辺6a全体を特定しやすくなっている。   Because of this configuration, when a green component image as shown in FIG. 3 is acquired, the regularity of the alternating pattern in which light and dark are alternately arranged for each cell is adjacent to the first specific pattern 2. From the position to the position of the corner 5b, the entire first boundary side 6a can be easily specified.

また、色参照パターン22は、第2境界辺6cに隣接するセル(即ち、外縁の一部が第2境界辺6cの位置に配置されるセル22c、22d、22e)からなるセル列39を備えている。このセル列39は、図3に示す緑成分の画像において、両端に暗判別セル22c'、22e'が配置され、中央に明判別セル22d'が配置された交互模様39'となるように構成されている。従って、交互模様31'と交互模様39'とによってそれぞれ第1境界辺6a及び第2境界辺6cの位置が精度高く示され、その頂部にある暗判別セル22c'によって角部5bの角位置がより正確に示されることとなり、読み取りの際には、矩形領域の角部5bの付近の境界をより正確に特定できるようになる。   In addition, the color reference pattern 22 includes a cell column 39 including cells adjacent to the second boundary side 6c (that is, cells 22c, 22d, and 22e in which a part of the outer edge is disposed at the position of the second boundary side 6c). ing. The cell row 39 is configured to have an alternating pattern 39 ′ in which dark discrimination cells 22c ′ and 22e ′ are arranged at both ends and a light discrimination cell 22d ′ is arranged in the center in the green component image shown in FIG. Has been. Accordingly, the positions of the first boundary side 6a and the second boundary side 6c are accurately indicated by the alternating pattern 31 ′ and the alternating pattern 39 ′, respectively, and the corner position of the corner 5b is determined by the dark discrimination cell 22c ′ at the top. In this case, the boundary near the corner 5b of the rectangular area can be specified more accurately.

また、第2の特定パターン4も同様に構成されている。まず、セル列32、33以外の他部分(白黒交互パターン4a、4b)については、図3に示す緑成分の画像において明判別セル(緑成分の画像において明と判別されるセル)と暗判別セル(緑成分の画像において暗と判別されるセル)とが交互に配列された交互模様4a'4b'となるように構成されている。図1の例では、白黒交互パターン4a、4bを構成する黒色セルが緑成分の画像において暗判別セルとなり、白色セルが緑成分の画像において明判別セルとなるように構成されている。   The second specific pattern 4 is configured in the same manner. First, with respect to the other portions (black and white alternate patterns 4a and 4b) other than the cell rows 32 and 33, the light discrimination cell (the cell that is discriminated to be bright in the green component image) and the dark discrimination in the green component image shown in FIG. The cells (cells that are determined to be dark in the green component image) are alternately arranged in an alternating pattern 4a'4b '. In the example of FIG. 1, the black cells constituting the black-and-white alternating patterns 4a and 4b are dark discrimination cells in the green component image, and the white cells are bright discrimination cells in the green component image.

また、セル列32については、図3に示す緑成分の画像において、白黒交互パターン4aの交互模様4a'に連続する交互模様32'となるように構成されており、更に、当該交互模様32'が白黒交互パターン4bの交互模様4b'にも連続するように構成されている。   In addition, the cell row 32 is configured to be an alternating pattern 32 ′ that is continuous with the alternating pattern 4a ′ of the black and white alternating pattern 4a in the green component image shown in FIG. 3, and further, the alternating pattern 32 ′. Is also continuous with the alternating pattern 4b ′ of the black and white alternating pattern 4b.

図1の構成では、白黒交互パターン4aにおけるセル列32側の端部側が・・・白、黒、白と構成され、端部が白色セルによって構成されており、図3に示す緑成分の画像の交互模様4a'は、明、暗、明と構成され端部が明判別セルによって構成される。従って、セル列32の交互模様32'がこれに続く暗、明、暗となるように、セル列32における白黒交互パターン3a側の端部セル23aを緑成分の画像において暗判別セル23a'となる黒色セルによって構成し、それに続くセル23hを緑成分の画像において明判別セル23h'となる黄色セルによって構成し、更にそれに続く端部セル23gを、緑成分の画像において暗判別セル23g'となる青色セルによって構成している。   In the configuration of FIG. 1, the end side on the cell row 32 side in the black and white alternating pattern 4 a is composed of white, black, white, and the end is composed of white cells, and the green component image shown in FIG. The alternating pattern 4a ′ is composed of light, dark, and light, and the end is composed of a light discrimination cell. Therefore, the end cell 23a on the black and white alternating pattern 3a side in the cell row 32 is replaced with the dark discrimination cell 23a ′ in the green component image so that the alternating pattern 32 ′ of the cell row 32 becomes dark, light, and dark. And the subsequent cell 23h is composed of a yellow cell that becomes the light discrimination cell 23h 'in the green component image, and the subsequent end cell 23g is a dark discrimination cell 23g' in the green component image. It is comprised by the blue cell which becomes.

また、図3に示すように、緑成分の画像におけるセル列32の交互模様32'は、暗、明、暗と構成され端部が暗判別セル23g'によって構成されている。従って、白黒交互パターン4bの交互模様4b'がこれに続く明、暗、明となるように、白黒交互パターン4bにおけるセル列32側の構成は、白、黒、白・・・といった並びとしている(図1)。   Further, as shown in FIG. 3, the alternating pattern 32 ′ of the cell row 32 in the green component image is composed of dark, bright, and dark, and the end is composed of a dark discrimination cell 23g ′. Therefore, the configuration on the cell row 32 side in the black and white alternate pattern 4b is arranged such as white, black, white,... So that the alternating pattern 4b ′ of the black and white alternate pattern 4b becomes the following light, dark, and light. (FIG. 1).

また、図1に示すように、白黒交互パターン4bは、セル列33側の端部側が・・・白、黒、白と構成され、端部が白色セルとなっており、図3に示すように、緑成分の画像において構成される当該白黒交互パターン4bの交互模様4b'は、セル列33側の端部側において・・・明、暗、明と構成され、端部が明判別セルによって構成されている。従って、セル列33の交互模様33'がこれに続く暗、明、暗となるように、セル列33における白黒交互パターン4b側の端部セル24aを緑成分の画像において暗判別セル24a'となる黒色セルによって構成し、それに続くセル24hを緑成分の画像において明判別セル24h'となる黄色セルによって構成し、更にそれに続く端部セル24gを、緑成分の画像において暗判別セル24g'となる青色セルによって構成している。   As shown in FIG. 1, the black-and-white alternating pattern 4b is composed of white, black, white on the end side on the cell row 33 side and white cells on the end side, as shown in FIG. Further, the alternating pattern 4b ′ of the black and white alternating pattern 4b configured in the green component image is composed of bright, dark, and bright on the end side on the cell row 33 side, and the end portion is defined by the light discrimination cell. It is configured. Therefore, the end cell 24a on the black and white alternating pattern 4b side in the cell row 33 is replaced with the dark discrimination cell 24a ′ in the green component image so that the alternating pattern 33 ′ of the cell row 33 is dark, light, and dark. And the subsequent cell 24h is composed of a yellow cell that becomes the light discrimination cell 24h ′ in the green component image, and the subsequent end cell 24g is a dark discrimination cell 24g ′ in the green component image. It is comprised by the blue cell which becomes.

更に、セル列33は、緑成分の画像にて構成される交互模様33'において角部5c側の端部が暗判別セル24g'となるように構成されており、当該交互模様33'の暗判別セル24g'によって矩形領域の角部5cが示されるようになっている。   Further, the cell row 33 is configured such that the end on the corner portion 5c side in the alternating pattern 33 ′ configured by the image of the green component becomes the dark discrimination cell 24g ′, and the darkness of the alternating pattern 33 ′. The corner 5c of the rectangular area is indicated by the discrimination cell 24g ′.

このように構成されているため、図3のような緑成分の画像を取得したときに、明暗が1セルごとに交互に配置される交互模様の規則性が第1の特定パターン2に隣接する位置から角部5cの位置まで及び、第1境界辺6a全体を特定しやすくなっている。   Because of this configuration, when a green component image as shown in FIG. 3 is acquired, the regularity of the alternating pattern in which light and dark are alternately arranged for each cell is adjacent to the first specific pattern 2. It is easy to specify the entire first boundary side 6a from the position to the position of the corner 5c.

また、色参照パターン24は、第2境界辺6dに隣接するセル(即ち、外縁の一部が第2境界辺6dの位置に配置されるセル24g、24f、24e)からなるセル列34を備えている。このセル列34は、各セル24g、24f、24eが図3に示す緑成分の画像において3つの暗判別セル24g'、24f'、24e'となり、暗判別セルのみが連続する暗色連続模様34'となるように構成されている。従って、交互模様33'と暗色連続模様34'とによってそれぞれ第1境界辺6b及び第2境界辺6dの位置が精度高く示され、その頂部にある暗判別セル24g'によって角部5cの角位置がより正確に示されることとなり、読み取りの際には、矩形領域の角部5cの付近の境界をより正確に特定できるようになる。   Further, the color reference pattern 24 includes a cell row 34 including cells adjacent to the second boundary side 6d (that is, cells 24g, 24f, and 24e in which a part of the outer edge is arranged at the position of the second boundary side 6d). ing. In this cell row 34, each cell 24g, 24f, 24e becomes three dark discrimination cells 24g ', 24f', 24e 'in the green component image shown in FIG. 3, and a dark continuous color pattern 34' in which only the dark discrimination cells are continuous. It is comprised so that. Therefore, the positions of the first boundary side 6b and the second boundary side 6d are accurately indicated by the alternating pattern 33 ′ and the dark continuous pattern 34 ′, respectively, and the corner position of the corner 5c is indicated by the dark discrimination cell 24g ′ at the top. Is more accurately shown, and the boundary in the vicinity of the corner 5c of the rectangular area can be specified more accurately during reading.

また、二次元コード1のコード領域(矩形領域)における第1の特定パターン2の対角位置にも、上記色参照パターン21〜24と同一構成の色参照パターン25が配置されている。この色参照パターン25は、コード領域(矩形領域)の角部5dを示すエンドパターンとして機能しており、一方の外縁が第2境界辺6cに沿って配置され、当該一方の外縁に対し直角に配される他方の外縁が第2境界辺6dに沿って配置され、これら直角外縁によって矩形領域における角部5dの角位置が定められている。なお、本実施形態では、第1の特定パターン2が隣接していない境界辺を第2境界辺6c、6dとしている。   The color reference pattern 25 having the same configuration as the color reference patterns 21 to 24 is also arranged at the diagonal position of the first specific pattern 2 in the code area (rectangular area) of the two-dimensional code 1. The color reference pattern 25 functions as an end pattern indicating the corner 5d of the code area (rectangular area), one outer edge is disposed along the second boundary side 6c, and is perpendicular to the one outer edge. The other outer edge is arranged along the second boundary side 6d, and the angular position of the corner 5d in the rectangular region is defined by these right-angled outer edges. In the present embodiment, the boundary sides that are not adjacent to the first specific pattern 2 are the second boundary sides 6c and 6d.

色参照パターン25は、第2境界辺6cに隣接するセル(即ち、外縁の一部が第2境界辺6cの位置に配置されるセル25c、25d、25e)からなるセル列36を備えている。このセル列36は、図3に示す緑成分の画像において、両端に暗判別セル25c'、25e'が配置され、中央に明判別セル25d'が配置された交互模様36'となるように構成されている。また、第2境界辺6dに隣接するセル(即ち、外縁の一部が第2境界辺6dの位置に配置されるセル25g、25f、25e)からなるセル列35を備えている。このセル列35は、各セル25g、25f、25eが図3に示す緑成分の画像において3つの暗判別セル25g'、25f'、25e'となり、暗判別セルのみが連続する暗色連続模様35'となるように構成されている。   The color reference pattern 25 includes a cell row 36 including cells adjacent to the second boundary side 6c (that is, cells 25c, 25d, and 25e in which part of the outer edge is disposed at the position of the second boundary side 6c). . The cell row 36 is configured to have an alternating pattern 36 ′ in which dark discrimination cells 25c ′ and 25e ′ are arranged at both ends and a light discrimination cell 25d ′ is arranged in the center in the green component image shown in FIG. Has been. In addition, the cell array 35 is formed of cells adjacent to the second boundary side 6d (that is, cells 25g, 25f, and 25e in which a part of the outer edge is disposed at the position of the second boundary side 6d). In this cell row 35, each of the cells 25g, 25f, and 25e becomes three dark discrimination cells 25g ', 25f', and 25e 'in the green component image shown in FIG. 3, and a dark color continuous pattern 35' in which only the dark discrimination cells are continuous. It is comprised so that.

本実施形態では、矩形領域の規定の角部5aに、当該矩形領域内のセルCの位置基準となる第1の特定パターン2(基準パターン)が設けられている。この第1の特定パターン2は、外周部に環状かつ矩形状の黒色セルが配置されているため、いずれの色成分の画像においても、外周部に暗判別セルが矩形状に配置されることとなるため、これら暗判別セルを用いて背景と矩形領域とを区別することができる。   In the present embodiment, a first specific pattern 2 (reference pattern) serving as a position reference for the cell C in the rectangular area is provided at a prescribed corner 5a of the rectangular area. Since the first specific pattern 2 has annular and rectangular black cells arranged on the outer periphery, dark discrimination cells are arranged on the outer periphery in a rectangular shape in any color component image. Therefore, the background and the rectangular area can be distinguished using these dark discrimination cells.

また、複数の色参照パターン22、24、25が、規定の角部5a以外の角部5b、5c、5dにそれぞれ配置されており、それら色参照パターン22、24、25は、当該色参照パターンの4つの角部に配置される角セルが、図3に示す緑成分の画像において暗と判別される暗判別セルによって構成されている。即ち、3×3のマトリックス状に構成される色参照パターン22の4つの角部のいずれのセルも緑成分の画像において暗判別セルとなっており、この色参照パターン22と同一構成をなす色参照パターン24、25についても、4つの角部のいずれのセルも緑成分の画像において暗判別セルとなっている。従って、色参照パターン22、24、25を全て同一の色配列としつつ、緑成分の画像において角部5b、5c、5dに暗判別セルを配置することができ、各角部を正確に特定できるようになる。   In addition, a plurality of color reference patterns 22, 24, and 25 are arranged at corners 5b, 5c, and 5d other than the prescribed corner 5a, and the color reference patterns 22, 24, and 25 are the color reference patterns. The corner cells arranged at the four corners are constituted by dark discrimination cells which are discriminated as dark in the green component image shown in FIG. That is, all the cells at the four corners of the color reference pattern 22 configured in a 3 × 3 matrix form are dark discrimination cells in the green component image, and the color having the same configuration as the color reference pattern 22 As for the reference patterns 24 and 25, all the cells at the four corners are dark discrimination cells in the green component image. Therefore, it is possible to dispose the dark discrimination cells at the corners 5b, 5c, and 5d in the green component image while making the color reference patterns 22, 24, and 25 all have the same color arrangement, and to accurately identify each corner. It becomes like this.

また、第2境界辺6c側及び第2境界辺6d側においても、各境界辺のそれぞれのほぼ中央位置に、色参照パターン26、27がそれぞれ設けられている。
色参照パターン26は、第2境界辺6cに隣接するセル(即ち、外縁の一部が第2境界辺6cの位置に配置されるセル26c、26d、26e)からなるセル列37を備えている。このセル列37は、図3に示す緑成分の画像において、両端に暗判別セル26c'、26e'が配置され、中央に明判別セル26d'が配置された交互模様37'となるように構成されている。この交互模様37'は、第2境界辺6cの両端部に隣接する交互模様39'、36'と共に第2境界辺6cを特定する役割を果たしている。
In addition, on the second boundary side 6c side and the second boundary side 6d side, color reference patterns 26 and 27 are provided at approximately the center positions of the respective boundary sides.
The color reference pattern 26 includes a cell row 37 including cells adjacent to the second boundary side 6c (that is, cells 26c, 26d, and 26e in which a part of the outer edge is disposed at the position of the second boundary side 6c). . The cell row 37 is configured to have an alternating pattern 37 ′ in which dark discrimination cells 26c ′ and 26e ′ are arranged at both ends and a light discrimination cell 26d ′ is arranged at the center in the green component image shown in FIG. Has been. The alternating pattern 37 ′ plays a role of specifying the second boundary side 6c together with the alternating patterns 39 ′ and 36 ′ adjacent to both ends of the second boundary side 6c.

また、色参照パターン27は、第2境界辺6dに隣接するセル(即ち、外縁の一部が第2境界辺6dの位置に配置されるセル27g、27f、27e)からなるセル列35を備えている。このセル列35は、各セル27g、27f、27eが図3に示す緑成分の画像において3つの暗判別セル27g'、27f'、27e'となり、暗判別セルのみが連続する暗色連続模様38'となるように構成されている。この暗色連続模様38'は、第2境界辺6cの両端部に隣接する暗色連続模様34'、35'と共に第2境界辺6cを特定する役割を果たしている。   In addition, the color reference pattern 27 includes a cell row 35 including cells adjacent to the second boundary side 6d (that is, cells 27g, 27f, 27e in which a part of the outer edge is disposed at the position of the second boundary side 6d). ing. In this cell row 35, each cell 27g, 27f, 27e becomes three dark discrimination cells 27g ', 27f', 27e 'in the green component image shown in FIG. 3, and a dark continuous color pattern 38' in which only the dark discrimination cells are continuous. It is comprised so that. The dark color continuous pattern 38 'plays a role of specifying the second boundary side 6c together with the dark color continuous patterns 34' and 35 'adjacent to both ends of the second boundary side 6c.

また、図1の二次元コード1では、矩形領域の境界部から離れた位置(図1では矩形領域の中心位置)にも色参照パターン21〜27と同一構成の同一パターン28が配置されている。この同一パターン28も、矩形領域内の各セルに使用するセル表示色の基準となるパターンであり、上記色参照パターン21〜27と同様に二次元コード1で用いられる全セル表示色(黒色、白色、赤色、緑色、青色、マゼンタ色、シアン色、黄色)を表示する構成となっている。なお、この同一パターン28を矩形領域内の所定の基準位置としてもよく、この場合、同一パターン28をアライメントパターンとして機能させることができる。   In the two-dimensional code 1 of FIG. 1, the same pattern 28 having the same configuration as the color reference patterns 21 to 27 is also arranged at a position away from the boundary of the rectangular area (the central position of the rectangular area in FIG. 1). . This same pattern 28 is also a pattern serving as a standard for the cell display color used for each cell in the rectangular area. Similar to the color reference patterns 21 to 27, all the cell display colors (black, White, red, green, blue, magenta, cyan, yellow). The same pattern 28 may be used as a predetermined reference position in the rectangular area. In this case, the same pattern 28 can function as an alignment pattern.

また、第1の特定パターン2の内部には、黒色セル及び白色セル以外の6色のセルが、各色参照パターン21〜27におけるこれら6色の配置と同様に配置されている。この構成によれば、第1の特定パターン2を色参照領域としても利用できるようになる。   Further, in the first specific pattern 2, cells of six colors other than the black cell and the white cell are arranged in the same manner as the arrangement of these six colors in the respective color reference patterns 21 to 27. According to this configuration, the first specific pattern 2 can be used as a color reference region.

なお、本実施形態の二次元コード1は、第1の特定パターン2がコード領域(矩形領域)の規定の角部5aに配置される一方で、コード領域(矩形領域)の境界辺6のうちの、第2の特定パターン3、4が配置される側以外の境界辺側(即ち、第2境界辺6c、6d側)に、一部の誤り訂正コードブロック12が配置される構成となっている。一方の第2境界辺6c側の誤り訂正コードブロック12は、第2境界辺6cに隣接する位置に、背景とは色彩又は濃度又は輝度の異なるセルを少なくとも1つ配置する構成をなしている。即ち、誤り訂正コードブロック12は、その性質上、背景と同一色のセルが連続して並ぶ確率が極めて低いことが知られており、本実施形態では、誤り訂正コードブロック12のこのような性質を利用して第2境界辺6cに隣接する位置に、背景とは色彩又は濃度又は輝度の異なるセルを少なくとも1つ配置するようにしている。他方の第2境界辺6d側の誤り訂正コードブロック12も同様であり、第2境界辺6dに隣接する位置に、背景とは色彩又は濃度又は輝度の異なるセル(黒色セル)を少なくとも1つ配置する構成をなしている。なお、図1の例では、背景が白色として構成され、誤り訂正コードブロック12はそれぞれ、背景と色の異なる黒色セル等を少なくとも1つ第2境界辺2c、2dに隣接させるように配置されるため、その黒色セル等を目印として第2境界辺2c、2dを精度高く特定できるようになる。   In the two-dimensional code 1 of the present embodiment, the first specific pattern 2 is arranged at the prescribed corner 5a of the code area (rectangular area), while the boundary side 6 of the code area (rectangular area) A part of the error correction code blocks 12 is arranged on the boundary side other than the side where the second specific patterns 3 and 4 are arranged (that is, on the second boundary sides 6c and 6d side). Yes. The error correction code block 12 on the second boundary side 6c side has a configuration in which at least one cell having a color, density, or luminance different from that of the background is arranged at a position adjacent to the second boundary side 6c. That is, it is known that the error correction code block 12 has a very low probability that cells of the same color as the background are continuously arranged due to the nature thereof. In this embodiment, such a property of the error correction code block 12 is known. At least one cell having a color, density, or luminance different from that of the background is arranged at a position adjacent to the second boundary side 6c. The same applies to the error correction code block 12 on the other second boundary side 6d side, and at least one cell (black cell) having a color, density or brightness different from that of the background is arranged at a position adjacent to the second boundary side 6d. It is configured to do. In the example of FIG. 1, the background is configured as white, and the error correction code block 12 is arranged so that at least one black cell or the like having a color different from the background is adjacent to the second boundary sides 2c and 2d. Therefore, the second boundary sides 2c and 2d can be specified with high accuracy using the black cell or the like as a mark.

次に、本実施形態に係る二次元コード1を読み取る読取処理について説明する。
当該読取処理はカラー画像を撮像する撮像手段及び情報処理手段を備えた光学的情報読取装置によって行われるものである。
図5に示すように、当該読取処理では、まず二次元コード1の画像データを取得する処理を行う(S1)。この処理では、各色成分ごとに画像データを取得してそれらをメモリに保存しておく。この処理により、赤成分の画像データ(R画像データ)と、緑成分の画像データ(G画像データ)と、青成分の画像データ(B画像データ)とがそれぞれメモリに記憶される。
Next, a reading process for reading the two-dimensional code 1 according to the present embodiment will be described.
The reading process is performed by an optical information reading apparatus including an image pickup unit that picks up a color image and an information processing unit.
As shown in FIG. 5, in the reading process, first, a process of acquiring image data of the two-dimensional code 1 is performed (S1). In this process, image data is acquired for each color component and stored in a memory. By this process, red component image data (R image data), green component image data (G image data), and blue component image data (B image data) are stored in the memory.

その後、各色成分の画像データから明暗画像データをそれぞれ算出し、それらをメモリに記憶する(S2)。この処理では、各色成分の画像データにおいて、明領域と暗領域とが区別された明暗画像を生成し、データとして保存する。具体的には、赤成分の画像データ(R画像データ)により赤成分についての明暗画像データを取得し、緑成分の画像データ(G画像データ)により緑成分についての明暗画像データを取得し、青成分の画像データ(B画像データ)により青成分についての明暗画像データを取得し、それらをメモリ保存する。図1の二次元コード1についての緑成分の明暗画像は図3のような構成をなし、S2ではこのような明暗画像のデータがメモリに記憶される。   Thereafter, bright and dark image data is calculated from the image data of each color component and stored in the memory (S2). In this process, a light / dark image in which a bright region and a dark region are distinguished from each other in the image data of each color component is generated and stored as data. Specifically, light / dark image data for the red component is acquired from the image data for the red component (R image data), and light / dark image data for the green component is acquired from the image data for the green component (G image data). Bright and dark image data for the blue component is acquired from the component image data (B image data) and stored in memory. The light and dark image of the green component for the two-dimensional code 1 of FIG. 1 has the structure shown in FIG. 3, and the data of such a light and dark image is stored in the memory in S2.

S2の処理の後には、二次元コード領域を特定する処理が行われる(S3)。本実施形態では、図3に示す緑成分の明暗画像に基づいて二次元コード領域を特定する。具体的には、図3に示す緑成分の画像において、第1の特定パターン2の特定模様2'と、第2の特定パターン3、4によって構成される交互模様と、色参照パターン22、24、25、26、27における矩形領域の境界部を構成する各セル列によって構成される模様(上述の交互模様や暗色連続模様)とを検出し、これら模様に基づいて矩形領域の境界部を特定する。   After the process of S2, a process for specifying a two-dimensional code area is performed (S3). In the present embodiment, the two-dimensional code region is specified based on the green component light and dark image shown in FIG. Specifically, in the green component image shown in FIG. 3, the alternating pattern constituted by the specific pattern 2 ′ of the first specific pattern 2 and the second specific patterns 3 and 4, and the color reference patterns 22 and 24. , 25, 26, and 27, a pattern constituted by each cell row constituting the boundary portion of the rectangular region (the above-described alternating pattern or dark continuous pattern) is detected, and the boundary portion of the rectangular region is specified based on these patterns To do.

その後、二次元コード1内に配される色参照パターンを検索する(S4)。そして、その検索された色参照パターンに基づいて各色の判別基準を設定する(S5)。なお、色参照パターンに基づいて判別基準を設定する方法としては、いずれかの色参照パターンに基づいて判別基準を設定する方法であってもよく、複数の色参照パターンに基づいて判別基準を設定する方法であってもよい。以下では、その一例として、色参照パターン21に基づいて判別基準を設定する例について説明する。   Thereafter, the color reference pattern arranged in the two-dimensional code 1 is searched (S4). Then, a discrimination criterion for each color is set based on the retrieved color reference pattern (S5). As a method for setting a discrimination standard based on a color reference pattern, a method for setting a discrimination standard based on any one of the color reference patterns may be used. The discrimination standard is set based on a plurality of color reference patterns. It may be a method to do. Hereinafter, as an example, an example in which a discrimination criterion is set based on the color reference pattern 21 will be described.

色参照パターン21の各セルは、各色の基準色として扱われるものであり、二次元コード1を構成する各セルがいずれの色に該当するかを判断するための閾値を設定するために用いられる。具体的には、二次元コード1の各黒色セルを判断するための閾値が少なくとも黒色セル21a又は21eに基づいて設定され、二次元コード1の各赤色セルを判断するための閾値が少なくとも赤色セル21cに基づいて設定され、二次元コード1の各緑色セルを判断するための閾値が少なくとも緑色セル21dに基づいて設定され、二次元コード1の各青色セルを判断するための閾値が少なくとも青色セル21gに基づいて設定されるようになっている。更に、二次元コード1の各シアン色セルを判断するための閾値が少なくともシアン色セル21bに基づいて設定され、二次元コード1の各マゼンタ色セルを判断するための閾値が少なくともマゼンタ色セル21fに基づいて設定され、二次元コード1の各黄色セルを判断するための閾値が少なくとも黄色セル21hに基づいて設定され、二次元コード1の各白色セルを判断するための閾値が白色セル21iに基づいて設定されるようになっている。   Each cell of the color reference pattern 21 is handled as a standard color of each color, and is used to set a threshold value for determining which color each cell constituting the two-dimensional code 1 corresponds to. . Specifically, a threshold for determining each black cell of the two-dimensional code 1 is set based on at least the black cell 21a or 21e, and a threshold for determining each red cell of the two-dimensional code 1 is at least a red cell. The threshold for determining each green cell of the two-dimensional code 1 is set based on at least the green cell 21d, and the threshold for determining each blue cell of the two-dimensional code 1 is at least a blue cell. It is set based on 21g. Further, a threshold value for determining each cyan cell of the two-dimensional code 1 is set based on at least the cyan cell 21b, and a threshold value for determining each magenta cell of the two-dimensional code 1 is at least the magenta cell 21f. Is set based on at least the yellow cell 21h, and the threshold for determining each white cell of the two-dimensional code 1 is set to the white cell 21i. It is set based on.

閾値の設定処理は例えば以下の通りに行うことができる。まず、受光センサで取得された画像データをアナログ信号からデジタル信号に変換する場合、RGBの各信号を判別する必要がある。例えば、R画像(R成分によって構成される画像)では、「赤」「白」「マゼンタ」「黄」の各色から得られる各信号レベルには大きな差がなく、R画像ではこれらはいずれも「明」に類するレベルになる。一方、このR画像では、「黒」「緑」「青」「シアン」の各色から得られる各信号レベルにも大きな差がなく、R画像ではこれらはいずれも「暗」に類するレベルになる。この傾向は、G画像(G成分によって構成される画像)では、「緑」「白」「シアン」「黄」の各色から得られる信号レベルが「明」レベルになり、「黒」、「赤」、「青」「マゼンタ」の各色から得られる信号レベルが「暗」レベルになる。同様に、B画像(B成分によって構成される画像)では、「青」「白」「シアン」「マゼンタ」の各色から得られる信号レベルが「明」レベルになり、「黒」「赤」「緑」「黄」の各色から得られる信号レベルが「暗」レベルになる。   The threshold setting process can be performed as follows, for example. First, when converting image data acquired by the light receiving sensor from an analog signal to a digital signal, it is necessary to determine each of the RGB signals. For example, in an R image (an image composed of R components), there is no significant difference in signal levels obtained from each color of “red”, “white”, “magenta”, and “yellow”. It becomes a level similar to “Ming”. On the other hand, in the R image, there is no significant difference in the signal levels obtained from the colors of “black”, “green”, “blue”, and “cyan”, and in the R image, these are all levels similar to “dark”. This tendency is that the signal level obtained from each color of “green”, “white”, “cyan”, “yellow” becomes “bright” level in the G image (image composed of G components), and “black”, “red” ”,“ Blue ”, and“ magenta ”, the signal level obtained from each color becomes the“ dark ”level. Similarly, in the B image (image composed of the B component), the signal level obtained from each color of “blue”, “white”, “cyan”, and “magenta” becomes the “bright” level, and “black” “red” “ The signal level obtained from each color of “green” and “yellow” becomes the “dark” level.

したがって、R画像、G画像、B画像の全てで「明」となる場合は「白」と判定され、R画像、G画像、B画像の全てで「暗」となる場合には「黒」と判定される。また、R画像のときのみ「明」でG画像、B画像のときに「暗」となる場合は「赤」と判定され、G画像のときのみ「明」でR画像、B画像のときに「暗」となる場合は「緑」と判定され、B画像のときのみ「明」でR画像、G画像のときに「暗」となる場合は「青」と判定されることとなる。   Accordingly, when all of the R image, G image, and B image are “bright”, it is determined as “white”, and when all of the R image, G image, and B image are “dark”, “black” is determined. Determined. Also, it is determined as “red” when the image is “bright” only when the image is R, and “red” when it is “dark” when the image is B, and only when it is “bright” when the image is G image. When it is “dark”, it is determined as “green”, and when it is B image, it is determined as “bright” when it is “bright” and R image, and when it is “dark” when it is G image.

また、G画像、B画像のときに「明」で、R画像のときに「暗」となる場合には、「シアン」と判定でき、R画像、B画像のときに「明」で、G画像のときに「暗」となる場合には、「マゼンタ」と判定でき、R画像、G画像のときに「明」で、B画像のときに「暗」となる場合には、「黄」と判定できる。   Also, if the image is “bright” for the G image and B image and “dark” for the R image, it can be determined as “cyan”, and “bright” can be determined for the R image and B image. When the image is “dark”, it can be determined as “magenta”, and when the image is R or G, it is “bright”, and when it is “B”, it is “yellow”. Can be determined.

以上のように各色を判断できるため、R画像、G画像、B画像それぞれについて明暗を判断するための閾値を定めておくことにより、画像データに基づいて二次元コード1を構成する各セル色を確実に判定することができるようになる。   Since each color can be determined as described above, by setting threshold values for determining light and dark for each of the R image, G image, and B image, the cell colors constituting the two-dimensional code 1 are determined based on the image data. The determination can be made with certainty.

S4で検索された色参照パターンに基づいて、R画像で明暗を区別するための閾値、G画像で明暗を区別するための閾値、B画像で明暗を区別するための閾値をそれぞれ設定する設定方法は様々に考えられるが、例えば、色参照パターン21を判断基準とする場合、R画像の閾値については、二次元コード1のR画像における、赤色セル21d、マゼンタ色セル21f、白色セル21i、黄色セル21hの明るさレベルの平均値と、青色セル21g、緑色セル21d、黒色セル21a、21e、シアン色セル21bの明るさレベルの平均値とを、算出し、これらの中間値をR画像の閾値とするといった方法が挙げられる。この場合、R画像の場合と同様にG画像、B画像の閾値を設定できる。なお、閾値の設定方法はあくまで一例であり、図1、図2のような色参照パターンを用いて設定しうる方法であれば別の方法であっても良いことは言うまでもない。   A setting method for setting a threshold value for distinguishing light and darkness in the R image, a threshold value for distinguishing light and darkness in the G image, and a threshold value for distinguishing light and darkness in the B image based on the color reference pattern searched in S4 For example, when the color reference pattern 21 is used as a determination criterion, the threshold value of the R image includes a red cell 21d, a magenta cell 21f, a white cell 21i, and a yellow cell in the R image of the two-dimensional code 1. The average value of the brightness level of the cell 21h and the average value of the brightness levels of the blue cell 21g, the green cell 21d, the black cells 21a and 21e, and the cyan cell 21b are calculated. For example, a threshold value may be used. In this case, the threshold values for the G image and the B image can be set as in the case of the R image. Note that the threshold setting method is merely an example, and it goes without saying that another method may be used as long as it can be set using a color reference pattern as shown in FIGS.

S5の処理の後には、S5で設定された閾値に基づいてデータ領域の各セルの色が特定され(S6)、その特定結果に基づいてデコード処理が行われる(S7)。そして、そのデコード結果が出力される(S8)。   After the process of S5, the color of each cell in the data area is specified based on the threshold set in S5 (S6), and the decoding process is performed based on the specified result (S7). Then, the decoding result is output (S8).

本実施形態の構成によれば、例えば以下のような効果を奏する。
本実施形態の二次元コード1では、矩形領域内の各セルに使用するセル表示色の基準となる色参照パターン21〜27が設けられているため、読み取りの際に各セルの色を精度高く判断しやすくなる。更に、色参照パターン21〜27のセル列が矩形領域の境界部として構成され、矩形領域と背景とを分離するための所定の色配列で構成されているため、コード領域と背景とを精度高く分離できる構成をより効率的に実現できる。
According to the configuration of the present embodiment, for example, the following effects can be obtained.
In the two-dimensional code 1 of the present embodiment, since the color reference patterns 21 to 27 serving as the standard of the cell display color used for each cell in the rectangular area are provided, the color of each cell is highly accurate at the time of reading. Easy to judge. Furthermore, since the cell row of the color reference patterns 21 to 27 is configured as a boundary portion of the rectangular area, and is configured with a predetermined color arrangement for separating the rectangular area and the background, the code area and the background are highly accurate. The structure which can be separated can be realized more efficiently.

また、色参照パターン21〜27が3行3列のマトリックス状に構成されているため、色参照パターンをコンパクトに構成しつつ、背景と分離するためのセル列を3セル分使って適切に構成できる。   In addition, since the color reference patterns 21 to 27 are configured in a matrix of 3 rows and 3 columns, the color reference patterns are configured in a compact manner, and the cell columns for separating from the background are appropriately configured using 3 cells. it can.

また、矩形領域と背景とを分離するための第2の特定パターン3、4が矩形領域の境界に沿って配置されており、色参照パターン21、22のセル列30、31が第2の特定パターン3の一部として構成されている。また、色参照パターン23、24のセル列32,3が第2の特定パターン4の一部として構成されている。このようにすると色参照パター21、22、23、24のみならず、第2の特定パターン3、4における他部分(色参照パターン21、22、23、24以外の部分)をも用いて矩形領域と背景とを分離でき、より精度高く良好に分離できるようになる。   The second specific patterns 3 and 4 for separating the rectangular area and the background are arranged along the boundary of the rectangular area, and the cell rows 30 and 31 of the color reference patterns 21 and 22 are the second specific patterns. It is configured as a part of the pattern 3. Further, the cell rows 32 and 3 of the color reference patterns 23 and 24 are configured as a part of the second specific pattern 4. In this way, not only the color reference patterns 21, 22, 23, 24, but also the rectangular regions using other parts (parts other than the color reference patterns 21, 22, 23, 24) in the second specific patterns 3, 4. Can be separated from the background, and can be separated with higher accuracy and better.

また、矩形領域を撮像して所定の色成分の画像を取得したときに、当該画像において、セル列30、31によって構成される部分(交互模様30'、31')と、セル列30、31以外の他部分によって構成される部分(交互模様3a'、3b')とが、連続した特定模様となるように構成されている。また、当該画像において、セル列32、33によって構成される部分(交互模様32'、33')と、セル列32、33以外の他部分によって構成される部分(交互模様4a'、4b')とが、連続した特定模様となるように構成されている。このようにすると、所定の色成分の画像を取得したときに矩形領域の境界を特定しうる特定模様が構成されることとなり、当該特定模様に基づき矩形領域をより精度高く分離できるようになる。特に、色参照パターンのみ、或いは色参照パターン以外の他部分のみによって特定模様を構成するのではなく、これらを連続させて特定模様を構成しているため、色参照パターンを効率的に配置しつつ特定模様をより長く設けることができる。   Further, when a rectangular region is imaged and an image of a predetermined color component is acquired, portions (alternate patterns 30 ′, 31 ′) constituted by the cell rows 30, 31 in the image and the cell rows 30, 31 are obtained. The parts (alternate patterns 3a ′, 3b ′) constituted by other parts other than are configured to be a continuous specific pattern. Further, in the image, the portion constituted by the cell rows 32 and 33 (alternate patterns 32 ′ and 33 ′) and the portion constituted by other portions other than the cell rows 32 and 33 (alternate patterns 4a ′ and 4b ′). Are configured to be a continuous specific pattern. In this way, a specific pattern that can specify the boundary of the rectangular area when an image of a predetermined color component is acquired is configured, and the rectangular area can be separated with higher accuracy based on the specific pattern. In particular, the specific pattern is not constituted only by the color reference pattern or only by the other part other than the color reference pattern, but the specific pattern is constituted by continuing these, so that the color reference pattern can be arranged efficiently. A specific pattern can be provided longer.

また、第2の特定パターン3の他部分(色参照パターン21、22の一部をなすセル列30、31以外の部分、即ち、白黒交互パターン3a、3b)が、所定の色成分の画像において、明と判別される明判別セルと、暗と判別される暗判別セルとが交互に配列された交互模様3a'、3b'となるように構成されている。このようにすると、背景色の影響を抑えて矩形領域を精度高く特定しやすくなる。特に、所定の色成分の画像において、色参照パターン21、22の一部をなすセル列30、31と当該セル列30、31以外の他部分(白黒交互パターン3a、3b)とが連続する交互模様となるように構成されているため、境界部に色参照パターン21、22を配置しつつ交互模様をより広い領域に表すことができ、矩形領域をより一層精度高く分離できるようになる。なお、このような効果は第2の特定パターン4においても同様である。   In addition, other parts of the second specific pattern 3 (parts other than the cell rows 30 and 31 forming part of the color reference patterns 21 and 22, that is, the black and white alternating patterns 3 a and 3 b) are included in the image of a predetermined color component. The light discrimination cells discriminated as bright and the dark discrimination cells discriminated as dark are arranged in an alternating pattern 3a ′, 3b ′. In this way, it becomes easy to specify the rectangular area with high accuracy while suppressing the influence of the background color. In particular, in an image of a predetermined color component, the cell rows 30 and 31 that form part of the color reference patterns 21 and 22 and other portions (black and white alternating patterns 3a and 3b) other than the cell rows 30 and 31 are consecutively alternated. Since the pattern is configured to be a pattern, the alternating pattern can be expressed in a wider area while arranging the color reference patterns 21 and 22 at the boundary, and the rectangular area can be separated with higher accuracy. Such an effect is the same in the second specific pattern 4.

また、矩形領域の規定の角部5aに、当該矩形領域内のセルの位置基準となる第1の特定パターン2(基準パターン)が設けられているため、規定の角部5aについては第1の特定パターン2によって精度高く特定できるようになる。一方、規定の角部5a以外の角部5b〜5dについては、色参照パターン22、24、25がそれぞれ配置されているため、これら角部5b〜5dについては色参照パターン22、24、25によって特定できるようになる。更に、各色参照パターン22、24、25の角セル(各色参照パターン22、24、25における4つの角部に配置されるそれぞれのセル)が、暗判別セル(所定の色成分の画像において暗と判別されるセル)として構成されているため、所定の色成分の画像において矩形領域の角部5b〜5dにそれぞれ暗色が配置されることとなり、当該色成分の画像において背景色が明色となるときに各角部5b〜5dをより正確に特定できるようになる。   In addition, since the first specific pattern 2 (reference pattern) serving as a reference for the position of the cell in the rectangular area is provided at the predetermined corner 5a of the rectangular area, the first corner 5a is defined as the first specific pattern 2 (reference pattern). The specific pattern 2 can be specified with high accuracy. On the other hand, since the color reference patterns 22, 24 and 25 are arranged for the corners 5b to 5d other than the prescribed corner 5a, the color reference patterns 22, 24 and 25 are used for the corners 5b to 5d. It becomes possible to identify. Further, the corner cells of each color reference pattern 22, 24, 25 (respective cells arranged at the four corners of each color reference pattern 22, 24, 25) are dark discrimination cells (dark images in a predetermined color component image). In the image of the predetermined color component, dark colors are arranged at the corners 5b to 5d of the rectangular area, and the background color is light in the color component image. Sometimes, the corners 5b to 5d can be specified more accurately.

また、色参照パターンが同一の色配列で複数設けられているため、複数の色参照パターン21〜27のいずれをも用いてセル表示色の基準を取得することができ、例えばいずれかのパターンの読み取りが困難な場合等において有利となる。更に、それら複数の色参照パターン21〜27が同一の色配列で構成されているため、各パターンを読み取るために複雑な読み取り方法や読み取り情報を用いる必要がなく(例えば、各色参照パターン21〜27毎の固有の読み取り方法を設定する必要がなく)、読み取りをより簡素化できる。   In addition, since a plurality of color reference patterns are provided in the same color arrangement, the cell display color standard can be obtained using any of the plurality of color reference patterns 21 to 27. This is advantageous when reading is difficult. Further, since the plurality of color reference patterns 21 to 27 are configured in the same color arrangement, it is not necessary to use a complicated reading method or reading information for reading each pattern (for example, each color reference pattern 21 to 27). It is not necessary to set a unique reading method for each), and the reading can be simplified.

[第2実施形態]
次に第2実施形態について説明する。図6は、第2実施形態に係る二次元コードを概略的に説明する説明図である。図7(a)は、図6の二次元コードに用いる色参照パターンを説明する説明図であり、(b)は、緑成分の画像を取得したときの色参照パターンの明暗構成を概略的に説明する説明図である。図8は、図6の二次元コードについて、緑成分の画像を取得したときの明暗構成を概略的に説明する説明図である。
[Second Embodiment]
Next, a second embodiment will be described. FIG. 6 is an explanatory diagram schematically illustrating a two-dimensional code according to the second embodiment. FIG. 7A is an explanatory diagram for explaining a color reference pattern used in the two-dimensional code of FIG. 6, and FIG. 7B schematically shows a light / dark configuration of the color reference pattern when a green component image is acquired. It is explanatory drawing demonstrated. FIG. 8 is an explanatory diagram schematically illustrating a light / dark configuration when a green component image is acquired for the two-dimensional code of FIG. 6.

本実施形態の二次元コード200は、第1の特定パターン202、第2の特定パターン203、204、色参照パターン221〜228の構成が第1実施形態の二次元コード1と異なり、それ以外は第1実施形態の二次元コード1と同様である。例えば、データ記録領域AR内の構成は第1実施形態の二次元コード1と同様であるため、データコードブロック11や誤り訂正コードブロック12の詳細な説明は省略する。   The two-dimensional code 200 of the present embodiment is different from the two-dimensional code 1 of the first embodiment in the configuration of the first specific pattern 202, the second specific patterns 203 and 204, and the color reference patterns 221 to 228. The same as the two-dimensional code 1 of the first embodiment. For example, since the configuration in the data recording area AR is the same as that of the two-dimensional code 1 of the first embodiment, detailed description of the data code block 11 and the error correction code block 12 is omitted.

本実施形態の二次元コード200も、複数のセルCが矩形領域内に二次元的に配置され、各々のセルCの色彩又は濃度又は輝度により符号化された情報をカラー表現するように構成されている。   The two-dimensional code 200 of the present embodiment is also configured so that a plurality of cells C are two-dimensionally arranged in a rectangular area, and the information encoded by the color, density, or luminance of each cell C is expressed in color. ing.

また、本実施形態の二次元コード200も、矩形領域内の各セルCに使用するセル表示色の基準となる色参照パターン221〜227が設けられている。図6、図7(a)に示すように、色参照パターン221〜227はいずれも、複数のセルが3×3のマトリックス状に配置されてなるものであり、且つ、色参照パターン221〜227はいずれも、一部のセル列が矩形領域の境界部として構成されている。また、色参照パターン221〜227はいずれも、二次元コード200で用いられる全セル表示色(黒色、白色、赤色、緑色、青色、マゼンタ色、シアン色、黄色)を表示する構成となっている。なお、図7(a)では、色参照パターン221のみを拡大して示しているが、色参照パターン222〜227はこの色参照パターン221と同一構成であるため、これら色参照パターン222〜227についての拡大図は省略する。   Further, the two-dimensional code 200 of the present embodiment is also provided with color reference patterns 221 to 227 serving as a standard of cell display colors used for each cell C in the rectangular area. As shown in FIGS. 6 and 7A, each of the color reference patterns 221 to 227 is formed by arranging a plurality of cells in a 3 × 3 matrix, and the color reference patterns 221 to 227. In both cases, a part of the cell rows is configured as a boundary portion of the rectangular area. The color reference patterns 221 to 227 are configured to display all cell display colors (black, white, red, green, blue, magenta, cyan, yellow) used in the two-dimensional code 200. . In FIG. 7A, only the color reference pattern 221 is shown in an enlarged manner. However, since the color reference patterns 222 to 227 have the same configuration as the color reference pattern 221, the color reference patterns 222 to 227 are the same. The enlarged view of is omitted.

二次元コード200は、矩形領域の規定の角部5cにおいて、当該矩形領域内のセルCの位置基準となる第1の特定パターン202(基準パターン)が設けられており、この第1の特定パターン202に隣接する第1境界辺6a、6bに沿って第2の特定パターン203,204が配置されている。なお、第1の特定パターン202は、中心に黒色セルが配置され、最外周に黒色セルが環状かつ矩形状に配置されている点については第1実施形態の第1の特定パターン2と同様であり、内部に配置される黒色、白色以外の6色のセルの配列のみが第1実施形態の第1の特定パターン2と異なっている。   The two-dimensional code 200 is provided with a first specific pattern 202 (reference pattern) that serves as a position reference of the cell C in the rectangular area at a specified corner 5c of the rectangular area. Second specific patterns 203 and 204 are arranged along first boundary sides 6 a and 6 b adjacent to 202. The first specific pattern 202 is the same as the first specific pattern 2 of the first embodiment in that the black cell is arranged at the center and the black cell is arranged in an annular and rectangular shape on the outermost periphery. Yes, only the arrangement of cells of six colors other than black and white arranged inside is different from the first specific pattern 2 of the first embodiment.

第2の特定パターン203は、「特定パターン」の一例に相当するものであり、矩形領域と背景とを分離する機能を有している。この第2の特定パターン203は、矩形領域の境界となる第1境界辺6aに隣接して配置されており、色参照パターン221、222のそれぞれの一部をなすセル列230,231と、黒色セルが連続してなる黒色連続パターン203a、203bとによって構成されている。   The second specific pattern 203 corresponds to an example of a “specific pattern” and has a function of separating a rectangular area and a background. The second specific pattern 203 is disposed adjacent to the first boundary side 6a serving as the boundary of the rectangular region, and includes cell rows 230 and 231 that form part of the color reference patterns 221 and 222, and black It is constituted by black continuous patterns 203a and 203b in which cells are continuous.

そして、本実施形態でも、矩形領域を撮像して緑成分の画像を取得したときに、当該画像において、セル列230、231によって構成される部分と、セル列230、231以外の他部分によって構成される部分とが、連続した特定模様となるように構成されている。   Also in this embodiment, when a rectangular region is imaged and a green component image is acquired, the image includes a portion constituted by the cell rows 230 and 231 and a portion other than the cell rows 230 and 231 in the image. The portion to be formed is configured to be a continuous specific pattern.

具体的に言うと、黒色連続パターン203aが「他部分」に相当しており、図8に示す緑成分の画像において、暗判別セルが連続する暗色連続模様203a'となるように構成されている。また、色参照パターン221のセル列230を構成する各セル221a、221b、221cは、それぞれ緑成分の画像において暗判別セル221a'、221b'、221c'として構成されるようになっている。即ち、図7(a)に示すように、各セル221a、221b、221cはそれぞれ、緑成分の画像において暗と判別される黒色セル、マゼンタ色セル、赤色セルによって構成されており、緑成分の画像において図7(b)のように暗色連続模様230'として構成されるようになっている。そして、この暗色模様230'が当該画像において上記暗色連続模様203a'と連続するようになっている。   More specifically, the black continuous pattern 203a corresponds to “another portion”, and is configured to be a dark continuous color pattern 203a ′ in which dark discrimination cells are continuous in the green component image shown in FIG. . Further, the cells 221a, 221b, and 221c constituting the cell row 230 of the color reference pattern 221 are configured as dark discrimination cells 221a ′, 221b ′, and 221c ′ in the green component image, respectively. That is, as shown in FIG. 7A, each of the cells 221a, 221b, and 221c is composed of a black cell, a magenta cell, and a red cell that are determined to be dark in the green component image. The image is configured as a dark continuous pattern 230 ′ as shown in FIG. 7B. The dark color pattern 230 ′ is continuous with the dark color continuous pattern 203a ′ in the image.

また、セル列230に隣接する黒色連続パターン203bも、図8に示す緑成分の画像において、暗判別セルが連続する暗色連続模様203b'となるように構成されている。更に、色参照パターン222のセル列231を構成する各セル222a、222b、222cは、それぞれ緑成分の画像において暗判別セル222a'、222b'、222c'として構成され、上記暗色連続模様203b'に連続する暗色連続模様231'となるように構成されている。   Further, the black continuous pattern 203b adjacent to the cell row 230 is also configured to be a dark continuous pattern 203b ′ in which the dark discrimination cells are continuous in the green component image shown in FIG. Further, the cells 222a, 222b, and 222c constituting the cell row 231 of the color reference pattern 222 are configured as dark discrimination cells 222a ′, 222b ′, and 222c ′ in the green component image, respectively, and the dark continuous color pattern 203b ′. It is comprised so that it may become the continuous dark color continuous pattern 231 '.

つまり、第2の特定パターン203は、緑成分の画像において、黒色連続パターン203aによる暗色連続模様203a'、セル列230による暗色連続模様230'、黒色パターン203bによる暗色連続模様203b'、セル列231による暗色連続模様231'が連続し、第1の特定パターン2に隣接する位置から角部5bの位置まで全て暗判別セルによって構成されるようになっている。   That is, the second specific pattern 203 includes a dark continuous color pattern 203a ′ by the black continuous pattern 203a, a dark continuous color pattern 230 ′ by the cell row 230, a dark continuous color pattern 203b ′ by the black pattern 203b, and a cell row 231 in the green component image. The continuous dark color pattern 231 ′ is continuously formed, and is configured by dark discrimination cells from the position adjacent to the first specific pattern 2 to the position of the corner 5b.

また、第2の特定パターン204も「特定パターン」の一例に相当し、矩形領域と背景とを分離する機能を有している。この第2の特定パターン204は、矩形領域の境界となる第1境界辺6bに隣接して配置されており、色参照パターン223の境界部のセル列232と、色参照パターン224の境界部のセル列233と、白色セルと黒色セルとが交互に配置されてなる白黒交互パターン4a、4bとによって構成されている。なお、白黒交互パターン4a、4bについては第1実施形態の二次元コード1と同様の構成をなしている。この第2の特定パターン204も、図8に示す緑成分の画像において、セル列232、233によって構成される部分(交互模様232'、233')と、セル列232、233以外の白黒交互パターン4a、4b(他部分)によって構成される部分(交互模様4a'、4b')とが、連続した特定模様となるように構成されている。なお、第2の特定パターン204の特定模様は、第1実施形態の第2の特定パターン4の特定模様(交互模様)とほぼ同様であるので詳細な説明は省略する。   The second specific pattern 204 also corresponds to an example of a “specific pattern” and has a function of separating a rectangular area and a background. The second specific pattern 204 is disposed adjacent to the first boundary side 6b serving as the boundary of the rectangular region, and the cell row 232 at the boundary portion of the color reference pattern 223 and the boundary portion of the color reference pattern 224 are arranged. The cell array 233 includes black and white alternating patterns 4a and 4b in which white cells and black cells are alternately arranged. The black and white alternating patterns 4a and 4b have the same configuration as the two-dimensional code 1 of the first embodiment. The second specific pattern 204 also includes portions (alternate patterns 232 ′ and 233 ′) constituted by the cell rows 232 and 233 and a black and white alternating pattern other than the cell rows 232 and 233 in the green component image shown in FIG. The parts (alternate patterns 4a ′, 4b ′) constituted by 4a, 4b (other parts) are configured to be a continuous specific pattern. The specific pattern of the second specific pattern 204 is substantially the same as the specific pattern (alternate pattern) of the second specific pattern 4 of the first embodiment, and a detailed description thereof will be omitted.

なお、本実施形態の二次元コード200においても、複数の色参照パターン222、224、225が、規定の角部5a以外の角部5b、5c、5dにそれぞれ配置されており、それら色参照パターン222、224、225は、4つの角部に配置される角セルが、図8に示す緑成分の画像において暗と判別される暗判別セルによって構成されている。例えば、色参照パターン222は、4つの角部のいずれのセルも図8に示す緑成分の画像において暗判別セルとなるように構成されており、この色参照パターン222と同一構成をなす色参照パターン224、225についても同様であり、4つの角部のいずれのセルも緑成分の画像において暗判別セルとなるように構成されている。   Note that also in the two-dimensional code 200 of the present embodiment, a plurality of color reference patterns 222, 224, and 225 are respectively arranged at corners 5b, 5c, and 5d other than the prescribed corner 5a, and these color reference patterns. 222, 224, and 225 are constituted by dark discrimination cells in which the corner cells arranged at the four corners are determined to be dark in the green component image shown in FIG. For example, the color reference pattern 222 is configured such that any of the cells at the four corners is a dark discrimination cell in the green component image shown in FIG. 8, and the color reference having the same configuration as the color reference pattern 222 is configured. The same applies to the patterns 224 and 225, and any of the cells at the four corners is configured to be a dark discrimination cell in the green component image.

また、第2境界辺6c側及び第2境界辺6d側において、各境界辺のそれぞれのほぼ中央位置に、色参照パターン226、227がそれぞれ設けられている。また、矩形領域の境界部から離れた位置(図6では矩形領域の中心位置)にも色参照パターン221〜227と同一構成の同一パターン228が配置されている。この同一パターン228も、矩形領域内の各セルに使用するセル表示色の基準となるパターンであり、上記色参照パターン221〜227と同様に二次元コード1で用いられる全セル表示色(黒色、白色、赤色、緑色、青色、マゼンタ色、シアン色、黄色)を表示する構成となっている。   In addition, on the second boundary side 6c side and the second boundary side 6d side, color reference patterns 226 and 227 are respectively provided at substantially center positions of the respective boundary sides. In addition, the same pattern 228 having the same configuration as the color reference patterns 221 to 227 is also arranged at a position away from the boundary of the rectangular area (the central position of the rectangular area in FIG. 6). This same pattern 228 is also a standard pattern of cell display colors used for each cell in the rectangular area. Similar to the color reference patterns 221 to 227, all cell display colors (black, White, red, green, blue, magenta, cyan, yellow).

本実施形態の構成では、第2の特定パターン203の黒色連続パターン203a、203b(他部分)が、所定の色成分の画像において、暗判別セルが連続する暗色連続模様203a'、203b'となるように構成されている。このようにすると、当該色成分の画像において背景色が明色となるときに矩形領域の境界をより明確に特定しやすくなる。また、所定の色成分の画像において、色参照パターン221の一部をなすセル列230、231によって構成される部分(暗色連続模様230'、231')と当該セル列以外の他部分(即ち黒色連続パターン203a、203b)によって構成される部分(暗色連続模様203a'、203b')とが連続して暗色連続模様が構成されているため、境界部に色参照パターン221、222を配置しつつ暗色連続模様をより広い領域に表すことができ、矩形領域をより一層精度高く分離できるようになる。   In the configuration of this embodiment, the black continuous patterns 203a and 203b (other portions) of the second specific pattern 203 become dark continuous patterns 203a ′ and 203b ′ in which dark discrimination cells are continuous in an image of a predetermined color component. It is configured as follows. In this way, it becomes easier to specify the boundary of the rectangular area more clearly when the background color is light in the image of the color component. In addition, in an image of a predetermined color component, a portion (dark continuous pattern 230 ′, 231 ′) constituted by cell rows 230, 231 forming a part of the color reference pattern 221 and a portion other than the cell row (that is, black) Since the dark continuous pattern is formed continuously with the portions (dark continuous patterns 203a ′ and 203b ′) configured by the continuous patterns 203a and 203b), the dark color is provided while arranging the color reference patterns 221 and 222 at the boundary portions. A continuous pattern can be expressed in a wider area, and rectangular areas can be separated with higher accuracy.

[第3実施形態]
次に第3実施形態について説明する。図9は、第3実施形態に係る二次元コードを概略的に説明する説明図である。図10は、図9の二次元コードについて、緑成分の画像を取得したときの明暗構成を概略的に説明する説明図である。
[Third Embodiment]
Next, a third embodiment will be described. FIG. 9 is an explanatory diagram schematically illustrating a two-dimensional code according to the third embodiment. FIG. 10 is an explanatory diagram schematically illustrating a light / dark configuration when a green component image is acquired for the two-dimensional code of FIG. 9.

本実施形態の二次元コード300は、第1の特定パターン302、第2の特定パターン303、304、色参照パターン321〜328の構成が第1実施形態の二次元コード1と異なり、それ以外は第1実施形態の二次元コード1と同様である。例えば、データ記録領域AR内の構成は第1実施形態の二次元コード1と同様であるため、データコードブロック11や誤り訂正コードブロック12の詳細な説明は省略する。   The two-dimensional code 300 of this embodiment is different from the two-dimensional code 1 of the first embodiment in the configuration of the first specific pattern 302, the second specific patterns 303 and 304, and the color reference patterns 321 to 328. The same as the two-dimensional code 1 of the first embodiment. For example, since the configuration in the data recording area AR is the same as that of the two-dimensional code 1 of the first embodiment, detailed description of the data code block 11 and the error correction code block 12 is omitted.

本実施形態の二次元コード300も、複数のセルCが矩形領域内に二次元的に配置され、各々のセルCの色彩又は濃度又は輝度により符号化された情報をカラー表現するように構成されている。   The two-dimensional code 300 of the present embodiment is also configured so that a plurality of cells C are two-dimensionally arranged in a rectangular area, and the information encoded by the color, density, or luminance of each cell C is expressed in color. ing.

また、本実施形態の二次元コード300も、矩形領域内の各セルCに使用するセル表示色の基準となる色参照パターン321〜227が設けられている。図9に示すように、色参照パターン321〜327はいずれも、複数のセルが3×3のマトリックス状に配置されてなるものであり、且つ、色参照パターン321〜327はいずれも、一部のセル列が矩形領域の境界部として構成されている。また、色参照パターン321〜327はいずれも、二次元コード300で用いられる全セル表示色(黒色、白色、赤色、緑色、青色、マゼンタ色、シアン色、黄色)を表示する構成となっている。なお、図9の例では、色参照パターン221〜227は全て同一構成となっている。   In addition, the two-dimensional code 300 of the present embodiment is also provided with color reference patterns 321 to 227 serving as the standard of the cell display color used for each cell C in the rectangular area. As shown in FIG. 9, all of the color reference patterns 321 to 327 are formed by arranging a plurality of cells in a 3 × 3 matrix, and all of the color reference patterns 321 to 327 are partly. Are arranged as a boundary portion of the rectangular area. The color reference patterns 321 to 327 are configured to display all cell display colors (black, white, red, green, blue, magenta, cyan, yellow) used in the two-dimensional code 300. . In the example of FIG. 9, all the color reference patterns 221 to 227 have the same configuration.

二次元コード300は、矩形領域の規定の角部5cにおいて、当該矩形領域内のセルCの位置基準となる第1の特定パターン302(基準パターン)が設けられており、この第1の特定パターン302に隣接する第1境界辺6a、6bに沿って第2の特定パターン303,304が配置されている。なお、第1の特定パターン302は、中心に黒色セルが配置され、最外周に黒色セルが環状かつ矩形状に配置されている点については第1実施形態の第1の特定パターン2と同様であり、内部に配置される黒色、白色以外の6色のセルの配列のみが第1実施形態の第1の特定パターン2と異なっている。   The two-dimensional code 300 is provided with a first specific pattern 302 (reference pattern) serving as a position reference of the cell C in the rectangular area at a specified corner 5c of the rectangular area. Second specific patterns 303 and 304 are arranged along first boundary sides 6 a and 6 b adjacent to 302. The first specific pattern 302 is the same as the first specific pattern 2 of the first embodiment in that the black cell is arranged in the center and the black cells are arranged in an annular and rectangular shape on the outermost periphery. Yes, only the arrangement of cells of six colors other than black and white arranged inside is different from the first specific pattern 2 of the first embodiment.

第2の特定パターン303は、第1の特定パターン302の端部に隣接すると共に、当該隣接位置から角部5bまでの領域全体に亘り第1境界辺6aに隣接して配置されている。この第2の特定パターン3は、一部が色参照パターン321、322によって構成され、これら色参照パターン321、322以外の他部分が、白色セル及び黒色セルからなる白黒交互パターン303a、303bによって構成されている。   The second specific pattern 303 is adjacent to the end of the first specific pattern 302, and is adjacent to the first boundary side 6a over the entire region from the adjacent position to the corner 5b. Part of the second specific pattern 3 is configured by color reference patterns 321 and 322, and the other part other than the color reference patterns 321 and 322 is configured by black and white alternating patterns 303a and 303b including white cells and black cells. Has been.

第1の特定パターン2と色参照パターン321との間に配置される白黒交互パターン303aは、第1の特定パターン302に隣接する黒色セルを一端部とし、色参照パターン21に隣接する白色セルを他端部とする11個のセルによって構成され、第1境界辺6aに沿って一列状に構成されている。この白黒交互パターン303aでは、一端部の黒色セル(第1の特定パターン2に隣接する黒色セル)に隣接して黒色セルが配置され(即ち黒色セルが2つ連続し)、次いで、白色セルが2つ連続して配置されるといった形態で白色セルと黒色セルとが2セルごと交互に配置されている。   The black-and-white alternating pattern 303 a arranged between the first specific pattern 2 and the color reference pattern 321 has a black cell adjacent to the first specific pattern 302 as one end and a white cell adjacent to the color reference pattern 21. It is composed of 11 cells as the other end, and is arranged in a line along the first boundary side 6a. In this black-and-white alternating pattern 303a, black cells are arranged adjacent to black cells at one end (black cells adjacent to the first specific pattern 2) (that is, two black cells are continuous), and then white cells are Two white cells and two black cells are alternately arranged in such a form that two are continuously arranged.

また、両色参照パターン321、322の間に配置される白黒交互パターン303bも同様であり、色参照パターン321に隣接する白色セルを一端部とし、色参照パターン322に隣接する黒色セルを他端部とする11個のセルによって構成され、第1境界辺6aに沿って一列状に構成されている。この白黒交互パターン303bも、一端部の白色セル(色参照パターン21に隣接する白色セル)に隣接して白色セルが配置され(即ち、白色セルが2つ連続し)、次いで、黒色セルが2つ連続して配置されるといった形態で白色セルと黒色セルとが2セルごと交互に配置されている。   The same applies to the black-and-white alternating pattern 303b arranged between the two-color reference patterns 321 and 322. The white cell adjacent to the color reference pattern 321 is one end and the black cell adjacent to the color reference pattern 322 is the other end. It is composed of 11 cells as a part, and is arranged in a line along the first boundary side 6a. Also in this black and white alternating pattern 303b, white cells are arranged adjacent to the white cells at one end (white cells adjacent to the color reference pattern 21) (that is, two white cells are continuous), and then the black cells are 2 Two white cells and two black cells are alternately arranged in such a form that they are continuously arranged.

また、色参照パターン321は、第1境界辺6aのほぼ中央位置に隣接して配置されており、第1境界辺6aに隣接するセル(即ち、外縁の一部が第1境界辺6aの位置に配置されるセル321a、321b、321c)からなるセル列330が矩形領域の境界部として構成されている。これらセル321a、321b、321cからなるセル列330は、矩形領域と当該矩形領域の背景とを分離するための所定の色配列(後述)で構成されると共に、第2の特定パターン303の一部として構成されており、一端側が白黒交互パターン303aに隣接し、他端側が白黒交互パターン303bに隣接した構成となっている。   In addition, the color reference pattern 321 is disposed adjacent to a substantially central position of the first boundary side 6a, and a cell adjacent to the first boundary side 6a (that is, a part of the outer edge is a position of the first boundary side 6a). A cell row 330 composed of cells 321a, 321b, 321c) arranged in a rectangular area is configured as a boundary portion of the rectangular area. A cell column 330 including these cells 321a, 321b, and 321c is configured with a predetermined color arrangement (described later) for separating the rectangular area and the background of the rectangular area, and a part of the second specific pattern 303. The one end side is adjacent to the black-and-white alternating pattern 303a and the other end side is adjacent to the black-and-white alternating pattern 303b.

色参照パターン322は、第1境界辺6aの端部に隣接して配置されており、第1の境界辺6aに隣接するセル(即ち、外縁の一部が第1境界辺6aの位置に配置されるセル322a、322b、322c)からなるセル列331が、矩形領域と当該矩形領域の背景とを分離するための所定の色配列(後述)で構成されている。このセル列331は、第2の特定パターン303の一部として構成されており、一端側が白黒交互パターン303bに隣接し、他端部が矩形領域の角部5bとして構成されている。なお、色参照パターン322は、第1境界辺6aのエンドを示すエンドパターンとしての機能を有している。   The color reference pattern 322 is arranged adjacent to the end of the first boundary side 6a, and a cell adjacent to the first boundary side 6a (that is, a part of the outer edge is arranged at the position of the first boundary side 6a). The cell row 331 including the cells 322a, 322b, and 322c) is configured with a predetermined color arrangement (described later) for separating the rectangular area and the background of the rectangular area. The cell row 331 is configured as a part of the second specific pattern 303, and one end side is adjacent to the black and white alternating pattern 303b, and the other end portion is configured as a corner 5b of a rectangular area. The color reference pattern 322 has a function as an end pattern indicating the end of the first boundary side 6a.

このように構成される第2の特定パターン303は、図10に示す緑成分の画像において、セル列330の明暗模様330'が、白黒交互パターン303aの交互模様303a'に連続し、更に、この明暗模様330'が白黒交互パターン303bの交互模様303b'に連続し、更には、この交互模様303b'にセル列331の明暗模様331'が連続しており、第1の特定パターン302に隣接する位置から角部5bに至るまでの領域において、2セルずつ連続する明判別セルと2セルずつ連続する暗判別セルとが交互に配置される交互模様が構成されるようになっている。   In the second specific pattern 303 configured in this manner, in the green component image shown in FIG. 10, the light and dark pattern 330 ′ of the cell row 330 is continuous with the alternating pattern 303a ′ of the black and white alternating pattern 303a. The light and dark pattern 330 ′ is continuous with the alternating pattern 303 b ′ of the black and white alternating pattern 303 b, and further, the light and dark pattern 331 ′ of the cell row 331 is continuous with the alternating pattern 303 b ′ and is adjacent to the first specific pattern 302. In the region from the position to the corner 5b, an alternating pattern is formed in which bright discrimination cells that are continuous every two cells and dark discrimination cells that are continuous every two cells are alternately arranged.

なお、他方の第2の特定パターン304の構成も同様であり、白黒交互パターン304a、色参照パターン323における第1境界部6bに隣接するセル列、白黒交互パターン304b、色参照パターン324における第1境界部6bに隣接するセル列により、図10に示す緑成分の画像において、交互模様304a'、明暗模様332'、交互模様304b'、明暗模様333'が構成され、第1の特定パターン302に隣接する位置から角部5cに至るまでの領域において、2セルずつ連続する明判別セルと2セルずつ連続する暗判別セルとが交互に配置される交互模様が構成されるようになっている。   The configuration of the other second specific pattern 304 is the same. The black and white alternating pattern 304a, the cell row adjacent to the first boundary 6b in the color reference pattern 323, the black and white alternating pattern 304b, and the first in the color reference pattern 324 are the same. In the green component image shown in FIG. 10, an alternating pattern 304 a ′, a light / dark pattern 332 ′, an alternating pattern 304 b ′, and a light / dark pattern 333 ′ are formed by the cell row adjacent to the boundary portion 6 b, and the first specific pattern 302 In the region from the adjacent position to the corner 5c, an alternating pattern is formed in which bright discrimination cells that are continuous by two cells and dark discrimination cells that are continuous by two cells are alternately arranged.

[他の実施形態]
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような実施形態も本発明の技術的範囲に含まれる。
[Other Embodiments]
The present invention is not limited to the embodiments described with reference to the above description and drawings. For example, the following embodiments are also included in the technical scope of the present invention.

上記実施形態では、第1境界部において第1の特定パターン及び色参照パターン以外の他部分が存在する構成を例示したが、このような他部分が存在しない構成であってもよい。例えば、図1の白黒交互パターン3a、3b、4a、4bのいずれか又は全てを省略し、その位置に誤り訂正コードブロック12やデータコードブロック11などを配置してもよい。或いは、図6の構成において黒色連続パターン203a、203bや白黒交互パターン4a、4bを省略し、その位置に誤り訂正コードブロック12やデータコードブロック11などを配置してもよい。   In the above embodiment, the configuration in which other portions other than the first specific pattern and the color reference pattern exist in the first boundary portion is illustrated, but a configuration in which such other portions do not exist may be employed. For example, any or all of the black-and-white alternating patterns 3a, 3b, 4a, and 4b in FIG. 1 may be omitted, and the error correction code block 12 and the data code block 11 may be disposed at that position. Alternatively, the black continuous patterns 203a and 203b and the black and white alternating patterns 4a and 4b may be omitted in the configuration of FIG. 6, and the error correction code block 12 and the data code block 11 may be arranged at the positions.

上記実施形態では「所定の色成分の画像」として「緑成分の画像」を例示したが、赤成分の画像や青成分の画像であってもよい。例えば、図1の色参照パターン21〜28を全て図11のようなパターンに変更すれば、赤成分の画像を取得したときに図3と同様の明暗構成となり(図4(a)も参照)、第1実施形態と同様の効果が得られる。また、図1の色参照パターン21〜28を全て図12のようなパターンに変更すれば、青成分の画像を取得したときに図3と同様の明暗構成となり(図4(c)も参照)、第1実施形態と同様の効果が得られる。   In the above-described embodiment, the “green component image” is exemplified as the “predetermined color component image”, but a red component image or a blue component image may be used. For example, if all of the color reference patterns 21 to 28 in FIG. 1 are changed to the patterns as shown in FIG. 11, when the red component image is acquired, the same light / dark configuration as in FIG. 3 is obtained (see also FIG. 4A). The same effect as the first embodiment can be obtained. Further, if all the color reference patterns 21 to 28 in FIG. 1 are changed to the patterns as shown in FIG. 12, when a blue component image is acquired, the same light / dark configuration as in FIG. 3 is obtained (see also FIG. 4C). The same effect as the first embodiment can be obtained.

上記実施形態では、色参照パターンを8色のセルによって構成した例を示したが、これより多い色数或いはこれより少ない色数で構成してもよい。例えば、図13(a)は、5色(黒色、白色、シアン色、マゼンタ色、黄色)のセルによって色参照パターンを構成した例を示しており、このように色参照パターンを構成すると、緑成分の画像において図13(b)のような明暗パターンとなるため、図1の色参照パターン21〜28を全て図13(a)のような色参照パターンに変更しても図3と類似の明暗配列データが得られ、第1実施形態と同様の効果が得られる。また、図14(a)は、4色(黒色、シアン色、マゼンタ色、黄色)のセルによって色参照パターンを構成した例を示しており、このような色参照パターンとすると、緑成分の画像において図14(b)のような明暗パターンとなるため、図1の色参照パターン21〜28を全て図14(a)のような色参照パターンに変更しても図3と類似の明暗配列データが得られ、第1実施形態と同様の効果が得られる。   In the above-described embodiment, an example in which the color reference pattern is configured by cells of eight colors has been described. However, the color reference pattern may be configured by a larger number of colors or a smaller number of colors. For example, FIG. 13A shows an example in which a color reference pattern is configured by cells of five colors (black, white, cyan, magenta, and yellow). Since the light and dark pattern as shown in FIG. 13B is obtained in the component image, even if all the color reference patterns 21 to 28 in FIG. 1 are changed to the color reference patterns as shown in FIG. Bright and dark array data is obtained, and the same effect as in the first embodiment is obtained. FIG. 14A shows an example in which a color reference pattern is configured by cells of four colors (black, cyan, magenta, and yellow). When such a color reference pattern is used, an image of a green component is shown. 14B, the light / dark pattern as shown in FIG. 3 is obtained even if all the color reference patterns 21 to 28 shown in FIG. 1 are changed to the color reference patterns shown in FIG. 14A. And the same effect as in the first embodiment can be obtained.

上記実施形態では、色参照パターンが3行3列のマトリックス状に構成された例を示したが、これとは異なるマトリックス構成であってもよい。例えば4行4列のマトリックス構成であってもよい。このような構成とすると、色参照パターンを8色以上のセル(例えば16色のセル)によって構成することができる。   In the above embodiment, an example in which the color reference pattern is configured in a matrix of 3 rows and 3 columns has been described, but a different matrix configuration may be used. For example, a 4 × 4 matrix configuration may be used. With such a configuration, the color reference pattern can be configured by cells of eight colors or more (for example, cells of 16 colors).

上記実施形態では、矩形領域の境界辺に隣接させて誤り訂正コードブロック12を配置する例を示したが、第2境界辺6c、6dのいずれか又はそれぞれに隣接するように、圧縮されたデータを格納してなる圧縮データコードブロックを配置してもよい。この圧縮データコードブロックは、コード化すべきデータを公知の圧縮方法を用いて圧縮した圧縮データをブロック化したものであり、圧縮のアルゴリズムは、ランレングス符号化やハフマン符号化等、公知の圧縮アルゴリズムであればいずれを用いてもよい。例えば、ランレングス符号化を用いる場合、デコードすべき情報が「0000000000001111」という情報であった場合、0が12個(2進数で1100)、1が4個(2進数で0100)並ぶことから、「0」「1100」「1」「0100」を並べた、「0110010100」と表すことができ、数字の連続を少なくすることできる。その結果、圧縮データコードブロッ内において背景色と同一色のセルが長く連続することを抑えることができる。例えば、背景色が白色又はこれに近い色であり、白色セルが「0」を示す場合、矩形領域の境界部において背景色に近い白色セルが連続し難くなり、矩形領域と背景とを区別しやすくなる。   In the above-described embodiment, the example in which the error correction code block 12 is arranged adjacent to the boundary side of the rectangular area has been described. However, the compressed data so as to be adjacent to one or both of the second boundary sides 6c and 6d. A compressed data code block may be arranged. This compressed data code block is a block of compressed data obtained by compressing data to be encoded using a known compression method. The compression algorithm is a known compression algorithm such as run-length coding or Huffman coding. Any of them may be used. For example, in the case of using run-length encoding, when information to be decoded is information “0000000000000001111”, 12 0s (1100 in binary number) and 4 1s (0100 in binary number) are arranged. It can be expressed as “0110010100” in which “0”, “1100”, “1”, and “0100” are arranged, and the number of numbers can be reduced. As a result, it is possible to suppress a long continuous cell having the same color as the background color in the compressed data code block. For example, when the background color is white or a color close to this and the white cell indicates “0”, it becomes difficult for white cells close to the background color to continue at the boundary of the rectangular region, and the rectangular region and the background are distinguished. It becomes easy.

図1は、第1実施形態に係る二次元コードを概略的に説明する説明図である。FIG. 1 is an explanatory diagram schematically illustrating a two-dimensional code according to the first embodiment. 図2(a)は、図1の二次元コードに用いる色参照パターンを説明する説明図であり、(b)は、緑成分の画像を取得したときの色参照パターンの明暗構成を概略的に説明する説明図である。FIG. 2A is an explanatory diagram for explaining a color reference pattern used in the two-dimensional code of FIG. 1, and FIG. 2B schematically shows a light / dark configuration of the color reference pattern when a green component image is acquired. It is explanatory drawing demonstrated. 図3は、図1の二次元コードについて、緑成分の画像を取得したときの明暗構成を概略的に説明する説明図である。FIG. 3 is an explanatory diagram schematically illustrating a light / dark configuration when a green component image is acquired for the two-dimensional code of FIG. 1. 図4(a)は、赤成分の画像における各色と明暗の関係について説明する説明図であり、(b)は、緑成分の画像における各色と明暗の関係について説明する説明図であり、(c)は、青成分の画像における各色と明暗の関係について説明する説明図である。FIG. 4A is an explanatory diagram for explaining the relationship between each color and brightness in the red component image, and FIG. 4B is an explanatory diagram for explaining the relationship between each color and brightness in the green component image. () Is an explanatory diagram for explaining the relationship between each color and brightness in a blue component image. 図5は、本実施形態の二次元コードを読み取る読取処理を例示するフローチャートである。FIG. 5 is a flowchart illustrating a reading process for reading the two-dimensional code of this embodiment. 図6は、第2実施形態に係る二次元コードを概略的に説明する説明図である。FIG. 6 is an explanatory diagram schematically illustrating a two-dimensional code according to the second embodiment. 図7(a)は、図6の二次元コードに用いる色参照パターンを説明する説明図であり、(b)は、緑成分の画像を取得したときの色参照パターンの明暗構成を概略的に説明する説明図である。FIG. 7A is an explanatory diagram for explaining a color reference pattern used in the two-dimensional code of FIG. 6, and FIG. 7B schematically shows a light / dark configuration of the color reference pattern when a green component image is acquired. It is explanatory drawing demonstrated. 図8は、図6の二次元コードについて、緑成分の画像を取得したときの明暗構成を概略的に説明する説明図である。FIG. 8 is an explanatory diagram schematically illustrating a light / dark configuration when a green component image is acquired for the two-dimensional code of FIG. 6. 図9は、第3実施形態に係る二次元コードを概略的に説明する説明図である。FIG. 9 is an explanatory diagram schematically illustrating a two-dimensional code according to the third embodiment. 図10は、図9の二次元コードについて、緑成分の画像を取得したときの明暗構成を概略的に説明する説明図である。FIG. 10 is an explanatory diagram schematically illustrating a light / dark configuration when a green component image is acquired for the two-dimensional code of FIG. 9. 図11は、色参照パターンの別例1を示すものであり、赤成分の画像において有効に機能する構成を説明する説明図である。FIG. 11 shows another example 1 of the color reference pattern, and is an explanatory diagram for explaining a configuration that functions effectively in a red component image. 図12は、色参照パターンの別例2を示すものであり、青成分の画像において有効に機能する構成を説明する説明図である。FIG. 12 illustrates another example 2 of the color reference pattern, and is an explanatory diagram illustrating a configuration that functions effectively in a blue component image. 図13(a)は、色参照パターンの別例3を示すものであり、5色のセルによって構成される例を示す説明図である。図13(b)は、図13(a)の色参照パターンについての緑成分の画像における明暗パターンを説明する説明図である。FIG. 13A illustrates another example 3 of the color reference pattern, and is an explanatory diagram illustrating an example configured by cells of five colors. FIG. 13B is an explanatory diagram illustrating a light / dark pattern in the green component image for the color reference pattern of FIG. 図14(a)は、色参照パターンの別例4を示すものであり、4色のセルによって構成される例を示す説明図である。図14(b)は、図14(a)の色参照パターンについての緑成分の画像における明暗パターンを説明する説明図である。FIG. 14A illustrates another example 4 of the color reference pattern, and is an explanatory diagram illustrating an example configured by cells of four colors. FIG. 14B is an explanatory diagram illustrating a light / dark pattern in the green component image for the color reference pattern of FIG.

符号の説明Explanation of symbols

1,200,300…二次元コード
2,202,302…第1の特定パターン(基準パターン)
3,4,203,204,303,304…第2の特定パターン(特定パターン)
3a,3b,4a,4b,303a,303b,304a,304b…白黒交互パターン(他部分)
21〜27,221〜227,321〜327…色参照パターン
203a,203b…黒色連続パターン(他部分)
C…セル
1, 200, 300 ... two-dimensional code 2, 202, 302 ... first specific pattern (reference pattern)
3, 4, 203, 204, 303, 304 ... second specific pattern (specific pattern)
3a, 3b, 4a, 4b, 303a, 303b, 304a, 304b ... black and white alternating pattern (other parts)
21-27, 221-227, 321-327 ... color reference pattern 203a, 203b ... black continuous pattern (other parts)
C ... cell

Claims (10)

複数のセルが矩形領域内に二次元的に配置され、各々のセルの色彩又は濃度又は輝度により符号化された情報をカラー表現する二次元コードであって、
前記矩形領域内の各セルに使用するセル表示色の基準となる色参照パターンを備え、
前記色参照パターンは、
複数のセルがマトリックス状に配置され、且つ少なくとも一部のセル列が前記矩形領域の境界部として構成されており、
更に、前記矩形領域の境界部として構成される前記セル列が、前記矩形領域と当該矩形領域の背景とを分離するための所定の色配列で構成されていることを特徴とする二次元コード。
A two-dimensional code in which a plurality of cells are two-dimensionally arranged in a rectangular region, and the information encoded by the color, density, or luminance of each cell is expressed in color,
A color reference pattern serving as a standard of the cell display color used for each cell in the rectangular area;
The color reference pattern is
A plurality of cells are arranged in a matrix, and at least some of the cell rows are configured as boundaries of the rectangular region,
Further, the two-dimensional code characterized in that the cell string configured as a boundary portion of the rectangular area is configured with a predetermined color arrangement for separating the rectangular area and the background of the rectangular area.
前記色参照パターンは、3行3列のマトリックス状に構成されていることを特徴とする請求項1に記載の二次元コード。   The two-dimensional code according to claim 1, wherein the color reference pattern is configured in a matrix of 3 rows and 3 columns. 前記矩形領域と前記背景とを分離するための特定パターンが前記矩形領域の境界に沿って配置されており、
前記色参照パターンの前記セル列が、前記特定パターンの一部として構成されていることを特徴とする請求項1又は請求項2に記載の二次元コード。
A specific pattern for separating the rectangular area and the background is disposed along a boundary of the rectangular area;
The two-dimensional code according to claim 1 or 2, wherein the cell string of the color reference pattern is configured as a part of the specific pattern.
前記特定パターンは、前記矩形領域を撮像して所定の色成分の画像を取得したときに、当該画像において、前記セル列によって構成される部分と、前記セル列以外の他部分によって構成される部分とが、連続した特定模様となるように構成されていることを特徴とする請求項3に記載の二次元コード。   When the rectangular pattern is captured and an image of a predetermined color component is acquired, the specific pattern is a portion configured by the cell row and a portion other than the cell row in the image. The two-dimensional code according to claim 3, wherein the two-dimensional code is configured to have a continuous specific pattern. 前記特定パターンの前記他部分は、前記所定の色成分の前記画像において、明と判別される明判別セルと、暗と判別される暗判別セルとが交互に配列された交互模様となるように構成され、
前記セル列は、前記所定の色成分の前記画像において、前記他部分の交互模様に連続する交互模様となるように構成されていることを特徴とする請求項4に記載の二次元コード。
The other part of the specific pattern is an alternating pattern in which the light determination cells determined to be light and the dark determination cells determined to be dark are alternately arranged in the image of the predetermined color component. Configured,
5. The two-dimensional code according to claim 4, wherein the cell row is configured to have an alternating pattern continuous with the alternating pattern of the other portion in the image of the predetermined color component.
前記特定パターンの前記他部分は、前記所定の色成分の画像において、暗と判別される暗判別セルが連続する暗色連続模様となるように構成され、
前記セル列は、前記所定の色成分の画像において、前記他部分の暗色連続模様に連続する暗色連続模様となるように構成されていることを特徴とする請求項4に記載の二次元コード。
The other portion of the specific pattern is configured to be a dark continuous color pattern in which dark determination cells determined to be dark are continuous in the image of the predetermined color component,
5. The two-dimensional code according to claim 4, wherein the cell row is configured to be a dark continuous pattern that is continuous with the dark continuous pattern of the other portion in the image of the predetermined color component.
前記色参照パターンは、前記セル列の少なくとも両端のセルが、前記矩形領域を撮像して所定の色成分の画像を取得したときの当該画像において暗と判別される暗判別セルとして構成されていることを特徴とする請求項1又は請求項2に記載の二次元コード。   The color reference pattern is configured as a dark discrimination cell in which at least the cells at both ends of the cell row are determined to be dark in the image when the rectangular area is captured and an image of a predetermined color component is acquired. The two-dimensional code according to claim 1 or 2, characterized in that 前記色参照パターンは、前記セル列を構成する全セルが前記暗判別セルとして構成されていることを特徴とする請求項7に記載の二次元コード。   8. The two-dimensional code according to claim 7, wherein in the color reference pattern, all cells constituting the cell row are configured as the dark discrimination cells. 前記矩形領域の規定の角部には、当該矩形領域内の前記セルの位置基準となる基準パターンが設けられ、
複数の前記色参照パターンが、前記規定の角部以外の角部にそれぞれ配置されており、
前記色参照パターンは、当該色参照パターンの4つの角部に配置される角セルが、前記所定の色成分の画像において暗と判別される暗判別セルによって構成されていることを特徴とする請求項4から請求項8のいずれか一項に記載の二次元コード。
A reference pattern serving as a position reference of the cell in the rectangular area is provided at a predetermined corner of the rectangular area.
A plurality of the color reference patterns are respectively arranged at corners other than the prescribed corners;
The color reference pattern is configured such that corner cells arranged at four corners of the color reference pattern are dark discrimination cells that are determined to be dark in the image of the predetermined color component. The two-dimensional code according to any one of claims 4 to 8.
前記矩形領域には、前記色参照パターンが同一の色配列で複数設けられていることを特徴とする請求項1から請求項9のいずれか一項に記載の二次元コード。   The two-dimensional code according to any one of claims 1 to 9, wherein a plurality of the color reference patterns are provided in the rectangular area in the same color arrangement.
JP2008223665A 2008-09-01 2008-09-01 2D code Active JP5115404B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008223665A JP5115404B2 (en) 2008-09-01 2008-09-01 2D code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008223665A JP5115404B2 (en) 2008-09-01 2008-09-01 2D code

Publications (2)

Publication Number Publication Date
JP2010061217A true JP2010061217A (en) 2010-03-18
JP5115404B2 JP5115404B2 (en) 2013-01-09

Family

ID=42187972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008223665A Active JP5115404B2 (en) 2008-09-01 2008-09-01 2D code

Country Status (1)

Country Link
JP (1) JP5115404B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013131058A (en) * 2011-12-21 2013-07-04 Fuji Xerox Co Ltd Two-dimensional code, recording device, position specification device, and device and program for identification
JP2014116706A (en) * 2012-12-07 2014-06-26 Samsung R&D Institute Japan Co Ltd Two-dimensional color code display apparatus, display method, reading device, and reading method
JP2016091258A (en) * 2014-11-04 2016-05-23 コニカミノルタ株式会社 Image reader and program
CN106204058A (en) * 2016-06-23 2016-12-07 合肥学院 A kind of colorful digital matrix two-dimensional code and method for anti-counterfeit thereof
JP6984836B1 (en) * 2021-04-07 2021-12-22 有限会社バラエティーエム・ワン Information code, information code generator, information code reader, program and information code utilization system
US11907777B2 (en) 2020-04-10 2024-02-20 Variety M-1 Inc. Information code, information code generation device, information code readout device, program, and information code utilization system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10283446A (en) * 1997-04-08 1998-10-23 Nippon I D Tec Kk Multicolor recording type matrix code recording sheet

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10283446A (en) * 1997-04-08 1998-10-23 Nippon I D Tec Kk Multicolor recording type matrix code recording sheet

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013131058A (en) * 2011-12-21 2013-07-04 Fuji Xerox Co Ltd Two-dimensional code, recording device, position specification device, and device and program for identification
JP2014116706A (en) * 2012-12-07 2014-06-26 Samsung R&D Institute Japan Co Ltd Two-dimensional color code display apparatus, display method, reading device, and reading method
JP2016091258A (en) * 2014-11-04 2016-05-23 コニカミノルタ株式会社 Image reader and program
CN106204058A (en) * 2016-06-23 2016-12-07 合肥学院 A kind of colorful digital matrix two-dimensional code and method for anti-counterfeit thereof
CN106204058B (en) * 2016-06-23 2019-07-05 合肥学院 A kind of colorful number matrix two-dimensional code and its method for anti-counterfeit
US11907777B2 (en) 2020-04-10 2024-02-20 Variety M-1 Inc. Information code, information code generation device, information code readout device, program, and information code utilization system
JP6984836B1 (en) * 2021-04-07 2021-12-22 有限会社バラエティーエム・ワン Information code, information code generator, information code reader, program and information code utilization system
JP2022160808A (en) * 2021-04-07 2022-10-20 有限会社バラエティーエム・ワン Information code, information code generation device, information code reading device, program, and information code utilization system

Also Published As

Publication number Publication date
JP5115404B2 (en) 2013-01-09

Similar Documents

Publication Publication Date Title
JP6590335B2 (en) Two-dimensional code and method for reading the two-dimensional code
JP3996520B2 (en) Two-dimensional information code and generation method thereof
JP5115404B2 (en) 2D code
JP5136302B2 (en) Two-dimensional code, two-dimensional code generation method, computer-readable program for displaying two-dimensional code, authentication method using two-dimensional code, and information providing method using two-dimensional code
US9934760B2 (en) Information code, information code producing method, information code reader, and system which uses information code
US8434690B2 (en) Two-dimensional code having rectangular region provided with specific patterns for specification of cell positions and distinction from background
KR101770540B1 (en) Two-dimensional code, two-dimensional-code analysis system, and two-dimensional-code generation system
JP4838387B2 (en) Information code and information code decoding method
WO2011108605A1 (en) Method for creating and method for decoding two-dimensional colour code
US6812058B2 (en) Reference data coding in solid state image sensors
JP2007079781A (en) Two-dimensional code division display method, two-dimensional code reading method and two-dimensional code reader
US8385642B2 (en) Method for removing color fringe in digital image
JP2007201530A (en) Pixel defect correction apparatus
JP2018101968A (en) Projection control device, projection control method, and program
JP5187383B2 (en) Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus
JP2010061281A (en) Information code
JP5187382B2 (en) Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus
JP4241803B2 (en) Two-dimensional information code reading method and reading apparatus
JP5195622B2 (en) Two-dimensional information code
JP6409623B2 (en) Information code generation method, information code, information code reading system, and information code reading apparatus
JP4488008B2 (en) Two-dimensional information code
JP4442601B2 (en) Two-dimensional information code
JP4222361B2 (en) Information code reader and luminance signal generation method
JP2015039153A (en) Image processing system, image reader and program
JP2005012272A (en) Image processing apparatus, image processing method, image processing program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100706

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120629

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120703

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120829

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120918

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121001

R150 Certificate of patent or registration of utility model

Ref document number: 5115404

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151026

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151026

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250