JP4447486B2 - Image input system, image processing apparatus, and image processing method - Google Patents
Image input system, image processing apparatus, and image processing method Download PDFInfo
- Publication number
- JP4447486B2 JP4447486B2 JP2005046684A JP2005046684A JP4447486B2 JP 4447486 B2 JP4447486 B2 JP 4447486B2 JP 2005046684 A JP2005046684 A JP 2005046684A JP 2005046684 A JP2005046684 A JP 2005046684A JP 4447486 B2 JP4447486 B2 JP 4447486B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- document
- control device
- processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Facsimiles In General (AREA)
- Facsimile Scanning Arrangements (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
本発明は、画像をスキャンして記録する画像入力システム、画像処理装置及び画像処理方法に関する。 The present invention relates to an image input system that scans and records an image , an image processing apparatus, and an image processing method .
原稿をスキャンすることのできるスキャナとホストコンピュータと両者間を接続するケーブルで構成され、スキャナの原稿読み取りセンサの対向部が高い濃度の背景色を持っていることを特徴とする画像入力システムにおいては、ホストコンピュータは原稿のスキャンをスキャナにリクエストする。スキャナは原稿を搬送し、読み取りセンサによってスキャンした原稿画像をホストコンピュータに転送する。このとき、前述したように読み取りセンサの対向部の背景色は黒いため、スキャンされた画像データのうち、原稿の外側の領域は黒い画像として生成される。ホストコンピュータは、スキャナから転送された画像データのうち、周囲の黒い領域の位置と大きさを検索することで、画像の中で原稿が占める領域を容易に検出することができる。次に、検出された原稿の領域部分を画像全体の中から抽出したのちに、抽出した画像の画面への表示や、外部記憶装置への保存を行う。 In an image input system comprising a scanner capable of scanning a document and a host computer, and a cable connecting the two, and the opposite portion of the scanner's document reading sensor has a high background color The host computer requests the scanner to scan the document. The scanner conveys the original and transfers the original image scanned by the reading sensor to the host computer. At this time, since the background color of the facing portion of the reading sensor is black as described above, the area outside the document in the scanned image data is generated as a black image. The host computer can easily detect the area occupied by the document in the image by searching the position and size of the surrounding black area in the image data transferred from the scanner. Next, after extracting the detected area portion of the document from the entire image, the extracted image is displayed on the screen or stored in the external storage device.
一方、多値画像に対して固定された閾値で単純二値化処理を施すと、白い下地の上に濃度の低い文字が書かれているような場合に、下地だけでなく文字の部分も白くなってしまい、文字を判読することができない。また、その逆に濃度の高い下地の上に文字が書かれている場合には、文字だけでなく文字の周囲も黒くなってしまい、やはり文字を判読できない。このような原稿においても文字を判読可能な状態で二値化するための方法として、原稿の下地の濃度に応じて閾値を可変にして二値化処理を行う方式(自動二値化処理)が考案されている(例えば特許文献1を参照)。この方式によれば、ひとつの原稿の中に薄い文字や濃い文字が混在していても、それぞれの領域に応じた適切な閾値で二値化されるため、薄い文字も濃い文字も判読可能な二値画像を生成することができる。
上記のスキャナにおいて、原稿読み取りセンサ対向部は高い濃度の背景色で構成されているとはいえ、実際には完全に同一の濃度ではなく、ムラがあることが普通であり、そのような背景に対して前述したような自動二値化処理を施すと、完全な黒い画像データにはならず、白と黒の斑模様になってしまうことがある。これは、濃度の高い下地に書かれた文字を適切に二値化するための処理が、ムラのある背景に対しても機能してしまうためである。したがって、スキャナ側で画像データに自動二値化処理を施してから、その二値画像を用いてホストコンピュータ側で用紙サイズ検知処理を行っても、画像周囲が完全な黒ではなく斑模様になっていることが原因で、原稿が占める領域を正しく検出することができないという問題が発生する。このため従来装置では、例えば自動二値化処理を施す場合は用紙サイズ検知処理を行うことはできないというような制限を設けることで、この問題が回避されてきた。 In the above scanner, although the document reading sensor facing portion is configured with a high density background color, in reality, it is usually not the same density, and is usually uneven. On the other hand, when the automatic binarization process as described above is performed, the black image data may not be completely black, and white and black spots may be formed. This is because the process for appropriately binarizing characters written on a background with high density also functions for uneven backgrounds. Therefore, even after performing automatic binarization processing on the image data on the scanner side and then performing paper size detection processing on the host computer side using the binary image, the periphery of the image is not completely black but a speckled pattern. This causes a problem that the area occupied by the document cannot be detected correctly. For this reason, in the conventional apparatus, this problem has been avoided by providing a restriction that the paper size detection process cannot be performed when the automatic binarization process is performed, for example.
本発明は叙上の点に着目して成されたもので、画像データを画像データ保存手段に保存させ、複数の画像処理手段により用紙サイズ検出等を正しく行うことができる画像入力システム、画像処理装置及び画像処理方法を提供することを目的とする。 The present invention has been made paying attention to the above points, and is an image input system and image processing in which image data is stored in an image data storage unit, and paper size detection and the like can be correctly performed by a plurality of image processing units. An object is to provide an apparatus and an image processing method .
本発明は、自動二値化処理と用紙サイズ検知処理を併用できないという上記の課題を解決するために成されたもので、スキャナは画像データを保存するためのメモリを持ち、原稿を多値モードでスキャンし、スキャンした画像データをメモリに保存する。次に画像データを単純二値化してホストコンピュータに転送し、ホストコンピュータは単純二値画像を用いて原稿の領域を検出する。 The present invention was made to solve the above-described problem that automatic binarization processing and paper size detection processing cannot be used together. A scanner has a memory for storing image data, and a document is stored in a multi-value mode. Scan and store the scanned image data in memory. Next, the image data is simply binarized and transferred to the host computer, and the host computer detects a document area using the simple binary image.
次に、ホストコンピュータは検出した原稿の領域をスキャナに通知し、ホストコンピュータの検出した領域に対してスキャナは、メモリに保存されている画像データを自動二値化し、ホストコンピュータに転送する。 Next, the host computer notifies the scanner of the detected document area, and the scanner automatically binarizes the image data stored in the memory for the area detected by the host computer and transfers the image data to the host computer.
またはメモリに保存されている一画像データの全体をスキャナ側で自動二値化し、転送を受けた自動二値化済画像データに対しホストコンピュータは単純二値画像を用いて検出した原稿の領域を適用し画像の抽出を行う。 Alternatively, the entire image data stored in the memory is automatically binarized on the scanner side, and the host computer detects the area of the document detected using the simple binary image for the automatically binarized image data that has been transferred. Apply and extract images.
要するに、本発明は以下の構成により、上記課題を解決できるものである。 In short, the present invention can solve the above problems by the following configuration.
(1)画像入力装置と制御装置と接続手段とを備える画像入力システムであって、前記画像入力装置は、画像読み取り手段と、画像データ保存手段と、固定閾値で二値化処理する第1の画像処理手段と、可変閾値で二値化処理する第2の画像処理手段とを有し、前記制御装置は、前記接続手段を介して通ずる前記画像入力装置を制御する制御手段と、第3の画像処理手段とを有し、前記画像入力装置は、前記画像読み取り手段で取得した原稿の第1の画像データに対して前記第1の画像処理手段により前記固定閾値で二値化処理を施し、生成された第2の画像データを前記制御装置に転送し、前記制御装置は、前記第2の画像データに対して前記第3の画像処理手段により第3の画像処理を施し、前記画像入力装置は、前記第1の画像データに対して前記第2の画像処理手段により前記可変閾値で二値化処理を施し、生成された第3の画像データを前記制御装置に転送することを特徴とする画像入力システム。
(2)原稿の画像を読み取る画像読み取り手段と、前記画像読み取り手段で読み取った第1の画像データを保存する画像データ保存手段と、前記第1の画像データに固定閾値で二値化処理を施して第2の画像データとする第1の画像処理手段と、制御装置に前記第2の画像データを転送した後に前記制御装置からのリクエストに基づいて前記第1の画像データに可変閾値で二値化処理を施して第3の画像データとする第2の画像処理手段と、を備えていることを特徴とする画像処理装置。 (1) An image input system comprising a a connection means an image input device and the control device, the image input apparatus includes an image reading unit, an image data storage means, first of binarized with a fixed threshold an image processing unit, and a second image processing means for binarizing the variable threshold, the control device includes a control means for controlling said image input device communicating via the connection means, the third and an image processing unit, the image input apparatus performs the binarization processing by the fixed threshold by the first image processing means with respect to the first image data of the document acquired by the image reading means, The generated second image data is transferred to the control device, and the control device performs third image processing on the second image data by the third image processing means , and the image input device. Is the first image data An image input system, wherein the variable threshold subjected to binarization processing, the transferred third image data generated in the control unit by the second image processing means for.
(2) An image reading unit that reads an image of a document, an image data storage unit that stores first image data read by the image reading unit, and binarization processing is performed on the first image data with a fixed threshold value. First image processing means for making the second image data, and after transferring the second image data to the control device, the first image data is binarized with a variable threshold based on a request from the control device. An image processing apparatus comprising: second image processing means that performs third processing to generate third image data.
本発明によれば、画像データを自動二値化する場合においても用紙サイズを正しく検出できるようになる。 According to the present invention, the paper size can be correctly detected even when image data is automatically binarized.
図1に示す通り、本システムは、画像入力装置であるところのスキャナ1と、制御装置であるところのホストコンピュータ2と、接続手段であるところのSCSIケーブル3とで構成される。
As shown in FIG. 1, this system includes a
図2に示す通り、スキャナ1は、原稿搬送手段であるところの原稿台201とローラ202〜206と、画像読み取り手段であるところの画像読み取りセンサ207と、画像データ保存手段であるところのメモリ208aや第1の画像処理手段であるところの単純二値化回路208bと第2の画像処理手段であるところの自動二値化回路208cを持つスキャナ基板208を持つ。画像読み取りセンサ207の対向部は黒い背景で構成されている。
As shown in FIG. 2, the
図3に示す通り、ホストコンピュータ2は、スキャナ1の画像入力装置の制御装置であるところのCPU301、CPU301へユーザーが指示するためのキーボード302、プログラムや画像データを記憶するメモリ303、画像データ表示手段であるところのディスプレイ304、画像データ保存手段であるところのハードディスク305を持つ。また、プログラムには第3の画像処理手段であるところの用紙サイズ検知処理が含まれる。
As shown in FIG. 3, the
図4に本実施例のフローチャートを示す。 FIG. 4 shows a flowchart of this embodiment.
ホストコンピュータ2は、原稿の搬送をスキャナ1にリクエストする(S401)。
The
スキャナ1は原稿を搬送し(S402)、多値モードで原稿をスキャンし(S403)、スキャンした画像データをメモリ208aに保存する(S404)。このとき、画像読み取りセンサ207の対向部は黒い背景で構成されているので、原稿をスキャンして画像を取得すると、原稿の外側の領域は濃度の高い画像データとして保存される。
The
ホストコンピュータ2は、固定された閾値による単純二値化処理を施して画像を転送するようにスキャナ1にリクエストする(S405)。このとき、スキャナ1が取得できる最も低い濃度と、最も高い濃度の中間値を閾値として指定するものとする。スキャナ1は指定された閾値で画像に単純二値化処理を施し(S406)、ホストコンピュータ2に画像データを転送する(S407)。ホストコンピュータ2は、スキャナから転送されてきた画像データを用いて、黒い領域を検索する(S408)。原稿周囲の濃度の高い背景領域は単純二値化処理によって完全な黒い画像となっているから、ホストコンピュータは、画像周囲の黒い領域の大きさを検索して画像の中で原稿が占める領域を容易に検出することができる。ここで、画像読み取りセンサ207の対向部に埃等が付着している場合は、その部分が小さな白い画像データとして生成される可能性がある。そこで、ある程度以下の小さな白い画像データを無視することで、より精度良く黒い領域を検索できるようになる。
The
以上のようにして検出した原稿領域をホストコンピュータ2はスキャナ1に設定し(S409)、自動二値化処理を施して画像を転送するようにスキャナ1にリクエストする(S410)。
The
スキャナ1は、メモリに保存している多値画像の中から、ホストコンピュータ2によって設定された領域を抽出し(S411)、抽出した画像データに対して自動二値化処理を施し(S412)、ホストコンピュータ2に転送する(S413)。
The
ホストコンピュータ2は二値化された画像データを受け取ったのちに、スキャン終了をスキャナ1にリクエストする(S414)。
After receiving the binarized image data, the
スキャナ1はメモリ208aに保存した多値画像データを破棄し(S415)、処理を終了する。
The
ホストコンピュータ2は、自動二値化処理が施された画像をディスプレイ304に表示し(S416)、ハードディスク305に画像データを保存し(S417)、処理を終了する。
The
以上のような構成にすることにより、画像データを自動二値化する場合においても用紙サイズを正しく検出できるようになる。 With the above configuration, the paper size can be correctly detected even when the image data is automatically binarized.
本実施例では、用紙サイズ検知した領域をスキャナ1に設定する例を挙げたが、検出した領域に対してのみ第4の画像処理を行うシステムに適用することもできる。その場合は、原稿領域をスキャナ1に設定するステップ(S409)と、設定された原稿領域内の画像を抽出するステップ(S411)、は必要ではなく、第4の画像処理を行うステップがS416の前に挿入されることになる。第4の画像処理としては、例えばS408で検索された黒い領域のみを白い画像で置き換える等の例が考えられる。
In this embodiment, an example in which the area where the paper size is detected is set in the
また、第3の画像処理手段は用紙サイズ検知以外の画像解析処理でもよい。例えば、原稿に特定の模様が存在するかどうかを解析し、存在する場合はスキャナやホストコンピュータで特別な処理を行う等の例が考えられる。 The third image processing means may be image analysis processing other than paper size detection. For example, it is possible to analyze whether or not a specific pattern exists in a document, and if it exists, a special process is performed by a scanner or a host computer.
なお、本実施例では接続手段としてSCSIケーブルを挙げたが、USBケーブル、ネットワークケーブル等でも良いことは言うまでもない。また無線や赤外線通信機器等を接続手段として使用しても差し支えない。無線通信機能や赤外線通信機能等をスキャナやホストコンピュータに内蔵していてもよく、本発明の範囲に含まれる。 In this embodiment, the SCSI cable is used as the connection means. However, it goes without saying that a USB cable, a network cable, or the like may be used. Also, a wireless or infrared communication device may be used as the connection means. A wireless communication function, an infrared communication function, or the like may be built in the scanner or the host computer, and is included in the scope of the present invention.
1 スキャナ(画像入力装置に対応)
2 ホストコンピュータ(制御手段に対応)
3 転送ケーブル(接続手段に対応)
201 原稿台
202〜206 搬送ローラ
207 画像読み取りセンサ(画像読み取り手段に対応)
208 スキャナ基板
208a メモリ(画像データ保存手段に対応)
208b 単純二値化回路(第1の画像処理手段に対応)
208c 自動二値化回路(第2の画像処理手段に対応)
209 原稿検知センサ
210 原稿
301 CPU(制御装置に対応)
302 キーボード
303 ホストコンピュータメモリ
304 ディスプレイ
305 ハードディスク
1 Scanner (supports image input devices)
2 Host computer (corresponding to control means)
3 Transfer cable (corresponding to connection method)
201 Document tables 202 to 206 Conveying
208
208b Simple binarization circuit (corresponding to the first image processing means)
208c Automatic binarization circuit (corresponding to the second image processing means)
209 Document detection sensor 210
302
Claims (9)
前記画像入力装置は、画像読み取り手段と、画像データ保存手段と、固定閾値で二値化処理する第1の画像処理手段と、可変閾値で二値化処理する第2の画像処理手段とを有し、
前記制御装置は、前記接続手段を介して通ずる前記画像入力装置を制御する制御手段と、第3の画像処理手段とを有し、
前記画像入力装置は、前記画像読み取り手段で取得した原稿の第1の画像データに対して前記第1の画像処理手段により前記固定閾値で二値化処理を施し、生成された第2の画像データを前記制御装置に転送し、
前記制御装置は、前記第2の画像データに対して前記第3の画像処理手段により第3の画像処理を施し、
前記画像入力装置は、前記第1の画像データに対して前記第2の画像処理手段により前記可変閾値で二値化処理を施し、生成された第3の画像データを前記制御装置に転送することを特徴とする画像入力システム。 An image input system comprising a a connection means an image input device and the control device,
The image input device is used, the number and the image reading unit, an image data storage unit, a first image processing means for binarizing a fixed threshold, and a second image processing means for binarizing the variable threshold And
Wherein the control device has control means for controlling said image input device communicating via the connection means, and a third image processing means,
The image input device performs binarization processing on the first image data of the document acquired by the image reading unit with the fixed threshold by the first image processing unit , and generates second image data To the control device,
The control device performs a third image processing on the second image data by the third image processing means ,
The image input device performs binarization processing on the first image data with the variable threshold by the second image processing means, and transfers the generated third image data to the control device. An image input system characterized by this.
前記画像読み取り手段で読み取った第1の画像データを保存する画像データ保存手段と、Image data storage means for storing the first image data read by the image reading means;
前記第1の画像データに固定閾値で二値化処理を施して第2の画像データとする第1の画像処理手段と、First image processing means for performing binarization processing on the first image data with a fixed threshold value to obtain second image data;
制御装置に前記第2の画像データを転送した後に前記制御装置からのリクエストに基づいて前記第1の画像データに可変閾値で二値化処理を施して第3の画像データとする第2の画像処理手段と、A second image obtained by transferring the second image data to the control device and then binarizing the first image data with a variable threshold based on a request from the control device to obtain third image data; Processing means;
を備えていることを特徴とする画像処理装置。An image processing apparatus comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005046684A JP4447486B2 (en) | 2005-02-23 | 2005-02-23 | Image input system, image processing apparatus, and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005046684A JP4447486B2 (en) | 2005-02-23 | 2005-02-23 | Image input system, image processing apparatus, and image processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006237785A JP2006237785A (en) | 2006-09-07 |
JP4447486B2 true JP4447486B2 (en) | 2010-04-07 |
Family
ID=37044989
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005046684A Active JP4447486B2 (en) | 2005-02-23 | 2005-02-23 | Image input system, image processing apparatus, and image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4447486B2 (en) |
-
2005
- 2005-02-23 JP JP2005046684A patent/JP4447486B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2006237785A (en) | 2006-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10582085B2 (en) | Method and device for image processing, and apparatus for image formation | |
KR101015663B1 (en) | Method for recognizing character and apparatus therefor | |
US8218890B2 (en) | Method and apparatus for cropping images | |
US8131082B2 (en) | Image processing apparatus configured to calculate a resolution suitable for the size of a region to be processed and method for controlling the same | |
KR102090973B1 (en) | Information processing apparatus, information processing method, and storage medium | |
JP4574503B2 (en) | Image processing apparatus, image processing method, and program | |
US10169629B2 (en) | Decoding visual codes | |
JP2014195148A (en) | Image processing apparatus, region determination method, and computer program | |
JP2022074466A (en) | Image processing apparatus and image forming apparatus | |
KR20230012651A (en) | Method for generating table information based on the image | |
US10834281B2 (en) | Document size detecting by matching between image of entire document and read size image | |
JP3784717B2 (en) | Device setting method, program, storage medium storing the program, image forming apparatus, device setting system, and device setting sheet | |
JP6191500B2 (en) | Image processing apparatus, image processing system, and image processing program | |
JP4447486B2 (en) | Image input system, image processing apparatus, and image processing method | |
JP2008092451A (en) | Scanner system | |
US20140226037A1 (en) | Image processing apparatus, image processing method, and image processing program | |
JP7031465B2 (en) | Information processing equipment and programs | |
JP4552757B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JPWO2020065980A1 (en) | Image processing device, control method and control program | |
AU2007237365B2 (en) | Colour reproduction in a colour document image | |
JPH09274643A (en) | Image processor and image output device | |
JP6950237B2 (en) | Computer programs and image processing equipment | |
JP2008090574A (en) | Image processing system and program | |
JP2011070327A (en) | Device, method and program for determining image attribute | |
JP6676955B2 (en) | Image processing apparatus and image processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070330 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090224 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090421 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090615 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20091222 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100120 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130129 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4447486 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130129 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |