JPH08102853A - High-speed character determination method in image processing - Google Patents
High-speed character determination method in image processingInfo
- Publication number
- JPH08102853A JPH08102853A JP6236467A JP23646794A JPH08102853A JP H08102853 A JPH08102853 A JP H08102853A JP 6236467 A JP6236467 A JP 6236467A JP 23646794 A JP23646794 A JP 23646794A JP H08102853 A JPH08102853 A JP H08102853A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image processing
- area
- full
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000003672 processing method Methods 0.000 claims description 6
- 230000003203 everyday effect Effects 0.000 claims description 4
- 230000003287 optical effect Effects 0.000 claims 1
- 230000002354 daily effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000008602 contraction Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Image Analysis (AREA)
Abstract
(57)【要約】
【目的】本発明は、日常発生する書類等を大容量記憶媒
体に記憶させ書類の検索等を効率化する装置において、
画像の拡大、縮小等の画像処理を行う必要がある場合
に、画像処理時間を短縮することを目的としている。
【構成】画像処理を行う際、画像の文字領域と写真領域
の判定を行う前に、その画像が全面文字画像かどうかを
大まかにかつ高速に判定する処理を入れ、画像が全面文
字画像と判断された場合は、時間のかかる詳細な文字領
域と写真領域の判定処理を行わないようにする。
【効果】本発明により、画像の拡大、縮小等の画像処理
を行う場合に、特に全面文字画像の画像処理時間を短縮
することができる。
(57) [Abstract] [Purpose] The present invention provides a device for storing documents, etc., which occur daily in a large-capacity storage medium to improve the efficiency of document search, etc.
It is intended to shorten the image processing time when it is necessary to perform image processing such as image enlargement and reduction. [Structure] When performing image processing, before determining the character area and the photo area of the image, a process for roughly and quickly determining whether the image is a full-face character image is inserted, and the image is determined to be a full-face character image. If so, the time-consuming detailed character area and photograph area determination processing is not performed. According to the present invention, when performing image processing such as image enlargement and reduction, it is possible to shorten the image processing time particularly for a full-face character image.
Description
【0001】[0001]
【産業上の利用分野】本発明は文字や写真等のように異
なった領域を持つ画像データに対し拡大、縮小等の画像
処理を行う際に、それぞれの領域に対し異なった処理が
必要となる等の理由で各領域を判定する必要がある場合
の領域判定方式に関する。BACKGROUND OF THE INVENTION The present invention requires different processing for each area when performing image processing such as enlargement and reduction on image data having different areas such as characters and photographs. For example, the present invention relates to an area determination method when it is necessary to determine each area.
【0002】[0002]
【従来の技術】記憶媒体に記憶した画像データをその画
像サイズより小さいディスプレイ等の表示装置に表示さ
せる場合や印刷装置から縮小印刷する場合、あるいは画
像データに画像編集処理を施す場合には、画像データの
拡大、縮小処理が必要となる。この画像データが文字や
写真等の異なった領域を含んでいた場合、この異なった
領域に対し同じ拡大、縮小処理方式を採用すると一方の
画像領域が元画像に比べ画質が低下する場合がある。こ
のような現象は例えば、文字領域と写真領域がある場合
に両領域に対し同じ縮小処理を行った場合に写真領域の
画質が元画像に対し劣化してしまうことなどがある。こ
のような場合は、両領域に対し異なった画像処理をする
必要がある。このためには、それぞれの領域に対し異な
った画像処理を行う前段階として各領域の判定処理が必
要になる。通常この領域判定方法は、画像を一定の大き
さの領域に分け(便宜上この領域を以下ウィンドウと呼
ぶ)、それぞれのウィンドウ内の画素パターンから文字
領域か写真領域かを判定する。このウィンドウの大きさ
を小さくするとそれだけ細かな領域判定が可能となる
が、小さい分画素情報が少なくなり文字と写真の判定が
困難になる。よって実際のウィンドウの大きさは適当な
大きさにする必要がある。2. Description of the Related Art When displaying image data stored in a storage medium on a display device such as a display smaller than the image size, when performing reduction printing from a printing device, or when performing image editing processing on the image data, Data expansion and contraction processing is required. When the image data includes different areas such as characters and photographs, if the same enlargement / reduction processing method is applied to the different areas, the image quality of one image area may be lower than that of the original image. Such a phenomenon may occur, for example, when there is a character area and a photo area and the same reduction processing is performed on both areas, the image quality of the photo area deteriorates with respect to the original image. In such a case, it is necessary to perform different image processing on both areas. For this purpose, determination processing for each area is required as a pre-stage for performing different image processing for each area. Usually, this area determination method divides an image into areas of a certain size (for convenience, this area is hereinafter referred to as a window), and determines from a pixel pattern in each window whether it is a character area or a photograph area. If the size of this window is made smaller, finer area determination is possible, but the smaller the amount of pixel information, the more difficult it becomes to determine characters and photographs. Therefore, the actual size of the window needs to be set appropriately.
【0003】従来は、画像データ全面に対しこの領域判
定を行った後、各領域にそれぞれの画像処理を実行し出
力画像を得ていた。Conventionally, after this area determination is performed on the entire surface of the image data, image processing is performed on each area to obtain an output image.
【0004】[0004]
【発明が解決しようとする課題】従来のように、画像全
面に対して文字領域と写真領域の領域判定を行った後、
各領域に対しそれぞれに合った処理を実行する方式は、
写真領域がかならず存在する画像データに対しては妥当
な方法だと考えられる。しかし、記憶媒体に日常発生す
る書類等を記憶させる場合、そのほとんどは写真を含ま
ない文字のみの画像である。この文字だけの画像データ
に対し画像処理を実行する場合、写真部分に比べ比較的
高速で処理できる文字部分だけから構成されている画像
データであるにもかかわらず、文字部分と写真部分の領
域判定に時間がとられてしまい、高速な画像処理ができ
ない。この領域判定に必要な時間は、画像の全領域を調
べると文字領域の画像処理に要する時間よりも長くなる
ことがあり、領域判定時間が大きなオーバヘッドとな
る。As in the prior art, after performing the area determination of the character area and the photograph area on the entire surface of the image,
The method to execute the processing suitable for each area is
It is considered to be an appropriate method for image data that always has a photographic area. However, when storing a document or the like that occurs daily in a storage medium, most of it is an image of characters only, not including a photograph. When performing image processing on this character-only image data, it is possible to determine the area between the character portion and the photograph portion even though the image data consists of only the character portion that can be processed at a relatively high speed compared to the photograph portion. It takes much time, and high-speed image processing cannot be performed. The time required for this region determination may become longer than the time required for image processing of the character region when the entire region of the image is examined, and the region determination time becomes a large overhead.
【0005】本発明では、日常よく発生する文字だけか
らなる画像に対し領域判定時間を短縮することにより、
画像処理時間を低く抑えることを目的としている。According to the present invention, by shortening the area determination time for an image consisting of only characters that occur frequently in everyday life,
The purpose is to keep the image processing time low.
【0006】[0006]
【課題を解決するための手段】文字だけの画像において
画像処理時間を短縮するためには、その画像が文字だけ
からなるものか写真も含んだものなのかを速く判定し、
文字だけの場合にはすぐに文字領域処理を行うようにす
る必要がある。そこで本発明では、詳細な領域判定を行
い文字領域と写真領域を切り分ける前に、詳細な領域判
定を行う場合に使用するウィンドウの大きさに比べ比較
的大きなウィンドウに画像を分け、その全てのウィンド
ウに対して文字領域か写真領域かを調査するのではなく
一部のウィンドウに対してのみ調査することにより画像
に写真が含まれているかを高速に判定する処理を設け
る。この処理で、調査したウィンドウが全て文字領域と
判断された場合には全面文字画像とみなす。また、調査
したウィンドウが全て文字領域と判定されたわけではな
く、いくつかのウィンドウが写真領域と判定された場合
であっても、その数が一定数以下である場合には全面文
字画像とみなす。この判定に用いる数と調査するウィン
ドウの数は画像処理後の画質を損なわないように決める
必要がある。また、この大まかな全面文字画像かどうか
の判定処理時間は通常の詳細な文字領域か写真領域かの
判定時間に比べ充分短い時間になるように設定する必要
がある。この判定処理で全面文字画像と判断された場合
は、画像全体に対して文字画像処理を行う。一方、画像
に写真領域があると判断された場合は従来の詳細な領域
判定を行い、それぞれの領域に対応した画像処理を行
う。[Means for Solving the Problems] In order to reduce the image processing time in an image containing only characters, it is quickly determined whether the image includes only characters or includes a photograph,
In the case of only characters, it is necessary to perform character area processing immediately. Therefore, in the present invention, before the detailed area determination is performed and the character area and the photo area are separated, the image is divided into windows that are relatively large compared to the size of the window used when performing the detailed area determination, and all the windows are divided. On the other hand, a process for quickly determining whether or not the image includes a photograph is provided by not examining the character region or the photograph region but examining only a part of the windows. In this process, when all the investigated windows are judged to be character areas, they are regarded as full-scale character images. Further, not all of the examined windows are determined to be character areas, and even if some windows are determined to be photo areas, if the number is a certain number or less, it is considered as a full-face character image. The number used for this determination and the number of windows to be investigated must be determined so as not to impair the image quality after image processing. Further, it is necessary to set the processing time for determining whether the image is a rough full-face character image to be sufficiently shorter than the ordinary detailed determination time for a character area or a photograph area. When it is determined in this determination process that the image is a full-face character image, the character image process is performed on the entire image. On the other hand, when it is determined that the image has a photographic region, the conventional detailed region determination is performed, and image processing corresponding to each region is performed.
【0007】このように、詳細な領域判定を行う前に大
まかに全面文字画像かどうかを判定する処理を行うこと
により、日常よく発生する文字だけの画像に対する画像
処理速度の向上が見込まれる。As described above, by roughly determining whether the image is a full-face character image before making a detailed region determination, it is expected that the image processing speed for an image of only characters that frequently occur everyday will be improved.
【0008】[0008]
【作用】前述の大まかな全面文字画像かどうかの判定処
理を行うことにより、全面文字画像に対する画像処理速
度の向上が見込まれる。ただし、この方法では全面文字
画像の場合は従来の方法に比べ高速に画像処理ができる
ものの、写真領域が存在する画像の場合には、大まかな
全面文字画像かどうかの判定処理を行う分だけ余分に画
像処理時間がかかってしまう。しかし、日常よく発生す
る画像は全面文字画像であることに加え、仮に写真領域
を含む画像であっても、通常写真領域の画像処理は文字
領域の画像処理に比べ処理時間がかかるため、本発明で
導入した全面文字画像かどうかの高速判定処理はそれほ
どのオーバヘッドにはならない。By performing the above-described rough full-face character image determination processing, it is expected that the image processing speed for the full-face character image will be improved. However, although this method can perform image processing faster in the case of full-face character images than in the conventional method, in the case of an image with a photo area, it is extra due to the determination process of whether it is a rough full-face character image. It takes a long time to process the image. However, in addition to a full-face character image that often occurs in everyday life, even if the image includes a photo area, the image processing of the normal photo area takes a longer processing time than the image processing of the character area. The high-speed processing for determining whether the image is a full-face character image introduced in 2. does not cause much overhead.
【0009】このように本発明は、日常発生する書類等
を大容量記憶媒体に記憶させ書類の検索等を効率化する
装置において、画像の拡大、縮小等の画像処理を行う必
要がある場合に、特に全面文字画像の画像処理時間の短
縮に効果のある処理方法である。As described above, according to the present invention, in an apparatus for storing documents that occur daily in a large-capacity storage medium to improve the efficiency of document retrieval and the like, when it is necessary to perform image processing such as image enlargement and reduction. In particular, this is a processing method that is effective in reducing the image processing time of a full-face character image.
【0010】[0010]
【実施例】以下に本発明の一実施例を図1及び図2によ
り説明する。図1は、本発明で用いた画像処理方式を示
す。図1において、入力画像1は拡大、縮小等の画像処
理を行う元画像、全面文字画像判定処理2は入力画像が
全面文字画像かどうかを判定する処理モジュール、領域
判定3は入力画像の文字領域と写真領域を判定する処理
モジュール、写真処理4は写真領域における画像処理モ
ジュール、文字処理5は文字領域における画像処理モジ
ュール、出力画像6は画像処理処理終了後の出力画像を
示す。図1の画像処理方式において、全面文字画像が入
力画像1に入力された場合は全面文字画像判定処理2を
通った後すぐに文字処理5が実行された出力画像が得ら
れる。つまり実線の矢印の経路で処理される。ここで、
全面文字画像判定処理2の処理時間は領域判定3の処理
時間に比べ短くなるように設定する。これにより、入力
画像が全面文字画像の場合には、領域判定3を通る従来
の処理に比べ処理時間を短縮することができる。また、
入力画像1に写真領域がある画像が入力された場合は点
線の矢印で示した経路で処理される。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 shows the image processing method used in the present invention. In FIG. 1, an input image 1 is an original image that undergoes image processing such as enlargement and reduction, a full-face character image determination process 2 is a processing module that determines whether the input image is a full-face character image, and a region determination 3 is a character region of the input image. Is a processing module for determining a photographic area, photographic processing 4 is an image processing module in a photographic area, character processing 5 is an image processing module in a character area, and output image 6 is an output image after completion of image processing processing. In the image processing method of FIG. 1, when a full-face character image is input to the input image 1, an output image in which the character process 5 is executed immediately after passing through the full-face character image determination process 2 is obtained. That is, the processing is performed along the path indicated by the solid arrow. here,
The processing time of the full-face character image determination processing 2 is set to be shorter than the processing time of the area determination 3. As a result, when the input image is a full-face character image, the processing time can be shortened as compared with the conventional processing that passes the area determination 3. Also,
When an image having a photograph area in the input image 1 is input, the image is processed by the route indicated by the dotted arrow.
【0011】図2は図1の全面文字領域判定処理2の処
理例を示したものである。ここでの処理はまず入力画像
を、図1の領域判定3の詳細な領域判定時に行う領域分
割より大きな、約1cm角程度の領域に分割する。そし
て、全ウィンドウについて文字領域か写真領域かの判定
を行うのではなく、判定領域1、判定領域2、判定領域
3・・・・というようにウィンドウを一つおきに調べる
ことにより入力画像が全面文字画像かどうかを高速に判
定することができる。FIG. 2 shows an example of the entire character area determination processing 2 of FIG. In the processing here, first, the input image is divided into areas of about 1 cm square, which is larger than the area division performed in the detailed area determination of the area determination 3 of FIG. Then, instead of judging whether all windows are character areas or photograph areas, every other window is checked, such as judgment area 1, judgment area 2, judgment area 3 ... It can be determined at high speed whether it is a character image.
【0012】この全面文字領域判定処理を行うことによ
り、全面文字画像における画像の拡大、縮小処理等を高
速に処理できるようになる。By performing this full-face character area determination processing, it becomes possible to perform high-speed processing such as image enlargement and reduction processing in a full-face character image.
【0013】[0013]
【発明の効果】本発明により、日常発生する書類等を大
容量記憶媒体に記憶させ書類の検索等を効率化する装置
において、画像の拡大、縮小等の画像処理を行う必要が
ある場合に、特に全面文字画像の画像処理時間を短縮す
ることができる。As described above, according to the present invention, in an apparatus for storing documents that occur daily in a large-capacity storage medium to improve the efficiency of document retrieval, when it is necessary to perform image processing such as image enlargement and reduction, In particular, it is possible to shorten the image processing time of the full-face character image.
【図1】本発明で用いた画像処理方式を説明するための
図である。FIG. 1 is a diagram for explaining an image processing method used in the present invention.
【図2】図1の全面文字領域判定処理2の処理例を示し
た図である。FIG. 2 is a diagram showing a processing example of full-face character area determination processing 2 in FIG.
領域1…領域n+2:領域判定3の詳細な領域判定を行
う場合よりも大きな分割領域であって、1つおきに設定
されたもの。Region 1 ... Region n + 2: Larger divided regions than in the case of performing the detailed region determination of the region determination 3 and set every other region.
Claims (1)
して読み取る手段及び読み取った画像データを光ディス
ク等の不揮発性記憶媒体に対し読み書きする手段及び記
憶媒体へ記憶した画像データに対し、拡大、縮小、回転
等の画像処理を行う機能を持った装置において、日常多
く発生する文字だけの画像に対する画像処理時間を短縮
するために、画像データの文字部分と写真部分の領域判
定を行う前に、全画像領域に対し領域判定を行うのでは
なく適度に間引いて全面文字画像かどうかを高速に判定
することにより、全面文字画像の画像処理時間における
領域判定時間のオーバヘッドを軽減する画像処理方式。
または、画像データが全面文字画像かどうかを高速に判
定するために適度に間隔を開けて画像を判定する判定方
式。1. A means for reading a document containing characters, photographs, etc. as image data, a means for reading / writing the read image data from / to a non-volatile storage medium such as an optical disk, and an enlargement of the image data stored in the storage medium. In order to reduce the image processing time for an image of only characters that often occur in everyday life in a device that has a function of performing image processing such as reduction and rotation, before performing the area determination of the character portion and the photograph portion of the image data, An image processing method that reduces the area determination time overhead in the image processing time of a full-face character image by decimating appropriately for all image regions and determining at high speed whether or not it is a full-face character image by appropriately thinning out.
Alternatively, a determination method for determining images at appropriate intervals to quickly determine whether the image data is a full-face character image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6236467A JPH08102853A (en) | 1994-09-30 | 1994-09-30 | High-speed character determination method in image processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP6236467A JPH08102853A (en) | 1994-09-30 | 1994-09-30 | High-speed character determination method in image processing |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH08102853A true JPH08102853A (en) | 1996-04-16 |
Family
ID=17001182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP6236467A Pending JPH08102853A (en) | 1994-09-30 | 1994-09-30 | High-speed character determination method in image processing |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH08102853A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008021207A (en) * | 2006-07-14 | 2008-01-31 | Fuji Xerox Co Ltd | Image processing system and image processing program |
-
1994
- 1994-09-30 JP JP6236467A patent/JPH08102853A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008021207A (en) * | 2006-07-14 | 2008-01-31 | Fuji Xerox Co Ltd | Image processing system and image processing program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
FR2483655A1 (en) | DOCUMENT PROCESSING APPARATUS FOR EDITTING AND PRINTING INFORMATION DOCUMENTS | |
US20050047660A1 (en) | Image processing apparatus, image processing method, program, and storage medium | |
US20020176120A1 (en) | Photo extraction techniques | |
CA1316605C (en) | Method of searching binary images to find search regions in which straight lines may be found | |
JPH08102853A (en) | High-speed character determination method in image processing | |
JP3881455B2 (en) | Image correction apparatus, image correction method, and medium on which image correction method is recorded | |
US5757466A (en) | Method of customer photoprint annotation | |
JP2000048191A (en) | Image processing method and medium recording image processing program | |
JPS58106665A (en) | Character line cutout method | |
JPH04503293A (en) | Copy machine with single automatic exposure | |
JPH04218873A (en) | Optical filing device | |
JP3715765B2 (en) | Band memory size determination method and recording medium | |
JP2008177797A (en) | Image processor, image forming device provided with the same, and show-through-effect-image processing system | |
JP4136860B2 (en) | Image distortion correction apparatus, image reading apparatus, image forming apparatus, and program | |
JP4419524B2 (en) | Image processing apparatus and program | |
JP3429402B2 (en) | Image forming device | |
JP2502897B2 (en) | Electronic file device | |
JPH09191390A (en) | Device and method for image processing | |
JPH04154268A (en) | Image processor | |
JPH0654495B2 (en) | Image processing method | |
JP2002262093A (en) | Method, device and program for processing picture and recording medium | |
JPH0241566A (en) | Electronic picture filing device | |
JPH0349370A (en) | Picture information thinning processing device | |
JPH07327123A (en) | Image forming device | |
JPH04282271A (en) | Recorder |