JP3499220B2 - Two-dimensional code, two-dimensional code reading method, program, and computer-readable recording medium - Google Patents

Two-dimensional code, two-dimensional code reading method, program, and computer-readable recording medium

Info

Publication number
JP3499220B2
JP3499220B2 JP2001100189A JP2001100189A JP3499220B2 JP 3499220 B2 JP3499220 B2 JP 3499220B2 JP 2001100189 A JP2001100189 A JP 2001100189A JP 2001100189 A JP2001100189 A JP 2001100189A JP 3499220 B2 JP3499220 B2 JP 3499220B2
Authority
JP
Japan
Prior art keywords
protrusion
contact point
dimensional code
contact
end point
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.)
Expired - Lifetime
Application number
JP2001100189A
Other languages
Japanese (ja)
Other versions
JP2002298077A (en
Inventor
田 勉 藤
岩 浩 三 黒
口 さとし 溝
Original Assignee
株式会社 廣済堂
株式会社オリジナルデザイン
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 株式会社 廣済堂, 株式会社オリジナルデザイン filed Critical 株式会社 廣済堂
Priority to JP2001100189A priority Critical patent/JP3499220B2/en
Priority to PCT/JP2002/003207 priority patent/WO2002080087A1/en
Priority to AU2002244953A priority patent/AU2002244953A1/en
Publication of JP2002298077A publication Critical patent/JP2002298077A/en
Application granted granted Critical
Publication of JP3499220B2 publication Critical patent/JP3499220B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、二次元コードおよ
びその読取方法に関し、特に、データ密度の向上を可能
にする二次元コード、その読取方法、この読取方法をコ
ンピュータに実行させるプログラムおよびコンピュータ
読み取り可能な記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a two-dimensional code and a method for reading the same, and more particularly to a two-dimensional code for improving data density, a method for reading the same, a program for causing a computer to execute the reading method, and a computer reading method. It relates to a possible recording medium.

【0002】[0002]

【従来の技術】従来、二次元コードとしては、例えば特
開平7−168902号公報に記載されているように、
二次元データ要素を複数に分割して二次元アレイを形成
させて、各々の核コードに位置情報及び密度情報を表示
させる二次元コード、または特開平7−254037号
公報に記載されているように、二次元マトリックス内部
に位置判別用の形状を埋め込んで構成する二次元コード
など、記号をCCD(Charge Coupled Device)イメー
ジスキャナー等の装置で読み取るときの読取速度と読取
精度を向上させる試みが行われてきたことは知られてい
る。
2. Description of the Related Art Conventionally, as a two-dimensional code, for example, as described in JP-A-7-168902,
A two-dimensional code that divides a two-dimensional data element into a plurality of two-dimensional arrays to display position information and density information on each core code, or as described in JP-A-7-254037. , An attempt has been made to improve the reading speed and reading accuracy when reading a symbol such as a CCD (Charge Coupled Device) image scanner such as a two-dimensional code formed by embedding a shape for position determination inside a two-dimensional matrix. It is known to have come.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
た試みは、従来の一次元バーコードリーダの性能を前提
として考案されてきた。このため、位置判定情報および
密度情報を容易に取得できるという利点はあったが、大
容量の情報を格納しようとすると、情報量の大きさに比
例して二次元コードの占有面積も大きくなっていた。こ
の一方、近年の技術革新により、読取速度については、
DSP(Digital Signal Processor)などにより、著
しく高性能化されており、画像処理技術の向上と高解像
度CCD素子の開発の進展によって読取精度も飛躍的に
向上しており、限られた面積での情報の高密度化が可能
な環境が整ってきている。
However, the above-mentioned attempts have been devised on the premise of the performance of the conventional one-dimensional bar code reader. Therefore, there is an advantage that the position determination information and the density information can be easily obtained, but when storing a large amount of information, the area occupied by the two-dimensional code also increases in proportion to the amount of information. It was On the other hand, due to recent technological innovation,
The performance has been remarkably improved by DSP (Digital Signal Processor), etc., and the reading accuracy has been dramatically improved due to the improvement of image processing technology and the development of high-resolution CCD elements, and information in a limited area. An environment is being set up in which high density can be achieved.

【0004】本発明は上記事情に鑑みてなされたもので
あり、その目的は、情報の高密度化が可能な二次元コー
ド、その読取方法、この読取方法をコンピュータに実行
させるプログラムおよびコンピュータ読み取り可能な記
録媒体を提供することにある。
The present invention has been made in view of the above circumstances, and an object thereof is to provide a two-dimensional code capable of increasing the density of information, a reading method therefor, a program for causing a computer to execute the reading method, and a computer-readable code. To provide a suitable recording medium.

【0005】[0005]

【課題を解決するための手段】本発明は、以下の手段に
より上記課題の解決を図る。
The present invention solves the above problems by the following means.

【0006】即ち、本発明によれば、バイナリデータが
セル状に記号化されて二次元マトリクスをなすように配
置されたデータ領域と、上記第1のデータ領域を囲むよ
うに配置され、上記データ領域のデータ密度の情報と位
置決め情報とを与えるパターンと、を備える二次元コー
ドであって、上記パターンは、隣り合う第1の辺と第2
の辺とが上記第1のデータ領域に近接し、上記第1の辺
と上記第2の辺にそれぞれ対向する第3の辺と第4の辺
とが上記データ領域に離隔するように配置されたほぼ矩
形の実線と、上記第1の辺と上記第2の辺から外側に延
在するようにそれぞれ所定ピッチで配置された第1の突
起部と第2の突起部と、上記第3の辺と上記第4の辺か
ら上記データ領域に向かって内側に延在するようにそれ
ぞれ所定ピッチで配置された第3の突起部と第4の突起
部と、上記第1の辺と上記第2の辺の交点である第1の
端点から上記第1の辺と上記第2の辺とをそれぞれ延長
するように配置された第5の突起部および第6の突起部
と、上記第1の端点とは異なる上記第1の辺の端点であ
る第2の端点から上記第4の辺を延長させるように配置
された第7の突起部と、上記第1の端点とは異なる上記
第2の辺の端点である第3の端点から、上記第3の辺を
延長させるように配置された第8の突起部と、を含み、
上記第3の辺と上記第4の辺との交点である第4の端点
には突起部が配置されない二次元コードが提供される。
That is, according to the present invention, the binary data is symbolized into cells and arranged so as to form a two-dimensional matrix, and the first data area is arranged so as to surround the data area. A two-dimensional code including a pattern that provides information of data density of a region and positioning information, wherein the pattern has a first side and a second side that are adjacent to each other.
And a third side and a fourth side, respectively, which are adjacent to the first data area and are opposed to the first side and the second side, respectively, are arranged so as to be separated from the data area. A substantially rectangular solid line, a first protrusion portion and a second protrusion portion that are arranged at a predetermined pitch so as to extend outward from the first side and the second side, respectively, and the third protrusion. A third protrusion and a fourth protrusion arranged at a predetermined pitch so as to extend inward from the side and the fourth side toward the data area, the first side, and the second side. A fifth end and a sixth end arranged so as to extend the first side and the second side from a first end point that is an intersection point of the sides, and the first end point. And a seventh protrusion arranged so as to extend the fourth side from a second end point which is an end point of the first side different from When, wherein the third endpoint and the first end point is a terminal point of a different said second side, and the eighth of protrusions arranged so as to extend the third side, and
A two-dimensional code having no protrusion is provided at a fourth end point, which is an intersection of the third side and the fourth side.

【0007】本発明によれば、上記データ密度と上記位
置決め情報とを与える上記パターンを備えるので、上記
バイナリデータの数量を増大させて上記データ領域の占
有面積が増大しても、単一のパターンで上記セルの位置
決めを行なうことができる。これにより、二次元コード
全体の占有面積を、上記データ領域に格納する情報量の
単純な倍数よりもはるかに小さくできる。この結果、大
容量の情報を高密度で格納する二次元コードが提供され
る。
According to the present invention, since the pattern for giving the data density and the positioning information is provided, even if the number of the binary data is increased and the occupied area of the data area is increased, a single pattern is used. The cell can be positioned with. As a result, the occupied area of the entire two-dimensional code can be made much smaller than a simple multiple of the amount of information stored in the data area. As a result, a two-dimensional code that stores a large amount of information at a high density is provided.

【0008】上記第1から第8の突起部は、読み取り画
像内で上記データ密度と上記位置決め情報とを取得する
ための見出し線として機能する。即ち、上記第1の端点
に上記第5および第6の突起部が配置され、上記第2お
よび第3の端点に上記第7および第8の突起部がそれぞ
れ配置される一方、上記第4の端点には突起部が配置さ
れないので、上記第4の端点は、読み取り画像内で上記
セルの位置座標を特定するための基準点として選択する
ことができる。また、上記第1から第4の突起部がそれ
ぞれ所定ピッチで上記矩形実線に配置されるので、これ
らの突起部の数量を算出することにより、上記データ領
域内に記号化された上記バイナリデータの数量を算出す
ることが可能になる。これにより、上記データ領域にお
けるデータ密度の情報を取得することができる。さら
に、読み取り画像内で上記突起部同士を結ぶ直線を設け
ることにより、これらの直線の交点の座標に基づいて上
記セルの各位置座標を特定することが可能になる。
The first to eighth protrusions function as a header line for obtaining the data density and the positioning information in the read image. That is, the fifth and sixth protrusions are arranged at the first end points, the seventh and eighth protrusions are arranged at the second and third end points, respectively, while the fourth and sixth protrusions are arranged. Since the protrusion is not arranged at the end point, the fourth end point can be selected as a reference point for specifying the position coordinates of the cell in the read image. Further, since the first to fourth protrusions are arranged at the predetermined pitch on the rectangular solid line, the number of these protrusions is calculated to calculate the binary data encoded in the data area. It becomes possible to calculate the quantity. This makes it possible to obtain information on the data density in the data area. Further, by providing a straight line connecting the protrusions in the read image, it becomes possible to specify each position coordinate of the cell based on the coordinates of the intersection of these straight lines.

【0009】上記第1乃至第4の辺の線幅と上記第1乃
至第8の突起部の幅は、上記セルのサイズに対応して設
定されることが望ましい。
It is desirable that the line widths of the first to fourth sides and the widths of the first to eighth protrusions are set corresponding to the size of the cell.

【0010】上記第1の突起部は、上記第1の端点から
上記第2の端点に向かって第1の長さのピッチでN(N
は自然数)個配置され、上記第2の突起部は、上記第1
の端点から上記第3の端点に向かって第2の長さのピッ
チでM(Mは自然数)個配置され、上記第3の突起部
は、上記第3の端点から上記第4の端点に向かって上記
第1の長さのピッチで上記N個配置され、上記第4の突
起部は、上記第2の端点から上記第4の端点に向かって
上記第2の長さのピッチで上記M個配置されると良い。
上記データ領域のデータの容量は、上記第1から第4の
突起部を認識し、上記NとMの具体的数量を特定するこ
とにより、容易に算出できる。
The first protrusions have a pitch of a first length N (N) from the first end point toward the second end point.
Is a natural number) and the second protrusions are the first protrusions.
M (M is a natural number) are arranged at a pitch of a second length from the end point of the third end point toward the third end point, and the third protrusion extends from the third end point toward the fourth end point. Are arranged at the pitch of the first length and the fourth protrusions are arranged at the pitch of the second length from the second end point toward the fourth end point. It is good to be arranged.
The data capacity of the data area can be easily calculated by recognizing the first to fourth protrusions and specifying the specific numbers of N and M.

【0011】また、本発明によれば、上述した本発明に
かかる二次元コードの読取方法であって、上記二次元コ
ードの画像を取得する手順と、取得された上記画像内
で、周縁が上記第4の端点に接するとともに、上記第7
の突起部の少なくとも一部と上記第8の突起部の少なく
とも一部とを含むように、上記パターンを取囲む矩形領
域を切り出す手順と、上記第4の端点、上記第7の突起
部および上記第8の突起部と上記矩形領域の周縁との各
接点をそれぞれ第1の接点、第2の接点および第3の接
点として特定し、上記第5または第6の突起部と上記矩
形領域の周縁との接点を第4の接点として認識する手順
と、上記第1の接点と上記第2の接点とを結ぶ第1の線
分を設定し、上記第1の接点と上記第3の接点とを結ぶ
第2の線分を設定する手順と、上記第1の線分に平行な
第1の仮想線を設定して上記第4の接点から上記第3の
接点の方向へ移動させることにより、上記第1の突起部
と上記第3の突起部と上記第2の辺とを認識する手順
と、上記第2の線分に平行な第2の仮想線を設定して上
記第4の接点から上記第2の接点の方向へ移動させるこ
とにより、上記第2の突起部と上記第4の突起部と上記
第1の辺とを認識する手順と、認識された第1乃至第4
の突起部の数量に基づいて上記データ領域における上記
バイナリデータの容量を算出する手順と、上記第1の線
分および上記第2の線分をX軸またはY軸とする座標系
または上記矩形領域の周縁をなす辺のうち互いに直交す
る2辺をX軸またはY軸とする座標系を設定して上記デ
ータ領域内の各セルの座標を特定する手順と、上記セル
座標に基づいて上記記号化されたバイナリデータをビッ
ト列データに変換する手順と、を備える二次元コードの
読取方法が提供される。
Further, according to the present invention, there is provided the above-described method for reading a two-dimensional code according to the present invention, wherein a procedure for obtaining an image of the two-dimensional code and a periphery of the obtained image are the above-mentioned edges. The fourth end point is touched and the seventh
Of cutting out a rectangular area surrounding the pattern so as to include at least a part of the protruding portion and at least a part of the eighth protruding portion, and the fourth end point, the seventh protruding portion, and the Each contact between the eighth protrusion and the peripheral edge of the rectangular area is specified as a first contact, a second contact, and a third contact, respectively, and the fifth or sixth protrusion and the peripheral edge of the rectangular area are specified. And a first line segment connecting the first contact and the second contact is set, and the first contact and the third contact are connected to each other. By setting a second line segment to be connected and setting a first virtual line parallel to the first line segment and moving the first virtual line from the fourth contact toward the third contact, A procedure for recognizing the first protrusion, the third protrusion, and the second side, and the second line segment By setting a parallel second virtual line and moving it from the fourth contact toward the second contact, the second protrusion, the fourth protrusion, and the first side are formed. And the recognized first to fourth steps
Of calculating the capacity of the binary data in the data area based on the number of protruding portions, and a coordinate system having the first line segment and the second line segment as the X axis or the Y axis or the rectangular area Of the sides forming the peripheral edge of the data area, a coordinate system in which two sides orthogonal to each other are used as the X axis or the Y axis, and the coordinates of each cell in the data area are specified; And a procedure for converting the generated binary data into bit string data, a method for reading a two-dimensional code is provided.

【0012】上記二次元コードの読み取り方法によれ
ば、上記複数の突起部に基づいて読み取り画像内におけ
る各セルの位置座標を特定するので、記号化されたバイ
ナリデータを高精度で復元することができる。また、認
識された第1乃至第4の突起部の数量に基づいて上記デ
ータ領域における上記バイナリデータの容量を算出する
ので、上記データ領域のデータ密度を容易かつ迅速に取
得することができる。
According to the two-dimensional code reading method, the position coordinates of each cell in the read image are specified based on the plurality of protrusions, so that the encoded binary data can be restored with high accuracy. it can. Further, since the capacity of the binary data in the data area is calculated based on the recognized number of the first to fourth protrusions, the data density of the data area can be easily and quickly acquired.

【0013】また、本発明によれば、上述した二次元コ
ードの読取方法を上記コンピュータに実行させるプログ
ラムおよびこのプログラムを記録したコンピュータ読み
取り可能な記録媒体が提供される。
Further, according to the present invention, there are provided a program for causing the computer to execute the above-described two-dimensional code reading method, and a computer-readable recording medium recording the program.

【0014】[0014]

【発明の実施の形態】以下、本発明の実施の形態のいく
つかについて図面を参照しながら説明する。
DETAILED DESCRIPTION OF THE INVENTION Some embodiments of the present invention will be described below with reference to the drawings.

【0015】(1)二次元コードの実施形態 図1は、本発明にかかる二次元コードの一実施形態を示
す概略図である。同図に示すように、本実施形態の二次
元コード1は、二進化したデータが明暗の正方形のセル
の形態で格納されたマトリックスデータ部2と、マトリ
ックスデータ部2を囲むように配置された四角形と、こ
の四角形の各辺a〜dからそれぞれ垂直に延設した実線
による見出し線(突起部)R11〜R14,R21〜R
23,R31〜R33,R41〜R43,R51〜R5
3とを備える。四角形と見出し線R11〜R53は、本
実施形態におけるパターンであり、これにより、後述す
る読み取り方法を用いてデータ密度情報と位置決め情報
が与えられる。四角形と各見出し線の幅は、データセル
の一辺の長さと同じである。
(1) Embodiment of Two-Dimensional Code FIG. 1 is a schematic view showing an embodiment of a two-dimensional code according to the present invention. As shown in the figure, the two-dimensional code 1 of this embodiment is arranged so as to surround the matrix data part 2 and the matrix data part 2 in which the binarized data is stored in the form of bright and dark square cells. A square and heading lines (protrusions) R11 to R14, R21 to R formed by solid lines vertically extending from the sides a to d of the square, respectively.
23, R31 to R33, R41 to R43, R51 to R5
3 and 3. The quadrangle and the headlines R11 to R53 are patterns in the present embodiment, and thereby data density information and positioning information are given by using a reading method described later. The width of the rectangle and each heading line is the same as the length of one side of the data cell.

【0016】見出し線R11,R12は、点Dからそれ
ぞれ辺b,aを延在するように配置される。また、見出
し線R13は、点Bから辺dを延長するように配置さ
れ、さらに、見出し線R14は、点Cから辺cを延長す
るように配置される。これらの見出し線R11〜R14
は、それぞれ本実施形態において第5〜第8の突起部に
相当する。四角形の各コーナA〜Dのうち、点A(第4
の端点に相当する)の1カ所のみは、見出し線が設けら
れていない。これにより、後述するように、点Aは、各
セルの位置座標を特定するため画像処理において二次元
コードの原点として利用することができる。
The headlines R11 and R12 are arranged so as to extend from the point D along the sides b and a, respectively. The headline R13 is arranged so as to extend the side d from the point B, and the headline R14 is arranged so as to extend the side c from the point C. These heading lines R11 to R14
Respectively correspond to the fifth to eighth protrusions in the present embodiment. Of the corners A to D of the quadrangle, the point A (fourth
(Corresponding to the end point of) is not provided with a headline. Thereby, as will be described later, the point A can be used as the origin of the two-dimensional code in the image processing in order to specify the position coordinates of each cell.

【0017】見出し線R21〜R23,R31〜R3
3,R41〜R43,R51〜R53は、それぞれ特定
のデータセルの行方向または列方向の位置を指す。見出
し線R21〜R23,R41〜R43は、それぞれ四角
形の辺a,cに一定の長さのピッチP1で配置され、そ
れぞれ本実施形態において第1の突起物と第3の突起物
に相当する。また、見出し線R31〜R33,R51〜
R53は、それぞれ四角形の辺b,dに一定の長さのピ
ッチP2で配置され、それぞれ本実施形態において第2
の突起物と第4の突起物に相当する。ピッチP1,P2
のそれぞれの長さは既知の定数であり、本実施形態にお
いては同一の値である。
Heading lines R21 to R23, R31 to R3
3, R41 to R43 and R51 to R53 indicate the positions of the specific data cells in the row direction or the column direction, respectively. The heading lines R21 to R23 and R41 to R43 are arranged on the sides a and c of the quadrangle at a pitch P1 of a constant length, and correspond to the first protrusion and the third protrusion in the present embodiment, respectively. Further, headline lines R31 to R33, R51 to
The R53 are arranged on the sides b and d of the quadrangle at a pitch P2 of a constant length, and are arranged in the second embodiment in the second embodiment.
Correspond to the protrusion and the fourth protrusion. Pitch P1, P2
Each of the lengths is a known constant, and has the same value in this embodiment.

【0018】見出し線R21〜R23,R31〜R33
は、それぞれ辺a,bにから四角形の外側向きに延在す
るように配置される。この一方、見出し線R41〜R4
3,R51〜R53は、他方の隣接する二辺c,dから
四角形の内側向きに延在するように配置される。本実施
形態において各見出し線の長さは全て同一であるが、内
側向きの見出し線R41〜R43,R51〜R53がマ
トリックスデータ部2に重なることがないよう、辺c,
dは、マトリックスデータ部2の周縁から離隔されて配
置される。
Heading lines R21 to R23, R31 to R33
Are arranged so as to extend outward from the sides a and b in a quadrangle. On the other hand, headline lines R41 to R4
3, R51 to R53 are arranged so as to extend inward of the quadrangle from the other adjacent two sides c and d. In the present embodiment, the lengths of the respective heading lines are all the same, but in order to prevent the heading lines R41 to R43 and R51 to R53 facing inward from overlapping the matrix data part 2, the side c,
d is arranged apart from the peripheral edge of the matrix data section 2.

【0019】見出し線の数は、マトリックスデータ部の
データの数によって水平方向、垂直方向の各方向で独立
に増減可能である。従って、データの容量や印刷する場
所等の用途によって様々なサイズや形状の二次元コード
を構成することが可能である。このように、本実施形態
の二次元コード1においては、マトリックスデータ部2
の中に切り出しや位置決め等のための特別な印刷パター
ンが存在しないので、その分小面積でより多くのデータ
を搭載することができる。さらに、データ容量を増大さ
せても、マトリックスデータ部2を囲む単一のパターン
で切り出しと位置決めを行なうことができるので、二次
元コード全体の占有面積は、データ容量の増大に比例す
る大きさよりもはるかに小さい。この結果、大容量の情
報を高密度で格納する二次元コードが提供される。
The number of header lines can be increased or decreased independently in each of the horizontal and vertical directions depending on the number of data in the matrix data section. Therefore, it is possible to configure the two-dimensional code of various sizes and shapes depending on the usage of the data volume and the place to print. As described above, in the two-dimensional code 1 of this embodiment, the matrix data part 2
Since there is no special print pattern for cutting out, positioning, etc. inside, it is possible to mount more data in a small area. Further, even if the data capacity is increased, the cutting and positioning can be performed with a single pattern that surrounds the matrix data part 2. Therefore, the occupied area of the entire two-dimensional code is larger than the size proportional to the increase of the data capacity. Much smaller. As a result, a two-dimensional code that stores a large amount of information at a high density is provided.

【0020】(2)二次元コードの読取方法の実施形態 次に、図1に示す二次元コードの読取方法について本発
明にかかる二次元コードの読取方法の実施の一形態とし
て説明する。ここでは、本発明にかかる二次元コードに
特有の読み取り手順のみを示し、読み取り処理上一般的
に必要となる詳細な手順や調整に関する説明は省略す
る。
(2) Embodiment of Two-Dimensional Code Reading Method Next, the two-dimensional code reading method shown in FIG. 1 will be described as an embodiment of the two-dimensional code reading method according to the present invention. Here, only the reading procedure peculiar to the two-dimensional code according to the present invention is shown, and the detailed procedures and adjustments generally required for the reading process are omitted.

【0021】図2は、本実施形態の読取方法の説明図で
あり、また、図3は図2に示す読取方法の概略手順を示
すフローチャートである。
FIG. 2 is an explanatory view of the reading method of this embodiment, and FIG. 3 is a flowchart showing a schematic procedure of the reading method shown in FIG.

【0022】1)まず、CCD等の撮像素子を用いて二
次元コード1のデジタル画像データを取り込む(ステッ
プS1)。
1) First, the digital image data of the two-dimensional code 1 is taken in using an image pickup device such as a CCD (step S1).

【0023】2)次に、この画像データの縦横の暗セル
が存在する分布(ヒストグラム)を調べ、図2に示すよ
うに、二次元コード1を取囲む矩形エリアARを画定す
る(ステップS2)。
2) Next, the distribution (histogram) in which vertical and horizontal dark cells exist in this image data is examined, and a rectangular area AR surrounding the two-dimensional code 1 is defined as shown in FIG. 2 (step S2). .

【0024】3)次に、この矩形エリアARの周縁の各
辺に接する点を探す(ステップS3)。図2の場合は、
点A,E、F,Hが求まる。
3) Next, a point which is in contact with each side of the peripheral edge of the rectangular area AR is searched (step S3). In the case of FIG.
Points A, E, F and H are obtained.

【0025】4)続いて、これらの点A,E、F,Hの
隣り合った点同士を結ぶ線分上のドットを調べ、暗い実
線が四角形の辺a〜dのうちどの線分に相当するかを判
定する(ステップS4)。図2に示す場合は、線分AE
と線分AFがそれぞれ四角形の辺d,cの実線に対応す
ることが判定される。この一方、線分EHと線分FHに
は対応する実線が存在しない。線分AEと線分AFとの
交点Aを二次元コード1の原点として選択する(ステッ
プS5)。
4) Next, the dots on the line segment connecting adjacent points of these points A, E, F, H are examined, and the dark solid line corresponds to which line segment of the sides a to d of the quadrangle. It is determined whether to do so (step S4). In the case shown in FIG. 2, line segment AE
And the line segment AF correspond to the solid lines of the sides d and c of the quadrangle, respectively. On the other hand, there is no corresponding solid line between the line segment EH and the line segment FH. The intersection A of the line segment AE and the line segment AF is selected as the origin of the two-dimensional code 1 (step S5).

【0026】5)次に、線分AFと平行でかつ長さがほ
ぼ同一である線分を点Aから点Eに向かって調べ、線分
BHを特定してその端点から点Bと点Hを特定する。同
様にして、点Aから点Fに向かって線分AEと平行でか
つ長さがほぼ同一である線分CGを調べ、これから点C
と点Gを求め、さらに線分BHと線分CGとの交点Dを
特定する(ステップS6)。
5) Next, a line segment parallel to the line segment AF and having substantially the same length is examined from the point A to the point E, the line segment BH is specified, and the points B and H from the end points thereof are specified. Specify. Similarly, a line segment CG parallel to the line segment AE and having substantially the same length from the point A to the point F is examined, and the point C
And the point G, and the intersection D between the line segment BH and the line segment CG is specified (step S6).

【0027】6)次いで、線分AFに平行でかつ長さが
同一である仮想破線(見出し破線)を設定し、点Aから
出発して点Eの方向へbd1、bd2…と走査すること
により、見出し線R31とR53,R32とR52,R
33とR51を探索してゆく(ステップS7)。このと
き、見出し線R31とR53とを結ぶ見出し破線bd1
から点Aまでの距離と、各見出し線の長さとピッチとは
データセルのサイズを単位として既知の定数であるた
め、上述した手順で既に特定した各点A〜Dの間の位置
関係に基づいて各見出し線の位置と長さが予測できる。
同様にして、線分AEに平行でかつ長さが同一である仮
想破線を設定し、点Aから出発して点Fの方向へac
1、ac2…と走査することにより、見出し線R23と
R43,R22とR42,R21とR41を探索する
(ステップS7)。ここで、線分AC(4角形の辺c)
から内側に垂直に延在するものと認識された見出し線の
数と線分BD(4角形の辺a)から外側に垂直に延在す
るものと認識された各見出し線の数とは同一であり、ま
た同様に、線分AB(4角形の辺d)から内側に垂直に
延在するものと認識された見出し線の数と線分CD(4
角形の辺b)から外側に垂直に延在すると認識された見
出し線の数が同一であれば、正常に各見出し線の探索が
行われたことを確認できる。また、上述したとおり、見
出し線の数は、マトリックスデータ部2のデータ数に応
じて水平方向、垂直方向の各方向で独立して決定されて
いるので、各線分(辺)で認識された見出し線の数に応
じて、マトリックスデータの容量を決定する。
6) Next, by setting a virtual broken line (heading broken line) parallel to the line segment AF and having the same length, starting from the point A, scanning in the direction of the point E with bd1, bd2 ... , Headlines R31 and R53, R32 and R52, R
33 and R51 are searched (step S7). At this time, a heading broken line bd1 connecting the heading lines R31 and R53
Since the distance from the point A to the point A and the length and pitch of each heading line are known constants with the size of the data cell as a unit, based on the positional relationship between the points A to D already specified in the above procedure. The position and length of each headline can be predicted.
Similarly, an imaginary broken line that is parallel to the line segment AE and has the same length is set, and the ac line is started in the direction from the point A to the point F.
By scanning 1, ac2, ..., Heading lines R23 and R43, R22 and R42, R21 and R41 are searched (step S7). Here, line segment AC (side c of the quadrangle)
Is the same as the number of heading lines recognized as extending vertically inward from the line segment and the number of heading lines recognized as extending vertically from the line segment BD (quadrangle side a) to the same. Yes, and similarly, the number of headline lines recognized to extend vertically inward from the line segment AB (quadrangle side d) and the line segment CD (4
If the number of heading lines recognized to extend vertically outward from the side b) of the polygon is the same, it can be confirmed that each heading line is normally searched. Further, as described above, since the number of headline lines is independently determined in each of the horizontal direction and the vertical direction according to the number of data in the matrix data portion 2, the headline recognized in each line segment (side). The capacity of the matrix data is determined according to the number of lines.

【0028】7)続いて、図2の破線に示すように、4
角形のそれぞれ平行する二辺で認識された見出し線の線
上の点同士を順に結んで格子形状を構成する線分bd1
〜bd3,ac1〜ac3を再度想定し、これらの線分
の交点n11〜n33の座標を算出する(ステップS
8)。これらの座標は、マトリックスデータ部2内のデ
ータセルの座標を等間隔に抜き出したものに相当する。
7) Then, as shown by the broken line in FIG.
A line segment bd1 that forms a lattice shape by sequentially connecting the points on the heading line recognized by the two parallel sides of the polygon.
~ Bd3, ac1 to ac3 are assumed again, and the coordinates of intersections n11 to n33 of these line segments are calculated (step S
8). These coordinates correspond to the coordinates of the data cells in the matrix data section 2 extracted at equal intervals.

【0029】8)さらに、上記7)で求めた交点の座標
から、既知である見出し線間のセル数により各セルの座
標値を求め、各セルの二進数の値をサンプリングしてビ
ット列のデータとする(ステップS9)。
8) Further, from the coordinates of the intersections obtained in 7) above, the coordinate value of each cell is obtained from the known number of cells between the header lines, and the binary value of each cell is sampled to obtain the bit string data. (Step S9).

【0030】9)最後に、二次元コード1のビット列デ
ータには予め誤り訂正符号が付加されているので、これ
を用いて誤り訂正を行う。これにより、元のデータが復
元される(ステップS10)。
9) Finally, since the error correction code is added in advance to the bit string data of the two-dimensional code 1, error correction is performed using this. As a result, the original data is restored (step S10).

【0031】このように、本実施形態の二次元コードの
読取方法によれば、簡易な画像処理により、マトリック
スデータ部2に格納されたデータを高精度で復元できる
とともに、データの容量を迅速に取得することができ
る。
As described above, according to the two-dimensional code reading method of the present embodiment, the data stored in the matrix data section 2 can be restored with high accuracy by simple image processing, and the data capacity can be quickly increased. Can be obtained.

【0032】(3)プログラムおよび記録媒体 上述した二次元コードの読取方法の一連の手順は、プロ
グラムに組み込んで画像データ処理可能なコンピュータ
に読込ませて実行させても良い。これにより、本発明に
かかる二次元コードの読取方法を汎用コンピュータを用
いて実現することができる。また、上述した二次元コー
ドの読取方法の一連の手順を画像データ処理可能なコン
ピュータに実行させるプログラムとしてフレキシブルデ
ィスクやCD−ROM等の記録媒体に収納し、コンピュ
ータに読込ませて実行させても良い。記録媒体は、磁気
ディスクや光ディスク等の携帯可能なものに限定され
ず、ハードディスク装置やメモリなどの固定型の記録媒
体でも良い。また、上述した二次元コードの読取方法の
一連の手順を組込んだプログラムをインターネット等の
通信回線(無線通信を含む)を介して頒布しても良い。
さらに、上述した二次元コードの読取方法の一連の手順
を組込んだプログラムを暗号化したり、変調をかけた
り、圧縮した状態で、インターネット等の有線回線や無
線回線を介して、あるいは記録媒体に収納して頒布して
も良い。
(3) Program and Recording Medium The series of procedures of the two-dimensional code reading method described above may be incorporated into a program and read by a computer capable of processing image data to be executed. As a result, the two-dimensional code reading method according to the present invention can be realized using a general-purpose computer. Further, a series of procedures of the above-mentioned two-dimensional code reading method may be stored in a recording medium such as a flexible disk or a CD-ROM as a program to be executed by a computer capable of processing image data, and may be read and executed by the computer. . The recording medium is not limited to a portable one such as a magnetic disk or an optical disk, and may be a fixed recording medium such as a hard disk device or a memory. Further, a program incorporating a series of procedures of the above-described two-dimensional code reading method may be distributed via a communication line (including wireless communication) such as the Internet.
Furthermore, a program incorporating a series of procedures of the above-mentioned two-dimensional code reading method may be encrypted, modulated, or compressed in a state in which it is stored in a recording medium via a wired or wireless line such as the Internet. It may be stored and distributed.

【0033】以上、本発明の実施の形態のいくつかにつ
いて説明したが、本発明は上記形態にかぎることなく、
その技術的範囲内で種々変形して実施できることは勿論
である。
Although some of the embodiments of the present invention have been described above, the present invention is not limited to the above-mentioned embodiments.
Needless to say, various modifications can be made within the technical scope.

【0034】[0034]

【発明の効果】以上詳述したとおり、本発明は、以下の
効果を奏する。
As described above in detail, the present invention has the following effects.

【0035】即ち、本発明にかかる二次元コードによれ
ば、データ領域を囲むように配置され、上記データ領域
のデータ密度と位置決め情報とを与える複数の突起部が
設けられたほぼ矩形状のパターンを備えるので、上記デ
ータ領域に格納されるデータ容量の大きさにかかわら
ず、単一のパターンで各セルの位置決めを行なうことが
できる。これにより、大容量の情報を格納するとともに
読み取り精度の高い二次元コードが提供される。
That is, according to the two-dimensional code of the present invention, the substantially rectangular pattern is provided so as to surround the data area and provided with a plurality of protrusions for giving the data density and the positioning information of the data area. Therefore, regardless of the amount of data stored in the data area, each cell can be positioned by a single pattern. As a result, a two-dimensional code that stores a large amount of information and has high reading accuracy is provided.

【0036】また、本発明かかる二次元コードの読取方
法によれば、上記複数の突起部に基づいて読み取り画像
内における各セルの位置座標を特定するので、記号化さ
れたバイナリデータを高精度で復元することができる。
また、認識された第1乃至第4の突起部の数量に基づい
て上記データ領域における上記バイナリデータの容量を
算出する手順を備えるので、上記データ領域のデータ密
度を容易かつ迅速に取得することができる。
Further, according to the two-dimensional code reading method of the present invention, since the position coordinates of each cell in the read image are specified based on the plurality of protrusions, the encoded binary data can be obtained with high accuracy. Can be restored.
Further, since the procedure for calculating the capacity of the binary data in the data area is provided based on the recognized number of the first to fourth protrusions, the data density of the data area can be easily and quickly acquired. it can.

【0037】また、本発明かかるプログラムおよびコン
ピュータ読み取り可能な記録媒体によれば、上述した二
次元コードの読取方法を汎用のコンピュータを用いて実
行することができる。
Further, according to the program and the computer-readable recording medium of the present invention, the above-mentioned two-dimensional code reading method can be executed using a general-purpose computer.

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

【図1】本発明にかかる二次元コードの実施の一形態を
示す概略図である。
FIG. 1 is a schematic diagram showing an embodiment of a two-dimensional code according to the present invention.

【図2】本発明にかかる二次元コードの読取方法の実施
の一形態の説明図である。
FIG. 2 is an explanatory diagram of an embodiment of a two-dimensional code reading method according to the present invention.

【図3】図2に示す読取方法の概略手順を説明するフロ
ーチャートである。
FIG. 3 is a flowchart illustrating a schematic procedure of the reading method shown in FIG.

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

1 二次元コード 2 マトリックスデータ部 a〜d 四角形の辺 bd1〜bd3,ac1〜ac3 仮想破線 P1,P2 見出し線間のピッチ R11〜R14,R21〜R23,R31〜R33,R
41〜R43,R51〜R53 見出し線(突起部)
1 Two-dimensional code 2 Matrix data part a to quadrangle sides bd1 to bd3, ac1 to ac3 Virtual broken lines P1 and P2 Pitches R11 to R14, R21 to R23, R31 to R33, R between heading lines
41-R43, R51-R53 Headline (projection)

フロントページの続き (72)発明者 溝 口 さとし 神奈川県中郡二宮町中里2丁目21番32号 ダイアパレス湘南ヒルズ二宮402 (56)参考文献 特開 平11−306272(JP,A) 特開 平11−328301(JP,A) 特開 平11−312215(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06K 7/10 Front page continued (72) Inventor Satomi Mizoguchi 2-21-32 Nakazato, Ninomiya-machi, Naka-gun, Kanagawa Dia Palace Shonan Hills Ninomiya 402 (56) Reference JP-A-11-306272 (JP, A) JP-A-11 -328301 (JP, A) JP-A-11-312215 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06K 7/10

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】バイナリデータがセル状に記号化されて二
次元マトリクスをなすように配置されたデータ領域と、 前記第1のデータ領域を囲むように配置され、前記デー
タ領域のデータ密度の情報と位置決め情報とを与えるパ
ターンと、を備え、 前記パターンは、 隣り合う第1の辺と第2の辺とが前記第1のデータ領域
に近接し、前記第1の辺と前記第2の辺にそれぞれ対向
する第3の辺と第4の辺とが前記データ領域に離隔する
ように配置されたほぼ矩形の実線と、 前記第1の辺と前記第2の辺から外側に延在するように
それぞれ所定ピッチで配置された第1の突起部と第2の
突起部と、 前記第3の辺と前記第4の辺から前記データ領域に向か
って内側に延在するようにそれぞれ所定ピッチで配置さ
れた第3の突起部と第4の突起部と、 前記第1の辺と前記第2の辺の交点である第1の端点か
ら前記第1の辺と前記第2の辺とをそれぞれ延長するよ
うに配置された第5の突起部および第6の突起部と、 前記第1の端点とは異なる前記第1の辺の端点である第
2の端点から前記第4の辺を延長させるように配置され
た第7の突起部と、 前記第1の端点とは異なる前記第2の辺の端点である第
3の端点から、前記第3の辺を延長させるように配置さ
れた第8の突起部と、を含み、 前記第3の辺と前記第4の辺との交点である第4の端点
には突起部が配置されない、二次元コード。
1. A data area in which binary data is symbolized into cells and arranged so as to form a two-dimensional matrix; and a data area which is arranged so as to surround the first data area and in which data density information of the data area is provided. And a pattern for providing positioning information, wherein the pattern has a first side and a second side that are adjacent to each other, the first side and the second side being adjacent to each other, and the first side and the second side. A substantially rectangular solid line with a third side and a fourth side facing each other spaced apart from the data area, and extending outward from the first side and the second side. A first protrusion portion and a second protrusion portion that are respectively arranged at a predetermined pitch, and a predetermined pitch so as to extend inward from the third side and the fourth side toward the data area. A third protrusion and a fourth protrusion arranged, The fifth protrusion and the sixth protrusion arranged so as to respectively extend the first side and the second side from a first end point that is an intersection of the first side and the second side. A protrusion; a seventh protrusion arranged to extend the fourth side from a second end that is an end of the first side different from the first end; An eighth projecting portion arranged to extend the third side from a third end point which is an end point of the second side different from the end point, and the third side and the third side A two-dimensional code in which no protrusion is arranged at the fourth end point, which is the intersection with the side of 4.
【請求項2】前記第1乃至第4の辺の線幅と前記第1乃
至第8の突起部の幅は、前記セルのサイズに対応して設
定されることを特徴とする請求項1に記載の二次元コー
ド。
2. The line widths of the first to fourth sides and the widths of the first to eighth protrusions are set in correspondence with the size of the cell. The two-dimensional code shown.
【請求項3】前記第1の突起部は、前記第1の端点から
前記第2の端点に向かって第1の長さのピッチでN(N
は自然数)個配置され、 前記第2の突起部は、前記第1の端点から前記第3の端
点に向かって第2の長さのピッチでM(Mは自然数)個
配置され、 前記第3の突起部は、前記第3の端点から前記第4の端
点に向かって前記第1の長さのピッチで前記N個配置さ
れ、 前記第4の突起部は、前記第2の端点から前記第4の端
点に向かって前記第2の長さのピッチで前記M個配置さ
れることを特徴とする請求項1または2に記載の二次元
コード。
3. The first protrusions have a pitch of a first length N (N) from the first end point toward the second end point.
Is a natural number), and the second protrusions are arranged M (M is a natural number) pieces at a pitch of a second length from the first end point toward the third end point. N protrusions are arranged at a pitch of the first length from the third end point toward the fourth end point, and the fourth protrusions are arranged from the second end point to the second end point. The two-dimensional code according to claim 1 or 2, wherein the M pieces are arranged at a pitch of the second length toward an end point of No. 4.
【請求項4】前記第1の長さと前記第2の長さは、それ
ぞれ前記セルのサイズに対応して設定されることを特徴
とする請求項3に記載の二次元コード。
4. The two-dimensional code according to claim 3, wherein each of the first length and the second length is set corresponding to a size of the cell.
【請求項5】請求項1乃至4のいずれかに記載の二次元
コードの読取方法であって、 前記二次元コードの画像を取得する手順と、 取得された前記画像内で、周縁が前記第4の端点に接す
るとともに、前記第7の突起部の少なくとも一部と前記
第8の突起部の少なくとも一部とを含むように、前記パ
ターンを取囲む矩形領域を切り出す手順と、 前記第4の端点、前記第7の突起部および前記第8の突
起部と前記矩形領域の周縁との各接点をそれぞれ第1の
接点、第2の接点および第3の接点として特定し、前記
第5または第6の突起部と前記矩形領域の周縁との接点
を第4の接点として認識する手順と、 前記第1の接点と前記第2の接点とを結ぶ第1の線分を
設定し、前記第1の接点と前記第3の接点とを結ぶ第2
の線分を設定する手順と、 前記第1の線分に平行な第1の仮想線を設定して前記第
4の接点から前記第3の接点の方向へ移動させることに
より、前記第1の突起部と前記第3の突起部と前記第2
の辺とを認識する手順と、 前記第2の線分に平行な第2の仮想線を設定して前記第
4の接点から前記第2の接点の方向へ移動させることに
より、前記第2の突起部と前記第4の突起部と前記第1
の辺とを認識する手順と、 認識された第1乃至第4の突起部の数量に基づいて前記
データ領域における前記バイナリデータの容量を算出す
る手順と、 前記矩形領域の周縁をなす辺のうち互いに直交する2辺
をX軸またはY軸とする座標系を設定して前記データ領
域内の各セルの座標を特定する手順と、 前記セル座標に基づいて前記記号化されたバイナリデー
タをビット列データに変換する手順と、を備える二次元
コードの読取方法。
5. The method for reading a two-dimensional code according to any one of claims 1 to 4, wherein a procedure for obtaining an image of the two-dimensional code, and a periphery of the obtained image is the first A step of cutting out a rectangular area surrounding the pattern so as to include at least a part of the seventh protrusion and at least a part of the eighth protrusion while being in contact with the end point of 4; The contact points of the end point, the seventh protrusion portion and the eighth protrusion portion, and the peripheral edge of the rectangular region are specified as a first contact point, a second contact point, and a third contact point, respectively, and the fifth or the fifth contact point is specified. The procedure of recognizing the contact point between the protruding portion of 6 and the peripheral edge of the rectangular area as a fourth contact point, and the first line segment connecting the first contact point and the second contact point are set to set the first contact point. A second connecting the third contact and the third contact
Of setting the first line segment and moving the first virtual line parallel to the first line segment in the direction from the fourth contact point to the third contact point. Protrusion, the third protrusion, and the second
And a second virtual line parallel to the second line segment and moved from the fourth contact toward the second contact, Protrusion, the fourth protrusion, and the first
Of the sides, a step of calculating the capacity of the binary data in the data area based on the recognized numbers of the first to fourth protrusions, and one of the sides forming the periphery of the rectangular area. A procedure of setting a coordinate system having two sides orthogonal to each other as an X-axis or a Y-axis to specify the coordinates of each cell in the data area; and the binary data encoded as bit string data based on the cell coordinates. A method of reading a two-dimensional code, comprising:
【請求項6】請求項1乃至4のいずれかに記載の二次元
コードの画像を取得する手順と、 取得された前記画像内で、周縁が前記第4の端点に接す
るとともに、前記第7の突起部の少なくとも一部と前記
第8の突起部の少なくとも一部とを含むように、前記パ
ターンを取囲む矩形領域を切り出す手順と、 前記第4の端点、前記第7の突起部および前記第8の突
起部と前記矩形領域の周縁との各交点をそれぞれ第1の
接点、第2の接点および第3の接点として特定し、前記
第5または第6の突起部と前記矩形領域の周縁との交点
を第4の接点として認識する手順と、 前記第1の接点と前記第2の接点とを結ぶ第1の線分を
設定し、前記第1の接点と前記第3の接点とを結ぶ第2
の線分を設定する手順と、 前記第1の線分に平行な第1の仮想線を設定して前記第
3の接点の方向へ移動させることにより、前記第1の突
起部と前記第3の突起部と前記第2の辺とを認識する手
順と、 前記第2の線分に平行な第2の仮想線を設定して前記第
2の接点の方向へ移動させることにより、前記第2の突
起部と前記第4の突起部と前記第1の辺とを認識する手
順と、 認識された第1乃至第4の突起部の数量に基づいて前記
データ領域における前記バイナリデータの容量を算出す
る手順と、 前記矩形領域の周縁をなす辺のうち互いに直交する2辺
をX軸またはY軸とする座標系を設定して前記データ領
域内の各セルの座標を特定する手順と、 前記セル座標に基づいて前記記号化されたバイナリデー
タをビット列データに変換する手順と、を備える二次元
コードの読取方法をコンピュータに実行させるプログラ
ム。
6. A procedure for acquiring an image of the two-dimensional code according to claim 1, wherein a peripheral edge is in contact with the fourth end point in the acquired image, and the seventh A step of cutting out a rectangular area surrounding the pattern so as to include at least a part of a protrusion and at least a part of the eighth protrusion, and the fourth endpoint, the seventh protrusion and the 8 points of intersection of the protrusion and the peripheral edge of the rectangular region are specified as a first contact point, a second contact point and a third contact point, respectively, and the fifth or sixth protrusion portion and the peripheral edge of the rectangular region are specified. And a first line segment connecting the first contact point and the second contact point is set, and the first contact point and the third contact point are connected. Second
And a step of setting a first virtual line parallel to the first line segment and moving the first virtual line in the direction of the third contact point. The step of recognizing the protrusion and the second side, and by setting a second virtual line parallel to the second line segment and moving the second virtual line toward the second contact, And a procedure for recognizing the fourth protrusion and the first side, and calculating the capacity of the binary data in the data area based on the number of the recognized first to fourth protrusions. And a step of specifying a coordinate system of each cell in the data area by setting a coordinate system in which two sides that are orthogonal to each other among the sides forming the periphery of the rectangular area are set as the X axis or the Y axis. A procedure for converting the encoded binary data into bit string data based on the coordinates. Program for executing the, the reading method of the two-dimensional code comprising a computer.
【請求項7】請求項1乃至4のいずれかに記載の二次元
コードの画像を取得する手順と、 取得された前記画像内で、周縁が前記第4の端点に接す
るとともに、前記第7の突起部の少なくとも一部と前記
第8の突起部の少なくとも一部とを含むように、前記パ
ターンを取囲む矩形領域を切り出す手順と、 前記第4の端点、前記第7の突起部および前記第8の突
起部と前記矩形領域の周縁との各交点をそれぞれ第1の
接点、第2の接点および第3の接点として特定し、前記
第5または第6の突起部と前記矩形領域の周縁との交点
を第4の接点として認識する手順と、 前記第1の接点と前記第2の接点とを結ぶ第1の線分を
設定し、前記第1の接点と前記第3の接点とを結ぶ第2
の線分を設定する手順と、 前記第1の線分に平行な第1の仮想線を設定して前記第
3の接点の方向へ移動させることにより、前記第1の突
起部と前記第3の突起部と前記第2の辺とを認識する手
順と、 前記第2の線分に平行な第2の仮想線を設定して前記第
2の接点の方向へ移動させることにより、前記第2の突
起部と前記第4の突起部と前記第1の辺とを認識する手
順と、 認識された第1乃至第4の突起部の数量に基づいて前記
データ領域における前記バイナリデータの容量を算出す
る手順と、 前記矩形領域の周縁をなす辺のうち互いに直交する2辺
をX軸またはY軸とする座標系を設定して前記データ領
域内の各セルの座標を特定する手順と、 前記セル座標に基づいて前記記号化されたバイナリデー
タをビット列データに変換する手順と、を備える二次元
コードの読取方法をコンピュータに実行させるプログラ
ムを記録したコンピュータ読み取り可能な記録媒体。
7. A procedure for acquiring an image of the two-dimensional code according to claim 1, wherein a peripheral edge is in contact with the fourth end point in the acquired image, and A step of cutting out a rectangular area surrounding the pattern so as to include at least a part of a protrusion and at least a part of the eighth protrusion, and the fourth endpoint, the seventh protrusion and the 8 points of intersection of the protrusion and the peripheral edge of the rectangular region are specified as a first contact point, a second contact point and a third contact point, respectively, and the fifth or sixth protrusion portion and the peripheral edge of the rectangular region are specified. And a first line segment connecting the first contact point and the second contact point is set, and the first contact point and the third contact point are connected. Second
And a step of setting a first virtual line parallel to the first line segment and moving the first virtual line in the direction of the third contact point. The step of recognizing the protrusion and the second side, and by setting a second virtual line parallel to the second line segment and moving the second virtual line toward the second contact, And a procedure for recognizing the fourth protrusion and the first side, and calculating the capacity of the binary data in the data area based on the number of the recognized first to fourth protrusions. And a step of specifying a coordinate system of each cell in the data area by setting a coordinate system in which two sides that are orthogonal to each other among the sides forming the periphery of the rectangular area are set as the X axis or the Y axis. A procedure for converting the encoded binary data into bit string data based on the coordinates. When the computer-readable recording medium recording a program for executing a method of reading the two-dimensional code to the computer with a.
JP2001100189A 2001-03-29 2001-03-30 Two-dimensional code, two-dimensional code reading method, program, and computer-readable recording medium Expired - Lifetime JP3499220B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2001100189A JP3499220B2 (en) 2001-03-30 2001-03-30 Two-dimensional code, two-dimensional code reading method, program, and computer-readable recording medium
PCT/JP2002/003207 WO2002080087A1 (en) 2001-03-29 2002-03-29 Two-dimensional code, method for converting two-dimensional code into speech, method for converting text document into speech, braille data creation apparatus
AU2002244953A AU2002244953A1 (en) 2001-03-29 2002-03-29 Two-dimensional code, method for converting two-dimensional code into speech, method for converting text document into speech, braille data creation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001100189A JP3499220B2 (en) 2001-03-30 2001-03-30 Two-dimensional code, two-dimensional code reading method, program, and computer-readable recording medium

Publications (2)

Publication Number Publication Date
JP2002298077A JP2002298077A (en) 2002-10-11
JP3499220B2 true JP3499220B2 (en) 2004-02-23

Family

ID=18953656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001100189A Expired - Lifetime JP3499220B2 (en) 2001-03-29 2001-03-30 Two-dimensional code, two-dimensional code reading method, program, and computer-readable recording medium

Country Status (1)

Country Link
JP (1) JP3499220B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4744745B2 (en) * 2001-09-04 2011-08-10 株式会社 廣済堂 2D code
JP4865844B2 (en) * 2009-09-28 2012-02-01 さとし 溝口 Two-dimensional code reading method, two-dimensional code for reading by the two-dimensional code reading method, and recording medium on which the two-dimensional code reading method is recorded
JP6261118B2 (en) * 2013-12-09 2018-01-17 眞理子 溝口 Two-dimensional code reading method and recording medium for the two-dimensional code

Also Published As

Publication number Publication date
JP2002298077A (en) 2002-10-11

Similar Documents

Publication Publication Date Title
US6752316B2 (en) Two-dimensional code
KR100935345B1 (en) Dot pattern
US8031375B2 (en) Information input/output method using dot pattern
US5686718A (en) Recording method, decoding method, and decoding apparatus for digital information
US7950589B2 (en) Program, information storage medium, two-dimensional code generation system, image generation system and printed material
CN102243704B (en) Positioning system for two-dimension bar code and two-dimension bar code identification method and equipment
US6612497B1 (en) Two-dimensional-code related method, apparatus, and recording medium
US7664312B2 (en) Information input and output method using dot pattern
JP2004054529A (en) Method and program for reading two-dimensional code, recording medium for two-dimensional code reading program, and two-dimensional code reading device
JP2000099257A5 (en)
US20080069398A1 (en) Code image processing method
US7857232B2 (en) Two-dimensional bar code, information processing device, information processing method, and program
JP2008084014A (en) Image area detection method, program and device
CN111275152A (en) Two-dimensional code, encoding method and decoding method of two-dimensional code, decoding device of two-dimensional code and electronic system
JP3499220B2 (en) Two-dimensional code, two-dimensional code reading method, program, and computer-readable recording medium
US8544741B2 (en) Data block offset encoding method for coordinates
JP4865844B2 (en) Two-dimensional code reading method, two-dimensional code for reading by the two-dimensional code reading method, and recording medium on which the two-dimensional code reading method is recorded
JP5184672B2 (en) Two-dimensional code reading method and program
JP4744745B2 (en) 2D code
JP2003076959A (en) Two-dimensional code
JP2003076960A (en) Two-dimensional code
JP3853331B2 (en) Digital information recording method
JP4267965B2 (en) Bar code reader
JP2000235632A (en) Digital information recording carrier, digital information recording method/device and digital information decoding method/device
JP2004246927A (en) Digital information recording method

Legal Events

Date Code Title Description
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: 20031031

R150 Certificate of patent or registration of utility model

Ref document number: 3499220

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20071205

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081205

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20091205

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20091205

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101205

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20101205

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111205

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20121205

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20131205

Year of fee payment: 10

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

EXPY Cancellation because of completion of term