JP5125547B2 - Image generating apparatus, image processing apparatus, program, and print medium - Google Patents

Image generating apparatus, image processing apparatus, program, and print medium Download PDF

Info

Publication number
JP5125547B2
JP5125547B2 JP2008016239A JP2008016239A JP5125547B2 JP 5125547 B2 JP5125547 B2 JP 5125547B2 JP 2008016239 A JP2008016239 A JP 2008016239A JP 2008016239 A JP2008016239 A JP 2008016239A JP 5125547 B2 JP5125547 B2 JP 5125547B2
Authority
JP
Japan
Prior art keywords
bit string
code
pattern
image
information
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.)
Active
Application number
JP2008016239A
Other languages
Japanese (ja)
Other versions
JP2009176207A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2008016239A priority Critical patent/JP5125547B2/en
Publication of JP2009176207A publication Critical patent/JP2009176207A/en
Application granted granted Critical
Publication of JP5125547B2 publication Critical patent/JP5125547B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像生成装置、画像処理装置、プログラム、印刷媒体に関する。   The present invention relates to an image generation device, an image processing device, a program, and a print medium.

表面上の複数の位置を符号化する位置コードを提供する方法は知られている(例えば、特許文献1参照)。この特許文献1では、循環数字列を表面に沿って複数回印刷する。その際、循環数字列の異なるローテーションを、隣り合う数字列間で所定のずれが起こるように使用し、表面を分割した複数のコードウィンドウが、少なくとも3つの循環数字列を備えると共に、隣り合うコードウィンドウの1つの数字列と重なり合う1つの数字列を有するものであり、また、コードウィンドウの位置を、そのコードウィンドウに属している循環数字列間のずれによって符号化している。   A method for providing a position code for encoding a plurality of positions on a surface is known (see, for example, Patent Document 1). In this patent document 1, a cyclic numeral sequence is printed a plurality of times along the surface. At that time, using different rotations of the cyclic numeral sequences so that a predetermined deviation occurs between the adjacent numeric strings, a plurality of code windows divided on the surface include at least three cyclic numeral sequences and adjacent codes. It has one numeric string that overlaps one numeric string of the window, and the position of the code window is encoded by a shift between the cyclic numeric strings belonging to the code window.

論理的に順位付けられたデジタル量子の機械読取り可能なエンコーディングを記録した記録媒体からのエンコーディングの空間的に非同期的な読取りを可能にする技術も知られている(例えば、特許文献2参照)。この特許文献2では、本質的に同一であるエンコーディングの多数のコピーを形成し、機械認識可能な空間同期指標をエンコーディングのコピーの各々の中のプリント位置に組み合わせて、エンコーディングの空間的に同期可能な多数の事例を提供し、それらの事例をレイアウト規則に従って記録媒体における空間的に周期的な中心の格子に書き込んでいる。   There is also known a technique that enables spatially asynchronous reading of encoding from a recording medium that records machine-readable encoding of digital quantum that is logically ranked (see, for example, Patent Document 2). In this document, multiple copies of an encoding that are essentially identical can be formed, and a machine-recognizable spatial synchronization index can be combined with the print position within each of the copies of the encoding to allow spatial synchronization of the encoding. A large number of cases are provided, and these cases are written in a spatially periodic center grid in the recording medium according to the layout rules.

取り込まれた画像の位置をより大きい画像から決定するためのシステム及び方法も知られている(例えば、特許文献3参照)。この特許文献3では、非反復的な系列を、所定のサイズのサブウィンドウ毎に固有とされた非反復的な配列に折り畳み、その取り込まれた位置を非反復的な配列内のサブウィンドウ毎に決定することによって、取り込まれた画像の位置を、より大きいサブウィンドウの画像から決定している。   Systems and methods for determining the position of captured images from larger images are also known (see, for example, Patent Document 3). In this Patent Document 3, a non-repetitive sequence is folded into a non-repetitive sequence unique to each sub-window of a predetermined size, and the captured position is determined for each sub-window in the non-repetitive sequence. Thus, the position of the captured image is determined from the image of the larger subwindow.

光学的に読み取り可能に記録されるマルチメディア情報の長時間記録及び繰り返し再生を可能とする技術も知られている(例えば、特許文献4参照)。この特許文献4において、記録装置は、プリンタシステムや印刷用製版システムにより、オーディオ情報、映像情報、ディジタルコードデータ等を含めた所謂マルチメディア情報を光学的に読み取り可能なドットコードとして、画像や文字と一緒に紙等の媒体上に記録する。ペン型の情報再生装置は、ドットコードの手動走査に応じてそのドットコードを順次取り込んで、元のオーディオ情報を音声出力器にて、元の映像情報を表示装置にて、元のディジタルコードデータをページプリンタ等にて出力する。   A technique that enables long-time recording and repeated reproduction of multimedia information that is optically readable is also known (see, for example, Patent Document 4). In this patent document 4, a recording apparatus uses a printer system or a printing plate making system as a dot code that can optically read so-called multimedia information including audio information, video information, digital code data, etc. And record on a medium such as paper. The pen-type information reproducing device sequentially captures the dot code according to the manual scanning of the dot code, and the original audio information is output by the audio output device, the original video information is displayed by the display device, and the original digital code data Is output by a page printer or the like.

タブレットを使用せずに、媒体上の座標を精緻に検出できるようにする技術も知られている(例えば、特許文献5参照)。この特許文献5において、ペン型の座標入力装置は、媒体上に形成されその媒体上の座標を示すコードシンボルを光学的に読み取り、この読み取ったコードシンボルをデコードし、読み取った画像中におけるコードシンボルの位置、向き及び歪み量を検出する。そして、デコード後の情報と、コードシンボルの位置、向き及び歪み量とにより、先端部の媒体上での位置の座標を検出する。   There is also known a technique that enables precise detection of coordinates on a medium without using a tablet (see, for example, Patent Document 5). In this patent document 5, a pen-type coordinate input device optically reads a code symbol formed on a medium and indicating the coordinates on the medium, decodes the read code symbol, and reads the code symbol in the read image. The position, orientation, and amount of distortion are detected. Then, the coordinates of the position of the tip on the medium are detected based on the decoded information and the position, orientation, and distortion amount of the code symbol.

また、背景画像として埋め込んだ符号パターンの濃度むらの発生を防止する技術も知られている(例えば、特許文献6参照)。この特許文献6では、用紙上に繰り返し形成される画像識別情報を符号化したパターンを、画像識別情報を符号化して得られる第1パターン値に、座標値を符号化して得られるパターン値を加算した値を基に得られる第2パターン値を表すパターンとすることにより、濃度むらの発生を低減させている。   Also known is a technique for preventing the occurrence of uneven density in a code pattern embedded as a background image (see, for example, Patent Document 6). In this patent document 6, a pattern value obtained by encoding coordinate values is added to a first pattern value obtained by encoding image identification information, and a pattern obtained by encoding image identification information repeatedly formed on a sheet. By using a pattern representing the second pattern value obtained based on the obtained value, the occurrence of density unevenness is reduced.

特表2003−511762号公報JP-T-2003-511762 特開平9−185669号公報JP-A-9-185669 特開2004−152273号公報JP 2004-152273 A 特開平6−231466号公報JP-A-6-231466 特開2000−293303号公報JP 2000-293303 A 特開2007−226678号公報JP 2007-226678 A

ここで、一般に、識別情報を表すパターン画像による濃度むらを低減しようとすると、識別情報の復号率が低下する場合があった。
本発明の目的は、識別情報の復号率に影響を与えることなく、識別情報を表すパターン画像による濃度むらを低減させることにある。
Here, generally, when trying to reduce the density unevenness due to the pattern image representing the identification information, the decoding rate of the identification information may decrease.
An object of the present invention is to reduce density unevenness due to a pattern image representing identification information without affecting the decoding rate of the identification information.

請求項1に記載の発明は、媒体及び当該媒体に印刷された文書画像の少なくとも何れか一方の識別情報を表す第1のビット列を取得する第1のビット列取得手段と、前記媒体上の位置を表し、擬似乱数性を有する第2のビット列を取得する第2のビット列取得手段と、所定の第3のビット列に、当該第3のビット列が埋め込まれる位置を表す前記第2のビット列を用いて擬似乱数性を与えることにより、擬似乱数ビット列を生成するビット列生成手段と、前記第1のビット列に前記擬似乱数ビット列を重畳して得られたビット列に対応する第1のパターン画像と、前記第2のビット列に対応する第2のパターン画像とを配置した埋め込み画像を生成する埋め込み画像生成手段とを備えたことを特徴とする画像生成装置である。
請求項2に記載の発明は、前記識別情報に重畳する特定の情報を取得する情報取得手段を更に備え、前記ビット列生成手段は、前記擬似乱数ビット列の生成に先立ち、前記特定の情報に基づいて前記第3のビット列を生成することを特徴とする請求項1記載の画像生成装置である。
請求項3に記載の発明は、前記ビット列生成手段は、前記第3のビット列を構成するビットが示す数値に、当該ビットが埋め込まれる位置を表す前記第2のビット列の部分列が示す数値を加算し、その結果を所定値で割った余りを、前記擬似乱数ビット列を構成するビットが示す数値とすることを特徴とする請求項1記載の画像生成装置である。
請求項4に記載の発明は、前記埋め込み画像生成手段は、前記擬似乱数ビット列を構成するビットが示す数値に所定値を乗じて得られた数値を、前記第1のビット列の部分列が示す数値に加算することにより、当該第1のビット列に当該擬似乱数ビット列を重畳することを特徴とする請求項1記載の画像生成装置である。
請求項5に記載の発明は、前記第1のパターン画像及び前記第2のパターン画像は、p個のパターン画像が属する2個の組の何れかに属し(p≧2,q≧1)、前記ビット列生成手段は、前記第3のビット列を構成するqビットが示す数値に、当該qビットが埋め込まれる位置を表す前記第2のビット列の部分列が示す数値を加算し、その結果を2で割った余りを、前記擬似乱数ビット列を構成するビットが示す値とし、前記埋め込み画像生成手段は、前記擬似乱数ビット列を構成するqビットが示す値にpを乗じて得られた数値を、前記第1のビット列の部分列が示す数値に加算することを特徴とする請求項1記載の画像生成装置である。
請求項6に記載の発明は、媒体に印刷された埋め込み画像を取得する埋め込み画像取得手段と、前記埋め込み画像に配置された第1のパターン画像に対応するビット列であって、前記媒体及び当該媒体に印刷された文書画像の少なくとも何れか一方の識別情報を表す第1のビット列に擬似乱数ビット列を重畳して得られるビット列から、当該第1のビット列と当該擬似乱数ビット列とを取得する第1のビット列取得手段と、前記埋め込み画像に配置された第2のパターン画像に対応するビット列であって、前記媒体上の位置を表し、擬似乱数性を有するビット列である第2のビット列を取得する第2のビット列取得手段と、前記擬似乱数ビット列から、当該擬似乱数ビット列が埋め込まれた位置を表す前記第2のビット列を用いて擬似乱数性を除去することにより、第3のビット列を生成するビット列生成手段と、前記第1のビット列と前記第2のビット列と前記第3のビット列とに基づいて、前記識別情報と、前記媒体上の位置を特定する情報と、これらの情報以外の特定の情報とを取得する情報取得手段とを備えたことを特徴とする画像処理装置である。
請求項7に記載の発明は、前記第1のビット列取得手段は、前記第1のビット列に前記擬似乱数ビット列を重畳して得られるビット列の部分列が示す数値を所定値で割った余りを、当該第1のビット列の部分列が示す数値とすることを特徴とする請求項6記載の画像処理装置である。
請求項8に記載の発明は、前記ビット列生成手段は、前記擬似乱数ビット列を構成するビットが示す数値から、当該ビットが埋め込まれた位置を表す前記第2のビット列の部分列が示す数値を減算し、その結果を所定値で割った余りを、前記第3のビット列を構成するビットが示す数値とすることを特徴とする請求項6記載の画像処理装置である。
請求項9に記載の発明は、前記第1のパターン画像及び前記第2のパターン画像は、p個のパターン画像が属する2個の組の何れかに属し(p≧2,q≧1)、前記第1のビット列取得手段は、前記第1のビット列に前記擬似乱数ビット列を重畳して得られるビット列の部分列が示す数値をpで割った余りを、当該第1のビット列の部分列が示す数値とし、前記ビット列生成手段は、前記擬似乱数ビット列を構成するqビットが示す数値から、当該qビットが埋め込まれた位置を表す前記第2のビット列の部分列が示す数値を減算し、その結果を2で割った余りを、前記第3のビット列を構成するqビットが示す数値とすることを特徴とする請求項6記載の画像処理装置である。
請求項10に記載の発明は、コンピュータに、媒体及び当該媒体に印刷された文書画像の少なくとも何れか一方の識別情報を表す第1のビット列を取得する機能と、前記媒体上の位置を表し、擬似乱数性を有する第2のビット列を取得する機能と、所定の第3のビット列に、当該第3のビット列が埋め込まれる位置を表す前記第2のビット列を用いて擬似乱数性を与えることにより、擬似乱数ビット列を生成する機能と、前記第1のビット列に前記擬似乱数ビット列を重畳して得られたビット列に対応する第1のパターン画像と、前記第2のビット列に対応する第2のパターン画像とを配置した埋め込み画像を生成する機能とを実現させるためのプログラムである。
請求項11に記載の発明は、コンピュータに、媒体に印刷された埋め込み画像を取得する機能と、前記埋め込み画像に配置された第1のパターン画像に対応するビット列であって、前記媒体及び当該媒体に印刷された文書画像の少なくとも何れか一方の識別情報を表す第1のビット列に擬似乱数ビット列を重畳して得られるビット列から、当該第1のビット列と当該擬似乱数ビット列とを取得する機能と、前記埋め込み画像に配置された第2のパターン画像に対応するビット列であって、前記媒体上の位置を表し、擬似乱数性を有するビット列である第2のビット列を取得する機能と、前記擬似乱数ビット列から、当該擬似乱数ビット列が埋め込まれた位置を表す前記第2のビット列を用いて擬似乱数性を除去することにより、第3のビット列を生成する機能と、前記第1のビット列と前記第2のビット列と前記第3のビット列とを出力する機能とを実現させるためのプログラムである。
請求項12に記載の発明は、媒体及び当該媒体に印刷された文書画像の少なくとも何れか一方の識別情報を表す第1のビット列に擬似乱数ビット列を重畳して得られたビット列に対応するパターン画像が印刷された第1の領域と、前記媒体上の位置を表し、擬似乱数性を有する第2のビット列に対応するパターン画像が印刷された第2の領域とを含み、前記擬似乱数ビット列は、所定の第3のビット列に、当該第3のビット列が埋め込まれる位置を表す前記第2のビット列を用いて擬似乱数性を与えることにより生成されたビット列であることを特徴とする印刷媒体である。
According to the first aspect of the present invention, there is provided first bit string acquisition means for acquiring a first bit string representing identification information of at least one of a medium and a document image printed on the medium, and a position on the medium. And a second bit string acquisition means for acquiring a second bit string having pseudo-randomness, and the second bit string representing a position where the third bit string is embedded in a predetermined third bit string. By providing randomness, a bit string generating means for generating a pseudo random number bit string, a first pattern image corresponding to a bit string obtained by superimposing the pseudo random number bit string on the first bit string, and the second An image generation apparatus comprising: an embedded image generation unit configured to generate an embedded image in which a second pattern image corresponding to a bit string is arranged.
The invention according to claim 2 further includes information acquisition means for acquiring specific information superimposed on the identification information, wherein the bit string generation means is based on the specific information prior to generation of the pseudo random number bit string. The image generation apparatus according to claim 1, wherein the third bit string is generated.
According to a third aspect of the present invention, the bit string generation means adds a numerical value indicated by a partial string of the second bit string indicating a position where the bit is embedded to a numerical value indicated by a bit constituting the third bit string. 2. The image generating apparatus according to claim 1, wherein a remainder obtained by dividing the result by a predetermined value is a numerical value indicated by a bit constituting the pseudo random number bit string.
According to a fourth aspect of the present invention, in the embedded image generating means, a numerical value indicated by a partial string of the first bit string is a numerical value obtained by multiplying a numerical value indicated by a bit constituting the pseudo-random bit string by a predetermined value. The image generating apparatus according to claim 1, wherein the pseudo random number bit string is superimposed on the first bit string by adding to the first bit string.
According to a fifth aspect of the present invention, the first pattern image and the second pattern image belong to one of 2 q sets to which p pattern images belong (p ≧ 2, q ≧ 1). The bit string generation means adds the numerical value indicated by the partial string of the second bit string indicating the position where the q bit is embedded to the numerical value indicated by the q bit constituting the third bit string, and the result is 2 The remainder divided by q is the value indicated by the bits constituting the pseudo-random number bit string, and the embedded image generating means obtains a numerical value obtained by multiplying the value indicated by the q bits constituting the pseudo-random number bit string by p, The image generating apparatus according to claim 1, wherein the image generating apparatus adds to a numerical value indicated by a partial sequence of the first bit sequence.
The invention according to claim 6 is an embedded image acquisition means for acquiring an embedded image printed on a medium, and a bit string corresponding to the first pattern image arranged in the embedded image, the medium and the medium A first bit string and a pseudo-random bit string are obtained from a bit string obtained by superimposing a pseudo-random bit string on a first bit string representing identification information of at least one of the document images printed on A second bit string that is a bit string corresponding to a second pattern image arranged in the embedded image, the second bit string representing a position on the medium, and a bit string having pseudo-randomness. Using the second bit string representing the position where the pseudo random number bit string is embedded from the pseudo random number bit string. Removing the bit string generating means for generating a third bit string, the identification information, and the position on the medium based on the first bit string, the second bit string, and the third bit string. An image processing apparatus comprising information acquisition means for acquiring information to be specified and specific information other than these pieces of information.
The invention according to claim 7 is characterized in that the first bit string acquisition means obtains a remainder obtained by dividing a numerical value indicated by a partial string of a bit string obtained by superimposing the pseudo random number bit string on the first bit string by a predetermined value, The image processing apparatus according to claim 6, wherein a numerical value indicated by the partial sequence of the first bit sequence is used.
According to an eighth aspect of the present invention, the bit string generation means subtracts a numerical value indicated by a partial string of the second bit string indicating a position where the bit is embedded from a numerical value indicated by a bit constituting the pseudo random number bit string. 7. The image processing apparatus according to claim 6, wherein a remainder obtained by dividing the result by a predetermined value is a numerical value indicated by a bit constituting the third bit string.
According to a ninth aspect of the present invention, the first pattern image and the second pattern image belong to any one of 2 q sets to which p pattern images belong (p ≧ 2, q ≧ 1). The first bit string acquisition means obtains a remainder obtained by dividing the numerical value indicated by the partial string of the bit string obtained by superimposing the pseudo random number bit string on the first bit string by p, and the partial string of the first bit string The bit string generation means subtracts the numerical value indicated by the partial string of the second bit string indicating the position where the q bit is embedded from the numerical value indicated by the q bit constituting the pseudo random number bit string; the modulo 2 q results, an image processing apparatus according to claim 6, characterized in that said third numeric value indicating the q bits forming the bit sequence.
The invention according to claim 10 represents a function of acquiring a first bit string representing identification information of at least one of a medium and a document image printed on the medium, and a position on the medium. A function of obtaining a second bit string having pseudo-randomness, and giving the pseudo-randomness to the predetermined third bit string by using the second bit string representing a position where the third bit string is embedded, A function of generating a pseudo-random bit string, a first pattern image corresponding to a bit string obtained by superimposing the pseudo-random bit string on the first bit string, and a second pattern image corresponding to the second bit string Is a program for realizing a function of generating an embedded image in which are arranged.
The invention described in claim 11 is a function for acquiring an embedded image printed on a medium in a computer, and a bit string corresponding to the first pattern image arranged in the embedded image, the medium and the medium A function of acquiring the first bit string and the pseudo-random bit string from a bit string obtained by superimposing the pseudo-random bit string on a first bit string representing identification information of at least one of the document images printed on A function of obtaining a second bit string corresponding to a second pattern image arranged in the embedded image, the second bit string representing a position on the medium and having a pseudo-random characteristic; and the pseudo-random bit string From the second bit string representing the position where the pseudo-random bit string is embedded, the pseudo-randomness is removed, thereby removing the third bit. And generating a is a program for realizing the function of outputting the first bit string and said second bit string and said third bit string.
The invention according to claim 12 is a pattern image corresponding to a bit string obtained by superimposing a pseudo random number bit string on a first bit string representing identification information of at least one of a medium and a document image printed on the medium. Is printed, and a second area representing a position on the medium and printed with a pattern image corresponding to a second bit string having pseudo-randomness, the pseudo-random bit string, The print medium is a bit string generated by giving pseudo-randomness to the predetermined third bit string by using the second bit string indicating a position where the third bit string is embedded.

請求項1の発明は、識別情報の復号率に影響を与えることなく、識別情報を表すパターン画像による濃度むらを低減させることができるという効果を有する。
請求項2の発明は、識別情報の復号率に影響を与えずに濃度むらを低減させるためのビット列を用いて、特定の情報を表すことができるという効果を有する。
請求項3の発明は、本構成を有していない場合に比較して、濃度むらを低減させるためのビット列から特定の情報を容易に取り出すことができるという効果を有する。
請求項4の発明は、本構成を有していない場合に比較して、濃度むらが低減されたパターン画像に対応するビット列から識別情報を容易に取り出すことができるという効果を有する。
請求項5の発明は、本構成を有していない場合に比較して、濃度むらが低減されたパターン画像から識別情報及び特定の情報を容易に取り出せるようにするために、パターン画像を効率的に利用することができるという効果を有する。
請求項6の発明は、識別情報の復号率に影響を与えることなく、識別情報を表すパターン画像による濃度むらを低減させることができるという効果を有する。
請求項7の発明は、本構成を有していない場合に比較して、濃度むらが低減されたパターン画像に対応するビット列から識別情報を容易に取り出すことができるという効果を有する。
請求項8の発明は、本構成を有していない場合に比較して、濃度むらを低減させるためのビット列から特定の情報を容易に取り出すことができるという効果を有する。
請求項9の発明は、本構成を有していない場合に比較して、濃度むらが低減されたパターン画像から識別情報及び特定の情報を容易に取り出せるようにするために、パターン画像を効率的に利用することができるという効果を有する。
請求項10の発明は、識別情報の復号率に影響を与えることなく、識別情報を表すパターン画像による濃度むらを低減させることができるという効果を有する。
請求項11の発明は、識別情報の復号率に影響を与えることなく、識別情報を表すパターン画像による濃度むらを低減させることができるという効果を有する。
請求項12の発明は、識別情報の復号率に影響を与えることなく、識別情報を表すパターン画像による濃度むらを低減させることができるという効果を有する。
The invention according to claim 1 has an effect that density unevenness due to the pattern image representing the identification information can be reduced without affecting the decoding rate of the identification information.
The invention of claim 2 has an effect that specific information can be expressed using a bit string for reducing density unevenness without affecting the decoding rate of identification information.
The invention of claim 3 has an effect that specific information can be easily extracted from a bit string for reducing density unevenness as compared with the case where this configuration is not provided.
The invention of claim 4 has an effect that identification information can be easily extracted from a bit string corresponding to a pattern image in which density unevenness is reduced as compared with the case where the present configuration is not provided.
According to the invention of claim 5, the identification information and the specific information can be easily extracted from the pattern image in which the density unevenness is reduced as compared with the case where the present configuration is not provided. It has the effect that it can be utilized for.
The invention of claim 6 has the effect that uneven density due to the pattern image representing the identification information can be reduced without affecting the decoding rate of the identification information.
The invention of claim 7 has an effect that identification information can be easily extracted from a bit string corresponding to a pattern image in which density unevenness is reduced as compared with the case where the present configuration is not provided.
The invention according to claim 8 has an effect that specific information can be easily extracted from a bit string for reducing density unevenness as compared with the case where the present configuration is not provided.
According to the ninth aspect of the present invention, in order to make it possible to easily extract the identification information and the specific information from the pattern image in which the density unevenness is reduced as compared with the case where the present configuration is not provided, the pattern image is efficiently used. It has the effect that it can be utilized for.
The invention according to claim 10 has the effect that uneven density due to the pattern image representing the identification information can be reduced without affecting the decoding rate of the identification information.
The invention of claim 11 has the effect that uneven density due to the pattern image representing the identification information can be reduced without affecting the decoding rate of the identification information.
The invention according to claim 12 has the effect that uneven density due to the pattern image representing the identification information can be reduced without affecting the decoding rate of the identification information.

以下、添付図面を参照して、本発明を実施するための最良の形態(以下、「実施の形態」という)について詳細に説明する。
まず、本実施の形態で利用する符号化方式について説明する。
本実施の形態における符号化方式では、m(m≧3)箇所から選択したn(1≦n<m)箇所に単位画像を配置してなるパターン画像(以下、「符号パターン」という)によってmCn(=m!/{(m−n)!×n!})通りの情報を表現する。つまり、1つの単位画像を情報に対応させるのではなく、複数の単位画像を情報に対応させている。仮に1つの単位画像を情報に対応させたとすると、単位画像が欠損したり、ノイズが加わったりした場合に、誤った情報を表現してしまうという欠点がある。これに対して、例えば2つの単位画像を情報に対応させたとすると、単位画像が1つであったり3つであったりした場合に、容易に誤りであることが分かる。更に、1つの単位画像で1ビット、又は、高々2ビットを表現する方法では、情報を表現するための情報パターンと視覚的に似たパターンで、情報パターンの読出しを制御する同期パターンを表現することができない。このようなことから、本実施の形態では、上記のような符号化方式を採用している。以下では、このような符号化方式をmCn方式と称する。
ここで、単位画像としては、如何なる形状のものを用いてもよい。本実施の形態では、単位画像の一例としてドット画像(以下、単に「ドット」という)を用いるが、例えば、斜線パターン等、他の形状の画像であってもよい。
The best mode for carrying out the present invention (hereinafter referred to as “embodiment”) will be described in detail below with reference to the accompanying drawings.
First, the encoding method used in this embodiment will be described.
In the encoding method according to the present embodiment, mCn is represented by a pattern image (hereinafter referred to as “code pattern”) in which unit images are arranged at n (1 ≦ n <m) locations selected from m (m ≧ 3) locations. (= M! / {(Mn)! × n!}) Express information. That is, instead of associating one unit image with information, a plurality of unit images are associated with information. Assuming that one unit image is associated with information, there is a drawback in that erroneous information is expressed when the unit image is lost or noise is added. On the other hand, for example, if two unit images are associated with information, it can be easily understood that there is an error when the number of unit images is one or three. Furthermore, in the method of expressing 1 bit or 2 bits at most in one unit image, a synchronous pattern for controlling reading of the information pattern is expressed by a pattern visually similar to the information pattern for expressing the information. I can't. For this reason, the present embodiment employs the above encoding method. Hereinafter, such an encoding method is referred to as an mCn method.
Here, a unit image having any shape may be used. In the present embodiment, a dot image (hereinafter simply referred to as “dot”) is used as an example of a unit image, but an image having another shape such as a hatched pattern may be used.

図1に、mCn方式における符号パターンの例を示す。
図では、黒色の領域と斜線の領域をドット配置可能な領域とし、その間にある白色の領域をドット配置不可能な領域としている。そして、ドット配置可能な領域のうち、黒色の領域にドットが配置され、斜線の領域にはドットが配置されていないことを示している。即ち、図1は、縦3×横3の合計9個のドット配置可能な領域を設けた例を示しており、このうち、(a)は、9個のドット配置可能な領域に2ドットを配置する9C2方式における符号パターンの一例を、(b)は、9個のドット配置可能な領域に3ドットを配置する9C3方式における符号パターンの一例を示している。
FIG. 1 shows an example of a code pattern in the mCn system.
In the figure, a black area and a hatched area are areas where dots can be arranged, and a white area between them is an area where dots cannot be arranged. Of the areas where dots can be arranged, dots are arranged in black areas and dots are not arranged in hatched areas. In other words, FIG. 1 shows an example in which a total of 9 dots can be arranged in 3 × 3, and (a) shows that 2 dots are placed in 9 dots that can be arranged. An example of the code pattern in the 9C2 method to be arranged, (b) shows an example of the code pattern in the 9C3 method in which 3 dots are arranged in an area where nine dots can be arranged.

但し、図1で配置されるドット(黒色の領域)は、あくまで情報表現のためのドットであり、画像を構成する最小単位であるドット(図1の最小の四角)とは一致していない。本実施の形態において、「ドット」というときは前者のドットを指し、後者のドットは「ピクセル」と呼ぶことにすれば、ドットは、600dpiにおける2ピクセル×2ピクセルの大きさを有することになる。600dpiにおける1ピクセルの一辺の長さは0.0423mmなので、1ドットの一辺の長さは、84.6μm(=0.0423mm×2)となる。ドットは、大きくなればなるほど目に付きやすくなるため、できるだけ小さいほうが好ましい。ところが、あまり小さくすると、プリンタで印刷できなくなってしまう。そこで、ドットの大きさとして、50μmより大きく100μmより小さい上記の値を採用している。但し、上記の値84.6μmは、あくまで計算上の数値であり、実際に印刷されたトナー像では100μm程度になる。   However, the dots (black areas) arranged in FIG. 1 are only for information representation, and do not coincide with the dots (minimum squares in FIG. 1) that are the minimum units constituting the image. In this embodiment, when “dot” refers to the former dot and the latter dot is referred to as “pixel”, the dot has a size of 2 pixels × 2 pixels at 600 dpi. . Since the length of one side of one pixel at 600 dpi is 0.0423 mm, the length of one side of one dot is 84.6 μm (= 0.0423 mm × 2). The larger the dot, the more likely it will be noticeable, so it is preferable to make it as small as possible. However, if it is too small, printing with a printer becomes impossible. Therefore, the above value is adopted as the dot size, which is larger than 50 μm and smaller than 100 μm. However, the above value 84.6 μm is a numerical value to the last, and is about 100 μm in the actually printed toner image.

次いで、図2に、9C2方式における全符号パターンの例を示す。尚、ここでは、ドット間の空白は省略している。図示するように、9C2方式では、36(=)通りの符号パターンが利用される。また、全符号パターンに対して、各符号パターンを一意に識別するための番号であるパターン値が付される。図では、各符号パターンに対するこのパターン値の割り当ての例も示している。但し、図に示した対応はあくまで一例であり、どの符号パターンにどのパターン値を割り当ててもよい。 Next, FIG. 2 shows an example of all code patterns in the 9C2 system. Here, a space between dots is omitted. As shown in the figure, in the 9C2 system, 36 (= 9 C 2 ) code patterns are used. Also, a pattern value that is a number for uniquely identifying each code pattern is attached to all code patterns. In the figure, an example of assignment of the pattern value to each code pattern is also shown. However, the correspondence shown in the figure is merely an example, and any pattern value may be assigned to any code pattern.

また、図3に、9C3方式における全符号パターンの例を示す。尚、ここでも、ドット間の空白は省略している。図示するように、9C3方式では、84(=)通りの符号パターンが利用される。また、この場合も、全符号パターンに対して、各符号パターンを一意に識別するための番号であるパターン値が付される。図では、各符号パターンに対するこのパターン値の割り当ての例も示している。但し、この場合も、図に示した対応はあくまで一例であり、どの符号パターンにどのパターン値を割り当ててもよい。 FIG. 3 shows an example of all code patterns in the 9C3 system. Also here, the space between dots is omitted. As shown in the drawing, in the 9C3 system, 84 (= 9 C 3 ) code patterns are used. Also in this case, a pattern value which is a number for uniquely identifying each code pattern is attached to all code patterns. In the figure, an example of assignment of the pattern value to each code pattern is also shown. However, in this case as well, the correspondence shown in the figure is merely an example, and any pattern value may be assigned to any code pattern.

尚、ここでは、符号パターンが配置される領域(以下、「パターンブロック」という)の大きさを、3ドット×3ドットを配置可能な大きさとした。しかしながら、パターンブロックの大きさはこれに限るものではない。つまり、2ドット×2ドット、4ドット×4ドット等を配置可能な大きさであってもよい。
また、パターンブロックの形状として、正方形でなく、例えば3ドット×4ドットを配置する場合のように長方形を採用してもよい。尚、本明細書において、長方形とは、隣り合う2辺の長さが等しくない矩形、つまり、正方形以外の矩形のことをいうものとする。
更に、任意に決めた数のドット配置可能な領域のうち、幾つの領域にドットを配置するかも、表現したい情報の量と許容できる画像濃度とを考慮して、適宜決めるとよい。
Here, the size of the area where the code pattern is arranged (hereinafter referred to as “pattern block”) is set so that 3 dots × 3 dots can be arranged. However, the size of the pattern block is not limited to this. That is, the size may be 2 dots × 2 dots, 4 dots × 4 dots, and the like.
Further, the shape of the pattern block may not be a square, but may be a rectangle as in the case of arranging 3 dots × 4 dots, for example. In this specification, a rectangle means a rectangle in which the lengths of two adjacent sides are not equal, that is, a rectangle other than a square.
Further, the number of dots to be arranged in an arbitrarily determined number of dot arrangement areas may be appropriately determined in consideration of the amount of information to be expressed and the allowable image density.

このように、本実施の形態では、m箇所からn箇所を選択することでmCn種類の符号パターンを用意している。そして、これらの符号パターンのうち、特定のパターンを情報パターンとして利用し、残りを同期パターンとして利用する。ここで、情報パターンとは、媒体に埋め込む情報を表現するパターンである。また、同期パターンとは、媒体に埋め込まれた情報パターンを取り出すために用いられるパターンである。例えば、情報パターンの位置を特定したり、画像の回転を検出したりするために用いられる。尚、媒体としては、画像を印刷することが可能であれば、如何なるものを用いてもよい。紙が代表例なので、以下では媒体を紙として説明するが、金属、プラスチック、繊維等であってもよい。   Thus, in this embodiment, mCn types of code patterns are prepared by selecting n locations from m locations. Among these code patterns, a specific pattern is used as an information pattern, and the rest is used as a synchronization pattern. Here, the information pattern is a pattern representing information to be embedded in the medium. The synchronization pattern is a pattern used for extracting an information pattern embedded in the medium. For example, it is used for specifying the position of the information pattern or detecting the rotation of the image. Any medium may be used as long as an image can be printed. Since paper is a representative example, the medium will be described as paper below, but metal, plastic, fiber, or the like may be used.

ここで、図2又は図3に示した符号パターンのうちの同期パターンについて説明する。尚、これらの符号パターンを利用する場合、パターンブロックの形状は正方形となるため、画像の回転を90度単位で認識する必要がある。従って、4種類の符号パターンで1組の同期パターンが構成される。
図4(a)は、9C2方式における同期パターンの例である。ここでは、36種類の符号パターンのうち、32種類の符号パターンを5ビットの情報を表現する情報パターンとし、残りの4種類の符号パターンで1組の同期パターンを構成するものとする。例えば、パターン値「32」の符号パターンを正立した同期パターン、パターン値「33」の符号パターンを右に90度回転した同期パターン、パターン値「34」の符号パターンを右に180度回転した同期パターン、パターン値「35」の符号パターンを右に270度回転した同期パターンとしている。但し、36種類の符号パターンの情報パターンと同期パターンへの振り分け方は、これには限らない。例えば、16種類の符号パターンを4ビットの情報を表現する情報パターンとし、残りの20種類の符号パターンで5組の同期パターンを構成してもよい。
Here, a synchronization pattern among the code patterns shown in FIG. 2 or FIG. 3 will be described. When these code patterns are used, since the shape of the pattern block is a square, it is necessary to recognize the rotation of the image in units of 90 degrees. Therefore, a set of synchronization patterns is constituted by four types of code patterns.
FIG. 4A shows an example of a synchronization pattern in the 9C2 system. Here, of the 36 types of code patterns, 32 types of code patterns are information patterns representing 5-bit information, and the remaining 4 types of code patterns constitute a set of synchronization patterns. For example, the synchronization pattern in which the code pattern of the pattern value “32” is upright, the synchronization pattern in which the code pattern of the pattern value “33” is rotated 90 degrees to the right, and the code pattern of the pattern value “34” is rotated 180 degrees to the right The synchronization pattern is a synchronization pattern obtained by rotating the code pattern of the pattern value “35” to the right by 270 degrees. However, the method of distributing the 36 types of code patterns to the information pattern and the synchronization pattern is not limited to this. For example, 16 types of code patterns may be used as information patterns expressing 4-bit information, and the remaining 20 types of code patterns may constitute five sets of synchronization patterns.

また、図4(b)は、9C3方式における同期パターンの例である。ここでは、84種類の符号パターンのうち、64種類の符号パターンを6ビットの情報を表現する情報パターンとし、残りの20種類の符号パターンで5組の同期パターンを構成するものとする。図は、この5組の同期パターンのうちの2組を示す。例えば、第1組においては、パターン値「64」の符号パターンを正立した同期パターン、パターン値「65」の符号パターンを右に90度回転した同期パターン、パターン値「66」の符号パターンを右に180度回転した同期パターン、パターン値「67」の符号パターンを右に270度回転した同期パターンとしている。また、第2組においては、パターン値「68」の符号パターンを正立した同期パターン、パターン値「69」の符号パターンを右に90度回転した同期パターン、パターン値「70」の符号パターンを右に180度回転した同期パターン、パターン値「71」の符号パターンを右に270度回転した同期パターンとしている。   FIG. 4B is an example of a synchronization pattern in the 9C3 system. Here, out of 84 kinds of code patterns, 64 kinds of code patterns are information patterns expressing 6-bit information, and the remaining 20 kinds of code patterns constitute five sets of synchronization patterns. The figure shows two of the five synchronization patterns. For example, in the first set, a synchronization pattern in which the code pattern of pattern value “64” is erected, a synchronization pattern in which the code pattern of pattern value “65” is rotated 90 degrees to the right, and a code pattern of pattern value “66” The synchronization pattern rotated 180 degrees to the right and the code pattern of pattern value “67” are the synchronization pattern rotated 270 degrees to the right. In the second set, a synchronization pattern in which the code pattern of pattern value “68” is erected, a synchronization pattern in which the code pattern of pattern value “69” is rotated 90 degrees to the right, and a code pattern of pattern value “70” The synchronization pattern rotated 180 degrees to the right and the code pattern of pattern value “71” are the synchronization pattern rotated 270 degrees to the right.

尚、図示しないが、パターンブロックの形状が長方形である場合は、画像の回転の検出のために2種類の符号パターンを同期パターンとして用意すればよい。例えば、縦3ドット×横4ドットを配置可能な領域が検出されるべきなのに、縦4ドット×横3ドットを配置可能な領域が検出された場合は、その時点で画像が90度又は270度回転していることが分かるからである。   Although not shown, when the shape of the pattern block is a rectangle, two types of code patterns may be prepared as synchronization patterns in order to detect image rotation. For example, when an area in which 3 dots in the vertical direction and 4 dots in the horizontal direction should be detected but an area in which the 4 dots in the vertical direction and 3 dots in the horizontal direction can be arranged is detected, the image is 90 degrees or 270 degrees at that time. It is because it turns out that it is rotating.

次に、同期パターンと情報パターンを配置してなる情報表現の最小単位(以下、「符号ブロック」という)について説明する。
図5は、符号ブロックのレイアウトの一例を示したものである。
図中、(a)及び(b)のそれぞれの右側に、符号ブロックのレイアウトを示している。ここでは、レイアウトとして、パターンブロックを5個×5個の25個並べたものを採用している。この25個のパターンブロックのうち、左上の1ブロックに同期パターンを配置している。また、同期パターンの右の4ブロックに紙面上の横方向の座標を特定するX座標情報を表す情報パターンを配置し、同期パターンの下の4ブロックに紙面上の縦方向の座標を特定するY座標情報を表す情報パターンを配置している。更に、これらの座標情報を表す情報パターンで囲まれた16ブロックに、紙面又は紙面に印刷される文書の識別情報を表す情報パターンを配置している。
Next, a minimum unit of information expression (hereinafter referred to as “code block”) in which a synchronization pattern and an information pattern are arranged will be described.
FIG. 5 shows an example of the layout of the code block.
In the drawing, the layout of the code block is shown on the right side of each of (a) and (b). Here, a layout in which 25 pattern blocks of 5 × 5 are arranged is employed. Of the 25 pattern blocks, a synchronization pattern is arranged in one block at the upper left. In addition, an information pattern representing X coordinate information for specifying the horizontal coordinate on the paper surface is arranged in the right four blocks of the synchronous pattern, and the vertical coordinate on the paper surface is specified in the four blocks below the synchronous pattern. An information pattern representing coordinate information is arranged. Further, an information pattern representing the identification information of the document printed on the paper surface or the paper surface is arranged in 16 blocks surrounded by the information pattern representing the coordinate information.

また、(a)の左側には、9C2方式における符号パターンが各パターンブロックに配置されていることを示している。即ち、36種類の符号パターンを、例えば、4種類の同期パターンと32種類の情報パターンとに分け、各パターンをレイアウトに従って配置している。一方、(b)の左側には、9C3方式における符号パターンが各パターンブロックに配置されていることを示している。即ち、84種類の符号パターンを、例えば、20種類の同期パターンと64種類の情報パターンとに分け、各パターンをレイアウトに従って配置している。   Further, on the left side of (a), it is shown that a code pattern in the 9C2 system is arranged in each pattern block. That is, 36 types of code patterns are divided into, for example, 4 types of synchronization patterns and 32 types of information patterns, and each pattern is arranged according to a layout. On the other hand, the left side of (b) shows that a code pattern in the 9C3 system is arranged in each pattern block. That is, 84 types of code patterns are divided into, for example, 20 types of synchronization patterns and 64 types of information patterns, and each pattern is arranged according to a layout.

尚、本実施の形態において、座標情報は、紙面の縦方向及び横方向にM系列で表現される。ここで、M系列とは、その部分列が、他の部分列と一致することがない系列である。例えば、11次のM系列は、2047ビットのビット列である。そして、この2047ビットのビット列の中から取り出された11ビット以上の部分列と同じ並びは、この2047ビットのビット列の中に自身以外には存在しない。本実施の形態では、1個の符号パターンを4ビットに対応付ける。即ち、2047ビットのビット列を4ビットごとに10進数で表し、図2又は図3の割り当てに従って符号パターンを決定し、紙面の横と縦に渡って印刷する。従って、復号の際は、3つの連続する符号パターンを特定し、符号パターンと座標との対応関係を格納したテーブルを参照することにより、ビット列上の位置が特定されることになる。   In the present embodiment, the coordinate information is expressed in M series in the vertical direction and the horizontal direction on the paper surface. Here, the M series is a series in which the partial sequence does not coincide with other partial sequences. For example, the eleventh order M-sequence is a bit string of 2047 bits. The same sequence as the partial sequence of 11 bits or more extracted from the 2047-bit bit string does not exist in the 2047-bit bit string other than itself. In the present embodiment, one code pattern is associated with 4 bits. That is, a bit string of 2047 bits is represented by a decimal number for every 4 bits, a code pattern is determined according to the assignment in FIG. 2 or FIG. Therefore, at the time of decoding, the position on the bit string is specified by specifying three consecutive code patterns and referring to the table storing the correspondence between the code patterns and the coordinates.

また、識別情報の符号化には、幾つかの方法の利用が考えられるが、本実施の形態では、RS符号化が適している。RS符号は多値の符号法であり、各パターンブロックに配置された符号パターンのパターン値をRS符号の多値に対応させるとよいからである。
尚、本実施の形態における符号パターンの利用形態としては、例えば、文書画像に重ねてその識別情報を紙面に印刷し、ペン状のスキャナで紙面上の部分画像を読み込み、そこから文書画像の識別情報を取得する、といったものが想定される。この場合、紙面上の汚れやスキャナの性能によって誤りが発生するが、この誤りはRS符号により訂正される。
In addition, although some methods can be used for encoding the identification information, RS encoding is suitable in the present embodiment. This is because the RS code is a multi-value coding method, and the pattern value of the code pattern arranged in each pattern block may correspond to the multi-value of the RS code.
In this embodiment, the code pattern is used by, for example, printing the identification information on a paper image over a document image, reading a partial image on the paper surface with a pen-shaped scanner, and then identifying the document image from there. It is assumed that information is acquired. In this case, an error occurs due to dirt on the paper surface or the performance of the scanner, but this error is corrected by the RS code.

ここで、RS符号による訂正及びそのような訂正を行う場合に表現可能な情報量について具体的に説明する。
本実施の形態では、上述したように、1パターンブロック内のドット数が一定である符号パターンを採用している。これにより、仮に1ドットが消失した場合や、1ドットが付加された場合は、パターンブロック内のドット数が変わる。従って、これらは誤りだと分かる誤りとなる。一方で、ドットの消失と付加が同時に起こった場合は、他の符号パターンであると誤認識してしまうので、誤りだと分からない誤りとなる。
例えば、識別情報を表す情報パターンを配置する16ブロックのうち、10ブロックを識別情報そのものを表す情報パターンを配置するブロックとし、6ブロックを訂正のためのブロックとする。この場合、誤りだと分かるブロックは6ブロックまで、誤りだと分からないブロックも3ブロックまで、訂正される。これを例えば9C2方式における32種類の情報パターンで実現したとすると、1ブロックで5ビットの情報が表現されるので、識別情報そのものは10ブロックで50ビット分表現される。また例えば9C3方式における64種類の情報パターンで実現したとすると、1ブロックで6ビットの情報が表現されるので、識別情報そのものは10ブロックで60ビット分表現される。
Here, the correction by the RS code and the amount of information that can be expressed when performing such correction will be specifically described.
In the present embodiment, as described above, a code pattern in which the number of dots in one pattern block is constant is employed. Thereby, if one dot disappears or one dot is added, the number of dots in the pattern block changes. Therefore, these are errors that can be recognized as errors. On the other hand, if the disappearance and addition of dots occur at the same time, they are misrecognized as other code patterns.
For example, out of 16 blocks in which an information pattern representing identification information is arranged, 10 blocks are arranged as information blocks representing identification information itself, and 6 blocks are used as correction blocks. In this case, up to 6 blocks that are known to be errors and up to 3 blocks that are not known to be errors are corrected. If this is realized by 32 types of information patterns in the 9C2 system, for example, 5 bits of information is expressed by 1 block, and therefore the identification information itself is expressed by 50 blocks of 10 bits. Further, for example, if it is realized by 64 types of information patterns in the 9C3 system, 6 bits of information is expressed by one block, and therefore the identification information itself is expressed by 60 bits by 10 blocks.

次いで、上記符号ブロックを含む広範囲のレイアウトについて説明する。
図6は、そのようなレイアウトの一例を示した図である。このレイアウトでは、図5の符号ブロックが基本単位として紙面全体の縦方向及び横方向に周期的に配置されている。
ここで、同期パターンとしては、同じ符号パターンが各符号ブロックにおける左上のパターンブロックに配置されている。図では、同期パターンを「S」で表している。
また、X座標情報としては、符号パターンの同じ並びが、同期パターンが配置されたのと同じ行の各パターンブロックに配置されている。Y座標情報としては、符号パターンの同じ並びが、同期パターンが配置されたのと同じ列の各パターンブロックに配置されている。図では、X座標情報を表すパターンを「X01」、「X02」、…で表し、Y座標情報を表すパターンを「Y01」、「Y02」、…で表している。
更に、識別情報としては、符号パターンの同じ配列が、縦方向及び横方向に周期的に配置されている。図では、識別情報を表すパターンを「I01」、「I02」、…、「I16」で表している。
そして、このようなレイアウトを採用することにより、例えば、図中、丸印で示した範囲が読み取られた場合のように、図5の符号ブロックの全体を含む範囲が読み取られていない場合であっても、後述する処理により、識別情報及び座標情報が得られる。
Next, a wide layout including the code block will be described.
FIG. 6 is a diagram showing an example of such a layout. In this layout, the code blocks in FIG. 5 are periodically arranged as basic units in the vertical and horizontal directions of the entire sheet.
Here, as the synchronization pattern, the same code pattern is arranged in the upper left pattern block in each code block. In the figure, the synchronization pattern is represented by “S”.
As the X coordinate information, the same sequence of code patterns is arranged in each pattern block in the same row as the synchronization pattern is arranged. As the Y coordinate information, the same sequence of code patterns is arranged in each pattern block in the same column as the synchronization pattern is arranged. In the figure, patterns representing X coordinate information are represented by “X01”, “X02”,..., And patterns representing Y coordinate information are represented by “Y01”, “Y02”,.
Furthermore, as the identification information, the same arrangement of code patterns is periodically arranged in the vertical direction and the horizontal direction. In the drawing, patterns representing identification information are represented by “I01”, “I02”,..., “I16”.
By adopting such a layout, for example, when the range indicated by a circle in the figure is read, the range including the entire code block in FIG. 5 is not read. However, identification information and coordinate information can be obtained by the processing described later.

しかしながら、このようなレイアウトを採用することにより、次の問題点が生じる。同じ配列の繰り返しにより構成されるレイアウトであるため、紙面に符号パターンを印刷した場合に、濃度むらが現れてしまうという問題点である。
このような濃度むらを低減するには、座標情報の表現に用いるM系列が持つ擬似乱数の性質を利用する方法が考えられる。
即ち、座標情報のパターン値を識別情報のパターン値に加算し、その結果を例えば「32」で割った余りを識別情報の新たなパターン値とする、という方法である。図5の符号ブロックにおける左からI列目、上からJ行目のパターンブロックに配置されたパターン値をP(I,J)として、この方法について説明する。ここでは、例えば、P(4,1)=10、P(1,3)=15、P(4,3)=26である符号ブロックを考える。つまり、この符号ブロックでは、X座標情報のパターン値の左から3つ目が「10」であり、Y座標情報のパターン値の上から2つ目が「15」であり、識別情報のパターン値の左から3つ目で上から2つ目が「26」である。この場合、(26+10+15)mod32=19により、P(4,3)=19となるので、パターン値「26」が配置されていたパターンブロックにはパターン値「19」が配置される。そして、このような処理を全ての識別情報のパターンブロックについて行うことにより、周期性が見かけ上消えることになる。
However, the use of such a layout causes the following problems. Since the layout is configured by repeating the same arrangement, there is a problem in that density unevenness appears when a code pattern is printed on paper.
In order to reduce such density unevenness, a method using the property of pseudo-random numbers possessed by the M series used for expressing coordinate information can be considered.
In other words, the pattern value of the coordinate information is added to the pattern value of the identification information, and the remainder obtained by dividing the result by “32”, for example, is used as a new pattern value of the identification information. This method will be described with P (I, J) as the pattern value arranged in the I-th column from the left and the J-th row pattern block from the top in the code block of FIG. Here, for example, consider a code block with P (4,1) = 10, P (1,3) = 15, and P (4,3) = 26. That is, in this code block, the third pattern value from the left of the X coordinate information is “10”, the second pattern value from the Y coordinate information is “15”, and the pattern value of the identification information The third from the left and the second from the top are “26”. In this case, since (26 + 10 + 15) mod 32 = 19, P (4, 3) = 19, so the pattern value “19” is arranged in the pattern block in which the pattern value “26” is arranged. Then, by performing such processing for all the identification information pattern blocks, the periodicity apparently disappears.

一方、復号の際には、まず、座標情報のパターン値と、識別情報のパターンブロックに配置されたパターン値とを求める。次に、識別情報のパターンブロックに配置されたパターン値から、そのパターンブロックに対応する座標情報のパターンブロックに配置されたパターン値を減算することにより、最終的に識別情報のパターン値が得られる。   On the other hand, at the time of decoding, first, a pattern value of coordinate information and a pattern value arranged in a pattern block of identification information are obtained. Next, the pattern value of the identification information is finally obtained by subtracting the pattern value arranged in the pattern block of the coordinate information corresponding to the pattern block from the pattern value arranged in the pattern block of the identification information. .

ところが、この方法では、復号に関する説明から分かるように、識別情報のパターン値を得るために、識別情報のパターンブロックに配置されたパターン値だけでなく、座標情報のパターン値も求める必要がある。従って、識別情報の復号率を低下させてしまう虞がある。   However, in this method, as can be seen from the description regarding decoding, in order to obtain the pattern value of identification information, it is necessary to obtain not only the pattern value arranged in the pattern block of identification information but also the pattern value of coordinate information. Therefore, there is a possibility that the decoding rate of the identification information is lowered.

そこで、本実施の形態では、9C3方式における64種類の情報パターンで表現される6ビットを5ビットと1ビットとに分け、この1ビットに座標情報のパターン値を加算して擬似乱数性を与えることとする。即ち、64種類の情報パターンを、32種類の情報パターンが属する2つの組に分け、識別情報を32種類の情報パターンを用いて表現し、更に、各情報パターンとして2つの組の何れに属する情報パターンを用いるかによって1ビットの情報を表現する。これにより、座標情報の検出誤りとは独立に識別情報のパターン画像の周期性をなくす。   Therefore, in this embodiment, 6 bits expressed by 64 types of information patterns in the 9C3 system are divided into 5 bits and 1 bit, and a pattern value of coordinate information is added to this 1 bit to give pseudorandomness. I will do it. That is, 64 types of information patterns are divided into two sets to which 32 types of information patterns belong, and the identification information is expressed using 32 types of information patterns, and each information pattern belongs to any of the two sets of information. 1-bit information is expressed depending on whether a pattern is used. Thereby, the periodicity of the pattern image of identification information is eliminated independently of the detection error of coordinate information.

具体的には、符号化時に、拡張情報を構成するビット値に対してそのビット値が配置された位置に対応する座標情報のパターン値を加算し、その結果を「2」で割った余りでビット値を置き換えることにより、擬似乱数性を有する擬似乱数情報を生成し、濃度むらを低減する。例えば、第1組における符号パターンのパターン値を「0」〜「31」、第2組における符号パターンのパターン値を「32」〜「63」とする。また、「0」と「32」、「1」と「33」のように、第1組における符号パターンのパターン値と、そのパターン値に「32」を加えた第2組における符号パターンのパターン値とを対応付けておく。そして、例えば、パターン値「0」を表すのに、パターン値「0」の符号パターンを用いるか、パターン値「32」の符号パターンを用いるかにより、1ビットを表現する。このようにすれば、復号時には、検出した符号パターンのパターン値を「32」で割った商が擬似乱数情報を構成する1ビットとなり、余りが識別情報を構成する5ビットとなる。   Specifically, at the time of encoding, the pattern value of coordinate information corresponding to the position where the bit value is arranged is added to the bit value constituting the extended information, and the result is divided by “2”. By replacing the bit value, pseudorandom number information having pseudorandomness is generated, and density unevenness is reduced. For example, the pattern value of the code pattern in the first set is “0” to “31”, and the pattern value of the code pattern in the second set is “32” to “63”. Moreover, the pattern value of the code pattern in the first set, such as “0” and “32”, “1” and “33”, and the code pattern pattern in the second set obtained by adding “32” to the pattern value The values are associated with each other. Then, for example, 1 bit is expressed depending on whether the code pattern of the pattern value “0” or the code pattern of the pattern value “32” is used to represent the pattern value “0”. In this way, at the time of decoding, the quotient obtained by dividing the pattern value of the detected code pattern by “32” becomes 1 bit constituting the pseudorandom number information, and the remainder becomes 5 bits constituting the identification information.

以下、このような濃度むら低減方法を、具体例を用いて説明する。
図7〜図9は、本実施の形態における濃度むら低減方法について説明するための図である。
まず、図7(a)では、パターン値「5」、「13」、「10」、「3」が、X座標情報を表すパターン値の列として、パターン値「7」、「15」、「2」、「4」が、Y座標情報を表すパターン値の列として配置されている。また、X座標情報を表すパターン値とY座標情報を表すパターン値とに囲まれた領域には、識別情報を表すパターン値に拡張情報を表すビット値を重畳して得られるパターン値が配置されるが、ここでは、まず、拡張情報を表すビット値のみを示している。即ち、上の行から下の行へ、また、各行においては左から右へ各ビット値を配置するものとし、拡張情報がビット列「1101001101001011」で表わされる場合を示している。この状態で、X座標情報を表すパターン値とY座標情報を表すパターン値とをそのX座標情報及びY座標情報に対応するパターンブロックにおけるビット値に加算する。そして、その結果を「2」で割った余りを、そのパターンブロックにおける擬似乱数情報を表すビット値とする。例えば、図では、X座標情報のパターン値が「10」、Y座標情報のパターン値が「15」、これらに対応する拡張情報のビット値が「1」であるので、(1+10+15)mod2=0により、擬似乱数情報を表すビット値は「0」となる。これをビット列を構成する全てのビット値に対して行うことにより、拡張情報のビット列「1101001101001011」は、擬似乱数情報のビット列「1111000110010110」に変換される。
Hereinafter, such a method for reducing density unevenness will be described using a specific example.
7 to 9 are diagrams for explaining the density unevenness reducing method in the present embodiment.
First, in FIG. 7A, the pattern values “5”, “13”, “10”, “3” are pattern values “7”, “15”, “ “2” and “4” are arranged as a sequence of pattern values representing the Y coordinate information. A pattern value obtained by superimposing a bit value representing extended information on a pattern value representing identification information is arranged in an area surrounded by a pattern value representing X coordinate information and a pattern value representing Y coordinate information. However, here, only the bit value representing the extended information is shown. That is, each bit value is arranged from the upper row to the lower row and from left to right in each row, and the extended information is represented by a bit string “1101001101001011”. In this state, the pattern value representing the X coordinate information and the pattern value representing the Y coordinate information are added to the bit value in the pattern block corresponding to the X coordinate information and the Y coordinate information. Then, the remainder obtained by dividing the result by “2” is set as a bit value representing the pseudo random number information in the pattern block. For example, in the figure, since the pattern value of the X coordinate information is “10”, the pattern value of the Y coordinate information is “15”, and the bit value of the corresponding extended information is “1”, (1 + 10 + 15) mod 2 = 0 Thus, the bit value representing the pseudo-random number information becomes “0”. By performing this operation for all the bit values constituting the bit string, the bit string “1101001101001011” of the extended information is converted into the bit string “1111000110010110” of the pseudo random number information.

その後、図7(b)では、このようにして得られた擬似乱数情報を表すビット値を、識別情報を表すパターン値に重畳する。即ち、図中、右側の符号ブロックにおける識別情報が配置されるパターンブロックには、図7(a)で得られた擬似乱数情報のビット列「1111000110010110」が示されており、このビット列を構成する各ビット値が、識別情報を表すパターン値に重畳される。具体的には、ビット値が「0」であれば、識別情報を表すパターン値を、配置する符号パターンのパターン値としてそのまま用い、ビット値が「1」であれば、識別情報を表すパターン値に「32」を加算して得られたパターン値を、配置する符号パターンのパターン値として用いる。例えば、図では、識別情報を表すパターン値が「29」であり、擬似乱数情報を表すビット値が「1」であるので、29+(1×32)=61により、パターン値「61」が、配置する符号パターンのパターン値として用いられることになる。   Thereafter, in FIG. 7B, the bit value representing the pseudo random number information obtained in this way is superimposed on the pattern value representing the identification information. That is, in the figure, the pattern block in which the identification information in the right code block is arranged shows the bit string “1111000110010110” of the pseudo-random number information obtained in FIG. The bit value is superimposed on the pattern value representing the identification information. Specifically, if the bit value is “0”, the pattern value representing the identification information is used as the pattern value of the code pattern to be arranged, and if the bit value is “1”, the pattern value representing the identification information is used. The pattern value obtained by adding “32” to is used as the pattern value of the code pattern to be arranged. For example, in the figure, since the pattern value representing the identification information is “29” and the bit value representing the pseudo-random number information is “1”, the pattern value “61” is represented by 29+ (1 × 32) = 61. It is used as the pattern value of the code pattern to be arranged.

次に、このような処理をより広範囲にわたって具体的に示す。
まず、図8は、図7(a)に示した処理の前後におけるパターン値の配列の一例を示している。即ち、左側の配列における識別情報のパターンブロックに配置された各ビット値に対し、そのパターンブロックに対応するX座標情報のパターン値及びY座標情報のパターン値を加算し、その結果を「2」で割った余りを、右側の配列における識別情報のパターンブロックに配置している。
Next, such a process is specifically shown over a wider range.
First, FIG. 8 shows an example of an array of pattern values before and after the process shown in FIG. That is, the pattern value of the X coordinate information and the pattern value of the Y coordinate information corresponding to the pattern block are added to each bit value arranged in the pattern block of the identification information in the left array, and the result is “2”. The remainder divided by is placed in the pattern block of identification information in the array on the right side.

また、図9は、図7(b)に示した処理の前後におけるパターン値の配列の一例を示している。即ち、左側の配列における識別情報のパターンブロックに配置された各ビット値を、中央に示した識別情報の各パターン値に重畳することにより得られた値を、右側の配列における識別情報のパターンブロックに配置している。   FIG. 9 shows an example of an array of pattern values before and after the process shown in FIG. That is, the value obtained by superimposing each bit value arranged in the pattern block of identification information in the left array on each pattern value of identification information shown in the center is used as the pattern block of identification information in the right array. Is arranged.

ところで、ここまでは識別情報を表すパターン配列に生ずる濃度むらの低減方法について述べたが、座標情報を表すパターン列でも問題が生ずる。座標情報に利用しているM系列は、計算機で生成することができる擬似乱数としての性質を持っている。そのため、X座標であれば、X方向には周期性がなく濃度むらは発生しない。しかしながら、直行するY方向には、同じパターン列が配置されることになるため濃度むらが発生する。これは、Y座標についても同様である。   By the way, although the method for reducing the density unevenness generated in the pattern array representing the identification information has been described so far, a problem also arises in the pattern sequence representing the coordinate information. The M series used for the coordinate information has a property as a pseudo-random number that can be generated by a computer. Therefore, in the case of the X coordinate, there is no periodicity in the X direction and density unevenness does not occur. However, since the same pattern row is arranged in the orthogonal Y direction, density unevenness occurs. The same applies to the Y coordinate.

ここで、本実施の形態で埋め込まれる情報の種類及びビット数についてまとめておく。
図10は、情報の種類及びビット数について説明するための図である。
図示するように、本実施の形態では、同期パターンが配置される1つのパターンブロック(同期ブロック)を基準として、右側に、X座標情報に関連する情報(X座標関連情報)51が配置され、下側に、Y座標情報に関連する情報(Y座標関連情報)52が配置される。また、X座標関連情報51及びY座標関連情報52に囲まれた領域に、識別情報に関連する情報(識別関連情報)53が配置される。
Here, the types of information and the number of bits embedded in this embodiment are summarized.
FIG. 10 is a diagram for explaining the type of information and the number of bits.
As shown in the drawing, in the present embodiment, information (X coordinate related information) 51 related to X coordinate information is arranged on the right side with reference to one pattern block (synchronous block) where a synchronous pattern is arranged, On the lower side, information (Y coordinate related information) 52 related to the Y coordinate information is arranged. In addition, information (identification related information) 53 related to the identification information is arranged in an area surrounded by the X coordinate related information 51 and the Y coordinate related information 52.

このうち、識別関連情報53には、これまで述べてきたように、各パターンブロックに1ビットずつ、合計16ビットの拡張情報が重畳される。そして、本実施の形態では、この拡張情報にM系列の擬似乱数性を与えることで、濃度むらを低減する。従って、この拡張情報を構成するビット列は、濃度むらを低減するためのビット列でもある。或いは、このビット列は、濃度むらを低減するためだけのものとし、拡張情報を表現するものとしなくてもよい。一方、拡張情報に割り当てた1ビットを除いた5ビットは、まず、識別情報を表すものとして10パターンブロックに配置される。つまり、50ビットの識別情報が埋め込まれる。そして、残りの6パターンブロックには、5ビットが訂正情報として配置される。前述したが、このように6個の訂正ブロックを設けることで、誤りだと分かる誤りは6ブロックまで訂正され、誤りだと分からない誤りも3ブロックまで訂正される。   Among these, in the identification related information 53, as described above, extended information of 16 bits in total is superimposed on each pattern block, one bit at a time. In this embodiment, density unevenness is reduced by giving M-sequence pseudo-randomness to the extended information. Therefore, the bit string constituting the extended information is also a bit string for reducing density unevenness. Alternatively, this bit string is used only for reducing density unevenness and does not have to express extended information. On the other hand, 5 bits excluding 1 bit assigned to the extended information are first arranged in 10 pattern blocks as representing identification information. That is, 50-bit identification information is embedded. In the remaining 6 pattern blocks, 5 bits are arranged as correction information. As described above, by providing six correction blocks as described above, errors that can be recognized as errors are corrected up to six blocks, and errors that are not known as errors are corrected up to three blocks.

また、X座標関連情報51には、16ビットのX座標情報が含まれる。ところが、本実施の形態では、9C3方式における64種類の情報パターンを用いているので、1つのパターンブロックにつき、2ビットの余裕がある。そこで、これを拡張情報に割り当ててもよい。しかしながら、2ビットをそのまま拡張情報とすると、周期性が発生する。そこで、1ビットを拡張情報、1ビットを乱数による濃度むら低減に利用するのがよい。具体的には、はじめに、64種類の情報パターンを、32種類の情報パターンが属する2つの組に分け、この2つの組のそれぞれを更に16種類の情報パターンが属する2つの組に分ける。そして、X座標情報を16種類の情報パターンを用いて表現する。このとき、別途設定した「0」と「1」の乱数によって、各情報パターンとして2つの組の何れに属するものを選択するかを決定する。更に、各情報パターンとして2つの組の何れに属する情報パターンを用いるかによって1ビットの拡張情報を表現する。尚、Y座標関連情報52についても、同様に1つのパターンブロックにつき1ビットの拡張情報と1ビットの乱数を重畳することにより、濃度むらを低減するようにしてもよい。   The X coordinate related information 51 includes 16-bit X coordinate information. However, in this embodiment, since 64 types of information patterns in the 9C3 system are used, there is a margin of 2 bits per pattern block. Therefore, this may be assigned to the extended information. However, if 2 bits are used as extension information as they are, periodicity occurs. Therefore, it is preferable to use 1 bit for extended information and 1 bit for reducing uneven density by random numbers. Specifically, first, the 64 types of information patterns are divided into two sets to which 32 types of information patterns belong, and each of the two sets is further divided into two sets to which 16 types of information patterns belong. And X coordinate information is expressed using 16 types of information patterns. At this time, it is determined which of the two sets to be selected as each information pattern by a separately set random number of “0” and “1”. Further, 1-bit extended information is expressed depending on which of the two sets of information patterns is used as each information pattern. The Y-coordinate related information 52 may be similarly reduced by superimposing 1-bit extension information and 1-bit random number for each pattern block.

尚、図7〜図10では、9C3方式を利用する場合を例として示したが、これには限らない。即ち、mCn個の符号パターンの中から、p×2個の情報パターンとr個の同期パターンが得られるものであれば、如何なるmCn方式を利用してもよい。但し、p、qは、p≧2、q≧1、p×2≧(座標情報を表現するために必要な情報パターンの数)を満たす整数とし、rは、パターンブロックが正方形であれば4の倍数、パターンブロックが長方形であれば2の倍数とする。そして、この場合、p×2個の情報パターンを、p個の情報パターンが属する2個の組に分け、識別情報をp個の情報パターンを用いて表現し、更に、2個の組の何れに属する情報パターンを用いるかによってqビットの拡張情報を表現する。
このように、本実施の形態では、一定の条件を満たす限り、如何なるmCn方式を利用してもよいが、以降の説明においても、簡単のため、9C3方式の利用を前提とする。また、以下では、パターンブロックのことを単に「ブロック」ともいう。
7 to 10 show the case where the 9C3 method is used as an example, but the present invention is not limited to this. That is, any mCn scheme may be used as long as p × 2 q information patterns and r synchronization patterns can be obtained from mCn code patterns. However, p and q are integers satisfying p ≧ 2, q ≧ 1, p × 2 q ≧ (number of information patterns necessary for expressing coordinate information), and r is a square if the pattern block is square A multiple of 4 and a multiple of 2 if the pattern block is rectangular. In this case, the p × 2 q pieces of information patterns, divided into 2 q-number set of the p number of information patterns belong, the identification information expressed using the p number of information patterns, further, 2 q-number of Q-bit extended information is expressed depending on which information pattern belongs to the set.
As described above, in the present embodiment, any mCn method may be used as long as a certain condition is satisfied. However, in the following description, it is assumed that the 9C3 method is used for simplicity. Hereinafter, the pattern block is also simply referred to as “block”.

次いで、このような画像を生成する画像生成装置10について説明する。
図11は、画像生成装置10の構成例を示したブロック図である。
図示するように、画像生成装置10は、情報取得部11と、識別符号生成部12と、擬似乱数符号生成部18と、X座標符号生成部13と、Y座標符号生成部14と、符号配列生成部15と、パターン画像記憶部16と、符号画像生成部17とを備える。
Next, the image generation apparatus 10 that generates such an image will be described.
FIG. 11 is a block diagram illustrating a configuration example of the image generation apparatus 10.
As illustrated, the image generation apparatus 10 includes an information acquisition unit 11, an identification code generation unit 12, a pseudo random number code generation unit 18, an X coordinate code generation unit 13, a Y coordinate code generation unit 14, and a code array. A generation unit 15, a pattern image storage unit 16, and a code image generation unit 17 are provided.

情報取得部11は、紙面又は紙面に印刷される文書の識別情報、識別情報に重ねて埋め込む拡張情報、紙面上での座標情報を取得する。そして、識別情報を識別符号生成部12に出力し、拡張情報を擬似乱数符号生成部18に出力し、座標情報のうち、X座標情報をX座標符号生成部13に、Y座標情報をY座標符号生成部14に出力する。本実施の形態では、識別情報に重畳する特定の情報を取得する情報取得手段の一例として、情報取得部11を設けている。   The information acquisition unit 11 acquires the identification information of the paper or the document printed on the paper, the extended information embedded in the identification information, and the coordinate information on the paper. Then, the identification information is output to the identification code generation unit 12, the extended information is output to the pseudo random number code generation unit 18, and among the coordinate information, the X coordinate information is output to the X coordinate code generation unit 13, and the Y coordinate information is converted to the Y coordinate. Output to the code generation unit 14. In the present embodiment, the information acquisition unit 11 is provided as an example of an information acquisition unit that acquires specific information superimposed on identification information.

識別符号生成部12は、情報取得部11から取得した識別情報を符号化して識別符号を生成し、これを符号配列生成部15に出力する。本実施の形態では、識別情報を表す第1のビット列を取得する第1のビット列取得手段の一例として、識別符号生成部12を設けている。
尚、この識別情報の符号化は、ブロック分割、RS符号化の処理を含む。
このうち、ブロック分割は、識別情報を構成するビット列を、RS符号化を行うために複数のブロックに分割する処理である。例えば、9C3方式で6ビットの情報を表現可能な情報パターンを用いる場合、60ビットの識別情報は、ブロック長が6ビットの10個のブロックに分割される。
また、RS符号化は、分割されたブロックに対してRS符号化を行い、誤り訂正のための冗長ブロックを付加する処理である。先の例において3ブロックの誤りを訂正可能なRS符号を採用したとすると、符号長は16ブロックとなる。
擬似乱数符号生成部18は、情報取得部11から取得した拡張情報を符号化して拡張符号を生成する。そして、この拡張符号を構成する各ビット値に対し、X座標符号生成部13から取得したX座標符号を構成する各パターン値と、Y座標符号生成部14から取得したY座標符号を構成する各パターン値とを加算することにより、擬似乱数符号を生成する。本実施の形態では、擬似乱数ビット列を生成するビット列生成手段の一例として、擬似乱数符号生成部18を設けている。
The identification code generation unit 12 encodes the identification information acquired from the information acquisition unit 11 to generate an identification code, and outputs this to the code array generation unit 15. In the present embodiment, the identification code generation unit 12 is provided as an example of a first bit string acquisition unit that acquires a first bit string representing identification information.
The encoding of the identification information includes block division and RS encoding processes.
Among these, the block division is a process of dividing the bit string constituting the identification information into a plurality of blocks in order to perform RS encoding. For example, when an information pattern capable of expressing 6-bit information in the 9C3 system is used, the 60-bit identification information is divided into 10 blocks having a block length of 6 bits.
RS encoding is a process of performing RS encoding on the divided blocks and adding redundant blocks for error correction. If an RS code capable of correcting an error of 3 blocks is employed in the previous example, the code length is 16 blocks.
The pseudo-random code generation unit 18 encodes the extension information acquired from the information acquisition unit 11 to generate an extension code. Then, for each bit value constituting this extended code, each pattern value constituting the X coordinate code acquired from the X coordinate code generation unit 13 and each Y coordinate code constituting the Y coordinate code obtained from the Y coordinate code generation unit 14 A pseudo-random code is generated by adding the pattern value. In the present embodiment, a pseudo random number code generation unit 18 is provided as an example of a bit string generation unit that generates a pseudo random number bit string.

X座標符号生成部13は、X座標情報を符号化してX座標符号を生成し、これを符号配列生成部15及び擬似乱数符号生成部18に出力する。Y座標符号生成部14は、Y座標情報を符号化してY座標符号を生成し、これを符号配列生成部15及び擬似乱数符号生成部18に出力する。本実施の形態では、媒体上の位置を表す第2のビット列を取得する第2のビット列取得手段の一例として、X座標符号生成部13及びY座標符号生成部14を設けている。
尚、この座標情報の符号化は、M系列符号化、ブロック分割の処理を含む。
このうち、M系列符号化は、M系列を使用して座標情報を符号化する処理である。例えば、符号化したい座標情報の長さから必要なM系列の次数を求め、M系列を動的に生成することで座標符号を生成する。但し、予め符号化したい座標情報の長さが分かっている場合には、M系列を画像生成装置10のメモリ等に格納しておき、画像生成時にそれを読み出す構成としてもよい。
また、ブロック分割は、M系列を複数のブロックに分割する処理である。例えば、情報パターンとして16種類の符号パターンを選択したとすると、符号ブロックにおける各パターンブロックには4ビットの情報が格納される。従って、図5のようなレイアウトを有する符号ブロックに対して、X座標情報は、16ビット分格納される。そして、各ブロックに格納された4ビットに符号パターンを対応付けることにより、座標情報が符号パターンによって表される。
The X coordinate code generation unit 13 encodes the X coordinate information to generate an X coordinate code, and outputs this to the code array generation unit 15 and the pseudo random number code generation unit 18. The Y coordinate code generation unit 14 encodes the Y coordinate information to generate a Y coordinate code, and outputs this to the code array generation unit 15 and the pseudo random number code generation unit 18. In the present embodiment, an X coordinate code generation unit 13 and a Y coordinate code generation unit 14 are provided as an example of a second bit string acquisition unit that acquires a second bit string representing a position on the medium.
The encoding of the coordinate information includes M sequence encoding and block division processing.
Among these, the M sequence encoding is a process of encoding coordinate information using the M sequence. For example, a necessary M-sequence order is obtained from the length of coordinate information to be encoded, and a coordinate code is generated by dynamically generating the M-sequence. However, when the length of the coordinate information to be encoded is known in advance, the M series may be stored in the memory or the like of the image generation apparatus 10 and read out when generating the image.
Block division is processing for dividing an M sequence into a plurality of blocks. For example, if 16 types of code patterns are selected as information patterns, 4-bit information is stored in each pattern block in the code block. Therefore, 16 bits of X coordinate information are stored for a code block having a layout as shown in FIG. Then, by associating the code pattern with the 4 bits stored in each block, the coordinate information is represented by the code pattern.

符号配列生成部15は、識別符号生成部12にて生成された識別符号と、擬似乱数符号生成部18にて生成された擬似乱数符号と、X座標符号生成部13及びY座標符号生成部14にて生成された座標符号と、識別符号及び座標符号の読出しを制御する同期符号とを2次元平面に配置して2次元の符号配列を生成する。ここで、同期符号とは、同期パターンのパターン値である。識別符号とは、識別情報を表す情報パターンのパターン値である。但し、識別符号としては、識別符号生成部12から取得した識別符号を構成するパターン値をそのまま配置するのではなく、9C3方式における32種類の情報パターンが所属する2つの組の何れかに属する情報パターンのパターン値を選択して配置する。このとき、何れの組におけるパターン値を選択するかは、擬似乱数符号生成部18から取得した擬似乱数符号を構成するビット値により決められる。また、座標符号とは、座標情報を表す情報パターンのパターン値である。
パターン画像記憶部16は、図3に示した9C3方式における全符号パターンを記憶する。ここで、符号パターンには、上述したようにパターン値が付されており、各符号パターンはパターン値をキーとして読み出し可能になっている。
符号画像生成部17は、符号配列生成部15が生成した2次元の符号配列を参照し、符号配列における各パターン値に対応した符号パターンを選択して符号画像を生成する。本実施の形態では、埋め込み画像を生成する埋め込み画像生成手段の一例として、符号画像生成部17を設けている。
The code array generation unit 15 includes an identification code generated by the identification code generation unit 12, a pseudo random number code generated by the pseudo random number code generation unit 18, an X coordinate code generation unit 13, and a Y coordinate code generation unit 14. The two-dimensional code array is generated by arranging the coordinate code generated in step 2 and the synchronization code for controlling the identification code and the reading of the coordinate code on a two-dimensional plane. Here, the synchronization code is a pattern value of a synchronization pattern. The identification code is a pattern value of an information pattern that represents identification information. However, as the identification code, the pattern value constituting the identification code acquired from the identification code generation unit 12 is not arranged as it is, but the information belonging to one of two groups to which 32 types of information patterns in the 9C3 system belong. Select a pattern value for the pattern and place it. At this time, which pattern value to select is determined by the bit value constituting the pseudo random number code acquired from the pseudo random number code generation unit 18. Further, the coordinate code is a pattern value of an information pattern representing coordinate information.
The pattern image storage unit 16 stores all code patterns in the 9C3 system shown in FIG. Here, a pattern value is attached to the code pattern as described above, and each code pattern can be read using the pattern value as a key.
The code image generation unit 17 refers to the two-dimensional code array generated by the code array generation unit 15, selects a code pattern corresponding to each pattern value in the code array, and generates a code image. In the present embodiment, a code image generation unit 17 is provided as an example of an embedded image generation unit that generates an embedded image.

そして、この符号画像は、図示しない画像形成部に渡され、画像形成部が紙面に符号画像を形成する。このとき、画像形成部は、電子文書の文書画像と符号画像とを重畳した重畳画像を紙面に形成するようにしてもよい。また、このように重畳画像を形成する場合には、紙面に対するペンデバイスによる筆記データが電子文書上の適切な位置に反映されるよう電子文書上の位置と紙面上の位置との対応関係を管理することが望ましい。   The code image is transferred to an image forming unit (not shown), and the image forming unit forms a code image on the sheet. At this time, the image forming unit may form a superimposed image in which the document image of the electronic document and the code image are superimposed on the paper surface. In addition, when a superimposed image is formed in this way, the correspondence between the position on the electronic document and the position on the paper is managed so that the writing data by the pen device on the paper is reflected at an appropriate position on the electronic document. It is desirable to do.

また、画像形成部は、符号画像を、例えば電子写真方式を用いて、Kトナー(カーボンを含む赤外光吸収トナー)、又は、特殊トナーにより形成する。
ここで、特殊トナーとしては、可視光領域(400nm〜700nm)における最大吸収率が7%以下であり、近赤外領域(800nm〜1000nm)における吸収率が30%以上の不可視トナーが例示される。ここで、「可視」及び「不可視」は、目視により認識できるかどうかとは関係しない。印刷された媒体に形成された画像が可視光領域における特定の波長の吸収に起因する発色性の有無により認識できるかどうかで「可視」と「不可視」とを区別している。また、可視光領域における特定の波長の吸収に起因する発色性が若干あるが、人間の目で認識し難いものも「不可視」に含める。
The image forming unit forms the code image with K toner (infrared light absorbing toner containing carbon) or special toner, for example, using an electrophotographic system.
Here, as the special toner, an invisible toner having a maximum absorption rate of 7% or less in the visible light region (400 nm to 700 nm) and an absorption rate of 30% or more in the near infrared region (800 nm to 1000 nm) is exemplified. . Here, “visible” and “invisible” are not related to whether they can be recognized visually. “Visible” and “invisible” are distinguished depending on whether or not an image formed on a printed medium can be recognized by the presence or absence of color development due to absorption of a specific wavelength in the visible light region. Further, “invisible” includes those that have some color developability due to absorption of a specific wavelength in the visible light region but are difficult to recognize with human eyes.

次いで、この画像生成装置10の動作を説明する。
図12は、画像生成装置10の動作例を示したフローチャートである。
印刷指示があると、画像生成装置10では、情報取得部11が、紙面又は紙面に印刷される文書の識別情報と、識別情報に重ねて埋め込む拡張情報と、紙面上に埋め込む座標情報とを取得する(ステップ101)。ここで、識別情報は、印刷を指示するPC等から取得してもよいし、画像生成装置10内で例えば自装置の識別番号と自装置内での一連番号とを組み合わせることにより生成してもよい。また、拡張情報は、印刷を指示するPC等から取得するとよい。更に、座標情報は、PC等で指定された用紙サイズの情報等に基づいて画像生成装置10内で生成するとよい。
Next, the operation of the image generation apparatus 10 will be described.
FIG. 12 is a flowchart illustrating an operation example of the image generation apparatus 10.
When there is a print instruction, in the image generation apparatus 10, the information acquisition unit 11 acquires the identification information of the document to be printed on the paper surface, the extended information embedded on the identification information, and the coordinate information embedded on the paper surface. (Step 101). Here, the identification information may be obtained from a PC or the like that instructs printing, or may be generated in the image generation apparatus 10 by combining, for example, the identification number of the own apparatus and the serial number in the own apparatus. Good. The extended information may be acquired from a PC or the like that instructs printing. Further, the coordinate information may be generated in the image generation apparatus 10 based on the paper size information designated by the PC or the like.

次に、識別符号生成部12は、情報取得部11から受け取った識別情報を符号化して識別符号を生成し、これを符号配列生成部15に出力する(ステップ102)。また、X座標符号生成部13は、情報取得部11から受け取ったX座標情報を符号化してX座標符号を生成し、これを符号配列生成部15及び擬似乱数符号生成部18に出力し、一方で、Y座標符号生成部14は、情報取得部11から受け取ったY座標情報を符号化してY座標符号を生成し、これを符号配列生成部15及び擬似乱数符号生成部18に出力する(ステップ103)。
更に、擬似乱数符号生成部18は、情報取得部11から受け取った拡張情報を符号化して拡張符号を生成する(ステップ104)。そして、拡張符号を構成するビット値に対して、X座標符号を構成するパターン値とY座標符号を構成するパターン値とを加算し、その結果を「2」で割った余りを擬似乱数符号を構成するビット値とし、これを符号配列生成部15に出力する(ステップ105)。
Next, the identification code generator 12 encodes the identification information received from the information acquisition unit 11 to generate an identification code, and outputs this to the code array generator 15 (step 102). In addition, the X coordinate code generation unit 13 encodes the X coordinate information received from the information acquisition unit 11 to generate an X coordinate code, and outputs this to the code array generation unit 15 and the pseudo random number code generation unit 18. The Y coordinate code generation unit 14 encodes the Y coordinate information received from the information acquisition unit 11 to generate a Y coordinate code, and outputs the Y coordinate code to the code array generation unit 15 and the pseudo random number code generation unit 18 (Step S1). 103).
Furthermore, the pseudo random number code generation unit 18 encodes the extension information received from the information acquisition unit 11 to generate an extension code (step 104). Then, the pattern value constituting the X coordinate code and the pattern value constituting the Y coordinate code are added to the bit value constituting the extension code, and the remainder obtained by dividing the result by “2” is converted into a pseudo random number code. The bit value to be configured is output to the code array generation unit 15 (step 105).

その後、符号配列生成部15は、識別符号生成部12から受け取った識別符号を構成するパターン値に対して、擬似乱数符号生成部18から受け取ったビット値を重畳する(ステップ106)。例えば、ビット値が「0」であれば、第1組に属する符号パターンのパターン値を取得し、ビット値が「1」であれば、第2組に属する符号パターンのパターン値を取得する。そして、同期パターンのパターン値と、ステップ106で得られたパターン値と、X座標符号生成部13から受け取ったX座標符号を構成するパターン値と、Y座標符号生成部14から受け取ったY座標符号を構成するパターン値とを、図5に示したレイアウトに従って配置する(ステップ107)。   Thereafter, the code array generation unit 15 superimposes the bit value received from the pseudo random number code generation unit 18 on the pattern value constituting the identification code received from the identification code generation unit 12 (step 106). For example, if the bit value is “0”, the pattern value of the code pattern belonging to the first group is acquired, and if the bit value is “1”, the pattern value of the code pattern belonging to the second group is acquired. The pattern value of the synchronization pattern, the pattern value obtained in step 106, the pattern value constituting the X coordinate code received from the X coordinate code generation unit 13, and the Y coordinate code received from the Y coordinate code generation unit 14 Are arranged according to the layout shown in FIG. 5 (step 107).

そして、最後に、符号画像生成部17が、符号配列生成部15が生成した符号配列における各パターン値に対応する符号パターンをパターン画像記憶部16から読み出して配置することにより、符号画像を生成する(ステップ108)。   Finally, the code image generation unit 17 reads out the code pattern corresponding to each pattern value in the code array generated by the code array generation unit 15 from the pattern image storage unit 16, and generates a code image. (Step 108).

次に、紙面に形成された符号画像を読み取って処理する画像処理装置20について説明する。
図13は、画像処理装置20の構成例を示したブロック図である。
図示するように、画像処理装置20は、画像読取部21と、ドット配列生成部22と、ブロック検出部23と、同期符号検出部24とを備える。また、識別符号検出部30と、識別符号復号部32と、擬似乱数符号復号部33と、X座標符号検出部40と、X座標符号復号部42と、Y座標符号検出部45と、Y座標符号復号部47と、情報出力部50とを備える。
Next, the image processing apparatus 20 that reads and processes the code image formed on the paper surface will be described.
FIG. 13 is a block diagram illustrating a configuration example of the image processing apparatus 20.
As illustrated, the image processing apparatus 20 includes an image reading unit 21, a dot array generation unit 22, a block detection unit 23, and a synchronization code detection unit 24. Also, the identification code detection unit 30, the identification code decoding unit 32, the pseudo random code decoding unit 33, the X coordinate code detection unit 40, the X coordinate code decoding unit 42, the Y coordinate code detection unit 45, and the Y coordinate The encoding / decoding unit 47 and the information output unit 50 are provided.

画像読取部21は、CCD(Charge Coupled Devices)やCMOS(Complementary Metal Oxide Semiconductor)等の撮像素子を用いて、紙面に印刷された符号画像を読み取る。
ドット配列生成部22は、読み取った符号画像からドットを検出し、ドットの位置を参照して、ドット配列を生成する。尚、符号画像からのドット検出の前処理として、読み取った画像に含まれるノイズを除去するための処理も行う。ここで、ノイズには、例えば、撮像素子感度のばらつきや電子回路により発生するノイズがある。ノイズ除去の処理の種類は、撮像系の特性に合わせるべきだが、ぼかし処理やアンシャープマスキング等の先鋭化処理を適用するとよい。また、ドットの検出は、次のように行う。即ち、まず、2値化処理によりドット画像の部分と、その他の背景画像の部分とを切り分け、2値化された個々の画像位置からドットの位置を検出する。その際、2値化された画像にノイズ成分が多数含まれる場合があるため、2値化された画像の面積や形状によりドットの判定を行うフィルタ処理を組み合わせる必要がある。その後、ドット配列の生成は、2次元の配列上で、例えば、ドットがある位置を「1」、ドットがない位置を「0」というように、画像として検出したドットをデジタルデータに置き換えることにより行う。本実施の形態では、埋め込み画像を取得する埋め込み画像取得手段の一例として、ドット配列生成部22を設けている。
The image reading unit 21 reads a code image printed on a paper surface using an imaging element such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS).
The dot array generation unit 22 detects dots from the read code image, and generates a dot array with reference to the dot positions. Note that, as preprocessing for dot detection from the code image, processing for removing noise included in the read image is also performed. Here, the noise includes, for example, variations in image sensor sensitivity and noise generated by an electronic circuit. The type of noise removal processing should match the characteristics of the imaging system, but sharpening processing such as blurring processing and unsharp masking may be applied. In addition, dot detection is performed as follows. That is, first, a dot image portion and other background image portions are separated by binarization processing, and a dot position is detected from each binarized image position. At that time, since there are cases where a lot of noise components are included in the binarized image, it is necessary to combine filter processing for determining dots based on the area and shape of the binarized image. Thereafter, the dot array is generated by replacing the dot detected as an image with digital data on the two-dimensional array, for example, “1” for the position where the dot is and “0” for the position where there is no dot. Do. In the present embodiment, a dot array generation unit 22 is provided as an example of an embedded image acquisition unit that acquires an embedded image.

ブロック検出部23は、ドット配列上で、符号ブロック内のパターンブロックを検出する。即ち、符号ブロックと同じ大きさ及び形状のフレームで、パターンブロックと同じ大きさ及び形状のブロックを有するブロックフレームをドット配列上で適宜動かし、ブロック内のドット数が均等になる位置を正しいフレーム位置とし、各ブロック内のパターン値を格納した符号配列を生成する。   The block detection unit 23 detects a pattern block in the code block on the dot array. In other words, a frame with the same size and shape as the code block and a block frame having the same size and shape as the pattern block are moved as needed on the dot array, and the position where the number of dots in the block is equal is the correct frame position. A code array storing pattern values in each block is generated.

同期符号検出部24は、ドット配列から検出された各符号パターンの種類を参照して、同期符号を検出する。また、同期符号検出部24は、検出した同期符号に基づいて、画像の回転の判定も行う。例えば、正方形の符号パターンを用いた場合、90度単位で回転している可能性がある。そこで、検出した同期符号が4種類の同期パターンのいずれに対応しているかによって、その向きを検出する。また、長方形の符号パターンを用いた場合、180度単位で回転している可能性がある。そこで、検出された同期符号が2種類の同期パターンのいずれに対応しているかによって、その向きを検出する。更に、同期符号検出部24は、このように検出された回転角度だけ符号配列を回転させて、符号配列を正しい向きに設定する。   The synchronization code detection unit 24 detects the synchronization code with reference to the type of each code pattern detected from the dot array. The synchronization code detector 24 also determines image rotation based on the detected synchronization code. For example, when a square code pattern is used, it may be rotated by 90 degrees. Therefore, the direction is detected depending on which of the four types of synchronization patterns the detected synchronization code corresponds to. In addition, when a rectangular code pattern is used, there is a possibility that the pattern is rotated by 180 degrees. Therefore, the direction is detected depending on which of the two types of synchronization patterns the detected synchronization code corresponds to. Furthermore, the synchronous code detection unit 24 rotates the code array by the rotation angle detected in this way, and sets the code array in the correct direction.

識別符号検出部30は、角度が補正された符号配列から、同期符号の位置を基準にして識別符号が配置されるブロックにおけるパターン値を検出し、このパターン値から擬似乱数符号のビット値を除去することにより、識別符号を検出する。また、ここで除去された擬似乱数符号も検出結果として取得する。本実施の形態では、識別情報を表す第1のビット列と擬似乱数ビット列とを取得する第1のビット列取得手段の一例として、識別符号検出部30を設けている。
識別符号復号部32は、図11を参照して説明したRS符号の符号化処理で用いたパラメータ(ブロック数等)と同じパラメータを用いて識別符号を復号し、識別情報を出力する。本実施の形態では、情報を取得する情報取得手段の一例として、識別符号復号部32を設けている。
擬似乱数符号復号部33は、識別符号検出部30により検出された擬似乱数符号と、X座標符号検出部40により検出されたX座標符号と、Y座標符号検出部45により検出されたY座標符号とから、拡張符号を求める。また、この拡張符号を復号し、拡張情報を出力する。本実施の形態では、第3のビット列を生成するビット列生成手段の一例として、また、情報を取得する情報取得手段の一例として、擬似乱数符号復号部33を設けている。
The identification code detection unit 30 detects a pattern value in a block in which the identification code is arranged with reference to the position of the synchronization code from the code array whose angle is corrected, and removes the bit value of the pseudo random number code from the pattern value By doing so, the identification code is detected. Further, the pseudo random number code removed here is also acquired as a detection result. In the present embodiment, the identification code detection unit 30 is provided as an example of a first bit string acquisition unit that acquires a first bit string representing identification information and a pseudo-random bit string.
The identification code decoding unit 32 decodes the identification code using the same parameters (such as the number of blocks) used in the RS code encoding process described with reference to FIG. 11, and outputs identification information. In the present embodiment, an identification code decoding unit 32 is provided as an example of an information acquisition unit that acquires information.
The pseudo random number code decoding unit 33 includes a pseudo random number code detected by the identification code detection unit 30, an X coordinate code detected by the X coordinate code detection unit 40, and a Y coordinate code detected by the Y coordinate code detection unit 45. From these, an extension code is obtained. Also, the extended code is decoded and extended information is output. In the present embodiment, the pseudorandom code decoding unit 33 is provided as an example of a bit string generation unit that generates a third bit string and as an example of an information acquisition unit that acquires information.

X座標符号検出部40は、角度が補正された符号配列から、同期符号の位置を基準にしてX座標符号を検出する。本実施の形態では、媒体上の位置を表す第2のビット列を取得する第2のビット列取得手段の一例として、X座標符号検出部40を設けている。
X座標符号復号部42は、検出されたX座標符号からM系列の部分系列を取り出し、画像生成に使用したM系列におけるこの部分系列の位置を参照し、この位置を符号ブロックのシフト量で補正した値をX座標情報として出力する。本実施の形態では、情報を取得する情報取得手段の一例として、識別符号復号部32を設けている。
The X coordinate code detection unit 40 detects the X coordinate code from the code array whose angle is corrected with reference to the position of the synchronization code. In the present embodiment, an X coordinate code detection unit 40 is provided as an example of a second bit string acquisition unit that acquires a second bit string representing a position on the medium.
The X coordinate code decoding unit 42 extracts the M series partial sequence from the detected X coordinate code, refers to the position of this partial sequence in the M sequence used for image generation, and corrects this position with the shift amount of the code block The obtained value is output as X coordinate information. In the present embodiment, an identification code decoding unit 32 is provided as an example of an information acquisition unit that acquires information.

Y座標符号検出部45は、角度が補正された符号配列から、同期符号の位置を基準にしてY座標符号を検出する。本実施の形態では、媒体上の位置を表す第2のビット列を取得する第2のビット列取得手段の一例として、Y座標符号検出部45を設けている。
Y座標符号復号部47は、検出されたY座標符号からM系列の部分系列を取り出し、画像生成に使用したM系列におけるこの部分系列の位置を参照し、この位置を符号ブロックのシフト量で補正した値をY座標情報として出力する。本実施の形態では、情報を取得する情報取得手段の一例として、識別符号復号部32を設けている。
The Y coordinate code detection unit 45 detects the Y coordinate code from the code array whose angle is corrected with reference to the position of the synchronization code. In the present embodiment, the Y coordinate code detection unit 45 is provided as an example of a second bit string acquisition unit that acquires a second bit string representing a position on the medium.
The Y coordinate code decoding unit 47 extracts the M series partial sequence from the detected Y coordinate code, refers to the position of this partial sequence in the M sequence used for image generation, and corrects this position with the shift amount of the code block. The obtained value is output as Y coordinate information. In the present embodiment, an identification code decoding unit 32 is provided as an example of an information acquisition unit that acquires information.

情報出力部50は、識別符号復号部32、擬似乱数符号復号部33、X座標符号復号部42、Y座標符号復号部47からそれぞれ取得した識別情報、拡張情報、X座標情報、Y座標情報を出力する。   The information output unit 50 receives the identification information, the extended information, the X coordinate information, and the Y coordinate information acquired from the identification code decoding unit 32, the pseudo random code decoding unit 33, the X coordinate code decoding unit 42, and the Y coordinate code decoding unit 47, respectively. Output.

次いで、この画像処理装置20の動作を説明する。尚、この動作の説明では、9C3方式の符号パターンが図5のレイアウトで配置されていることを前提とする。
まず、画像読取部21が、符号画像が印刷された媒体から、所定の大きさの領域の符号画像を読み取る。
次に、ドット配列生成部22が、ドットを検出した位置に「1」を、ドットを検出しなかった位置に「0」を設定したドット配列を生成する。
その後、ブロック検出部23が、このドット配列にブロックフレームを重ねて、全てのパターンブロック内のドットの数が「3」となるブロックフレームの位置を探索することで、パターンブロックの境界を検出する。本実施の形態において、符号ブロックは、パターンブロックが5個×5個で配置されたものとしている。従って、ブロックフレームとしても、5ブロック×5ブロックの大きさのものを用いる。
Next, the operation of the image processing apparatus 20 will be described. In the description of this operation, it is assumed that 9C3 code patterns are arranged in the layout of FIG.
First, the image reading unit 21 reads a code image of an area having a predetermined size from the medium on which the code image is printed.
Next, the dot array generation unit 22 generates a dot array in which “1” is set at a position where a dot is detected and “0” is set at a position where a dot is not detected.
Thereafter, the block detection unit 23 detects the boundary of the pattern block by superimposing the block frame on this dot arrangement and searching for the position of the block frame where the number of dots in all the pattern blocks is “3”. . In the present embodiment, the code block is assumed to be arranged by 5 × 5 pattern blocks. Accordingly, a block frame having a size of 5 blocks × 5 blocks is used.

ここで、ブロック検出部23の動作について説明する。
図14は、ブロック検出部23の動作例を示したフローチャートである。
まず、ブロック検出部23は、ドット配列生成部22からドット配列を取得する(ステップ201)。このドット配列の大きさは、(復号に必要なブロック数×ブロックの一辺のドット数+ブロックの一辺のドット数−1)である。本実施の形態では、復号に必要なブロック数は5×5であり、ブロックの一辺のドット数が3であるので、17×17のドット配列を取得する。
Here, the operation of the block detector 23 will be described.
FIG. 14 is a flowchart illustrating an operation example of the block detection unit 23.
First, the block detector 23 acquires a dot array from the dot array generator 22 (step 201). The size of this dot array is (number of blocks necessary for decoding × number of dots on one side of block + number of dots on one side of block−1) 2 . In this embodiment, the number of blocks necessary for decoding is 5 × 5, and the number of dots on one side of the block is 3, so a 17 × 17 dot array is acquired.

次に、取得したドット配列に、ブロックフレームを重ね合わせる(ステップ202)。そして、カウンタI、Jに「0」を代入し、MaxBNにも「0」を代入する(ステップ203)。ここで、I、Jは、ブロックフレームを初期位置から移動させたステップ数をカウントするものである。画像の1ラインごとにブロックフレームを移動させ、そのとき移動させたライン数をカウンタI、Jでカウントする。また、MaxBNは、ブロック内で検出されるドット数が「3」となるブロック数をブロックフレームを移動させながらカウントしていったときに、最大となるカウント値を記録するものである。   Next, a block frame is superimposed on the acquired dot array (step 202). Then, “0” is substituted into the counters I and J, and “0” is substituted into MaxBN (step 203). Here, I and J count the number of steps in which the block frame is moved from the initial position. The block frame is moved for each line of the image, and the number of lines moved at that time is counted by counters I and J. MaxBN records the maximum count value when counting the number of blocks in which the number of dots detected in the block is “3” while moving the block frame.

次に、ブロック検出部23は、ブロックフレームをX方向にI、Y方向にJ移動させる(ステップ204)。初期状態においてI、Jは「0」であるので、ブロックフレームは移動しない。そして、ブロックフレームの各ブロックに含まれるドット数をカウントして、ドット数が「3」となるブロックの数をカウントする。カウントしたブロック数はIB[I,J]に格納する(ステップ205)。IB[I,J]のI、Jには、ブロックフレームの移動量を示すIとJの値がそれぞれ記録される。   Next, the block detector 23 moves the block frame I in the X direction and J in the Y direction (step 204). Since I and J are “0” in the initial state, the block frame does not move. Then, the number of dots included in each block of the block frame is counted, and the number of blocks in which the number of dots is “3” is counted. The counted number of blocks is stored in IB [I, J] (step 205). In I and J of IB [I, J], values of I and J indicating the movement amount of the block frame are recorded, respectively.

次に、ブロック検出部23は、IB[I,J]とMaxBNとを比較する(ステップ206)。MaxBNは初期値が「0」であるので、最初の比較では、IB[I,J]がMaxBNよりも大きくなる。この場合、MaxBNにIB[I,J]の値を代入すると共に、MXにIの値を、MYにJの値を代入する(ステップ207)。尚、IB[I,J]がMaxBN以下である場合は、MaxBN、MX、MYの値はそのままにしておく。   Next, the block detection unit 23 compares IB [I, J] with MaxBN (step 206). Since MaxBN has an initial value “0”, in the first comparison, IB [I, J] is larger than MaxBN. In this case, the value of IB [I, J] is substituted for MaxBN, the value of I is substituted for MX, and the value of J is substituted for MY (step 207). When IB [I, J] is MaxBN or less, the values of MaxBN, MX, and MY are left as they are.

その後、ブロック検出部23は、I=2であるかどうかを判定する(ステップ208)。
ここで、I=2でない場合には、Iに「1」を加算する(ステップ209)。そして、ステップ204、205の処理を繰り返し行い、IB[I,J]とMaxBNとを比較していく(ステップ206)。
IB[I,J]が前回までのIB[I,J]の最大値であるMaxBNよりも大きいと、MaxBNにIB[I,J]の値を代入し、そのときのIの値をMXに、Jの値をMYに代入する(ステップ207)。また、MaxBNのほうがIB[I,J]よりも大きい場合には、I=2であるかどうかを判定する(ステップ208)。I=2となると、次にJ=2であるかどうかを判定する(ステップ210)。J=2でない場合には、Iに「0」を代入し、Jに「1」を加算する(ステップ211)。このような手順を繰り返し行い、(I,J)が(0,0)から(2,2)までで、IB[I,J]が最大のものを検出する。
Thereafter, the block detection unit 23 determines whether I = 2 (step 208).
If I = 2 is not satisfied, “1” is added to I (step 209). Then, the processing in steps 204 and 205 is repeated to compare IB [I, J] with MaxBN (step 206).
If IB [I, J] is greater than MaxBN, which is the maximum value of IB [I, J] up to the previous time, the value of IB [I, J] is assigned to MaxBN, and the value of I at that time is set to MX. , J is substituted for MY (step 207). If MaxBN is larger than IB [I, J], it is determined whether I = 2 (step 208). When I = 2, it is next determined whether J = 2 or not (step 210). If J = 2 is not satisfied, “0” is substituted for I, and “1” is added to J (step 211). Such a procedure is repeated to detect a case where (I, J) is (0, 0) to (2, 2) and IB [I, J] is maximum.

I=2、J=2までの処理が終了すると、ブロック検出部23は、保存しているMaxBNと閾値TBとを比較する(ステップ212)。閾値TBは、ドット数が「3」のブロックの数が復号可能な程度のものかを判定するための閾値である。
ここで、MaxBNが閾値TBよりも大きい場合には、ブロックフレームをMX、MYの位置に固定し、その位置で各ブロックのパターン値を検出する。そして、検出したパターン値を、各ブロックを識別する変数X、Yと共に符号配列PA[X,Y]としてメモリに記録する(ステップ213)。尚、このとき、対応するパターン値に変換することができなければ、パターン値として用いられていない「−1」を記録する。そして、ブロック検出部23は、MX、MYと、符号配列PA[X,Y]とを同期符号検出部24に出力する(ステップ214)。
一方、MaxBNが閾値TB以下である場合には、画像のノイズが大きく復号は不可能と判定し、復号不能を出力する(ステップ215)。
When the processing up to I = 2 and J = 2 is completed, the block detection unit 23 compares the stored MaxBN with the threshold value TB (step 212). The threshold value TB is a threshold value for determining whether the number of blocks having a dot number of “3” is such that decoding is possible.
Here, when MaxBN is larger than the threshold value TB, the block frame is fixed at the positions of MX and MY, and the pattern value of each block is detected at that position. Then, the detected pattern value is recorded in the memory as a code array PA [X, Y] together with variables X and Y for identifying each block (step 213). At this time, if the pattern value cannot be converted, “−1” which is not used as a pattern value is recorded. Then, the block detection unit 23 outputs MX and MY and the code array PA [X, Y] to the synchronous code detection unit 24 (step 214).
On the other hand, if MaxBN is equal to or less than the threshold value TB, it is determined that decoding is impossible due to large noise in the image, and decoding is impossible (step 215).

次に、同期符号検出部24の動作について説明する。
図15は、同期符号検出部24の動作例を示したフローチャートである。
まず、同期符号検出部24は、ブロック検出部23からMX、MYと、符号配列PA[X,Y]とを取得する(ステップ251)。
次に、同期符号検出部24は、K、Lに「1」を代入する(ステップ252)。尚、KはX方向のブロック数を示すカウンタであり、LはY方向のブロック数を示すカウンタである。
Next, the operation of the synchronization code detection unit 24 will be described.
FIG. 15 is a flowchart showing an operation example of the synchronization code detection unit 24.
First, the synchronization code detection unit 24 acquires MX and MY and the code array PA [X, Y] from the block detection unit 23 (step 251).
Next, the synchronous code detection unit 24 substitutes “1” for K and L (step 252). K is a counter indicating the number of blocks in the X direction, and L is a counter indicating the number of blocks in the Y direction.

次に、同期符号検出部24は、PA[K,L]のパターン値が「64」かどうかを判定する(ステップ253)。
PA[K,L]のパターン値が「64」であれば、符号配列PA[X,Y]の回転は必要ないと判定し、同期符号のあるブロックのX座標SXにKを代入し、Y座標SYにLを代入する。また、ブロックフレームのX方向への移動量ShiftXにMXを代入し、Y方向への移動量ShiftYにMYを代入する(ステップ254)。
Next, the synchronization code detection unit 24 determines whether the pattern value of PA [K, L] is “64” (step 253).
If the pattern value of PA [K, L] is “64”, it is determined that the code array PA [X, Y] does not need to be rotated, and K is substituted for the X coordinate SX of the block having the synchronization code, and Y Substitute L for coordinates SY. Further, MX is substituted for the movement amount ShiftX in the X direction of the block frame, and MY is substituted for the movement amount ShiftY in the Y direction (step 254).

次に、同期符号検出部24は、PA[K,L]のパターン値が「65」かどうかを判定する(ステップ255)。
PA[K,L]のパターン値が「65」であれば、符号配列PA[X,Y]を左方向に90度回転させる(ステップ256)。図4(b)に示すようにパターン値「65」の符号パターンは、パターン値「64」の符号パターンを右方向に90度回転させた画像であるので、逆方向に90度回転させて画像を正立させている。尚、このとき、符号配列PA[X,Y]内の全てのパターン値が、左方向に90度回転させた場合のパターン値に変換される。
また、この回転に伴って、同期符号のあるブロックのX座標SXにLを代入し、Y座標SYに6−Kを代入する。また、ブロックフレームのX方向への移動量ShiftXにMYを代入し、Y方向への移動量ShiftYに2−MXを代入する(ステップ257)。
Next, the synchronization code detection unit 24 determines whether or not the pattern value of PA [K, L] is “65” (step 255).
If the pattern value of PA [K, L] is “65”, the code array PA [X, Y] is rotated 90 degrees to the left (step 256). As shown in FIG. 4B, the code pattern with the pattern value “65” is an image obtained by rotating the code pattern with the pattern value “64” by 90 degrees in the right direction. Is upright. At this time, all pattern values in the code array PA [X, Y] are converted into pattern values when rotated 90 degrees to the left.
In accordance with this rotation, L is substituted for the X coordinate SX of the block having the synchronization code, and 6-K is substituted for the Y coordinate SY. Also, MY is substituted for the movement amount ShiftX in the X direction of the block frame, and 2-MX is substituted for the movement amount ShiftY in the Y direction (step 257).

次に、同期符号検出部24は、PA[K,L]のパターン値が「66」かどうかを判定する(ステップ258)。
PA[K,L]のパターン値が「66」であれば、符号配列PA[X,Y]を左方向に180度回転させる(ステップ259)。図4(b)に示すようにパターン値「66」の符号パターンは、パターン値「64」の符号パターンを180度回転させた画像であるので、パターン値「66」の符号パターンを180度回転させて画像を正立させている。尚、このとき、符号配列PA[X,Y]内の全てのパターン値が、180度回転させた場合のパターン値に変換される。
また、この回転に伴って、同期符号のあるブロックのX座標SXに6−Kを代入し、Y座標SYに6−Lを代入する。また、ブロックフレームのX方向への移動量ShiftXに2−MXを代入し、Y方向への移動量ShiftYに2−MYを代入する(ステップ260)。
Next, the synchronization code detector 24 determines whether the pattern value of PA [K, L] is “66” (step 258).
If the pattern value of PA [K, L] is “66”, the code array PA [X, Y] is rotated 180 degrees to the left (step 259). As shown in FIG. 4B, since the code pattern of the pattern value “66” is an image obtained by rotating the code pattern of the pattern value “64” by 180 degrees, the code pattern of the pattern value “66” is rotated by 180 degrees. Let the image stand upright. At this time, all the pattern values in the code array PA [X, Y] are converted into pattern values when rotated 180 degrees.
In accordance with this rotation, 6-K is substituted for the X coordinate SX of the block having the synchronization code, and 6-L is substituted for the Y coordinate SY. Further, 2-MX is substituted for the movement amount ShiftX in the X direction of the block frame, and 2-MY is substituted for the movement amount ShiftY in the Y direction (step 260).

次に、同期符号検出部24は、PA[K,L]のパターン値が「67」かどうかを判定する(ステップ261)。
PA[K,L]のパターン値が「67」であれば、符号配列PA[X,Y]を左方向に270度回転させる(ステップ262)。図4(b)に示すようにパターン値「67」の符号パターンは、パターン値「64」の符号パターンを右に270度回転させた画像であるので、逆方向に270度回転させて画像を正立させている。尚、このとき、符号配列PA[X,Y]内の全てのパターン値が、左方向に270度回転させた場合のパターン値に変換される。
また、この回転に伴って、同期符号のあるブロックのX座標SXに6−Lを代入し、Y座標SYにKを代入する。また、ブロックフレームのX方向への移動量ShiftXに2−MYを代入し、Y方向への移動量ShiftYにMXを代入する(ステップ263)。
Next, the synchronization code detection unit 24 determines whether the pattern value of PA [K, L] is “67” (step 261).
If the pattern value of PA [K, L] is “67”, the code array PA [X, Y] is rotated 270 degrees to the left (step 262). As shown in FIG. 4B, the code pattern of the pattern value “67” is an image obtained by rotating the code pattern of the pattern value “64” to the right by 270 degrees, so that the image is rotated by 270 degrees in the reverse direction. Erect. At this time, all the pattern values in the code array PA [X, Y] are converted into pattern values when rotated 270 degrees in the left direction.
In accordance with this rotation, 6-L is substituted for the X coordinate SX of the block having the synchronization code, and K is substituted for the Y coordinate SY. Further, 2-MY is substituted for the movement amount ShiftX in the X direction of the block frame, and MX is substituted for the movement amount ShiftY in the Y direction (step 263).

そして、ステップ254、257、260、263で、SX、SY、ShiftX、ShiftYに値が代入された場合、同期符号検出部24は、PA[X,Y]とこれらの値を識別符号検出部30、X座標符号検出部40、Y座標符号検出部45に出力する(ステップ264)。
また、PA[K,L]がパターン値「64」〜「67」のいずれでもなければ、同期符号検出部24は、K=5であるかどうかを判定する(ステップ265)。K=5でない場合には、Kに「1」を加算し(ステップ266)、ステップ253に戻る。K=5であれば、L=5であるかどうかを判定する(ステップ267)。L=5でない場合には、Kに「1」を代入し、Lに「1」を加算し(ステップ268)、ステップ253に戻る。即ち、ステップ253〜264の処理を、パターン値「64」〜「67」のブロックを検出するまでK、Lの値を変更しながら繰り返し行う。また、K=5、L=5になっても、パターン値「64」〜「67」のブロックを検出することができなかった場合には、復号不能の判定信号を出力する(ステップ269)。
When values are assigned to SX, SY, ShiftX, and ShiftY in steps 254, 257, 260, and 263, the synchronization code detection unit 24 converts PA [X, Y] and these values into the identification code detection unit 30. The X coordinate code detection unit 40 and the Y coordinate code detection unit 45 are output (step 264).
If PA [K, L] is not any of the pattern values “64” to “67”, the synchronization code detector 24 determines whether K = 5 (step 265). If K = 5 is not satisfied, “1” is added to K (step 266), and the process returns to step 253. If K = 5, it is determined whether L = 5 (step 267). If L = 5 is not satisfied, “1” is substituted for K, “1” is added to L (step 268), and the process returns to step 253. That is, the processes in steps 253 to 264 are repeated while changing the values of K and L until the blocks having pattern values “64” to “67” are detected. In addition, even if K = 5 and L = 5, if a block having pattern values “64” to “67” cannot be detected, a determination signal indicating that decoding is impossible is output (step 269).

次に、X座標符号検出部40及びX座標符号復号部42の動作について説明する。
図16は、X座標符号検出部40及びX座標符号復号部42の動作例を示したフローチャートである。
まず、X座標符号検出部40は、同期符号検出部24から符号配列PA[X,Y]、SX、SY、ShiftX、ShiftYを取得する(ステップ401)。
次に、X座標符号検出部40は、X座標符号配列XA[X]の全ての要素を「−1」で初期化する(ステップ402)。尚、この「−1」は、パターン値として用いられていない番号とする。そして、符号ブロックにおける各ブロックを識別するためのカウンタIX、IYに「1」を代入する。ここで、IXは、X方向のブロック数を示すカウンタであり、IYは、Y方向のブロック数を示すカウンタである。更に、X座標符号検出部40は、X座標符号配列における各要素を識別するためのカウンタKXにも「1」を代入する(ステップ403)。
Next, operations of the X coordinate code detection unit 40 and the X coordinate code decoding unit 42 will be described.
FIG. 16 is a flowchart illustrating an operation example of the X coordinate code detection unit 40 and the X coordinate code decoding unit 42.
First, the X coordinate code detection unit 40 acquires the code arrays PA [X, Y], SX, SY, ShiftX, and ShiftY from the synchronization code detection unit 24 (step 401).
Next, the X coordinate code detection unit 40 initializes all elements of the X coordinate code array XA [X] with “−1” (step 402). Note that “−1” is a number that is not used as a pattern value. Then, “1” is substituted into counters IX and IY for identifying each block in the code block. Here, IX is a counter indicating the number of blocks in the X direction, and IY is a counter indicating the number of blocks in the Y direction. Furthermore, the X coordinate code detection unit 40 substitutes “1” into a counter KX for identifying each element in the X coordinate code array (step 403).

また、X座標符号検出部40は、IY−SYが「5」で割り切れるかどうかを判定する(ステップ404)。即ち、IYで特定される行に同期符号が配置されているかどうかを判定する。
ここで、IY−SYが「5」で割り切れなかった場合、つまり、この行に同期符号が配置されていない場合は、X座標符号を取り出す対象ではないため、IYに「1」を加算し(ステップ405)、ステップ404へ進む。
一方、IY−SYが「5」で割り切れた場合、つまり、この行に同期符号が配置されている場合、X座標符号検出部40は、IX−SXが「5」で割り切れるかどうかを判定する(ステップ406)。即ち、IXで特定される列に同期符号が配置されているかどうかを判定する。
Further, the X coordinate code detection unit 40 determines whether IY-SY is divisible by “5” (step 404). That is, it is determined whether or not the synchronization code is arranged in the row specified by IY.
Here, if IY-SY is not divisible by “5”, that is, if no synchronous code is arranged in this row, the X coordinate code is not extracted, so “1” is added to IY ( Step 405), the process proceeds to Step 404.
On the other hand, when IY-SY is divisible by “5”, that is, when a synchronous code is arranged in this row, the X coordinate code detection unit 40 determines whether IX-SX is divisible by “5”. (Step 406). That is, it is determined whether or not the synchronization code is arranged in the column specified by IX.

ここで、IX−SXが「5」で割り切れた場合、つまり、この列に同期符号が配置されている場合は、X座標符号を取り出す対象ではないため、IXに「1」を加算し(ステップ407)、ステップ406へ進む。
一方、IX−SXが「5」で割り切れなかった場合、つまり、この列に同期符号が配置されていない場合、X座標符号検出部40は、XA[KX]に、PA[IX,IY]を「16」で割った余りを代入する(ステップ408)。また、拡張情報を表すXB[KX]に、PA[IX,IY]を「32」で割った商を代入する(ステップ409)。
Here, when IX-SX is divisible by “5”, that is, when the synchronization code is arranged in this column, “1” is added to IX because the X coordinate code is not extracted (step 1). 407), go to step 406.
On the other hand, if IX-SX is not divisible by “5”, that is, if no synchronization code is arranged in this column, the X coordinate code detection unit 40 sets PA [IX, IY] to XA [KX]. The remainder divided by “16” is substituted (step 408). Further, a quotient obtained by dividing PA [IX, IY] by “32” is substituted into XB [KX] representing the extended information (step 409).

そして、IX=5であるかどうかを判定する(ステップ410)。
ここで、IX=5でない場合には、KXに「1」を加算し(ステップ411)、IXに「1」を加算して(ステップ407)、ステップ406〜409の処理をIX=5となるまで繰り返し行う。また、IX=5となると、X座標符号復号部42の処理に移る。
Then, it is determined whether IX = 5 (step 410).
If IX = 5 is not satisfied, “1” is added to KX (step 411), “1” is added to IX (step 407), and the processing of steps 406 to 409 becomes IX = 5. Repeat until When IX = 5, the process proceeds to the process of the X coordinate code decoding unit 42.

即ち、X座標符号復号部42は、XA[X]を復号できるかどうかを判定する(ステップ412)。
ここで、XA[X]を復号できると判定すると、X座標符号復号部42は、XA[X]とShiftXからX座標情報を復号する(ステップ413)。また、XA[X]が復号できないと判定された場合は、X座標情報にN/Aを代入する(ステップ414)。
That is, the X coordinate code decoding unit 42 determines whether or not XA [X] can be decoded (step 412).
If it is determined that XA [X] can be decoded, the X coordinate code decoding unit 42 decodes X coordinate information from XA [X] and ShiftX (step 413). If it is determined that XA [X] cannot be decoded, N / A is substituted into the X coordinate information (step 414).

尚、ここでは、X座標符号検出部40及びX座標符号復号部42の動作のみ説明したが、Y座標符号検出部45及びY座標符号復号部47も同様の動作を行う。即ち、符号配列PA[X,Y]からY座標符号配列YA[Y]を求め、これを復号する。   Although only the operations of the X coordinate code detection unit 40 and the X coordinate code decoding unit 42 have been described here, the Y coordinate code detection unit 45 and the Y coordinate code decoding unit 47 perform the same operation. That is, the Y coordinate code array YA [Y] is obtained from the code array PA [X, Y], and is decoded.

次に、識別符号検出部30、識別符号復号部32、擬似乱数符号復号部33の動作について説明する。
図17は、識別符号検出部30、識別符号復号部32、擬似乱数符号復号部33の動作例を示したフローチャートである。
まず、識別符号検出部30は、同期符号検出部24から符号配列PA[X,Y]、SX、SYを取得する(ステップ301)。
次に、識別符号検出部30は、識別符号配列IA[X,Y]の全ての要素を「−1」で初期化する(ステップ302)。尚、この「−1」は、パターン値として用いられていない番号とする。そして、符号ブロックにおける各ブロックを識別するためのカウンタIX、IYに「1」を代入する(ステップ303)。ここで、IXは、X方向のブロック数を示すカウンタであり、IYは、Y方向のブロック数を示すカウンタである。
Next, operations of the identification code detection unit 30, the identification code decoding unit 32, and the pseudo random code decoding unit 33 will be described.
FIG. 17 is a flowchart showing an operation example of the identification code detection unit 30, the identification code decoding unit 32, and the pseudorandom code decoding unit 33.
First, the identification code detection unit 30 acquires the code arrays PA [X, Y], SX, and SY from the synchronization code detection unit 24 (step 301).
Next, the identification code detection unit 30 initializes all elements of the identification code array IA [X, Y] with “−1” (step 302). Note that “−1” is a number that is not used as a pattern value. Then, “1” is substituted into counters IX and IY for identifying each block in the code block (step 303). Here, IX is a counter indicating the number of blocks in the X direction, and IY is a counter indicating the number of blocks in the Y direction.

また、識別符号検出部30は、IY−SYが「5」で割り切れるかどうかを判定する(ステップ304)。即ち、IYで特定される行に同期符号が配置されているかどうかを判定する。
ここで、IY−SYが「5」で割り切れた場合、つまり、この行に同期符号が配置されている場合は、識別符号を取り出す対象ではないため、IYに「1」を加算し(ステップ305)、ステップ304へ進む。
一方、IY−SYが「5」で割り切れなかった場合、つまり、この行に同期符号が配置されていない場合は、IX−SXが「5」で割り切れるかどうかを判定する(ステップ306)。即ち、IXで特定される列に同期符号が配置されているかどうかを判定する。
The identification code detection unit 30 determines whether IY-SY is divisible by “5” (step 304). That is, it is determined whether or not the synchronization code is arranged in the row specified by IY.
Here, when IY-SY is divisible by “5”, that is, when a synchronization code is arranged in this row, since the identification code is not extracted, “1” is added to IY (step 305). ), Go to step 304.
On the other hand, if IY-SY is not divisible by “5”, that is, if no synchronization code is arranged in this row, it is determined whether IX-SX is divisible by “5” (step 306). That is, it is determined whether or not the synchronization code is arranged in the column specified by IX.

ここで、IX−SXが「5」で割り切れた場合、つまり、この列に同期符号が配置されている場合は、識別符号を取り出す対象ではないため、IXに「1」を加算し(ステップ307)、ステップ306へ進む。
一方、IX−SXが「5」で割り切れなかった場合、つまり、この列に同期符号が配置されていない場合、識別符号検出部30は、IA[(IX−SX)mod5,(IY−SY)mod5]に、PA[IX,IY]を「32」で割った余りを代入する(ステップ308)。また、IB[(IX−SX)mod5,(IY−SY)mod5]に、PA[IX,IY]を「32」で割った商を代入する(ステップ309)。
Here, when IX-SX is divisible by “5”, that is, when a synchronization code is arranged in this column, “1” is added to IX because the identification code is not extracted (step 307). ), Go to Step 306.
On the other hand, when IX-SX is not divisible by “5”, that is, when a synchronization code is not arranged in this column, the identification code detection unit 30 performs IA [(IX-SX) mod5, (IY-SY) The remainder obtained by dividing PA [IX, IY] by “32” is substituted into mod 5] (step 308). Further, a quotient obtained by dividing PA [IX, IY] by “32” is substituted into IB [(IX-SX) mod 5, (IY-SY) mod 5] (step 309).

そして、IX=5であるかどうかを判定する(ステップ310)。
ここで、IX=5でない場合には、IXに「1」を加算して(ステップ307)、ステップ306〜309の処理をIX=5となるまで繰り返し行う。また、IX=5となると、次に、IY=5であるかどうかを判定する(ステップ311)。IY=5でない場合には、IXに「1」を代入し(ステップ312)、IYに「1」を加算して(ステップ305)、ステップ304〜310の処理をIY=5となるまで繰り返し行う。また、IY=5となると、識別符号復号部32及び擬似乱数符号復号部33の処理に移る。
Then, it is determined whether or not IX = 5 (step 310).
If IX = 5 is not satisfied, “1” is added to IX (step 307), and the processing of steps 306 to 309 is repeated until IX = 5. When IX = 5, it is next determined whether IY = 5 (step 311). If IY = 5 is not satisfied, “1” is substituted into IX (step 312), “1” is added to IY (step 305), and the processing of steps 304 to 310 is repeated until IY = 5. . When IY = 5, the process proceeds to the identification code decoding unit 32 and the pseudo random number code decoding unit 33.

即ち、識別符号復号部32は、IA[X,Y]を復号できるかどうかを判定する(ステップ313)。
ここで、IA[X,Y]を復号できると判定すると、識別符号復号部32は、IA[X,Y]から識別情報を得る(ステップ314)。そして、IA[X,Y]を復号できる旨を擬似乱数符号復号部33に伝え、これにより、擬似乱数符号復号部33が、IB[X,Y]からXA[X]及びYA[Y]を減算し、その結果を「2」で割ることにより、拡張情報を得る(ステップ315)。
一方、IA[X,Y]を復号できないと判定すると、識別符号復号部32は、識別情報にN/Aを代入する(ステップ316)。そして、IA[X,Y]を復号できない旨を擬似乱数符号復号部33に伝え、これにより、擬似乱数符号復号部33が、拡張情報にN/Aを代入する(ステップ317)。
以上により、本実施の形態における画像処理装置20の動作説明を終了する。
That is, the identification code decoding unit 32 determines whether or not IA [X, Y] can be decoded (step 313).
If it is determined that IA [X, Y] can be decoded, the identification code decoding unit 32 obtains identification information from IA [X, Y] (step 314). Then, the pseudo random number code decoding unit 33 is informed that IA [X, Y] can be decoded, so that the pseudo random number code decoding unit 33 changes XA [X] and YA [Y] from IB [X, Y]. The extended information is obtained by subtracting and dividing the result by “2” (step 315).
On the other hand, if it is determined that IA [X, Y] cannot be decoded, the identification code decoding unit 32 substitutes N / A for the identification information (step 316). Then, the pseudo random number code decoding unit 33 is informed that IA [X, Y] cannot be decoded, whereby the pseudo random number code decoding unit 33 substitutes N / A for the extension information (step 317).
This is the end of the description of the operation of the image processing apparatus 20 in the present embodiment.

尚、上記の説明では、M系列を用いてX座標情報及びY座標情報を表現することでこれらの情報が擬似乱数性を有することとしたが、M系列以外の公知の擬似乱数生成方法を用いてX座標情報及びY座標情報を表現するようにしてもよい。
また、ここでは、識別情報に重畳する拡張情報に対し、その拡張情報が埋め込まれる位置のX座標情報及びY座標情報を用いて擬似乱数性を与えるようにした。しかしながら、拡張情報が埋め込まれる位置を表す情報であれば、X座標情報及びY座標情報の何れか一方の情報や、X座標情報及びY座標情報以外の情報を採用してもよい。
In the above description, the X-coordinate information and the Y-coordinate information are expressed by using the M sequence, and the information has pseudorandomness. However, a known pseudorandom number generation method other than the M sequence is used. Thus, the X coordinate information and the Y coordinate information may be expressed.
Here, pseudo-randomness is given to the extended information superimposed on the identification information by using the X coordinate information and the Y coordinate information of the position where the extended information is embedded. However, as long as the information represents the position where the extended information is embedded, any one of the X coordinate information and the Y coordinate information, or information other than the X coordinate information and the Y coordinate information may be employed.

次に、本実施の形態における画像生成装置10及び画像処理装置20の具体的なハードウェア構成について説明する。
まず、画像処理装置20を実現するペンデバイス60について説明する。
図18は、ペンデバイス60の機構を示した図である。
図示するように、ペンデバイス60は、ペン全体の動作を制御する制御回路61を備える。また、制御回路61は、入力画像から検出した符号画像を処理する画像処理部61aと、そこでの処理結果から識別情報及び座標情報を抽出するデータ処理部61bとを含む。
そして、制御回路61には、ペンデバイス60による筆記動作をペンチップ69に加わる圧力によって検出する圧力センサ62が接続されている。また、媒体上に赤外光を照射する赤外LED63と、画像を入力する赤外CMOS64も接続されている。更に、識別情報及び座標情報を記憶するための情報メモリ65と、外部装置と通信するための通信回路66と、ペンを駆動するためのバッテリ67と、ペンの識別情報(ペンID)を記憶するペンIDメモリ68も接続されている。
Next, specific hardware configurations of the image generation apparatus 10 and the image processing apparatus 20 in the present embodiment will be described.
First, the pen device 60 that implements the image processing apparatus 20 will be described.
FIG. 18 is a view showing the mechanism of the pen device 60.
As illustrated, the pen device 60 includes a control circuit 61 that controls the operation of the entire pen. The control circuit 61 includes an image processing unit 61a that processes a code image detected from an input image, and a data processing unit 61b that extracts identification information and coordinate information from the processing result.
The control circuit 61 is connected to a pressure sensor 62 that detects the writing operation by the pen device 60 by the pressure applied to the pen tip 69. Further, an infrared LED 63 that irradiates infrared light onto the medium and an infrared CMOS 64 that inputs an image are also connected. Further, an information memory 65 for storing identification information and coordinate information, a communication circuit 66 for communicating with an external device, a battery 67 for driving the pen, and pen identification information (pen ID) are stored. A pen ID memory 68 is also connected.

尚、図13に示した画像読取部21は、例えば、図18の赤外CMOS64にて実現される。また、ドット配列生成部22は、例えば、図18の画像処理部61aにて実現される。更に、図13に示したブロック検出部23、同期符号検出部24、識別符号検出部30、識別符号復号部32、擬似乱数符号復号部33、X座標符号検出部40、X座標符号復号部42、Y座標符号検出部45、Y座標符号復号部47、情報出力部50は、例えば、図18のデータ処理部61bにて実現される。   The image reading unit 21 shown in FIG. 13 is realized by, for example, the infrared CMOS 64 in FIG. The dot array generation unit 22 is realized by, for example, the image processing unit 61a in FIG. Further, the block detection unit 23, the synchronization code detection unit 24, the identification code detection unit 30, the identification code decoding unit 32, the pseudo random code decoding unit 33, the X coordinate code detection unit 40, and the X coordinate code decoding unit 42 shown in FIG. The Y coordinate code detection unit 45, the Y coordinate code decoding unit 47, and the information output unit 50 are realized by, for example, the data processing unit 61b in FIG.

また、画像生成装置10にて実現される処理、及び、図18の画像処理部61a又はデータ処理部61bにて実現される処理は、例えば、汎用のコンピュータで実現してもよい。そこで、かかる処理をコンピュータ90で実現するものとし、コンピュータ90のハードウェア構成について説明する。
図19は、コンピュータ90のハードウェア構成を示した図である。
図示するように、コンピュータ90は、演算手段であるCPU(Central Processing Unit)91と、記憶手段であるメインメモリ92及び磁気ディスク装置(HDD:Hard Disk Drive)93とを備える。ここで、CPU91は、OS(Operating System)やアプリケーション等の各種ソフトウェアを実行し、上述した各機能を実現する。また、メインメモリ92は、各種ソフトウェアやその実行に用いるデータ等を記憶する記憶領域であり、磁気ディスク装置93は、各種ソフトウェアに対する入力データや各種ソフトウェアからの出力データ等を記憶する記憶領域である。
更に、コンピュータ90は、外部との通信を行うための通信I/F94と、ビデオメモリやディスプレイ等からなる表示機構95と、キーボードやマウス等の入力デバイス96とを備える。
Further, the process realized by the image generation apparatus 10 and the process realized by the image processing unit 61a or the data processing unit 61b in FIG. 18 may be realized by a general-purpose computer, for example. Accordingly, assuming that such processing is realized by the computer 90, the hardware configuration of the computer 90 will be described.
FIG. 19 is a diagram illustrating a hardware configuration of the computer 90.
As shown in the figure, the computer 90 includes a CPU (Central Processing Unit) 91 as a calculation means, a main memory 92 as a storage means, and a magnetic disk device (HDD: Hard Disk Drive) 93. Here, the CPU 91 executes various types of software such as an OS (Operating System) and applications to realize the above-described functions. The main memory 92 is a storage area for storing various software and data used for execution thereof, and the magnetic disk device 93 is a storage area for storing input data for various software, output data from various software, and the like. .
Further, the computer 90 includes a communication I / F 94 for performing communication with the outside, a display mechanism 95 including a video memory and a display, and an input device 96 such as a keyboard and a mouse.

尚、本実施の形態を実現するプログラムは、通信手段により提供することはもちろん、CD−ROM等の記録媒体に格納して提供することも可能である。   The program for realizing the present embodiment can be provided not only by communication means but also by storing it in a recording medium such as a CD-ROM.

9C2方式及び9C3方式における符号パターンの一例を示した図である。It is the figure which showed an example of the code pattern in 9C2 system and 9C3 system. 9C2方式における全符号パターンの一例を示した図である。It is the figure which showed an example of all the code patterns in 9C2 system. 9C3方式における全符号パターンの一例を示した図である。It is the figure which showed an example of all the code patterns in 9C3 system. 9C2方式及び9C3方式における同期パターンの例を示した図である。It is the figure which showed the example of the synchronous pattern in 9C2 system and 9C3 system. 符号ブロックの基本的なレイアウトの例を示した図である。It is the figure which showed the example of the basic layout of a code block. 符号ブロックの広範囲のレイアウトの例を示した図である。It is the figure which showed the example of the extensive layout of a code block. 本実施の形態におけるパターン値の演算を符号ブロックの基本的なレイアウト上で説明するための図である。It is a figure for demonstrating the calculation of the pattern value in this Embodiment on the basic layout of a code block. 本実施の形態におけるパターン値の演算を符号ブロックの広範囲のレイアウト上で説明するための図である。It is a figure for demonstrating the calculation of the pattern value in this Embodiment on the extensive layout of a code block. 本実施の形態におけるパターン値の演算を符号ブロックの広範囲のレイアウト上で説明するための図である。It is a figure for demonstrating the calculation of the pattern value in this Embodiment on the extensive layout of a code block. 本実施の形態で表現可能な情報の種類及びビット値を示した図である。It is the figure which showed the kind and bit value of information which can be expressed by this Embodiment. 本実施の形態における画像生成装置の機能構成例を示したブロック図である。It is the block diagram which showed the function structural example of the image generation apparatus in this Embodiment. 本実施の形態における画像生成装置の動作例を示したフローチャートである。It is the flowchart which showed the operation example of the image generation apparatus in this Embodiment. 本実施の形態における画像処理装置の機能構成例を示したブロック図である。It is the block diagram which showed the function structural example of the image processing apparatus in this Embodiment. 本実施の形態におけるブロック検出部の動作例を示したフローチャートである。It is the flowchart which showed the operation example of the block detection part in this Embodiment. 本実施の形態における同期符号検出部の動作例を示したフローチャートである。It is the flowchart which showed the operation example of the synchronous code detection part in this Embodiment. 本実施の形態におけるX座標符号検出部等の動作例を示したフローチャートである。It is the flowchart which showed the operation example of the X coordinate code | symbol detection part etc. in this Embodiment. 本実施の形態における識別符号検出部等の動作例を示したフローチャートである。It is the flowchart which showed the operation example of the identification code | cord | chord detection part etc. in this Embodiment. 本実施の形態における画像処理装置を実現可能なペンデバイスの機構を示した図である。It is the figure which showed the mechanism of the pen device which can implement | achieve the image processing apparatus in this Embodiment. 本実施の形態を適用可能なコンピュータのハードウェア構成図である。It is a hardware block diagram of the computer which can apply this Embodiment.

符号の説明Explanation of symbols

10…画像生成装置、11…情報取得部、12…識別符号生成部、13…X座標符号生成部、14…Y座標符号生成部、15…符号配列生成部、16…パターン画像記憶部、17…符号画像生成部、18…擬似乱数符号生成部、20…画像処理装置、21…画像読取部、22…ドット配列生成部、23…ブロック検出部、24…同期符号検出部、30…識別符号検出部、32…識別符号復号部、33…擬似乱数符号復号部、40…X座標符号検出部、42…X座標符号復号部、45…Y座標符号検出部、47…Y座標符号復号部、50…情報出力部 DESCRIPTION OF SYMBOLS 10 ... Image generation apparatus, 11 ... Information acquisition part, 12 ... Identification code generation part, 13 ... X coordinate code generation part, 14 ... Y coordinate code generation part, 15 ... Code arrangement generation part, 16 ... Pattern image storage part, 17 ... Code image generation unit, 18 ... Pseudo random number code generation unit, 20 ... Image processing device, 21 ... Image reading unit, 22 ... Dot array generation unit, 23 ... Block detection unit, 24 ... Synchronization code detection unit, 30 ... Identification code Detection unit, 32 ... identification code decoding unit, 33 ... pseudo random code decoding unit, 40 ... X coordinate code detection unit, 42 ... X coordinate code decoding unit, 45 ... Y coordinate code detection unit, 47 ... Y coordinate code decoding unit, 50 ... Information output section

Claims (12)

媒体及び当該媒体に印刷された文書画像の少なくとも何れか一方の識別情報を表す第1のビット列を取得する第1のビット列取得手段と、
前記媒体上の位置を表し、擬似乱数性を有する第2のビット列を取得する第2のビット列取得手段と、
所定の第3のビット列に、当該第3のビット列が埋め込まれる位置を表す前記第2のビット列を用いて擬似乱数性を与えることにより、擬似乱数ビット列を生成するビット列生成手段と、
前記第1のビット列に前記擬似乱数ビット列を重畳して得られたビット列に対応する第1のパターン画像と、前記第2のビット列に対応する第2のパターン画像とを配置した埋め込み画像を生成する埋め込み画像生成手段と
を備えたことを特徴とする画像生成装置。
First bit string acquisition means for acquiring a first bit string representing identification information of at least one of a medium and a document image printed on the medium;
Second bit string acquisition means for representing a position on the medium and acquiring a second bit string having pseudo-randomness;
Bit string generating means for generating a pseudo random number bit string by giving pseudo-randomness to the predetermined third bit string by using the second bit string representing a position where the third bit string is embedded;
An embedded image is generated in which a first pattern image corresponding to a bit string obtained by superimposing the pseudo random number bit string on the first bit string and a second pattern image corresponding to the second bit string are arranged. An image generation apparatus comprising an embedded image generation unit.
前記識別情報に重畳する特定の情報を取得する情報取得手段を更に備え、
前記ビット列生成手段は、前記擬似乱数ビット列の生成に先立ち、前記特定の情報に基づいて前記第3のビット列を生成することを特徴とする請求項1記載の画像生成装置。
Further comprising information acquisition means for acquiring specific information superimposed on the identification information;
2. The image generation apparatus according to claim 1, wherein the bit string generation unit generates the third bit string based on the specific information prior to generation of the pseudo random number bit string.
前記ビット列生成手段は、前記第3のビット列を構成するビットが示す数値に、当該ビットが埋め込まれる位置を表す前記第2のビット列の部分列が示す数値を加算し、その結果を所定値で割った余りを、前記擬似乱数ビット列を構成するビットが示す数値とすることを特徴とする請求項1記載の画像生成装置。   The bit string generation means adds a numerical value indicated by a partial string of the second bit string indicating a position where the bit is embedded to a numerical value indicated by a bit constituting the third bit string, and divides the result by a predetermined value. 2. The image generating apparatus according to claim 1, wherein the remainder is a numerical value indicated by a bit constituting the pseudo random number bit string. 前記埋め込み画像生成手段は、前記擬似乱数ビット列を構成するビットが示す数値に所定値を乗じて得られた数値を、前記第1のビット列の部分列が示す数値に加算することにより、当該第1のビット列に当該擬似乱数ビット列を重畳することを特徴とする請求項1記載の画像生成装置。   The embedded image generating means adds the numerical value obtained by multiplying the numerical value indicated by the bits constituting the pseudo-random bit string by a predetermined value to the numerical value indicated by the partial string of the first bit string, thereby The image generation apparatus according to claim 1, wherein the pseudo random number bit string is superimposed on the bit string. 前記第1のパターン画像及び前記第2のパターン画像は、p個のパターン画像が属する2個の組の何れかに属し(p≧2,q≧1)、
前記ビット列生成手段は、前記第3のビット列を構成するqビットが示す数値に、当該qビットが埋め込まれる位置を表す前記第2のビット列の部分列が示す数値を加算し、その結果を2で割った余りを、前記擬似乱数ビット列を構成するビットが示す値とし、
前記埋め込み画像生成手段は、前記擬似乱数ビット列を構成するqビットが示す値にpを乗じて得られた数値を、前記第1のビット列の部分列が示す数値に加算することを特徴とする請求項1記載の画像生成装置。
The first pattern image and the second pattern image belong to any of 2 q sets to which p pattern images belong (p ≧ 2, q ≧ 1),
The bit string generation means adds a numerical value indicated by a partial string of the second bit string indicating a position where the q bit is embedded to a numerical value indicated by q bits constituting the third bit string, and adds the result to 2 q The remainder divided by is a value indicated by the bits constituting the pseudo-random bit string,
The embedded image generating means adds a numerical value obtained by multiplying a value indicated by q bits constituting the pseudo random number bit string by p to a numerical value indicated by a partial string of the first bit string. Item 2. The image generating device according to Item 1.
媒体に印刷された埋め込み画像を取得する埋め込み画像取得手段と、
前記埋め込み画像に配置された第1のパターン画像に対応するビット列であって、前記媒体及び当該媒体に印刷された文書画像の少なくとも何れか一方の識別情報を表す第1のビット列に擬似乱数ビット列を重畳して得られるビット列から、当該第1のビット列と当該擬似乱数ビット列とを取得する第1のビット列取得手段と、
前記埋め込み画像に配置された第2のパターン画像に対応するビット列であって、前記媒体上の位置を表し、擬似乱数性を有するビット列である第2のビット列を取得する第2のビット列取得手段と、
前記擬似乱数ビット列から、当該擬似乱数ビット列が埋め込まれた位置を表す前記第2のビット列を用いて擬似乱数性を除去することにより、第3のビット列を生成するビット列生成手段と、
前記第1のビット列と前記第2のビット列と前記第3のビット列とに基づいて、前記識別情報と、前記媒体上の位置を特定する情報と、これらの情報以外の特定の情報とを取得する情報取得手段と
を備えたことを特徴とする画像処理装置。
Embedded image acquisition means for acquiring an embedded image printed on a medium;
A bit string corresponding to a first pattern image arranged in the embedded image, wherein a pseudo-random bit string is added to the first bit string representing identification information of at least one of the medium and a document image printed on the medium. First bit string acquisition means for acquiring the first bit string and the pseudo random number bit string from the bit string obtained by superposition;
Second bit string acquisition means for acquiring a second bit string corresponding to a second pattern image arranged in the embedded image, the second bit string representing a position on the medium and having pseudo-randomness; ,
Bit string generation means for generating a third bit string by removing pseudo-randomness from the pseudo random number bit string using the second bit string representing a position where the pseudo random number bit string is embedded;
Based on the first bit string, the second bit string, and the third bit string, the identification information, information for specifying a position on the medium, and specific information other than these information are acquired. An image processing apparatus comprising: an information acquisition unit.
前記第1のビット列取得手段は、前記第1のビット列に前記擬似乱数ビット列を重畳して得られるビット列の部分列が示す数値を所定値で割った余りを、当該第1のビット列の部分列が示す数値とすることを特徴とする請求項6記載の画像処理装置。   The first bit string obtaining means obtains a remainder obtained by dividing a numerical value indicated by a partial string of the bit string obtained by superimposing the pseudo random number bit string on the first bit string by a predetermined value, and the partial string of the first bit string The image processing apparatus according to claim 6, wherein the numerical value is indicated. 前記ビット列生成手段は、前記擬似乱数ビット列を構成するビットが示す数値から、当該ビットが埋め込まれた位置を表す前記第2のビット列の部分列が示す数値を減算し、その結果を所定値で割った余りを、前記第3のビット列を構成するビットが示す数値とすることを特徴とする請求項6記載の画像処理装置。   The bit string generation means subtracts a numerical value indicated by a partial string of the second bit string indicating a position where the bit is embedded from a numerical value indicated by a bit constituting the pseudo random number bit string, and divides the result by a predetermined value. The image processing apparatus according to claim 6, wherein the remainder is a numerical value indicated by a bit constituting the third bit string. 前記第1のパターン画像及び前記第2のパターン画像は、p個のパターン画像が属する2個の組の何れかに属し(p≧2,q≧1)、
前記第1のビット列取得手段は、前記第1のビット列に前記擬似乱数ビット列を重畳して得られるビット列の部分列が示す数値をpで割った余りを、当該第1のビット列の部分列が示す数値とし、
前記ビット列生成手段は、前記擬似乱数ビット列を構成するqビットが示す数値から、当該qビットが埋め込まれた位置を表す前記第2のビット列の部分列が示す数値を減算し、その結果を2で割った余りを、前記第3のビット列を構成するqビットが示す数値とすることを特徴とする請求項6記載の画像処理装置。
The first pattern image and the second pattern image belong to any of 2 q sets to which p pattern images belong (p ≧ 2, q ≧ 1),
The first bit string acquisition means indicates a remainder obtained by dividing the numerical value indicated by the partial string of the bit string obtained by superimposing the pseudo random number bit string on the first bit string by p, by the partial string of the first bit string. A number,
The bit string generation means subtracts a numerical value indicated by a partial string of the second bit string indicating a position where the q bit is embedded from a numerical value indicated by q bits constituting the pseudo random number bit string, and obtains the result by 2 q The image processing apparatus according to claim 6, wherein a remainder obtained by dividing the value by q is a numerical value indicated by q bits constituting the third bit string.
コンピュータに、
媒体及び当該媒体に印刷された文書画像の少なくとも何れか一方の識別情報を表す第1のビット列を取得する機能と、
前記媒体上の位置を表し、擬似乱数性を有する第2のビット列を取得する機能と、
所定の第3のビット列に、当該第3のビット列が埋め込まれる位置を表す前記第2のビット列を用いて擬似乱数性を与えることにより、擬似乱数ビット列を生成する機能と、
前記第1のビット列に前記擬似乱数ビット列を重畳して得られたビット列に対応する第1のパターン画像と、前記第2のビット列に対応する第2のパターン画像とを配置した埋め込み画像を生成する機能と
を実現させるためのプログラム。
On the computer,
A function of acquiring a first bit string representing identification information of at least one of a medium and a document image printed on the medium;
A function of obtaining a second bit string representing a position on the medium and having pseudo-randomness;
A function of generating a pseudo-random bit string by giving pseudo-randomness to the predetermined third bit string by using the second bit string indicating a position where the third bit string is embedded;
An embedded image is generated in which a first pattern image corresponding to a bit string obtained by superimposing the pseudo random number bit string on the first bit string and a second pattern image corresponding to the second bit string are arranged. A program for realizing functions.
コンピュータに、
媒体に印刷された埋め込み画像を取得する機能と、
前記埋め込み画像に配置された第1のパターン画像に対応するビット列であって、前記媒体及び当該媒体に印刷された文書画像の少なくとも何れか一方の識別情報を表す第1のビット列に擬似乱数ビット列を重畳して得られるビット列から、当該第1のビット列と当該擬似乱数ビット列とを取得する機能と、
前記埋め込み画像に配置された第2のパターン画像に対応するビット列であって、前記媒体上の位置を表し、擬似乱数性を有するビット列である第2のビット列を取得する機能と、
前記擬似乱数ビット列から、当該擬似乱数ビット列が埋め込まれた位置を表す前記第2のビット列を用いて擬似乱数性を除去することにより、第3のビット列を生成する機能と、
前記第1のビット列と前記第2のビット列と前記第3のビット列とを出力する機能と
を実現させるためのプログラム。
On the computer,
A function to acquire an embedded image printed on a medium;
A bit string corresponding to a first pattern image arranged in the embedded image, wherein a pseudo-random bit string is added to the first bit string representing identification information of at least one of the medium and a document image printed on the medium. A function of acquiring the first bit string and the pseudo random number bit string from the bit string obtained by superposition;
A bit string corresponding to a second pattern image arranged in the embedded image, representing a position on the medium, and obtaining a second bit string that is a bit string having pseudo-randomness;
A function of generating a third bit string from the pseudo-random bit string by removing pseudo-randomness using the second bit string representing a position where the pseudo-random bit string is embedded;
A program for realizing a function of outputting the first bit string, the second bit string, and the third bit string.
媒体及び当該媒体に印刷された文書画像の少なくとも何れか一方の識別情報を表す第1のビット列に擬似乱数ビット列を重畳して得られたビット列に対応するパターン画像が印刷された第1の領域と、
前記媒体上の位置を表し、擬似乱数性を有する第2のビット列に対応するパターン画像が印刷された第2の領域とを含み、
前記擬似乱数ビット列は、所定の第3のビット列に、当該第3のビット列が埋め込まれる位置を表す前記第2のビット列を用いて擬似乱数性を与えることにより生成されたビット列であることを特徴とする印刷媒体。
A first area on which a pattern image corresponding to a bit string obtained by superimposing a pseudo-random bit string on a first bit string representing identification information of at least one of a medium and a document image printed on the medium is printed; ,
A second area on which a pattern image corresponding to a second bit string having a pseudo-random characteristic is printed and representing a position on the medium;
The pseudo-random number bit string is a bit string generated by giving pseudo-randomness to the predetermined third bit string using the second bit string that represents a position where the third bit string is embedded. To print media.
JP2008016239A 2008-01-28 2008-01-28 Image generating apparatus, image processing apparatus, program, and print medium Active JP5125547B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008016239A JP5125547B2 (en) 2008-01-28 2008-01-28 Image generating apparatus, image processing apparatus, program, and print medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008016239A JP5125547B2 (en) 2008-01-28 2008-01-28 Image generating apparatus, image processing apparatus, program, and print medium

Publications (2)

Publication Number Publication Date
JP2009176207A JP2009176207A (en) 2009-08-06
JP5125547B2 true JP5125547B2 (en) 2013-01-23

Family

ID=41031190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008016239A Active JP5125547B2 (en) 2008-01-28 2008-01-28 Image generating apparatus, image processing apparatus, program, and print medium

Country Status (1)

Country Link
JP (1) JP5125547B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408637A (en) * 2014-12-04 2015-03-11 成都爱维科创科技有限公司 Method and system for identifying one-dimension code information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4207049B2 (en) * 2006-02-24 2009-01-14 富士ゼロックス株式会社 Printed matter with identification function, image generation apparatus, image processing apparatus and method thereof
JP4915125B2 (en) * 2006-04-10 2012-04-11 富士ゼロックス株式会社 Image generating apparatus, information reading apparatus, image generating method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408637A (en) * 2014-12-04 2015-03-11 成都爱维科创科技有限公司 Method and system for identifying one-dimension code information

Also Published As

Publication number Publication date
JP2009176207A (en) 2009-08-06

Similar Documents

Publication Publication Date Title
JP4769901B2 (en) Encoded paper for optical reading
JP4207049B2 (en) Printed matter with identification function, image generation apparatus, image processing apparatus and method thereof
CN100573566C (en) The Code And Decode of data
JP4289350B2 (en) Image processing apparatus and image processing method
JP4707395B2 (en) Information code containing redundant information
JP5609469B2 (en) Image processing apparatus, identification apparatus, electronic writing instrument, and program
JP4967823B2 (en) Position detection apparatus and program
JP5125547B2 (en) Image generating apparatus, image processing apparatus, program, and print medium
JP4985436B2 (en) Position detection apparatus and program
US8657205B2 (en) Image processing apparatus, identification apparatus, method for determining bit sequence and computer readable medium
JP4973316B2 (en) Image processing apparatus and program
JP5115213B2 (en) Image generating apparatus, image processing apparatus, program, and print medium
JP5125548B2 (en) Image processing apparatus and program
JP4973317B2 (en) Image processing apparatus and program
JP5098441B2 (en) Image processing apparatus and program
JP2009181341A (en) Position detection device and program
JP2009176251A (en) Image processing device and program
JP2008301120A (en) Image processor, image generating apparatus and program
JP5028955B2 (en) Image processing apparatus and program
JP4915211B2 (en) Image generating apparatus, print medium, and program
JP2008301128A (en) Image processor, image-generating apparatus and program
JP2009181346A (en) Image processor, pen device, and program
JP2009181363A (en) Image-processing device, image-generating device, and program
JP2008112314A (en) Image generation device and program
JP2008113251A (en) Image generating device, image processing apparatus, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120918

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121015

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5125547

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20151109

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350