JP2002232704A - Image processor and image forming device - Google Patents

Image processor and image forming device

Info

Publication number
JP2002232704A
JP2002232704A JP2001023815A JP2001023815A JP2002232704A JP 2002232704 A JP2002232704 A JP 2002232704A JP 2001023815 A JP2001023815 A JP 2001023815A JP 2001023815 A JP2001023815 A JP 2001023815A JP 2002232704 A JP2002232704 A JP 2002232704A
Authority
JP
Japan
Prior art keywords
image processing
area
character
detection
background
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
JP2001023815A
Other languages
Japanese (ja)
Inventor
Noriko Miyagi
徳子 宮城
Satoshi Ouchi
敏 大内
Koji Kobayashi
幸二 小林
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 JP2001023815A priority Critical patent/JP2002232704A/en
Publication of JP2002232704A publication Critical patent/JP2002232704A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image processor and an image forming device which can precisely determine the background region of characters and line drawings as a plurality of regions of different properties, and can perform image processing on adequate conditions corresponding to the determination. SOLUTION: In this system, the regions of characters and line drawings are determined, and their backgrounds are determined by distinguishing them into a plurality of different patterns of a white background detector 61, a halftone region detector 62, or the like, so that different image processings can be performed in response to characters, line drawings, or determined background regions. This enables the optimal image processing, based on the correct determination of the properties of background of characters and line drawings, therefore, leading to the improvement of the quality of output images.

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 apparatus for detecting characteristics of an input image and performing image processing on an image to be output based on the detection result, and an image forming apparatus equipped with the image processing apparatus. .

【0002】[0002]

【従来の技術】例えばデジタル複写機などに用いられる
画像処理装置において、網点や色べた(写真)などの絵
柄と文字とが混在した画像を再生する場合、高画質の再
生画像を得るために、絵柄に対しては高階調の画像処理
を施し、文字や線画に対しては解像度を重視した画像処
理を施すことが望ましい。さらに、カラー複写機を用い
て黒文字を再生する場合は、色付きをなくすことが文字
品質を向上させる上で重要であるとされている。そのた
めに、文字領域と絵柄領域とを自動的に識別し、それぞ
れの領域毎に適した下色除去(UCR)処理を施すこと
が要求されている。
2. Description of the Related Art In an image processing apparatus used in a digital copying machine or the like, when reproducing an image in which a pattern and a character such as a halftone dot or a solid color (photograph) are mixed, a high quality reproduced image is obtained. It is desirable to perform high-gradation image processing on a picture, and to perform image processing emphasizing resolution on characters and line drawings. Further, when reproducing black characters using a color copying machine, it is considered that eliminating coloration is important for improving character quality. Therefore, it is required to automatically identify a character area and a picture area, and to perform undercolor removal (UCR) processing suitable for each area.

【0003】ところで、一般の文書においては、文字は
白地上に存在する場合(背景が白地領域の文字領域)が
多いが、カタログなどに掲載される表などにおいては、
文字に網点がかかっている場合(背景が網点領域の文
字)も多く存在する。
[0003] In general documents, characters often exist on a white background (a character area having a white background area). However, in a table or the like published in a catalog or the like, characters are present.
In many cases, a character has a halftone dot (a character having a halftone dot background).

【0004】白地上の文字に関しては、Min(シアン
C,マゼンタM,イエローY)をブラックKのトナーに
置き換える100%の下色除去処理が最適であることは
勿論であるが、網点領域の文字においては、必ずしも1
00%の下色除去処理は好ましくない。網点部では、階
調性を重視して例えば50パーセントの下色除去処理を
施すため、文字周辺の網点部と文字部との下色除去率の
違いが画像の乱れや白抜けとなって現れる。その結果、
文字部を高墨再生することによって寧ろ見苦しい画像と
なってしまう。そのため、いわゆる像域分離処理におい
ては、網点領域の文字は絵柄部と見做し網点部と同様に
絵柄用の画像処理を施すのが一般的であり、画素の位置
ずれが大きい出力機においては網点領域の文字の色つき
が大きな問題となっている。すなわち、白地領域を背景
とする文字と網点領域を背景とする文字との両方を高画
質で再生することができていないのが現状である。
For characters on a white background, 100% undercolor removal processing of replacing Min (cyan C, magenta M, yellow Y) with black K toner is, of course, optimal. In letters, it is not necessarily 1
Undercolor removal processing of 00% is not preferred. In the halftone portion, since the undercolor removal processing is performed with an emphasis on gradation, for example, 50%, the difference in the undercolor removal rate between the halftone portion and the character portion around the character causes image distortion and white spots. Appear. as a result,
Reproducing the character portion with high ink makes the image rather unsightly. Therefore, in the so-called image area separation processing, it is general that characters in a halftone dot area are regarded as a picture part and image processing for a picture is performed similarly to the halftone part, and an output device having a large pixel displacement is generally used. In, the coloring of the characters in the halftone dot area is a major problem. That is, at present, it is not possible to reproduce both a character having a white background as a background and a character having a halftone dot as a background with high image quality.

【0005】このようなことから、特開平6-152945号公
報に記載されているように、文字の背景領域を下地度と
して判定し、その下地度に応じた黒文字処理を行うよう
にした画像処理装置が提案されている。これは下地に応
じて黒文字処理を行うもので、具体的には、背景が白地
のときはUCR量を高くして文字をくっきりとさせ、背
景が網点や色べたなどの場合はUCR量を弱くかけるよ
うにして原稿画像を忠実に再現しようとするものであ
る。
[0005] For this reason, as described in Japanese Patent Application Laid-Open No. H6-152945, image processing in which a background region of a character is determined as a background degree and black character processing is performed in accordance with the background degree. A device has been proposed. This is to perform black character processing according to the background. Specifically, when the background is a white background, the UCR amount is increased to make the characters clear, and when the background is a halftone dot or a solid color, the UCR amount is reduced. It is intended to reproduce the original image faithfully by weakly applying it.

【0006】[0006]

【発明が解決しようとする課題】しかし、文字の背景に
は白地、網点、色べた(写真)があり、さらにハイライ
トからダーク部まで濃度も変化することから、特開平6-
152945号公報に記載されているように、下地度という一
つの基準だけのパターンで判定しても、背景領域に応じ
て最適な画像処理を行うことには限度がある。また、同
公報の実施例には、下地度判定の際に、主走査方向の周
期性を判定要素に加えることが記載されているが、網点
は原稿が少しでも傾くとその周期が変化してしまうた
め、さらに条件が悪くなる。
However, the background of a character includes a white background, a halftone dot, and a solid color (photograph), and the density varies from highlight to dark.
As described in Japanese Patent Publication No. 152945, there is a limit to performing optimal image processing in accordance with the background region even if the determination is made based on only one reference pattern, that is, the background degree. Further, in the embodiment of the publication, it is described that the periodicity in the main scanning direction is added to the determination element when the background degree is determined, but the halftone dot changes its cycle when the document is slightly inclined. The conditions worsen.

【0007】本発明の第一の目的は、文字や線画の背景
領域を異なる性質の複数の領域として正確に判定し、そ
の判定に応じた適正な条件で画像処理を行い得る画像処
理装置を提供することである。
A first object of the present invention is to provide an image processing apparatus capable of accurately determining a background area of a character or a line drawing as a plurality of areas having different properties and performing image processing under appropriate conditions according to the determination. It is to be.

【0008】本発明の第二の目的は、低濃度の太文字を
縁取りなくきれいに出力させることが可能な画像処理装
置を提供することである。
A second object of the present invention is to provide an image processing apparatus capable of outputting a low-density bold character without borders and clear.

【0009】[0009]

【課題を解決するための手段】請求項1記載の画像処理
装置は、入力された原稿画像の文字又は線画の領域を判
定する文字・線画領域判定手段と、前記文字・線画領域
判定手段により判定された文字・線画領域の背景を異な
る複数のパターンに区別して判定する背景領域判定手段
と、前記文字・線画領域判定手段により判定された文字
や線画及び前記背景領域判定手段により判定された背景
領域に応じて異なる画像処理を施す画像処理切替手段
と、を具備する。
According to a first aspect of the present invention, there is provided an image processing apparatus comprising: a character / line drawing area determining unit for determining a character or line drawing area of an input document image; Background area determining means for distinguishing the background of the determined character / line drawing area into a plurality of different patterns, and a character or line image determined by the character / line drawing area determining means and a background area determined by the background area determining means Image processing switching means for performing different image processing according to the image processing.

【0010】したがって、文字や線画の背景領域の性質
を正しく判定することが可能となり、文字や線画及び正
しく判定された背景領域の性質に応じた適正な条件で画
像処理を施すことが可能となる。
Therefore, it is possible to correctly determine the nature of the background area of the character or the line drawing, and it is possible to perform image processing under appropriate conditions in accordance with the property of the character or the line drawing and the correctly determined background area. .

【0011】請求項2記載の発明は、請求項1記載の画
像処理装置において、前記文字・線画領域判定手段は、
エッジ量検出の検出結果に基づいて判定する。
According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the character / line drawing area determining means includes:
The determination is made based on the detection result of the edge amount detection.

【0012】したがって、色ずれの影響を受け難い文字
や線画を出力することが可能となる。
Therefore, it is possible to output characters and line drawings which are hardly affected by color misregistration.

【0013】請求項3記載の発明は、請求項1記載の画
像処理装置において、前記文字・線画領域判定手段は、
細線検出の検出結果に基づいて判定する。
According to a third aspect of the present invention, in the image processing apparatus according to the first aspect, the character / line image area determining means includes:
The determination is made based on the detection result of the fine line detection.

【0014】したがって、低濃度の太文字をきれいに出
力することが可能となる。
Therefore, it is possible to output low-density thick characters clearly.

【0015】請求項4記載の発明は、請求項1記載の画
像処理装置において、前記文字・線画領域判定手段は、
エッジ量検出と細線検出との両方の検出結果に基づいて
判定する。
According to a fourth aspect of the present invention, in the image processing apparatus according to the first aspect, the character / line image area determining means includes:
The determination is made based on the detection results of both the edge amount detection and the fine line detection.

【0016】したがって、エッジ量検出と細線検出との
両方の利点を得た上で文字や線画をきれいに出力するこ
とが可能となる。
Therefore, it is possible to output a character or a line image clearly while obtaining the advantages of both the edge amount detection and the fine line detection.

【0017】請求項5記載の発明は、請求項1記載の画
像処理装置において、前記背景領域判定手段は、白地領
域検出と網点領域検出とを含む検出結果により判定を行
う。
According to a fifth aspect of the present invention, in the image processing apparatus of the first aspect, the background area determination means makes a determination based on a detection result including a white background area detection and a halftone dot area detection.

【0018】したがって、文字や線画の背景領域の性質
を、白地領域検出と網点領域検出とを含む検出結果によ
り判定することにより、相反するハイライト部やダーク
部の両方の背景領域の性質を正しく判定することが可能
となる。
Therefore, by determining the nature of the background area of a character or a line drawing on the basis of the detection results including the white background area detection and the halftone dot area detection, the properties of both of the contradictory highlight and dark areas can be determined. It is possible to make a correct determination.

【0019】請求項6記載の発明は、請求項5記載の画
像処理装置において、前記背景領域判定手段は、色べた
領域検出を含む検出結果により判定を行う。
According to a sixth aspect of the present invention, in the image processing apparatus of the fifth aspect, the background area determination means makes a determination based on a detection result including a solid area detection.

【0020】したがって、文字や線画の背景領域の性質
を、白地領域検出と網点領域検出と色べた領域検出とを
含む検出結果により判定することにより、背景領域の性
質をより細かく判定することが可能となる。これによ
り、背景領域に応じた画像処理条件をさらに精緻に設定
することが可能となる。
Therefore, the nature of the background region of a character or a line drawing is determined by the detection result including the white background region detection, the halftone dot region detection, and the solid region detection, so that the nature of the background region can be more finely determined. It becomes possible. This makes it possible to set the image processing conditions corresponding to the background area more precisely.

【0021】請求項7記載の発明は、請求項1記載の画
像処理装置において、前記画像処理切替手段が施す画像
処理は、前記背景領域に応じた下色除去量を適用する下
色除去処理である。
According to a seventh aspect of the present invention, in the image processing apparatus according to the first aspect, the image processing performed by the image processing switching means is an under color removal process that applies an under color removal amount according to the background area. is there.

【0022】したがって、網点などの絵柄を背景とする
文字や線画については、エッジの高墨再生による欠点を
抑制するとともに、背景を白地領域とする文字や線画に
ついては、色つきなく再生することが可能となる。
Therefore, for a character or a line drawing having a background such as a halftone dot as a background, it is possible to suppress the drawbacks caused by the reproduction of the edge with high black, and to reproduce a character or a line drawing having a background as a white background without coloring. Becomes possible.

【0023】請求項8記載の発明は、請求項1記載の画
像処理装置において、前記画像処理切替手段が施す画像
処理は、前記背景領域に応じたフィルタ処理である。
According to an eighth aspect of the present invention, in the image processing apparatus according to the first aspect, the image processing performed by the image processing switching means is a filter processing according to the background area.

【0024】したがって、網点などの絵柄を背景とする
文字や線画については、エッジで比較的鮮鋭性の低いフ
ィルタを使用することで欠点を抑制するとともに、背景
を白地領域とする文字や線画については、シャープに再
生することが可能となる。
Therefore, with respect to characters and line drawings having a background such as a halftone dot, defects are suppressed by using a filter having relatively low sharpness at edges, and characters and line drawings having a white background as a background are used. Can be reproduced sharply.

【0025】請求項9記載の発明は、請求項1記載の画
像処理装置において、前記画像処理切替手段が施す画像
処理は、前記背景領域に応じたガンマ補正処理である。
According to a ninth aspect of the present invention, in the image processing apparatus according to the first aspect, the image processing performed by the image processing switching means is a gamma correction process according to the background area.

【0026】したがって、網点などの絵柄を背景とする
文字や線画については、エッジで比較的緩やかなガンマ
特性をもつテーブルを使用してガンマ補正処理を施すこ
とで欠点を抑制するとともに、背景を白地領域とする文
字や線画については、シャープに再生することが可能と
なる。
Therefore, with regard to characters and line drawings having a background such as a halftone dot as a background, a defect is suppressed by performing a gamma correction process using a table having a relatively gentle gamma characteristic at the edge, and the background is reduced. Characters and line drawings that are to be white background areas can be reproduced sharply.

【0027】請求項10の画像形成装置は、請求項1な
いし9記載の画像処理装置と、印刷手段と、を具備す
る。
An image forming apparatus according to a tenth aspect includes the image processing apparatus according to the first to ninth aspects, and a printing unit.

【0028】したがって、文字や線画の背景領域の性質
を正しく判定し、文字や線画及び正しく判定された背景
領域の性質に応じた適正な条件で画像処理を施すことが
できる画像形成装置を提供することが可能となる。
Accordingly, there is provided an image forming apparatus capable of correctly determining the nature of the background area of a character or a line drawing and performing image processing under appropriate conditions in accordance with the properties of the character or line drawing and the correctly determined background area. It becomes possible.

【0029】[0029]

【発明の実施の形態】本発明の第一の実施の形態を図面
に基づいて説明する。まず、図1を参照して画像処理装
置としての画像処理回路Aの概略構成について説明す
る。本実施の形態において、画像処理回路Aは、例えば
画像形成装置の一例としてデジタル複写機に搭載されて
いるが、これに限られるものではなく、カラースキャナ
やネットワークなどのインターフェース(図示せず)に
接続されるものでもよい。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention will be described with reference to the drawings. First, a schematic configuration of an image processing circuit A as an image processing device will be described with reference to FIG. In the present embodiment, the image processing circuit A is mounted on a digital copying machine as an example of an image forming apparatus, but is not limited thereto, and may be connected to an interface (not shown) such as a color scanner or a network. It may be connected.

【0030】そして、この画像処理回路Aは、フィルタ
処理部1と、色補正部2と、下色除去(UCR)/墨生
成部3と、ガンマ補正部4と、原稿の文字・線画領域を
判定する文字・線画領域判定手段として文字領域検出部
5と、原稿の文字領域の背景領域を判定する背景領域判
定手段としての背景領域検出部6と、ルックアップテー
ブル(LUT)7とを有する。本発明は、文字領域と線
画領域との何れかにも適用するために「文字・線画領域」
としているが、本実施の形態では、説明を簡略化するた
めに「文字領域」について説明する。
The image processing circuit A includes a filter processing section 1, a color correction section 2, an under color removal (UCR) / black generation section 3, a gamma correction section 4, and a character / line drawing area of a document. It has a character area detecting section 5 as a character / line image area determining means, a background area detecting section 6 as a background area determining means for determining a background area of a character area of a document, and a lookup table (LUT) 7. The present invention provides a "character / line drawing area" for applying to either a character area or a line drawing area.
However, in the present embodiment, a “character area” will be described to simplify the description.

【0031】また、本実施の形態では、文字領域検出部
5による文字領域検出と、背景領域検出部6による背景
領域検出とは、前述のインターフェースからの入力画像
信号RGBのうちG信号を使用して検出するが、Max
(R,G,B)信号又はRGB信号から得た輝度信号や
明度信号を使用して検出してもよい。文字領域及び背景
領域の判定方法の説明は後述するが、文字領域検出部5
と背景領域検出部6との出力を基に、フィルタ処理部1
によるフィルタ処理、下色除去(UCR)/墨生成部3
による下色除去処理、ガンマ補正部4によるガンマ補正
処理などの画像処理のパラメータをルックアップテーブ
ル(LUT)7により決定しようとするものである。こ
のルックアップテーブル7は、文字領域及び背景領域に
応じて異なる画像処理を施すために画像処理切替手段と
しての機能を果たす。異なる画像処理とは、例えば下色
除去処理である場合には、下色除去率の異なる処理であ
る。このことについては後述する。
In the present embodiment, the character area detection by the character area detection unit 5 and the background area detection by the background area detection unit 6 use the G signal of the input image signal RGB from the interface. To detect, but Max
The detection may be performed using a luminance signal or a brightness signal obtained from the (R, G, B) signal or the RGB signal. The method of determining the character area and the background area will be described later.
Filter processing unit 1 based on the output of the
Processing, under color removal (UCR) / black generator 3
The parameters of image processing such as under color removal processing by the gamma correction unit 4 and gamma correction processing by the gamma correction unit 4 are to be determined by a look-up table (LUT) 7. The look-up table 7 functions as an image processing switching unit for performing different image processing according to the character area and the background area. The different image processing is, for example, a processing with a different undercolor removal rate in the case of undercolor removal processing. This will be described later.

【0032】次に、図1に示した背景領域検出部6の電
気的構成を図2のブロック図に示し、背景領域検出部6
が行う背景領域検出処理について説明する。背景領域検
出部6は、白地領域検出部61により白地領域のパター
ンであるか否かの白地領域検出を行い、これに加えて、
網点領域検出部62により網点領域のパターンであるか
否かの網点領域検出を行い、両者の検出結果となる出力
を基に判定部63で判定する。判定部63は、白地領域
検出部61の出力により白地領域と判定し網点領域検出
部62の出力により網点領域ではないと判定したときに
白地領域としての意味をもつ(0)を出力し、それ以外
判定の場合(網点領域や色べた領域の場合)に(1)を
出力する。
Next, FIG. 2 is a block diagram showing an electrical configuration of the background area detecting section 6 shown in FIG.
Will be described. The background area detection unit 6 performs a white area detection by the white area detection unit 61 to determine whether or not the pattern is a white area pattern.
The halftone dot area detection unit 62 detects a halftone dot area to determine whether or not it is a halftone dot pattern, and the determination unit 63 makes a determination based on the output that is the result of both detections. The determination unit 63 outputs (0) having a meaning as a white background region when it is determined as a white background region by the output of the white background region detection unit 61 and is determined to be not a halftone region by the output of the halftone region detection unit 62. (1) is output in the case of other determination (in the case of a dot area or a solid area).

【0033】ここで、図2に示した白地領域検出部61
での白地領域検出処理について図3を参照してさらに詳
細に説明する。図3は白地領域検出部61を示すブロッ
ク図である。本実施の形態における白地領域検出は、例
えば特開平4-14378号公報などに記載された公知の方法
と同様の方法により行うものであるため、概略の説明に
留める。
Here, the white background area detecting section 61 shown in FIG.
Will be described in more detail with reference to FIG. FIG. 3 is a block diagram showing the white background area detection unit 61. The white area detection in the present embodiment is performed by a method similar to a known method described in, for example, Japanese Patent Application Laid-Open No. 4-14378, and thus will only be briefly described.

【0034】まず、入力画像信号のG信号を2値化部6
11において定められた閾値によって白/非白画素に2
値化する。次に、白画素検出部612において2値化信
号が構成する局所的な2次元パターンと予め用意した白
地画素パターンとの比較により白地画素検出を行う。こ
の場合の白地画素パターンの一例としては、最も単純に
は5×5のマスク内で全ての画素が白画素である、とい
うものであり、この条件を満たしたときに注目画素が白
地画素あると判定する。続いて膨張処理部613におい
て、注目画素を中心としたあるサイズのブロック内に前
工程で検出した白地画素が1個以上存在すると認識した
ときに、注目ブロックを仮白地近傍領域と判定する。続
いて補正処理部614において、注目ブロックの左右或
いは上下方向に白地が存在すると認識したときに白地と
判定する。このとき、注目ブロックの左右方向の片側或
いは上下方向の片側のみの白地の存在により補正処理を
行ってもよいが、両側の白地の有無を参照することによ
り、太文字を白地上文字として検出するかどうかを操作
することができる。
First, the G signal of the input image signal is converted to a binary
2 for white / non-white pixels according to the threshold determined in 11
Value. Next, the white pixel detection unit 612 detects a white pixel by comparing a local two-dimensional pattern formed by the binarized signal with a previously prepared white pixel pattern. As an example of a white background pixel pattern in this case, it is simplest that all pixels are white pixels in a 5 × 5 mask. When this condition is satisfied, it is assumed that the target pixel is a white background pixel. judge. Subsequently, when the expansion processing unit 613 recognizes that one or more white background pixels detected in the previous process exist in a block of a certain size around the target pixel, the target block is determined to be a temporary white background neighboring area. Subsequently, when the correction processing unit 614 recognizes that a white background exists in the left / right or up / down direction of the target block, it is determined that the target block is a white background. At this time, the correction process may be performed based on the presence of a white background on only one side in the left-right direction or only one side in the up-down direction of the block of interest. However, by referring to the presence or absence of the white background on both sides, bold characters are detected as white background characters. You can manipulate whether or not.

【0035】この両側の白地の有無は次のようにして調
べることができる。ここでは、注目ブロックを挟んで左
右両側の白地の有無について調べるが、上下両側の白地
を調べる場合も同様である。注目ブロックを挟んで左側
にNブロック、右側にN+1ブロックを参照する。この
とき、左側は注目ブロックから数えてLブロック目(L
≦N)、右側はMブロック目(M≦N)に位置するとこ
ろに初めて仮白地近傍領域が出現するとすると、”非白
地領域の幅(これを文字幅として考える)が(L−1)
+(M−1)+1ブロックである”ということが分か
る。つまり、注目ブロックの左右両側を参照することに
より、白地と白地との距離=文字幅を知ることができる
ため、所定の文字幅を超える場合は非白地領域として判
定し、絵柄部用の処理がかかるようにする、という制御
も可能である。
The presence or absence of the white background on both sides can be checked as follows. Here, the presence / absence of the white background on both the left and right sides of the target block is checked. The same applies to the case of checking the white background on both the top and bottom sides. N blocks are referred to the left side and N + 1 blocks are referred to the right side with respect to the target block. At this time, the left side is the L-th block (L
≦ N) and the right side of the area near the temporary white background appears at the Mth block (M ≦ N), the width of the non-white background area (this is considered as the character width) is (L−1).
+ (M−1) +1 block ”. That is, by referring to the left and right sides of the target block, the distance between a white background and a white background = character width can be known. If it exceeds, it is also possible to perform control such that it is determined as a non-white background area and processing for a picture portion is performed.

【0036】次に、図2に示した網点領域検出部62で
の網点領域検出処理について説明する。本実施の形態に
おける網点領域検出は、例えば、電子情報通信学会論文
誌Vol.J75-D2 1992-1「文字/絵柄(網点、色べた)混在
画像の像域分離方法」に記載された方法と同様の方法に
より行うため、概略の説明に留める。この例の網点領域
検出はピーク画素検出による方法である。これは、注目
画素が濃度変化の山を示す極点であるかどうかを、周囲
の画素との濃度関係から判定するものである。具体的に
は、M×M画素のブロック(図4(a)(b)参照)内
において、下記の或いはに示す一連の計算式によっ
て中心画素の濃度レベルが他の全ての画素の濃度レベル
よりも高い、或いは低いときに極点かどうかを判定す
る。
Next, a description will be given of the dot area detection processing by the dot area detection section 62 shown in FIG. The dot area detection in the present embodiment is described in, for example, IEICE Transactions Vol. J75-D2 1992-1 “Image Area Separation Method for Character / Picture (Dot, Color) Mixed Image”. Since the method is performed in the same manner as the method, only a brief description will be given. The dot area detection in this example is a method based on peak pixel detection. This is to determine whether or not the target pixel is an extreme point indicating the peak of the density change based on the density relationship with surrounding pixels. Specifically, in the block of M × M pixels (see FIGS. 4A and 4B), the density level of the central pixel is set to be higher than the density levels of all other pixels by a series of calculation formulas shown below or Is high or low, it is determined whether or not it is an extreme point.

【0037】図4(a)は、M×Mの画素数=3×3の
ブロックにおけるピーク画素検出を説明する模式図、同
図(b)は、M×Mの画素数=5×5のブロックにおけ
るピーク画素検出を説明する模式図である。m0 が中心
画素の濃度レベルに相当する。
FIG. 4A is a schematic diagram for explaining the detection of peak pixels in a block of M × M pixels = 3 × 3, and FIG. 4B is a diagram showing the detection of peak pixels of M × M pixels = 5 × 5. FIG. 3 is a schematic diagram illustrating peak pixel detection in a block. m 0 corresponds to the density level of the central pixel.

【0038】M×M=3×3の場合の一連の計算式 |2m −m −m |≧ΔmTH かつ |2m −m −m |≧ΔmTH かつ |2m −m −m |≧ΔmTH かつ |2m −m −m |≧ΔmTH M×M=5×5の場合の一連の計算式 |2m −m −m22|≧ΔmTH かつ |2m −m −m17|≧ΔmTH かつ・・・ |2m −m −m24|≧ΔmTH かつ |2m −m −m18|≧ΔmTH の場合の計算式は途中の計算式を省略してあるが、要
するに、中心画素を挟んで点対称に位置する二つの画素
の濃度レベルの平均値と中心画素の濃度レベルとの差の
絶対値が閾値ΔmTHよりも大きいときに、中心画素を
ピークとして検出する。そして、ピーク画素の情報を基
にその領域が網点領域であるかどうかを判定する。例え
ば、最も単純に考えれば、所定サイズのブロック毎に網
点画素を計数し、その計数値が定められた個数以上であ
る場合に網点領域と判定する。
A series of formulas when M × M = 3 × 3 | 2m 0 −m 1 −m 8 | ≧ Δm TH and | 2m 0 −m 2 −m 7 | ≧ Δm TH and | 2m 0 −m 3- m 6 | ≧ Δm TH and | 2m 0 −m 4 −m 5 | ≧ Δm TH A series of calculation formulas in the case of M × M = 5 × 5 | 2m 0 −m 3 −m 22 | ≧ Δm TH and | 2m 0 −m 8 −m 17 | ≧ Δm TH and... | 2m 0 −m 1 −m 24 | ≧ Δm TH and | 2m 0 −m 7 −m 18 | ≧ Δm TH Although the calculation formula in the middle is omitted, in short, the absolute value of the difference between the average value of the density levels of the two pixels located symmetrically with respect to the center pixel and the density level of the center pixel is smaller than the threshold value Δm TH. When larger, the central pixel is detected as a peak. Then, it is determined whether or not the area is a halftone area based on the information of the peak pixel. For example, in the simplest case, halftone pixels are counted for each block of a predetermined size, and if the counted value is equal to or larger than a predetermined number, it is determined that the halftone area is a halftone area.

【0039】次に、図1に示した文字領域検出部5によ
る文字領域検出処理について説明する。本実施の形態で
は、エッジ量を検出したときに、その領域を文字領域と
して判定する。なお、エッジ量はエッジであるか否かの
判定を多値的に行うものであるが、像域分離のような2
値判定も含むものとする。そのエッジ量検出による文字
領域検出処理を図5に基づいて説明する。図5は文字領
域検出のためのエッジ量検出処理のブロック図である。
Next, a description will be given of the character area detecting process by the character area detecting section 5 shown in FIG. In the present embodiment, when the edge amount is detected, the area is determined as a character area. The edge amount is used to determine whether or not an edge is multi-valued.
This shall include value judgment. The character area detection processing based on the edge amount detection will be described with reference to FIG. FIG. 5 is a block diagram of edge amount detection processing for character area detection.

【0040】この例では入力画像信号のG信号に対して
フィルタ処理をする。具体的にはG信号に対し、第1の
エッジ量検出フィルタ511、第2のエッジ量検出フィ
ルタ512、第3のエッジ量検出フィルタ513、第4
のエッジ量検出フィルタ514を用いてマスキングし、
そのときの4つの検出出力の絶対値を絶対値化部51
5,516,517,518で求め、絶対値が最大のも
のを最大値選択部519で選択してエッジ量とする。7
×7の第1〜第4のエッジ量検出フィルタ511,51
2,513,514は、図6(a)(b)(c)(d)
に示すようにそれぞれ異なるフィルタである。
In this example, the G signal of the input image signal is filtered. Specifically, for the G signal, a first edge amount detection filter 511, a second edge amount detection filter 512, a third edge amount detection filter 513, a fourth
Masking using the edge amount detection filter 514 of
The absolute values of the four detection outputs at that time are converted into absolute value
5, 516, 517, and 518, the one having the largest absolute value is selected by the maximum value selection unit 519, and is set as the edge amount. 7
× 7 first to fourth edge amount detection filters 511, 51
2, 513, 514 are shown in FIGS. 6 (a), (b), (c), and (d).
Are different filters as shown in FIG.

【0041】次に、背景領域検出部6により判定された
背景領域に応じて文字領域の画像に対して異なる画像処
理を施す画像処理切替手段について説明するが、この画
像処理切替手段が施す画像処理は、下色除去(UCR)
/墨生成部3での下色除去処理と、フィルタ処理部1で
のフィルタ処理と、ガンマ補正部4でのガンマ補正処理
との何れであってもよい。以下、順に説明する。
Next, an image processing switching means for performing different image processing on the image of the character area according to the background area determined by the background area detection unit 6 will be described. Means under color removal (UCR)
Any one of the under color removal processing in the black generation unit 3, the filter processing in the filter processing unit 1, and the gamma correction processing in the gamma correction unit 4 may be used. Hereinafter, description will be made in order.

【0042】まず、下色除去(UCR)/墨生成部3で
の下色除去処理について説明する。下色除去(UCR)
/墨生成部3は、背景領域が白地領域でエッジ量が最大
と判定された場合に、図7に示す墨生成テーブル−0
(下色除去率100%)により定められたブラックのK
信号を発生させ、背景が網点領域又は色べた領域(写真
領域)でエッジ量が最大であると判定された場合に、墨
生成テーブル−1により定められたK信号を発生させ、
非エッジ(エッジ量がゼロ)と判定された場合に、墨生
成テーブル−2により定められたK信号を発生させる。
中間のエッジ量の場合には、白地領域と判定されたとき
に墨生成テーブル−0から墨生成テーブル−2の間に対
応するK信号を発生させ、網点領域又は色べた領域と判
定されたときに、墨生成テーブル−1から墨生成テーブ
ル−2の間に対応するK信号を発生させ、それぞれのK
の値に応じて下色除去処理をする。なお、図7の墨生成
テーブルは、文字領域検出部5及び背景領域検出部6の
検出結果によって画像処理のパラメータを決めるルック
アップテーブル7(図1参照)に定められたデータの一
例である。
First, the undercolor removal (UCR) / undercolor removal processing in the black generator 3 will be described. Under color removal (UCR)
When the background area is determined to be the maximum with the edge amount being the white background area, the black generation unit 3 shown in FIG.
(K of black determined by 100% undercolor removal rate)
A signal is generated, and when it is determined that the edge amount is the maximum in a halftone dot region or a solid color region (photo region), a K signal determined by the black generation table-1 is generated,
If determined to be non-edge (the edge amount is zero), a K signal determined by the black generation table-2 is generated.
In the case of an intermediate edge amount, when it is determined that the area is a white background area, a K signal corresponding to the area between the black generation table-0 and the black generation table-2 is generated, and the halftone area or the solid area is determined. At this time, a K signal corresponding to the range between the black generation table-1 and the black generation table-2 is generated.
Under color removal processing is performed according to the value of. Note that the black generation table in FIG. 7 is an example of data defined in a look-up table 7 (see FIG. 1) that determines image processing parameters based on detection results of the character region detection unit 5 and the background region detection unit 6.

【0043】次に、画像処理切替手段が施す画像処理
が、フィルタ処理部1でのフィルタ処理である場合につ
いて説明する。フィルタ処理部1では、白地領域上の文
字と判定された場合に最も強いエッジ強調処理を施し、
網点領域又は色べた領域上の文字と判定された場合に少
し弱いエッジ強調処理を施す。非文字部であると判定さ
れた場合はさらに弱いエッジ処理を行う。
Next, a case where the image processing performed by the image processing switching means is a filter processing in the filter processing section 1 will be described. The filter processing unit 1 performs the strongest edge enhancement processing when it is determined that the character is on a white background area,
When it is determined that the character is on a halftone dot region or a solid color region, a slightly weak edge enhancement process is performed. If it is determined to be a non-character part, weaker edge processing is performed.

【0044】この場合、エッジ強調の強さの調節は、直
接的にフィルタのパラメータを切り替えるようにしても
よいし、図8に示すようにラプラシアンフィルタ8の出
力に乗算する係数を切り替える手段なども考えられる。
ここで、一般的に行われている適応的なエッジ強調につ
いて簡単に説明する。元信号をG、ラプラシアンフィル
タ8の出力をL(G)、エッジ強調後の信号をG’とす
ると、エッジ強調は、 G’=G+L(G) で表わされる。この計算は図8における加算器9によっ
てなされる。これは、元信号Gに、図9のラプラシアン
フィルタ8の真中の数値を5にしたものをかけているの
と同じである。図9は5×5のラプラシアンフィルタ8
を用いる例を示す説明図で、注目画素成分とラプラシア
ンフィルタ8とを分解して表わている。
In this case, the adjustment of the edge emphasis strength may be performed by directly switching the parameters of the filter, or a means for switching the coefficient by which the output of the Laplacian filter 8 is multiplied as shown in FIG. Conceivable.
Here, adaptive edge enhancement generally performed is briefly described. Assuming that the original signal is G, the output of the Laplacian filter 8 is L (G), and the signal after edge enhancement is G ', the edge enhancement is represented by G' = G + L (G). This calculation is performed by the adder 9 in FIG. This is the same as multiplying the original signal G by changing the value at the center of the Laplacian filter 8 of FIG. FIG. 9 shows a 5 × 5 Laplacian filter 8.
Is an explanatory diagram showing an example in which the target pixel component and the Laplacian filter 8 are separated and shown.

【0045】上記の式から、ラプラシアンフィルタ8の
出力L(G)が強調成分に相当することが見てとれる。
そこで、ラプラシアンフィルタ8の強度を調整する係数
(LUT7からの出力)をPとし、 G’=G+L(G)×P を計算する。この計算は図8における乗算器10により
なされる。このときに乗算するPにより、エッジ強調の
調節を適応的に行うことができる。
From the above equation, it can be seen that the output L (G) of the Laplacian filter 8 corresponds to the enhancement component.
Therefore, the coefficient for adjusting the intensity of the Laplacian filter 8 (output from the LUT 7) is P, and G ′ = G + L (G) × P is calculated. This calculation is performed by the multiplier 10 in FIG. At this time, the P to be multiplied can adjust the edge enhancement adaptively.

【0046】フィルタ処理部1でのフィルタ処理として
はエッジ強調の他にエッジの平滑化もある。平滑化の場
合は、エッジ強調の場合とは逆に、白地領域上の文字に
はスルーに近い平滑フィルタを用い、網点領域又は色べ
た領域上の文字にはそれより強い平滑フィルタ、非文字
部にはさらに強い平滑フィルタを使用すればよい。
The filter processing in the filter processing unit 1 includes edge smoothing in addition to edge enhancement. In the case of smoothing, contrary to the case of edge emphasis, a smooth-through filter is used for characters on a white background area, and a stronger smoothing filter and non-characters are used for characters on a halftone area or solid area. A stronger filter may be used for the section.

【0047】さらに、画像処理切替手段が施す画像処理
が、ガンマ補正部4でのガンマ補正処理である場合につ
いて説明する。ガンマ補正処理は図10に示すようにガ
ンマテーブルを用意する。ガンマ補正部4は、白地領域
上の文字と判定された場合に最も急峻なガンマテーブル
−0を使用し、網点領域又は色べた領域上の文字と判定
された場合にやや緩やかなガンマテーブル−1を使用
し、非文字部であると判定された場合にガンマテーブル
−2を使用して処理する。ガンマテーブルは、文字領域
検出部5及び背景領域検出部6の検出結果によって画像
処理のパラメータを決めるルックアップテーブル7(図
1参照)に定められたデータの一例である。
Further, a case where the image processing performed by the image processing switching means is the gamma correction processing in the gamma correction unit 4 will be described. The gamma correction process prepares a gamma table as shown in FIG. The gamma correction unit 4 uses the steepest gamma table-0 when it is determined to be a character on a white background area, and uses a slightly gentle gamma table when it is determined to be a character on a halftone area or a solid area. 1 is used, and if it is determined to be a non-character portion, processing is performed using gamma table-2. The gamma table is an example of data defined in a look-up table 7 (see FIG. 1) that determines image processing parameters based on detection results of the character area detection unit 5 and the background area detection unit 6.

【0048】以上のように、本発明によれば、背景領域
の検出に際し、白地領域検出と、この白地領域検出とは
異なる網点などの絵柄領域検出とを検出するようにした
ので、背景領域の性質に見合った最適な画像処理を施す
ことができる。
As described above, according to the present invention, when the background area is detected, the detection of the white background area and the detection of the picture area such as a halftone dot different from the white background area detection are performed. The most suitable image processing can be performed in accordance with the characteristics of.

【0049】次に、本発明の第二の実施の形態を図11
及び図12に基づいて説明する。本実施の形態及びこれ
に続く他の実施の形態において、前述した第一の実施の
形態と同一部分は同一符号を用い説明も省略する。
Next, a second embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG. In the present embodiment and other embodiments following this, the same parts as those in the above-described first embodiment are denoted by the same reference numerals, and description thereof will be omitted.

【0050】第一の実施の形態では、エッジ量を検出
し、エッジ量が高いところを文字領域と見なしたが、本
実施の形態はエッジ量ではなく細線度を文字領域を表わ
す指標とする。
In the first embodiment, the edge amount is detected, and a portion where the edge amount is high is regarded as a character area. In the present embodiment, not the edge amount but the fineness is used as an index representing the character area. .

【0051】ここで、エッジ量の概念を図11(a)
に、細線度の概念を図11(b)に示す。図11は、エ
ッジ量、細線度をそれぞれ3値判定する場合を示したも
のであり、黒部分が最大値を示す2、中間グレー部分が
中間地を示す1、最も薄いグレー部分が最小値を示す0
の領域である。図11(a)のエッジ量は「エッジから
の距離」を表わす特徴量であり、図11(b)の細線度
は「線幅の細さ」を表わす特徴量である。図11(a)の
エッジ量で文字領域を判定する場合には、最も薄いグレ
ー部分(文字中の部分)において黒部分のエッジ部との
ギャップが目立ち違和感のある画像となる。一方、図1
1(b)の細線度で文字領域を判定する場合には、紙面
横方向でみればエッジ部と文字中とでは同じ処理がかか
ることになり、線幅が異なる紙面縦方向では処理が切り
換わるが、細線部での切り換わりのほうが太線部での切
り換わりに比べて目に付きにくく違和感は感じ難い。
Here, the concept of the edge amount is shown in FIG.
FIG. 11B shows the concept of fineness. FIG. 11 shows a case where each of the edge amount and the fine line degree is determined in three values. The black portion indicates the maximum value 2, the intermediate gray portion indicates the intermediate ground 1, and the lightest gray portion indicates the minimum value. 0
Area. The edge amount in FIG. 11A is a feature amount representing “distance from the edge”, and the fineness in FIG. 11B is a feature amount representing “fine line width”. In the case where the character area is determined based on the edge amount in FIG. 11A, the gap between the lightest gray portion (the portion in the character) and the edge portion of the black portion is conspicuous and gives an uncomfortable feeling. On the other hand, FIG.
When the character area is determined based on the fineness of 1 (b), the same processing is performed between the edge portion and the middle of the character when viewed in the horizontal direction on the paper, and the processing is switched in the vertical direction on the paper having different line widths. However, the switching at the thin line portion is less noticeable than the switching at the thick line portion, and the discomfort is hardly felt.

【0052】図12を参照して細線度検出による文字領
域検出処理を説明する。図12は文字領域検出のための
細線度検出処理のブロック図である。まず、2値化部5
21で入力画像信号のG信号を黒画素と白画素とに2値
化し、次に、連続黒画素計数部522で黒画素の連続数
を計数し、その計数値に応じてルックアップテーブル5
23から細線度“2”“1”“0”を出力する。“2”
は連続黒画素数が1〜14の領域として検出し文字とし
て判定する最大値であり、“1”は連続黒画素数が15
〜30の領域として判定する中間値であり、“0”は連
続黒画素数が31以上の領域として検出し非文字として
判定する最小値である。
Referring to FIG. 12, a description will be given of the character area detection processing based on the fine line degree detection. FIG. 12 is a block diagram of the fine line degree detection processing for character area detection. First, the binarization unit 5
At 21, the G signal of the input image signal is binarized into black pixels and white pixels, and then the number of continuous black pixels is counted by a continuous black pixel counting unit 522.
23 outputs fineness "2""1""0". “2”
Is the maximum value that is detected as an area where the number of continuous black pixels is 1 to 14 and determined as a character.
An intermediate value determined as an area of ~ 30, and "0" is a minimum value detected as an area having a number of continuous black pixels of 31 or more and determined as a non-character.

【0053】連続黒画素数は、主走査方向のみならず副
走査方向についても計数することにより、さらに細線度
の精度を上げることができる。また、細線度検出は、連
続黒画素数の検出だけに限られるものではなく、白地と
白地の距離検出、エッジとエッジの距離検出などにも適
用可能である。
By counting the number of continuous black pixels not only in the main scanning direction but also in the sub-scanning direction, the precision of fineness can be further improved. Further, the fine line degree detection is not limited to the detection of the number of continuous black pixels, but can be applied to the detection of the distance between a white background and a white background, the detection of the distance between edges, and the like.

【0054】次に、本発明の第三の実施の形態を図13
に基づいて説明する。図13は文字領域検出部5の電気
的接続構造を示すブロック図である。文字領域を判定す
るために、第一の実施の形態ではエッジ量検出、第二の
実施の形態では細線度検出を用いたが、本実施の形態で
は、G信号から、エッジ量をエッジ量検出部51により
検出するとともに細線度を細線度検出部52により検出
し、エッジ量検出部51と細線度検出部52との出力を
乗算器53により乗算し、これを文字領域判定結果とす
るものである。エッジ量検出部51によるエッジ量検出
処理は第一の実施の形態で説明した処理と同様であり、
細線度検出処理は第二の実施の形態で説明した処理と同
様である。
Next, a third embodiment of the present invention will be described with reference to FIG.
It will be described based on. FIG. 13 is a block diagram showing an electrical connection structure of the character area detection unit 5. In the first embodiment, the edge amount detection is used to determine the character area, and in the second embodiment, the fine line degree detection is used. In the present embodiment, the edge amount is detected from the G signal. The fine line degree is detected by the thin line degree detecting section 52, and the output of the edge amount detecting section 51 and the output of the fine line degree detecting section 52 are multiplied by the multiplier 53 to obtain a character area determination result. is there. The edge amount detection processing by the edge amount detection unit 51 is the same as the processing described in the first embodiment,
The fine line degree detection processing is the same as the processing described in the second embodiment.

【0055】エッジ量で文字領域を判定すると、画像出
力時の色ずれの影響を受け難くするメリットがあり、細
線度で文字領域を判定すると、低濃度太文字の高画質再
生に有効であるというメリットがある。
If the character area is determined based on the edge amount, there is a merit that the influence of color misregistration at the time of outputting an image is reduced, and if the character area is determined based on the fineness, it is effective for high-quality reproduction of low-density thick characters. There are benefits.

【0056】なお、エッジ量検出部51の出力と細線度
検出部52の出力とを取り出すために乗算器53を用い
たが、乗算器53に代えて他の素子を用いてもよい。
Although the multiplier 53 is used to extract the output of the edge amount detecting section 51 and the output of the fine line degree detecting section 52, another element may be used instead of the multiplier 53.

【0057】さらに、本発明の第四の実施の形態を図1
4及び図15に基づいて説明する。図14は背景領域検
出部6のブロック図である。第一の実施の形態では、図
1に示す背景領域検出部6を、図2に示すように白地領
域検出部61と網点領域検出部62と判定部63とによ
り構成したが、本実施の形態では、白地領域検出部61
と網点領域検出部62とによる検出結果の他に、さらに
色べた領域(写真領域)検出部64による検出結果を加
え、文字の背景が、白地領域であるか、網点領域である
か、色べた領域であるかを判定部65により判定するよ
うに構成した。
Further, a fourth embodiment of the present invention is shown in FIG.
4 and FIG. FIG. 14 is a block diagram of the background area detection unit 6. In the first embodiment, the background region detection unit 6 shown in FIG. 1 is configured by the white background region detection unit 61, the halftone dot region detection unit 62, and the determination unit 63 as shown in FIG. In the embodiment, the white area detection unit 61
In addition to the detection result by the dot region detection unit 62 and the detection result by the solid region (photo region) detection unit 64, whether the background of the character is a white background region or a dot region is determined. The determination unit 65 determines whether the area is a solid color area.

【0058】本実施の形態では、文字や線画の背景を、
白地領域、網点領域、さらに色べた領域とに分けて判定
することができ、判定された領域毎に最適な画像処理を
施すことができる。
In this embodiment, the background of a character or a line drawing is
The determination can be made separately for a white background area, a halftone dot area, and a solid color area, and optimal image processing can be performed for each determined area.

【0059】これにより、例えば下色除去処理におい
て、色べた領域に人の顔が写っている原稿では、顔の輪
郭の高墨再生は網点領域よりもさらに画質を劣化させて
しまう。網点領域上の文字や線画には最適な下色除去率
であっても、顔の輪郭ではまだまだ下色除去率が高いこ
とが殆どであり、寧ろ絵柄用の下色除去率で再生した方
がよいくらいである。しかし、本実施の形態では、白地
領域以外の領域を網点領域と色べた領域とに分けて判定
するので、背景領域に適した画像処理を施すことができ
る。
Thus, in the undercolor removal processing, for example, in a document in which a human face is shown in a solid color area, the high-black reproduction of the contour of the face further deteriorates the image quality as compared with the halftone dot area. Even if the undercolor removal rate is optimal for characters and line art on the halftone dot area, the undercolor removal rate is often still high in the outline of the face. Is good. However, in the present embodiment, the region other than the white background region is determined by dividing it into a halftone region and a solid region, so that image processing suitable for the background region can be performed.

【0060】色べた領域検出部64での処理は、例えば
特開平7-298074号公報に記載された中間レベル画素検出
方法と同様の方法であるので、図15を参照して簡単に
説明する。図15は色べた領域検出部64(図14参
照)のブロック図である。すなわち、入力画像信号のG
信号を3値化部641において2つの閾値により3値化
し、中間レベル画素に対してパターンマッチング部64
2によりパターンマッチングを行う。これは例えば3×
7のブロック内の画素が全て中間レベル画素である場合
に、注目画素を写真画素として出力する。続いてカウン
タ643により、所定サイズのブロック毎に写真画素数
を計数し、その計数値が所定個数以上の場合に、判定部
644から色べた領域である旨の信号を出力させる。
The processing in the solid area detection section 64 is the same as the intermediate level pixel detection method described in, for example, Japanese Patent Application Laid-Open No. 7-298074, and will be briefly described with reference to FIG. FIG. 15 is a block diagram of the solid area detection unit 64 (see FIG. 14). That is, G of the input image signal
The signal is ternarized by two thresholds in a ternarization unit 641, and the pattern matching unit 64
2, pattern matching is performed. This is 3x
If all the pixels in the block 7 are intermediate level pixels, the pixel of interest is output as a photographic pixel. Subsequently, the counter 643 counts the number of photo pixels for each block of a predetermined size, and when the count value is equal to or larger than the predetermined number, the determination unit 644 outputs a signal indicating that the area is a colored area.

【0061】この色べた領域の検出方法は、写真原稿が
中間レベルの画素を多く含み、かつこれらの中間レベル
の画素がある程度の塊をもっているという性質に注目し
た検出方法である。色べた領域検出部64を用いずに、
非網点であって非白地である状態をもって色べた領域と
して判定することもできるが、本実施の形態のように、
色べた領域検出部64を設けることにより、認識が困難
なハイライトやダーク部を、色べた領域としてより一層
認識し易くすることができる。
This method of detecting a solid color region is a detection method which focuses on the property that a photographic original contains many intermediate level pixels and these intermediate level pixels have a certain amount of clumps. Without using the solid area detection unit 64,
Although it can be determined as a solid area with non-dots and non-white background, as in the present embodiment,
By providing the solid area detection unit 64, it is possible to further easily recognize a highlight or a dark part that is difficult to recognize as a solid area.

【0062】[0062]

【発明の効果】請求項1記載の画像処理装置によれば、
文字や線画領域を判定するとともに、その文字や線画の
背景を異なる複数のパターンに区別して判定し、文字や
線画及び判定された背景領域に応じて異なる画像処理を
施すようにしたので、文字や線画の背景領域の性質を正
しく判定した上で、最適な画像処理を施すことができ、
したがって、出力画像の品質を向上させることができ
る。
According to the image processing apparatus of the first aspect,
In addition to determining the character or line drawing area, the background of the character or line drawing is determined by differentiating into a plurality of different patterns, and different image processing is performed according to the character or line drawing and the determined background area. After properly determining the nature of the background area of the line drawing, optimal image processing can be performed,
Therefore, the quality of the output image can be improved.

【0063】請求項2記載の発明によれば、請求項1記
載の画像処理装置において、文字・線画領域判定手段
は、エッジ量検出の検出結果に基づいて判定するので、
色ずれの影響を受け難い文字や線画を出力することがで
きる。
According to the second aspect of the present invention, in the image processing apparatus according to the first aspect, the character / line image area determining means determines based on the detection result of the edge amount detection.
Characters and line drawings that are not easily affected by color shift can be output.

【0064】請求項3記載の発明によれば、請求項1記
載の画像処理装置において、文字・線画領域判定手段
は、細線検出の検出結果に基づいて判定するので、低濃
度の太文字をきれいに出力することができる。
According to the third aspect of the present invention, in the image processing apparatus according to the first aspect, the character / line image area determination means makes the determination based on the detection result of the thin line detection, so that the low-density bold character can be clearly seen. Can be output.

【0065】請求項4記載の発明によれば、請求項1記
載の画像処理装置において、文字・線画領域判定手段
は、エッジ量検出と細線検出との両方の検出結果に基づ
いて判定するので、エッジ量検出と細線検出との両方の
利点を得た上で文字や線画をきれいに出力することがで
きる。
According to the fourth aspect of the present invention, in the image processing apparatus according to the first aspect, the character / line image area determination means makes a determination based on both detection results of edge amount detection and fine line detection. Characters and line drawings can be output clearly while obtaining the advantages of both edge amount detection and fine line detection.

【0066】請求項5記載の発明によれば、請求項1記
載の画像処理装置において、背景領域判定手段は、白地
領域検出と網点領域検出とを含む検出結果により判定を
行うので、相反するハイライト部やダーク部の両方の背
景領域の性質を正しく判定することができる。
According to the fifth aspect of the present invention, in the image processing apparatus according to the first aspect, the background area determination means performs the determination based on the detection result including the white background area detection and the halftone dot area detection. It is possible to correctly determine the properties of both the highlight area and the dark area of the background area.

【0067】請求項6記載の発明によれば、請求項5記
載の画像処理装置において、背景領域判定手段は、色べ
た領域検出を含む検出結果により判定を行うので、背景
領域を白地領域と網点領域と色べた領域とに分けて正し
く判定することができ、これにより、背景領域に応じた
画像処理条件をさらに精緻に設定することができる。
According to the sixth aspect of the present invention, in the image processing apparatus according to the fifth aspect, the background area determination means performs the determination based on a detection result including a solid area detection, so that the background area is defined as a white area and a halftone area. Correct determination can be made separately for the point area and the solid area, whereby the image processing conditions according to the background area can be set more precisely.

【0068】請求項7記載の発明によれば、請求項1記
載の画像処理装置において、画像処理切替手段が施す画
像処理は、背景領域に応じた下色除去量を適用する下色
除去処理であるので、網点などの絵柄を背景とする文字
や線画については、エッジの高墨再生による欠点を抑制
するとともに、背景を白地領域とする文字や線画につい
ては、色つきなく再生することができる。
According to the seventh aspect of the present invention, in the image processing apparatus according to the first aspect, the image processing performed by the image processing switching means is an under color removal process for applying an under color removal amount according to a background area. Therefore, for a character or a line drawing having a background such as a halftone dot as a background, it is possible to suppress a defect caused by the high-black reproduction of the edge and to reproduce a character or a line drawing having a background as a white background without coloring. .

【0069】請求項8記載の発明によれば、請求項1記
載の画像処理装置において、画像処理切替手段が施す画
像処理は、背景領域に応じたフィルタ処理であるので、
網点などの絵柄を背景とする文字や線画については、エ
ッジで比較的鮮鋭性の低いフィルタを使用することで欠
点を抑制するとともに、背景を白地領域とする文字や線
画については、シャープに再生することができる。
According to the eighth aspect of the present invention, in the image processing apparatus according to the first aspect, the image processing performed by the image processing switching means is a filter processing according to the background area.
For characters and line drawings with a background such as a halftone dot, use a filter with relatively low sharpness at the edges to suppress defects, and for characters and line drawings with a white background as a background, play them sharply. can do.

【0070】請求項9記載の発明によれば、請求項1記
載の画像処理装置において、画像処理切替手段が施す画
像処理は、背景領域に応じたガンマ補正処理であるの
で、網点などの絵柄を背景とする文字や線画について
は、エッジで比較的緩やかなガンマ特性をもつテーブル
を使用してガンマ補正処理を施すことで欠点を抑制する
とともに、背景を白地領域とする文字や線画について
は、シャープに再生することができる。
According to the ninth aspect of the present invention, in the image processing apparatus according to the first aspect, since the image processing performed by the image processing switching means is a gamma correction processing according to the background area, a picture pattern such as a halftone dot is formed. For characters and line drawings with a background as a background, defects are suppressed by performing gamma correction using a table with relatively gentle gamma characteristics at edges, and for characters and line drawings with a white background as a background, It can be reproduced sharply.

【0071】請求項10の画像形成装置は、請求項1な
いし9記載の画像処理装置と、印刷手段と、を具備する
ので、文字や線画の背景領域の性質を正しく判定し、文
字や線画及び正しく判定された背景領域の性質に応じた
適正な条件で画像処理を施すことができる画像形成装置
を提供することができる。
According to a tenth aspect of the present invention, since the image forming apparatus includes the image processing apparatus according to the first to ninth aspects and a printing unit, it is possible to correctly determine the nature of the background area of a character or a line drawing, and It is possible to provide an image forming apparatus capable of performing image processing under appropriate conditions in accordance with the properties of a background area that is correctly determined.

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

【図1】本発明の第一の実施の形態における画像処理装
置としての画像処理回路の概略構成を示すブロック図で
ある。
FIG. 1 is a block diagram illustrating a schematic configuration of an image processing circuit as an image processing device according to a first embodiment of the present invention.

【図2】背景領域検出部のブロック図である。FIG. 2 is a block diagram of a background area detection unit.

【図3】白地領域検出部を示すブロック図である。FIG. 3 is a block diagram illustrating a white background area detection unit.

【図4】(a)は3×3画素のブロックにおけるピーク
画素検出を説明する模式図、(b)は5×5画素のブロ
ックにおけるピーク画素検出を説明する模式図である。
FIG. 4A is a schematic diagram illustrating peak pixel detection in a 3 × 3 pixel block, and FIG. 4B is a schematic diagram illustrating peak pixel detection in a 5 × 5 pixel block.

【図5】文字領域検出のためのエッジ量検出処理のブロ
ック図である。
FIG. 5 is a block diagram of edge amount detection processing for character area detection.

【図6】エッジ量検出に際して用いるマスキング処理用
のフィルタの説明図である。
FIG. 6 is an explanatory diagram of a masking processing filter used for edge amount detection.

【図7】下色除去/墨生成部での画像処理に際して用い
る墨生成テーブルのデータを示す説明図である。
FIG. 7 is an explanatory diagram showing data of a black generation table used for image processing in an under color removal / black generation unit.

【図8】フィルタ処理回路でのエッジ強調処理の説明図
である。
FIG. 8 is an explanatory diagram of edge enhancement processing in a filter processing circuit.

【図9】フィルタ処理回路でのフィルタ処理に際してラ
プラシアンフィルタを用いる例を示す説明図である。
FIG. 9 is an explanatory diagram illustrating an example in which a Laplacian filter is used in a filtering process performed by a filtering circuit.

【図10】ガンマ補正部での画像処理に際して用いるガ
ンマテーブルのデータを示す説明図である。
FIG. 10 is an explanatory diagram showing gamma table data used for image processing in a gamma correction unit.

【図11】本発明の第二の実施の形態を示すもので、
(a)はエッジ量の概念図、(b)は細線度の概念図で
ある。
FIG. 11 shows a second embodiment of the present invention.
(A) is a conceptual diagram of an edge amount, (b) is a conceptual diagram of a fine line degree.

【図12】文字領域検出のための細線度検出処理のブロ
ック図である。
FIG. 12 is a block diagram of a fine line degree detection process for character area detection.

【図13】本発明の第三の実施の形態における文字領域
検出部の電気的接続構造を示すブロック図である。
FIG. 13 is a block diagram illustrating an electrical connection structure of a character area detection unit according to a third embodiment of the present invention.

【図14】本発明の第四の実施の形態における背景領域
検出部のブロック図である。
FIG. 14 is a block diagram of a background area detection unit according to a fourth embodiment of the present invention.

【図15】色べた領域検出部のブロック図である。FIG. 15 is a block diagram of a solid area detection unit.

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

5 文字・線画領域判定手段 6 背景領域判定手段 7 画像処理切替手段 5 Character / line drawing area determining means 6 Background area determining means 7 Image processing switching means

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/46 H04N 1/46 Z (72)発明者 小林 幸二 東京都大田区中馬込1丁目3番6号 株式 会社リコー内 Fターム(参考) 2C087 AA09 AA15 AA16 AB05 BA03 BB10 BD36 5B057 AA11 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CE11 CH07 CH08 5C077 LL19 MP08 PP15 PP27 PP28 PP32 PP33 PP37 PP38 PQ08 PQ12 PQ23 SS02 TT02 5C079 HB03 LA01 LA06 LA07 LA12 LA14 LA21 LA31 MA04 MA11 NA01 NA29 PA02 5L096 AA02 AA06 DA01 FA06 FA43 FA44 GA02 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 1/46 H04N 1/46 Z (72) Inventor Koji Kobayashi 1-3-6 Nakamagome, Ota-ku, Tokyo No. F-term in Ricoh Co., Ltd. LA06 LA07 LA12 LA14 LA21 LA31 MA04 MA11 NA01 NA29 PA02 5L096 AA02 AA06 DA01 FA06 FA43 FA44 GA02

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 入力された原稿画像の文字又は線画の領
域を判定する文字・線画領域判定手段と、 前記文字・線画領域判定手段により判定された文字・線
画領域の背景を異なる複数のパターンに区別して判定す
る背景領域判定手段と、 前記文字・線画領域判定手段により判定された文字や線
画及び前記背景領域判定手段により判定された背景領域
に応じて異なる画像処理を施す画像処理切替手段と、を
具備する画像処理装置。
1. A character / line drawing area determining means for determining a character or line drawing area of an input document image, and a background of the character / line drawing area determined by the character / line drawing area determining means is set to a plurality of different patterns. A background region determining unit that determines by distinction; an image processing switching unit that performs different image processing according to the character or line image determined by the character / line image region determining unit and the background region determined by the background region determining unit; An image processing apparatus comprising:
【請求項2】 前記文字・線画領域判定手段は、エッジ
量検出の検出結果に基づいて判定する請求項1記載の画
像処理装置。
2. The image processing apparatus according to claim 1, wherein the character / line image area determination unit determines based on a detection result of edge amount detection.
【請求項3】 前記文字・線画領域判定手段は、細線検
出の検出結果に基づいて判定する請求項1記載の画像処
理装置。
3. The image processing apparatus according to claim 1, wherein the character / line image area determination unit makes a determination based on a detection result of fine line detection.
【請求項4】 前記文字・線画領域判定手段は、エッジ
量検出と細線検出との両方の検出結果に基づいて判定す
る請求項1記載の画像処理装置。
4. The image processing apparatus according to claim 1, wherein said character / line image area determining means determines based on both detection results of edge amount detection and fine line detection.
【請求項5】 前記背景領域判定手段は、白地領域検出
と網点領域検出とを含む検出結果により判定を行う請求
項1記載の画像処理装置。
5. The image processing apparatus according to claim 1, wherein said background area determination means makes a determination based on a detection result including white background area detection and halftone dot area detection.
【請求項6】 前記背景領域判定手段は、色べた領域検
出を含む検出結果により判定を行う請求項5記載の画像
処理装置。
6. The image processing apparatus according to claim 5, wherein the background area determination unit performs the determination based on a detection result including a solid area detection.
【請求項7】 前記画像処理切替手段が施す画像処理
は、前記背景領域に応じた下色除去量を適用する下色除
去処理である請求項1記載の画像処理装置。
7. The image processing apparatus according to claim 1, wherein the image processing performed by the image processing switching means is an undercolor removal process that applies an undercolor removal amount according to the background area.
【請求項8】 前記画像処理切替手段が施す画像処理
は、前記背景領域に応じたフィルタ処理である請求項1
記載の画像処理装置。
8. The image processing performed by the image processing switching means is a filtering process according to the background area.
The image processing apparatus according to any one of the preceding claims.
【請求項9】 前記画像処理切替手段が施す画像処理
は、前記背景領域に応じたガンマ補正処理である請求項
1記載の画像処理装置。
9. The image processing apparatus according to claim 1, wherein the image processing performed by the image processing switching means is a gamma correction process according to the background area.
【請求項10】 請求項1ないし9記載の画像処理装置
と、 印刷手段と、 を具備する画像形成装置。
10. An image forming apparatus comprising: the image processing apparatus according to claim 1; and a printing unit.
JP2001023815A 2001-01-31 2001-01-31 Image processor and image forming device Pending JP2002232704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001023815A JP2002232704A (en) 2001-01-31 2001-01-31 Image processor and image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001023815A JP2002232704A (en) 2001-01-31 2001-01-31 Image processor and image forming device

Publications (1)

Publication Number Publication Date
JP2002232704A true JP2002232704A (en) 2002-08-16

Family

ID=18889051

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001023815A Pending JP2002232704A (en) 2001-01-31 2001-01-31 Image processor and image forming device

Country Status (1)

Country Link
JP (1) JP2002232704A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008092541A (en) * 2006-09-06 2008-04-17 Sharp Corp Image processing method, image processor, image forming apparatus, computer program, and recording medium
JP2016103678A (en) * 2014-11-27 2016-06-02 キヤノン株式会社 Image processing apparatus, image processing method, and program
JP2019096067A (en) * 2017-11-22 2019-06-20 富士通株式会社 Character region extracting program, character region extracting device and character region extracting method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008092541A (en) * 2006-09-06 2008-04-17 Sharp Corp Image processing method, image processor, image forming apparatus, computer program, and recording medium
JP2016103678A (en) * 2014-11-27 2016-06-02 キヤノン株式会社 Image processing apparatus, image processing method, and program
US10140731B2 (en) 2014-11-27 2018-11-27 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium
JP2019096067A (en) * 2017-11-22 2019-06-20 富士通株式会社 Character region extracting program, character region extracting device and character region extracting method

Similar Documents

Publication Publication Date Title
JP4137890B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
JP4170353B2 (en) Image processing method, image processing apparatus, image reading apparatus, image forming apparatus, program, and recording medium
JP3784649B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
US20080137159A1 (en) Image forming apparatus and image quality improving method thereof
JP4115999B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
JPH0722330B2 (en) Image region identification method for image processing apparatus
KR20080049806A (en) Image processing apparatus and method thereof
JP4402090B2 (en) Image forming apparatus, image forming method, program, and recording medium
JP3868654B2 (en) Image processing device
JP4228466B2 (en) Image processing apparatus, image processing method, and computer-readable storage medium storing image processing procedure
JP6474315B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
JP2002232704A (en) Image processor and image forming device
JP7123752B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP3847565B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP2000358166A (en) Image process, image reader with the processor, image forming device, image processing method and computer readable storage medium storing image processing procedure
JP4740913B2 (en) Image processing apparatus, image processing method, image forming apparatus and program, and recording medium
JP3789243B2 (en) Image processing apparatus and method
JP4084537B2 (en) Image processing apparatus, image processing method, recording medium, and image forming apparatus
JP3767210B2 (en) Document type determination device and image processing device
JP3449502B2 (en) Image processing device
JP3944032B2 (en) Image processing apparatus and method
JPH0541796A (en) Copying machine
JP4440487B2 (en) Color image color classification method and color image processing apparatus
JP3064896B2 (en) Image processing device
JP4498316B2 (en) Image processing apparatus, image processing method, image forming apparatus, and computer program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040929

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050223

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050405

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20060922

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070417

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070508

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071016