JPH0998297A - Image processing unit - Google Patents

Image processing unit

Info

Publication number
JPH0998297A
JPH0998297A JP7253389A JP25338995A JPH0998297A JP H0998297 A JPH0998297 A JP H0998297A JP 7253389 A JP7253389 A JP 7253389A JP 25338995 A JP25338995 A JP 25338995A JP H0998297 A JPH0998297 A JP H0998297A
Authority
JP
Japan
Prior art keywords
color
signal
black
luminance signal
smoothing
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
JP7253389A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Namitsuka
義幸 波塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP7253389A priority Critical patent/JPH0998297A/en
Publication of JPH0998297A publication Critical patent/JPH0998297A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Electrophotography (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To express smooth gradation without moire in any color of a 2-color original and to prevent production of a black level contour at a border of different colors. SOLUTION: A 2-color separate section 1 detects an area CD including a luminance signal K and a 2nd color image based on color signals R, G, B. The luminance signal K is given to a filter section 2, in which full smoothing processing and local emphasis/smoothing adaptive processing are conducted and a binary processing section 5 generates a 2nd color signal K2. An expansion processing section 7 expands the area CD and a signal mask processing section 6 synthesizes a black level signal with the 2nd color signal K2 based on the area expanded by the expansion processing section 7.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル複写機、
ファクシミリ装置、カラースキャナなどにおいて黒の第
1の色彩と黒以外の第2の色彩を処理する画像処理装置
に関する。
The present invention relates to a digital copying machine,
The present invention relates to an image processing apparatus that processes a first color of black and a second color other than black in a facsimile device, a color scanner, or the like.

【0002】[0002]

【従来の技術】図11は従来の画像処理装置の構成を示
し、原稿が不図示のカラーセンサにより読み取られて
R、G、Bの3原色に分解され、各信号が例えば8ビッ
トのディジタル信号に変換され、二色分離部1に供給さ
れる。二色分離部1ではR、G、Bの各色信号に対して
それぞれの反射率に基づいてG:R:B=5:3:2の
ような重み付けを行うことにより輝度信号Kを生成する
と共に、各色信号間のレベル差と色差に基づいて有彩
色、特に第2の色彩画像を包含する領域CDを検出す
る。
2. Description of the Related Art FIG. 11 shows a configuration of a conventional image processing apparatus. An original is read by a color sensor (not shown) and separated into three primary colors of R, G and B, and each signal is, for example, an 8-bit digital signal. And is supplied to the two-color separation unit 1. The two-color separation unit 1 generates a luminance signal K by weighting each of the R, G, and B color signals based on the respective reflectances such as G: R: B = 5: 3: 2. , The area CD including the chromatic color, particularly the second color image, is detected based on the level difference and the color difference between the respective color signals.

【0003】ここで、輝度信号Kは入力信号と同じく8
ビット、第2の色彩画像領域信号CDは領域の有無を示
すのみであるので1ビットである。また、R、G、Bの
各色信号は白レベルが8ビット信号の「FFh」に対応
し、輝度信号Kは反転して黒が「FFh」である。ま
た、第2の色彩画像領域信号CDはハイの場合にアクテ
ィブである。
Here, the luminance signal K is equal to the input signal 8
The second color image area signal CD is 1 bit since it only indicates the presence or absence of an area. The white level of each color signal of R, G, and B corresponds to "FFh" of an 8-bit signal, the luminance signal K is inverted, and black is "FFh". The second color image area signal CD is active when it is high.

【0004】輝度信号Kはフィルタ部2により全面強調
処理、全面平滑可処理、局所的な強調/平滑化の適応的
処理などのフィルタ処理が施され、フィルタ処理された
輝度信号FKが変倍回路3に印加される。第2の色彩画
像領域信号CDは変倍回路3に印加され、変倍回路3は
輝度信号FKと第2の色彩画像領域信号CDに対して主
走査方向の電気変倍を行う。この場合には信号FK、C
Dに対して対して同一のリサンプリング処理による拡大
又は縮小を行うことにより色ずれの発生を抑制する。な
お、副走査方向の変倍はスキャナの移動速度を変更する
ことにより機械的に行う。
The luminance signal K is subjected to filter processing such as full-face emphasis processing, full-face smoothing possible processing, adaptive processing of local emphasis / smoothing by the filter unit 2, and the filtered luminance signal FK is subjected to a scaling circuit. 3 is applied. The second color image area signal CD is applied to the scaling circuit 3, and the scaling circuit 3 electrically scales the luminance signal FK and the second color image area signal CD in the main scanning direction. In this case, the signals FK, C
Generation of color misregistration is suppressed by performing enlargement or reduction for D by the same resampling process. The scaling in the sub-scanning direction is mechanically performed by changing the moving speed of the scanner.

【0005】変倍回路3により変倍された輝度信号HK
は階調処理部4により、プリンタの濃度特性に適合させ
るためのγ変換処理、中間調を再生するための多値ディ
ザ処理、誤差拡散処理、位相制御及び二値化処理などが
行われる。階調処理部4により処理された輝度信号KK
は二値化処理部5により閾値THCと比較され、第2の
色彩画像を再現するための二値化信号K2が生成され
る。信号マスク処理部6では、階調処理部4により処理
された多値の輝度信号KKと二値化信号K2が重ならな
いように、変倍回路3により変倍された第2の色彩画像
領域信号HCDにより排他的論理和され、黒画像情報K
Oと第2の色彩画像情報COが生成されて2色プリンタ
に出力される。
Luminance signal HK scaled by the scaling circuit 3
The gradation processing unit 4 performs γ conversion processing for matching the density characteristics of the printer, multi-valued dither processing for reproducing halftones, error diffusion processing, phase control, and binarization processing. Luminance signal KK processed by the gradation processing unit 4
Is compared with the threshold value THC by the binarization processing unit 5 to generate a binarized signal K2 for reproducing the second color image. In the signal mask processing section 6, the second color image area signal scaled by the scaling circuit 3 so that the multi-valued luminance signal KK processed by the gradation processing section 4 and the binarized signal K2 do not overlap. Exclusively ORed by HCD to obtain black image information K
O and the second color image information CO are generated and output to the two-color printer.

【0006】このように構成すると、2色原稿をフルカ
ラーセンサで読み取って輝度信号と黒以外の第2の色彩
領域を検出し、文字などを強調する場合には正しく2色
分離された再生画像を得ることができる。しかしなが
ら、写真、絵柄などの平滑化すると第2の色彩領域の外
に輝度信号が広がるので、黒と第2色彩がにじんだ不透
明な再生画像となる。
According to this structure, a full-color sensor reads a two-color original to detect a luminance signal and a second color area other than black, and when a character or the like is emphasized, a reproduced image correctly separated into two colors is reproduced. Obtainable. However, when a photograph, a pattern, or the like is smoothed, the luminance signal spreads outside the second color area, so that an opaque reproduced image bleeding with black and the second color is obtained.

【0007】従来、このような問題点を解決する方法と
して例えば特開平5−227430号公報に示すよう
に、マーカ処理を行った原稿をメインカラーとサブカラ
ーの2色に分離し、マーカ領域ではローパスフィルタを
通さないバイパス回路を設けることにより、サブカラー
の外側のメインカラーの輪郭生成を抑制し、また、メイ
ンカラーへのサブカラーの濃度データの影響を防ぐ方法
が提案されている。
Conventionally, as a method for solving such a problem, for example, as shown in Japanese Patent Application Laid-Open No. 5-227430, a document subjected to marker processing is separated into two colors, a main color and a sub color, and a marker area is used. A method has been proposed in which a bypass circuit that does not pass a low-pass filter is provided to suppress the contour generation of the main color outside the sub color and to prevent the influence of the density data of the sub color on the main color.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記従
来の方法では、サブカラーとメインカラーの境界を明確
にすることができるが、メインカラー及びサブカラー共
に階調性を要求される場合には画質が劣化するという問
題点がある。すなわち、例えば2色の網点原稿の場合、
メインカラーに関しては平滑化処理が行われて網点の輪
郭が除去されるのでモアレのない滑らかな階調性を再現
することができるが、サブカラーに関しては平滑化処理
が行われないのでモアレを防止することができず、再生
画像全体で見た場合にモアレが目につくという問題点が
ある。
However, in the above-mentioned conventional method, the boundary between the sub color and the main color can be clarified, but when gradation is required for both the main color and the sub color, the image quality is improved. Is deteriorated. That is, for example, in the case of a two-color halftone original,
The main color is smoothed and the contours of halftone dots are removed, so smooth gradation without moire can be reproduced. However, the smoothing is not performed for sub-colors, so moire is reduced. It cannot be prevented, and there is a problem that moire is noticeable when viewed in the entire reproduced image.

【0009】本発明は上記従来の問題点に鑑み、2色の
原稿に対して何れの色彩画像にもモアレがない滑らかな
階調性を表現することができると共に、色彩が異なる境
界において黒の輪郭が発生することがない画像処理装置
を提供することを目的とする。
In view of the above-mentioned conventional problems, the present invention can express smooth gradation without moire in any color image for a two-color original document, and black at boundaries of different colors. An object of the present invention is to provide an image processing device in which no contour is generated.

【0010】[0010]

【課題を解決するための手段】第1の手段は上記目的を
達成するために、フルカラーセンサにより読み取られた
原稿のカラー信号に基づいて輝度信号と黒以外の第2の
色彩領域を検出する検出手段と、前記検出手段により検
出された輝度信号を平滑化処理する平滑化手段と、前記
検出手段により検出された第2の色彩領域を膨張する膨
張手段と、前記平滑化手段により処理された輝度信号に
基づいて黒信号と黒以外の第2の色彩信号を生成する生
成手段と、前記生成手段により生成された黒信号と黒以
外の第2の色彩信号を前記膨張手段により膨張された第
2の色彩領域に基づいて合成する合成手段とを備えたこ
とを特徴とする。
In order to achieve the above object, a first means is a detection for detecting a luminance signal and a second color area other than black based on a color signal of a document read by a full color sensor. Means, smoothing means for smoothing the luminance signal detected by the detecting means, expanding means for expanding the second color area detected by the detecting means, and brightness processed by the smoothing means. Generating means for generating a black signal and a second color signal other than black based on the signal; and a second signal for expanding the black signal and the second color signal other than black generated by the generating means by the expanding means. And a synthesizing means for synthesizing based on the color region of.

【0011】第2の手段は、第1の手段において前記検
出手段により検出された輝度信号を強調処理する強調手
段を更に備え、文字モード時に前記強調手段が前記検出
手段により検出された輝度信号を強調処理し、前記膨張
手段が前記検出手段により検出された第2の色彩領域を
膨張せず、前記生成手段が前記強調手段により強調処理
された輝度信号に基づいて黒信号と黒以外の第2の色彩
信号を生成し、前記合成手段が前記生成手段により生成
された黒信号と黒以外の第2の色彩信号を前記検出手段
により検出された第2の色彩領域に基づいて合成するこ
とを特徴とする。
The second means further comprises an emphasizing means for emphasizing the luminance signal detected by the detecting means in the first means, and the emphasizing means detects the luminance signal detected by the detecting means in the character mode. A second signal other than a black signal and a black signal based on the luminance signal emphasized by the emphasizing unit, the expanding unit not expanding the second color area detected by the detecting unit, and the generating unit by the generating unit. The color signal is generated, and the synthesizing unit synthesizes the black signal generated by the generating unit and the second color signal other than black based on the second color region detected by the detecting unit. And

【0012】第3の手段は、フルカラーセンサにより読
み取られた原稿のカラー信号に基づいて輝度信号と黒以
外の第2の色彩領域を検出する検出手段と、前記検出手
段により検出された輝度信号の平滑前又は平滑化後の輝
度信号を選択的に出力可能な平滑化手段と、前記検出手
段により検出された第2の色彩領域の外側に境界を設定
する境界設定手段と、前記境界設定手段により設定され
た境界において前記平滑化手段により処理された後の輝
度信号レベルと処理される前の輝度信号レベルを比較
し、平滑後の輝度信号レベルが平滑化前より高い場合に
前記平滑化手段が平滑化前の輝度信号レベルを選択する
ように制御する選択手段と、前記平滑化手段から出力さ
れた輝度信号に基づいて黒信号と黒以外の第2の色彩信
号を生成する生成手段と、前記生成手段により生成され
た黒信号と黒以外の第2の色彩信号を前記検出手段によ
り検出された第2の色彩領域に基づいて合成する合成手
段とを備えたことを特徴とする。
The third means detects the luminance signal and a second color area other than black based on the color signal of the original read by the full-color sensor, and the luminance signal detected by the detecting means. Smoothing means capable of selectively outputting a luminance signal before or after smoothing; boundary setting means for setting a boundary outside the second color region detected by the detecting means; and the boundary setting means. At the set boundary, the brightness signal level after being processed by the smoothing means is compared with the brightness signal level before being processed, and when the smoothed brightness signal level is higher than that before smoothing, the smoothing means Selection means for controlling so as to select a luminance signal level before smoothing, and a generator for generating a black signal and a second color signal other than black based on the luminance signal output from the smoothing means. When, characterized in that a synthesizing means for synthesizing on the basis of the second color signals other than the generated black signal and the black by the generation unit to a second color region detected by the detection means.

【0013】第4の手段は、第3の手段において前記検
出手段により検出された輝度信号を強調処理する強調手
段を更に備え、文字モード時に前記強調手段が前記検出
手段により検出された輝度信号を強調処理し、前記境界
設定手段が第2の色彩領域の外側に境界を設定せず、前
記生成手段が前記強調手段により強調処理された輝度信
号に基づいて黒信号と黒以外の第2の色彩信号を生成
し、前記合成手段が前記生成手段により生成された黒信
号と黒以外の第2の色彩信号を前記検出手段により検出
された第2の色彩領域に基づいて合成することを特徴と
する。
The fourth means further comprises an emphasizing means for emphasizing the luminance signal detected by the detecting means in the third means, and the emphasizing means detects the luminance signal detected by the detecting means in the character mode. The black color signal and the second color other than black are emphasized, and the boundary setting means does not set a boundary outside the second color area, and the generating means uses the luminance signal emphasized by the emphasizing means based on the luminance signal. A signal is generated, and the synthesizing unit synthesizes the black signal generated by the generating unit and the second color signal other than black based on the second color region detected by the detecting unit. .

【0014】[0014]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。図1は本発明に係る画像処理装置
の一実施形態を示すブロック図、図2は図1のフィルタ
の係数を示す説明図、図3は図1のフィルタにより処理
された画像を示す説明図、図4は図1の膨張処理部の参
照範囲を示す説明図、図5は図1の膨張処理部の処理を
示す説明図、図6は図1の画像処理装置の処理を示す説
明図である。
Embodiments of the present invention will be described below with reference to the drawings. 1 is a block diagram showing an embodiment of an image processing apparatus according to the present invention, FIG. 2 is an explanatory diagram showing coefficients of the filter of FIG. 1, FIG. 3 is an explanatory diagram showing an image processed by the filter of FIG. 1, 4 is an explanatory view showing a reference range of the expansion processing unit of FIG. 1, FIG. 5 is an explanatory view showing processing of the expansion processing unit of FIG. 1, and FIG. 6 is an explanatory view showing processing of the image processing apparatus of FIG. .

【0015】図1に示す回路では図11に示す二色分離
部1、フィルタ2、変倍部3、階調処理部4、二値化処
理部5及び信号マスク処理部6に対して膨張処理部7と
セレクタ8が追加され、二色分離部1により分離された
第2の色彩画像領域信号CDの主及び副走査方向が膨張
処理部7により膨張される。また、二色分離部1により
分離された第2の色彩画像領域信号CD又は膨張処理部
7により膨張された第2の色彩画像領域信号ECDがモ
ード信号MODEに基づいてセレクタ8により選択さ
れ、この選択された信号SCDが変倍部3に印加され
る。
In the circuit shown in FIG. 1, the dichroic separation unit 1, the filter 2, the scaling unit 3, the gradation processing unit 4, the binarization processing unit 5 and the signal mask processing unit 6 shown in FIG. A section 7 and a selector 8 are added, and the main processor and the sub-scanning direction of the second color image area signal CD separated by the two-color separation section 1 are expanded by the expansion processing section 7. Further, the second color image area signal CD separated by the two-color separation section 1 or the second color image area signal ECD expanded by the expansion processing section 7 is selected by the selector 8 based on the mode signal MODE, The selected signal SCD is applied to the scaling unit 3.

【0016】モード信号MODEは例えば文字原稿に対
する文字モード、絵柄領域に対する写真モードのように
オペレータにより操作部を介して設定される制御信号で
もよいし、また、原稿中の文字領域/絵柄領域を自動的
に判別した像域分離信号でもよい。
The mode signal MODE may be a control signal set by the operator through the operation unit, such as a character mode for a character original and a photo mode for a picture area, or the character area / picture area in the original is automatically set. It may be an image area separation signal that is discriminated.

【0017】図2はフィルタ2の係数の一例として5×
5画素のサイズの場合を示し、図2(a)は平滑化フィ
ルタ、図2(b)は強調フィルタを示している。画像処
理モードが「文字」モードの時には光学系によるMTF
特性の劣化を補正するために図2(b)に示す周囲の5
×5画素の係数により中心画素を強調処理し、また、
「写真」モードの時にはモアレを除去するために図2
(a)に示す係数により中心画素を平滑処理する。この
ような係数により輪郭部をフィルタ処理を行うと、強調
フィルタでは輪郭部のエッジが鮮明になり、平滑化フィ
ルタでは輪郭を形成する画素の濃度分布が周辺に拡散し
て境界領域が広がる。
FIG. 2 shows 5 × as an example of the coefficient of the filter 2.
FIG. 2A shows a smoothing filter, and FIG. 2B shows an emphasis filter when the size is 5 pixels. When the image processing mode is "character" mode, MTF by optical system
In order to correct the deterioration of the characteristics, the surrounding 5 shown in FIG.
The central pixel is emphasized by the coefficient of × 5 pixels, and
To remove moire when in "Photo" mode, see Fig. 2.
The central pixel is smoothed by the coefficient shown in (a). When the contour portion is filtered with such a coefficient, the edge of the contour portion becomes clear with the emphasis filter, and the density distribution of the pixels forming the contour spreads to the periphery to widen the boundary region with the smoothing filter.

【0018】図3を参照してフィルタ処理された画像を
説明する。図3(a)は第2の色彩画像領域、例えば赤
領域の濃度分布Kを示している。なお、読み取り原稿は
黒と赤の二色原稿とする。図3(b)は第2の色彩画像
領域信号CDを示し、ハイレベルの領域が赤領域であ
り、ローレベルの領域が赤以外の領域(黒及び白地)を
示している。図3(a)に示す赤領域の濃度データKに
対し、平滑化処理を行った輝度分布FKは図3(c)に
示すように輪郭を形成する画素の濃度分布が周辺に拡散
し、これに対し、強調処理処理を行った輝度分布FKは
図3(d)に示すようにエッジが強調される。
The filtered image will be described with reference to FIG. FIG. 3A shows the density distribution K of the second color image area, for example, the red area. Note that the read original is a two-color original of black and red. FIG. 3B shows the second color image area signal CD, where the high level area is the red area and the low level area is the area other than red (black and white background). As for the luminance distribution FK obtained by performing the smoothing process on the density data K in the red area shown in FIG. 3A, the density distribution of the pixels forming the contour is diffused to the periphery as shown in FIG. On the other hand, in the luminance distribution FK subjected to the enhancement processing, the edges are enhanced as shown in FIG.

【0019】ここで、図3(e)に示す輝度信号Kを図
3(b)に示す第2の色彩画像領域信号CDでマスクす
ると、図3(f)に示すように強調処理後の輝度分布に
対して濃度分布の拡散が発生しないので領域信号CDと
合致し、ピュアな赤画像を再現することができる。しか
しながら、従来例(図11)のように図3(c)に示す
平滑化処理後の輝度信号Kに対しては濃度分布が当初の
領域信号CDを越えるので、図3(d)に示すように色
彩領域信号CD内では輝度信号を赤画像で再現するが、
領域信号CDの外側(ローレベル)の存在する輝度分布
は多値又は二値の黒画像として再現され、このために赤
画像の周辺に黒筋や黒にドットが形成されて不透明な再
生画像となる。
Here, when the luminance signal K shown in FIG. 3E is masked by the second color image area signal CD shown in FIG. 3B, the luminance after the emphasis processing is performed as shown in FIG. 3F. Since the diffusion of the density distribution does not occur with respect to the distribution, it matches the area signal CD, and a pure red image can be reproduced. However, as shown in FIG. 3 (d), the density distribution exceeds the initial area signal CD for the luminance signal K after the smoothing processing shown in FIG. 3 (c) as in the conventional example (FIG. 11). In the color area signal CD, the luminance signal is reproduced as a red image,
The luminance distribution existing outside (low level) of the area signal CD is reproduced as a multi-valued or binary black image. For this reason, black stripes or black dots are formed around the red image, resulting in an opaque reproduced image. Become.

【0020】図4は第2の色彩画像領域信号CDの膨張
に関する参照領域を示し、中心の画素CPが参照結果を
反映する。すなわち、画素CPを中心に主、副走査方向
共に図示の範囲の信号CD及び画素情報を反映する。こ
こで、主走査方向の片側参照範囲xは、 (フィルタ2の主走査方向サイズ−1)÷2 の大きさであり、副走査方向の片側参照範囲yは、 (フィルタ2の副走査方向サイズ−1)÷2 の大きさである。
FIG. 4 shows a reference area relating to the expansion of the second color image area signal CD, and the central pixel CP reflects the reference result. That is, the signal CD and the pixel information in the illustrated range are reflected in the main and sub-scanning directions centering on the pixel CP. Here, the one-sided reference range x in the main scanning direction is (size in the main-scanning direction of the filter 2-1) / 2, and the one-sided reference range y in the sub-scanning direction is (size in the sub-scanning direction of the filter 2). -1) / 2.

【0021】次に、図5を参照して膨張処理部7につい
て説明する。図5(a)は第2の色彩画像領域信号CD
の領域とそれを主、副走査方向共に膨張した領域ECD
を示し、領域ECDは図5(b)に示す主走査方向膨張
部72、副走査方向膨張部71及びORゲート73によ
り最初に検出された領域CDに対し、最大主走査方向に
片側xeと最大副走査方向に片側yeだけ膨張される。
また、この領域ECDは常にこの範囲で膨張されるわけ
ではなく、図5(b)に示すインバータ74及びゲート
75により図4に示す参照画素CPにおける輝度Kの値
により領域CDの膨張の有無が判定され、領域CDの周
辺では黒画素の無い(K=0)の領域においてのみ膨張
される。したがって、膨張領域ECDは本来の検出領域
CDと、xe、yeにより囲まれる検出領域CDの周辺
において白地(K=0)である領域を表す。
Next, the expansion processing section 7 will be described with reference to FIG. FIG. 5A shows the second color image area signal CD.
Area and area ECD that expands it in both main and sub-scanning directions
The area ECD is the maximum of one side xe in the maximum main scanning direction with respect to the area CD initially detected by the main scanning direction expansion section 72, the sub scanning direction expansion section 71 and the OR gate 73 shown in FIG. 5B. Only one side ye is expanded in the sub scanning direction.
Further, the area ECD is not always expanded in this range, and whether the area CD is expanded or not depends on the value of the brightness K in the reference pixel CP shown in FIG. 4 by the inverter 74 and the gate 75 shown in FIG. 5B. It is determined that the area around the area CD is expanded only in the area where there is no black pixel (K = 0). Therefore, the expansion area ECD represents an original detection area CD and an area that is a white background (K = 0) around the detection area CD surrounded by xe and ye.

【0022】次に、図6を参照して上記実施例の処理を
説明する。図6(a−1)、(b−1)及び(c−1)
は各画像領域の例を示し、図6(a−1)は白地上に色
領域のみが存在する場合、図6(b−1)は色領域と黒
領域が隣接すると共に輝度レベルは色領域の方は黒領域
より大きい場合、図6(c−1)は色領域と黒領域が隣
接すると共に輝度レベルは黒領域の方は色領域より大き
い場合を示している。
Next, the processing of the above embodiment will be described with reference to FIG. 6 (a-1), (b-1) and (c-1)
Shows an example of each image area, and FIG. 6 (a-1) shows that when only a color area exists on a white background, FIG. 6 (b-1) shows that the color area and the black area are adjacent to each other and the luminance level is the color area. 6C shows a case where the color area is larger than the black area, and FIG. 6C-1 shows a case where the color area and the black area are adjacent to each other and the brightness level of the black area is larger than the color area.

【0023】図6(a−2)、(b−2)及び(c−
2)はそれぞれ図6(a−1)、(b−1)及び(c−
1)に示す各画像を平滑化した結果を示し、いずれも領
域の境界におけるエッジの濃度が周辺領域に拡散してい
る。図6(a−3)、(b−3)及び(c−3)はそれ
ぞれ図6(a−1)、(b−1)及び(c−1)に示す
色領域を判別した信号CDを示し、図6(a−1)に示
す白地上の色領域も、図6(b−1)及び(c−1)に
示す色領域も平滑前では正しく判別される。
6 (a-2), (b-2) and (c-)
2) is shown in FIG. 6 (a-1), (b-1) and (c-), respectively.
The results of smoothing each image shown in 1) are shown. In each case, the edge density at the boundary of the region is diffused in the peripheral region. 6 (a-3), (b-3) and (c-3) show the signal CD for discriminating the color regions shown in FIGS. 6 (a-1), (b-1) and (c-1), respectively. The white color areas shown in FIG. 6A-1 and the color areas shown in FIGS. 6B-1 and 6C-1 are correctly discriminated before smoothing.

【0024】これらの信号CDに対し、膨張処理と輝度
レベルKの相対関係に基づいて膨張領域ECDに展開す
ると、図6(a−4)、(b−4)及び(c−4)にそ
れぞれ示すように白地上の色領域のみが膨張され、黒画
素との隣接領域においては色領域が黒領域内には膨張さ
れない。したがって、色領域の周辺の不要な黒の輪郭を
抑制することができると共に、色領域が黒領域内に不自
然に拡張することを抑制することができる。また、白地
上の色領域の場合には、白地上の黒領域同様、色領域が
滑らかな広がりで再生される。
When these signals CD are expanded in the expansion area ECD based on the relative relationship between the expansion processing and the brightness level K, they are shown in FIGS. 6 (a-4), (b-4) and (c-4), respectively. As shown, only the color area on the white background is expanded, and in the area adjacent to the black pixel, the color area is not expanded into the black area. Therefore, it is possible to suppress unnecessary black contours around the color area and also to prevent the color area from unnaturally expanding into the black area. Further, in the case of the color area on the white background, the color area is reproduced with a smooth spread like the black area on the white background.

【0025】次に、図7〜図10を参照して第2の実施
例を説明する。図7は第2の実施例を示すブロック図、
図8は図7の境界設定部の処理を示す説明図、図9は図
7のフィルタの要部を示すブロック図、図10は図7の
画像処理装置の処理を示す説明図である。
Next, a second embodiment will be described with reference to FIGS. FIG. 7 is a block diagram showing a second embodiment,
8 is an explanatory diagram showing the process of the boundary setting unit of FIG. 7, FIG. 9 is a block diagram showing the main part of the filter of FIG. 7, and FIG. 10 is an explanatory diagram showing the process of the image processing apparatus of FIG.

【0026】図7に示す回路では図11に示す二色分離
部1、フィルタ2、変倍部3、階調処理部4、二値化処
理部5及び信号マスク処理部6に対して境界設定部9が
追加され、二色分離部1により分離された第2の色彩画
像領域信号CDに基づいて境界設定部9により黒画像領
域と第2の色彩領域の境界を示す境界信号BOUが生成
され、この境界信号BOUの領域において平滑化後の輝
度信号レベルと平滑前の輝度信号レベルが比較され、平
滑後の輝度信号レベルが平滑化前より高い場合に平滑化
前の輝度信号レベルが選択される。なお、この境界信号
BOUを生成するか否かは第1の実施例と同様にモード
信号MODEに基づいて決定される。また、第2の色彩
画像領域信号CDは従来例と同様に、そのまま変倍部3
を介して信号マスク処理部6に印加される。
In the circuit shown in FIG. 7, a boundary is set for the two-color separation unit 1, the filter 2, the scaling unit 3, the gradation processing unit 4, the binarization processing unit 5, and the signal mask processing unit 6 shown in FIG. A section 9 is added, and the boundary setting section 9 generates a boundary signal BOU indicating the boundary between the black image area and the second color area based on the second color image area signal CD separated by the two-color separation section 1. In the area of the boundary signal BOU, the smoothed luminance signal level and the unsmoothed luminance signal level are compared, and when the smoothed luminance signal level is higher than that before smoothing, the unsmoothed luminance signal level is selected. It Whether or not to generate this boundary signal BOU is determined based on the mode signal MODE as in the first embodiment. In addition, the second color image area signal CD is used as it is in the conventional example, as it is, in the scaling unit 3.
Is applied to the signal mask processing unit 6 via.

【0027】図8(a)は第2の色彩画像領域信号CD
の領域とその周囲との境界領域BOUを示し、境界領域
BOUは図8(b)に示す主走査方向膨張部72、副走
査方向膨張部71及びORゲート73により最初に検出
された領域CDに対し、最大主走査方向に片側xbと最
大副走査方向に片側ybだけ膨張される。ここで、領域
BOUはゲート76により領域CDは含まない。境界領
域BOUの設定は輝度信号Kとは独立しており、また、
ハイレベルの場合にアクティブである。
FIG. 8A shows the second color image area signal CD.
8B shows a boundary area BOU between the area and the surrounding area, and the boundary area BOU is the area CD initially detected by the main scanning direction expanding section 72, the sub scanning direction expanding section 71 and the OR gate 73 shown in FIG. 8B. On the other hand, only one side xb is expanded in the maximum main scanning direction and one side yb is expanded in the maximum sub-scanning direction. Here, the region BOU does not include the region CD due to the gate 76. The setting of the boundary area BOU is independent of the luminance signal K, and
Active when high level.

【0028】図9に示すフィルタ2における信号ORG
は平滑化前の元々の輝度レベルであり、また、信号SM
Tは平滑化後の輝度レベルである。これらの輝度レベル
ORG、SMTは比較器21により比較され、SMT>
ORGの場合、すなわち平滑化により輝度レベルが上が
っている画素に対し、その画素が境界領域BOU内にあ
る時(ANDゲート22)、セレクタ23により平滑化
前の輝度レベルORGが選択され、フィルタ出力FKと
して出力される。
The signal ORG in the filter 2 shown in FIG.
Is the original luminance level before smoothing, and the signal SM
T is the brightness level after smoothing. The brightness levels ORG and SMT are compared by the comparator 21, and SMT>
In the case of ORG, that is, when the pixel whose brightness level is increased by smoothing is in the boundary area BOU (AND gate 22), the selector 23 selects the brightness level ORG before smoothing and outputs the filter output. It is output as FK.

【0029】図10(a−1)、(b−1)及び(c−
1)はそれぞれ第1の実施例における図6(a−1)、
(b−1)及び(c−1)と同一であり、したがって、
この輝度レベルは平滑化前の輝度レベルORGである。
また、図10(a−2)、(b−2)及び(c−2)は
それぞれ第1の実施例における(a−2)、(b−2)
及び(c−2)と同一であり、したがって、この輝度レ
ベルは平滑化後の輝度レベルである。
10 (a-1), (b-1) and (c-)
1 (a) in the first embodiment,
Is the same as (b-1) and (c-1), and therefore
This brightness level is the brightness level ORG before smoothing.
Further, FIGS. 10 (a-2), (b-2) and (c-2) are respectively (a-2) and (b-2) in the first embodiment.
And (c-2), and thus this brightness level is the brightness level after smoothing.

【0030】そして、図10(a−3)、(b−3)及
び(c−3)はそれぞれ図10(a−1)、(b−1)
及び(c−1)に示す色領域の境界BOUを示し、この
境界BOUにおいて平滑化により輝度レベルが上がって
いる場合に平滑化前の輝度レベルORGを選択すると図
10(a−4)、(b−4)及び(c−4)に示すよう
なレベルとなる。したがって、2色の原稿に対して何れ
の色彩画像にもモアレがない滑らかな階調性を表現する
ことができ、また、色彩が異なる境界において黒の輪郭
が発生することがない。
10 (a-3), (b-3) and (c-3) are shown in FIGS. 10 (a-1) and (b-1), respectively.
And (c-1) show the boundary BOU of the color area, and when the brightness level is increased by smoothing in this boundary BOU, if the brightness level ORG before smoothing is selected, (a-4) in FIG. The levels are as shown in (b-4) and (c-4). Therefore, it is possible to express a smooth gradation without moire in any color image for a two-color original, and black contours do not occur at the boundaries where the colors are different.

【0031】[0031]

【発明の効果】以上説明したように請求項1記載の発明
によれば、膨張された第2の色彩領域に基づいて黒信号
と黒以外の第2の色彩信号を合成するので、2色の原稿
に対して何れの色彩画像にもモアレがない滑らかな階調
性を表現することができ、また、色彩が異なる境界にお
いて黒の輪郭が発生することがない。
As described above, according to the first aspect of the present invention, since the black signal and the second color signal other than black are combined based on the expanded second color area, two colors of It is possible to express a smooth gradation without moire in any color image with respect to the original, and black contours do not occur at the boundaries where the colors are different.

【0032】請求項2記載の発明によれば、平滑化フィ
ルタを用いるモードと強調フィルタを用いるモード共
に、画像を正確に再現することができる。
According to the second aspect of the invention, the image can be accurately reproduced in both the mode using the smoothing filter and the mode using the enhancement filter.

【0033】請求項3記載の発明によれば、第2の色彩
領域の外側に境界を設定し、この境界において平滑後の
輝度信号レベルが平滑化前より高い場合に平滑化前の輝
度信号レベルを選択するので、2色の原稿に対して何れ
の色彩画像にもモアレがない滑らかな階調性を表現する
ことができ、また、色彩が異なる境界において黒の輪郭
が発生することがない。
According to the third aspect of the invention, a boundary is set outside the second color area, and when the smoothed luminance signal level is higher than that before smoothing at this boundary, the luminance signal level before smoothing is set. Is selected, it is possible to express a smooth gradation without moire in any color image with respect to a two-color original, and black contours do not occur at the boundary where the colors are different.

【0034】請求項4記載の発明によれば、平滑化フィ
ルタを用いるモードと強調フィルタを用いるモード共
に、画像を正確に再現することができる。
According to the fourth aspect of the invention, the image can be accurately reproduced in both the mode using the smoothing filter and the mode using the enhancement filter.

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

【図1】本発明に係る画像処理装置の一実施形態を示す
ブロック図である。
FIG. 1 is a block diagram illustrating an embodiment of an image processing apparatus according to the present invention.

【図2】図1のフィルタの係数を示す説明図である。FIG. 2 is an explanatory diagram showing coefficients of the filter of FIG.

【図3】図1のフィルタにより処理された画像を示す説
明図である。
FIG. 3 is an explanatory diagram showing an image processed by the filter of FIG.

【図4】図1の膨張処理部の参照範囲を示す説明図であ
る。
FIG. 4 is an explanatory diagram showing a reference range of an expansion processing unit in FIG.

【図5】図1の膨張処理部の処理を示す説明図である。FIG. 5 is an explanatory diagram showing a process of an expansion processing unit in FIG.

【図6】図1の画像処理装置の処理を示す説明図であ
る。
FIG. 6 is an explanatory diagram showing processing of the image processing apparatus of FIG.

【図7】第2の実施形態を示すブロック図である。FIG. 7 is a block diagram showing a second embodiment.

【図8】図7の境界設定部の処理を示す説明図である。FIG. 8 is an explanatory diagram showing a process of a boundary setting unit in FIG.

【図9】図7のフィルタの要部を示すブロック図であ
る。
9 is a block diagram showing a main part of the filter of FIG. 7. FIG.

【図10】図7の画像処理装置の処理を示す説明図であ
る。
FIG. 10 is an explanatory diagram showing a process of the image processing apparatus of FIG.

【図11】従来の画像処理装置を示すブロック図であ
る。
FIG. 11 is a block diagram showing a conventional image processing apparatus.

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

1 二色分離部 2 フィルタ 5 二値化処理部 6 信号マスク処理部 7 膨張処理部 8 セレクタ 9 境界設定部 1 Two-color Separation Section 2 Filter 5 Binarization Processing Section 6 Signal Mask Processing Section 7 Expansion Processing Section 8 Selector 9 Boundary Setting Section

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 フルカラーセンサにより読み取られた原
稿のカラー信号に基づいて輝度信号と黒以外の第2の色
彩領域を検出する検出手段と、 前記検出手段により検出された輝度信号を平滑化処理す
る平滑化手段と、 前記検出手段により検出された第2の色彩領域を膨張す
る膨張手段と、 前記平滑化手段により処理された輝度信号に基づいて黒
信号と黒以外の第2の色彩信号を生成する生成手段と、 前記生成手段により生成された黒信号と黒以外の第2の
色彩信号を前記膨張手段により膨張された第2の色彩領
域に基づいて合成する合成手段と、を備えた画像処理装
置。
1. A detecting means for detecting a luminance signal and a second color area other than black on the basis of a color signal of a document read by a full-color sensor, and a smoothing process for the luminance signal detected by the detecting means. Smoothing means, expanding means for expanding the second color area detected by the detecting means, and a black signal and a second color signal other than black based on the luminance signal processed by the smoothing means Image processing including: a generation unit configured to generate the black signal and a second color signal other than black generated by the generation unit based on the second color region expanded by the expansion unit. apparatus.
【請求項2】 前記検出手段により検出された輝度信号
を強調処理する強調手段を更に備え、文字モード時に前
記強調手段が前記検出手段により検出された輝度信号を
強調処理し、前記膨張手段が前記検出手段により検出さ
れた第2の色彩領域を膨張せず、前記生成手段が前記強
調手段により強調処理された輝度信号に基づいて黒信号
と黒以外の第2の色彩信号を生成し、前記合成手段が前
記生成手段により生成された黒信号と黒以外の第2の色
彩信号を前記検出手段により検出された第2の色彩領域
に基づいて合成することを特徴とする請求項1記載の画
像処理装置。
2. An enhancement unit for enhancing the luminance signal detected by the detection unit is further provided, wherein the enhancement unit enhances the luminance signal detected by the detection unit in the character mode, and the expansion unit performs the enhancement process. The second color region detected by the detection unit is not expanded, and the generation unit generates a black signal and a second color signal other than black on the basis of the luminance signal emphasized by the emphasizing unit, and the synthesis is performed. 2. The image processing according to claim 1, wherein the means synthesizes the black signal generated by the generating means and the second color signal other than black based on the second color area detected by the detecting means. apparatus.
【請求項3】 フルカラーセンサにより読み取られた原
稿のカラー信号に基づいて輝度信号と黒以外の第2の色
彩領域を検出する検出手段と、 前記検出手段により検出された輝度信号の平滑前又は平
滑化後の輝度信号を選択的に出力可能な平滑化手段と、 前記検出手段により検出された第2の色彩領域の外側に
境界を設定する境界設定手段と、 前記境界設定手段により設定された境界において前記平
滑化手段により処理された後の輝度信号レベルと処理さ
れる前の輝度信号レベルを比較し、平滑後の輝度信号レ
ベルが平滑化前より高い場合に前記平滑化手段が平滑化
前の輝度信号レベルを選択するように制御する選択手段
と、 前記平滑化手段から出力された輝度信号に基づいて黒信
号と黒以外の第2の色彩信号を生成する生成手段と、 前記生成手段により生成された黒信号と黒以外の第2の
色彩信号を前記検出手段により検出された第2の色彩領
域に基づいて合成する合成手段と、を備えた画像処理装
置。
3. A detecting means for detecting a luminance signal and a second color area other than black based on a color signal of an original read by a full color sensor, and a smoothing or smoothing of the luminance signal detected by the detecting means. Smoothing means capable of selectively outputting the converted luminance signal, boundary setting means for setting a boundary outside the second color region detected by the detecting means, and boundary set by the boundary setting means In, the luminance signal level after being processed by the smoothing means is compared with the luminance signal level before being processed, and if the luminance signal level after smoothing is higher than before smoothing, the smoothing means determines that before smoothing. Selecting means for controlling the luminance signal level to be selected; generating means for generating a black signal and a second color signal other than black based on the luminance signal output from the smoothing means; A synthesizing means for synthesizing on the basis of the second color region detected by the second color signals other than the generated black signal and black by forming means and said detecting means, an image processing apparatus having a.
【請求項4】 前記検出手段により検出された輝度信号
を強調処理する強調手段を更に備え、文字モード時に前
記強調手段が前記検出手段により検出された輝度信号を
強調処理し、前記境界設定手段が第2の色彩領域の外側
に境界を設定せず、前記生成手段が前記強調手段により
強調処理された輝度信号に基づいて黒信号と黒以外の第
2の色彩信号を生成し、前記合成手段が前記生成手段に
より生成された黒信号と黒以外の第2の色彩信号を前記
検出手段により検出された第2の色彩領域に基づいて合
成することを特徴とする請求項3記載の画像処理装置。
4. The enhancement means for enhancing the luminance signal detected by the detection means is further provided, wherein the enhancement means enhances the luminance signal detected by the detection means in the character mode, and the boundary setting means A boundary is not set outside the second color area, the generating means generates a black signal and a second color signal other than black based on the luminance signal enhanced by the enhancing means, and the synthesizing means 4. The image processing apparatus according to claim 3, wherein the black signal generated by the generating unit and the second color signal other than black are combined based on the second color region detected by the detecting unit.
JP7253389A 1995-09-29 1995-09-29 Image processing unit Pending JPH0998297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7253389A JPH0998297A (en) 1995-09-29 1995-09-29 Image processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7253389A JPH0998297A (en) 1995-09-29 1995-09-29 Image processing unit

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2004303091A Division JP2005102251A (en) 2004-10-18 2004-10-18 Image processing apparatus

Publications (1)

Publication Number Publication Date
JPH0998297A true JPH0998297A (en) 1997-04-08

Family

ID=17250696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7253389A Pending JPH0998297A (en) 1995-09-29 1995-09-29 Image processing unit

Country Status (1)

Country Link
JP (1) JPH0998297A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7375853B2 (en) 2002-09-12 2008-05-20 Ricoh Company, Limited Image processing apparatus and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7375853B2 (en) 2002-09-12 2008-05-20 Ricoh Company, Limited Image processing apparatus and method

Similar Documents

Publication Publication Date Title
EP0574095B1 (en) Color-Image Processing Method
JP3256982B2 (en) Image processing device
US5331442A (en) Identification of graphic and character areas in color image processor
US8477324B2 (en) Image processor and image processing method that uses s-shaped gamma curve
JPH06121161A (en) Character processing system for color image processor
JPH08307717A (en) Image processing device
JP4329271B2 (en) Image processing apparatus, image forming apparatus, and image processing method
US6744921B1 (en) Image processing apparatus and method that determines the thickness of characters and lines
JPH08251402A (en) Image processing unit
EP0662765A2 (en) Image processing apparatus and method
JPH10173916A (en) Image processor
JPH0630263A (en) Color image processing circuit
JPH0998297A (en) Image processing unit
JP3964922B2 (en) Image processing device
JP3079630B2 (en) Image processing device
JP2696902B2 (en) Color image processing equipment
JP2005102251A (en) Image processing apparatus
JP3581395B2 (en) Image processing apparatus and image processing method
JP3077241B2 (en) Image processing device
JP2002064717A (en) Color image forming apparatus
JPS63288566A (en) Image processor
JP3441001B2 (en) Image processing device
JP2003219178A (en) Image processing method, device thereof and image forming device
JPH02140057A (en) Picture processor and image forming device
JP3236218B2 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040802

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040817

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041018

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041214

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050705