JPH0431435B2 - - Google Patents
Info
- Publication number
- JPH0431435B2 JPH0431435B2 JP62229864A JP22986487A JPH0431435B2 JP H0431435 B2 JPH0431435 B2 JP H0431435B2 JP 62229864 A JP62229864 A JP 62229864A JP 22986487 A JP22986487 A JP 22986487A JP H0431435 B2 JPH0431435 B2 JP H0431435B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- coordinates
- tagata
- codes
- field
- 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
Links
Description
【発明の詳細な説明】
〔発明の対象技術分野〕
この発明は1つのコードで数ビツトの情報を表
わす田形コードを複数配列したコードマトリクス
における各田形コードの網目のコードを読取る方
法に関するものである。[Detailed Description of the Invention] [Technical field to which the invention is directed] 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 shape codes each representing several bits of information are arranged in one code. .
従来商品などの包装にコードを印刷し、さまざ
まな管理に利用している。このコードは一般に黒
と白の線の太さと配列によりコードを表現するい
わゆるバーコードが用いられるが、そのバーコー
ドには次のような問題点がある。すなわちバーコ
ードは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, which displays a code by selectively coloring each mesh in black or white. This results in code 2
Dimensional arrangement is possible, allowing more information to be expressed; therefore, it is possible to draw only the frame of the field and write codes by selectively filling in each mesh like a mark sheet. It became like this,
Moreover, 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.
この発明はこのような従来の欠点にかんがみ、
田形コードの位置を正確に知るとともに、そのデ
ータを正確に読取ることを目的とするものであ
る。
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.
この発明はその目的を達成するために複数個の
田形コードによりコードマトリクスを形成し、こ
のコードマトリクスの周囲にこのコードマトリク
スと所定の間隔を維持して長方形の基準線を設
け、その基準線とコードマトリクスとの相対的な
位置関係から田形コードの中心座標を算出し、そ
の中心から各網目のコードを読取るようにしたも
ので、これによつてコードを入手で画くことがで
き、また田形コードの画像が回転方向にずれてい
るばあいにも各網目の位置を正確に読取ることが
できる。
In order to achieve the object, the present invention forms a code matrix using a plurality of Tagata code, and provides a rectangular reference line around the code matrix at a predetermined distance from the code matrix. The central coordinates of the Tagata code are calculated from the relative positional relationship with the code matrix, and the code of each mesh is read from the center. The position of each mesh can be read accurately even if the images are shifted in the rotational direction.
以下図によつてこの発明の一実施例について説
明する。
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 it 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に設定される。したがつて基準線3の列方向
の寸法は6(M+1)となり、またその行方向の
寸法は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. A rectangular reference line 3 having a predetermined dimension is arranged around the code matrix 2, maintaining a predetermined distance from the code matrix. This reference line is the first
As shown in the figure, they are arranged 2 mm apart from each field code 1 located on the outer periphery of the code matrix 2, and the width, that is, the thickness of the line, is set to 2 mm. Therefore, the dimension of the reference line 3 in the column direction is 6(M+1), and the dimension in the row direction is 6(N+1).
次に第4図ないし第8図を参照してこの発明に
おける田形コードの読取り方法について簡単に説
明する。まず、縦横(X方向、Y方向)に画像を
走査して長方形を構成する各直線上、即ち基準線
3上の座標を得ることにより各直線の式を求め
る。次に、その各直線の式から各直線が交わる4
つの隅部(交点)C1、C2、C3、C4の座標を演算
し、その4つの隅部C1、C2、C3、C4の座標を基
準にして各田形コード1の相対的位置関係から各
田形コード1の中心座標Pijを演算した後、その
各田形コード1の中心座標Pijから各田形コード
1を構成する4つの網目(方形状のコード)の中
心座標Q1、Q2、Q3、Q4を演算する。最後に、網
目の中心座標Q1、Q2、Q3、Q4近傍における画素
を読取り、その画素の色の濃淡を判別することに
よりその各田形コード1の情報を読取る。このよ
うに、一旦各直線の式を求めてから隅部C1、C2、
C3、C4の座標を求めている理由は、隅部C1、C2、
C3、C4は走査によつて安定した画像が得られに
くく誤差が大きくなるからである。 Next, a method for reading tag format codes according to the present invention will be briefly explained with reference to FIGS. 4 to 8. First, the equation of each straight line is determined by scanning the image vertically and horizontally (X direction, Y direction) to obtain coordinates on each straight line forming a rectangle, that is, on the reference line 3. Next, from the equation of each straight line, the intersection of each straight line is 4
The coordinates of the four corners (intersection points) C 1 , C 2 , C 3 , and C 4 are calculated, and the coordinates of each corner code 1 are calculated based on the coordinates of the four corners C 1 , C 2 , C 3 , and C 4 . After calculating the center coordinates P ij of each field code 1 from the relative positional relationship, the center coordinates Q of the four meshes (rectangular codes) constituting each field code 1 are calculated from the center coordinates P ij of each field code 1. 1 , Q 2 , Q 3 , and Q 4 are calculated. Finally, pixels near the center coordinates Q 1 , Q 2 , Q 3 , and Q 4 of the mesh are read, and the information of each field shape code 1 is read by determining the shade of color of the pixels. In this way, once the equation of each straight line is determined, the corners C 1 , C 2 ,
The reason why we are finding the coordinates of C 3 and C 4 is because the corners C 1 , C 2 ,
This is because it is difficult to obtain a stable image by scanning C 3 and C 4 and the error becomes large.
第4図には長方形の基準線3によつて決まる4
つの隅部C1、C2、C3、C4が示してある。図中の
xとyは基準線3に対して傾いた方向で表示して
ある。これは一般に取込まれた画像のx方向とy
方向が基準線と平行であるとは限らないからであ
る。 Figure 4 shows 4 determined by the rectangular reference line 3.
Three corners C 1 , C 2 , C 3 and C 4 are shown. In the figure, x and y are shown in directions inclined with respect to the reference line 3. This generally corresponds to the x and y directions of the captured image.
This is because the direction is not necessarily parallel to the reference line.
次に、この発明の田形コードの読取り方法につ
いて詳細に説明する。 Next, the method for reading the Tagata code of the present invention will be explained in detail.
今、読取り装置のカメラ部の像倍率が一定であ
るとする。まず1つの辺を得ることを考える。画
像中の長方形の枠は±45度の範囲に傾きが収まつ
ているとする。第5図は画像中に収まつた長方形
の枠である。図中のx方向に走査をしながら黒い
画素がある個数つらなつて検出できるラインを探
す。ある個数は枠の太さが画像中で対応する画素
数の8割とする。この最初の検出ラインの初めて
の黒画素の座標と、このラインを逆に走査したと
きの初めての黒画素の座標を記憶する(第5図の
A1とB1)。次にy方向にy0だけ離れた走査ライン
を走査してA2とB2の座標を記憶する。最後にも
う一度y方向にy0だけ離れた走査ラインを走査し
A3とB3の座標を記憶する。このy0は長方形の枠
が45度傾いたときに短かいほうの辺を検出できる
3本の走査線の最大間隔である。 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 rectangular frame in the image has an inclination within a range of ±45 degrees. FIG. 5 shows a rectangular frame that fits within the image. While scanning in the x direction in the figure, search for a line where the number of black pixels can be detected. For a certain number, the thickness of the frame is 80% of the corresponding number of pixels in the image. The coordinates of the first black pixel on this first detection line and the coordinates of the first black pixel when scanning this line in reverse are memorized (see Figure 5).
A1 and B1 ). Next, scan lines separated by y 0 in the y direction and store the coordinates of A 2 and B 2 . Finally, scan the scan line y 0 apart in the y direction once again.
Memorize the coordinates of A 3 and B 3 . This y 0 is the maximum interval between three scanning lines that can detect the shorter side when the rectangular frame is tilted by 45 degrees.
得られたA1〜A3、B1〜B3についてx方向の変
化の少ないほうの点列を採用する。たとえば長方
形の枠の長辺の傾きが0度〜45度のときはA1〜
A3が採用される(第7図イ)。傾きが0度〜−45
度のときはB1〜B3が採用される(第7図ロ)。 Of the obtained points A 1 to A 3 and B 1 to B 3 , the point sequence with the least change in the x direction is adopted. For example, if the long side of the rectangular frame has an inclination of 0 degrees to 45 degrees, A 1 to
A 3 is adopted (Figure 7a). Tilt is 0 degrees to -45
In the case of degree, B 1 to B 3 are adopted (Figure 7 b).
得られた点列がA1〜A3であるときには、第7
図イのように走査をしていく。最初の走査によつ
て得られたA1とB1を記憶しておく。次に、走査
の始点と走査方向を時計回りに90度回転させて走
査を開始する。この走査で初めて黒の画素列が前
に決めた個数続く走査ラインを求める。そしてこ
のラインで左から走査して初めてあらわれる黒の
画素A4の座標と逆に走査したときの初めての黒
い画素B4の座標を求める。同様にして第7図イ
の中のA5、B5、A6、B6の座標を求める。求めた
8つの点(A1、B1、A4、B4、A5、B5、A6、B6)
より4つの辺の直線の式を求め、これらの交点と
して4つの隅部の座標を求める。得られた点列が
B1〜B3であるときには第7図ロのように走査し、
得られた点列がA1〜A3のときと同様にして4つ
の隅部の座標を求める。 When the obtained point sequence is A 1 to A 3 , the seventh
Scanning is performed as shown in Figure A. Store A 1 and B 1 obtained from the first scan. Next, start scanning by rotating the scanning starting point and scanning direction 90 degrees clockwise. For the first time in this scan, a scanning line in which black pixel columns continue for a predetermined number of times is determined. Then, find the coordinates of the black pixel A 4 that appears for the first time when scanning from the left on this line, and the coordinates of the first black pixel B 4 when scanning in the opposite direction. In the same way, find the coordinates of A 5 , B 5 , A 6 , and B 6 in Figure 7A. The eight points found (A 1 , B 1 , A 4 , B 4 , A 5 , B 5 , A 6 , B 6 )
Then, find the equations of the straight lines of the four sides, and find the coordinates of the four corners as their intersection points. The obtained point sequence is
When B 1 to B 3 , scan as shown in Figure 7 B,
The coordinates of the four corners are determined in the same manner as when the obtained point sequence is A1 to A3 .
すなわち 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, the 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 pitch xp of the field codes 1 and 1 in the row direction can be found. Similarly, by dividing the length of the line segment C 1 C 4 by M+1, the pitch yp in the column direction of the tag type codes 1 and 1 can be found.
In actual measurements, to reduce errors, xp uses line segments C 1 C 2 and C 3 C 4 , and yp 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方向ともとつている。そ
こで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, find the center coordinates of the Tagata code closest to C 1.
Let's say 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, the center coordinate Pij of the Tagata code in the i-th row and the j-th column is expressed by the following equation.
Px=xpi、py=ypj ……(4)
第5図には田形コードの中心と各網目の中心と
の関係を示してある。各網目の中心座標Q1、Q2、
Q3、Q4は次式となる。Px=xpi, py=ypj...(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.
実際の画像中の座標は、長方形の辺の方向を軸
とした座標系とθの角をなしているので次式のよ
うになる。 The coordinates in the actual image form an angle θ with the coordinate system with the axis of the sides of the rectangle as the following equation.
こうして求まつた各網目の中心を中心とした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 value of the field code 1 is decoded. 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.
以上のアルゴリズムを実現するための読取り装
置のブロツク図を第10図に示す。4は田形コー
ド1,1の行列の書かれたシート、5は光源、6
はレンズ、7は2次元撮像素子である。光源5に
よつてシート4の上に書かれてある田形コード
1,1を照明する。照明された田形コード1,1
の像をレンズ6によつて2次元撮像素子7上へ結
像する。2次元撮像素子はクロツクジエネレータ
11によつて生成されたクロツクから駆動回路1
0を通つて生成された駆動信号により各画素のア
ナログデータを出力する。出力されたアナログデ
ータはプリアンプ8を通して増幅され2値化回路
9へ送られる。2値化回路では送られてきたアナ
ログ信号を予め決めておいた基準電圧と比較し、
2値化データに変換する。このときクロツクジエ
ネレータから生成されたクロツクをDMAコント
ローラ12が受け、フレームメモリ13に対して
アドレスを生成し、与える。このときに送られて
きた2値化データをフレームメモリに記憶する。
制御回路14はトリガー回路17からの信号を受
け、画像データ入力信号をDMAコントローラ1
2に与える。したがつてトリガーがかかつたとき
の画像データが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 with the matrix of Tagata code 1, 1 written, 5 is a light source, 6
is a lens, and 7 is a two-dimensional image sensor. The field codes 1, 1 written on the sheet 4 are illuminated by a light source 5. Illuminated Tagata code 1,1
is formed onto a two-dimensional image sensor 7 by a lens 6. The two-dimensional image sensor is driven by a drive circuit 1 from a clock generated by a clock generator 11.
Analog data of each pixel is output by a drive signal generated through 0. The output analog data is amplified through a preamplifier 8 and sent to a binarization circuit 9. The binarization circuit compares the analog signal sent to it with a predetermined reference voltage,
Convert to 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 the signal from the trigger circuit 17 and sends the image data input signal to the DMA controller 1.
Give to 2. Therefore, the image data when the trigger is applied is binarized and stored in the frame memory 13.
is memorized. After inputting the image, the control circuit 14 executes the above-described taga code reading algorithm, displays the result on the display 16, and outputs a signal to an external device through the output circuit 15.
第9図には読取り装置の外観の一例と使用法を
示す。19は読取り装置の読取り部で、光源5か
らの光でシート4を照明し、画像を取込む。画像
の入力はトリガー用スイツチ20を押すことによ
つて行われる。田形コード1,1の解読が終了し
たら、その結果はデイスプレイ16に表示され
る。またその結果は外部機器に対し出力端18を
通して送られる。 FIG. 9 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.
以上のように、この発明によれば縦横に画像を
走査して長方形を構成する各直線上の座標を得る
ことにより各直線の式を求め、その各直線の式か
ら各直線が交わる4つの交点の座標を演算し、そ
の4つの交点の座標を基準にして各田形コードの
相対的な位置関係からその各田形コードの中心座
標を演算した後、その各田形コードの中心座標か
ら各田形コードを構成する4つの方形状のコード
の中心座標を演算し、その4つの方形状のコード
の中心座標近傍における画素を読取り、その画素
の色の濃淡を判別することによりその各田形コー
ドの情報を読取るようにしたので、画像が傾いて
いる場合においても傾きが90°未満であれば各田
形コードの位置を正確に認識できるため、各田形
コードの情報の読取りが正確になるとともに、読
取り装置の位置合せを厳密に行う必要がなくなる
などの効果がある。
As described above, according to the present invention, the formula of each straight line is obtained by scanning the image vertically and horizontally to obtain the coordinates on each straight line forming a rectangle, and from the formula of each straight line, the four intersection points where each straight line intersects are determined. Calculate the coordinates of the four intersection points, calculate the center coordinates of each field code from the relative positional relationship of each field code, and then calculate each field code from the center coordinates of each field code. Calculate the center coordinates of the four rectangular codes that make up the code, read the pixels near the center coordinates of the four rectangular codes, and read the information of each field code by determining the shade of color of the pixel. Therefore, even if the image is tilted, the position of each tag code can be accurately recognized as long as the tilt is less than 90°. This makes it possible to read the information on each tag code accurately, and also to determine the position of the reader. This has the effect of eliminating the need to strictly perform alignment.
第1図はこの発明における田形コードの読取り
方法の一実施例を示すもので、そのパターンの配
置図、第2図は田形コードの基本的な構成図、第
3図は田形コードの表示例を示す構成図、第4
図、第5図、第6図、第7図および第8図は読取
り方法の説明図、第9図は読取り装置の外観斜視
図、第10図は読取り装置のブロツク図である。
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
5, 6, 7 and 8 are explanatory diagrams of the reading method, FIG. 9 is an external perspective view of the reading device, and FIG. 10 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 section.
Claims (1)
所定の間隔をもつて行列状に配列された複数個の
田形コードから情報を読取る際、縦横に画像を走
査して上記長方形を構成する各直線上の座標を得
ることにより各直線の式を求め、その各直線の式
から各直線が交わる4つの交点の座標を演算し、
その4つの交点の座標を基準にして上記各田形コ
ードの相対的な位置関係からその各田形コードの
中心座標を演算した後、その各田形コードの中心
座標から各田形コードを構成する4つの方形状の
コードの中心座標を演算し、その4つの方形状の
コードの中心座標近傍における画素を読取り、そ
の画素の色の濃淡を判別することによりその各田
形コードの情報を読取る田形コードの読取り方
法。1. When reading information from a plurality of Tagata codes arranged in rows and columns at predetermined intervals within a rectangular frame used as a reference line, the image is scanned vertically and horizontally on each straight line that makes up the rectangle. By obtaining the coordinates of
After calculating the center coordinates of each field code from the relative positional relationship of each field code using the coordinates of the four intersection points as a reference, the four directions constituting each field code are calculated from the center coordinates of each field code. A method for reading tag shape codes that calculates the center coordinates of the shape code, reads pixels in the vicinity of the center coordinates of the four rectangular codes, and reads information on each tag shape code by determining the shade of color of the pixel. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62229864A JPS6473478A (en) | 1987-09-16 | 1987-09-16 | Method for reading square with cross-shaped code |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62229864A JPS6473478A (en) | 1987-09-16 | 1987-09-16 | Method for reading square with cross-shaped code |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6473478A JPS6473478A (en) | 1989-03-17 |
| JPH0431435B2 true JPH0431435B2 (en) | 1992-05-26 |
Family
ID=16898894
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62229864A Granted JPS6473478A (en) | 1987-09-16 | 1987-09-16 | Method for reading square with cross-shaped code |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6473478A (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2572132Y2 (en) * | 1989-06-08 | 1998-05-20 | カシオ計算機株式会社 | Data reader |
| JPH036747U (en) * | 1989-06-08 | 1991-01-23 | ||
| JPH0755639Y2 (en) * | 1989-06-08 | 1995-12-20 | カシオ計算機株式会社 | Data reader |
| JPH036750U (en) * | 1989-06-08 | 1991-01-23 | ||
| JPH0456989A (en) * | 1990-06-26 | 1992-02-24 | Harada Seisakusho:Yugen | Managing plate and managing system for article or the like |
| JPH0823880B2 (en) * | 1993-01-08 | 1996-03-06 | 有限会社原田製作所 | Board for managing goods |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6165375A (en) * | 1984-09-06 | 1986-04-03 | Kyoritsu Denshi Sangyo Kk | Mark code and reading device |
-
1987
- 1987-09-16 JP JP62229864A patent/JPS6473478A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6473478A (en) | 1989-03-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100263734B1 (en) | Method of decoding two-dimensional code symbol mark | |
| KR100275007B1 (en) | Barcode reader | |
| EP1443452A2 (en) | Two-dimensional code, methods and apparatuses for generating, displaying and reading same | |
| KR20070119760A (en) | Encoding Paper for Optical Reading | |
| JP2016139026A (en) | Image formation device | |
| US4942621A (en) | Method for mapping scanned pixel data | |
| JP3716527B2 (en) | 2D code reading method | |
| JP4338405B2 (en) | Size measuring system and size measuring device | |
| GB2259764A (en) | A device for measuring the three dimensional shape of an elongate member | |
| EP0477037B1 (en) | A print evaluation apparatus | |
| JPH0431435B2 (en) | ||
| JPH0437466B2 (en) | ||
| CN101133424A (en) | Systems and methods for detecting absolute coordinates | |
| JPH0356402B2 (en) | ||
| EP0549765B1 (en) | A method of representing binary data | |
| JPH10160422A (en) | Three-dimensional measuring instrument | |
| JPS6165375A (en) | Mark code and reading device | |
| JPH0413752B2 (en) | ||
| JP4102742B2 (en) | Optical information reader and image data analysis method | |
| JP4102741B2 (en) | Optical information reader and image data analysis method | |
| JPH118734A (en) | Image reading device | |
| JP2767983B2 (en) | Mark reader | |
| JPH05314298A (en) | Data reader | |
| JPH0793451A (en) | Bar code symbol reader | |
| JPS62551B2 (en) |