JP2012226462A - Image processing apparatus and image processing program - Google Patents

Image processing apparatus and image processing program Download PDF

Info

Publication number
JP2012226462A
JP2012226462A JP2011091850A JP2011091850A JP2012226462A JP 2012226462 A JP2012226462 A JP 2012226462A JP 2011091850 A JP2011091850 A JP 2011091850A JP 2011091850 A JP2011091850 A JP 2011091850A JP 2012226462 A JP2012226462 A JP 2012226462A
Authority
JP
Japan
Prior art keywords
information image
image
information
detected
detecting
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.)
Granted
Application number
JP2011091850A
Other languages
Japanese (ja)
Other versions
JP5664427B2 (en
Inventor
Takeshi Noguchi
武史 野口
Hirofumi Komatsubara
弘文 小松原
Kenji Ebiya
賢治 蛯谷
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
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 filed Critical Fuji Xerox Co Ltd
Priority to JP2011091850A priority Critical patent/JP5664427B2/en
Publication of JP2012226462A publication Critical patent/JP2012226462A/en
Application granted granted Critical
Publication of JP5664427B2 publication Critical patent/JP5664427B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image processing apparatus that reduces processing for detecting an information image for an area including no information image as compared with a case in which this configuration is not available when each image includes a plurality of areas where the information image can be drawn and when the information image is analyzed by reading a plurality of images thereof.SOLUTION: Reception means of the image processing apparatus receives an image, determination means determines a first position for detecting an information image in an object image based upon a position in an information image detected last, detection means detects the information image based upon the first position, analysis means analyzes the information image, and output means outputs information as an analysis result. When the detection means fails to detect the information image at the first position, the determination means determines a second position on the opposite side in the image from the first position as a position for detecting the information image, and the detection means detects the information image at the second position.

Description

本発明は、画像処理装置及び画像処理プログラムに関する。   The present invention relates to an image processing apparatus and an image processing program.

情報画像を検出する技術がある。
これに関連する技術として、例えば、特許文献1には、データ・マトリックス・シンボルのような機械読み取り可能なシンボルを探し出し、デコードするための方法及び装置を提供することを課題とし、シンボルのイメージを蓄積することによって開始し、シンボルのためのファインダーパターンのクワイエットゾーンと実線の境界間のエッジ点を探し出し、そこから、第1と第2の実線の境界の少なくとも部分、好ましくはそれらの間の実線のコーナーを探し出し、その後、実線の境界の自由端から延びる点線の境界の少なくとも部分を探し出し、シンボルのためのファインダーパターンの実線及び点線の境界を探し出した後に、シンボルの周辺と翻訳を決定し、シンボルのイメージをデコードするために、適切なデコードルーチンを適用することが開示されている。
There is a technique for detecting an information image.
As a technology related to this, for example, Patent Document 1 has an object to provide a method and an apparatus for finding and decoding a machine-readable symbol such as a data matrix symbol, and an image of the symbol is obtained. Starting by accumulating, finding an edge point between the quiet zone of the finder pattern for the symbol and the boundary of the solid line, from which at least part of the boundary of the first and second solid lines, preferably the solid line between them After searching for the corners of the finder pattern, finding at least part of the dotted border extending from the free end of the solid border, finding the solid and dotted borders of the finder pattern for the symbol, determining the perimeter and translation of the symbol, Appropriate decoding routines applied to decode symbol images Rukoto have been disclosed.

また、例えば、特許文献2には、処理時間を短くして迅速なバーコード領域の検出を行い、またバーコード以外の印刷等による画像ノイズを除去して高精度なバーコード検出を行うことを課題とし、2次元画像データに対して横方向に画素濃度を投影した画素濃度投影値分布から最大極大値を検出し、この最大極大値に隣り合う極小値又は最小値に基づく範囲をバーコード領域の高さ方向範囲と判断し、そして、判断したバーコード領域の高さ方向範囲において画素濃度を縦方向に投影して画素濃度投影値分布を得、この投影値から極大値を検出し、隣り合う極大値の間隔が一定の比率範囲にある所定数以上の連続した極大値の部分を検出し、そして検出した部分の最初と最後の極大値の中心座標がバーコードの両端のバーの幅方向の中心座標となり、これにより、バーコード領域の幅方向範囲を判断し、この幅方向範囲と高さ方向範囲によりバーコード領域を検出することが開示されている。   Further, for example, in Patent Document 2, it is possible to quickly detect a barcode area by shortening the processing time, and to perform high-precision barcode detection by removing image noise due to printing other than the barcode. As a problem, the maximum local maximum value is detected from the pixel density projection value distribution obtained by projecting the pixel density in the horizontal direction with respect to the two-dimensional image data, and the range based on the local minimum value or the minimum value adjacent to the maximum local maximum value is a barcode area. The pixel density projection value distribution is obtained by projecting the pixel density in the vertical direction in the determined bar code area height direction range, and a local maximum value is detected from this projection value. Detect the maximum number of consecutive local maxima that are more than a certain number with the interval of matching maxima within a certain ratio range, and the center coordinates of the first and last maxima of the detected parts are the width direction of the bar at both ends of the barcode Central seat Next, by which determines the width-direction range of the bar code area, detecting a barcode area is disclosed by the width-direction range and height-direction range.

また、例えば、特許文献3には、原稿の画像を読み取る原稿画像読取り手段と、原稿に記載の情報コードを認識するコードリーダーを備えた画像読取装置において、情報コード読み取りエラーを低減・防止すること、コードリーダーを画像読取装置本体内に配設することを可能にして画像読取装置外に配設することによるコストアップや放射電波などの問題をなくすことを目的とし、原稿画像読取開始時、初めの原稿は原稿画像読取り手段により原稿上の情報コードの記載位置を認識させ、認識された情報コード記載位置に対応する位置にコードリーダーを自動的に移動させる手段を有していることが開示されている。   Further, for example, in Patent Document 3, in an image reading apparatus including a document image reading unit that reads an image of a document and a code reader that recognizes an information code described in the document, information code reading errors are reduced / prevented. In order to eliminate the problem of cost increase and radiated radio waves by disposing the code reader inside the image reading apparatus main body and disposing it outside the image reading apparatus, It is disclosed that the original document has means for causing the document image reading means to recognize the position where the information code is written on the document and automatically moving the code reader to a position corresponding to the recognized information code position. ing.

特開平10−063772号公報Japanese Patent Laid-Open No. 10-063772 特開平11−184959号公報Japanese Patent Laid-Open No. 11-184959 特開平08−153150号公報Japanese Patent Laid-Open No. 08-153150

本発明は、それぞれの画像内に情報画像が描画され得る領域が複数ある場合であって、その複数の画像を読み取って、情報画像を解析する場合に、本構成を有していない場合に比較して、情報画像がない領域であるにもかかわらず情報画像を検出する処理を減少させ得るようにした画像処理装置及び画像処理プログラムを提供することを目的としている。   The present invention is a case where there are a plurality of areas in which information images can be drawn in each image, and when the plurality of images are read and the information image is analyzed, the present configuration is not compared. Thus, an object of the present invention is to provide an image processing apparatus and an image processing program capable of reducing the processing for detecting an information image even though it is a region having no information image.

かかる目的を達成するための本発明の要旨とするところは、次の各項の発明に存する。
請求項1の発明は、画像を受け付ける受付手段と、直前に検出した情報画像の画像内における位置に基づいて、前記受付手段によって受け付けられた対象としている画像内にある情報画像を検出するための第1の位置を決定する決定手段と、前記決定手段によって決定された第1の位置に基づいて、情報画像を検出する検出手段と、前記検出手段によって検出された情報画像を解析する解析手段と、前記解析手段による解析結果である情報を出力する出力手段を具備し、前記決定手段は、前記検出手段が第1の位置で情報画像を検出できなかった場合は、該第1の位置とは前記画像内において反対側にある第2の位置を、情報画像を検出する位置として決定し、前記検出手段は、前記決定手段によって決定された第2の位置で情報画像を検出することを特徴とする画像処理装置である。
The gist of the present invention for achieving the object lies in the inventions of the following items.
The invention according to claim 1 is for detecting an information image in a target image received by the receiving means based on a receiving means for receiving an image and a position of the information image detected immediately before in the image. Determining means for determining a first position; detecting means for detecting an information image based on the first position determined by the determining means; and analyzing means for analyzing the information image detected by the detecting means; Output means for outputting information as an analysis result by the analyzing means, and the determining means is the first position when the detecting means cannot detect the information image at the first position. The second position on the opposite side in the image is determined as a position for detecting the information image, and the detection means detects the information image at the second position determined by the determination means. An image processing apparatus according to claim Rukoto.

請求項2の発明は、前記決定手段は、さらに、直前に検出した情報画像の画像内における方向に基づいて、前記受付手段によって受け付けられた対象としている画像内にある情報画像を検出するための第1の方向を決定し、前記検出手段は、前記決定手段によって決定された情報画像の位置と情報画像の方向に基づいて、情報画像を検出することを特徴とする請求項1に記載の画像処理装置である。   According to a second aspect of the present invention, the determining means further detects an information image in the target image received by the receiving means based on a direction in the image of the information image detected immediately before. 2. The image according to claim 1, wherein a first direction is determined, and the detection unit detects an information image based on the position of the information image and the direction of the information image determined by the determination unit. It is a processing device.

請求項3の発明は、前記決定手段は、前記検出手段が第1の位置で情報画像を検出できなかった場合であって、既に検出した情報画像の画像内における位置が異ならない場合は、前記第2の位置を、情報画像を検出する位置として決定することを特徴とする請求項1に記載の画像処理装置である。   According to a third aspect of the present invention, in the case where the determining unit cannot detect the information image at the first position and the position of the already detected information image in the image is not different, The image processing apparatus according to claim 1, wherein the second position is determined as a position where the information image is detected.

請求項4の発明は、前記決定手段は、前記検出手段が第1の位置で情報画像を検出できなかった場合であって、既に検出した情報画像の画像内における位置と方向が異ならない場合は、前記第2の位置と方向を、情報画像を検出する位置と方向として決定することを特徴とする請求項2に記載の画像処理装置である。   According to a fourth aspect of the present invention, in the case where the determination unit cannot detect the information image at the first position and the position and direction of the already detected information image in the image are not different. The image processing apparatus according to claim 2, wherein the second position and direction are determined as a position and direction in which an information image is detected.

請求項5の発明は、前記決定手段は、前記検出手段が第1の位置で情報画像を検出できなかった場合であって、直前よりも前に検出した情報画像の画像内における位置が異ならない場合かつ直前に検出した情報画像の画像内における位置が異なる場合は、直前よりも前に検出した情報画像の画像内における位置を、情報画像を検出する第2の位置として決定することを特徴とする請求項1又は3に記載の画像処理装置である。   According to a fifth aspect of the present invention, the determination means is a case where the detection means cannot detect the information image at the first position, and the position of the information image detected before immediately before is not different. If the position of the information image detected immediately before is different in the image, the position of the information image detected before the previous time is determined as the second position for detecting the information image. The image processing apparatus according to claim 1 or 3.

請求項6の発明は、前記決定手段は、さらに、直前に検出した情報画像の画像内における位置が、直前よりも前に検出した情報画像の前記画像内における位置とは反対側である場合は、直前よりも前に検出した情報画像の画像内における位置を、情報画像を検出する第2の位置として決定することを特徴とする請求項5に記載の画像処理装置である。   According to a sixth aspect of the present invention, the determination means further includes a case in which the position of the information image detected immediately before in the image is opposite to the position of the information image detected before immediately before in the image. 6. The image processing apparatus according to claim 5, wherein a position in the image of the information image detected before immediately before is determined as a second position for detecting the information image.

請求項7の発明は、前記決定手段は、前記検出手段が第1の位置で情報画像を検出できなかった場合であって、直前よりも前に検出した情報画像の画像内における位置と方向が異ならない場合かつ直前に検出した情報画像の画像内における位置又は方向が異なる場合は、直前よりも前に検出した情報画像の画像内における位置と方向を、情報画像を検出する第2の位置と方向として決定することを特徴とする請求項2又は4に記載の画像処理装置である。   According to a seventh aspect of the present invention, the determination means is a case where the detection means cannot detect the information image at the first position, and the position and direction in the image of the information image detected before immediately before are determined. If it is not different and the position or direction in the image of the information image detected immediately before is different, the position and direction in the image of the information image detected before the previous time are used as the second position for detecting the information image. The image processing apparatus according to claim 2, wherein the image processing apparatus determines the direction.

請求項8の発明は、前記決定手段は、さらに、直前に検出した情報画像の画像内における位置が、直前よりも前に検出した情報画像の前記画像内における位置とは反対側である場合であって、直前に検出した情報画像の方向が直前よりも前に検出した情報画像の方向とは逆である場合は、直前よりも前に検出した情報画像の画像内における位置と方向を、情報画像を検出する第2の位置と方向として決定することを特徴とする請求項7に記載の画像処理装置である。   The invention according to claim 8 is the case where the determining means further has a position in the image of the information image detected immediately before that opposite to the position in the image of the information image detected before immediately before. If the direction of the information image detected immediately before is opposite to the direction of the information image detected before the previous time, the position and direction in the image of the information image detected before the previous time The image processing apparatus according to claim 7, wherein the second position and direction for detecting an image are determined.

請求項9の発明は、コンピュータを、画像を受け付ける受付手段と、直前に検出した情報画像の画像内における位置に基づいて、前記受付手段によって受け付けられた対象としている画像内にある情報画像を検出するための第1の位置を決定する決定手段と、前記決定手段によって決定された第1の位置に基づいて、情報画像を検出する検出手段と、前記検出手段によって検出された情報画像を解析する解析手段と、前記解析手段による解析結果である情報を出力する出力手段として機能させ、前記決定手段を前記検出手段が第1の位置で情報画像を検出できなかった場合は、該第1の位置とは前記画像内において反対側にある第2の位置を、情報画像を検出する位置として決定する手段、前記検出手段を前記決定手段によって決定された第2の位置で情報画像を検出する手段として機能させるための画像処理プログラムである。   According to the ninth aspect of the present invention, the computer detects the information image in the target image received by the receiving means based on the receiving means for receiving the image and the position of the information image detected immediately before in the image. Determining means for determining a first position for detection, detecting means for detecting an information image based on the first position determined by the determining means, and analyzing the information image detected by the detecting means An analysis means, and an output means for outputting information that is an analysis result by the analysis means. When the detection means cannot detect an information image at the first position, the determination means Means for determining a second position on the opposite side in the image as a position for detecting an information image, and the detection means is determined by the determination means. Information image at the position which is an image processing program for functioning as a means for detecting.

請求項1の画像処理装置によれば、それぞれの画像内に情報画像が描画され得る領域が複数ある場合であって、その複数の画像を読み取って、情報画像を解析する場合に、本構成を有していない場合に比較して、情報画像がない領域であるにもかかわらず情報画像を検出する処理を減少させ得ることができる。   According to the image processing device of claim 1, when there are a plurality of regions in which each information image can be drawn in each image, and when the plurality of images are read and the information image is analyzed, this configuration is used. Compared to the case where the information image is not included, it is possible to reduce the processing for detecting the information image even though the region has no information image.

請求項2の画像処理装置によれば、本構成を有していない場合に比較して、情報画像の方向を検出する処理を減少させ得ることができる。   According to the image processing apparatus of the second aspect, it is possible to reduce the process of detecting the direction of the information image as compared with the case where the present configuration is not provided.

請求項3の画像処理装置によれば、上下を誤って設定された原稿の画像を読み込んだ場合に、本構成を有していない場合に比較して、情報画像を検出する処理を減少させ得ることができる。   According to the image processing apparatus of the third aspect, when an image of a document set upside down is read, the processing for detecting an information image can be reduced as compared with a case where this configuration is not provided. be able to.

請求項4の画像処理装置によれば、本構成を有していない場合に比較して、情報画像の方向を検出する処理を減少させ得ることができる。   According to the image processing apparatus of the fourth aspect, the processing for detecting the direction of the information image can be reduced as compared with the case where the present configuration is not provided.

請求項5の画像処理装置によれば、上下を誤って設定された原稿の次の原稿であって、上下を誤って設定された場合の原稿の画像を読み込んだ場合に、本構成を有していない場合に比較して、情報画像を検出する処理を減少させ得ることができる。   According to the image processing apparatus of the fifth aspect, this configuration is provided when an image of a document that is next to a document that has been set upside down and that has been set upside down is read. Compared to the case where the information image is not present, the processing for detecting the information image can be reduced.

請求項6の画像処理装置によれば、本構成を有していない場合に比較して、上下を誤って設定された原稿の次の原稿であって、上下を誤って設定された場合の原稿の画像を読み込んだ場合であることを精度よく判定し、情報画像を検出する処理を減少させ得ることができる。   According to the image processing apparatus of the sixth aspect, compared to the case where the present configuration is not provided, the original next to the original set upside down, and the original set upside down Therefore, it is possible to reduce the processing for detecting the information image with high accuracy.

請求項7の画像処理装置によれば、上下を誤って設定された原稿の次の原稿であって、上下を誤って設定された場合の原稿の画像を読み込んだ場合に、本構成を有していない場合に比較して、情報画像を検出する処理と情報画像の方向を検出する処理を減少させ得ることができる。   According to the image processing apparatus of the seventh aspect, this configuration is provided when an image of a document that is next to a document that has been set upside down and that has been set upside down is read. Compared to the case where the information image is not detected, the processing for detecting the information image and the processing for detecting the direction of the information image can be reduced.

請求項8の画像処理装置によれば、本構成を有していない場合に比較して、上下を誤って設定された原稿の次の原稿であって、上下を誤って設定された場合の原稿の画像を読み込んだ場合であることを精度よく判定し、情報画像を検出する処理と情報画像の方向を検出する処理を減少させ得ることができる。   According to the image processing apparatus of the eighth aspect, compared to a case where the present configuration is not provided, an original next to the original set upside down is set, and the original is set upside down. Therefore, it is possible to reduce the processing for detecting the information image and the processing for detecting the direction of the information image.

請求項9の画像処理プログラムによれば、それぞれの画像内に情報画像が描画され得る領域が複数ある場合であって、その複数の画像を読み取って、情報画像を解析する場合に、本構成を有していない場合に比較して、情報画像がない領域であるにもかかわらず情報画像を検出する処理を減少させ得ることができる。   According to the image processing program of claim 9, when there are a plurality of areas in each image where an information image can be drawn, and when the plurality of images are read and the information image is analyzed, this configuration is used. Compared to the case where the information image is not included, it is possible to reduce the processing for detecting the information image even though the region has no information image.

本実施の形態の構成例についての概念的なモジュール構成図である。It is a conceptual module block diagram about the structural example of this Embodiment. 画像受付モジュールが受け付ける画像の例を示す説明図である。It is explanatory drawing which shows the example of the image which an image reception module receives. 情報画像の例を示す説明図である。It is explanatory drawing which shows the example of an information image. 第1の実施の形態による処理例を示す説明図である。It is explanatory drawing which shows the process example by 1st Embodiment. 第1の実施の形態による処理例を示すフローチャートである。It is a flowchart which shows the process example by 1st Embodiment. 第2の実施の形態による処理例を示す説明図である。It is explanatory drawing which shows the process example by 2nd Embodiment. 第2の実施の形態による処理例を示すフローチャートである。It is a flowchart which shows the process example by 2nd Embodiment. 第3の実施の形態による処理例を示す説明図である。It is explanatory drawing which shows the process example by 3rd Embodiment. 第3の実施の形態による処理例を示すフローチャートである。It is a flowchart which shows the process example by 3rd Embodiment. 情報画像描画位置テーブルのデータ構造例を示す説明図である。It is explanatory drawing which shows the example of a data structure of an information image drawing position table. 情報画像描画位置方向テーブルのデータ構造例を示す説明図である。It is explanatory drawing which shows the example of a data structure of an information image drawing position direction table. 情報画像描画位置方向履歴テーブルのデータ構造例を示す説明図である。It is explanatory drawing which shows the example of a data structure of an information image drawing position direction history table. 本実施の形態を実現するコンピュータのハードウェア構成例を示すブロック図である。It is a block diagram which shows the hardware structural example of the computer which implement | achieves this Embodiment.

以下、図面に基づき本発明を実現するにあたっての好適な各種の実施の形態の例を説明する。
<第1の実施の形態>
図1は、第1の実施の形態の構成例についての概念的なモジュール構成図を示している。
なお、モジュールとは、一般的に論理的に分離可能なソフトウェア(コンピュータ・プログラム)、ハードウェア等の部品を指す。したがって、本実施の形態におけるモジュールはコンピュータ・プログラムにおけるモジュールのことだけでなく、ハードウェア構成におけるモジュールも指す。それゆえ、本実施の形態は、それらのモジュールとして機能させるためのコンピュータ・プログラム(コンピュータにそれぞれの手順を実行させるためのプログラム、コンピュータをそれぞれの手段として機能させるためのプログラム、コンピュータにそれぞれの機能を実現させるためのプログラム)、システム及び方法の説明をも兼ねている。ただし、説明の都合上、「記憶する」、「記憶させる」、これらと同等の文言を用いるが、これらの文言は、実施の形態がコンピュータ・プログラムの場合は、記憶装置に記憶させる、又は記憶装置に記憶させるように制御するの意である。また、モジュールは機能に一対一に対応していてもよいが、実装においては、1モジュールを1プログラムで構成してもよいし、複数モジュールを1プログラムで構成してもよく、逆に1モジュールを複数プログラムで構成してもよい。また、複数モジュールは1コンピュータによって実行されてもよいし、分散又は並列環境におけるコンピュータによって1モジュールが複数コンピュータで実行されてもよい。なお、1つのモジュールに他のモジュールが含まれていてもよい。また、以下、「接続」とは物理的な接続の他、論理的な接続(データの授受、指示、データ間の参照関係等)の場合にも用いる。「予め定められた」とは、対象としている処理の前に定まっていることをいい、本実施の形態による処理が始まる前はもちろんのこと、本実施の形態による処理が始まった後であっても、対象としている処理の前であれば、そのときの状況・状態に応じて、又はそれまでの状況・状態に応じて定まることの意を含めて用いる。
また、システム又は装置とは、複数のコンピュータ、ハードウェア、装置等がネットワーク(一対一対応の通信接続を含む)等の通信手段で接続されて構成されるほか、1つのコンピュータ、ハードウェア、装置等によって実現される場合も含まれる。「装置」と「システム」とは、互いに同義の用語として用いる。もちろんのことながら、「システム」には、人為的な取り決めである社会的な「仕組み」(社会システム)にすぎないものは含まない。
また、各モジュールによる処理毎に又はモジュール内で複数の処理を行う場合はその処理毎に、対象となる情報を記憶装置から読み込み、その処理を行った後に、処理結果を記憶装置に書き出すものである。したがって、処理前の記憶装置からの読み込み、処理後の記憶装置への書き出しについては、説明を省略する場合がある。なお、ここでの記憶装置としては、ハードディスク、RAM(Random Access Memory)、外部記憶媒体、通信回線を介した記憶装置、CPU(Central Processing Unit)内のレジスタ等を含んでいてもよい。
Hereinafter, examples of various preferred embodiments for realizing the present invention will be described with reference to the drawings.
<First Embodiment>
FIG. 1 is a conceptual module configuration diagram of a configuration example according to the first embodiment.
The module generally refers to components such as software (computer program) and hardware that can be logically separated. Therefore, the module in the present embodiment indicates not only a module in a computer program but also a module in a hardware configuration. Therefore, the present embodiment is a computer program for causing these modules to function (a program for causing a computer to execute each procedure, a program for causing a computer to function as each means, and a function for each computer. This also serves as an explanation of the program and system and method for realizing the above. However, for the sake of explanation, the words “store”, “store”, and equivalents thereof are used. However, when the embodiment is a computer program, these words are stored in a storage device or stored in memory. It is the control to be stored in the device. Modules may correspond to functions one-to-one, but in mounting, one module may be configured by one program, or a plurality of modules may be configured by one program, and conversely, one module May be composed of a plurality of programs. The plurality of modules may be executed by one computer, or one module may be executed by a plurality of computers in a distributed or parallel environment. Note that one module may include other modules. Hereinafter, “connection” is used not only for physical connection but also for logical connection (data exchange, instruction, reference relationship between data, etc.). “Predetermined” means that the process is determined before the target process, and not only before the process according to this embodiment starts but also after the process according to this embodiment starts. In addition, if it is before the target processing, it is used in accordance with the situation / state at that time or with the intention to be decided according to the situation / state up to that point.
In addition, the system or device is configured by connecting a plurality of computers, hardware, devices, and the like by communication means such as a network (including one-to-one correspondence communication connection), etc., and one computer, hardware, device. The case where it implement | achieves by etc. is also included. “Apparatus” and “system” are used as synonymous terms. Of course, the “system” does not include a social “mechanism” (social system) that is an artificial arrangement.
In addition, when performing a plurality of processes in each module or in each module, the target information is read from the storage device for each process, and the processing result is written to the storage device after performing the processing. is there. Therefore, description of reading from the storage device before processing and writing to the storage device after processing may be omitted. Here, the storage device may include a hard disk, a RAM (Random Access Memory), an external storage medium, a storage device via a communication line, a register in a CPU (Central Processing Unit), and the like.

本実施の形態である画像処理装置は、情報画像を検出するものであって、図1の例に示すように、画像受付モジュール110、情報画像検出モジュール120、情報画像検出状態記憶モジュール130、情報画像解析位置決定モジュール140、情報画像解析モジュール150、解析結果出力モジュール160、解析結果記憶モジュール170を有している。
ここで、情報画像とは、機械可読な態様で電子データを表すために体系的に作られた画像コードをいい、具体的には、1次元バーコード、2次元コード等がある。特に、最近は、2次元コードとして、QRコード(Quick Response code、登録商標)が用いられており、本実施の形態においてもこのQRコードを例示する。
The image processing apparatus according to the present embodiment detects an information image. As shown in the example of FIG. 1, the image reception module 110, the information image detection module 120, the information image detection state storage module 130, the information The image analysis position determination module 140, the information image analysis module 150, the analysis result output module 160, and the analysis result storage module 170 are included.
Here, the information image refers to an image code systematically created to represent electronic data in a machine-readable manner, and specifically includes a one-dimensional bar code, a two-dimensional code, and the like. In particular, a QR code (Quick Response code, registered trademark) has recently been used as a two-dimensional code, and this QR code is also exemplified in the present embodiment.

画像受付モジュール110は、情報画像検出モジュール120と接続されており、画像を受け付けて、その画像を情報画像検出モジュール120へ渡す。画像を受け付けるとは、例えば、スキャナ、カメラ等で画像を読み込むこと、ファックス等で通信回線を介して外部機器から画像を受信すること、ハードディスク(コンピュータに内蔵されているものの他に、ネットワークを介して接続されているもの等を含む)等に記憶されている画像を読み出すこと等が含まれる。画像は、2値画像、多値画像(カラー画像を含む)であってもよい。受け付ける画像は、複数枚の画像である。また、画像の内容として、情報画像が描画されていればよく、例えばビジネスに用いられる文書、広告宣伝用のパンフレット等であってもよい。ただし、受け付けた全ての画像に情報画像が含まれている必要はなく、情報画像がない画像が含まれていてもよい。
また、一連の原稿の画像を連続して取り込むようにしてもよい。例えば、画像読取装置(スキャナ、ファックス、複合機(スキャナ、プリンタ、複写機、ファックス等のいずれか2つ以上の機能を有している画像処理装置)等を含む)に取り付けられた自動原稿送り装置(ADF(Auto Document Feeder)、オートシートフィーダー、オートフィーダーともいわれる)によって画像を読み込むようにしてもよい。また、受け付ける画像のサイズは、一般的には同じになる可能性が高いが、その必要はない。一連の原稿としては、例えば、主に、情報画像が各原稿の予め定められた同じ位置に描画されたものである。ただし、必ずしも全ての原稿の同じ位置に情報画像が描画されている必要はなく、また、利用者による準備で、上下が誤って設定された原稿が混入していてもよい。
The image reception module 110 is connected to the information image detection module 120, receives an image, and passes the image to the information image detection module 120. Accepting an image means, for example, reading an image with a scanner, a camera, etc., receiving an image from an external device via a communication line by fax, etc., a hard disk (in addition to what is built in a computer, via a network) And the like, and the like read out the images stored in the device etc.). The image may be a binary image or a multi-value image (including a color image). Accepted images are a plurality of images. Further, it is sufficient that an information image is drawn as the content of the image, and it may be, for example, a document used for business, a pamphlet for advertisement, or the like. However, it is not necessary that all received images include an information image, and an image without an information image may be included.
Also, a series of original images may be captured continuously. For example, automatic document feeding attached to image reading devices (including scanners, fax machines, multi-function machines (scanners, printers, copiers, image processing devices having two or more functions such as fax machines), etc.) You may make it read an image with an apparatus (ADF (Auto Document Feeder), an auto sheet feeder, and an auto feeder). In addition, the sizes of received images are generally likely to be the same, but this is not necessary. As a series of originals, for example, an information image is mainly drawn at the same predetermined position of each original. However, the information image does not necessarily have to be drawn at the same position on all the originals, and originals whose top and bottom are set incorrectly may be mixed by preparations by the user.

図2は、画像受付モジュール110が受け付ける画像の例を示す説明図である。
例えば、自動原稿送り装置にnページの原稿が設定されたとする。そして、情報画像が描画され得る領域が複数(この場合は4つ)あり、そのうちの1つに情報画像が描画されているとする。例えば、画像データ200aには、情報画像描画領域210a、情報画像描画領域220a、情報画像描画領域230a、情報画像描画領域240aがあり、情報画像描画領域240aに情報画像が描画されている。そして、画像データ200b、画像データ200cも同等である。例えば、このように複数の領域を予め定められた順番、例えば、図2に例示するように1→2→3→4(画像データ200aで示せば、情報画像描画領域210a→情報画像描画領域220a→情報画像描画領域230a→情報画像描画領域240a)で検出するようにすると、情報画像は4の位置(画像データ200aで示せば情報画像描画領域240aの位置)に描画されているのであるので、毎回情報画像がない領域1、2、3の位置(画像データ200aで示せば情報画像描画領域210a、情報画像描画領域220a、情報画像描画領域230aの位置)を処理してしまうことになる。また、自動原稿送り装置に設定されるような複数の原稿からなる原稿群は、同じ位置に情報画像が描画されている場合が多い。
そこで、この第1の実施の形態では、直前の情報画像の位置を用いて情報画像を検出しようとするものである。
FIG. 2 is an explanatory diagram illustrating an example of an image received by the image receiving module 110.
For example, assume that an n-page document is set in the automatic document feeder. Then, it is assumed that there are a plurality of areas (in this case, four) in which the information image can be drawn, and the information image is drawn in one of them. For example, the image data 200a includes an information image drawing area 210a, an information image drawing area 220a, an information image drawing area 230a, and an information image drawing area 240a, and an information image is drawn in the information image drawing area 240a. The image data 200b and the image data 200c are also equivalent. For example, the plurality of areas are thus set in a predetermined order, for example, 1 → 2 → 3 → 4 (in the case of the image data 200a, as shown in FIG. 2, the information image drawing area 210a → the information image drawing area 220a). Since the information image is drawn at the position 4 (the position of the information image drawing area 240a in the case of the image data 200a), the detection is performed in the information image drawing area 230a → the information image drawing area 240a). The positions of the areas 1, 2, and 3 where there is no information image each time (the positions of the information image drawing area 210a, the information image drawing area 220a, and the information image drawing area 230a in the case of the image data 200a) are processed. In many cases, an information image is drawn at the same position in a group of documents composed of a plurality of documents set in the automatic document feeder.
Therefore, in the first embodiment, an information image is detected using the position of the immediately preceding information image.

情報画像検出状態記憶モジュール130は、情報画像検出モジュール120、情報画像解析位置決定モジュール140と接続されている。情報画像検出状態記憶モジュール130は、少なくとも直前に検出した情報画像の画像内における位置を記憶している。これは、情報画像検出モジュール120が画像内から情報画像を検出した場合に、その検出した位置を情報画像検出状態記憶モジュール130に記憶させる。なお、情報画像検出状態記憶モジュール130が記憶している情報を、以下、情報画像検出状態情報ともいう。また、位置以外に他の情報を情報画像検出状態情報として記憶するようにしてもよい。例えば、情報画像検出モジュール120が情報画像の位置と情報画像の方向を検出し、それを情報画像検出状態記憶モジュール130に記憶させるようにしてもよい。また、直前に検出した情報画像検出状態情報のみならず、直前以前の情報画像検出状態情報を記憶していてもよい。いわゆる検出履歴である。
「直前に」とは、受付手段によって受け付けられた画像のうち、対象としている画像の直前に受け付けられた画像である。例えば、対象としている画像が5ページ目の画像であるとすると、直前に検出した画像とは4ページ目の画像となる。
そして、情報画像検出状態記憶モジュール130は、記憶している情報画像検出状態情報を情報画像解析位置決定モジュール140からのアクセスによって、情報画像解析位置決定モジュール140に渡す。
The information image detection state storage module 130 is connected to the information image detection module 120 and the information image analysis position determination module 140. The information image detection state storage module 130 stores at least the position of the information image detected immediately before in the image. In this case, when the information image detection module 120 detects an information image from within the image, the detected position is stored in the information image detection state storage module 130. Note that the information stored in the information image detection state storage module 130 is hereinafter also referred to as information image detection state information. In addition to the position, other information may be stored as information image detection state information. For example, the information image detection module 120 may detect the position of the information image and the direction of the information image, and store them in the information image detection state storage module 130. Further, not only the information image detection state information detected immediately before but also the information image detection state information before immediately before may be stored. This is a so-called detection history.
“Just before” is an image received immediately before the target image among the images received by the receiving unit. For example, if the target image is the image on the fifth page, the image detected immediately before is the image on the fourth page.
The information image detection state storage module 130 passes the stored information image detection state information to the information image analysis position determination module 140 by access from the information image analysis position determination module 140.

記憶している情報画像の位置について説明する。
画像内にある情報画像を解析するために、まず情報画像がどこにあるかを検出することが必要である。記憶している情報画像の位置は、既に検出が行われた情報画像の位置(又は領域)のことをいう。例えば、画像の左上を原点とし、右方向をX座標、下方向をY座標とした座標系における座標であってもよいし、画像内の領域の位置(具体的には、右上、右下、左下、左上等)を示す符号であってもよいし、前に検出した情報画像との位置の差分(例えば、前に検出した情報画像と同じ位置にあるのであれば0となる)であってもよい。以下は、画像内の領域の位置(具体的には、右上、右下、左下、左上等)を示す符号を用いて説明する。なお、この領域は、例えば、画像を4等分した場合の領域であってもよいし、画像の4つの角から予め定められた大きさの矩形領域としてもよい。また、領域の数は6個、8個であってもよいし、その形状は矩形に限られない。
The position of the stored information image will be described.
In order to analyze the information image in the image, it is necessary to first detect where the information image is. The position of the stored information image refers to the position (or region) of the information image that has already been detected. For example, it may be coordinates in a coordinate system in which the upper left of the image is the origin, the right direction is the X coordinate, and the lower direction is the Y coordinate, or the position of the region in the image (specifically, the upper right, lower right, Or a difference in position from the previously detected information image (for example, 0 if it is at the same position as the previously detected information image). Also good. The following description will be made using reference numerals indicating the positions of regions in the image (specifically, upper right, lower right, lower left, upper left, etc.). This area may be, for example, an area when the image is divided into four equal parts, or may be a rectangular area having a predetermined size from the four corners of the image. Further, the number of regions may be 6 or 8, and the shape is not limited to a rectangle.

記憶している情報画像の方向について説明する。
画像内にある情報画像を解析するために、情報画像の向きを検出することが必要である。図3に例示するように、情報画像300には、上方向310、右方向320、下方向330、左方向340がある。例えば、画像の上方向と一致している情報画像300の方向を情報画像検出モジュール120が検出し、情報画像検出状態記憶モジュール130が記憶する。情報画像解析モジュール150は、この方向を用いて情報画像を解析(デコード)して、その情報画像内に埋め込まれている電子データを取り出す。もちろんのことながら、この方向の定義は便宜的なものであり、これに限る必要はなく、情報画像の解析方法に合わせるようにしてもよい。
The direction of the stored information image will be described.
In order to analyze the information image in the image, it is necessary to detect the orientation of the information image. As illustrated in FIG. 3, the information image 300 includes an upward direction 310, a right direction 320, a downward direction 330, and a left direction 340. For example, the information image detection module 120 detects the direction of the information image 300 that matches the upward direction of the image, and the information image detection state storage module 130 stores it. The information image analysis module 150 analyzes (decodes) the information image using this direction, and extracts electronic data embedded in the information image. Of course, the definition of this direction is for convenience, and is not limited to this, and may be adapted to the information image analysis method.

情報画像検出状態記憶モジュール130が記憶する情報画像検出状態情報のデータ構造を説明する。例えば、情報画像描画位置テーブル1000、情報画像描画位置方向テーブル1100又は情報画像描画位置方向履歴テーブル1200のいずれかを記憶する。なお、第1の実施の形態では、情報画像描画位置テーブル1000又は情報画像描画位置方向テーブル1100のいずれかでよく、第2の実施の形態、第3の実施の形態では、情報画像描画位置方向履歴テーブル1200を記憶する。なお、情報画像描画位置方向履歴テーブル1200の替わりに、情報画像の位置だけを記憶するテーブル(情報画像の方向を不要としたテーブル)であってもよい。
図10は、情報画像描画位置テーブル1000のデータ構造例を示す説明図である。情報画像描画位置テーブル1000は、情報画像描画位置欄1010を有している。情報画像描画位置欄1010は、情報画像検出モジュール120が検出した情報画像の位置であって、直前の検出結果(つまり、最新の検出結果)を記憶する。
図11は、情報画像描画位置方向テーブル1100のデータ構造例を示す説明図である。情報画像描画位置方向テーブル1100は、情報画像描画位置欄1110、情報画像方向欄1120を有している。情報画像描画位置欄1110は、情報画像検出モジュール120が検出した情報画像の位置を記憶する。情報画像方向欄1120は、情報画像検出モジュール120が検出した情報画像の方向を記憶する。これらは、直前の検出結果である。
図12は、情報画像描画位置方向履歴テーブル1200のデータ構造例を示す説明図である。情報画像描画位置方向履歴テーブル1200は、情報画像描画位置欄1210、情報画像方向欄1220、情報画像描画位置欄1230、情報画像方向欄1240等を有している。情報画像描画位置欄1210、1230は、情報画像検出モジュール120が検出した情報画像の位置を記憶する。情報画像方向欄1220、1240は、情報画像検出モジュール120が検出した情報画像の方向を記憶する。これらは組となっており、過去の検出結果の履歴である。
The data structure of the information image detection state information stored in the information image detection state storage module 130 will be described. For example, the information image drawing position table 1000, the information image drawing position / direction table 1100, or the information image drawing position / direction history table 1200 is stored. In the first embodiment, either the information image drawing position table 1000 or the information image drawing position direction table 1100 may be used. In the second embodiment and the third embodiment, the information image drawing position direction. A history table 1200 is stored. Instead of the information image drawing position / direction history table 1200, a table that stores only the position of the information image (a table that does not require the direction of the information image) may be used.
FIG. 10 is an explanatory diagram showing an example of the data structure of the information image drawing position table 1000. The information image drawing position table 1000 has an information image drawing position column 1010. The information image drawing position column 1010 is the position of the information image detected by the information image detection module 120 and stores the immediately preceding detection result (that is, the latest detection result).
FIG. 11 is an explanatory diagram showing an example of the data structure of the information image drawing position / direction table 1100. The information image drawing position / direction table 1100 includes an information image drawing position column 1110 and an information image direction column 1120. The information image drawing position column 1110 stores the position of the information image detected by the information image detection module 120. The information image direction column 1120 stores the direction of the information image detected by the information image detection module 120. These are the previous detection results.
FIG. 12 is an explanatory diagram showing an example of the data structure of the information image drawing position / direction history table 1200. The information image drawing position / direction history table 1200 includes an information image drawing position column 1210, an information image direction column 1220, an information image drawing position column 1230, an information image direction column 1240, and the like. The information image drawing position columns 1210 and 1230 store the position of the information image detected by the information image detection module 120. The information image direction columns 1220 and 1240 store the direction of the information image detected by the information image detection module 120. These are a set, which is a history of past detection results.

情報画像解析位置決定モジュール140は、情報画像検出モジュール120、情報画像検出状態記憶モジュール130と接続されている。情報画像解析位置決定モジュール140は、情報画像検出モジュール120から制御され、情報画像検出状態記憶モジュール130から直前に検出した情報画像の画像内における位置を取り出し、その位置に基づいて、画像受付モジュール110によって受け付けられた対象としている画像内にある情報画像を検出するための第1の位置を決定する。ここで、「その位置に基づいて」とは、例えば、その位置を第1の位置に決定することを含む。その決定した第1の位置を情報画像検出モジュール120に渡す。
一連の原稿の画像を連続して取り込むような場合にあっては、情報画像も各画像内で同じ位置にある場合が多いので、このような場合に、無駄な領域を検出することなく、情報画像を検出するためである。
そして、情報画像解析位置決定モジュール140は、情報画像検出モジュール120が第1の位置で情報画像を検出できなかった場合は、その第1の位置を除いて、予め定められた順番で情報画像を検出するための第2の位置を決定する。例えば、予め定められた順番として、前述のように1→2→3→4とし、第1の位置(つまり、直前の原稿で情報画像を検出した位置)が3である場合は、その3の位置を除いた順番1→2→4で、第2の位置を決定する。そして、その決定した第2の位置を情報画像検出モジュール120に渡す。
The information image analysis position determination module 140 is connected to the information image detection module 120 and the information image detection state storage module 130. The information image analysis position determination module 140 is controlled by the information image detection module 120, extracts the position in the image of the information image detected immediately before from the information image detection state storage module 130, and based on the position, the image reception module 110. The first position for detecting the information image in the target image accepted by is determined. Here, “based on the position” includes, for example, determining the position as the first position. The determined first position is passed to the information image detection module 120.
When images of a series of documents are continuously captured, information images are often located at the same position in each image. In such a case, information is not detected without detecting a useless area. This is to detect an image.
Then, when the information image detection module 120 cannot detect the information image at the first position, the information image analysis position determination module 140 extracts the information images in a predetermined order except for the first position. A second position for detection is determined. For example, if the predetermined order is 1 → 2 → 3 → 4 as described above, and the first position (that is, the position where the information image is detected in the immediately preceding document) is 3, The second position is determined in order 1 → 2 → 4 excluding the position. Then, the determined second position is passed to the information image detection module 120.

また、情報画像解析位置決定モジュール140は、情報画像の位置の他に情報画像の方向も決定するようにしてもよい。つまり、情報画像解析位置決定モジュール140は、さらに、直前に検出した情報画像の画像内における方向に基づいて、画像受付モジュール110によって受け付けられた対象としている画像内にある情報画像を検出するための第1の方向を決定する。
そして、情報画像解析位置決定モジュール140は、情報画像検出モジュール120が第1の位置と第1の方向で情報画像を検出できなかった場合は、その第1の位置と第1の方向の組み合わせを除いて、予め定められた順番で情報画像を検出するための第2の位置と第2の方向の組み合わせを決定する。例えば、予め定められた順番として、前述のように1の上方向310→1の右方向320→1の下方向330→1の左方向340→2の上方向310→2の右方向320→2の下方向330→2の左方向340→3の上方向310→3の右方向320→3の下方向330→3の左方向340→4の上方向310→4の右方向320→4の下方向330→4の左方向340とし、第1の位置(つまり、直前の原稿で情報画像を検出した位置)が3で第1の方向が上方向である場合は、その3の上方向310を除いた順番で、第2の位置を決定する。そして、その決定した第2の位置を情報画像検出モジュール120に渡す。また、予め定められた順番として、次のような規則にしたがった順番であってもよい。例えば、第1の位置を優先した順番としてもよく、前述の例では、3の右方向320→3の下方向330→3の左方向340→4の上方向310→4の右方向320→4の下方向330→4の左方向340→1の上方向310→1の右方向320→1の下方向330→1の左方向340→2の上方向310→2の右方向320→2の下方向330→2の左方向340となる。また、他の規則として、第1の方向を優先した順番としてもよく、前述の例では、1の上方向310→2の上方向310→4の上方向310→1の右方向320→2の右方向320→3の右方向320→4の右方向320→1の下方向330→2の下方向330→3の下方向330→4の下方向330→1の左方向340→2の左方向340→3の左方向340→4の左方向340となる。
Further, the information image analysis position determination module 140 may determine the direction of the information image in addition to the position of the information image. That is, the information image analysis position determination module 140 further detects an information image in the target image received by the image reception module 110 based on the direction in the image of the information image detected immediately before. A first direction is determined.
Then, when the information image detection module 120 cannot detect the information image at the first position and the first direction, the information image analysis position determination module 140 determines a combination of the first position and the first direction. Except, the combination of the second position and the second direction for detecting the information image is determined in a predetermined order. For example, as described above, as described above, 1 upward direction 310 → 1 right direction 320 → 1 downward direction 330 → 1 left direction 340 → 2 upward direction 310 → 2 right direction 320 → 2 Down direction 330 → Left direction 340 → 3 Up direction 310 → 3 Right direction 320 → 3 Down direction 330 → 3 Left direction 340 → 4 Up direction 310 → 4 Right direction 320 → 4 Below When the first position (that is, the position where the information image is detected in the immediately preceding document) is 3 and the first direction is the upward direction, the upward direction 310 is set to the left direction 340 of the direction 330 → 4. The second position is determined in the removed order. Then, the determined second position is passed to the information image detection module 120. Moreover, the order according to the following rules may be sufficient as a predetermined order. For example, the first position may be given priority, and in the above-described example, the right direction 320 → 3 in the right direction 320 → 3, the down direction 330 → 3, the left direction 340 → 3, the up direction 310 → 4, and the right direction 320 → 4. Downward direction 330 → 4 Left direction 340 → 1 Up direction 310 → 1 Right direction 320 → 1 Down direction 330 → 1 Left direction 340 → 2 Up direction 310 → 2 Right direction 320 → 2 Down The direction 330 → 2 is the left direction 340. As another rule, the order in which the first direction is given priority may be used. In the above example, the upper direction 310 → the upper direction 310 → the upper direction 310 → the upper direction 310 → the right direction 320 → 2 Right direction 320 → 3 right direction 320 → 4 right direction 320 → 1 down direction 330 → 2 down direction 330 → 3 down direction 330 → 4 down direction 330 → 1 left direction 340 → 2 left direction 340 → 3, left direction 340 → 4, left direction 340.

情報画像検出モジュール120は、画像受付モジュール110、情報画像検出状態記憶モジュール130、情報画像解析位置決定モジュール140、情報画像解析モジュール150と接続されている。情報画像検出モジュール120は、情報画像解析位置決定モジュール140によって決定された第1の位置に基づいて、情報画像を検出する。そして、第1の位置で情報画像を検出できなかった場合は、情報画像解析位置決定モジュール140によって決定された第2の位置で情報画像を検出する。検出できた場合は、その検出位置を情報画像検出状態情報として情報画像検出状態記憶モジュール130に記憶させる。
また、情報画像検出モジュール120は、情報画像解析位置決定モジュール140によって決定された情報画像の位置と情報画像の方向に基づいて、情報画像を検出するようにしてもよい。そして、第1の位置と第1の方向で情報画像を検出できなかった場合は、情報画像解析位置決定モジュール140によって決定された第2の位置と第2の方向で情報画像を検出する。検出できた場合は、その検出位置と方向を情報画像検出状態情報として情報画像検出状態記憶モジュール130に記憶させる。
The information image detection module 120 is connected to the image reception module 110, the information image detection state storage module 130, the information image analysis position determination module 140, and the information image analysis module 150. The information image detection module 120 detects an information image based on the first position determined by the information image analysis position determination module 140. If the information image cannot be detected at the first position, the information image is detected at the second position determined by the information image analysis position determination module 140. If it can be detected, the detected position is stored in the information image detection state storage module 130 as information image detection state information.
The information image detection module 120 may detect the information image based on the position of the information image and the direction of the information image determined by the information image analysis position determination module 140. If the information image cannot be detected at the first position and the first direction, the information image is detected at the second position and the second direction determined by the information image analysis position determination module 140. If detected, the detected position and direction are stored in the information image detection state storage module 130 as information image detection state information.

情報画像解析モジュール150は、情報画像検出モジュール120、解析結果出力モジュール160と接続されている。情報画像解析モジュール150は、情報画像検出モジュール120によって検出された情報画像を解析する。つまり、情報画像をデコードしてその情報画像内に埋め込まれている電子データを取り出す。その解析結果である電子データを解析結果出力モジュール160に渡す。   The information image analysis module 150 is connected to the information image detection module 120 and the analysis result output module 160. The information image analysis module 150 analyzes the information image detected by the information image detection module 120. That is, the information image is decoded to extract electronic data embedded in the information image. The electronic data that is the analysis result is passed to the analysis result output module 160.

解析結果出力モジュール160は、情報画像解析モジュール150、解析結果記憶モジュール170と接続されている。解析結果出力モジュール160は、情報画像解析モジュール150による解析結果である情報を出力する。解析結果を出力するとは、例えば、文書データベース等の記憶装置へ書き込むこと、メモリーカード等の記憶媒体に記憶すること、他の情報処理装置へ渡すこと等が含まれる。ここでは、解析結果記憶モジュール170に記憶させることを例示する。
解析結果記憶モジュール170は、解析結果出力モジュール160と接続されており、解析結果である電子データを対象としている画像と対応付けて記憶する。この後、他の情報処理装置が電子データの内容にしたがって、対応している画像を処理する。例えば、電子データの内容として、その画像の格納先が指示されている場合は、その画像をその格納先に記憶させるような処理を行う。
The analysis result output module 160 is connected to the information image analysis module 150 and the analysis result storage module 170. The analysis result output module 160 outputs information that is an analysis result by the information image analysis module 150. Outputting the analysis result includes, for example, writing to a storage device such as a document database, storing it in a storage medium such as a memory card, and passing it to another information processing device. Here, an example of storing in the analysis result storage module 170 is illustrated.
The analysis result storage module 170 is connected to the analysis result output module 160 and stores the electronic data that is the analysis result in association with the target image. Thereafter, another information processing apparatus processes the corresponding image according to the contents of the electronic data. For example, when the storage location of the image is instructed as the contents of the electronic data, processing is performed to store the image in the storage location.

なお、第1の実施の形態を例とした発明を以下のように把握してもよい。
画像を受け付ける受付手段と、直前に検出した情報画像の画像内における位置に基づいて、前記受付手段によって受け付けられた対象としている画像内にある情報画像を検出するための第1の位置を決定する決定手段と、前記決定手段によって決定された第1の位置に基づいて、情報画像を検出する検出手段と、前記検出手段によって検出された情報画像を解析する解析手段と、前記解析手段による解析結果である情報を出力する出力手段を具備し、前記決定手段は、前記検出手段が第1の位置で情報画像を検出できなかった場合は、該第1の位置を除いて、予め定められた順番で情報画像を検出するための第2の位置を決定し、前記検出手段は、前記決定手段によって決定された第2の位置で情報画像を検出することを特徴とする画像処理装置。
The invention taking the first embodiment as an example may be grasped as follows.
A first position for detecting an information image in the target image received by the receiving means is determined based on the receiving means for receiving the image and the position of the information image detected immediately before in the image. A determination unit; a detection unit that detects an information image based on the first position determined by the determination unit; an analysis unit that analyzes the information image detected by the detection unit; and an analysis result by the analysis unit Output means for outputting the information, and the determining means, when the detecting means cannot detect the information image at the first position, except for the first position, a predetermined order. And determining a second position for detecting the information image, and the detecting means detects the information image at the second position determined by the determining means. Location.

図5は、第1の実施の形態による処理例(情報画像の方向は用いずに、情報画像の位置を用いる例)を示すフローチャートである。このフローチャートを図4に例示している処理例を用いて説明する。図4は、第1の実施の形態による処理例を示す説明図である。図4の例は、図2を用いて前述した例と同等であるが、画像データ400cを対象としている画像(nページ目の画像)とし、画像データ400bを直前に処理した画像(n−1ページ目の画像)として説明する。   FIG. 5 is a flowchart illustrating a processing example according to the first embodiment (an example in which the position of the information image is used without using the direction of the information image). This flowchart will be described using the processing example illustrated in FIG. FIG. 4 is an explanatory diagram illustrating a processing example according to the first exemplary embodiment. The example of FIG. 4 is equivalent to the example described above with reference to FIG. 2, but the image (400th page image) is the target image data 400c and the image data 400b processed immediately before (n−1). This will be described as an image of the page.

処理例の概略を説明する。
情報画像検出状態記憶モジュール130は、画像データ400b(n−1ページ目の画像)までの情報画像検出状態情報を記憶しておく。
情報画像検出モジュール120は、現在の処理対象である画像データ400c(nページ目の画像)のデコードに当たり、直前の画像データ400bの情報画像検出状態情報を参照して、情報画像が検出されていたら、検出された位置(図4の例では4(情報画像描画領域440b))に対応する位置(図4の例では4(情報画像描画領域440c))に対して1番目の検出処理を行う。
情報画像が検出できなかった場合、その位置(図4の例では(情報画像描画領域440c))を除いて、予め定められた順番で2番目以降の検出処理を行う。例えば、1→2→3(図4の例では、情報画像描画領域410c→情報画像描画領域420c→情報画像描画領域430c)の順番に検出処理を行う。
情報画像が検出できた場合、情報画像検出状態情報を情報画像検出状態記憶モジュール130に記憶させ、情報画像解析モジュール150は情報画像をデコードし、次ページの画像データに処理を移す。
An outline of the processing example will be described.
The information image detection state storage module 130 stores information image detection state information up to the image data 400b (the image of the (n-1) th page).
The information image detection module 120 refers to the information image detection state information of the immediately preceding image data 400b when decoding the image data 400c (the nth page image) that is the current processing target, and if the information image is detected. The first detection processing is performed on the position (4 (information image drawing area 440c) in the example of FIG. 4) corresponding to the detected position (4 (information image drawing area 440b) in the example of FIG. 4).
When the information image cannot be detected, the second and subsequent detection processes are performed in a predetermined order except for the position (in the example of FIG. 4, (information image drawing area 440c)). For example, the detection process is performed in the order of 1 → 2 → 3 (in the example of FIG. 4, the information image drawing area 410c → the information image drawing area 420c → the information image drawing area 430c).
When the information image can be detected, the information image detection state information is stored in the information image detection state storage module 130, and the information image analysis module 150 decodes the information image and moves the processing to the image data of the next page.

ステップS502では、画像受付モジュール110は、画像データを取得する。
ステップS504では、情報画像検出モジュール120による制御によって、情報画像解析位置決定モジュール140が情報画像検出状態記憶モジュール130にアクセスして、直前の情報画像検出状態情報を取得できたか否かを判断し、取得できた場合(対象としている画像が2ページ目以降の場合)はステップS508へ進み、それ以外の場合(対象としている画像が1ページ目の場合)はステップS506へ進む。
ステップS506では、情報画像解析位置決定モジュール140が予め定められた位置を1番目の検出位置に設定し、情報画像検出モジュール120が検出処理をする。
ステップS508では、情報画像解析位置決定モジュール140が取得した情報画像検出位置を1番目の検出位置に設定し、情報画像検出モジュール120が検出処理をする。
In step S502, the image reception module 110 acquires image data.
In step S504, under the control of the information image detection module 120, the information image analysis position determination module 140 accesses the information image detection state storage module 130 to determine whether or not the previous information image detection state information has been acquired. If it can be acquired (when the target image is the second page and thereafter), the process proceeds to step S508. Otherwise (when the target image is the first page), the process proceeds to step S506.
In step S506, the information image analysis position determination module 140 sets a predetermined position as the first detection position, and the information image detection module 120 performs detection processing.
In step S508, the information image detection position acquired by the information image analysis position determination module 140 is set as the first detection position, and the information image detection module 120 performs detection processing.

ステップS510では、情報画像検出モジュール120が情報画像を検出したか否かを判断し、検出した場合はステップS518へ進み、それ以外の場合はステップS512へ進む。
ステップS512では、情報画像解析位置決定モジュール140が(検出処理した場所を除く)予め定められた位置を検出位置に設定し、情報画像検出モジュール120が検出処理する。
ステップS514では、情報画像検出モジュール120が情報画像を検出したか否かを判断し、検出した場合はステップS518へ進み、それ以外の場合はステップS516へ進む。
ステップS516では、情報画像検出モジュール120がその画像内の全ての位置で検出処理をしたか否かを判断し、全ての位置で検出処理した場合はステップS518へ進み、それ以外の場合はステップS512からの処理を行う。
In step S510, it is determined whether or not the information image detection module 120 has detected an information image. If detected, the process proceeds to step S518. Otherwise, the process proceeds to step S512.
In step S512, the information image analysis position determination module 140 sets a predetermined position (excluding the place where detection processing is performed) as the detection position, and the information image detection module 120 performs detection processing.
In step S514, it is determined whether or not the information image detection module 120 has detected an information image. If detected, the process proceeds to step S518. Otherwise, the process proceeds to step S516.
In step S516, the information image detection module 120 determines whether or not detection processing has been performed at all positions in the image. If detection processing has been performed at all positions, the process proceeds to step S518. Otherwise, step S512 is performed. Process from.

ステップS518では、情報画像解析モジュール150がデコード処理を行う。
ステップS520では、解析結果出力モジュール160がデコード結果(状態)を解析結果記憶モジュール170に記憶する。
ステップS522では、情報画像解析モジュール150が全ての画像データを解析したか否かを判断し、全ての画像データを解析した場合は処理を終了し(ステップS599)、それ以外の場合はステップS502からの処理を繰り返す。
In step S518, the information image analysis module 150 performs a decoding process.
In step S520, the analysis result output module 160 stores the decoding result (state) in the analysis result storage module 170.
In step S522, it is determined whether or not the information image analysis module 150 has analyzed all the image data. If all the image data has been analyzed, the process ends (step S599). Otherwise, the process starts from step S502. Repeat the process.

<第2の実施の形態>
第2の実施の形態のモジュール構成例は、図1に示す第1の実施の形態のモジュール構成と同等である。なお、前述の実施の形態と同等の作用、働きを有するモジュールについては重複した説明を省略する。
<Second Embodiment>
The module configuration example of the second embodiment is equivalent to the module configuration of the first embodiment shown in FIG. Note that a duplicate description of modules having the same functions and functions as those of the above-described embodiment is omitted.

情報画像解析位置決定モジュール140は、情報画像検出モジュール120、情報画像検出状態記憶モジュール130と接続されている。情報画像解析位置決定モジュール140は、情報画像検出モジュール120から制御され、情報画像検出状態記憶モジュール130から直前に検出した情報画像の画像内における位置を取り出し、その位置に基づいて、画像受付モジュール110によって受け付けられた対象としている画像内にある情報画像を検出するための第1の位置を決定する。その決定した第1の位置を情報画像検出モジュール120に渡す。   The information image analysis position determination module 140 is connected to the information image detection module 120 and the information image detection state storage module 130. The information image analysis position determination module 140 is controlled by the information image detection module 120, extracts the position in the image of the information image detected immediately before from the information image detection state storage module 130, and based on the position, the image reception module 110. The first position for detecting the information image in the target image accepted by is determined. The determined first position is passed to the information image detection module 120.

そして、情報画像解析位置決定モジュール140は、情報画像検出モジュール120が第1の位置で情報画像を検出できなかった場合は、その第1の位置とは対象としている画像内において反対側にある第2の位置を、情報画像を検出する位置として決定する。そして、その決定した第2の位置を情報画像検出モジュール120に渡す。「第1の位置とは対象としている画像内において反対側にある第2の位置」とは、その画像の中心に対して対称の位置にあることをいい、具体的には、図6の画像データ600dの例を用いて説明すると、第1の位置が情報画像描画領域640dの場合は、情報画像描画領域620dである。原稿の上下が誤って設定された場合に対処するためである。   Then, when the information image detection module 120 cannot detect the information image at the first position, the information image analysis position determination module 140 is located on the side opposite to the first position in the target image. The position 2 is determined as a position for detecting the information image. Then, the determined second position is passed to the information image detection module 120. The “second position opposite to the first position in the target image” means that the position is symmetrical with respect to the center of the image. Specifically, the image in FIG. To explain using the example of the data 600d, when the first position is the information image drawing area 640d, it is the information image drawing area 620d. This is to cope with a case where the upper and lower sides of the document are set incorrectly.

また、情報画像解析位置決定モジュール140は、情報画像検出モジュール120が第1の位置で情報画像を検出できなかった場合であって、既に検出した情報画像の画像内における位置が異ならない場合は、第1の位置とは対象としている画像内において反対側にある第2の位置を、情報画像を検出する位置として決定するようにしてもよい。そして、その決定した第2の位置を情報画像検出モジュール120に渡す。前述の情報画像解析位置決定モジュール140において、条件として「既に検出した情報画像の画像内における位置が異ならない場合」を追加させたものである。ここで、「既に検出した情報画像の画像内における位置が異ならない場合」とは、直前の画像から予め定められた数の画像に対して行った情報画像の検出結果である情報画像検出状態情報群(検出履歴)を参照して、その検出結果の情報画像の位置が異ならない場合(同じものが予め定められた割合(ここでの割合の分母は前述の予め定められた数であり、分子は情報画像の位置が同じものの数である)以上である場合、全て同じ場合を含む。以下、同様)をいう。   The information image analysis position determination module 140 is a case where the information image detection module 120 cannot detect the information image at the first position, and the position of the already detected information image in the image is not different. You may make it determine the 2nd position on the opposite side in the image made into object as a 1st position as a position which detects an information image. Then, the determined second position is passed to the information image detection module 120. In the information image analysis position determination module 140 described above, “when the position of the already detected information image in the image is not different” is added as a condition. Here, “when the position of the already detected information image in the image is not different” means information image detection state information that is a detection result of the information image performed on a predetermined number of images from the immediately preceding image. When the position of the information image of the detection result is not different with reference to the group (detection history) (the same is a predetermined ratio (the denominator of the ratio here is the above-mentioned predetermined number and the numerator Is the number of information images having the same position), and the case where all of the information images are the same includes the same case.

また、情報画像解析位置決定モジュール140は、情報画像検出モジュール120から制御され、情報画像検出状態記憶モジュール130から直前に検出した情報画像の画像内における位置と方向を取り出し、その位置と方向に基づいて、画像受付モジュール110によって受け付けられた対象としている画像内にある情報画像を検出するための第1の位置と第1の方向を決定する。その決定した第1の位置と第1の方向を情報画像検出モジュール120に渡す。
そして、情報画像解析位置決定モジュール140は、情報画像検出モジュール120が第1の位置と第1の方向で情報画像を検出できなかった場合は、その第1の位置とは対象としている画像内において反対側にある第2の位置を、情報画像を検出する位置として決定し、その第1の方向とは逆の方向である第2の方向を、情報画像を検出する方向として決定する。また、情報画像検出モジュール120が第1の位置と第1の方向で情報画像を検出できなかった場合は、その第1の位置とは対象としている画像内において反対側にある第2の位置を、情報画像を検出する位置として決定し、その第1の方向をそのまま第2の方向として決定してもよい。また、情報画像検出モジュール120が第1の位置と第1の方向で情報画像を検出できなかった場合は、その第1の位置をそのまま第2の位置として決定し、その第1の方向とは逆の方向である第2の方向を、情報画像を検出する方向として決定してもよい。そして、その決定した第2の位置と第2の方向を情報画像検出モジュール120に渡す。「第1の方向とは逆の方向」とは、その情報画像を180度回転した方向をいい、具体的には、図3の情報画像300の例を用いて説明すると、第1の方向が上方向310の場合は、下方向330である。上下を誤って設定された場合に対処するためである。
The information image analysis position determination module 140 is controlled by the information image detection module 120, extracts the position and direction in the image of the information image detected immediately before from the information image detection state storage module 130, and based on the position and direction. Thus, the first position and the first direction for detecting the information image in the target image received by the image receiving module 110 are determined. The determined first position and first direction are passed to the information image detection module 120.
Then, when the information image detection module 120 cannot detect the information image in the first position and the first direction, the information image analysis position determination module 140 determines that the first position is within the target image. The second position on the opposite side is determined as the position for detecting the information image, and the second direction, which is the opposite direction to the first direction, is determined as the direction for detecting the information image. In addition, when the information image detection module 120 cannot detect the information image in the first position and the first direction, the second position on the opposite side in the target image from the first position is determined. The position where the information image is detected may be determined, and the first direction may be determined as it is as the second direction. When the information image detection module 120 cannot detect the information image at the first position and the first direction, the first position is determined as it is as the second position, and the first direction is The second direction that is the opposite direction may be determined as the direction in which the information image is detected. Then, the determined second position and second direction are passed to the information image detection module 120. The “direction opposite to the first direction” refers to a direction obtained by rotating the information image by 180 degrees. Specifically, when the description is given using the example of the information image 300 in FIG. The upward direction 310 is the downward direction 330. This is to cope with a case where the upper and lower sides are set incorrectly.

また、情報画像解析位置決定モジュール140は、情報画像検出モジュール120が第1の位置で情報画像を検出できなかった場合であって、既に検出した情報画像の画像内における位置と方向が異ならない場合は、第2の位置と方向を、情報画像を検出する位置と方向として決定するようにしてもよい。そして、その決定した第2の位置を情報画像検出モジュール120に渡す。前述の情報画像解析位置決定モジュール140において、条件として「既に検出した情報画像の画像内における位置と方向が異ならない場合」を追加させたものである。ここで、「既に検出した情報画像の画像内における位置と方向が異ならない場合」とは、直前の画像から予め定められた数の画像に対して行った情報画像の検出結果である情報画像検出状態情報群(検出履歴)を参照して、その検出結果の情報画像の位置と方向の組み合わせが異ならない場合をいう。   The information image analysis position determination module 140 is a case where the information image detection module 120 cannot detect the information image at the first position, and the position and direction of the already detected information image in the image are not different. The second position and direction may be determined as the position and direction for detecting the information image. Then, the determined second position is passed to the information image detection module 120. In the information image analysis position determination module 140 described above, “when the position and direction of the already detected information image in the image are not different” is added as a condition. Here, “when the position and direction of an already detected information image in the image are not different” means information image detection that is a detection result of an information image performed on a predetermined number of images from the immediately preceding image. This refers to a case where the combination of the position and direction of the information image of the detection result is not different with reference to the state information group (detection history).

図7は、第2の実施の形態による処理例を示すフローチャートである。このフローチャートを図6に例示している処理例を用いて説明する。図6は、第2の実施の形態による処理例を示す説明図である。図6の例は、図2を用いて前述した例と同等であるが、画像データ600dを対象としている画像(nページ目の画像)とし、画像データ600cを直前に処理した画像(n−1ページ目の画像)として説明する。   FIG. 7 is a flowchart illustrating a processing example according to the second exemplary embodiment. This flowchart will be described using the processing example illustrated in FIG. FIG. 6 is an explanatory diagram illustrating a processing example according to the second exemplary embodiment. The example of FIG. 6 is equivalent to the example described above with reference to FIG. 2, but the image (600th page image) is the image (600th page image) and the image data 600c is processed immediately before (n−1). This will be described as an image of the page.

処理例の概略を説明する。
情報画像検出状態記憶モジュール130は、画像データ600c(n−1ページ目の画像)までの情報画像検出状態情報を記憶しておく。
情報画像検出モジュール120は、現在の処理対象である画像データ600d(nページ目の画像)のデコードに当たり、直前の画像データ600cの情報画像検出状態情報を参照して、情報画像が検出されていたら、検出された位置(図6の例では4(情報画像描画領域640c))に対応する位置(図6の例では4(情報画像描画領域640d))に対して1番目の検出処理を行う。
情報画像が検出できなかった場合、直前の画像データ600cから予め定められたページ数分の画像データ600bまで遡った検出履歴を参照し、情報画像の検出位置と方向を取り出す。
そして、取り出した情報画像の検出位置と方向が予め定められた割合以上(例えば、全て)同じ場合に、1番目に解析した位置(図6の例では4(情報画像描画領域640d))に対して、画像データ600dの中心位置650と反対側に存在する位置(図6の例では2(情報画像描画領域620d))に対して2番目の検出処理を行う。
2番目の検出処理でも情報画像を検出できなかった場合は、1番目、2番目の位置を除いた予め定められた順番で3番目以降の解析を行う。例えば、図6の例では、1(情報画像描画領域610d)→3(情報画像描画領域630d)の順番とする。
取り出した情報画像の検出位置と方向が予め定められた割合以上同じではない場合(例えば、1つでも異なる場合)に、1番目に解析した位置(図6の例では4(情報画像描画領域640d))を除いた予め定められた順番で2番目以降の検出処理を行う。例えば、図6の例では、1(情報画像描画領域610d)→2(情報画像描画領域620d)→3(情報画像描画領域630d)の順番とする。
いずれかの処理で情報画像が検出できた場合、情報画像検出状態情報を情報画像検出状態記憶モジュール130に記憶させ、情報画像解析モジュール150は情報画像をデコードし、次ページの画像データに処理を移す。
An outline of the processing example will be described.
The information image detection state storage module 130 stores information image detection state information up to image data 600c (image of the (n-1) th page).
The information image detection module 120 refers to the information image detection state information of the immediately preceding image data 600c when decoding the image data 600d (the nth page image) that is the current processing target, and if the information image is detected. The first detection processing is performed on the position (4 (information image drawing area 640d) in the example of FIG. 6) corresponding to the detected position (4 (information image drawing area 640c) in the example of FIG. 6).
When the information image cannot be detected, the detection position and direction of the information image are extracted by referring to the detection history that goes back from the immediately preceding image data 600c to the predetermined number of pages of image data 600b.
Then, when the detected position and direction of the extracted information image are equal to or greater than a predetermined ratio (for example, all), with respect to the first analyzed position (4 (information image drawing area 640d) in the example of FIG. 6). Thus, the second detection process is performed on the position (2 (information image drawing area 620d) in the example of FIG. 6) that is on the opposite side of the center position 650 of the image data 600d.
If the information image cannot be detected even in the second detection process, the third and subsequent analyzes are performed in a predetermined order excluding the first and second positions. For example, in the example of FIG. 6, the order is 1 (information image drawing area 610d) → 3 (information image drawing area 630d).
When the detected position and direction of the extracted information image are not the same for a predetermined ratio (for example, even if one differs), the first analyzed position (4 (information image drawing area 640d in the example of FIG. 6)). )), The second and subsequent detection processes are performed in a predetermined order. For example, in the example of FIG. 6, the order is 1 (information image drawing area 610d) → 2 (information image drawing area 620d) → 3 (information image drawing area 630d).
When the information image is detected by any of the processes, the information image detection state information is stored in the information image detection state storage module 130, and the information image analysis module 150 decodes the information image and processes the image data of the next page. Move.

ステップS702では、画像受付モジュール110は、画像データを取得する。
ステップS704では、情報画像検出モジュール120による制御によって、情報画像解析位置決定モジュール140が情報画像検出状態記憶モジュール130にアクセスして、直前の情報画像検出状態情報を取得できたか否かを判断し、取得できた場合(対象としている画像が2ページ目以降の場合)はステップS708へ進み、それ以外の場合(対象としている画像が1ページ目の場合)はステップS706へ進む。
ステップS706では、情報画像解析位置決定モジュール140が予め定められた位置を1番目の検出位置に設定し、情報画像検出モジュール120が検出処理をする。
ステップS708では、情報画像解析位置決定モジュール140が取得した情報画像検出位置を1番目の検出位置に設定し、情報画像検出モジュール120が検出処理をする。
In step S702, the image reception module 110 acquires image data.
In step S704, under the control of the information image detection module 120, the information image analysis position determination module 140 accesses the information image detection state storage module 130 to determine whether or not the previous information image detection state information has been acquired. If it can be obtained (when the target image is the second page and thereafter), the process proceeds to step S708. Otherwise (when the target image is the first page), the process proceeds to step S706.
In step S706, the information image analysis position determination module 140 sets a predetermined position as the first detection position, and the information image detection module 120 performs detection processing.
In step S708, the information image detection position acquired by the information image analysis position determination module 140 is set as the first detection position, and the information image detection module 120 performs detection processing.

ステップS710では、情報画像検出モジュール120が情報画像を検出したか否かを判断し、検出した場合はステップS724へ進み、それ以外の場合はステップS712へ進む。
ステップS712では、情報画像解析位置決定モジュール140が情報画像検出状態記憶モジュール130を用いて、直前のページから予め定められたページ遡った検出履歴を参照し、情報画像の検出位置と情報画像の方向を読み出す。
ステップS714では、情報画像解析位置決定モジュール140が予め定められたページ遡った検出履歴で、情報画像の検出位置と情報画像の方向が全て同じか否かを判断し、全て同じである場合はステップS718へ進み、それ以外の場合はステップS716へ進む。なお、全て同じか否かの判断ではなく、予め定められた割合以上であるか否かを判断するようにしてもよい。
In step S710, it is determined whether or not the information image detection module 120 has detected an information image. If detected, the process proceeds to step S724. Otherwise, the process proceeds to step S712.
In step S712, the information image analysis position determination module 140 uses the information image detection state storage module 130 to refer to a detection history that is a predetermined page back from the previous page, and detects the detection position of the information image and the direction of the information image. Is read.
In step S714, the information image analysis position determination module 140 determines whether or not the detection position of the information image and the direction of the information image are all the same based on a detection history retroactive to the page, and if all are the same, step S714 is performed. Proceed to S718, otherwise proceed to step S716. In addition, you may make it judge whether it is more than a predetermined ratio instead of judgment whether all are the same.

ステップS716では、情報画像解析位置決定モジュール140が1番目に検出処理した位置を除いた予め定められた順番で検出すべき位置と方向を決定し、情報画像検出モジュール120が2番目以降を検出処理する。
ステップS718では、情報画像解析位置決定モジュール140が1番目に検出処理した位置に対して、ページの中心と反対側に存在する位置を決定し、情報画像検出モジュール120がその位置を2番目に検出処理する。なお、その位置における情報画像の方向として、1番目に検出処理した方向の逆の方向を決定する。そして、情報画像検出モジュール120が、決定された位置と方向を用いて情報画像を検出する。
ステップS720では、情報画像検出モジュール120が情報画像を検出したか否かを判断し、検出した場合はステップS724へ進み、それ以外の場合はステップS722へ進む。
ステップS722では、情報画像解析位置決定モジュール140が1番目、2番目に検出処理した位置を除いた予め定められた順番で検出すべき位置と方向を決定し、情報画像検出モジュール120が3番目以降を検出処理する。
In step S716, the position and direction to be detected are determined in a predetermined order excluding the position first detected by the information image analysis position determination module 140, and the information image detection module 120 performs the second and subsequent detection processing. To do.
In step S718, the information image analysis position determination module 140 determines a position that exists on the opposite side of the center of the page with respect to the position detected first, and the information image detection module 120 detects the position second. To process. Note that, as the direction of the information image at that position, a direction opposite to the direction of the first detection processing is determined. Then, the information image detection module 120 detects an information image using the determined position and direction.
In step S720, it is determined whether or not the information image detection module 120 has detected an information image. If detected, the process proceeds to step S724. Otherwise, the process proceeds to step S722.
In step S722, the information image analysis position determination module 140 determines the position and direction to be detected in a predetermined order excluding the first and second detection processed positions, and the information image detection module 120 performs the third and subsequent steps. Is detected.

ステップS724では、情報画像解析モジュール150がデコード処理を行う。
ステップS726では、解析結果出力モジュール160がデコード結果(状態)を解析結果記憶モジュール170に記憶する。
ステップS728では、情報画像解析モジュール150が全ての画像データを解析したか否かを判断し、全ての画像データを解析した場合は処理を終了し(ステップS799)、それ以外の場合はステップS702からの処理を繰り返す。
なお、ステップS706、ステップS708では、情報画像の位置と方向を用いて、情報画像を検出するようにしてもよい。
また、ステップS712、ステップS714、ステップS716の処理は省略してもよい。つまり、ステップS710でNoの場合は、ステップS718の処理へ移ってもよい。
また、図7に例示したフローチャートは、情報画像の位置と方向を対象とした処理を行っているが、情報画像の位置だけを対象とした処理を行うようにしてもよい。
In step S724, the information image analysis module 150 performs a decoding process.
In step S726, the analysis result output module 160 stores the decoding result (state) in the analysis result storage module 170.
In step S728, it is determined whether or not the information image analysis module 150 has analyzed all the image data. If all the image data has been analyzed, the process ends (step S799). Otherwise, the process starts from step S702. Repeat the process.
In step S706 and step S708, the information image may be detected using the position and direction of the information image.
Further, the processing of step S712, step S714, and step S716 may be omitted. That is, if No in step S710, the process may move to step S718.
In the flowchart illustrated in FIG. 7, the process for the position and direction of the information image is performed. However, the process for only the position of the information image may be performed.

<第3の実施の形態>
第3の実施の形態のモジュール構成例は、図1に示す第1の実施の形態のモジュール構成と同等である。なお、前述の実施の形態と同等の作用、働きを有するモジュールについては重複した説明を省略する。
<Third Embodiment>
The module configuration example of the third embodiment is equivalent to the module configuration of the first embodiment shown in FIG. Note that a duplicate description of modules having the same functions and functions as those of the above-described embodiment is omitted.

情報画像解析位置決定モジュール140は、情報画像検出モジュール120、情報画像検出状態記憶モジュール130と接続されている。情報画像解析位置決定モジュール140は、情報画像検出モジュール120から制御され、情報画像検出状態記憶モジュール130から直前に検出した情報画像の画像内における位置を取り出し、その位置に基づいて、画像受付モジュール110によって受け付けられた対象としている画像内にある情報画像を検出するための第1の位置を決定する。その決定した第1の位置を情報画像検出モジュール120に渡す。
そして、情報画像解析位置決定モジュール140は、情報画像検出モジュール120が第1の位置で情報画像を検出できなかった場合であって、直前よりも前に検出した情報画像の画像内における位置が異ならない場合かつ直前に検出した情報画像の画像内における位置が異なる場合は、直前よりも前に検出した情報画像の画像内における位置を、情報画像を検出する第2の位置として決定するようにしてもよい。第2の実施の形態の情報画像解析位置決定モジュール140における処理に、条件として「直前に検出した情報画像の画像内における位置が異なる場合」を追加させたものである。ここで、「直前に検出した情報画像の画像内における位置が異なる場合」とは、直前よりも前に検出した情報画像の画像内における位置と直前に検出した情報画像の画像内における位置とを比較して、異なる場合をいう。典型的な例として、連続して画像を読み込み、そのうちに上下が逆になっている原稿が混入しており、その後の画像(つまり、上下が正常な状態である画像)を対象としている場合である。ここで、上下が逆になっている原稿の混入は、1枚であるとは限らないが、連続していない場合が多いと想定している。そして、その後の画像は、直前よりも前の画像と同じように上下が正常な状態であるので、直前よりも前の画像と同じ位置を検出するようにしているものである。
The information image analysis position determination module 140 is connected to the information image detection module 120 and the information image detection state storage module 130. The information image analysis position determination module 140 is controlled by the information image detection module 120, extracts the position in the image of the information image detected immediately before from the information image detection state storage module 130, and based on the position, the image reception module 110. The first position for detecting the information image in the target image accepted by is determined. The determined first position is passed to the information image detection module 120.
The information image analysis position determination module 140 is a case where the information image detection module 120 cannot detect the information image at the first position, and the position of the information image detected before the previous time is different. If the position of the information image detected immediately before is different in the image, the position of the information image detected before the previous time is determined as the second position for detecting the information image. Also good. In the processing in the information image analysis position determination module 140 of the second embodiment, “when the position of the information image detected immediately before is different” is added as a condition. Here, "when the position of the information image detected immediately before is different" means that the position of the information image detected before the previous time and the position of the information image detected immediately before are within the image. Compared to the different cases. A typical example is a case where images are read continuously, a document that is upside down is mixed, and the subsequent image (that is, an image in which the top and bottom are normal) is targeted. is there. Here, it is assumed that the mixing of a document that is upside down is not necessarily a single sheet, but is often not continuous. Since the subsequent image is in a normal state in the same way as the image before the previous time, the same position as the image before the previous time is detected.

情報画像解析位置決定モジュール140は、さらに、直前に検出した情報画像の画像内における位置が、直前よりも前に検出した情報画像の画像内における位置とは反対側である場合は、直前よりも前に検出した情報画像の画像内における位置を、情報画像を検出する第2の位置として決定するようにしてもよい。前述の典型的な例で示したように、1枚の原稿の上下が逆になっていることを判断に加えたものである。   The information image analysis position determination module 140 further determines that the position in the image of the information image detected immediately before is opposite to the position in the image of the information image detected before immediately before. You may make it determine the position in the image of the information image detected previously as a 2nd position which detects an information image. As shown in the above-mentioned typical example, the fact that one document is upside down is added to the judgment.

また、情報画像解析位置決定モジュール140は、情報画像検出モジュール120が第1の位置で情報画像を検出できなかった場合であって、直前よりも前に検出した情報画像の画像内における位置と方向が異ならない場合かつ直前に検出した情報画像の画像内における位置又は方向が異なる場合は、直前よりも前に検出した情報画像の画像内における位置と方向を、情報画像を検出する第2の位置と方向として決定するようにしてもよい。第2の実施の形態の情報画像解析位置決定モジュール140における処理に、条件として「直前に検出した情報画像の画像内における位置又は方向が異なる場合」を追加させたものである。ここで、「直前に検出した情報画像の画像内における位置又は方向が異なる場合」とは、直前よりも前に検出した情報画像の画像内における位置と方向の組み合わせと直前に検出した情報画像の画像内における位置と方向の組み合わせを比較して、異なる場合をいう。典型的な例として、連続して画像を読み込み、そのうちに上下が逆になっている原稿が混入しており、その後の画像(つまり、上下が正常な状態である画像)を対象としている場合である。ここで、上下が逆になっている原稿の混入は、1枚であるとは限らないが、連続していない場合が多いと想定している。そして、その後の画像は、直前よりも前の画像と同じように上下が正常な状態であるので、直前よりも前の画像と同じ位置を検出するようにしているものである。   The information image analysis position determination module 140 is a case where the information image detection module 120 cannot detect the information image at the first position, and the position and direction in the image of the information image detected before the previous time. If the position or direction in the image of the information image detected immediately before is not different, and the position or direction in the image of the information image detected immediately before is the second position for detecting the information image And the direction may be determined. In the processing in the information image analysis position determination module 140 of the second embodiment, “when the position or direction in the image of the information image detected immediately before is different” is added as a condition. Here, “when the position or direction in the image of the information image detected immediately before is different” means that the combination of the position and direction in the image of the information image detected immediately before and the information image detected immediately before A combination of position and direction in an image is compared and is different. A typical example is a case where images are read continuously, a document that is upside down is mixed, and the subsequent image (that is, an image in which the top and bottom are normal) is targeted. is there. Here, it is assumed that the mixing of a document that is upside down is not necessarily a single sheet, but is often not continuous. Since the subsequent image is in a normal state in the same way as the image before the previous time, the same position as the image before the previous time is detected.

情報画像解析位置決定モジュール140は、さらに、直前に検出した情報画像の画像内における位置が、直前よりも前に検出した情報画像の前記画像内における位置とは反対側である場合であって、直前に検出した情報画像の方向が直前よりも前に検出した情報画像の方向とは逆である場合は、直前よりも前に検出した情報画像の画像内における位置と方向を、情報画像を検出する第2の位置と方向として決定するようにしてもよい。前述の典型的な例で示したように、1枚の上下が逆になっていることを判断に加えたものである。   The information image analysis position determination module 140 is a case where the position in the image of the information image detected immediately before is opposite to the position in the image of the information image detected before immediately before, If the direction of the information image detected immediately before is the opposite of the direction of the information image detected before the previous time, the information image is detected based on the position and direction of the information image detected before the previous time in the image. The second position and direction may be determined. As shown in the above typical example, the fact that one sheet is upside down is added to the judgment.

図9は、第3の実施の形態による処理例を示すフローチャートである。このフローチャートを図8に例示している処理例を用いて説明する。図8は、第3の実施の形態による処理例を示す説明図である。図8の例は、図2を用いて前述した例と同等であるが、画像データ800dを対象としている画像(nページ目の画像)とし、画像データ800cを直前に処理した画像(n−1ページ目の画像)として説明する。   FIG. 9 is a flowchart illustrating a processing example according to the third exemplary embodiment. This flowchart will be described using the processing example illustrated in FIG. FIG. 8 is an explanatory diagram illustrating a processing example according to the third exemplary embodiment. The example of FIG. 8 is equivalent to the example described above with reference to FIG. 2, but the image (800th page image) is the image (800th page image) and the image data 800c is processed immediately before (n−1). This will be described as an image of the page.

処理例の概略を説明する。第2の実施の形態で説明した処理例の概略の後の処理である。したがって、第2の実施の形態で説明した処理例の部分は省略する。
取り出した情報画像の検出位置と方向が予め定められた割合以上同じではない場合(例えば、1つでも異なる場合)であって、n−1ページだけ情報画像の検出位置又は情報画像の方向が異なる場合は、「n−1ページの情報画像の検出位置がn−2ページまでの情報画像の検出位置に対してページの中心と反対側」、かつ、「n−1ページの情報画像の方向がn−2ページまでの情報画像の方向に対して180°回転した方向」であった場合は、n−2ページまでの情報画像の検出位置(図8の例では4(情報画像描画領域840d)を2番目に解析する。
そして、情報画像が検出できなかった場合は、1番目、2番目を除いた予め定められた順番で3番目以降の検出処理を行う。例えば、図8の例では、1(情報画像描画領域810d)→3(情報画像描画領域830d)の順番とする。また、情報画像検出状態情報を情報画像検出状態記憶モジュール130に記憶させ、情報画像解析モジュール150は情報画像をデコードし、次ページの画像データに処理を移す。
そして、取り出した情報画像の検出位置と方向が予め定められた割合以上同じではない場合であって、n−1ページだけ情報画像の検出位置又は情報画像の方向が異なる場合は、「n−1ページの情報画像の検出位置がn−2ページまでの情報画像の検出位置に対してページの中心と反対側」、かつ、「n−1ページの情報画像の方向がn−2ページまでの情報画像の方向に対して180°回転した方向」に該当しない場合は、1番目に解析した位置(図8の例では2(情報画像描画領域820d))を除いた予め定められた順番で2番目以降の解析を行う。例えば、図8の例では、1(情報画像描画領域810d)→3(情報画像描画領域830d)→4(情報画像描画領域840d)の順番とする。
An outline of the processing example will be described. This is processing subsequent to the outline of the processing example described in the second embodiment. Therefore, the processing example described in the second embodiment is omitted.
The detected position and direction of the extracted information image are not the same for a predetermined ratio or more (for example, even if one is different), and the detected position or direction of the information image is different by n-1 pages. In this case, “the detection position of the information image on page n−1 is opposite to the center of the page with respect to the detection position of information image up to page n−2”, and “the direction of the information image on page n−1 is In the case of “direction rotated by 180 ° with respect to the direction of the information image up to page n-2”, the detection position of the information image up to page n-2 (4 (information image drawing area 840d) in the example of FIG. 8) Is analyzed second.
If the information image cannot be detected, the third and subsequent detection processes are performed in a predetermined order excluding the first and second. For example, in the example of FIG. 8, the order is 1 (information image drawing area 810d) → 3 (information image drawing area 830d). Further, the information image detection state information is stored in the information image detection state storage module 130, and the information image analysis module 150 decodes the information image and moves the processing to the image data of the next page.
When the detected position and direction of the extracted information image are not the same for a predetermined ratio and the detected position of the information image or the direction of the information image differs by n−1 pages, “n−1” The information image detection position of the page is on the side opposite to the center of the page with respect to the detection position of the information image up to page n-2. If it does not correspond to the “direction rotated by 180 ° with respect to the image direction”, the second position in a predetermined order excluding the first analyzed position (2 (information image drawing area 820d) in the example of FIG. 8). Perform subsequent analysis. For example, in the example of FIG. 8, the order is 1 (information image drawing area 810d) → 3 (information image drawing area 830d) → 4 (information image drawing area 840d).

ステップS902では、画像受付モジュール110は、画像データを取得する。
ステップS904では、情報画像検出モジュール120による制御によって、情報画像解析位置決定モジュール140が情報画像検出状態記憶モジュール130にアクセスして、直前の情報画像検出状態情報を取得できたか否かを判断し、取得できた場合(対象としている画像が2ページ目以降の場合)はステップS908へ進み、それ以外の場合(対象としている画像が1ページ目の場合)はステップS906へ進む。
ステップS906では、情報画像解析位置決定モジュール140が予め定められた位置を1番目の検出位置に設定し、情報画像検出モジュール120が検出処理をする。
ステップS908では、情報画像解析位置決定モジュール140が取得した情報画像検出位置を1番目の検出位置に設定し、情報画像検出モジュール120が検出処理をする。
In step S902, the image reception module 110 acquires image data.
In step S904, under the control of the information image detection module 120, the information image analysis position determination module 140 accesses the information image detection state storage module 130 to determine whether or not the previous information image detection state information has been acquired. If it can be acquired (when the target image is the second page and thereafter), the process proceeds to step S908. Otherwise (when the target image is the first page), the process proceeds to step S906.
In step S906, the information image analysis position determination module 140 sets a predetermined position as the first detection position, and the information image detection module 120 performs detection processing.
In step S908, the information image detection position acquired by the information image analysis position determination module 140 is set as the first detection position, and the information image detection module 120 performs detection processing.

ステップS910では、情報画像検出モジュール120が情報画像を検出したか否かを判断し、検出した場合はステップS934へ進み、それ以外の場合はステップS912へ進む。
ステップS912では、情報画像解析位置決定モジュール140が情報画像検出状態記憶モジュール130を用いて、直前のページから予め定められたページ遡った検出履歴を参照し、情報画像検出位置と情報画像方向を読み出す。
ステップS914では、情報画像解析位置決定モジュール140が予め定められたページ遡った検出履歴で、情報画像検出位置と情報画像方向が全て同じか否かを判断し、全て同じである場合はステップS928へ進み、それ以外の場合はステップS916へ進む。
In step S910, the information image detection module 120 determines whether or not an information image has been detected. If detected, the process proceeds to step S934. Otherwise, the process proceeds to step S912.
In step S912, the information image analysis position determination module 140 reads the information image detection position and the information image direction by using the information image detection state storage module 130 with reference to a detection history that is a predetermined page back from the previous page. .
In step S914, the information image analysis position determination module 140 determines whether or not the information image detection position and the information image direction are all the same based on a detection history retroactive to the page, and if all are the same, the process proceeds to step S928. Otherwise, go to step S916.

ステップS916では、情報画像解析位置決定モジュール140がn−1ページだけ情報画像の検出位置又は情報画像の方向が異なるか否かを判断し、n−1ページだけ情報画像検出位置又は情報画像方向が異なる場合はステップS920へ進み、それ以外の場合はステップS918へ進む。
ステップS918では、情報画像解析位置決定モジュール140が1番目に検出処理した位置を除いた予め定められた順番で検出すべき位置と方向を決定し、情報画像検出モジュール120が2番目以降を検出処理する。
ステップS920では、情報画像解析位置決定モジュール140が「n−1ページの情報画像検出位置がn−2ページまでの情報画像検出位置に対してページの中心と反対側」、かつ、「n−1ページの情報画像方向がn−2ページまでの情報画像方向に対して180°回転した向き」であるか否かを判断し、その通りであればステップS922へ進み、それ以外の場合はステップS918へ進む。
In step S916, the information image analysis position determination module 140 determines whether the detection position of the information image or the direction of the information image differs by n−1 pages, and the information image detection position or the information image direction of n−1 pages is determined. If they are different, the process proceeds to step S920; otherwise, the process proceeds to step S918.
In step S918, the position and direction to be detected are determined in a predetermined order excluding the position first detected by the information image analysis position determination module 140, and the information image detection module 120 performs the second and subsequent detection processing. To do.
In step S920, the information image analysis position determination module 140 determines that the information image detection position of the n-1 page is opposite to the center of the page with respect to the information image detection positions up to the n-2 page. It is determined whether or not the information image direction of the page is “the direction rotated by 180 ° with respect to the information image direction up to page n-2”. If so, the process proceeds to step S922. Otherwise, step S918 is performed. Proceed to

ステップS922では、情報画像解析位置決定モジュール140がn−2までの情報画像検出位置を2番目に検出すべき位置として決定し、情報画像検出モジュール120が検出処理を行う。
ステップS924では、情報画像検出モジュール120が情報画像を検出したか否かを判断し、検出した場合はステップS934へ進み、それ以外の場合はステップS926へ進む。
ステップS926では、情報画像解析位置決定モジュール140が1番目、2番目に検出処理した位置を除いた予め定められた順番で検出すべき位置と方向を決定し、情報画像検出モジュール120が3番目以降を検出処理する。
In step S922, the information image analysis position determination module 140 determines the information image detection positions up to n-2 as positions to be detected second, and the information image detection module 120 performs detection processing.
In step S924, it is determined whether the information image detection module 120 has detected an information image. If detected, the process proceeds to step S934. Otherwise, the process proceeds to step S926.
In step S926, the information image analysis position determination module 140 determines the position and direction to be detected in a predetermined order excluding the first and second detection processing positions, and the information image detection module 120 performs the third and subsequent steps. Is detected.

ステップS928では、情報画像解析位置決定モジュール140が1番目に検出処理した位置に対して、ページの中心と反対側に存在する位置を2番目に検出すべき位置として決定し、情報画像検出モジュール120が検出処理を行う。
ステップS930では、情報画像検出モジュール120が情報画像を検出したか否かを判断し、検出した場合はステップS934へ進み、それ以外の場合はステップS932へ進む。
ステップS932では、情報画像解析位置決定モジュール140が1番目、2番目に検出処理した位置を除いた予め定められた順番で3番目以降検出すべき位置と方向を決定し、情報画像検出モジュール120が検出処理する。
In step S928, the position present on the side opposite to the center of the page with respect to the position first detected by the information image analysis position determination module 140 is determined as the position to be detected second, and the information image detection module 120 is detected. Performs the detection process.
In step S930, it is determined whether or not the information image detection module 120 has detected an information image. If detected, the process proceeds to step S934. Otherwise, the process proceeds to step S932.
In Step S932, the information image analysis position determination module 140 determines the position and direction to be detected after the third in a predetermined order excluding the first and second detection processing positions, and the information image detection module 120 Perform detection processing.

ステップS934では、情報画像解析モジュール150がデコード処理を行う。
ステップS936では、解析結果出力モジュール160がデコード結果(状態)を解析結果記憶モジュール170に記憶する。
ステップS938では、情報画像解析モジュール150が全ての画像データを解析したか否かを判断し、全ての画像データを解析した場合は処理を終了し(ステップS999)、それ以外の場合はステップS902からの処理を繰り返す。
なお、ステップS906、ステップS908では、情報画像の位置と方向を用いて、情報画像を検出するようにしてもよい。
また、ステップS920の処理は省略してもよい。つまり、ステップS916でYesの場合は、ステップS922の処理へ移ってもよい。
また、図9に例示したフローチャートは、情報画像の位置と方向を対象とした処理を行っているが、情報画像の位置だけを対象とした処理を行うようにしてもよい。
In step S934, the information image analysis module 150 performs a decoding process.
In step S936, the analysis result output module 160 stores the decoding result (state) in the analysis result storage module 170.
In step S938, it is determined whether or not the information image analysis module 150 has analyzed all the image data. If all the image data has been analyzed, the process ends (step S999). Otherwise, the process starts from step S902. Repeat the process.
In step S906 and step S908, the information image may be detected using the position and direction of the information image.
Further, the process of step S920 may be omitted. That is, if Yes in step S916, the process may move to step S922.
In the flowchart illustrated in FIG. 9, the process for the position and direction of the information image is performed. However, the process for only the position of the information image may be performed.

図13を参照して、本実施の形態の画像処理装置のハードウェア構成例について説明する。図13に示す構成は、例えばパーソナルコンピュータ(PC)などによって構成されるものであり、スキャナ等のデータ読み取り部1317と、プリンタなどのデータ出力部1318を備えたハードウェア構成例を示している。   A hardware configuration example of the image processing apparatus according to the present embodiment will be described with reference to FIG. The configuration shown in FIG. 13 is configured by a personal computer (PC), for example, and shows a hardware configuration example including a data reading unit 1317 such as a scanner and a data output unit 1318 such as a printer.

CPU(Central Processing Unit)1301は、前述の実施の形態において説明した各種のモジュール、すなわち、情報画像検出モジュール120、情報画像解析位置決定モジュール140、情報画像解析モジュール150、解析結果出力モジュール160等の各モジュールの実行シーケンスを記述したコンピュータ・プログラムにしたがった処理を実行する制御部である。   A CPU (Central Processing Unit) 1301 includes various modules described in the above-described embodiments, that is, the information image detection module 120, the information image analysis position determination module 140, the information image analysis module 150, the analysis result output module 160, and the like. It is a control part which performs the process according to the computer program which described the execution sequence of each module.

ROM(Read Only Memory)1302は、CPU1301が使用するプログラムや演算パラメータ等を格納する。RAM(Random Access Memory)1303は、CPU1301の実行において使用するプログラムや、その実行において適宜変化するパラメータ等を格納する。これらはCPUバスなどから構成されるホストバス1304により相互に接続されている。   A ROM (Read Only Memory) 1302 stores programs used by the CPU 1301, calculation parameters, and the like. A RAM (Random Access Memory) 1303 stores programs used in the execution of the CPU 1301, parameters that change as appropriate during the execution, and the like. These are connected to each other by a host bus 1304 including a CPU bus.

ホストバス1304は、ブリッジ1305を介して、PCI(Peripheral Component Interconnect/Interface)バスなどの外部バス1306に接続されている。   The host bus 1304 is connected to an external bus 1306 such as a PCI (Peripheral Component Interconnect / Interface) bus via a bridge 1305.

キーボード1308、マウス等のポインティングデバイス1309は、操作者により操作される入力デバイスである。ディスプレイ1310は、液晶表示装置又はCRT(Cathode Ray Tube)などがあり、各種情報をテキストやイメージ情報として表示する。   A keyboard 1308 and a pointing device 1309 such as a mouse are input devices operated by an operator. The display 1310 includes a liquid crystal display device or a CRT (Cathode Ray Tube), and displays various types of information as text or image information.

HDD(Hard Disk Drive)1311は、ハードディスクを内蔵し、ハードディスクを駆動し、CPU1301によって実行するプログラムや情報を記録又は再生させる。ハードディスクには、受け付けた画像、情報画像の検出状態、解析結果の情報などが格納される。さらに、その他の各種のデータ処理プログラム等、各種コンピュータ・プログラムが格納される。   An HDD (Hard Disk Drive) 1311 has a built-in hard disk, drives the hard disk, and records or reproduces a program executed by the CPU 1301 and information. The hard disk stores received images, information image detection states, analysis result information, and the like. Further, various computer programs such as various other data processing programs are stored.

ドライブ1312は、装着されている磁気ディスク、光ディスク、光磁気ディスク、又は半導体メモリ等のリムーバブル記録媒体1313に記録されているデータ又はプログラムを読み出して、そのデータ又はプログラムを、インタフェース1307、外部バス1306、ブリッジ1305、及びホストバス1304を介して接続されているRAM1303に供給する。リムーバブル記録媒体1313も、ハードディスクと同様のデータ記録領域として利用可能である。   The drive 1312 reads data or a program recorded on a removable recording medium 1313 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, and reads the data or program into an interface 1307 and an external bus 1306. , The bridge 1305, and the RAM 1303 connected via the host bus 1304. The removable recording medium 1313 can also be used as a data recording area similar to a hard disk.

接続ポート1314は、外部接続機器1315を接続するポートであり、USB、IEEE1394等の接続部を持つ。接続ポート1314は、インタフェース1307、及び外部バス1306、ブリッジ1305、ホストバス1304等を介してCPU1301等に接続されている。通信部1316は、ネットワークに接続され、外部とのデータ通信処理を実行する。データ読み取り部1317は、例えばスキャナであり、ドキュメントの読み取り処理を実行する。データ出力部1318は、例えばプリンタであり、ドキュメントデータの出力処理を実行する。   The connection port 1314 is a port for connecting the external connection device 1315 and has a connection unit such as USB and IEEE1394. The connection port 1314 is connected to the CPU 1301 and the like via the interface 1307, the external bus 1306, the bridge 1305, the host bus 1304, and the like. A communication unit 1316 is connected to a network and executes data communication processing with the outside. The data reading unit 1317 is, for example, a scanner, and executes document reading processing. The data output unit 1318 is, for example, a printer, and executes document data output processing.

なお、図13に示す画像処理装置のハードウェア構成は、1つの構成例を示すものであり、本実施の形態は、図13に示す構成に限らず、本実施の形態において説明したモジュールを実行可能な構成であればよい。例えば、一部のモジュールを専用のハードウェア(例えば特定用途向け集積回路(Application Specific Integrated Circuit:ASIC)等)で構成してもよく、一部のモジュールは外部のシステム内にあり通信回線で接続しているような形態でもよく、さらに図13に示すシステムが複数互いに通信回線によって接続されていて互いに協調動作するようにしてもよい。また、複写機、ファックス、スキャナ、プリンタ、複合機などに組み込まれていてもよい。   Note that the hardware configuration of the image processing apparatus illustrated in FIG. 13 shows one configuration example, and the present embodiment is not limited to the configuration illustrated in FIG. 13, and the modules described in the present embodiment are executed. Any configuration is possible. For example, some modules may be configured with dedicated hardware (for example, Application Specific Integrated Circuit (ASIC), etc.), and some modules are in an external system and connected via a communication line Alternatively, a plurality of systems shown in FIG. 13 may be connected to each other via communication lines so as to cooperate with each other. Further, it may be incorporated in a copying machine, a fax machine, a scanner, a printer, a multifunction machine, or the like.

また、前述の実施の形態の説明において、予め定められた値との比較において、「以上」、「以下」、「より大きい」、「より小さい(未満)」としたものは、その組み合わせに矛盾が生じない限り、それぞれ「より大きい」、「より小さい(未満)」、「以上」、「以下」としてもよい。   Further, in the description of the above-described embodiment, “more than”, “less than”, “greater than”, and “less than (less than)” in a comparison with a predetermined value contradicts the combination. As long as the above does not occur, “larger”, “smaller (less than)”, “more than”, and “less than” may be used.

なお、説明したプログラムについては、記録媒体に格納して提供してもよく、また、そのプログラムを通信手段によって提供してもよい。その場合、例えば、前記説明したプログラムについて、「プログラムを記録したコンピュータ読み取り可能な記録媒体」の発明として捉えてもよい。
「プログラムを記録したコンピュータ読み取り可能な記録媒体」とは、プログラムのインストール、実行、プログラムの流通などのために用いられる、プログラムが記録されたコンピュータで読み取り可能な記録媒体をいう。
なお、記録媒体としては、例えば、デジタル・バーサタイル・ディスク(DVD)であって、DVDフォーラムで策定された規格である「DVD−R、DVD−RW、DVD−RAM等」、DVD+RWで策定された規格である「DVD+R、DVD+RW等」、コンパクトディスク(CD)であって、読出し専用メモリ(CD−ROM)、CDレコーダブル(CD−R)、CDリライタブル(CD−RW)等、ブルーレイ・ディスク(Blu−ray Disc(登録商標))、光磁気ディスク(MO)、フレキシブルディスク(FD)、磁気テープ、ハードディスク、読出し専用メモリ(ROM)、電気的消去及び書換可能な読出し専用メモリ(EEPROM(登録商標))、フラッシュ・メモリ、ランダム・アクセス・メモリ(RAM)等が含まれる。
そして、前記のプログラム又はその一部は、前記記録媒体に記録して保存や流通等させてもよい。また、通信によって、例えば、ローカル・エリア・ネットワーク(LAN)、メトロポリタン・エリア・ネットワーク(MAN)、ワイド・エリア・ネットワーク(WAN)、インターネット、イントラネット、エクストラネット等に用いられる有線ネットワーク、あるいは無線通信ネットワーク、さらにこれらの組み合わせ等の伝送媒体を用いて伝送させてもよく、また、搬送波に乗せて搬送させてもよい。
さらに、前記のプログラムは、他のプログラムの一部分であってもよく、あるいは別個のプログラムと共に記録媒体に記録されていてもよい。また、複数の記録媒体に分割して
記録されていてもよい。また、圧縮や暗号化など、復元可能であればどのような態様で記録されていてもよい。
The program described above may be provided by being stored in a recording medium, or the program may be provided by communication means. In that case, for example, the above-described program may be regarded as an invention of a “computer-readable recording medium recording the program”.
The “computer-readable recording medium on which a program is recorded” refers to a computer-readable recording medium on which a program is recorded, which is used for program installation, execution, program distribution, and the like.
The recording medium is, for example, a digital versatile disc (DVD), which is a standard established by the DVD Forum, such as “DVD-R, DVD-RW, DVD-RAM,” and DVD + RW. Standard “DVD + R, DVD + RW, etc.”, compact disc (CD), read-only memory (CD-ROM), CD recordable (CD-R), CD rewritable (CD-RW), Blu-ray disc ( Blu-ray Disc (registered trademark), magneto-optical disk (MO), flexible disk (FD), magnetic tape, hard disk, read-only memory (ROM), electrically erasable and rewritable read-only memory (EEPROM (registered trademark)) )), Flash memory, Random access memory (RAM) Etc. are included.
The program or a part of the program may be recorded on the recording medium for storage or distribution. Also, by communication, for example, a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a wired network used for the Internet, an intranet, an extranet, etc., or wireless communication It may be transmitted using a transmission medium such as a network or a combination of these, or may be carried on a carrier wave.
Furthermore, the program may be a part of another program, or may be recorded on a recording medium together with a separate program. Moreover, it may be divided and recorded on a plurality of recording media. Further, it may be recorded in any manner as long as it can be restored, such as compression or encryption.

110…画像受付モジュール
120…情報画像検出モジュール
130…情報画像検出状態記憶モジュール
140…情報画像解析位置決定モジュール
150…情報画像解析モジュール
160…解析結果出力モジュール
170…解析結果記憶モジュール
DESCRIPTION OF SYMBOLS 110 ... Image reception module 120 ... Information image detection module 130 ... Information image detection state storage module 140 ... Information image analysis position determination module 150 ... Information image analysis module 160 ... Analysis result output module 170 ... Analysis result storage module

Claims (9)

画像を受け付ける受付手段と、
直前に検出した情報画像の画像内における位置に基づいて、前記受付手段によって受け付けられた対象としている画像内にある情報画像を検出するための第1の位置を決定する決定手段と、
前記決定手段によって決定された第1の位置に基づいて、情報画像を検出する検出手段と、
前記検出手段によって検出された情報画像を解析する解析手段と、
前記解析手段による解析結果である情報を出力する出力手段
を具備し、
前記決定手段は、前記検出手段が第1の位置で情報画像を検出できなかった場合は、該第1の位置とは前記画像内において反対側にある第2の位置を、情報画像を検出する位置として決定し、
前記検出手段は、前記決定手段によって決定された第2の位置で情報画像を検出する
ことを特徴とする画像処理装置。
Receiving means for receiving images;
A determining means for determining a first position for detecting an information image in the target image received by the receiving means based on a position in the image of the information image detected immediately before;
Detecting means for detecting an information image based on the first position determined by the determining means;
Analyzing means for analyzing the information image detected by the detecting means;
Output means for outputting information which is an analysis result by the analysis means;
The determining means detects the information image at a second position opposite to the first position in the image when the detecting means cannot detect the information image at the first position. As a position,
The image processing apparatus characterized in that the detection means detects an information image at the second position determined by the determination means.
前記決定手段は、さらに、直前に検出した情報画像の画像内における方向に基づいて、前記受付手段によって受け付けられた対象としている画像内にある情報画像を検出するための第1の方向を決定し、
前記検出手段は、前記決定手段によって決定された情報画像の位置と情報画像の方向に基づいて、情報画像を検出する
ことを特徴とする請求項1に記載の画像処理装置。
The determining means further determines a first direction for detecting an information image in the target image received by the receiving means based on a direction in the image of the information image detected immediately before. ,
The image processing apparatus according to claim 1, wherein the detection unit detects an information image based on the position of the information image and the direction of the information image determined by the determination unit.
前記決定手段は、前記検出手段が第1の位置で情報画像を検出できなかった場合であって、既に検出した情報画像の画像内における位置が異ならない場合は、前記第2の位置を、情報画像を検出する位置として決定する
ことを特徴とする請求項1に記載の画像処理装置。
The determining means determines the second position when the detecting means cannot detect the information image at the first position and the position of the already detected information image in the image is not different. The image processing apparatus according to claim 1, wherein the position is determined as a position where an image is detected.
前記決定手段は、前記検出手段が第1の位置で情報画像を検出できなかった場合であって、既に検出した情報画像の画像内における位置と方向が異ならない場合は、前記第2の位置と方向を、情報画像を検出する位置と方向として決定する
ことを特徴とする請求項2に記載の画像処理装置。
The determination means is the case where the detection means cannot detect the information image at the first position, and the position of the already detected information image does not differ from the position in the image. The image processing apparatus according to claim 2, wherein the direction is determined as a position and a direction for detecting the information image.
前記決定手段は、前記検出手段が第1の位置で情報画像を検出できなかった場合であって、直前よりも前に検出した情報画像の画像内における位置が異ならない場合かつ直前に検出した情報画像の画像内における位置が異なる場合は、直前よりも前に検出した情報画像の画像内における位置を、情報画像を検出する第2の位置として決定する
ことを特徴とする請求項1又は3に記載の画像処理装置。
The determination means is information when the detection means cannot detect the information image at the first position, and the information image detected immediately before and when the position in the image of the information image detected before immediately before is not different. The position in the image of the information image detected before the previous time is determined as the second position for detecting the information image when the positions of the images in the image are different. The image processing apparatus described.
前記決定手段は、さらに、直前に検出した情報画像の画像内における位置が、直前よりも前に検出した情報画像の前記画像内における位置とは反対側である場合は、直前よりも前に検出した情報画像の画像内における位置を、情報画像を検出する第2の位置として決定する
ことを特徴とする請求項5に記載の画像処理装置。
The determination means further detects the information image detected immediately before the position when the position of the information image detected immediately before is opposite to the position of the information image detected before the previous image in the image. 6. The image processing apparatus according to claim 5, wherein the position of the information image in the image is determined as a second position for detecting the information image.
前記決定手段は、前記検出手段が第1の位置で情報画像を検出できなかった場合であって、直前よりも前に検出した情報画像の画像内における位置と方向が異ならない場合かつ直前に検出した情報画像の画像内における位置又は方向が異なる場合は、直前よりも前に検出した情報画像の画像内における位置と方向を、情報画像を検出する第2の位置と方向として決定する
ことを特徴とする請求項2又は4に記載の画像処理装置。
The determination means is detected when the detection means cannot detect the information image at the first position and the position and direction in the image of the information image detected before the previous time are not different and immediately before. If the position or direction in the image of the information image is different, the position and direction in the image of the information image detected before immediately before is determined as the second position and direction for detecting the information image. The image processing apparatus according to claim 2 or 4.
前記決定手段は、さらに、直前に検出した情報画像の画像内における位置が、直前よりも前に検出した情報画像の前記画像内における位置とは反対側である場合であって、直前に検出した情報画像の方向が直前よりも前に検出した情報画像の方向とは逆である場合は、直前よりも前に検出した情報画像の画像内における位置と方向を、情報画像を検出する第2の位置と方向として決定する
ことを特徴とする請求項7に記載の画像処理装置。
The determining unit is further configured to detect immediately before the position of the information image detected immediately before in the image is opposite to the position of the information image detected immediately before in the image. When the direction of the information image is opposite to the direction of the information image detected before the previous time, the position and direction in the image of the information image detected before the previous time are used to detect the information image. The image processing apparatus according to claim 7, wherein the image processing apparatus is determined as a position and a direction.
コンピュータを、
画像を受け付ける受付手段と、
直前に検出した情報画像の画像内における位置に基づいて、前記受付手段によって受け付けられた対象としている画像内にある情報画像を検出するための第1の位置を決定する決定手段と、
前記決定手段によって決定された第1の位置に基づいて、情報画像を検出する検出手段と、
前記検出手段によって検出された情報画像を解析する解析手段と、
前記解析手段による解析結果である情報を出力する出力手段
として機能させ、
前記決定手段を前記検出手段が第1の位置で情報画像を検出できなかった場合は、該第1の位置とは前記画像内において反対側にある第2の位置を、情報画像を検出する位置として決定する手段、
前記検出手段を前記決定手段によって決定された第2の位置で情報画像を検出する手段、
として機能させるための画像処理プログラム。
Computer
Receiving means for receiving images;
A determining means for determining a first position for detecting an information image in the target image received by the receiving means based on a position in the image of the information image detected immediately before;
Detecting means for detecting an information image based on the first position determined by the determining means;
Analyzing means for analyzing the information image detected by the detecting means;
Function as an output means for outputting information as an analysis result by the analysis means;
A position for detecting the information image, the second position located opposite to the first position in the image when the detecting means cannot detect the information image at the first position. Means to determine,
Means for detecting an information image at a second position determined by the determining means;
Image processing program to function as
JP2011091850A 2011-04-18 2011-04-18 Image processing apparatus and image processing program Active JP5664427B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011091850A JP5664427B2 (en) 2011-04-18 2011-04-18 Image processing apparatus and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011091850A JP5664427B2 (en) 2011-04-18 2011-04-18 Image processing apparatus and image processing program

Publications (2)

Publication Number Publication Date
JP2012226462A true JP2012226462A (en) 2012-11-15
JP5664427B2 JP5664427B2 (en) 2015-02-04

Family

ID=47276579

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011091850A Active JP5664427B2 (en) 2011-04-18 2011-04-18 Image processing apparatus and image processing program

Country Status (1)

Country Link
JP (1) JP5664427B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008263283A (en) * 2007-04-10 2008-10-30 Murata Mach Ltd Image processing apparatus
JP2009272796A (en) * 2008-05-02 2009-11-19 Canon Inc Image forming apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008263283A (en) * 2007-04-10 2008-10-30 Murata Mach Ltd Image processing apparatus
JP2009272796A (en) * 2008-05-02 2009-11-19 Canon Inc Image forming apparatus

Also Published As

Publication number Publication date
JP5664427B2 (en) 2015-02-04

Similar Documents

Publication Publication Date Title
US8411955B2 (en) Image processing apparatus, image processing method and computer-readable medium
US8391607B2 (en) Image processor and computer readable medium
CN109845237B (en) Image forming apparatus, scanned image correction method of image forming apparatus, and non-transitory computer-readable recording medium
JP2014092899A (en) Image processing apparatus and image processing program
JP2013131208A (en) Method and device for performing position specification and decoding of machine-readable symbol
US9626738B2 (en) Image processing apparatus, image processing method, and storage medium
US10643097B2 (en) Image processing apparatuses and non-transitory computer readable medium
US10075614B2 (en) Image processing apparatus and non-transitory computer readable medium
US9392140B2 (en) Image processing apparatus
US9348541B2 (en) Image processing apparatus and method, and non-transitory computer readable medium
US10834281B2 (en) Document size detecting by matching between image of entire document and read size image
US10638001B2 (en) Information processing apparatus for performing optical character recognition (OCR) processing on image data and converting image data to document data
JP4780184B2 (en) Image processing apparatus and image processing program
JP5664427B2 (en) Image processing apparatus and image processing program
US10706581B2 (en) Image processing apparatus for clipping and sorting images from read image according to cards and control method therefor
US10318801B2 (en) Image processing apparatus and non-transitory computer readable medium
US20130258423A1 (en) Reading apparatus, method of controlling the same and storage medium
US11288536B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
US20150261989A1 (en) Image processing apparatus, image processing method, and computer readable medium
JP5222127B2 (en) Image processing apparatus, image processing method, and program
JP6241311B2 (en) Image processing apparatus and image processing program
US8923635B2 (en) Image processing apparatus and image processing program
JP4793429B2 (en) Image processing apparatus and image processing program
US20130236101A1 (en) Information processing apparatus, non-transitory computer readable medium, and information processing method
JP2011065311A (en) Image processor and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140319

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140916

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140924

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141017

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141124

R150 Certificate of patent or registration of utility model

Ref document number: 5664427

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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