JPH0638054A - Image processor - Google Patents

Image processor

Info

Publication number
JPH0638054A
JPH0638054A JP4209836A JP20983692A JPH0638054A JP H0638054 A JPH0638054 A JP H0638054A JP 4209836 A JP4209836 A JP 4209836A JP 20983692 A JP20983692 A JP 20983692A JP H0638054 A JPH0638054 A JP H0638054A
Authority
JP
Japan
Prior art keywords
pixel
black
data
edge
interest
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
JP4209836A
Other languages
Japanese (ja)
Inventor
Ryoji Kubo
亮二 久保
Hidechika Kumamoto
秀近 熊本
Katsumi Nagata
勝己 永田
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.)
Kyocera Mita Industrial Co Ltd
Original Assignee
Mita Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mita Industrial Co Ltd filed Critical Mita Industrial Co Ltd
Priority to JP4209836A priority Critical patent/JPH0638054A/en
Publication of JPH0638054A publication Critical patent/JPH0638054A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To sharply reproduce black characters in color images by surely extracting picture elements at the edge parts of black characters and emphasizing the black color of these picture elements. CONSTITUTION:M data corresponding to Magenta are impressed to an edge detection part 4M after the density gradient is smoothed at a smoothing part 2M. When the density gradient near the notice picture element is sharp, the edge detection part 4M judges this notice picture element as the picture element of the edge part. Based on the three primary color data Y, M and C corresponding to Yellow, Magenta and Cyan, a black picture element detection part 7 defines an uncolored high-density picture element as a black picture element candidate. A detection area enlargement part 14 forcedly defines picture elements adjacent to the periphery of the picture element, which is defined as the black picture element candidate, as the black picture element candidate. When the picture element of the black picture element candidate is the picture element of the edge part at the same time, a selector 10 selects correction data from a color adjustment part 11. The color adjustment part 11 performs processing to emphasize the black color to the three primary color data of Y, M and C and BK data corresponding to black.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、カラー複写機などの画
像処理装置に関し、詳しくは黒色文字の検出および再生
が良好に行えるようにした画像処理装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus such as a color copying machine, and more particularly to an image processing apparatus capable of favorably detecting and reproducing black characters.

【0002】[0002]

【従来の技術】従来から、カラー原稿をCCD(電荷結
合素子)などで構成したスキャナにより光学的に読み取
って赤(R)、緑(G)、青(B)の加色法の3原色の
電気信号に変換し、この信号に基づいてカラー画像を形
成するようにしたカラー複写機が用いられている。スキ
ャナの出力であるR,G,Bの3原色信号は、これらの
補色であるシアン(C)、マゼンタ(M)、イエロー
(Y)の減色法の3原色データに変換される。このC,
M,Yの3原色データには適当な補正が施され、さら
に、補正後の3原色データに基づいて黒(BK)データ
が生成される。
2. Description of the Related Art Conventionally, a color original is optically read by a scanner composed of a CCD (charge coupled device) or the like and three primary colors of additive colors of red (R), green (G) and blue (B) are added. A color copying machine is used which is converted into an electric signal and a color image is formed based on the signal. The R, G, and B primary color signals output from the scanner are converted into complementary color data of cyan (C), magenta (M), and yellow (Y) subtractive primary color data. This C,
Appropriate correction is applied to the three primary color data of M and Y, and black (BK) data is generated based on the corrected three primary color data.

【0003】たとえば、C信号に基づく変調を施したレ
ーザビームにより感光体表面が走査れ、この感光体表面
にシアンに対応した静電潜像が形成される。この静電潜
像は、シアンのトナーを用いてトナー像に顕像化された
後、複写用紙に転写される。同様にしてM信号、Y信
号、BK信号に対応して、マゼンタ、イエロー、黒の各
トナー像が複写用紙に重ねて転写され、最後にトナーが
加熱定着されて、カラーコピーが達成される。C、M、
Yの3原色のトナーだけでもカラー画像の再生が可能で
あるが、黒のトナーを用いれば、高濃度の部分を黒のト
ナーを用いて良好に表現することができるので、カラー
トナーを節約できる。
For example, the surface of the photoconductor is scanned by a laser beam modulated based on the C signal, and an electrostatic latent image corresponding to cyan is formed on the surface of the photoconductor. This electrostatic latent image is visualized as a toner image using cyan toner and then transferred to a copy sheet. Similarly, in response to the M signal, the Y signal, and the BK signal, magenta, yellow, and black toner images are transferred onto the copy sheet in an overlapping manner, and finally the toner is heat-fixed to achieve a color copy. C, M,
A color image can be reproduced with only the toners of the three primary colors of Y, but if black toner is used, a high density portion can be satisfactorily expressed using black toner, so that color toner can be saved. .

【0004】[0004]

【発明が解決しようとする課題】上記のようなカラー複
写機では、黒色の文字を含む原稿を複写した場合には、
黒色文字のエッジ部が見にくくなるという問題がある。
すなわち、シアン、マゼンタ、イエロー、黒の4色のト
ナーで画像が表現されるために、文字のエッジ部には必
然的に有彩色成分による滲みが生じ、文字部分と地肌部
分との境界を明確にすることができない。このため、鮮
明な文字画像を得ることができないという問題がある。
しかも、カラー複写機では一般に、中間階調を表現する
ために、C,M,Y,BKデータにそれぞれいわゆるデ
ィザ処理が施されるので、上記の傾向が助長されること
になる。
In the color copying machine as described above, when a manuscript containing black characters is copied,
There is a problem that the edges of black characters are hard to see.
That is, since the image is expressed by the toners of four colors of cyan, magenta, yellow, and black, bleeding due to the chromatic color component inevitably occurs at the edge portion of the character, and the boundary between the character portion and the background portion is clearly defined. I can't. Therefore, there is a problem that a clear character image cannot be obtained.
Moreover, in a color copying machine, generally, so-called dither processing is applied to each of C, M, Y, and BK data in order to express an intermediate gradation, so that the above tendency is promoted.

【0005】そこで、本発明の目的は、上述の技術的課
題を解決し、黒色文字の検出または再生が格段に良好に
行われるようにした画像処理装置を提供することであ
る。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above technical problems and to provide an image processing apparatus in which black characters can be detected or reproduced remarkably well.

【0006】[0006]

【課題を解決するための手段および作用】上記の目的を
達成するための請求項1記載の画像処理装置は、カラー
画像を光学的に読み取って3原色のそれぞれの濃度に対
応するデータを含む画像データに変換する変換手段と、
上記画像データに基づいて、注目画素が無彩色の画素で
あってしかも濃度が所定値以上であるときにこの注目画
素を黒画素候補とする黒画素検出手段と、この黒画素検
出手段における検出結果に基づき、注目画素の周囲の所
定の画素が黒画素候補とされた画素であるときに、当該
注目画素を強制的に黒画素候補とする検出領域拡大手段
と、注目画素の画像データと注目画素に隣接する画素の
画像データとに基づいて当該注目画素の近傍の濃度勾配
を検出し、この濃度勾配が所定値以上であるときに、こ
の注目画素をエッジ部の画素と判定するエッジ検出手段
と、注目画素がエッジ部の画素と判定され、かつ黒画素
候補とされたときに、当該注目画素を黒色文字のエッジ
部を構成する画素と判定する手段とを含むことを特徴と
する。
In order to achieve the above object, the image processing apparatus according to claim 1 is an image including an image including data corresponding to respective densities of three primary colors by optically reading a color image. Conversion means for converting to data,
Based on the image data, when the pixel of interest is an achromatic pixel and the density is equal to or higher than a predetermined value, a black pixel detection unit that makes this pixel of interest a black pixel candidate, and a detection result by the black pixel detection unit Based on the above, when a predetermined pixel around the target pixel is a black pixel candidate, the detection area enlarging unit forcibly making the target pixel a black pixel candidate, image data of the target pixel and the target pixel Edge detecting means for detecting a density gradient in the vicinity of the pixel of interest based on image data of a pixel adjacent to the edge pixel and determining the pixel of interest as a pixel of an edge portion when the density gradient is equal to or more than a predetermined value. When the target pixel is determined to be a pixel of an edge portion and is a black pixel candidate, the target pixel is determined to be a pixel forming an edge portion of a black character.

【0007】上記の構成によれば、黒画素検出手段で
は、変換手段で作成される3原色の各濃度に対応した画
像データに基づいて、無彩色の画素でしかも濃度の高い
画素が黒画素候補として検出される。さらに、黒画素検
出手段での検出結果に基づき、検出領域拡大手段では、
注目画素の周囲の所定の画素が黒画素候補であるとき
に、当該注目画素が黒画素候補とされる。すなわち、或
る画素が黒画素検出手段により黒画素候補と検出される
と、その周囲の所定の位置関係にある画素も黒画素候補
となる。
According to the above arrangement, the black pixel detecting means selects black pixel candidates of achromatic color and high density on the basis of the image data corresponding to the respective densities of the three primary colors created by the converting means. Detected as. Furthermore, based on the detection result of the black pixel detection means, the detection area expansion means
When a predetermined pixel around the target pixel is a black pixel candidate, the target pixel is set as a black pixel candidate. That is, when a certain pixel is detected as a black pixel candidate by the black pixel detecting means, the pixels surrounding the pixel in a predetermined positional relationship also become the black pixel candidate.

【0008】たとえば、カラー印刷などされたカラー画
像中の文字のエッジ部に生じている色の滲みや光学的読
取手段の読取特性などのために、黒画素検出手段での処
理のみでは黒色文字のエッジ部の画素を黒画素候補とし
て検出することができないおそれがある。このような場
合でも、検出領域拡大手段の働きにより、黒色文字のエ
ッジ部の画素を確実に黒画素候補とすることができる。
For example, due to color bleeding occurring at the edge portion of a character in a color image printed in color, the reading characteristics of the optical reading means, and the like, black characters are detected only by the processing by the black pixel detecting means. There is a possibility that the pixels in the edge portion cannot be detected as black pixel candidates. Even in such a case, the pixel of the edge portion of the black character can be surely set as the black pixel candidate by the function of the detection area expanding unit.

【0009】一方、注目画素の近傍の濃度勾配が所定値
以上のときに、このような画素は何らかの画像のエッジ
部を構成するものと判定される。そして、このエッジ部
を構成すると判定された画素が、同時に黒画素候補とさ
れた画素である場合には、当該画素が黒色文字のエッジ
部を構成する画素と判定されることになる。このよう
に、濃度勾配に基づくエッジ部の検出と、黒画素候補の
検出とを併用して、黒色文字のエッジ部が検出される。
しかも、上記のように黒色文字のエッジ部における色の
滲みなどによらずに、黒色文字のエッジ部の画素を確実
に黒画素候補とすることができるから、黒色文字のエッ
ジ部の検出が確実に行える。
On the other hand, when the density gradient in the vicinity of the pixel of interest is equal to or larger than a predetermined value, it is determined that such a pixel constitutes an edge portion of some image. Then, if the pixels that are determined to form the edge portion are pixels that are also black pixel candidates at the same time, it is determined that the pixel is a pixel that constitutes the edge portion of the black character. In this way, the edge part of the black character is detected by using the detection of the edge part based on the density gradient and the detection of the black pixel candidate together.
In addition, as described above, the pixels at the edge portion of the black character can be surely set as the black pixel candidates without depending on the color blurring at the edge portion of the black character, so that the edge portion of the black character can be detected reliably. You can do it.

【0010】請求項2記載の画像処理装置は、カラー画
像を光学的に読み取って3原色のそれぞれの濃度に対応
するデータを含む画像データに変換する変換手段と、上
記画像データに基づいて、注目画素が無彩色の画素であ
ってしかも濃度が所定値以上であるときにこの注目画素
を黒画素候補とする黒画素検出手段と、注目画素の画像
データと注目画素に隣接する画素の画像データとに基づ
き、当該隣接する画素から注目画素に向かう方向につい
ての濃度勾配を検出し、この濃度勾配が所定値以上であ
るときに、この注目画素をエッジ部の画素と判定するエ
ッジ検出手段と、注目画素がエッジ部の画素と判定さ
れ、かつ黒画素候補とされたときに、当該注目画素を黒
色文字のエッジ部を構成する画素と判定する手段とを含
むことを特徴とする。
According to another aspect of the present invention, there is provided an image processing apparatus, wherein a color image is optically read and converted into image data including data corresponding to respective densities of three primary colors, and based on the image data, Black pixel detection means for selecting the target pixel as a black pixel candidate when the pixel is an achromatic pixel and the density is equal to or more than a predetermined value, and image data of the target pixel and image data of pixels adjacent to the target pixel. Based on the above, the density gradient in the direction from the adjacent pixel to the target pixel is detected, and when the density gradient is equal to or more than a predetermined value, the target pixel is determined as an edge part pixel, And a means for determining the pixel of interest as a pixel forming an edge portion of a black character when the pixel is determined to be a pixel of an edge portion and is a black pixel candidate.

【0011】この構成によれば、エッジ検出手段では、
注目画素に隣接する画素から注目画素に向かう方向につ
いての濃度勾配が検出される。そして、この濃度勾配が
所定値以上であるときに、当該注目画素がエッジ部の画
素と判定される。したがって、注目画素から隣接する画
素に向かう方向についての濃度勾配が大きくても、当該
注目画素はエッジ部の画素と判定されることはない。こ
のため、黒色文字の画像の輪郭線の内側にある画素のみ
がエッジ部の画素と判定され、輪郭線の外側の画素はエ
ッジ部の画素と判定されることはない。このようにし
て、黒色文字の画像の輪郭線を精度良く検出できる。
According to this structure, the edge detecting means
The density gradient in the direction from the pixel adjacent to the target pixel toward the target pixel is detected. Then, when the density gradient is equal to or more than a predetermined value, the pixel of interest is determined to be a pixel of the edge portion. Therefore, even if the density gradient in the direction from the target pixel to the adjacent pixel is large, the target pixel is not determined to be the pixel of the edge portion. Therefore, only pixels inside the outline of the black character image are determined to be pixels of the edge portion, and pixels outside the outline are not determined to be pixels of the edge portion. In this way, the contour line of the black character image can be detected with high accuracy.

【0012】請求項3記載の画像処理装置は、カラー画
像を光学的に読み取って3原色のそれぞれの濃度に対応
するデータを含む画像データに変換する変換手段と、上
記画像データに基づいて、注目画素が無彩色の画素であ
ってしかも濃度が所定値以上であるときにこの注目画素
を黒画素候補とする黒画素検出手段と、この黒画素検出
手段における検出結果に基づき、注目画素の周囲の所定
の画素が黒画素候補とされた画素であるときに、当該注
目画素を強制的に黒画素候補とする検出領域拡大手段
と、注目画素の画像データと注目画素に隣接する画素の
画像データとに基づき、当該隣接する画素から注目画素
に向かう方向についての濃度勾配を検出し、この濃度勾
配が所定値以上であるときに、この注目画素をエッジ部
の画素と判定するエッジ検出手段と、注目画素がエッジ
部の画素と判定され、かつ黒画素候補とされたときに、
当該注目画素を黒色文字のエッジ部を構成する画素と判
定する手段とを含むことを特徴とする。
According to a third aspect of the present invention, there is provided an image processing apparatus, wherein a color image is optically read and converted into image data including data corresponding to respective densities of three primary colors, and based on the image data, When the pixel is an achromatic pixel and the density is equal to or more than a predetermined value, a black pixel detection unit that makes this pixel of interest a black pixel candidate, and based on the detection result of this black pixel detection unit, When a predetermined pixel is a black pixel candidate, a detection area expanding unit that forcibly sets the target pixel as a black pixel candidate, image data of the target pixel, and image data of pixels adjacent to the target pixel Based on the above, the density gradient in the direction from the adjacent pixel to the target pixel is detected, and when the density gradient is equal to or more than a predetermined value, the target pixel is determined to be an edge pixel. Di detecting means, when the pixel of interest is determined that the pixel of the edge portion, and is a black pixel candidate,
And a means for determining the pixel of interest as a pixel forming an edge portion of a black character.

【0013】この構成では、請求項1記載の黒画素候補
の領域を拡大する処理と、請求項2記載の方向性を持た
せたエッジ検出処理とが併用されている。このため、黒
色文字のエッジ部を確実にしかも精度良く検出できる。
請求項4記載の画像処理装置は、上記変換手段は、カラ
ー画像を光学的に読み取って3原色のそれぞれの濃度に
対応する3原色データに変換し、さらに3原色データに
基づいて黒色の濃度に対応した黒データを作成するもの
であり、上記画像処理装置は、さらに、上記黒色文字の
エッジ部の画素と判定された画素に関して、3原色の濃
度を減少させるとともに黒色の濃度を増大させるよう
に、上記3原色データおよび黒データに補正を施すデー
タ補正手段を含むことを特徴とする。
In this configuration, the processing for enlarging the area of the black pixel candidate according to claim 1 and the edge detection processing with directionality according to claim 2 are used together. Therefore, the edge portion of the black character can be detected reliably and accurately.
An image processing apparatus according to claim 4, wherein the conversion means optically reads the color image and converts it into three primary color data corresponding to respective densities of the three primary colors, and further, based on the three primary color data, a black density is obtained. Corresponding black data is created, and the image processing apparatus further reduces the densities of the three primary colors and increases the densities of black with respect to the pixels determined to be the pixels of the edge portion of the black character. , And data correction means for correcting the three primary color data and the black data.

【0014】この構成によれば、黒色文字のエッジ部を
構成する画素については、黒色の濃度が増大された黒デ
ータおよび3原色データがデータ補正手段から生成され
る。これにより、黒色文字のエッジ部に関しては黒色が
強調されるから、黒色文字の境界部を明確に表現した画
像データが得られる。この場合に上記検出領域拡大手段
を備えて黒画素候補の領域を拡大する処理を施せば、黒
色文字のエッジ部の画素の黒色を確実に強調させること
ができる。また、エッジ検出処理の際の濃度勾配の判定
に方向性を持たせて、黒色文字の画像の輪郭線内の画素
のみをエッジ画素と判定させることとすれば、文字画像
の輪郭部を精度良く再現することができる。このため、
文字が太ることを防止できるとともに、狭い間隔で線が
近接しているたとえば「量」のような文字であっても、
線間の余白部分を良好に再現できる。このようにして、
高品位の画像再生が可能となる。
According to this structure, for the pixels forming the edge portion of the black character, the black data and the three primary color data in which the density of black is increased are generated from the data correcting means. As a result, black is emphasized in the edge portion of the black character, so that image data clearly expressing the boundary portion of the black character can be obtained. In this case, if the detection area expansion means is provided and the processing for expanding the area of the black pixel candidate is performed, the black color of the pixel at the edge portion of the black character can be surely emphasized. In addition, if the density gradient is determined in the edge detection process with directionality and only the pixels within the contour line of the black character image are determined to be edge pixels, the contour portion of the character image can be accurately measured. It can be reproduced. For this reason,
You can prevent the characters from getting fat, and even if the characters are close to each other with a narrow space, such as "quantity",
The margin between the lines can be reproduced well. In this way
High-quality image reproduction is possible.

【0015】請求項5記載の画像処理装置は、上記エッ
ジ検出手段は、注目画素と注目画素に隣接する画素とに
おける上記3原色データのうちのいずれか1つの特定色
のデータに基づいて、当該注目画素がエッジ部の画素で
あるか否かを判定するものであることを特徴とする。こ
れにより、エッジ検出手段の構成を簡素化することがで
きる。
According to a fifth aspect of the present invention, in the image processing apparatus, the edge detecting means is based on data of one specific color among the three primary color data of the target pixel and the pixel adjacent to the target pixel. It is characterized by determining whether or not the pixel of interest is a pixel in the edge portion. As a result, the structure of the edge detecting means can be simplified.

【0016】上記特定色には、たとえば3原色データが
イエロー、マゼンタおよびシアンに対応するものである
ときには、マゼンタが適用されることが好ましい。これ
は、カラー画像を構成するマゼンタ成分が、人間の視覚
特性に最も近似しているからである。請求項6記載の画
像処理装置は、注目画素と注目画素に隣接する画素との
画像データに基づいて当該注目画素の近傍の濃度勾配を
平滑化したデータを作成する平滑化手段をさらに含み、
上記エッジ検出手段は、上記平滑化手段で平滑化された
データが与えられ、注目画素と注目画素に隣接する画素
との上記平滑化後の画像データに基づいて、当該注目画
素がエッジ部の画素であるか否かを判定するものである
ことを特徴とする。
Magenta is preferably applied to the specific color when, for example, the three primary color data correspond to yellow, magenta, and cyan. This is because the magenta component forming the color image is the closest to the human visual characteristics. The image processing apparatus according to claim 6, further comprising a smoothing unit that creates data in which a density gradient in the vicinity of the target pixel is smoothed based on image data of the target pixel and a pixel adjacent to the target pixel.
The edge detection means is provided with the data smoothed by the smoothing means, and based on the smoothed image data of the target pixel and the pixel adjacent to the target pixel, the target pixel is a pixel of the edge portion. It is characterized by determining whether or not

【0017】この構成によれば、平滑化手段で濃度勾配
が平滑化された後に、エッジ検出手段での濃度勾配に基
づくエッジ検出処理が行われるから、濃度勾配が比較的
ゆるやかな領域の画素がエッジ部の画素として検出され
ることが防がれる。このため、画像のエッジ部を確実に
検出させることができる。請求項7記載の画像処理装置
は、上記平滑化手段は、注目画素に隣接する画素におけ
る上記3原色データのうちのいずれか1つの特定色のデ
ータに基づいて当該注目画素の近傍の濃度勾配を平滑化
したデータを作成するものであり、上記エッジ検出手段
は、上記平滑化手段で平滑化されたデータが与えられ、
注目画素と注目画素に隣接する画素との上記平滑化後の
特定色のデータに基づいて、当該注目画素がエッジ部の
画素である否かを判定するものであることを特徴とす
る。
According to this structure, since the edge detecting process based on the density gradient is performed by the edge detecting means after the density gradient is smoothed by the smoothing means, pixels in a region where the density gradient is relatively gentle are detected. It is prevented that the pixel is detected as an edge pixel. Therefore, it is possible to reliably detect the edge portion of the image. The image processing device according to claim 7, wherein the smoothing unit calculates a density gradient in the vicinity of the pixel of interest based on data of any one specific color of the three primary color data in pixels adjacent to the pixel of interest. In order to create smoothed data, the edge detection means is given the data smoothed by the smoothing means,
It is characterized in that it is determined whether or not the target pixel is a pixel of an edge portion based on the smoothed specific color data of the target pixel and the pixel adjacent to the target pixel.

【0018】この構成によれば、平滑化処理およびエッ
ジ検出処理が特定の1色のデータに基づいて行われるの
で、平滑化手段およびエッジ検出手段の構成を簡素化す
ることができる。しかも、平滑化処理後のデータに基づ
いてエッジ検出が行われるから、画像のエッジ部を確実
に検出することができる。
According to this structure, the smoothing process and the edge detecting process are performed based on the data of one specific color, so that the structures of the smoothing unit and the edge detecting unit can be simplified. Moreover, since the edge detection is performed based on the smoothed data, the edge portion of the image can be surely detected.

【0019】[0019]

【実施例】以下では、本発明の実施例を、添付図面によ
って詳細に説明する。図1は本発明の一実施例の画像処
理装置であるカラー複写機の要部の電気的構成を示すブ
ロック図である。この画像処理装置は、イエロー
(Y)、マゼンタ(M)、シアン(C)の3原色データ
と、この3原色データから作成された黒(BK)データ
とに基づいて、スキャナなどにより読み取られた読取画
像中に存在する黒色文字のエッジ部を構成する画素を抽
出し、黒色文字の部分と地肌部分との境界を明確にして
黒色文字を鮮明に再生しようとするものである。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a block diagram showing an electrical configuration of a main part of a color copying machine which is an image processing apparatus according to an embodiment of the present invention. This image processing apparatus is read by a scanner or the like on the basis of three primary color data of yellow (Y), magenta (M), and cyan (C) and black (BK) data created from these three primary color data. Pixels constituting the edge portion of a black character existing in a read image are extracted, and the boundary between the black character portion and the background portion is made clear to reproduce the black character clearly.

【0020】複写すべきカラー原稿は、CCD(電荷結
合素子)などで構成した図外のスキャナにより光学的に
読み取られ、赤(R)、緑(G)、青(B)の加色法に
よる3原色信号に光電変換される。この加色法による3
原色信号は、それぞれの補色であるイエロー(Y)、マ
ゼンタ(M)、シアン(C)の減色法による3原色信号
に変換され、さらにこの信号に原画に忠実な色再現のた
めの補正が施されてY,M,Cの3原色画像データが作
成される。さらに、このY,M,Cの3原色データに基
づいてBKデータが作成される。このBKデータは、高
濃度部における濃度不足を黒色トナーで補うためのデー
タであり、たとえばY,M,Cの3原色データの最小値
に所定の補正係数α(たとえば0.5〜1)を乗じた値
を各3原色データから除去し、この除去した値をBKデ
ータとするようにして作成される。本実施例では、上記
のスキャナやY,M,C,BKデータを作成する構成部
分を含んで変換手段が構成されている。
A color original to be copied is optically read by a scanner (not shown) composed of a CCD (charge coupled device) or the like, and is subjected to a red (R), green (G), and blue (B) color addition method. It is photoelectrically converted into three primary color signals. 3 by this addition method
The primary color signals are converted into three primary color signals by the subtractive color method of yellow (Y), magenta (M), and cyan (C), which are complementary colors, and the signals are subjected to correction for color reproduction faithful to the original image. Then, Y, M, and C primary color image data is created. Further, BK data is created based on the three primary color data of Y, M and C. This BK data is data for compensating for the insufficient density in the high density portion with black toner, and for example, a predetermined correction coefficient α (for example, 0.5 to 1) is added to the minimum value of the three primary color data of Y, M, and C. It is created by removing the multiplied value from each of the three primary color data and using the removed value as the BK data. In the present embodiment, the conversion means is configured to include the above-mentioned scanner and the components for creating the Y, M, C and BK data.

【0021】Y,M,Cの3原色データのうち、マゼン
タに対応したMデータは、タイミング調整部1Mを経
て、濃度勾配を平滑化させるための平滑化部2Mに与え
られる。この平滑化部2Mで平滑化されたデータは、タ
イミング調整部3Mを経て、文字などの画像のエッジ部
を検出するためのエッジ検出部4Mに与えられる。エッ
ジ検出部4Mは、注目画素の近傍の画素の間の濃度勾配
を検出することによって各画素がエッジ部の画素である
かどうかを検出するもので、エッジ部の画素に対して
は、出力信号EDGEが論理「1」となる。この論理
「1」の信号がエッジ検出信号となり、このエッジ検出
信号が出力された画素は、何らかの画像のエッジ部の画
素である。
Of the three primary color data of Y, M and C, M data corresponding to magenta is supplied to the smoothing unit 2M for smoothing the density gradient through the timing adjusting unit 1M. The data smoothed by the smoothing unit 2M is given to the edge detecting unit 4M for detecting the edge portion of the image such as a character through the timing adjusting unit 3M. The edge detection unit 4M detects whether or not each pixel is a pixel of an edge portion by detecting a density gradient between pixels in the vicinity of the target pixel, and outputs an output signal to the pixel of the edge portion. EDGE becomes logic "1". The signal of this logic "1" becomes an edge detection signal, and the pixel to which this edge detection signal is output is the pixel of the edge part of some image.

【0022】このようにマゼンタに対応したMデータに
基づいて、画像のエッジを検出するのは、カラー画像を
構成するマゼンタ成分が人間の視覚特性に近似している
からである。一方、Y,M,Cの3原色データは、それ
ぞれ、タイミング調整部6Y,6M,6Cを経て黒画素
検出部7に与えられている。この黒画素検出部7は、
Y,M,Cの3原色データの相互の差分に基づいて無彩
色の画素を検出し、この無彩色の画素の濃度が所定値以
上であるときに、当該画素を黒画素候補とする。黒画素
候補とされた注目画素に対しては出力信号BLACKが
論理「1」とされる。
The reason for detecting the edge of the image based on the M data corresponding to magenta is that the magenta component forming the color image is close to the human visual characteristic. On the other hand, the three primary color data of Y, M, and C are given to the black pixel detection unit 7 via the timing adjustment units 6Y, 6M, and 6C, respectively. This black pixel detection unit 7
An achromatic pixel is detected based on the difference between the three primary color data of Y, M, and C, and when the density of this achromatic pixel is equal to or higher than a predetermined value, the pixel is regarded as a black pixel candidate. The output signal BLACK is set to logic “1” for the target pixel selected as the black pixel candidate.

【0023】黒画素検出部7の出力信号は、タイミング
調整部120を経て検出領域拡大部14に入力される。
この検出領域拡大部14は、後述するように、注目画素
の周囲に黒画素候補の画素が存在するときに、当該注目
画素を強制的に黒画素候補とし、その注目画素に対して
は黒画素候補であることを表す論理「1」の信号を出力
するものである。この検出領域拡大部14での処理の結
果として、黒画素検出部7で検出された黒画素候補の画
素に隣接する画素は、いずれも黒画素候補とされること
になる。その結果、黒画素検出部7で検出された黒画素
候補が、1ドット分太らされることになる。
The output signal of the black pixel detection unit 7 is input to the detection area expansion unit 14 via the timing adjustment unit 120.
As will be described later, the detection area enlarging unit 14 forcibly sets the target pixel as a black pixel candidate when a black pixel candidate pixel exists around the target pixel, and the target pixel is a black pixel candidate. It outputs a signal of logic "1" indicating that it is a candidate. As a result of the processing in the detection area expanding unit 14, all the pixels adjacent to the pixels of the black pixel candidate detected by the black pixel detecting unit 7 become the black pixel candidates. As a result, the black pixel candidate detected by the black pixel detection unit 7 is thickened by one dot.

【0024】この信号が論理積回路8の一方の入力端子
に入力される。論理積回路8の他方の入力端子には、エ
ッジ検出部4Mの出力信号EDGEが与えられている。
したがって、論理積回路8の出力は、Mデータに基づい
てエッジ部が検出された場合であって、検出領域拡大部
14から注目画素が黒画素候補であることを表す論理
「1」の信号が出力されたときにのみ、論理「1」とな
る。この場合には、当該画素は、黒色文字のエッジ部な
どのような黒色画像のエッジ部を構成する画素であると
言える。
This signal is input to one input terminal of the AND circuit 8. The output signal EDGE of the edge detector 4M is applied to the other input terminal of the AND circuit 8.
Therefore, the output of the AND circuit 8 is when the edge portion is detected based on the M data, and the detection area expansion unit 14 outputs the signal of logic “1” indicating that the target pixel is the black pixel candidate. Only when it is output, it becomes logical "1". In this case, it can be said that the pixel is a pixel forming an edge portion of a black image such as an edge portion of a black character.

【0025】論理積回路8の出力信号はライン9から後
述するセレクタ10に選択制御信号として与えられてい
る。上記論理積回路8、カラー調整部11およびセレク
タ10などを含んでデータ補正手段が構成されている。
タイミング調整部6Y,6M,6Cを経たY,M,Cの
3原色データは、カラー調整部11にも与えられてい
る。このカラー調整部11にはさらにタイミング調整部
6BKでタイミング調整されたBKデータも入力されて
いる。カラー調整部11は、BKデータを強調して、い
わば黒色による二値画像に近い画像に対応した信号を生
成するものである。このカラー調整部11の出力は、タ
イミング調整部140を経て、上記のセレクタ10に入
力される。
The output signal of the AND circuit 8 is given to the selector 10 which will be described later from the line 9 as a selection control signal. A data correction unit is configured by including the logical product circuit 8, the color adjustment unit 11, the selector 10, and the like.
The three primary color data of Y, M, and C that have passed through the timing adjustment units 6Y, 6M, and 6C are also given to the color adjustment unit 11. The BK data whose timing is adjusted by the timing adjusting unit 6BK is also input to the color adjusting unit 11. The color adjusting unit 11 emphasizes the BK data and generates a signal corresponding to an image that is, so to speak, black and is close to a binary image. The output of the color adjusting unit 11 is input to the selector 10 via the timing adjusting unit 140.

【0026】セレクタ10にはまた、カラー調整部11
を側路したタイミング調整部6Y,6M,6C,6BK
からのY,M,Cの3原色データおよびBKデータがラ
イン12を介し、さらにタイミング調整部13を通って
与えられている。このセレクタ10は、ライン9からの
選択制御信号に応答して、カラー調整部11からのY,
M,C,BKデータとタイミング調整部13からのY,
M,C,BKデータとのうち、いずれか一方のY,M,
C,BKデータを選択することになる。すなわち、黒色
文字のエッジ部を構成する画素に対しては、カラー調整
部11からのデータを選択し、残余の画素に対してはタ
イミング調整部13からのデータを選択することにな
る。
The selector 10 also includes a color adjusting section 11
Timing adjustment section 6Y, 6M, 6C, 6BK
The three primary color data of Y, M, and C and BK data are given through the line 12 and further through the timing adjusting unit 13. The selector 10 responds to the selection control signal from the line 9 with Y,
M, C, BK data and Y from the timing adjustment unit 13,
One of Y, M, and M, C, and BK data
C and BK data will be selected. That is, the data from the color adjusting unit 11 is selected for the pixels forming the edge portion of the black character, and the data from the timing adjusting unit 13 is selected for the remaining pixels.

【0027】このセレクタ10から出力されるYout,M
out,Cout の3原色データおよび黒に対応するBKout
データに基づいて、各色の画像に対応した静電潜像を感
光体上に形成させるレーザビームに変調が施される。図
2はタイミング調整部1M,3Mの構成例を示すブロッ
ク図である。レーザビームによる走査の順に従って入力
されるMデータは、先ずD(Delayed)型フリップフロッ
プ(DFF)15を介してデータD2として平滑化部2
Mに入力される。さらにデータD2は先入れ先出し型メ
モリ(以下「FIFO」という)16で1ライン分遅延
され、フリップフロップ17を介してデータD1として
平滑化部2Mに入力される。このデータD1はFIFO
18で1ライン分遅延された後にフリップフロップ19
を介し、データD0として平滑化部2Mに入力される。
これによって、平滑化部2Yに並列に与えられるデータ
D0,D1,D2は、レーザビームが感光体を走査する
ときの副走査方向に隣接する画素に対応したデータであ
ることになる。
Yout, M output from the selector 10
BKout corresponding to 3 primary color data of out and Cout and black
Based on the data, the laser beam that forms an electrostatic latent image corresponding to each color image on the photoconductor is modulated. FIG. 2 is a block diagram showing a configuration example of the timing adjusting units 1M and 3M. The M data input according to the scanning order of the laser beam is first passed through the D (Delayed) type flip-flop (DFF) 15 as the data D2 and the smoothing unit 2
Input to M. Further, the data D2 is delayed by one line in a first-in first-out memory (hereinafter referred to as "FIFO") 16 and input to the smoothing unit 2M as data D1 via the flip-flop 17. This data D1 is FIFO
Flip-flop 19 after being delayed by one line at 18
Is input to the smoothing unit 2M as data D0.
As a result, the data D0, D1, and D2 provided in parallel to the smoothing unit 2Y are data corresponding to adjacent pixels in the sub-scanning direction when the laser beam scans the photoconductor.

【0028】タイミング調整部3Mもほぼ同様な構成と
なっており、それぞれ1ライン分ずつデータを遅延させ
るFIFO20,21,22と、各FIFOからのデー
タをラッチするD型フリップフロップ23,24,25
とで構成され、各フリップフロップの出力データDL
2,DL1,DL0がエッジ検出部4Mに入力されてい
る。
The timing adjusting section 3M has substantially the same structure, and FIFOs 20, 21 and 22 each for delaying data by one line and D-type flip-flops 23, 24 and 25 for latching data from each FIFO.
And the output data DL of each flip-flop
2, DL1 and DL0 are input to the edge detection unit 4M.

【0029】図3は平滑化部2Mでの平滑化処理を説明
するための図である。この平滑化処理は濃度勾配を平滑
化する処理である。注目画素S0についての平滑化処理
は、この画素の濃度Q0と、副走査方向27に隣接する
画素S1,S4の各濃度Q1,Q4と、主走査方向28
に隣接する画素S2,S3の各濃度Q2,Q3とに基づ
いて行われる。すなわち、各画素S0〜S4の重み係数
をC0,C1,C2,C3,C4(ただし、C0+C1
+C2+C3+C4=1)とし、 C1=C2=C3=C4=C(定数) ・・・・ (1) とすると、平滑化処理後の画素S0の濃度Qsは、下記
第(2) 式により求められる。
FIG. 3 is a diagram for explaining the smoothing process in the smoothing unit 2M. This smoothing process is a process for smoothing the density gradient. The smoothing process for the target pixel S0 is performed by the density Q0 of this pixel, the densities Q1 and Q4 of the pixels S1 and S4 adjacent in the sub-scanning direction 27, and the main scanning direction 28.
Is performed on the basis of the densities Q2 and Q3 of the pixels S2 and S3 adjacent to each other. That is, the weighting factors of the pixels S0 to S4 are C0, C1, C2, C3, C4 (where C0 + C1
+ C2 + C3 + C4 = 1) and C1 = C2 = C3 = C4 = C (constant) (1), the density Qs of the pixel S0 after the smoothing process is obtained by the following equation (2).

【0030】[0030]

【数1】 [Equation 1]

【0031】ここで、 C=1/K ・・・・ (3) (ただし、Kは整数であり、K≧5である。)とし、さ
らに、 Q1+Q2+Q3+Q4=Qn ・・・・ (4) とおくと、 Qs=(1−4/K)Q0+(Q1+Q2+Q3+Q4)/K =Q0−4Q0/K+Qn/K ・・・・ (5) を得る。
Here, C = 1 / K (3) (where K is an integer and K ≧ 5), and Q1 + Q2 + Q3 + Q4 = Qn (4) Then, Qs = (1-4 / K) Q0 + (Q1 + Q2 + Q3 + Q4) / K = Q0-4Q0 / K + Qn / K ... (5) is obtained.

【0032】このような平滑化処理を実現するための平
滑化部2Mの具体的な構成は図4に示されている。タイ
ミング調整部1MからのデータD1(図2参照。)は、
D型フリップフロップ31,32,33により3クロッ
ク(クロック信号をCLKで示す。)だけ遅延されて加
算器34に入力される。またフリップフロップ31で1
クロック分遅延されたデータも加算器34に与えられ
る。フリップフロップ32の出力データが注目画素S0
に対応する濃度Q0を表すものとすると、データがレー
ザビームによる走査の順に入力されることを考慮すれ
ば、フリップフロップ31,33の出力はそれぞれ画素
S3,S2に対応する濃度Q3,Q2を表すことにな
る。
The concrete structure of the smoothing unit 2M for realizing such smoothing processing is shown in FIG. The data D1 (see FIG. 2) from the timing adjustment unit 1M is
The D-type flip-flops 31, 32, and 33 delay the signal by 3 clocks (clock signal is represented by CLK) and input to the adder 34. In addition, 1 in the flip-flop 31
The data delayed by the clock is also given to the adder 34. The output data of the flip-flop 32 is the target pixel S0.
Supposing that the density Q0 corresponding to the above is represented, the outputs of the flip-flops 31 and 33 represent the densities Q3 and Q2 corresponding to the pixels S3 and S2, respectively, considering that the data is input in the order of scanning by the laser beam. It will be.

【0033】一方、タイミング調整部1Mからのデータ
D0は、フリップフロップ35,36により2クロック
分遅延されて加算器34に与えられる。フリップフロッ
プ36の出力データは、画素S1の濃度Q1を表すこと
になる。さらに、データD2は、フリップフロップ3
7,38により2クロック分遅延され、画素Q4の濃度
Q4を表すデータとして加算器34に入力される。加算
器34では入力データの加算が行われ、上記の値Qnに
対応したデータが作成される。
On the other hand, the data D0 from the timing adjusting unit 1M is delayed by 2 clocks by the flip-flops 35 and 36 and given to the adder 34. The output data of the flip-flop 36 represents the density Q1 of the pixel S1. Further, the data D2 is the flip-flop 3
The data is delayed by 2 clocks by 7, 38 and input to the adder 34 as data representing the density Q4 of the pixel Q4. Input data is added in the adder 34, and data corresponding to the above value Qn is created.

【0034】濃度Q0を表すフリップフロップ32の出
力データは、積算器39で4倍されて4Q0が作成され
る。さらに入力データを定数Kで除する除算器40で
は、4Q0/Kが作成され、このデータが減算器41に
与えられる。この減算器41にはまた、ライン42から
濃度Q0を表すデータが入力され、その減算の結果であ
る(Q0−4Q0/K)がライン43から加算器44に
与えられる。
The output data of the flip-flop 32 representing the density Q0 is multiplied by 4 by the integrator 39 to generate 4Q0. Further, in the divider 40 that divides the input data by the constant K, 4Q0 / K is created, and this data is given to the subtractor 41. Data representing the density Q0 is also input to the subtractor 41 from the line 42, and the result (Q0-4Q0 / K) of the subtraction is given to the adder 44 from the line 43.

【0035】加算器44にはまた、加算器34の出力Q
nを除算器45において定数Kで除した値Qn/Kが入
力されており、この加算器44での加算結果は、上記第
(5)式で示される平滑化処理後の濃度Qsとなる。この
濃度Qsに対応したデータが、タイミング調整部3M
(図2参照。)に与えられることになる。図5はエッジ
検出部4Mでの処理を説明するための図である。このエ
ッジ検出部4Mでの処理は、濃度勾配の急な部分を画像
のエッジとして検出する処理である。エッジ検出処理
は、注目画素s0の濃度q0と、その周囲の画素s1〜
s8の各濃度q1〜q8とに基づいて行われる。すなわ
ち、注目画素s0の濃度q0とその周囲の画素s1〜s
8の濃度q1〜q8との濃度差の絶対値|q0−q1
|,|q0−q2|,|q0−q3|,|q0−q4
|,|q0−q5|,|q0−q6|,|q0−q7
|,|q0−q8|を求める。そして、これらの各値を
所定の閾値tと比較し、いずれかが所定値t以上である
ときには、注目画素s0がエッジ画素であるものと判定
し、いずれの値も所定値t未満であれば注目画素s0は
エッジ画素でないものと判定する。
The adder 44 also outputs the output Q of the adder 34.
A value Qn / K obtained by dividing n by a constant K in the divider 45 is input, and the addition result of the adder 44 is
The density Qs after the smoothing process shown by the equation (5) is obtained. The data corresponding to this density Qs is the timing adjustment unit 3M.
(See FIG. 2). FIG. 5 is a diagram for explaining the processing in the edge detection unit 4M. The processing by the edge detection unit 4M is processing for detecting a portion having a steep density gradient as an edge of an image. In the edge detection process, the density q0 of the target pixel s0 and the surrounding pixels s1 to s1
It is performed based on the respective concentrations q1 to q8 of s8. That is, the density q0 of the target pixel s0 and the surrounding pixels s1 to s
Absolute value of the density difference with the density q1 to q8 of 8 | q0-q1
|, | Q0-q2 |, | q0-q3 |, | q0-q4
|, | Q0-q5 |, | q0-q6 |, | q0-q7
|, | Q0-q8 | is calculated. Then, each of these values is compared with a predetermined threshold value t, and when any of the values is greater than or equal to the predetermined value t, it is determined that the pixel of interest s0 is an edge pixel. It is determined that the target pixel s0 is not an edge pixel.

【0036】要約すると、 |q0−q1|≧t ・・・・ (6) |q0−q2|≧t ・・・・ (7) |q0−q3|≧t ・・・・ (8) |q0−q4|≧t ・・・・ (9) |q0−q5|≧t ・・・・ (10) |q0−q6|≧t ・・・・ (11) |q0−q7|≧t ・・・・ (12) |q0−q8|≧t ・・・・ (13) のいずれかが成立すれば、注目画素s0がエッジ画素と
され、いずれもが成立しないときには注目画素s0はエ
ッジ画素でないものと判定される。このような処理によ
って、注目画素s0を中心としたいずれかの方向に関し
て濃度の急激な変化が生じているときには、注目画素s
0がエッジ画素として検出されることになる。
In summary, | q0-q1 | ≧ t ... (6) | q0-q2 | ≧ t ... (7) | q0-q3 | ≧ t ... (8) | q0 -Q4 | ≧ t ... (9) | q0-q5 | ≧ t ... (10) | q0-q6 | ≧ t ... (11) | q0-q7 | ≧ t ... · (12) | q0-q8 | ≧ t ······················· (13), the pixel of interest s0 is an edge pixel, and when none of the conditions is satisfied, the pixel of interest s0 is not an edge pixel. To be judged. By such a process, when a sharp change in density occurs in any direction around the pixel of interest s0, the pixel of interest s
0 will be detected as an edge pixel.

【0037】エッジ画素の検出処理は平滑化部2Mで平
滑化された濃度値に基づいて行われるので、濃度変化が
緩やかな部分がエッジ画素と判定されることを防いで、
エッジ画素の検出を正確に行わせることができる。図6
はエッジ検出部4Mの具体的な構成例を示すブロック図
である。タイミング調整部3Mから与えられる平滑化処
理を経た3ライン分のデータDL0,DL1,DL2
は、それぞれD型フリップフロップ163,165,1
68に入力される。注目画素s0を含むラインのデータ
DL1は、フリップフロップ165,160,164で
それぞれ1クロック分ずつ遅延され、画素s4の濃度デ
ータq4として減算器170に入力される。このとき、
フリップフロップ160の出力は、注目画素s0の濃度
データq0に相当し、フリップフロップ165の出力は
画素s5の濃度データq5に相当する。これらの濃度デ
ータq0,q5も減算器170に入力される。
Since the edge pixel detection processing is performed based on the density value smoothed by the smoothing unit 2M, it is possible to prevent the portion where the density change is gentle from being determined as an edge pixel.
The edge pixels can be accurately detected. Figure 6
FIG. 4 is a block diagram showing a specific configuration example of an edge detection unit 4M. Data DL0, DL1, DL2 for three lines that have been subjected to the smoothing process given from the timing adjustment unit 3M
Are D-type flip-flops 163, 165, 1
68 is input. The data DL1 of the line including the pixel of interest s0 is delayed by one clock in each of the flip-flops 165, 160, 164 and input to the subtractor 170 as the density data q4 of the pixel s4. At this time,
The output of the flip-flop 160 corresponds to the density data q0 of the pixel of interest s0, and the output of the flip-flop 165 corresponds to the density data q5 of the pixel s5. These density data q0 and q5 are also input to the subtractor 170.

【0038】同様に、データDL0は、フリップフロッ
プ163,162,161で1クロック分ずつ順に遅延
させられる。そして、各フリップフロップ163,16
2,161の出力は、それぞれ画素s3,s2,s1の
濃度データq3,q2,q1として減算器170に与え
られる。データDL2に関しても同様に、直列に接続し
たフリップフロップ168,167,166で1クロッ
ク分ずつ遅延される。そして、各フリップフロップ16
8,167,166の出力が画素s8,s7,s6の濃
度データq8,q7,q6として減算器170に与えら
れる。
Similarly, the data DL0 is sequentially delayed by one clock by the flip-flops 163, 162 and 161. Then, each flip-flop 163, 16
The outputs of 2 and 161 are given to the subtractor 170 as density data q3, q2 and q1 of the pixels s3, s2 and s1, respectively. Similarly, the data DL2 is delayed by one clock by the flip-flops 168, 167, 166 connected in series. Then, each flip-flop 16
The outputs of 8, 167 and 166 are given to the subtractor 170 as density data q8, q7 and q6 of the pixels s8, s7 and s6.

【0039】減算器170では、注目画素s0の濃度デ
ータq0からその周囲の注目画素s1〜s8の濃度デー
タq1〜q8を減じた値である(q0−q1),(q0
−q2),(q0−q3),(q0−q4),(q0−
q5),(q0−q6),(q0−q7),(q0−q
8)が演算される。この演算結果は、絶対値演算部17
1に入力され、正の値|q0−q1|,|q0−q2
|,|q0−q3|,|q0−q4|,|q0−q5
|,|q0−q6|,|q0−q7|,|q0−q8|
に変換される。
The subtractor 170 has values (q0-q1) and (q0) obtained by subtracting the density data q1 to q8 of the target pixels s1 to s8 from the density data q0 of the target pixel s0.
-Q2), (q0-q3), (q0-q4), (q0-
q5), (q0-q6), (q0-q7), (q0-q
8) is calculated. This calculation result is the absolute value calculation unit 17
1 is input and positive values | q0-q1 |, | q0-q2
|, | Q0-q3 |, | q0-q4 |, | q0-q5
|, | Q0-q6 |, | q0-q7 |, | q0-q8 |
Is converted to.

【0040】この演算結果は、比較器172に入力さ
れ、閾値tと比較される。そして、いずれかの演算結果
が閾値tを超えるときに、注目画素s0がエッジ部の画
素であることを表す論理「1」の信号が出力される。図
7はエッジ検出部4Mでのエッジ検出処理の状況を示す
図である。図7(a)は入力される画像データであり、主
走査方向に関するMデータの変化を示す。また図7(b)
は本実施例の構成による比較器172の出力を示してい
る。参照符号A1,A2,A3などで示すように画像の
両端のエッジ部で論理「1」のエッジ検出信号が得られ
ていることが理解される。なお、図7(a) において、
“H”は、その前に記述された記号が16進数であるこ
とを示す。
The calculation result is input to the comparator 172 and compared with the threshold value t. Then, when any of the calculation results exceeds the threshold value t, a signal of logic "1" indicating that the target pixel s0 is a pixel at the edge portion is output. FIG. 7 is a diagram showing a situation of edge detection processing in the edge detection unit 4M. FIG. 7A shows input image data, and shows changes in M data in the main scanning direction. Moreover, FIG. 7 (b)
Shows the output of the comparator 172 according to the configuration of this embodiment. It is understood that the edge detection signals of logic "1" are obtained at the edge portions at both ends of the image as indicated by reference signs A1, A2, A3, and the like. In addition, in FIG. 7 (a),
"H" indicates that the symbol described before it is a hexadecimal number.

【0041】このような処理により、たとえば、図8に
示す原稿画像に対しては、図9において斜線を付して示
す領域SE1内の画素がエッジ画素として抽出される。
このようにして、文字画像の輪郭線151に隣接する画
素がエッジ画素として検出されることになる。なお、図
8において、シンボル「●」は黒画素であることを表
す。
By such processing, for example, with respect to the original image shown in FIG. 8, the pixels in the area SE1 shown by hatching in FIG. 9 are extracted as edge pixels.
In this way, the pixels adjacent to the contour line 151 of the character image are detected as edge pixels. Note that, in FIG. 8, the symbol “●” represents a black pixel.

【0042】エッジ検出のためには、微分フィルタによ
る二次微分の方法が適用されてもよい。すなわち、たと
えば、下記第(14)式の判別値aを用いる。
For the edge detection, a second derivative method using a derivative filter may be applied. That is, for example, the discriminant value a of the following formula (14) is used.

【0043】[0043]

【数2】 [Equation 2]

【0044】ここで、ciは重み係数であり、下記第(1
5)式を満たす。
Here, ci is a weighting coefficient, and the following (1)
Formula (5) is satisfied.

【0045】[0045]

【数3】 [Equation 3]

【0046】一般には、注目画素s0に対する重み係数
c0には正の整数が与えられ、周辺の画素s1〜s8に
対する画素には上記第(15)式を満たす負の値を与える。
すなわち、たとえば、 c0=1 ・・・・ (16) c1=c2=・・・・=c8=−1/8 ・・・・ (17) のように重み係数c0〜c8が定められる。
In general, a positive integer is given to the weighting coefficient c0 for the target pixel s0, and negative values satisfying the above expression (15) are given to the pixels for the surrounding pixels s1 to s8.
That is, the weighting factors c0 to c8 are defined as, for example, c0 = 1 ... (16) c1 = c2 = .... = C8 = -1 / 8 ... (17).

【0047】エッジ画素か否かの判定は、上記の判別値
aを所定の閾値t1と比較することにより行う。すなわ
ち、 a>t1 ・・・・ (18) のときには注目画素s0をエッジ画素と判定し、 a≦t1 ・・・・ (19) のときには注目画素s0を非エッジ画素と判定する。
Whether or not the pixel is an edge pixel is determined by comparing the discrimination value a with a predetermined threshold value t1. That is, when a> t1 ... (18), the target pixel s0 is determined to be an edge pixel, and when a ≦ t1 ... (19), the target pixel s0 is determined to be a non-edge pixel.

【0048】このようにして、濃度勾配に対応する値で
ある判別値aが閾値t1よりも大きいときには、注目画
素s0がエッジ画素と判定されることになる。この微分
フィルタによるエッジ検出処理の適用結果は、図7(c)
に示されている。図7(b) と図7(c) との比較から、図
6の構成による場合には画像のエッジが2画素分として
検出されているのに対して、微分フィルタによるときに
は画像のエッジが1画素分として検出できることが理解
される。
In this way, when the discriminant value a corresponding to the density gradient is larger than the threshold value t1, the target pixel s0 is determined to be an edge pixel. The result of applying the edge detection processing by this differential filter is shown in Fig. 7 (c).
Is shown in. From the comparison between FIG. 7 (b) and FIG. 7 (c), the edge of the image is detected as two pixels in the case of the configuration of FIG. 6, whereas the edge of the image is 1 when the differential filter is used. It is understood that the pixel can be detected.

【0049】図10はタイミング調整部6Yの構成を示
すブロック図である。このタイミング調整部6Yは、2
個のFIFO61,62と、2個のフリップフロップ6
4,65とを交互に接続したもので、タイミング調整部
1M,3Mでのデータの遅延時間を考慮して、エッジ検
出部4Mから導出されるエッジ検出信号に同期するよう
に、Yデータを黒画素検出部7およびカラー調整部11
などに与えるためのものである。他のタイミング調整部
6M,6C,6BKの構成も同様である。
FIG. 10 is a block diagram showing the structure of the timing adjusting section 6Y. This timing adjustment unit 6Y has a 2
FIFOs 61 and 62 and two flip-flops 6
4 and 65 are alternately connected, and the Y data is blacked in synchronization with the edge detection signal derived from the edge detection unit 4M in consideration of the data delay time in the timing adjustment units 1M and 3M. Pixel detection unit 7 and color adjustment unit 11
It is for giving to etc. The same applies to the configurations of the other timing adjusting units 6M, 6C, and 6BK.

【0050】図11は黒画素検出部7の基本的な構成を
示すブロック図である。この黒画素検出部7では、無彩
色の画素であってしかも濃度の高い画素が黒画素候補と
され、この黒画素候補とされた画素に対して黒画素検出
信号BLACKを論理「1」とするものである。タイミ
ング調整部6Y,6M,6CからのY,M,Cの3原色
データは減算器70に与えられ、各データ間の差(Y−
M),(M−C),(C−Y)が作成される。この各デ
ータ間の差(Y−M),(M−C),(C−Y)は絶対
値演算部71に与えられてそれぞれの絶対値|Y−M
|,|M−C|,|C−Y|が作成され、この絶対値は
比較器72に与えられる。比較器72では各絶対値|Y
−M|,|M−C|,|C−Y|と閾値T1とが比較さ
れ、すべての絶対値|Y−M|,|M−C|,|C−Y
|が閾値T1以下であるときには、当該注目画素が無彩
色の画素であるグレー画素と判定されてライン73に論
理「1」の信号が導出される。絶対値|Y−M|,|M
−C|,|C−Y|のいずれか1つが閾値T1を超えて
いるときには、当該画素はカラー画素であると判定され
る。
FIG. 11 is a block diagram showing the basic structure of the black pixel detecting section 7. In the black pixel detection unit 7, an achromatic pixel having a high density is set as a black pixel candidate, and the black pixel detection signal BLACK is set to logic "1" for the black pixel candidate. It is a thing. The three primary color data of Y, M and C from the timing adjusting units 6Y, 6M and 6C are given to the subtractor 70, and the difference (Y−
M), (MC), and (CY) are created. The differences (Y−M), (M−C), and (C−Y) between the respective data are given to the absolute value calculation unit 71, and their absolute values | Y−M
|, | M-C |, | C-Y | are created, and the absolute value is given to the comparator 72. Each absolute value | Y
-M |, | MC |, | CY | and the threshold value T1 are compared, and all absolute values | Y-M |, | MC-, | CY
When | is equal to or less than the threshold value T1, it is determined that the pixel of interest is a gray pixel which is an achromatic pixel, and a signal of logic “1” is derived on the line 73. Absolute value | Y-M |, | M
When any one of −C | and | C−Y | exceeds the threshold T1, it is determined that the pixel is a color pixel.

【0051】すなわち、無彩色の画素ではY,M,Cの
3原色データ間の差は基本的には零であり、種々の補正
を施した後でも大きな差は生じない。したがって、 B=Max{|Y−M|,|M−C|,|C−Y|} ・・・・ (20) で与えられる3原色データ間の差の最大値Bが、予め定
める所定値T1に対して、 B≦T1 ・・・・ (21) なる関係にあるときには、当該画素は無彩色の画素であ
るグレー画素と判定でき、 B>T1 ・・・・ (22) なる関係にあるときには、当該画素はカラー画素と判定
できる。
That is, in an achromatic pixel, the difference between the three primary color data of Y, M, and C is basically zero, and a large difference does not occur even after various corrections. Therefore, B = Max {| Y−M |, | M−C |, | C−Y |} (20) The maximum value B of the differences between the three primary color data is given by a predetermined value. When there is a relation of B ≦ T1 ... (21) with respect to T1, it can be determined that the pixel is a gray pixel which is an achromatic pixel, and there is a relation of B> T1 ... (22). At times, the pixel can be determined to be a color pixel.

【0052】このような処理は、3原色データ間の差|
Y−M|,|M−C|,|C−Y|のいずれかが所定値
T1を超える否かを判定するようにした上記の処理に置
き換えることができ、このようにすることにより回路構
成を簡素化することができる。一方、タイミング調整部
6Y,6M,6CからのY,M,Cの3原色データは、
比較器74にも与えられている。この比較器74は各デ
ータにより表される注目画素のイエローの濃度レベルY
d、マゼンタの濃度レベルMdおよびシアンの濃度レベ
ルCdの全てが予め定める閾値T2以上であるときに、
ライン75に高濃度画素検出信号として論理「1」の信
号を導出する。いずれかの濃度レベルが閾値T2未満で
あるときには、低濃度画素検出信号として論理「0」の
信号がライン75に導出されることになる。
Such processing is performed by the difference between the three primary color data |
It is possible to replace with the above-described processing for determining whether or not any of Y-M |, | MC |, | C-Y | exceeds the predetermined value T1. Can be simplified. On the other hand, the three primary color data of Y, M, C from the timing adjustment units 6Y, 6M, 6C are
It is also provided to the comparator 74. The comparator 74 determines the yellow density level Y of the pixel of interest represented by each data.
d, the density level Md of magenta and the density level Cd of cyan are all equal to or greater than a predetermined threshold value T2,
A signal of logic "1" is derived from the line 75 as a high density pixel detection signal. When any of the density levels is lower than the threshold value T2, a signal of logic "0" is derived on the line 75 as the low density pixel detection signal.

【0053】ライン73,75からの信号は、論理積回
路76に入力される。この論理積回路76は結局、比較
器72が注目画素をグレー画素と判定し、かつ比較器7
4が注目画素を高濃度画素と判定したときにのみ論理
「1」の信号を導出することになる。この論理「1」の
信号は、注目画素が黒画素候補であることを示す。図1
2は検出領域拡大部14における処理を説明するための
図である。検出領域拡大部14は、注目画素P0に隣接
する8個の画素P1〜P8のうち、少なくともいずれか
1つが黒画素検出部7で黒画素候補であると判断された
画素であるときに、当該注目画素P0を強制的に黒画素
候補にするものである。このような処理は、図13に示
された構成により達成される。すなわち、黒画素検出部
7の出力信号BLACKは、タイミング調整部120に
入力される。タイミング調整部120は、D型フリップ
フロップ121,122,123と、1ライン分の画素
のデータを記憶することができるFIFOメモリ12
4,125を交互に接続して構成されている。
The signals from the lines 73 and 75 are input to the AND circuit 76. In the logical product circuit 76, after all, the comparator 72 determines that the pixel of interest is a gray pixel, and the comparator 7
The signal of logic "1" is derived only when the pixel 4 determines that the pixel of interest is a high density pixel. This signal of logic “1” indicates that the pixel of interest is a black pixel candidate. Figure 1
2 is a diagram for explaining the processing in the detection area expansion unit 14. The detection area expansion unit 14 determines that at least one of the eight pixels P1 to P8 adjacent to the target pixel P0 is a pixel determined by the black pixel detection unit 7 to be a black pixel candidate, and The target pixel P0 is forcibly made a black pixel candidate. Such processing is achieved by the configuration shown in FIG. That is, the output signal BLACK of the black pixel detection unit 7 is input to the timing adjustment unit 120. The timing adjustment unit 120 includes a D-type flip-flop 121, 122, 123 and a FIFO memory 12 capable of storing pixel data for one line.
4, 125 are alternately connected.

【0054】黒画素検出部7の出力信号は、先ず、フリ
ップフロップ121で1クロック分遅延され、この信号
がデータDA2として検出領域拡大部14に入力され
る。フリップフロップ121の出力データはさらにFI
FOメモリ124で1ライン分遅延され、さらにフリッ
プフロップ122で1クロック分だけ遅延されてデータ
DA1として検出領域拡大部14に与えられる。このデ
ータDA1はさらにFIFOメモリ125で1ライン分
遅延され、さらにフリップフロップ123で1クロック
分遅延された後に検出領域拡大部14にデータDA0と
して入力される。
The output signal of the black pixel detecting section 7 is first delayed by one clock in the flip-flop 121, and this signal is input to the detection area expanding section 14 as data DA2. The output data of the flip-flop 121 is further FI
The data is delayed by one line in the FO memory 124, further delayed by one clock in the flip-flop 122, and provided to the detection area expansion unit 14 as data DA1. The data DA1 is further delayed by one line in the FIFO memory 125, further delayed by one clock in the flip-flop 123, and then input to the detection area expansion unit 14 as data DA0.

【0055】このようにして、隣接する3ライン分のデ
ータDA0,DA1,DA2が並列に検出領域拡大部1
4に与えられることになる。検出領域拡大部14には、
データDA0を1クロックずつ遅延させる3個のフリッ
プフロップ133,132,131、データDA1を1
クロックずつ遅延させる3個のフリップフロップ13
5,130,134、およびデータDA2を1クロック
ずつ遅延させる3個のフリップフロップ138,13
7,136が備えられている。これらの9個のフリップ
フロップの出力データは、図12に示された注目画素P
0を中心とした9個の画素P0〜P8にそれぞれ対応し
た黒画素検出部7の出力データである。各フリップフロ
ップ131〜139の出力データと、画素P0〜P8と
の対応関係は下記のとおりである。
In this way, the data DA0, DA1, DA2 for three adjacent lines are arranged in parallel in the detection area expansion unit 1.
4 will be given. The detection area expansion unit 14 includes
Three flip-flops 133, 132, 131 for delaying the data DA0 by one clock, and one data DA1
Three flip-flops 13 that delay each clock
5, 130, 134 and three flip-flops 138, 13 for delaying the data DA2 by one clock.
7,136 are provided. The output data of these nine flip-flops is the pixel of interest P shown in FIG.
It is the output data of the black pixel detection unit 7 corresponding to each of the nine pixels P0 to P8 centered on 0. The correspondence relationship between the output data of each of the flip-flops 131 to 139 and the pixels P0 to P8 is as follows.

【0056】 P0 ・・・・・・ フリップフロップ130 P1 ・・・・・・ フリップフロップ131 P2 ・・・・・・ フリップフロップ132 P3 ・・・・・・ フリップフロップ133 P4 ・・・・・・ フリップフロップ134 P5 ・・・・・・ フリップフロップ135 P6 ・・・・・・ フリップフロップ136 P7 ・・・・・・ フリップフロップ137 P8 ・・・・・・ フリップフロップ138 各画素P0〜P8のデータは、共通に論理和回路150
に入力される。したがって、この論理和回路150の出
力信号は、注目画素P0〜P8のうちの少なくともいず
れか1つが黒画素候補であれば、論理「1」となる。こ
の論理「1」の信号が黒画素検出信号として、図1の論
理積回路8に入力される。
P0 ··· flip-flop 130 P1 ··· flip-flop 131 P2 ··· flip-flop 132 P3 ··· flip-flop 133 P4 ··· Flip-flop 134 P5 ··· Flip-flop 135 P6 ··· Flip-flop 136 P7 ··· Flip-flop 137 P8 ··· Flip-flop 138 Data of each pixel P0 to P8 Are commonly used as the OR circuit 150.
Entered in. Therefore, the output signal of the logical sum circuit 150 becomes a logic "1" if at least one of the target pixels P0 to P8 is a black pixel candidate. This logic "1" signal is input to the AND circuit 8 of FIG. 1 as a black pixel detection signal.

【0057】このようにして、注目画素P0の周囲の画
素P1〜P8の少なくとも1つの画素が黒画素候補であ
るときには、注目画素P0は強制的に黒画素候補とな
る。たとえば、図8に示された原稿画像を複写する場合
を例にとる。この原稿画像に対して黒画素検出部7での
処理を施すと、図14において斜線を付して示す黒画素
領域SB1が得られる。この図14からわかるように、
黒画素検出部7での処理のみでは、輪郭線151に隣接
する画素を黒画素候補として検出することができない場
合が多い。これは、カラー画像のエッジ部で生じている
色の滲みやCCDスキャナの読取特性などに起因する。
In this way, when at least one of the pixels P1 to P8 around the target pixel P0 is a black pixel candidate, the target pixel P0 is forcibly a black pixel candidate. For example, a case of copying the document image shown in FIG. 8 will be taken as an example. When the black pixel detection unit 7 processes this original image, a black pixel area SB1 shown by hatching in FIG. 14 is obtained. As you can see from this Figure 14,
In many cases, the pixels adjacent to the contour 151 cannot be detected as black pixel candidates only by the processing in the black pixel detection unit 7. This is due to color bleeding occurring at the edge portion of the color image and the reading characteristics of the CCD scanner.

【0058】図14に示された黒画素検出部7の処理結
果に対して検出領域拡大部14での処理を施すと、図1
5において斜線を付して示す黒画素領域SB2が得られ
る。この図15から、輪郭線151に隣接する画素まで
が確実に黒画素候補として検出されることが理解され
る。黒画素領域を輪郭線151に隣接する画素にまで確
実に至らせるためには、黒画素検出部7での濃度に関す
る閾値T2を低く設定することが考えられる。しかし、
このようにすると、同時に黒画素にまで至らない黒っぽ
い程度の高濃度の画素をも黒画素候補として抽出してし
まうおそれがあり、黒色文字のエッジ部以外の画素が黒
色文字のエッジ画素と誤認されて処理されるという不具
合が生じるおそれがある。このような不具合は、黒画素
検出部7の出力に対して検出領域拡大部14での処理を
施す上記の構成を適用することにより防止できる。
When the processing by the detection area expanding section 14 is applied to the processing result of the black pixel detecting section 7 shown in FIG.
5, a black pixel area SB2 indicated by hatching is obtained. From this FIG. 15, it is understood that the pixels adjacent to the contour 151 are surely detected as black pixel candidates. In order to surely reach the pixel adjacent to the contour line 151 in the black pixel region, it is conceivable to set the threshold value T2 regarding the density in the black pixel detection unit 7 to be low. But,
By doing so, it is possible that even high-density pixels with a darkness that do not reach black pixels at the same time will be extracted as black pixel candidates, and pixels other than the edge portions of black characters are mistakenly recognized as edge pixels of black characters. There is a possibility that a problem that it is processed as a result occurs. Such a defect can be prevented by applying the above-described configuration in which the output of the black pixel detection unit 7 is processed by the detection area expansion unit 14.

【0059】図1の論理積回路8では、エッジ検出部4
Mの出力信号と検出領域拡大部14の出力信号がいずれ
も論理「1」であるときに、当該画素が文字などの黒色
画像領域のエッジ部の画素であることを表す論理「1」
の信号を導出する。すなわち、エッジ画素が同時に黒画
素候補でもあるときに、当該画素が文字などの黒色画像
領域のエッジ部の画素であるもの判定される。
In the logical product circuit 8 of FIG.
When both the output signal of M and the output signal of the detection area expansion unit 14 are logic "1", a logic "1" indicating that the pixel is a pixel of an edge portion of a black image area such as a character.
Derive the signal of. That is, when the edge pixel is also a black pixel candidate at the same time, it is determined that the pixel is a pixel of an edge portion of a black image area such as a character.

【0060】具体的には、図8の原稿画像に対しては、
図9のエッジ領域SE1と図15の黒画素領域SB2と
の重なり部分である、図16において二重斜線を付して
示す領域SR1内の画素が文字などのエッジ部の画素で
あるものとされることになる。なお、検出領域拡大部1
4での処理を省くと、図9のエッジ領域SE1と図14
の黒画素領域SB1との重なり部分が、文字などのエッ
ジ部の画素とされるから、図17において二重斜線を付
して示す画素が文字などのエッジ部の画素として抽出さ
れることになる。すなわち、輪郭線151に隣接する画
素をエッジ部の画素として確実に抽出することはできな
い。
Specifically, for the original image of FIG.
It is assumed that the pixels in the region SR1 shown by double hatching in FIG. 16, which is the overlapping portion of the edge region SE1 of FIG. 9 and the black pixel region SB2 of FIG. 15, are the pixels of the edge portion such as characters. Will be. The detection area expansion unit 1
4 is omitted, the edge area SE1 of FIG.
Since the overlapping portion with the black pixel area SB1 is the pixel of the edge portion of the character or the like, the pixel indicated by double hatching in FIG. 17 is extracted as the pixel of the edge portion of the character or the like. . That is, the pixels adjacent to the contour 151 cannot be reliably extracted as the pixels of the edge portion.

【0061】図18はカラー調整部11の基本的な構成
を示すブロック図である。このカラー調整部11では、
入力されるY,M,Cの3原色データおよびBKデータ
が下記第(23)式〜第(26)式で示すデータY′,M′,
C′,BK′の各データに補正される。 Y′=Y −BK/L ・・・・ (23) M′=M −BK/L ・・・・ (24) C′=C −BK/L ・・・・ (25) BK′=BK+BK/L ・・・・ (26) ただし、上記第(23)式〜第(26)式において、Lは補正係
数であって、BKデータの生成時の補正係数をαとした
ときに、 1/L≦1/α−1 ・・・・ (27) を満たしていることが好ましい。上記のBKデータ生成
時の補正係数αとは、Y,M,Cの3原色データのうち
の最小データをBKデータに置き換える場合の割合であ
る。
FIG. 18 is a block diagram showing the basic arrangement of the color adjusting section 11. In this color adjustment unit 11,
Input Y, M, C three primary color data and BK data are data Y ', M', shown by the following formulas (23) to (26).
It is corrected to each data of C'and BK '. Y '= Y-BK / L ... (23) M' = M-BK / L ... (24) C '= C-BK / L ... (25) BK' = BK + BK / L (26) However, in the above formulas (23) to (26), L is a correction coefficient, and when the correction coefficient when generating the BK data is α, 1 / L It is preferable that ≦ 1 / α−1 (27) The correction coefficient α at the time of generating the BK data is a ratio when the minimum data of the three primary color data of Y, M, and C is replaced with the BK data.

【0062】上記の補正によってBKデータが強調され
た補正データのセットY′,M′,C′,BK′を得る
ことができる。タイミング調整部6BKからのBKデー
タは、入力データを上記の補正係数Lで除する除算器8
1に入力される。この除算器81の出力はBK/Lとな
り、このデータが加算器82でBKに加算されてBK′
=BK+BK/Lが生成される。この補正データBK′
はセレクタ10に与えられる。
By the above correction, a set of correction data Y ', M', C ', BK' in which the BK data is emphasized can be obtained. The BK data from the timing adjustment unit 6BK is the divider 8 that divides the input data by the above correction coefficient L.
Input to 1. The output of the divider 81 becomes BK / L, and this data is added to BK by the adder 82 to produce BK '.
= BK + BK / L is generated. This correction data BK '
Are provided to the selector 10.

【0063】除算器81の出力はまた、減算器83にも
与えられている。この減算器83では、タイミング調整
部6Y,6M,6CからのY,M,Cの3原色データと
除算器83からのデータBK/Kとの減算が行われ、補
正データY′=Y−BK/L,M′=M−BK/L,
C′=C−BK/Lが生成される。この補正データ
Y′,M′,C′はセレクタ10に入力される。
The output of the divider 81 is also given to the subtractor 83. In this subtractor 83, the three primary color data of Y, M, C from the timing adjustment units 6Y, 6M, 6C and the data BK / K from the divider 83 are subtracted, and the correction data Y '= Y-BK. / L, M '= M-BK / L,
C '= C-BK / L is generated. The correction data Y ′, M ′, C ′ are input to the selector 10.

【0064】セレクタ10には上記のようにタイミング
調整部13からのY,M,Cの3原色データおよびBK
データが入力されており、ライン9からの選択制御信号
に基づいて、Y,M,C,BKのデータセットまたは
Y′,M′,C′,BK′のデータセットのいずれかの
データが画素毎に選択されて出力データYout,Mout,C
out,BKout とされる。
In the selector 10, as described above, the three primary color data of Y, M and C from the timing adjusting section 13 and BK
Data has been input, and based on the selection control signal from the line 9, either the data set of Y, M, C, BK or the data set of Y ', M', C ', BK' is set to the pixel. Output data Yout, Mout, C selected for each
out, BKout.

【0065】論理積回路8からライン9に導出される選
択制御信号は、エッジ検出部4Mの出力信号EDGEが
エッジ画素を検出したことを示す論理「1」となり、さ
らに検出領域拡大部14の出力信号が注目画素が黒画素
候補であることを示す論理「1」となったときにのみ論
理「1」となり、このときセレクタ10はY′,M′,
C′,BK′のデータセットを選択して出力する。この
ようにして、セレクタ10は黒色文字のエッジ部の構成
画素に対してのみ、BKデータが強調されたY′,
M′,C′,BK′のデータセットを選択することにな
る。
The selection control signal derived from the AND circuit 8 to the line 9 becomes the logic "1" indicating that the output signal EDGE of the edge detection unit 4M has detected an edge pixel, and the output of the detection area expansion unit 14 further. The signal becomes logic "1" only when the signal becomes logic "1" indicating that the pixel of interest is a black pixel candidate. At this time, the selector 10 outputs Y ', M',
The data sets of C'and BK 'are selected and output. In this way, the selector 10 makes the Y ', where the BK data is emphasized only for the constituent pixels of the edge portion of the black character.
The data set of M ', C', and BK 'will be selected.

【0066】このようにして、セレクタ10から出力さ
れるデータYout,Mout,Cout,BKout では、黒色文字
のエッジ部の構成画素についてのみBKデータが強調さ
れている。したがって、セレクタ10からの信号に基づ
いて形成されるイエロー、マゼンタ、シアン、および黒
の各単一色の画像では、黒色文字のエッジ部の構成画素
に対しては、イエロー、マゼンタおよびシアンはその濃
度が低くされ、黒はその濃度が高められる。この結果、
黒色文字のエッジ部に対してはほぼ黒色のみによる二値
画像が形成されることとなり、文字部分と地肌部分との
境界が明確な画像を複写用紙上に形成させることができ
るようになる。このようにして、鮮明な黒色文字の再生
が可能となる。
In this way, in the data Yout, Mout, Cout, BKout output from the selector 10, the BK data is emphasized only for the constituent pixels of the edge portion of the black character. Therefore, in an image of each color of yellow, magenta, cyan, and black formed based on the signal from the selector 10, the density of yellow, magenta, and cyan is increased with respect to the constituent pixels of the edge portion of the black character. Is lowered and black is increased in its density. As a result,
A binary image of only black is formed on the edge portion of the black character, so that an image with a clear boundary between the character portion and the background portion can be formed on the copy sheet. In this way, clear black characters can be reproduced.

【0067】本実施例では、黒画素検出部12での検出
結果に対してさらに検出領域拡大部14での処理が施さ
れて、文字の輪郭部分を構成する画素が確実に黒画素候
補として検出されるようにしている。すなわち、文字の
輪郭部分に生じている色の滲みやカラー画像を読み取る
ためのCCDスキャナの読取特性などの影響で、文字の
輪郭部分の画素が黒画素候補として検出されない場合で
あっても、このような画素は、検出領域拡大部14での
処理によって強制的に黒画素候補とされる。このため、
黒色文字のエッジ部の画素に対しては、論理積出力回路
8の出力を確実に論理「1」とさせることができる。
In the present embodiment, the detection result of the black pixel detection unit 12 is further processed by the detection area expansion unit 14 to reliably detect the pixels forming the outline of the character as black pixel candidates. I am trying to do it. That is, even if the pixels in the outline portion of the character are not detected as black pixel candidates due to the influence of the color blur occurring in the outline portion of the character or the reading characteristics of the CCD scanner for reading a color image, Such pixels are forcibly made into black pixel candidates by the processing in the detection area expansion unit 14. For this reason,
The output of the logical product output circuit 8 can be surely made to be logic "1" with respect to the pixel of the edge portion of the black character.

【0068】このようにして、本実施例によれば、黒色
文字のエッジ部の画素に対しては、確実に黒色を強調さ
せることができる。図19は本発明の他の実施例の構成
を説明するためのブロック図である。本実施例では、図
1と同様な構成において、図6に示されたエッジ検出部
4Mに代えて図19に示された構成のエッジ検出部4M
aが用いられる。なお、図19において上述の図6に示
された各部と同等の機能を有する部分には、同一の参照
符号を付して示す。また、エッジ検出部4Maの構成お
よび動作を説明するために上述の図5を併せて参照す
る。
As described above, according to the present embodiment, the black color can be surely emphasized with respect to the pixel at the edge portion of the black character. FIG. 19 is a block diagram for explaining the configuration of another embodiment of the present invention. In the present embodiment, in the configuration similar to that of FIG. 1, instead of the edge detection unit 4M shown in FIG. 6, the edge detection unit 4M of the configuration shown in FIG.
a is used. Note that, in FIG. 19, portions having the same functions as the respective portions shown in FIG. 6 described above are denoted by the same reference numerals. Further, FIG. 5 described above will also be referred to in order to explain the configuration and operation of the edge detection unit 4Ma.

【0069】本実施例で用いられるエッジ検出部4Ma
では、減算器170の出力がそのまま比較器172に入
力されている。すなわち、絶対値演算が省かれている。
このため、エッジ検出部4Maでの処理は、要約する
と、 q0−q1≧t ・・・・ (28) q0−q2≧t ・・・・ (29) q0−q3≧t ・・・・ (30) q0−q4≧t ・・・・ (31) q0−q5≧t ・・・・ (32) q0−q6≧t ・・・・ (33) q0−q7≧t ・・・・ (34) q0−q8≧t ・・・・ (35) のいずれかが成立するときに、注目画素s0をエッジ画
素と判定し、いずれもが成立しなかったときには注目画
素s0をエッジ画素でないものと判定する処理である。
Edge detection unit 4Ma used in this embodiment
Then, the output of the subtractor 170 is directly input to the comparator 172. That is, the absolute value calculation is omitted.
Therefore, the processing in the edge detection unit 4Ma is summarized as follows: q0-q1 ≧ t ... (28) q0-q2 ≧ t ... (29) q0-q3 ≧ t. ) q0-q4 ≧ t (...) (31) q0-q5 ≧ t (...) (32) q0-q6 ≧ t (...) (33) q0-q7 ≧ t (...) (34) q0 -Q8≥t ... Process for determining the target pixel s0 as an edge pixel when any of the following (35) is satisfied, and determining that the target pixel s0 is not an edge pixel when none of the following is satisfied. Is.

【0070】このような処理の結果として、図6の構成
のエッジ検出部4Mではいずれかの方向への濃度変化が
急峻であればエッジ画素と判定されていたのに対して、
本実施例では周囲の画素s1〜s8から注目画素s0に
向かって濃度が急峻に増大するときにのみ、当該注目画
素s0がエッジ画素であると判定されることになる。そ
の結果、たとえば図6の構成では、図9に示されている
ように文字画像の輪郭線151の両側の画素がエッジ画
素と判定されていたのに対して、本実施例の構成では、
図20において斜線を付して示すように、輪郭線151
の内側の画素のみがエッジ画素と判定されることにな
る。
As a result of such processing, in the edge detecting section 4M having the configuration shown in FIG. 6, if the density change in any direction is sharp, it is determined as an edge pixel.
In the present embodiment, the target pixel s0 is determined to be an edge pixel only when the density sharply increases from the surrounding pixels s1 to s8 toward the target pixel s0. As a result, for example, in the configuration of FIG. 6, the pixels on both sides of the outline 151 of the character image are determined to be edge pixels as shown in FIG. 9, whereas in the configuration of the present embodiment,
As shown by hatching in FIG. 20, the outline 151
Only the pixels inside the are determined to be edge pixels.

【0071】したがって、図21において二重斜線を付
して示すように、輪郭線151の内側の画素のみに関し
てBKデータが強調されることになる。その結果、図1
6と図21との比較から判るように、文字を構成する画
像の輪郭を正確に再現できる。すなわち、文字を構成す
る線が太ったりすることを防止できる。また、BKデー
タが強調される画像幅が1画素分で一定となるので、黒
色文字を高品位に再生できる。
Therefore, as shown by the double hatching in FIG. 21, the BK data is emphasized only for the pixels inside the contour 151. As a result,
As can be seen from the comparison between FIG. 6 and FIG. 21, the contour of the image forming the character can be accurately reproduced. That is, it is possible to prevent the line forming the character from becoming thick. Moreover, since the image width in which the BK data is emphasized is constant for one pixel, black characters can be reproduced with high quality.

【0072】このような処理は、たとえば漢字「量」な
どのように、狭い間隔で細い線が隣接する文字を再現す
る場合などに特に有効である。すなわち、漢字「量」の
左肩部の原稿画像が図22のような画像であるものとす
る。この場合に、上述の第1実施例では、図23におい
て二重斜線で示す領域SR10の画素に対してBKデー
タが強調される。それに対して、本実施例では、図24
に示すように輪郭線152の内側に位置する領域SR1
1(二重斜線を付して示す。)の画素に対してのみBK
データが強調されることになる。
Such a process is particularly effective in reproducing a character in which thin lines are adjacent to each other with a narrow interval, such as a Chinese character “quantity”. That is, it is assumed that the document image on the left shoulder of the kanji "quantity" is an image as shown in FIG. In this case, in the above-described first embodiment, the BK data is emphasized with respect to the pixels in the region SR10 indicated by the double diagonal line in FIG. On the other hand, in the present embodiment, FIG.
Area SR1 located inside the contour line 152 as shown in FIG.
BK only for pixels of 1 (shown with double diagonal lines)
The data will be highlighted.

【0073】その結果、図23の状態では、細い線の間
が黒画素で埋められてしまうおそれがあるのに対して、
本実施例では、図24から判るように細い線の間の余白
部分をも良好に再現できる。図23のように余白部分ま
でもが黒画素で埋められてしまうのは、検出領域拡大部
14において黒画素領域を拡大していることに起因して
いるのであるが、この検出領域拡大部14を省くと輪郭
線15に隣接する画素を黒画素候補として抽出できなく
なるのは上述のとおりである。すなわち、検出領域拡大
部14で黒画素領域を拡大し、さらにエッジ検出部4M
aで輪郭線15の内側の画素のみをエッジ画素として検
出することによって、輪郭線15の内側に隣接する画素
に対してのみ確実にBKデータを強調させることができ
る。このようにして、文字などの黒色画像の輪郭を明瞭
に再現することができるようになる。
As a result, in the state of FIG. 23, black pixels may be filled in between thin lines, whereas
In this embodiment, as can be seen from FIG. 24, the blank area between the thin lines can be reproduced well. The fact that the blank area is filled with the black pixels as shown in FIG. 23 is due to the fact that the black pixel area is enlarged in the detection area expanding section 14. As described above, the pixel adjacent to the contour line 15 cannot be extracted as a black pixel candidate if the above is omitted. That is, the detection area expansion unit 14 expands the black pixel area, and further the edge detection unit 4M
By detecting only the pixels inside the contour line 15 as edge pixels in a, the BK data can be surely emphasized only to the pixels adjacent to the inside of the contour line 15. In this way, the contour of a black image such as a character can be clearly reproduced.

【0074】本発明の実施例の説明は上述のとおりであ
るが、本発明は上記の実施例に限定されるものではな
い。たとえば、上記の実施例では、カラー画像を構成す
るマゼンタ成分の濃度が人間の視覚特性に近似している
ことを利用して、エッジ検出のためにマゼンタの濃度デ
ータのみを用いているが、Y、MおよびCの全てのデー
タを用いてもよい。この場合には、図25に示すよう
に、YデータおよびCデータに対してMデータと同様な
処理を施し、エッジ検出部4Y,4M,4Cの出力信号
を論理積回路5に入力し、この論理積回路5の出力信号
EDGEを論理積回路8(図1参照。)に入力するよう
にすればよい。これにより3原色の全てに関して濃度が
急峻である場合に、注目画素がエッジ画素であるものと
判定されることになる。
Although the embodiments of the present invention have been described above, the present invention is not limited to the above embodiments. For example, in the above-described embodiment, only the density data of magenta is used for the edge detection by utilizing the fact that the density of the magenta component forming the color image is close to the human visual characteristics, but Y , M and C data may be used. In this case, as shown in FIG. 25, Y data and C data are processed in the same manner as M data, and the output signals of the edge detectors 4Y, 4M, and 4C are input to the AND circuit 5. The output signal EDGE of the AND circuit 5 may be input to the AND circuit 8 (see FIG. 1). As a result, when the density of all three primary colors is steep, it is determined that the pixel of interest is an edge pixel.

【0075】なお、図25において、Mデータを処理す
る各構成部分と同様な処理をYデータおよびCデータに
施す各構成部分には、Mデータに対応する各部に付した
参照符号の数字部分と同一数字にそれぞれ記号Y,Cを
付して示す。また、図25の構成において、エッジ検出
部4Y,4M,4Cに代えて、図19に図示された構成
と同様なエッジ検出部が適用されてもよいことは言うま
でもない。
Note that, in FIG. 25, in each component that applies the same processing to each component that processes M data to Y data and C data, the numeral portion of the reference numeral attached to each component corresponding to M data is added. The same numbers are shown with symbols Y and C, respectively. In addition, it goes without saying that in the configuration of FIG. 25, instead of the edge detection units 4Y, 4M, and 4C, an edge detection unit similar to the configuration illustrated in FIG. 19 may be applied.

【0076】さらに、上記の実施例において、検出領域
拡大部14は、注目画素P0に隣接する8個の画素P1
〜P8(図12参照。)に少なくとも1つの黒画素候補
が含まれていることを条件として、注目画素P0を強制
的に黒画素候補とすることとしている。このような処理
の代わりに、たとえば注目画素P0の上下左右に隣接す
る画素P2,P4,P5,P7の少なくともいずれか1
つが黒画素候補であることを黒画素候補への強制変換の
条件としたり、注目画素P0の左右に隣接する画素P
4,P5の少なくともいずれか一方が黒画素候補である
ことを条件としたりすることもできる。
Further, in the above-mentioned embodiment, the detection area enlarging unit 14 has eight pixels P1 adjacent to the target pixel P0.
-P8 (see FIG. 12) includes at least one black pixel candidate, the target pixel P0 is forcibly set as a black pixel candidate. Instead of such a process, for example, at least one of the pixels P2, P4, P5, and P7 that are vertically and horizontally adjacent to the target pixel P0.
That one is a black pixel candidate is used as a condition for forced conversion into a black pixel candidate, or a pixel P adjacent to the right and left of the target pixel P0
It is also possible to set a condition that at least one of P4 and P5 is a black pixel candidate.

【0077】たとえば、注目画素の上下左右に隣接する
画素P2,P4,P5およびP7の少なくともいずれか
1つが黒画素候補であるときに、注目画素P0を強制的
に黒画素候補とするときには、図13の構成において、
フリップフロップ132,134,135および137
の出力のみを論理和回路150に入力し、フリップフロ
ップの出力は論理和回路150に入力しないようにすれ
ばよい。
For example, when at least one of the pixels P2, P4, P5, and P7 adjacent to the target pixel in the upper, lower, left, and right directions is a black pixel candidate, when the target pixel P0 is forced to be a black pixel candidate, In the configuration of 13,
Flip-flops 132, 134, 135 and 137
It is only necessary to input only the output of the above to the OR circuit 150 and not to output the output of the flip-flop to the OR circuit 150.

【0078】また、上記の実施例では、注目画素P0の
周囲1画素分の範囲内に黒画素候補が存在するときに注
目画素P0を強制的に黒画素候補とすることとしている
が、注目画素P0の周囲のたとえば2画素分の範囲内に
黒画素候補が存在することを黒画素候補への強制変換の
条件としてもよい。このような処理は、たとえば図13
に示された構成の検出領域拡大部14を2つ設けて、こ
の2つの検出領域拡大部を直列に接続することにより達
成できる。すなわち、図13に示された検出領域拡大部
14では、或る画素が黒画素候補であるときに、その周
囲に隣接する画素が黒画素候補とされる。このため、検
出領域拡大部14と同様な構成の検出領域拡大部を2つ
直列接続しておけば、或る画素が黒画素候補であるとき
にその周囲の2画素分の範囲の画素が黒画素候補とされ
ることになる。これにより、結果として、注目画素P0
の周囲の2画素分の範囲に黒画素候補が存在していれ
ば、注目画素P0が強制的に黒画素候補とされることに
なる。
In the above embodiment, the target pixel P0 is forcibly set as the black pixel candidate when the black pixel candidate exists within the range of one pixel around the target pixel P0. The presence of black pixel candidates in the range of, for example, two pixels around P0 may be a condition for forced conversion into black pixel candidates. Such processing is performed, for example, in FIG.
This can be achieved by providing two detection area expansion units 14 having the configuration shown in (1) and connecting the two detection area expansion units in series. That is, in the detection area expansion unit 14 shown in FIG. 13, when a certain pixel is a black pixel candidate, the pixels adjacent to it are regarded as black pixel candidates. Therefore, if two detection area expansion units having the same configuration as the detection area expansion unit 14 are connected in series, when a certain pixel is a black pixel candidate, pixels in the surrounding two pixels are black. It will be a pixel candidate. As a result, the target pixel P0
If there is a black pixel candidate in the range of two pixels around, the target pixel P0 is forcibly set as a black pixel candidate.

【0079】また、上記の実施例では、エッジ画素の検
出のために注目画素s0と周囲の8個の画素s1〜s8
の濃度との差を求め、これに基づいて注目画素s0がエ
ッジ画素であるか否かを判定しているが、この処理を簡
略化して、注目画素s0とその上下左右の4個の画素s
2,s4,s5,s7との濃度差に基づいてエッジ判定
処理を行ってもよい。
In the above embodiment, the target pixel s0 and the eight surrounding pixels s1 to s8 are used to detect edge pixels.
Is determined and whether or not the target pixel s0 is an edge pixel is determined based on this difference. However, this process is simplified and the target pixel s0 and the four pixels s above, below, left and right thereof are
The edge determination process may be performed based on the density difference between 2, s4, s5, and s7.

【0080】さらに、上記の実施例ではカラー複写機を
例にとって説明したが、本発明は光学的に読み取ったカ
ラー画像をデータとして蓄積したり再生したりするよう
にしたカラーファクシミリその他のカラー画像処理装置
や、光学的に画像を読み取って色信号に変換する画像読
取装置などの種々の画像処理装置に対して容易に応用す
ることができるものである。
Further, although the above embodiment has been described by taking a color copying machine as an example, the present invention is a color facsimile or other color image processing in which an optically read color image is stored or reproduced as data. The present invention can be easily applied to various image processing devices such as an image reading device that optically reads an image and converts it into a color signal.

【0081】その他、本発明の要旨を変更しない範囲で
種々の設計変更を施すことが可能である。
In addition, various design changes can be made without changing the gist of the present invention.

【0082】[0082]

【発明の効果】以上のように本発明の画像処理装置によ
れば、画像のエッジ部を構成すると判定された画素が、
同時に黒画素候補とされた画素である場合には、当該画
素が黒色文字のエッジ部を構成する画素と判定される。
このように、濃度勾配に基づくエッジ部の検出と、黒画
素候補の抽出とを併用しているので、黒色文字のエッジ
部が確実に検出される。
As described above, according to the image processing apparatus of the present invention, the pixels determined to constitute the edge portion of the image are
At the same time, when the pixel is a black pixel candidate, the pixel is determined to be a pixel forming an edge portion of a black character.
As described above, since the detection of the edge portion based on the density gradient and the extraction of the black pixel candidate are used together, the edge portion of the black character is surely detected.

【0083】これによって黒色文字の検出が確実に行え
るようになるとともに、上記黒色文字のエッジ部を構成
する画素と判定された画素のデータに黒色を強調する補
正を施せば、黒色文字と地肌部分との境界を明確に表現
した画像データを得ることができる。さらに、高濃度の
無彩色画素を黒画素候補とする黒画素検出手段での処理
に加えて、注目画素の周囲に黒画素検出手段で黒画素候
補とされた画素が存在するときに当該注目画素を強制的
に黒画素候補とする処理を施せば、黒色文字の画像の輪
郭線に隣接する画素を確実に黒画素候補として抽出する
ことができる。これにより、黒色文字のエッジ部で生じ
ている色の滲みやカラー画像読取時の読取特性などの影
響を排除して、黒色文字のエッジ部の画素を確実に黒画
素候補として抽出できる。
As a result, it becomes possible to reliably detect the black character, and if the correction of emphasizing the black color is performed on the data of the pixel which is determined to be the pixel forming the edge portion of the black character, the black character and the background portion are removed. It is possible to obtain image data in which the boundary between and is clearly expressed. Further, in addition to the processing by the black pixel detecting means that uses a high-density achromatic pixel as a black pixel candidate, when there is a pixel which is a black pixel candidate by the black pixel detecting means around the target pixel, the target pixel concerned By forcibly processing as a black pixel candidate, the pixel adjacent to the contour line of the black character image can be reliably extracted as a black pixel candidate. As a result, the influence of the color bleeding that occurs at the edge of the black character and the reading characteristics when reading a color image can be eliminated, and the pixel at the edge of the black character can be reliably extracted as a black pixel candidate.

【0084】また、黒色文字のエッジ部を検出する際
に、注目画素に隣接する画素から注目画素に向かう方向
についての濃度勾配が急峻であることを条件とすれば、
黒色文字の画像の輪郭線の内側の画素のみがエッジ画素
として検出される。このため、文字を構成する線が太る
ことがなく、また、狭い間隔で線が密集しているたとえ
ば「量」のような文字に対しても、画像のつぶれが生じ
ることがない。このようにして、文字を構成する各線を
良好に再現でき、高品位の画像を再生できる。
When detecting the edge portion of a black character, if the density gradient in the direction from the pixel adjacent to the pixel of interest toward the pixel of interest is steep,
Only pixels inside the contour of the black character image are detected as edge pixels. Therefore, the lines forming the characters do not become thick, and the image is not crushed even with respect to characters such as "quantity" in which the lines are densely packed at narrow intervals. In this way, each line forming a character can be reproduced well, and a high-quality image can be reproduced.

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

【図1】本発明の画像処理装置の一実施例であるカラー
複写機の要部の電気的構成を示すブロック図である。
FIG. 1 is a block diagram showing an electrical configuration of a main part of a color copying machine which is an embodiment of an image processing apparatus of the present invention.

【図2】タイミング調整部1M,3Mの構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing a configuration of timing adjusting units 1M and 3M.

【図3】平滑化処理を説明するための図である。FIG. 3 is a diagram for explaining a smoothing process.

【図4】平滑化部2Mの構成を示すブロック図であるFIG. 4 is a block diagram showing a configuration of a smoothing unit 2M.

【図5】エッジ検出処理を説明するための図である。FIG. 5 is a diagram for explaining edge detection processing.

【図6】エッジ検出部4Mの構成を示すブロック図であ
る。
FIG. 6 is a block diagram showing a configuration of an edge detection unit 4M.

【図7】エッジ検出部4Mの動作を説明するための図で
ある。
FIG. 7 is a diagram for explaining the operation of the edge detection unit 4M.

【図8】原稿画像の一例を示す図である。FIG. 8 is a diagram showing an example of a document image.

【図9】図8の原稿画像に対してエッジ検出処理を行っ
た結果を示す図である。
9 is a diagram showing a result of performing edge detection processing on the document image of FIG.

【図10】タイミング調整部6Yの構成を示すブロック
図である。
FIG. 10 is a block diagram showing a configuration of a timing adjusting unit 6Y.

【図11】黒画素検出部7の構成を示すブロック図であ
る。
FIG. 11 is a block diagram showing a configuration of a black pixel detection unit 7.

【図12】検出領域拡大部14での処理を説明するため
の図である。
FIG. 12 is a diagram for explaining a process in a detection area expansion unit 14.

【図13】検出領域拡大部14の構成を示すブロック図
である。
FIG. 13 is a block diagram showing a configuration of a detection area expansion unit 14.

【図14】図8の原稿画像に対して黒画素検出部7で黒
画素候補の抽出処理を行った結果を示す図である。
FIG. 14 is a diagram showing a result of performing a black pixel candidate extraction process by a black pixel detection unit 7 on the original image in FIG.

【図15】図8の原稿画像に対する黒画素検出部7での
処理結果に対して検出領域拡大部14での処理を施した
結果を示す図である。
FIG. 15 is a diagram showing a result of performing processing by a detection area expanding unit 14 on a processing result by the black pixel detecting unit 7 for the original image in FIG.

【図16】図8の原稿画像に対して黒色文字のエッジ部
として抽出される画素を示す図である。
16 is a diagram showing pixels extracted as edge portions of black characters in the original image of FIG.

【図17】検出領域拡大部14での処理を省いた場合に
黒色文字のエッジ部として抽出される画素を示す図であ
る。
FIG. 17 is a diagram showing pixels extracted as an edge portion of a black character when the processing in the detection area expanding unit 14 is omitted.

【図18】カラー調整部11の構成を示すブロック図で
ある。
FIG. 18 is a block diagram showing a configuration of a color adjusting unit 11.

【図19】本発明他の実施例において用いられるエッジ
検出部4Maの構成を示すブロック図である。
FIG. 19 is a block diagram showing the configuration of an edge detection unit 4Ma used in another embodiment of the present invention.

【図20】図8の原稿画像に対して上記エッジ検出部4
Maでの処理を施すことにより抽出されるエッジ画素を
示す図である。
20 is a diagram illustrating the edge detection unit 4 for the original image of FIG.
It is a figure which shows the edge pixel extracted by performing the process by Ma.

【図21】上記エッジ検出部4Maを適用した場合に黒
色が強調される画素を示す図である。
FIG. 21 is a diagram showing pixels in which black is emphasized when the edge detection unit 4Ma is applied.

【図22】線が密集している文字を構成する原稿画像の
一部を示す図である。
FIG. 22 is a diagram showing a part of a document image forming a character with dense lines.

【図23】図22の原稿画像に対して第1実施例により
処理を施したときに黒色が強調される画素を示す図であ
る。
FIG. 23 is a diagram showing pixels in which black is emphasized when the document image of FIG. 22 is processed according to the first embodiment.

【図24】上記エッジ検出部4Maを用いて処理したと
きに黒色が強調される画素を示す図である。
FIG. 24 is a diagram showing pixels in which black is emphasized when processed using the edge detection unit 4Ma.

【図25】エッジ部の画素を抽出するための他の構成例
を示すブロック図である。
[Fig. 25] Fig. 25 is a block diagram illustrating another configuration example for extracting pixels in an edge portion.

【符号の説明】 2M 平滑化部 4M エッジ検出部 7 黒画素検出部 8 論理積回路 10 セレクタ 11 カラー調整部 14 検出領域拡大部 4Ma エッジ検出部 2Y 平滑化部 2C 平滑化部 4Y エッジ検出部 4C エッジ検出部 5 論理積回路[Description of Reference Signs] 2M smoothing unit 4M edge detection unit 7 black pixel detection unit 8 AND circuit 10 selector 11 color adjustment unit 14 detection area expansion unit 4Ma edge detection unit 2Y smoothing unit 2C smoothing unit 4Y edge detection unit 4C Edge detection unit 5 AND circuit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】カラー画像を光学的に読み取って3原色の
それぞれの濃度に対応するデータを含む画像データに変
換する変換手段と、 上記画像データに基づいて、注目画素が無彩色の画素で
あってしかも濃度が所定値以上であるときにこの注目画
素を黒画素候補とする黒画素検出手段と、 この黒画素検出手段における検出結果に基づき、注目画
素の周囲の所定の画素が黒画素候補とされた画素である
ときに、当該注目画素を強制的に黒画素候補とする検出
領域拡大手段と、 注目画素の画像データと注目画素に隣接する画素の画像
データとに基づいて当該注目画素の近傍の濃度勾配を検
出し、この濃度勾配が所定値以上であるときに、この注
目画素をエッジ部の画素と判定するエッジ検出手段と、 注目画素がエッジ部の画素と判定され、かつ黒画素候補
とされたときに、当該注目画素を黒色文字のエッジ部を
構成する画素と判定する手段とを含むことを特徴とする
画像処理装置。
1. A conversion means for optically reading a color image and converting it into image data containing data corresponding to respective densities of three primary colors; and, based on the image data, the pixel of interest is an achromatic pixel. Moreover, when the density is equal to or higher than a predetermined value, a black pixel detecting unit that makes the target pixel a black pixel candidate, and a predetermined pixel around the target pixel is a black pixel candidate based on the detection result of the black pixel detecting unit. Detection area enlarging means for forcibly making the target pixel a black pixel candidate when the target pixel is a selected pixel, and the vicinity of the target pixel based on the image data of the target pixel and the image data of the pixel adjacent to the target pixel. Edge detecting means for detecting the density gradient of the target pixel and determining that the target pixel is a pixel of the edge portion when the density gradient is equal to or more than a predetermined value; An image processing apparatus comprising: a unit that determines a pixel of interest as a pixel forming an edge portion of a black character when it is determined as a pixel candidate.
【請求項2】カラー画像を光学的に読み取って3原色の
それぞれの濃度に対応するデータを含む画像データに変
換する変換手段と、 上記画像データに基づいて、注目画素が無彩色の画素で
あってしかも濃度が所定値以上であるときにこの注目画
素を黒画素候補とする黒画素検出手段と、 注目画素の画像データと注目画素に隣接する画素の画像
データとに基づき、当該隣接する画素から注目画素に向
かう方向についての濃度勾配を検出し、この濃度勾配が
所定値以上であるときに、この注目画素をエッジ部の画
素と判定するエッジ検出手段と、 注目画素がエッジ部の画素と判定され、かつ黒画素候補
とされたときに、当該注目画素を黒色文字のエッジ部を
構成する画素と判定する手段とを含むことを特徴とする
画像処理装置。
2. A conversion means for optically reading a color image and converting it into image data containing data corresponding to respective densities of the three primary colors, and the pixel of interest is an achromatic pixel based on the image data. In addition, based on the image data of the pixel of interest and the image data of the pixel adjacent to the pixel of interest, the black pixel detection means that makes this pixel of interest a black pixel candidate when the density is greater than or equal to a predetermined value An edge detection unit that detects a density gradient in the direction toward the target pixel and determines that the target pixel is a pixel at the edge portion when the density gradient is equal to or greater than a predetermined value, and determines that the target pixel is a pixel at the edge portion. And an image processing device that determines that the pixel of interest is a pixel forming an edge portion of a black character when the pixel of interest is determined to be a black pixel candidate.
【請求項3】カラー画像を光学的に読み取って3原色の
それぞれの濃度に対応するデータを含む画像データに変
換する変換手段と、 上記画像データに基づいて、注目画素が無彩色の画素で
あってしかも濃度が所定値以上であるときにこの注目画
素を黒画素候補とする黒画素検出手段と、 この黒画素検出手段における検出結果に基づき、注目画
素の周囲の所定の画素が黒画素候補とされた画素である
ときに、当該注目画素を強制的に黒画素候補とする検出
領域拡大手段と、 注目画素の画像データと注目画素に隣接する画素の画像
データとに基づき、当該隣接する画素から注目画素に向
かう方向についての濃度勾配を検出し、この濃度勾配が
所定値以上であるときに、この注目画素をエッジ部の画
素と判定するエッジ検出手段と、 注目画素がエッジ部の画素と判定され、かつ黒画素候補
とされたときに、当該注目画素を黒色文字のエッジ部を
構成する画素と判定する手段とを含むことを特徴とする
画像処理装置。
3. A conversion means for optically reading a color image and converting it into image data containing data corresponding to respective densities of the three primary colors; and, based on the image data, the pixel of interest is an achromatic pixel. Moreover, when the density is equal to or higher than a predetermined value, a black pixel detecting unit that makes the target pixel a black pixel candidate, and a predetermined pixel around the target pixel is a black pixel candidate based on the detection result of the black pixel detecting unit. A detected pixel enlarging unit that forcibly sets the target pixel as a black pixel candidate when the target pixel is a selected pixel, and based on the image data of the target pixel and the image data of the pixel adjacent to the target pixel, An edge detection unit that detects a density gradient in the direction toward the target pixel and determines that the target pixel is a pixel of an edge portion when the density gradient is equal to or more than a predetermined value, and the target pixel is An image processing apparatus comprising: a unit that determines that the pixel of interest is a pixel forming an edge portion of a black character when the pixel of interest is determined to be a pixel of a black portion and is a black pixel candidate.
【請求項4】上記変換手段は、カラー画像を光学的に読
み取って3原色のそれぞれの濃度に対応する3原色デー
タに変換し、さらに3原色データに基づいて黒色の濃度
に対応した黒データを作成するものであり、 上記画像処理装置は、さらに、上記黒色文字のエッジ部
の画素と判定された画素に関して、3原色の濃度を減少
させるとともに黒色の濃度を増大させるように、上記3
原色データおよび黒データに補正を施すデータ補正手段
を含むことを特徴とする請求項1、2または3記載の画
像処理装置。
4. The conversion means optically reads a color image and converts it into three primary color data corresponding to respective densities of the three primary colors, and further, based on the three primary color data, black data corresponding to a black density. The image processing apparatus further reduces the densities of the three primary colors and increases the densities of black with respect to the pixels determined to be the pixels of the edge portion of the black character.
4. The image processing apparatus according to claim 1, further comprising data correction means for correcting the primary color data and the black data.
【請求項5】上記エッジ検出手段は、注目画素と注目画
素に隣接する画素とにおける上記3原色データのうちの
いずれか1つの特定色のデータに基づいて、当該注目画
素がエッジ部の画素であるか否かを判定するものである
ことを特徴とする請求項1乃至4のいずれかに記載の画
像処理装置。
5. The edge detecting means determines that the pixel of interest is an edge pixel based on the data of one specific color among the three primary color data of the pixel of interest and a pixel adjacent to the pixel of interest. The image processing apparatus according to claim 1, wherein the image processing apparatus determines whether or not there is.
【請求項6】注目画素と注目画素に隣接する画素との画
像データに基づいて当該注目画素の近傍の濃度勾配を平
滑化したデータを作成する平滑化手段をさらに含み、 上記エッジ検出手段は、上記平滑化手段で平滑化された
データが与えられ、注目画素と注目画素に隣接する画素
との上記平滑化後の画像データに基づいて、当該注目画
素がエッジ部の画素であるか否かを判定するものである
ことを特徴とする請求項1乃至4のいずれかに記載の画
像処理装置。
6. The edge detecting means further includes a smoothing means for creating data in which a density gradient in the vicinity of the target pixel is smoothed based on image data of the target pixel and a pixel adjacent to the target pixel. The data smoothed by the smoothing means is given, and it is determined whether the pixel of interest is an edge pixel based on the smoothed image data of the pixel of interest and the pixel adjacent to the pixel of interest. The image processing apparatus according to any one of claims 1 to 4, wherein the image processing apparatus makes a determination.
【請求項7】上記平滑化手段は、注目画素に隣接する画
素における上記3原色データのうちのいずれか1つの特
定色のデータに基づいて当該注目画素の近傍の濃度勾配
を平滑化したデータを作成するものであり、 上記エッジ検出手段は、上記平滑化手段で平滑化された
データが与えられ、注目画素と注目画素に隣接する画素
との上記平滑化後の特定色のデータに基づいて、当該注
目画素がエッジ部の画素である否かを判定するものであ
ることを特徴とする請求項6記載の画像処理装置。
7. The smoothing means smoothes a density gradient in the vicinity of the target pixel based on data of any one specific color among the three primary color data in pixels adjacent to the target pixel. The edge detecting means is provided with data smoothed by the smoothing means, based on the smoothed specific color data of the pixel of interest and the pixel adjacent to the pixel of interest, The image processing apparatus according to claim 6, wherein it is determined whether or not the pixel of interest is a pixel of an edge portion.
JP4209836A 1992-07-13 1992-07-13 Image processor Pending JPH0638054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4209836A JPH0638054A (en) 1992-07-13 1992-07-13 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4209836A JPH0638054A (en) 1992-07-13 1992-07-13 Image processor

Publications (1)

Publication Number Publication Date
JPH0638054A true JPH0638054A (en) 1994-02-10

Family

ID=16579427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4209836A Pending JPH0638054A (en) 1992-07-13 1992-07-13 Image processor

Country Status (1)

Country Link
JP (1) JPH0638054A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0711066A3 (en) * 1994-11-07 1996-12-27 Mita Industrial Co Ltd Image processing apparatus
US6778297B1 (en) 1999-04-12 2004-08-17 Minolta Co., Ltd. Image processing apparatus, method, and computer program product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0711066A3 (en) * 1994-11-07 1996-12-27 Mita Industrial Co Ltd Image processing apparatus
US6778297B1 (en) 1999-04-12 2004-08-17 Minolta Co., Ltd. Image processing apparatus, method, and computer program product

Similar Documents

Publication Publication Date Title
EP0899685B1 (en) Image processing apparatus for discriminating image field of original document plural times and method therefor
EP0348145B1 (en) Image forming and processing apparatus
US5477335A (en) Method and apparatus of copying of black text on documents using a color scanner
US5719967A (en) Iimage processing apparatus
JPH0722330B2 (en) Image region identification method for image processing apparatus
US7365880B2 (en) Image processing apparatus and image processing method
US5805304A (en) Image processing apparatus
US6181819B1 (en) Image processing apparatus including means for judging a chromatic portion of an image
JPH0638054A (en) Image processor
JP4195958B2 (en) Color image recording device
JP2693870B2 (en) Image processing device
JP3015308B2 (en) Image processing device
JPH0638055A (en) Image processor
JP4047356B2 (en) Image processing device
JP3665722B2 (en) Image processing device
JPH0541796A (en) Copying machine
JP2947823B2 (en) Image processing device
JPH08191392A (en) Image processor
JP3064896B2 (en) Image processing device
JP2803852B2 (en) Image processing device
JPS62188566A (en) Color picture information processor
JP3596962B2 (en) Image processing device
JP3262834B2 (en) Color image processing equipment
JP2557479B2 (en) Color image processor
JP3143460B2 (en) Image processing method