JP2008301115A - Image processing apparatus, identifying method, and program - Google Patents
Image processing apparatus, identifying method, and program Download PDFInfo
- Publication number
- JP2008301115A JP2008301115A JP2007144103A JP2007144103A JP2008301115A JP 2008301115 A JP2008301115 A JP 2008301115A JP 2007144103 A JP2007144103 A JP 2007144103A JP 2007144103 A JP2007144103 A JP 2007144103A JP 2008301115 A JP2008301115 A JP 2008301115A
- Authority
- JP
- Japan
- Prior art keywords
- analysis
- image
- area
- recording medium
- decoding
- 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.)
- Pending
Links
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
本発明は、画像処理装置、識別方法およびプログラムに関する。 The present invention relates to an image processing apparatus, an identification method, and a program.
印刷用紙等の媒体上にコード化された情報を表すパターン画像や特定の意味を付与されたパターン画像を埋め込み、読み取り装置で読み取ってコード情報を復号したり付与された意味に応じて装置を制御したりすることが、従来から行われている(例えば、特許文献1乃至3参照)。パターン画像により表される情報としては、パターン画像が埋め込まれた媒体自体の識別情報や媒体に記録された文書の識別情報、媒体上の位置を表す位置情報などがある。
Embed a pattern image representing information coded on a medium such as printing paper or a pattern image with a specific meaning, read it with a reading device, decode the code information, and control the device according to the given meaning It has been performed conventionally (see, for example,
特許文献1は、次のような技術を開示している。画像読取手段の上記画像読取手段と画像出力手段とを用いての複写処理を行う際、画像読取手段より得られる文書IDマークをデコードする上記デコード手段と、上記デコード手段より得られる文書IDコードに基づいて対応する文書の特定をするとともに、該文書に付される文書IDマークの位置データを出力する文書管理手段と、上記画像読取手段より入力された画像データの上記文書IDマーク位置に、所定の画像を合成して出力手段に渡すパターン合成手段とを備える。
特許文献2は、次のような技術を開示している。文書セキュリティ管理システムは、画像形成装置と、この画像形成装置にネットワークを介して接続されるセキュリティサーバを含む。セキュリティサーバは、画像形成装置で電子文書が生成されるときに、電子文書のプロファイルを生成して記録する第1のプロファイル管理テーブル(15)と、画像形成装置で印刷文書が生成されるときに、この印刷文書のプロファイルを、当該印刷文書の派生元の文書のIDと関連付けて生成し、記録する第2のプロファイル管理テーブル(16)とを備える。画像形成装置は、前記印刷文書を出力するときに、この印刷文書に新たなプリントIDを埋め込んで印刷する。
特許文献3は、次のような技術を開示している。情報処理システムは、位置コーディングされたベースをオンデマンドで印刷することを可能とする装置を含む。この装置では、現行のグラフィックオブジェクトが、本システムに事前にストアされているグラフィックオブジェクトの集合から選択されるが、これら事前ストアされているグラフィックオブジェクトはその各々が、グラフィック情報を定義し、また、少なくとも1つの処理目安をグラフィック情報に関係付けるルールオブジェクトに対応している。
上記のようなパターン画像を埋め込まれた複数の媒体を並べ、スキャナにてパターン画像を読み取ることにより媒体自体や媒体に記録された文書を識別する場合を考える。この場合、スキャン開始直後などの限定された範囲で読み取られたパターン画像に基づいて識別できた時点で処理を終了してしまうと、スキャン開始位置にある媒体についての識別のみが行われ、他の媒体についての識別が行われないことが考えられる。一方、そのような識別の漏れを防止するために媒体全体をスキャンして識別しようとすると、処理に多大な時間を要し、装置の動作効率が低下してしまう。 Consider a case in which a plurality of media embedded with pattern images as described above are arranged and the pattern image is read by a scanner to identify the media itself or a document recorded on the media. In this case, if the processing ends when the identification can be performed based on the pattern image read in a limited range such as immediately after the start of scanning, only the medium at the scanning start position is identified, It is conceivable that the medium is not identified. On the other hand, if an attempt is made to scan and identify the entire medium in order to prevent such omission of identification, the processing takes a lot of time, and the operation efficiency of the apparatus is lowered.
本発明は、以上のような課題に鑑みてなされたものであり、媒体に埋め込まれたパターン画像を読み取って媒体や文書を識別する場合に、並べて配置された複数の媒体を、正しくかつ効率良く識別する技術を提供することを目的とする。 The present invention has been made in view of the above problems, and when a pattern image embedded in a medium is read to identify a medium or a document, a plurality of media arranged side by side are correctly and efficiently used. The purpose is to provide a technology for identification.
上記の目的を達成する、請求項1に係る発明は、
記録媒体から読み取られた画像に対して、解析対象となる解析領域を設定する領域設定部と、
前記解析領域内に、一定以上の間隔を開けて複数の復号基準位置を設定し、当該復号基準位置の部分画像を選択する部分画像選択部と、
前記部分画像から前記記録媒体の識別情報を復号する復号部と、
復号された前記識別情報に基づいて前記記録媒体を識別する識別部と
を備えることを特徴とする画像処理装置である。
請求項2に係る発明は、
前記領域設定部は、1つの前記解析領域に対して前記識別部により複数の記録媒体が識別された場合に、当該解析領域を分割して複数の新たな解析領域を設定することを特徴とする請求項1に記載の画像処理装置である。
請求項3に係る発明は、
前記領域設定部は、長方形の前記解析領域の長辺を2等分するように当該解析領域を分割することを特徴とする請求項2に記載の画像処理装置である。
請求項4に係る発明は、
前記領域設定部は、複数の前記解析領域に設定された前記復号基準位置の前記部分画像から同一の記録媒体の識別情報が復号された場合に、当該複数の解析領域の境界を変更して再度分割することを特徴とする請求項2に記載の画像処理装置である。
請求項5に係る発明は、
前記部分画像選択部は、矩形の前記解析領域における所定の対角線上に位置する2つの角を前記復号基準位置とすることを特徴とする請求項1に記載の画像処理装置である。
請求項6に係る発明は、
前記部分画像選択部は、矩形の前記解析領域における4つの角を前記復号基準位置とすることを特徴とする請求項1に記載の画像処理装置である。
請求項7に係る発明は、
前記部分画像選択部は、前記記録媒体の読み取り装置による読み取りが可能な読み取り領域に対して設定された参考点のうち、前記解析領域に含まれる参考点の位置を前記復号基準位置とすることを特徴とする請求項1に記載の画像処理装置である。
請求項8に係る発明は、
記録媒体上に形成された画像を読み取り、
読み取られた画像に対して、解析対象となる解析領域を設定し、
前記解析領域内に、一定以上の間隔を開けて複数の復号基準位置を設定し、当該復号基準位置の部分画像を選択し、
前記部分画像から前記記録媒体の識別情報を復号し、
復号された前記識別情報に基づいて前記記録媒体を識別し、
1つの前記解析領域に対して複数の記録媒体が識別された場合に、当該解析領域を分割して複数の新たな解析領域を設定することを特徴とする識別方法である。
請求項9に係る発明は、
複数の前記解析領域に設定された前記復号基準位置の前記部分画像から同一の記録媒体の識別情報が復号された場合に、当該複数の解析領域の境界を変更して再度分割することを特徴とする請求項8に記載の識別方法である。
請求項10に係る発明は、
コンピュータに、
記録媒体から読み取られた画像に対して、解析対象となる解析領域を設定する機能と、
前記解析領域内に、一定以上の間隔を開けて複数の復号基準位置を設定し、当該復号基準位置の部分画像を選択する機能と、
前記部分画像から前記記録媒体の識別情報を復号する機能と、
復号された前記識別情報に基づいて前記記録媒体を識別する機能と
を実現させることを特徴とするプログラムである。
請求項11に係る発明は、
前記解析領域を設定する機能として、1つの前記解析領域に対して複数の記録媒体が識別された場合に、当該解析領域を分割して複数の新たな解析領域を設定する処理を前記コンピュータに実行させることを特徴とする請求項10に記載のプログラムである。
請求項12に係る発明は、
前記解析領域を設定する機能として、複数の前記解析領域に設定された前記復号基準位置の前記部分画像から同一の記録媒体の識別情報が復号された場合に、当該複数の解析領域の境界を変更して再度分割する処理を前記コンピュータに実行させることを特徴とする請求項10に記載のプログラムである。
The invention according to
An area setting unit that sets an analysis area to be analyzed for an image read from a recording medium;
A partial image selection unit that sets a plurality of decoding reference positions with a predetermined interval or more in the analysis region, and selects a partial image at the decoding reference position;
A decoding unit for decoding the identification information of the recording medium from the partial image;
An image processing apparatus comprising: an identification unit that identifies the recording medium based on the decoded identification information.
The invention according to
The region setting unit divides the analysis region and sets a plurality of new analysis regions when a plurality of recording media are identified by the identification unit for one analysis region. An image processing apparatus according to
The invention according to
The image processing apparatus according to
The invention according to claim 4
When the identification information of the same recording medium is decoded from the partial images at the decoding reference position set in the plurality of analysis areas, the area setting unit changes the boundaries of the plurality of analysis areas again. The image processing apparatus according to
The invention according to claim 5
The image processing apparatus according to
The invention according to claim 6
The image processing apparatus according to
The invention according to claim 7 provides:
The partial image selection unit sets a position of a reference point included in the analysis area as a reference decoding position among reference points set for a reading area that can be read by a reading device of the recording medium. The image processing apparatus according to
The invention according to claim 8 provides:
Read the image formed on the recording medium,
For the scanned image, set the analysis area to be analyzed,
In the analysis area, set a plurality of decoding reference positions with a certain interval or more, select a partial image of the decoding reference position,
Decoding the recording medium identification information from the partial image;
Identifying the recording medium based on the decrypted identification information;
In the identification method, when a plurality of recording media are identified for one analysis area, the analysis area is divided and a plurality of new analysis areas are set.
The invention according to claim 9 is:
When identification information of the same recording medium is decoded from the partial image at the decoding reference position set in a plurality of analysis areas, the boundary of the plurality of analysis areas is changed and divided again. The identification method according to claim 8.
The invention according to claim 10 is:
On the computer,
A function for setting an analysis area to be analyzed for an image read from a recording medium;
In the analysis region, a function of setting a plurality of decoding reference positions with a certain interval or more, and selecting a partial image at the decoding reference position;
A function of decoding identification information of the recording medium from the partial image;
A program for realizing a function of identifying the recording medium based on the decoded identification information.
The invention according to claim 11 is:
As a function of setting the analysis area, when a plurality of recording media are identified for one analysis area, the computer executes processing for dividing the analysis area and setting a plurality of new analysis areas The program according to claim 10, wherein the program is executed.
The invention according to claim 12
As a function of setting the analysis area, when the identification information of the same recording medium is decoded from the partial image at the decoding reference position set in the plurality of analysis areas, the boundary of the plurality of analysis areas is changed. The program according to claim 10, further causing the computer to execute a process of dividing again.
請求項1に係る発明によれば、媒体に埋め込まれたパターン画像を読み取って媒体や文書を識別する場合に、並べて配置された複数の媒体を、正しくかつ効率良く識別することができる。
請求項2に係る発明によれば、解析領域を分割することにより、さらに詳細に複数の媒体を識別することができる。
請求項3に係る発明によれば、規格サイズの複数の媒体が配置されている場合に、特に効率良く識別することができる。
請求項4に係る発明によれば、種々のサイズ、形状の媒体に柔軟に対応して効率良く媒体を識別することができる。
請求項5に係る発明によれば、最小の装置負荷で媒体を識別することができる。
請求項6に係る発明によれば、矩形の媒体において特に効率的に媒体を識別することができる。
請求項7に係る発明によれば、複雑な形状の媒体にも対応して効率良く媒体を識別することができる。
請求項8に係る発明によれば、媒体に埋め込まれたパターン画像を読み取って媒体や文書を識別する場合に、解析領域を分割することにより、並べて配置された複数の媒体を、正しくかつ効率良く識別することができる。
請求項9に係る発明によれば、種々のサイズ、形状の媒体に柔軟に対応して効率良く媒体を識別することができる。
請求項10に係る発明によれば、コンピュータにより媒体に埋め込まれたパターン画像を読み取って媒体や文書を識別する場合に、並べて配置された複数の媒体を、正しくかつ効率良く識別することができる。
請求項11に係る発明によれば、解析領域を分割することにより、さらに詳細に複数の媒体を識別することができる。
請求項12に係る発明によれば、種々のサイズ、形状の媒体に柔軟に対応して効率良く媒体を識別することができる。
According to the first aspect of the present invention, when a pattern image embedded in a medium is read to identify a medium or a document, a plurality of media arranged side by side can be correctly and efficiently identified.
According to the second aspect of the invention, a plurality of media can be identified in more detail by dividing the analysis region.
According to the invention of
According to the invention which concerns on Claim 4, a medium can be identified efficiently corresponding to the medium of various sizes and shapes flexibly.
According to the fifth aspect of the present invention, the medium can be identified with the minimum apparatus load.
According to the sixth aspect of the invention, a medium can be identified particularly efficiently in a rectangular medium.
According to the invention which concerns on Claim 7, a medium can be identified efficiently corresponding to the medium of a complicated shape.
According to the eighth aspect of the present invention, when a pattern image embedded in a medium is read to identify a medium or a document, a plurality of media arranged side by side are correctly and efficiently divided by dividing the analysis area. Can be identified.
According to the ninth aspect of the present invention, it is possible to efficiently identify a medium flexibly corresponding to media of various sizes and shapes.
According to the tenth aspect of the present invention, when a pattern image embedded in a medium is read by a computer to identify a medium or a document, a plurality of media arranged side by side can be identified correctly and efficiently.
According to the invention which concerns on Claim 11, a some medium can be identified in detail by dividing | segmenting an analysis area | region.
According to the twelfth aspect of the present invention, it is possible to efficiently identify a medium flexibly corresponding to media of various sizes and shapes.
以下、添付図面を参照して、本発明を実施するための最良の形態(以下、実施形態)について詳細に説明する。
<読み取り装置>
図1は、読み取り装置の機能構成例を示す図である。
図1に示すように、画像処理装置100は、画像を読み取るための読み取り部110と、読み取られた画像から得られるパターン画像を解析する解析部120と、読み取られた画像を保持する保持部130とを備える。
The best mode for carrying out the present invention (hereinafter referred to as an embodiment) will be described below in detail with reference to the accompanying drawings.
<Reader>
FIG. 1 is a diagram illustrating a functional configuration example of a reading device.
As illustrated in FIG. 1, the
読み取り部110は、画像(パターン画像や後述の文書画像を含む)が形成された媒体からその画像を読み取る。この読み取り部110としては、読み取り対象の媒体に光を当て、反射光等を読み取ってデジタルデータに変換するスキャナを用いることができる。その場合、例えば、LED(Light Emitting Diode)光源から媒体面に光を照射し、その反射光を結像用レンズにて光学的に縮小し、結像された光学像をイメージセンサにて光電変換する、という構成を採用することができる。
The
本実施形態では、電子文書を画像化した文書画像と、コード化された情報を表すパターン画像(以下、コード画像)とが媒体に形成されている。その場合、文書画像は可視トナーで形成されるが、コード画像は例えば赤外領域に吸収波長を持つ不可視トナーで形成される。したがって、LED光源としては、可視光を照射する例えば白色LEDに加え、赤外光を照射する赤外LEDを設ける。また、イメージセンサとしても、赤色光用のセンサ、緑色光用のセンサ、青色光用のセンサだけでなく、赤外光用のセンサが設けられている。あるいは、可視光及び赤外光の両方を照射し、その反射光をフィルタリングして、文書画像とコード画像とを抽出する方法を用いても良い。 In the present embodiment, a document image obtained by imaging an electronic document and a pattern image (hereinafter referred to as a code image) representing coded information are formed on a medium. In this case, the document image is formed with visible toner, while the code image is formed with invisible toner having an absorption wavelength in the infrared region, for example. Therefore, as an LED light source, in addition to, for example, a white LED that emits visible light, an infrared LED that emits infrared light is provided. As the image sensor, not only a sensor for red light, a sensor for green light, and a sensor for blue light, but also a sensor for infrared light is provided. Alternatively, a method of irradiating both visible light and infrared light, filtering the reflected light, and extracting a document image and a code image may be used.
解析部120は、読み取り部110が読み取ったコード画像を受け取り、これを解析して、読み取り対象の記録媒体に記録されていた印刷文書(以下、「元文書」という)の識別情報(以下、「元文書ID」という)を取得する。この解析部120の機能は、画像処理装置100に制御手段として設けられるCPUがメインメモリに読み込まれたプログラムを実行することにより実現される。ここで、元文書IDには、元文書を出力した装置及び時刻の情報が含まれている。
また、本実施形態の解析部120は、読み取り部110により読み取られた際の媒体の配置状態を認識するため、特定の複数の位置から読み取ったコード画像の解析を行う。解析部120による処理の詳細については後述する。
The
In addition, the
保持部130は、RAM等のメモリや磁気ディスク装置、その他の記憶手段により実現され、読み取り部110により読み取られた画像(パターン画像および文書画像を含む)を保持する。保持部130に保持された画像は、画像処理装置100の機能に応じて様々に使用される。例えば、画像処理装置100がホストコンピュータに接続されたスキャナ装置であるならば、保持部130に保持された画像は、LAN(Local Area Network)等を介してホストコンピュータに送信される。また、画像処理装置100が複写機であるならば、保持部130に保持された画像は、トナー等の画像形成材を用いて媒体上に画像を形成する画像形成機構により媒体上に印刷出力される。また、画像処理装置100がファクシミリであるならば、保持部130に保持された画像は、電話回線を介して宛先の機器へ送信される。
The holding
<解析部の機能>
次に、解析部120の機能についてさらに詳細に説明する。
図1に示すように、解析部120は、処理対象の領域を設定する領域設定部121と、設定された領域の読み取り画像から複数の部分画像を選択する部分画像選択部122とを備える。また、解析部120は、選択された部分画像に含まれるコード画像から元文書IDを復号する復号部123と、復号された元文書IDに基づいて元文書を識別する識別部124とを備える。
<Function of analysis unit>
Next, the function of the
As shown in FIG. 1, the
領域設定部121は、読み取り部110により読み取られた画像に対して解析対象の領域(以下、解析領域)を設定する。初期的には、この解析領域は、読み取り対象であった媒体全体に一致する。読み取り部110において、読み取り対象として複数の媒体が並べられている場合は、それら複数の媒体を合わせた全体が解析領域となる。具体例をあげると、A4判の媒体2つが長辺を合わせて並べられた場合、解析領域はA3判の規格サイズとなる。このような解析領域の初期情報は、例えば読み取り部110から得られる。読み取り部110がフラットヘッド型のスキャナである場合、通常、画像の読み取りに先立って、原稿台であるプラテンガラスに置かれた読み取り対象の元文書が記録された媒体のサイズが認識される。この認識結果に基づいて解析領域を設定すれば良い。
The
また、領域設定部121は、復号部123および識別部124による処理の結果、1つの解析領域から複数の元文書IDが得られた場合は、現在の解析領域を分割して新たな解析領域を設定する。具体的には、例えば現在の解析領域を2等分して2つの解析領域を設定する。読み取り対象の媒体はA判やB判等の規格サイズであることが多いため、長辺を2等分するように分割することで、適切な解析領域が得られる可能性が高くなる。その他、いくつかの分割方法が考えられるが、領域設定部121による設定領域の分割方法の詳細については後述する。
In addition, when a plurality of original document IDs are obtained from one analysis region as a result of the processing by the
部分画像選択部122は、領域設定部121により設定された解析領域から元文書IDの復号に用いる複数の位置(以下、復号基準位置)を特定し、特定された復号基準位置の部分画像を復号対象として選択する。復号対象である部分画像は、その部分画像から元文書IDを復号するため、元文書IDを記録したコード画像を少なくとも1つ含む面積を持つ必要がある。また、元文書IDを復号するための画像処理による画像処理装置100の負荷の増加を抑えるため、小さい画像であることが好ましい。したがって、部分画像は、例えば1つのコード画像全体が含まれる程度のサイズに設定される。
The partial
復号基準位置の設定方法としては、いくつかの方法が考えられる。まず、解析領域の形状に基づいて設定する方法がある。具体的には、例えば解析領域の対角線上に位置する2つの角を復号基準位置として設定する。解析領域に複数の媒体が含まれている場合、複数の復号基準位置の間隔をできるだけ離すことにより各復号基準位置が複数の媒体に分散し、媒体が複数であることを確実に検知できると考えられる。そこで、対角線上の2つの角を選択することで、解析領域における最も離れた2箇所が得られる。 There are several possible methods for setting the decoding reference position. First, there is a method of setting based on the shape of the analysis region. Specifically, for example, two corners located on the diagonal line of the analysis region are set as the decoding reference position. When multiple media are included in the analysis area, it is considered that each of the decoding reference positions is distributed over the plurality of media by separating the intervals of the plurality of decoding reference positions as much as possible, so that it is possible to reliably detect the plurality of media. It is done. Therefore, by selecting two corners on the diagonal line, the two most distant locations in the analysis region can be obtained.
図2は、解析領域の対角線上に位置する2つの角を復号基準位置として設定した例を示す図である。
図示の例では、読み取り対象として2つのA5判の媒体が並んでおり、これを包含するA4判の規格サイズに対応する解析領域が設定されている。解析領域は太い破線で示されている。復号基準位置は、解析領域の左上の角と右下の角の2箇所に設定されている(図中、グレーの四角いマークで表示、以下同じ)。これらの復号基準位置から部分画像を選択して元文書IDを復号すれば、各媒体に記録されている元文書ID(ID1およびID2)が得られ、解析領域内に複数の媒体が含まれていることが検知される。
FIG. 2 is a diagram illustrating an example in which two corners located on the diagonal line of the analysis region are set as decoding reference positions.
In the example shown in the figure, two A5 size media are arranged as reading objects, and an analysis area corresponding to the standard size of A4 size including the medium is set. The analysis area is indicated by a thick broken line. The decoding reference positions are set at two locations, the upper left corner and the lower right corner of the analysis area (indicated by gray square marks in the figure, and so on). If a partial image is selected from these decoding reference positions and the original document ID is decoded, the original document IDs (ID1 and ID2) recorded in each medium are obtained, and a plurality of media are included in the analysis area. Is detected.
また、解析領域の4つの角全てを復号基準位置としても良い。例えば、A4判の長辺と同じ長さで、短辺の半分の幅の長尺な2つの媒体を並べて、A4判のサイズの解析領域が設定された場合を考える。この場合、対角線上の2箇所のみを復号基準位置とすると、解析領域に複数の媒体が含まれていることは検知できるが、上記のような長尺な媒体が並んでいるのか、A5判の媒体が並んでいるのかを判断することはできない。解析領域の4つの角を復号基準位置とすれば、このようにA判やB判等の規格サイズでない媒体にも対応することができる。このような情報は、領域設定部121による解析領域の分割において参酌される。
Further, all four corners of the analysis area may be set as the decoding reference position. For example, consider a case where two long media having the same length as the long side of the A4 size and half the width of the short side are arranged to set an analysis area of the A4 size. In this case, if only two locations on the diagonal line are set as the decoding reference positions, it can be detected that a plurality of media are included in the analysis region. It cannot be judged whether the media are lined up. If the four corners of the analysis area are set as decoding reference positions, it is possible to deal with a medium that is not a standard size such as A size or B size. Such information is considered in the division of the analysis area by the
図3は、解析領域の4つの角を復号基準位置として設定した例を示す図である。
図示の例では、図2と同様に2つのA5判の媒体が並んでおり、A4判に対応する解析領域が設定されている(太い破線)。復号基準位置は、解析領域の各角の4箇所に設定されている。これらの復号基準位置から部分画像を選択して元文書IDを復号すれば、図中の解析領域における左辺の2つの復号基準位置からはID1が得られ、右辺の2つの復号基準位置からはID2が得られるため、各媒体の位置および形状が大まかに認識される。
FIG. 3 is a diagram illustrating an example in which four corners of the analysis region are set as decoding reference positions.
In the illustrated example, two A5 size media are arranged in the same manner as in FIG. 2, and an analysis region corresponding to the A4 size is set (thick broken line). The decoding reference positions are set at four locations at each corner of the analysis area. If a partial image is selected from these decoding reference positions and the original document ID is decoded, ID1 is obtained from the two decoding reference positions on the left side in the analysis area in the figure, and ID2 is obtained from the two decoding reference positions on the right side. Therefore, the position and shape of each medium are roughly recognized.
次に、復号基準位置の他の選択方法として、読み取り部110による読み取りが可能な領域(読み取り領域)に対して予め固定的に設定しておく方法がある。この場合、読み取り部110の読み取り領域において特定の間隔で複数の参考点が設定される。そして、解析領域が設定された後に、部分画像選択部122が、設定された解析領域の形状に関わらず、解析領域に含まれる参考点の位置を復号基準位置に設定する。
Next, as another method for selecting the decoding reference position, there is a method in which an area that can be read by the reading unit 110 (reading area) is fixedly set in advance. In this case, a plurality of reference points are set at specific intervals in the reading area of the
図4は、読み取り領域に対して固定的に設定された参考点に基づき復号基準位置を設定した例を示す図である。
図示の例では、読み取り部110の読み取り領域に複数の参考点(図中、白抜きの四角いマークで表示)が縦横に等間隔で並んで配置されている。2つのA5判の媒体で形成される解析領域(太い破線)は、読み取り領域に包含されている。そして、読み取り領域に配置された参考点のうち、解析領域に含まれているものが、解析領域上の復号基準位置に設定される。
FIG. 4 is a diagram illustrating an example in which the decoding reference position is set based on a reference point fixedly set for the reading area.
In the illustrated example, a plurality of reference points (indicated by white square marks in the figure) are arranged in the reading area of the
復号部123は、部分画像選択部122により選択された部分画像を画像処理してコード画像を抽出し、コード化されて記録されている元文書IDを復号する。
識別部124は、復号部123により復号された元文書IDにより元文書を識別する。元文書の識別は、例えば、画像処理装置100内部の記憶装置に元文書IDと元文書とを対応付けたテーブルを保持しておき、これを参照して行っても良いし、元文書の電子文書を管理する文書管理サーバに復号した元文書IDを送信して問い合わせることで行っても良い。
The
The identifying
<読み取り方法>
次に、画像処理装置100による画像の読み取り方法について説明する。
まず、領域設定部121による解析領域の設定方法(分割方法)について詳細に説明する。
<Reading method>
Next, an image reading method by the
First, the analysis region setting method (division method) by the
図5は、領域設定部121の動作を説明するフローチャートである。
図5に示すように、領域設定部121は、まず初期設定として、読み取り部110により読み取られた記録媒体全体(複数の場合を含む)を含む解析領域を設定する(ステップ501)。設定された解析領域に対して部分画像選択部122により部分画像が選択され、復号部123により元文書IDが復号され、識別部124により元文書の識別が行われた後、領域設定部121は、1つの解析領域に複数の元文書IDが含まれているか否かを判定する(ステップ502)。1つの解析領域に複数の元文書IDが含まれていない場合は、適切に解析領域の設定がなされたので、処理を終了する。
FIG. 5 is a flowchart for explaining the operation of the
As shown in FIG. 5, the
一方、1つの解析領域に複数の元文書IDが含まれている場合、領域設定部121は、現在の解析領域を分割し、新たな解析領域を設定する(ステップ503)。そして、新たに設定された解析領域に対して、部分画像の選択、元文書IDの復号、元文書の識別が行われた後、領域設定部121は、複数の解析領域に同一の元文書IDが含まれているか否かを判定する(ステップ504)。同一の元文書IDが複数の解析領域に含まれている場合は、単一の元文書が解析領域の境界により分割されていることを意味する。そこで、領域設定部121は、解析領域の境界を変更して再度解析領域の分割を行う(ステップ505)。解析領域の境界の変更方法としては、例えば、現在の境界と他の境界との中間に設定する方法が考えられる。この変更方法の詳細については後述する。
On the other hand, when a plurality of original document IDs are included in one analysis area, the
1つの元文書IDが複数の解析領域に含まれていない場合、次に領域設定部121は、ステップ502に戻り、各解析領域について複数の元文書IDが含まれているか否かを判定する。以下、個々の解析領域に対してステップ502以降の動作が繰り返され、全ての解析領域に関して、1つの解析領域に1つの元文書IDが含まれる状態となったならば、処理を終了する。
以上の動作において、ステップ502およびステップ504の判定を領域設定部121が行うこととしたが、識別部124において行い、判定結果に応じて領域設定部121に解析領域の分割を依頼するようにしても構わない。
If one original document ID is not included in a plurality of analysis areas, the
In the above operation, the determination of step 502 and step 504 is performed by the
図6は、解析領域を分割する様子を例示する図である。なお、ここでは、矩形の解析領域の4角に復号基準位置が設定される場合を例として説明する。
図6(a)〜(d)に示す例では、A4判の文書(元文書IDはID1)、A5判の文書(元文書IDはID2)、2つのA6判の文書(元文書IDはID3、ID4)が図示のように並べられて読み取り対象となっている。
FIG. 6 is a diagram illustrating a state in which the analysis region is divided. Here, a case where the decoding reference positions are set at the four corners of the rectangular analysis region will be described as an example.
In the example shown in FIGS. 6A to 6D, an A4 document (original document ID is ID1), an A5 document (original document ID is ID2), and two A6 documents (original document ID is ID3). , ID4) are arranged as shown in FIG.
図6(a)では、読み取り対象全体に解析領域[1]が設定されている。そして、4つの復号基準位置における部分画像から復号される元文書IDは、左上および左下の復号基準位置のものがID1、右上の復号基準位置のものがID2、右下の復号基準位置のものがID4である。そこで、図6(b)に示すように解析領域が分割され(図5のステップ502、503参照)、新たに解析領域[2−1]、[2−2]が設定される。 In FIG. 6A, the analysis region [1] is set for the entire reading target. The original document IDs decoded from the partial images at the four decoding reference positions are ID1 at the upper left and lower left decoding reference positions, ID2 at the upper right decoding reference position, and those at the lower right decoding reference position. ID4. Therefore, the analysis area is divided as shown in FIG. 6B (see steps 502 and 503 in FIG. 5), and analysis areas [2-1] and [2-2] are newly set.
図6(b)では、解析領域[2−1]は、4つの復号基準位置における部分画像から復号される元文書IDが全てID1である。解析領域[2−2]は、左上および右上の復号基準位置のものがID2、左下の復号基準位置のものがID3、右下の復号基準位置のものがID4である。ここで、解析領域[2−1]、[2−2]の両方に現れる元文書IDは存在しないので、解析領域の境界を変更しての再分割は行わない(図5のステップ504参照)。そして、解析領域[2−1]については、全ての部分画像から得られた元文書IDが一致したので、復号処理が終了する。一方、解析領域[2−2]については、図6(c)に示すように解析領域が分割され(図5のステップ502、503参照)、新たに解析領域[2−2−1]、[2−2−2]が設定される。 In FIG. 6B, in the analysis area [2-1], all original document IDs decoded from the partial images at the four decoding reference positions are ID1. In the analysis area [2-2], the upper left and upper right decoding reference positions are ID2, the lower left decoding reference position is ID3, and the lower right decoding reference position is ID4. Here, since there is no original document ID that appears in both analysis areas [2-1] and [2-2], subdivision is not performed by changing the boundary of the analysis area (see step 504 in FIG. 5). . For the analysis area [2-1], since the original document IDs obtained from all the partial images match, the decoding process ends. On the other hand, for the analysis region [2-2], the analysis region is divided as shown in FIG. 6C (see steps 502 and 503 in FIG. 5), and the analysis regions [2-2-1], [2-2] 2-2-2] is set.
図6(c)では、解析領域[2−2−1]は、4つの復号基準位置における部分画像から復号される元文書IDが全てID2である。解析領域[2−2−2]は、左上および左下の復号基準位置のものがID3、右上および右下の復号基準位置のものがID4である。解析領域[2−2−1]、[2−2−2]の両方に現れる元文書IDは存在しないので、解析領域の境界を変更しての再分割は行わない(図5のステップ504参照)。そして、解析領域[2−2−1]については、全ての部分画像から得られた元文書IDが一致したので、復号処理が終了する。一方、解析領域[2−2−2]については、図6(d)に示すように解析領域が分割され(図5のステップ502、503参照)、新たに解析領域[2−2−2−1]、[2−2−2−2]が設定される。 In FIG. 6C, in the analysis area [2-2-1], the original document IDs decoded from the partial images at the four decoding reference positions are all ID2. In the analysis area [2-2-2], the upper left and lower left decoding reference positions are ID3, and the upper right and lower right decoding reference positions are ID4. Since there is no original document ID that appears in both analysis areas [2-2-1] and [2-2-2], subdivision is not performed by changing the boundary of the analysis area (see step 504 in FIG. 5). ). For the analysis region [2-2-1], since the original document IDs obtained from all the partial images match, the decoding process ends. On the other hand, the analysis region [2-2-2] is divided as shown in FIG. 6D (see steps 502 and 503 in FIG. 5), and a new analysis region [2-2-2-] is obtained. 1] and [2-2-2-2] are set.
図6(d)では、解析領域[2−2−2−1]は、4つの復号基準位置における部分画像から復号される元文書IDが全てID3である。また、解析領域[2−2−2−2]は、4つの復号基準位置における部分画像から復号される元文書IDが全てID4である。解析領域[2−2−2−1]、[2−2−2−2]の両方に現れる元文書IDは存在しないので、解析領域の境界を変更しての再分割は行わない(図5のステップ504参照)。そして、解析領域[2−2−2−1]、[2−2−2−2]の両方とも、全ての部分画像から得られた元文書IDが一致したので、復号処理が終了する。 In FIG. 6D, in the analysis area [2-2-2-1], all original document IDs decoded from the partial images at the four decoding reference positions are ID3. In the analysis area [2-2-2-2], the original document IDs decoded from the partial images at the four decoding reference positions are all ID4. Since there is no original document ID that appears in both analysis areas [2-2-2-1] and [2-2-2-2], subdivision is not performed by changing the boundary of the analysis area (FIG. 5). Step 504). Since both the analysis areas [2-2-2-1] and [2-2-2-2] match the original document IDs obtained from all the partial images, the decoding process ends.
図7は、解析領域の境界を変更して再分割する方法を示す図である。ここでは、矩形の解析領域の4角に復号基準位置が設定される場合を例として説明する。
図7(a)〜(c)に示す例では、第1の文書(元文書IDはID1)および第2の文書(元文書IDはID2)が図示のように並べられて読み取り対象となっている。
FIG. 7 is a diagram illustrating a method of subdividing by changing the boundary of the analysis region. Here, a case where the decoding reference positions are set at the four corners of the rectangular analysis region will be described as an example.
In the example shown in FIGS. 7A to 7C, the first document (original document ID is ID1) and the second document (original document ID is ID2) are arranged as shown in FIG. Yes.
図7(a)では、読み取り対象全体に設定された解析領域に対して長辺を2等分して分割し、解析領域[1]、[2]としている。この状態で、解析領域[1]は、4つの復号基準位置における部分画像から復号される元文書IDが全てID1である。解析領域[2]は、左上および左下の復号基準位置のものがID1、右上および右下の復号基準位置のものがID2である。ここで、第1の文書の元文書IDであるID1が解析領域[1]、[2]の両方に存在する。したがって、解析領域の境界を変更する必要がある(図5のステップ504、505参照)。領域設定部121は、図7(b)に示すように、現在の解析領域[2]を2等分する位置を新たな境界として、解析領域[1]、[2]を再度設定する。なお、図7(b)において、図7(a)における解析領域[1]、[2]の境界が一点鎖線で示されている。
In FIG. 7A, the analysis region set for the entire reading target is divided into two equal parts, and the analysis regions are [1] and [2]. In this state, in the analysis area [1], all the original document IDs decoded from the partial images at the four decoding reference positions are ID1. In the analysis area [2], the upper left and lower left decoding reference positions are ID1, and the upper right and lower right decoding reference positions are ID2. Here, ID1 which is the original document ID of the first document exists in both analysis areas [1] and [2]. Therefore, it is necessary to change the boundary of the analysis region (see steps 504 and 505 in FIG. 5). As illustrated in FIG. 7B, the
図7(b)では、解析領域[1]は、左上および左下の復号基準位置のものがID1、右上および右下の復号基準位置のものがID2である。解析領域[2]は、4つの復号基準位置における部分画像から復号される元文書IDが全てID2である。したがって、第2の文書の元文書IDであるID2が解析領域[1]、[2]の両方に存在するので、解析領域の境界を変更する必要がある(図5のステップ504、505参照)。領域設定部121は、図7(c)に示すように、図7(a)の状態における境界と図7(b)の状態における境界の中間の位置を新たな境界として、解析領域[1]、[2]を再度設定する。なお、図7(c)において、図7(a)における解析領域[1]、[2]の境界が一点鎖線で、図7(b)における解析領域[1]、[2]の境界が二点鎖線で示されている。
以下、同様の操作を繰り返すことにより、第1の文書と第2の文書の境界に解析領域[1]、[2]の境界が近づいていく。
In FIG. 7B, in the analysis region [1], the upper left and lower left decoding reference positions are ID1, and the upper right and lower right decoding reference positions are ID2. In the analysis area [2], the original document IDs decoded from the partial images at the four decoding reference positions are all ID2. Therefore, since ID2 which is the original document ID of the second document exists in both analysis areas [1] and [2], it is necessary to change the boundary of the analysis area (see steps 504 and 505 in FIG. 5). . As shown in FIG. 7C, the
Thereafter, by repeating the same operation, the boundaries of the analysis areas [1] and [2] approach the boundary between the first document and the second document.
なお、図6および図7を参照して説明した上記の解析領域の分割方法は例示に過ぎず、上記の手法に限定するものではない。例えば、復号基準位置が4つ設定される場合、解析領域に最大で4つの記録媒体が含まれていることが認識されるため、解析領域を分割する際も2等分だけでなく、元文書の識別数に応じて3つまたは4つに分割するようにしても良い。具体的には、図6(a)の状態で、解析領域[2]にID2とID4の2つの元文書が含まれていることがわかるため、図6(b)のように2分割するのではなく、図6(c)のように予測分割するようにしても良い。 The analysis region dividing method described with reference to FIGS. 6 and 7 is merely an example, and is not limited to the above method. For example, when four decoding reference positions are set, it is recognized that the analysis area includes up to four recording media. Therefore, when the analysis area is divided, the original document is not only divided into two equal parts. It may be divided into three or four according to the number of identifications. Specifically, in the state of FIG. 6A, it can be seen that the analysis area [2] includes two original documents of ID2 and ID4, so that it is divided into two as shown in FIG. 6B. Instead, the prediction division may be performed as shown in FIG.
図8は、画像処理装置100の全体動作を説明するフローチャートである。
図8を参照すると、画像処理装置100では、まず読み取り部110により記録媒体上に形成されている画像が読み取られる(ステップ801)。そして、解析部120の領域設定部121が、読み取られた画像に対して解析領域を設定する(ステップ802)。次に、部分画像選択部122が、解析領域内に復号基準位置を設定して部分画像を選択する(ステップ803)。次に、復号部123が、選択された部分画像から元文書IDを復号する(ステップ804)。次に、識別部124が復号された元文書IDに基づいて元文書を識別する(ステップ805)。
FIG. 8 is a flowchart for explaining the overall operation of the
Referring to FIG. 8, in the
この後、識別部124による識別結果に応じて、解析領域を分割する必要があるか否かが判断される(ステップ806)。この判断は、上述したように、領域設定部121において行っても良いし、識別部124において行っても良い。解析領域を分割する必要があると判断した場合は、領域設定部121が現在の解析領域を分割して新たな解析領域を設定し(ステップ807)、ステップ803に戻って処理を繰り返す。
以上の動作のうち、ステップ802およびステップ807の詳細が図5のフローチャートに示した動作であり、その内容は上述した通りである。
Thereafter, it is determined whether or not the analysis region needs to be divided according to the identification result by the identification unit 124 (step 806). This determination may be performed by the
Of the above operations, the details of step 802 and step 807 are the operations shown in the flowchart of FIG. 5, and the contents thereof are as described above.
ところで、読み取り部110によるコード画像の読み取りの際に記録媒体上の汚れなどによってコード画像を正しく読み取れず、復号部123による元文書IDの復号が失敗する場合がある。所定の部分画像から元文書IDを復号できなかった場合は、その部分画像に該当する復号基準位置に近接する位置で部分画像を選択し、改めて復号を行うようにすれば良い。同様に、新たに選択された部分画像からも元文書IDを復号できなかったときは、さらに近接する位置から部分画像を選択する。ただし、復号基準位置から同じ方向へ順次隣接する位置を選んでいくと、次第に復号基準位置から離れてしまう。そこで、例えば復号基準位置から解析領域の一方の辺に沿って近接する位置から部分画像を選択した後は、解析領域の他方の辺に沿って近接する位置から部分画像を選択するというように、できるだけ元の復号基準位置から離れないように部分画像を選択する。
By the way, when the code image is read by the
以上、本実施形態は、画像処理装置100が画像を読み取る読み取り部110を備え、元文書が記録された記録媒体を読み取り部110で読み取り、読み取った画像に対し解析部120が処理を行って元文書の識別を行う構成とした。しかしながら、本発明は、図1に例示されるこのような構成に限定されるものではない。例えば、画像処理装置100に読み取り部110を設けず、外部の読み取り装置により読み取られた記録媒体の画像を取得して、取得した画像に対して解析部120が処理を行う構成としても良い。
As described above, in the present exemplary embodiment, the
また、解析部120による解析結果に応じて所定の記録媒体に画像を形成して出力する画像形成部を設けた構成としても良い。すなわち、解析部120による処理の結果、記録媒体から読み取られた元文書が特定される。そこで、画像処理装置100は、例えばネットワーク等を介して文書管理サーバから元文書の電子データ(電子文書)を取得する。そして、画像形成部は、読み取り部110で読み取られ保持部130に保持されている画像を出力する代わりに、文書管理サーバから取得した電子文書を画像化して記録媒体上に形成する。解析部120は、解析領域を設定し、元文書IDを復号することによって、元文書が記録された記録媒体の数、サイズ、向き、配置等を認識している。したがって、文書管理サーバから取得した電子文書の画像を読み取り部110による読み取り画像と同様な画像となるように加工して出力したり、個々の電子文書を個別に出力したりすることができる。
In addition, an image forming unit that forms and outputs an image on a predetermined recording medium according to the analysis result by the
<単位符号パターン>
次に、読み取り対象の記録媒体に記録されるコード画像を構成するパターン画像の例を説明する。
図9は、単位符号パターンの例を示す図である。
図示の例では、縦3箇所で横3箇所(以下、3×3箇所と表示する。)の計9箇所のドットを配置できる場所から3つの場所を選択してドットを配置する。この場合、単位符号パターンのドット配置組み合わせは84通り(84=9C3)となる(ここで、mCn=m!/{(m−n)!×n!}である)。600dpiで記録する場合、図9における1つのドットサイズ(四角の大きさ)は縦2画素で横2画素であり(以下、2×2画素と表示する)、計算上は84.6μm×84.6μmの矩形となる(ただし、記録されたトナー像ではゼログラフィープロセスの影響によりφ100μm程度のドット形状となる)。したがって、単位符号パターンの大きさは縦12画素、横12画素(12×12画素)であり、0.5076mm×0.5076mmとなる。
<Unit code pattern>
Next, an example of a pattern image constituting a code image recorded on the recording medium to be read will be described.
FIG. 9 is a diagram illustrating an example of a unit code pattern.
In the example shown in the figure, dots are arranged by selecting three locations from a total of nine locations where dots can be arranged in three places in the vertical direction (hereinafter referred to as 3 × 3 places). In this case, there are 84 dot arrangement combinations of the unit code pattern (84 = 9 C 3 ) (where m C n = m! / {(Mn)! × n!}). When recording at 600 dpi, one dot size (square size) in FIG. 9 is 2 pixels in the vertical direction and 2 pixels in the horizontal direction (hereinafter referred to as 2 × 2 pixels), and is calculated to be 84.6 μm × 84. It becomes a 6 μm rectangle (however, the recorded toner image has a dot shape of about φ100 μm due to the influence of the xerographic process). Therefore, the size of the unit code pattern is 12 pixels vertically and 12 pixels horizontally (12 × 12 pixels), which is 0.5076 mm × 0.5076 mm.
84種類の単位符号パターンのうち、64種類の単位符号パターン(64=26=6ビット)を情報埋め込み用の符号(以下、情報符号)として使用する。そして、残りの20種類の単位符号パターンを符号ブロック(後述)の検出と、回転角度検出用の同期符号として使用する。
図10は、図9の単位符号パターンが取り得る84通りのドット配置を示す図、図11は、同期符号として使用できる4種類の単位符号パターンの例(5セット)を示す図である。なお、表示の簡略化のため、ドット間の空白は省略している。
Of the 84 types of unit code patterns, 64 types of unit code patterns (64 = 2 6 = 6 bits) are used as information embedding codes (hereinafter referred to as information codes). Then, the remaining 20 types of unit code patterns are used as code blocks (described later) and as synchronization codes for rotation angle detection.
FIG. 10 is a diagram showing 84 dot arrangements that the unit code pattern of FIG. 9 can take, and FIG. 11 is a diagram showing examples (5 sets) of four types of unit code patterns that can be used as synchronization codes. In order to simplify the display, spaces between dots are omitted.
同期符号としては符号ブロックの90度ごとの回転角度を検出するために4通りのパターンがあれば良いが、20パターンを使用することで、同期符号を5セット作成できる。同期符号に使用する4つの単位符号パターンは、互いに90度回転対称のパターンになるように選択する。すなわち、画像生成時に4種類の単位符号パターンの1つを同期符号として埋め込んでおけば、復号時に同期符号がその4種類の単位符号パターンのうちどの角度で検出されたかによって符号ブロックの回転角度(2次元配列上に同期化された符号ブロックの0/90/180/270度のいずれの方向を向いているか)を判定し、補正することができる。 As the synchronization code, there are four patterns for detecting the rotation angle of the code block every 90 degrees, but by using 20 patterns, five sets of synchronization codes can be created. The four unit code patterns used for the synchronization code are selected so as to be 90-degree rotationally symmetrical patterns. That is, if one of the four types of unit code patterns is embedded as a synchronization code at the time of image generation, the rotation angle of the code block (depending on which angle of the four types of unit code patterns is detected at the time of decoding) (Which direction of 0/90/180/270 degrees of the code block synchronized on the two-dimensional array is oriented) can be determined and corrected.
なお、単位符号パターンは、図10に示したように9箇所の中の3箇所にドットを配置する方法に限定せず、9個より小さければ何個であっても良い。例えば、9箇所のうち4箇所にドットを配置する構成とすれば、ドット配置の組み合わせは126通りとなる(126=9C4)。また、ドットを配置可能な場所も9箇所(3×3箇所)に限らず、その他の数、例えば4箇所(2×2箇所)や16箇所(4×4箇所)などとしても良い。 Note that the unit code pattern is not limited to the method of arranging dots at three of nine positions as shown in FIG. 10, and may be any number as long as it is smaller than nine. For example, if the dot is arranged at 4 out of 9 places, there are 126 combinations of the dot arrangement (126 = 9 C 4 ). Further, the number of places where dots can be arranged is not limited to nine (3 × 3), but may be other numbers, for example, four (2 × 2) or 16 (4 × 4).
<符号ブロック>
図12は、符号ブロックの例を示す図である。
図12に示す符号ブロックは、図9に示した単位符号パターンを5×5個並べて構成される。符号ブロックの左上の位置には、図11で示した同期符号が配置される。すなわち、図11(a)〜(e)の同期符号の中から何れかが選択され、選択された同期符号に含まれる4通りの単位符号パターンから選択された1つが符号ブロックの左上に配置される。
<Code block>
FIG. 12 is a diagram illustrating an example of a code block.
The code block shown in FIG. 12 is configured by arranging 5 × 5 unit code patterns shown in FIG. The synchronization code shown in FIG. 11 is arranged at the upper left position of the code block. That is, any one of the synchronization codes shown in FIGS. 11A to 11E is selected, and one selected from the four unit code patterns included in the selected synchronization code is arranged at the upper left of the code block. The
また、図12において、同期符号の右横に隣接する4個の単位符号パターンおよび下側に隣接する4個の単位符号パターンを使用して、位置符号が配置される。位置符号は、符号パターン画像が形成される記録媒体上の位置に固有な位置情報を表す単位符号パターンである。本実施形態では、記録媒体表面に直行座標(X−Y座標)を想定し、その座標値により位置を表す。そこで、同期符号の右横に隣接する位置符号は記録媒体上のX方向の位置に固有な位置情報を符号化した位置符号、下側に隣接する位置符号は記録媒体上のY方向の位置に固有な位置情報を符号化した位置符号が配置される。X方向およびY方向の位置符号は、それぞれ4個の単位符号パターンを使用するので、それぞれが24ビット(6ビット×4個)の情報を格納できる。なお、位置符号として情報埋め込み用の64種類(64=26)のパターンを使用せず、16種類のパターンだけを使用しても良い。この場合は、単位符号パターン当たりの情報量は4ビット(16=24)となるため、位置符号としては16ビット(4ビット×4個)の情報量となる。 In FIG. 12, the position code is arranged using four unit code patterns adjacent to the right side of the synchronization code and four unit code patterns adjacent to the lower side. The position code is a unit code pattern representing position information unique to the position on the recording medium on which the code pattern image is formed. In the present embodiment, an orthogonal coordinate (XY coordinate) is assumed on the surface of the recording medium, and the position is represented by the coordinate value. Therefore, the position code adjacent to the right side of the synchronization code is a position code obtained by encoding position information unique to the position in the X direction on the recording medium, and the position code adjacent to the lower side is the position in the Y direction on the recording medium. A position code obtained by encoding unique position information is arranged. Since the position codes in the X direction and the Y direction each use four unit code patterns, each can store information of 24 bits (6 bits × 4 pieces). Note that it is possible to use only 16 types of patterns as position codes without using 64 types (64 = 2 6 ) patterns for embedding information. In this case, since the information amount per unit code pattern is 4 bits (16 = 2 4 ), the position code is 16 bits (4 bits × 4 pieces) of information amount.
符号ブロックの残りの領域には、任意の記録情報を記述可能な情報符号が配置される。この領域には、単位符号パターンを16個(4×4個)配置できるので、96ビット(6ビット/単位符号パターン×16個)の情報を記録できる。この情報符号に記録される情報として、元文書を識別するための元文書IDが記述される。本実施例の単位符号パターンは多値符号であるので、読み取り時などに発生する誤りも、単位符号パターンの単位で発生する。したがって、誤り訂正符号は、ブロック単位の誤り訂正が可能な方式が望ましい。公知のブロック誤り訂正符号方式であるRS符号(Reed-Solomon Code)を使用すれば、RS符号のブロック長を単位符号パターンの情報量である6ビットとすることができる。この場合、RS符号の符号長は16ブロック(=96ビット÷6ビット/ブロック)となり、例えば3ブロックの訂正能力を持たせるとすれば、RS符号の符号長は10ブロック(=16ブロック−3ブロック×2)となる。この場合、記録情報としては、60ビット(=6ビット/ブロック×10ブロック)の情報を情報符号用の領域に埋め込むことができる。 In the remaining area of the code block, an information code capable of describing arbitrary recording information is arranged. Since 16 unit code patterns (4 × 4) can be arranged in this area, information of 96 bits (6 bits / unit code pattern × 16) can be recorded. As information recorded in this information code, an original document ID for identifying the original document is described. Since the unit code pattern of the present embodiment is a multi-level code, errors that occur during reading and the like also occur in units of the unit code pattern. Therefore, it is desirable that the error correction code be a system that can perform error correction in units of blocks. If an RS code (Reed-Solomon Code), which is a known block error correction code system, is used, the block length of the RS code can be set to 6 bits, which is the information amount of the unit code pattern. In this case, the code length of the RS code is 16 blocks (= 96 bits / 6 bits / block). For example, if the correction capability of 3 blocks is provided, the code length of the RS code is 10 blocks (= 16 blocks−3). Block x 2). In this case, as the recording information, information of 60 bits (= 6 bits / block × 10 blocks) can be embedded in the information code area.
以上、9C3の単位符号パターンを用いたコード画像の構成例を説明したが、本実施形態で用いられるコード画像は、上記のものに限定されない。例えば、スラッシュパターン(/)やサイズの異なるドットパターンを用いて構成されるコード画像を適用しても良いし、既存のQRコードや2次元バーコード等を適用しても構わない。 As described above, the configuration example of the code image using the 9 C 3 unit code pattern has been described, but the code image used in the present embodiment is not limited to the above. For example, a code image configured using a slash pattern (/) or a dot pattern having a different size may be applied, or an existing QR code, a two-dimensional barcode, or the like may be applied.
100…画像処理装置、110…読み取り部、120…解析部、121…領域設定部、122…部分画像選択部、123…復号部、124…識別部、130…保持部
DESCRIPTION OF
Claims (12)
前記解析領域内に、一定以上の間隔を開けて複数の復号基準位置を設定し、当該復号基準位置の部分画像を選択する部分画像選択部と、
前記部分画像から前記記録媒体の識別情報を復号する復号部と、
復号された前記識別情報に基づいて前記記録媒体を識別する識別部と
を備えることを特徴とする画像処理装置。 An area setting unit that sets an analysis area to be analyzed for an image read from a recording medium;
A partial image selection unit that sets a plurality of decoding reference positions with a predetermined interval or more in the analysis region, and selects a partial image at the decoding reference position;
A decoding unit for decoding the identification information of the recording medium from the partial image;
An image processing apparatus comprising: an identification unit that identifies the recording medium based on the decoded identification information.
読み取られた画像に対して、解析対象となる解析領域を設定し、
前記解析領域内に、一定以上の間隔を開けて複数の復号基準位置を設定し、当該復号基準位置の部分画像を選択し、
前記部分画像から前記記録媒体の識別情報を復号し、
復号された前記識別情報に基づいて前記記録媒体を識別し、
1つの前記解析領域に対して複数の記録媒体が識別された場合に、当該解析領域を分割して複数の新たな解析領域を設定することを特徴とする識別方法。 Read the image formed on the recording medium,
For the scanned image, set the analysis area to be analyzed,
In the analysis area, set a plurality of decoding reference positions with a certain interval or more, select a partial image of the decoding reference position,
Decoding the recording medium identification information from the partial image;
Identifying the recording medium based on the decrypted identification information;
An identification method, wherein when a plurality of recording media are identified for one analysis area, the analysis area is divided to set a plurality of new analysis areas.
記録媒体から読み取られた画像に対して、解析対象となる解析領域を設定する機能と、
前記解析領域内に、一定以上の間隔を開けて複数の復号基準位置を設定し、当該復号基準位置の部分画像を選択する機能と、
前記部分画像から前記記録媒体の識別情報を復号する機能と、
復号された前記識別情報に基づいて前記記録媒体を識別する機能と
を実現させることを特徴とするプログラム。 On the computer,
A function for setting an analysis area to be analyzed for an image read from a recording medium;
In the analysis region, a function of setting a plurality of decoding reference positions with a certain interval or more, and selecting a partial image at the decoding reference position;
A function of decoding identification information of the recording medium from the partial image;
A program for realizing the function of identifying the recording medium based on the decrypted identification information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007144103A JP2008301115A (en) | 2007-05-30 | 2007-05-30 | Image processing apparatus, identifying method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007144103A JP2008301115A (en) | 2007-05-30 | 2007-05-30 | Image processing apparatus, identifying method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008301115A true JP2008301115A (en) | 2008-12-11 |
Family
ID=40174218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007144103A Pending JP2008301115A (en) | 2007-05-30 | 2007-05-30 | Image processing apparatus, identifying method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008301115A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010154084A (en) * | 2008-12-24 | 2010-07-08 | Fuji Xerox Co Ltd | Image processing apparatus, and program |
-
2007
- 2007-05-30 JP JP2007144103A patent/JP2008301115A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010154084A (en) * | 2008-12-24 | 2010-07-08 | Fuji Xerox Co Ltd | Image processing apparatus, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7478746B2 (en) | Two-dimensional color barcode and method of generating and decoding the same | |
US8459565B2 (en) | Two-dimensional code generating apparatus, image forming system, two-dimensional code reading apparatus, and computer readable medium | |
JP5453074B2 (en) | Method and program for printing a document | |
JP2007226781A (en) | Document printing and scanning method using low resolution barcode to encode resolution data | |
JP4821559B2 (en) | Information generating apparatus, information generating program, information generating method, information reading system, electronic pen, and recording medium | |
KR100842049B1 (en) | Image processing device, image forming device, image processing method, image forming method and computer-readable recording medium for storing program | |
JP2007166229A (en) | Image reading apparatus | |
US20080198394A1 (en) | Image processing apparatus, image processing method, and computer program product | |
US8893974B2 (en) | Decoder for barcodes with anti-copy feature | |
JP4978879B2 (en) | Two-dimensional code generation system and two-dimensional code generation program | |
JP4893643B2 (en) | Detection method and detection apparatus | |
JP2008113410A (en) | Image processing apparatus and control method thereof, and reading method in image reading system | |
US8005256B2 (en) | Image generation apparatus and recording medium | |
JP2008301115A (en) | Image processing apparatus, identifying method, and program | |
JP4872924B2 (en) | Image data forming method and image data forming apparatus | |
JP2008301116A (en) | Image processing apparatus and program | |
JP2004336217A (en) | Apparatus, method, and program for image processing, and recording medium | |
JP4760666B2 (en) | Information generating apparatus, information generating method, information generating program, information reading system, information reading program, and electronic pen | |
JP4420019B2 (en) | Electronic writing instrument, medium discrimination device, computer system, and program | |
JP2007166333A (en) | Apparatus and method for processing image | |
JP5434273B2 (en) | Image processing apparatus and image processing program | |
JP4900050B2 (en) | Image generating apparatus and recording medium | |
JP4973540B2 (en) | Image processing apparatus and image processing program | |
JP5959550B2 (en) | Image processing device | |
JP4539733B2 (en) | Image processing apparatus and image processing program |