JP2002281302A - Image area separating device, image area separating method, recording medium, image processor, image processing method and recording medium - Google Patents

Image area separating device, image area separating method, recording medium, image processor, image processing method and recording medium

Info

Publication number
JP2002281302A
JP2002281302A JP2001077283A JP2001077283A JP2002281302A JP 2002281302 A JP2002281302 A JP 2002281302A JP 2001077283 A JP2001077283 A JP 2001077283A JP 2001077283 A JP2001077283 A JP 2001077283A JP 2002281302 A JP2002281302 A JP 2002281302A
Authority
JP
Japan
Prior art keywords
image
area
unit
detecting
edge
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
JP2001077283A
Other languages
Japanese (ja)
Inventor
Masanori Hirano
政徳 平野
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 JP2001077283A priority Critical patent/JP2002281302A/en
Publication of JP2002281302A publication Critical patent/JP2002281302A/en
Pending legal-status Critical Current

Links

Landscapes

  • Laser Beam Printer (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image area separating device to perform a processing by attaching importance to characters in the case of monochrome reproduction, however, not to degrade the quality of a reproduced image even in the case of a pattern, especially dot processing. SOLUTION: The image area separating device to detect a character area from inputted image data is provided with at least one of a discrimination performance control part 10 to control discrimination based on the kind of the reproduced image and a judgment processing part to judge image characteristics due to an area in the inputted image data. An edge area detecting part 20 to detect the edge area is provided as the judgment processing part and a judgment parameter in the edge area detecting part is controlled in the direction to detect an edge more when the inputted image is reproduced in a monochrome image in the discrimination performance control part 10.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル画像処理
に対する出力画像の画質向上処理に関する像域分離装
置、像域分離方法および記録媒体、画像処理装置、画像
処理方法および記録媒体であり、特にカラーデジタル複
写機やネットワークを通じて得たデジタル画像データの
画像処理等に応用して好適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image area separating apparatus, an image area separating method and a recording medium, an image processing apparatus, an image processing method and a recording medium for improving the quality of an output image with respect to digital image processing. It is suitable for application to image processing of digital image data obtained through a digital copying machine or a network.

【0002】[0002]

【従来の技術】デジタル画像処理に対する出力画像の画
質向上処理には、例えば、特公平7−8007号公報に
記載された技術がある。この技術における方法は、画素
の連続性を利用して文字エッジを検出する手段と、黒色
部を判定する手段の二つから黒文字領域を検出し、検出
された領域に文字処理用の処理を施し高画質化を行うも
のである。このような文字エッジの検出手段では、特に
網点印刷にその傾向が強いが、絵柄中にも文字領域とし
て誤検出されてしまう領域が多く、この誤検出が画質劣
化を招く原因ともなっている。この不具合を減少するた
めに、論文「文字/絵柄(網点、写真)混在画像の像域
分離方式」(電子情報通信学会論文誌Vol.J75-DIINo.1
pp.39-47 1992年1月)や特許第3004245号公報に
記載された処理方法では、エッジ領域検出のほかに網点
領域を検出して、網点絵柄を文字エッジとして判定しな
い仕組を導入している。また、特開平4−14378号
公報や特開平7−203198号公報の技術において
は、検出する文字を細い文字のみに限定することによ
り、絵柄中で文字領域として誤検出されることの低減を
はかっている。
2. Description of the Related Art For example, there is a technique described in Japanese Patent Publication No. 7-8007 for improving image quality of an output image with respect to digital image processing. The method according to this technique detects a black character area from two means, a means for detecting a character edge using pixel continuity and a means for determining a black portion, and performs processing for character processing on the detected area. This is to improve the image quality. In such a character edge detecting means, the tendency is particularly strong in halftone dot printing, but there are many areas that are erroneously detected as character areas in a picture, and this erroneous detection causes deterioration in image quality. In order to reduce this problem, a paper “Image area separation method for mixed images of characters / pictures (dots, photographs)” (IEICE Transactions Vol.J75-DIINo.1
pp.39-47 Jan. 1992) and Japanese Patent No. 3004255 introduce a mechanism that detects a halftone dot region in addition to detecting an edge region and does not judge a halftone dot pattern as a character edge. are doing. Further, in the techniques disclosed in JP-A-4-14378 and JP-A-7-203198, by limiting the detected characters to only thin characters, it is possible to reduce erroneous detection as a character area in a picture. I'm sorry.

【0003】[0003]

【発明が解決しようとする課題】一般的には、カラー複
写機で入力された画像をカラーまたはモノクロで再生す
るとき、「文字/写真モード」が選択された場合には、
特に文字エッジ判定に関しては、ともに同じアーキテク
チャ、同じ判定パラメータで検出判定を行っている。従
来、文字エッジの検出には局所的にコントラストの大き
な個所を検出するためスキャナの読み取り精度によって
は、濃い文字エッジでもMTFの劣化等により一部が文
字エッジとして検出できなかったり、また、鉛筆文字に
代表されるような元々が薄い文字のときには文字エッジ
として検出されないことがあった。その結果、文字の画
質が劣化したり、あるいは、文字が判読困難となること
が往々に生じていた。このため、カラー複写機でモノク
ロ再生を行う場合には、特に文字を重視するユーザーが
多いにもかかわらず、特に対策がとられてこなかった。
Generally, when an image input by a color copier is reproduced in color or monochrome, when "character / photo mode" is selected,
In particular, regarding the character edge determination, the detection determination is performed using the same architecture and the same determination parameters. Conventionally, in detecting a character edge, a part having a large contrast is locally detected, and depending on the reading accuracy of a scanner, a part of a dark character edge cannot be detected as a character edge due to deterioration of MTF or the like. In some cases, the character is not detected as a character edge when the character is originally thin, as represented by. As a result, the image quality of the characters often deteriorates, or the characters become difficult to read. For this reason, when performing monochrome reproduction with a color copying machine, no special measures have been taken even though there are many users who attach particular importance to characters.

【0004】本発明は、上述の問題を解決するためのも
のであり、モノクロ再生時には文字重視の処理を行う
が、絵柄特に網点処理の場合にもその再生画質を劣化さ
せない像域分離装置、像域分離方法および記録媒体、画
像処理装置、画像処理方法および記録媒体を提供するこ
とを第一の目的とする。さらに、ハードウエアの規模を
抑えて、安価な像域分離装置、像域分離方法および記録
媒体、画像処理装置、画像処理方法および記録媒体を提
供することを第二の目的とする。また、カラー再生にお
いては、特公平7−8007号公報に示すような黒色判
定によって、文字検出の精度を幾分向上させることが可
能となるが、モノクロ再生では色情報の一部だけ、もし
くは明度情報のみが使用されてきた。このような構成と
なった背景には、カラー再生機の普及により「画質のカ
ラー」「速度のモノクロ」という棲み分けが進んだこ
と、また、同じ処理系を採用することによってコストダ
ウンをはかるといった目的も併せ持っていたためであ
る。このため、カラー複写機でモノクロ再生をする場
合、主に文字原稿を対象にするときであり、一方、写真
画像等をモノクロで再生するときには、モノクロ変換に
よって重要な色情報や階調特性が失われてしまうため、
敢えてモノクロで再生するということは極めて少なくな
ってきている。しかし、モノクロ再生には処理速度の確
保ならびにコストダウンを行わなければならないため、
モノクロ専用の特殊な処理系を別に設けるのは非常に難
しくなってきている。そのため、モノクロ再生のとき、
ほとんどが文字原稿であるにもかかわらず、デフォルト
の設定である「文字/写真モード」では、写真と文字の
両方で平均的な画質が得られるように調整された「カラ
ー再生用の処理」が流用されるようになってしまってい
る。上述した理由とともに、従来の文字エッジ検出の不
完全さとも相まって、モノクロ再生時における文字品位
を大きく低下させる要因となっている。本発明は上述の
問題を解決するためのものであり、複雑な処理を用いて
処理速度の低下を招いたり、特殊な処理系の付加によっ
てコストの上昇を招いたりすること無く、モノクロ再生
時の画像品質、すなわち、モノクロ再生時の文字品位を
向上させる画像処理装置、画像処理方法および記録媒体
を提供することを第三の目的とする。
An object of the present invention is to solve the above-mentioned problem. The image area separation apparatus performs character-oriented processing at the time of monochrome reproduction, but does not degrade the reproduction image quality even in the case of pattern processing, particularly halftone processing. A first object is to provide an image area separation method and a recording medium, an image processing device, an image processing method, and a recording medium. It is a second object of the present invention to provide an inexpensive image area separating apparatus, an image area separating method and a recording medium, an image processing apparatus, an image processing method and a recording medium with a reduced hardware scale. In color reproduction, the accuracy of character detection can be somewhat improved by black determination as disclosed in Japanese Patent Publication No. 7-8007, but in monochrome reproduction, only a part of color information or brightness Only information has been used. Behind such a configuration, the spread of color reproduction machines has led to the separation of "color of image quality" and "monochrome of speed". Also, adopting the same processing system will reduce costs. This is because they also had a purpose. For this reason, when performing monochrome reproduction with a color copying machine, this is mainly for character documents, while when reproducing photographic images in monochrome, important color information and gradation characteristics are lost due to monochrome conversion. Because
Dare to play in black and white has become extremely rare. However, for monochrome playback, it is necessary to secure processing speed and reduce costs.
It is becoming very difficult to separately provide a special processing system dedicated to monochrome. Therefore, during monochrome playback,
Despite the fact that most are text documents, the default setting of “Text / Photo mode” is a “Color reproduction process” that is adjusted to obtain average image quality for both photos and text. It has been diverted. Along with the above-mentioned reason, the incompleteness of the conventional character edge detection is a factor that greatly reduces the character quality during monochrome reproduction. The present invention has been made to solve the above-described problem, and does not cause a reduction in processing speed by using complicated processing or an increase in cost due to the addition of a special processing system. A third object is to provide an image processing device, an image processing method, and a recording medium that improve image quality, that is, character quality during monochrome reproduction.

【0005】[0005]

【課題を解決するための手段】上記の問題を解決するた
めに、本発明の請求項1の像域分離装置は、入力した画
像データ中から文字領域を検出する像域分離装置におい
て、再生画像の種類に基づき判定性能を制御する判別性
能制御部と、前記入力画像データ中の領域に対する画像
特徴を判定する判定処理部を少なくとも一つ備え、前記
判定処理部としてエッジ領域を検出するエッジ領域検出
部を有し、前記判別性能制御部は、入力画像をモノクロ
画像として再生する時に、よりエッジを検出する方向に
前記エッジ領域検出部中の判定パラメータを制御するよ
うにしたことを特徴とする。また、本発明の請求項2の
像域分離装置は、入力した画像データ中から文字領域を
検出する像域分離装置において、再生画像の種類に基づ
き判定性能を制御する判別性能制御部と、前記入力画像
データ中の領域に対する画像特徴を判定する判定処理部
を少なくとも二つ備え、前記判定処理部としてエッジ領
域を検出するエッジ領域検出部および網点領域を検出す
る網点領域検出部とを有し、前記判別性能制御部は、入
力画像をモノクロ画像として再生する時に、前記エッジ
領域検出部を通さずに、網点を検出する前記網点領域検
出部中の判定パラメータを制御するようにしたことを特
徴とする。また、本発明の請求項3の像域分離方法は、
入力した画像データ中から文字領域を検出する像域分離
方法において、再生画像の種類に基づき判定性能を制御
する判定性能制御工程と、前記入力画像データ中のエッ
ジ領域を検出するエッジ領域検出工程と、前記入力画像
データ中の網点領域を検出する網点領域検出工程とを有
し、前記判定性能制御工程は、入力画像をモノクロ画像
として再生する時に、前記エッジ領域検出工程を通さず
に、網点を検出する前記網点領域検出工程中の判定パラ
メータを制御するか、あるいは、よりエッジを検出する
方向に前記エッジ領域検出工程中の判定パラメータを制
御するようにしたことを特徴とする。
According to a first aspect of the present invention, there is provided an image area separating apparatus for detecting a character area from input image data. Edge area detection that includes a discrimination performance control unit that controls the judgment performance based on the type of image data, and at least one judgment processing unit that judges an image feature for an area in the input image data, and detects an edge area as the judgment processing unit Wherein the discrimination performance control section controls a judgment parameter in the edge area detection section in a direction to detect an edge more when an input image is reproduced as a monochrome image. Further, the image area separating apparatus according to claim 2 of the present invention is an image area separating apparatus that detects a character area from input image data, wherein a discrimination performance control unit that controls a judgment performance based on a type of a reproduced image; The image processing apparatus includes at least two determination processing units that determine an image feature of an area in the input image data, and includes an edge area detection unit that detects an edge area and a halftone dot area detection unit that detects a halftone dot area as the determination processing unit. When the input image is reproduced as a monochrome image, the discrimination performance control unit does not pass through the edge region detection unit, and controls a determination parameter in the halftone dot region detection unit that detects a halftone dot. It is characterized by the following. Further, the image area separating method according to claim 3 of the present invention,
In an image area separation method for detecting a character area from input image data, a determination performance control step of controlling determination performance based on a type of a reproduced image, and an edge area detection step of detecting an edge area in the input image data. Having a halftone dot detection step of detecting a halftone dot area in the input image data, wherein the determination performance control step, when reproducing the input image as a monochrome image, without passing through the edge area detection step, A decision parameter in the halftone dot detection step for detecting a halftone dot is controlled, or a decision parameter in the edge area detection step is controlled in a direction to detect an edge more.

【0006】また、本発明の請求項4の記録媒体は、コ
ンピュータを、入力された画像データ中から文字領域を
検出する像域分離装置として機能させるためのプログラ
ムを記録したコンピュータ読み取り可能な記録媒体であ
って、再生画像の種類に基づき判定性能を制御する判別
性能制御部と、前記入力画像データ中の領域に対する画
像特徴を判定する判定処理部を少なくとも二つ備え、前
記判定処理部としてエッジ領域を検出するエッジ領域検
出部と網点領域を検出する網点領域検出部とを有し、前
記判別性能制御部は、入力画像をモノクロ画像として再
生する時に、前記エッジ領域検出部を通さずに、網点を
検出する前記網点領域検出部中の判定パラメータを制御
するか、あるいは、よりエッジを検出する方向に前記エ
ッジ領域検出部中の判定パラメータを制御するようにし
た像域分離処理プログラムを記録した。また、本発明の
請求項5の画像処理装置は、入力した画像データをカラ
ー画像もしくはモノクロ画像として再生する画像処理装
置において、入力画像をモノクロ画像として再生する時
には、エッジ領域の検出を行わず、網点領域を検出する
像域分離部と、前記像域分離部で検出された非網点領域
に対して、コントラストを強調する補正を行う文字用補
正部とを備えたことを特徴とする。また、本発明の請求
項6の画像処理装置は、請求項5に記載の画像処理装置
において、前記文字用補正部は、前記像域分離部で分離
した非網点領域に対して、ハイライト部分とシャドー部
分が強調されるように急峻な傾きの付いたγ補正を行う
ことを特徴とした。また、本発明の請求項7の画像処理
装置は、入力した画像データをカラー画像もしくはモノ
クロ画像として再生する画像処理装置において、入力画
像をモノクロ画像として再生する時には、エッジ領域の
検出を行わず、網点領域を検出する像域分離部と、前記
像域分離部で検出された非網点領域に対して、多値デー
タから小値データへの変換を行う際の閾値をより低く設
定してコントラストが高くなるように閾値制御する中間
調処理部とを備えたことを特徴とする。また、本発明の
請求項8の画像処理装置は、請求項7に記載の画像処理
装置において、前記中間調処理部は、誤差拡散処理法を
用いることを特徴とした。
According to a fourth aspect of the present invention, there is provided a computer-readable recording medium storing a program for causing a computer to function as an image area separating apparatus for detecting a character area from input image data. A determination performance control unit that controls determination performance based on a type of a reproduced image; and at least two determination processing units that determine an image feature for an area in the input image data, wherein an edge area is used as the determination processing unit. Having an edge area detection unit for detecting the halftone dot area and a halftone dot area detection unit for detecting the halftone area, the discrimination performance control unit, when reproducing the input image as a monochrome image, without passing through the edge area detection unit Controlling the determination parameter in the halftone dot area detecting section for detecting a halftone dot, or controlling the edge area detecting section in a direction for detecting an edge more. It was recorded image area separation processing program so as to control the decision parameter. An image processing apparatus according to claim 5 of the present invention is an image processing apparatus that reproduces input image data as a color image or a monochrome image. When an input image is reproduced as a monochrome image, an edge area is not detected. An image area separating section for detecting a halftone dot area, and a character correcting section for performing a correction for enhancing the contrast of the non-halftone area detected by the image area separating section are provided. In the image processing apparatus according to a sixth aspect of the present invention, in the image processing apparatus according to the fifth aspect, the character correction section highlights a non-dot area separated by the image area separation section. It is characterized in that gamma correction with a steep slope is performed so that a portion and a shadow portion are emphasized. An image processing apparatus according to a seventh aspect of the present invention is an image processing apparatus that reproduces input image data as a color image or a monochrome image. An image area separation unit that detects a halftone area, and for a non-halftone area detected by the image area separation unit, a lower threshold is set when performing conversion from multi-valued data to small value data. And a halftone processing unit that performs threshold control so as to increase the contrast. An image processing apparatus according to an eighth aspect of the present invention is the image processing apparatus according to the seventh aspect, wherein the halftone processing unit uses an error diffusion processing method.

【0007】また、本発明の請求項9の画像処理装置
は、請求項8に記載の画像処理装置において、前記中間
調処理部は、前記像域分離部で分離された網点領域と非
網点領域とで異なる誤差補正値を用いることを特徴とし
た。また、本発明の請求項10の画像処理方法は、入力
した画像データをカラー画像もしくはモノクロ画像とし
て再生する画像処理方法において、入力画像をモノクロ
画像として再生する時には、エッジ領域の検出を行わ
ず、網点領域を検出する像域分離工程と、前記像域分離
工程で検出された非網点領域に対して、コントラストを
強調する補正を行う文字用補正工程とを備えたことを特
徴とする。また、本発明の請求項11の画像処理方法
は、入力した画像データをカラー画像もしくはモノクロ
画像として再生する画像処理方法において、入力画像を
モノクロ画像として再生する時には、エッジ領域の検出
を行わず、網点領域を検出する像域分離工程と、前記像
域分離工程で検出された非網点領域に対して、多値デー
タから小値データへの変換を行う際の閾値をより低く設
定してコントラストが高くなるように閾値制御する中間
調処理工程とを備えたことを特徴とする。また、本発明
の請求項12の記録媒体は、コンピュータを、入力した
画像データをカラー画像もしくはモノクロ画像で再生す
る画像処理装置として機能させるためのプログラムを記
録したコンピュータ読み取り可能な記録媒体であって、
入力画像をモノクロ画像として再生する時には、エッジ
領域の検出を行わず、網点領域を検出する像域分離部
と、前記像域分離部で検出された非網点領域に対して、
コントラストを強調する補正を行う文字用補正部として
機能する画像処理プログラムを記録した。また、本発明
の請求項13の記録媒体は、コンピュータを、入力した
画像データをカラー画像もしくはモノクロ画像で再生す
る画像処理装置として機能させるためのプログラムを記
録したコンピュータ読み取り可能な記録媒体であって、
入力画像をモノクロ画像として再生する時には、エッジ
領域の検出を行わず、網点領域を検出する像域分離部
と、前記像域分離部で検出された非網点領域に対して、
多値データから小値データへの変換を行う際の閾値をよ
り低く設定してコントラストが高くなるように閾値制御
する中間調処理部として機能する画像処理プログラムを
記録した。
According to a ninth aspect of the present invention, in the image processing apparatus of the eighth aspect, the halftone processing section includes a halftone dot area separated by the image area separation section and a non-halftone area. It is characterized in that different error correction values are used for the point region. In the image processing method according to claim 10 of the present invention, in the image processing method for reproducing the input image data as a color image or a monochrome image, when the input image is reproduced as a monochrome image, the edge area is not detected. The image processing apparatus further comprises an image area separating step of detecting a halftone dot area, and a character correcting step of performing correction for enhancing the contrast of the non-dot area detected in the image area separating step. In the image processing method according to claim 11 of the present invention, in the image processing method for reproducing the input image data as a color image or a monochrome image, the edge area is not detected when the input image is reproduced as a monochrome image. An image area separation step of detecting a halftone dot area, and for a non-halftone area detected in the image area separation step, a lower threshold value is set when performing conversion from multi-valued data to small value data. And a halftone processing step of performing threshold control so as to increase the contrast. A recording medium according to a twelfth aspect of the present invention is a computer-readable recording medium that stores a program for causing a computer to function as an image processing apparatus that reproduces input image data as a color image or a monochrome image. ,
When the input image is reproduced as a monochrome image, the edge area is not detected, and the image area separation unit that detects the halftone area, and the non-halftone area detected by the image area separation unit,
An image processing program functioning as a character correction unit for performing correction for enhancing contrast was recorded. A recording medium according to a thirteenth aspect of the present invention is a computer-readable recording medium storing a program for causing a computer to function as an image processing apparatus that reproduces input image data as a color image or a monochrome image. ,
When the input image is reproduced as a monochrome image, the edge area is not detected, and the image area separation unit that detects the halftone area, and the non-halftone area detected by the image area separation unit,
An image processing program functioning as a halftone processing unit for setting a threshold value for performing conversion from multi-valued data to small-valued data lower and controlling the threshold value so as to increase contrast was recorded.

【0008】[0008]

【発明の実施の形態】以下に、図面を用いて本発明の実
施例の構成および動作を詳細に述べる。 <実施例1(像域分離装置)>図1は、画像処理装置
(例えば、カラー複写機)における像域分離処理回路の
一部の構成を示すブロック図である。図1において、実
施例1の像域分離装置は、入力信号の画像を画像処理装
置で再生するときの種類(カラー画像またはモノクロ画
像の区別)からエッジ検出のための判別パラメータを決
定する判別性能制御部10と、判別性能制御部10から
の判別パラメータを用いて、入力信号の画像中のエッジ
領域を検出するエッジ領域検出部20と、入力信号の画
像中の網点領域を検出する網点領域検出部30と、エッ
ジ領域検出部20および網点領域検出部30の結果から
文字領域であるかを総合的に判定する総合判定部40と
から構成される。さらに、エッジ領域検出部20は、入
力画像信号に対して判定処理の前処理であるエッジ強調
部22と、局所的な黒画素の連続性を検出する黒画素連
続性検出部24と、局所的な白画素の連続性を検出する
白画素連続性検出部26と、黒画素連続性検出部24と
白画素連続性検出部26の結果からエッジ領域であるか
を判定する判定部28とから構成されている。このよう
な構成された像域分離装置における文字領域を判定する
ときの動作について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The construction and operation of an embodiment of the present invention will be described below in detail with reference to the drawings. <First Embodiment (Image Area Separation Apparatus)> FIG. 1 is a block diagram showing a configuration of a part of an image area separation processing circuit in an image processing apparatus (for example, a color copying machine). In FIG. 1, the image area separating apparatus according to the first embodiment determines a determination parameter for edge detection from a type (a color image or a monochrome image) when an image of an input signal is reproduced by an image processing apparatus. The control unit 10, an edge region detection unit 20 that detects an edge region in an image of an input signal using a discrimination parameter from the discrimination performance control unit 10, and a halftone dot that detects a halftone region in an image of an input signal. It is composed of an area detection section 30 and a comprehensive determination section 40 that comprehensively determines whether the area is a character area based on the results of the edge area detection section 20 and the halftone dot area detection section 30. Further, the edge region detection unit 20 includes an edge enhancement unit 22 that is a pre-process of the determination process on the input image signal, a black pixel continuity detection unit 24 that detects local black pixel continuity, A white pixel continuity detecting unit 26 for detecting the continuity of white pixels, and a judging unit 28 for judging whether an area is an edge area based on the results of the black pixel continuity detecting unit 24 and the white pixel continuity detecting unit 26. Have been. The operation of determining the character area in the image area separating apparatus configured as described above will be described.

【0009】入力画像信号は、例えばCCD素子等を用
いたカラースキャナから得られるデータであり、原稿画
像を600dpiの解像度で読み取ってA/D変換処理の後、
各画素に対して6bitの概ね濃度リニアな画像信号とす
る。ここではカラー3原色のうちのグリーン信号を使用
することにするが、必要に応じて所定の信号、例えばma
x(R,G,B)などを入力信号としても良い。max(R,G,B)信号
であれば、色文字に対するレスポンスが良くなることは
明白である。またここでは、説明のため信号の意味とし
て「0」が原稿の白を、「63」が原稿の黒を表すもの
とする。また、入力信号はネットワークを通じて得られ
るような画像データであってももちろん構わない。先
ず、エッジ領域検出部20における入力画像データがエ
ッジ領域であるかを検出する時の動作について説明す
る。エッジ強調部22は、その後の処理で黒画素、白画
素を閾値判定する際に、スキャナの変動等により振られ
ないような効果をあげるために、例えば、図2のような
係数の微分フィルタでフィルタリング処理を行い画像を
シャープにする。エッジ強調部22で処理された画像デ
ータに対して、黒画素連続性検出部24では、判別性能
制御部10で設定された閾値で黒画素を検出した後、例
えば、注目画素を中心画素とした3×3のマトリックス
内の黒/非黒パターンと図3のようなパターンのいずれ
かとがマッチングしたとき、注目画素を黒連続であると
する。判別性能制御部10は、入力画像を画像処理装置
で再生するときの画像がカラーである場合の閾値(th
B_color)とモノクロである場合の閾値(thB_mon
o)を、次のような関係を持つように設定する。 thB_color > thB_mono このようにモノクロ画像として再生するときに、閾値を
小さく設定することで、より淡い濃度の信号も黒画素と
して検出が可能となる。また、カラー再生時には、色再
現性や階調再現性が重視されるため、閾値を低く設定す
るにも限界がある。しかし、モノクロ再生時であって、
特に、文字再現性を重視する場合には、鉛筆などの低コ
ントラストの文字であっても、文字として確実に判定さ
れることが優先されなければならないので、上式のよう
に閾値を切り替えることで、モノクロ再生時に低コント
ラスト文字の再現性を向上させることができる。エッジ
強調部22で処理された画像データに対して、白画素連
続性検出部26では、判別性能制御部10で設定された
閾値で白画素を検出した後、例えば、注目画素を中心画
素とした3×3のマトリックス内の白/非白パターンと
図3のようなパターンのいずれかとがマッチングしたと
き、注目画素を白連続であるとする。判定部28は、文
字と背景の境界から数画素をエッジ領域として検出する
ために、5×5画素のブロック内において、黒画素連続
性検出部24と白画素連続性検出部26のパターンマッ
チングで検出した黒連続画素および白連続画素が、両者
とも1個以上存在する場合、注目のブロックをエッジ領
域とし、そうでなければ非エッジ領域と判定する。
The input image signal is data obtained from, for example, a color scanner using a CCD element or the like. The input image signal is read at a resolution of 600 dpi and subjected to A / D conversion processing.
A 6-bit, substantially linear image signal is used for each pixel. Here, a green signal of the three primary colors is used, but a predetermined signal, for example, ma
x (R, G, B) or the like may be used as an input signal. It is clear that the response to the color character is improved with the max (R, G, B) signal. Also, here, for the sake of explanation, it is assumed that "0" represents white of the document and "63" represents black of the document as the meaning of the signal. The input signal may be image data obtained through a network. First, an operation when the edge area detection unit 20 detects whether the input image data is an edge area will be described. The edge emphasizing unit 22 uses, for example, a differential filter having coefficients as shown in FIG. Performs filtering to sharpen the image. For the image data processed by the edge enhancement unit 22, the black pixel continuity detection unit 24 detects a black pixel at the threshold set by the discrimination performance control unit 10, and then sets, for example, the target pixel as the center pixel. When the black / non-black pattern in the 3 × 3 matrix matches one of the patterns as shown in FIG. 3, the target pixel is assumed to be black continuous. The discrimination performance control unit 10 sets a threshold (th) when the input image is reproduced by the image processing apparatus when the image is color.
B_color) and the threshold value in the case of monochrome (thB_mon)
o) is set to have the following relationship. thB_color> thB_mono When a monochrome image is reproduced as described above, by setting a small threshold value, a signal having a lighter density can be detected as a black pixel. Further, at the time of color reproduction, since color reproducibility and gradation reproducibility are emphasized, there is a limit in setting a low threshold value. However, during monochrome playback,
In particular, when emphasis is placed on character reproducibility, even for a low-contrast character such as a pencil, it must be given priority to be reliably determined as a character. In addition, the reproducibility of low-contrast characters during monochrome reproduction can be improved. For the image data processed by the edge enhancement unit 22, the white pixel continuity detection unit 26 detects a white pixel with the threshold set by the discrimination performance control unit 10, and then sets, for example, the target pixel as the center pixel. When the white / non-white pattern in the 3 × 3 matrix matches one of the patterns as shown in FIG. 3, the target pixel is assumed to be white continuous. The determination unit 28 performs pattern matching between the black pixel continuity detection unit 24 and the white pixel continuity detection unit 26 within a block of 5 × 5 pixels in order to detect several pixels from the boundary between the character and the background as an edge region. If there is at least one detected black continuous pixel and white continuous pixel, the block of interest is determined to be an edge region, otherwise, it is determined to be a non-edge region.

【0010】図4は、このエッジ領域検出部20の処理
の流れを示すフローチャートの一部である。入力画像信
号(例えばCCD素子等を用いたカラースキャナから得
られるデータやネットワークを通じて得られるような画
像データ)に対して、後の処理で黒画素、白画素を閾値
判定する際に、スキャナの変動等により振られないよう
な効果をあげるために、例えば、図2のような係数の微
分フィルタでフィルタリング処理を行い画像をシャープ
にする(ステップS100)。入力画像信号を画像処理
装置で再生するときの画像がカラーであるか、またはモ
ノクロであるかを判定する(ステップS110)。カラ
ー画像再生の時には、カラー再生用の閾値(thB_col
or)を設定する(ステップS120)。モノクロ画像再
生の時には、モノクロ再生用の閾値(thB_mono)を
設定する(ステップS130)。これらの閾値は、次の
ような関係であるとする。 thB_color > thB_mono エッジ強調処理された画像データに対して、ステップS
120またはステップS130で設定された閾値で黒画
素を検出した後、例えば、注目画素を中心画素とした3
×3のマトリックス内の黒/非黒パターンと図3のよう
なパターンのいずれかとがマッチングしたとき、注目画
素を黒連続であるとする(ステップS140)。エッジ
強調処理された画像データに対して、ステップS120
またはステップS130で設定された閾値で白画素を検
出した後、例えば、注目画素を中心画素とした3×3の
マトリックス内の白/非白パターンと図3のようなパタ
ーンのいずれかとがマッチングしたとき、注目画素を白
連続であるとする(ステップS150)。
FIG. 4 is a part of a flowchart showing the flow of the processing of the edge area detecting section 20. When a threshold value is determined for a black pixel and a white pixel in a later process with respect to an input image signal (for example, data obtained from a color scanner using a CCD device or image data obtained through a network), a change in the scanner may occur. For example, in order to obtain an effect that does not fluctuate, a filtering process is performed with a differential filter of coefficients as shown in FIG. 2 to sharpen an image (step S100). It is determined whether the image when the input image signal is reproduced by the image processing apparatus is color or monochrome (step S110). At the time of color image reproduction, a threshold value for color reproduction (thB_col
or) is set (step S120). At the time of monochrome image reproduction, a threshold value (thB_mono) for monochrome reproduction is set (step S130). It is assumed that these thresholds have the following relationship. thB_color> thB_mono Step S is performed on the image data on which the edge enhancement process has been performed.
After detecting a black pixel with the threshold value set in step S120 or step S130, for example, 3
When the black / non-black pattern in the × 3 matrix matches any one of the patterns as shown in FIG. 3, it is assumed that the target pixel is continuous black (step S140). Step S120 is performed on the edge-enhanced image data.
Alternatively, after detecting a white pixel with the threshold value set in step S130, for example, a white / non-white pattern in a 3 × 3 matrix with the target pixel as the center pixel matches one of the patterns shown in FIG. At this time, the target pixel is assumed to be white continuous (step S150).

【0011】文字と背景の境界から数画素をエッジ領域
として検出するために、5×5画素のブロック内におい
て、ステップS140とステップS150のパターンマ
ッチングで検出した黒連続画素および白連続画素が、両
者とも1個以上存在するかどうか判定する(ステップS
160)。両者とも1個以上存在するとき、注目のブロ
ックをエッジ領域とし(ステップS180)、そうでな
ければ非エッジ領域と判定する(ステップS170)。
また、網点領域検出部30は、エッジ領域検出部20の
処理と並行して動作し、入力された画像データ中から網
点領域に属する画素ブロックであるかを検出する。この
網点領域の検出方法としては、特開平2−115988
号公報に記載された「極点画素」による網点分離方法、
あるいは、本出願人が先に提案した論文「文字/絵柄
(網点、写真)混在画像の像域分離方式」(電子情報通
信学会論文誌Vol.J75-DIINo.1 pp.39-47 1992年1月)に
記載された「ピーク画素」検出による網点領域検出の技
術を用いる。最終的に、総合判定部40は、エッジ領域
検出部20からの出力がエッジ領域であって、網点領域
検出部30からの出力が非網点領域であるとき、文字領
域と判定し、その他の領域を絵柄領域と判定した信号を
出力する。一般に、ユーザーの嗜好は、カラー再生のと
きは画像中の絵柄画質に厳しく(逆に言えば文字画質に
は甘い)、モノクロ再生のときは画像中の文字画質に厳
しく(逆に言えば絵柄画質には甘い)取り扱うことを期
待している。この傾向は、原稿がカラーである場合によ
り強いと言える。上記のような背景を踏まえ、適応処理
を行う場合にしばしば利用される像域分離処理をカラー
再生時には絵柄よりに、また、モノクロ再生時には文字
よりに判定するような制御を行うことにより、結果とし
て再生画像にユーザーの嗜好を反映させることが可能と
なる。
In order to detect several pixels from the boundary between the character and the background as an edge area, in the block of 5 × 5 pixels, both the black continuous pixels and the white continuous pixels detected by the pattern matching in steps S140 and S150 are used. It is determined whether there is at least one of them (step S
160). When there is at least one block, the block of interest is set as an edge area (step S180), otherwise, it is determined as a non-edge area (step S170).
Further, the halftone dot area detection unit 30 operates in parallel with the processing of the edge area detection unit 20, and detects whether or not the input image data is a pixel block belonging to the halftone dot area. As a method of detecting the halftone dot area, Japanese Patent Laid-Open No. 2-115988
Halftone dot separation method using "extreme pixel" described in
Alternatively, a paper “An Image Area Separation Method for Mixed Images of Text / Pattern (dots, photos)” proposed by the present applicant (IEICE Transactions Vol.J75-DIINo.1 pp.39-47 1992 The technology of halftone dot detection by “peak pixel” detection described in January) is used. Finally, when the output from the edge area detecting section 20 is an edge area and the output from the halftone area detecting section 30 is a non-halftone area, the comprehensive determining section 40 determines that the area is a character area. Is output as a picture area. In general, the user's preference is that the image quality in the image is strict in color reproduction (in other words, the character image quality is low), and that the image quality is strict in monochrome reproduction (in other words, the image quality in the image). Hope to treat). This tendency is stronger when the original is color. Based on the background described above, by performing control such that image area separation processing often used when performing adaptive processing is determined based on a pattern during color reproduction and based on characters during monochrome reproduction, as a result, It is possible to reflect the user's preference on the reproduced image.

【0012】<実施例1の変形例(像域分離装置)>実
施例1の変形例は、入力画像をモノクロ画像として再生
する時、エッジ領域検出部20をスルー(動作させな
い)とする、即ち、全領域をエッジ領域とみなし、網点
領域検出部30の結果のみで文字/非文字の判定を行う
構成をとる。この構成の利点は、低コントラスト文字を
文字として判定できることはもちろんのこと、従来、絵
柄として判定されていたために、薄くなる不具合が発生
すること(図5参照)もあった文字内部をも文字として
判定できることである。一方で、網点ドットの起伏の小
さい超ハイライト部や超ダーク部で網点として検出され
ず、結果文字領域として判定されることも起こりうる。
従って、エッジ領域検出部20をスルーとした場合に
は、網点領域検出部30で網点を検出する閾値を低くす
るという制御を行う。例えば、前出の論文「文字/絵柄
(網点、写真)混在画像の像域分離方式」で、(A)中
心画素の濃度レベル(L)が周囲のすべての画素の濃度
レベルより高い、あるいは低い。(B)Lと中心画素を
挟んで対角線に存在する対角画素の濃度レベル(a,
b)が、4対とも以下の関係にある。 |2×L−a−b|>TH これら(A)と(B)を同時に満たすときに、中心画素
をピーク画素として検出する。本実施例1の変形例の場
合、判別性能制御部10はこのときの閾値THを低く設
定する。この結果、網点領域検出処理を常に作動させる
ので、網点原稿に対して画質劣化(例えば、モアレの発
生など)を起こさなくなる。
<Modification of First Embodiment (Image Area Separation Device)> In a modification of the first embodiment, when an input image is reproduced as a monochrome image, the edge area detection unit 20 is set to the through state (not operated). , The entire area is regarded as an edge area, and the character / non-character determination is performed only by the result of the halftone dot area detection unit 30. The advantage of this configuration is that the low-contrast character can be determined as a character, as well as the inside of the character, which has conventionally been determined to be a pattern, which may cause a thinning failure (see FIG. 5). That is, it can be determined. On the other hand, a super-highlight portion or a super-dark portion where the undulation of the halftone dot is small is not detected as a halftone dot, and may be determined as a result character region.
Therefore, when the edge area detection unit 20 is set to the through state, control is performed so that the halftone dot detection unit 30 lowers the threshold for detecting halftone dots. For example, in the above-mentioned paper “Image area separation method for mixed images of characters / patterns (dots and photographs)”, (A) the density level (L) of the central pixel is higher than the density levels of all surrounding pixels, or Low. (B) Density levels of diagonal pixels (a,
b) has the following relationship with all four pairs. | 2 × Lab−> TH When both (A) and (B) are satisfied at the same time, the center pixel is detected as the peak pixel. In the case of the modification of the first embodiment, the discrimination performance control unit 10 sets the threshold TH at this time to be low. As a result, since the halftone dot region detection process is always performed, the image quality of the halftone dot document (for example, occurrence of moiré) does not occur.

【0013】<実施例2(画像処理装置)>従来は、非
網点画像に属する写真画像も同時に考慮するため、非常
に狭い範囲でエッジ検出を行って、写真画像中に誤って
エッジを検出してしまうことを防いでいた。そのため、
見出し等で使用される大きめの文字や太線等では、中心
部がエッジ領域から漏れてしまい、絵柄として処理され
ることによって図6に示すように、文字の輪郭のみがエ
ッジとして検出され、文字の中心部は絵柄として検出さ
れるという不具合が生じることになる。また、写真画像
における階調性を確保するために、前述の黒画素検出の
閾値(thB_mono)も極端に低く設定する訳にもいか
ず、低コントラスト文字の取りこぼしも多かった。そこ
で本実施例2の画像処理装置は、図7に示したように、
入力画像信号を実施例1で説明した像域分離処理を行う
像域分離部100と、像域分離された非網点領域に対し
て文字用の補正を行う文字用補正部110と、補正され
た画像データに対して中間調処理して出力画像信号を出
力する中間調処理部120とから構成することによっ
て、上記の問題点を解消するようにした。このような構
成において、像域分離部100は、入力信号に対し、モ
ノクロ画像として再生するときには、文字と絵柄を分離
するためのエッジ領域検出部20を動作させず(実施例
1の変形例参照)、網点領域検出部30のみ動作させる
ようにする。即ち、非網点領域をモノクロ画像として再
生するときには、全体を文字領域と見なし、文字用の補
正を非網点部全体に施すことで、図6のような誤検知に
よる文字品位の低下を防げるだけでなく、処理の高速化
をも図ることが可能となる。文字用補正部110は、モ
ノクロ再生のとき、像域分離部100で検出された非網
点領域に対して、コントラストを強調することで、低コ
ントラスト文字を含めた文字全体の視認性を向上させ
る。これは、中間調処理の前に施されるγ補正におい
て、複数のγ補正テーブルもしくはγ決定手段を用意
し、その中からハイライト部分とシャドー部分が強調さ
れるように、より急峻な傾きの特性を持ったものを選択
することによって達成できる。通常、スキャナ部や出力
部のMTF特性を考慮して、図8(γ特性曲線の一例)
ののようなγ特性が選択されるが、図8ののような
ハイγ曲線(またはハイγ直線)を選択することで、文
字再現性を向上させることができる。
<Second Embodiment (Image Processing Apparatus)> Conventionally, since a photographic image belonging to a non-dot image is also considered at the same time, an edge is detected in a very narrow range and an edge is erroneously detected in the photographic image. To prevent them from doing so. for that reason,
In the case of a large character or a bold line used for a heading or the like, the center part leaks from the edge area and is processed as a picture, so that only the outline of the character is detected as an edge as shown in FIG. There is a problem that the central portion is detected as a picture. Further, in order to secure the gradation in a photographic image, the threshold value (thB_mono) for detecting the black pixel described above cannot be set extremely low, and many low-contrast characters are lost. Therefore, the image processing apparatus according to the second embodiment, as shown in FIG.
An image area separation unit 100 that performs the image area separation processing described in the first embodiment on the input image signal, a character correction unit 110 that performs a character correction on the non-halftone area that has been subjected to the image area separation, The above-mentioned problem is solved by comprising a halftone processing unit 120 that performs halftone processing on the image data and outputs an output image signal. In such a configuration, when reproducing the input signal as a monochrome image, the image area separation unit 100 does not operate the edge area detection unit 20 for separating the character and the picture (see a modification of the first embodiment). ), Only the halftone dot area detection section 30 is operated. That is, when the non-dot area is reproduced as a monochrome image, the entire area is regarded as a character area, and the correction for characters is applied to the entire non-dot area, thereby preventing a deterioration in character quality due to erroneous detection as shown in FIG. In addition, it is possible to speed up the processing. The character correction unit 110 enhances the contrast of the non-dot area detected by the image area separation unit 100 during monochrome reproduction, thereby improving the visibility of the entire character including low-contrast characters. . This is because, in the γ correction performed before the halftone processing, a plurality of γ correction tables or γ determination means are prepared, and a steeper slope is selected so that a highlight portion and a shadow portion are emphasized from among them. This can be achieved by choosing one with characteristics. Normally, in consideration of the MTF characteristics of the scanner unit and the output unit, FIG. 8 (an example of a γ characteristic curve)
Is selected, but by selecting a high γ curve (or a high γ straight line) as shown in FIG. 8, character reproducibility can be improved.

【0014】中間調処理部120では、同様に、モノク
ロ再生のとき中間調処理における閾値を複数用意し、像
域分離部100で検出された非網点領域に対して、多値
データから小値データ(もしくは2値データ)への変換
を行う際により低い閾値をとることで同じような効果を
得ることができる。この中間調処理に誤差拡散法を用い
ると、閾値やγ補正だけでなく、誤差補正値によっても
コントラストの調整を行うことができる。即ち、誤差拡
散処理において、モノクロ再生のとき、ドットON時の
誤差値をERORRxy、入力されたデータをDATAxy として、 ERORRxy = DATAxy − VALUE とした時の誤差補正値VALUE は、通常網点領域に対し
て、表現可能な階調レベルのMAX値(256階調時に
は255)が用いられるが、非網点領域に対して、これ
よりも小さく設定することで、次のドットが生成され易
くなり、結果としてコントラストを向上させることが可
能となる。上述したように、カラー画像をモノクロ画像
として再生するときの使用形態から文字品位に注目して
いるとしており、絵柄の再生には特に触れてはいない。
ここで、図9に示すように、原稿に対して像域分離を行
ったときの結果が非網点画像に属するものは、文字・線
画として処理できるものか、あるいは、モノクロ画像と
して再生することによって大幅に品質が低下するものと
が考えられる。しかし、カラーとモノクロでは扱える情
報量に絶対的な差があるため、品質の低下を防ぐのは不
可能であり、また、ユーザーの心理として原稿に忠実に
再現できる手段(この場合はカラー再生)がありなが
ら、あえて大幅に品質が低下する手段(モノクロ再生)
をとることは非常にまれと考えられることから、特に問
題は無いものと考えられる。逆に、文字・線画が網点画
像として認識される場合も少なく、一般的なモノクロ印
刷もの、例えば文献の写真等は網点で再現されるため、
網点画像の部分に対する補正(上記した補正の何れも転
用可能)を階調性重視のものにすることによって、絵柄
に対しても充分品質を保証することが可能となる。さら
に、上記した補正方法は、いずれもテーブルの切り替え
といった処理系に負担のかからない手段で実現できるた
め、処理速度を低下させることなく画像品質を向上させ
ることが可能となる。
Similarly, the halftone processing section 120 prepares a plurality of threshold values in the halftone processing at the time of monochrome reproduction, and converts the non-halftone area detected by the image area separating section 100 from the multivalued data to the small value. A similar effect can be obtained by setting a lower threshold value when performing conversion into data (or binary data). If the error diffusion method is used for the halftone processing, the contrast can be adjusted not only by the threshold value and the γ correction but also by the error correction value. That is, in the error diffusion process, in monochrome reproduction, the error value when the dot is ON is ERORRxy, the input data is DATAxy, and the error correction value VALUE when ERORRxy = DATAxy-VALUE is the same as the normal dot area. Therefore, a MAX value of a reproducible gradation level (255 for 256 gradations) is used, but by setting a smaller value for a non-halftone dot area, the next dot is easily generated, and as a result, As a result, the contrast can be improved. As described above, it is stated that attention is paid to character quality from the usage pattern when reproducing a color image as a monochrome image, and the reproduction of a picture is not particularly mentioned.
Here, as shown in FIG. 9, if the result of performing image area separation on a document belongs to a non-dot image, it can be processed as a character / line image or reproduced as a monochrome image. It is considered that the quality is greatly reduced due to this. However, since there is an absolute difference in the amount of information that can be handled between color and monochrome, it is impossible to prevent a decrease in quality, and a means that can faithfully reproduce the original as a user's psychology (in this case, color reproduction) Means that the quality is significantly reduced while there is (monochrome playback)
It is considered that there is no particular problem because it is considered very rare. Conversely, characters and line drawings are rarely recognized as halftone images, and general monochrome prints, such as photographs of documents, are reproduced with halftone dots.
By making the correction for the halftone dot image portion (any of the above-mentioned corrections can be diverted) with emphasis on gradation, it is possible to sufficiently guarantee the quality even for a picture. Furthermore, since the above-described correction methods can be realized by means that does not impose a burden on the processing system such as switching tables, it is possible to improve image quality without lowering the processing speed.

【0015】<コンピュータによる実施例>さらに、本
発明は上記の実施形態のみに限定されたものではない。
上述した実施形態の機能を実現する像域分離装置や画像
処理装置を構成する各機能をそれぞれプログラム化し、
予めCD−ROM等の記録媒体に書き込んでおき、この
CD−ROMをCD−ROMドライブのような媒体駆動
装置を搭載したコンピュータに装着して、これらのプロ
グラムをそれぞれのコンピュータのメモリあるいは記憶
装置に格納し、それを実行することによって、本発明の
目的を達成することができる。尚、記録媒体としては半
導体媒体(例えば、ROM、ICメモリカード等)、光
媒体(例えば、DVD、MO、MD、CD−R等)、磁
気媒体(例えば、磁気テープ、フレキシブルディスク
等)のいずれであってもよい。上述した実施の形態を実
現するプログラムがROM等のような半導体の記録媒体
である場合には、媒体駆動装置からではなく、直接、メ
モリへロードして実行される。また、ロードしたプログ
ラムを実行することにより前述した実施の形態の機能が
実現されるだけでなく、そのプログラムの指示に基づ
き、オペレーティングシステム等が実際の処理の一部ま
たは全部を行い、その処理によって上述した実施の形態
の機能が実現される場合も含まれる。さらに、上述した
実施の形態の機能を実現するプログラムが、機能拡張ボ
ードや機能拡張ユニットに備わるメモリにロードされ、
そのプログラムの指示に基づき、その機能拡張ボードや
機能拡張ユニットに備わるCPUなどが実際の処理の一
部または全部を行い、その処理によって、上述した実施
の形態の機能が実現される場合も含まれる。
<Examples by Computer> Further, the present invention is not limited to the above embodiments.
Each function constituting the image area separation device or the image processing device that realizes the function of the above-described embodiment is programmed,
The program is previously written on a recording medium such as a CD-ROM, and the CD-ROM is mounted on a computer equipped with a medium drive device such as a CD-ROM drive, and these programs are stored in a memory or a storage device of each computer. By storing and executing it, the object of the present invention can be achieved. The recording medium may be any of a semiconductor medium (for example, ROM, IC memory card, etc.), an optical medium (for example, DVD, MO, MD, CD-R, etc.) and a magnetic medium (for example, magnetic tape, flexible disk, etc.). It may be. When the program for realizing the above-described embodiment is a semiconductor recording medium such as a ROM or the like, the program is directly loaded into the memory and executed, not from the medium driving device. Further, not only the functions of the above-described embodiments are realized by executing the loaded program, but also the operating system or the like performs part or all of the actual processing based on the instructions of the program, and the processing performs The case where the functions of the above-described embodiments are realized is also included. Further, a program for realizing the functions of the above-described embodiment is loaded into a memory provided in a function expansion board or a function expansion unit,
Based on the instructions of the program, the CPU or the like provided in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments. .

【0016】<本発明のネットワーク環境での運用>本
発明をネットワーク接続して運用する形態をとってもよ
い。例えば、像域分離処理プログラムや画像処理プログ
ラムを保持するサーバーコンピュータとユーザーが画像
を入力し、結果を出力する(プリンタ、ディスプレイ、
記憶装置への出力や他の端末等へ送信も含まれる)端末
とをネットワークで接続する。このネットワークは、サ
ーバーコンピュータとユーザーの端末とを結合するため
の伝送路であって、一般には、ケーブルで実現され、通
信プロトコルにはTCP/IPが使われる。但し、伝送
路としてはケーブルだけではなく、それらの間の通信プ
ロトコルが一致するものであれば無線、有線および放送
波のいずれでもよく、例えば、LAN(Local Area Net
work)、WAN(Wide Area Network)、インターネッ
ト、アナログ電話網、デジタル電話網(ISDN:Inte
gral Service Digital Network)、PHS(パーソナル
ハンディホン システム)、携帯電話網、衛星通信網
などを用いることができる。ユーザーの端末は、サーバ
ーコンピュータから像域分離処理プログラムや画像処理
プログラムを受信して、画像を入力し、受信したプログ
ラムを実行させ、その実行結果を出力するようにする。
このようにすることで、プログラムが常に最新のものを
使えるという利点がある。また、サーバーコンピュータ
とユーザーの端末とをネットワークで接続した場合、サ
ーバーコンピュータの磁気ディスク等の記憶装置に本発
明の機能を実現するプログラムを格納しておき、端末に
対してダウンロード等の形式で頒布することも可能であ
る。さらに、本発明の機能を実現するプログラムを放送
波によって配布することで提供するようにしてもよい。
<Operation in Network Environment of the Present Invention> A mode in which the present invention is connected to a network and operated may be adopted. For example, a server computer holding an image area separation processing program or an image processing program and a user input an image and output a result (printer, display,
(Including output to a storage device and transmission to another terminal). This network is a transmission path for coupling a server computer and a user terminal, and is generally realized by a cable, and TCP / IP is used as a communication protocol. However, the transmission path is not limited to the cable, but may be any of wireless, wired and broadcast waves as long as the communication protocol between them is the same. For example, LAN (Local Area Net)
work), WAN (Wide Area Network), Internet, analog telephone network, digital telephone network (ISDN: Inte
gral Service Digital Network), PHS (Personal Handy Phone System), mobile phone network, satellite communication network, etc. can be used. The user terminal receives the image area separation processing program and the image processing program from the server computer, inputs an image, executes the received program, and outputs the execution result.
This has the advantage that the program is always up to date. When the server computer and the user's terminal are connected via a network, a program for realizing the functions of the present invention is stored in a storage device such as a magnetic disk of the server computer and distributed to the terminal in a form such as download. It is also possible. Further, the program for realizing the functions of the present invention may be provided by distributing it by broadcast waves.

【0017】[0017]

【発明の効果】以上説明したように、本発明によれば、
入力したカラー画像に像域分離処理を行う際、カラー画
像再生時では絵柄を重視するように判定し、モノクロ画
像再生時では文字を重視して判定するような制御を行う
ことにより、結果として再生画像にユーザーの嗜好を反
映させた再生画質を得ることができる。また、「文字」
か「絵柄」かを判定/補正するためのエッジ領域検出処
理をOFF(スルー)にすることによって、処理速度の
向上を図ると共に、文字エッジの誤検知に起因する文字
品位の低下を防ぐことが可能となった。
As described above, according to the present invention,
When performing the image area separation process on the input color image, it is determined that the pattern is emphasized when reproducing the color image, and the character is emphasized when reproducing the monochrome image. It is possible to obtain a reproduction quality in which the user's preference is reflected in the image. Also, "character"
By turning off (through) the edge area detection processing for judging / correcting whether the character is a “picture” or not, it is possible to improve the processing speed and to prevent the deterioration of the character quality due to erroneous detection of the character edge. It has become possible.

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

【図1】本発明の実施例1の構成を示すブロック図であ
る。
FIG. 1 is a block diagram illustrating a configuration of a first exemplary embodiment of the present invention.

【図2】エッジ強調フィルタの係数例を示す図である。FIG. 2 is a diagram illustrating an example of coefficients of an edge enhancement filter.

【図3】画素連結性判定のための3×3パターンマトリ
クスの例を示す図である。
FIG. 3 is a diagram illustrating an example of a 3 × 3 pattern matrix for determining pixel connectivity;

【図4】実施例1のエッジ領域検出部の処理を説明する
ためのフローチャートである。
FIG. 4 is a flowchart illustrating a process performed by an edge area detection unit according to the first embodiment.

【図5】エッジ処理の変更に伴う出力画像の変化を説明
するための図である。
FIG. 5 is a diagram illustrating a change in an output image according to a change in edge processing.

【図6】エッジ検出が不完全に行われた場合の一例を示
す図である。
FIG. 6 is a diagram illustrating an example of a case where edge detection is performed incompletely.

【図7】本発明の実施例2の構成を示すブロック図であ
る。
FIG. 7 is a block diagram illustrating a configuration of a second exemplary embodiment of the present invention.

【図8】γ特性曲線の一例を示す図である。FIG. 8 is a diagram illustrating an example of a γ characteristic curve.

【図9】入力対象となる原稿とそれを処理するために重
要な特性との関係を説明するための図である。
FIG. 9 is a diagram for explaining a relationship between a document to be input and characteristics important for processing the document;

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

10 判別性能制御部 20 エッジ領域検出部 22 エッジ強調部 24 黒画素連続性検出部 26 白画素連続性検出部 28 判定部 30 網点領域検出部 40 総合判定部 100 像域分離部 110 文字用補正部 120 中間調処理部 Reference Signs List 10 discrimination performance control unit 20 edge region detection unit 22 edge enhancement unit 24 black pixel continuity detection unit 26 white pixel continuity detection unit 28 judgment unit 30 halftone dot region detection unit 40 comprehensive judgment unit 100 image area separation unit 110 character correction Unit 120 Halftone processing unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/60 H04N 1/40 D 1/46 1/46 C Fターム(参考) 2C362 CA05 CA06 CA14 CB23 CB24 CB25 CB29 CB62 5B057 AA11 BA02 CA01 CA08 CA12 CA16 CB01 CB02 CB08 CB12 CB16 CC01 CE03 CE17 CH08 5C077 LL19 MP02 MP05 MP06 MP07 MP08 NN11 PP03 PP27 PP28 PP43 PP47 PP55 PP65 PQ08 RR06 RR08 RR16 TT06 5C079 HA11 LA01 LA06 LA12 LA15 LB11 MA11 NA02 NA11 PA02 5L096 AA02 AA06 BA07 DA01 EA17 FA06 FA43 FA44 GA17 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI theme coat ゛ (Reference) H04N 1/60 H04N 1/40 D 1/46 1/46 CF term (Reference) 2C362 CA05 CA06 CA14 CB23 CB24 CB25 CB29 CB62 5B057 AA11 BA02 CA01 CA08 CA12 CA16 CB01 CB02 CB08 CB12 CB16 CC01 CE03 CE17 CH08 5C077 LL19 MP02 MP05 MP06 MP07 MP08 NN11 PP03 PP27 PP28 PP43 PP47 PP55 PP65 PQ08 RR06 RR08 LA11 NA11 LA11 RR16 LA11 NA11 5L096 AA02 AA06 BA07 DA01 EA17 FA06 FA43 FA44 GA17

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 入力した画像データ中から文字領域を検
出する像域分離装置において、 再生画像の種類に基づき判定性能を制御する判別性能制
御部と、 前記入力画像データ中の領域に対する画像特徴を判定す
る判定処理部を少なくとも一つ備え、 前記判定処理部としてエッジ領域を検出するエッジ領域
検出部を有し、 前記判別性能制御部は、入力画像をモノクロ画像として
再生する時に、よりエッジを検出する方向に前記エッジ
領域検出部中の判定パラメータを制御するようにしたこ
とを特徴とする像域分離装置。
1. An image area separation apparatus for detecting a character area from input image data, comprising: a discrimination performance control unit for controlling a judgment performance based on a type of a reproduced image; and an image feature for the area in the input image data. The apparatus includes at least one determination processing unit, and includes an edge region detection unit that detects an edge region as the determination processing unit. The determination performance control unit detects more edges when the input image is reproduced as a monochrome image. An image area separation device, wherein a determination parameter in the edge area detection unit is controlled in a direction in which the edge area is detected.
【請求項2】 入力した画像データ中から文字領域を検
出する像域分離装置において、 再生画像の種類に基づき判定性能を制御する判別性能制
御部と、 前記入力画像データ中の領域に対する画像特徴を判定す
る判定処理部を少なくとも二つ備え、 前記判定処理部としてエッジ領域を検出するエッジ領域
検出部および網点領域を検出する網点領域検出部とを有
し、 前記判別性能制御部は、入力画像をモノクロ画像として
再生する時に、前記エッジ領域検出部を通さずに、網点
を検出する前記網点領域検出部中の判定パラメータを制
御するようにしたことを特徴とする像域分離装置。
2. An image area separating apparatus for detecting a character area from input image data, comprising: a discrimination performance control unit for controlling a judgment performance based on a type of a reproduced image; and an image feature for the area in the input image data. The discrimination performance control unit includes at least two determination processing units, and includes an edge region detection unit that detects an edge region and a halftone dot region detection unit that detects a halftone dot region as the determination processing unit. An image area separating apparatus, wherein when an image is reproduced as a monochrome image, a determination parameter in the halftone dot area detection unit for detecting a halftone dot is controlled without passing through the edge area detection unit.
【請求項3】 入力した画像データ中から文字領域を検
出する像域分離方法において、 再生画像の種類に基づき判定性能を制御する判定性能制
御工程と、 前記入力画像データ中のエッジ領域を検出するエッジ領
域検出工程と、 前記入力画像データ中の網点領域を検出する網点領域検
出工程とを有し、 前記判定性能制御工程は、入力画像をモノクロ画像とし
て再生する時に、前記エッジ領域検出工程を通さずに、
網点を検出する前記網点領域検出工程中の判定パラメー
タを制御するか、あるいは、 よりエッジを検出する方向に前記エッジ領域検出工程中
の判定パラメータを制御するようにしたことを特徴とす
る像域分離方法。
3. An image area separation method for detecting a character area from input image data, comprising: a determination performance control step of controlling determination performance based on a type of a reproduced image; and detecting an edge area in the input image data. An edge area detecting step, comprising: a halftone dot area detecting step of detecting a halftone dot area in the input image data, wherein the determining performance control step comprises: when reproducing the input image as a monochrome image, the edge area detecting step Without passing through
An image characterized by controlling a determination parameter in the halftone dot detection step for detecting a halftone dot, or controlling a determination parameter in the edge area detection step in a direction to detect an edge more. Area separation method.
【請求項4】 コンピュータを、入力された画像データ
中から文字領域を検出する像域分離装置として機能させ
るためのプログラムを記録したコンピュータ読み取り可
能な記録媒体であって、 再生画像の種類に基づき判定性能を制御する判別性能制
御部と、 前記入力画像データ中の領域に対する画像特徴を判定す
る判定処理部を少なくとも二つ備え、 前記判定処理部としてエッジ領域を検出するエッジ領域
検出部と網点領域を検出する網点領域検出部とを有し、 前記判別性能制御部は、入力画像をモノクロ画像として
再生する時に、 前記エッジ領域検出部を通さずに、網点を検出する前記
網点領域検出部中の判定パラメータを制御するか、ある
いは、 よりエッジを検出する方向に前記エッジ領域検出部中の
判定パラメータを制御するようにした像域分離処理プロ
グラムを記録したコンピュータ読み取り可能な記録媒
体。
4. A computer-readable recording medium in which a program for causing a computer to function as an image area separating device for detecting a character area from input image data is recorded, wherein the determination is made based on the type of reproduced image. A discrimination performance control unit for controlling performance; and at least two judgment processing units for judging an image feature for an area in the input image data; an edge area detection unit for detecting an edge area as the judgment processing unit; The discrimination performance control unit, when reproducing the input image as a monochrome image, without passing through the edge region detection unit, the halftone dot detection to detect a halftone dot Control the determination parameter in the edge area detection unit in the direction to detect the edge more. And a computer-readable recording medium having recorded thereon an image area separation processing program.
【請求項5】 入力した画像データをカラー画像もしく
はモノクロ画像として再生する画像処理装置において、 入力画像をモノクロ画像として再生する時には、エッジ
領域の検出を行わず、網点領域を検出する像域分離部
と、 前記像域分離部で検出された非網点領域に対して、コン
トラストを強調する補正を行う文字用補正部とを備えた
ことを特徴とする画像処理装置。
5. An image processing apparatus for reproducing input image data as a color image or a monochrome image, wherein when an input image is reproduced as a monochrome image, an image area separation for detecting a halftone dot area without detecting an edge area. An image processing apparatus comprising: a unit; and a character correction unit configured to perform correction for enhancing contrast on a non-halftone dot region detected by the image area separation unit.
【請求項6】 請求項5に記載の画像処理装置におい
て、 前記文字用補正部は、前記像域分離部で分離した非網点
領域に対して、ハイライト部分とシャドー部分が強調さ
れるように急峻な傾きの付いたγ補正を行うことを特徴
とした画像処理装置。
6. The image processing apparatus according to claim 5, wherein the character correcting unit emphasizes a highlight portion and a shadow portion with respect to the non-dot region separated by the image area separating unit. An image processing apparatus characterized in that gamma correction with a steep slope is performed.
【請求項7】 入力した画像データをカラー画像もしく
はモノクロ画像として再生する画像処理装置において、 入力画像をモノクロ画像として再生する時には、エッジ
領域の検出を行わず、網点領域を検出する像域分離部
と、 前記像域分離部で検出された非網点領域に対して、多値
データから小値データへの変換を行う際の閾値をより低
く設定してコントラストが高くなるように閾値制御する
中間調処理部とを備えたことを特徴とする画像処理装
置。
7. An image processing apparatus for reproducing input image data as a color image or a monochrome image, wherein when an input image is reproduced as a monochrome image, an image area separation for detecting a halftone dot area without detecting an edge area. And a threshold control for setting a lower threshold for performing conversion from multi-valued data to small-valued data for a non-halftone dot region detected by the image area separation unit, so as to increase the contrast. An image processing apparatus comprising: a halftone processing unit.
【請求項8】 請求項7に記載の画像処理装置におい
て、 前記中間調処理部は、誤差拡散処理法を用いることを特
徴とした画像処理装置。
8. The image processing apparatus according to claim 7, wherein the halftone processing unit uses an error diffusion processing method.
【請求項9】 請求項8に記載の画像処理装置におい
て、 前記中間調処理部は、前記像域分離部で分離された網点
領域と非網点領域とで異なる誤差補正値を用いることを
特徴とした画像処理装置。
9. The image processing apparatus according to claim 8, wherein the halftone processing unit uses a different error correction value between a halftone area and a non-halftone area separated by the image area separation unit. Characteristic image processing device.
【請求項10】 入力した画像データをカラー画像もし
くはモノクロ画像として再生する画像処理方法におい
て、 入力画像をモノクロ画像として再生する時には、エッジ
領域の検出を行わず、網点領域を検出する像域分離工程
と、 前記像域分離工程で検出された非網点領域に対して、コ
ントラストを強調する補正を行う文字用補正工程とを備
えたことを特徴とする画像処理方法。
10. An image processing method for reproducing input image data as a color image or a monochrome image. In reproducing an input image as a monochrome image, image area separation for detecting a halftone dot region without detecting an edge region. An image processing method comprising: a step; and a character correction step of performing a correction for enhancing contrast on a non-halftone dot area detected in the image area separation step.
【請求項11】 入力した画像データをカラー画像もし
くはモノクロ画像として再生する画像処理方法におい
て、 入力画像をモノクロ画像として再生する時には、エッジ
領域の検出を行わず、網点領域を検出する像域分離工程
と、 前記像域分離工程で検出された非網点領域に対して、多
値データから小値データへの変換を行う際の閾値をより
低く設定してコントラストが高くなるように閾値制御す
る中間調処理工程とを備えたことを特徴とする画像処理
方法。
11. An image processing method for reproducing input image data as a color image or a monochrome image. In reproducing an input image as a monochrome image, image area separation for detecting a halftone dot region without detecting an edge region. And controlling the threshold value when converting the multi-valued data to the small-valued data for the non-dot area detected in the image area separation step, so that the threshold value is controlled so as to increase the contrast. An image processing method comprising: a halftone processing step.
【請求項12】 コンピュータを、入力した画像データ
をカラー画像もしくはモノクロ画像で再生する画像処理
装置として機能させるためのプログラムを記録したコン
ピュータ読み取り可能な記録媒体であって、 入力画像をモノクロ画像として再生する時には、エッジ
領域の検出を行わず、網点領域を検出する像域分離部
と、 前記像域分離部で検出された非網点領域に対して、コン
トラストを強調する補正を行う文字用補正部として機能
する画像処理プログラムを記録したコンピュータ読み取
り可能な記録媒体。
12. A computer-readable recording medium storing a program for causing a computer to function as an image processing device for reproducing input image data as a color image or a monochrome image, wherein the input image is reproduced as a monochrome image. In this case, an image area separating unit that detects a halftone area without detecting an edge area, and a character correction that performs a correction that emphasizes contrast on a non-halftone area detected by the image area separating unit A computer-readable recording medium on which an image processing program functioning as a unit is recorded.
【請求項13】 コンピュータを、入力した画像データ
をカラー画像もしくはモノクロ画像で再生する画像処理
装置として機能させるためのプログラムを記録したコン
ピュータ読み取り可能な記録媒体であって、 入力画像をモノクロ画像として再生する時には、エッジ
領域の検出を行わず、網点領域を検出する像域分離部
と、 前記像域分離部で検出された非網点領域に対して、多値
データから小値データへの変換を行う際の閾値をより低
く設定してコントラストが高くなるように閾値制御する
中間調処理部として機能する画像処理プログラムを記録
したコンピュータ読み取り可能な記録媒体。
13. A computer-readable recording medium on which a program for causing a computer to function as an image processing device for reproducing input image data as a color image or a monochrome image is provided, wherein the input image is reproduced as a monochrome image. In this case, the edge area is not detected, and the image area separating unit that detects the halftone area, and the non-halftone area detected by the image area separating unit is converted from multi-valued data to small value data. A computer-readable recording medium that stores an image processing program that functions as a halftone processing unit that performs threshold control so as to increase the threshold by setting a lower threshold when performing image processing.
JP2001077283A 2001-03-16 2001-03-16 Image area separating device, image area separating method, recording medium, image processor, image processing method and recording medium Pending JP2002281302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001077283A JP2002281302A (en) 2001-03-16 2001-03-16 Image area separating device, image area separating method, recording medium, image processor, image processing method and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001077283A JP2002281302A (en) 2001-03-16 2001-03-16 Image area separating device, image area separating method, recording medium, image processor, image processing method and recording medium

Publications (1)

Publication Number Publication Date
JP2002281302A true JP2002281302A (en) 2002-09-27

Family

ID=18934064

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001077283A Pending JP2002281302A (en) 2001-03-16 2001-03-16 Image area separating device, image area separating method, recording medium, image processor, image processing method and recording medium

Country Status (1)

Country Link
JP (1) JP2002281302A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004284348A (en) * 2003-03-06 2004-10-14 Fuji Photo Film Co Ltd Method and apparatus for forming image
US7210757B2 (en) 2003-12-08 2007-05-01 Ricoh Compnay, Ltd. Image processing method and apparatus, image forming apparatus and system, program and recording medium
US7481510B2 (en) 2004-04-19 2009-01-27 Ricoh Company, Ltd. Image forming apparatus, image processing method, and printer driver

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004284348A (en) * 2003-03-06 2004-10-14 Fuji Photo Film Co Ltd Method and apparatus for forming image
US7210757B2 (en) 2003-12-08 2007-05-01 Ricoh Compnay, Ltd. Image processing method and apparatus, image forming apparatus and system, program and recording medium
US7481510B2 (en) 2004-04-19 2009-01-27 Ricoh Company, Ltd. Image forming apparatus, image processing method, and printer driver

Similar Documents

Publication Publication Date Title
JP3436828B2 (en) Image processing device
US8041112B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, computer-readable storage medium for storing the image processing program with segmentation and density correction optimization
JP4115999B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
US6947170B2 (en) Image processing device and image processing method
JP3709636B2 (en) Image processing apparatus and image processing method
JPH07254994A (en) Method and device for forming image
JP4228466B2 (en) Image processing apparatus, image processing method, and computer-readable storage medium storing image processing procedure
JP2002281302A (en) Image area separating device, image area separating method, recording medium, image processor, image processing method and recording medium
JP3464006B2 (en) Digital color image reproduction device
JP4549227B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP4740913B2 (en) Image processing apparatus, image processing method, image forming apparatus and program, and recording medium
JP3988970B2 (en) Image processing apparatus, image processing method, and storage medium
JP4084537B2 (en) Image processing apparatus, image processing method, recording medium, and image forming apparatus
JPS63288565A (en) Image processor
JPH0877350A (en) Image processor
JP3255085B2 (en) Image area determination method and apparatus, image processing apparatus
JP3767210B2 (en) Document type determination device and image processing device
JP3948599B2 (en) Image processing device
JP2001169099A (en) Picture reproducing device
JP3865651B2 (en) Color image processing method, color image processing apparatus, program, and recording medium
JP2001352453A (en) Image-reproducing device
JP2003224718A (en) Image processing method and image processor
JP4454879B2 (en) Image processing apparatus, image processing method, and recording medium
JP4007849B2 (en) Image data processing apparatus, program, and recording medium
JP2004112604A (en) Image processing apparatus