JP3105689B2 - Image processing apparatus and method - Google Patents

Image processing apparatus and method

Info

Publication number
JP3105689B2
JP3105689B2 JP05060847A JP6084793A JP3105689B2 JP 3105689 B2 JP3105689 B2 JP 3105689B2 JP 05060847 A JP05060847 A JP 05060847A JP 6084793 A JP6084793 A JP 6084793A JP 3105689 B2 JP3105689 B2 JP 3105689B2
Authority
JP
Japan
Prior art keywords
signal
circuit
image
black
output
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.)
Expired - Fee Related
Application number
JP05060847A
Other languages
Japanese (ja)
Other versions
JPH06253161A (en
Inventor
清太 正能
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP05060847A priority Critical patent/JP3105689B2/en
Publication of JPH06253161A publication Critical patent/JPH06253161A/en
Application granted granted Critical
Publication of JP3105689B2 publication Critical patent/JP3105689B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、カラー画像を読み取
り、該画像を2色の着色材で表現できる画像に変換可能
な画像処理装置及び方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method capable of reading a color image and converting the image into an image that can be expressed by two colorants.

【0002】[0002]

【従来の技術】カラー画像を読み取る所謂リーダに白黒
プリンタを組み合わせたシステムが提案されている。そ
して、入力した画像のうち白黒画像は階調画像として表
現し、カラーのグラフ等の色分けされて意味ある画像、
例えば図6(a)に示すような画像は図6(b)のよう
に斜線や点線等を組み合わせて色相ごとにパターン分け
処理して表現するような画像処理装置が提案されてい
る。
2. Description of the Related Art There has been proposed a system in which a black-and-white printer is combined with a so-called reader for reading a color image. Then, among the input images, the black-and-white image is expressed as a gradation image, and a color-coded and other meaningful image such as a color graph,
For example, an image processing apparatus has been proposed in which an image as shown in FIG. 6 (a) is expressed by performing pattern division processing for each hue by combining oblique lines and dotted lines as shown in FIG. 6 (b).

【0003】図5は、従来の画像処理装置の制御回路を
示すブロック図である。
FIG. 5 is a block diagram showing a control circuit of a conventional image processing apparatus.

【0004】従来リーダ等により読み取られたR,G,
Bで光の3原色に色分解されたR(赤)、G(緑)、B
(青)の各信号はそれぞれ第1、第2、第3平滑化処理
回路(スムージング回路)101,102および103
に入力され、第1、第2、第3ルックアップテーブル
(LUT)104,105および106により視覚特性
を補正された後、無彩色判定回路107及び色相判定ル
ックアップテーブル(LUT)108に入力される。無
彩色判定回路107ではR,G,B信号の最大値と最小
値との差分を演算し、その値が所定の閾値以下なら
“1”、また所定の閾値以上なら“0”という無彩色判
定信号を出力し、この無彩色判定信号はセレクタ112
に入力される。また色相判定ルックアップテーブル10
8はR,G,B信号からLab座標空間のab平面上の
色相角tan(b/a)信号を出力し、このtan(b
/a)信号は認定色判別回路109を介してパターン発
生器110に入力される。認定色判別回路109は色相
角tan(b/a)信号に基づいて、その色相が登録さ
れているどの色に属するものであるかを判別する。パタ
ーン発生器110は認定色判別回路109によって判別
された色相に応じたパターン信号、即ち斜線や点線等を
組み合わせて色ごとにパターン分けして表現する信号を
発生し、このパターン信号はセレクタ112に入力され
る。一方、G信号は第4ルックアップテーブル(LU
T)111に入力され濃度信号に変換された後、セレク
タ112に入力される。セレクタ112は、無彩色信号
が“1”の場合に濃度信号を、“0”の場合にパターン
信号をそれぞれ選択して出力する。
[0004] Conventionally, R, G,
R (red), G (green), and B separated into three primary colors of light at B
The (blue) signals are first, second, and third smoothing processing circuits (smoothing circuits) 101, 102, and 103, respectively.
After the visual characteristics are corrected by the first, second, and third look-up tables (LUTs) 104, 105, and 106, they are input to the achromatic color determination circuit 107 and the hue determination look-up table (LUT) 108. You. The achromatic color determination circuit 107 calculates the difference between the maximum value and the minimum value of the R, G, and B signals, and determines whether the value is “1” if the value is equal to or less than a predetermined threshold, and “0” if the value is equal to or more than the predetermined threshold. And outputs the signal to the selector 112.
Is input to Also, the hue determination lookup table 10
8 outputs a hue angle tan (b / a) signal on the ab plane in the Lab coordinate space from the R, G, B signals, and outputs this tan (b
/ A) The signal is input to the pattern generator 110 via the authorized color determination circuit 109. Based on the hue angle tan (b / a) signal, the authorized color determination circuit 109 determines which registered color the hue belongs to. The pattern generator 110 generates a pattern signal corresponding to the hue determined by the authorized color determination circuit 109, that is, a signal that expresses a pattern for each color by combining diagonal lines and dotted lines. Is entered. On the other hand, the G signal is supplied to the fourth look-up table (LU
T) 111 and converted into a density signal, and then input to the selector 112. The selector 112 selects and outputs a density signal when the achromatic signal is “1” and a pattern signal when the achromatic signal is “0”.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来の画像処理装置では、平滑化処理のエリアを広くする
と有彩色中の黒文字等は無彩色と判定されず黒文字等が
文字として処理されない不具合があり、逆に平滑化処理
のエリアを狭くすると粗いカラー網点等は均一なパター
ン画像に変換できないという不具合があった。更に、例
えば図7(a)のような有彩色中の黒文字は、たとえ無
彩色と判定されても、図7(b)のように黒文字がパタ
ーン画像上に配置され、見づらくなってしまうという不
具合があった。
However, in the above-described conventional image processing apparatus, when the area of the smoothing process is widened, black characters in chromatic colors are not determined to be achromatic and black characters are not processed as characters. Conversely, when the area of the smoothing process is reduced, coarse color dots cannot be converted into a uniform pattern image. Further, for example, a black character in a chromatic color such as that shown in FIG. 7A is inconspicuous even if it is determined to be achromatic, because the black character is arranged on the pattern image as shown in FIG. 7B. was there.

【0006】本発明は、上記従来の不具合を解消するた
めになされたもので、その目的は、色を色相に応じたパ
ターン画像に変換するにあたり、原画像中の網点や細線
等の有彩色部に対して、目障りなパターン化処理が施さ
れる事態を防止することができる画像処理装置及び方法
を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problems, and an object of the present invention is to change a color according to a hue.
When converting to a turn image, halftone dots and thin lines in the original image
Unnatural patterning processing is applied to chromatic parts such as
It is an object of the present invention to provide an image processing apparatus and method capable of preventing a situation in which the image processing is performed.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の画像処理装置は、原画像中の黒でな
い領域の画像信号を平滑化処理する平滑化手段と、前記
平滑化手段により平滑化処理された画像信号に基づい
て、前記原画像中の有彩色領域の色相を判別する色相判
別手段と、前記原画像中の黒領域を黒を用いて出力する
第1出力手段と、前記色相判別手段の判別結果に応じ
て、前記原画像中の有彩色領域をパターン画像に変換し
て黒以外の単一色を用いて出力する第2出力手段とを有
することを特徴とする。また、同目的を達成するため、
請求項2記載の画像処理装置は、請求項1記載の画像処
理装置において、前記原画像中の無彩色領域と有彩色領
域との境界部分に画像を付加する境界処理手段を有する
ことを特徴とする。また、同目的を達成するため、請求
項3記載の画像処理装置は、請求項1又は2記載の画像
処理装置において、前記黒以外の単一色は赤であること
を特徴とする。
According to a first aspect of the present invention, there is provided an image processing apparatus, comprising: a smoothing means for smoothing an image signal of a non-black area in an original image; A hue discriminating unit that discriminates a hue of a chromatic region in the original image based on the image signal that has been smoothed by the first unit; and a first output unit that outputs a black region in the original image using black. A second output unit configured to convert a chromatic area in the original image into a pattern image in accordance with a result of the determination by the hue determination unit and output the pattern image using a single color other than black. Also, to achieve the same objective,
According to a second aspect of the present invention, in the image processing apparatus of the first aspect, the image processing apparatus further includes a boundary processing unit that adds an image to a boundary between the achromatic region and the chromatic region in the original image. I do. In order to achieve the above object, an image processing apparatus according to claim 3 is characterized in that, in the image processing apparatus according to claim 1 or 2, the single color other than black is red.

【0008】上記目的を達成するため、請求項4記載の
画像処理方法は、原画像中の黒でない領域の画像信号を
平滑化する平滑化ステップと、前記平滑化ステップにお
いて平滑化処理された画像信号に基づいて、前記原画像
中の有彩色領域の色相を判別する色相判別ステップと、
前記原画像中の黒領域に対して平滑化処理を行わないで
出力する第1出力ステップと、前記原画像中の有彩色領
域を前記色相判別ステップの判別結果に応じたパターン
画像に変換して出力する第2出力ステップとを有するこ
とを特徴とする。
[0008] In order to achieve the above-mentioned object, according to claim 4,
The image processing method uses an image signal of a non-black area in the original image.
A smoothing step for smoothing, and
The original image based on the smoothed image signal.
A hue determination step of determining the hue of the chromatic color area in the middle,
Do not perform the smoothing process on the black area in the original image
A first output step of outputting, and a chromatic color area in the original image.
A pattern corresponding to the determination result of the hue determination step
And a second output step of converting the image into an image and outputting the image.
And features.

【0009】[0009]

【作用】請求項1記載の画像処理装置は、平滑化手段が
原画像中の黒でない領域の画像信号を平滑化処理し、色
相判別手段が平滑化手段により平滑化処理された画像信
号に基づいて、原画像中の有彩色領域の色相を判別し、
第1出力手段が原画像中の黒領域を黒を用いて出力し、
第2出力手段が色相判別手段の判別結果に応じて、原画
像中の有彩色領域をパターン画像に変換して黒以外の単
一色を用いて出力する。また、請求項2記載の画像処理
装置は、境界処理手段が原画像中の無彩色領域と有彩色
領域との境界部分に画像を付加する。また、請求項3記
載の画像処理装置は、黒以外の単一色は赤である。
In the image processing apparatus according to the present invention, the smoothing means smoothes the image signal of a non-black area in the original image, and the hue determining means based on the image signal smoothed by the smoothing means. To determine the hue of the chromatic area in the original image,
A first output unit that outputs a black area in the original image using black;
The second output means converts the chromatic color area in the original image into a pattern image according to the result of the determination by the hue determination means, and outputs the pattern image using a single color other than black. In the image processing apparatus according to the second aspect, the boundary processing means adds an image to a boundary between the achromatic region and the chromatic region in the original image. In the image processing apparatus according to the third aspect, the single color other than black is red.

【0010】また、請求項4記載の画像処理方法は、平
滑化ステップが原画像中の黒でない領域の画像信号を平
滑化し、色相判別ステップが平滑化ステップにおいて平
滑化処理された画像信号に基づいて、原画像中の有彩色
領域の色相を判別し、第1出力ステップが原画像中の黒
領域に対して平滑化処理を行わないで出力し、第2出力
ステップが原画像中の有彩色領域を色相判別ステップの
判別結果に応じたパターン画像に変換して出力する。
Further, the image processing method according to claim 4 is a
The smoothing step flattens the image signal in non-black areas in the original image.
Smoothing, and the hue determination step
Chromatic color in the original image based on the smoothed image signal
The first output step determines the hue of the area,
Output without performing the smoothing process on the area, and output the second
The step is to determine the chromatic area in the original image
The image is converted into a pattern image according to the determination result and output.

【0011】[0011]

【実施例】以下、本発明の実施例を図1〜4を用いて詳
細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below in detail with reference to FIGS.

【0012】〔第1実施例〕本実施例における画像処理
装置は、3原色信号であるR,G,B信号を読み取り、
白色部を除く無彩色部を黒色(第1)の着色材に、また
有彩色部を赤色(第2)の着色材により表現できる画像
に処理して出力することができる装置であり、図1は該
装置の制御回路構成を示すブロック回路図である。
[First Embodiment] An image processing apparatus according to a first embodiment reads R, G, and B signals as three primary color signals,
FIG. 1 shows an apparatus capable of processing and outputting an achromatic portion excluding a white portion to a black (first) coloring material and an chromatic portion to an image that can be represented by a red (second) coloring material. FIG. 3 is a block circuit diagram showing a control circuit configuration of the device.

【0013】同図において、1は輝度を判別する輝度判
別回路、2,3,4は平滑化処理を行なう第1、第2、
第3スムージング回路、5,6,7は第1〜第3スムー
ジング回路2〜4により平滑化処理されたR,G,Bの
輝度信号を視覚特性に合うように補正する第1、第2、
第3ルックアップテーブル(LUT)、8はR,G,B
信号の最大値と最小値の差分から無彩色を判定する無彩
色判定回路、9はLab座標空間でのab平面上の角度
を求める色相判定ルックアップテーブル(LUT)、1
0はあらかじめ登録されているどの色に属するものであ
るかを判別する認定色判別回路、11及び12はそれぞ
れ第1、第2比較器、13,14及び21,22,23
はAND回路、15,16,17はそれぞれの領域内で
論理和をとる第1の9×9OR回路、第1の3×3OR
回路及び第2の3×3OR回路、18,19及び25は
XOR回路、20及び35はNOT回路、24はOR回
路、26はNAND回路、27は認定色判別回路10に
より判別された色に応じて、パターン信号を発生するも
ので、本実施例では赤色の着色材で着色した所定のパタ
ーン信号を発生するパターン発生器、28は赤ベタパタ
ーン(赤色の縁どり)信号を、また29は白色パターン
(白抜き)信号をそれぞれ発生するパターン発生器、3
0,31,32,36,37は乗算器、33は輝度信号
を濃度信号に変換する第4ルックアップテーブル(LU
T)、34は加算器である。
In FIG. 1, reference numeral 1 denotes a luminance discriminating circuit for discriminating luminance, and reference numerals 2, 3, and 4 denote first, second, and third smoothing processes.
The third smoothing circuits 5, 6, 7 correct the R, G, B luminance signals smoothed by the first to third smoothing circuits 2 to 4 so as to match the visual characteristics.
Third look-up table (LUT), 8 is R, G, B
An achromatic color determination circuit that determines an achromatic color based on a difference between a maximum value and a minimum value of a signal; 9 is a hue determination lookup table (LUT) that determines an angle on an ab plane in a Lab coordinate space;
0 is a registered color discriminating circuit for discriminating to which of the colors the color belongs in advance, 11 and 12 are first and second comparators, 13, 14 and 21, 22, 23, respectively.
Is an AND circuit; 15, 16, and 17 are first 9 × 9 OR circuits that take a logical sum in the respective areas, and first 3 × 3 OR circuits
Circuits and a second 3 × 3 OR circuit, 18, 19 and 25 are XOR circuits, 20 and 35 are NOT circuits, 24 is an OR circuit, 26 is a NAND circuit, and 27 is a color determined by the certified color determination circuit 10. In this embodiment, a pattern generator for generating a predetermined pattern signal colored with a red coloring material, 28 is a red solid pattern (red border) signal, and 29 is a white pattern signal (Open) pattern generators for generating signals, 3
0, 31, 32, 36, and 37 are multipliers, and 33 is a fourth lookup table (LU) for converting a luminance signal into a density signal.
T) and 34 are adders.

【0014】次に、上記構成なる本装置が黒色部と有彩
色部との境界及び白色部と有彩色部との境界を2色の着
色材を用いて異なる着色処理する動作原理について説明
する。
Next, a description will be given of the principle of operation of the present apparatus for performing different coloring processes on the boundary between the black portion and the chromatic portion and the boundary between the white portion and the chromatic portion using two colorants.

【0015】入力されたR,G,B信号はそれぞれ輝度
判別回路1に入力される。輝度判別回路1では、この
R,G,B信号のうちの最小値及びR,G,B信号の最
大値と最小値との差分をそれぞれ演算し輝度を判別する
判別信号を出力する。R,G,B信号は、同時に第1〜
第3スムージング回路2〜4にもそれぞれ入力される。
そして、第1〜第3スムージング回路2〜4では、その
判別信号に基づいて平滑化処理に際し、平滑化係数を変
え、前記回路1により輝度が暗黒と判別された場合は、
例えば平滑化処理を行なわず、暗黒でないと判別された
場合は例えば画素数5×5の平滑化処理を行なう。第1
〜第3ルックアップテーブル(LUT)5〜7は前記平
滑化処理されたR,G,Bの輝度信号を視覚特性に合う
ように補正する。この補正されたR,G,B信号(以
下、「補正RGB信号」という。)は無彩色判定回路8
と色相判定LUT9とにそれぞれ入力される。無彩色判
定回路8は補正RGB信号の最大値と最小値との差分を
演算し、その差分値が所定の閾値以下のとき“1”、所
定の閾値以上のとき“0”の無彩色信号を出力する。
The input R, G and B signals are input to the luminance discriminating circuit 1 respectively. The luminance discriminating circuit 1 calculates a minimum value of the R, G, and B signals and a difference between the maximum value and the minimum value of the R, G, and B signals, and outputs a discrimination signal for determining the luminance. The R, G, B signals are simultaneously
The signals are also input to the third smoothing circuits 2 to 4, respectively.
Then, the first to third smoothing circuits 2 to 4 change the smoothing coefficient in the smoothing process based on the determination signal, and when the circuit 1 determines that the luminance is dark,
For example, when it is determined that the image is not dark without performing the smoothing process, for example, the smoothing process of 5 × 5 pixels is performed. First
Third to third look-up tables (LUTs) 5 to 7 correct the smoothed R, G, and B luminance signals so as to match the visual characteristics. The corrected R, G, B signals (hereinafter, referred to as “corrected RGB signals”) are output to the achromatic determination circuit 8.
And the hue determination LUT 9. The achromatic color determination circuit 8 calculates the difference between the maximum value and the minimum value of the corrected RGB signal, and outputs an achromatic signal of “1” when the difference value is equal to or less than a predetermined threshold and “0” when the difference value is equal to or more than the predetermined threshold. Output.

【0016】一方、色相判定LUT9は補正RGB信号
に対する色相角tan(b/a)信号を出力する。認定
色判別回路10はその色相角tan(b/a)信号を基
に、予め登録されているどの認定色に属するかを判別す
る。またG信号は第2スムージング回路3及び第2LU
T6を介してそれぞれ第1比較器11及び第2比較器1
2に入力される。第1比較器11は該G信号が所定の閾
値以上のとき“1”、所定の閾値以下のとき“0”とい
う明部判定信号を、また第2比較器12はG信号が所定
の閾値以下のとき“1”、所定の閾値以上のとき“0”
という暗部判定信号を出力する。AND回路13は明部
判定信号と前述した無彩色判定信号との論理積をとり、
白判定信号を出力する。またAND回路14は暗部判定
信号と前述の無彩色判定信号との論理積をとり、黒判定
信号を出力する。黒判定信号は第1の9×9のOR回路
15に、また第1の3×3OR回路16にそれぞれ入力
され、更に白判定信号は第2の3×3OR回路17に入
力される。
On the other hand, the hue determination LUT 9 outputs a hue angle tan (b / a) signal for the corrected RGB signal. Based on the hue angle tan (b / a) signal, the certified color determination circuit 10 determines which registered registered color belongs to which color. The G signal is also supplied to the second smoothing circuit 3 and the second LU
The first comparator 11 and the second comparator 1 are respectively connected via T6.
2 is input. The first comparator 11 outputs a bright portion determination signal of “1” when the G signal is equal to or higher than a predetermined threshold, and “0” when the G signal is equal to or lower than the predetermined threshold. Is “1” at the time, and “0” is at least the predetermined threshold.
Is output. The AND circuit 13 takes the logical product of the bright part determination signal and the achromatic color determination signal described above,
Outputs a white determination signal. The AND circuit 14 calculates the logical product of the dark part determination signal and the above-described achromatic color determination signal, and outputs a black determination signal. The black determination signal is input to a first 9 × 9 OR circuit 15 and a first 3 × 3 OR circuit 16, and the white determination signal is input to a second 3 × 3 OR circuit 17.

【0017】第1の9×9OR回路15は、現在処理中
の画素(以下、「注目画素」という。)について、その
注目画素の回り9×9=81個の画素すべての黒判定信
号との論理和をとり、そのうち1つでも黒判定信号が
“1”となっている画素があれば第1の9×9OR回路
15の出力信号は“1”となり、すべての画素の黒判定
信号が“0”のとき第1の9×9OR回路15の出力信
号は“0”となる。同様に、第1の3×3OR回路16
は注目画素の回り3×3=9個の画素すべての黒判定信
号との論理和をとる。
The first 9 × 9 OR circuit 15 outputs a current pixel (hereinafter, referred to as a “target pixel”) to a black determination signal of all 9 × 9 = 81 pixels around the target pixel. An OR operation is performed. If at least one of the pixels has a black determination signal of “1”, the output signal of the first 9 × 9 OR circuit 15 becomes “1”, and the black determination signals of all the pixels become “1”. When it is “0”, the output signal of the first 9 × 9 OR circuit 15 becomes “0”. Similarly, the first 3 × 3 OR circuit 16
Takes the logical sum of all 3 × 3 = 9 pixels around the pixel of interest with the black determination signal.

【0018】また、XOR回路18は、第1の9×9O
R回路15の出力信号と第1の3×3OR回路16の出
力信号との排他的論理和をとる。XOR回路18は、注
目画素の回り3×3画素領域に黒と判定される画素がな
く且つ9×9画素領域に黒と判定される画素があると
き、その出力信号は“1”となる。即ち、注目画素が黒
と判定された画素から4画素分離れているときに出力信
号は“1”となる。また、第1の3×3OR回路16
は、注目画素が有彩色で且つ黒と判定された画素から1
画素離れているとき、即ち黒と判定された画素の隣にな
るときその出力信号は“1”となる。
The XOR circuit 18 has a first 9 × 90 circuit.
The exclusive OR of the output signal of the R circuit 15 and the output signal of the first 3 × 3 OR circuit 16 is calculated. The XOR circuit 18 outputs “1” when there are no pixels determined to be black in a 3 × 3 pixel area around a target pixel and there are pixels determined to be black in a 9 × 9 pixel area. That is, when the target pixel is separated by four pixels from the pixel determined to be black, the output signal becomes “1”. Also, the first 3 × 3 OR circuit 16
Is 1 from the pixel whose target pixel is determined to be chromatic and black.
When the pixel is separated, that is, when the pixel is adjacent to the pixel determined to be black, the output signal becomes “1”.

【0019】更に、AND回路21はNOT回路20を
介して入力される無彩色判定信号の反転信号と前記XO
R回路18の出力信号との論理積をとる。即ち、注目画
素が有彩色で且つ黒と判定された画素から4画素離れて
いるときに、AND回路21の出力信号は“1”とな
る。同様にAND回路22は、注目画素が有彩色で且つ
黒と判定された画素から1画素離れているときに出力信
号は“1”となる。
Further, an AND circuit 21 outputs an inverted signal of an achromatic color determination signal input through a NOT circuit 20 and the XO signal.
The logical product with the output signal of the R circuit 18 is calculated. That is, when the target pixel is four pixels away from the pixel determined to be chromatic and black, the output signal of the AND circuit 21 becomes “1”. Similarly, the output signal of the AND circuit 22 becomes “1” when the target pixel is one pixel away from the pixel determined to be chromatic and black.

【0020】そして、これらAND回路21及び22か
らの出力信号(境界判定信号)はXOR回路25及びO
R回路24にそれぞれ入力される。
The output signals (boundary determination signals) from these AND circuits 21 and 22 are applied to XOR circuits 25 and O
Each is input to the R circuit 24.

【0021】また、第2の3×3OR回路17は、注目
画素について、その注目画素の回り3×3=9個の画素
すべての白判定信号との論理和をとり、そのうち1つで
も白判定信号が“1”となっている画素があれば第2の
3×3OR回路17の出力信号は“1”となり、すべて
の画素の白判定信号が“0”のとき第2の3×3OR回
路17の出力信号は“0”となる。また、XOR回路1
9は、注目画素が白と判定された画素から1画素離れて
いるとき、即ち黒と判定された画素の隣にあるときその
出力信号は“1”となる。更に、AND回路23は、N
OT回路20を介して入力される無彩色判定信号の反転
信号とXOR回路19の出力信号との論理積をとる。即
ち注目画素が有彩色で且つ白と判定された画素から1画
素離れているときAND回路23の出力信号は“1”と
なる。このAND回路23からの出力信号(境界判定信
号)は乗算器31に入力される。
The second 3 × 3 OR circuit 17 performs a logical OR operation on the target pixel with the white determination signals of all 3 × 3 = 9 pixels around the target pixel. If there is a pixel whose signal is “1”, the output signal of the second 3 × 3 OR circuit 17 becomes “1”, and when the white determination signals of all the pixels are “0”, the second 3 × 3 OR circuit 17 The output signal of No. 17 is "0". XOR circuit 1
Reference numeral 9 indicates that when the target pixel is one pixel away from the pixel determined to be white, that is, when the pixel of interest is adjacent to the pixel determined to be black, the output signal is “1”. Further, the AND circuit 23 outputs N
The logical product of the inverted signal of the achromatic determination signal input via the OT circuit 20 and the output signal of the XOR circuit 19 is calculated. That is, when the target pixel is one pixel away from the pixel determined to be chromatic and white, the output signal of the AND circuit 23 becomes “1”. The output signal (boundary determination signal) from the AND circuit 23 is input to the multiplier 31.

【0022】そして、乗算器31は、AND回路23か
らの出力信号と赤ベタパターン発生器28からの赤ベタ
パターン信号を乗算した信号を加算器34に出力する。
The multiplier 31 outputs to the adder 34 a signal obtained by multiplying the output signal from the AND circuit 23 by the solid red pattern signal from the solid red pattern generator 28.

【0023】また、XOR回路25は、AND回路21
の出力信号とAND回路23の出力信号との排他的論理
和をとり、その信号(排他的論理和信号)を乗算器32
に出力する。該乗算器32は前記排他的論理和信号と白
色パターン信号発生器29からの白色パターン信号とを
乗算した信号を加算器34に出力する。
The XOR circuit 25 is connected to the AND circuit 21.
Of the output signal of the AND circuit 23 and the output signal of the AND circuit 23, and the signal (exclusive OR signal) is output to the multiplier 32.
Output to The multiplier 32 outputs to the adder 34 a signal obtained by multiplying the exclusive OR signal by the white pattern signal from the white pattern signal generator 29.

【0024】また、NAND回路26は、AND回路2
1の出力信号とAND回路23の出力信号との否定的論
理積をとって、その出力信号を乗算器30に出力する。
該乗算器30はNAND回路26の出力信号とパターン
発生器27からのパターン信号を乗算した信号を加算器
34に出力する。
The NAND circuit 26 is connected to the AND circuit 2
The logical product of the output signal of the AND circuit 23 and the output signal of the AND circuit 23 is obtained, and the output signal is output to the multiplier 30.
The multiplier 30 outputs a signal obtained by multiplying the output signal of the NAND circuit 26 and the pattern signal from the pattern generator 27 to the adder 34.

【0025】このようにこれらOR回路15〜17で論
理和をとりその出力信号に基づいてXOR回路18及び
19で排他的論理和をとることにより注目画素の回りに
白色部があるか、黒色部があるかを判断する。そして、
無彩色判定信号の反転信号とAND回路21〜23の入
力信号との論理積をとることにより、前記注目画素が有
彩色と無彩色との境界のどの位置にあるかを判定するも
のである。
As described above, the logical sum is obtained by the OR circuits 15 to 17 and the exclusive OR is obtained by the XOR circuits 18 and 19 based on the output signals. Determine if there is. And
By taking the logical product of the inverted signal of the achromatic color determination signal and the input signals of the AND circuits 21 to 23, it is determined at which position on the boundary between the chromatic color and the achromatic color the target pixel is located.

【0026】一方、G信号はLUT33により濃度信号
に変換される。更に、乗算器36は、OR回路24を介
して入力される前記無彩色判定信号が“1”のとき、こ
の濃度信号を選択し、黒色(第1)の着色材による画像
表示がなされ、また、乗算器36は、前述したOR回路
24を介して入力されるAND回路22の出力信号が
“1”のとき、即ち有彩色の隣に黒と判定される画素が
あるとき、この濃度信号を選択し、有彩色と黒色部との
境界線が黒色の着色材で着色された太い線で画像表示さ
れる。
On the other hand, the G signal is converted by the LUT 33 into a density signal. Further, when the achromatic determination signal input via the OR circuit 24 is "1", the multiplier 36 selects this density signal, and an image is displayed with a black (first) coloring material. When the output signal of the AND circuit 22 input through the above-described OR circuit 24 is “1”, that is, when there is a pixel determined to be black next to the chromatic color, the multiplier 36 outputs this density signal. The selected line is displayed as a thick line colored with a black coloring material at the boundary between the chromatic color and the black portion.

【0027】一方、乗算器37は、OR回路24を介し
て入力される前記無彩色判定信号が“0”で、該信号が
NOT回路35により反転されて“1”のとき、前記加
算器34の出力信号を選択し、本実施例では赤色(第
2)の着色材により着色された色相に応じた所定パター
ンや赤ベタパターン、白色パターンで画像表示される。
On the other hand, when the achromatic judgment signal input via the OR circuit 24 is "0" and the signal is inverted by the NOT circuit 35 and is "1", the multiplier 37 outputs the signal to the adder 34. In this embodiment, an image is displayed in a predetermined pattern, a solid red pattern, or a white pattern corresponding to the hue colored with the red (second) coloring material.

【0028】実際、図2(a)に示すような黒色部、有
彩色部及び白色部と色分けされているサンプルの場合に
は、図2(b)に示すように、有彩色部を赤色の着色材
で着色した所定パターンの画像により、黒色部は黒色の
画像により、また白色部は白抜きの画像により表示する
と共に、有彩色と黒色との境界は、その境界線は黒色の
太い線により、更にその太い線と有彩色部との境界は白
抜きの画像により、また有彩色と白色部との境界は赤ベ
タパターンの画像により表示される。
Actually, in the case of a sample which is classified into a black portion, a chromatic portion and a white portion as shown in FIG. 2A, as shown in FIG. With the image of the predetermined pattern colored with the coloring material, the black part is displayed by the black image, and the white part is displayed by the white image, and the boundary between the chromatic color and black is indicated by a thick black line. Further, the boundary between the thick line and the chromatic portion is displayed by a white image, and the boundary between the chromatic color and the white portion is displayed by an image of a solid red pattern.

【0029】また、図3(a)に示すように、赤色、黄
色、緑色の有彩色部の上に40%、30%、25%の黒
色文字がそれぞれ表示されているサンプルの場合には、
図3(b)に示すように、有彩色部をそれぞれの色相に
応じた赤色の着色材で着色した所定パターンに画像表示
すると共に、前記黒色文字部の背景が白抜きされ、黒色
文字が見易く画像表示される。
As shown in FIG. 3A, in the case of a sample in which 40%, 30%, and 25% black characters are displayed on red, yellow, and green chromatic portions, respectively,
As shown in FIG. 3B, the chromatic portion is displayed as an image in a predetermined pattern colored with a red coloring material corresponding to each hue, and the background of the black character portion is outlined, so that the black character can be easily seen. The image is displayed.

【0030】〔第2実施例〕次に本発明の第2実施例を
図4に基づき説明する。
[Second Embodiment] Next, a second embodiment of the present invention will be described with reference to FIG.

【0031】図4は本発明の第2実施例に係る画像処理
装置の制御回路構成を示すブロック回路図である。
FIG. 4 is a block circuit diagram showing a control circuit configuration of an image processing apparatus according to a second embodiment of the present invention.

【0032】同図において、51は輝度を判別する輝度
判別装置、52〜54は平滑化処理を行なう第1〜第3
スムージング回路、55〜57は第1〜第3スムージン
グ回路52〜54により平滑化処理されたR,G,B信
号を視覚特性に合うように補正する第1〜第3ルックア
ップテーブル(LUT)、58はR,G,B信号の最大
値と最小値の差分から無彩色を判定する無彩色判定回
路、59はLab座標空間でのab平面上の角度を求め
る色相判定ルックアップテーブル(LUT)、60はあ
らかじめ登録されているどの色に属するものであるか判
別する認定色判別回路、61は視覚補正されたLUT5
5〜57のRGB信号に基づいて視覚輝度を演算する第
1演算器、62及び63はそれぞれ第1、第2比較器、
64,65及び79〜84はAND回路、66〜71は
それぞれの領域内で論理和をとるものであり、66,6
9は第1、第2の7×7OR回路、67,70は第1、
第2の5×5OR回路、68,71は第1、第2の3×
3OR回路、72〜77はXOR回路、78はNOT回
路、85は認定色判別回路60により判別された色に応
じてパターンを発生し、赤色(第2着色材)を用いて、
判別された色相に応じて所定パターンを発生するパター
ン発生器、86は輝度信号を濃度信号に変換する第4ル
ックアップテーブル(LUT)、87及び88はAND
回路79〜84のそれぞれの境界位置信号から有彩色と
無彩色との境界の隔たり度合いに応じた乗算数を演算す
る第2、第3演算器、89〜91はそれぞれ第1〜第3
乗算器、92及び93は第1、第2加算器である。
In the figure, reference numeral 51 denotes a luminance discriminating device for discriminating luminance, and 52 to 54 denote first to third pixels for performing a smoothing process.
Smoothing circuits 55 to 57 are first to third look-up tables (LUTs) for correcting the R, G, B signals smoothed by the first to third smoothing circuits 52 to 54 so as to match the visual characteristics. Reference numeral 58 denotes an achromatic color determination circuit that determines an achromatic color from a difference between the maximum value and the minimum value of the R, G, and B signals; 59, a hue determination lookup table (LUT) that determines an angle on the ab plane in the Lab coordinate space; Reference numeral 60 denotes a certified color discriminating circuit for discriminating which color belongs to a pre-registered color, and 61 denotes a visually corrected LUT 5
First and second computing units 62 and 63 for computing visual luminance based on RGB signals of 5 to 57 are first and second comparators, respectively.
Reference numerals 64, 65 and 79 to 84 denote AND circuits, and reference numerals 66 to 71 denote logical sums in respective areas.
9 is a first and second 7 × 7 OR circuit, 67 and 70 are first,
The second 5 × 5 OR circuit, 68 and 71 are the first and second 3 × 5 OR circuits.
A 3OR circuit, 72 to 77 are XOR circuits, 78 is a NOT circuit, and 85 is a pattern that generates a pattern according to the color determined by the authorized color determination circuit 60 and uses red (second coloring material).
A pattern generator that generates a predetermined pattern according to the determined hue, 86 is a fourth look-up table (LUT) for converting a luminance signal into a density signal, and 87 and 88 are ANDs
The second and third calculators 89 to 91 for calculating the multipliers according to the degree of separation of the boundary between the chromatic and achromatic colors from the respective boundary position signals of the circuits 79 to 84 are the first to third, respectively.
The multipliers 92 and 93 are first and second adders.

【0033】上記のような構成において、入力された
R,G,B信号はそれぞれ輝度判別回路51に入力され
る。輝度判別回路51では、このR,G,B信号のうち
最小値及びR,G,B信号の最大値と最小値との差分を
それぞれ演算し、輝度の明暗を判別する判別信号を出力
する。R,G,B信号は、同時に第1〜第3スムージン
グ回路52〜54にもそれぞれ入力される。第1〜第3
スムージング回路52〜54は輝度判別回路51の判定
結果に応じて平滑化処理に際し平滑化係数を変えて、そ
れぞれR,G,Bの信号に対し平滑化処理を施す。輝度
判別回路51が出力する判別信号は平滑化係数を変える
ことのみに使われ、他の処理には影響しない。
In the above configuration, the input R, G, and B signals are input to the luminance determination circuit 51, respectively. The luminance discriminating circuit 51 calculates the minimum value of the R, G, and B signals and the difference between the maximum value and the minimum value of the R, G, and B signals, respectively, and outputs a discrimination signal for determining the brightness. The R, G, and B signals are also simultaneously input to the first to third smoothing circuits 52 to 54, respectively. First to third
The smoothing circuits 52 to 54 perform smoothing processing on the R, G, and B signals by changing the smoothing coefficient in the smoothing processing according to the determination result of the luminance determination circuit 51. The discrimination signal output from the luminance discrimination circuit 51 is used only for changing the smoothing coefficient and does not affect other processes.

【0034】第1〜第3LUT55〜57は前記平滑化
処理されたR,G,Bの輝度信号を視覚特性に合うよう
に補正する。補正されたR,G,B信号(以下、「補正
RGB信号」という。)は無彩色判定回路58と色相判
定ルックアップテーブル(LUT)59に入力される。
The first to third LUTs 55 to 57 correct the smoothed R, G, and B luminance signals so as to match the visual characteristics. The corrected R, G, B signals (hereinafter referred to as “corrected RGB signals”) are input to an achromatic color determination circuit 58 and a hue determination look-up table (LUT) 59.

【0035】無彩色判定回路58はその画素における補
正RGB信号の最大値と最小値との差分を演算し、その
差分値が所定閾値以下のとき“1”、所定閾値以上のと
き“0”となる無彩色判定信号を出力する。即ち、補正
されたR,G,B信号がほぼ同じレベルならば無彩色と
判断し、補正されたR,G,B信号のレベルに差があれ
ば有彩色と判断するわけである。
The achromatic determination circuit 58 calculates the difference between the maximum value and the minimum value of the corrected RGB signal in the pixel, and sets "1" when the difference value is equal to or less than a predetermined threshold value and "0" when the difference value is equal to or more than the predetermined threshold value. Output an achromatic color determination signal. That is, if the corrected R, G, B signals have substantially the same level, it is determined to be achromatic, and if there is a difference between the levels of the corrected R, G, B signals, it is determined to be chromatic.

【0036】一方、色相判定LUT59は、補正RGB
信号により該信号に対応するLab座標空間のab平面
上の色相角tan(b/a)信号を出力する。認定色判
別回路60は色相角tan(b/a)信号の値から色相
を判断し、あらかじめ登録されているどの認定色に属す
るかを判別する。
On the other hand, the hue judgment LUT 59 has a correction RGB
The signal outputs a hue angle tan (b / a) signal on the ab plane in the Lab coordinate space corresponding to the signal. The certified color determination circuit 60 determines the hue from the value of the hue angle tan (b / a) signal, and determines which registered registered color belongs.

【0037】第1演算器61は、補正RGB信号を人間
の目の分光特性に合わせた比率でかけ合わせ、輝度信号
をつくる。この輝度信号は第1比較器62及び第2比較
器63にそれぞれ入力される。第1比較器62は該輝度
信号が所定閾値以上のとき“1”、所定閾値以下のとき
“0”となる明部判定信号を、また第2比較器63は前
記輝度信号が所定閾値以下のとき“1”、所定閾値以上
のとき“0”となる暗部判定信号を出力する。AND回
路64は前記明部判定信号と無彩色判定回路58が出力
した無彩色判定信号との論理積をとり、白判定信号を出
力する。AND回路65は前記暗部判定信号と前記無彩
色判定信号との論理積をとり、黒判定信号を出力する。
この黒判定信号は第1の7×7OR回路66、第1の5
×5OR回路67及び第1の3×3OR回路68に、ま
た白判定信号は第2の7×7OR回路69、第2の5×
5OR回路70及び第2の3×3OR回路にそれぞれ入
力される。
The first calculator 61 multiplies the corrected RGB signals at a ratio corresponding to the spectral characteristics of the human eye to generate a luminance signal. This luminance signal is input to the first comparator 62 and the second comparator 63, respectively. The first comparator 62 outputs a bright portion determination signal that is “1” when the luminance signal is equal to or higher than a predetermined threshold and “0” when the luminance signal is equal to or lower than the predetermined threshold. At this time, a dark portion determination signal which becomes “1” and becomes “0” when it is equal to or more than a predetermined threshold value is output. The AND circuit 64 calculates the logical product of the bright portion determination signal and the achromatic color determination signal output from the achromatic color determination circuit 58, and outputs a white determination signal. The AND circuit 65 calculates the logical product of the dark part determination signal and the achromatic color determination signal, and outputs a black determination signal.
The black determination signal is supplied to the first 7 × 7 OR circuit 66, the first 5
The × 5 OR circuit 67 and the first 3 × 3 OR circuit 68, and the white determination signal is supplied to the second 7 × 7 OR circuit 69 and the second 5 ×
The signals are input to the 5-OR circuit 70 and the second 3 × 3 OR circuit, respectively.

【0038】第1の7×7OR回路66は、注目画素に
ついてその注目画素の回り7×7=49個の画素すべて
の黒判定信号との論理和をとり、そのうち1つでも黒判
定信号が“1”となっている画素があれば第1の7×7
OR回路66の出力は“1”となり、すべての画素の黒
判定信号が“0”のとき第1の7×7OR回路66の出
力は“0”となる。同様に、第1の5×5OR回路67
は注目画素の回りの5×5=25個の画素すべての黒判
定信号との論理和を、また、第1の3×3OR回路68
は注目画素の回りの3×3=9個の画素すべてについて
該黒判定信号との論理和をとる。
The first 7 × 7 OR circuit 66 calculates the logical sum of the target pixel and the black determination signals of all 7 × 7 = 49 pixels around the target pixel. If there is a pixel of “1”, the first 7 × 7
The output of the OR circuit 66 is “1”, and when the black determination signals of all the pixels are “0”, the output of the first 7 × 7 OR circuit 66 is “0”. Similarly, the first 5 × 5 OR circuit 67
Is the logical sum of all the 5 × 5 = 25 pixels around the pixel of interest with the black determination signal, and the first 3 × 3 OR circuit 68
Takes the logical sum of the 3 × 3 = 9 pixels around the target pixel with the black determination signal.

【0039】そして、XOR回路72は、第1の7×7
OR回路66の出力と第1の5×5OR回路67の出力
との排他的論理和をとる。XOR回路72は、注目画素
の回り5×5画素領域には黒と判定される画素はないが
7×7画素領域には黒と判定される画素があるという場
合のみ、“1”を出力する。即ち、注目画素が黒と判定
された画素から3画素分離れているときに“1”を出力
するのである。同様に、XOR回路73は注目画素が黒
と判定された画素から2画素分離れているときに“1”
となり、XOR回路74は注目画素が黒と判定された画
素から1画素離れているとき、即ち黒と判定された画素
の隣にあるときに“1”となる。
The XOR circuit 72 has the first 7 × 7
The exclusive OR of the output of the OR circuit 66 and the output of the first 5 × 5 OR circuit 67 is calculated. The XOR circuit 72 outputs “1” only when there is no pixel determined to be black in the 5 × 5 pixel area around the target pixel, but there is a pixel determined to be black in the 7 × 7 pixel area. . That is, "1" is output when the target pixel is separated by three pixels from the pixel determined to be black. Similarly, the XOR circuit 73 outputs “1” when the target pixel is separated from the pixel determined to be black by two pixels.
The XOR circuit 74 becomes “1” when the target pixel is one pixel away from the pixel determined to be black, that is, when the target pixel is located next to the pixel determined to be black.

【0040】そして、AND回路79はNOT回路78
を介して入力される無彩色判定信号の反転信号と前記X
OR回路72の出力信号との論理積をとる。即ち、注目
画素が有彩色で且つ黒と判定された画素から3画素離れ
ているときに、AND回路79は“1”を出力する。同
様に、AND回路80は注目画素が有彩色で且つ黒と判
定された画素から2画素離れているときに“1”を、A
ND回路81は注目画素が有彩色で且つ黒と判定された
画素から1画素離れているときに“1”をそれぞれ出力
する。これらAND回路79〜81からの出力(境界判
定信号)は第2演算器87に入力される。
Then, the AND circuit 79 is a NOT circuit 78
And the inverted signal of the achromatic color determination signal input through
The logical product with the output signal of the OR circuit 72 is obtained. That is, when the target pixel is three pixels away from the pixel determined to be chromatic and black, the AND circuit 79 outputs “1”. Similarly, the AND circuit 80 sets “1” when the target pixel is two pixels away from the pixel determined to be chromatic and black,
The ND circuit 81 outputs “1” when the target pixel is one pixel away from the pixel determined to be chromatic and black. Outputs (boundary determination signals) from the AND circuits 79 to 81 are input to the second arithmetic unit 87.

【0041】また、第2の7×7OR回路69は注目画
素についてその注目画素の回り7×7=49個の画素す
べての白判定信号との論理和をとり、そのうち1つでも
白判定信号が“1”となっている画素があれば第2の7
×7OR回路69の出力は“1”となり、すべての画素
の白判定信号が“0”のとき、第2の7×7OR回路6
9の出力は“0”となる。同様に、第2の5×5OR回
路70は注目画素の回りの5×5=25個の画素すべて
の白判定信号との論理和を、また第2の3×3OR回路
71は注目画素の回り3×3=9個の画素のすべての白
判定信号との論理和をとる。
The second 7 × 7 OR circuit 69 performs a logical OR operation on the target pixel with the white determination signals of all 7 × 7 = 49 pixels around the target pixel. If there is a pixel that is “1”, the second 7
The output of the × 7 OR circuit 69 is “1”, and when the white determination signals of all the pixels are “0”, the second 7 × 7 OR circuit 6
9 is "0". Similarly, the second 5 × 5 OR circuit 70 calculates the logical sum of all the 5 × 5 = 25 pixels around the target pixel with the white determination signal, and the second 3 × 3 OR circuit 71 performs the logical OR operation around the target pixel. The logical sum of all 3 × 3 = 9 pixels with the white determination signal is calculated.

【0042】XOR回路75は、第2の7×7OR回路
69の出力と第2の5×5OR回路70の出力との排他
的論理和をとる。XOR回路75は、注目画素の回り5
×5画素領域には白と判定される画素はないが7×7画
素領域には白と判定される画素があるという場合のみ、
“1”を出力する。即ち、注目画素が白と判定された画
素から3画素分離れているときに“1”となるわけであ
る。同様にXOR回路76は注目画素が白と判定された
画素から2画素分離れているときに“1”となり、XO
R回路77は注目画素が白と判定された画素から1画素
離れているとき、即ち、白と判定された画素の隣にある
ときに“1”となる。
The XOR circuit 75 takes the exclusive OR of the output of the second 7 × 7 OR circuit 69 and the output of the second 5 × 5 OR circuit 70. The XOR circuit 75 has a 5
Only when there are no pixels determined to be white in the x5 pixel area, but there are pixels determined to be white in the 7x7 pixel area,
Outputs “1”. That is, it becomes “1” when the target pixel is separated by three pixels from the pixel determined to be white. Similarly, the XOR circuit 76 becomes “1” when the target pixel is separated by two pixels from the pixel determined to be white, and
The R circuit 77 becomes “1” when the pixel of interest is one pixel away from the pixel determined to be white, that is, when it is next to the pixel determined to be white.

【0043】そして、AND回路82はNOT回路78
を介して入力される無彩色判定信号の反転信号とXOR
回路75の出力信号との論理和をとる。即ち、注目画素
が有彩色で且つ白と判定された画素から3画素離れてい
るときに、AND回路82は“1”を出力する。同様
に、AND回路83は注目画素が有彩色で且つ白と判定
された画素から2画素離れているときに“1”を、AN
D回路84は注目画素が有彩色で且つ白と判定された画
素から1画素離れているときに“1”を出力する。これ
らAND回路82〜84からの出力(境界判定信号)は
第3演算器88に入力される。
The AND circuit 82 is a NOT circuit 78
XOR with the inverted signal of the achromatic color determination signal input through
The logical sum with the output signal of the circuit 75 is obtained. That is, when the target pixel is three pixels away from the pixel determined to be chromatic and white, the AND circuit 82 outputs “1”. Similarly, the AND circuit 83 sets “1” when the target pixel is two pixels away from the pixel determined to be chromatic and white,
The D circuit 84 outputs “1” when the target pixel is one pixel away from the pixel determined to be chromatic and white. Outputs (boundary determination signals) from these AND circuits 82 to 84 are input to a third arithmetic unit 88.

【0044】一方、パターン発生器85は認定色判別回
路60から送出された信号に基づき、色相に応じた所定
パターンを発生させる。また、第1演算器61から出力
された輝度信号は第4ルックアップテーブル(LUT)
86により濃度信号に変換される。
On the other hand, the pattern generator 85 generates a predetermined pattern corresponding to the hue based on the signal sent from the authorized color discriminating circuit 60. The luminance signal output from the first computing unit 61 is a fourth look-up table (LUT).
86 converts it into a density signal.

【0045】第3演算器88は、前記無彩色判定信号の
反転信号が“0”のとき、即ち無彩色判定回路58によ
り注目画素が無彩色と判定されたときは、第2乗算器9
0及び第3乗算器91に対して出力信号“0”を送出す
る。また、前記無彩色判定信号の反転信号が“1”のと
き、即ち、注目画素が有彩色と判定されたときは、AN
D回路82〜84から送出された境界判定信号に応じた
信号を送出する。
When the inverted signal of the achromatic color determination signal is "0", that is, when the target pixel is determined to be an achromatic color by the achromatic color determination circuit 58, the third arithmetic unit 88 outputs the second multiplier 9
An output signal “0” is sent to the zero and third multiplier 91. When the inverted signal of the achromatic color determination signal is “1”, that is, when the pixel of interest is determined to be chromatic, AN
A signal corresponding to the boundary determination signal transmitted from the D circuits 82 to 84 is transmitted.

【0046】具体的には、第3演算器88は前記無彩色
判定信号の反転信号に基づいて、AND回路82〜84
の出力信号がすべて“0”ならば、境界付近ではないの
で、第2乗算器90に対して乗算数0を、第3乗算器9
1に対して乗算数1を送出する。また、AND回路82
の出力信号が“1”ならば、第2乗算器90に対して乗
算数0.25を、第3乗算器91に対して乗算数0.7
5を送出する。また、AND回路83の出力信号が
“1”ならば、第2乗算器90に対して乗算数0.5
を、第3乗算器91に対して乗算数0.5を送出する。
また更に、AND回路84の出力信号が“1”ならば、
第2乗算器90に対して乗算数1を、第3乗算器91に
対して乗算数0を送出する。
More specifically, the third arithmetic unit 88 performs AND circuits 82 to 84 based on the inverted signal of the achromatic color determination signal.
Are all near the boundary, the multiplier 0 is multiplied by 0 to the second multiplier 90 and the third multiplier 9
The multiplier 1 is transmitted for one. The AND circuit 82
Is "1", the multiplier 0.25 for the second multiplier 90 and the multiplier 0.7 for the third multiplier 91.
5 is sent. If the output signal of the AND circuit 83 is “1”, the multiplication factor 0.5
To the third multiplier 91.
Further, if the output signal of the AND circuit 84 is “1”,
The multiplier 1 is sent to the second multiplier 90 and the multiplier 0 is sent to the third multiplier 91.

【0047】このようにして、第3演算器88より第2
乗算器90及び第3乗算器91に送出された前記各乗算
数は、第2、第3乗算器90、91において、第4LU
T86より送出された濃度信号及びパターン発生器85
より送出された赤色の着色材で着色した所定パターン信
号にそれぞれ乗算され、第2加算器93により加算され
る。
In this way, the third computing unit 88 outputs the second
The multiplied numbers sent to the multiplier 90 and the third multiplier 91 are output to the second and third multipliers 90 and 91 by the fourth LU.
Density signal and pattern generator 85 sent from T86
The predetermined pattern signal colored with the red coloring material sent from the above is multiplied by each and added by the second adder 93.

【0048】これにより白色領域にある有彩色の細線な
どは濃度信号で再現される。また、白色部と有彩色部と
の境界は白抜きのところから赤色の色相(有彩色)に応
じた所定パターンに徐々に変わって行くように処理され
る。
Thus, chromatic fine lines and the like in the white area are reproduced by the density signal. Further, processing is performed so that the boundary between the white portion and the chromatic portion gradually changes from a white portion to a predetermined pattern corresponding to a red hue (chromatic color).

【0049】一方、第2演算器87は前記無彩色判定信
号の反転信号が“0”のとき、即ち無彩色判定回路58
により注目画素が無彩色と判定されたときは、第1乗算
器89に対し出力信号“1”を、第3乗算器91に対し
出力信号“0”を送出する。また、無彩色判定信号の反
転信号が“1”のとき、即ち注目画素が有彩色と判定さ
れたときは、AND回路79〜81から送出された境界
判定信号に応じた信号を送出する。具体的には、第2演
算器87は、前記無彩色判定信号の判定信号に基づい
て、AND回路79〜81の出力信号がすべて“0”な
らば、境界付近ではないので第1乗算器89に対して乗
算数0を、第3乗算器91に対しては乗算数1を送出す
る。また、AND回路79の出力信号が“1”ならば、
第1乗算器89に対して乗算数0.25を、第3乗算器
91に対して乗算数0.75を送出する。また、AND
回路80の出力信号が“1”ならば、第1乗算器89に
対して乗算数0.5を、第3乗算器91に対して乗算数
0.5を送出する。また更に、AND回路81の出力信
号が“1”ならば、第1乗算器89に対して乗算数1
を、第3乗算器91に対して乗算数0を送出する。この
ようにして、第2演算器87より第1乗算器89及び第
3乗算器91に送出された前記各乗算数は、第1乗算器
89及び第3乗算器91において、第4LUT86より
送出された濃度信号及びパターン発生器85より送出さ
れた赤色の所定パターン信号にそれぞれ乗算され、第1
加算器92及び第2加算器93により出力される。これ
により、黒色分と有彩色分との境界は、前述した白色部
と有彩色部との境界に対して施された処理と同様に、黒
色部のところから赤色の着色材で着色した色相(有彩
色)に応じた所定パターンに徐々に変わっていくように
処理される。
On the other hand, when the inverted signal of the achromatic color determination signal is "0", the second arithmetic unit 87, that is, the achromatic color determination circuit 58
When the target pixel is determined to be an achromatic color, the output signal “1” is sent to the first multiplier 89 and the output signal “0” is sent to the third multiplier 91. When the inverted signal of the achromatic color determination signal is “1”, that is, when the target pixel is determined to be chromatic, a signal corresponding to the boundary determination signal transmitted from the AND circuits 79 to 81 is transmitted. More specifically, if the output signals of the AND circuits 79 to 81 are all “0” based on the determination signal of the achromatic color determination signal, the second arithmetic unit 87 is not near the boundary, so the first multiplier 89 And the multiplier 1 is sent to the third multiplier 91. If the output signal of the AND circuit 79 is “1”,
The multiplication factor 0.25 is sent to the first multiplier 89 and the multiplication factor 0.75 is sent to the third multiplier 91. Also, AND
If the output signal of the circuit 80 is “1”, the multiplication factor 0.5 is sent to the first multiplier 89 and the multiplication factor 0.5 is sent to the third multiplier 91. Further, if the output signal of the AND circuit 81 is “1”, the multiplication number 1
To the third multiplier 91. In this manner, the respective multipliers sent from the second calculator 87 to the first multiplier 89 and the third multiplier 91 are sent from the fourth LUT 86 in the first multiplier 89 and the third multiplier 91. Are multiplied by the density signal and the red predetermined pattern signal sent from the pattern generator 85, respectively.
The signals are output by the adder 92 and the second adder 93. As a result, the boundary between the black portion and the chromatic color portion becomes similar to the above-described processing performed on the boundary between the white portion and the chromatic color portion. (A chromatic color).

【0050】[0050]

【発明の効果】以上説明したように、請求項1記載の画
像処理装置によれば、平滑化手段が原画像中の黒でない
領域の画像信号を平滑化処理し、色相判別手段が平滑化
手段により平滑化処理された画像信号に基づいて、原画
像中の有彩色領域の色相を判別し、第1出力手段が原画
像中の黒領域を黒を用いて出力し、第2出力手段が原画
像中の有彩色領域を色相判別手段の判別結果に応じたパ
ターン画像に変換して黒以外の単一色を用いて出力する
ので、原画像のパターン画像への変換の際に、原画像中
に網点や細線等の有彩色領域が存在したとしても、該網
点や細線等の影響によって、異なるパターン画像同士
で、又はパターン画像と無地とが細かいピッチで切り替
わって不均一な画像が出力されるという事態を防止する
ことができ、加えて原画像中の黒領域を、該黒領域の画
像信号を平滑化処理することなく出力することができ
る。
As described above, the image according to claim 1 is provided.
According to the image processing apparatus, the smoothing means is not black in the original image
The image signal of the area is smoothed, and the hue determination means smoothes it.
The original image based on the image signal smoothed by the
The hue of the chromatic color area in the image is determined, and the first output means outputs the original image.
The black area in the image is output using black, and the second output means outputs the original image.
The chromatic color area in the image is converted to a pattern according to the result of the determination by the hue determination means.
Convert to turn image and output using a single color other than black
Therefore, when converting the original image to a pattern image,
Even if a chromatic area such as a halftone dot or a thin line exists in the
Different pattern images due to the influence of dots, thin lines, etc.
Or switch between the pattern image and the plain at a fine pitch
To prevent the output of non-uniform images
In addition, the black area in the original image can be
Image signal can be output without smoothing
You.

【0051】また、請求項4記載の画像処理方法によれ
ば、平滑化ステップが原画像中の黒でない領域の画像信
号を平滑化処理し、色相判別ステップが平滑化ステップ
において平滑化処理された画像信号に基づいて、原画像
中の有彩色領域の色相を判別し、第1出力ステップが原
画像中の黒領域に対して平滑化処理を行わないで出力
し、第2出力ステップが原画像中の有彩色領域を色相判
別ステップの判別結果に応じたパターン画像に変換して
出力するので、原画像のパターン画像への変換の際に、
原画像中に網点や細線等の有彩色領域が存在したとして
も、該網点や細線等の影響によって、異なるパターン画
像同士で、又はパターン画像と無地とが細かいピッチで
切り替わって不均一な画像が出力されるという事態を防
止することができ、加えて原画像中の黒領域を、該黒領
域の画像信号を平滑化処理することなく出力することが
できる。
According to the image processing method of the fourth aspect,
For example, if the smoothing step performs
Signal, and the hue determination step is a smoothing step.
The original image based on the image signal smoothed in
The hue of the middle chromatic area is determined, and the first output step
Output without performing the smoothing process on the black area in the image
The second output step determines the chromatic color area in the original image
Converted to a pattern image according to the determination result of another step
Output, so when converting the original image to a pattern image,
Assume that chromatic areas such as halftone dots and thin lines exist in the original image
Is also affected by the halftone dots and fine lines.
At a fine pitch between images or between a pattern image and plain
Switching to output a non-uniform image.
Can be stopped, and the black area in the original image is
Area image signals can be output without smoothing
it can.

【0052】また、有彩色部中に黒文字等の無彩色部が
存在する画像に対しては、両者の境界を明瞭にして、黒
文字等を読み易く処理できる。
For an image in which an achromatic portion such as a black character exists in a chromatic portion, the boundary between the two can be made clear so that the black character can be read easily.

【0053】また、無彩色部(白色部)に有彩色の細い
線が存在する場合には、その有彩色に対応するパターン
化処理がされることなく、第2の着色材の細線(例えば
実施例中の赤ベタパターン処理)で処理され、原稿のカ
ラー画像を忠実に再現できる。
If a thin line of chromatic color exists in the achromatic portion (white portion), the thin line of the second coloring material (for example, (Red solid pattern processing in the example), and a color image of the document can be faithfully reproduced.

【0054】また更に、例えば黒色部と有彩色との境界
や白色部と有彩色との境界を明瞭に区別させずに、色と
色との境界をぼんやりさせて色が自然に移っていくよう
な、所謂階調画像に処理することができる。
Further, for example, the boundary between the colors may be blurred and the color may naturally move without clearly distinguishing the boundary between the black portion and the chromatic color or the boundary between the white portion and the chromatic color. It can be processed into a so-called gradation image.

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

【図1】本発明の第1実施例に係る画像処理装置の制御
回路を示すブロック図である。
FIG. 1 is a block diagram illustrating a control circuit of an image processing apparatus according to a first embodiment of the present invention.

【図2】図1の画像処理装置により画像処理された一例
を示す図である。
FIG. 2 is a diagram illustrating an example in which image processing is performed by the image processing apparatus in FIG. 1;

【図3】同装置により画像処理された一例を示す図であ
る。
FIG. 3 is a diagram illustrating an example of image processing performed by the apparatus.

【図4】本発明の第2実施例に係る画像処理装置の制御
回路を示すブロック図である。
FIG. 4 is a block diagram illustrating a control circuit of an image processing apparatus according to a second embodiment of the present invention.

【図5】従来の画像処理装置の制御回路を示すブロック
図である。
FIG. 5 is a block diagram illustrating a control circuit of a conventional image processing apparatus.

【図6】図5の画像処理装置により画像処理された一例
を示す図である。
FIG. 6 is a diagram illustrating an example in which image processing has been performed by the image processing apparatus in FIG. 5;

【図7】同装置により画像処理された一例を示す図であ
る。
FIG. 7 is a diagram showing an example of image processing performed by the apparatus.

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

2,3,4,52,53,54 第1〜第3スムージン
グ回路(平滑化係数変更手段) 8,58 無彩色判定回路(第1判定手段) 10,60 認定色判別回路(色相角処理手段) 13,14,64,65 AND回路(第2判定手段) 21,22,23,79,80,81,82,83,8
4 AND回路(認識手段) 25 XOR回路(境界着色処理手段) 26 NAND回路(境界着色処理手段) 38 OR回路(境界着色処理手段) 87,88 演算回路(境界着色処理手段)
2, 3, 4, 52, 53, 54 First to third smoothing circuits (smoothing coefficient changing means) 8, 58 Achromatic color determining circuit (first determining means) 10, 60 Certified color determining circuit (hue angle processing means) 13, 14, 64, 65 AND circuit (second determination means) 21, 22, 23, 79, 80, 81, 82, 83, 8
4 AND circuit (recognition means) 25 XOR circuit (boundary coloring processing means) 26 NAND circuit (boundary coloring processing means) 38 OR circuit (boundary coloring processing means) 87,88 Operation circuit (boundary coloring processing means)

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/38 - 1/393 H04N 1/40 - 1/409 H04N 1/46 - 1/64 ──────────────────────────────────────────────────の Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 1/38-1/393 H04N 1/40-1/409 H04N 1/46-1/64

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 原画像中の黒でない領域の画像信号を平
滑化処理する平滑化手段と、 前記平滑化手段により平滑化処理された画像信号に基づ
いて、前記原画像中の有彩色領域の色相を判別する色相
判別手段と、 前記原画像中の黒領域を黒を用いて出力する第1出力手
段と、 前記原画像中の有彩色領域を前記色相判別手段の判別結
果に応じたパターン画像に変換して黒以外の単一色を用
いて出力する第2出力手段 とを有することを特徴とする
画像処理装置。
An image signal of a non-black area in an original image is flattened.
A smoothing means for performing a smoothing process , based on the image signal smoothed by the smoothing means,
And a hue for determining a hue of a chromatic area in the original image.
Determining means, and a first output means for outputting a black area in the original image using black
And a step for determining the chromatic color area in the original image by the hue determination means.
Use a single color other than black by converting it to a pattern image
And a second output means for outputting the image data.
【請求項2】 前記原画像中の無彩色領域と有彩色領域
との境界部分に画像を付加する境界処理手段を有するこ
とを特徴とする請求項1記載の画像処理装置。
2. The image processing apparatus according to claim 1, further comprising a boundary processing unit for adding an image to a boundary between the achromatic region and the chromatic region in the original image.
【請求項3】 前記黒以外の単一色は赤であることを特3. The method according to claim 2, wherein the single color other than black is red.
徴とする請求項1又は2記載の画像処理装置。3. The image processing apparatus according to claim 1, wherein
【請求項4】 原画像中の黒でない領域の画像信号を平
滑化する平滑化ステップと、 前記平滑化ステップにおいて平滑化処理された画像信号
に基づいて、前記原画像中の有彩色領域の色相を判別す
る色相判別ステップと、 前記原画像中の黒領域に対して平滑化処理を行わないで
出力する第1出力ステップと、 前記原画像中の有彩色領域を前記色相判別ステップの判
別結果に応じたパターン画像に変換して出力する第2出
力ステップとを有することを特徴とする画像処理方法。
4. An image signal of a non-black area in an original image is flattened.
A smoothing step for smoothing, and an image signal smoothed in the smoothing step
The hue of a chromatic area in the original image based on
Hue discriminating step, and without performing a smoothing process on a black area in the original image.
A first output step of outputting a chromatic color area in the original image,
Second output to convert to a pattern image according to another result and output
An image processing method comprising:
JP05060847A 1993-02-25 1993-02-25 Image processing apparatus and method Expired - Fee Related JP3105689B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05060847A JP3105689B2 (en) 1993-02-25 1993-02-25 Image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05060847A JP3105689B2 (en) 1993-02-25 1993-02-25 Image processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH06253161A JPH06253161A (en) 1994-09-09
JP3105689B2 true JP3105689B2 (en) 2000-11-06

Family

ID=13154180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05060847A Expired - Fee Related JP3105689B2 (en) 1993-02-25 1993-02-25 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP3105689B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200489492Y1 (en) 2017-08-04 2019-09-27 박상선 a golf heel-swing trainnig aids

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4891130B2 (en) * 2007-03-30 2012-03-07 キヤノン株式会社 Image processing apparatus and image processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200489492Y1 (en) 2017-08-04 2019-09-27 박상선 a golf heel-swing trainnig aids

Also Published As

Publication number Publication date
JPH06253161A (en) 1994-09-09

Similar Documents

Publication Publication Date Title
EP0648040B1 (en) Image-dependent exposure enhancement
EP0348145B1 (en) Image forming and processing apparatus
US7227990B2 (en) Color image processing device and color image processing method
JP2756280B2 (en) Color image processing equipment
JP3171146B2 (en) Image processing device
US5943143A (en) Image processing system having color adjusting features
US5200832A (en) Color image recording device with color edit and conversion processing
JPH0723245A (en) Picture processing unit
JPH0832827A (en) Gradation correction divice for digital image
JP2000224607A (en) Image processor
JPH09200554A (en) Image processor
JP3105689B2 (en) Image processing apparatus and method
JPH07212583A (en) Method and device for processing color picture
JPH07152904A (en) Image processor
JP2848558B2 (en) Color image processing equipment
JPH07177366A (en) Color image processor
JPH02244876A (en) Sharpness improving system for picture processor
JP2002077647A (en) Image processor
JP3060640B2 (en) Color converter
JPH1042152A (en) Picture processor and picture processing method
JP3337724B2 (en) Image processing apparatus and method
JP2954230B2 (en) Image processing device
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them
JP3262835B2 (en) Image discriminating apparatus and method
JPH1042151A (en) Image processing unit and its method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees