JP5187382B2 - Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus - Google Patents

Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus Download PDF

Info

Publication number
JP5187382B2
JP5187382B2 JP2010276999A JP2010276999A JP5187382B2 JP 5187382 B2 JP5187382 B2 JP 5187382B2 JP 2010276999 A JP2010276999 A JP 2010276999A JP 2010276999 A JP2010276999 A JP 2010276999A JP 5187382 B2 JP5187382 B2 JP 5187382B2
Authority
JP
Japan
Prior art keywords
image
divided
code
dimensional code
division
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 - Fee Related
Application number
JP2010276999A
Other languages
Japanese (ja)
Other versions
JP2011054211A (en
Inventor
元秋 渡部
久志 重草
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2010276999A priority Critical patent/JP5187382B2/en
Publication of JP2011054211A publication Critical patent/JP2011054211A/en
Application granted granted Critical
Publication of JP5187382B2 publication Critical patent/JP5187382B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、2次元コードを分割して表示する方法、その分割された2次元コードを読み取る方法およびその読取装置に関するものである。   The present invention relates to a method of dividing and displaying a two-dimensional code, a method of reading the divided two-dimensional code, and a reading apparatus thereof.

2次元コードとしては、QRコード(登録商標)、マイクロQRコード、PDF417、データマトリクスなど多種多様のコードがある。QRコードは、例えば特許文献1に示されているように、正方形の表示エリアを持ち、そのエリアの3つの切り出しシンボルを有している。この切り出しシンボルは、QRコードを読み取る場合に、コードの位置、コードの大きさ、傾きなどを検出するためのもので、この切り出しシンボルの存在によって高速読み取りが可能となっている。
データマトリクスは、そのデータ表示領域を、連続した黒の表示セルで形成されたL字形の2辺と、白の表示セルと黒の表示セルとが交互に配置された逆L字形の2辺とで囲まれた構成となっており、データの記録領域の検出を容易にしている。PDF417は、その左右の端にスタートコード、ストップコードと呼ばれるシンボルを配置し、データ領域の検出を容易にしている。
QRコードを含めて2次元コードは、縦および横の両方向に広がりを持つため、分割して表示できれば、幅の狭い個所に2次元コードを表示する場合などに便利である。
As the two-dimensional code, there are various codes such as QR code (registered trademark), micro QR code, PDF417, and data matrix. For example, as shown in Patent Document 1, the QR code has a square display area and three cut-out symbols in the area. This cut-out symbol is used to detect the code position, code size, inclination, and the like when reading the QR code, and high-speed reading is possible due to the presence of this cut-out symbol.
In the data matrix, the data display area includes two L-shaped sides formed by continuous black display cells, and two inverted L-shaped sides in which white display cells and black display cells are alternately arranged. The data recording area is easily detected. The PDF 417 arranges symbols called start codes and stop codes at the left and right ends thereof to facilitate the detection of the data area.
Since the two-dimensional code including the QR code has a spread in both the vertical and horizontal directions, if it can be divided and displayed, it is convenient for displaying the two-dimensional code at a narrow portion.

特開2004−54581号公報JP 2004-54581 A

例えば、QRコードを分割して表示する場合、従来では、QRコードによって表示する情報(データ)そのものを複数に分け、その分けられた分割情報毎にQRコードを構成するようになっている。1つ1つの分割情報を記録したQRコードは、それ自身小型になるが、それぞれの3角部に切り出しシンボルを表示するため、1つ1つのQRコードに表示できる情報量はそれ程多くはない。従って、データを分割して小さな多数のQRコードを表示する場合、面積の利用効率が悪くなり、分割しないQRコードを配置する面席に比べ格段に広い面積を持った長い帯状の領域が必要であった。   For example, when a QR code is divided and displayed, conventionally, information (data) displayed by the QR code is divided into a plurality of pieces, and a QR code is configured for each divided division information. Each QR code in which each piece of division information is recorded is small in size. However, since a cut symbol is displayed at each corner, the amount of information that can be displayed in each QR code is not so large. Therefore, when data is divided and a large number of small QR codes are displayed, the use efficiency of the area is deteriorated, and a long belt-like area having a much larger area than a face seat where QR codes that are not divided are arranged is necessary. there were.

本発明は上記の事情に鑑みてなされたもので、その目的は、情報を記録した2次元コード画像を生成し、この2次元コード画像を分割することで、分割する前の面積と比べてそれ程大きくない細長い領域に記録することができる2次元コード分割表示方法、その分割された2次元コードを読み取る方法、およびその読取装置を提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to generate a two-dimensional code image in which information is recorded and divide the two-dimensional code image, so that the area before the division is much. An object of the present invention is to provide a two-dimensional code division display method, a method for reading the divided two-dimensional code, and a reading device thereof that can be recorded in a non-large elongated area.

請求項1の発明では、所望の情報が記録された2次元コード画像であって表示セルの行番号を記録した並び序列情報を含んだ2次元コード画像を、所望の行番号の表示セル行で縦方向に分割して出力する。
この請求項1の発明によれば、所望の情報が記録された2次元コード画像をそのまま複数に分割し、或いは、分割された画像に僅かな情報を付加するだけであるので、分割された分割コード画像には多くの情報を含ませることができる。このため、分割コード画像の数を少なくすることができる。
According to the first aspect of the present invention, a two-dimensional code image containing desired information recorded and including sequence information in which row numbers of display cells are recorded is displayed in a display cell row having a desired row number. Divide vertically and output.
According to the first aspect of the present invention, the two-dimensional code image in which desired information is recorded is divided into a plurality of pieces as they are, or only a small amount of information is added to the divided image. A lot of information can be included in the code image. For this reason, the number of divided code images can be reduced.

請求項2の発明では、2次元コードを縦方向または横方向に分割する場合、分割後の分割コード画像どうしの表示セルの行数または列数の差が0または1となるように分割位置を設定するので、複数の分割コード画像の大きさをほぼ同じにすることができる。   In the invention of claim 2, when the two-dimensional code is divided in the vertical direction or the horizontal direction, the division position is set so that the difference in the number of rows or columns of display cells between the divided divided code images is 0 or 1. Since it is set, the sizes of the plurality of divided code images can be made substantially the same.

請求項3の発明では、複数の分割コード画像を、縦方向および横方向の辺のうち、長さが短い方の辺が平行に対向するように配置するので、幅の狭い帯状の個所であっても、複数の分割コード画像を一列に並べて配置することができる。
請求項4の発明では、複数の分割コード画像を並べる場合、それら分割コード画像の相互間の間隔を、表示セルの幅の複数倍に定めたので、読取装置により複数の分割コード画像を取り込ませて1つの2次元コード画像として復元する場合、各分割コード画像の4頂
点を検出し易くなる。
請求項5の発明では、分割コード画像の周辺に、分割情報を示す補助シンボル画像を出力するので、読取装置により複数の分割コード画像を取り込ませて1つの2次元コード画像として復元する場合、その復元がし易くなる。
According to the invention of claim 3, since the plurality of divided code images are arranged so that the shorter side of the vertical and horizontal sides faces each other in parallel, it is a narrow strip-like portion. However, a plurality of divided code images can be arranged in a line.
In the invention of claim 4, when a plurality of divided code images are arranged, the interval between the divided code images is determined to be a multiple of the width of the display cell. When restoring as a two-dimensional code image, it is easy to detect the four vertices of each divided code image.
In the invention of claim 5, since the auxiliary symbol image indicating the division information is output around the divided code image, when the reading device captures a plurality of divided code images and restores them as one two-dimensional code image, It becomes easy to restore.

上記補助シンボル画像は、請求項6の発明のように、1次元バーコード画像または2次元コード画像から構成することができる。この場合、解読すべき2次元コード画像が特定パターンを持つものであれば、請求項7の発明のように、補助シンボル画像も、同じ特定パターンを持つ2次元コード画像から構成することができる。
補助シンボル画像は、請求項8の発明のように、その縦または横の長さが前記分割コード画像の縦または横の長さに等しく定めことができる。また、請求項9の発明のように、補助シンボル画像は、1個または1列に並べられた複数個の矩形の直線片からなる1本の連続または不連続な直線からなり、分割情報としては、直線片からなる補助シンボル画像の長さ方向が分割コード画像の分割方向の長さを示すものとすることができる。この場合において、請求項10の発明のように、補助シンボル画像は、複数本の直線片を所定の間隔を隔てて一列に配設した不連続な直線からなり、直線片の長さまたは直線片間の間隔が表示セルの幅の整数倍の長さを示すように構成することができる。また、請求項11の発明のように、補助シンボル画像を構成する直線片の幅は、前記表示セルの幅の整数倍とすることができる。
上記の補助シンボル画像を分割コード画像の周辺に配置する場合、請求項12の発明のように、補助シンボル画像の一辺が前記分割コード画像の短辺の一つと平行に対向するように前記表示セルの幅の整数倍の距離を隔てて配置することが好ましい。
The auxiliary symbol image can be composed of a one-dimensional barcode image or a two-dimensional code image, as in the sixth aspect of the invention. In this case, if the two-dimensional code image to be decoded has a specific pattern, the auxiliary symbol image can also be composed of a two-dimensional code image having the same specific pattern as in the invention of claim 7.
As in the invention of claim 8, the vertical or horizontal length of the auxiliary symbol image can be set equal to the vertical or horizontal length of the divided code image. Further, as in the ninth aspect of the invention, the auxiliary symbol image is composed of one continuous or discontinuous straight line composed of a plurality of rectangular straight pieces arranged in one or one row, and the division information is as follows. In addition, the length direction of the auxiliary symbol image formed of the straight piece may indicate the length of the divided code image in the division direction. In this case, as in the invention of claim 10, the auxiliary symbol image is composed of discontinuous straight lines in which a plurality of straight pieces are arranged in a line at a predetermined interval, and the length of the straight piece or the straight piece. It can be configured such that the interval between them indicates a length that is an integral multiple of the width of the display cell. According to the eleventh aspect of the present invention, the width of the straight piece constituting the auxiliary symbol image can be an integral multiple of the width of the display cell.
When the auxiliary symbol image is arranged around the divided code image, the display cell is arranged such that one side of the auxiliary symbol image faces one of the short sides of the divided code image in parallel as in the invention of claim 12. It is preferable to arrange them at a distance that is an integral multiple of the width of.

補助シンボル画像としては、請求項13の発明のように、複数の分割コード画像の配列方向を含ませることができる。この場合、補助シンボル画像は、請求項14の発明のように、1個または1列に並べられた複数個の矩形の直線片からなる1本の連続または不連続な直線として形成され、分割情報は、直線片からなる補助シンボル画像の長さ方向を分割コード画像の配列方向と一致させることによって示し、且つ、補助シンボル画像の長さは、配置された複数の補助シンボル画像の全体の長さに等しく設定することができる。また、補助シンボル画像は、請求項15の発明のように、複数本の直線片を所定の間隔を隔てて一列に配設した不連続な直線からなり、各直線片の長さは、表示セルの幅の整数倍に設定することができる。また、補助シンボル画像を構成する直線片の幅は、請求項16の発明のように、表示セルの幅の整数倍とすることができる。更に、分割コード画像の配列方向を含む分割情報を有する補助シンボル画像は、請求項17の発明のように、補助シンボル画像の一辺が前記分割コード画像の長辺の一つと平行に対向するように前記表示セルの幅の整数倍の距離を隔てて配置することが好ましい。   As an auxiliary symbol image, the arrangement direction of a plurality of divided code images can be included as in the invention of claim 13. In this case, the auxiliary symbol image is formed as one continuous or discontinuous straight line made up of a plurality of rectangular straight pieces arranged in one or one row, as in the invention of claim 14. Indicates that the length direction of the auxiliary symbol image composed of straight pieces matches the arrangement direction of the divided code images, and the length of the auxiliary symbol image is the total length of the plurality of auxiliary symbol images arranged. Can be set equal to. Further, as in the invention of claim 15, the auxiliary symbol image is composed of discontinuous straight lines in which a plurality of straight pieces are arranged in a line at a predetermined interval, and the length of each straight piece is the display cell. Can be set to an integer multiple of the width of. Further, the width of the straight piece constituting the auxiliary symbol image can be an integral multiple of the width of the display cell as in the invention of claim 16. Furthermore, the auxiliary symbol image having the division information including the arrangement direction of the divided code image is such that one side of the auxiliary symbol image faces one of the long sides of the divided code image in parallel as in the invention of claim 17. It is preferable to arrange the display cells at a distance that is an integral multiple of the width of the display cell.

請求項18,21の発明は、請求項1の方法によって分割された2次元コード画像を復元してこれを読み取ることができる。
請求項19,22の発明では、補助シンボル画像が示す分割情報によって分割コード画像の4頂点を迅速に検出することが可能となる。
請求項20,23の発明では、補助シンボル画像が示す分割情報によって分割コード画像の表示セルの位置を迅速に検出することが可能となる。
In the inventions of claims 18 and 21, the two-dimensional code image divided by the method of claim 1 can be restored and read.
In the inventions of claims 19 and 22, it is possible to quickly detect the four vertices of the divided code image based on the division information indicated by the auxiliary symbol image.
In the inventions of claims 20 and 23, the position of the display cell of the divided code image can be quickly detected by the division information indicated by the auxiliary symbol image.

本発明の第1の参考例を示し、分割QRコード画像を示す図The figure which shows the 1st reference example of this invention, and shows a division | segmentation QR Code image 分割QRコード画像を表示したプリント配線基板の平面図Plan view of printed wiring board displaying divided QR code image QRコードの一例を示す図Diagram showing an example of a QR code 他のQRコードを示す図Diagram showing another QR code 切り出しシンボルの検出方法の説明図Explanatory drawing of detection method of cut-out symbol コード分割装置のブロック図Block diagram of code divider 読取装置のブロック図Block diagram of reader QRコードの分割方向を示す図The figure which shows the division direction of QR Code マイクロQRコード補助シンボルを付加した分割QRコード画像を示す図The figure which shows the division | segmentation QR Code image which added the micro QR Code auxiliary symbol. 直線補助シンボルを付加した分割QRコード画像の一例を示す図The figure which shows an example of the division | segmentation QR Code image which added the straight line auxiliary symbol. 直線補助シンボルを付加した分割QRコード画像の他の例を示す図The figure which shows the other example of the division | segmentation QR Code image which added the straight line auxiliary symbol. 直線補助シンボルを付加した分割QRコード画像の更に異なる他の例を示す図The figure which shows another different example of the division | segmentation QR Code image which added the straight line auxiliary symbol. 付加パターンの位置を示す図Figure showing the position of the additional pattern 付加パターンを付加した分割QRコード画像を示す図The figure which shows the division | segmentation QR Code image which added the additional pattern. QRコード画像を分割する場合のフローチャートFlow chart for dividing a QR code image 分割QRコード画像を読み取る場合のフローチャートFlowchart for reading a divided QR code image マイクロQRコード補助シンボルが付加されている分割QRコード画像を読み取る場合のフローチャートFlowchart when reading a divided QR code image to which a micro QR code auxiliary symbol is added 直線補助シンボルが付加されている分割QRコード画像を読み取る場合のフローチャートFlowchart for reading a divided QR code image to which a straight auxiliary symbol is added プリント配線基板の分割QRコード画像表示部分の全体を撮像した画像を示す図The figure which shows the image which imaged the whole division | segmentation QR Code image display part of a printed wiring board プリント配線基板の分割QRコード画像表示部分を分割して撮像する場合の画像を示す図The figure which shows the image at the time of dividing and imaging the division | segmentation QR Code image display part of a printed wiring board 本発明の実施形態を示すもので、PDF417コード画像を示す図The figure which shows embodiment of this invention and shows a PDF417 code image 分割PDF417コード画像を読み取る場合のフローチャートFlow chart when reading divided PDF417 code image 本発明の第2の参考例を示すもので、マイクロQRコード画像を分解する場合の手順を示す図The figure which shows the 2nd reference example of this invention, and shows the procedure in the case of decomposing | disassembling a micro QR code image. 分割マイクロQRコード画像を読み取る場合の手順を示す図The figure which shows the procedure in the case of reading a division | segmentation micro QR code image. データマトリクスを分割する場合を示す図Diagram showing the case of dividing the data matrix

以下、本発明を実施形態により具体的に説明する。
(第1の参考例)
この参考例において、分割の対象とする2次元コードはQRコードである。まず、このQRコードについて図3を参照しながら説明する。図3に示すように、QRコード1は、3個の切り出しシンボルAとタイミングパターンTとデータ領域Bとから構成され、正方形の表示セルCが行方向(縦方向)と列方向(横方向)に同数ずつ並ぶように正方形をなしている。
Hereinafter, the present invention will be specifically described with reference to embodiments.
(First reference example)
In this reference example, the two-dimensional code to be divided is a QR code. First, the QR code will be described with reference to FIG. As shown in FIG. 3, the QR code 1 is composed of three cut-out symbols A, a timing pattern T, and a data area B, and a square display cell C has a row direction (vertical direction) and a column direction (horizontal direction). A square is formed so that the same number is lined up.

表示セルCは、1ビットの情報を白(明)と黒(暗)によって表現する。なお、図3では、表示セルCを1つだけ黒く塗りつぶして表示してある。切り出しシンボルAは、QRコード1の4つの角部のうち、3つの角部に配置されている。QRコード1が大きくなると、図4に示すように、データ領域B中に位置合せシンボルaが配置される。切り出しシンボルAは、図5(a)にも拡大して示されているように、黒の正方形枠(黒の表示セルCの集合)の中に白の正方形枠(白の表示セルCの集合)を描き、更に白の正方形枠の中に黒の正方形を描いたパターンのものである。この切り出しシンボルAの外側の黒の正方形枠の枠の太さは表示セルCの幅と同じ、白の正方形枠の枠の太さも表示セルCの幅と同じ、中心の黒い正方形の幅は表示セルCの幅の3倍に設定されている。   The display cell C expresses 1-bit information by white (bright) and black (dark). In FIG. 3, only one display cell C is displayed in black. The cutout symbol A is arranged at three corners of the four corners of the QR code 1. When the QR code 1 increases, the alignment symbol a is arranged in the data area B as shown in FIG. The cutout symbol A is a white square frame (a set of white display cells C) in a black square frame (a set of black display cells C) as shown in an enlarged manner in FIG. ) And a black square in a white square frame. The width of the black square frame outside the cutout symbol A is the same as the width of the display cell C, the thickness of the white square frame is also the same as the width of the display cell C, and the width of the central black square is displayed. It is set to 3 times the width of the cell C.

タイミングパターンTは、3個の切り出しシンボルAの相互間に、白の表示セルCと黒の表示セルCを交互に配置して構成されている。位置合せシンボルaは、切り出しシンボルAと同様のパターンであるが、外側の黒の正方形枠の枠の太さ、白の正方形枠の枠の太さ、中心の黒い正方形の幅は、全て表示セルCの幅と同じに設定されている。これらタイミングパターンTや位置合せシンボルaは、読み取り時の撮影画像の歪を校正するなどの目的で配置される。データ領域Bには、白および黒の表示セルCを縦横に並べることによって、所望の情報を表現できるようになっており、このデータ領域Bには、誤り訂正のためのリードソロモン符号のデータも配置されている。なお、図3、図4おいて、便宜上、データ領域Bの表示セルCの白黒のパターンは省略してある。   The timing pattern T is configured by alternately arranging white display cells C and black display cells C between three cutout symbols A. The alignment symbol a has the same pattern as the cutout symbol A, but the thickness of the outer black square frame, the thickness of the white square frame, and the width of the central black square are all displayed cells. It is set to be the same as the width of C. These timing pattern T and alignment symbol a are arranged for the purpose of calibrating the distortion of the captured image at the time of reading. In the data area B, white and black display cells C are arranged vertically and horizontally so that desired information can be expressed. In this data area B, Reed-Solomon code data for error correction is also included. Has been placed. 3 and 4, the black and white pattern of the display cell C in the data area B is omitted for convenience.

QRコード画像を分割して出力するための装置2は、図6に示されている。このコード分割装置2は、パソコン3を主体として構成されている。パソコン3は、周知のように制御部(制御手段)4に入力部5、表示部6、記憶部7などを接続して構成されている。制御部4は、図示はしないがCPU、ROM、RAMなどを備えている。入力部5は、キーボードやマウスなどからなり、表示部6は、液晶ディスプレイなどから構成され、記憶部7は、ハードディスクなどから構成されている。そして、このパソコン3の制御部4には、出力部としての出力装置8が接続されている。   An apparatus 2 for dividing and outputting a QR code image is shown in FIG. The code dividing device 2 is configured mainly with a personal computer 3. As is well known, the personal computer 3 is configured by connecting an input unit 5, a display unit 6, a storage unit 7 and the like to a control unit (control means) 4. The control unit 4 includes a CPU, a ROM, a RAM, and the like (not shown). The input unit 5 includes a keyboard and a mouse, the display unit 6 includes a liquid crystal display, and the storage unit 7 includes a hard disk. An output device 8 as an output unit is connected to the control unit 4 of the personal computer 3.

上記記憶部7には、入力部5から入力された文字情報などからなる情報をQRコード化してQRコード画像を生成し、且つ生成したQRコード画像を複数に分割するためのコード分割プログラムなどが記憶されている。そして、1つのQRコード画像を分割して得た複数の分割コード画像は、出力装置8により出力される。この出力装置8としては、分割QRコード画像を設ける相手が紙片であればプリンタを用い、プリント配線基板に設ける場合には、レーザ装置を用いて直接プリント配線基板に焼き付けるようにしても良い。   The storage unit 7 includes a code division program or the like for generating QR code images by QR-coding information including character information input from the input unit 5 and dividing the generated QR code image into a plurality of pieces. It is remembered. A plurality of divided code images obtained by dividing one QR code image are output by the output device 8. As the output device 8, a printer is used if the counterpart to which the divided QR code image is provided is a piece of paper, and when it is provided on the printed wiring board, it may be directly printed on the printed wiring board using a laser device.

複数の分割コード画像から元のQRコード画像に復元して読み取る(デコード)ための読取装置9は、図7に示されている。図7に示すように、この読取装置9は、読取対象部分を撮像するカメラ部10、A/D変換器11、2値化回路12、クロック発生回路13、アドレス発生回路14、アドレス記憶メモリ15、画像メモリ16、液晶表示器17、外部機器との間でデータの送受を行う入出力回路18、および制御手段としての制御回路19などから構成されている。   FIG. 7 shows a reading device 9 for restoring (decoding) an original QR code image from a plurality of divided code images. As shown in FIG. 7, the reading device 9 includes a camera unit 10 that images a portion to be read, an A / D converter 11, a binarization circuit 12, a clock generation circuit 13, an address generation circuit 14, and an address storage memory 15. The image memory 16, the liquid crystal display 17, an input / output circuit 18 for transmitting / receiving data to / from an external device, a control circuit 19 as control means, and the like.

上記カメラ部10は、受光素子としてのCCDを縦横に配列して構成された2次元画像検出手段としてのCCDエリアセンサ20、読取対象部を照明する照明手段としてのLED(発光ダイオード)21、読取対象部分からの反射光をCCDエリアセンサ20上に結像するレンズ22から構成されている。CCDエリアセンサ20は、2次元画像を検出すると、その2次元画像を水平方向の走査線信号としてA/D変換器11に出力する。A/D変換器11は、CCDエリアセンサ20から出力されたアナログの走査線信号を多段階のレベルからなるデジタル信号に変換する。   The camera unit 10 includes a CCD area sensor 20 as a two-dimensional image detecting unit configured by arranging CCDs as light receiving elements vertically and horizontally, an LED (light emitting diode) 21 as an illuminating unit that illuminates a reading target unit, and reading. The lens 22 is configured to image the reflected light from the target portion on the CCD area sensor 20. When detecting the two-dimensional image, the CCD area sensor 20 outputs the two-dimensional image to the A / D converter 11 as a scanning line signal in the horizontal direction. The A / D converter 11 converts the analog scanning line signal output from the CCD area sensor 20 into a digital signal having multiple levels.

一方、クロック発生回路13は、CCDエリアセンサ20から出力される同期パルスに応じて、当該CCDエリアセンサ20が出力する走査線信号のパルスよりも細かいクロックパルスを出力する。アドレス発生回路14は、クロック発生回路13から出力されるパルスをカウントして画像メモリ16に対するアドレスを発生させる。そして、制御回路19は、多段階レベルの走査線信号をアドレス発生回路14により定められた画像メモリ16のアドレスに記憶させる。なお、制御回路19は、CPU、RAM、ROMなどを備えたマイクロコンピュータシステムからなる。   On the other hand, the clock generation circuit 13 outputs a clock pulse finer than the pulse of the scanning line signal output from the CCD area sensor 20 according to the synchronization pulse output from the CCD area sensor 20. The address generation circuit 14 counts the pulses output from the clock generation circuit 13 and generates an address for the image memory 16. Then, the control circuit 19 stores the multi-level scanning line signal at the address of the image memory 16 determined by the address generation circuit 14. The control circuit 19 includes a microcomputer system that includes a CPU, RAM, ROM, and the like.

ところで、QRコード1において、切り出しシンボルAは、読取装置9が撮像した画像中でのQRコード画像の位置、大きさおよび傾きなどを検出するためのものである。ここで切り出しシンボルAを検出し、QRコード1を読み取る場合に適用して上記読取装置9の各部の機能を説明する。なお、ここでは、QRコードは、図3に示す分割されていないQRコードであり、切り出しシンボルAを3つの角部に配置したものであるとする。   By the way, in the QR code 1, the cut-out symbol A is for detecting the position, size, inclination, and the like of the QR code image in the image captured by the reading device 9. Here, the function of each unit of the reading device 9 will be described by applying to the case where the cutout symbol A is detected and the QR code 1 is read. Here, the QR code is an undivided QR code shown in FIG. 3, and the cut-out symbols A are arranged at three corners.

CCDエリアセンサ21は、QRコード画像を含む2次元画像を検出すると、その2次元画像を水平方向の走査線信号としてA/D変換器11に出力する。A/D変換器11は、CCDエリアセンサ20から出力されたアナログの走査線信号を多段階のレベルからなるデジタル信号にして2値化回路12と制御回路19に送る。2値化回路12は、制御回路19に指示されたレベルで走査線信号を2値化し、その2値化された走査線信号を制御回路19に送る。そして、制御回路19は、2値化された走査線信号をアドレス発生回路14により定められた画像メモリ16のアドレスに記憶させる。   When the CCD area sensor 21 detects a two-dimensional image including a QR code image, the CCD area sensor 21 outputs the two-dimensional image to the A / D converter 11 as a horizontal scanning line signal. The A / D converter 11 converts the analog scanning line signal output from the CCD area sensor 20 into a digital signal having multi-stage levels, and sends the digital signal to the binarization circuit 12 and the control circuit 19. The binarization circuit 12 binarizes the scanning line signal at a level designated by the control circuit 19 and sends the binarized scanning line signal to the control circuit 19. Then, the control circuit 19 stores the binarized scanning line signal at the address of the image memory 16 determined by the address generation circuit 14.

一方、制御回路19は、A/D変換器11から出力された多段階の走査線信号を例えば自身が有するRAMに記憶する。このとき、RAMに記憶された多段階の走査線信号のアドレスと、画像メモリ16に記憶された2値化された走査線信号のアドレスとは、一対一の関係をもって画像メモリ16に記憶される。   On the other hand, the control circuit 19 stores the multistage scanning line signal output from the A / D converter 11 in, for example, a RAM included in the control circuit 19. At this time, the address of the multi-stage scanning line signal stored in the RAM and the binarized scanning line signal address stored in the image memory 16 are stored in the image memory 16 in a one-to-one relationship. .

制御回路19は、画像メモリ16に記憶された2値の走査線信号(2次元画像)に基づいて、分割コード画像の切り出しシンボルAを検出する。すなわち、図5(a)に示すような、切り出しシンボルAの中心を代表的な角度で横切る走査線(イ),(ロ),(ハ)での明暗パターンは、図5(b)に示す通り、全て同じ明暗成分比になっている。具体的な明暗成分比は、暗:明:暗:明:暗=1:1:3:1:1である。もちろん、走査線(イ),(ロ),(ハ)の中間の角度の走査線においても、その明暗成分比を維持する。
このことから、制御回路19は、この「1:1:3:1:1」なる明暗成分比となるところを検出し、これを検出した場合、その明暗成分比を持つ画像メモリ16のアドレスをアドレス記憶メモリ15に記憶させる。そして、制御回路19は、切り出しシンボルAの存在するアドレスに基づいて、3つの切り出しシンボルAの間の間隔を求め、この間隔からQRコードのセル数を算出する。
The control circuit 19 detects the cutout symbol A of the divided code image based on the binary scanning line signal (two-dimensional image) stored in the image memory 16. That is, as shown in FIG. 5A, the light / dark pattern on the scanning lines (A), (B), and (C) crossing the center of the cutout symbol A at a representative angle is shown in FIG. 5B. As you can see, they all have the same light / dark ratio. A specific light / dark component ratio is dark: light: dark: light: dark = 1: 1: 3: 1: 1. Of course, the light / dark component ratio is maintained even in the scanning line having an intermediate angle between the scanning lines (a), (b), and (c).
From this, the control circuit 19 detects the light / dark component ratio of “1: 1: 3: 1: 1”, and when this is detected, the address of the image memory 16 having the light / dark component ratio is detected. It is stored in the address storage memory 15. Then, the control circuit 19 obtains an interval between the three cutout symbols A based on the address where the cutout symbol A exists, and calculates the number of QR code cells from this interval.

次に、制御回路19は、切り出しシンボルAからQRコード1の外形の大きさを求め、外形の大きさをセル数で分割して各セルの中心の位置を、QRコード11の座標上の位置として求める。そして、制御回路19は、RAMに記憶した多段階の走査線信号から各セルの中心座標上での輝度を検出し、白と黒を区別するための閾値により2値化して画像メモリ18に記憶する。このようにしてQRコード画像の明暗パターンが画像メモリ16に記憶される。そして、制御回路19は、この明暗パターンに基づいて、QRコード1を読み取る(デコード)。   Next, the control circuit 19 obtains the outline size of the QR code 1 from the cutout symbol A, divides the outline size by the number of cells, and determines the position of the center of each cell as the position on the coordinates of the QR code 11. Asking. Then, the control circuit 19 detects the luminance on the center coordinate of each cell from the multi-stage scanning line signal stored in the RAM, binarizes it with a threshold value for distinguishing between white and black, and stores it in the image memory 18. To do. In this way, the light / dark pattern of the QR code image is stored in the image memory 16. The control circuit 19 reads (decodes) the QR code 1 based on this light / dark pattern.

次に、1つのQRコード1を分割して出力対象物、例えば図2に示すプリント配線基板23に焼き付ける方法、および、このプリント配線基板23に焼き付けられた分割QRコードを読取装置9により読み取る方法について説明する。
まず、本参考例では、QRコード1の画像(QRコード画像)を分割する場合、その分割方向は、QRコード1を図8(a)に示すように縦方向(列に沿う方向)に複数分割することも、図8(b)に示すように横方向(行に沿う方向)に複数分割することもできるが、本参考例では、縦方向に複数割することとしている。この結果、QRコード画像を分割する線(分割線)は、横方向(行に沿う方向)となる。
Next, a method of dividing one QR code 1 and printing it on an output object, for example, the printed wiring board 23 shown in FIG. 2, and a method of reading the divided QR code printed on the printed wiring board 23 by the reading device 9 Will be described.
First, in this reference example, when an image of QR code 1 (QR code image) is divided, the dividing direction of QR code 1 is plural in the vertical direction (direction along the column) as shown in FIG. As shown in FIG. 8B, it can be divided into a plurality of pieces in the horizontal direction (direction along the row), but in this reference example, a plurality of pieces are divided in the vertical direction. As a result, a line (partition line) that divides the QR code image is in the horizontal direction (the direction along the row).

分割線の位置、つまり分割位置を決定する場合、各分割QRコード画像に特定パターンの少なくとも一部が含まれるようにする。特定パターンとは、2次元コードの読み取りを補助するために固定的に設けられるパターンを総称していい、QRコード1の場合には、切り出しシンボルA、タイミングパターンT、位置合せシンボルaがこれに相当する。切り出しシンボルAおよび位置合せシンボルaを分割QRコード画像に含ませる場合には、各分割QRコード画像に切り出しシンボルAおよび位置合せシンボルaが少なくとも1個入るように分割する。タイミングパターンTのときには、各分割QRコード画像にその一部が入るように分割する。   When determining the position of the dividing line, that is, the dividing position, at least a part of the specific pattern is included in each divided QR code image. The specific pattern may be a generic term for patterns that are fixedly provided to assist reading of the two-dimensional code. In the case of QR code 1, the cut-out symbol A, the timing pattern T, and the alignment symbol a are included therein. Equivalent to. When the cutout symbol A and the alignment symbol a are included in the divided QR code image, the divided QR code image is divided so that at least one cutout symbol A and the alignment symbol a are included. In the case of the timing pattern T, the divided QR code image is divided so that a part thereof is included.

更に、複数の分割QRコード画像を並べて出力する場合、所定の位置関係をもって配置して出力する。本参考例では、図4に示すようにQRコード画像24を3分割した場合を例にとると、その分割QRコード画像25a,25b,25cを、図1に示すように、表示セルCの幅wの整数倍(本参考例では2倍)の間隔をもって横方向に並ぶように配置して出力することとしている。   Further, when a plurality of divided QR code images are output side by side, they are arranged and output with a predetermined positional relationship. In this reference example, when the QR code image 24 is divided into three as shown in FIG. 4, the divided QR code images 25a, 25b, and 25c are divided into the width of the display cell C as shown in FIG. The signals are arranged and output so that they are arranged in the horizontal direction at intervals of an integral multiple of w (twice in this reference example).

また、本参考例では、分割QRコード画像25a,25b,…の周辺に、補助シンボルを付加することを選択できると共に、その補助シンボルは、複数種の補助シンボルのうちから、少なくとも1つを選択することができるようになっている。この場合の選択可能な補助シンボルは2種類あり、その1つは、図9に示すように2次元コード化された補助シンボル、例えば特定パターンとして、分割されるQRコードと同じ形態の切り出しシンボルAを有するマイクロQRコードの画像(マイクロQRコード画像)26であり、残る1つは、図10〜図12に示すように縦方向または横方向に伸びる直線補助シンボル27〜29である。2次元コードの補助シンボルを用いる場合、分割される2次元コードと同じ特定パターンを持つ2次元コードを用いると、読み取りアルゴリズムとして同じものを用いることができるので、都合が良い。   In addition, in this reference example, it is possible to select to add an auxiliary symbol around the divided QR code images 25a, 25b,..., And as the auxiliary symbol, select at least one of a plurality of types of auxiliary symbols. Can be done. In this case, there are two types of auxiliary symbols that can be selected, one of which is a two-dimensionally coded auxiliary symbol as shown in FIG. 9, for example, a cutout symbol A having the same form as a QR code to be divided as a specific pattern. 10 is a micro QR code image (micro QR code image) 26, and the remaining one is linear auxiliary symbols 27 to 29 extending in the vertical direction or the horizontal direction as shown in FIGS. 10 to 12. When an auxiliary symbol of a two-dimensional code is used, it is convenient to use a two-dimensional code having the same specific pattern as the divided two-dimensional code because the same reading algorithm can be used.

上記マイクロQRコード画像26は、QRコード画像24の分割方向(分割線と直交する方向)の長さ情報(表示セルCの数)の他、分割数、分割線に沿う方向の長さ情報(表示セルCの数)、マイクロQRコード画像26および分割QRコード画像25a,25b,…の相互の間隔(表示セルCの幅の何倍か;本参考例では2倍に設定)などの情報を有している。   The micro QR code image 26 includes length information (number of display cells C) in the division direction (direction orthogonal to the division line) of the QR code image 24, the division number, and length information in the direction along the division line ( The number of display cells C), and the distance between the micro QR code image 26 and the divided QR code images 25a, 25b,... (How many times the width of the display cell C; set to double in this reference example) Have.

また、直線補助シンボル27〜29のうち、図10に示す直線補助シンボル27は、並べられた複数個の分割QRコード画像25a,25b,…の横方向両側に、分割QRコード画像から表示セルCの幅の整数倍(本参考例では2倍に設定)だけ離して配置される。この直線補助シンボル27は、表示セルCの幅の整数倍の幅(本参考例では1倍に設定)を有する1本の連続した矩形の太い直線片からなり、その長さが分割QRコード画像のうち最大縦方向長さの分割QRコード画像と同じ長さ(表示セルCの幅の整数倍)に設定される。これにより、直線補助シンボル27は、分割QRコード画像25a,25b,…の分割方向(縦方向)の長さ、表示セルCの幅の情報を提供することとなる。   Among the straight auxiliary symbols 27 to 29, the straight auxiliary symbol 27 shown in FIG. 10 is displayed on the display cell C from the divided QR code image on both sides in the horizontal direction of the plurality of divided QR code images 25a, 25b,. Are spaced apart by an integral multiple of the width of this (set to double in this reference example). The straight line auxiliary symbol 27 is composed of one continuous rectangular thick straight line piece having a width that is an integral multiple of the width of the display cell C (set to 1 in the present reference example), and the length thereof is a divided QR code image. Is set to the same length as the divided QR code image having the maximum vertical length (integer multiple of the width of the display cell C). Thus, the straight auxiliary symbol 27 provides information on the length of the divided QR code images 25a, 25b,... In the dividing direction (vertical direction) and the width of the display cell C.

図11の直線補助シンボル28は、矩形の直線片を、表示セルCの幅の整数倍、本参考例では表示セルCの幅に等しい(1倍)間隔をもって一列に並べた不連続な直線によって構成している。この直線補助シンボル28も、表示セルCの幅の整数倍の幅(本参考例では1倍に設定)を有し、その長さが最大縦方向長さの分割QRコード画像と同じ長さ(表示セルCの幅の整数倍)に設定される。図11では、直線補助シンボル28を分割QRコード画像25a,25b,25cの相互間に配置したが、図10のように両側に配置するようにしても良い。このような直線補助シンボル28を分割QRコード画像25a,25b,25cの相互間に配置する場合、分割QRコード画像25a,25cとは表示セルCの幅の2倍の間隔をもって配置し、分割QRコード画像25bとは表示セルCの幅と同じ間隔をもって配置されている。
なお、図10に示す直線補助シンボル27を図11の不連続な直線補助シンボル28に換えても良い。図11における直線補助シンボル28を図11の直線補助シンボル27に換えても良い。直線補助シンボル27,28は、いずれかを1本だけ配置するようにしても良い。
The straight line auxiliary symbol 28 in FIG. 11 is formed by discontinuous straight lines in which rectangular straight pieces are arranged in a line at intervals equal to (one times) the width of the display cell C, which is an integral multiple of the width of the display cell C. It is composed. The linear auxiliary symbol 28 also has a width that is an integral multiple of the width of the display cell C (set to 1 in the present reference example), and the length is the same as that of the divided QR code image having the maximum vertical length ( Set to an integral multiple of the width of the display cell C). In FIG. 11, the linear auxiliary symbols 28 are arranged between the divided QR code images 25a, 25b, and 25c, but they may be arranged on both sides as shown in FIG. When such a linear auxiliary symbol 28 is arranged between the divided QR code images 25a, 25b, and 25c, it is arranged with an interval twice the width of the display cell C from the divided QR code images 25a and 25c. The code image 25b is arranged with the same interval as the width of the display cell C.
Note that the linear auxiliary symbol 27 shown in FIG. 10 may be replaced with the discontinuous linear auxiliary symbol 28 shown in FIG. The straight line auxiliary symbol 28 in FIG. 11 may be replaced with the straight line auxiliary symbol 27 in FIG. Only one of the straight line auxiliary symbols 27 and 28 may be arranged.

図12の直線補助シンボル29は、複数個の矩形の直線片を横方向に一列に並べた不連続な直線からなり、分割QRコード画像25a,25b,25cの上下両側に配置している。この直線シンボル29も、表示セルCの幅の整数倍の幅(本参考例では2倍に設定)を有し、その全体の長さは分割QRコード画像25a,25b,25cの配置領域の横方向長さに等しく設定され、且つ不連続部分は分割QRコード画像25a,25b,25c相互間の間隔に一致している。この直線補助シンボル29によって分割QRコード画像25a,25b,25cの配列方向と、横方向に配列された分割QRコード画像25a,25b,25c全体の長さ、各分割QRコード画像25a,25b,25cの横方向長さの情報が取得できる。このような直線補助シンボル29を分割QRコード画像25a,25b,25cの上下両側に配置する場合、分割QRコード画像25a,25b,25cとは表示セルCの幅の2倍の間隔をもって配置する。なお、直線補助シンボル29は、分割QRコード画像25a,25b,25cの上下両側のうち、片側だけに配置しても良い。また、直線補助シンボル29は、一本の直線片で構成しても良い。   The straight line auxiliary symbols 29 in FIG. 12 are formed of discontinuous straight lines in which a plurality of rectangular straight pieces are arranged in a row in the horizontal direction, and are arranged on both upper and lower sides of the divided QR code images 25a, 25b, and 25c. This linear symbol 29 also has a width that is an integral multiple of the width of the display cell C (set to twice in the present reference example), and the overall length is the side of the arrangement area of the divided QR code images 25a, 25b, and 25c. The discontinuous portion is set equal to the length in the direction and coincides with the interval between the divided QR code images 25a, 25b, and 25c. By the linear auxiliary symbol 29, the arrangement direction of the divided QR code images 25a, 25b, 25c, the total length of the divided QR code images 25a, 25b, 25c arranged in the horizontal direction, and the divided QR code images 25a, 25b, 25c. Can be obtained. When such linear auxiliary symbols 29 are arranged on the upper and lower sides of the divided QR code images 25a, 25b, and 25c, they are arranged with an interval twice the width of the display cell C from the divided QR code images 25a, 25b, and 25c. The straight line auxiliary symbol 29 may be arranged only on one side of the upper and lower sides of the divided QR code images 25a, 25b, and 25c. Further, the straight line auxiliary symbol 29 may be composed of a single straight piece.

この参考例では、1つの分割位置を境にして分割される2つの分割QRコード画像のうち、表示セルCの行数の多い方を第1の分割QRコード画像、行数の少ない方を第2の分割QRコード画像と定め、図13に示すように、第1の分割QRコード画像の分割位置に接する1行分の表示セルCの並び画像を付加パターン30,31として、これを図14に示すように、第2の分割QRコード画像の分割位置に付加することを選択できるようにしている。なお、1つの分割位置を境にして分割される2つの分割QRコード画像の表示セルCの行数が同じである場合には、行番号の小さい方を第1の分割QRコード画像、行番号の大きい方を第2の分割QRコード画像と定める。   In this reference example, of the two divided QR code images divided at one division position, the one with the larger number of rows of the display cell C is the first divided QR code image, and the one with the smaller number of rows is the first. As shown in FIG. 13, the arranged images of display cells C for one row in contact with the division position of the first divided QR code image are set as additional patterns 30 and 31 as shown in FIG. As shown in FIG. 4, it is possible to select addition to the division position of the second divided QR code image. When the number of rows of the display cells C of two divided QR code images divided at one division position is the same, the smaller row number is assigned to the first divided QR code image, the row number. The larger one is defined as the second divided QR code image.

図15はコード分割装置2によりコード画像を生成し、且つそのQRコード画像を分割して出力する場合の制御内容を示している。即ち、入力部5を操作してQRコード化したい情報のデータを入力する(ステップS1)。すると、制御部4は、その入力されたデータをビット列に変換する(ステップS2)と共に、誤りデータのビット列を生成し(ステップS3)、それらデータのビット列および誤りデータのビット列をQRコードのデータ領域に表示セルC化して配置する(ステップS4)。次いで、制御部4は、切り出しシンボルAをその配置領域に配置し、これにてQRコード画像24を生成する(ステップS5;2次元コード画像生成手段)。この場合、データ量が多く、そのためQRコード画像が大きくなったことにより、そのQRコード画像には、図4に示すように、データ領域B中にも位置合せシンボルaが生成されたものとする。   FIG. 15 shows the control contents when a code image is generated by the code dividing device 2 and the QR code image is divided and output. That is, data of information desired to be QR-coded is input by operating the input unit 5 (step S1). Then, the control unit 4 converts the input data into a bit string (step S2), generates a bit string of error data (step S3), and converts the bit string of the data and the bit string of the error data into a data area of a QR code. Are arranged in the display cell C (step S4). Next, the control unit 4 arranges the cut-out symbol A in the arrangement area, and generates a QR code image 24 (step S5; two-dimensional code image generation means). In this case, since the amount of data is large and the QR code image becomes large, an alignment symbol a is also generated in the data area B in the QR code image as shown in FIG. .

その後、制御部4は、QRコード画像24の分割位置を決定し、その分割位置をQRコード画像24上に設定する(ステップS6)。この場合、例えば3分割するものとし、その2箇所の分割位置は、その位置でQRコード画像を3分割した場合、各分割QRコード画像25a,25b,25cの行数の差が0または1となるように定める。これにより、各分割QRコード画像25a,25b,25cの縦方向の幅がほぼ同じになる。   Thereafter, the control unit 4 determines the division position of the QR code image 24 and sets the division position on the QR code image 24 (step S6). In this case, for example, it is assumed that the divided position is divided into three, and when the QR code image is divided into three at the position, the difference in the number of rows of the divided QR code images 25a, 25b, and 25c is 0 or 1. Determine to be. As a result, the vertical widths of the divided QR code images 25a, 25b, and 25c are substantially the same.

次に、制御部4は、設定された分割位置でQRコード画像24を分割し(ステップS7)、分割QRコード画像25a,25b,25cを所定の位置関係で配置する(ステップS8)。この分割QRコード画像25a,25b,25cを配置する所定の位置関係は、縦方向および横方向の辺のうち、長さが短い方の辺、本参考例では縦方向の辺が互いに並行となるように、例えば行番号の大きいものが小さいものの右側に位置するように、横方向に並べる。そして、それら分割QRコード画像25a,25b,25cの間隔は、表示セルCの幅の整数倍、本参考例の場合、前述の通り2倍に定める。   Next, the control unit 4 divides the QR code image 24 at the set division position (step S7), and arranges the divided QR code images 25a, 25b, and 25c in a predetermined positional relationship (step S8). The predetermined positional relationship in which the divided QR code images 25a, 25b, and 25c are arranged is such that the shorter side of the vertical and horizontal sides, in this reference example, the vertical sides are parallel to each other. Thus, for example, the row numbers are arranged in the horizontal direction so that the larger row number is positioned on the right side of the smaller row number. The interval between the divided QR code images 25a, 25b, and 25c is determined to be an integral multiple of the width of the display cell C, or twice in the case of this reference example as described above.

制御部4は、次に付加パターンを設けることが選択されているか否か(ステップS9)、直線補助シンボルを設けることが選択されているか(ステップS12)、マイクロQRコード補助シンボルを設けることが選択されているか(ステップS15)を順に判断する。付加パターン、直線補助シンボル、マイクロQRコード補助シンボルのいずれも設けない場合(ステップS9で「NO」、ステップS12で「NO」、ステップS15で「NO」)、制御部4は、生成した分割QRコード画像25a,25b,25cの黒パターン部分に、単位面積当たり所手数のドットを付与して出力パターンを生成し(ステップS18)、出力装置8としてのレーザ装置によって図2に示すようにプリント配線基板23の幅狭の細長い空き領域に分割QRコード画像25a,25b,25cを焼き付ける(ステップS19)。   Next, the control unit 4 selects whether to provide an additional pattern (step S9), whether to provide a linear auxiliary symbol (step S12), or to provide a micro QR code auxiliary symbol. It is judged in order (step S15). When none of the additional pattern, the straight line auxiliary symbol, and the micro QR code auxiliary symbol is provided (“NO” in step S9, “NO” in step S12, “NO” in step S15), the control unit 4 generates the divided QR code. An output pattern is generated by assigning the number of dots per unit area to the black pattern portions of the code images 25a, 25b, and 25c (step S18), and the printed circuit is printed by the laser device as the output device 8 as shown in FIG. The divided QR code images 25a, 25b, and 25c are printed on the narrow and narrow empty areas of the substrate 23 (step S19).

付加パターンを設けることが選択されている場合(ステップS9で「YES」)、制御部4は、分割位置を境にして分割された2つの分割QRコード画像、つまり分割QRコード画像25aと分割QRコード画像25b、分割QRコード画像25bと分割QRコード画像25cのそれぞれについて行数を比較し、多い方を第1の分割QRコード画像、少ない方を第2の分割QRコード画像と定める。また、行数が同じである場合には、行番号の小さい方を第1の分割QRコード画像、大きい方を第2の分割QRコード画像と定める。そして、図13および図14に示すように、第1の分割コード画像の分割位置に接する1行分の表示セルCの並び画像を付加パターン30,31として第2の分割QRコード画像の分割位置に付加する(ステップS11)。   When provision of an additional pattern is selected (“YES” in step S9), the control unit 4 has two divided QR code images divided at the dividing position, that is, a divided QR code image 25a and a divided QR code. The number of rows is compared for each of the code image 25b, the divided QR code image 25b, and the divided QR code image 25c, and the larger one is determined as the first divided QR code image and the smaller one is determined as the second divided QR code image. When the number of rows is the same, the smaller row number is defined as the first divided QR code image, and the larger row number is defined as the second divided QR code image. Then, as shown in FIGS. 13 and 14, the divided image of the second divided QR code image is obtained by using the aligned images of the display cells C for one row in contact with the divided position of the first divided code image as additional patterns 30 and 31. (Step S11).

また、直線補助シンボルを設けることが選択されている場合(ステップS12で「YES」)、分割QRコード画像25a,25b,25cのうち最も行数の大きい分割QRコード画像の縦方向長さと同じ長さの直線補助シンボル27および/または28を生成し、或いは、分割QRコード画像25a,25b,25cの全体の横方向長さに等しく、且つ各分割QRコード画像25a,25b,25cの横長さを表示できるような不連続な直線補助シンボル28を生成し(ステップS13)、図10、図11、或いは図12のように配置する(ステップS14)。なお、直線補助シンボル27〜29の全てを設けるようにしても良い。   If it is selected to provide a straight auxiliary symbol (“YES” in step S12), the length equal to the vertical length of the divided QR code image having the largest number of rows among the divided QR code images 25a, 25b, and 25c. Or the horizontal length of each of the divided QR code images 25a, 25b, and 25c is set to be equal to the entire horizontal length of the divided QR code images 25a, 25b, and 25c. A discontinuous straight auxiliary symbol 28 that can be displayed is generated (step S13) and arranged as shown in FIG. 10, FIG. 11, or FIG. 12 (step S14). Note that all of the linear auxiliary symbols 27 to 29 may be provided.

更に、マイクロQRコード補助シンボルを設けることが選択されている場合(ステップS15で「YES」)、制御部4は、QRコード画像24の分割方向の長さ情報(表示セルCの数)、分割数、分割線に沿う方向の長さ情報(表示セルCの数)、マイクロQRコード画像26および分割QRコード画像25a,25b,…の相互の間隔(本参考例では2倍に設定)などの情報をコード化したマイクロQRコード画像26を生成し(ステップS16)、そのマイクロQRコード画像26を分割QRコード画像25a,25b,25cの並びの横方向左側に、分割QRコード画像25aの短辺と平行に、表示セルCの幅の整数倍(本参考例では2倍)の間隔をもって配置する(ステップS17)。   Furthermore, when provision of a micro QR code auxiliary symbol is selected (“YES” in step S15), the control unit 4 determines the length information (number of display cells C) in the division direction of the QR code image 24, and performs division. Number, length information in the direction along the dividing line (the number of display cells C), and the distance between the micro QR code image 26 and the divided QR code images 25a, 25b,... (Set to double in this reference example) A micro QR code image 26 in which information is coded is generated (step S16), and the micro QR code image 26 is placed on the left side in the horizontal direction of the arrangement of the divided QR code images 25a, 25b, 25c, and the short side of the divided QR code image 25a. In parallel with the display cell C, the display cells C are arranged with an interval of an integral multiple of the width of the display cell C (twice in this reference example) (step S17).

付加パターン、直線補助シンボル、マイクロQRコード補助シンボルのうちの1つ、或いは2つ以上を分割QRコード画像25a,25b,25cの周辺に配置すると、制御部4は、その黒パターン部分に、単位面積当たり所定数のドットを付与して出力パターンを生成し(ステップS18)、出力装置8としてのレーザ装置によってプリント配線基板23の幅狭の細長い空き領域に分割QRコード画像25a,25b,25cを焼き付ける(ステップS19)。   When one or more of the additional pattern, the straight line auxiliary symbol, and the micro QR code auxiliary symbol are arranged around the divided QR code images 25a, 25b, and 25c, the control unit 4 places the unit in the black pattern portion. An output pattern is generated by applying a predetermined number of dots per area (step S18), and the divided QR code images 25a, 25b, and 25c are formed in narrow and narrow empty areas of the printed wiring board 23 by the laser device as the output device 8. Bake (step S19).

以上のようにしてプリント配線基板23に焼き付けられた分割QRコード画像25a,25b,25cを、読取装置9によって読み取る場合の制御内容を図16のフローチャートにより説明する。図16のフローチャートは、分割QRコード画像25a,25b,25cに、付加パターンも、直線補助シンボルも、マイクロQRコード補助シンボルも付加しない場合を示している。   The control contents when the reading device 9 reads the divided QR code images 25a, 25b, and 25c printed on the printed wiring board 23 as described above will be described with reference to the flowchart of FIG. The flowchart of FIG. 16 shows a case where no additional pattern, linear auxiliary symbol, or micro QR code auxiliary symbol is added to the divided QR code images 25a, 25b, and 25c.

分割QRコード画像25a,25b,25cを読み取るには、まず、読取対象であるプリント配線基板23の分割QRコード画像25a,25b,25cの焼付け部分を読取装置9によって撮像する。この場合、図19のように全部の分割QRコード画像25a,25b,25cを撮像視野に入るようにして撮像しても良いし、図20のように撮像視野が互いに一部重なるようにして複数回撮像しても良い。撮影した画像は、前述のようにして画像メモリ16に2値の走査線信号として記憶(画像データの取り込み)される(以上、ステップA1:画像取得手段)。   In order to read the divided QR code images 25a, 25b, and 25c, first, the printed portion of the divided QR code images 25a, 25b, and 25c of the printed wiring board 23 to be read is imaged by the reading device 9. In this case, all of the divided QR code images 25a, 25b, and 25c may be imaged as shown in FIG. 19 so as to enter the imaging field of view, or a plurality of imaging fields of view may partially overlap each other as shown in FIG. You may image once. The captured image is stored (taken image data) as a binary scanning line signal in the image memory 16 as described above (step A1: image acquisition means).

画像データを取り込むと、制御回路19は、周知のコード存在領域推定処理を行い、分割QRコード画像25a,25b,25cが存在する領域を推定し(ステップA2:存在領域推定手段)、存在すると推定した領域とその周辺の領域で切り出しシンボルA、位置合せシンボルa、タイミングパターンTを検出し、その位置を特定する(ステップA3:特定パターン検出手段)。次に、制御回路19は、各切り出しシンボルA、位置合せシンボルaの位置と大きさから、表示セルCの大きさを決定する(ステップA4:表示セル大きさ決定手段)この場合、切り出しシンボルAの中心位置が分かれば、その中心位置を通って行方向または列方向に走る走査線を辿れば、「1:1:3:1:1」の明暗比が得られるので、その切り出しシンボルAの大きさから表示セルCの大きさを決定することができるのである。同様に、位置合せシンボルaの中心位置が分かれば、その中心位置を通って行方向または列方向に走る走査線を辿れば、「1:1:1:1:1」の明暗比が得られるので、その位置合せシンボルaの大きさから表示セルCの大きさを決定することができるのである。   When the image data is captured, the control circuit 19 performs a known code existence area estimation process to estimate an area where the divided QR code images 25a, 25b, and 25c exist (step A2: existence area estimation means), and estimates that it exists. The cut-out symbol A, the alignment symbol a, and the timing pattern T are detected in the area and its surrounding area, and the positions thereof are specified (step A3: specific pattern detection means). Next, the control circuit 19 determines the size of the display cell C from the position and size of each cutout symbol A and alignment symbol a (step A4: display cell size determining means). In this case, the cutout symbol A If the center position of the cut-out symbol A is known, then by following the scanning line running in the row direction or the column direction through the center position, a light / dark ratio of “1: 1: 3: 1: 1” can be obtained. The size of the display cell C can be determined from the size. Similarly, if the center position of the alignment symbol a is known, a light / dark ratio of “1: 1: 1: 1: 1” can be obtained by following a scanning line running in the row direction or column direction through the center position. Therefore, the size of the display cell C can be determined from the size of the alignment symbol a.

次に、制御回路19は、切り出しシンボルA,aの位置と表示セルCの大きさとから、分割QRコード画像25a,25b,25cの存在領域(4つの頂点の位置)と相互の位置関係(並び順)を検出する(ステップA5:輪郭検出手段、位置関係検出手段)。この場合、分割QRコード画像25a,25b,25cの相互の間隔は、表示セルCの幅の2倍に設定されているのであるから、分割QRコード画像25a,25b,25cの4つの頂点と相互の間隔部分は容易に検出することができる。   Next, the control circuit 19 determines the position of the divided QR code images 25a, 25b, and 25c (positions of the four vertices) and the mutual positional relationship (alignment) based on the positions of the cutout symbols A and a and the size of the display cell C. (Step A5: contour detection means, positional relationship detection means). In this case, since the interval between the divided QR code images 25a, 25b, and 25c is set to twice the width of the display cell C, the four QR vertices of the divided QR code images 25a, 25b, and 25c are mutually connected. The interval portion of can be easily detected.

分割QRコード画像25a,25b,25cの存在領域を検出すると、制御回路19は、分割QRコード画像25a,25b,25cの存在領域内を、表示セルCの大きさと同じ大きさで桝目状に区分して表示セルCの位置を算出し、各表示セルCの明暗を判定して分割QRコード画像25a,25b,25cの明暗パターンを生成する(ステップA6:分割コード明暗パターン生成手段)。   When detecting the existence areas of the divided QR code images 25a, 25b, and 25c, the control circuit 19 divides the existence areas of the divided QR code images 25a, 25b, and 25c into a grid shape having the same size as the display cell C. Then, the position of the display cell C is calculated, the light and darkness of each display cell C is determined, and the light and dark patterns of the divided QR code images 25a, 25b and 25c are generated (step A6: divided code light and dark pattern generating means).

次いで、制御回路19は、分割QRコード画像25a,25b,25cをその位置関係、つまり行番号の小さい方の分割QRコード画像の右に行番号の大きい分割コード画像が並ぶという位置関係に基いて、それら分割QRコード画像25a,25b,25cの明暗パターンの結合処理を行い、分割前のQRコード画像24を復元する(ステップA7:結合明暗パターン生成手段)。そして、制御回路19は、復元されたQRコード画像24の明暗パターンをデータビット列に変換し、そのデータビット列に対して誤り訂正処理を実行し、読み取りデータ(デコードデータ)として出力する(ステップA8、ステップA9:解読手段)。   Next, the control circuit 19 positions the divided QR code images 25a, 25b, and 25c based on the positional relationship, that is, the divided QR image having the larger row number is arranged to the right of the divided QR code image having the smaller row number. Then, the divided QR code images 25a, 25b and 25c are combined to restore the QR code image 24 before the division (step A7: combined bright / dark pattern generating means). Then, the control circuit 19 converts the light / dark pattern of the restored QR code image 24 into a data bit string, performs error correction processing on the data bit string, and outputs it as read data (decoded data) (step A8, Step A9: Decoding means).

付加パターンが設けられている場合には、隣同士の分割QRコード画像の下端の行と上端の行の明暗パターンを検出し(表示セル並び検出手段)、両者を比較することにより(比較手段)、一致することを確認(確認手段)することによって、分割QRコード画像25a,25b,25cを結合する場合にその結合する分割QRコード画像の組み合わせに誤りがないかどうかを容易に判別することができる。   In the case where an additional pattern is provided, the light and dark patterns of the lower and upper rows of the adjacent divided QR code images are detected (display cell arrangement detecting means), and the two are compared (comparing means). It is possible to easily determine whether there is no error in the combination of divided QR code images to be combined when the divided QR code images 25a, 25b, and 25c are combined by confirming (confirming means) that they match. it can.

マイクロQRコード補助シンボルが付加されている場合の読み取りのフローチャートは、図17に示されている。図17のルーチンでは、まず、画像データを取り込み、分割QRコード画像25a,25b,25cが存在する範囲を推定し、切り出しシンボルAの位置を特定する(ステップB1〜ステップB3;ステップA1〜ステップA3と同じ)。その後、制御回路19は、マイクロQRコード補助シンボルの特徴を有する部分、即ち切り出しシンボルAをQRコードのそれを検出する場合と同様にして検出し(ステップB4:補助シンボル検出手段)、そのマイクロQRコード補助シンボルの明暗パターンを検出して読み取り(補助シンボル解読手段)、QRコード画像24の分割方向の長さ情報(表示セルCの数)、分割数、分割線に沿う方向の長さ情報(表示セルCの数)、マイクロQRコード画像26、分割QRコード画像25a,25b,25cの相互の間隔(表示セルCの幅の何倍か)などの情報を取得する(ステップB5)。   A flowchart of reading when the micro QR code auxiliary symbol is added is shown in FIG. In the routine of FIG. 17, first, image data is captured, the range in which the divided QR code images 25a, 25b, and 25c exist is estimated, and the position of the cut-out symbol A is specified (step B1 to step B3; step A1 to step A3). Same as). Thereafter, the control circuit 19 detects the portion having the characteristics of the micro QR code auxiliary symbol, that is, the cut-out symbol A in the same manner as when detecting that of the QR code (step B4: auxiliary symbol detecting means), and the micro QR code. Detection and reading of the light and dark pattern of the code auxiliary symbol (auxiliary symbol decoding means), length information in the dividing direction of the QR code image 24 (number of display cells C), number of divisions, length information in the direction along the dividing line ( Information such as the number of display cells C), the interval between the micro QR code image 26 and the divided QR code images 25a, 25b, and 25c (how many times the width of the display cell C) is acquired (step B5).

次に、制御回路19は、切り出しシンボルAの位置と大きさとから表示セルCの大きさを決定し(ステップB6;ステップA4と同じ)、決定した切り出しシンボルAの位置と表示セルCの大きさ、並びにマイクロQRコード画像26の分割情報に基づいて分割QRコード画像25a,25b,25cの存在領域(4つの頂点)を検出すると共に、マイクロQRコード画像26の分割情報から、マイクロQRコード画像26および分割QRコード画像25a,25b,25cの相互の間隔を取得する(ステップB7:輪郭検出手段)。この場合、マイクロQRコード補助シンボルから取得した分割情報のうち、分割線方向および分割線と直交する方向の長さ情報、画像相互間の間隔情報などを参照することによって分割QRコード画像25a,25b,25cの存在領域の検出を容易に行うことができる。   Next, the control circuit 19 determines the size of the display cell C from the position and size of the cutout symbol A (step B6; the same as step A4), and the determined position of the cutout symbol A and the size of the display cell C. The presence areas (four vertices) of the divided QR code images 25a, 25b, and 25c are detected based on the division information of the micro QR code image 26, and the micro QR code image 26 is detected from the division information of the micro QR code image 26. And the mutual space | interval of the division | segmentation QR Code image 25a, 25b, 25c is acquired (step B7: contour detection means). In this case, among the division information acquired from the micro QR code auxiliary symbol, the division QR code images 25a and 25b are referred to by referring to the division line direction, the length information in the direction orthogonal to the division line, the interval information between the images, and the like. 25c can be easily detected.

次に、制御回路19は、マイクロQRコード画像26の分割情報のうち、長さ情報(縦方向の表示セル数など)に基づいて分割QRコード画像25a,25b,25cのそれぞれの表示セルCの位置を算出して各表示セルCの明暗を判別して明暗パターンを生成する(ステップB8:分割コード明暗パターン生成手段)。そして、制御回路19は、分割QRコード画像25a,25b,25cの明暗パターンの結合を行い、分割前のQRコード画像24を復元する(ステップB9;ステップA8と同じ)。そして、制御回路19は、復元されたQRコード画像24の明暗パターンをビット列に変換し(ステップB10;ステップA8と同じ)、そのデータビット列に対して誤り訂正処理を実行し、読み取りデータ(デコードデータ)として出力する(ステップB11;ステップA9と同じ)。   Next, the control circuit 19 determines the display cell C of each of the divided QR code images 25a, 25b, and 25c based on the length information (such as the number of display cells in the vertical direction) among the divided information of the micro QR code image 26. The position is calculated, the brightness of each display cell C is discriminated, and a light / dark pattern is generated (step B8: divided code light / dark pattern generating means). Then, the control circuit 19 combines the bright and dark patterns of the divided QR code images 25a, 25b, and 25c to restore the QR code image 24 before the division (step B9; same as step A8). The control circuit 19 converts the restored light / dark pattern of the QR code image 24 into a bit string (step B10; the same as step A8), executes error correction processing on the data bit string, and reads the read data (decoded data). (Step B11; same as Step A9).

直線補助シンボルが付加されている場合の読み取りのフローチャートは、図18に示されている。図18のルーチンでは、まず、画像データを取り込み、分割QRコード画像25a,25b,25cが存在する範囲を推定する(ステップC1、ステップC2;ステップA1、ステップA2と同じ)。その後、制御回路19は、分割QRコード画像25a,25b,25cの存在領域の周辺の領域で、直線補助シンボル27〜29を検出し(ステップC3)、そして、直線補助シンボル27〜29の位置を基準にして切り出しシンボルAを検出してその位置を特定する(ステップC4)。   FIG. 18 shows a flowchart of reading when a straight auxiliary symbol is added. In the routine of FIG. 18, first, image data is captured, and the range in which the divided QR code images 25a, 25b, and 25c exist is estimated (step C1, step C2; the same as step A1 and step A2). Thereafter, the control circuit 19 detects the straight line auxiliary symbols 27 to 29 in the area around the area where the divided QR code images 25a, 25b, and 25c exist (step C3), and positions the straight line auxiliary symbols 27 to 29. The cut-out symbol A is detected based on the reference and its position is specified (step C4).

次に、制御回路19は、各切り出しシンボルAの位置と大きさから、表示セルCの大きさを決定し(ステップC5;ステップA4と同じ)、続いて、切り出しシンボルAの位置と表示セルCの大きさとから、分割QRコード画像25a,25b,25cの存在領域(4つの頂点)と相互の間隔を検出する(ステップC6;ステップA5と同じ)。この場合、直線補助シンボル27〜29の存在によって各分割QRコード画像25a,25b,25cの存在領域や間隔の検出がし易くなる。   Next, the control circuit 19 determines the size of the display cell C from the position and size of each cutout symbol A (step C5; the same as step A4), and then the position of the cutout symbol A and the display cell C. Is detected from the existing areas (four vertices) of the divided QR code images 25a, 25b, and 25c (step C6; same as step A5). In this case, due to the presence of the straight line auxiliary symbols 27 to 29, it becomes easy to detect the existence areas and intervals of the divided QR code images 25a, 25b, and 25c.

そして、制御回路19は、分割QRコード画像25a,25b,25cの存在領域内を、表示セルCの大きさと同じ大きさで桝目状に区分して表示セルCの位置を算出し、各表示セルCの明暗を判定して分割QRコード画像25a,25b,25cの明暗パターンを生成する(ステップC7;ステップA6と同じ)。この場合も、直線補助シンボル27〜29の存在によって表示セルCの幅の修正などが可能となり、より正確に明暗パターンを生成できる。例えば、取得した画像が歪んでいて、左右の表示セルCの幅が異なるような場合、図11〜図12に示すように、直線補助シンボル27〜29が左右に存在することによって、その直線補助シンボル27〜29の幅によって表示セルCの幅の修正を行うことができる。   Then, the control circuit 19 calculates the position of the display cell C by dividing the existence region of the divided QR code images 25a, 25b, and 25c into a grid shape having the same size as the size of the display cell C. Brightness / darkness of C is determined, and bright / dark patterns of the divided QR code images 25a, 25b, 25c are generated (step C7; same as step A6). Also in this case, the width of the display cell C can be corrected by the presence of the auxiliary line symbols 27 to 29, and a light and dark pattern can be generated more accurately. For example, when the acquired image is distorted and the widths of the left and right display cells C are different, as shown in FIG. 11 to FIG. The width of the display cell C can be corrected by the width of the symbols 27 to 29.

次いで、制御回路19は、分割QRコード画像25a,25b,25cの明暗パターンの結合処理を行い、分割前のQRコード画像24を復元する(ステップC8:ステップA7と同じ)。そして、制御回路19は、復元されたQRコード画像24の明暗パターンをデータビット列に変換し(ステップC9;ステップA8と同じ)、そのデータビット列に対して誤り訂正処理を実行し、読み取りデータ(デコードデータ)として出力する(ステップC10;ステップA9と同じ)。   Next, the control circuit 19 performs a combination process of the bright and dark patterns of the divided QR code images 25a, 25b, and 25c, and restores the QR code image 24 before the division (step C8: same as step A7). The control circuit 19 converts the restored light / dark pattern of the QR code image 24 into a data bit string (step C9; the same as step A8), executes error correction processing on the data bit string, and reads the data (decode) Data) (step C10; same as step A9).

(本発明の実施形態)
図21および図22は本発明の実施形態を示す。本実施形態は、分割の対象とする2次元コードをPDF417としたものである。PDF417は、図21(a)に示すように、左右にスタート・ストップコードS,T、そのスタート・ストップコードS,Tの内側に左右のローインジケータI、その左右のローインジケータIの内側に所望の情報を記録するコードワード領域Dが存在する。
(Embodiment of the present invention)
21 and 22 show an embodiment of the present invention. In the present embodiment, the two-dimensional code to be divided is PDF417. As shown in FIG. 21A, the PDF 417 has start / stop codes S, T on the left and right, left and right low indicators I inside the start / stop codes S, T, and desired on the inside of the left and right low indicators I. There is a code word area D for recording the information of

左右のローインジケータIには、行の通し番号、列の総数などの序列情報が記載されている。コードワード領域Dの最初のコードワードは、コードワード領域内のコードワードの総数を表しており、最後の行の最後尾からは、エラー検出・訂正用のコードワード領域となっている。なお、1コードワードは、17モジュールで構成されている。1モジュールMは、表示セルとして機能し、1ビットの情報を白(明)と黒(暗)によって表現する。なお、1モジュールMは正方形ではなく、モジュールMの幅という場合、行方向に沿う幅を言う。   In the left and right row indicators I, order information such as row serial numbers and total number of columns is described. The first codeword in the codeword area D represents the total number of codewords in the codeword area, and from the end of the last line is a codeword area for error detection / correction. One code word is composed of 17 modules. One module M functions as a display cell and expresses 1-bit information in white (bright) and black (dark). Note that one module M is not a square, and the width of the module M refers to the width along the row direction.

PDF417コードを分割する場合、その分割方向は、各分割PDF417コード画像が序列情報を有するように、図21(b)に示す縦方向、つまり分割線が行方向となるように定められる。このPDF417コードも、図6に示すコード分割装置2を使用して分割される。即ち、入力部5を操作してコード化したい情報のデータを入力する。すると、制御部4は、その入力されたデータをコードワード列に変換すると共に、誤りデータのコードワード列を生成し、それらのコードワード列をコードワード領域に表示セルC化して配置し、図21(a)に示すようなPDF417コード画像を生成する(2次元コード画像生成手段)。   When the PDF417 code is divided, the dividing direction is determined so that each divided PDF417 code image has the order information, that is, the vertical direction shown in FIG. This PDF417 code is also divided using the code division device 2 shown in FIG. That is, the data of information to be encoded is input by operating the input unit 5. Then, the control unit 4 converts the inputted data into a code word string, generates error data code word strings, arranges these code word strings into display cells C in the code word area, A PDF417 code image as shown in 21 (a) is generated (two-dimensional code image generation means).

次いで、制御部4は、PDF417コード画像32の分割位置を決定し、その分割位置をPDF417コード画像32上に設定する。この場合、例えば、図21(b)に示すように2分割するものとすると、その分割位置は、その位置でPDF417コード画像32を2分割した場合、各分割PDF417コード画像33a,33bの行数の差が0または1となるように定める。次に、制御部4は、設定された分割位置でPDF417コード画像32を分割し、分割PDF417コード画像33a,33bを所定の位置関係で配置する。   Next, the control unit 4 determines the division position of the PDF417 code image 32 and sets the division position on the PDF417 code image 32. In this case, for example, as shown in FIG. 21 (b), if the PDF417 code image 32 is divided into two at that position, the division position is the number of lines in each of the divided PDF417 code images 33a and 33b. The difference is determined to be 0 or 1. Next, the control unit 4 divides the PDF417 code image 32 at the set division position, and arranges the divided PDF417 code images 33a and 33b in a predetermined positional relationship.

この分割PDF417コード画像33a,33bを配置する所定の位置関係は、例えば行番号の大きいものが小さいものの右側となるように列(横)方向に並べるものとし、それら分割PDF417コード画像33a,33b間隔は、1モジュールMの幅の整数倍に定めるものとする。そして、制御部4は、所定の位置関係で配置された分割PDF417コード画像33a,33bの黒パターン部分に、単位面積当たり所定のドットを付与して出力パターンを生成し、出力装置8としてのレーザ装置によってプリント配線基板23の幅狭の細長い空き領域に分割PDF417コード画像33a,33bを焼き付ける。   The predetermined positional relationship in which the divided PDF417 code images 33a and 33b are arranged is, for example, arranged in the column (horizontal) direction so that the larger row number is on the right side of the smaller one, and the interval between the divided PDF417 code images 33a and 33b is set. Is determined to be an integral multiple of the width of one module M. Then, the control unit 4 generates an output pattern by adding predetermined dots per unit area to the black pattern portions of the divided PDF417 code images 33a and 33b arranged in a predetermined positional relationship, and a laser as the output device 8 The divided PDF417 code images 33a and 33b are printed on narrow narrow empty areas of the printed wiring board 23 by the apparatus.

なお、分割の際、第1の参考例で説明したようなコード化された補助シンボル、或いは、直線で表された補助シンボルを分割PDF417コード画像33a,33bの周辺に配置しても良い。また、一方の分割PDF417コード画像について、分割位置に接する1行分のモジュールMの並び画像を付加パターンとし、この付加パターンを他方の分割PDF417コード画像の分割位置に付加するようにしても良い。   Note that, when dividing, coded auxiliary symbols as described in the first reference example or auxiliary symbols represented by straight lines may be arranged around the divided PDF417 code images 33a and 33b. Further, with respect to one divided PDF417 code image, an array image of modules M for one row in contact with the division position may be used as an additional pattern, and this additional pattern may be added to the division position of the other divided PDF417 code image.

次に、上記のように分割されたPDF417コード画像28を、読取装置9によって読み取る場合の制御内容を図22により説明する。まず、読取対象であるプリント配線基板23の分割PDF417コード画像33a,33bの焼付け部分を読取装置9によって撮像する。撮影した画像は、画像メモリ16に2値の走査線信号として記憶(画像データの取り込み)される(以上、ステップD1:画像取得手段)。   Next, the control contents when the reading device 9 reads the PDF417 code image 28 divided as described above will be described with reference to FIG. First, the printing device 9 captures images of the printed portions of the divided PDF417 code images 33a and 33b of the printed wiring board 23 to be read. The photographed image is stored (taken image data) as a binary scanning line signal in the image memory 16 (step D1: image acquisition means).

画像データを取り込むと、制御回路19は、周知のコード存在領域推定処理を行い、分割PDF417コード画像33a,33bが存在する領域を推定し(ステップD2)、コードが存在すると推定した領域とその周辺の領域で所定のパターン、つまり行方向両側に一定の白黒パターンで表されるスタート・ストップコードS,Tを検出し、その位置を特定する(ステップD3)。次に、制御回路19は、スタート・ストップコードS,Tの位置と大きさから、モジュールMの大きさを決定する(ステップD4:モジュール大きさ決定手段)。   When the image data is captured, the control circuit 19 performs a well-known code existence area estimation process to estimate the area where the divided PDF417 code images 33a and 33b exist (step D2), and the area where the code is estimated and the surrounding area. A start / stop code S, T represented by a predetermined pattern, that is, a constant black-and-white pattern on both sides in the row direction, is detected and its position is specified (step D3). Next, the control circuit 19 determines the size of the module M from the position and size of the start / stop codes S and T (step D4: module size determining means).

次に、制御回路19は、スタート・ストップコードS,Tの位置に基いて、各分割PDF417コード画像33a,33bの輪郭(4つの頂点)を検出すると共に、各分割PDF417コード画像33a,33bの明暗を判定して分割PDF417コード画像33a,33bの明暗パターンを生成する(ステップD5:輪郭検出手段、分割コード明暗パターン検出手段)。次いで、制御回路19は、それぞれの分割PDF417コード画像33a,33bの行番号を検出し(ステップD6:序列情報検出手段)、行番号が一連の並びとなるように、分割PDF417コード画像33a,33bの位置関係を決定する(ステップD7:位置関係検出手段)。そして、制御回路19は、相互の位置関係に基づいて、具体的には、一連の行番号に従って各分割PDF417コード画像33a,33bの各行の明暗パターンを順次コードワード列に変換し(ステップD8)、そのコードワード列に対して誤り訂正処理を実行し、読み取りデータ(デコードデータ)として出力する(ステップD9:解読手段)。   Next, the control circuit 19 detects the outlines (four vertices) of the divided PDF417 code images 33a and 33b based on the positions of the start / stop codes S and T, and at the same time, sets the divided PDF417 code images 33a and 33b. Brightness / darkness is determined, and bright / dark patterns of the divided PDF417 code images 33a, 33b are generated (step D5: contour detection means, divided code light / dark pattern detection means). Next, the control circuit 19 detects the row numbers of the respective divided PDF417 code images 33a and 33b (step D6: order information detecting means), and the divided PDF417 code images 33a and 33b so that the row numbers are arranged in a series. Is determined (step D7: positional relationship detection means). Based on the mutual positional relationship, specifically, the control circuit 19 sequentially converts the light / dark pattern of each row of the divided PDF417 code images 33a and 33b into a code word string in accordance with a series of row numbers (step D8). Then, error correction processing is executed on the code word string and output as read data (decoded data) (step D9: decoding means).

(第2の参考例)
図23および図24は本発明の第2の参考例を示す。本参考例は、分割の対象とする2次元コードをマイクロQRコードとしたものである。マイクロQRコードは、QRコードと同じように構成された切り出しシンボルAを1つの角にだけ有し、切り出しシンボルAが接する2辺に黒表示セルと白表示セルを交互に配置した特定パターンを備えた2次元コードである。
(Second reference example)
23 and 24 show a second reference example of the present invention. In this reference example, the two-dimensional code to be divided is a micro QR code. The micro QR code has a specific pattern in which a cut-out symbol A configured in the same manner as the QR code is provided at only one corner, and black display cells and white display cells are alternately arranged on two sides where the cut-out symbol A is in contact. 2D code.

マイクロQRコード画像を縦方向に2分割する場合の流れを図23によって説明する。まず、コード分割装置2を用いて所望の情報を入力する。すると、コード分割装置2の制御部4は、入力された情報をマイクロQRコード化し、図23(a)に示すようなマイクロQRコード画像34を生成し、マイクロQRコード画像34の分割位置を決定する。この分割位置は、マイクロQRコード画像34を2分割した場合、一方の分割マイクロQRコード画像の行数が他方の分割マイクロQRコード画像の行数と同数か、1つ少なくなるような位置に定める。そして、制御部4は、マイクロQRコード画像34を上記のように定めた分割位置で分割し、図23(b)に示す2個の分割マイクロQRコード画像35a,35bを生成する。なお、分割の際、第1の参考例で説明したようなコード化された補助シンボル、或いは、直線で表された補助シンボルを分割マイクロQRコード画像35a,35bの周辺に配置しても良い。   A flow when the micro QR code image is divided into two in the vertical direction will be described with reference to FIG. First, desired information is input using the code dividing device 2. Then, the control unit 4 of the code dividing device 2 converts the input information into a micro QR code, generates a micro QR code image 34 as shown in FIG. 23A, and determines the division position of the micro QR code image 34. To do. This division position is determined such that when the micro QR code image 34 is divided into two, the number of rows in one divided micro QR code image is the same as the number of rows in the other divided micro QR code image or one less. . Then, the control unit 4 divides the micro QR code image 34 at the division positions determined as described above, and generates two divided micro QR code images 35a and 35b shown in FIG. Note that, in the division, an auxiliary symbol coded as described in the first reference example or an auxiliary symbol represented by a straight line may be arranged around the divided micro QR code images 35a and 35b.

次に、制御部4は、例えば、図23(c)に示すように、分割マイクロQRコード画像35a(第1の分割コード画像)の分割位置に接する表示セルCの並び画像(付加パターン)36を生成する。そして、制御部4は、図23(d)に示すように、付加パターン32を分割マイクロQRコード画像35b(第2の分割コード画像)の分割位置に付加する。次いで、制御部4は、図23(e)に示すように、分割マイクロQRコード画像35a,35bを、表示セルCの幅の整数倍の間隔をおいて横方向に並ぶように配置し、出力装置8によりプリント配線基板23に焼き付ける。   Next, for example, as illustrated in FIG. 23C, the control unit 4 arranges the display cell C array image (additional pattern) 36 in contact with the division position of the divided micro QR code image 35 a (first divided code image). Is generated. Then, as shown in FIG. 23D, the control unit 4 adds the additional pattern 32 to the division position of the divided micro QR code image 35b (second divided code image). Next, as shown in FIG. 23 (e), the control unit 4 arranges the divided micro QR code images 35a and 35b so as to be arranged in the horizontal direction at intervals of an integral multiple of the width of the display cell C, and outputs them. The printed circuit board 23 is baked by the device 8.

プリント配線基板23に焼き付けられた分割マイクロQRコード画像35a,35bを読み取る場合の流れを図24により説明する。まず、図24(a)に示すように読取装置9に分割マイクロQRコード画像35a,35bを取り込む(画像取得手段)。そして、読取装置9の制御部19は、図24(b)に示すように、分割マイクロQRコード画像35a,35bの存在領域を推定し、所定のパターンである切り出しシンボルAの位置を検出する。次いで、制御回路19は、図24(c),(d)に示すように、切り出しシンボルAに基いて分割マイクロQRコード画像35a,35bの輪郭(4つの頂点)を検出する(輪郭検出手段)。そして、制御回路19は、図24(e),(f)に示すように、切り出しシンボルAから表示セルCの大きさを特定し、分割マイクロQRコード画像25a,35bの存在領域を桝目に区画して明暗パターンを検出する(分割コード明暗パターン生成手段)。   A flow in the case of reading the divided micro QR code images 35a and 35b baked on the printed wiring board 23 will be described with reference to FIG. First, as shown in FIG. 24A, the divided micro QR code images 35a and 35b are taken into the reading device 9 (image acquisition means). Then, as shown in FIG. 24B, the control unit 19 of the reading device 9 estimates the existence area of the divided micro QR code images 35a and 35b, and detects the position of the cutout symbol A that is a predetermined pattern. Next, as shown in FIGS. 24C and 24D, the control circuit 19 detects the outlines (four vertices) of the divided micro QR code images 35a and 35b based on the cut-out symbol A (contour detection means). . Then, as shown in FIGS. 24E and 24F, the control circuit 19 specifies the size of the display cell C from the cut-out symbol A, and divides the existing areas of the divided micro QR code images 25a and 35b into squares. Then, a light / dark pattern is detected (division code light / dark pattern generating means).

次に、制御回路19は、図24(g)に示すように、分割マイクロQRコード画像35aの最下行の明暗パターンと、分割マイクロQRコード画像35bの最上行の明暗パターン(付加パターン36)とを比較して(表示セル並び検出手段)、その一致により両分割マイクロQRコード画像35a,35bの位置関係を検出する(位置関係検出手段)。そして、制御回路19は、図24(h)に示すように分割マイクロQRコード画像45a,35bの分割位置の明暗パターンの一致により図24(f)に示すように分割マイクロQRコード画像35a,35bを結合する処理を行う(結合明暗パターン生成手段)。そして、制御回路19は、復元されたマイクロQRコード画像34の明暗パターンをデータビット列に変換し、そのデータビット列に対して誤り訂正処理を実行し、読み取りデータとして出力する(解読手段)。   Next, as shown in FIG. 24G, the control circuit 19 uses the light and dark pattern on the bottom row of the divided micro QR code image 35a and the light and dark pattern (addition pattern 36) on the top row of the divided micro QR code image 35b. Are compared (display cell arrangement detection means), and the positional relationship between the two divided micro QR code images 35a and 35b is detected based on the match (position relationship detection means). Then, as shown in FIG. 24 (h), the control circuit 19 matches the divided micro QR code images 45a and 35b with the bright and dark patterns at the divided positions, as shown in FIG. 24 (f), and the divided micro QR code images 35a and 35b. Are combined (combined light / dark pattern generating means). Then, the control circuit 19 converts the restored light / dark pattern of the micro QR code image 34 into a data bit string, performs an error correction process on the data bit string, and outputs it as read data (decoding means).

(その他の実施形態、参考例)
QRコード画像24、マイクロQRコード34の分割は、横(列)方向であっても良い。また、QRコード画像24、マイクロQRコード34は、各分割コード画像に特定パターンの一部が含まれていれば、縦横に分割するようにしても良い。
第1の参考例、或いは第2の参考例では、各分割QRコード画像25a,25b,25c、或いは各分割マイクロQRコード画像35a,35bの明暗パターンを結合して分割前のQRコード画像24、或いはマイクロQRコード画像34の明暗パターンを生成し、この明暗パターンをビット列に変換したが、これに限られず、分割マイクロQRコード画像35a,35bの明暗パターン、或いは各分割マイクロQRコード画像35a,35bの明暗パターンを順にビット列に変換してそれを順に繋げるようにしても良い。
直線補助シンボル27〜29は、表示セルCの幅よりも狭い直線から構成しても良い。
コードからなる補助シンボルは、バーコードなどの1次元コードであっても良い。
分割する2次元コードは、図25に示すようにデータマトリクスであっても良い。このデータマトリクスの場合には、周囲の連続した黒の表示セルCで形成された辺、白の表示セルCと黒の表示セルCとが交互に配列された辺の少なくとも1部が含まれるように分割すれば良い。
分割する2次元コードは、QRコード、PDF417コード、データマトリクス、マイクロQRコードに限られない。
(Other embodiments, reference examples)
The division of the QR code image 24 and the micro QR code 34 may be in the horizontal (column) direction. Further, the QR code image 24 and the micro QR code 34 may be divided vertically and horizontally if each divided code image includes a part of a specific pattern.
In the first reference example or the second reference example, the divided QR code images 25a, 25b, and 25c, or the divided micro QR code images 35a and 35b are combined to combine the light and dark patterns, and the QR code image 24 before the division, Alternatively, a light / dark pattern of the micro QR code image 34 is generated and the light / dark pattern is converted into a bit string. However, the present invention is not limited to this, and the light / dark pattern of the divided micro QR code images 35a, 35b or the divided micro QR code images 35a, 35b. The light and dark patterns may be sequentially converted into bit strings and connected in order.
The straight line auxiliary symbols 27 to 29 may be composed of straight lines narrower than the width of the display cell C.
The auxiliary symbol made up of a code may be a one-dimensional code such as a barcode.
The two-dimensional code to be divided may be a data matrix as shown in FIG. In the case of this data matrix, at least one part of a side formed by surrounding black display cells C and a side where white display cells C and black display cells C are alternately arranged is included. What is necessary is just to divide into.
The two-dimensional code to be divided is not limited to QR code, PDF417 code, data matrix, and micro QR code.

図面中、1はQRコード(2次元コード)、2はコード分割装置、9は読取装置、10はカメラ部(画像データ取得手段)、19は制御回路(画像データ取得手段、特定パターン検出手段、輪郭検出手段、位置関係検出手段、分割コード明暗パターン検出手段、解読手段、序列検出手段、表示セル並び検出手段、確認手段、補助シンボル検出手段)、23はプリント配線基板、24はQRコード画像(2次元コード画像)、25a〜25cは分割QRコード画像(分割コード画像)、26はマイクロQRコード画像(補助シンボル)、27〜29は直線補助シンボル(補助シンボル)、30,31は付加パターン、32はPDF417コード画像(2次元コード画像)、33a,33bは分割PDF417コード画像(分割コード画像)、34はマイクロQRコード画像(2次元コード画像)、35a,35bは分割マイクロQRコード画像(分割コード画像)、36は付加パターンである。   In the drawings, 1 is a QR code (two-dimensional code), 2 is a code dividing device, 9 is a reading device, 10 is a camera unit (image data acquisition means), 19 is a control circuit (image data acquisition means, specific pattern detection means, Outline detecting means, positional relationship detecting means, divided code light / dark pattern detecting means, decoding means, order detecting means, display cell arrangement detecting means, confirmation means, auxiliary symbol detecting means), 23 a printed wiring board, 24 a QR code image ( 2D code image), 25a-25c are divided QR code images (divided code images), 26 are micro QR code images (auxiliary symbols), 27-29 are linear auxiliary symbols (auxiliary symbols), 30, 31 are additional patterns, 32 is a PDF417 code image (two-dimensional code image), 33a and 33b are divided PDF417 code images (divided code images), 3 Micro QR code image (two-dimensional code image) 35a, the 35b divided micro QR code image (divisional code image), 36 is an additional pattern.

Claims (23)

明暗により1ビットの情報を表示する表示セルを2次元平面に縦横に並べることにより、縦横に情報を持つように生成された2次元コードを、複数の分割2次元コードに分割して表示する方法において、
所望の情報が記録された2次元コード画像であって、当該2次元コード画像の縦方向に前記表示セルの行番号を記録した並び序列情報を含んだ2次元コード画像を生成する過程と、
前記生成された2次元コード画像を、所望の前記行番号の前記表示セル行で縦方向に分割するための分割位置を設定する過程と、
前記生成された2次元コード画像を前記設定された分割位置で分割して前記複数の分割コード画像を生成する過程と、
前記生成された分割コード画像を所定の位置関係となるように前記各分割コード画像の配置位置を設定する過程と、
前記所定の位置関係となるように配置された前記複数の分割コード画像を含む画像を出力する過程と、
を含んでなる2次元コード分割表示方法。
A method in which display cells that display 1-bit information by brightness are arranged vertically and horizontally on a two-dimensional plane, and a two-dimensional code generated so as to have information vertically and horizontally is divided into a plurality of divided two-dimensional codes and displayed. In
A process for generating a two-dimensional code image containing desired information and a sequence information in which row numbers of the display cells are recorded in a vertical direction of the two-dimensional code image;
A step of setting a division position for dividing the generated two-dimensional code image in the vertical direction in the display cell row of the desired row number;
Dividing the generated two-dimensional code image at the set division position to generate the plurality of divided code images;
A step of setting an arrangement position of each divided code image so that the generated divided code image has a predetermined positional relationship;
A step of outputting an image including the plurality of divided code images arranged so as to have the predetermined positional relationship;
A two-dimensional code division display method comprising:
請求項1記載の2次元コード分割表示方法において、
前記生成された2次元コード画像を縦方向または横方向に分割するための分割位置を設定する過程では、前記2次元コードを縦方向または横方向に分割する場合、分割後の前記分割コード画像どうしの前記表示セルの行数または列数の差が0または1となるように分割位置を設定することを特徴とする2次元コード分割表示方法。
The two-dimensional code division display method according to claim 1,
In the process of setting a division position for dividing the generated two-dimensional code image in the vertical direction or the horizontal direction, when the two-dimensional code is divided in the vertical direction or the horizontal direction, the divided code images after the division are used. 2. A two-dimensional code division display method, wherein division positions are set so that a difference in the number of rows or columns of the display cells is 0 or 1.
請求項1または2記載の2次元コード分割表示方法において、
前記生成された分割コード画像を所定の位置関係となるように前記各分割コード画像の配置位置を設定する過程では、複数の前記分割コード画像を、縦方向および横方向の辺のうち、長さが短い方の辺が平行に対向するように配置することを特徴とする2次元コード画像分割方法。
The two-dimensional code division display method according to claim 1 or 2,
In the process of setting the arrangement position of each of the divided code images so that the generated divided code images have a predetermined positional relationship, a plurality of the divided code images are divided into lengths of the vertical and horizontal sides. 2. A two-dimensional code image dividing method, wherein the shorter sides are arranged so as to face each other in parallel.
請求項3記載の2次元コード画像分割方法において、
前記生成された分割コード画像を所定の位置関係となるように前記各分割コード画像の配置位置を設定する過程では、前記複数の分割コード画像の相互間の間隔を、前記表示セルの幅の整数倍に定めることを特徴とする2次元コード画像分割方法。
The two-dimensional code image division method according to claim 3,
In the process of setting the arrangement position of each divided code image so that the generated divided code image has a predetermined positional relationship, the interval between the plurality of divided code images is set to an integer of the width of the display cell. A method for dividing a two-dimensional code image, characterized in that it is determined to be double.
請求項1ないし4のいずれかに記載の2次元コード画像分割方法において、
更に、前記分割コード画像の分割方向の長さを含む分割情報を示す補助シンボル画像を生成する過程と、
前記所定の位置関係となるように配置位置を定められた前記各分割コード画像の周辺に前記補助シンボル画像を配置する過程と、
を含み、
前記所定の位置関係となるように配置された前記複数の分割コード画像を含む画像を出力する過程では、前記所定の位置関係となるように配置された前記複数の分割コード画像の周辺に前記補助シンボル画像を配置した画像を出力することを特徴とする2次元コード分割表示方法。
The two-dimensional code image dividing method according to any one of claims 1 to 4,
A step of generating an auxiliary symbol image indicating division information including a length in a division direction of the division code image;
A step of arranging the auxiliary symbol image around each of the divided code images whose arrangement position is determined so as to be the predetermined positional relationship;
Including
In the process of outputting an image including the plurality of divided code images arranged so as to have the predetermined positional relationship, the auxiliary is arranged around the plurality of divided code images arranged so as to have the predetermined positional relationship. A two-dimensional code division display method characterized by outputting an image in which symbol images are arranged.
請求項5記載の2次元コード分割表示方法において、
前記補助シンボル画像は、1次元コード画像または2次元コード画像として生成されることを特徴とする2次元コード分割表示方法。
The two-dimensional code division display method according to claim 5,
The two-dimensional code division display method, wherein the auxiliary symbol image is generated as a one-dimensional code image or a two-dimensional code image.
請求項6記載の2次元コード分割表示方法において、
前記分割される2次元コード画像は、特定パターンを含むものであって、
前記補助シンボル画像は、前記特定パターンを持つ2次元コード画像であることを特徴とする2次元コード分割表示方法。
In the two-dimensional code division | segmentation display method of Claim 6,
The divided two-dimensional code image includes a specific pattern ,
The two-dimensional code division display method, wherein the auxiliary symbol image is a two-dimensional code image having the specific pattern.
請求項6または7記載の2次元コード分割表示方法において、
前記補助シンボル画像は、その縦または横の長さが前記分割コード画像の縦または横の長さに等しく定められることを特徴とする2次元コード分割表示方法。
The two-dimensional code division display method according to claim 6 or 7,
The two-dimensional code division display method, wherein the auxiliary symbol image has a vertical or horizontal length equal to a vertical or horizontal length of the divided code image.
請求項5記載の2次元コード分割表示方法において、
前記補助シンボル画像は、1個または1列に並べられた複数個の矩形の直線片からなる1本の連続または不連続な直線からなり、
前記分割情報は、前記直線片からなる前記補助シンボル画像の長さを前記分割コード画像の分割方向の長さと一致させることによって示されていることを特徴とする2次元コード分割表示方法。
The two-dimensional code division display method according to claim 5,
The auxiliary symbol image is composed of one continuous or discontinuous straight line composed of a plurality of rectangular straight pieces arranged in one or one row,
2. The two-dimensional code division display method according to claim 1, wherein the division information is indicated by matching a length of the auxiliary symbol image made of the straight piece with a length in a division direction of the division code image.
請求項9記載の2次元コード分割表示方法において、
前記補助シンボル画像は、複数個の前記直線片を所定の間隔を隔てて一列に配設した不連続な直線からなり、
前記直線片の長さまたは前記直線片間の間隔が前記表示セルの幅の整数倍であることを特徴とする2次元コード分割表示方法。
The two-dimensional code division display method according to claim 9,
The auxiliary symbol image is composed of discontinuous straight lines in which a plurality of straight pieces are arranged in a row at a predetermined interval,
The two-dimensional code division display method characterized in that the length of the straight line pieces or the interval between the straight line pieces is an integral multiple of the width of the display cell.
請求項9または11記載の2次元コード分割表示方法において、
前記補助シンボル画像を構成する前記直線片の幅は、前記表示セルの幅の整数倍であることを特徴とする2次元コード分割表示方法。
The two-dimensional code division display method according to claim 9 or 11,
2. The two-dimensional code division display method according to claim 1, wherein the width of the straight line piece constituting the auxiliary symbol image is an integral multiple of the width of the display cell.
請求項5ないし11のいずれかに記載の2次元コード分割表示方法において、
前記所定の位置関係となるように配置位置を定められた前記各分割コード画像の周辺に前記補助シンボル画像を配置する過程では、
前記補助シンボル画像の一辺が前記分割コード画像の短辺の一つと平行に対向するように前記表示セルの幅の整数倍の距離を隔てて配置することを特徴とする2次元コード分割表示方法。
In the two-dimensional code division | segmentation display method in any one of Claim 5 thru | or 11,
In the process of arranging the auxiliary symbol image around each divided code image whose arrangement position is determined so as to be the predetermined positional relationship,
A two-dimensional code division display method, wherein one side of the auxiliary symbol image is arranged at a distance of an integral multiple of the width of the display cell so as to face one side of the short side of the division code image in parallel.
請求項1ないし4のいずれかに記載の2次元コード分割表示方法において、
更に、前記複数の分割コード画像の配列方向を含む分割情報を示す補助シンボル画像を生成する過程と、
前記所定の位置関係となるように配置位置を定められた前記各分割コード画像の周辺に前記補助シンボル画像を配置する過程と、
を含み、
前記所定の位置関係となるように配置された前記複数の分割コード画像を含む画像を出力する過程では、前記所定の位置関係となるように配置された前記複数の分割コード画像の周辺に前記補助シンボル画像を配置した画像を出力することを特徴とする2次元コード分割表示方法。
In the two-dimensional code division | segmentation display method in any one of Claim 1 thru | or 4,
A step of generating an auxiliary symbol image indicating division information including an arrangement direction of the plurality of division code images;
A step of arranging the auxiliary symbol image around each of the divided code images whose arrangement position is determined so as to be the predetermined positional relationship;
Including
In the process of outputting an image including the plurality of divided code images arranged so as to have the predetermined positional relationship, the auxiliary is arranged around the plurality of divided code images arranged so as to have the predetermined positional relationship. A two-dimensional code division display method characterized by outputting an image in which symbol images are arranged.
請求項13記載の2次元コード分割表示方法において、
前記補助シンボル画像は、1個または1列に並べられた複数個の矩形の直線片からなる1本の連続または不連続な直線として形成され、
前記分割情報は、前記直線片からなる前記補助シンボル画像の長さ方向を前記分割コード画像の配列方向と一致させることによって示し、前記補助シンボル画像の長さは、前記配置された前記補助シンボル画像の全体の長さに等しく設定されていることを特徴とする2次元コード分割表示方法。
The two-dimensional code division display method according to claim 13,
The auxiliary symbol image is formed as one continuous or discontinuous straight line composed of a plurality of rectangular straight pieces arranged in one or one row,
The division information is indicated by matching a length direction of the auxiliary symbol image formed of the straight piece with an arrangement direction of the divided code image, and the length of the auxiliary symbol image is determined by the arrangement of the auxiliary symbol images. The two-dimensional code division display method is characterized in that it is set to be equal to the entire length.
請求項14記載の2次元コード分割表示方法において、
前記補助シンボルは画像、複数本の直線片を所定の間隔を隔てて一列に配設した不連続な直線からなり、
前記各直線片の長さは、前記表示セルの幅の整数倍に設定されていることを特徴とする2次元コード分割表示方法。
The two-dimensional code division display method according to claim 14,
The auxiliary symbol comprises an image, a discontinuous straight line in which a plurality of straight pieces are arranged in a line at a predetermined interval,
2. The two-dimensional code division display method according to claim 1, wherein the length of each straight line piece is set to an integral multiple of the width of the display cell.
請求項18または19記載の2次元コード分割表示方法において、
前記補助シンボル画像を構成する直線片の幅は、前記表示セルの幅の整数倍であることを特徴とする2次元コード分割表示方法。
The two-dimensional code division display method according to claim 18 or 19,
2. The two-dimensional code division display method according to claim 1, wherein the width of the straight line pieces constituting the auxiliary symbol image is an integral multiple of the width of the display cell.
請求項13ないし16のいずれかに記載の2次元コード分割表示方法において、
前記所定の位置関係となるように配置位置を定められた前記各分割コード画像の周辺に前記補助シンボル画像を配置する過程では、
前記補助シンボル画像の一辺が前記分割コード画像の長辺の一つと平行に対向するように前記表示セルの幅の整数倍の距離を隔てて配置することを特徴とする2次元コード分割表示方法。
The two-dimensional code division display method according to any one of claims 13 to 16,
In the process of arranging the auxiliary symbol image around each divided code image whose arrangement position is determined so as to be the predetermined positional relationship,
A two-dimensional code division display method, wherein one side of the auxiliary symbol image is arranged at a distance of an integral multiple of the width of the display cell so as to face one side of the long side of the division code image in parallel.
請求項1記載の2次元コード分割表示方法によって分割された複数の分割コード画像から2次元コードを読み取る2次元コード読取方法において、
前記2次元コード画像を分割した前記複数の分割コード画像を撮像してその画像データを取得する過程と、
前記複数の分割コード画像のいずれかに含まれる所定のパターンに基いて前記各分割コード画像の4つの頂点を検出する過程と、
前記各分割コード画像の前記表示セルの位置を算出して各表示セルの明暗を判別することにより、前記各分割コード画像の明暗パターンを生成する過程と、
前記複数の分割コード画像の画像データ中に含まれる前記序列情報を検出する過程と、
前記序列情報に基づいて前記複数の分割コード画像の相互の位置関係を検出する過程と、
前記各分割コード画像を前記相互の位置関係に基づいて繋げることで前記2次元コード画像を復元できることにより、前記各分割コード画像の明暗パターンに基づいて前記2次元コードに記録された情報を読み取る過程と、
を含むことを特徴とする2次元コード読取方法。
A two-dimensional code reading method for reading a two-dimensional code from a plurality of divided code images divided by the two-dimensional code divided display method according to claim 1.
Capturing the plurality of divided code images obtained by dividing the two-dimensional code image and acquiring the image data;
Detecting four vertices of each of the divided code images based on a predetermined pattern included in any of the plurality of divided code images;
Generating a light / dark pattern of each of the divided code images by calculating the position of the display cell of each of the divided code images and determining the brightness of each display cell;
Detecting the sequence information included in the image data of the plurality of divided code images;
Detecting a mutual positional relationship between the plurality of divided code images based on the order information;
A step of reading the information recorded in the two-dimensional code based on the light / dark pattern of each divided code image by restoring the two-dimensional code image by connecting the divided code images based on the mutual positional relationship. When,
A two-dimensional code reading method comprising:
請求項18記載の2次元コード読取方法において、
更に、前記複数の分割コード画像の周辺に補助シンボル画像が配置されている場合、その補助シンボルを検出する過程を含み、
前記分割コード画像の4つの頂点を検出する過程では、前記補助シンボル画像が示す分割情報に基づいて前記分割コード画像の4つの頂点を検出することを特徴とする2次元コード読取方法。
The two-dimensional code reading method according to claim 18,
Further, when an auxiliary symbol image is arranged around the plurality of divided code images, the method includes a step of detecting the auxiliary symbol,
In the process of detecting four vertices of the divided code image, the four vertices of the divided code image are detected based on division information indicated by the auxiliary symbol image.
請求項19記載の2次元コード読取方法において、
前記補助シンボル画像が2次元コード画像であって、その補助シンボル画像に示された分割情報に前記2次元コード画像に含まれる前記表示セルの数が含まれる場合、
前記分割コード画像に含まれる前記表示セルの位置を検出する過程では、前記分割コード画像に含まれる前記表示セルの数に基づいて前記表示セルの位置を算出することを特徴とする2次元コード読取方法。
The two-dimensional code reading method according to claim 19,
When the auxiliary symbol image is a two-dimensional code image and the division information indicated in the auxiliary symbol image includes the number of display cells included in the two-dimensional code image,
In the process of detecting the position of the display cell included in the divided code image, the position of the display cell is calculated based on the number of the display cells included in the divided code image. Method.
請求項18記載の2次元コード読取方法に使用する2次元コード読取装置おいて、
前記2次元コード画像を分割した前記複数の分割コード画像を撮像してその画像データを取得する画像取得手段と、
前記複数の分割コード画像のいずれかに含まれる所定のパターンに基いて前記各分割コード画像の4つの頂点を検出する輪郭検出手段と、
前記各分割コード画像の前記表示セルの位置を算出して各表示セルの明暗を判別することにより、前記各分割コード画像の明暗パターンを生成する分割コード明暗パターン生成手段と、
前記複数の分割コード画像の画像データ中に含まれる前記序列情報を検出する序列情報検出手段と、
前記序列情報に基づいて前記複数の分割コード画像の相互の位置関係を検出する位置関係検出手段と、
前記各分割コード画像を前記相互の位置関係に基づいて繋げることで前記2次元コード画像を復元できることにより、前記各分割コード画像の明暗パターンに基づいて前記2次元コードに記録された情報を読み取る解読手段と、
を含むことを特徴とする2次元コード読取装置。
In the two-dimensional code reading apparatus used for the two-dimensional code reading method of Claim 18,
Image acquisition means for capturing the plurality of divided code images obtained by dividing the two-dimensional code image and acquiring the image data;
Contour detecting means for detecting four vertices of each divided code image based on a predetermined pattern included in any of the plurality of divided code images;
A divided code light / dark pattern generating means for generating a light / dark pattern of each of the divided code images by calculating the position of the display cell of each of the divided code images and determining the brightness of each display cell;
Order information detecting means for detecting the order information included in the image data of the plurality of divided code images;
Positional relationship detection means for detecting a mutual positional relationship between the plurality of divided code images based on the order information;
The two-dimensional code image can be restored by connecting the respective divided code images based on the mutual positional relationship, thereby decoding the information recorded in the two-dimensional code based on the light / dark pattern of each divided code image Means,
A two-dimensional code reader.
請求項21記載の2次元コード読取装置おいて、
更に、前記複数の分割コード画像の周辺に補助シンボル画像が配置されている場合、その補助シンボル画像を検出する補助シンボル検出手段を含み、
前記分割コード画像の4つの頂点を検出する輪郭検出手段は、前記補助シンボル画像が示す分割情報に基づいて前記分割コード画像の4つの頂点を検出することを特徴とする2次元コード読取装置。
The two-dimensional code reader according to claim 21,
Further, when an auxiliary symbol image is arranged around the plurality of divided code images, an auxiliary symbol detecting means for detecting the auxiliary symbol image is included,
The two-dimensional code reading device, wherein the contour detecting means for detecting four vertices of the divided code image detects four vertices of the divided code image based on the division information indicated by the auxiliary symbol image.
請求項22記載の2次元コード読取装置において、
前記補助シンボル画像が2次元コード画像であって、その補助シンボルに示された分割情報に前記2次元コード画像に含まれる前記表示セルの数が含まれる場合、
前記分割コード画像に含まれる前記表示セルの位置を検出する位置検出手段は、前記分割コード画像に含まれる前記表示セルの数に基づいて前記表示セルの位置を算出することを特徴とする2次元コード読取装置。
The two-dimensional code reader according to claim 22,
When the auxiliary symbol image is a two-dimensional code image and the division information indicated in the auxiliary symbol includes the number of display cells included in the two-dimensional code image,
The two-dimensional feature wherein the position detecting means for detecting the position of the display cell included in the divided code image calculates the position of the display cell based on the number of the display cells included in the divided code image. Code reader.
JP2010276999A 2010-12-13 2010-12-13 Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus Expired - Fee Related JP5187382B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010276999A JP5187382B2 (en) 2010-12-13 2010-12-13 Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010276999A JP5187382B2 (en) 2010-12-13 2010-12-13 Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2005265216A Division JP4752413B2 (en) 2005-09-13 2005-09-13 Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus

Publications (2)

Publication Number Publication Date
JP2011054211A JP2011054211A (en) 2011-03-17
JP5187382B2 true JP5187382B2 (en) 2013-04-24

Family

ID=43943057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010276999A Expired - Fee Related JP5187382B2 (en) 2010-12-13 2010-12-13 Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus

Country Status (1)

Country Link
JP (1) JP5187382B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101246339B1 (en) 2011-11-23 2013-03-21 김영혁 System and method using qr code for security authentication
CN105528628B (en) * 2014-09-29 2018-10-02 北大方正集团有限公司 The Method of printing and device of quick response matrix QR codes
US9659202B2 (en) 2015-08-13 2017-05-23 International Business Machines Corporation Printing and extraction of 2D barcode on 3D objects
CN108921266B (en) * 2018-09-29 2021-01-22 长安大学 Static two-dimensional code encryption display method and device based on image segmentation

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2912831B2 (en) * 1994-10-05 1999-06-28 オリンパス光学工業株式会社 Information recording medium and information reproducing apparatus
JPH10187872A (en) * 1996-12-25 1998-07-21 Tec Corp Information symbol reader
JP2002036763A (en) * 2000-07-27 2002-02-06 Jgs:Kk Information code printed matter, device and method for manufacturing information code printed matter, and device for reading information code
CN1396538A (en) * 2002-08-07 2003-02-12 深圳矽感科技有限公司 Method and system for electronizing character and chart information on ordinary carrier
JP3966203B2 (en) * 2003-03-27 2007-08-29 ブラザー工業株式会社 Barcode image generation apparatus and program

Also Published As

Publication number Publication date
JP2011054211A (en) 2011-03-17

Similar Documents

Publication Publication Date Title
JP4752413B2 (en) Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus
KR100309242B1 (en) Symbol information reading device
JP4911340B2 (en) Two-dimensional code detection system and two-dimensional code detection program
US5553084A (en) Error correction enhancement for code one and other machine-readable symbologies
JP5187383B2 (en) Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus
JP6450907B2 (en) Dot pattern
US9430726B2 (en) High capacity 2D color barcode and method for decoding the same
JP2004070960A (en) Method for converting two-dimensional bar code into signal, scanner performing the same, and decoding method
US8333326B2 (en) Stacked barcode reader and stacked barcode reading method
JP5187382B2 (en) Two-dimensional code division display method, two-dimensional code reading method, and two-dimensional code reading apparatus
JP5676183B2 (en) Bar code reading apparatus and bar code reading method
JP2014191755A (en) Stack type bar code reading device and stack type bar code reading method
JP4394133B2 (en) Information code, information code reader
JP2007102386A (en) Symbol information reading method and symbol information reading device
JP2005208843A (en) Information encoding/decoding method, device and code indicator
JP2011076208A (en) Method and device for reading stacked bar code information
JP5967000B2 (en) Information code reading system, information code reading device, information code
JP5240124B2 (en) Optical information reader
JP5657987B2 (en) Stacked bar code reader and stack bar code reading method
JP5522104B2 (en) Information code reader
JP2007328672A (en) Two-dimensional code decoder, two-dimensional code decoding method, and program
US9495574B2 (en) Stack barcode reader and stack barcode reading method
JP2012083835A (en) Stacked barcode reader and stacked barcode reading method
JP3891072B2 (en) Bar code reading method and bar code reading apparatus
JP5218281B2 (en) Information code reader

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120911

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121029

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: 20121225

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130107

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

Free format text: PAYMENT UNTIL: 20160201

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5187382

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

LAPS Cancellation because of no payment of annual fees