JPH11282849A - Image inspection device and method - Google Patents

Image inspection device and method

Info

Publication number
JPH11282849A
JPH11282849A JP10082047A JP8204798A JPH11282849A JP H11282849 A JPH11282849 A JP H11282849A JP 10082047 A JP10082047 A JP 10082047A JP 8204798 A JP8204798 A JP 8204798A JP H11282849 A JPH11282849 A JP H11282849A
Authority
JP
Japan
Prior art keywords
page
image
pages
document
error
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.)
Withdrawn
Application number
JP10082047A
Other languages
Japanese (ja)
Inventor
Tsutomu Murayama
努 村山
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP10082047A priority Critical patent/JPH11282849A/en
Publication of JPH11282849A publication Critical patent/JPH11282849A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To easily give an instruction for rereading by defining a chapter of contents of a document as a unit to the document consisting of plural pages. SOLUTION: The document is stored as document images consisting of plural pages in an image storage part on a hard disk. Index information including titles to indicate chapters to divide the document into plural segments and the number of leading pages of each segment is generated and held by processing an index original in step S 1001. A page image corresponding to the leading page of the segment to be an inspecting object among plural segments (chapters) which are set in the document is retrieved based on the held title and the number of leading pages in step S1002 to step S1006. When the leading page is retrieved, the images equivalent to the number of pages in the corresponding section are inspected in steps S1007, S1008 and its result is presented in step S1009.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、文書原稿を読み取
る等して得られた文書画像データについて検査を行う画
像検査装置及びその方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image inspection apparatus and an image inspection method for inspecting document image data obtained by reading a document original.

【0002】[0002]

【従来の技術】一般に、文書原稿等を、例えばスキャナ
等の画像読取装置で読み取り、画像データとしてデータ
ベースに記憶する際に画像の品質を自動検査するシステ
ムが知られている。この種の自動検査では、画像データ
について、表裏反転、ページ抜け、重送、画像欠け、画
像濃度不良等の、画像の品質が自動的に検査される。そ
して、この自動検査で異常が検出された場合には、画像
読み取り装置で再度、当該文書原稿を読み取らせる。
2. Description of the Related Art In general, there is known a system for automatically inspecting the quality of an image when a document document or the like is read by an image reading device such as a scanner and stored as image data in a database. In this type of automatic inspection, image data is automatically inspected for image quality, such as front / back inversion, missing pages, double feed, missing images, and poor image density. If an abnormality is detected in the automatic inspection, the document original is read again by the image reading device.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
システムにおいては、文書原稿を連続的に画像読取装置
に読み取らせた際に自動検査で異常を検知した場合、文
書原稿の全てを再読み取りさせるべく再読み取りの指示
を行うか、或いは例えば105ページ目から213ペー
ジ目を再読み取りするといったような、わかりづらい指
示を与えることしかできなかった。
However, in the conventional system, if an error is detected by the automatic inspection when the image document is continuously read by the image reading apparatus, the entire document document is read again. It is only possible to give an instruction for re-reading or to give an instruction that is difficult to understand, such as re-reading pages 105 to 213.

【0004】本発明は上記の問題に鑑みてなされたもの
であり、複数ページからなる文書に対し、文書内容の区
切りを単位として再読み取りの指示を与えることを容易
とする画像検査装置及びその方法を提供することを目的
とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has an image inspection apparatus and method for easily providing a re-read instruction to a document having a plurality of pages in units of document contents. The purpose is to provide.

【0005】また、本発明の他の目的は、所望のページ
数を単位とした再読み取りの指示を容易に与えることを
可能とすることにある。
Another object of the present invention is to make it possible to easily give a re-read instruction in units of a desired number of pages.

【0006】また、本発明の他の目的は、文書原稿が有
する目次情報に基づいて設定された文書内容の区切りを
単位として、再読み取りの指示を与えることを可能とす
ることにある。
Another object of the present invention is to make it possible to give an instruction for re-reading in units of document content breaks set based on the table of contents information of a document manuscript.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
めの本発明の一態様による画像検査装置は例えば以下の
構成を備える。すなわち、文書を複数のページ画像から
なる文書画像として格納する格納手段と、前記文書を複
数の区分に分けるための区切りを表す区切り文字列と各
区切り位置のページ数を含む目次情報を保持する保持手
段と、前記保持手段で保持された目次情報に基づいて、
前記文書の複数の区分のうちの検査対象とすべき区分に
対応する文書画像の範囲を検査範囲に決定する決定手段
と、前記決定手段で決定された検査範囲内の前記文書画
像の各ページ画像について検査を行う検査手段とを備え
る。
An image inspection apparatus according to one aspect of the present invention for achieving the above object has, for example, the following configuration. That is, storage means for storing a document as a document image composed of a plurality of page images, and storage for storing table of contents information including a delimiter character string indicating a delimiter for dividing the document into a plurality of sections and the number of pages at each delimiter position. Means, based on the table of contents information held by the holding means,
Determining means for determining a range of a document image corresponding to a section to be inspected among the plurality of sections of the document as an inspection range; and each page image of the document image within the inspection range determined by the determining means And inspection means for inspecting the data.

【0008】また、上記の目的を達成するための、本発
明の別の態様による画像検査装置は例えば以下の構成を
備える。すなわち、文書を複数のページ画像からなる文
書画像として格納する格納手段と、前記文書を複数の区
分に分けるための区切りを表す区切り文字列と各区切り
位置のページ数を含む目次情報を保持する保持手段と、
前記保持手段で保持された目次情報に基づいて、前記文
書の複数の区分のそれぞれの先頭ページに対応するペー
ジ画像を検索する検索手段と、前記検索手段で検索され
た各ページ画像の前記文書画像における枚数目と、前記
目次情報に示される各区切り位置のページ数との誤差に
基づいて誤差情報を生成する生成手段と、前記生成手段
で生成された誤差情報に基づいて、前記区分を単位とし
てページ誤差を提示する提示手段とを備える。
Further, an image inspection apparatus according to another aspect of the present invention for achieving the above object has, for example, the following configuration. That is, storage means for storing a document as a document image composed of a plurality of page images, and storage for storing table of contents information including a delimiter character string indicating a delimiter for dividing the document into a plurality of sections and the number of pages at each delimiter position. Means,
Searching means for searching for a page image corresponding to the first page of each of a plurality of sections of the document based on the table of contents information held by the holding means; and the document image of each page image searched by the searching means A generating means for generating error information based on an error between the number of pages at each break position indicated in the table of contents information, and the error information generated by the generating means. Presentation means for presenting a page error.

【0009】さらに、上記の目的を達成するための、本
発明の別の態様による画像検査装置は例えば以下の構成
を備える。すなわち、文書を複数のページ画像からなる
文書画像として格納する格納手段と、所望のページ数を
設定する設定手段と、前記設定手段で設定されたページ
数毎のページ番号に対応するページ画像を前記文書画像
から検索する検索手段と、前記検索手段で検索された各
ページ画像の前記文書画像における枚数目と、前記設定
されたページ数によって得られるページ番号との誤差に
基づいて誤差情報を生成する生成手段と、前記生成手段
で生成された誤差情報に基づいて、前記設定手段で設定
されたページ数を単位としてページ誤差を提示する提示
手段とを備える。
Further, an image inspection apparatus according to another aspect of the present invention for achieving the above object has, for example, the following configuration. That is, storage means for storing a document as a document image composed of a plurality of page images, setting means for setting a desired number of pages, and a page image corresponding to a page number for each page number set by the setting means. Searching means for searching from a document image; and generating error information based on an error between the number of pages in the document image of each page image searched by the searching means and a page number obtained by the set number of pages. A generating unit; and a presenting unit that presents a page error in units of the number of pages set by the setting unit based on the error information generated by the generating unit.

【0010】[0010]

【発明の実施の形態】以下、添付の図面を参照して本発
明の好適な実施形態を説明する。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.

【0011】[第1の実施形態]図1は、第1の実施形
態による文書原稿読み取り,及び画像の自動検査を実現
するためのシステムの構成を示すブロック図である。
[First Embodiment] FIG. 1 is a block diagram showing a configuration of a system for realizing document original reading and automatic image inspection according to a first embodiment.

【0012】図1において、51は画像読取装置であ
り、文書原稿を光学的に読みとるスキャナ等で構成され
る。52は中央処理装置であり、不図示のCPU、RO
M、RAMを備える。中央処理装置52は、ROMに格
納された制御プログラムを実行することにより、ブロッ
クセレクション処理を行う画像処理部53と機器の動作
を指示する処理部54としての機能を実現する。55は
出力装置であり、ディスプレイなどの表示機器やプリン
タ等を備える。56は記憶装置であり、例えばハードデ
ィスク等で構成され、画像読み取り装置51で読みとっ
た画像データを記憶する画像記憶部57と画像の検査結
果を記憶する画像検査結果記録部58とを含む。59は
バスであり、上述の各構成を相互に接続する。なお、画
像処理部53で実行されるブロックセレクション処理
は、画像データを、文字領域、図形、表等の属性毎に領
域を分割する画像処理方法であり、当業者には周知の技
術である。
In FIG. 1, reference numeral 51 denotes an image reading device, which comprises a scanner for optically reading a document original. Reference numeral 52 denotes a central processing unit (not shown),
M, RAM. By executing the control program stored in the ROM, the central processing unit 52 realizes functions as an image processing unit 53 for performing block selection processing and a processing unit 54 for instructing operation of the device. An output device 55 includes a display device such as a display, a printer, and the like. Reference numeral 56 denotes a storage device, which is constituted by, for example, a hard disk or the like, and includes an image storage unit 57 for storing image data read by the image reading device 51 and an image inspection result recording unit 58 for storing image inspection results. Reference numeral 59 denotes a bus which connects the above-described components to each other. Note that the block selection process executed by the image processing unit 53 is an image processing method of dividing image data into regions for each attribute such as a character region, a graphic, and a table, and is a technique well known to those skilled in the art.

【0013】図2は、読みとる文書原稿に含まれる目次
原稿の例を示す図である。また、図3は図2で示した目
次原稿から作成されるメモリテーブルの一例を示す図で
ある。まず、図2に示す目次原稿を画像読取装置51を
使って読み取り、これを画像記憶部57に格納する。次
に、読み取った画像データに、ブロックセレクション処
理を実行して、各章のナンバー、タイトル、開始ページ
の情報を読み取る。読み取られた情報は、図3のメモリ
テーブルの構築例で示すように、章単位で整理される。
このメモリテーブルで、章の終了ページ数、ページ枚数
のデータは、その章と、次の章の開始ページから、 (章の終了ページ数)=(次の章の開始ページ数)−1 (ページ枚数)=(終了ページ数)−(開始ページ数)
+1 のように簡単に求められ、目次原稿から、目次情報を読
みとることができる。なお、文書原稿中の最後の章に関
しては、章の終了ページ数は当該文書原稿の最終ページ
数、ページ枚数は原稿の最終ページ数から開始ページ数
を引いて、1を足した数となる。以上のようにしてえら
れたメモリテーブルは中央処理装置52の有するRAM
に保持される。なお、以下の説明において、ページ数は
ページの番号を指し、ページの枚数とは区別して用いる
ものとする。
FIG. 2 is a diagram showing an example of a table of contents document included in a document document to be read. FIG. 3 is a diagram showing an example of a memory table created from the table of contents original shown in FIG. First, the table of contents original shown in FIG. 2 is read using the image reading device 51, and is stored in the image storage unit 57. Next, block selection processing is performed on the read image data to read information on the number, title, and start page of each chapter. The read information is arranged in chapter units as shown in the example of constructing the memory table in FIG.
In this memory table, the data on the number of end pages and the number of pages of a chapter are obtained from the start page of the chapter and the next chapter, (number of end pages of chapter) = (number of start pages of next chapter) −1 (page Number of sheets = (number of end pages)-(number of start pages)
The table of contents information can be read from the table of contents original as easily as +1. For the last chapter in the document, the end page number of the chapter is the last page number of the document document, and the number of pages is the number obtained by subtracting the start page number from the last page number of the document and adding one. The memory table obtained as described above is stored in the RAM of the central processing unit 52.
Is held. In the following description, the number of pages indicates a page number and is used separately from the number of pages.

【0014】次に、第1の実施形態による自動検査の手
順を説明する。図4は、第1の実施形態による画像の自
動検査の手順を説明するフローチャートである。最初
に、図2で示した目次原稿のブロックセレクションを実
行し、図3の如きメモリテーブルを生成する(ステップ
S1001)。次に、チェックする章のタイトルとペー
ジ数をメモリテーブルより読み出し、目次情報として取
得する(ステップS1002)。ここで、チェック対象
とする章の指定は、例えば章番号をユーザが入力するよ
うにしてもよい。
Next, an automatic inspection procedure according to the first embodiment will be described. FIG. 4 is a flowchart illustrating a procedure of the automatic image inspection according to the first embodiment. First, the block selection of the table of contents original shown in FIG. 2 is executed to generate a memory table as shown in FIG. 3 (step S1001). Next, the title and the number of pages of the chapter to be checked are read from the memory table and acquired as table of contents information (step S1002). Here, the chapter to be checked may be specified by, for example, inputting a chapter number by the user.

【0015】次に、チェックする章の開始ページ数で示
される枚数位置に対応するページ画像を取得し、当該画
像がその章の開始ページに対応するか否かをチェックす
る。まず、取得した画像に対してブロックセレクション
を実行し(ステップS1003)、目次情報の章のタイ
トル(メモリテーブルより取得する)と、当該開始ペー
ジから読み取った章のタイトルが同じであるかをチェッ
クし(ステップS1004)、同じであれば、当該開始
ページより画像チェックを開始するためにステップS1
007へ進む。
Next, a page image corresponding to the number of pages indicated by the start page number of the chapter to be checked is obtained, and it is checked whether or not the image corresponds to the start page of the chapter. First, block selection is performed on the acquired image (step S1003), and it is checked whether the chapter title (obtained from the memory table) in the table of contents information is the same as the chapter title read from the start page. (Step S1004) If they are the same, step S1 is executed to start the image check from the start page.
Proceed to 007.

【0016】一方、ステップS1004で章のタイトル
が読み取れないか、章のタイトルが違っていた場合は、
目次情報のページ数と当該取得した画像のページ番号が
同じであるかをチェックし(ステップS1005)、同
じであれば、その取得ページから画像チェックを開始す
る。
On the other hand, if the chapter title cannot be read or the chapter title is different at step S1004,
It is checked whether the number of pages in the table of contents information is the same as the page number of the acquired image (step S1005). If they are the same, the image check is started from the acquired page.

【0017】ここで、ページ番号が読み取れないか、ペ
ージ番号が違っていれば、前後のページに開始ページが
ずれているかについてチェックを行う。すなわち、自動
検査の開始ページを前後にずらし(ステップS100
6)、上記ステップS1004及びS1005を実行す
ることで開始ページかどうかをチェックする。なお、ス
テップS1006においてずらす値としては、最初に取
得された原稿のページ位置に対して、1回目は−1、2
回目は+1、3回目は−2、4回目は+2として、ずら
す絶対値を徐々に大きくしていく。
Here, if the page number cannot be read or the page number is different, it is checked whether the start page is shifted to the previous or next page. That is, the start page of the automatic inspection is shifted back and forth (step S100).
6), it is checked whether or not the page is the start page by executing steps S1004 and S1005. The value to be shifted in step S1006 is −1, 2 for the first time with respect to the page position of the original document acquired.
The absolute value to be shifted is gradually increased by setting +1 for the third time, -2 for the third time, and +2 for the fourth time.

【0018】以上のようにして、開始ページとして取得
された画像において、章タイトルもしくはページ番号の
いずれかの一致がとれたら、ステップS1007へ進
み、画像の自動検査を開始する。
As described above, if any of the chapter title or the page number matches in the image acquired as the start page, the process proceeds to step S1007 to start the automatic inspection of the image.

【0019】ステップS1007における画像チェック
では、例えば、重送、画像欠け、ページずれ、表裏反転
等について画像のチェックが実行される。この画像チェ
ックをその章の終了ページまで(ステップS1002で
取得されたページ枚数分、すなわち図3のメモリテーブ
ルから得られる「ページ数」)実行する(ステップS1
008)。そして、終了ページまで画像のチェックが終
了したら、そのチェック結果を表示する(ステップS1
009)。
In the image check in step S1007, for example, the image is checked for double feed, missing image, page shift, front / back inversion, and the like. This image check is executed until the end page of the chapter (the number of pages acquired in step S1002, that is, the “number of pages” obtained from the memory table in FIG. 3) (step S1).
008). When the image check is completed up to the end page, the check result is displayed (step S1).
009).

【0020】また、ステップS1010では、続けて別
の章をチェックするかどうかをユーザに問い合わせ、別
の章をチェックする旨の指示があればステップS100
2へ戻る。また、チェックを終了するのであればそのま
ま本処理を終了する。
In step S1010, the user is inquired whether to check another chapter continuously. If there is an instruction to check another chapter, step S100
Return to 2. If the check is to be terminated, the process is terminated.

【0021】以上説明したように、第1の実施形態によ
れば、目次情報から章ごとの開始ページ、ページ数を求
め、文書原稿を読みとって得られた画像データについて
の章単位での自動検査が行え、その結果が章単位で表示
される。したがって、異常があった場合には章単位での
再読み取りの指示が行うことができる。
As described above, according to the first embodiment, the start page and the number of pages for each chapter are obtained from the table of contents information, and the image data obtained by reading the document manuscript is automatically inspected in chapter units. And the results are displayed in chapter units. Therefore, when there is an abnormality, a reread instruction can be issued in chapter units.

【0022】[第2の実施形態]次に、第2の実施形態
について説明する。第2の実施形態では文書全体に関し
て、どの章でページずれが生じたかをユーザが容易に認
識することができる画像検査装置を示す。第2の実施形
態による画像検査装置の構成は第1の実施形態と同様で
ある。以下では、第2実施形態の動作を説明する。図5
及び図6は第2の実施形態による画像の自動検査の手順
を説明するフローチャートである。
[Second Embodiment] Next, a second embodiment will be described. In the second embodiment, an image inspection apparatus that allows a user to easily recognize in which chapter a page shift has occurred in an entire document is described. The configuration of the image inspection apparatus according to the second embodiment is the same as that of the first embodiment. Hereinafter, the operation of the second embodiment will be described. FIG.
FIG. 6 is a flowchart illustrating a procedure of an automatic image inspection according to the second embodiment.

【0023】最初に、目次原稿のブロックセレクション
を実行し、各章のタイトルとページ数を目次情報として
取得し、メモリテーブルを生成する(ステップS200
1)。この処理はステップS1001(第1の実施形
態、図4)と同様である。この時点で、図7に示すよう
なメモリテーブルを生成する。ただし、スキャン結果の
欄はステップS2001終了時点では空白の状態であ
る。
First, block selection of a table of contents document is executed, the title and page number of each chapter are obtained as table of contents information, and a memory table is generated (step S200).
1). This process is the same as step S1001 (first embodiment, FIG. 4). At this point, a memory table as shown in FIG. 7 is generated. However, the scan result column is blank at the end of step S2001.

【0024】次に、目次情報と、累積誤差から、章のタ
イトルページの枚数位置を仮決定する(ステップS20
02)。ステップS2002の1回目の処理時では、累
積誤差は当然0となるが、章のタイトル、前書き等がペ
ージ数に入っていない場合は、1枚目が1ページ目とは
ならないので累積誤差に加えられることになる。
Next, the position of the number of title pages of the chapter is provisionally determined from the table of contents information and the accumulated error (step S20).
02). At the time of the first processing in step S2002, the accumulated error is naturally 0. However, if the title of the chapter, the preamble, etc. are not included in the number of pages, the first page is not the first page. Will be done.

【0025】タイトルページであると仮決定されたペー
ジに対してブロックセレクションを実行し、当該ページ
のページ番号、章のタイトルを読み取る(ステップS2
003)。そして、ページ番号が読み取れたかを確認し
(ステップS2004)、ページ番号が読み取れていれ
ば読み取ったページ番号と目次原稿のブロックセレクシ
ョンで得られたページ数とを比べる(ステップS200
6)。ページ番号と目次情報のページ数が一致すれば読
み取ったページ番号が正しく、ページ数誤差が0と記録
し(ステップS2009)、違っていれば差分をページ
数誤差として記録する(ステップS2010)。
Block selection is performed on the page tentatively determined to be the title page, and the page number of the page and the chapter title are read (step S2).
003). Then, it is checked whether the page number has been read (step S2004). If the page number has been read, the read page number is compared with the number of pages obtained by block selection of the table of contents document (step S200).
6). If the page number matches the page number in the table of contents information, the read page number is correct and the page number error is recorded as 0 (step S2009), and if not, the difference is recorded as a page number error (step S2010).

【0026】ページ番号が読み取れなかった場合は、章
のタイトルが読み取れたかを確認し(ステップS200
5)、章のタイトルが読み取れれば、目次情報の章のタ
イトルと読み取った章のタイトルとを比較し(ステップ
S2007)、同じであればページ数誤差が0と記録す
る(ステップS2008)。
If the page number cannot be read, it is checked whether the chapter title has been read (step S200).
5) If the chapter title can be read, the title of the chapter in the table of contents information is compared with the title of the read chapter (step S2007), and if they are the same, the page number error is recorded as 0 (step S2008).

【0027】ページ番号が読み取れず、章のタイトルが
読み取れないか目次情報の章のタイトルと一致しなけれ
ば、前後のページについてチェックを行うべく、ブロッ
クセレクションを行うページの枚数位置をずらす(ステ
ップS2101)。なお、このずらす量は、ステップS
2107によって形成されるループの繰り返しにおい
て、ステップS2003にて処理されたページに対して
1回目は−1、2回目は+1、3回目は−2、4回目は
+2として、ずらす絶対値を徐々に大きくしていく。
If the page number cannot be read and the chapter title cannot be read or does not match the chapter title in the table of contents information, the position of the number of pages on which block selection is performed is shifted to check the previous and next pages (step S2101). ). It should be noted that this shift amount is determined in step S
In the repetition of the loop formed by step 2107, the absolute value to be shifted is gradually set to -1, the second time is +1, the third time is -2, and the fourth time is +2 for the page processed in step S2003. Make it bigger.

【0028】ステップS2101でずらした枚数位置に
あるページの画像についてブロックセレクションを実行
し、ページ番号を読み取る(ステップS2102)。ペ
ージ番号が読み取れたかを確認し(ステップS210
3)、ページ番号が読み取れていれば読み取ったページ
番号と目次情報に基づくページ数(目次情報の開始ペー
ジにステップS2101でずらされた枚数を加えた値)
とを比べる(ステップS2105)。両者が一致してい
れば、ページ数誤差が0と記録し(ステップS210
8)、違っていればそれらの差分をページ数誤差として
記録する(ステップS2109)。
Block selection is executed for the image of the page located at the number of pages shifted in step S2101, and the page number is read (step S2102). Check whether the page number has been read (step S210)
3) If the page number has been read, the read page number and the number of pages based on the table of contents information (the value obtained by adding the number of pages shifted in step S2101 to the start page of the table of contents information)
Are compared (step S2105). If they match, the page number error is recorded as 0 (step S210).
8) If they are different, the difference is recorded as a page number error (step S2109).

【0029】ページ数が読み取れなかった場合は、章の
タイトルが読み取れたかを確認し(ステップS210
4)、章のタイトルが読み取れれば、目次情報の章のタ
イトルと読み取った章のタイトルとを比較し(ステップ
S2106)、一致すれば、そのときのずらした枚数を
誤差として記録する(ステップS2110)。
If the number of pages cannot be read, it is checked whether the title of the chapter has been read (step S210).
4) If the title of the chapter is read, the title of the chapter in the table of contents information is compared with the title of the read chapter (step S2106). If they match, the number of sheets shifted at that time is recorded as an error (step S2110). ).

【0030】ページ数が読み取れず、章のタイトルが読
み取れないか目次情報の章のタイトルと一致しなけれ
ば、ずらした枚数が前の章のチェックで確定した枚数と
同じかを調べ(ステップS2107)、同じであれば、
ずらしたページ数と、前の章とのページ数とをページ数
誤差として記録し(ステップS2111)、違っていれ
ば、ずらす枚数を変更し、前後の枚数チェックを繰り返
す。
If the number of pages cannot be read and the chapter title cannot be read or does not match the chapter title in the table of contents information, it is checked whether the number of pages shifted is the same as the number determined in the previous chapter check (step S2107). , If the same,
The number of pages shifted and the number of pages from the previous chapter are recorded as a page number error (step S2111). If they are different, the number of pages to be shifted is changed, and the check of the number of pages before and after is repeated.

【0031】今回の章でのページ誤差を、累積誤差に加
える(ステップS2011)。上記の動作を最終章まで
行い、全ての章のチェックが終了すれば、結果を使用者
に図6の表として表示する(ステップS2013)。
The page error in the current chapter is added to the accumulated error (step S2011). The above operation is performed up to the last chapter, and when all the chapters have been checked, the result is displayed to the user as a table in FIG. 6 (step S2013).

【0032】図7は、ページ数のずれを章単位で表示し
た図である。このように、章単位でページ数のずれを表
示することで、どの章でページずれがおこっているかが
一目でわかり、章毎の再読み取りの指示が行える。図7
に示した例を用いて上記処理を具体的に説明する。図1
1は、図7のスキャン結果が得られた文書画像データの
ページ画像の幾つかを示す図である。まず、第1章の先
頭ページについては、目次情報の開始ページとスキャン
結果の開始ページ(ページ画像(1))が一致してお
り、この時点で累積誤差はゼロである。次に、第2章の
先頭ページをチェックするが、この時点で累積誤差はゼ
ロであるので、目次情報に従って28枚目のページ画像
(28)がチェックされる。ところが、この28枚目の
ページ画像のページ番号は29であるので、ステップS
2010で誤差−1(28−29=ー1)が、第1章の
ページ誤差として記録される。次に第3章の先頭ページ
をチェックするが、この時点で累積誤差は「−1」であ
るので、目次情報のページ数56に累積誤差を加え、5
5枚目のページ画像(55)を抽出する。このページ画
像(55)をチェックした結果、ページ番号「56」が
読み取られ、これは目次情報のページ数と一致するので
第2章のページ枚数に誤差はないと判断され、ステップ
S2009で第2章のページ誤差に「0」が記録され
る。なお、ページ画像(55)のページ番号が読み取れ
ない場合でも、タイトル「中級編1」が読み取れた場合
は、そのタイトルが目次情報と一致するので、やはり、
第2章のページ枚数に誤差はないと判断される(ステッ
プS2008)。次に第4章の先頭ページをチェックす
るが、この時点では累積誤差は「ー1」であり、目次情
報のページ数89に累積誤差を加え、88枚目のページ
画像(88)を抽出する。このページ画像(88)をチ
ェックした結果、ページ番号が読み取れず、タイトルも
読み取れなかったとする。すると、ステップ2101で
処理対象のページ枚数をずらして、87枚目のページ画
像(87)を抽出する。そして、図11に従えば、ペー
ジ画像(87)をチェックした結果、ページ番号「8
9」が得られることになる。ここで、ずらした枚数は−
1であるので、目次情報に従えば本来は88ページであ
るはずである。従って、ステップS2105においてペ
ージ数の不一致が検出され、ステップS2010でその
誤差「−1」が第3章のページ誤差として記録される。
次に第5章の先頭ページをチェックするが、この時点で
累積誤差は「−2」となり、目次情報のページ数110
に累積誤差を加え、108枚目のページ画像(108)
を抽出する。ここで、ページ番号、タイトルが読み取れ
ない場合は、ステップS2101以降で枚数をずらして
チェックを行う。まず、枚数を−1ずらしてページ画像
(107)をチェックするが、ページ画像(107)か
らはページ番号、タイトルが読み取れない。次に、枚数
を+1ずらして、109枚目のページ画像(109)を
チェックする。ここで、ページ番号が「111」と読み
取れたとする。この場合、ずらした枚数は+1であり、
黙情報に従ったページ数(110+1=111)と一致
するので、第4章のページ誤差にゼロを記録する(ステ
ップS2108)。また、第4章の先頭ページのチェッ
ク時において、図11の(b)に示すように、ページ画
像(87)からページ番号が読み取れない場合でも、タ
イトル情報「中級編2」が読み取れれば、ステップS2
110へ進み、ずらし枚数「−1」が第3章のページ誤
差として記録されることになる。
FIG. 7 is a diagram showing the page number deviation in chapter units. In this way, by displaying the page number shift in chapter units, it is possible to see at a glance in which chapter the page shift has occurred, and to instruct rereading for each chapter. FIG.
The above processing will be specifically described using the example shown in FIG. FIG.
FIG. 1 is a diagram illustrating some of the page images of the document image data from which the scan result of FIG. 7 has been obtained. First, for the first page of the first chapter, the start page of the table of contents information and the start page of the scan result (page image (1)) match, and at this point, the accumulated error is zero. Next, the first page of the second chapter is checked. At this point, since the accumulated error is zero, the 28th page image (28) is checked according to the table of contents information. However, since the page number of the 28th page image is 29, step S
At 2010, the error -1 (28-29 = -1) is recorded as the page error of the first chapter. Next, the first page of Chapter 3 is checked. At this point, since the accumulated error is “−1”, the accumulated error is added to the number of pages 56 of the table of contents information, and 5
The fifth page image (55) is extracted. As a result of checking this page image (55), the page number "56" is read. Since this matches the number of pages in the table of contents information, it is determined that there is no error in the number of pages in the second chapter. “0” is recorded in the page error of the chapter. Even if the page number of the page image (55) cannot be read, if the title "intermediate edition 1" is read, the title matches the table of contents information.
It is determined that there is no error in the number of pages of the second chapter (step S2008). Next, the first page of Chapter 4 is checked. At this point, the cumulative error is “−1”, and the cumulative error is added to the number of pages 89 of the table of contents information to extract the 88th page image (88). . It is assumed that as a result of checking this page image (88), the page number cannot be read and the title cannot be read. Then, in step 2101, the 87th page image (87) is extracted by shifting the number of pages to be processed. Then, according to FIG. 11, as a result of checking the page image (87), the page number “8” is obtained.
9 "will be obtained. Here, the number of sheets shifted is-
Since it is 1, it should be 88 pages according to the table of contents information. Accordingly, in step S2105, a mismatch in the number of pages is detected, and in step S2010, the error “−1” is recorded as the page error in Chapter 3.
Next, the first page of Chapter 5 is checked. At this point, the accumulated error is “−2”, and the number of pages of the table of contents information is 110.
To the 108th page image (108)
Is extracted. If the page number and title cannot be read, the number is shifted and a check is performed in step S2101 and thereafter. First, the page image (107) is checked by shifting the number by −1, but the page number and title cannot be read from the page image (107). Next, the number of pages is shifted by +1 and the 109th page image (109) is checked. Here, it is assumed that the page number is read as “111”. In this case, the shifted number is +1 and
Since it matches the number of pages according to the silent information (110 + 1 = 111), zero is recorded as the page error in Chapter 4 (step S2108). Also, at the time of checking the first page of Chapter 4, even if the page number cannot be read from the page image (87) as shown in FIG. Step S2
Proceeding to 110, the number of shifts "-1" is recorded as the page error of the third chapter.

【0033】以上に示すとおり、目次情報から章ごとの
開始ページ、ページ数を求め、章単位での文書原稿を読
みとった画像データについてページずれの検査を行う際
に、余分なページの検査を行わず効率的に検査が行え、
また章単位で表示することで、異常があった場合に章単
位での再読み取りの指示が行うことができる。
As described above, when the start page and the number of pages for each chapter are obtained from the table of contents information, and the image data obtained by reading the document manuscript in chapter units is checked for page misalignment, an extra page is checked. Inspection can be performed efficiently without
In addition, by displaying in chapter units, it is possible to give an instruction for re-reading in chapter units when there is an abnormality.

【0034】[第3の実施形態]上述の第2の実施形態
では、章を単位としてページずれを検出した。第3の実
施形態では、所望のページ数を単位としてページずれの
検出を行う。以下、第3実施形態の動作を、図8及び図
9のフローチャートを用いて説明する。
[Third Embodiment] In the above-described second embodiment, a page shift is detected in chapter units. In the third embodiment, a page shift is detected using a desired number of pages as a unit. Hereinafter, the operation of the third embodiment will be described with reference to the flowcharts of FIGS. 8 and 9.

【0035】最初に、原稿を何枚毎にチェックするかの
ページスキップ数を使用者が入力する(ステップS30
01)。ページスキップ数と、スキップした回数、累積
誤差から、ブロックセレクションを行う枚数目を決定す
る(ステップS3002)。1回目は、スキップした回
数は1、累積誤差は当然0となる。なお、文章のタイト
ル、前書き等がページ数に入っていない場合は、1枚目
が1ページ目になっていないので累積誤差に加えられる
ことになる。
First, the user inputs the number of page skips for how many sheets of the document are to be checked (step S30).
01). The number of pages to be subjected to block selection is determined from the number of page skips, the number of skips, and the accumulated error (step S3002). In the first time, the number of skips is 1, and the accumulated error is naturally 0. If the title of the sentence, the preamble, and the like are not included in the number of pages, the first sheet is not included in the first page, and is added to the accumulated error.

【0036】次に、決定された枚数目のページに対して
ブロックセレクションを実行し、ページ番号を読み取る
(ステップS3003)。ページ番号が読み取れたかを
確認し(ステップS3004)、ページ番号が読み取れ
れば読み取ったページ番号とブロックセレクションを行
ったページの枚数目とを比べてる(ステップS300
5)。両者が一致すれば、読み取ったページ数が正し
く、ページ数誤差が0と記録し(ステップS300
6)、違っていれば両者の差分をページ数誤差として記
録する(ステップS3007)。
Next, block selection is executed for the determined number of pages, and the page number is read (step S3003). It is checked whether the page number has been read (step S3004). If the page number can be read, the read page number is compared with the number of pages on which block selection has been performed (step S300).
5). If they match, the number of read pages is correct and the page number error is recorded as 0 (step S300).
6) If they are different, the difference between them is recorded as a page number error (step S3007).

【0037】一方、ページ番号が読み取れなかった場合
は、前後の枚数目のページに対してチェックを行う。ま
ず、ステップS3101において、ブロックセレクショ
ンを行うページの枚数目をずらす。このずらす量は、1
回目は−1、2回目は+1、3回目は−2、4回目は+
2として、ずらす絶対値を徐々に大きくしていく。この
ずらした枚数目のページについてブロックセレクション
を実行し、ページ数を読み取る(ステップS310
2)。
On the other hand, if the page number cannot be read, a check is made for the previous and next pages. First, in step S3101, the number of pages to be subjected to block selection is shifted. This shift amount is 1
The first time is -1, the second time is +1, the third time is -2, the fourth time is +
As 2, the absolute value to be shifted is gradually increased. Block selection is executed for the shifted number of pages, and the number of pages is read (step S310).
2).

【0038】次に、ページ番号が読み取れたかを確認し
(ステップS3103)、ページ番号が読み取れれば読
み取ったページ番号とブロックセレクションを行ったペ
ージの枚数目を比べて(ステップS3105)、両者が
一致すれば読み取ったページ数が正しく、ページ数誤差
が0と記録し(ステップS3107)、違っていればそ
の差分をページ数誤差として記録する(ステップS31
08)。
Next, it is confirmed whether the page number has been read (step S3103). If the page number can be read, the read page number is compared with the number of pages subjected to block selection (step S3105). Then, the read page number is correct and the page number error is recorded as 0 (step S3107), and if different, the difference is recorded as the page number error (step S31).
08).

【0039】ページ番号を読み取れなかった場合、ずら
した枚数目が前回のスキップ回数でのブロックセレクシ
ョンで確定した枚数と同じかを調べ(ステップS310
4)、同じであれば、ずらしたページ数と、スキップ数
の差分とをページ数誤差として記録し(ステップS31
06)、違っていれば、ずらす枚数目を変更し、前後の
枚数チェックを繰り返す。
If the page number could not be read, it is checked whether or not the shifted number is the same as the number determined in the block selection at the previous skip count (step S310).
4) If they are the same, the number of shifted pages and the difference between the skip numbers are recorded as page number errors (step S31).
06) If they are different, change the number of sheets to be shifted, and repeat the check of the number of sheets before and after.

【0040】ステップS3008では、今回のスキップ
数でのページ誤差を、累積誤差に加える。そして、上記
の動作を最終ページまで繰り返す(ステップS300
9)。こうして、最終ページまで、チェックが終了すれ
ば、結果を使用者に図10の表のように表示する(ステ
ップS3010)。
In step S3008, the page error at the current skip count is added to the accumulated error. Then, the above operation is repeated until the last page (step S300)
9). When the check is completed up to the last page, the result is displayed to the user as shown in the table of FIG. 10 (step S3010).

【0041】図10は、ページ数のずれをスキップ単位
で表示した表である。このように、スキップ単位でペー
ジ数のずれを表示することで、ページずれがおこってい
る位置を所望のページ数間隔で調べることが可能とな
り、再読み取りの指示を容易に行える。図10に示した
例を用いて上記処理を具体的に説明する。図12は、図
10のスキャン結果が得られた文書画像データのページ
画像の幾つかを示す図である。まず、スキップ枚数に従
って、21枚目のページ画像(21)を取得するが、ペ
ージ画像(21)ではページ番号が「21」と読み取ら
れ、これはスキップページ数と一致するので、スキップ
ナンバー1におけるページ誤差にゼロを記録する(ステ
ップS3006)。次に、スキップナンバー3の先頭ペ
ージ検索する。この時点で累積誤差はゼロであるから、
41枚目のページ画像(41)を抽出してページ番号を
調べる。ここでページ番号は「42」と読み取られるこ
とになり、スキップページ数41との間に差が生じてい
る。したがって、スキップナンバー2のページ誤差とし
て「−1」が記録される(ステップS3007)。次
に、スキップナンバー4の先頭ページを検索する。この
時点で累積誤差は「−1」となっているので、スキップ
ページ数61に累積誤差を加え、60枚目のページ画像
を抽出する。60枚目のページ画像はページ数が読み取
れないので枚数をずらす。−1枚ずらし、59枚目のペ
ージ画像からページ番号を読み取る。図12では「5
9」が読み取られる。ここで、スキップ枚数に従えば、
このページ画像(59)はページ番号が「60」となる
べきである。したがって、ページが一致しておらず、そ
の誤差「+1」がスキップナンバー3のページ誤差とし
て記録される(ステップS3108)。また、この時点
で、累積誤差は再びゼロとなる。
FIG. 10 is a table showing the deviation of the number of pages in skip units. By displaying the page number shift in the skip unit in this manner, it is possible to check the position where the page shift occurs at a desired page number interval, and to easily perform a reread instruction. The above process will be specifically described using the example shown in FIG. FIG. 12 is a diagram showing some page images of the document image data from which the scan result of FIG. 10 has been obtained. First, the 21st page image (21) is acquired according to the skip number. In the page image (21), the page number is read as "21", which matches the skip page number. Zero is recorded as the page error (step S3006). Next, the first page of the skip number 3 is searched. At this point, the accumulated error is zero,
The 41st page image (41) is extracted and the page number is checked. Here, the page number is read as “42”, which is different from the skipped page number 41. Therefore, “−1” is recorded as the page error of the skip number 2 (step S3007). Next, the first page of the skip number 4 is searched. At this point, since the accumulated error is “−1”, the accumulated error is added to the number of skipped pages 61 to extract the 60th page image. Since the page number of the 60th page image cannot be read, the number is shifted. -1 is shifted, and the page number is read from the 59th page image. In FIG. 12, "5
9 "is read. Here, according to the skip number,
This page image (59) should have a page number "60". Therefore, the pages do not match, and the error “+1” is recorded as the page error of skip number 3 (step S3108). At this time, the accumulated error becomes zero again.

【0042】以上に示すとおり、使用者が指定したスキ
ップ単位で、文書原稿を読みとった画像データについて
ページずれの検査を行う際に、余分なページの検査を行
わず効率的に検査が行え、またスキップ単位で表示する
ことで、異常があった場合にスキップ単位での再読み取
りの指示が行うことができる。
As described above, when performing a page shift check on image data obtained by reading a document original in skip units specified by the user, the check can be performed efficiently without checking an extra page. By displaying in skip units, it is possible to give an instruction for re-reading in skip units when there is an abnormality.

【0043】以上説明したように上記各実施形態によれ
ば、文章原稿の読み取り画像データの、自動検査、及び
再読み取り指示が、章単位或いは所望のページ数単位で
行えるようになる。従って、不良画像の再読み取りを行
う際の操作が極めて容易となる。
As described above, according to each of the above-described embodiments, the automatic inspection and the re-reading instruction of the read image data of the text original can be performed in units of chapters or desired number of pages. Therefore, the operation for re-reading the defective image becomes extremely easy.

【0044】なお、本発明は、複数の機器(例えばホス
トコンピュータ,インタフェイス機器,リーダ,プリン
タなど)から構成されるシステムに適用しても、一つの
機器からなる装置(例えば、複写機,ファクシミリ装置
など)に適用してもよい。
Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine, a facsimile, etc.) comprising one device Device).

【0045】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(またはCPU
やMPU)が記憶媒体に格納されたプログラムコードを
読出し実行することによっても、達成されることは言う
までもない。
Another object of the present invention is to provide a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or apparatus, and to provide a computer (or CPU) of the system or apparatus.
And MPU) read and execute the program code stored in the storage medium.

【0046】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

【0047】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0048】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also an OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0049】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided on a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instructions of the program code, It goes without saying that the CPU included in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0050】[0050]

【発明の効果】以上説明したように、本発明によれば、
複数ページからなる文書原稿に記載されている文書内容
の区切りを単位として再読み取りの指示を容易に与える
ことが可能となる。
As described above, according to the present invention,
It is possible to easily give an instruction for re-reading in units of breaks of document contents described in a document manuscript having a plurality of pages.

【0051】また、本発明によれば、所望のページ数を
単位とした再読み取りの指示を容易に与えることが可能
となる。
Further, according to the present invention, it is possible to easily give a rereading instruction in units of a desired number of pages.

【0052】[0052]

【図面の簡単な説明】[Brief description of the drawings]

【図1】第1の実施形態による文書原稿読み取り,及び
画像の自動検査を実現するためのシステムの構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a configuration of a system for realizing document original reading and automatic image inspection according to a first embodiment.

【図2】読みとる文書原稿に含まれる目次原稿の例を示
す図である。
FIG. 2 is a diagram illustrating an example of a table of contents document included in a document document to be read.

【図3】図2で示した目次原稿から作成されるメモリテ
ーブルの一例を示す図である。
FIG. 3 is a diagram showing an example of a memory table created from the table of contents original shown in FIG. 2;

【図4】第1の実施形態による画像の自動検査の手順を
説明するのフローチャートである。
FIG. 4 is a flowchart illustrating a procedure of automatic image inspection according to the first embodiment;

【図5】第2の実施形態による画像の自動検査の手順を
説明するフローチャートである。
FIG. 5 is a flowchart illustrating a procedure of automatic image inspection according to a second embodiment.

【図6】第2の実施形態による画像の自動検査の手順を
説明するフローチャートである。
FIG. 6 is a flowchart illustrating a procedure of an automatic image inspection according to the second embodiment.

【図7】ページ数のずれを章単位で表示した場合の表示
例を示す図である。
FIG. 7 is a diagram illustrating a display example in a case where a page number shift is displayed in chapter units.

【図8】第3の実施形態による画像の自動検査の手順を
説明するフローチャートである。
FIG. 8 is a flowchart illustrating a procedure of automatic image inspection according to the third embodiment.

【図9】第3の実施形態による画像の自動検査の手順を
説明するフローチャートである。
FIG. 9 is a flowchart illustrating a procedure of automatic image inspection according to the third embodiment.

【図10】ページ数のずれを所望のページ数単位で表示
した場合の表示例を示す図である。
FIG. 10 is a diagram illustrating a display example in a case where a page number shift is displayed in a desired page number unit.

【図11】図7のスキャン結果を得る文書画像データの
ページ画像の幾つかを示す図である。
11 is a diagram showing some page images of document image data obtained from the scan result of FIG. 7;

【図12】図10のスキャン結果を得る文書画像データ
のページ画像の幾つかを示す図である。
FIG. 12 is a diagram showing some page images of document image data obtained from the scan result of FIG. 10;

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 文書を複数のページ画像からなる文書画
像として格納する格納手段と、 前記文書を複数の区分に分けるための区切りを表す区切
り文字列と各区切り位置のページ数を含む目次情報を保
持する保持手段と、 前記保持手段で保持された目次情報に基づいて、前記文
書の複数の区分のうちの検査対象とすべき区分に対応す
る文書画像の範囲を検査範囲に決定する決定手段と、 前記決定手段で決定された検査範囲内の前記文書画像の
各ページ画像について検査を行う検査手段とを備えるこ
とを特徴とする画像検査装置。
A storage unit configured to store a document as a document image including a plurality of page images; and a table of contents including a delimiter character string indicating a delimiter for dividing the document into a plurality of sections and a page number at each delimiter position. Holding means for holding, and determining means for determining, based on the table of contents information held by the holding means, a range of a document image corresponding to a section to be inspected among the plurality of sections of the document as an inspection range. An image inspection apparatus, comprising: inspection means for inspecting each page image of the document image within the inspection range determined by the determination means.
【請求項2】 前記区分は、文書における章であり、前
記区切り文字列は章題であることを特徴とする請求項1
に記載の画像検査装置。
2. The method according to claim 1, wherein the division is a chapter in a document, and the delimiter character string is a chapter title.
An image inspection apparatus according to claim 1.
【請求項3】 前記決定手段は、検査対象とすべき区分
に対応する区切り文字列かページ数の少なくともいずれ
かが一致するページ画像を検索し、検索されたページ画
像を前記検査範囲の先頭とすることを特徴とする請求項
1に記載の画像検査装置。
3. The determining unit searches for a page image that matches at least one of a delimiter character string and a page number corresponding to a section to be inspected, and determines the searched page image as a head of the inspection range. The image inspection apparatus according to claim 1, wherein the inspection is performed.
【請求項4】 前記決定手段は、前記目次情報に基づい
て検査対象とすべき区分のページ枚数を獲得し、前記検
索されたページ画像を先頭として、獲得されたページ枚
数分のページ画像を検査範囲に決定することを特徴とす
る請求項3に記載の画像検査装置。
4. The determination means obtains the number of pages in a section to be inspected based on the table of contents information, and inspects the acquired page images starting from the retrieved page images to inspect the acquired page images for the number of pages. The image inspection apparatus according to claim 3, wherein the image inspection apparatus determines the range.
【請求項5】 前記決定手段は、 検査対象とすべき区分に対応するページ数を前記目次情
報より得て、該ページ数に対応する枚数位置のページ画
像を抽出し、以降その前後の枚数位置のページ画像を順
次に抽出する抽出手段と、 前記抽出手段で一つのページ画像が抽出される毎に、前
記検査対象とすべき区分の区切り文字列に対応する文字
列もしくはページ数に対応するページ番号の少なくとも
いずれかが当該ページ画像に存在するか判断し、存在す
ると判断された場合に当該ページ画像を当該区分の先頭
ページであると判定する判定手段とを備えることを特徴
とする請求項3に記載の画像検査装置。
5. The determination means obtains the number of pages corresponding to the section to be inspected from the table of contents information, extracts page images at the number of pages corresponding to the number of pages, and thereafter, determines the number of pages before and after that. Extracting means for sequentially extracting the page images, and each time one page image is extracted by the extracting means, a character string corresponding to the delimiter character string of the section to be inspected or a page corresponding to the number of pages 4. A determination means for determining whether at least one of the numbers is present in the page image, and determining that the page image is the first page of the section when it is determined that the number is present. An image inspection apparatus according to claim 1.
【請求項6】 文書を複数のページ画像からなる文書画
像として格納する格納手段と、 前記文書を複数の区分に分けるための区切りを表す区切
り文字列と各区切り位置のページ数を含む目次情報を保
持する保持手段と、 前記保持手段で保持された目次情報に基づいて、前記文
書の複数の区分のそれぞれの先頭ページに対応するペー
ジ画像を検索する検索手段と、 前記検索手段で検索された各ページ画像の前記文書画像
における枚数目と、前記目次情報に示される各区切り位
置のページ数との誤差に基づいて誤差情報を生成する生
成手段と、 前記生成手段で生成された誤差情報に基づいて、前記区
分を単位としてページ誤差を提示する提示手段とを備え
ることを特徴とする画像検査装置。
6. A storage unit for storing a document as a document image composed of a plurality of page images, and a table of contents including a delimiter character string indicating a delimiter for dividing the document into a plurality of sections and the number of pages at each delimiter position. Holding means for holding; searching means for searching for a page image corresponding to each first page of a plurality of sections of the document based on the table of contents information held by the holding means; Generating means for generating error information based on an error between the number of pages of the page image in the document image and the number of pages at each break point indicated in the table of contents information, and based on the error information generated by the generating means. And a presentation unit for presenting a page error in units of the sections.
【請求項7】 前記検索手段は、前記複数の区分の各々
に関して、区分に対応する区切り文字列かページ数の少
なくともいずれかが一致するページ画像を検索し、検索
されたページ画像を該区分の先頭のページ画像とするこ
とを特徴とする請求項6に記載の画像検査装置。
7. The search unit searches, for each of the plurality of sections, for a page image in which at least one of a delimiter character string corresponding to the section and the number of pages matches, and searches the searched page image for the section. The image inspection apparatus according to claim 6, wherein the first page image is used.
【請求項8】 前記検索手段は、前記複数の区分の各々
に関して、 区分に対応するページ数を前記目次情報より得て、該ペ
ージ数に対応する枚数位置のページ画像を抽出し、以降
その前後の枚数位置のページ画像を順次に抽出する抽出
手段と、 前記抽出手段で一つのページ画像が抽出される毎に、前
記検査対象とすべき区分の区切り文字列に対応する文字
列もしくはページ数に対応するページ番号の少なくとも
いずれかが当該ページ画像に存在するか判断し、存在す
ると判断された場合に当該ページ画像を当該区分の先頭
ページであると判定する判定手段とを備えることを特徴
とする請求項6に記載の画像検査装置。
8. The search means obtains the number of pages corresponding to the section from the table of contents information for each of the plurality of sections, extracts a page image at the number of pages corresponding to the number of pages, and thereafter, Extracting means for sequentially extracting the page images at the number of pages, and each time one page image is extracted by the extracting means, a character string or the number of pages corresponding to the delimiter character string of the section to be inspected A determination unit configured to determine whether at least one of the corresponding page numbers exists in the page image, and to determine that the page image is the first page of the section when determined to be present. The image inspection apparatus according to claim 6.
【請求項9】 前記抽出手段において最初に設定される
枚数位置を、前記目次情報から得られるページ数を前記
誤差情報に基づいて補正することで得ることを特徴とす
る請求項8に記載の画像検査装置。
9. The image according to claim 8, wherein the number position set first by the extraction unit is obtained by correcting the number of pages obtained from the table of contents information based on the error information. Inspection equipment.
【請求項10】 文書を複数のページ画像からなる文書
画像として格納する格納手段と、 所望のページ数を設定する設定手段と、 前記設定手段で設定されたページ数毎のページ番号に対
応するページ画像を前記文書画像から検索する検索手段
と、 前記検索手段で検索された各ページ画像の前記文書画像
における枚数目と、前記設定されたページ数によって得
られるページ番号との誤差に基づいて誤差情報を生成す
る生成手段と、 前記生成手段で生成された誤差情報に基づいて、前記設
定手段で設定されたページ数を単位としてページ誤差を
提示する提示手段とを備えることを特徴とする画像検査
装置。
10. A storage unit for storing a document as a document image composed of a plurality of page images, a setting unit for setting a desired number of pages, and a page corresponding to a page number for each page number set by the setting unit Searching means for searching an image from the document image; error information based on an error between the number of pages in the document image of each page image searched by the searching means and a page number obtained by the set number of pages And a presentation unit that presents a page error in units of the number of pages set by the setting unit based on the error information generated by the generation unit. .
【請求項11】 前記検索手段は、前記文書を前記設定
手段で設定されたページ数によって分割することで得ら
れる複数の区分の各々に関して、 区分の先頭に対応するページ数を前記設定されたページ
数に基づいて得て、該ページ数に対応する枚数位置のペ
ージ画像を抽出し、以降その前後の枚数位置のページ画
像を順次に抽出する抽出手段と、 前記抽出手段で一つのページ画像が抽出される毎に、当
該ページ画像に前記区分の先頭に対応するページ番号が
存在するか判断し、存在すると判断された場合に当該ペ
ージ画像を当該区分の先頭ページであると判定する判定
手段とを備えることを特徴とする請求項10に記載の画
像検査装置。
11. The search means, for each of a plurality of divisions obtained by dividing the document by the number of pages set by the setting means, sets the number of pages corresponding to the head of the division to the set page. Extracting means for extracting the page images at the number of pages corresponding to the number of pages, and thereafter sequentially extracting the page images at the number of pages before and after that, and extracting one page image by the extracting means. Each time the page image has a page number corresponding to the top of the section in the page image, and determining that the page image is the first page of the section if it is determined that the page number exists. The image inspection apparatus according to claim 10, further comprising:
【請求項12】 前記抽出手段において最初に設定され
る枚数位置を、前記目次情報から得られるページ数を前
記誤差情報に基づいて補正することで得ることを特徴と
する請求項11に記載の画像検査装置。
12. The image according to claim 11, wherein the number position set first by said extraction means is obtained by correcting the number of pages obtained from said table of contents information based on said error information. Inspection equipment.
【請求項13】 文書を複数のページ画像からなる文書
画像として記憶手段に格納する格納工程と、 前記文書を複数の区分に分けるための区切りを表す区切
り文字列と各区切り位置のページ数を含む目次情報を記
憶手段に保持する保持工程と、 前記保持工程で保持された目次情報に基づいて、前記文
書の複数の区分のうちの検査対象とすべき区分に対応す
る文書画像の範囲を検査範囲に決定する決定工程と、 前記決定工程で決定された検査範囲内の前記文書画像の
各ページ画像について検査を行う検査工程とを備えるこ
とを特徴とする画像検査方法。
13. A storing step of storing a document in a storage unit as a document image including a plurality of page images, a delimiter character string indicating a delimiter for dividing the document into a plurality of sections, and the number of pages at each delimiter position. A holding step of holding the table of contents information in the storage means; and, based on the table of contents information held in the holding step, a range of a document image corresponding to a section to be checked out of the plurality of sections of the document. And an inspection step of inspecting each page image of the document image within the inspection range determined in the determination step.
【請求項14】 文書を複数のページ画像からなる文書
画像として記憶手段に格納する格納工程と、 前記文書を複数の区分に分けるための区切りを表す区切
り文字列と各区切り位置のページ数を含む目次情報を記
憶手段に保持する保持工程と、 前記保持工程で保持された目次情報に基づいて、前記文
書の複数の区分のそれぞれの先頭ページに対応するペー
ジ画像を検索する検索工程と、 前記検索工程で検索された各ページ画像の前記文書画像
における枚数目と、前記目次情報に示される各区切り位
置のページ数との誤差に基づいて誤差情報を生成する生
成工程と、 前記生成工程で生成された誤差情報に基づいて、前記区
分を単位としてページ誤差を提示する提示工程とを備え
ることを特徴とする画像検査方法。
14. A storage step of storing a document in a storage unit as a document image composed of a plurality of page images, a delimiter character string indicating a delimiter for dividing the document into a plurality of sections, and the number of pages at each delimiter position. A holding step of holding the table of contents information in a storage unit, a search step of searching for a page image corresponding to a first page of each of the plurality of sections of the document based on the table of contents information held in the holding step; A generating step of generating error information based on an error between the number of pages in the document image of each page image searched in the step and the number of pages at each delimiting position indicated in the table of contents information; A step of presenting a page error in units of the sections based on the obtained error information.
【請求項15】 文書を複数のページ画像からなる文書
画像として記憶手段に格納する格納工程と、 所望のページ数を設定する設定工程と、 前記設定工程で設定されたページ数毎のページ番号に対
応するページ画像を前記文書画像から検索する検索工程
と、 前記検索工程で検索された各ページ画像の前記文書画像
における枚数目と、前記設定されたページ数によって得
られるページ番号との誤差に基づいて誤差情報を生成す
る生成工程と、 前記生成工程で生成された誤差情報に基づいて、前記設
定工程で設定されたページ数を単位としてページ誤差を
提示する提示工程とを備えることを特徴とする画像検査
方法。
15. A storing step of storing a document in a storage unit as a document image composed of a plurality of page images, a setting step of setting a desired number of pages, and a page number for each page number set in the setting step. A retrieval step of retrieving a corresponding page image from the document image, based on an error between the number of pages in the document image of each page image retrieved in the retrieval step and a page number obtained by the set number of pages And generating a page error based on the error information generated in the generating step, and presenting a page error in units of the number of pages set in the setting step. Image inspection method.
【請求項16】 コンピュータに画像検査を実行させる
ための制御プログラムを格納する記憶媒体であって、該
制御プログラムが、 文書を複数のページ画像からなる文書画像として記憶手
段に格納する格納工程のコードと、 前記文書を複数の区分に分けるための区切りを表す区切
り文字列と各区切り位置のページ数を含む目次情報を記
憶手段に保持する保持工程のコードと、 前記保持工程で保持された目次情報に基づいて、前記文
書の複数の区分のうちの検査対象とすべき区分に対応す
る文書画像の範囲を検査範囲に決定する決定工程のコー
ドと、 前記決定工程で決定された検査範囲内の前記文書画像の
各ページ画像について検査を行う検査工程のコードとを
備えることを特徴とする記憶媒体。
16. A storage medium for storing a control program for causing a computer to execute an image inspection, wherein the control program stores a code as a document image including a plurality of page images in a storage unit. And a code of a holding step of holding in the storage means index information including a delimiter character string indicating a delimiter for dividing the document into a plurality of sections and the number of pages at each delimiter position; and the index information held in the holding step A code of a determining step of determining a range of a document image corresponding to a section to be inspected among a plurality of sections of the document as an inspection range, based on the A code for an inspection process for inspecting each page image of the document image.
【請求項17】 コンピュータに画像検査を実行させる
ための制御プログラムを格納する記憶媒体であって、該
制御プログラムが、 文書を複数のページ画像からなる文書画像として記憶手
段に格納する格納工程のコードと、 前記文書を複数の区分に分けるための区切りを表す区切
り文字列と各区切り位置のページ数を含む目次情報を記
憶手段に保持する保持工程のコードと、 前記保持工程で保持された目次情報に基づいて、前記文
書の複数の区分のそれぞれの先頭ページに対応するペー
ジ画像を検索する検索工程のコードと、 前記検索工程で検索された各ページ画像の前記文書画像
における枚数目と、前記目次情報に示される各区切り位
置のページ数との誤差に基づいて誤差情報を生成する生
成工程のコードと、 前記生成工程で生成された誤差情報に基づいて、前記区
分を単位としてページ誤差を提示する提示工程のコード
とを備えることを特徴とする記憶媒体。
17. A storage medium for storing a control program for causing a computer to execute an image inspection, wherein the control program stores a document in a storage unit as a document image including a plurality of page images. And a code of a holding step of holding in the storage means index information including a delimiter character string indicating a delimiter for dividing the document into a plurality of sections and the number of pages at each delimiter position; and the index information held in the holding step A code of a search step of searching for a page image corresponding to each of the first pages of the plurality of sections of the document, a number of pages in the document image of each page image searched in the search step, and a table of contents A code of a generation step for generating error information based on an error with the number of pages at each break position indicated in the information, and a code generated in the generation step Storage medium based on the difference information, characterized by comprising a code presenting step for presenting a page error the segment as a unit.
【請求項18】 コンピュータに画像検査を実行させる
ための制御プログラムを格納する記憶媒体であって、該
制御プログラムが、 文書を複数のページ画像からなる文書画像として記憶手
段に格納する格納工程のコードと、 所望のページ数を設定する設定工程のコードと、 前記設定工程で設定されたページ数毎のページ番号に対
応するページ画像を前記文書画像から検索する検索工程
のコードと、 前記検索工程で検索された各ページ画像の前記文書画像
における枚数目と、前記設定されたページ数によって得
られるページ番号との誤差に基づいて誤差情報を生成す
る生成工程のコードと、 前記生成工程で生成された誤差情報に基づいて、前記設
定工程で設定されたページ数を単位としてページ誤差を
提示する提示工程のコードとを備えることを特徴とする
記憶媒体。
18. A storage medium for storing a control program for causing a computer to execute an image inspection, wherein the control program stores a document in a storage unit as a document image including a plurality of page images. A code of a setting step of setting a desired number of pages; a code of a search step of searching a page image corresponding to a page number for each page number set in the setting step from the document image; A code of a generation step of generating error information based on an error between the number of pages of the retrieved page image in the document image and a page number obtained by the set number of pages; A code of a presentation step of presenting a page error in units of the number of pages set in the setting step based on the error information. Storage medium characterized.
JP10082047A 1998-03-27 1998-03-27 Image inspection device and method Withdrawn JPH11282849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10082047A JPH11282849A (en) 1998-03-27 1998-03-27 Image inspection device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10082047A JPH11282849A (en) 1998-03-27 1998-03-27 Image inspection device and method

Publications (1)

Publication Number Publication Date
JPH11282849A true JPH11282849A (en) 1999-10-15

Family

ID=13763608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10082047A Withdrawn JPH11282849A (en) 1998-03-27 1998-03-27 Image inspection device and method

Country Status (1)

Country Link
JP (1) JPH11282849A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019008919A1 (en) * 2017-07-03 2019-01-10 京セラドキュメントソリューションズ株式会社 Manuscript reading device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019008919A1 (en) * 2017-07-03 2019-01-10 京セラドキュメントソリューションズ株式会社 Manuscript reading device

Similar Documents

Publication Publication Date Title
US7290251B2 (en) Method and system for providing a representation of merge conflicts in a three-way merge operation
US6594650B2 (en) File management system and its method and storage medium
EP0117336A2 (en) Picture image filing apparatus
US5781175A (en) Image search apparatus
WO2005083592A1 (en) Method and apparatus for locating content in a program
JPH0221024B2 (en)
JPH11282849A (en) Image inspection device and method
CN100414968C (en) Image processing system, information processing apparatus and method, image processing apparatus and method, recording medium, and program
US20060056740A1 (en) Apparatus and method for editing moving image data
KR101770551B1 (en) Appratus and method for matching video
US20210383781A1 (en) Systems and methods for score and screenplay based audio and video editing
JP3206762B2 (en) Image recording apparatus and image filing system having the same
JP3313483B2 (en) Keyword creation device
JPH1115826A (en) Document analyzer and its method
JPH032976A (en) Picture information filing device
BE1003613A6 (en) Method for producing and operating systems databases.
Jones New Challenges for Cross-Language Information Retrieval: multimedia data and the user experience
JP3379643B2 (en) Morphological analysis method and recording medium storing morphological analysis program
JP2000057143A (en) Sentence structure analyzing method, sentence structure analyzing device, and recording medium having recorded sentence structure analytical processing program thereon
JPH06251083A (en) Method and system for registering image data on optical disk
JP4547998B2 (en) Recording information management apparatus and program
JPH04328672A (en) Document preparing device
JPH04218873A (en) Optical filing device
JPH1069494A (en) Image retrieval method and device therefor
JPH09251547A (en) Document image management device and document image management method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050607