JPH0437466B2 - - Google Patents

Info

Publication number
JPH0437466B2
JPH0437466B2 JP62255321A JP25532187A JPH0437466B2 JP H0437466 B2 JPH0437466 B2 JP H0437466B2 JP 62255321 A JP62255321 A JP 62255321A JP 25532187 A JP25532187 A JP 25532187A JP H0437466 B2 JPH0437466 B2 JP H0437466B2
Authority
JP
Japan
Prior art keywords
code
tagata
matrix
coordinates
codes
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
JP62255321A
Other languages
Japanese (ja)
Other versions
JPH0198087A (en
Inventor
Hideki Okamoto
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.)
Azbil Corp
Original Assignee
Azbil Corp
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 Azbil Corp filed Critical Azbil Corp
Priority to JP62255321A priority Critical patent/JPH0198087A/en
Publication of JPH0198087A publication Critical patent/JPH0198087A/en
Publication of JPH0437466B2 publication Critical patent/JPH0437466B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の対象技術分野〕 この発明は1つのコードで数ビツトの情報を表
わす田形コードを複数配列したコードマトリクス
における各田形コードの網目のコードを読取る方
法に関するものである。
[Detailed Description of the Invention] [Technical Field Subject to the Invention] This invention relates to a method for reading the mesh code of each field type code in a code matrix in which a plurality of field type codes each representing several bits of information are arranged in one code. .

〔従来技術およびその問題点〕[Prior art and its problems]

従来商品などの包装にコードを印刷し、さまざ
まな管理に利用している。このコードは一般に黒
と白の線の太さと配列によりコードを表現するい
わゆるバーコードが用いられるが、このバーコー
ドには次のような問題点がある。すなわちバーコ
ードは1次元方向に情報を並べているために表現
しうる情報量が少なく、またバーコードの印刷に
は高い精度を必要とし、そのため人間が直接その
コードを画くことは不可能であり、しかもそのバ
ーコードは人間が簡単に読むことができない。
Conventionally, codes are printed on the packaging of products and are used for various management purposes. This code generally uses a so-called barcode that expresses the code by the thickness and arrangement of black and white lines, but this barcode has the following problems. In other words, since barcodes arrange information in one dimension, they can only express a small amount of information, and barcode printing requires high precision, making it impossible for humans to directly draw the code. Moreover, the barcode cannot be easily read by humans.

このような欠点を解決するために4つの方形の
網目を田の字状に組合せることにより構成され、
かつ各網目の色を選択的に黒または白に塗り分け
ることによりコードを表示するいわゆる田形コー
ドが考案された。これによつてコードの2次元的
配置が可能となり、より多くの情報を表現するこ
とができ、したがつて田形の枠だけを画いてお
き、マークシートのように各網目を選択的に塗潰
して符号を書込むことができるようになり、また
その符号は基本的には4ビツトなので人間が容易
に読むことができる。
In order to solve this problem, it is constructed by combining four rectangular meshes in a square shape.
In addition, a so-called Tagata code was devised in which a code is displayed by selectively coloring each mesh in black or white. This makes it possible to arrange the codes two-dimensionally and express more information. Therefore, you can draw only the frame of the field and selectively fill in each mesh like a mark sheet. It is now possible to write a code, and since the code is basically 4 bits, it can be easily read by humans.

ところがこれらの符号をいかにして読取るかと
いう手法やそのための符号の配置方法や補助図形
に対する工夫はほとんど見られない。
However, there is almost no innovation in how to read these codes, how to arrange the codes, or with auxiliary graphics.

〔発明の目的〕[Purpose of the invention]

この発明はこのような従来の欠点にかんがみ、
田形コードの位置を正確に知るとともに、そのデ
ータを正確に読取ることを目的とするものであ
る。
This invention takes into consideration these conventional drawbacks,
The purpose is to accurately know the position of the Tagata code and to read the data accurately.

〔発明の概要〕[Summary of the invention]

この発明はその目的を達成するために複数個の
田形コードによりコードマトリクスを形成し、こ
のコードマトリクスの四隅の外側にこのコードマ
トリクスと所定の間隔を維持して所定の寸法を有
するかぎ形の基準線を設け、その基準線とコード
マトリクスとの相対的な位置関係から田形コード
の中心座標を算出し、その中心から各網目のコー
ドを読取るようにしたもので、これによつてコー
ドを人手で画くことができ、また田形コードの画
像が回転方向にずれているばあいにも各網目の位
置を正確に読取ることができるようになる。
In order to achieve the object, the present invention forms a code matrix using a plurality of tag-shaped cords, and a hook-shaped reference having a predetermined dimension is formed outside the four corners of the code matrix and maintains a predetermined distance from the code matrix. A line is provided, and the center coordinates of the taga code are calculated from the relative positional relationship between the reference line and the code matrix, and the code of each mesh is read from the center.This makes it possible to read the code manually. Furthermore, even if the image of the Tagata code is shifted in the rotation direction, the position of each mesh can be read accurately.

〔実施例〕〔Example〕

以下図によつてこの発明の一実施例について説
明する。
An embodiment of the present invention will be described below with reference to the drawings.

すなわち第2図において符号1は周知の田形コ
ードの基本構成を示すもので、方形たとえば一辺
が2mmの正方形の網目を4個田の字状に組合せて
全体として一辺が4mmである田形コードが形成さ
れる。この田形コードは各網目を塗潰すことによ
り所定のビツト数の情報を表わすことができる。
たとえば4つの網目を用いるばあいには4ビツト
の情報となり、その数は16とおりになる。今仮り
に第3図に示すようにすべての網目を塗潰したば
あいを零とすればいずれの網目も塗潰さないとき
には15となり、さらに左上の網目を残して他の網
目を塗潰したときには1、左下を残してその他の
網目を塗潰せば2、右上を残してその他の網目を
塗潰せば4、そして上側半分を塗潰せば8とする
ことができる。
In other words, in Fig. 2, reference numeral 1 indicates the basic configuration of the well-known Tagata cord. For example, four square meshes each having a side of 2 mm are combined in a square shape to form a Tagata cord having a side of 4 mm as a whole. be done. This field code can represent information of a predetermined number of bits by filling out each mesh.
For example, if four meshes are used, there will be 4 bits of information, and the number will be 16. As shown in Figure 3, if all the meshes are filled in, the value becomes 0, and if none of the meshes are filled in, it becomes 15, and if the upper left mesh is left and the other meshes are filled in, then the value becomes 15. 1. If you leave the bottom left and fill in the other meshes, you can get 2. If you leave the top right and fill in the other meshes, you can get 4. If you fill out the upper half, you can get 8.

第1図は田形コード1を複数個たがいに所定の
間隔をおいてM行N列の行列に配置することによ
りコードマトリクス2を形成したもので、この実
施例においては20個の田形コードを縦横にそれぞ
れ2mmの間隔をおいて4行5列の行列に配置する
ことによりそれを形成している。そしてそのコー
ドマトリクス2の周囲においてその四隅の外側に
はこのコードマトリクスと所定の間隔を維持し
て、所定の寸法を有するかぎ形の基準線3が配置
される。この基準線は第1図に示すものにあつて
はコードマトリクス2の四隅に位置する田形コー
ド1,1から2mm縦横方向にそれぞれ離間して配
置され、その幅すなわち線の太さは2mmに設定さ
れ、かつ各角部から縦横方向の寸法は6mmに設定
される。したがつて基準線3,3の角部C1,C4
またはC2,C3を結ぶ縦の長さは6(M+1)とな
り、また角部C1,C2またはC4,C3を結ぶ横の長
さは6(N+1)となる。
In Figure 1, a code matrix 2 is formed by arranging a plurality of Tagata codes 1 at predetermined intervals in a matrix of M rows and N columns. In this embodiment, 20 Tagata codes are arranged vertically and horizontally. It is formed by arranging them in a matrix of 4 rows and 5 columns with an interval of 2 mm between each. Then, around the code matrix 2, a hook-shaped reference line 3 having a predetermined dimension is placed outside the four corners of the code matrix 2, maintaining a predetermined distance from the code matrix. In the case of the one shown in Fig. 1, these reference lines are placed 2 mm apart in the vertical and horizontal directions from the taga codes 1 and 1 located at the four corners of the code matrix 2, and the width, that is, the thickness of the line, is set to 2 mm. and the vertical and horizontal dimensions from each corner are set to 6 mm. Therefore, the corners C 1 and C 4 of the reference lines 3 and 3
Alternatively, the vertical length connecting C 2 and C 3 is 6 (M+1), and the horizontal length connecting the corners C 1 and C 2 or C 4 and C 3 is 6 (N+1).

次に第4図ないし第6図を参照してこの発明に
おける田形コードの読取り方法について説明す
る。
Next, a method for reading tag format codes according to the present invention will be explained with reference to FIGS. 4 to 6.

まずコードマトリクス2の四隅の外側に配置し
た基準線3からこの基準線の4つの隅部C1,C2
C3,C4の座標を求める。次にこの4つの隅部の
座標と田形コード1,1との位置関係により田形
コード1,1の中心座標を求める。そこから田形
コード1,1の4つの網目の中心座標を求め、そ
れを中心とした正方領域すなわち各網目の値を読
み、符号をデコードする。
First, from the reference line 3 placed outside the four corners of the code matrix 2, the four corners C 1 , C 2 ,
Find the coordinates of C 3 and C 4 . Next, the center coordinates of the field codes 1, 1 are determined based on the positional relationship between the coordinates of these four corners and the field codes 1, 1. From there, the center coordinates of the four meshes of the Tagata codes 1 and 1 are found, and the square area centered around the coordinates, that is, the value of each mesh, is read and the code is decoded.

第4図にはかぎ形の基準線3によつて決まる1
つの隅部C1がまた第5図には4つの隅部C1,C2
C3,C4が示してある。図中のxとyは基準線3
に対して傾いた方向で表示してある。これは一般
に取込まれた画像のx方向とy方向が基準線と平
行であるとは限らないからである。
Figure 4 shows 1 determined by the hook-shaped reference line 3.
There are also four corners C 1 , C 2 ,
C 3 and C 4 are shown. x and y in the figure are reference lines 3
It is displayed in a tilted direction. This is because generally the x and y directions of the captured image are not necessarily parallel to the reference line.

そして取込まれた画像をx方向とy方向にそれ
ぞれ走査し、基準線3すなわちかぎ形の図形の各
辺を求め、それから4つの隅部C1,C2,C3,C4
の座標を求める。
The captured image is then scanned in the x and y directions to determine the reference line 3, that is, each side of the hook-shaped figure, and then the four corners C 1 , C 2 , C 3 , C 4
Find the coordinates of.

取込まれた画像の中で基準線3の角の部分は安
定した画像が得難く、走査をして直接その4つの
隅部を求めると誤差が大きくなる。したがつてか
ぎ形の図形の外周辺を求め、それから4つの隅部
の座標を算出する。
It is difficult to obtain a stable image at the corners of the reference line 3 in the captured image, and if the four corners are directly determined by scanning, the error will be large. Therefore, the outer periphery of the hook-shaped figure is determined, and then the coordinates of the four corners are calculated.

今、読取り装置のカメラ部の像倍率が一定であ
るとする。まず1つの辺を得ることを考える。画
像中のかぎ形の図形は±45度の角度の範囲に傾き
が収まつているとする。第5図は画像中に収まつ
たかぎ形の図形である。この図においてx方向に
走査をしながら黒い画素がある個数連なつて検出
できるラインを探す。その個数はかぎ形の線の太
さが画像中で対応する画素数の8割とする。この
最初の検出ラインのはじめての黒画素の座標と、
このラインを逆に走査したときのはじめての黒画
素の座標すなわち第4図の点A1とB1を記憶する。
次にy方向へy1だけ離れた走査ラインを走査し、
点A2とB2の座標を記憶する。最後にもう一度y
方向にy1だけ離れた走査ラインを走査し、点A3
とB3の座標を記憶する。このy1はかぎ形の図形
が45度傾いたときに外側の辺を検出できる3本の
走査線の最大間隔である。そして得られた点A1
〜A3、B1〜B3についてx方向の間隔が一定の点
列を採用する。たとえばかぎ形の図形の傾きが0
度〜45度のときは点A1〜A3が採用される(第5
図イ)。またその傾きが0度〜−45度のときは点
B1〜B3が採用される(第5図ロ)。
Assume now that the image magnification of the camera section of the reading device is constant. First, consider obtaining one edge. It is assumed that the angle of the hook-shaped figure in the image falls within an angle range of ±45 degrees. FIG. 5 shows a hook-shaped figure that fits within the image. In this figure, while scanning in the x direction, a line where a certain number of black pixels can be detected in a row is searched for. The number is assumed to be 80% of the number of pixels corresponding to the thickness of the hook-shaped line in the image. The coordinates of the first black pixel of this first detection line,
The coordinates of the first black pixel when scanning this line in reverse, that is, the points A 1 and B 1 in FIG. 4 are memorized.
Next, scan a scan line separated by y 1 in the y direction,
Memorize the coordinates of points A 2 and B 2 . One last time y
Scan a scan line separated by y 1 in the direction, point A 3
and memorize the coordinates of B 3 . This y1 is the maximum interval between three scanning lines that can detect the outer side when the hook-shaped figure is tilted by 45 degrees. and the obtained point A 1
For ~A 3 and B 1 ~ B 3 , a series of points with constant intervals in the x direction is adopted. For example, the slope of a hook-shaped figure is 0.
When the angle is between 45 degrees and 45 degrees, points A 1 to A 3 are adopted (5th
Figure A). Also, if the slope is between 0 degrees and -45 degrees, the point is
B 1 to B 3 are adopted (Figure 5 b).

得られた点列がA1〜A3であるときには第5図
イのように走査してゆく。そして最初の走査によ
つて得られた点A1とB1を記憶しておく。次に走
査の始点と走査方向を時計方向に90度回転させて
走査を開始する。この走査で、初めて黒の画素列
が前に決めた個数続くラインを求める。そしてこ
のラインで左から走査し始めて現われる黒の画素
A4の座標と、逆に走査したときの初めての黒い
画素B4の座標を求める。同様にして第5図イの
中の点A5、B5、A6、B6の座標を求める。そして
求めた8つの点すなわちA1、B1、A4、B4、A5
B5、A6、B6より4つの点を結ぶ直線の式を求め、
これらの交点として4つの隅部の座標を求める。
そして得られた点列がB1〜B3であるときには第
5図ロのように走査し、また得られた点列がA1
〜A3のときと同様にして4つの隅部の座標を求
める。
When the obtained point sequence is A 1 to A 3 , scanning is performed as shown in FIG. 5A. Then, the points A 1 and B 1 obtained by the first scan are memorized. Next, the scanning start point and scanning direction are rotated 90 degrees clockwise and scanning is started. In this scan, for the first time, a line in which black pixel columns continue for the previously determined number of columns is determined. And the black pixel that appears when scanning from the left on this line
Find the coordinates of A 4 and the coordinates of the first black pixel B 4 when scanning in reverse. In the same way, find the coordinates of points A 5 , B 5 , A 6 , and B 6 in Fig. 5A. Then, the eight points found were A 1 , B 1 , A 4 , B 4 , A 5 ,
Find the equation of the straight line connecting the four points from B 5 , A 6 , and B 6 ,
The coordinates of the four corners are determined as these intersection points.
When the obtained point sequence is B 1 to B 3 , scanning is performed as shown in Figure 5 B, and the obtained point sequence is A 1 to B 3 .
~ Find the coordinates of the four corners in the same way as in 3 .

すなわち C1=(x1、y1)、C2=(x2、y2) C3=(x3、y3)、C4=(x4、y4) …(1) である。 That is, C 1 = (x 1 , y 1 ), C 2 = (x 2 , y 2 ), C 3 = (x 3 , y 3 ), C 4 = (x 4 , y 4 )...(1).

次に4つの隅部の座標より各田形コードの中心
の座標を求める。ここで直線C1C2はコードマト
リクス2の上端にもう1行余分な行を追加したと
仮定したときのその行の中心を通る直線と考える
ことができる。同様に直線C2C3、C3C4および
C4C1もコードマトリクスの外側に田形コード1,
1の行や列を考えるとき、この余分な行や列の田
形コードの中心を通る直線と考えることができ
る。したがつて線分C1C2の長さをN+1で割れ
ば田形コード1,1の行方向とピツチxpが求ま
る。同様に線分C1C4の長さをM+1で割れば田
形コード1,1の列方向のピツチypが求まる。実
際の計測では誤差を少なくするためにxpは線分
C1C2とC3C4、ypは線分C2C3とC1C4を使う。
Next, the coordinates of the center of each field code are determined from the coordinates of the four corners. Here, the straight line C 1 C 2 can be considered as a straight line that passes through the center of the row when one more row is added to the upper end of the code matrix 2. Similarly, straight lines C 2 C 3 , C 3 C 4 and
C 4 C 1 also has Tagata code 1 outside the code matrix,
When considering the row or column of 1, it can be thought of as a straight line passing through the center of the Tagata code of this extra row or column. Therefore, by dividing the length of the line segment C 1 C 2 by N+1, the row direction and pitch x p of the field code 1, 1 can be determined. Similarly, by dividing the length of the line segment C 1 C 4 by M+1, the pitch y p of the field codes 1 and 1 in the column direction can be found. In actual measurement, x p is a line segment to reduce errors.
C 1 C 2 and C 3 C 4 , y p uses line segments C 2 C 3 and C 1 C 4 .

またC1とC2から符号全体の画面に対する回転
角θも求まる。
The rotation angle θ of the entire code with respect to the screen can also be determined from C 1 and C 2 .

C1を原点とし、C1C2をx軸、C1C4をy軸とす
るとき、C1に最も近い田形コードの中心座標を
P11とする。田形コード同志の間隔は田形コード
の1辺の半分をx方向y方向ともとつている。そ
こで第6図においてi行j列の田形コードの中心
座標Pijは次式で表わされる。
When C 1 is the origin, C 1 C 2 is the x axis, and C 1 C 4 is the y axis, the center coordinates of the Tagata code closest to C 1 are
Let it be P 11 . The interval between the Tagata cords is equal to half of one side of the Tagata cords in both the x and y directions. Therefore, in FIG. 6, the center coordinates P ij of the Tagata code in the i-th row and the j-th column are expressed by the following equation.

Px=xpi、Py=ypj ……(4) 第5図には田形コードの中心と各網目の中心と
の関係を示してある。各網目の中心座標Q1、Q2
Q3、Q4は次式となる。
Px=x pi , Py=y pj ...(4) Figure 5 shows the relationship between the center of the Tagata code and the center of each mesh. Center coordinates of each mesh Q 1 , Q 2 ,
Q 3 and Q 4 are expressed as follows.

実際の画像中の座標は、各点C1、C2、C3、C4
を結ぶ長方形の辺の方向を軸とした座標系とθの
角をなしているので次式のようになる。
The coordinates in the actual image are each point C 1 , C 2 , C 3 , C 4
It forms an angle of θ with the coordinate system whose axis is the direction of the sides of the rectangle connecting the , so it is as follows.

こうして求まつた各網目の中心を中心とした1
辺の長さaの正方領域内の画素を読取り、その領
域内の値を0あるいは1に決定する。そして4つ
の網目について値を決定したのちに田形コード1
の値をデコードする。これをすべての田形コード
について行う。たとえばQ1、Q2、Q3、Q4の網目
の値がそれぞれ1、0、1、0であるとする(黒
が0、白が1とする)と、図によりこの田形コー
ドの値は5となる。
1 centered on the center of each mesh thus determined
Pixels within a square area with side length a are read, and the value within that area is determined to be 0 or 1. After determining the values for the four meshes, the Tagata code 1
decode the value of Do this for all Tagata codes. For example, if the mesh values of Q 1 , Q 2 , Q 3 , and Q 4 are 1, 0, 1, and 0, respectively (black is 0 and white is 1), the value of this taga code is It becomes 5.

以上のアルゴリズムで田形コードを読取るばあ
いに、この田形コードが傾いているときでも読取
りが可能で、網目の中央にきちんとマークしてさ
えあれば人間の書込んだコードでも読取ることが
できる。
When reading the Tagata code using the above algorithm, it can be read even when the Tagata code is tilted, and even codes written by humans can be read as long as the center of the mesh is properly marked.

以上のアルゴリズムを実現するための読取り装
置のブロツク図を第8図に示す。4は田形コード
1,1の行列の書かれたシート、5は光源、6は
レンズ、7は2次元撮像素子である。光源5によ
つてシート4の上に書かれてある田形コード1,
1を照明する。照明された田形コード1,1の像
をレンズ6によつて2次元撮像素子7上へ結像す
る。2次元結像素子はクロツクジエネレータ11
によつて生成されたクロツクから駆動回路10を
通つて生成された駆動信号により各画素のアナロ
グデータを出力する。出力されたアナログデータ
はプリアンプ8を通して増幅され2値化回路9へ
送られる。2値化回路では送られてきたアナログ
信号を予め決めておいた基準電圧と比較し、2値
化データに変換する。このときクロツクジエネレ
ータから生成されたクロツクをDMAコントロー
ラ12が受け、フレームメモリ13に対してアド
レスを生成し、与える。このときに送られてきた
2値化データをフレームメモリに記憶する。制御
回路14はトリガー回路17からの信号を受け、
画像データ入力信号をDMAコントローラ12に
与える。したがつてトリガーがかかつたときの画
像データが2値化されてフレームメモリ13に記
憶される。画像が入力し終つたら、制御回路14
は前述した田形コード読取りのアルゴリズムを実
行し、その結果をデイスプレイ16に表示し、外
部機器に対して出力回路15を通して信号を出力
する。
A block diagram of a reading device for realizing the above algorithm is shown in FIG. 4 is a sheet on which a matrix of tagata codes 1, 1 is written, 5 is a light source, 6 is a lens, and 7 is a two-dimensional image sensor. The tag code 1 written on the sheet 4 by the light source 5;
Illuminate 1. An image of the illuminated tagata codes 1, 1 is formed onto a two-dimensional image sensor 7 by a lens 6. The two-dimensional imaging element is a clock generator 11.
Analog data of each pixel is output by a drive signal generated from a clock generated by a drive circuit 10. The output analog data is amplified through a preamplifier 8 and sent to a binarization circuit 9. The binarization circuit compares the sent analog signal with a predetermined reference voltage and converts it into binary data. At this time, the DMA controller 12 receives the clock generated from the clock generator and generates and provides an address to the frame memory 13. The binarized data sent at this time is stored in the frame memory. The control circuit 14 receives a signal from the trigger circuit 17,
An image data input signal is provided to the DMA controller 12. Therefore, the image data when the trigger is applied is binarized and stored in the frame memory 13. After the image has been input, the control circuit 14
executes the above-mentioned Tagata code reading algorithm, displays the result on the display 16, and outputs a signal to external equipment through the output circuit 15.

第7図には読取り装置の外観の一例と使用法を
示す。19は読取り装置の読取り部で、光源5か
らの光でシート4を照明し、画像を取込む。画像
の入力はトリガー用スイツチ20を押すことによ
つて行われる。田形コード1,1の解読が終了し
たら、その結果はデイスプレイ16に表示され
る。またその結果は外部機器に対し出力端18を
通して送られる。
FIG. 7 shows an example of the appearance and usage of the reading device. Reference numeral 19 denotes a reading section of the reading device, which illuminates the sheet 4 with light from the light source 5 and captures an image. Image input is performed by pressing the trigger switch 20. When the decoding of the Tagata codes 1, 1 is completed, the results are displayed on the display 16. The results are also sent to external equipment through the output terminal 18.

〔発明の効果〕〔Effect of the invention〕

この発明は上述のように複数個の田形コードか
らなるコードマトリクスの周囲にこれと所定の間
隔を維持して所定の寸法を有するかぎ形の基準線
を設け、この基準線とコードマトリクスとの相対
的な位置関係から各田形コードの中心座標を算出
し、その中心から各網目のコードを読取るように
しているので、機械によつて印刷したものだけで
なく、人間が画いたコードをも読取ることができ
るようになり、また読取りに当り、画像が傾いて
いるばあいにも各田形コードの各網目の位置を計
算して求めることができるので解読が容易であ
り、しかも読取り装置に対する操作が楽になる効
果がある。
As described above, the present invention provides a hook-shaped reference line having a predetermined dimension and maintaining a predetermined distance around a code matrix made up of a plurality of T-shaped code, and the relative relationship between this reference line and the code matrix. The center coordinates of each field code are calculated from the positional relationship, and the code of each mesh is read from the center, so it is possible to read not only codes printed by machines but also codes drawn by humans. In addition, even if the image is tilted during reading, the position of each mesh of each tag type code can be calculated and found, making it easy to decode, and the operation of the reading device is easy. There is a certain effect.

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

第1図はこの発明における田形コードの読取り
方法の一実施例を示すもので、そのパターンの配
置図、第2図は田形コードの基本的な構成図、第
3図は田形コードの表示例を示す構成図、第4
図、第5図および第6図は読取り方法の説明図、
第7図は読取り装置の外観斜視図、第8図は読取
り装置のブロツク図である。 1……田形コード、2……コードマトリクス、
3……基準線、4……シート、5……光源、6…
…レンズ、7……2次元撮像素子、8……プリア
ンプ、10……駆動回路、11……クロツクジエ
ネレータ、12……DMAコントローラ、13…
…フレームメモリ、14……制御回路、15……
出力回路、16……デイスプレイ、17……トリ
ガー回路、18……出力端、19……読取り部。
Fig. 1 shows an example of the method for reading the Tagata code according to the present invention, and shows the arrangement of its patterns, Fig. 2 shows the basic configuration of the Tagata code, and Fig. 3 shows an example of the display of the Tagata code. Configuration diagram shown, No. 4
Figures 5 and 6 are explanatory diagrams of the reading method;
FIG. 7 is an external perspective view of the reading device, and FIG. 8 is a block diagram of the reading device. 1...Tagata code, 2...Code matrix,
3...Reference line, 4...Sheet, 5...Light source, 6...
... Lens, 7 ... Two-dimensional image sensor, 8 ... Preamplifier, 10 ... Drive circuit, 11 ... Clock generator, 12 ... DMA controller, 13 ...
...Frame memory, 14...Control circuit, 15...
Output circuit, 16... Display, 17... Trigger circuit, 18... Output end, 19... Reading unit.

Claims (1)

【特許請求の範囲】[Claims] 1 4つの方形の網目を田の字状に組合せること
により構成され、かつ各網目の色の濃淡によつて
コードを表示する田形コードを複数個たがいに所
定の間隔をおいて行列状に配列することによりコ
ードマトリクスを形成し、このコードマトリクス
の四隅の外側にこのコードマトリクスと所定の間
隔を維持して所定の寸法を有するかぎ形の基準線
を設け、その基準線と上記コードマトリクスとの
相対的な位置関係から上記各田形コードの中心座
標を算出し、その中心から各網目のコードを読取
るようにしたことを特徴とする田形コードの読取
り方法。
1 A plurality of T-shape codes, which are constructed by combining four square meshes in a T-shape and display the code by the shade of the color of each mesh, are arranged in a matrix at predetermined intervals. A code matrix is formed by forming a code matrix, and a hook-shaped reference line having a predetermined dimension is provided at a predetermined distance from the code matrix on the outside of the four corners of the code matrix, and the reference line and the above-mentioned code matrix are connected. A method for reading a tag code, characterized in that the center coordinates of each tag code are calculated from the relative positional relationship, and the code of each mesh is read from the center.
JP62255321A 1987-10-09 1987-10-09 Method for reading quadruple square-shaped code Granted JPH0198087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62255321A JPH0198087A (en) 1987-10-09 1987-10-09 Method for reading quadruple square-shaped code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62255321A JPH0198087A (en) 1987-10-09 1987-10-09 Method for reading quadruple square-shaped code

Publications (2)

Publication Number Publication Date
JPH0198087A JPH0198087A (en) 1989-04-17
JPH0437466B2 true JPH0437466B2 (en) 1992-06-19

Family

ID=17277157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62255321A Granted JPH0198087A (en) 1987-10-09 1987-10-09 Method for reading quadruple square-shaped code

Country Status (1)

Country Link
JP (1) JPH0198087A (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR9006870A (en) * 1989-08-02 1991-08-27 Hirokazu Yoshida DIGITAL DATA READER OF DIGITAL DATA RECORD SHEET
US5245165A (en) * 1991-12-27 1993-09-14 Xerox Corporation Self-clocking glyph code for encoding dual bit digital values robustly
WO1994008314A1 (en) * 1992-09-28 1994-04-14 Olympus Optical Co., Ltd. Dot code and information recording/reproducing system for recording/reproducing dot code
JP2726969B2 (en) * 1992-11-16 1998-03-11 カシオ計算機株式会社 Data reader
JPH07220035A (en) * 1993-12-22 1995-08-18 Xerox Corp Optically readable record
JP2784502B2 (en) * 1996-11-18 1998-08-06 帝菱産業株式会社 Method and apparatus for recording and reading two-dimensional data on digital data recording paper.
JP2737755B2 (en) * 1996-12-09 1998-04-08 カシオ計算機株式会社 Data reader

Also Published As

Publication number Publication date
JPH0198087A (en) 1989-04-17

Similar Documents

Publication Publication Date Title
KR100263734B1 (en) Two-dimensional code symbol mark decoding method
US7032823B2 (en) Two-dimensional code, methods and apparatuses for generating, displaying and reading the same
JP3191999B2 (en) Barcode symbol reader
JP3515199B2 (en) Defect inspection equipment
JP4729048B2 (en) Pattern recording medium, absolute coordinate recognition method, storage medium, and absolute coordinate recognition system
JPH08185492A (en) Digital information recording carrier, method and device for recording digital information, and method and device for converting digital information into plain one
US4942621A (en) Method for mapping scanned pixel data
JP4338405B2 (en) Size measuring system and size measuring device
US5327252A (en) Print evaluation apparatus
JPH0437466B2 (en)
JPH0431435B2 (en)
CN113506276A (en) Marker and method for measuring structure displacement
EP0549765B1 (en) A method of representing binary data
JPH10160422A (en) Three-dimensional measuring instrument
JPH0413752B2 (en)
JP3499183B2 (en) Digital information record carrier, digital information recording method and apparatus, and digital information decoding method and apparatus
JPH04229287A (en) Printing evaluation device
JP2726969B2 (en) Data reader
TW390072B (en) Method for obtaining relative and absolute errors in longitudinal and latitudinal amplification ratio from a scanner
JP3119376B2 (en) Printing evaluation method and printing evaluation device
JP2767983B2 (en) Mark reader
JPS644388B2 (en)
JPH04227578A (en) Print evaluation device
JPH04229759A (en) Print evaluation device
JPS62551B2 (en)