JP2007201752A - Program, device, system, and method for inputting image - Google Patents

Program, device, system, and method for inputting image Download PDF

Info

Publication number
JP2007201752A
JP2007201752A JP2006017128A JP2006017128A JP2007201752A JP 2007201752 A JP2007201752 A JP 2007201752A JP 2006017128 A JP2006017128 A JP 2006017128A JP 2006017128 A JP2006017128 A JP 2006017128A JP 2007201752 A JP2007201752 A JP 2007201752A
Authority
JP
Japan
Prior art keywords
size
image
document
paper
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006017128A
Other languages
Japanese (ja)
Inventor
Koji Imabayashi
宏司 今林
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2006017128A priority Critical patent/JP2007201752A/en
Publication of JP2007201752A publication Critical patent/JP2007201752A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a program, device, system, and a method for inputting images by which documents in which a plurality of paper size are mixed are continuously read and automatically cropped by each document size. <P>SOLUTION: A computer 3 connected to a scanner 6 which reads image data from the documents by predetermined size is functioned as an image data input means 10 for inputting the image data, a document size calculation means 12 for calculating size of a document part out of the image data, a paper size storage means 13 for storing a plurality of preset paper sizes and a cropping means 15 for comparing the calculated size of the document part with the plurality of paper sizes stored in the paper size storage means 13 to crop the image data by the closest paper size. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、複数の用紙サイズが混在する原稿をそれぞれの原稿サイズで入力するための画像入力プログラム、画像入力装置、画像入力システムおよび画像入力方法に関する。   The present invention relates to an image input program, an image input device, an image input system, and an image input method for inputting a document in which a plurality of paper sizes are mixed in each document size.

従来、複数の用紙サイズが混在する帳票などの原稿を画像読取装置により連続して読み取り、それぞれの原稿サイズで画像を切り出す(以下、「クロップ」と称す。)場合、画像読取装置の性能や計算誤差のために正確なサイズでクロップすることができない。そのため、複数の用紙サイズの原稿のうち同一の用紙サイズの原稿について統一した画像サイズで取得するためには、全原稿を一旦同一サイズごとに仕分けしてそれぞれ定型の固定サイズで読み取った後、再び全原稿を元の順序に分け戻すとともに、読み取った画像データも原稿と同じ順序に並べ直す必要がある。   Conventionally, when a document such as a form in which a plurality of paper sizes are mixed is continuously read by an image reading apparatus and an image is cut out at each original size (hereinafter referred to as “crop”), the performance and calculation of the image reading apparatus Can't crop at exact size due to error. For this reason, in order to obtain a uniform image size for a document of the same paper size among a plurality of paper size documents, all the documents are once sorted into the same size, and each is read with a fixed size, and then again. All the originals need to be rearranged in the original order, and the read image data must be rearranged in the same order as the originals.

ところで、複写やファックス送信する際に、非定型サイズの原稿を読み取る際に、画像データの縦横比を検出し、この縦横比からこの画像データに対応する定型サイズを選択して、この画像データを選択した定型サイズの画像データとして扱うことにより、非定形サイズの画像データを画像の欠落なく定型サイズの用紙へ複写等する技術が、例えば(特許文献1)に記載されている。
特開2000−36904号公報
By the way, when copying or faxing, when reading a non-standard size document, the aspect ratio of the image data is detected, and from this aspect ratio, the standard size corresponding to this image data is selected, and this image data is selected. A technique for copying non-standard-size image data onto a standard-size sheet without missing an image by treating it as selected standard-size image data is described, for example, in (Patent Document 1).
JP 2000-36904 A

前述のように複数の用紙サイズが混在する原稿をそれぞれの原稿サイズで画像をクロップする場合、全原稿を一旦同一サイズごとに仕分けしてそれぞれ定型の固定サイズで読み取った後、再び全原稿を元の順序に分け戻すとともに、読み取った画像データも原稿と同じ順序に並べ直すことは極めて煩雑な作業である。   As described above, when cropping an image with multiple paper sizes mixed at each original size, all the originals are once sorted into the same size, scanned in a fixed size, and then all originals are restored. It is an extremely complicated task to re-arrange the read image data in the same order as the original.

そこで、本発明においては、複数の用紙サイズが混在する原稿を連続して読み取り、それぞれの原稿サイズで自動的にクロップすることが可能な画像入力プログラム、画像入力装置、画像入力システムおよび画像入力方法を提供することを目的とする。   Therefore, in the present invention, an image input program, an image input apparatus, an image input system, and an image input method capable of continuously reading a document in which a plurality of paper sizes are mixed and automatically cropping each document size. The purpose is to provide.

なお、(特許文献1)に記載の技術は、非定形サイズの画像データが欠落しないようにこの画像データよりも大きな定型サイズを選択するものであり、複数の用紙サイズが混在する原稿をそれぞれの原稿サイズでクロップしようとする本発明とは技術的課題が異なる。   The technique described in (Patent Document 1) selects a standard size larger than this image data so that non-standard size image data is not lost. The technical problem is different from the present invention in which cropping is performed at the original size.

上記課題を解決するため、本発明は、画像データを入力し、画像データのうち原稿部分のサイズを算出し、算出された原稿部分のサイズと予め設定された複数の用紙サイズとを比較し、最も近い用紙サイズで画像データをクロップする構成とした。   In order to solve the above problems, the present invention inputs image data, calculates the size of a document portion in the image data, compares the calculated size of the document portion with a plurality of preset paper sizes, The image data is cropped with the closest paper size.

本発明によれば、複数の用紙サイズが混在する原稿を連続して読み取った際に、それぞれの画像データのうちの原稿部分のサイズに応じて予め設定された複数の用紙サイズから最も近い用紙サイズで画像データがクロップされるので、それぞれの原稿サイズで画像データを自動的にクロップすることが可能となる。これにより、OCR(光学式文字読取装置)の使用時に、原稿の位置情報の誤差も軽減されるので、エラーになりにくくなる。また、同一サイズの原稿が同一サイズの画像データとして取得されるので、画像ビューワソフトウェア等により表示される大きさがドットレベルで統一される。さらに、画像データのうち予め設定された用紙サイズにより原稿の画像データがクロップされるので、このクロップされた画像は、原稿の影やノイズ等を含まない綺麗な縁の画像となる。   According to the present invention, when a document in which a plurality of paper sizes are mixed is continuously read, the closest paper size from a plurality of paper sizes set in advance according to the size of the document portion of each image data Since the image data is cropped in this way, the image data can be automatically cropped at the respective document sizes. Accordingly, when using an OCR (optical character reader), an error in the position information of the document is reduced, so that an error is less likely to occur. Further, since originals of the same size are acquired as image data of the same size, the size displayed by the image viewer software or the like is unified at the dot level. Further, since the image data of the document is cropped according to a preset paper size in the image data, the cropped image becomes a beautiful edge image that does not include the shadow or noise of the document.

本発明の請求項1に記載の発明は、コンピューターに、定型紙の縦及び横の長さに関するサイズ情報を格納する処理と、外部の読取装置から複数のサイズが混合した原稿の画像を入力する処理と、前記混合した原稿の中の各々画像のサイズを検出し、前記検出された各々画像のサイズと前記記憶手段に記憶されたサイズ情報とを比較し、前記画像のサイズが前記記憶手段に記憶されたサイズ情報に近似する場合、前記画像を前記近似したサイズ情報を有する定型紙の画像とみなし、前記サイズ情報の領域の中から画像を切抜いて表示させる処理とを実行させる画像入力プログラムとしたものであり、複数の用紙サイズが混在する原稿を連続して読み取った際に、それぞれの画像データのうちの原稿部分のサイズに応じて予め設定された複数の用紙サイズから最も近い用紙サイズで画像データがクロップされるので、それぞれの原稿サイズで画像データを自動的にクロップすることが可能となる。これにより、OCR(光学式文字読取装置)の使用時に、原稿の位置情報の誤差も軽減されるので、エラーになりにくくなる。また、同一サイズの原稿が同一サイズの画像データとして取得されるので、画像ビューワソフトウェア等により表示される大きさがドットレベルで統一される。さらに、画像データのうち予め設定された用紙サイズにより原稿の画像データがクロップされるので、このクロップされた画像は、原稿の影やノイズ等を含まない綺麗な縁の画像となる。   According to the first aspect of the present invention, a process for storing size information relating to the vertical and horizontal lengths of the standard paper and an image of a document having a plurality of sizes mixed from an external reading device are input to a computer. Processing, detecting the size of each image in the mixed document, comparing the size of each detected image with the size information stored in the storage means, and the size of the image in the storage means An image input program that, when approximating the stored size information, regards the image as an image of a standard paper having the approximated size information, and executes a process of cutting and displaying the image from the size information area; When a document in which a plurality of paper sizes are mixed is continuously read, a plurality of preset values are set according to the size of the document portion of each image data. Since the image data is cropped closest paper size from the paper size, it becomes possible to automatically crop the image data for each document size. Accordingly, when using an OCR (optical character reader), an error in the position information of the document is reduced, so that an error is less likely to occur. Further, since originals of the same size are acquired as image data of the same size, the size displayed by the image viewer software or the like is unified at the dot level. Further, since the image data of the document is cropped according to a preset paper size in the image data, the cropped image becomes a beautiful edge image that does not include the shadow or noise of the document.

本発明の請求項2に記載の発明は、請求項1に記載の発明において、記憶手段に記憶されたサイズ情報の中に原稿のサイズに近似するサイズ情報が存在しない場合、画像の実際のサイズを画像のサイズとし、画像を表示させる処理を実行させる画像入力プログラムとするものであり、算出された原稿部分のサイズが予め設定された各用紙サイズの許容範囲内である場合にはその原稿が予め設定された用紙サイズの原稿であると判断してクロップし、これ以外の場合にはその原稿は予め設定された用紙サイズ以外のサイズの原稿であるとしてそのままのサイズでクロップすることができる。   According to the second aspect of the present invention, in the first aspect of the present invention, when there is no size information that approximates the size of the document in the size information stored in the storage means, the actual size of the image. Is an image input program for executing a process of displaying an image, and if the calculated size of the document portion is within an allowable range of each paper size set in advance, the document is It is determined that the document is a document having a preset paper size, and the document is cropped. In other cases, the document can be cropped as it is as a document having a size other than the preset paper size.

本発明の請求項3に記載の発明は、請求項1に記載の発明において、画像の読み取りは最大サイズで読み取られる画像入力プログラムとするものであり、複数の用紙サイズが混在する原稿を連続して読み取った際に、それぞれの画像データのうちの原稿部分のサイズに応じて予め設定された複数の定型の用紙サイズから最も近い用紙サイズで画像データがクロップされるので、それぞれの原稿サイズに最も近い定型の用紙サイズで画像データを自動的にクロップすることが可能となる。   According to a third aspect of the present invention, in the first aspect of the present invention, the image reading program is an image input program that is read at a maximum size, and a document having a plurality of paper sizes mixed is continuously provided. Since the image data is cropped with the paper size closest to a plurality of standard paper sizes set in advance according to the size of the original portion of each image data, Image data can be automatically cropped with a close standard paper size.

本発明の請求項4に記載の発明は、請求項1又は2に記載の発明において、記憶手段に記憶される複数の用紙サイズが、定型の用紙サイズである画像入力プログラムとするものであり、複数の用紙サイズが混在する原稿を連続して読み取った際に、それぞれの画像データのうちの原稿部分のサイズと比較する用紙サイズを任意に入力し、この入力した用紙サイズからも比較して、最も近い用紙サイズで画像データがクロップされる。   The invention according to claim 4 of the present invention is the image input program according to claim 1 or 2, wherein the plurality of paper sizes stored in the storage means are standard paper sizes, When a document with multiple paper sizes mixed is read continuously, the paper size to be compared with the size of the document part in each image data is arbitrarily input, and the comparison is also made from this input paper size. The image data is cropped with the closest paper size.

本発明の請求項5に記載の発明は、請求項1から4のいずれかに記載の発明において、記憶手段に記憶される用紙サイズを入力する用紙サイズ入力手段として前記コンピュータをさらに機能させる画像入力プログラムとするものであり、複数の用紙サイズが混在する原稿を連続して読み取った際に、それぞれの画像データのうちの原稿部分のサイズに応じて予め設定された複数の用紙サイズから最も近い用紙サイズで画像データがクロップされるので、それぞれの原稿サイズで画像データを自動的にクロップすることが可能となる。これにより、OCR(光学式文字読取装置)の使用時に、原稿の位置情報の誤差も軽減されるので、エラーになりにくくなる。また、同一サイズの原稿が同一サイズの画像データとして取得されるので、画像ビューワソフトウェア等により表示される大きさがドットレベルで統一される。さらに、画像データのうち予め設定された用紙サイズにより原稿の画像データがクロップされるので、このクロップされた画像は、原稿の影やノイズ等を含まない綺麗な縁の画像となる。   The invention according to claim 5 of the present invention is the image input according to any one of claims 1 to 4, wherein the computer further functions as paper size input means for inputting the paper size stored in the storage means. This is a program, and when a document with multiple paper sizes mixed is read continuously, the paper closest to a plurality of paper sizes preset according to the size of the document portion of each image data Since the image data is cropped according to the size, the image data can be automatically cropped at each original size. Accordingly, when using an OCR (optical character reader), an error in the position information of the document is reduced, so that an error is less likely to occur. Further, since originals of the same size are acquired as image data of the same size, the size displayed by the image viewer software or the like is unified at the dot level. Further, since the image data of the document is cropped according to a preset paper size in the image data, the cropped image becomes a beautiful edge image that does not include the shadow or noise of the document.

本発明の請求項6に記載の発明は、請求項1から5のいずれかに記載の発明において、画像入力プログラムと、所定のサイズにより原稿から前記画像データを読み取る画像読取装置とから構成される画像入力システムとするものであり、複数の用紙サイズが混在する原稿を連続して読み取った際に、それぞれの画像データのうちの原稿部分のサイズに応じて予め設定された複数の用紙サイズから最も近い用紙サイズで画像データがクロップされるので、それぞれの原稿サイズで画像データを自動的にクロップすることが可能となる。これにより、OCR(光学式文字読取装置)の使用時に、原稿の位置情報の誤差も軽減されるので、エラーになりにくくなる。また、同一サイズの原稿が同一サイズの画像データとして取得されるので、画像ビューワソフトウェア等により表示される大きさがドットレベルで統一される。さらに、画像データのうち予め設定された用紙サイズにより原稿の画像データがクロップされるので、このクロップされた画像は、原稿の影やノイズ等を含まない綺麗な縁の画像となる。   According to a sixth aspect of the present invention, in the invention according to any one of the first to fifth aspects, the image input program and an image reading device that reads the image data from a document with a predetermined size are provided. This is an image input system, and when a document having a plurality of paper sizes mixed is continuously read, the largest of the plurality of paper sizes set in advance according to the size of the document portion of each image data. Since the image data is cropped at a close paper size, the image data can be automatically cropped at each original size. Accordingly, when using an OCR (optical character reader), an error in the position information of the document is reduced, so that an error is less likely to occur. Further, since originals of the same size are acquired as image data of the same size, the size displayed by the image viewer software or the like is unified at the dot level. Further, since the image data of the document is cropped according to a preset paper size in the image data, the cropped image becomes a beautiful edge image that does not include the shadow or noise of the document.

本発明の請求項7に記載の発明は、定型紙の縦及び横の長さに関するサイズ情報を格納する記憶手段と、外部の読取装置から複数のサイズが混合した原稿の画像を入力する入力手段と、混合した原稿の中の各々画像のサイズを検出し、検出された各々画像のサイズと記憶手段に記憶されたサイズ情報とを比較し、画像のサイズが記憶手段に記憶されたサイズ情報に近似する場合、画像を前記近似したサイズ情報を有する定型紙の画像とみなし、サイズ情報の領域の中から画像を切抜いて表示させる制御手段とを具備した画像入力装置とするものであり、複数の用紙サイズが混在する原稿を連続して読み取った際に、それぞれの画像データのうちの原稿部分のサイズに応じて予め設定された複数の用紙サイズから最も近い用紙サイズで画像データがクロップされるので、それぞれの原稿サイズで画像データを自動的にクロップすることが可能となる。これにより、OCR(光学式文字読取装置)の使用時に、原稿の位置情報の誤差も軽減されるので、エラーになりにくくなる。また、同一サイズの原稿が同一サイズの画像データとして取得されるので、画像ビューワソフトウェア等により表示される大きさがドットレベルで統一される。さらに、画像データのうち予め設定された用紙サイズにより原稿の画像データがクロップされるので、このクロップされた画像は、原稿の影やノイズ等を含まない綺麗な縁の画像となる。   According to a seventh aspect of the present invention, there is provided storage means for storing size information relating to the vertical and horizontal lengths of standard paper, and input means for inputting an image of a document having a plurality of sizes mixed from an external reading device. The size of each image in the mixed document is detected, the size of each detected image is compared with the size information stored in the storage means, and the size of the image is converted into the size information stored in the storage means. In the case of approximation, the image is regarded as an image of a standard paper having the approximate size information, and the image input device includes a control unit that cuts out and displays the image from the size information area. When a document with mixed paper sizes is scanned continuously, the image data with the closest paper size from a plurality of paper sizes set in advance according to the size of the document portion of each image data. There therefore is cropped, it becomes possible to automatically crop the image data for each document size. Accordingly, when using an OCR (optical character reader), an error in the position information of the document is reduced, so that an error is less likely to occur. Further, since originals of the same size are acquired as image data of the same size, the size displayed by the image viewer software or the like is unified at the dot level. Further, since the image data of the document is cropped according to a preset paper size in the image data, the cropped image becomes a beautiful edge image that does not include the shadow or noise of the document.

本発明の請求項8に記載の発明は、定型紙の縦及び横の長さに関するサイズ情報を格納するステップと、外部の読取装置から複数のサイズが混合した原稿の画像を入力するステップと、混合した原稿の中の各々画像のサイズを検出し、検出された各々画像のサイズと記憶手段に記憶されたサイズ情報とを比較し、画像のサイズが記憶手段に記憶されたサイズ情報に近似する場合、画像を前記近似したサイズ情報を有する定型紙の画像とみなし、サイズ情報の領域の中から画像を切抜いて表示させるステップと、からなる画像入力方法とするもので、複数の用紙サイズが混在する原稿を連続して読み取った際に、それぞれの画像データのうちの原稿部分のサイズに応じて予め設定された複数の用紙サイズから最も近い用紙サイズで画像データがクロップされるので、それぞれの原稿サイズで画像データを自動的にクロップすることが可能となる。これにより、OCR(光学式文字読取装置)の使用時に、原稿の位置情報の誤差も軽減されるので、エラーになりにくくなる。また、同一サイズの原稿が同一サイズの画像データとして取得されるので、画像ビューワソフトウェア等により表示される大きさがドットレベルで統一される。さらに、画像データのうち予め設定された用紙サイズにより原稿の画像データがクロップされるので、このクロップされた画像は、原稿の影やノイズ等を含まない綺麗な縁の画像となる。   The invention described in claim 8 of the present invention includes a step of storing size information regarding the vertical and horizontal lengths of the standard paper, a step of inputting an image of a document in which a plurality of sizes are mixed from an external reading device, The size of each image in the mixed document is detected, the size of each detected image is compared with the size information stored in the storage means, and the image size approximates the size information stored in the storage means. In this case, the image input method comprises the step of displaying the image as a standard paper image having the approximate size information and cutting out the image from the size information area, and a plurality of paper sizes are mixed. When the original to be read is continuously read, the image data is obtained with a paper size closest to a plurality of paper sizes set in advance according to the size of the original portion of each image data. Since the drop, it becomes possible to automatically crop the image data for each document size. Accordingly, when using an OCR (optical character reader), an error in the position information of the document is reduced, so that an error is less likely to occur. Further, since originals of the same size are acquired as image data of the same size, the size displayed by the image viewer software or the like is unified at the dot level. Further, since the image data of the document is cropped according to a preset paper size in the image data, the cropped image becomes a beautiful edge image that does not include the shadow or noise of the document.

以下、本発明の実施の形態について説明する。   Embodiments of the present invention will be described below.

図1は本発明の実施の形態における画像入力システムの構成図である。   FIG. 1 is a configuration diagram of an image input system according to an embodiment of the present invention.

図1において、本発明の実施の形態における画像入力システム1は、ローカル・エリア・ネットワーク等の通信ネットワーク2と、この通信ネットワーク2を介して接続されるノート型のコンピュータ3、デスクトップ型のコンピュータ4、画像形成装置としてのプリンタ5、および所定のサイズにより原稿から画像データを読み取る画像読取装置としてのスキャナ6とから構成される。   1, an image input system 1 according to an embodiment of the present invention includes a communication network 2 such as a local area network, a notebook computer 3 and a desktop computer 4 connected via the communication network 2. And a printer 5 as an image forming apparatus and a scanner 6 as an image reading apparatus for reading image data from a document with a predetermined size.

図2は図1のノート型のコンピュータ3およびスキャナ6のハードウェア構成図である。なお、以下では説明しないが、コンピュータ4についてもコンピュータ3と同様の構成である。   FIG. 2 is a hardware configuration diagram of the notebook computer 3 and the scanner 6 of FIG. Although not described below, the computer 4 has the same configuration as the computer 3.

図2に示すように、コンピュータ3は、各種処理を行う中央処理装置(CPU)31と、CPU31を動作させるためのプログラム等を記録したリード・オンリ・メモリ(ROM)32と、CPU31による演算処理時のデータを一時記憶したりするランダム・アクセス・メモリ(RAM)33と、各種データを保存するハードディスク装置(HDD)34と、キーボードやポインティングデバイス等の操作部35と、ディスプレイ等の表示部36と、通信ネットワーク2に接続するためのインターフェース(I/F)37とを備える。なお、各部31〜37は、バス38により接続されている。   As shown in FIG. 2, the computer 3 includes a central processing unit (CPU) 31 that performs various processes, a read-only memory (ROM) 32 that records a program for operating the CPU 31, and arithmetic processing by the CPU 31. A random access memory (RAM) 33 for temporarily storing time data, a hard disk device (HDD) 34 for storing various data, an operation unit 35 such as a keyboard and a pointing device, and a display unit 36 such as a display. And an interface (I / F) 37 for connecting to the communication network 2. Each unit 31 to 37 is connected by a bus 38.

また、スキャナ6は、各種処理を行う中央処理装置(CPU)61と、CPU61を動作させるためのプログラム等を記録したリード・オンリ・メモリ(ROM)62と、CPU61による演算処理時のデータを一時記憶したりするランダム・アクセス・メモリ(RAM)63と、各種読み取り条件等を設定する操作パネル65と、原稿を読み取る読取部66と、通信ネットワーク2に接続するためのインターフェース(I/F)67とを備える。   The scanner 6 temporarily stores a central processing unit (CPU) 61 that performs various processes, a read-only memory (ROM) 62 that records a program for operating the CPU 61, and data during arithmetic processing by the CPU 61. A random access memory (RAM) 63 for storing data, an operation panel 65 for setting various reading conditions, a reading unit 66 for reading a document, and an interface (I / F) 67 for connecting to the communication network 2 With.

図3は図1のコンピュータ3のブロック図である。   FIG. 3 is a block diagram of the computer 3 of FIG.

図3に示すように、コンピュータ3は、HDD34に記録された画像入力プログラムを実行することにより、画像データを入力する画像データ入力手段10と、入力された画像データのうち原稿部分のサイズを算出する原稿サイズ算出手段11と、予め設定された複数の用紙サイズを記憶する用紙サイズ記憶手段12と、用紙サイズ記憶手段12に記憶される用紙サイズを入力する用紙サイズ入力手段13と、用紙サイズ記憶手段12に記憶された用紙サイズと原稿サイズ算出手段11により算出された原稿部分のサイズとを比較して最も近い用紙サイズで画像データをクロップするクロップ手段14と、このクロップ処理後の画像データを記憶する記憶手段15として機能する。   As shown in FIG. 3, the computer 3 executes the image input program recorded in the HDD 34, thereby calculating the image data input means 10 for inputting the image data, and the size of the original portion of the input image data. A document size calculation unit 11 to perform, a sheet size storage unit 12 to store a plurality of preset sheet sizes, a sheet size input unit 13 to input a sheet size stored in the sheet size storage unit 12, and a sheet size storage The paper size stored in the means 12 and the size of the original part calculated by the original size calculation means 11 are compared, and the cropping means 14 for cropping the image data with the closest paper size, and the image data after this cropping process. It functions as storage means 15 for storing.

図4は用紙サイズ記憶手段12に記憶される複数の用紙サイズの例を示す図である。図4に示すように、用紙サイズ記憶手段12には、予め設定されたA3、B3等の日本工業規格やレター、2L、名刺等の規格外の頻繁に使用される定型の用紙サイズと、利用者によって用紙サイズ入力手段13により入力される任意のカスタム用紙サイズとが記憶される。   FIG. 4 is a diagram showing an example of a plurality of paper sizes stored in the paper size storage unit 12. As shown in FIG. 4, the paper size storage means 12 includes preset standard Japanese paper sizes such as A3 and B3, and standard paper sizes that are frequently used outside the standards such as letters, 2L, and business cards. An arbitrary custom paper size input by the user through the paper size input means 13 is stored.

以下、上記構成の画像入力システムによる画像入力処理について説明する。図5は図1の画像入力システムによる画像入力処理のフローチャート、図6は図1の画像入力システムにより読み取る原稿の例を示す図である。なお、本実施の形態において読み取る原稿は、図6に示すような複数の用紙サイズの原稿であり、Aさん、Bさん、Cさんそれぞれの人の原稿100a,101a,102a,103a,100b,101b,102b,103b,100c,101c,102c,103cが複数の用紙サイズにより構成されている。この原稿をAさんの原稿100a,101a,102a,103a、Bさんの原稿100b,101b,102b,103b、Cさんの原稿100c,101c,102c,103cの順に連続して読み取る。なお、原稿100a,100b,100cは同じ用紙サイズの原稿、原稿101a,101b,101cは同じ用紙サイズの原稿、原稿102a,102b,102cは同じ用紙サイズの原稿、原稿103a,103b,103cは同じ用紙サイズの原稿であるが、原稿100a,101a,102a,103aはそれぞれ異なる用紙サイズである。   Hereinafter, image input processing by the image input system having the above-described configuration will be described. FIG. 5 is a flowchart of image input processing by the image input system of FIG. 1, and FIG. 6 is a diagram showing an example of a document read by the image input system of FIG. Note that the originals to be read in the present embodiment are originals of a plurality of paper sizes as shown in FIG. 6, and the originals 100a, 101a, 102a, 103a, 100b, and 101b of each of Mr. A, B, and C are used. , 102b, 103b, 100c, 101c, 102c, and 103c are composed of a plurality of paper sizes. The originals 100a, 101a, 102a, and 103a, the originals 100b, 101b, 102b, and 103b of B, and the originals 100c, 101c, 102c, and 103c of C are sequentially read. The originals 100a, 100b, and 100c are the same paper size, the originals 101a, 101b, and 101c are the same paper size, the originals 102a, 102b, and 102c are the same paper size, and the originals 103a, 103b, and 103c are the same paper. The originals 100a, 101a, 102a, and 103a have different paper sizes.

まず、スキャナ6により連続して原稿100a,101a,102a,103a,100b,101b,102b,103b,100c,101c,102c,103cの読み取りを行う(ステップS100)。このとき、各原稿100a,101a,102a,103a,100b,101b,102b,103b,100c,101c,102c,103cのうち最も大きいサイズで読み取れば良いが、スキャナ6で読み取れる最大サイズで読み取っても良い。   First, the originals 100a, 101a, 102a, 103a, 100b, 101b, 102b, 103b, 100c, 101c, 102c, and 103c are continuously read by the scanner 6 (step S100). At this time, the originals 100a, 101a, 102a, 103a, 100b, 101b, 102b, 103b, 100c, 101c, 102c, and 103c may be read at the largest size, but may be read at the maximum size that can be read by the scanner 6. .

読み取った画像データは通信ネットワーク2を介してコンピュータ3に出力され、コンピュータ3は、画像データ入力手段10によりこの画像データを入力する(ステップS101)。次に、コンピュータ2は、原稿サイズ算出手段11により、入力した画像データのうちそれぞれの原稿部分のサイズを算出する(ステップS102)。この原稿部分のサイズの算出は既知のデスキュ処理等の画像処理により行うことが可能である。   The read image data is output to the computer 3 via the communication network 2, and the computer 3 inputs this image data by the image data input means 10 (step S101). Next, the computer 2 calculates the size of each document portion of the input image data by the document size calculation means 11 (step S102). The size of the original portion can be calculated by image processing such as known deskew processing.

そして、コンピュータ2は、クロップ手段14により、原稿サイズ算出手段11により算出された原稿部分のサイズと用紙サイズ記憶手段12に記憶された複数の用紙サイズとを比較し、これらの差が予め設定された各用紙サイズの許容範囲内であるか否か判断し(ステップS103)、許容範囲内である場合には、その許容範囲内にあるこの用紙サイズ記憶手段12に登録された最も近い用紙サイズで画像データをクロップする(ステップS104)。一方、許容範囲内でない場合には、クロップ手段14は、原稿サイズ算出手段11により算出された原稿部分のサイズで画像データをクロップする(ステップS105)。   Then, the computer 2 compares the size of the document portion calculated by the document size calculation unit 11 with the plurality of sheet sizes stored in the sheet size storage unit 12 by the cropping unit 14, and the difference between these is set in advance. It is determined whether or not each paper size is within the permissible range (step S103). If it is within the permissible range, the closest paper size registered in the paper size storage means 12 within the permissible range is used. The image data is cropped (step S104). On the other hand, if it is not within the allowable range, the cropping unit 14 crops the image data with the size of the document portion calculated by the document size calculating unit 11 (step S105).

最後に、コンピュータ2は、このクロップされた画像データを記憶手段15へ記憶する。   Finally, the computer 2 stores the cropped image data in the storage unit 15.

以上のように、本実施の形態における画像入力システムでは、画像データを入力し、画像データのうち原稿部分のサイズを算出し、算出された原稿部分のサイズと予め設定された複数の用紙サイズとを比較し、最も近い用紙サイズで画像データをクロップする構成であるため、複数の用紙サイズが混在する原稿100a,101a,102a,103a,100b,101b,102b,103b,100c,101c,102c,103cを連続して読み取った際に、それぞれの画像データのうちの原稿部分のサイズに応じて予め設定された複数の用紙サイズから最も近い用紙サイズで画像データがクロップされるので、それぞれの原稿サイズで画像データを自動的にクロップすることが可能となる。   As described above, in the image input system according to the present embodiment, image data is input, the size of the document portion of the image data is calculated, the calculated size of the document portion, and a plurality of preset paper sizes. Since the image data is cropped with the closest paper size, the originals 100a, 101a, 102a, 103a, 100b, 101b, 102b, 103b, 100c, 101c, 102c, and 103c having a plurality of paper sizes are mixed. When image data is continuously read, the image data is cropped to the closest paper size from a plurality of paper sizes set in advance according to the size of the original portion of each image data. Image data can be automatically cropped.

これにより、OCR(光学式文字読取装置)の使用時に、原稿の位置情報の誤差も軽減されるので、エラーになりにくくなる。また、同一サイズの原稿、例えば100a,100b,100cが同一サイズの画像データとして取得されるので、画像ビューワソフトウェア等により表示される大きさがドットレベルで統一される。さらに、画像データのうち予め設定された用紙サイズにより原稿の画像データがクロップされるので、このクロップされた画像は、原稿の影やノイズ等を含まない綺麗な縁の画像となる。   Accordingly, when using an OCR (optical character reader), an error in the position information of the document is reduced, so that an error is less likely to occur. Further, since originals of the same size, for example, 100a, 100b, and 100c are acquired as image data of the same size, the size displayed by the image viewer software or the like is unified at the dot level. Further, since the image data of the document is cropped according to a preset paper size in the image data, the cropped image becomes a beautiful edge image that does not include the shadow or noise of the document.

また、本実施の形態における画像入力システムでは、用紙サイズ記憶手段12に定型の用紙サイズが記憶されており、複数の用紙サイズが混在する原稿を連続して読み取った際に、それぞれの画像データのうちの原稿部分のサイズに応じて予め設定された複数の定型の用紙サイズから最も近い用紙サイズで画像データがクロップされるので、それぞれの原稿サイズに最も近い定型の用紙サイズで画像データを自動的にクロップすることが可能である。また、本実施の形態における画像入力システムにおいては、用紙サイズ入力手段13により利用者が任意にクロップする用紙サイズをカスタマイズすることができるので、非定型の用紙サイズにも対応可能である。   Further, in the image input system according to the present embodiment, a standard paper size is stored in the paper size storage unit 12, and when a document having a mixture of a plurality of paper sizes is continuously read, each image data Since the image data is cropped at the closest paper size from a plurality of preset standard paper sizes according to the size of the original part, the image data is automatically generated at the fixed paper size closest to each original size. Can be cropped. In the image input system according to the present embodiment, the user can customize the paper size to be arbitrarily cropped by the paper size input means 13, so that it is possible to cope with an atypical paper size.

なお、本実施の形態においては、コンピュータ3とスキャナ6とが通信ネットワーク2を介して接続される構成としたが、ユニバーサルシリアルバス(USB)等の他のI/Fを用いて直接接続される構成とすることも可能である。   In the present embodiment, the computer 3 and the scanner 6 are connected via the communication network 2, but are directly connected using another I / F such as a universal serial bus (USB). A configuration is also possible.

本発明は、複数の用紙サイズが混在する原稿をそれぞれの原稿サイズで入力するための画像入力プログラム、画像入力装置、画像入力システムおよび画像入力方法として有用である。特に、本発明は、複数の用紙サイズが混在する原稿を連続して読み取り、それぞれの原稿サイズで自動的にクロップすることが可能な点で好適である。   The present invention is useful as an image input program, an image input device, an image input system, and an image input method for inputting a document in which a plurality of paper sizes are mixed in each document size. In particular, the present invention is preferable in that a document in which a plurality of paper sizes are mixed can be continuously read and automatically cropped at each document size.

本発明の実施の形態における画像入力システムの構成図Configuration diagram of an image input system in an embodiment of the present invention 図1のノート型のコンピュータおよびスキャナのハードウェア構成図1 is a hardware configuration diagram of the notebook computer and scanner of FIG. 図1のコンピュータのブロック図Block diagram of the computer of FIG. 用紙サイズ記憶手段に記憶される複数の用紙サイズの例を示す図The figure which shows the example of the several paper size memorize | stored in a paper size memory | storage means 図1の画像入力システムによる画像入力処理のフローチャートThe flowchart of the image input process by the image input system of FIG. 図1の画像入力システムにより読み取る原稿の例を示す図FIG. 3 is a diagram showing an example of a document read by the image input system of FIG.

符号の説明Explanation of symbols

1 画像入力システム
2 通信ネットワーク
3,4 コンピュータ
5 プリンタ
6 スキャナ
10 画像データ入力手段
11 原稿サイズ算出手段
12 用紙サイズ記憶手段
13 用紙サイズ入力手段
14 クロップ手段
15 記憶手段
31,61 CPU
32,62 ROM
33,63 RAM
34 HDD
35 操作部
36 表示部
37,67 I/F
38,68 バス
65 操作パネル
66 読取部
DESCRIPTION OF SYMBOLS 1 Image input system 2 Communication network 3, 4 Computer 5 Printer 6 Scanner 10 Image data input means 11 Document size calculation means 12 Paper size storage means 13 Paper size input means 14 Crop means 15 Storage means 31, 61 CPU
32, 62 ROM
33, 63 RAM
34 HDD
35 Operation section 36 Display section 37, 67 I / F
38, 68 Bus 65 Operation panel 66 Reading section

Claims (8)

コンピューターに、
定型紙の縦及び横の長さに関するサイズ情報を格納する処理と、
外部の読取装置から複数のサイズが混合した原稿の画像を入力する処理と、
前記混合した原稿の中の各々画像のサイズを検出し、前記検出された各々画像のサイズと前記記憶手段に記憶されたサイズ情報とを比較し、前記画像のサイズが前記記憶手段に記憶されたサイズ情報に近似する場合、前記画像を前記近似したサイズ情報を有する定型紙の画像とみなし、前記サイズ情報の領域の中から画像を切抜いて表示させる処理とを実行させることを特徴とする画像入力プログラム。
On the computer,
Processing for storing size information about the vertical and horizontal lengths of the standard paper;
A process of inputting an image of a document having a plurality of sizes mixed from an external reader;
The size of each image in the mixed document is detected, the size of each detected image is compared with the size information stored in the storage means, and the size of the image is stored in the storage means When approximating to size information, the image is regarded as an image of a standard paper having the approximated size information, and an image input process is performed to cut out and display an image from the size information area program.
前記記憶手段に記憶されたサイズ情報の中に前記原稿のサイズに近似するサイズ情報が存在しない場合、前記画像の実際のサイズを前記画像のサイズとし、前記画像を表示させる処理を実行させることを特徴とする請求項1記載の画像入力プログラム。 When there is no size information approximate to the size of the document in the size information stored in the storage means, the actual size of the image is set as the size of the image, and a process of displaying the image is executed. The image input program according to claim 1, wherein: 前記画像の読み取りは最大サイズで読み取られることを特徴とする請求項1記載の画像入力プログラム。 The image input program according to claim 1, wherein the image is read at a maximum size. 前記記憶手段に記憶される複数の用紙サイズが、定型の用紙サイズであることを特徴とする請求項1又は2に記載の画像入力プログラム。 The image input program according to claim 1, wherein the plurality of paper sizes stored in the storage unit are standard paper sizes. 前記記憶手段に記憶される用紙サイズを入力する用紙サイズ入力手段として前記コンピュータをさらに機能させることを特徴とする請求項1から4のいずれかに記載の画像入力プログラム。 5. The image input program according to claim 1, further causing the computer to function as paper size input means for inputting a paper size stored in the storage means. 6. 請求項1から5のいずれかに記載の画像入力プログラムと、
所定のサイズにより原稿から前記画像データを読み取る画像読取装置とから構成されることを特徴とする画像入力システム。
An image input program according to any one of claims 1 to 5,
An image input system comprising: an image reading device that reads the image data from a document with a predetermined size.
定型紙の縦及び横の長さに関するサイズ情報を格納する記憶手段と、
外部の読取装置から複数のサイズが混合した原稿の画像を入力する入力手段と、
前記混合した原稿の中の各々画像のサイズを検出し、前記検出された各々画像のサイズと前記記憶手段に記憶されたサイズ情報とを比較し、前記画像のサイズが前記記憶手段に記憶されたサイズ情報に近似する場合、前記画像を前記近似したサイズ情報を有する定型紙の画像とみなし、前記サイズ情報の領域の中から画像を切抜いて表示させる制御手段とを具備したことを特徴とする画像入力装置。
Storage means for storing size information regarding the vertical and horizontal lengths of the standard paper;
Input means for inputting an image of a document having a plurality of sizes mixed from an external reading device;
The size of each image in the mixed document is detected, the size of each detected image is compared with the size information stored in the storage means, and the size of the image is stored in the storage means When approximating size information, the image is regarded as an image of a standard paper having the approximate size information, and control means for cutting out and displaying an image from the size information area is provided. Input device.
定型紙の縦及び横の長さに関するサイズ情報を格納するステップと、
外部の読取装置から複数のサイズが混合した原稿の画像を入力するステップと、
前記混合した原稿の中の各々画像のサイズを検出し、前記検出された各々画像のサイズと前記記憶手段に記憶されたサイズ情報とを比較し、前記画像のサイズが前記記憶手段に記憶されたサイズ情報に近似する場合、前記画像を前記近似したサイズ情報を有する定型紙の画像とみなし、前記サイズ情報の領域の中から画像を切抜いて表示させるステップと、からなることを特徴とする画像入力方法。
Storing size information about the vertical and horizontal lengths of the standard paper;
Inputting an image of a document having a plurality of sizes mixed from an external reader;
The size of each image in the mixed document is detected, the size of each detected image is compared with the size information stored in the storage means, and the size of the image is stored in the storage means An image input comprising: when approximating size information, treating the image as an image of a standard paper having the approximate size information, and cutting and displaying the image from the size information area. Method.
JP2006017128A 2006-01-26 2006-01-26 Program, device, system, and method for inputting image Pending JP2007201752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006017128A JP2007201752A (en) 2006-01-26 2006-01-26 Program, device, system, and method for inputting image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006017128A JP2007201752A (en) 2006-01-26 2006-01-26 Program, device, system, and method for inputting image

Publications (1)

Publication Number Publication Date
JP2007201752A true JP2007201752A (en) 2007-08-09

Family

ID=38455895

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006017128A Pending JP2007201752A (en) 2006-01-26 2006-01-26 Program, device, system, and method for inputting image

Country Status (1)

Country Link
JP (1) JP2007201752A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009065355A (en) * 2007-09-05 2009-03-26 Murata Mach Ltd Document reader
CN102291519A (en) * 2010-06-21 2011-12-21 夏普株式会社 Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, and recording medium
JP2012049682A (en) * 2010-08-25 2012-03-08 Kyocera Mita Corp Image forming apparatus
US8780407B2 (en) 2009-04-23 2014-07-15 Sharp Kabushiki Kaisha Control apparatus, image reading apparatus, image forming apparatus, and recording medium for efficient rereading

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009065355A (en) * 2007-09-05 2009-03-26 Murata Mach Ltd Document reader
US8780407B2 (en) 2009-04-23 2014-07-15 Sharp Kabushiki Kaisha Control apparatus, image reading apparatus, image forming apparatus, and recording medium for efficient rereading
CN102291519A (en) * 2010-06-21 2011-12-21 夏普株式会社 Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, and recording medium
US8848240B2 (en) 2010-06-21 2014-09-30 Sharp Kabushiki Kaisha Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, and recording medium
JP2012049682A (en) * 2010-08-25 2012-03-08 Kyocera Mita Corp Image forming apparatus

Similar Documents

Publication Publication Date Title
CN100586140C (en) Display control system, image procesing apparatus, and display control method
US9754350B2 (en) Systems and methods of automatic image sizing
US10306085B2 (en) Information processing apparatus, control method of information processing apparatus, and recording medium
US20060075362A1 (en) Image processing apparatus, method, and recording medium on which program is recorded for displaying thumbnail/preview image
JP2004012633A (en) List display of multiple images
US7515754B2 (en) Image control apparatus, image control method and program
JP2007201752A (en) Program, device, system, and method for inputting image
JP6776906B2 (en) Scanner, scan control program, image data generation method
JP2010125778A (en) Printing apparatus and program
JP2008092451A (en) Scanner system
JP2009031937A (en) Form image processing apparatus and form image processing program
US11029829B2 (en) Information processing apparatus and method for display control based on magnification
JP2007080099A (en) Image processor, image retrieval method and image retrieval program
JP2004289476A (en) Document filing apparatus
US7409112B2 (en) Image displaying apparatus and program product for displaying image
JP4279261B2 (en) Image display device and display control program
JP6614045B2 (en) Image forming apparatus, program, and information processing system
JP6413450B2 (en) Image processing apparatus, image forming apparatus, and program
US8395819B2 (en) Image processing device, image processing method and computer readable medium
US11206336B2 (en) Information processing apparatus, method, and non-transitory computer readable medium
JP2010092141A (en) Image processing system, image reader, image processor, and image processing program
JP2008177797A (en) Image processor, image forming device provided with the same, and show-through-effect-image processing system
JP2011109596A (en) Image reading condition setting program and image reading condition setting device
JP2005295598A (en) Output device and output method
JP5222255B2 (en) Image forming apparatus and image forming system