JPH09261460A - Image processing method - Google Patents

Image processing method

Info

Publication number
JPH09261460A
JPH09261460A JP8067950A JP6795096A JPH09261460A JP H09261460 A JPH09261460 A JP H09261460A JP 8067950 A JP8067950 A JP 8067950A JP 6795096 A JP6795096 A JP 6795096A JP H09261460 A JPH09261460 A JP H09261460A
Authority
JP
Japan
Prior art keywords
image
original
area
separation
circuit
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
JP8067950A
Other languages
Japanese (ja)
Inventor
Satoshi Ouchi
敏 大内
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP8067950A priority Critical patent/JPH09261460A/en
Publication of JPH09261460A publication Critical patent/JPH09261460A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent the degradation of picture quality by avoiding erroneous discrimination by separating image areas more than twice at least, making a parameter for discriminating an original based on the first image area separation discrimination different from a parameter for locally discriminating the areas at the time of main scan, and utilizing only the high-certainty information when discriminating an original. SOLUTION: A parameter storage part 9 stores the 1st parameter for the time of prescan and the 2nd parameter for the time of main scan. At the time of prescan, only an edge separator circuit 10 is operated and an edge is detected while using the 1st parameter with which it is difficult to detect the edge. A decision circuit 11 decides an original image and counts the edges. When that value is more than a prescribed threshold value, it is decided that the original contains characters, and the result is stored 14.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数回の像域分離
を行うとき、最初の像域分離の判定基準と、それ以降の
像域分離の判定基準とを変えるようにした画像処理方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method in which, when image area separation is performed a plurality of times, the first image area separation determination criterion and the subsequent image area separation determination criteria are changed. .

【0002】[0002]

【従来の技術】現在、カラー複写機などの画像処理装置
においては、文字領域と絵柄領域が混在するような原稿
を処理して再生する場合、いわゆる像域分離といわれる
技術によって画像の領域を認識し、一枚の原稿の中で文
字部と絵柄部で処理を切り替えている。このような像域
分離技術を用いた、従来のカラー複写機としては、例え
ば特公平7−22330号公報に記載されたものがあ
る。
2. Description of the Related Art At present, in an image processing apparatus such as a color copying machine, when processing and reproducing an original in which a character area and a picture area are mixed, the area of the image is recognized by a so-called image area separation technique. However, the processing is switched between the character portion and the pattern portion in one document. As a conventional color copying machine using such an image area separating technique, for example, there is one described in Japanese Patent Publication No. 7-22330.

【0003】上記した従来の装置は、作像処理を伴わな
い所謂プレスキャン時に像域分離を実施して領域判定
(文字領域/中間調領域)を行い、判定した結果に応じ
て本スキャンでは処理パラメータを切り替えるものであ
る。また、特開平5−145751号公報に記載された
領域識別信号処理回路では、プレスキャン時の像域分離
結果を記憶装置に保存し、本スキャン時に記憶装置に保
存された結果を利用して処理の切り替えを行う。
The above-mentioned conventional apparatus performs image area separation during so-called pre-scanning without image forming processing to perform area determination (character area / halftone area), and processing is performed in main scanning in accordance with the determined result. The parameter is switched. Further, in the area identification signal processing circuit described in Japanese Patent Laid-Open No. 5-145751, the image area separation result at the time of prescan is stored in the storage device, and the processing is performed by using the result stored in the storage device at the main scan. Switch.

【0004】[0004]

【発明が解決しようとする課題】このように、上記した
従来の装置においては、像域分離処理は所謂局所処理が
前提となり、該処理には必ず誤判定を伴う。具体的には
文字を判定するためには多くの場合、エッジ情報を基に
判定していることから、文字エッジを高精度に判定しよ
うとすると、印画紙エッジや網点画像のような絵柄も文
字エッジとして誤判定される箇所が増大する。特に、文
字の内部つぶれまでを文字エッジとして検出しようとす
ると、その傾向がより一層強まる。つまり、文字の内部
つぶれまでを文字エッジとして検出するレベルで、プレ
スキャン時に判定を実施すると、特に局所的には文字と
似た構造を持つ網点絵柄までを文字原稿であると判定
し、以後の処理に不具合を生じる。特に文字領域を含ま
ない絵柄のみの原稿である場合に問題となる。
As described above, in the above-mentioned conventional apparatus, the image area separation processing is premised on the so-called local processing, and the processing always involves an erroneous determination. Specifically, in many cases, characters are determined based on edge information. Therefore, when trying to determine character edges with high accuracy, patterns such as photographic paper edges and halftone dot images are also detected. The number of locations that are erroneously determined as character edges increases. In particular, when it is attempted to detect even the internal crushing of a character as a character edge, the tendency becomes even stronger. In other words, if the judgment is made during pre-scan at the level of detecting even the internal crushing of characters as character edges, it is judged that the halftone dot pattern having a structure similar to the character is a character original, especially locally. Causes a problem in the processing of. This becomes a problem especially in the case of an original containing only a picture that does not include a character area.

【0005】本出願人は先に、プレスキャン時に像域分
離の一つである網点分離を作動させ、その情報を基に本
スキャン時の像域分離を制御する画像処理方式を提案し
た(特開平4−180350号公報を参照)。この方式
では、プレスキャン時に網点画像が含まれているか否か
を判定し、含まれていないと判定されたときには、本ス
キャン時の網点判定をオフにする。これにより、網点判
定が局所的に誤判定することによる画質の劣化を低減さ
せることができる。逆に、プレスキャン時に網点画像が
含まれていると判定された場合、本スキャン時でも網点
分離が作動することになる。
The present applicant has previously proposed an image processing method in which halftone dot separation, which is one of image area separations during prescan, is activated, and image area separation during main scan is controlled based on the information ( (See Japanese Patent Laid-Open No. 4-180350). In this method, it is determined whether or not a halftone image is included in the prescan, and if it is determined that the halftone image is not included, the halftone determination in the main scan is turned off. As a result, it is possible to reduce the deterioration of the image quality due to the local erroneous halftone dot determination. On the contrary, when it is determined that the halftone image is included in the pre-scan, the halftone separation is activated even in the main scan.

【0006】ところで、網点領域を積極的に分離するよ
うにパラメータを設定すると、印画紙の特に絹目現像と
呼ばれる画像をも網点として判定してしまう。特に網点
画像のハイライトやダーク部まで網点領域として判定を
行うと、その傾向は強く、このレベルのパラメータでプ
レスキャン時の網点分離も行うと、絹目印画紙原稿を網
点として判定してしまう。その結果、例えば特開平6−
197218号公報に記載されている画像処理装置が実
施しているように、上記したプレスキャン情報を基に、
印刷原稿/印画紙原稿の色補正係数を切り替える処理を
行うとき、絹目印画紙原稿に対して印刷原稿用の色補正
処理を施すという、問題を生じる。
By the way, if the parameters are set so as to positively separate the halftone dot area, the image of the photographic printing paper, especially the so-called silk development, is also judged as the halftone dot. In particular, if the highlight or dark part of the halftone image is judged as a halftone dot area, the tendency is strong. I will judge. As a result, for example, Japanese Patent Laid-Open No. 6-
As performed by the image processing apparatus described in Japanese Patent Publication No. 197218, based on the above prescan information,
When performing the process of switching the color correction coefficient of the print original / print paper original, a problem arises in that the color correction processing for the print original is performed on the silk photographic paper original.

【0007】本発明は上記した事情を考慮してなされた
もので、本発明の目的は、像域分離を少なくても2回以
上行い、最初の像域分離判定を基に原稿を判定するとき
のパラメータと、本スキャン時に局所的に領域を判定す
るときのパラメータを変えて、原稿を判定するときには
確度の高い情報のみを利用することにより、誤判定を回
避し画質の劣化を防止した画像処理方法を提供すること
にある。
The present invention has been made in consideration of the above circumstances, and an object of the present invention is to perform image area separation at least twice or more and to judge a document based on the first image area separation judgment. Image processing that avoids erroneous determination and prevents deterioration of image quality by changing the parameters of the above and the parameters for locally determining the area during the main scan, and using only highly accurate information when determining the document. To provide a method.

【0008】[0008]

【課題を解決するための手段】前記目的を達成するため
に、請求項1記載の発明では、原稿をデジタル信号とし
て読み出し、該原稿に対して複数回の像域分離を行い、
該分離結果に基づいて該原稿内での処理を切り替える画
像処理方法において、所定の領域検出に対する最初の像
域分離の判定基準と、2回目以降の像域分離の判定基準
とを変えることを特徴としている。
In order to achieve the above object, according to the invention of claim 1, an original is read out as a digital signal and image area separation is performed on the original a plurality of times.
In the image processing method for switching the processing within the original based on the separation result, the first image area separation determination criterion and the second or subsequent image area separation determination criterion for predetermined area detection are changed. I am trying.

【0009】請求項2記載の発明では、原稿をデジタル
信号として読み出し、該原稿に対して複数回の像域分離
を行い、該分離結果に基づいて該原稿内での処理を切り
替える画像処理方法において、所定の領域検出が困難に
なるように、最初の像域分離の判定基準を、2回目以降
の像域分離の判定基準より高くすることを特徴としてい
る。
According to a second aspect of the present invention, there is provided an image processing method, wherein an original is read out as a digital signal, image area separation is performed on the original a plurality of times, and processing within the original is switched based on the separation result. In order to make it difficult to detect a predetermined area, the criterion for the first image area separation is set higher than the criterion for the second and subsequent image area separations.

【0010】請求項3記載の発明では、前記最初に像域
分離を行うとき、所定色の作像処理を行うことを特徴と
している。
According to a third aspect of the present invention, when the image area separation is first performed, an image forming process of a predetermined color is performed.

【0011】請求項4記載の発明では、前記所定の領域
は文字エッジ領域であることを特徴としている。
According to a fourth aspect of the invention, the predetermined area is a character edge area.

【0012】請求項5記載の発明では、前記所定の領域
は印刷網点領域であることを特徴としている。
According to a fifth aspect of the present invention, the predetermined area is a print dot area.

【0013】[0013]

【発明の実施の形態】以下、本発明の一実施例を図面を
用いて具体的に説明する。 〈実施例1〉図1は、本発明の実施例1の構成を示す。
図において、1はスキャナなどの画像入力装置、2は反
射率リニアな信号を濃度リニアな信号に変換するLog
変換回路、3は平滑化フィルタ、エッジ強調フィルタか
らなるフィルタ回路、4はcmy信号を補色のYMCに
変換する色補正回路、5はK信号分だけ各色材の信号か
ら減じる処理を行うUCR回路、6は文字用、絵柄用の
ディザを用いて中間調を表現するディザ回路、7はプリ
ンタなどの画像出力装置である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be specifically described below with reference to the drawings. <Embodiment 1> FIG. 1 shows the structure of Embodiment 1 of the present invention.
In the figure, 1 is an image input device such as a scanner, and 2 is a Log that converts a linear reflectance signal into a linear density signal.
A conversion circuit, a filter circuit including a smoothing filter and an edge emphasis filter, a color correction circuit for converting a cmy signal into YMC of a complementary color, a UCR circuit for performing processing for subtracting a K signal from each color material signal, Reference numeral 6 denotes a dither circuit for expressing halftones using dither for characters and pictures, and reference numeral 7 denotes an image output device such as a printer.

【0014】8は原稿中から色領域を分離する色分離回
路、9はプレスキャン時用、本スキャン時用のパラメー
タを格納したパラメータ格納部、10は該パラメータを
用いて文字エッジを分離するエッジ分離回路、11は分
離回路の分離結果を基に領域を判定する判定回路、12
は文字エッジ画素を計数する計数回路、13は計数値を
基に原稿中に文字が含まれているか否かを判定する判定
回路、14は判定回路13の判定結果を記憶する判定結
果記憶回路である。
Reference numeral 8 is a color separation circuit for separating color areas from the original, 9 is a parameter storage section for storing parameters for prescanning and main scanning, and 10 is an edge for separating character edges using the parameters. Separation circuit, 11 is a judgment circuit for judging an area based on the separation result of the separation circuit, 12
Is a counting circuit for counting the character edge pixels, 13 is a determination circuit for determining whether or not a character is included in the document based on the count value, and 14 is a determination result storage circuit for storing the determination result of the determination circuit 13. is there.

【0015】まず、図1の概要を説明する。スキャナな
どの画像入力装置1(解像度は400dpi)から概ね
反射率に対しリニアなrgbデータ(各8ビット)が出
力される。次に、後段の色補正を行う前処理としてLo
g変換回路2において対数変換を行い、濃度リニアなc
myデータを生成する。
First, the outline of FIG. 1 will be described. The image input device 1 (resolution is 400 dpi) such as a scanner outputs rgb data (8 bits each) which is almost linear with respect to the reflectance. Next, Lo is pre-processed for performing color correction at a later stage.
The logarithmic conversion is performed in the g conversion circuit 2, and the density linear c
Generate my data.

【0016】フィルタ回路3は、図2に示すような平滑
化フィルタとエッジ強調フィルタが直列に接続された回
路で構成され、後述する判定回路11からの信号が、黒
文字、色文字である場合には、平滑化フィルタをスルー
にしてエッジ強調処理のみを施す。
The filter circuit 3 is composed of a circuit in which a smoothing filter and an edge emphasizing filter as shown in FIG. 2 are connected in series, and when a signal from a judging circuit 11 described later is a black character or a color character. In the above, the smoothing filter is made to be through and only the edge enhancement processing is performed.

【0017】色補正回路4は、画像入力装置1と画像出
力装置7の特性を考慮し、cmy信号を補色のYMC信
号に変換する。色補正方法には線形近似いわゆるマスキ
ング法や四面体補間法、三角柱補間法などが提案されて
いて、これらの方法を利用して色補正を行う。このとき
同時にK信号は、min(C,M,Y)から算出する。
The color correction circuit 4 converts the cmy signal into a complementary color YMC signal in consideration of the characteristics of the image input device 1 and the image output device 7. As a color correction method, linear approximation, so-called masking method, tetrahedral interpolation method, triangular prism interpolation method, and the like have been proposed, and color correction is performed using these methods. At this time, the K signal is simultaneously calculated from min (C, M, Y).

【0018】UCR回路5は、判定回路11からの領域
判定信号に基づいて処理を次のように切り替える。すな
わち、黒文字領域については、Kをスルーにし、C=M
=Y=0にする。色文字領域については、 Kをスルー Cをスルー Mをスルー Yをスルーにし、上記以外つまり絵柄領域については K’=0.6×K C’(M’,Y’)=C(M,Y)−K’にする。
The UCR circuit 5 switches the processing as follows based on the area determination signal from the determination circuit 11. That is, for the black character area, K is made to be through and C = M
= Y = 0. For the color character area, K is through, C is through, M is through, and Y is through. For other than the above, that is, K '= 0.6 × K C' (M ', Y') = C (M, Y) ) -K '.

【0019】そして、ディザ回路6では、サイズの異な
る2種類のディザテーブル(ディザマトリックス)を準
備し(図示せず)、判定回路11からの信号が、黒文
字、色文字である場合には、サイズの小さなディザテー
ブル(例えば1×1)で処理を行い、それ以外の場合に
はサイズの大きなディザテーブル(例えば2×2)で処
理を施して画像出力装置7にデータを送る。
Then, the dither circuit 6 prepares two kinds of dither tables (dither matrices) having different sizes (not shown), and when the signal from the judging circuit 11 is a black character or a color character, the size is determined. Of the dither table (eg, 1 × 1), and in other cases, the dither table of larger size (eg, 2 × 2) is used to send the data to the image output device 7.

【0020】本発明の主要な特徴部分である像域分離部
について、以下詳述する。実施例1の像域分離部は、エ
ッジ分離回路10と、色分離回路8を備え、後述する実
施例2は網点分離回路15を備えている。このうちエッ
ジ分離回路10と網点分離回路15は、例えば、論文
「文字/絵柄(網点、写真)混在画像の像域分離方式」
(電子情報通信学会論文誌 Vol.J75−DI1
No.1 pp39−471992年1月を参照)に記
載された、「4.2 エッジ領域検出」方法を用いる。
The image area separating section, which is a main characteristic part of the present invention, will be described in detail below. The image area separation unit of the first embodiment includes an edge separation circuit 10 and a color separation circuit 8, and a second embodiment described later includes a halftone dot separation circuit 15. Among them, the edge separation circuit 10 and the halftone dot separation circuit 15 are described, for example, in the paper “Image area separation method of mixed image of character / picture (halftone dot, photograph)”.
(Journal of the Institute of Electronics, Information and Communication Engineers, Vol. J75-DI1
No. 1 pp39-47 January 1992), "4.2 Edge Area Detection" method is used.

【0021】エッジ分離回路10は、原稿中から文字の
エッジ領域を検出する回路である。本実施例では、文字
エッジの検出方法として、例えば、前掲した論文に記載
された方法を用いる。この方法は、64階調の入力画像
データにエッジ強調を施した後、2種の固定閾値で3値
化し、3値化後の黒画素と白画素の連続性をパターンマ
ッチングによって検出し、5×5画素のブロック内にお
いて黒連続画素および白連続画素が両者とも1個以上存
在する場合、注目ブロックをエッジ領域と判定し、そう
でなければ非エッジ領域と判定する。
The edge separation circuit 10 is a circuit for detecting an edge area of a character in a document. In this embodiment, for example, the method described in the above-mentioned paper is used as the character edge detection method. According to this method, edge enhancement is applied to input image data of 64 gradations, then ternarization is performed using two types of fixed thresholds, and the continuity of black pixels and white pixels after ternarization is detected by pattern matching. If at least one black continuous pixel and one white continuous pixel are present in the block of 5 pixels, the block of interest is determined to be an edge region, and if not, it is determined to be a non-edge region.

【0022】ここでは、エッジ領域検出における3値化
のパラメータを、プレスキャン時と本スキャン時で切り
替えるようにする。プレスキャン時には、エッジの検出
が困難なパラメータを設定する。これにより、像域分離
の判定基準が高くなり、文字内部などはエッジとして検
出されなくなるが、例えば網点画像において、文字とし
て誤って検出される領域が少なくなる。
Here, the ternarization parameters for edge region detection are switched between prescan and main scan. At the time of pre-scanning, parameters for which it is difficult to detect edges are set. As a result, the criterion for determining the image area separation becomes high, and the inside of a character or the like is not detected as an edge, but the area erroneously detected as a character in a halftone dot image is reduced.

【0023】準備するパラメータの例として、例えば以
下のように設定する。 プレスキャン時用; 白画素<32/255、黒画素≧192/255 本スキャン時用; 白画素<64/255、黒画素≧128/255 色分離回路8は、原稿中から有彩色部を検出する回路で
ある。この色分離方法として、例えば特開平3−260
878号公報に記載された有彩色/無彩色領域分離方式
を用いる。この方式は、R,G,Bの各デジタル信号間
の差分を求め、その最大の差が、所定の閾値以上のとき
有彩色と判定する。
As an example of the parameters to be prepared, the following parameters are set, for example. For pre-scan; white pixel <32/255, black pixel ≧ 192/255 For main scan; white pixel <64/255, black pixel ≧ 128/255 Color separation circuit 8 detects chromatic portion from original It is a circuit to do. As this color separation method, for example, JP-A-3-260
The chromatic / achromatic color region separation method described in Japanese Patent No. 878 is used. In this method, the difference between the R, G, and B digital signals is obtained, and when the maximum difference is equal to or larger than a predetermined threshold value, it is determined that the color is chromatic.

【0024】以下、実施例1の動作を説明する。 (プレスキャン時)図1の実施例の構成において、プレ
スキャン時に作動する処理部が点線で囲まれている。こ
こでいうプレスキャンとは、実際にカラースキャナが原
稿を走査する場合はもちろんであるが、入力画像をメモ
リに記憶しておき、それを複数回利用する場合のファー
スト利用時も含まれる。
The operation of the first embodiment will be described below. (During prescan) In the configuration of the embodiment shown in FIG. 1, the processing unit that operates during prescan is surrounded by a dotted line. The pre-scan here means not only the case where the color scanner actually scans the original, but also the case of the first use when the input image is stored in the memory and is used a plurality of times.

【0025】図1の点線内に示すように、エッジ分離回
路10は、パラメータ格納部9から読み出したプレスキ
ャン時用のパラメータを用いてエッジ分離を行う。判定
回路11は、プレスキャン時における色分離結果を無視
する。そして、判定回路11は、全画像に対して判定を
行い、文字エッジ画素(ブロック単位で処理されている
場合は文字エッジブロック)を計数回路12で計数す
る。判定回路13では、該計数値が所定の閾値以上であ
る場合に、入力原稿中に文字を含むと判定し、その判定
結果を、本スキャン時まで判定結果記憶回路14に保持
する。
As shown by the dotted line in FIG. 1, the edge separation circuit 10 performs edge separation using the parameters for prescan read from the parameter storage unit 9. The determination circuit 11 ignores the color separation result during the prescan. Then, the determination circuit 11 makes a determination with respect to all images, and causes the counting circuit 12 to count the character edge pixels (the character edge block when processed in block units). When the count value is equal to or larger than a predetermined threshold value, the determination circuit 13 determines that the input original contains characters, and holds the determination result in the determination result storage circuit 14 until the main scan.

【0026】(本スキャン時)1ドラムタイプのカラー
複写機はCMYKの各版毎に計4回のスキャンを行い、
4ドラムタイプのそれは1回のスキャンを行ってカラー
画像を再生する。ただし、前述したように、全画像をメ
モリに記憶しておき、それを複数回利用する場合は、ス
キャナの動作はない。
(During main scan) The one-drum type color copying machine performs a total of four scans for each CMYK plate,
The four-drum type performs one scan to reproduce a color image. However, as described above, when all images are stored in the memory and used multiple times, the scanner does not operate.

【0027】さて、上記したプレスキャンで、原稿に文
字が含まれているか否かが判明する。文字が含まれる場
合は、通常の像域分離が実行される。すなわち、入力画
像データに対して、本スキャン時用パラメータを用いて
エッジ分離を行うエッジ分離回路10と、色分離回路8
が並列に動作し、それぞれの判定結果が判定回路11に
入力される。
By the above-mentioned prescan, it is determined whether or not the original contains characters. If a character is included, normal image area separation is performed. That is, the edge separation circuit 10 that performs edge separation on the input image data using the parameters for main scan, and the color separation circuit 8
Operate in parallel, and the respective judgment results are input to the judgment circuit 11.

【0028】判定回路11では、注目画素がエッジであ
って無彩色である場合に、黒文字と判定し、エッジであ
って有彩色である場合に、色文字と判定し、それら以外
を絵柄と判定する。前述したように、その結果に応じて
画素毎に処理を切り替える。
In the judging circuit 11, when the pixel of interest is an edge and is an achromatic color, it is judged as a black character, and when it is an edge and a chromatic color, it is judged as a color character, and the others are judged as a pattern. To do. As described above, the processing is switched for each pixel according to the result.

【0029】一方、プレスキャン時の判定で文字が含ま
れない場合は、例えばその制御の一例として、像域分離
処理をオフにして、全面を絵柄処理する。あるいは、像
域分離の各パラメータとして、絵柄に判定しやすいパラ
メータを本スキャン開始前に再設定することも有効な方
法である。これにより、絵柄の領域に誤分離を起こす可
能性が少なくなる。しかし、文字に対しては誤分離を起
こしやすくなるが、文字は存在しないか、存在していて
もかなり少ないので、実質的に問題にはならない。
On the other hand, if no character is included in the pre-scan determination, for example, as an example of the control, the image area separation process is turned off and the entire surface is subjected to the pattern process. Alternatively, it is also an effective method to reset the parameters that are easy to determine the pattern as the respective parameters of the image area separation before starting the main scan. This reduces the possibility of erroneous separation in the pattern area. However, although it tends to cause erroneous separation with respect to characters, it does not substantially cause a problem because the characters do not exist, or the existence of the characters is considerably small.

【0030】このように実施例1では、プレスキャン時
に、文字を含まない印画紙エッジや網点画像を文字有り
原稿として誤認識し、不必要な像域分離を本スキャンで
行って、これに伴う局所的誤判定を起こすことがなくな
る。そして、前述したように、プレスキャン時に文字を
含まないと判定された場合には、本スキャン時に像域分
離をオフにし、原稿全体に絵柄処理を施せばよい。
As described above, in the first embodiment, at the time of pre-scanning, the photographic printing paper edge or halftone dot image that does not include characters is erroneously recognized as a document with characters, and unnecessary image area separation is performed in the main scan, and There will be no local misjudgment. Then, as described above, when it is determined that the character is not included in the prescan, the image area separation is turned off in the main scan, and the pattern processing may be performed on the entire document.

【0031】〈実施例2〉図3は、本発明の実施例2の
構成を示す。像域分離部を除く、画像再生系(つまり、
画像入力装置から画像出力装置まで)については実施例
1と同様であるので、その説明を省略する。
<Second Embodiment> FIG. 3 shows the structure of a second embodiment of the present invention. Image reproduction system (that is,
Since the steps from the image input device to the image output device) are the same as those in the first embodiment, the description thereof will be omitted.

【0032】本実施例2の処理切り替えは、フィルタ処
理と色補正処理に対して行う。すなわち、プレスキャン
時の判定の結果、原稿中に網点があれば、本スキャン時
には印刷原稿用の色補正係数を選択して色補正処理を行
う。網点がなければ、印画紙原稿用の色補正係数を選択
して色補正処理を行う。この色補正係数の切り替えは、
局所的に行うものではなく、一枚の原稿に対して同じ色
補正係数を使用する。
The process switching of the second embodiment is performed for the filter process and the color correction process. That is, if there is a halftone dot in the document as a result of the determination during the pre-scan, the color correction processing is performed by selecting the color correction coefficient for the print document during the main scan. If there is no halftone dot, the color correction processing is performed by selecting the color correction coefficient for the photographic paper original. This color correction coefficient switching is
The same color correction coefficient is used for one document, not locally.

【0033】一方、フィルタ処理の切り替えは、原稿内
で局所的に切り替える。すなわち、網点/非網点領域で
平滑化フィルタの強弱を変える。こは網点原稿にはモア
レという画質を劣化させる可能性があり、強い平滑化を
必要とするが、そうではない箇所に強い平滑化処理を行
うと画像がぼけるだけであるので、このような局所的適
応処理を施す。プレスキャン時に網点なしと判定された
場合には、本スキャン時には全面に弱い平滑化あるいは
スルー処理を行う。
On the other hand, the switching of the filter processing is locally performed within the document. That is, the strength of the smoothing filter is changed in the halftone / non-halftone area. This is because halftone dot originals may deteriorate the image quality called moiré and require strong smoothing. However, if strong smoothing processing is performed on areas other than that, the image will only blur, so Perform local adaptive processing. When it is determined that there is no halftone dot during the pre-scan, weak smoothing or through processing is performed on the entire surface during the main scan.

【0034】本発明の主要な特徴部分である像域分離部
について、以下詳述する。実施例2の像域分離部は、網
点分離回路15を備えている。
The image area separating section, which is a main characteristic part of the present invention, will be described in detail below. The image area separation unit according to the second embodiment includes a halftone dot separation circuit 15.

【0035】網点分離回路15は、原稿中から網点(印
刷)領域を検出する回路である。この検出方法も、前掲
した論文に記載された、「4.1網点領域検出」方法を
用いる。この方法は、カラー網点領域と白黒網点領域の
濃度変化は文字領域の濃度変化と大きく異なる点に着目
し、ピーク画素の検出、網点領域の検出、網点領域の補
正を行い、網点領域を分離するものである。
The halftone dot separation circuit 15 is a circuit for detecting a halftone dot (print) area in the original. This detection method also uses the “4.1 halftone dot area detection” method described in the above-mentioned paper. This method focuses on the fact that the density change between the color halftone dot area and the black and white halftone dot area is significantly different from the density change in the character area, and performs peak pixel detection, halftone dot area detection, and halftone dot area correction. This is to separate the dot areas.

【0036】ピーク画素の検出は、例えば、3×3画素
のブロックにおいて、中心画素の濃度レベルLが周囲の
すべての画素のそれよりも高い、あるいは低く、かつ、
Lと中心画素を挾んで対角線に存在する対画素の濃度レ
ベルa,bが、4対ともに、|2×L−a−b|>TH
(固定の閾値)であるとき、中心画素をピーク画素とす
る。網点領域の検出は、例えば、4×4画素を単位とし
た4つのブロックにおいて、ピーク画素を含むブロック
が2ブロック以上存在すれば、注目ブロックを網点候補
領域とし、それ以外は非網点候補領域と判定する。網点
/非網点候補領域を判定した後、注目ブロックを中心と
した9つのブロックにおいて4ブロック以上が網点候補
領域であれば、注目ブロックを網点領域とし、そうでな
ければ注目ブロックを非網点領域とする。
The peak pixel is detected by, for example, in a block of 3 × 3 pixels, the density level L of the central pixel is higher or lower than that of all the surrounding pixels, and
The density levels a and b of the diagonal pixels existing diagonally across L and the central pixel are | 2 × L−a−b |> TH for all four pairs.
When it is (fixed threshold), the central pixel is set as the peak pixel. The detection of the halftone dot area is performed, for example, in four blocks each including 4 × 4 pixels, if there are two or more blocks including the peak pixel, the target block is set as the halftone dot candidate area, and the other blocks are non-halftone dots. Determined as a candidate area. After determining the halftone dot / non-halftone dot candidate region, if four or more of the nine blocks centering on the target block are halftone dot candidate regions, the target block is set as the halftone dot region, and otherwise the target block is selected. It is a non-dot area.

【0037】ここでは、網点領域検出におけるピーク画
素検出のパラメータTHを、プレスキャン時と本スキャ
ン時で切り替えることにする。プレスキャン時には、網
点ドットの検出を困難にするパラメータを設定する。こ
れにより、網点画像のハイライトやダーク部分は、網点
として検出されなくなるが、印画紙原稿、特に絹目現像
原稿に対して、網点として誤って判定されることが少な
くなる。
Here, the peak pixel detection parameter TH in halftone dot area detection is switched between prescan and main scan. At the time of prescan, parameters that make it difficult to detect halftone dots are set. As a result, the highlight or dark portion of the halftone image is no longer detected as a halftone dot, but it is less likely to be erroneously determined as a halftone dot for a photographic printing paper original, particularly a silk development original.

【0038】準備するプレスキャン時用パラメータと本
スキャン時用パラメータの関係は以下のようになる。
The relationship between the prescan parameters and the main scan parameters to be prepared is as follows.

【0039】 TH(プレスキャン時)>TH(本スキャン時) 以下、実施例2の動作を説明する。 (プレスキャン時)プレスキャン時に作動する処理部が
点線で囲まれている。図3の点線内に示すように、パラ
メータ格納部9から読み出されたプレスキャン時用パラ
メータを用いて網点分離回路15が動作する。判定回路
16は、全画像に対して判定を行い、網点画素(ブロッ
ク単位に処理する場合は網点ブロック)を計数回路17
で計数する。判定回路18では、該計数値が所定の閾値
以上である場合に、入力原稿中に網点を含むと判定し、
その判定結果を、本スキャン時まで判定結果記憶回路1
9に保持する。
TH (during pre-scan)> TH (during main scan) The operation of the second embodiment will be described below. (During prescan) The processing unit that operates during prescan is surrounded by a dotted line. As indicated by the dotted line in FIG. 3, the halftone dot separation circuit 15 operates using the prescan time parameters read from the parameter storage unit 9. The determination circuit 16 makes a determination on all the images and counts the halftone dot pixels (halftone dot block when processing in block units) 17.
Count with. When the count value is equal to or larger than a predetermined threshold value, the determination circuit 18 determines that the input original includes halftone dots,
The determination result is stored in the determination result storage circuit 1 until the main scan.
Hold at 9.

【0040】(本スキャン時)上記したプレスキャンに
よって原稿中に網点領域があるか否かが判明した。色補
正回路4は、網点領域がある場合には、印刷原稿用色補
正係数を用いて色補正処理を行い、網点領域が存在しな
い場合には、印画紙原稿用色補正係数を用いて色補正処
理を行う。なお、各色補正係数の設定方法の詳細につい
ては、特開平6−197218号公報に記載されてい
る。
(At the time of main scanning) It was determined by the above-mentioned prescan whether or not there is a halftone dot area in the document. When there is a halftone dot area, the color correction circuit 4 performs color correction processing using the color correction coefficient for the print original, and when there is no halftone dot area, it uses the color correction coefficient for the photographic paper original. Perform color correction processing. Details of the setting method of each color correction coefficient are described in JP-A-6-197218.

【0041】さらに、原稿中に網点領域がある場合に
は、本スキャン時にも網点分離回路15が動作する。こ
の動作時には、パラメータ格納部9から読み出された本
スキャン時用パラメータを用いる。そして、網点領域に
対して、図2に示すような平滑化処理を施し、網点領域
以外には平滑化を施さず、エッジ強調のみの処理を施
す。ただし、スキャナの特性や得たい画像に応じて平滑
化フィルタの係数が異なるが、基本的には網点領域に対
してはモアレが生じないレベルの強い平滑化を行い、そ
うでない領域に対してはさほど強い平滑化を行わなけれ
ば、本発明の趣旨から逸脱しない。
Further, when there is a halftone dot area in the document, the halftone dot separation circuit 15 operates during the main scan. During this operation, the main scan parameters read from the parameter storage unit 9 are used. Then, the smoothing process as shown in FIG. 2 is performed on the halftone dot region, and the process other than the halftone dot region is not smoothed but only the edge enhancement process is performed. However, the coefficient of the smoothing filter differs depending on the characteristics of the scanner and the image you want to obtain, but basically, for the halftone dot area, strong smoothing that does not cause moire is performed, and for the other areas, It does not deviate from the gist of the present invention unless a very strong smoothing is performed.

【0042】一方、原稿中に網点領域がない場合には、
本スキャン時に網点分離をオフにして、全面に、例えば
平滑化を行わず、スルーにすればよい。
On the other hand, when there is no halftone dot area in the original,
At the time of the main scan, the halftone dot separation may be turned off, and the entire surface may be made to be through without smoothing.

【0043】上記実施例2では、プレスキャンで原稿を
判定し、本スキャンで像域分離を伴う局所適用処理を行
う実施例を説明したが、本実施例はこれに限定されるも
のではなく、種々の変更が可能である。例えば、カラー
複写機、特に1ドラムタイプのものは順にKCMY版毎
に面順次で画像を再生するので、最初のK版時に、判定
基準が高いレベルのパラメータを用いて像域分離利用の
原稿判定(と、実際には像域分離で局所的な処理切り替
えも行うか、あるいはK版時だけ全面均一処理)を行
い、その後の他の版では、判定基準が低いレベルのパラ
メータで像域分離を行うようにしてもよい。これによ
り、プレスキャンを行わないので、画像再生処理を高速
に行うことができる。
In the second embodiment, the original is determined by the pre-scan and the local application processing accompanied by the image area separation is performed by the main scan, but the present embodiment is not limited to this. Various changes are possible. For example, a color copying machine, particularly a one-drum type machine, reproduces an image in a frame-sequential manner for each KCMY plate in order, so at the time of the first K plate, the original judgment using image area separation is performed using a parameter having a high judgment standard. (And in fact, local processing switching is also performed for image area separation, or uniform processing is performed only for the K plate), and in other plates after that, image area separation is performed using a parameter with a low criterion level. It may be performed. As a result, the prescan is not performed, so that the image reproduction process can be performed at high speed.

【0044】[0044]

【発明の効果】以上、説明したように、請求項1、2記
載の発明によれば、プレスキャンで像域分離を利用して
原稿種を特定し、その結果に基づいて本スキャン時に処
理を大局的に(つまり、原稿全面に対して)切り替え、
同時に本スキャン時にも像域分離を行い、階調処理を局
所的に切り替える画像処理方法において、プレスキャン
時に行う判定の基準は、本スキャン時のそれよりも高く
設定しているので、確度の高い箇所のみを基に判定する
ことができる。これにより、誤判定することにより画質
劣化が大きい大局的な処理切り替えについては、間違え
た処理の可能性がなくなる。
As described above, according to the first and second aspects of the present invention, the document type is specified by using the image area separation in the prescan, and the processing is performed in the main scan based on the result. Change in a big way (that is, for the entire manuscript),
At the same time, in the image processing method in which the image area separation is performed even during the main scan and the gradation processing is locally switched, the criterion for the determination performed during the pre-scan is set higher than that during the main scan, so the accuracy is high. It can be determined based on only the location. As a result, there is no possibility of erroneous processing for global processing switching that causes large image quality deterioration due to erroneous determination.

【0045】請求項3記載の発明によれば、1ドラムタ
イプのカラー複写機においてプレスキャンを行わない
分、高速に画像を再生することが可能となる。
According to the third aspect of the invention, the image can be reproduced at high speed because the pre-scan is not performed in the one-drum type color copying machine.

【0046】請求項4記載の発明によれば、プレスキャ
ン時に、明らかに文字エッジである領域情報に基づい
て、原稿に文字を含むか否かを判定しているので、文字
を含まない絵柄(印画紙や印刷)のみの原稿に対し、例
えば本スキャン時に文字検出用像域分離をオフにするこ
とができ、従って局所的誤分離がないので、大幅に画質
を向上させることができる。
According to the fourth aspect of the invention, at the time of pre-scanning, it is determined whether or not the original includes characters, based on the area information that is clearly the character edge. For an original document only made of photographic paper or printing, for example, the character detection image area separation can be turned off at the time of main scanning, and therefore, there is no local erroneous separation, so that the image quality can be greatly improved.

【0047】請求項5記載の発明によれば、プレスキャ
ン時に、明らかに網点である中間レベル(網点50%付
近)の網点領域情報に基づいて、原稿に網点を含むか否
かを判定しているので、印画紙、特に絹目印画紙を印刷
(網点)と誤判定することが回避され、例えば色補正係
数を上記した網点領域情報で切り替えるような場合に
は、大幅に画質を向上させることができる。
According to the fifth aspect of the present invention, during the prescan, whether or not the original includes halftone dots based on the halftone dot area information of the intermediate level (halftone dot 50%) which is obviously halftone dots. Therefore, it is possible to avoid erroneously determining photographic printing paper, especially silk photographic printing paper, as printing (halftone dot). For example, when switching the color correction coefficient with the above-mentioned halftone dot area information, The image quality can be improved.

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

【図1】本発明の実施例1の構成を示す。FIG. 1 shows a configuration of a first exemplary embodiment of the present invention.

【図2】フィルタ回路の具体例を示す。FIG. 2 shows a specific example of a filter circuit.

【図3】本発明の実施例2の構成を示す。FIG. 3 shows a configuration of a second exemplary embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 画像入力装置 2 Log変換回路 3 フィルタ回路 4 色補正回路 5 UCR回路 6 ディザ回路 7 画像出力装置 8 色分離回路 9 パラメータ格納部 10 エッジ分離回路 11、13 判定回路 12 計数回路 14 判定結果記憶回路 1 Image Input Device 2 Log Conversion Circuit 3 Filter Circuit 4 Color Correction Circuit 5 UCR Circuit 6 Dither Circuit 7 Image Output Device 8 Color Separation Circuit 9 Parameter Storage 10 Edge Separation Circuit 11, 13 Judgment Circuit 12 Counting Circuit 14 Judgment Result Storage Circuit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 原稿をデジタル信号として読み出し、該
原稿に対して複数回の像域分離を行い、該分離結果に基
づいて該原稿内での処理を切り替える画像処理方法にお
いて、所定の領域検出に対する最初の像域分離の判定基
準と、2回目以降の像域分離の判定基準とを変えること
を特徴とする画像処理方法。
1. An image processing method in which an original is read out as a digital signal, image areas are separated from the original a plurality of times, and processing within the original is switched based on the separation result. An image processing method, characterized in that the first image area separation criterion and the second or later image area separation criterion are changed.
【請求項2】 原稿をデジタル信号として読み出し、該
原稿に対して複数回の像域分離を行い、該分離結果に基
づいて該原稿内での処理を切り替える画像処理方法にお
いて、所定の領域検出が困難になるように、最初の像域
分離の判定基準を、2回目以降の像域分離の判定基準よ
り高くすることを特徴とする画像処理方法。
2. An image processing method in which an original is read out as a digital signal, image areas are separated from the original a plurality of times, and processing within the original is switched based on the separation result. An image processing method characterized in that the determination criterion for the first image area separation is set higher than the determination criteria for the second and subsequent image area separations so as to be difficult.
【請求項3】 前記最初に像域分離を行うとき、所定色
の作像処理を行うことを特徴とする請求項1または2記
載の画像処理方法。
3. The image processing method according to claim 1, wherein an image forming process of a predetermined color is performed when the image area separation is first performed.
【請求項4】 前記所定の領域は文字エッジ領域である
ことを特徴とする請求項1または2記載の画像処理方
法。
4. The image processing method according to claim 1, wherein the predetermined area is a character edge area.
【請求項5】 前記所定の領域は印刷網点領域であるこ
とを特徴とする請求項1または2記載の画像処理方法。
5. The image processing method according to claim 1, wherein the predetermined area is a print dot area.
JP8067950A 1996-03-25 1996-03-25 Image processing method Pending JPH09261460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8067950A JPH09261460A (en) 1996-03-25 1996-03-25 Image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8067950A JPH09261460A (en) 1996-03-25 1996-03-25 Image processing method

Publications (1)

Publication Number Publication Date
JPH09261460A true JPH09261460A (en) 1997-10-03

Family

ID=13359744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8067950A Pending JPH09261460A (en) 1996-03-25 1996-03-25 Image processing method

Country Status (1)

Country Link
JP (1) JPH09261460A (en)

Similar Documents

Publication Publication Date Title
JP3436828B2 (en) Image processing device
US5341226A (en) Automatic image segmentation for color documents
US7376268B2 (en) Image processing apparatus for transmitting image data to an external device
US7327874B2 (en) Method of and apparatus for image processing apparatus, and computer product
US20020176105A1 (en) Image processing apparatus and method
JP3784649B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JPH0722330B2 (en) Image region identification method for image processing apparatus
JP3929030B2 (en) Image processing device
JP2005101765A (en) Method and apparatus for processing image, and image forming apparatus
JPH10173916A (en) Image processor
JP3847565B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP3767210B2 (en) Document type determination device and image processing device
JP3581756B2 (en) Image processing device
JPH09261460A (en) Image processing method
JP3064896B2 (en) Image processing device
JP3988970B2 (en) Image processing apparatus, image processing method, and storage medium
JP3316077B2 (en) Background density level detector
JPH07298074A (en) Image processing unit
JPH06152945A (en) Image processor
JP3615308B2 (en) Image processing apparatus and method
JP3797448B2 (en) Image processing device
JP3547872B2 (en) Image processing device
JP3854414B2 (en) Image processing apparatus and image forming apparatus
JPH07154593A (en) Image processor
JP2002125121A (en) Image processing method and image processing unit, and image forming device provided with them

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040323