JP2003234912A - Image processing method, image processing apparatus and image forming apparatus - Google Patents

Image processing method, image processing apparatus and image forming apparatus

Info

Publication number
JP2003234912A
JP2003234912A JP2002029664A JP2002029664A JP2003234912A JP 2003234912 A JP2003234912 A JP 2003234912A JP 2002029664 A JP2002029664 A JP 2002029664A JP 2002029664 A JP2002029664 A JP 2002029664A JP 2003234912 A JP2003234912 A JP 2003234912A
Authority
JP
Japan
Prior art keywords
color
pixel
density
determination
target pixel
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
JP2002029664A
Other languages
Japanese (ja)
Inventor
Makoto Otsu
誠 大津
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2002029664A priority Critical patent/JP2003234912A/en
Publication of JP2003234912A publication Critical patent/JP2003234912A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of surely determining that each of pixels in a target region, such as a character image is chromatic or achromatic, by correcting the influence of reading errors or the like. <P>SOLUTION: The apparatus determines that a pixel determined belonging to at least either the high-density portion of a target pixel region, having stable color information, or the low-density portion of the region is chromatic or achromatic. Since the color information of a target pixel processed is represented by color information of either a first color or a second color, by recognizing that the first and second colors are chromatic or achromatic, except the intermediate density portion where color shift may occur on account of reading errors due to mechanical vibration, it can be surely determined that the target pixel is chromatic or achromatic. In this way, it is surely determined that the two colors of the target pixel region, i.e., the first and second colors are chromatic or achromatic, and an output image can be enhanced in reproducibility. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像入力装置など
によって入力される入力画像データを文字領域として判
定し、文字領域の文字が有彩色であるか無彩色であるか
を判定する画像処理方法および画像処理装置ならびに画
像形成装置に関する。なお本明細書において近似色群は
ある色と、その色に対して明度、彩度および色相が近い
色との集まりを意味する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method for determining input image data input by an image input device or the like as a character area and determining whether a character in the character area is chromatic or achromatic. And an image processing apparatus and an image forming apparatus. In this specification, the approximate color group means a group of a certain color and a color having a lightness, saturation and hue close to that color.

【0002】[0002]

【従来の技術】原稿に形成される画像を読取る画像入力
装置は、原稿画像から3刺激値レッド、グリーンおよび
ブルーに関する色成分を、蓄積電荷結合素子(charge c
oupleddevice:略称CCD)イメージセンサなどの固体
撮像素子によって得て、3刺激値の色成分をアナログ信
号として、原稿画像を表す入力画像データとして画像処
理装置に与える。
2. Description of the Related Art An image input device for reading an image formed on an original document stores color components related to tristimulus values red, green and blue from an original image in a stored charge coupled device (charge c).
Oupled device: Abbreviated as CCD) A color image component obtained by a solid-state image sensor such as an image sensor is supplied as an analog signal to the image processing apparatus as input image data representing a document image.

【0003】従来の技術の画像処理装置は、入力画像デ
ータに含まれる文字領域に属する画素の色情報に基づい
て、画質向上のための処理を切替えることによって、原
稿画像の再現性を高める構成になっている。文字領域
が、黒文字領域と判定された場合、シアン、マゼンタお
よびイエローの色成分を完全に取り除いて黒で表すよう
に無彩色補正処理する。また、有彩色文字を含む色文字
領域と判定された場合、反対に黒で表さずに、シアン、
マゼンタおよびイエローを用いて、画像領域を表すよう
に有彩色補正処理する。このように画像処理装置は、入
力画像データを無彩色または有彩色補正し、補正した画
像データを出力画像データとして、画像形成装置に与え
る。
The conventional image processing apparatus is configured to enhance the reproducibility of the original image by switching the processing for improving the image quality based on the color information of the pixels belonging to the character area included in the input image data. Has become. When it is determined that the character area is a black character area, the achromatic color correction processing is performed so that the color components of cyan, magenta, and yellow are completely removed and represented by black. Also, when it is determined that the color character area includes chromatic color characters, on the contrary, instead of being expressed in black, cyan,
A chromatic color correction process is performed using magenta and yellow so as to represent the image area. In this way, the image processing apparatus corrects the input image data with achromatic color or chromatic color, and supplies the corrected image data as output image data to the image forming apparatus.

【0004】出力画像データが与えられた画像形成装置
は、画像処理装置により補正された画像データに基づい
て、鮮明な出力画像を形成する。したがって鮮明な出力
画像を画像形成装置に形成させるために、画像処理装置
は、入力画像データによって表される画像の各画素が有
彩色であるか無彩色であるかを判定する必要がある。
The image forming apparatus provided with the output image data forms a clear output image based on the image data corrected by the image processing apparatus. Therefore, in order to form a clear output image on the image forming apparatus, the image processing apparatus needs to determine whether each pixel of the image represented by the input image data is chromatic or achromatic.

【0005】従来用いられる画像入力装置は、原稿画像
には存在しない雑音が入力画像データに生じることがあ
る。また複数の色成分を入力値とする場合には、入力画
像データによって表される画像には、原稿画像に対して
色成分の読取ずれが生じるおそれがある。このように原
稿画像と入力画像データが表す画像とは、必ずしも等し
くならない。原稿画像と同一の画像を表す入力画像デー
タを得るためには、非常に精度の高い画像入力装置を用
いる必要があり、非現実的である。
In the image input device used conventionally, noise which does not exist in the original image may occur in the input image data. Further, when a plurality of color components are used as input values, the image represented by the input image data may have color component misalignment with respect to the original image. In this way, the original image and the image represented by the input image data are not always equal. In order to obtain input image data representing the same image as the original image, it is necessary to use an extremely accurate image input device, which is unrealistic.

【0006】原稿画像に対して入力画像データが表す画
像が等しくない場合に、上述のように画像処理装置によ
って有彩色または無彩色補正が行われると、補正後の画
像データによって表される画像は、原稿画像に対して再
現性が低下する。たとえば画像処理装置が、黒文字領域
の周辺部に生じる色ずれを誤って有彩色として判定した
場合には、本来黒文字である部分が、シアン、マゼンダ
およびイエローによって有色部分として有彩色補正され
てしまう。さらに文字可読性を高めるために強調処理が
施された場合には、色ずれによる色合いがより強調さ
れ、原稿画像本来の画像とは異なる画像が形成されるお
それがある。
When the image represented by the input image data is not equal to the original image and the chromatic or achromatic color correction is performed by the image processing apparatus as described above, the image represented by the corrected image data becomes , The reproducibility of the original image is reduced. For example, when the image processing apparatus erroneously determines a color shift that occurs in the peripheral portion of the black character area as a chromatic color, the originally black character portion is chromatically corrected as a colored portion by cyan, magenta, and yellow. Further, when the highlighting process is performed to improve the readability of the characters, the hue due to the color shift is further emphasized, and an image different from the original image of the original image may be formed.

【0007】従来、入力画像データにおける注目画素の
有彩無彩を判定するために、注目画素を含む所定範囲の
各画素の色成分の濃度を調べて、注目画素の有彩無彩を
判定する画像形成装置がある。たとえば特開平5−16
7842号公報に開示される従来の技術の画像処理装置
は、所定領域内の画素毎の濃度差の総和を求めることに
よって、所定領域が黒文字領域であるかカラー文字領域
であるかを判定する。
Conventionally, in order to determine the chromatic / achromatic color of the target pixel in the input image data, the density of the color component of each pixel in a predetermined range including the target pixel is checked to determine the chromatic / achromatic color of the target pixel. There is an image forming apparatus. For example, JP-A-5-16
The image processing apparatus of the related art disclosed in Japanese Patent No. 7842 determines whether the predetermined area is a black character area or a color character area by obtaining the sum of the density differences for each pixel in the predetermined area.

【0008】また、特開平5−56287号公報に開示
される他の従来の画像処理装置は、注目画素におけるシ
アン、マゼンダおよびイエロー間の最大濃度差を用い
て、注目画素が有彩色であるか無彩色であるかの判定を
行い、さらに有彩色画素として判定された画素群を3×
3画素で膨張させた後、5×5画素で収縮させる。これ
によって色ずれによって、誤って有彩色と判定された注
目画素を無彩色画素に修正する。
Further, in another conventional image processing apparatus disclosed in Japanese Patent Laid-Open No. 5-56287, whether the target pixel is a chromatic color by using the maximum density difference among cyan, magenta and yellow in the target pixel. It is determined whether or not it is an achromatic color, and the pixel group determined as a chromatic color pixel is further 3 ×.
It is expanded by 3 pixels and then contracted by 5 × 5 pixels. As a result, due to the color shift, the pixel of interest erroneously determined as a chromatic color is corrected to an achromatic pixel.

【0009】[0009]

【発明が解決しようとする課題】特開平5−16784
2号公報に開示される従来の技術の画像処理装置は、注
目画素を含む所定領域に属する各画素の色成分間の濃度
差の総和平均値を求め、この総和平均値をしきい値処理
することによって、注目画素が有彩色であるか無彩色で
あるかを判定する。
[Patent Document 1] Japanese Patent Application Laid-Open No. 5-16784
The image processing apparatus of the prior art disclosed in Japanese Patent Laid-Open No. 2 discloses a sum average value of density differences between color components of pixels belonging to a predetermined area including a target pixel, and thresholds the sum average value. By doing so, it is determined whether the pixel of interest is a chromatic color or an achromatic color.

【0010】画像読取誤差などによって、入力画像デー
タが表す画像に色ずれが生じる場合、特に黒文字画素の
周辺の画素において、読取誤差に起因する本来原稿には
存在しない擬似カラー画素が生じた場合には、各画素の
色成分間の濃度差が高くなり、黒文字をカラー画素とし
て誤判定するおそれがある。すなわち読取誤差などによ
る色ずれが入力画像データに生じる場合には、注目画素
が本来無彩色であっても有彩色画素として誤判定される
おそれがある。
When color misregistration occurs in the image represented by the input image data due to an image reading error or the like, particularly in the peripheral pixels of the black character pixels, pseudo color pixels which do not originally exist in the original document due to the reading error occur. , The density difference between the color components of each pixel increases, and black characters may be erroneously determined as color pixels. That is, when a color shift occurs in the input image data due to a reading error or the like, there is a possibility that the pixel of interest may be erroneously determined as a chromatic color pixel even if it is originally achromatic.

【0011】また特開平5−56287号公報に開示さ
れる他の従来の技術の画像処理装置は、注目画素の色成
分間の最大濃度差を算出し、その最大濃度差に基づいて
注目画素の有彩無彩を判定している。有彩と判定された
各注目画素を所定画像領域において膨張縮小させること
によって、画像読取時の雑音および色ずれ誤差によって
有彩色と誤判定された画素を除去する。しかし、注目画
素単独で有彩無彩を判定しているので、注目画素を無彩
色画素として十分認識することができない。たとえば、
黒色細線を本来表す画素に色ずれが生じた場合には、膨
張縮小されることによって、細線が背景色と同色に補正
されてしまうおそれがある。したがって他の従来の技術
の画像処理装置もまた、色ずれした擬似カラー画素を補
正することができず、原稿画像に対する出力画像の再現
性が低下するという問題がある。
Another prior art image processing apparatus disclosed in Japanese Patent Laid-Open No. 5-56287 calculates a maximum density difference between color components of a pixel of interest, and based on the maximum density difference, the pixel of interest is detected. Achromatic and achromatic are judged. By expanding or contracting each pixel of interest that has been determined to be chromatic in a predetermined image area, pixels that have been erroneously determined to be chromatic due to noise and color shift errors during image reading are removed. However, since the chromatic / achromatic color is determined by the target pixel alone, the target pixel cannot be sufficiently recognized as an achromatic pixel. For example,
When a pixel originally representing a black thin line has a color shift, the thin line may be corrected to have the same color as the background color by being expanded and reduced. Therefore, the other conventional image processing apparatuses also cannot correct the color-shifted pseudo color pixels, which causes a problem that the reproducibility of the output image with respect to the original image is deteriorated.

【0012】したがって本発明の目的は、読取誤差など
の影響を補正し、文字画像のような2つの近似した色の
集まりである近似色群の画素を有する対象領域の各画素
の有彩無彩を精度良く判定することができる画像処理装
置を提供することである。
Therefore, an object of the present invention is to correct the influence of a reading error or the like, and to have a chromatic achromatic image of each pixel of a target area having pixels of an approximate color group which is a set of two approximate colors such as a character image. It is an object of the present invention to provide an image processing device capable of accurately determining.

【0013】[0013]

【課題を解決するための手段】本発明は、複数の画素の
色が、複数の色成分で表される画像から、2つの近似し
た色の集まりである近似色群の画素を有する対象画素領
域を抽出する第1工程と、対象画素領域内における色成
分の濃度が高い高濃度部分と、対象画素領域内における
色成分の濃度が低い低濃度部分とを抽出する第2工程
と、前記高濃度部分および前記低濃度部分の少なくとも
いずれか一方に属する判定用画素の色情報に基づいて、
対象画素領域に含まれる処理対象注目画素が有彩色であ
るか無彩色であるかを判定する第3工程とを有すること
を特徴とする画像処理方法である。
According to the present invention, a target pixel area having pixels of an approximate color group, which is a group of two approximate colors, from an image in which colors of a plurality of pixels are represented by a plurality of color components. And a second step of extracting a high-density portion having a high density of color components in the target pixel area and a low-density portion having a low density of color components in the target pixel area; Based on the color information of the determination pixel belonging to at least one of the portion and the low-density portion,
And a third step of determining whether the target pixel to be processed included in the target pixel area is a chromatic color or an achromatic color.

【0014】本発明に従えば、第3工程によって、処理
対象注目画素の色が有彩色であるか無彩色であるかを判
定する。対象画素領域は、2つの近似した色の集まりで
ある近似色群の画素から成り、たとえば背景部分と文字
部分とを表す画素によって構成される文字領域である。
対象画素領域内の各処理対象注目画素の有彩無彩を判定
することによって、対象画素領域が有彩色であるか無彩
色であるかを判定することができる。
According to the present invention, in the third step, it is determined whether the color of the target pixel to be processed is a chromatic color or an achromatic color. The target pixel area is a character area that is composed of pixels of an approximate color group that is a group of two similar colors, and is composed of pixels that represent a background portion and a character portion, for example.
By determining the chromatic / achromatic color of each target pixel to be processed in the target pixel area, it is possible to determine whether the target pixel area is chromatic or achromatic.

【0015】対象画素領域は、2つの近似した色の集ま
りである近似色群の画素を有する。対象画素領域を構成
する複数の画素は、色成分が高濃度の画素と低濃度の画
素とに分けられる。入力画像データが表す画素は、雑音
および機械的な振動による画像入力装置の読取り誤差な
どによって、本来無彩色であるのに有彩色として入力さ
れる擬似カラー画素部分が形成される場合がある。また
上記の読取り誤差によって、対象画素領域のエッジ部
(中間濃度部分)に、高濃度色と低濃度色の中間濃度の
色の画素が形成される場合がある。
The target pixel area has pixels of an approximate color group, which is a group of two approximate colors. The plurality of pixels forming the target pixel area are divided into pixels having high density and low density of color components. A pixel represented by the input image data may have a pseudo-color pixel portion which is originally achromatic but is input as a chromatic color due to a reading error of the image input device due to noise and mechanical vibration. Further, due to the above-mentioned reading error, pixels of intermediate density color of high density color and low density color may be formed at the edge portion (intermediate density portion) of the target pixel area.

【0016】本発明に従えば、上記読取り誤差によって
生じる対象画素領域の中間濃度部分を除いて、色情報が
安定した対象画素領域の高濃度部分および対象画素領域
の低濃度部分の少なくともいずれか一方に属する判定画
素の有彩無彩を判定することによって、対象画素領域の
高濃度色および低濃度色が有彩色であるか無彩色である
かを判定することができる。本来処理対象注目画素の色
情報は、高濃度色または低濃度色のいずれかの色情報に
よって表されるので、色情報が安定した高濃度色および
低濃度色の有彩無彩を認識することによって、処理対象
注目画素が本来有彩色であるか無彩色であるかを精度良
く判定することができる。
According to the present invention, at least one of the high-density portion of the target pixel area and the low-density portion of the target pixel area, the color information of which is stable, is excluded, except for the intermediate density portion of the target pixel area caused by the reading error. It is possible to determine whether the high-density color and the low-density color of the target pixel area are chromatic or achromatic by determining the chromatic / achromatic color of the determination pixel that belongs to. Originally, the color information of the target pixel to be processed is represented by the color information of either the high-density color or the low-density color, so it is necessary to recognize the chromatic achromaticity of the high-density color and the low-density color with stable color information. This makes it possible to accurately determine whether the target pixel to be processed is originally a chromatic color or an achromatic color.

【0017】また本発明は、複数の画素の色が、複数の
色成分で表される画像から、2つの近似した色の集まり
である近似色群の画素を有する対象画素領域を抽出する
対象領域抽出部と、対象画素領域内における色成分の濃
度が高い高濃度部分および色成分の濃度が低い低濃度部
分の少なくともいずれか一方を含む判定用画素部分を抽
出する判定用画素部分抽出部と、判定用画素部分に属す
る判定用画素の色情報に基づいて、対象画素領域に含ま
れる処理対象注目画素が有彩色であるか無彩色であるか
を判定する有彩無彩判定部とを含むことを特徴とする画
像処理装置である。
Further, according to the present invention, a target area for extracting a target pixel area having pixels of an approximate color group, which is a set of two approximate colors, from an image in which colors of a plurality of pixels are represented by a plurality of color components. An extraction unit, a determination pixel portion extraction unit that extracts a determination pixel portion including at least one of a high-density portion having a high color component density and a low-density portion having a low color component density in the target pixel region; And a chromatic / achromatic determination unit that determines whether the target pixel to be processed included in the target pixel region is a chromatic color or an achromatic color based on color information of the determination pixel belonging to the determination pixel portion. Is an image processing device.

【0018】本発明に従えば、有彩無彩判定部が、処理
対象注目画素が有彩色であるか無彩色であるかを判定す
る。対象画素領域は、2つの近似した色の集まりである
近似色群の画素を有する。対象画素領域を構成する複数
の画素は、色成分が高濃度の画素と低濃度の画素とに分
けられる。画像入力装置に読取誤差が生じた場合には、
入力画像データには、擬似カラー画素部分や対象画素領
域の中間濃度部分に前記高濃度色と低濃度色の中間濃度
であらわされる画素部分が形成される。
According to the present invention, the chromatic / achromatic determination unit determines whether the target pixel to be processed is a chromatic color or an achromatic color. The target pixel area has pixels of an approximate color group, which is a group of two approximate colors. The plurality of pixels forming the target pixel area are divided into pixels having high density and low density of color components. If a reading error occurs in the image input device,
In the input image data, a pixel portion represented by the intermediate density between the high density color and the low density color is formed in the pseudo color pixel area or the intermediate density area of the target pixel area.

【0019】判定用画素部分抽出部が、対象画素領域の
中間濃度部分を除き、高濃度部分および低濃度部分の少
なくともいずれか一方を含む判定用画素部分を抽出す
る。中間濃度部分は画素の色が安定しない不安定な部分
であるので、中間濃度部分を除いた安定した色の画素に
よって構成される判定用画素部分に含まれる判定用画素
の有彩無彩を判定することによって、前記高濃度色およ
び低濃度色が有彩色であるか無彩色であるかを、正確に
判定することができる。本来処理対象注目画素の色情報
は、高濃度色または低濃度色のいずれかの色情報によっ
て表されるので、前記高濃度色および低濃度色が有彩で
あるか無彩であるかを判定することによって、処理対象
注目画素が、本来有彩色であるのか無彩色であるのかを
精度良く判定することができる。
The determination pixel portion extraction unit extracts the determination pixel portion including at least one of the high density portion and the low density portion, excluding the intermediate density portion of the target pixel area. Since the intermediate density portion is an unstable portion where the color of the pixel is not stable, the chromatic / achromatic determination of the determination pixel included in the determination pixel portion formed by the stable color pixels excluding the intermediate density portion is determined. By doing so, it is possible to accurately determine whether the high-density color and the low-density color are chromatic colors or achromatic colors. Originally, the color information of the target pixel to be processed is represented by the color information of either the high-density color or the low-density color, and therefore it is determined whether the high-density color and the low-density color are chromatic or achromatic. By doing so, it is possible to accurately determine whether the target pixel to be processed is originally a chromatic color or an achromatic color.

【0020】また本発明は、対象画素領域に属する処理
対象注目画素がエッジであるか否かを判定するエッジ判
定部をさらに含み、有彩無彩判定部は、処理対象注目画
素が有彩色であるか無彩色であるかを、処理対象注目画
素単独で判定する第1判定部と、判定用画素が有彩色で
あるか無彩色であるかを判定する第2判定部と、第1お
よび第2判定部における判定結果に基づいて、処理対象
注目画素が有彩色であるか無彩色であるかを再度判定す
る第3判定部とを有することを特徴とする。
Further, the present invention further includes an edge determining unit which determines whether or not the target pixel to be processed belonging to the target pixel area is an edge, and the chromatic / achromatic determining unit determines that the target pixel to be processed is a chromatic color. A first determining unit that determines whether the target pixel is a target pixel to be processed, a second determining unit that determines whether the determination pixel is a chromatic color or an achromatic color, and first and second It is characterized by further comprising a third determination unit that determines again whether the target pixel to be processed is a chromatic color or an achromatic color based on the determination result of the two determination units.

【0021】本発明に従えば、有彩無彩判定部が、第1
判定部によって、処理対象注目画素が有彩色であるか無
彩色であるかを処理対象注目画素単独で判定し、第2判
定部によって、判定画素部分に属する判定用画素が有彩
色であるか無彩色であるかを判定し、この第1判定部お
よび第2判定部の判定結果に基づいて、第3判定部が、
処理対象注目画素が有彩色であるか無彩色であるかを再
度判定する。このように判定用画素および処理対象注目
画素単独の判定結果に基づいて、処理対象注目画素の有
彩無彩を判定することによって、処理対象注目画素の有
彩無彩を精度良く判定することができる。
According to the present invention, the chromatic / achromatic determination unit has the first
The determination unit determines whether the target pixel to be processed is a chromatic color or an achromatic color by the target pixel to be processed alone, and the second determination unit determines whether the determination pixel belonging to the determination pixel portion is a chromatic color or not. It is determined whether or not it is colored, and based on the determination results of the first determination unit and the second determination unit, the third determination unit
It is determined again whether the target pixel to be processed is a chromatic color or an achromatic color. As described above, the chromatic / achromatic color of the processing target pixel can be accurately determined by determining the chromatic / achromatic color of the processing target pixel based on the determination results of the determination pixel and the processing target pixel. it can.

【0022】またエッジ判定部によって、処理対象注目
画素がエッジであるか否かを判定することができるの
で、処理対象注目画素が、文字部分に属する画素か背景
部分に属する画素かを判定することができる。
Since the edge determining unit can determine whether the target pixel to be processed is an edge, it is possible to determine whether the target pixel to be processed is a pixel belonging to a character portion or a background portion. You can

【0023】また本発明は、判定用画素部分抽出部は、
対象画素領域に属する領域内注目画素と、前記領域内注
目画素の周囲の複数の画素とを含む副対象画素部分を設
定し、副対象画素部分に属する各画素の色情報に基づい
て、領域内注目画素の色情報を設定する副対象画素部分
設定部を有し、副対象画素部分設定部によって設定され
た各領域内注目画素の色情報に基づいて、前記判定用画
素を抽出することを特徴とする。
Further, according to the present invention, the determination pixel portion extraction unit is
A sub-target pixel portion including a target pixel in the area belonging to the target pixel area and a plurality of pixels around the target pixel in the area is set, and based on color information of each pixel belonging to the sub-target pixel portion, within the area A sub-target pixel portion setting unit that sets color information of the target pixel is provided, and the determination pixel is extracted based on the color information of the target pixel in each area set by the sub-target pixel portion setting unit. And

【0024】本発明に従えば、副対象画素部分設定部に
よって、副対象画素部分に属する各画素の色情報に基づ
いた領域内注目画素の色情報を設定し、副対象画素部分
設定部によって、設定された領域内注目画素の色情報に
基づいて、判定用画素部分に属する領域内注目画素を判
定用画素として抽出する。
According to the invention, the sub target pixel portion setting unit sets the color information of the target pixel in the area based on the color information of each pixel belonging to the sub target pixel portion, and the sub target pixel portion setting unit sets the color information. Based on the set color information of the target pixel in the area, the target pixel in the area belonging to the determination pixel portion is extracted as the determination pixel.

【0025】読取誤差によって各色成分にずれが生じる
場合には、注目画素は、本来の色成分のうち、1つまた
は複数の色成分が注目画素周囲の画素にずれて入力され
る。たとえば本来シアン、マゼンダおよびイエローの色
成分を有し、黒色で表される注目画素に、シアンが色ず
れした場合には、注目画素は、マゼンダおよびイエロー
の色成分を有し、注目画素に隣接する画素にシアンの色
成分が含まれる。
When a deviation occurs in each color component due to a reading error, one or a plurality of color components of the original color component are input to the pixel around the pixel of interest while being shifted. For example, if the target pixel, which originally has cyan, magenta, and yellow color components and has a color shift of cyan to the target pixel represented by black, has the color components of magenta and yellow, and the target pixel is adjacent to the target pixel. The pixel to be converted contains a cyan color component.

【0026】領域内注目画素の色情報は、副対象画素部
分に属する各画素の色情報に基づいて設定されるので、
領域内注目画素に色ずれが生じている場合であっても、
領域内注目画素の周囲の画素の色情報から判定用画素の
色成分のずれの影響を低減することができる。これによ
って、原稿画像に対応する領域内注目画素本来の色情報
を推測することができる。これによって本来の色情報が
推測された領域内注目画素が、前記判定用画素部に属す
るか否かを判定することができ、対象画素領域に属する
判定用画素をより精度良く抽出することができる。
Since the color information of the pixel of interest in the area is set based on the color information of each pixel belonging to the sub-target pixel portion,
Even if the pixel of interest in the area has a color shift,
It is possible to reduce the influence of the deviation of the color component of the determination pixel from the color information of the pixels around the target pixel in the area. As a result, the original color information of the pixel of interest in the area corresponding to the original image can be estimated. With this, it is possible to determine whether or not the pixel of interest in the region where the original color information is estimated belongs to the determination pixel portion, and it is possible to more accurately extract the determination pixel that belongs to the target pixel region. .

【0027】また本発明は、判定用画素部分抽出部は、
色成分の濃度の平均値の最高濃度と最低濃度と、この最
高濃度と最低濃度の差分に予め定められる値を乗算した
値を求め、高濃度部分を抽出する場合、上記色成分の濃
度の平均値の最高濃度と最高濃度と最低濃度の差分に予
め定められる値を乗算した値を用いて高濃度部分を抽出
し、低濃度部分を抽出する場合、上記色成分の濃度の平
均値の最低濃度と最高濃度と最低濃度の差分に予め定め
られる値を乗算した値を用いて低濃度部分を抽出するこ
とを特徴とする。
Further, according to the present invention, the determination pixel portion extraction unit is
The maximum and minimum densities of the average densities of the color components and the difference between the maximum and minimum densities are multiplied by a predetermined value to obtain a value. When the high density part is extracted by using the value obtained by multiplying the maximum density of the values and the difference between the maximum density and the minimum density by a predetermined value, and the low density part is extracted, the minimum density of the average value of the density of the above color components The low density portion is extracted using a value obtained by multiplying the difference between the highest density and the lowest density by a predetermined value.

【0028】本発明に従えば、判定用画素部分抽出部
は、色成分の濃度の平均値の最高濃度と最低濃度を求
め、色成分の濃度の平均値の最高濃度と、最高濃度と最
低濃度の差分に予め定められる値を乗算した値を用いて
高濃度部分を、色成分の濃度の平均値の最低濃度と、最
高濃度と最低濃度の差分に予め定められる値を乗算した
値を用いて低濃度部分を抽出する。これによって、濃度
のより高い高濃度部分と濃度のより低い低濃度部分とを
用いて、さらに範囲が限定された判定用画素部分を設定
することができる。より高い高濃度部分には対象画素領
域の高濃度色の画素が含まれる可能性が高く、より低い
低濃度部分には対象画素領域の低濃度色の画素が含まれ
る可能性が高い。したがってさらに範囲が限定された判
定用画素部分に属する判定用画素の有彩無彩を判定する
ことによって、対象画素領域の高濃度色および低濃度色
が有彩色であるか無彩色をさらに精度良く判定すること
ができる。これによって処理対象注目画素が有彩色であ
るか無彩色であるかをさらに精度良く判定することがで
きる。
According to the present invention, the determination pixel part extraction unit obtains the maximum density and the minimum density of the average values of the color components, and determines the maximum density and the maximum density and the minimum density of the average values of the color components. The high density part is multiplied by a predetermined value and the lowest density of the average value of the color components, and the difference between the highest density and the lowest density is multiplied by a predetermined value. Extract low-density areas. As a result, it is possible to set the determination pixel portion having a further limited range by using the high-density portion having a higher density and the low-density portion having a lower density. Higher high-density portions are likely to include high-density color pixels in the target pixel area, and lower low-density portions are likely to include low-density color pixels in the target pixel area. Therefore, by determining the chromatic / achromatic color of the determination pixels belonging to the determination pixel portion whose range is further limited, it is possible to determine whether the high-density color and the low-density color of the target pixel area are chromatic colors or more accurately. Can be determined. This makes it possible to more accurately determine whether the target pixel to be processed is a chromatic color or an achromatic color.

【0029】また本発明は、判定用画素部分抽出部は、
高濃度部分および低濃度部分の少なくともいずれか一方
を抽出するとともに、対象画素領域内における彩度が高
い高彩度部分および彩度が低い低彩度部分の少なくとも
いずれか一方を含む判定用画素部分を抽出することを特
徴とする。
Further, according to the present invention, the determination pixel portion extraction unit is
While extracting at least one of the high-density portion and the low-density portion, the determination pixel portion including at least one of the high-saturation portion with high saturation and the low-saturation portion with low saturation in the target pixel area is extracted. It is characterized by doing.

【0030】本発明に従えば、判定用画素部分抽出部
は、対象画素領域内における高彩度部分および低彩度部
分の少なくともいずれか一方を含む判定用画素部分を抽
出する。これによって、濃度の高低差では、対象画素領
域の高濃度色および低濃度色の区別が明確でない場合、
たとえば第1色目がイエローであって、第2色目がホワ
イトである場合であっても、対象画素領域の色成分の彩
度の高低差によって、対象画素領域を大略的に2色の画
素に容易に分けることができる。
According to the present invention, the determination pixel portion extraction unit extracts the determination pixel portion including at least one of the high saturation portion and the low saturation portion in the target pixel area. As a result, when the difference in density is not clear, it is not clear that the high-density color and the low-density color of the target pixel area are distinct.
For example, even when the first color is yellow and the second color is white, the target pixel area can be easily converted into pixels of two colors due to the difference in saturation of the color components of the target pixel area. Can be divided into

【0031】高彩度部分および低彩度部分の間となる中
間彩度部分を除くことによって、高彩度部分には、安定
して高彩度色の画素が属し、低彩度部分には、安定して
低彩度色の画素が属する。したがって高彩度部分に属す
る判定用画素の有彩無彩を判定することによって高彩度
色の有彩無彩を判定することができ、低彩度部分に属す
る判定用画素の有彩無彩を判定することによって、低彩
度色の有彩無彩を判定することができる。
By excluding the intermediate saturation part between the high saturation part and the low saturation part, pixels of high saturation color stably belong to the high saturation part, and stable low saturation part belongs to the low saturation part. Chromatic pixels belong. Therefore, the chromatic / achromatic color of the high-saturation color can be determined by determining the chromatic / achromatic color of the determination pixel belonging to the high-saturation portion, and the chromatic / achromatic color of the determination pixel belonging to the low-saturation portion can be determined. Thus, it is possible to determine the chromatic / achromatic color of the low saturation color.

【0032】このように、濃度差に加えて、彩度差によ
って対象画素領域を2つの近似画素群に分けることによ
ってより精度良く処理対象注目画素の有彩無彩を判定す
ることができる。
As described above, the chromatic / achromatic color of the target pixel to be processed can be determined more accurately by dividing the target pixel region into two approximate pixel groups based on the saturation difference in addition to the density difference.

【0033】また本発明は、前記有彩無彩判定部は、前
記第1判定部および前記第3判定部の判定結果に基づい
て、処理対象注目画素に色成分のずれが生じているか否
かを判定する色ずれ判定部を有することを特徴とする。
Further, according to the present invention, the chromatic / achromatic judgment unit determines whether or not a color component shift occurs in the pixel of interest to be processed based on the judgment results of the first judgment unit and the third judgment unit. It is characterized by having a color misregistration determination unit for determining.

【0034】本発明に従えば、色ずれ判定部によって、
色成分のずれが生じているか否かを判定することができ
るので、判定結果に基づいて、対象画素領域の色成分の
ずれが生じている色ずれ部分を検出することができる。
According to the present invention, the color shift determining section
Since it is possible to determine whether or not the color component shift has occurred, it is possible to detect the color shift portion in which the color component shift of the target pixel region has occurred, based on the determination result.

【0035】また本発明は、前記エッジ判定部および前
記有彩無彩判定部の判定結果に基づいて、処理対象注目
画素が、有彩色文字、無彩色文字および色ずれ文字のい
ずれであるか判定するとともに、色ずれ文字と判定され
る処理対象注目画素の数を求める色文字判定部と、色ず
れ文字である処理対象注目画素の数が、予め定めるしき
い値以上の場合、色ずれ文字である処理対象注目画素が
存在することを報知する報知手段とを有することを特徴
とする。
Further, according to the present invention, it is determined whether the target pixel to be processed is a chromatic color character, an achromatic color character, or a color shift character based on the judgment results of the edge judgment section and the chromatic / achromatic judgment section. In addition, if the number of processing target pixel of interest that is a color-shifted character and the number of processing target pixels of interest that are determined to be a color-shifted character is greater than or equal to a predetermined threshold value, a color-shifted character is used. And a notification unit that notifies that a certain pixel to be processed exists.

【0036】本発明に従えば、色文字判定部によって、
色ずれ文字である処理対象注目画素を求め、報知手段
が、色ずれ文字である処理対象注目画素が存在すること
を報知することによって、画像入力装置の色ずれに関す
る精度を評価することができる。
According to the present invention, the color character determination unit
By obtaining the processing target pixel of interest that is the color misaligned character and notifying that the processing target pixel of interest that is the color misaligned character exists, the accuracy of the image input device regarding the color misregistration can be evaluated.

【0037】また本発明は、前記画像処理装置を備える
ことを特徴とする画像形成装置である。
The present invention is also an image forming apparatus including the image processing apparatus.

【0038】本発明に従えば、上述の画像処理装置を画
像形成装置が備えることによって、入力される本来の画
像に対して、読取り時の誤差を補正して、各画素が有彩
色であるか無彩色かを精度良く判定し、再現性の高い出
力画像を得ることができる。
According to the present invention, the image forming apparatus is provided with the above-mentioned image processing apparatus, so that an error at the time of reading the original input image is corrected so that each pixel has a chromatic color. An achromatic color can be accurately determined, and an output image with high reproducibility can be obtained.

【0039】[0039]

【発明の実施の形態】原稿画像を読取るデジタルスキャ
ナおよびデジタルスチルカメラなどの画像入力装置は、
画像のモノクロまたはカラー情報を、3刺激値レッド、
グリーンおよびブルーに関する色成分に変換し、このよ
うなデータを、原稿画像を表す入力画像データとして画
像処理装置に与える。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Image input devices such as digital scanners and digital still cameras for reading original images are
Monochrome or color information of the image, tristimulus value red,
It is converted into color components relating to green and blue, and such data is given to the image processing apparatus as input image data representing a document image.

【0040】本発明の実施の一形態の画像処理装置は、
入力画像データに含まれる文字領域、網点領域および写
真領域の各領域を、色情報に基づいて、局所単位で識別
し、各領域の特性に応じて画質向上処理を切替えること
によって、原稿画像の再現性を高める構成になってい
る。
The image processing apparatus according to the embodiment of the present invention is
Each area of the character area, halftone dot area, and photographic area included in the input image data is identified by a local unit based on the color information, and the image quality improvement processing is switched according to the characteristics of each area, so that the original image It is designed to enhance reproducibility.

【0041】画像処理装置は、入力画像データのうち急
峻な濃度変化を示すエッジ部分の検出結果と、3刺激値
であるレッド、グリーンおよびブルーを補色反転した3
刺激値であるシアン、マゼンタおよびイエローの色成分
によって示される色情報とに基づいて文字領域を抽出
し、文字領域がカラーであるかモノクロであるかを判定
する。そして判定された文字領域に対し強調処理といっ
た補正処理を施して、出力時に文字領域の再現性が高い
画像データに補正する。
The image processing apparatus complements the detection result of the edge portion showing a sharp density change in the input image data with the three stimulus values of red, green, and blue, and complements them by 3
The character area is extracted based on the color information represented by the color components of cyan, magenta, and yellow, which are stimulus values, and it is determined whether the character area is color or monochrome. Then, a correction process such as an emphasis process is performed on the determined character region to correct the image data with high reproducibility of the character region at the time of output.

【0042】画像処理装置は、レッド、グリーンおよび
ブルーの3刺激値の色成分で表される入力画像データを
補色反転した3刺激値であるシアンCin、マゼンダM
inおよびイエローYinに変換し、次に入力画像デー
タによって表される画像を予め定められる小領域に分離
し、小領域が表す画像が、文字領域、網点領域および写
真領域のいずれであるか判定し、もし前記小領域が文字
領域であるならば、文字画像の色を判定する。
The image processing apparatus uses cyan Cin and magenta M, which are tristimulus values obtained by complementing the input image data represented by the color components of the tristimulus values of red, green and blue.
in and yellow Yin, then the image represented by the input image data is separated into predetermined small areas, and it is determined whether the image represented by the small areas is a character area, a halftone dot area, or a photographic area. If the small area is a character area, the color of the character image is determined.

【0043】図1は、色判定部100の構成を示すブロ
ック図である。色判定部100は、文字領域に、文字領
域よりも小さく処理対象注目画素(以下単に注目画素1
04とよぶ)を含む対象画素領域であるマスク105を
抽出する対象領域抽出部101と、注目画素104が有
彩色か無彩色かを判定するための判定用画素を抽出する
判定用画素部分抽出部102と、注目画素104および
判定用画素の色情報を用いて注目画素104が有彩色で
あるか無彩色であるかを判定する有彩無彩判定部103
とを含んで構成される。対象画素領域は、第1の色と第
1の色に明度、彩度および色相が似た色とから成る第1
近似色群の画素および第1近似色群とは明度、彩度およ
び色相が異なる第2の色と第2の色に明度、彩度および
色相が似た色とから成る第2近似色群の画素を含んで構
成される。第1近似色群と第2近似色群とは、色成分が
異なり、互いに区別可能な色の集まりである。例えば対
象画素領域は、文字領域であり、文字部分を構成する第
1近似色群の画素と、背景部分を構成する第2近似色群
の画素とから成る。
FIG. 1 is a block diagram showing the configuration of the color determination section 100. The color determination unit 100 determines that a processing target pixel of interest (hereinafter simply referred to as pixel of interest 1)
04)), a target area extraction unit 101 that extracts a mask 105 that is a target pixel area including a target pixel area, and a determination pixel portion extraction unit that extracts a determination pixel for determining whether the target pixel 104 is a chromatic color or an achromatic color. A chromatic / achromatic determination unit 103 that determines whether the pixel of interest 104 is a chromatic color or an achromatic color using the color information of the pixel 102 and the pixel of interest 104 and the determination pixel.
It is configured to include and. The target pixel region has a first color and a first color composed of a color similar in brightness, saturation, and hue to the first color.
The pixels of the approximate color group and the first approximate color group are different from each other in the second approximate color group consisting of a second color having different lightness, saturation and hue and a color having similar lightness, saturation and hue to the second color. It is configured to include pixels. The first approximate color group and the second approximate color group are collections of colors that have different color components and are distinguishable from each other. For example, the target pixel area is a character area, and is composed of pixels of the first approximate color group forming the character portion and pixels of the second approximate color group forming the background portion.

【0044】対象領域抽出部101は、文字領域を分割
し、対象画素領域となるマスク105を抽出する。マス
ク105は、M×N個の画素によって構成され、注目画
素104を含む。たとえばマスク105は、注目画素1
04を中心とする7×7個の画素によって構成される。
The target area extraction unit 101 divides the character area and extracts the mask 105 which becomes the target pixel area. The mask 105 is composed of M × N pixels and includes a target pixel 104. For example, the mask 105 has the pixel 1 of interest.
It is composed of 7 × 7 pixels centered on 04.

【0045】対象領域抽出部101は、1つの原稿画像
を記憶するハードディスク装置などの画像記憶装置を含
み、好ましくは、原稿主走査方向サイズを記憶する複数
のラインメモリ115を含んで構成される。ラインメモ
リ115を用いることによってハードディスクに比べて
メモリの容量を大きくすることなく、処理速度を向上
し、リアルタイムに処理を行うことができる。またコス
トを低下させることができる。
The target area extraction unit 101 includes an image storage device such as a hard disk device for storing one original image, and preferably includes a plurality of line memories 115 for storing the size of the original main scanning direction. By using the line memory 115, the processing speed can be improved and the processing can be performed in real time without increasing the capacity of the memory as compared with the hard disk. Also, the cost can be reduced.

【0046】図2は、ラインメモリ115の構成を示す
概略図である。ラインメモリ115は、先入れ先出し型
メモリ(First In First Out:略称FIFO)であっ
て、入力されたデータが入力された順に出力される。た
とえばラインメモリ115を各色成分ごとに6ラインメ
モリすなわち3×6個設け、注目画素104を中心とし
て、7×7の画素領域で形成されるマスク105を形成
することができる。
FIG. 2 is a schematic diagram showing the structure of the line memory 115. The line memory 115 is a first-in-first-out memory (First In First Out: abbreviated as FIFO) and outputs input data in the order in which they are input. For example, a line memory 115 can be provided for each color component of 6 line memories, that is, 3 × 6, and a mask 105 formed by a 7 × 7 pixel region can be formed around the target pixel 104.

【0047】また上述のマスク105のサイズは、本発
明の一例示に過ぎず、必ずしもマスク105のサイズを
限定するものではない。たとえばラインメモリの数を増
やすことによって、またハードディスク等の記憶装置を
用いることによって、任意のサイズのマスクを形成する
ことができる。
The size of the mask 105 described above is merely an example of the present invention and does not necessarily limit the size of the mask 105. For example, a mask of any size can be formed by increasing the number of line memories and by using a storage device such as a hard disk.

【0048】図1に示すように判定用画素部分抽出部1
02は、最大最小算出部107と、色成分平均値算出部
106と、高濃度部分検出部108と、低濃度部分検出
部109とを含む。色成分平均値算出部106は、対象
領域抽出部101からマスク105内の画素情報を受取
る。色成分平均値算出部106は、マスク内の各画素に
ついて、その濃度平均値をそれぞれ算出し、算出結果を
最大最小算出部107に与える。最大最小算出部107
は、マスク内の濃度平均値の最大値と最小値を求め、マ
スク内の画素に対して濃度が高い高濃度部分と、濃度が
低い低濃度部分を設定する。また最大最小算出部107
は、算出結果を高濃度部分検出部108および低濃度検
出部109に与える。
As shown in FIG. 1, the determination pixel portion extraction unit 1
02 includes a maximum / minimum calculation unit 107, a color component average value calculation unit 106, a high-density portion detection unit 108, and a low-density portion detection unit 109. The color component average value calculation unit 106 receives the pixel information in the mask 105 from the target area extraction unit 101. The color component average value calculation unit 106 calculates the density average value of each pixel in the mask and gives the calculation result to the maximum / minimum calculation unit 107. Maximum / minimum calculation unit 107
Determines the maximum value and the minimum value of the average density value in the mask, and sets a high density portion having a high density and a low density portion having a low density with respect to the pixels in the mask. Also, the maximum / minimum calculation unit 107
Gives the calculation result to the high-density portion detection unit 108 and the low-density portion detection unit 109.

【0049】高濃度部分検出部108は、最大最小算出
部107の算出結果を受取り、マスク内の各画素のうち
から、高濃度部分に属する高濃度判定用画素を検出、言
い換えると抽出する。
The high-density portion detection unit 108 receives the calculation result of the maximum / minimum calculation unit 107, and detects, in other words, extracts a high-density determination pixel belonging to the high-density portion from each pixel in the mask.

【0050】低濃度部分検出部109は、最大最小算出
部107の算出結果を受取り、マスク内の各画素のうち
から、低濃度部分に属する低濃度判定用画素を検出すな
わち抽出する。
The low-density portion detection unit 109 receives the calculation result of the maximum / minimum calculation unit 107, and detects, or extracts, the low-density determination pixels belonging to the low-density portion from each pixel in the mask.

【0051】有彩無彩判定部103は、第1判定部であ
る注目画素色判定部113と、第2判定部である高濃度
・低濃度部分色判定部112と、第3判定部である総合
判定部114と、色ずれ判定部115とを含んで構成さ
れる。高濃度・低濃度色判定部112は、判定用画素色
判定部110およびカウント部111によって構成さ
れ、高濃度部分および低濃度部分に属する各判定用画素
の色が有彩色であるか無彩色であるかを判定する。
The chromatic / achromatic judgment section 103 is a pixel color judgment section 113 of interest which is a first judgment section, a high density / low density partial color judgment section 112 which is a second judgment section, and a third judgment section. The overall determination unit 114 and the color shift determination unit 115 are included. The high-density / low-density color determination unit 112 is composed of a determination pixel color determination unit 110 and a counting unit 111, and the color of each determination pixel belonging to the high-density portion and the low-density portion is chromatic or achromatic. Determine if there is.

【0052】判定用画素色判定部110は、高濃度部分
検出部108および低濃度部分検出部109から高濃度
部分および低濃度部分に属する判定用画素の情報を受取
り、各判定用画素が有彩色か無彩色かを判定し、判定結
果をカウント部111に与える。カウント部111は、
色判定処理部110が有彩色と判定した判定用画素を数
え、予め定められたしきい値と比較することによって、
高濃度部分および低濃度部分の色が有彩色であるのか無
彩色であるのかを判定する。
The judgment pixel color judgment unit 110 receives the information of the judgment pixels belonging to the high density portion and the low density portion from the high density portion detection unit 108 and the low density portion detection unit 109, and each judgment pixel has a chromatic color. Or the achromatic color is determined, and the determination result is given to the counting unit 111. The counting unit 111
By counting the determination pixels determined by the color determination processing unit 110 as chromatic colors and comparing them with a predetermined threshold value,
It is determined whether the high-density portion and the low-density portion are chromatic or achromatic.

【0053】注目画素色判定部113は、注目画素10
4自体の色情報に基づいて、注目画素104の色が有彩
色であるか無彩色であるのかを判定する。総合色判定部
114は、高濃度・低濃度部分色判定部112および注
目画素色判定部113の判定結果を受取り、各判定結果
に基づいて注目画素104が有彩色であるのか無彩色で
あるのかを判定する。色ずれ判定部115は、総合判定
部114および注目画素色判定部113の判定結果を受
取り、各判定結果に基づいて、注目画素104に色ずれ
が生じているか否かの判定を行う。このように有彩無彩
判定部103は、注目画素104が有彩色か無彩色かを
判定し、かつ色ずれしているか否かを判定し、判定結果
を出力する。
The pixel-of-interest color determination section 113 determines the pixel-of-interest 10
Based on the color information of 4 itself, it is determined whether the color of the pixel of interest 104 is a chromatic color or an achromatic color. The total color determination unit 114 receives the determination results of the high-density / low-density partial color determination unit 112 and the target pixel color determination unit 113, and determines whether the target pixel 104 is a chromatic color or an achromatic color based on each determination result. To judge. The color misregistration determination unit 115 receives the determination results of the comprehensive determination unit 114 and the pixel-of-interest color determination unit 113, and determines whether the pixel of interest 104 has a color misregistration based on each determination result. In this way, the chromatic / achromatic determination unit 103 determines whether the pixel of interest 104 is a chromatic color or an achromatic color, determines whether there is a color shift, and outputs the determination result.

【0054】図3は、本発明の実施の一形態の画素の色
判定動作を示すフローチャートである。ステップa0
で、入力画像データによって表される画像が、文字領域
を含むと判定された場合には、ステップa1に進み、文
字領域に属する各画素が有彩色であるか無彩色であるか
を判定する画素の色判定動作が開始される。画素の色
は、たとえば入力画像データの色成分、レッドR、グリ
ーンGおよびブルーBを補色反転した色成分、シアンC
in、マゼンダMinおよびイエローYinの濃度値に
よって決定される。
FIG. 3 is a flowchart showing the pixel color determination operation according to the embodiment of the present invention. Step a0
If it is determined that the image represented by the input image data includes a character area, the process proceeds to step a1 to determine whether each pixel belonging to the character area has a chromatic color or an achromatic color. The color determination operation of is started. The color of a pixel is, for example, a color component of input image data, a color component in which red R, green G, and blue B are complemented, and cyan C.
It is determined by the density values of in, magenta Min, and yellow Yin.

【0055】ステップa1では、対象領域抽出部101
によって、注目画素104を中心とした画素を含み、文
字領域を分割するマスク105が形成される。文字領域
における注目画素104の座標を(i,j)とし、注目
画素104のシアンの濃度をCin、マゼンダの濃度を
Minおよびイエローの濃度Yinとすると、この注目
画素104における入力信号値は、(Cin(i,
j),Min(i,j),Yin(i,j))で与えら
れる。上述のようにマスク105が7×7の画素数で形
成された場合には、画素P(m,n)を含むマスク10
5は、以下の式によって与えられる。
At step a1, the target area extraction unit 101
Thus, a mask 105 that includes a pixel centered on the target pixel 104 and divides the character region is formed. If the coordinates of the pixel of interest 104 in the character region are (i, j), the cyan density of the pixel of interest 104 is Cin, the magenta density is Min, and the density of yellow Yin, the input signal value at this pixel of interest 104 is ( Cin (i,
j), Min (i, j), Yin (i, j)). When the mask 105 is formed with 7 × 7 pixels as described above, the mask 10 including the pixel P (m, n)
5 is given by the following equation.

【0056】[0056]

【数1】 [Equation 1]

【0057】このときマスク内の画素は、各画素ごとに
個別の識別番号Kが付される。たとえばマスク105が
7×7の画素数の場合には、1〜49の識別番号が画素
ごとに付される。このようなマスク105が抽出される
とステップa2に進む。
At this time, each pixel in the mask is given an individual identification number K for each pixel. For example, when the mask 105 has 7 × 7 pixels, identification numbers 1 to 49 are assigned to each pixel. When such a mask 105 is extracted, the process proceeds to step a2.

【0058】ステップa2では、色成分平均値算出部1
06によって、マスク105内における色成分の濃度値
の平均値が算出される。次に最大最小算出部107は、
マスク105内の色成分の濃度値の平均値の最大濃度お
よび最低濃度とを検出する。注目画素104を中心とす
るマスク105内の色成分の平均値の最大濃度をTop
(i,j)とし、最低濃度をBot(i,j)とする
と、各濃度値Top(i,j),Bot(i,j)は、
以下の式によって与えられる。
In step a2, the color component average value calculation unit 1
From 06, the average value of the density values of the color components in the mask 105 is calculated. Next, the maximum / minimum calculation unit 107
The maximum and minimum densities of the average density values of the color components in the mask 105 are detected. The maximum density of the average value of the color components in the mask 105 centered on the pixel of interest 104 is Top
If (i, j) and the lowest density is Bot (i, j), then each density value Top (i, j), Bot (i, j) is
It is given by the following formula.

【0059】[0059]

【数2】 [Equation 2]

【0060】色成分の平均値の最大濃度Top(i,
j)および色成分の平均値の最低濃度Bot(i,j)
が検出されるとステップa3に進む。
Maximum density of the average value of color components Top (i,
j) and the lowest density Bot (i, j) of the average value of the color components
Is detected, the process proceeds to step a3.

【0061】ステップa3では、最大最小算出部107
によって、マスク内の各画素のうち濃度が高い画素によ
って構成される高濃度部分(Ha(i,j))および濃
度が低い画素によって構成される低濃度部分(La
(i,j))が決定される。図4は、マスク内の画素の
色成分の濃度平均値の分布を示す概略図である。高濃度
部分(Ha(i,j))および低濃度部分(La(i,
j))に属する画素は、各画素の色成分の平均値(C+
M+Y)/3を用いて、たとえば以下の式によって決定
される。
In step a3, the maximum / minimum calculation unit 107
Thus, among the pixels in the mask, a high-density portion (Ha (i, j)) formed by a high-density pixel and a low-density portion (La by a low-density pixel)
(I, j)) is determined. FIG. 4 is a schematic diagram showing the distribution of the average density values of the color components of the pixels in the mask. High concentration part (Ha (i, j)) and low concentration part (La (i, j)
The pixel belonging to j)) is the average value (C +) of the color components of each pixel.
Using M + Y) / 3, it is determined, for example, by the following equation.

【0062】[0062]

【数3】 [Equation 3]

【0063】ここで係数THは、0≦TH≦1の任意の
実数で予め設定される。高濃度部分(Ha(i,j))
は、マスク内の色成分の平均値の最大濃度Top(i,
j)から所定範囲だけ濃度の低い領域に拡がる部分であ
る。たとえば所定範囲は、色成分の平均値の最大濃度T
op(i,j)と色成分の平均値の最低濃度Bot
(i,j)との差(TOP(i,j)−Bot(i,
j))に前記係数THを乗算した濃度範囲である。同様
に低濃度部分(La(i,j))は、マスク内の色成分
の平均値の最低濃度Bot(i,j)から所定範囲だけ
濃度の高い領域に拡がる部分である。たとえば、所定範
囲は、色成分の平均値の最大濃度TOP(i,j)と色
成分の平均値の最低濃度Bot(i,j)との差(TO
P(i,j)−Bot(i,j))に前記係数THを乗
算した濃度範囲である。
Here, the coefficient TH is preset with an arbitrary real number of 0≤TH≤1. High concentration part (Ha (i, j))
Is the maximum density of the average value of the color components in the mask Top (i,
It is a portion extending from j) to a region where the density is low by a predetermined range. For example, the predetermined range is the maximum density T of the average value of the color components.
op (i, j) and the minimum density Bot of the average value of the color components
Difference from (i, j) (TOP (i, j) -Bot (i,
j)) is the density range obtained by multiplying the coefficient TH. Similarly, the low-density portion (La (i, j)) is a portion extending from the lowest density Bot (i, j) of the average value of the color components in the mask to a region having a high density by a predetermined range. For example, the predetermined range is the difference (TO between the maximum density TOP (i, j) of the average value of the color components and the minimum density Bot (i, j) of the average value of the color components.
It is a density range obtained by multiplying P (i, j) -Bot (i, j)) by the coefficient TH.

【0064】このような各濃度部分(Ha(i,j))
(La(i,j))が検出されると、ステップa4に進
む。ステップa4では、まず、ステップa1で設定され
る識別番号Kが1の画素が選択され、選択された画素を
領域内注目画素とし、ステップa5に進む。
Each density portion (Ha (i, j))
When (La (i, j)) is detected, the process proceeds to step a4. In step a4, first, the pixel having the identification number K set in step a1 is selected, the selected pixel is set as the target pixel in the area, and the process proceeds to step a5.

【0065】ステップa5では、まず、色成分平均値算
出部106によって、領域内注目画素の濃度平均値In
(m,n)が算出される。マスクMaski,jに属する
領域内注目画素の座標を(m,n)∈Maski,jとす
ると、領域内注目画素の濃度平均値In(m,n)は、
以下の式によって表される。
In step a5, first, the color component average value calculation unit 106 causes the average density value In of the target pixel in the region to be In.
(M, n) is calculated. Mask Mask i, the coordinates of the area of interest pixel belonging to the j (m, n) ∈Mask i , when the j, average density value of the region within the pixel of interest In (m, n) is
It is expressed by the following formula.

【0066】[0066]

【数4】 [Equation 4]

【0067】領域内注目画素の濃度平均値が算出される
と、高濃度部分検出部108によって、領域内注目画素
が高濃度部分に属するか否かが判定される。すなわち領
域内注目画素の濃度平均値が、高濃度部分に属するか否
かが判定される。高濃度部分に属する画素の濃度平均値
In(m,n)は、次式の条件を満たす。
When the density average value of the target pixel in the area is calculated, the high-density portion detection unit 108 determines whether or not the target pixel in the area belongs to the high-density portion. That is, it is determined whether or not the density average value of the target pixel in the region belongs to the high density portion. The density average value In (m, n) of the pixels belonging to the high density portion satisfies the following expression.

【0068】[0068]

【数5】 [Equation 5]

【0069】選択された領域内注目画素が高濃度部分に
属する場合は、領域内注目画素が高濃度判定用画素とな
り、ステップa6に進み、そうでない場合には、ステッ
プa8に進む。ステップa6では、判定用画素色判定部
110によって、高濃度判定用画素が有彩色であるか無
彩色であるか判定される。座標(m,n)である高濃度
判定用画素が有彩色である場合には、次式の条件を満た
す。
If the selected target pixel in the area belongs to the high density portion, the target pixel in the area becomes the high density determination pixel, and the process proceeds to step a6. If not, the process proceeds to step a8. In step a6, the determination pixel color determination unit 110 determines whether the high density determination pixel is a chromatic color or an achromatic color. When the high-density determination pixel having the coordinates (m, n) is chromatic, the condition of the following equation is satisfied.

【0070】[0070]

【数6】 [Equation 6]

【0071】すなわち、判定用画素の最高濃度の色成分
と、最小濃度の色成分との差が色判定用しきい値THc
olorより大きい場合には、判定用画素が有彩色であ
ると判定する。また色判定用しきい値THcolor
は、図3に示したように予め設定されていてもよく、ま
た判定用画素の濃度値に応じてその色判定用しきい値T
Hcolorを設定してもよい。
That is, the difference between the highest density color component and the lowest density color component of the judgment pixel is the color judgment threshold value THc.
If it is larger than color, it is determined that the determination pixel is a chromatic color. Also, the color determination threshold value THcolor
May be preset as shown in FIG. 3, and the color determination threshold value T may be set in accordance with the density value of the determination pixel.
You may set Hcolor.

【0072】たとえば濃度値に応じて色判定用しきい値
THcolorを設定する例として、シアン、マゼンダ
およびイエローの濃度値が低い場合、すなわちハイライ
ト側では、色成分間の最大濃度差が低くなるので、色判
定しきい値として低い値を設定する。またシアン、マゼ
ンダおよびイエローの濃度値が高い場合では、色成分間
の最大濃度差が高くなるので、色判定しきい値として高
い値を設定する。たとえば色判定用しきい値THcol
orは、次式のように設定され、判定用画素の色成分の
うち最小の濃度値min(C,M,Y)の大きさによっ
て、色判定しきい値が異なる。
For example, as an example of setting the color determination threshold THcolor according to the density value, when the density values of cyan, magenta and yellow are low, that is, on the highlight side, the maximum density difference between the color components is low. Therefore, a low value is set as the color determination threshold value. When the density values of cyan, magenta, and yellow are high, the maximum density difference between the color components becomes high, so a high value is set as the color determination threshold value. For example, the color determination threshold THcol
or is set according to the following equation, and the color determination threshold value differs depending on the size of the minimum density value min (C, M, Y) of the color components of the determination pixel.

【0073】[0073]

【数7】 [Equation 7]

【0074】ただし、THintensity1<TH
intensity2<THintensity3であ
る。
However, THintensity1 <TH
intensity2 <THintensity3.

【0075】このように領域内注目画素の濃度に応じ
て、複数の色判定しきい値から一つを選択してもよく、
さらに高濃度部分に属する場合と、低濃度部分に属する
場合において、別々のしきい値を設定することも可能で
ある。
As described above, one of a plurality of color judgment threshold values may be selected according to the density of the target pixel in the area,
It is also possible to set different thresholds for the case of belonging to the high density portion and the case of belonging to the low density portion.

【0076】ステップa6では、上述に示すように判定
用画素色判定部110によって、高濃度判定用画素の色
が有彩であるか否かが判定され、有彩と判定されるとス
テップa7に進み、そうでないと判定されるとステップ
a8に進む。ステップa7では、カウント部111が高
濃度判定用画素を1つ積算してカウントし、ステップa
8に進む。またステップa6では、領域内注目画素の有
彩無彩を、シアン、マゼンダおよびイエロー間の最大濃
度差に基づいて判定したが、他の方法によって色判定を
行ってもよい。
At step a6, as described above, the determination pixel color determination section 110 determines whether or not the color of the high density determination pixel is chromatic, and if determined to be chromatic, the process proceeds to step a7. If not, the process proceeds to step a8. In step a7, the counting unit 111 integrates and counts one high-density determination pixel,
Go to 8. In step a6, the chromatic / achromatic color of the target pixel in the region is determined based on the maximum density difference among cyan, magenta, and yellow. However, the color determination may be performed by another method.

【0077】ステップa8では、色成分平均値算出部1
06により算出された領域内注目画素の濃度平均値を用
いて低濃度部分検出部109によって領域内注目画素
が、低濃度部分に属するかどうかが判定される。低濃度
部分に属する画素の濃度平均値In(m,n)は、次式
の条件を満たす。
In step a8, the color component average value calculation unit 1
Using the density average value of the target pixel in the area calculated in 06, the low-density portion detection unit 109 determines whether the target pixel in the area belongs to the low-density portion. The density average value In (m, n) of the pixels belonging to the low density portion satisfies the following expression.

【0078】[0078]

【数8】 [Equation 8]

【0079】選択された領域内注目画素が低濃度部分に
属する場合は、領域内注目画素が低濃度判定用画素とな
り、ステップa9に進み、そうでない場合には、ステッ
プa11に進む。ステップa9では、判定用画素色判定
部110によって、ステップa6と同様に図3に示した
予め設定する固定しきい値、もしくは判定画素の濃度値
によって切替えたしきい値によって、しきい値を処理す
ることによって低濃度判定用画素が有彩色であるか無彩
色であるか判定される。具体的には、ステップa8で低
濃度判定用画素と判断された画素が前述の数式6を満た
すかどうか判定される。このとき色判定用しきい値TH
color2は、ステップa6とは異なる値が用いられ
る。有彩と判定されるとステップa10に進み、そうで
ないと判定されるとステップa11に進む。またステッ
プa9では、領域内注目画素の有彩無彩を、シアン、マ
ゼンダおよびイエロー間の最大濃度差に基づいて判定し
たが、他の方法によって色判定を行ってもよい。ステッ
プa10では、カウント部111が低濃度判定用画素を
1つ積算してカウントし、ステップa11に進む。
If the selected target pixel in the area belongs to the low density portion, the target pixel in the area becomes the low density determination pixel, and the process proceeds to step a9. If not, the process proceeds to step a11. In step a9, the threshold value is processed by the determination pixel color determination unit 110 by the preset fixed threshold value shown in FIG. 3 as in step a6 or the threshold value switched according to the density value of the determination pixel. By doing so, it is determined whether the low-density determination pixel is a chromatic color or an achromatic color. Specifically, it is determined whether or not the pixel determined to be the low density determination pixel in step a8 satisfies the above-mentioned formula 6. At this time, the color determination threshold value TH
A different value from that used in step a6 is used for color2. If it is determined that the color is chromatic, the process proceeds to step a10, and if not, the process proceeds to step a11. In step a9, the chromatic / achromatic color of the target pixel in the area is determined based on the maximum density difference among cyan, magenta, and yellow, but the color determination may be performed by another method. In step a10, the counting unit 111 integrates and counts one low-density determination pixel, and then proceeds to step a11.

【0080】ステップa11では、判定用画素色判定部
110によって、選択された領域内注目画素に設定され
た識別番号Kが最大であるか否かが判定され、最大であ
ると判定されるとステップa13に進み、そうでないと
判定されるとステップa12に進む。ステップa12
は、前記識別番号Kに1を積算した新しい識別番号K+
1が付された画素を領域内注目画素とし、ステップa5
に戻り、ステップa5〜a11を繰り返す。
At step a11, the determining pixel color determining section 110 determines whether or not the identification number K set for the selected target pixel in the region is the maximum, and if it is determined to be the maximum, the step is determined. If it is determined that it is not, the process proceeds to step a12. Step a12
Is a new identification number K + obtained by adding 1 to the identification number K
The pixel marked with 1 is set as the target pixel in the area, and step a5
And repeat steps a5 to a11.

【0081】ステップa11において判定用画素色判定
部110によって、選択された領域内注目画素に設定さ
れた識別番号Kが最大であると判定される、すなわちマ
スク内のすべての画素について判定が行われると、ステ
ップa13に進む。ステップa13では、カウント部1
11によって、高濃度部分および低濃度部分に属する判
定用画素の色が有彩であるか無彩であるか判定される。
カウント部111は、高濃度部分に属し、有彩と判定さ
れた画素の数CH:countが、所定のしきい値TH
color_num_highより大きい場合には、高
濃度部分は、有彩であると判定し、次式を満たす条件の
場合に高濃度部分が有彩であると判定する。
In step a11, the determination pixel color determination unit 110 determines that the identification number K set for the selected target pixel in the area is the maximum, that is, all pixels in the mask are determined. Then, the process proceeds to step a13. At step a13, the counting unit 1
11, it is determined whether the colors of the determination pixels belonging to the high density portion and the low density portion are chromatic or achromatic.
The counting unit 111 belongs to the high-density portion, and the number CH: count of pixels determined to be chromatic indicates a predetermined threshold value TH.
If it is larger than color_num_high, it is determined that the high-density portion is chromatic, and if the condition that satisfies the following expression is satisfied, it is determined that the high-density portion is chromatic.

【0082】[0082]

【数9】 [Equation 9]

【0083】ただし上式のしきい値THcolor_n
um_highは、任意の整数とする。
However, the threshold value THcolor_n in the above equation
um_high is an arbitrary integer.

【0084】また低濃度部分に属し、有彩と判定された
画素の数CL:countが、所定のしきい値THco
lor_num_lowより大きい場合には、低濃度部
分は、有彩であると判定し、次式を満たす条件の場合に
低濃度部分が有彩であると判定する。
Further, the number CL: count of pixels which belong to the low density portion and are determined to be chromatic is a predetermined threshold value THco.
If it is larger than lor_num_low, it is determined that the low-density portion is chromatic, and if the condition satisfies the following equation, it is determined that the low-density portion is chromatic.

【0085】[0085]

【数10】 ただし上式のしきい値THcolor_num_low
は、任意の整数とする。
[Equation 10] However, the threshold value THcolor_num_low in the above equation
Is an arbitrary integer.

【0086】ステップa13で、高濃度部分および低濃
度部分の有彩無彩の判定が完了すると、ステップa14
に進む。ステップa14では、まず注目画素色判定部1
13によって、注目画素104が有彩色であるか無彩色
であるかを、処理対象注目画素単独で判定される。判定
は、注目画素104の3つの色成分の最大濃度差が所定
のしきい値THcolorよりも大きい場合に有彩であ
ると判定し、次式を満たす条件の場合に有彩であると判
定する。
When the chromatic / achromatic determination of the high density portion and the low density portion is completed in step a13, step a14
Proceed to. In step a14, first, the pixel-of-interest color determination unit 1
13, it is determined whether the pixel of interest 104 is a chromatic color or an achromatic color by the pixel of interest to be processed alone. The determination is chromatic if the maximum density difference between the three color components of the pixel of interest 104 is larger than a predetermined threshold THcolor, and chromatic if the following condition is satisfied. .

【0087】[0087]

【数11】 ただし上式のしきい値THcolor3は、任意の正の
実数とする。
[Equation 11] However, the threshold value THcolor3 in the above equation is an arbitrary positive real number.

【0088】次に、注目画素色判定部113によって求
められた、注目画素の有彩無彩判定結果と、カウント部
111によって求められた、高濃度部分および低濃度部
分の有彩無彩判定結果に基づいて、総合判定部114
が、注目画素104が有彩であるか無彩であるかの判定
を行う。
Next, the chromatic / achromatic determination result of the target pixel obtained by the target pixel color determining section 113 and the chromatic / achromatic determination result of the high density portion and the low density portion determined by the counting section 111. Based on the
However, it is determined whether the target pixel 104 is chromatic or achromatic.

【0089】総合判定部114は、予め設定される判定
ルールが示される判定テーブルに基づいて、注目画素の
最終色判定を行う。表1にその判定ルールの一例を示
す。表1には、高濃度部分の有彩無彩判定結果をCHと
し、低濃度部分の有彩無彩判定結果をCLとし、注目画
素の有彩無彩判定結果をCCとすると、各判定結果の組
み合わせに応じて注目画素の最終的な有彩無彩が示され
る。有彩の場合には、Trueとし、無彩の場合には、
Falseとして示す。
The overall judgment unit 114 judges the final color of the pixel of interest based on the judgment table showing the judgment rules set in advance. Table 1 shows an example of the determination rule. In Table 1, assuming that the chromatic / achromatic determination result of the high density portion is CH, the chromatic / achromatic determination result of the low density portion is CL, and the chromatic / achromatic determination result of the pixel of interest is CC, each determination result The final chromatic / achromatic color of the pixel of interest is shown in accordance with the combination. In case of chromatic, it is set to True, and in case of achromatic,
Shown as False.

【0090】[0090]

【表1】 [Table 1]

【0091】表1では、高濃度部分が有彩と判定(CH
→True)され、低濃度部分が無彩と判定(CL→F
alse)され、注目画素単体では無彩と判定(CC→
False)された場合には、高濃度側側の色判定結果
を優先して、最終的な注目画素の色は、有彩であると判
定するようにしている。
In Table 1, it is determined that the high density portion is chromatic (CH
→ True) and it is determined that the low density area is achromatic (CL → F
and the target pixel alone is determined to be achromatic (CC →
False), the color determination result on the high-density side is prioritized, and the final color of the pixel of interest is determined to be chromatic.

【0092】このようにステップa14で、総合判定部
114によって、最終的に注目画素の色が有彩であるか
無彩であるかが判定されると、ステップa15に進む。
ステップa15では、文字領域に属するすべての画素に
ついて、有彩無彩が判定されたか否かが判定され、有彩
無彩が判定されていない画素が存在するならば、有彩無
彩が判定されていない画素を処理対象注目画素として、
再びステップa1に進み、文字領域のすべての画素につ
いて、有彩無彩が判定されるまで、ステップa1〜a1
5を繰り返す。このときマスクを画素単位でスライドさ
せながら文字領域すべての画素に対して、色判定処理を
施す。またマスク内の画素によって、注目画素の色判定
を行うことによって、精度よく色判定を行うことが可能
となる。文字領域に属するすべての画素の有彩無彩が判
定されると、ステップa16に進み、画素の色判定動作
が終了する。
In this way, in step a14, when the comprehensive determination section 114 finally determines whether the color of the pixel of interest is chromatic or achromatic, the process proceeds to step a15.
In step a15, it is determined whether or not the chromatic / achromatic color has been determined for all the pixels belonging to the character area. If there is a pixel for which the chromatic / achromatic color has not been determined, the chromatic / achromatic color is determined. As the target pixel of interest,
The process proceeds to step a1 again, and steps a1 to a1 are repeated until chromatic / achromatic is determined for all pixels in the character area.
Repeat 5 At this time, the color determination process is performed on all the pixels in the character area while sliding the mask on a pixel-by-pixel basis. Further, by performing the color determination of the pixel of interest by the pixels in the mask, it is possible to perform the color determination with high accuracy. When it is determined that all the pixels belonging to the character area are chromatic or achromatic, the process proceeds to step a16, and the pixel color determination operation ends.

【0093】本実施の形態では、さらに総合判定部11
4によって有彩無彩が判定された後に、色ずれ判定部1
15が、各注目画素104が色ずれしているか否かを判
定する。色ずれ判定部115は、まず注目画素104単
独で、注目画素104の有彩無彩を判定する。この判定
は、たとえば各色成分間の最大差を用いて行い、有彩色
であるならば次式を満足する。
In the present embodiment, the comprehensive judgment section 11 is further added.
After the chromatic / achromatic color is determined by 4, the color misregistration determination unit 1
15 determines whether or not each pixel of interest 104 has a color shift. The color misregistration determination unit 115 first determines whether the pixel of interest 104 is chromatic or achromatic by itself. This determination is performed using, for example, the maximum difference between the color components, and if the color is chromatic, the following expression is satisfied.

【0094】[0094]

【数12】 [Equation 12]

【0095】ここでTHcolor_rは、予め定めら
れるしきい値である。ただし色ずれ判定部115が行う
上述のような判定方法は一例であり、色ずれ判定部11
5が、画素単独で行う色判定手法については、特に限定
をするものではない。また色ずれ判定部115は、注目
画素色判定部113の判定結果に基づいて画素単独の色
判定結果を得てもよい。
Here, THcolor_r is a predetermined threshold value. However, the above-described determination method performed by the color shift determination unit 115 is an example, and the color shift determination unit 11
5 does not particularly limit the color determination method performed by the pixel alone. The color misregistration determination unit 115 may obtain the color determination result for each pixel based on the determination result of the pixel-of-interest color determination unit 113.

【0096】色ずれが生じる場合には、本来は無彩画素
であるのに、色成分の色ずれが生じるために画素単位単
独では有彩と判定されるおそれがある。表2は、総合判
定部114によって得られた判定結果をCM(i,j)
とし、注目画素単独で行う色判定法に基づいて得られた
結果をCR(i,j)としたときに色ずれが生じる条件
を示す表である。
When the color shift occurs, the pixel is originally achromatic, but the color shift of the color component occurs, so that it may be determined that the pixel unit is chromatic. Table 2 shows the judgment result obtained by the comprehensive judgment unit 114 as CM (i, j).
Is a table showing conditions under which color misregistration occurs when CR (i, j) is the result obtained based on the color determination method performed by the target pixel alone.

【0097】[0097]

【表2】 [Table 2]

【0098】表2に示すように、総合判定部114によ
って得られた結果が無彩色であり、注目画素画素単独で
行う色判定法に基づいて、得られた結果が有彩色である
場合に、色ずれが生じる。色ずれ判定部115は、表2
に示すテーブルに基づいて、色ずれを判定し、色ずれを
示す情報を後段の色補正部または黒生成下色除去部に伝
える。たとえばUCRなどの黒色材生成処理において、
色ずれと判定された画素に対して、黒画素領域と同等な
処理を施したり、あるいは入力信号のシアン、マゼンダ
およびイエローのバランスをそろえたりして、無彩色と
して補正することによって、出力画像の再現性を高める
ことができる。
As shown in Table 2, when the result obtained by the comprehensive judgment unit 114 is an achromatic color and the obtained result is a chromatic color based on the color judgment method performed by the pixel of interest pixel alone, Color shift occurs. The color misregistration determination unit 115 is shown in Table 2
The color misregistration is determined based on the table shown in (1) and the information indicating the color misregistration is transmitted to the color correction unit or the black generation undercolor removal unit in the subsequent stage. For example, in black material generation processing such as UCR,
Pixels that have been determined to have color misalignment are subjected to processing equivalent to that of the black pixel area, or the cyan, magenta, and yellow of the input signals are balanced, and are corrected as achromatic colors to correct the output image. The reproducibility can be improved.

【0099】図5は、黒文字領域における各画素の各色
成分ごとの濃度分布を示す概略図である。図6は、カラ
ー文字領域における各画素の各色成分ごとの濃度分布を
示す概略図である。図5に示すように黒文字領域を有す
る画像に色ずれが生じた場合には、入力画像データによ
って表される画像の、文字と背景との境界部分121と
なる画素は、高濃度画素部分120aと低濃度画素部分
120bとの中間濃度でかつ、色ずれによって有彩色と
なる。この文字と背景との境界部分121は、図6に示
すカラー画像の場合の文字と背景との境界部分121と
類似してしまう。
FIG. 5 is a schematic diagram showing the density distribution of each color component of each pixel in the black character area. FIG. 6 is a schematic diagram showing the density distribution of each color component of each pixel in the color character area. When color misregistration occurs in an image having a black character area as shown in FIG. 5, a pixel serving as a boundary portion 121 between a character and a background in an image represented by input image data is a high density pixel portion 120a. It has an intermediate density with the low-density pixel portion 120b and becomes a chromatic color due to color shift. The boundary portion 121 between the character and the background is similar to the boundary portion 121 between the character and the background in the case of the color image shown in FIG.

【0100】文字領域において、通常文字部分が高濃度
部分120aとなる。したがって図5に示すように黒文
字である場合には、高濃度部分120aでは、シアン、
マゼンダおよびイエローの濃度がほぼ一定である。また
図6に示すようにカラー文字である場合には、高濃度部
分120aであっても、シアン、マゼンダおよびイエロ
ーの色成分に濃度差が生じる。背景が有彩無彩の場合で
も同様である。
In the character area, the normal character portion becomes the high density portion 120a. Therefore, as shown in FIG. 5, in the case of black characters, in the high density portion 120a, cyan,
The densities of magenta and yellow are almost constant. Further, as shown in FIG. 6, in the case of a color character, even in the high density portion 120a, a density difference occurs in the color components of cyan, magenta and yellow. The same is true when the background is chromatic and achromatic.

【0101】本発明に従えば、黒文字とカラー文字との
違いが明確な高濃度部分120aおよび低濃度部分12
0bの部分で、文字および背景の有彩無彩を判定するこ
とによって、いいかえると機械的振動による画像入力装
置の読取り誤差によって生じる対象画素領域の中間濃度
部分を除いて、色情報が安定した部分の画素で文字およ
び背景の有彩無彩を判定することによって、読取誤差に
よる影響を除去し、原稿画像に対する出力画像の再現性
を高め、良質な画像を得ることができる。たとえば原稿
画像の黒部分に対応する処理対象注目画素は、読取誤差
が補正され、有彩色でなく精度良く黒色として判定され
ることによって、原稿画像に対する再現性を高めること
ができる。また画素読取誤差によって入力画像データを
補正することができるので、読取精度の高い画像入力装
置を必要とせず、読取精度の低い画像入力装置から入力
される入力画像データであっても、簡単な構成によって
本来の画像を精度良く再現することができる。
According to the present invention, the high-density portion 120a and the low-density portion 12 where the difference between the black character and the color character is clear.
By determining the chromatic / achromatic state of the character and the background in the portion 0b, in other words, the portion where the color information is stable except for the intermediate density portion of the target pixel area caused by the reading error of the image input device due to mechanical vibration. By determining the chromatic / achromatic color of the character and the background with the pixel of, the influence of the reading error can be removed, the reproducibility of the output image with respect to the original image can be improved, and a high-quality image can be obtained. For example, the target pixel to be processed corresponding to the black portion of the original image is corrected for the reading error and is accurately determined to be black instead of chromatic color, whereby the reproducibility with respect to the original image can be improved. Further, since the input image data can be corrected by the pixel reading error, an image input device having high reading accuracy is not required, and even if the input image data is input from the image input device having low reading accuracy, a simple configuration is possible. The original image can be reproduced with high accuracy.

【0102】また、有彩無彩判定部の第1判定部である
注目画素色判定部113および第2判定部である高濃度
低濃度部分色判定部112の結果に基づいて、第3判定
部である総合判定部114が、処理対象注目画素が有彩
色であるか無彩色であるかを判定することによって、処
理対象注目画素の有彩無彩をより精度良く判定すること
ができる。これによってさらに入力画像に対する出力画
像の再現性を向上させることができ、高品質の出力画像
を得ることができる。
Further, based on the results of the pixel-of-interest color judging section 113 which is the first judging section of the chromatic / achromatic judging section and the high density / low density partial color judging section 112 which is the second judging section, the third judging section By determining whether the target pixel to be processed is a chromatic color or an achromatic color, the comprehensive determination unit 114 can more accurately determine the chromatic / achromatic color of the target pixel to be processed. Thereby, the reproducibility of the output image with respect to the input image can be further improved, and a high quality output image can be obtained.

【0103】図7は、本発明の実施の一形態である画像
処理装置3を含む画像形成装置1の構成を示すブロック
図である。画像形成装置1は、紙および紙以外の材料か
らなる記録用のシートを含む記録材に、画像を形成する
ための装置であって、画像入力装置2、画像処理装置3
および画像出力装置4を含んで構成される。
FIG. 7 is a block diagram showing the configuration of the image forming apparatus 1 including the image processing apparatus 3 according to the embodiment of the present invention. The image forming apparatus 1 is an apparatus for forming an image on a recording material including a recording sheet made of paper and a material other than paper, and includes an image input device 2 and an image processing device 3.
And an image output device 4.

【0104】画像入力装置2は、原稿に形成される画像
を読取るための装置であって、固体撮像素子、たとえば
蓄積電荷結合素子(charge coupled device:略称CC
D)を用いたイメージセンサを備えるスキャナ部を含ん
で構成される。画像入力装置2は、光源によって白色光
を原稿に照射して、原稿からの反射光の色、すなわち波
長と強度とを、CCDイメージセンサによって、主走査
方向および副走査方向に並ぶ複数の画素に分割して検出
して、原稿画像を読取り、各画素の色および強度によっ
て原稿画像を表す原稿画像データを、電気信号によって
画像処理装置3に与える。
The image input device 2 is a device for reading an image formed on a document, and is a solid-state image pickup device, for example, a charge coupled device (abbreviated as CC).
It is configured to include a scanner unit including an image sensor using D). The image input device 2 irradiates the original with white light from the light source, and reflects the color of reflected light from the original, that is, the wavelength and the intensity, into a plurality of pixels arranged in the main scanning direction and the sub-scanning direction by the CCD image sensor. The original image is read by being divided and detected, and original image data representing the original image by the color and intensity of each pixel is supplied to the image processing apparatus 3 by an electric signal.

【0105】原稿画像データは、3つの色成分であるレ
ッド、グリーンおよびブルーの濃度に対応する数値によ
って表され、レッドR’、グリーンG’およびブルー
B’信号として画像処理装置3に与えられる。レッド
R’信号は、原稿からのレッド色光の反射率を画素毎に
アナログで表す電気信号である。グリーンG’信号は、
原稿からの緑色光の反射率を画素毎にアナログで表す電
気信号である。ブルーB’信号は、原稿からの青色光の
反射率を画素毎にアナログで表す電気信号である。
The original image data is represented by numerical values corresponding to the densities of red, green and blue which are three color components, and is supplied to the image processing device 3 as red R ', green G'and blue B'signals. The red R ′ signal is an electric signal that represents the reflectance of red color light from the document in analog for each pixel. Green G'signal is
It is an electric signal that represents the reflectance of green light from the original in analog for each pixel. The blue B ′ signal is an electric signal that represents the reflectance of blue light from the document in analog for each pixel.

【0106】画像処理装置3は、画像出力時に原稿画像
の再現性を向上させることができるように、与えられる
画像データを補正する画像処理をするための装置であ
る。画像処理装置3は、アナログ/デジタル変換部(以
下、A/D変換部という)5、シェーディング補正部
6、入力階調補正部7、領域分離処理部8、色補正部
9、黒生成下色除去部10、空間フィルタ処理部11、
出力階調補正部12および階調再現処理部13を含んで
構成される。
The image processing device 3 is a device for performing image processing for correcting given image data so that the reproducibility of a document image can be improved at the time of image output. The image processing device 3 includes an analog / digital conversion unit (hereinafter referred to as an A / D conversion unit) 5, a shading correction unit 6, an input gradation correction unit 7, a region separation processing unit 8, a color correction unit 9, and a black generation undercolor. Removal unit 10, spatial filter processing unit 11,
The output gradation correction unit 12 and the gradation reproduction processing unit 13 are included.

【0107】A/D変換部5は、与えられるアナログ信
号をデジタル信号に変換する。A/D変換部5は、アナ
ログ信号であるレッドR’信号、グリーンG’信号およ
びブルーB’信号を、各画素毎に赤色光、緑色光および
青色光の反射率をデジタルで表すデジタル信号であるレ
ッドR信号、グリーンG信号およびブルーB信号にそれ
ぞれ変換する。A/D変換部5は、レッドR信号、グリ
ーンG信号およびブルーB信号を、シェーディング補正
部6に与える。
The A / D converter 5 converts the applied analog signal into a digital signal. The A / D conversion unit 5 converts the red R ′ signal, the green G ′ signal, and the blue B ′ signal, which are analog signals, into digital signals that digitally represent the reflectance of red light, green light, and blue light for each pixel. It is converted into a certain red R signal, green G signal and blue B signal, respectively. The A / D conversion unit 5 supplies the red R signal, the green G signal, and the blue B signal to the shading correction unit 6.

【0108】シェーディング補正部6は、レッドR信
号、グリーンG信号およびブルーB信号の表すデータに
含まれる歪み成分を取り除く処理をする。シェーディン
グ補正部6は、レッドR信号、グリーンG信号およびブ
ルーB信号に対して、画像入力装置2の照明系、結像光
学系および撮像系(受像系)で生じる各種の歪み成分を
取り除く処理をし、処理後のレッドR信号、グリーンG
信号およびブルーB信号を、入力階調補正部7に与え
る。
The shading correction section 6 removes the distortion component contained in the data represented by the red R signal, green G signal and blue B signal. The shading correction unit 6 removes various distortion components generated in the illumination system, the imaging optical system, and the imaging system (image receiving system) of the image input device 2 from the red R signal, the green G signal, and the blue B signal. Processed red R signal, green G
The signal and the blue B signal are supplied to the input gradation correction unit 7.

【0109】入力階調補正部7は、与えられる信号に対
して、その信号の表すデータのカラーバランスを整える
と同時に、画像処理をするときに扱いやすいデータの信
号に変換する。入力階調補正部7は、シェーディング補
正部6からのレッドR信号、グリーンG信号およびブル
ーB信号に対して、各反射率値をこれに基づいてカラー
バランスを整えるように補正するとともに、各色成分の
光の反射率値をレッド、グリーンおよびブルーである各
色成分の濃度値を表す信号に変換する。その後さらに、
入力階調補正部7は、レッド、グリーンおよびブルーの
濃度値で表される各画素の色を、これらの補色であるシ
アン、マゼンタおよびイエローの濃度値で表す信号、し
たがって各画素のシアンの濃度をデジタルで表すシアン
Cin信号、各画素のマゼンタの濃度をデジタルで表す
マゼンタMin信号および各画素のイエローの濃度をデ
ジタルで表すイエローYin信号に変換して、領域分離
処理部8に与える。シアンCin信号、マゼンタMin
信号およびイエローYin信号は、原稿画像を表すデジ
タル信号である。以下、シアンCin信号を「Cin信
号」、マゼンタMin信号を「Min信号」およびイエ
ローYin信号を「Yin信号」という場合がある。
The input tone correction section 7 adjusts the color balance of the data represented by the given signal, and at the same time, converts it into a signal of data which is easy to handle when performing image processing. The input tone correction unit 7 corrects the red R signal, the green G signal, and the blue B signal from the shading correction unit 6 so as to adjust the color balance on the basis of the reflectance values, and also corrects each color component. The reflectance value of the light is converted into a signal representing the density value of each color component of red, green and blue. After that,
The input tone correction unit 7 outputs a signal representing the color of each pixel represented by the density values of red, green, and blue by the density values of cyan, magenta, and yellow, which are complementary colors thereof, and thus the cyan density of each pixel. Is converted into a cyan Cin signal that represents digitally, a magenta Min signal that digitally represents the magenta density of each pixel, and a yellow Yin signal that digitally represents the yellow density of each pixel, and this is supplied to the area separation processing unit 8. Cyan Cin signal, Magenta Min
The signal and the yellow Yin signal are digital signals representing a document image. Hereinafter, the cyan Cin signal may be referred to as a “Cin signal”, the magenta Min signal may be referred to as a “Min signal”, and the yellow Yin signal may be referred to as a “Yin signal”.

【0110】領域分離処理部8は、与えられる画像デー
タによって表される原稿画像全体から補正の対象となる
補正対象画像部分を含む補正対象画像領域を抽出する。
領域分離処理部8は、入力階調補正部7からのCin信
号、Min信号およびYin信号に基づいて、原稿画像
データによって表される原稿画像の各画素を複数の画像
領域の構成要素として分離することによって補正対象画
像領域を抽出する。本実施の形態では、画像領域は、文
字を表す文字領域、網点で像を表す網点領域および写真
を表す写真領域である。領域画像処理部8は、入力階調
補正部7からのCin信号、Min信号およびYin信
号をそのまま色補正部9に与えるとともに、領域分離結
果に基づいて、各画素がどの画像領域に属すかを表す領
域識別信号を色補正部9、黒生成下色除去部10、空間
フィルタ処理部11および階調再現処理部13に与え
る。
The area separation processing section 8 extracts the correction target image area including the correction target image portion to be corrected from the entire original image represented by the given image data.
The area separation processing unit 8 separates each pixel of the original image represented by the original image data as a constituent element of a plurality of image areas based on the Cin signal, the Min signal, and the Yin signal from the input gradation correction unit 7. Thus, the correction target image area is extracted. In the present embodiment, the image area is a character area representing a character, a halftone area representing an image with halftone dots, and a photograph area representing a photograph. The area image processing unit 8 gives the Cin signal, the Min signal, and the Yin signal from the input gradation correction unit 7 to the color correction unit 9 as they are, and determines which image area each pixel belongs to based on the area separation result. The area identification signal is applied to the color correction unit 9, the black generation undercolor removal unit 10, the spatial filter processing unit 11, and the gradation reproduction processing unit 13.

【0111】色補正部9は、画像出力時に原稿画像の再
現性を向上することができるように、不要吸収成分を含
むシアン、マゼンタおよびイエローの各色材の分光特性
に基づく色濁りを取り除く処理をする。色補正部9は、
補正後の色成分を表すC”信号、M”信号およびY”信
号を黒生成下色除去部10に与える。
The color correction unit 9 performs a process for removing color turbidity based on the spectral characteristics of each of the cyan, magenta, and yellow color materials containing unnecessary absorption components so that the reproducibility of the original image at the time of image output can be improved. To do. The color correction unit 9
The C ″ signal, the M ″ signal, and the Y ″ signal representing the corrected color component are supplied to the black generation undercolor removal unit 10.

【0112】黒生成下色除去部10は、与えられるシア
ン、マゼンタおよびイエローの色成分の濃度値に基づい
て、黒を生成する黒生成処理およびシアン、マゼンタお
よびイエローの色成分から黒生成処理で得られる黒の色
成分を差し引いて、新たなシアン、マゼンタおよびイエ
ローの色成分の濃度値を求める下色除去(UnderColor R
emoval:略称UCR)処理をする。色補正部9による補
正後の色成分を表すシアンC”信号、マゼンタM”信号
およびイエローY”信号の3色の信号は、黒生成下色除
去部10による処理によって、シアンC信号、マゼンタ
M信号、イエローY信号および黒K信号の4色の信号に
変換される。以下、シアンC信号を「C信号」、マゼン
タM信号を「M信号」、イエローY信号を「Y信号」お
よび黒K信号を「K信号」という場合がある。黒生成処
理の一例として、スケルトンブラックによる黒生成の方
法が挙げられる。この方法では、スケルトンカーブの入
出力特性を表す関数をy=f(x)で表し、入力される
値をC”信号、M”信号およびY”信号の表す色成分で
表し、C”信号、M”信号およびY”信号の表す色成分
の濃度値の下色除去率をα(0<α<1)とすると、黒
生成処理および下色除去処理後のシアン、マゼンタ、イ
エローおよび黒の色成分は、以下の式(1)によって求
められる。黒生成下色除去部10は、黒生成および下色
除去後のC信号、M信号、Y信号およびK信号を、空間
フィルタ処理部11に与える。 K=f{min(C”, M”, Y”)} C=C” −αK M=M” −αK …(1) Y=Y” −αK
The black generation undercolor removal unit 10 performs a black generation process for generating black and a black generation process for the cyan, magenta, and yellow color components on the basis of the density values of the given cyan, magenta, and yellow color components. Undercolor removal (UnderColor R) that subtracts the obtained black color component and obtains the density values of the new cyan, magenta, and yellow color components
emoval: Abbreviated as UCR) processing. The signals of the three colors, that is, the cyan C ″ signal, the magenta M ″ signal, and the yellow Y ″ signal, which represent the color components corrected by the color correction unit 9, are processed by the black generation lower color removal unit 10 to obtain a cyan C signal and a magenta M signal. Signal, a yellow Y signal, and a black K signal are converted into four color signals: a cyan C signal is a “C signal”, a magenta M signal is a “M signal”, a yellow Y signal is a “Y signal”, and a black K signal. The signal may be referred to as a “K signal”. As an example of the black generation processing, a black generation method using skeleton black can be mentioned. In this method, the function representing the input / output characteristics of the skeleton curve is represented by y = f (x), the input value is represented by the color components represented by the C ″ signal, the M ″ signal and the Y ″ signal, and the C ″ signal, When the undercolor removal rate of the density values of the color components represented by the M "signal and the Y" signal is α (0 <α <1), the colors of cyan, magenta, yellow, and black after the black generation process and the undercolor removal process are performed. The component is calculated by the following equation (1). The black generation / undercolor removal unit 10 supplies the spatial filter processing unit 11 with the C signal, M signal, Y signal, and K signal after black generation and undercolor removal. K = f {min (C ", M", Y ")} C = C" -αK M = M "-αK (1) Y = Y" -αK

【0113】空間フィルタ処理部11は、画像データに
対して、領域識別信号に基づいて各画像領域の空間周波
数特性を補正することによって、出力画像のぼやけおよ
び粒状性劣化を防ぐように、デジタルフィルタを用いる
空間フィルタ処理をする。出力階調補正部12は、与え
られる信号を、画像出力するときに画像出力装置4の特
性値を表す信号に変換する処理をする。
The spatial filter processing section 11 corrects the spatial frequency characteristic of each image area on the image data based on the area identification signal to prevent blurring and graininess deterioration of the output image. Perform spatial filtering using. The output gradation correction unit 12 performs a process of converting a given signal into a signal representing a characteristic value of the image output device 4 when outputting an image.

【0114】階調再現処理部13は、与えられる信号に
基づいて、画像を出力するための階調再現処理をする。
The gradation reproduction processing section 13 performs gradation reproduction processing for outputting an image based on the given signal.

【0115】たとえば領域分離処理部8によって抽出さ
れた文字領域の画像データは、画像出力時に文字の再現
性を向上させるように、空間フィルタ処理部11による
空間フィルタ処理によって、高周波数の強調量を大きく
される。その後文字領域の画像データは、階調再現処理
部13において、高域の周波数の再現に適した高解像度
のスクリーンによって、二値化または多値化処理され
る。
For example, the image data of the character area extracted by the area separation processing unit 8 is subjected to a high-frequency emphasis amount by the spatial filter processing by the spatial filter processing unit 11 so as to improve the reproducibility of characters at the time of image output. Be made bigger. After that, the image data in the character area is binarized or multivalued in the gradation reproduction processing unit 13 by a high-resolution screen suitable for reproducing frequencies in a high range.

【0116】領域分離処理部8によって抽出された網点
領域の画像データは、空間フィルタ処理部11におい
て、入力網点成分を除去するためのローパスフィルタを
用いて処理される。さらに網点領域の画像データは、出
力階調補正部12において、濃度値などが表す信号を画
像出力装置4の特性値である網点面積率に変換された
後、階調再現処理部13において、最終的に画像を画素
に分離して、それぞれの階調を再現できるように処理さ
れる。
The image data of the halftone dot area extracted by the area separation processing unit 8 is processed by the spatial filter processing unit 11 using a low pass filter for removing the input halftone dot component. Further, the image data of the halftone dot area is converted into a halftone dot area ratio, which is a characteristic value of the image output device 4, in the output gradation correction unit 12, and then in the gradation reproduction processing unit 13. Finally, the image is separated into pixels and processed so that each gradation can be reproduced.

【0117】領域分離処理部8によって抽出された写真
領域の画像データは、階調再現処理部13において、階
調再現性を重視したスクリーンによって、二値化または
多値化処理される。階調再現処理部13による処理後の
画像データは、記憶手段に一旦記憶されて、所定のタイ
ミングで記憶手段から読み出されて画像出力装置4に与
えられる。なお、以上の処理は不図示のCPU(Centra
l Processing Unit)により制御される。
The image data of the photographic area extracted by the area separation processing section 8 is binarized or multivalued by the screen in which the gradation reproducibility is emphasized in the gradation reproduction processing section 13. The image data processed by the gradation reproduction processing unit 13 is temporarily stored in the storage unit, read from the storage unit at a predetermined timing, and given to the image output device 4. The above processing is performed by a CPU (Centra, not shown).
l Processing Unit).

【0118】画像出力装置4は、画像処理装置3によっ
て画像処理された画像データに基づいて、画像を記録材
に形成するための装置である。画像出力装置4の例とし
て、たとえば電子写真方式およびインクジェット方式を
用いたカラープリンタなどを挙げることができるが、特
に限定されるものではない。
The image output device 4 is a device for forming an image on a recording material on the basis of the image data image-processed by the image processing device 3. Examples of the image output device 4 include, but are not particularly limited to, a color printer using an electrophotographic method and an inkjet method.

【0119】図8は、領域分離処理部8の構成を示すブ
ロック図である。領域分離処理部8は、領域判定部20
および文字領域判定部21を含んで構成される。領域判
定部20は、入力階調補正部7からの原稿画像データを
表すシアンCin信号、マゼンタMin信号およびイエ
ローYin信号に基づいて、原稿画像データが表す原稿
画像の各画素が文字領域、網点領域および写真領域のど
の画像領域に属するかを判定する。また領域判定部20
は、原稿画像を各画像領域に分離、すなわち各画素毎
に、どの画像領域に属するかを表す識別データを与え、
この識別データを表す領域識別信号を色補正部9、黒生
成下色除去部10、空間フィルタ処理部11、階調再現
処理部13および文字領域判定部21に与える。領域識
別信号は、領域判定された画素が文字領域に属すること
を表す文字領域識別信号と、領域判定された画素が網点
領域に属することを表す網点領域識別信号と、領域判定
された画素が写真領域に属することを表す写真領域識別
信号とを含む信号である。
FIG. 8 is a block diagram showing the structure of the area separation processing section 8. The area separation processing unit 8 includes the area determination unit 20.
And a character area determination unit 21. Based on the cyan Cin signal, the magenta Min signal, and the yellow Yin signal representing the original image data from the input gradation correction unit 7, the area determination unit 20 determines that each pixel of the original image represented by the original image data is a character area or a halftone dot. It is determined which image area of the area and the photograph area it belongs to. In addition, the area determination unit 20
Separates the original image into image areas, that is, gives identification data indicating to which image area each pixel belongs,
An area identification signal representing this identification data is given to the color correction section 9, the black generation undercolor removal section 10, the spatial filter processing section 11, the gradation reproduction processing section 13, and the character area determination section 21. The area identification signal includes a character area identification signal indicating that the area-determined pixel belongs to the character area, a halftone area identification signal indicating that the area-determined pixel belongs to the halftone area, and the area-determined pixel Is a signal including a photograph area identification signal indicating that the symbol belongs to the photograph area.

【0120】領域判定部20は、少なくとも文字領域の
画像データを含む原稿画像データと、文字領域識別信号
とを文字領域判定部21に与える。また領域判定部20
は、網点領域識別信号および写真領域識別信号を色補正
部9、黒生成下色除去部10、空間フィルタ処理部11
および階調再現処理部13に与える。文字領域判定部2
1は、領域判定部20によって原稿画像データと文字領
域識別信号とに基づいて、文字部分を抽出する。
The area determination unit 20 supplies the original image data including at least the image data of the character area and the character area identification signal to the character area determination unit 21. In addition, the area determination unit 20
Is a color correction unit 9, a black generation undercolor removal unit 10, a spatial filter processing unit 11 for the halftone dot area identification signal and the photograph area identification signal.
And to the gradation reproduction processing unit 13. Character area determination unit 2
In the area 1, the area determination unit 20 extracts a character portion based on the document image data and the character area identification signal.

【0121】原稿画像は、以下の方法を用いて、文字領
域、網点領域および写真領域の画像データに、領域判定
部20によって分離され、抽出される。領域判定部20
は、原稿画像データの任意の画素である処理対象注目画
素(以下単に注目画素と呼ぶ)を中心に、主走査方向お
よび副走査方向に自然数個の画素を含む領域、すなわち
M×N個の画素を含むブロックをとり、このブロック内
の画素のデータに基づいて、注目画素がどの領域に属す
るかを判定する。MまたNは、自然数であって相互に同
一であってもよいし、異なっていてもよい。
The original image is separated and extracted by the area determining unit 20 into image data of a character area, a halftone dot area and a photographic area using the following method. Area determination unit 20
Is a region including a natural number of pixels in the main scanning direction and the sub-scanning direction, that is, M × N pixels, centering on a processing target pixel (hereinafter simply referred to as a target pixel) that is an arbitrary pixel of the original image data. Is taken, and to which region the pixel of interest belongs is determined based on the data of the pixels in this block. M and N are natural numbers and may be the same or different from each other.

【0122】その判定結果は、注目画素の領域識別信号
として用いられる。ブロックに含まれる画素において、
画素の濃度である信号がもつ値(以下、「信号レベル」
という場合がある)の最大値および最小値を求めて、最
大値を最大画素信号レベルDmax、最小値を最小画素
信号レベルDminとする。ブロックに含まれる画素の
うち、注目画素と注目画素の周囲にある8個の画素とを
合わせた9個の画素の信号レベルの平均値Daveを求
める。この平均値Daveをしきい値として用いて、ブ
ロックの画像が各画素の信号レベルを0(しきい値未
満)と1(しきい値以上)とに置換えられて二値化され
る。
The determination result is used as a region identification signal of the pixel of interest. In the pixels included in the block,
The value of a signal that is the density of a pixel (hereinafter, "signal level"
The maximum value and the minimum value are obtained, and the maximum value is set as the maximum pixel signal level Dmax, and the minimum value is set as the minimum pixel signal level Dmin. Among the pixels included in the block, the average value Dave of the signal levels of nine pixels including the pixel of interest and eight pixels around the pixel of interest is calculated. Using this average value Dave as a threshold value, the image of the block is binarized by replacing the signal level of each pixel with 0 (less than the threshold value) and 1 (above the threshold value).

【0123】このような二値化処理後、まず注目画素
が、網点領域に属する画素であるか否かを判定する。網
点領域では、下地に、下地と大きく濃度値の異なる複数
の点(網点)を配置して、たとえば下地に対して網点の
信号レベルが大きい画像が形成されており、ブロック内
の各画素の信号レベルが主走査方向および副走査方向
に、隣接する画素間で大きく変化するとともに、主走査
方向および副走査方向に関して、隣接する画素間での信
号レベルの変化の回数が多い。領域判定部20は、この
ような条件を満たすブロックの注目画素を網点領域に属
する画素であると判定する。網点を表す画素と下地を表
す画素との誤判定が生じないように、最大画素信号レベ
ルDmaxと平均値Daveとの差が、しきい値B1
比較され、平均値Daveと最小画素信号レベルDmi
nとの差が、しきい値B2と比較される。主走査方向に
おいて、二値化された各画素の信号レベルが、0から1
および1から0に変化する点の数KHが求められ、その
変化点数KHがしきい値THと比較される。副走査方向に
おいて、二値化された各画素の信号レベルが、0から1
および1から0に変化する点の数KVが求められ、その
変化点数KVがしきい値T Vと比較される。最大画素信号
レベルDmaxと平均値Daveとの差と、平均値Da
veと最小画素信号レベルDminとの差と、変化点数
Hと、変化点数KVとをしきい値と比較して、以下の条
件を用いて、注目画素が属する画像領域を判定する。 Dmax−Dave>B1かつDave−Dmin>B2 かつKH>THかつKV>TV … 網点領域 上の条件以外 … 非網点領域
After such binarization processing, first, the pixel of interest
Is a pixel belonging to the halftone dot area. network
In the point area, the background has a plurality of density values that differ greatly from the background.
The dots (dots) of
An image with a high signal level is formed and
The signal level of each pixel in the main scanning direction and the sub scanning direction
, There is a large change between adjacent pixels, and main scanning
Between adjacent pixels in the vertical and sub-scanning directions.
There are many changes in the issue level. The area determination unit 20
The pixel of interest of the block that satisfies the condition
It is determined that the pixel is a pixel that does. Display the pixels that represent halftone dots and the background
The maximum pixel signal level is
The difference between the maximum Dmax and the average value Dave is the threshold value B1When
The average value Dave and the minimum pixel signal level Dmi are compared.
The difference from n is the threshold value B2Compared to. In the main scanning direction
, The signal level of each binarized pixel is from 0 to 1
And the number of points K changing from 1 to 0HIs required
Change points KHIs the threshold THCompared to. In the sub-scanning direction
, The signal level of each binarized pixel is from 0 to 1
And the number of points K changing from 1 to 0VIs required
Change points KVIs the threshold T VCompared to. Maximum pixel signal
The difference between the level Dmax and the average value Dave, and the average value Da
The difference between ve and the minimum pixel signal level Dmin, and the number of change points
KHAnd the number of changes KVCompare and with the threshold and compare
The image area to which the pixel of interest belongs is determined using the condition. Dmax-Dave> B1And Dave-Dmin> B2 And KH> THAnd KV> TV  ... halftone dot area Other than the above conditions ... Non-dot area

【0124】注目画素が網点領域に属する画素であるか
否かの判定の条件には、最大画素信号レベルDmaxと
平均値Daveとの差が、しきい値B1よりも大きいと
いう条件と、平均値Daveと最小画素信号レベルDm
inとの差が、しきい値B2よりも大きいという条件
と、主走査方向の変化点数KHが、しきい値THよりも大
きいという条件と、副走査方向の変化点数KVが、しき
い値TVよりも大きいという条件とがあり、これらの条
件をすべて満たす場合、注目画素が網点領域に属する画
素であると判定される。これらの条件のうち、ひとつで
も満たない条件がある場合、注目画素は、文字領域およ
び写真領域である非網点領域に属する画素であると判定
される。
The conditions for determining whether or not the pixel of interest is a pixel belonging to the halftone dot area are that the difference between the maximum pixel signal level Dmax and the average value Dave is larger than the threshold value B 1 . Average value Dave and minimum pixel signal level Dm
The condition that the difference from in is larger than the threshold value B 2 , the condition that the number of changing points K H in the main scanning direction is larger than the threshold value T H, and the number of changing points K V in the sub scanning direction are: There is a condition that it is larger than the threshold value T V, and when all of these conditions are satisfied, it is determined that the pixel of interest belongs to the halftone dot area. If any of these conditions is not satisfied, the pixel of interest is determined to be a pixel belonging to the non-halftone dot region that is the character region and the photograph region.

【0125】注目画素が非網点領域に属する画素である
と判定された場合、注目画素が、文字領域および写真領
域のどちらに属する画素であるか判定する。文字領域で
は、最大画素信号レベルDmaxと最小画素信号レベル
Dminとの差が大きく、文字領域に属する画素の信号
レベルも全体的に高いと考えられるので、以下の条件を
用いて、注目画素が属する画像領域を判定する。 Dmax>PAまたはDmin<PBまたは DmaxとDminとの差分Dsub>PC … 文字
領域 上の条件以外 … 写真領域
When it is determined that the pixel of interest belongs to the non-halftone dot area, it is determined whether the pixel of interest belongs to the character area or the photograph area. In the character area, the difference between the maximum pixel signal level Dmax and the minimum pixel signal level Dmin is large, and the signal level of the pixels belonging to the character area is considered to be high as a whole. Therefore, the target pixel belongs using the following conditions. Determine the image area. Dmax> P A or Dmin <P B or the difference between Dmax and Dmin Dsub> P C ... Other than the conditions on the character area ... Photo area

【0126】注目画素が、文字領域に属する画素である
か否かを判定する条件には、最大画素信号レベルDma
xが、しきい値PAよりも大きいという条件と、最小画
素信号レベルDminが、しきい値PBよりも小さいと
いう条件と、最大画素信号レベルDmaxと最小画素信
号レベルDminとの差分Dsubが、しきい値PC
りも大きいという条件とがあり、これらの条件のうち少
なくとも1つの条件を満たす場合、注目画素が文字領域
に属する画素であると判定される。これらの条件をすべ
て満たさない場合、すなわちすべてしきい値以下である
場合、注目画素は、写真領域に属する画素であると判定
される。ある注目画素の領域判定が終了した後、他の画
素を新たな注目画素として、新たな注目画素を中心にM
×N個の画素を含むブロックをとり、前述の画像領域の
判定をする。このような領域判定が原稿画像の全ての画
素について、注目画素にあてはめて、領域判定される。
The maximum pixel signal level Dma is a condition for determining whether or not the pixel of interest is a pixel belonging to the character area.
The condition that x is larger than the threshold P A , the condition that the minimum pixel signal level Dmin is smaller than the threshold P B , and the difference Dsub between the maximum pixel signal level Dmax and the minimum pixel signal level Dmin are , And the condition that it is larger than the threshold value P C , and if at least one of these conditions is satisfied, the pixel of interest is determined to be a pixel belonging to the character area. When all of these conditions are not satisfied, that is, when all of them are equal to or less than the threshold value, the pixel of interest is determined to be a pixel belonging to the photograph area. After the region determination of a certain pixel of interest is completed, another pixel is set as a new pixel of interest, and M
A block including × N pixels is taken and the above-mentioned image area is determined. Such area determination is applied to all the pixels of the original image to the pixel of interest, and area determination is performed.

【0127】領域判定部20は、文字領域に属すると判
定された画素が原稿画像のどの画素であるかを表す文字
領域識別信号を、文字領域判定部21に与え、網点およ
び写真領域に属すると判定された画素が原稿画像のどの
画素であるかを表す網点および写真領域識別信号を、色
補正部9に与える。
The area determination unit 20 gives a character area identification signal indicating which pixel of the original image the pixel determined to belong to the character area to the character area determination unit 21 and belongs to the halftone dot and photograph area. A halftone dot and a photograph area identification signal indicating which pixel of the original image the pixel determined to be are given to the color correction unit 9.

【0128】文字領域判定部21は、文字領域識別信号
に基づいて、文字領域から、文字部分を抽出する手段で
あって、エッジ判定部22、色判定部23および色文字
判定部24を含んで構成される。エッジ判定部22は、
隣接する画素との間の急峻な信号レベルの変化、すなわ
ち急峻な濃度変化を示すエッジ部にあたる画素を検出す
る手段であって、領域判定部20からの文字領域識別信
号に基づいて、文字領域に属する画素がエッジ部に属す
るか否かを判定して、その判定結果を表すエッジ判定信
号を色文字判定部24に与える。このエッジ部が文字部
分と背景部分との境界となる。エッジ判定部によって、
文字部分および背景部分を判定することによって、画像
の文字部分と背景部分との色が有彩色であるか無彩色で
あるかをより精度良く判定することができる。
The character area determination unit 21 is means for extracting a character portion from the character area based on the character area identification signal, and includes an edge determination unit 22, a color determination unit 23, and a color character determination unit 24. Composed. The edge determination unit 22 is
A means for detecting a pixel corresponding to an edge portion showing a sharp change in signal level between adjacent pixels, that is, a sharp change in density, which is based on a character area identification signal from the area determination unit 20 It is determined whether or not the pixel to which the pixel belongs belongs to the edge portion, and an edge determination signal representing the determination result is given to the color character determination unit 24. This edge portion serves as a boundary between the character portion and the background portion. By the edge determination unit,
By determining the character portion and the background portion, it is possible to more accurately determine whether the color of the character portion and the background portion of the image is chromatic or achromatic.

【0129】色判定部23は、画素が有彩色を表す画素
であるか、無彩色を表す画素であるかの判定をする手段
であって、図1に示すような構成を有する。色判定部2
3は、領域判定部20からの文字領域識別信号に基づい
て、文字領域に属する画素が、有彩色を表す画素である
か否かの判定をして、その判定結果を表す有彩判定信号
を色文字判定部24に与える。色文字判定部24は、エ
ッジ判定部22および色判定部23の判定結果に基づい
て、文字領域に属する画素が、有彩色の文字部分である
か、無彩色の文字部分であるか、色ずれを生じた文字部
分であるかを判定する手段である。
The color judging section 23 is means for judging whether the pixel is a pixel representing a chromatic color or a pixel representing an achromatic color, and has a structure as shown in FIG. Color determination unit 2
3 determines whether or not the pixel belonging to the character area is a pixel representing a chromatic color based on the character area identification signal from the area determining unit 20, and outputs a chromatic determination signal representing the result of the determination. It is given to the color character determination unit 24. Based on the determination results of the edge determination unit 22 and the color determination unit 23, the color character determination unit 24 determines whether the pixel belonging to the character region is a chromatic character portion, an achromatic character portion, or a color shift. Is a means for determining whether or not it is a character portion that has occurred.

【0130】色文字判定部24では、以下の条件基づい
て、画素が色文字部分および黒文字部分であると判定さ
れる。 (エッジ)かつ(有彩色) → 色文字部分 (エッジ)かつ(無彩色) → 黒文字部分 (エッジ)かつ(色ずれ) → 色ずれ文字
In the color character determining section 24, it is determined that the pixel is a color character portion and a black character portion based on the following conditions. (Edge) and (chromatic color) → colored character part (edge) and (achromatic color) → black character part (edge) and (color shift) → color shift character

【0131】色文字判定部24では、注目画素がエッジ
部であるとエッジ判定部22によって判定され、注目画
素が有彩色を表す画素であると色判定部23によって判
定される場合、注目画素が色文字部分であると判定さ
れ、注目画素がエッジ部であるとエッジ判定部22によ
って判定され、注目画素が無彩色を表す画素であると色
判定部23によって判定される場合、注目画素が黒文字
部分であると判定されて、その判定結果である色文字判
定信号が色補正部9に与えられる。
In the color / character determination unit 24, when the edge determination unit 22 determines that the pixel of interest is an edge portion, and when the color determination unit 23 determines that the pixel of interest represents a chromatic color, the pixel of interest is When it is determined that the pixel of interest is a color character portion, the edge determination unit 22 determines that the target pixel is an edge portion, and the color determination unit 23 determines that the target pixel is an achromatic color pixel, the target pixel is a black character. It is determined to be a portion, and the color character determination signal which is the determination result is given to the color correction unit 9.

【0132】また色文字判定部24は、前記エッジ判定
部22および前記色判定部23の判定結果に基づいて、
処理対象注目画素が、色文字、黒文字および色ずれ文字
のいずれであるか判定するとともに、色ずれ文字と判定
される処理対象注目画素の数を求め、算出結果を報知手
段60に与える。
Further, the color character judging section 24, based on the judgment results of the edge judging section 22 and the color judging section 23,
It is determined whether the target pixel to be processed is a color character, a black character, or a color-shifted character, the number of target pixels to be processed that are determined to be color-shifted characters is calculated, and the calculation result is given to the notification unit 60.

【0133】報知手段60は、色ずれ文字である処理対
象注目画素の数が、予め定めるしきい値以上の場合、色
ずれ文字である処理対象注目画素が存在することを報知
する。色文字判定部24がカウントする色ずれ画素数を
count_errorとすると、色ずれ画素数は、次
式となる。
When the number of target pixels to be processed which are color-shifted characters is equal to or larger than a predetermined threshold value, the notification means 60 notifies that the target pixel to be processed which is a color-shifted character exists. When the color misregistration pixel number counted by the color / character determination unit 24 is count_error, the color misregistration pixel number is given by the following equation.

【0134】[0134]

【数13】 [Equation 13]

【0135】したがって前記色ずれ画素数が予め定める
しきい値THerrorよりも値が大きい場合、つまり
次式となる場合には、count_error>THe
rror色ずれが生じていることを判定することがで
き、色ずれが生じていることを示す情報を報知手段60
がユーザに報知する。これによって色ずれが生じるよう
な画像入力装置に何らかのトラブルが想定していること
をユーザに対して注意または修理を施すことができる指
標に利用することができる。またしきい値THerro
rは、予め画像入力装置の性能を測定して設定すること
ができる。または、黒文字として検出された画素数をc
ount_bktxtとして、黒文字画素数に対する画
素ずれの割合をしきい値処理することによって、画像入
力装置のトラブルを検出することも可能である。すなわ
ち画素ぶれの割合のしきい値THerror_rati
oを超えたか否かを判定することによって、画像入力装
置のトラブルを検出することも可能である。たとえば次
式を充たした場合に画像入力装置にトラブルが生じてい
ると判定してもよい。
Therefore, when the number of color-shifted pixels is larger than the predetermined threshold value THerror, that is, when the following equation is satisfied, count_error> THe
It is possible to determine that a color shift has occurred, and the notification means 60 provides information indicating that a color shift has occurred.
Informs the user. This can be used as an index that allows the user to be warned or repaired by assuming that some trouble is expected in the image input device that causes color misregistration. The threshold value THerro
r can be set in advance by measuring the performance of the image input device. Alternatively, the number of pixels detected as a black character is c
It is also possible to detect a trouble of the image input device by thresholding the ratio of pixel deviation to the number of black character pixels as the number of out_bktxt. That is, the threshold value of the rate of pixel blurring THerror_rati
It is also possible to detect a trouble in the image input device by determining whether or not the value exceeds o. For example, when the following expression is satisfied, it may be determined that a trouble has occurred in the image input device.

【0136】[0136]

【数14】 [Equation 14]

【0137】報知手段60は、たとえば液晶ディスプレ
イよりなる表示部と設定ボタンなどによって構成される
操作パネルであってもよく、またLED(Light Emitti
ngDiode:発光ダイオード)などによって構成される警
報ランプであってもよく、これらの報知手段に色ずれ情
報を示す表示を行う。また報知手段は、ユーザに報知す
る手段であればよく、たとえばブザーなどであってもよ
い。
The notification means 60 may be, for example, an operation panel composed of a display section composed of a liquid crystal display and setting buttons, and may also be an LED (Light Emitti).
ngDiode: light emitting diode) or the like, and an alarm lamp configured to display color misregistration information may be displayed. The notification means may be any means that notifies the user, and may be, for example, a buzzer.

【0138】図9は、領域分離処理部8に含まれるエッ
ジ判定部22の構成を示すブロック図である。図10
は、エッジ部検出用のフィルタを示す図であって、図1
0(1)は、主走査方向のゾーベルフィルタ40を示
し、図10(2)は、副走査方向のゾーベルフィルタ4
1を示す。エッジ判定部22は、主走査ゾーベルフィル
タ部30、副走査ゾーベルフィルタ部31、各色絶対値
算出部32、各色加算器33、各色比較器34、加算器
35および比較器36を含んで構成される。エッジ判定
部22は、エッジを検出するためのフィルタを用いて、
画素が文字部分であるエッジ部であるか否かの判定をす
る。画素がエッジ部であるか否かの判定は、シアン、マ
ゼンタおよびイエローの色成分ごとにされる。主走査ゾ
ーベルフィルタ部30、副走査ゾーベルフィルタ部3
1、各色絶対値算出部32、各色加算器33および各色
比較器34の処理は、シアン、マゼンタおよびイエロー
の色成分において、同じ処理であるので具体的な処理の
説明はシアンの色成分についてだけする。マゼンタ、イ
エローに関しても同様の手段を有する。
FIG. 9 is a block diagram showing the configuration of the edge determination section 22 included in the area separation processing section 8. Figure 10
FIG. 1 is a diagram showing a filter for edge detection, and FIG.
0 (1) shows the Sobel filter 40 in the main scanning direction, and FIG. 10 (2) shows the Sobel filter 4 in the sub-scanning direction.
1 is shown. The edge determination unit 22 includes a main scanning Sobel filter unit 30, a sub-scanning Sobel filter unit 31, each color absolute value calculation unit 32, each color adder 33, each color comparator 34, an adder 35, and a comparator 36. To be done. The edge determination unit 22 uses a filter for detecting edges,
It is determined whether or not the pixel is an edge portion that is a character portion. Whether or not the pixel is an edge portion is determined for each of the cyan, magenta, and yellow color components. Main scanning Sobel filter unit 30, sub-scanning Sobel filter unit 3
1. The processing of each color absolute value calculation unit 32, each color adder 33, and each color comparator 34 is the same for the cyan, magenta, and yellow color components, so a specific description will be given only for the cyan color component. To do. The same means is used for magenta and yellow.

【0139】ある画素を注目画素として、注目画素を中
心とする主走査方向および副走査方向に所定数の画素を
有するマスク、たとえば7×7マスクが、図示しないラ
インメモリから読み出され、さらに7×7マスクから注
目画素を中心とする3×3マスクが抽出される。マスク
は、複数の画素を含む局所領域を表し、たとえば3×3
マスクは、画素が3行3列に並んで形成される局所領域
を表す。
A mask having a certain number of pixels in the main scanning direction and the sub-scanning direction with the pixel of interest as the pixel of interest, for example, a 7 × 7 mask, is read out from a line memory (not shown), and further 7 A 3 × 3 mask centered on the pixel of interest is extracted from the × 7 mask. The mask represents a local area including a plurality of pixels, and is, for example, 3 × 3.
The mask represents a local region in which pixels are arranged in 3 rows and 3 columns.

【0140】主走査ゾーベルフィルタ部30において、
シアンCin信号が与えられると、注目画素の主走査方
向の差分値を求めるための主走査方向のゾーベルフィル
タ40が3×3マスクに畳み込まれる。畳み込み処理
は、具体的には、3×3マスクの1行1列目の画素の値
と、主走査ゾーベルフィルタ40の1行1列目の画素4
2aの値とを積算する。同様に1行2列目の画素の値
と、主走査方向のゾーベルフィルタ40の1行2列目の
画素43aの値とを積算する。さらに3×3マスクの他
の画素の値と対応する主走査ゾーベルフィルタ40の画
素の値とを積算し、積算して求められた値の総和を求め
て差分値とする。副走査ゾーベルフィルタ部31におい
て、シアンCin信号が与えられると、注目画素の副走
査方向の差分値を求めるための副走査方向のゾーベルフ
ィルタ41が3×3マスクに畳み込まれる。主走査ゾー
ベルフィルタ部30の処理と同様に、副走査ゾーベルフ
ィルタ部31で3×3マスクの画素の値と、対応する副
走査方向のゾーベルフィルタ41の画素の値とを積算し
て求めた値の和を求めて、注目画素の各走査方向の差分
値が求められる。
In the main scanning Sobel filter section 30,
When the cyan Cin signal is given, the Sobel filter 40 in the main scanning direction for obtaining the difference value in the main scanning direction of the target pixel is convoluted with the 3 × 3 mask. Specifically, the convolution processing is performed by the value of the pixel in the first row and the first column of the 3 × 3 mask and the pixel 4 in the first row and the first column of the main scanning Sobel filter 40.
The value of 2a is integrated. Similarly, the value of the pixel in the first row and the second column and the value of the pixel 43a in the first row and the second column of the Sobel filter 40 in the main scanning direction are integrated. Further, the values of the other pixels of the 3 × 3 mask and the values of the corresponding pixels of the main scanning Sobel filter 40 are integrated, and the sum of the values obtained by the integration is calculated to obtain a difference value. In the sub-scanning Sobel filter unit 31, when the cyan Cin signal is supplied, the sub-scanning direction Sobel filter 41 for obtaining the difference value of the pixel of interest in the sub-scanning direction is convoluted into the 3 × 3 mask. Similar to the process of the main scanning Sobel filter unit 30, the sub scanning Sobel filter unit 31 integrates the pixel value of the 3 × 3 mask and the corresponding pixel value of the Sobel filter 41 in the sub scanning direction. By obtaining the sum of the obtained values, the difference value of the target pixel in each scanning direction is obtained.

【0141】各走査方向のゾーベルフィルタ40,41
が、3×3マスクに畳み込まれた結果は、各色絶対値算
出部32に与えられる。各色絶対値算出部32では、各
走査方向のゾーベルフィルタ40,41が3×3マスク
に畳込まれた結果の絶対値が、各色絶対値算出部32に
よって求められ、各色加算器33に与えられる。各色加
算器33では各走査方向のゾーベルフィルタ40,41
が3×3マスクに畳込まれた結果の加算値が、各色加算
器33によって求められ、加算値が各色比較器34に与
えられる。各走査方向のゾーベルフィルタ40,41が
3×3マスクに畳込まれた結果の絶対値を求める処理
は、各走査方向ゾーベルフィルタ40,41に負の係数
が存在することを考慮する処理であって、加算値を求め
る処理は、主走査方向と副走査方向との両方の結果を考
慮するための処理である。
Sobel filters 40, 41 in each scanning direction
However, the result of convolution with the 3 × 3 mask is given to each color absolute value calculation unit 32. In each color absolute value calculation unit 32, the absolute value of the result obtained by convoluting the Sobel filters 40 and 41 in each scanning direction into the 3 × 3 mask is obtained by each color absolute value calculation unit 32 and given to each color adder 33. To be In each color adder 33, the Sobel filters 40, 41 in each scanning direction are used.
Is added to the 3 × 3 mask to obtain an added value, which is obtained by each color adder 33, and the added value is given to each color comparator 34. The process of obtaining the absolute value of the result obtained by convolving the Sobel filters 40 and 41 in each scanning direction with the 3 × 3 mask is a process that considers that negative coefficients are present in each Sobel filter 40 and 41 in the scanning direction. The process for obtaining the added value is a process for considering the results in both the main scanning direction and the sub scanning direction.

【0142】各色比較器34は、上記加算値を、予め定
めるしきい値edgeTHと比較して、加算値がしきい
値以上であれば、「1」を表す信号を加算器35に与
え、しきい値よりも小さければ、「0」を表す信号を加
算器35に与える。
Each color comparator 34 compares the added value with a predetermined threshold value edgeTH, and if the added value is greater than or equal to the threshold value, gives a signal representing "1" to the adder 35, If it is smaller than the threshold value, a signal representing “0” is given to the adder 35.

【0143】加算器35は、各色比較器34からのシア
ン、マゼンタおよびイエローの各色成分についての比較
結果を表す信号がもつ値を加算し、加算結果を表す信号
を比較器36に与える。比較器36は、加算器35から
の加算結果に基づいて、加算値を予め定めるしきい値a
ddTHと比較して、注目画素がエッジ部であれば
「1」を表すエッジ判定信号を、色文字判定部24に与
え、注目画素がエッジ部でないならば「0」を表すエッ
ジ判定信号を、色文字判定部24に与える。たとえば各
色比較器34によって、シアン、マゼンタおよびイエロ
ーの色成分すべてがエッジ部であると判定されるときだ
け、注目画素がエッジ部であると判定されるならば、し
きい値addTHを「3」と定め、1つの色成分だけで
もエッジ部であると判定されれば、注目画素がエッジ部
であると判定されるならば、しきい値addTHを
「1」と定められる。
The adder 35 adds the values of the signals representing the comparison results for the respective color components of cyan, magenta, and yellow from the color comparators 34, and gives the signals representing the addition results to the comparator 36. The comparator 36, based on the addition result from the adder 35, sets a threshold value a that determines a predetermined addition value.
Compared with ddTH, an edge determination signal representing “1” is given to the color character determination unit 24 if the pixel of interest is an edge portion, and an edge determination signal representing “0” is provided if the pixel of interest is not an edge portion. It is given to the color character determination unit 24. For example, if it is determined by the color comparators 34 that the pixel of interest is the edge portion only when all the color components of cyan, magenta, and yellow are determined to be the edge portion, the threshold value addTH is set to "3". If only one color component is determined to be the edge portion, and if the pixel of interest is determined to be the edge portion, the threshold value addTH is set to “1”.

【0144】図11は、本発明の他の実施の形態の色判
定部200の構成を示すブロック図である。図11に示
す色判定部200は、図1に示す色判定部100と判定
用画素部分抽出部202の構成が異なっており、その他
の構成については、同じなので説明を省略し同一の符号
を付す。
FIG. 11 is a block diagram showing the configuration of the color determining section 200 according to another embodiment of the present invention. The color determination unit 200 shown in FIG. 11 is different from the color determination unit 100 shown in FIG. 1 in the configuration of the determination pixel portion extraction unit 202, and since the other configurations are the same, the description thereof will be omitted and the same reference numerals will be given. .

【0145】判定用画素部分抽出部202は、対象領域
抽出部101によって抽出されるマスク105に属する
領域内注目画素116と、前記領域内注目画素116の
周囲の複数の画素とを含む副対象画素部分であるサブマ
スク120を設定し、サブマスク120に属する各画素
の色情報に基づいて、前記判定用画素部分に属する判定
用画素を抽出する。
The determination pixel part extraction unit 202 includes a sub-target pixel including the in-region target pixel 116 belonging to the mask 105 extracted by the target region extraction unit 101 and a plurality of pixels around the in-region target pixel 116. The sub-mask 120 that is a portion is set, and the determination pixels that belong to the determination pixel portion are extracted based on the color information of each pixel that belongs to the sub-mask 120.

【0146】図12は、文字領域121の一部を示す概
略図である。対象領域抽出部101によって、処理対象
注目画素104を中心とする処理対象領域であるマスク
105が抽出される。また判定用画素部分抽出部202
によって、マスク105内の領域内注目画素116を中
心とし、マスク105内の領域に形成される副対象画素
部分であるサブマスク120が設定される。たとえばマ
スク105は、7×7の画素によって形成され、サブマ
スク120は、3×3の画素によって形成される。
FIG. 12 is a schematic diagram showing a part of the character area 121. The target area extraction unit 101 extracts a mask 105 that is a processing target area centered on the processing target pixel of interest 104. Further, the determination pixel portion extraction unit 202
Thus, the sub-mask 120, which is the sub-target pixel portion formed in the region of the mask 105, is set with the pixel of interest 116 in the region of the mask 105 as the center. For example, the mask 105 is formed by 7 × 7 pixels, and the submask 120 is formed by 3 × 3 pixels.

【0147】判定用画素部分抽出部202は、色成分平
均値算出部106と最大最小算出部107とサブマスク
内最大最小値算出部205と高濃度部分検出部206と
低濃度部分検出部207とを有する。
The determination pixel portion extraction unit 202 includes a color component average value calculation unit 106, a maximum / minimum calculation unit 107, a sub-mask maximum / minimum value calculation unit 205, a high density portion detection unit 206, and a low density portion detection unit 207. Have.

【0148】色成分平均値算出部106は、対象領域抽
出部101からマスク105内の画素情報を受取る。色
成分平均算出部106は、マスク内の各画素について、
その濃度平均値をそれぞれ算出し、算出結果を最大最小
算出部107に与える。最大最小算出部107は、マス
ク内の濃度平均値の最大値と最小値を求めマスク内の画
素に対して濃度が高い高濃度部分と、濃度が低い低濃度
部分を設定する。
The color component average value calculator 106 receives the pixel information in the mask 105 from the target area extractor 101. The color component average calculation unit 106, for each pixel in the mask,
The respective density average values are calculated, and the calculation result is given to the maximum / minimum calculation unit 107. The maximum / minimum calculation unit 107 obtains the maximum and minimum values of the average density value in the mask and sets a high density portion having a high density and a low density portion having a low density with respect to the pixels in the mask.

【0149】サブマスク内最大最小値算出部205は、
領域内注目画素を中心とする前記サブマスク120を設
定する。またサブマスク内最大最小値算出部205は、
副対象画素部分設定部であり、サブマスク120に属す
る各画素のうち、色成分毎にその濃度平均値が最大また
は最小になる画素を検出し、領域内注目画素116の色
情報として設定し、結果を高濃度部分検出部206およ
び低濃度部分検出部207に与える。
The maximum / minimum value calculation unit 205 in the submask is
The sub-mask 120 centering on the target pixel in the area is set. In addition, the maximum / minimum value calculation unit 205 in the submask is
The sub-target pixel portion setting unit detects a pixel having the maximum or minimum density average value for each color component among the pixels belonging to the sub-mask 120 and sets it as color information of the in-region attention pixel 116. To the high-density portion detection unit 206 and the low-density portion detection unit 207.

【0150】高濃度部分検出部206は、サブマスク内
最大最小値算出部205から、高濃度部分を示す情報
と、各領域内注目画素116を中心とするサブマスクの
色成分毎の最大濃度値とを示す情報とを受取り、各領域
内注目画素116が高濃度部分に属するか否かを判定
し、判定結果を有彩無彩判定部103に与える。
The high-density portion detection unit 206 receives the information indicating the high-density portion and the maximum density value for each color component of the sub-mask centering on the target pixel 116 in each area from the maximum / minimum value calculation unit 205 in the sub-mask. The information shown is received, it is determined whether or not the pixel of interest 116 in each region belongs to the high density portion, and the determination result is given to the chromatic / achromatic determination unit 103.

【0151】低濃度部分検出部207は、サブマスク内
最大最小値算出部205から、低濃度部分を示す情報
と、各領域内注目画素116を中心とするサブマスクの
色成分毎の最小濃度値とを示す情報とを受取り、各領域
内注目画素116が低濃度部分に属するか否かを判定
し、判定結果を有彩無彩判定部103に与える。色判定
部200は、図1と同様の有彩無彩判定部103を有
し、対象領域抽出部101と、判定用画素部分抽出部2
02との算出結果に基づいて、処理対象注目画素104
が有彩色であるか無彩色であるかを決定する。
The low-density portion detection unit 207 receives the information indicating the low-density portion and the minimum density value for each color component of the sub-mask centering on the pixel of interest 116 in each area from the intra-sub-mask maximum / minimum value calculation unit 205. The information shown is received, it is determined whether or not the target pixel 116 in each region belongs to the low density portion, and the determination result is given to the chromatic / achromatic determination unit 103. The color determination unit 200 includes a chromatic / achromatic determination unit 103 similar to that in FIG. 1, and includes a target area extraction unit 101 and a determination pixel portion extraction unit 2
02 to be processed based on the calculation result
Determines whether is chromatic or achromatic.

【0152】図13は、本発明の実施の他の形態の画素
の色判定動作の一部を示すフローチャートであり、図1
4および図15は、図13に図示されない色判定動作を
部分的に示すフローチャートである。図13、図14お
よび図15に示すフローチャートは、図11に示す色判
定部200によって行われ、図3のフローチャートに類
似する動作が行われる。したがって図3に示すフローチ
ャートに類似する動作については、簡略または省略して
説明する。
FIG. 13 is a flowchart showing a part of the pixel color judgment operation according to another embodiment of the present invention.
4 and 15 are flowcharts partially showing the color determination operation not shown in FIG. The flowcharts shown in FIGS. 13, 14 and 15 are performed by the color determination unit 200 shown in FIG. 11, and operations similar to those of the flowchart of FIG. 3 are performed. Therefore, operations similar to those in the flowchart shown in FIG. 3 will be described briefly or omitted.

【0153】ステップb0で、入力画像データによって
表される画像が、文字領域を含むと判定された場合に
は、ステップb1に進み、文字領域に属する各画素が有
彩色であるか無彩色であるかを判定する画素の色判定動
作が開始される。
When it is determined in step b0 that the image represented by the input image data includes a character area, the process proceeds to step b1 and each pixel belonging to the character area is chromatic or achromatic. The pixel color determination operation for determining whether or not is started.

【0154】ステップb1では、前述のステップa1と
同様に、対象領域抽出部101によって、注目画素10
4を中心とした画素を含み、文字領域を分割するマスク
105が形成され、マスク105が形成されるとステッ
プb2に進む。ステップb2では、色成分平均値算出部
106によって、マスク105内における色成分の濃度
値の平均値が算出される。次に最大最小算出部107
は、マスク105内の色成分の濃度値の平均値の最大濃
度および最低濃度とを検出する。
In step b1, the target pixel extraction unit 101 determines the target pixel 10 as in step a1.
A mask 105 that includes a pixel centered at 4 and divides a character region is formed. When the mask 105 is formed, the process proceeds to step b2. In step b2, the color component average value calculation unit 106 calculates the average value of the density values of the color components in the mask 105. Next, the maximum / minimum calculation unit 107
Detects the maximum density and the minimum density of the average value of the density values of the color components in the mask 105.

【0155】注目画素104を中心とするマスク105
内の色成分の平均値の最大濃度をTop(i,j)と
し、最低濃度をBot(i,j)とすると、濃度値To
p(i,j),Bot(i,j)は、以下の式によって
与えられる。
Mask 105 centered on pixel of interest 104
If the maximum density of the average values of the color components inside is Top (i, j) and the minimum density is Bot (i, j), the density value To is
p (i, j) and Bot (i, j) are given by the following equations.

【0156】[0156]

【数15】 [Equation 15]

【0157】色成分の平均値の最大濃度Top(i,
j)および色成分の平均値の最低濃度Bot(i,j)
が検出されるとステップb3に進む。
Maximum density of average values of color components Top (i,
j) and the lowest density Bot (i, j) of the average value of the color components
Is detected, the process proceeds to step b3.

【0158】ステップb3では、最大最小値算出部10
7によって、マスク内の各画素のうち濃度が高い画素に
よって構成される高濃度部分(Ha(i,j))および
濃度が低い画素によって構成される低濃度部分(La
(i,j))が決定される。高濃度部分(Ha(i,
j))および低濃度部分(La(i,j))は、たとえ
ば以下の式によって決定される。
At step b3, the maximum / minimum value calculation unit 10
7, the high-density portion (Ha (i, j)) formed by the high-density pixel and the low-density portion (La by the low-density pixel among the pixels in the mask)
(I, j)) is determined. High concentration part (Ha (i,
j)) and the low-density portion (La (i, j)) are determined, for example, by the following equations.

【0159】[0159]

【数16】 [Equation 16]

【0160】ここで係数THは、0≦TH≦1の任意の
実数で予め設定される。高濃度部分(Ha(i,j))
は、マスク内の色成分の平均値の最大濃度Top(i,
j)から所定範囲だけ濃度の低い領域に拡がる部分であ
る。たとえば所定範囲は、色成分の平均値の最大濃度T
op(i,j)と色成分の平均値の最低濃度Bot
(i,j)との差(TOP(i,j)−Bot(i,
j))に前記係数THを乗算した濃度範囲である。同様
に低濃度部分(La(i,j))は、色成分の平均値の
最低濃度Bot(i,j)から所定範囲だけ濃度の高い
領域に拡がる部分である。
Here, the coefficient TH is preset with an arbitrary real number satisfying 0 ≦ TH ≦ 1. High concentration part (Ha (i, j))
Is the maximum density of the average value of the color components in the mask Top (i,
It is a portion extending from j) to a region where the density is low by a predetermined range. For example, the predetermined range is the maximum density T of the average value of the color components.
op (i, j) and the minimum density Bot of the average value of the color components
Difference from (i, j) (TOP (i, j) -Bot (i,
j)) is the density range obtained by multiplying the coefficient TH. Similarly, the low-density portion (La (i, j)) is a portion that extends from the lowest density Bot (i, j) of the average value of the color components to a region having a high density by a predetermined range.

【0161】このような各濃度部分(Ha(i,j))
(La(i,j))が検出されると、ステップb4に進
む。ステップb4では、まず、識別番号Kが1の画素が
選択され、選択された画素を領域内注目画素116と
し、ステップb5に進む。
Each density portion (Ha (i, j))
When (La (i, j)) is detected, the process proceeds to step b4. In step b4, first, the pixel having the identification number K of 1 is selected, the selected pixel is set as the in-region target pixel 116, and the process proceeds to step b5.

【0162】ステップb5では、まず、サブマスク内最
大最小値算出部205によって、サブマスク内の各画素
のうち、各色成分ごとの最大濃度値が検出される。サブ
マスク120内における画素のシアン濃度の最大値をC
max(m,n)とし、マゼンダ濃度の最大値をMma
x(m,n)とし、イエロー濃度の最大値をYmax
(m,n)とすると、各色成分ごとの最大濃度値は、次
式によって求められる。
In step b5, first, the maximum-minimum-value calculating unit 205 in the submask detects the maximum density value for each color component in each pixel in the submask. The maximum value of the cyan density of the pixel in the sub mask 120 is C
max (m, n), and the maximum value of magenta density is Mma
x (m, n), and the maximum value of yellow density is Ymax
If (m, n), the maximum density value for each color component is calculated by the following equation.

【0163】[0163]

【数17】 [Equation 17]

【0164】同様に、サブマスク120内における画素
のシアン濃度の最低値をCmin(m,n)とし、マゼ
ンダ濃度の最大値をMmin(m,n)とし、イエロー
濃度の最大値をYmin(m,n)とすると、各色成分
ごとの最小濃度値は、次式によって求められる。
Similarly, the minimum cyan density of pixels in the submask 120 is Cmin (m, n), the maximum magenta density is Mmin (m, n), and the maximum yellow density is Ymin (m, n). n), the minimum density value for each color component is obtained by the following equation.

【0165】[0165]

【数18】 [Equation 18]

【0166】領域内注目画素116を中心とするサブマ
スク内の色成分毎の最大濃度値および最小濃度値に基い
て、各濃度平均値が算出されると、高濃度部分検出部2
06によって、領域内注目画素116が高濃度部分に属
するか否かが判定される。領域内注目画素116が、高
濃度部分に属する場合は、次式の条件を満たす。
When each density average value is calculated based on the maximum density value and the minimum density value for each color component in the sub-mask centering on the pixel of interest 116 in the area, the high density portion detection unit 2
Based on 06, it is determined whether the in-region pixel of interest 116 belongs to the high-density portion. If the in-region pixel of interest 116 belongs to the high density portion, the condition of the following equation is satisfied.

【0167】[0167]

【数19】 [Formula 19]

【0168】選択された領域内注目画素116が高濃度
部分に属する場合は、領域内注目画素が高濃度判定用画
素となり、図14に示すステップb6に進み、そうでな
い場合には、ステップb9に進む。
When the selected in-region pixel of interest 116 belongs to the high density portion, the in-region pixel of interest becomes a high density determination pixel, and the process proceeds to step b6 shown in FIG. 14, otherwise, to step b9. move on.

【0169】ステップb6では、ステップb5で得られ
た高濃度部分に属すると判定されたサブマスク内の色成
分毎の最大濃度が算出され、ステップb7に進む。ステ
ップb7では、判定用画素色判定部110によってステ
ップb6で算出された色成分毎の最大濃度に基づいて色
成分間の最大濃度の濃度差が求められて、しきい値TH
color11と比較され、しきい値よりも大きい場合
には、サブマスクの中心に位置する領域内注目画素11
6が有彩であると判定される。具体的には、判定用画素
色判定部110は、次式を用いて、色判定処理を行う。
判定用画素が有彩であると判定された場合には、ステッ
プb8に進み、そうでないならばステップb9に進む。
At step b6, the maximum density for each color component in the sub-mask determined to belong to the high density portion obtained at step b5 is calculated, and the process proceeds to step b7. In step b7, the determination pixel color determination unit 110 obtains the density difference of the maximum densities between the color components based on the maximum densities of the color components calculated in step b6, and the threshold TH
If it is compared with color11 and is larger than the threshold value, the pixel of interest 11 in the region located at the center of the submask
It is determined that 6 is chromatic. Specifically, the determination pixel color determination unit 110 performs color determination processing using the following formula.
If it is determined that the determination pixel is chromatic, the process proceeds to step b8, and if not, the process proceeds to step b9.

【0170】[0170]

【数20】 [Equation 20]

【0171】ステップb8では、カウント部111が高
濃度判定用画素を1つ積算してカウントし、ステップb
9に進む。
At step b8, the counting section 111 integrates and counts one high-density determination pixel, and then at step b8.
Proceed to 9.

【0172】ステップb9では、ステップb5と同様
に、サブマスク内最大最小値算出部205により求めら
れた最小濃度平均値を用いて、低濃度部分検出部207
が、領域内注目画素116が低濃度部分に属するか否か
が判定される。領域内注目画素116が、低濃度部分に
属する場合は、次式の条件を満たす。
In step b9, as in step b5, the low-density portion detection unit 207 is used by using the minimum density average value obtained by the in-submask maximum / minimum value calculation unit 205.
However, it is determined whether or not the in-region attention pixel 116 belongs to the low-density portion. When the in-region pixel of interest 116 belongs to the low-density portion, the condition of the following equation is satisfied.

【0173】[0173]

【数21】 [Equation 21]

【0174】選択された領域内注目画素116が低濃度
部分に属する場合は、領域内注目画素116が低濃度判
定用画素となり、図15に示すステップb10に進み、
そうでない場合には、ステップb13に進む。
If the selected in-region pixel of interest 116 belongs to the low density portion, the in-region pixel of interest 116 becomes the low density determination pixel, and the process proceeds to step b10 shown in FIG.
If not, the process proceeds to step b13.

【0175】ステップb10では、ステップb9で得ら
れた低濃度部分に属すると判定されたサブマスク内の色
成分毎の最小濃度が算出され、ステップb11に進む。
ステップb11では、判定用画素色判定部110によっ
てステップb10で算出された色成分毎の最小濃度に基
づいて色成分間の最小濃度の濃度差が求められて、しき
い値THcolor12と比較され、しきい値よりも大
きい場合には、サブマスクの中心に位置する領域内注目
画素116が有彩であると判定される。具体的には、判
定用画素色判定部110は、次式を用いて、色判定処理
を行う。判定用画素が有彩であると判定された場合に
は、ステップb12に進み、そうでないならばステップ
b13に進む。
At step b10, the minimum density for each color component in the sub-mask determined to belong to the low density portion obtained at step b9 is calculated, and the process proceeds to step b11.
In step b11, the density difference of the minimum density between the color components is obtained by the determination pixel color determination unit 110 based on the minimum density of each color component calculated in step b10 and compared with the threshold THcolor12. When it is larger than the threshold value, it is determined that the in-region attention pixel 116 located at the center of the submask is chromatic. Specifically, the determination pixel color determination unit 110 performs color determination processing using the following formula. If it is determined that the determination pixel is chromatic, the process proceeds to step b12, and if not, the process proceeds to step b13.

【0176】[0176]

【数22】 [Equation 22]

【0177】ステップb12では、カウント部111が
低濃度判定用画素を1つ積算してカウントし、ステップ
b13に進む。
At step b12, the counting section 111 integrates and counts one low-density determination pixel, and then proceeds to step b13.

【0178】ステップb13〜ステップb18は、上述
のステップa11〜ステップa16にそれぞれ対応し、
同様の動作が行われる。
Steps b13 to b18 correspond to the above steps a11 to a16, respectively.
Similar operations are performed.

【0179】本実施の形態に従えば、領域内注目画素を
含むサブマスク内において、色成分毎に最も大きい濃度
値と、最も小さい濃度値での色成分間の最大濃度差を用
いて、色判定を行う。これによって高濃度側ではより濃
度の高い画素、低濃度側では、より濃度の低い画素に基
づいて、画素の色判定を行うことができる。したがっ
て、画像入力装置の精度に起因する無彩領域周辺での擬
似カラー領域、特に、無彩1ラインにおいて、色ずれが
生じた場合であっても、各画素をより精度良く無彩色と
判定することができる。
According to the present embodiment, in the submask including the target pixel in the area, the color determination is performed by using the maximum density value for each color component and the maximum density difference between the color components at the minimum density value. I do. As a result, pixel color determination can be performed based on a pixel with a higher density on the high density side and a pixel with a lower density on the low density side. Therefore, even if a color shift occurs in the pseudo color area around the achromatic area due to the accuracy of the image input device, particularly in an achromatic one line, each pixel is more accurately determined as an achromatic color. be able to.

【0180】また領域内注目画素の色情報は、サブマス
クに属する各画素の色情報に基づいて設定されるので、
領域内注目画素に色ずれが生じている場合であっても、
領域内注目画素の周囲の画素の色情報から判定用画素の
色成分のずれを補正することができる。これによって、
原稿画像に対応する判定用画素本来の色情報をより精度
良く判定することができる。このように本来の色情報を
推定して、領域内注目画素が判定用画素部に属するか否
かを判定することができ、色成分のずれの影響を補正し
て、対象画素領域に属する判定用画素をより精度良く抽
出することができる。
Since the color information of the target pixel in the area is set based on the color information of each pixel belonging to the sub mask,
Even if the pixel of interest in the area has a color shift,
It is possible to correct the deviation of the color component of the determination pixel from the color information of the pixels around the target pixel in the area. by this,
The original color information of the determination pixels corresponding to the original image can be determined more accurately. In this way, the original color information can be estimated to determine whether or not the pixel of interest in the region belongs to the determination pixel portion, and the influence of the color component shift can be corrected to determine whether or not the pixel belongs to the target pixel region. The use pixel can be extracted more accurately.

【0181】図16は、本発明のさらに他の実施の形態
の画像処理装置の色判定部300の構成を示すブロック
図である。図16に示す色判定部300は、図11に示
す色判定部200と類似した構成であり、同様の構成に
ついては、説明を省略し、同一符号を付す。
FIG. 16 is a block diagram showing the configuration of the color determination unit 300 of the image processing apparatus according to still another embodiment of the present invention. The color determination unit 300 shown in FIG. 16 has a configuration similar to that of the color determination unit 200 shown in FIG. 11, and the description of the same configuration will be omitted and the same reference numerals will be given.

【0182】色判定部300は、色判定処理の精度を向
上させるために、高濃度部分および低濃度部分に属する
画素のほかに、高彩度部分および低彩度部分に属する画
素に基づいて、色判定を行う。色判定部300は、判定
用画素部分抽出部302を有し、判定用画素部分抽出部
302は、色成分平均値算出部106、最大最小算出部
107、サブマスク内最大最小値算出部205、高濃度
部分検出部206と低濃度部分検出部207のほかに、
色座標変換部305、高彩度部分検出部306および低
彩度部分検出部307を有する。
In order to improve the accuracy of the color judgment processing, the color judgment section 300 makes color judgment based on the pixels belonging to the high-saturation portion and the low-saturation portion, as well as the pixels belonging to the high-saturation portion and the low-saturation portion. I do. The color determination unit 300 includes a determination pixel portion extraction unit 302, and the determination pixel portion extraction unit 302 includes the color component average value calculation unit 106, the maximum / minimum calculation unit 107, the sub-mask maximum / minimum value calculation unit 205, and In addition to the density portion detection unit 206 and the low density portion detection unit 207,
It has a color coordinate conversion unit 305, a high saturation part detection unit 306, and a low saturation part detection unit 307.

【0183】色座標変換部305は、彩度情報を得るた
めに、シアン、マゼンダおよびイエローで与えられた画
像データをL***表色系で表される画像データに変
換する。画像データは、均等色空間を用いるCIE19
76L***表色系(Commission Internatinale de
l’Eclairage:国際証明委員会:略称CIE。)に従
う。以下、CIE1976L***表色系を「L**
*表色系」という。
The color coordinate conversion unit 305 converts the image data given in cyan, magenta and yellow into image data represented by the L * a * b * color system in order to obtain the saturation information. The image data is CIE19 that uses a uniform color space.
76L * a * b * color system (Commission Internatinale de
l'Eclairage: International Certification Board: Abbreviation CIE. ). Hereinafter, the CIE1976L * a * b * color system is referred to as “L * a *.
b * color system.

【0184】L*は、明度を表す色成分である。a*およ
びb*は、これらを用いて色相および彩度を表すことが
できる色成分であって、色相は、tan-1(b*/a*
によって表される式を用いて求められる。L***
色系の色成分は、シアン、マゼンタおよびイエローの色
成分の線形和で表すことができるので、シアン、マゼン
タおよびイエローの色成分によって表されるCMY表色
系は、単純な3行3列のマトリックスを用いて、L**
*表色系に変換される。したがってシアン、マゼンタ
およびイエローの色成分によって表される表色系からL
***表色系への変換式は、以下のように表すことが
できる。
L * is a color component representing lightness. a * and b * are color components that can be used to express hue and saturation, and hue is tan −1 (b * / a * )
It is obtained using the formula represented by. Since the color components of the L * a * b * color system can be represented by the linear sum of the color components of cyan, magenta and yellow, the CMY color system represented by the color components of cyan, magenta and yellow is Using a simple 3-by-3 matrix, L * a *
b * Converted to color system. Therefore, from the color system represented by the color components of cyan, magenta, and yellow, L
The conversion formula to the * a * b * color system can be expressed as follows.

【0185】[0185]

【数23】 [Equation 23]

【0186】また彩度を表す値Satuは、次式で表さ
れる。
The value Satur representing the saturation is expressed by the following equation.

【数24】 [Equation 24]

【0187】高彩度部分検出部306は、マスク内の画
素における複数の画素において、彩度が最も高い画素を
検出し、その最大彩度値Tops(i,j)を算出す
る。最大彩度値Tops(i,j)は、高濃度および低
濃度値を検出したときと同様に算出され、以下の式によ
って得られる。
The high-saturation part detection unit 306 detects the pixel having the highest saturation in the plurality of pixels in the mask and calculates the maximum saturation value Tops (i, j). The maximum saturation value Tops (i, j) is calculated in the same manner as when the high density and low density values are detected, and is obtained by the following formula.

【0188】[0188]

【数25】 [Equation 25]

【0189】また高彩度部分検出部306は、高彩度部
分(HS(i,j))に属するマスク内画素を抽出し、
高彩度部分に属する画素は、以下の条件を満足する。
The high-saturation part detection unit 306 extracts pixels in the mask belonging to the high-saturation part (HS (i, j)),
Pixels belonging to the high saturation portion satisfy the following conditions.

【0190】[0190]

【数26】 [Equation 26]

【0191】低彩度部分検出部307は、マスク内の画
素における複数の画素において、彩度が最も低い画素を
検出し、その最小彩度値Bots(i,j)を算出す
る。最小彩度値Bots(i,j)は、高濃度および低
濃度値を検出したときと同様に算出され、以下の式によ
って得られる。
The low-saturation part detection unit 307 detects the pixel with the lowest saturation in the plurality of pixels in the mask and calculates the minimum saturation value Bots (i, j). The minimum saturation value Bots (i, j) is calculated in the same manner as when the high and low density values are detected, and is obtained by the following formula.

【0192】[0192]

【数27】 [Equation 27]

【0193】また低彩度部分検出部307は、低彩度部
分(Ls(i,j))に属するマスク内画素を抽出し、
低彩度部分に属する画素は、以下の条件を満足する。
The low-saturation part detection unit 307 extracts the pixels in the mask belonging to the low-saturation part (Ls (i, j)),
The pixels belonging to the low saturation portion satisfy the following conditions.

【0194】[0194]

【数28】 [Equation 28]

【0195】上式のしきい値THsは、0≦THs≦1
を充たす任意の実数で予め設定される。
The threshold value THs in the above equation is 0 ≦ THs ≦ 1.
Is preset with an arbitrary real number that satisfies

【0196】高彩度部分検出部306および低彩度部分
検出部307は、算出結果を有彩無彩判定部103に与
える。有彩無彩判定部103は、さらに判定用画素色彩
判定部310および高彩度部分および低彩度部分に属す
る画素をカウントするカウント部311とを有する。
The high-saturation portion detection unit 306 and the low-saturation portion detection unit 307 give the calculation result to the chromatic / achromatic determination unit 103. The chromatic / achromatic determination unit 103 further includes a determination pixel color determination unit 310 and a counting unit 311 that counts pixels belonging to a high saturation portion and a low saturation portion.

【0197】判定用画素色彩判定部310は、高彩度部
分および低彩度部分に属する判定用画素が有彩色である
か無彩色であるかを判定し(詳細は後述する)、判定結
果を前記カウント部311に与える。カウント部311
は、高彩度部分または低彩度部分に属し、有彩色である
と判定される画素の数SH:count,SL:cou
ntをカウントし、カウントした画素の数が所定のしき
い値THsatu_num_high,THsatu_
num_lowを超えるか否かを判定する。すなわち次
式を満足するか否かを判定する。
The judgment pixel color judgment unit 310 judges whether the judgment pixels belonging to the high-saturation portion and the low-saturation portion are chromatic colors or achromatic colors (details will be described later), and the judgment result is counted. It is given to the part 311. Counting unit 311
Is the number of pixels belonging to the high-saturation portion or the low-saturation portion and determined to be chromatic color SH: count, SL: cou
nt is counted, and the number of counted pixels is a predetermined threshold value THsatur_num_high, THsatur_
It is determined whether or not num_low is exceeded. That is, it is determined whether or not the following expression is satisfied.

【0198】[0198]

【数29】 [Equation 29]

【0199】この場合、高彩度部分および低彩度部分に
属する画素が有彩色であるかの色判定処理は、シアン,
マゼンダおよびイエローの色成分情報を用いて、図14
および図15で説明した方法で行ってもよく、または彩
度の値を予め定められるしきい値と比較することによっ
て有彩色であるか無彩色であるかの色判定処理を行って
もよい。
In this case, the color determination processing for determining whether the pixels belonging to the high saturation portion and the low saturation portion are chromatic colors is cyan,
By using the color component information of magenta and yellow, FIG.
Further, the method described with reference to FIG. 15 may be performed, or the color determination processing of chromatic color or achromatic color may be performed by comparing the saturation value with a predetermined threshold value.

【0200】総合判定部114は、判定ルールが示され
る判定テーブルに基づいて、注目画素の最終色判定を行
う。表3にその判定ルールの一例を示す。表3には、高
濃度部分の有彩無彩判定結果をCH、低濃度部分の有彩
無彩判定結果をCLとし、この2つの有彩無彩判定結果
をまとめてCIとし、注目画素の有彩無彩判定結果をC
Cとし、高彩度部分の高彩度低彩度判定結果をSHと
し、低彩度部分の高彩度低彩度判定結果をSLとする
と、各判定結果の組み合わせに応じて注目画素の最終的
な有彩無彩が示される。有彩および高彩度の場合には、
Trueとし、無彩および低彩度の場合には、Fals
eとして示す。
The overall judgment unit 114 judges the final color of the pixel of interest based on the judgment table showing the judgment rules. Table 3 shows an example of the determination rule. In Table 3, the chromatic / achromatic determination result of the high density portion is CH, the chromatic / achromatic determination result of the low density portion is CL, and the two chromatic / achromatic determination results are collectively referred to as CI. The chromatic / achromatic judgment result is C
Let C be the high-saturation low-saturation determination result of the high-saturation part be SH, and the high-saturation low-saturation determination result of the low-saturation part be SL, the final chromatic achromatic color of the pixel of interest depending on the combination of the respective determination results. Is shown. For chromatic and high saturation,
True and False for achromatic and low saturation
Shown as e.

【0201】[0201]

【表3】 [Table 3]

【0202】CH、CL、SH、SLおよびCCの5つ
のパラメータのテーブルを用いて判定を行うことは可能
であるが、判定処理が煩雑になるため、前記高濃度およ
び低濃度部分での有彩無彩判定後に、無彩域と判定され
た場合に画素の色彩に基づいた有彩無彩判定を行う。
Although it is possible to make a determination using a table of five parameters of CH, CL, SH, SL, and CC, the determination process becomes complicated, and therefore the chromaticity in the high-density and low-density portions is chromatic. After the achromatic determination, the chromatic / achromatic determination based on the color of the pixel is performed when it is determined to be the achromatic region.

【0203】図17は、本発明の実施のさらに他の形態
の画素の色判定動作の一部を示すフローチャートであ
り、図18は、図17のステップc5を詳しく示すフロ
ーチャートである。図17および図18に示すフローチ
ャートは、図16に示す色判定部300によって行わ
れ、図13のフローチャートに類似する動作が行われ
る。したがって図13に示すフローチャートに類似する
動作については、簡略または省略して説明する。
FIG. 17 is a flow chart showing a part of the pixel color judgment operation of still another embodiment of the present invention, and FIG. 18 is a flow chart showing step c5 of FIG. 17 in detail. The flowcharts shown in FIGS. 17 and 18 are performed by the color determination unit 300 shown in FIG. 16, and an operation similar to that of the flowchart of FIG. 13 is performed. Therefore, operations similar to those in the flowchart shown in FIG. 13 will be described briefly or omitted.

【0204】図17に示す色判定動作は、ステップc0
で、入力画像データによって表される画像が、文字領域
を含むと判定された場合には、ステップc1に進み、文
字領域に属する各画素が有彩色であるか無彩色であるか
を判定する画素の色判定動作が開始される。
The color judgment operation shown in FIG. 17 is performed in step c0.
If it is determined that the image represented by the input image data includes a character area, the process proceeds to step c1 to determine whether each pixel belonging to the character area is chromatic or achromatic. The color determination operation of is started.

【0205】ステップc1〜c3までの動作は、図13
に示すステップb1〜b3とそれぞれ同様であり、ステ
ップc3では、高濃度部分および低濃度部分が決定され
る。つぎに、ステップc4およびステップc5に進む。
ステップc4およびステップc5は、独立して処理が可
能であり、並列して処理されても、どちらのステップが
先に行われてもよい。ステップc4は、高濃度部分およ
び低濃度部分でのカラー画素のカウント処理であって、
図13に示すステップb4〜b13の処理が順に行われ
る。またステップc5は、高彩度部分および低彩度部分
でのカラー画素のカウント処理であって、後述するステ
ップd1〜d14が行われる。
The operation of steps c1 to c3 is shown in FIG.
The steps are the same as steps b1 to b3 shown in FIG. 5, and in step c3, the high density portion and the low density portion are determined. Next, it progresses to step c4 and step c5.
Steps c4 and c5 can be processed independently, and either step c4 or step c5 may be performed in parallel, or either step may be performed first. Step c4 is a counting process of color pixels in the high density portion and the low density portion,
The processes of steps b4 to b13 shown in FIG. 13 are sequentially performed. Step c5 is a color pixel counting process in the high saturation portion and the low saturation portion, and steps d1 to d14 described later are performed.

【0206】このようにステップc4での高濃度部分お
よび低濃度部分のカウント処理と、ステップc5での高
彩度部分および低彩度部分のカウント処理とが完了する
と、ステップc6に進む。ステップc6は、カウント部
111によって、高濃度部分、低濃度部分、高彩度部分
および低彩度部分に属する判定用画素に属する判定用画
素の色が有彩であるか無彩であるか判定され、ステップ
c7に進む。ステップc7〜ステップc9は、図13に
示すステップb16〜b18にそれぞれ対応し、ステッ
プb16〜b18と同様の処理が行われる。
When the counting processing of the high-density portion and the low-density portion in step c4 and the counting processing of the high-saturation portion and the low-saturation portion in step c5 are thus completed, the process proceeds to step c6. In step c6, the counting unit 111 determines whether the colors of the determination pixels belonging to the determination pixels belonging to the high density portion, the low density portion, the high saturation portion and the low saturation portion are chromatic or achromatic. Go to step c7. Steps c7 to c9 correspond to steps b16 to b18 shown in FIG. 13, respectively, and the same processing as steps b16 to b18 is performed.

【0207】図17のステップc5に示す高彩度部分・
低彩度部分でのカラー画素カウント処理は、図18に示
すように、ステップd1〜d14の工程が行われる。ま
ずステップd1で、高彩度部分および低彩度部分でのカ
ラー画素カウント処理が開始される。ステップd2で
は、色座標変換部305によって、色座標変換が行われ
る。これによって、画素の色を表す色情報は、L**
*表色系に変換され、変換させるとステップd3に進
む。ステップd3では、まず設定される識別番号Lが1
の画素が選択され、選択された画素を領域内注目画素と
し、ステップd4に進む。
The high saturation part shown in step c5 of FIG.
As shown in FIG. 18, the color pixel count processing in the low saturation portion includes steps d1 to d14. First, in step d1, the color pixel counting process in the high saturation portion and the low saturation portion is started. In step d2, the color coordinate conversion unit 305 performs color coordinate conversion. Accordingly, the color information indicating the color of the pixel is L * a * b
* Converted to the color system, and if converted, proceed to step d3. In step d3, the identification number L that is set first is 1
Pixel is selected, the selected pixel is set as the target pixel in the area, and the process proceeds to step d4.

【0208】ステップd4では、高彩度部分検出部30
6および低彩度部分検出部307によって、処理対象注
目画素を中心に含むマスク105に属する画素のうち、
2つの色度a*,b*が最も大きくなる最大彩度値と最も
小さくなる最小彩度値が検出される。これによって、最
大彩度値および最小彩度値が算出され、高彩度部分およ
び低彩度部分が検出される。
At step d4, the high saturation part detection unit 30
6 and the low-saturation part detection unit 307, among the pixels belonging to the mask 105 including the target pixel to be processed in the center,
The maximum saturation value that maximizes the two chromaticities a * and b * and the minimum saturation value that minimizes the two chromaticities a * and b * are detected. As a result, the maximum saturation value and the minimum saturation value are calculated, and the high saturation portion and the low saturation portion are detected.

【0209】次に、高彩度部分検出部306が、マスク
105に属する各画素のうちで、彩度が最大となる最大
彩度値を検出し、前記マスク105が高彩度部分に属す
るか否かを判定し、高彩度部分に属すると判定すると、
ステップd5に進み、そうでないと判定すると、ステッ
プd8に進む。
Next, the high saturation part detection unit 306 detects the maximum saturation value having the maximum saturation among the pixels belonging to the mask 105, and determines whether or not the mask 105 belongs to the high saturation part. Then, if it is determined that it belongs to the high saturation part,
When it is determined that the procedure is not right, the procedure proceeds to Step d8.

【0210】ステップd5では、高彩度部分に属すると
判定されたサブマスク内の色成分毎の最大濃度が算出さ
れステップd6に進む。ステップd6では、判別用色彩
判定部310によってステップd5で算出された色成分
毎の最大濃度に基づいて色成分間の最大濃度の濃度差が
求められて、しきい値THcolor21と比較され、
しきい値よりも大きい場合には、サブマスクの中心に位
置する領域内注目画素が有彩であると判定される。判定
用画素が有彩であると判定された場合には、ステップd
7に進み、そうでないならばステップd8に進む。ステ
ップd7では、カウント部111が高彩度判定用画素を
1つ積算してカウントし、ステップd8に進む。
At step d5, the maximum density for each color component in the sub-mask determined to belong to the high saturation portion is calculated, and the process proceeds to step d6. In step d6, the color difference determination unit 310 determines the density difference of the maximum densities between the color components based on the maximum densities of the color components calculated in step d5, and compares the density difference with the threshold THcolor21.
If it is larger than the threshold value, it is determined that the pixel of interest in the region located at the center of the submask is chromatic. If it is determined that the determination pixel is chromatic, step d
7. If not, proceed to step d8. At step d7, the counting unit 111 integrates and counts one pixel for high saturation determination, and then proceeds to step d8.

【0211】ステップd8では、低彩度部分検出部30
7が、マスク105に属する各画素のうちで、彩度が最
小となる最小彩度値を検出し、前記マスク105が低彩
度部分に属するか否かを判定し、低彩度部分に属すると
判定すると、ステップd9に進み、そうでないと判定す
ると、ステップd12に進む。
At step d8, the low saturation part detection unit 30
7 detects the minimum saturation value having the minimum saturation among the pixels belonging to the mask 105, determines whether the mask 105 belongs to the low saturation portion, and belongs to the low saturation portion. If it is determined, the process proceeds to step d9, and if not, the process proceeds to step d12.

【0212】ステップd9では、低彩度部分に属すると
判定されたサブマスク内の色成分毎の最小濃度が算出さ
れステップd10に進む。ステップd10では、判別用
色彩判定部310によってステップd9で算出された色
成分毎の最小濃度に基づいて色成分間の最小濃度の濃度
差が求められて、しきい値THcolor22と比較さ
れ、しきい値よりも大きい場合には、サブマスクの中心
に位置する領域内注目画素が有彩であると判定される。
判定用画素が有彩であると判定された場合には、ステッ
プd11に進み、そうでないならばステップd12に進
む。ステップd11では、カウント部111が低彩度判
定用画素を1つ積算してカウントし、ステップd12に
進む。
At step d9, the minimum density for each color component within the sub-mask determined to belong to the low saturation portion is calculated, and the routine proceeds to step d10. In step d10, the color difference determination unit 310 determines the density difference of the minimum density between the color components based on the minimum density of each color component calculated in step d9, compares the density difference with the threshold THcolor22, and determines the threshold. When it is larger than the value, it is determined that the target pixel in the region located at the center of the submask is chromatic.
If it is determined that the determination pixel is chromatic, the process proceeds to step d11, and if not, the process proceeds to step d12. In step d11, the counting unit 111 integrates and counts one low-saturation determination pixel, and the process proceeds to step d12.

【0213】ステップd12では、判定用画素色彩判定
部310によって、選択された領域内注目画素に設定さ
れた識別番号Lが最大であるか否かが判定され、最大で
あると判定されるとステップd14に進み、そうでない
と判定されるとステップd13に進む。ステップd13
は、前記識別番号Lに1を積算した新しい識別番号L+
1が付された画素を領域内注目画素とし、ステップd4
に戻り、ステップd4〜d12を繰り返す。ステップd
12において、判定用画素色彩判定部310によって、
選択された領域内注目画素に設定された識別番号Lが最
大であると判定される、すなわちマスク内のすべての画
素について判定が行われると、ステップd14に進み、
ステップd14では、図17に示すステップc6に進
む。
At step d12, the judgment pixel color judgment section 310 judges whether or not the identification number L set for the pixel of interest in the selected region is the maximum, and if it is judged as the maximum, the step is judged. If not, the process proceeds to step d13. Step d13
Is a new identification number L + obtained by adding 1 to the identification number L +.
The pixel marked with 1 is set as the pixel of interest in the area, and step d4
And the steps d4 to d12 are repeated. Step d
12, the determination pixel color determination unit 310
If it is determined that the identification number L set for the pixel of interest in the selected region is the maximum, that is, if the determination is made for all the pixels in the mask, the process proceeds to step d14,
At step d14, the process proceeds to step c6 shown in FIG.

【0214】上述のような本発明の実施のさらに他の形
態に従えば、判定用画素部分抽出部は、対象画素領域内
における高彩度部分および低彩度部分を含む判定用画素
部分を抽出する。これによって、濃度の高低差では、対
象画素領域の第1色目および第2色目の区別が明確でな
い場合、たとえば第1色目がイエローであって、第2色
目がホワイトである場合であっても、彩度の高低差によ
って、第1色目と第2色目とを判定することができる。
According to still another embodiment of the present invention as described above, the determination pixel portion extraction unit extracts the determination pixel portion including the high saturation portion and the low saturation portion in the target pixel area. As a result, when the difference in density between the first and second colors in the target pixel region is not clear, for example, even when the first color is yellow and the second color is white, The first color and the second color can be determined based on the difference in saturation.

【0215】このように、濃度差に加えて、彩度差によ
って第1色目および第2色目の色を判定することによっ
てより精度良く第1色目および第2色目の有彩無彩を判
定することができ、第1色または第2色のいずれかであ
る処理対象注目画素が有彩であるか無彩であるかを精度
よく判定することができる。
As described above, in addition to the density difference, the color difference of the first color and the color difference of the second color are used to determine the chromatic achromaticity of the first color and the second color more accurately. Therefore, it is possible to accurately determine whether the target pixel to be processed, which is either the first color or the second color, is chromatic or achromatic.

【0216】上述の構成は、発明の例示に過ぎず、発明
の範囲内において、構成を変更することができる。たと
えば高明度部分および低明度部分の両方および高彩度部
分および低彩度部分の両方に属する判定用画素を検出す
るとしたが、少なくとも高明度部分および低明度部分の
いずれか一方に属する判定用画素を判定することによっ
て、中間色の画素を除いて、処理対象注目画素の有彩無
彩をより正確に判定することができる。また対象画素領
域は、文字部分を必ずしも含む必要がなく、大略的に2
色の画素から成る表領域および模様領域などであっても
よい。
The above configuration is merely an example of the invention, and the configuration can be changed within the scope of the invention. For example, it is assumed that the determination pixels belonging to both the high-brightness portion and the low-brightness portion and both the high-saturation portion and the low-saturation portion are detected, but the determination pixel belonging to at least one of the high-brightness portion and the low-brightness portion is determined. By doing so, it is possible to more accurately determine the chromatic / achromatic color of the target pixel to be processed, excluding the pixel of the intermediate color. In addition, the target pixel area does not necessarily include the character portion, and is roughly 2
It may be a surface area composed of color pixels and a pattern area.

【0217】また画像入力手段が読取る画像は、原稿で
なくてもよく、CCDセンサによって読取られる立体物
であってもよい。また画像出力手段も、原稿に画像を形
成させるものでなくてもよく、たとえばディスプレイな
どの表示手段であってもよい。
The image read by the image input means need not be a document but may be a three-dimensional object read by a CCD sensor. Further, the image output means does not have to form an image on a document, and may be a display means such as a display.

【0218】[0218]

【発明の効果】以上のように本発明によれば、2つの近
似した色の集まりである近似色群の画素を有する対象画
素領域内において、濃度が高い高濃度部分と濃度が低い
低濃度部分とを抽出した後、この濃度が高い部分または
濃度が低い部分に属する判定用画素の色情報に基づい
て、処理対象注目画素が有彩色であるか無彩色であるか
を判定する。濃度が高い部分と低い部分の間の中間領域
を除いて判定することによって、処理対象注目画素が本
来有彩色であるのか無彩色であるのかを精度良く判定す
ることができる。
As described above, according to the present invention, in a target pixel area having pixels of an approximate color group, which is a group of two approximate colors, a high density portion having a high density and a low density portion having a low density are obtained. After extracting and, it is determined whether the target pixel to be processed is a chromatic color or an achromatic color, based on the color information of the determination pixels belonging to the high density portion or the low density portion. By excluding the intermediate area between the high density area and the low density area, it is possible to accurately determine whether the target pixel to be processed is originally chromatic or achromatic.

【0219】上述のように、画像処理装置は、処理対象
注目画素の色を判定することができるので、読取誤差に
よる影響を除去し、原稿画像に対する出力画像の再現性
を高め、良質な画像を得ることができる。たとえば原稿
画像の黒部分に対応する処理対象注目画素は、読取誤差
が補正され、有彩色でなく精度良く黒色として判定され
ることによって、原稿画像に対する再現性を高めること
ができる。また画素読取誤差が生じた入力画像データを
補正して出力することができるので、読取精度の高い画
像入力装置を必要とせず、読取精度の低い画像入力装置
から入力される入力画像データであっても、簡単な構成
によって本来の画像を精度良く再現することができる。
As described above, since the image processing apparatus can determine the color of the pixel of interest to be processed, the influence of the reading error is removed, the reproducibility of the output image with respect to the original image is improved, and a high quality image is obtained. Obtainable. For example, the target pixel to be processed corresponding to the black portion of the original image is corrected for the reading error and is accurately determined to be black instead of chromatic color, whereby the reproducibility with respect to the original image can be improved. Further, since input image data having a pixel reading error can be corrected and output, an image input device having high reading accuracy is not required, and the input image data is input from the image input device having low reading accuracy. Also, the original image can be accurately reproduced with a simple configuration.

【0220】また本発明によれば、判定用画素部分が、
対象画素領域内における高濃度部分および低濃度部分の
少なくともいずれか一方から成る判定用画素部分を抽出
し、有彩無彩判定部が、判定用画素の色情報に基づい
て、処理対象注目画素が有彩色であるか無彩色であるか
を判定する。画像処理装置は、処理対象注目画素が表す
画像が原稿画像と異なる場合でも、処理対象注目画素の
本来の色が本来有彩色であるのか無彩色であるのかを精
度良く判定することができる。
Further, according to the present invention, the determination pixel portion is
The chromatic / achromatic determination unit extracts the determination pixel portion including at least one of the high-density portion and the low-density portion in the target pixel region, and the processing target pixel is determined based on the color information of the determination pixel. It is determined whether the color is chromatic or achromatic. The image processing apparatus can accurately determine whether the original color of the processing target pixel of interest is originally chromatic or achromatic even when the image represented by the processing target pixel of interest is different from the original image.

【0221】これによって入力画像データによって表さ
れる画像を本来の原稿画像の色情報に補正して出力する
ことができ、原稿画像に対する出力画像の再現性を高め
ることができ、良質な画像を得ることができる。たとえ
ば、黒文字を表す画素が、誤差によって有彩色画素とし
て誤入力された場合であっても、画素の色を有彩色でな
く黒として判定することができるので、画像をより鮮明
に再現することができる。また画像入力装置の画素読取
り誤差を補正することができるので、読取り精度の高い
画像入力装置を必要とせず、簡単な構成によって精度良
く本来の画像を再現することができる。
As a result, the image represented by the input image data can be corrected to the original color information of the original image and output, the reproducibility of the output image with respect to the original image can be improved, and a high-quality image can be obtained. be able to. For example, even if a pixel representing a black character is erroneously input as a chromatic color pixel due to an error, the color of the pixel can be determined to be black instead of the chromatic color, so that the image can be reproduced more clearly. it can. Further, since the pixel reading error of the image input device can be corrected, an image input device with high reading accuracy is not required, and the original image can be accurately reproduced with a simple configuration.

【0222】また本発明によれば、有彩無彩判定部の第
1判定部および第2判定部の結果に基づいて、第3判定
部が、処理対象注目画素が有彩色であるか無彩色である
かを判定することによって、処理対象注目画素の有彩無
彩をより精度良く判定することができる。これによって
原稿画像に対する出力画像の再現性を向上させることが
でき、高品質の出力画像を得ることができる。またエッ
ジ判定部によって、文字部分および背景部分を判定する
ことによって、画像の文字部分と背景部分との色が有彩
色であるか無彩色であるかを判定することができる。
Further, according to the present invention, based on the results of the first determination unit and the second determination unit of the chromatic / achromatic determination unit, the third determination unit determines whether the pixel of interest to be processed is a chromatic color or an achromatic color. It is possible to more accurately determine the chromatic / achromatic color of the target pixel to be processed by determining whether or not As a result, the reproducibility of the output image with respect to the original image can be improved, and a high quality output image can be obtained. Further, by determining the character portion and the background portion by the edge determination unit, it is possible to determine whether the color of the character portion and the background portion of the image is chromatic or achromatic.

【0223】また本発明によれば、副対象画素部分に属
する各画素の色情報に基づいて、領域内注目画素の色情
報を設定する。領域内注目画素に設定された色情報に基
づいて、判定用画素を抽出することによって、判定用画
素本来の色情報を推測することができる。たとえば複数
の色成分によって表される細線画像に対して、注目画素
に隣接する画素に色成分がずれた細線が入力された場合
であっても、色成分がずれた画素が副対象画素部分に属
することによって、本来の注目画素の色情報を推測する
ことができる。これによって有彩無彩判定部は、細線を
表す注目画素が有彩色であるか無彩色であるかを判定す
ることができる。これによってより再現性の高い画像処
理装置を実現することができる。
Further, according to the present invention, the color information of the target pixel in the area is set based on the color information of each pixel belonging to the sub target pixel portion. The original color information of the determination pixel can be estimated by extracting the determination pixel based on the color information set for the target pixel in the area. For example, for a thin line image represented by a plurality of color components, even if a thin line with a shifted color component is input to a pixel adjacent to the pixel of interest, the pixel with a shifted color component will become the sub-target pixel portion. By belonging, the original color information of the target pixel can be estimated. With this, the chromatic / achromatic determination unit can determine whether the pixel of interest representing the thin line is chromatic or achromatic. This makes it possible to realize an image processing device with higher reproducibility.

【0224】また本発明によれば、濃度のより高い高濃
度部分と濃度のより低い低濃度部分とを用いて、より範
囲が限定された判定用画素部分を設定することができ
る。これによって処理対象注目画素が有彩色であるか無
彩色であるかをさらに精度良く判定することができる。
ラインセンサーの物理的な配置ずれと、読取り時の振動
などの画像入力装置の精度に起因する擬似カラー領域、
特に複数の無彩色の細線が形成される画像において、色
成分のずれが生じた場合であっても、精度良く無彩色の
細線を表す出力画像データを出力することができる。
Further, according to the present invention, it is possible to set a judgment pixel portion having a more limited range by using a high density portion having a higher density and a low density portion having a lower density. This makes it possible to more accurately determine whether the target pixel to be processed is a chromatic color or an achromatic color.
Pseudo color area due to the accuracy of the image input device such as physical displacement of the line sensor and vibration during reading,
Particularly in an image in which a plurality of achromatic thin lines are formed, output image data representing the achromatic thin lines can be accurately output even when the color components are misaligned.

【0225】また本発明によれば、濃度差に加えて彩度
差に基づいて、判定用画素を抽出することによって、処
理対象注目画素が有彩であるか無彩であるかをより精度
よく判定することができる。
Further, according to the present invention, it is possible to more accurately determine whether the target pixel to be processed is chromatic or achromatic by extracting the determination pixel based on the saturation difference in addition to the density difference. Can be determined.

【0226】また本発明によれば、色ずれ判定部によっ
て色ずれ部分を検出することができるので、色ずれ部分
に対して、カラーバランスを調整および黒色材の生成率
を調整するなどの最適化処理を行うことが可能であり、
出力される画像の再現性を向上することができる。たと
えば対象画素領域のうちの2つに区別される第1近似色
群および第2近似色群のいずれか一方が無彩色である場
合には、色ずれ部分に属する画素の各色成分のカラーバ
ランスを同じにして、無彩補正処理を施すことが可能と
なる。
Further, according to the present invention, since the color misregistration determining section can detect the color misregistration part, the color misregistration part is optimized by adjusting the color balance and the black material generation rate. Processing is possible,
The reproducibility of the output image can be improved. For example, in the case where one of the first approximate color group and the second approximate color group, which are distinguished into two of the target pixel areas, is an achromatic color, the color balance of each color component of the pixels belonging to the color shift portion is set. In the same manner, it is possible to perform achromatic correction processing.

【0227】また本発明によれば、色文字判定部によっ
て、色ずれ文字である処理対象注目画素を求め、報知手
段が、色ずれ文字である処理対象注目画素が存在するこ
とを報知することによって、画像入力装置の色ずれに関
する精度を評価することができる。また、画像形成装置
に色文字判定部と報知手段とを含む画像処理装置を搭載
することによって、報知手段が報知する色ずれ文字情報
を画像形成装置の整備情報の1つとして利用することが
できる。
Further, according to the present invention, the color-character determining unit obtains the pixel of interest to be processed which is a color-shifted character, and the notifying means reports that the pixel of interest to be processed which is a color-shifted character exists. , It is possible to evaluate the accuracy of color shift of the image input device. Further, by mounting the image processing apparatus including the color character determination unit and the notification means on the image forming apparatus, the color misregistration character information notified by the notification means can be used as one of the maintenance information of the image forming apparatus. .

【0228】また本発明によれば、上述の画像処理装置
を画像形成装置が備えることによって、入力される本来
の画像に対して、読取時の誤差を補正して、各画素が有
彩色であるか無彩色かを精度良く判定し、再現性の高い
出力画像を得ることができる。
Further, according to the present invention, the image forming apparatus is provided with the above-mentioned image processing apparatus, so that an error at the time of reading the original input image is corrected, and each pixel has a chromatic color. It is possible to accurately determine whether the color is achromatic or not, and obtain an output image with high reproducibility.

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

【図1】色判定部100の構成を示すブロック図であ
る。
FIG. 1 is a block diagram illustrating a configuration of a color determination unit 100.

【図2】ラインメモリ115の構成を示す概略図であ
る。
FIG. 2 is a schematic diagram showing a configuration of a line memory 115.

【図3】本発明の実施の一形態の画素の色判定動作を示
すフローチャートである。
FIG. 3 is a flowchart showing a pixel color determination operation according to the embodiment of the present invention.

【図4】マスク内の高濃度部分、低濃度部分を示す概略
図である。
FIG. 4 is a schematic diagram showing a high density portion and a low density portion in a mask.

【図5】色ずれが生じた時の黒文字領域における各画素
の各色成分ごとの濃度分布を示す概略図である。
FIG. 5 is a schematic diagram showing a density distribution for each color component of each pixel in a black character area when color misregistration occurs.

【図6】カラー文字領域における各画素の各色成分ごと
の濃度分布を示す概略図である。
FIG. 6 is a schematic diagram showing a density distribution for each color component of each pixel in a color character area.

【図7】本発明の実施の一形態である画像処理装置3を
含む画像形成装置1の構成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of an image forming apparatus 1 including an image processing apparatus 3 according to an embodiment of the present invention.

【図8】領域分離処理部8の構成を示すブロック図であ
る。
FIG. 8 is a block diagram showing a configuration of a region separation processing unit 8.

【図9】領域分離処理部8に含まれるエッジ判定部22
の構成を示すブロック図である。
FIG. 9 is an edge determination unit 22 included in the area separation processing unit 8.
3 is a block diagram showing the configuration of FIG.

【図10】エッジ部検出用のフィルタを示す図であっ
て、図10(1)は、主走査方向のゾーベルフィルタ4
0を示し、図10(2)は、副走査方向のゾーベルフィ
ルタ41を示す。
FIG. 10 is a diagram showing a filter for detecting an edge portion, and FIG. 10 (1) shows a Sobel filter 4 in the main scanning direction.
0, and FIG. 10B shows the Sobel filter 41 in the sub-scanning direction.

【図11】本発明の他の実施の形態の色判定部200の
構成を示すブロック図である。
FIG. 11 is a block diagram showing a configuration of a color determination unit 200 according to another embodiment of the present invention.

【図12】処理対象領域であるマスク105と副対象画
素部分であるサブマスク120との関係を示す図であ
る。
FIG. 12 is a diagram showing a relationship between a mask 105 which is a processing target region and a sub mask 120 which is a sub target pixel portion.

【図13】本発明の実施の他の形態の画素の色判定動作
の一部を示すフローチャートである。
FIG. 13 is a flowchart showing a part of a pixel color determination operation according to another embodiment of the present invention.

【図14】図13の色判定動作を部分的に示すフローチ
ャートである。
FIG. 14 is a flowchart partially showing the color determination operation of FIG.

【図15】図13の色判定動作を部分的に示すフローチ
ャートである。
FIG. 15 is a flowchart partially showing the color determination operation of FIG.

【図16】本発明のさらに他の実施の形態の色判定部3
00の構成を示すブロック図である。
FIG. 16 is a color determination unit 3 according to still another embodiment of the present invention.
It is a block diagram which shows the structure of 00.

【図17】本発明の実施のさらに他の形態の画素の色判
定動作の一部を示すフローチャートである。
FIG. 17 is a flowchart showing a part of a pixel color determination operation according to still another embodiment of the present invention.

【図18】図17のステップc5を詳しく示すフローチ
ャートである。
FIG. 18 is a flowchart showing in detail step c5 of FIG.

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

100 色判定部 101 対象領域抽出部 102 判定用画素部分抽出部 103 有彩無彩判定部 104 処理対象注目画素 105 マスク 106 色成分平均値算出部 107 最大最小算出部 108 高濃度部分検出部 109 低濃度部分検出部 110 判定用画素色判定部 111 カウント部 112 高濃度・低濃度部分色判定部 113 注目画素色判定部 114 総合判定部 115 色ずれ判定部 100 color judgment section 101 target area extraction unit 102 determination pixel portion extraction unit 103 Chromatic achromatic judgment section 104 target pixel to be processed 105 mask 106 Color Component Average Value Calculation Unit 107 maximum / minimum calculation unit 108 High-density area detector 109 Low-density portion detection unit 110 determination pixel color determination unit 111 counting section 112 High-density / low-density partial color judgment part 113 Target pixel color determination unit 114 Comprehensive judgment section 115 Color misregistration determination unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/48 H04N 1/40 F Fターム(参考) 5B057 AA11 BA02 BA30 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC03 CE17 CE18 DA08 DA17 DB02 DB06 DB09 DC16 DC25 DC36 5C077 LL19 MP08 PP27 PP28 PP32 PP33 PP47 PP68 PQ08 PQ17 PQ24 5C079 HB01 HB03 LA02 LA03 LA06 LA31 LB01 MA03 MA11 NA01 NA03 5L096 AA02 AA06 BA03 BA17 CA14 FA06 FA15 FA44 GA12 GA28 GA41 MA01 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) H04N 1/48 H04N 1/40 FF term (reference) 5B057 AA11 BA02 BA30 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC03 CE17 CE18 DA08 DA17 DB02 DB06 DB09 DC16 DC25 DC36 5C077 LL19 MP08 PP27 PP28 PP32.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 複数の画素の色が、複数の色成分で表さ
れる画像から、2つの近似した色の集まりである近似色
群の画素を有する対象画素領域を抽出する第1工程と、 対象画素領域内における色成分の濃度が高い高濃度部分
と、対象画素領域内における色成分の濃度が低い低濃度
部分とを抽出する第2工程と、 前記高濃度部分および前記低濃度部分の少なくともいず
れか一方に属する判定用画素の色情報に基づいて、対象
画素領域に含まれる処理対象注目画素が有彩色であるか
無彩色であるかを判定する第3工程とを有することを特
徴とする画像処理方法。
1. A first step of extracting, from an image in which colors of a plurality of pixels are represented by a plurality of color components, a target pixel region having pixels of an approximate color group, which is a group of two approximate colors, A second step of extracting a high-density portion where the color component density is high in the target pixel area and a low-density portion where the color component density is low in the target pixel area; and at least the high-density portion and the low-density portion And a third step of determining whether the target pixel to be processed included in the target pixel region is a chromatic color or an achromatic color based on color information of the determination pixel belonging to either one of them. Image processing method.
【請求項2】 複数の画素の色が、複数の色成分で表さ
れる画像から、2つの近似した色の集まりである近似色
群の画素を有する対象画素領域を抽出する対象領域抽出
部と、 対象画素領域内における色成分の濃度が高い高濃度部分
および色成分の濃度が低い低濃度部分の少なくともいず
れか一方を含む判定用画素部分を抽出する判定用画素部
分抽出部と、 判定用画素部分に属する判定用画素の色情報に基づい
て、対象画素領域に含まれる処理対象注目画素が有彩色
であるか無彩色であるかを判定する有彩無彩判定部とを
含むことを特徴とする画像処理装置。
2. A target area extraction unit that extracts a target pixel area having pixels of an approximate color group, which is a group of two approximate colors, from an image in which colors of a plurality of pixels are represented by a plurality of color components. A determination pixel portion extraction unit that extracts a determination pixel portion that includes at least one of a high-density portion with high color component density and a low-density portion with low color component density in the target pixel area; A chromatic / achromatic determination unit that determines whether the target pixel to be processed included in the target pixel region is a chromatic color or an achromatic color based on the color information of the determination pixel belonging to the portion. Image processing device.
【請求項3】 対象画素領域に属する処理対象注目画素
がエッジであるか否かを判定するエッジ判定部をさらに
含み、 有彩無彩判定部は、処理対象注目画素が有彩色であるか
無彩色であるかを、処理対象注目画素単独で判定する第
1判定部と、判定用画素が有彩色であるか無彩色である
かを判定する第2判定部と、第1および第2判定部にお
ける判定結果に基づいて、処理対象注目画素が有彩色で
あるか無彩色であるかを再度判定する第3判定部とを有
することを特徴とする請求項2記載の画像処理装置。
3. A chromatic / achromatic determination unit further includes an edge determining unit that determines whether or not the target pixel to be processed belonging to the target pixel region is an edge, and the chromatic / achromatic determining unit determines whether the target pixel to be processed is a chromatic color or not. A first determination unit that determines whether or not the target pixel to be processed is chromatic, a second determination unit that determines whether the determination pixel is chromatic or achromatic, and first and second determination units 3. The image processing apparatus according to claim 2, further comprising a third determination unit that determines again whether the target pixel to be processed is a chromatic color or an achromatic color based on the determination result in 3.
【請求項4】 判定用画素部分抽出部は、 対象画素領域に属する領域内注目画素と、前記領域内注
目画素の周囲の複数の画素とを含む副対象画素部分を設
定し、副対象画素部分に属する各画素の色情報に基づい
て、領域内注目画素の色情報を設定する副対象画素部分
設定部を有し、 副対象画素部分設定部によって設定された各領域内注目
画素の色情報に基づいて、前記判定用画素を抽出するこ
とを特徴とする請求項2または3記載の画像処理装置。
4. The determination pixel portion extracting unit sets a sub-target pixel portion including a target pixel in the area belonging to the target pixel area and a plurality of pixels around the target pixel in the area, and the sub-target pixel portion is set. The sub-target pixel portion setting unit that sets the color information of the target pixel in the area based on the color information of each pixel belonging to the sub-target pixel portion setting unit sets the color information of the target pixel in each area set by the sub-target pixel portion setting unit. The image processing apparatus according to claim 2, wherein the determination pixel is extracted based on the determination.
【請求項5】 判定用画素部分抽出部は、 色成分の濃度の平均値の最高濃度と最低濃度と、この最
高濃度と最低濃度の差分に予め定められる値を乗算した
値を求め、 高濃度部分を抽出する場合、上記色成分の濃度の平均値
の最高濃度と最高濃度と最低濃度の差分に予め定められ
る値を乗算した値を用いて高濃度部分を抽出し、 低濃度部分を抽出する場合、上記色成分の濃度の平均値
の最低濃度と最高濃度と最低濃度の差分に予め定められ
る値を乗算した値を用いて低濃度部分を抽出することを
特徴とする請求項3〜4のいずれか1つに記載の画像処
理装置。
5. The determination pixel portion extraction unit obtains a value obtained by multiplying the maximum density and the minimum density of the average values of the color components and a difference between the maximum density and the minimum density by a predetermined value to obtain a high density. When extracting a part, the high density part is extracted using the value obtained by multiplying the difference between the maximum density and the maximum density and the minimum density of the average value of the density of the color components by a predetermined value, and the low density part is extracted. In this case, the low density portion is extracted by using a value obtained by multiplying the difference between the minimum density, the maximum density and the minimum density of the average value of the density of the color components by a predetermined value. The image processing device according to any one of claims.
【請求項6】 判定用画素部分抽出部は、高濃度部分お
よび低濃度部分の少なくともいずれか一方を抽出すると
ともに、対象画素領域内における彩度が高い高彩度部分
および彩度が低い低彩度部分の少なくともいずれか一方
を含む判定用画素部分を抽出することを特徴とする請求
項2〜5のいずれかに記載の画像処理装置。
6. The determination pixel portion extraction unit extracts at least one of a high-density portion and a low-density portion, and a high-saturation portion having a high saturation and a low-saturation portion having a low saturation in the target pixel area. The image processing apparatus according to claim 2, wherein a determination pixel portion including at least one of the above is extracted.
【請求項7】 前記有彩無彩判定部は、前記第1判定部
および前記第3判定部の判定結果に基づいて、処理対象
注目画素に色成分のずれが生じているか否かを判定する
色ずれ判定部を有することを特徴とする請求項3記載の
画像処理装置。
7. The chromatic / achromatic determination unit determines whether or not a color component shift has occurred in a pixel of interest to be processed, based on the determination results of the first determination unit and the third determination unit. The image processing apparatus according to claim 3, further comprising a color shift determination unit.
【請求項8】 前記エッジ判定部および前記有彩無彩判
定部の判定結果に基づいて、処理対象注目画素が、有彩
色文字、無彩色文字および色ずれ文字のいずれであるか
判定するとともに、色ずれ文字と判定される処理対象注
目画素の数を求める色文字判定部と、 色ずれ文字である処理対象注目画素の数が、予め定める
しきい値以上の場合、色ずれ文字である処理対象注目画
素が存在することを報知する報知手段とを有することを
特徴とする請求項3に記載の画像処理装置。
8. Based on the determination results of the edge determination unit and the chromatic / achromatic determination unit, it is determined whether the target pixel to be processed is a chromatic color character, an achromatic color character, or a color shift character, A color character determination unit that determines the number of target pixels to be processed that are determined to be color-shifted characters, and a processing target that is a color-shifted character when the number of target pixels to be processed that are color-shifted characters is equal to or greater than a predetermined threshold value. The image processing apparatus according to claim 3, further comprising a notification unit that notifies that the target pixel exists.
【請求項9】 請求項2〜8のいずれか1つに記載の画
像処理装置を備えることを特徴とする画像形成装置。
9. An image forming apparatus comprising the image processing apparatus according to claim 2.
JP2002029664A 2002-02-06 2002-02-06 Image processing method, image processing apparatus and image forming apparatus Pending JP2003234912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002029664A JP2003234912A (en) 2002-02-06 2002-02-06 Image processing method, image processing apparatus and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002029664A JP2003234912A (en) 2002-02-06 2002-02-06 Image processing method, image processing apparatus and image forming apparatus

Publications (1)

Publication Number Publication Date
JP2003234912A true JP2003234912A (en) 2003-08-22

Family

ID=27773781

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002029664A Pending JP2003234912A (en) 2002-02-06 2002-02-06 Image processing method, image processing apparatus and image forming apparatus

Country Status (1)

Country Link
JP (1) JP2003234912A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008283645A (en) * 2007-05-14 2008-11-20 Kyocera Mita Corp Image processing apparatus and image forming apparatus
US7829965B2 (en) 2005-05-18 2010-11-09 International Business Machines Corporation Touching microlens structure for a pixel sensor and method of fabrication
JP2012015582A (en) * 2010-06-29 2012-01-19 Kyocera Mita Corp Image processing apparatus, image processing method and image processing program
JP2016100781A (en) * 2014-11-21 2016-05-30 株式会社リコー Image processing apparatus, control method of image processing apparatus, and control program of image processing apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7829965B2 (en) 2005-05-18 2010-11-09 International Business Machines Corporation Touching microlens structure for a pixel sensor and method of fabrication
US7898049B2 (en) 2005-05-18 2011-03-01 International Business Machines Corporation Touching microlens structure for a pixel sensor and method of fabrication
JP2008283645A (en) * 2007-05-14 2008-11-20 Kyocera Mita Corp Image processing apparatus and image forming apparatus
JP2012015582A (en) * 2010-06-29 2012-01-19 Kyocera Mita Corp Image processing apparatus, image processing method and image processing program
JP2016100781A (en) * 2014-11-21 2016-05-30 株式会社リコー Image processing apparatus, control method of image processing apparatus, and control program of image processing apparatus

Similar Documents

Publication Publication Date Title
JP4197346B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium
US7880927B2 (en) Image forming apparatus, image forming method, program, and recording medium
JP4105539B2 (en) Image processing apparatus, image forming apparatus including the same, image processing method, image processing program, and recording medium
JP2009042942A (en) Image processing device, image processing method, image processing program, and recording medium in which its program is stored
JP2007053439A (en) Isolated point discrimination apparatus, image processing apparatus, image reading apparatus, image forming apparatus, isolated point discrimination method, isolated point discrimination program, image processing program, and computer-readable recording medium
JP2005286571A (en) Image processing apparatus, image forming apparatus provided with image processing apparatus, image processing method, image processing program, and recording medium with image processing program recorded thereon
JP2003234912A (en) Image processing method, image processing apparatus and image forming apparatus
JP4522978B2 (en) Image processing apparatus, image processing method, image forming apparatus, image processing program, and recording medium
JP2003209704A (en) Image processing method, image processor, image forming device, image processing program, and recording medium
JP4545766B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing program, and recording medium
JP4248899B2 (en) Area separation processing method, area separation processing program, recording medium recording the same, image processing apparatus, and image forming apparatus including the same
JP2006304015A (en) Image processing apparatus, image forming apparatus, method of processing image, computer program and recording medium
JP3847565B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP2006229817A (en) Background detection method, program, recording medium, image processing apparatus, and image forming apparatus
JP2003264701A (en) Image processing method, image processor and image forming device provided with the same
JP4176053B2 (en) Image processing method, image processing apparatus, image forming apparatus, and computer program
JP3927426B2 (en) Image processing method, image processing apparatus, and image forming apparatus including the same
JP2005191890A (en) Image processing device, image processing method, image processing program, recording medium stored with image processing program and image forming apparatus with image processor
JP4086537B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
US20040234134A1 (en) Image processing apparatus and image processing method
JP2003162716A (en) Image processing method, image processor, image forming device, image discriminating method, image discrimination program, and computer-readable recording medium
JP3966404B2 (en) Image processing method, image processing apparatus, and image forming apparatus
JP2011015172A (en) Device for processing image, device for forming image, method and program for processing image, and recording medium recording program for processing image
JP2003125198A (en) Image processing apparatus and image processing method, and image forming device provided with the same, program, and recording medium
JP2003224718A (en) Image processing method and image processor