JPH06253161A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH06253161A
JPH06253161A JP5060847A JP6084793A JPH06253161A JP H06253161 A JPH06253161 A JP H06253161A JP 5060847 A JP5060847 A JP 5060847A JP 6084793 A JP6084793 A JP 6084793A JP H06253161 A JPH06253161 A JP H06253161A
Authority
JP
Japan
Prior art keywords
color
circuit
signal
black
chromatic
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.)
Granted
Application number
JP5060847A
Other languages
Japanese (ja)
Other versions
JP3105689B2 (en
Inventor
Seita Masano
清太 正能
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)

Abstract

PURPOSE:To provide a picture processor in which a black character or the like is easily read by expressing a chromatic part and an achromatic part such as a black character in two coloring materials with respect to a picture in which the achromatic part such as a boundary character is in existing in the chromatic color and making a border between the chromatic color and the black character or the like clear. CONSTITUTION:R, G, B signals subjected to smoothing processing are inputted to a recognition discrimination circuit 10, in which to which hue of recognized colors registered in advance a noticed picture element belongs is discriminated and the result is outputted to a pattern generator 27. Moreover, the result is inputted to an achromatic color discrimination circuit 8 whether the surrounding of the noticed picture element is at a white level or a black level is discriminated by a block level discrimination signal and a white level discrimination signal based on an achromatic color discrimination signal and at which position of the boundary between the chromatic color and the achromatic color the noticed picture element resides is discriminated. Then a density signal from a 4th LUT 33 is selected based on an output signal of the achromatic color discrimination circuit 8 and an AND circuit 22 and a black picture is displayed and the boundary the chromatic color and the black part is displayed in a black thick line.

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 capable of reading a color image and converting the image into an image which can be expressed by two coloring materials.

【0002】[0002]

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

【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”の場合にパターン
信号をそれぞれ選択して出力する。
R, G, which are conventionally read by a reader or the like,
R (red), G (green), and B that have been separated into the three primary colors of light with B
The (blue) signals are respectively the first, second and third smoothing processing circuits (smoothing circuits) 101, 102 and 103.
To the achromatic color determination circuit 107 and the hue determination lookup table (LUT) 108 after the visual characteristics are corrected by the first, second and third lookup tables (LUT) 104, 105 and 106. It The achromatic color determination circuit 107 calculates the difference between the maximum value and the minimum value of the R, G, B signals, and if the value is less than or equal to a predetermined threshold value, "1", and if the value is greater than or equal to the predetermined threshold value, the achromatic color determination is "0". A signal is output, and the achromatic color determination signal is output to the selector 112.
Entered in. 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 this tan (b
The / a) signal is input to the pattern generator 110 via the certified color discrimination 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 discriminated by the certified color discrimination circuit 109, that is, a signal which expresses by patterning each color by combining oblique lines and dotted lines, and the pattern signal is sent to the selector 112. Is entered. On the other hand, the G signal is the fourth lookup table (LU
T) 111 is input 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-mentioned conventional image processing apparatus, if the area of the smoothing processing is widened, black characters in chromatic colors are not judged as achromatic and black characters are not processed as characters. On the contrary, if the smoothing area is narrowed, there is a problem that rough color halftone dots cannot be converted into a uniform pattern image. Further, for example, a black character in a chromatic color as shown in FIG. 7 (a) is arranged in a pattern image as shown in FIG. 7 (b) even if it is determined to be an achromatic color, which makes it difficult to see. was there.

【0006】本発明は、上記従来の不具合を解消するた
めになされたもので、その目的は、有彩色中に黒文字等
の無彩色部が存在する画像に対し、有彩色部と黒文字等
の無彩色部とを2色の着色材で表現すると共に有彩色と
黒文字等との境界を明瞭にし、黒文字等を読み易く画像
処理することができる画像処理装置を提供することを目
的とする。
The present invention has been made in order to solve the above-mentioned conventional problems, and its object is to eliminate the chromatic color portion and the black character from an image having an achromatic color portion such as a black character in the chromatic color. It is an object of the present invention to provide an image processing device that can express a colored portion with two colors of coloring materials, make the boundary between a chromatic color and a black character clear, and perform image processing on the black character and the like in an easy-to-read manner.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
本発明は、入力された色分解信号に基づき、少なくとも
2色の着色材で画像を出力し得る画像処理装置におい
て、前記色分解信号を平滑化処理する平滑化処理手段
と、該平滑化処理手段により平滑化処理された前記色分
解信号の最大値と最小値との差分に基づき有彩色と無彩
色との判定を行なう第1判定手段と、該第1判定手段に
より判定された前記無彩色のうち白色を除く無彩色部を
第1の着色材で、有彩色部を第2の着色材でそれぞれ表
示すると共に前記有彩色部に関して該有彩色の色相角に
応じた所定のパターン化処理を行なう色相角処理手段と
を有することを特徴とする。
In order to achieve the above object, the present invention provides an image processing apparatus capable of outputting an image with coloring materials of at least two colors based on an input color separation signal. Smoothing processing means for performing a smoothing process, and first judging means for judging a chromatic color and an achromatic color based on the difference between the maximum value and the minimum value of the color separation signal smoothed by the smoothing processing means. Of the achromatic color determined by the first determination means, the achromatic color part excluding white is displayed by the first coloring material, and the chromatic color part is displayed by the second coloring material. And a hue angle processing means for performing a predetermined patterning process according to the hue angle of the chromatic color.

【0008】また、同目的を達成するため、請求項1の
構成要件に加え、前記平滑化処理手段は、前記色分解信
号に応じて平滑化処理の平滑化係数を変更する平滑化係
数変更手段を有し、前記第1判定手段により無彩色と判
定された該無彩色を白色であるか黒色であるかを判定す
る第2判定手段と、前記黒色部と有彩色部との境界及び
前記白色部と有彩色部との境界を認識する認識手段と、
前記黒色部と有彩色部との境界と前記白色部と有彩色部
との境界とを前記第1の着色材及び第2の着色材を用い
て異なる着色処理を行なう境界着色処理手段とを有する
ことが好ましい。
To achieve the same object, in addition to the constituent features of claim 1, the smoothing processing means changes the smoothing coefficient of the smoothing processing according to the color separation signal. Second determining means for determining whether the achromatic color determined to be achromatic by the first determining means is white or black, a boundary between the black portion and the chromatic color portion, and the white color. Recognition means for recognizing the boundary between the color part and the chromatic part,
Boundary coloring processing means for performing different coloring processing on the boundary between the black portion and the chromatic portion and the boundary between the white portion and the chromatic portion by using the first coloring material and the second coloring material. It is preferable.

【0009】[0009]

【作用】請求項1の発明の画像処理装置は、第1判定手
段により、平滑化処理手段により平滑化処理された色分
解信号の最大値と最小値との差分に基づき有彩色と無彩
色との判定を行ない、判定された無彩色のうち白色を除
く無彩色部を第1の着色材により表示し、有彩色部を第
2の着色材により表示すると共に、色相角処理手段によ
り該有彩色部の色相角に応じた所定のパターン化処理を
行なう。
According to the image processing apparatus of the present invention, the chromatic color and the achromatic color are determined based on the difference between the maximum value and the minimum value of the color separation signal smoothed by the smoothing processing means by the first judging means. Of the determined achromatic color, the achromatic color part excluding white is displayed by the first coloring material, the chromatic color part is displayed by the second coloring material, and the chromatic color is processed by the hue angle processing means. A predetermined patterning process is performed according to the hue angle of the part.

【0010】また、請求項2の画像処理装置は、請求項
1の発明に加え、平滑化処理手段は、前記色分解信号に
応じて平滑化処理の際に平滑化係数を変更する平滑化係
数変更手段を有する。そして、前記第1判定手段により
無彩色と判定された該無彩色が白色であるか黒色である
かを第2判定手段により判定し、更に、認識手段により
黒色部と有彩色部との境界及び白色部と有彩色部との境
界を認識し、前記第1の着色材及び第2着色材を用いて
境界着色処理手段により、黒色部と有彩色部との境界
と、白色部と有彩色部との境界とが異なるように着色処
理する。
According to the image processing apparatus of claim 2, in addition to the invention of claim 1, the smoothing processing means changes a smoothing coefficient in smoothing processing according to the color separation signal. It has a changing means. Then, the second determination means determines whether the achromatic color determined to be an achromatic color by the first determination means is white or black, and further, the recognition means determines a boundary between the black portion and the chromatic color portion. The boundary between the white part and the chromatic color part is recognized, and the boundary coloring processing means uses the first coloring material and the second coloring material to define the boundary between the black part and the chromatic color part, and the white part and the chromatic color part. Coloring is applied so that the boundary between and is different.

【0011】[0011]

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

【0012】〔第1実施例〕本実施例における画像処理
装置は、3原色信号であるR,G,B信号を読み取り、
白色部を除く無彩色部を黒色(第1)の着色材に、また
有彩色部を赤色(第2)の着色材により表現できる画像
に処理して出力することができる装置であり、図1は該
装置の制御回路構成を示すブロック回路図である。
[First Embodiment] An image processing apparatus according to the present embodiment reads R, G and B signals which are three primary color signals,
1 is a device capable of processing and outputting an achromatic color part excluding a white part to a black (first) colorant, and a chromatic color part to an image that can be expressed by a red (second) colorant. 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 the figure, reference numeral 1 is a luminance discriminating circuit for discriminating luminance, and reference numerals 2, 3 and 4 are first, second, and
Third smoothing circuits 5, 6, and 7 are first, second, and third correction circuits that correct the R, G, and B luminance signals smoothed by the first to third smoothing circuits 2 to 4 so as to match visual characteristics.
Third lookup table (LUT), 8 is R, G, B
An achromatic color determination circuit for determining an achromatic color from the difference between the maximum value and the minimum value of the signal, 9 is a hue determination lookup table (LUT) for determining an angle on the ab plane in the Lab coordinate space, 1
0 is a certified color discrimination circuit for discriminating which color is registered 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 a first 9 × 9 OR circuit that takes a logical sum within each region, and a first 3 × 3 OR circuit
Circuit and 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, 27 is a color discriminated by the certified color discrimination circuit 10. In the present embodiment, a pattern generator that generates a predetermined pattern signal colored with a red coloring material, 28 is a red solid pattern (red edge) signal, and 29 is a white pattern. Pattern generators that generate (white) signals respectively, 3
Reference numerals 0, 31, 32, 36 and 37 denote multipliers, and 33 denotes a fourth look-up 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 having the above-described configuration, which performs different coloring processing on the boundary between the black portion and the chromatic color portion and the boundary between the white portion and the chromatic color portion by using the coloring materials of two colors.

【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 the minimum value of the R, G, B signals and the difference between the maximum and minimum values of the R, G, B signals, and outputs a discrimination signal for discriminating the luminance. The R, G, B signals are first to
It is also input to the third smoothing circuits 2 to 4, respectively.
Then, in the first to third smoothing circuits 2 to 4, in the smoothing process based on the determination signal, the smoothing coefficient is changed, and when the circuit 1 determines that the brightness is dark,
For example, if it is determined that the image is not dark without performing the smoothing process, for example, the smoothing process with 5 × 5 pixels is performed. First
-Third lookup tables (LUT) 5-7 correct the smoothed R, G, B luminance signals so as to match the visual characteristics. The corrected R, G, B signals (hereinafter, referred to as “corrected RGB signals”) are achromatic color determination circuit 8.
And the hue determination LUT 9 are input. The achromatic color determination circuit 8 calculates the difference between the maximum value and the minimum value of the corrected RGB signal, and when the difference value is less than or equal to a predetermined threshold value, the achromatic color signal of “1” is output. 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. The authorized color determination circuit 10 determines which of the registered authorized colors is registered in advance based on the hue angle tan (b / a) signal. Further, the G signal is the second smoothing circuit 3 and the second LU.
A first comparator 11 and a second comparator 1 via T6, respectively.
Entered in 2. The first comparator 11 outputs a bright part determination signal of "1" when the G signal is equal to or more than a predetermined threshold value and "0" when the G signal is less than or equal to the predetermined threshold value. Is “1”, and is “0” when the threshold value is exceeded.
Is output. The AND circuit 13 takes the logical product of the bright part determination signal and the achromatic color determination signal,
Output the white judgment signal. Further, the AND circuit 14 calculates the logical product of the dark area determination signal and the achromatic color determination signal, and outputs a black determination signal. The black determination signal is input to the first 9 × 9 OR circuit 15 and the first 3 × 3 OR circuit 16, and the white determination signal is input to the 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 the black decision signal of all 9 × 9 = 81 pixels around the pixel of interest (hereinafter referred to as “pixel of interest”) for the pixel currently being processed. If there is a pixel for which the black determination signal is "1" even if one of them is ORed, the output signal of the first 9 × 9 OR circuit 15 becomes "1", and the black determination signals of all the pixels are "1". When it is “0”, the output signal of the first 9 × 9 OR circuit 15 is “0”. Similarly, the first 3 × 3 OR circuit 16
Is ORed with the black determination signals of all 3 × 3 = 9 pixels around the pixel of interest.

【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 × 9O
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 output signal of the XOR circuit 18 becomes “1” when there is no pixel determined to be black in the 3 × 3 pixel area around the target pixel and there is a pixel determined to be black in the 9 × 9 pixel area. That is, the output signal is "1" when the target pixel is separated from the pixel determined to be black by four pixels. In addition, the first 3 × 3 OR circuit 16
Is 1 from the pixel in which the pixel of interest is determined to be chromatic and black.
When the pixels are separated from each other, 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, the AND circuit 21 inputs the inverted signal of the achromatic color determination signal input via the NOT circuit 20 and the XO signal.
The logical product with the output signal of the R circuit 18 is calculated. That is, the output signal of the AND circuit 21 becomes "1" when the pixel of interest is chromatic and is separated from the pixel determined to be black by four pixels. Similarly, the output signal of the AND circuit 22 becomes "1" when the pixel of interest is one pixel away from the pixel which is determined to be chromatic and black.

【0020】そして、これらAND回路21及び22か
らの出力信号(境界判定信号)はXOR回路25及びO
R回路24にそれぞれ入力される。
The output signals (boundary determination signals) from the AND circuits 21 and 22 are XOR circuits 25 and O.
It is input to each 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に入力される。
Further, the second 3 × 3 OR circuit 17 takes a logical sum of the target pixel and the white determination signals of all 3 × 3 = 9 pixels around the target pixel, and even one of them determines the white. 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 The output signal of 17 becomes "0". In addition, the XOR circuit 1
The output signal 9 is "1" when the pixel of interest is one pixel away from the pixel determined to be white, that is, when it is adjacent to the pixel determined to be black. Further, the AND circuit 23 is
The logical product of the inverted signal of the achromatic color determination signal input via the OT circuit 20 and the output signal of the XOR circuit 19 is calculated. That is, the output signal of the AND circuit 23 becomes "1" when the pixel of interest is one pixel away from the pixel which is determined to be chromatic and white. The output signal (boundary determination signal) from the AND circuit 23 is input to the multiplier 31.

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

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

【0024】また、NAND回路26は、AND回路2
1の出力信号とAND回路23の出力信号との否定的論
理積をとって、その出力信号を乗算器30に出力する。
該乗算器30はNAND回路26の出力信号とパターン
発生器27からのパターン信号を乗算した信号を加算器
34に出力する。
Further, the NAND circuit 26 is the AND circuit 2
A negative logical product of the output signal of 1 and the output signal of the AND circuit 23 is calculated, 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 OR circuits 15 to 17 perform a logical sum, and the XOR circuits 18 and 19 perform an exclusive logical sum based on the output signals, so that there is a white portion around the target pixel or a black portion. Determine if there is. And
The logical product of the inversion signal of the achromatic color determination signal and the input signal of the AND circuits 21 to 23 is used to determine 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 into a density signal by the LUT 33. Further, the multiplier 36 selects the density signal when the achromatic color determination signal input via the OR circuit 24 is "1", and an image is displayed with a black (first) coloring material. The multiplier 36 outputs the density signal when the output signal of the AND circuit 22 input through the OR circuit 24 is “1”, that is, when there is a pixel adjacent to the chromatic color that is determined to be black. The border line between the chromatic color and the black portion is selected and displayed as an image with a thick line colored with a black coloring material.

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

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

【0029】また、図3(a)に示すように、赤色、黄
色、緑色の有彩色部の上に40%、30%、25%の黒
色文字がそれぞれ表示されているサンプルの場合には、
図3(b)に示すように、有彩色部をそれぞれの色相に
応じた赤色の着色材で着色した所定パターンに画像表示
すると共に、前記黒色文字部の背景が白抜きされ、黒色
文字が見易く画像表示される。
Further, as shown in FIG. 3A, in the case of a sample in which 40%, 30%, and 25% black characters are displayed on the chromatic portions of red, yellow, and green, respectively,
As shown in FIG. 3B, an image is displayed in a predetermined pattern in which the chromatic color portion is colored with a red coloring material corresponding to each hue, and the background of the black character portion is hollowed out so that the black character is easy to see. 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 the control circuit configuration of the image processing apparatus according to the 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 is a luminance discriminating device for discriminating luminance, and 52 to 54 are first to third portions for performing smoothing processing.
Smoothing circuits 55 to 57 are first to third look-up tables (LUTs) for correcting the R, G, and B signals smoothed by the first to third smoothing circuits 52 to 54 so as to match the visual characteristics. Reference numeral 58 is an achromatic color determination circuit that determines an achromatic color from the difference between the maximum value and the minimum value of the R, G, and B signals, and 59 is a hue determination lookup table (LUT) that determines an angle on the ab plane in the Lab coordinate space. Reference numeral 60 is a certified color discrimination circuit for discriminating which color is registered in advance, and 61 is a visually corrected LUT5.
First calculators for calculating visual brightness based on RGB signals of 5 to 57, 62 and 63 are first and second comparators, respectively.
Reference numerals 64, 65 and 79 to 84 are AND circuits, and 66 to 71 are logical sums in respective areas.
9 is the first and second 7 × 7 OR circuits, 67 and 70 are the first,
Second 5 × 5 OR circuit, 68 and 71 are first and second 3 ×
3OR circuits, 72 to 77 XOR circuits, 78 NOT circuits, 85 generates a pattern according to the color discriminated by the certified color discrimination 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 lookup table (LUT) that converts a luminance signal into a density signal, and 87 and 88 are ANDs.
The second and third calculators 89 to 91, which calculate the number of multiplications according to the degree of separation of the boundary between the chromatic color and the achromatic color, from the respective boundary position signals of the circuits 79 to 84, and the first to third calculators 89 to 91, respectively.
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 structure, the input R, G and B signals are input to the luminance discriminating circuit 51. The brightness determination circuit 51 calculates the minimum value of the R, G, B signals and the difference between the maximum value and the minimum value of the R, G, B signals, and outputs a determination signal for determining the brightness of the brightness. The R, G, B signals are simultaneously input to the first to third smoothing circuits 52 to 54, respectively. First to third
The smoothing circuits 52 to 54 change the smoothing coefficient in the smoothing process according to the determination result of the brightness determining circuit 51, and perform the smoothing process on the R, G, and B signals, respectively. The discrimination signal output by the luminance discrimination circuit 51 is used only for changing the smoothing coefficient, and does not affect other processing.

【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 the achromatic color determination circuit 58 and the hue determination lookup table (LUT) 59.

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

【0036】一方、色相判定LUT59は、補正RGB
信号により該信号に対応するLab座標空間のab平面
上の色相角tan(b/a)信号を出力する。認定色判
別回路60は色相角tan(b/a)信号の値から色相
を判断し、あらかじめ登録されているどの認定色に属す
るかを判別する。
On the other hand, the hue determination LUT 59 is a correction RGB
A hue angle tan (b / a) signal on the ab plane in the Lab coordinate space corresponding to the signal is output by the signal. The authorized color determination circuit 60 determines the hue from the value of the hue angle tan (b / a) signal, and determines which of the authorized colors registered in advance 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 according to the spectral characteristics of the human eye to produce 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 part determination signal which is “1” when the luminance signal is equal to or higher than a predetermined threshold value and “0” when the luminance signal is equal to or lower than the predetermined threshold value. A dark area determination signal that is "1" when it is "0" when it is equal to or more than a predetermined threshold value is output. The AND circuit 64 takes the logical product of the bright area determination signal and the achromatic color determination signal output by the achromatic color determination circuit 58, and outputs a white determination signal. The AND circuit 65 takes the logical product of the dark area determination signal and the achromatic color determination signal and outputs a black determination signal.
This black determination signal is sent to the first 7 × 7 OR circuit 66, the first 5
The 5 × 5 OR circuit 67 and the first 3 × 3 OR circuit 68, and the white determination signal is the second 7 × 7 OR circuit 69 and the second 5 × 5 OR circuit.
It is input to each of the 5OR circuit 70 and the second 3 × 3 OR circuit.

【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 logically sums the target pixel with the black determination signals of all 7 × 7 = 49 pixels around the target pixel, and even one of them has the black determination signal “ If there are 1 "pixels, the first 7x7
The output of the OR circuit 66 becomes "1", and when the black determination signals of all the pixels are "0", the output of the first 7x7 OR circuit 66 becomes "0". Similarly, the first 5 × 5 OR circuit 67
Is the logical sum of the black determination signals of all 5 × 5 = 25 pixels around the pixel of interest, and the first 3 × 3 OR circuit 68
Is ORed with the black determination signal for all 3 × 3 = 9 pixels around the pixel of interest.

【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”となる。
Then, the XOR circuit 72 uses 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 pixel of interest is separated from the pixel determined to be black by three pixels. Similarly, the XOR circuit 73 outputs “1” when the pixel of interest is separated from the pixel determined to be black by two pixels.
Therefore, the XOR circuit 74 becomes "1" when the pixel of interest is one pixel away from the pixel determined to be black, that is, when the pixel of interest is adjacent 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に入力される。
The AND circuit 79 is the NOT circuit 78.
An inversion signal of the achromatic color determination signal input via
The logical product is taken with the output signal of the OR circuit 72. In other words, the AND circuit 79 outputs "1" when the pixel of interest is chromatic and 3 pixels away from the pixel determined to be black. Similarly, the AND circuit 80 outputs "1" when the pixel of interest is chromatic and is two pixels away from the pixel determined to be black.
The ND circuit 81 outputs "1" when the pixel of interest is chromatic and is one pixel away from the pixel determined to be black. The outputs (boundary determination signals) from the AND circuits 79 to 81 are input to the second calculator 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 takes the logical sum of the target pixel and the white determination signals of all 7 × 7 = 49 pixels around the target pixel, and even one of them outputs the white determination signal. If there is a pixel that is "1", the second 7
The output of the x7 OR circuit 69 becomes "1", and when the white determination signals of all the pixels are "0", the second 7x7 OR circuit 6
The output of 9 becomes "0". Similarly, the second 5 × 5 OR circuit 70 performs logical OR with the white determination signals of all 5 × 5 = 25 pixels around the pixel of interest, and the second 3 × 3 OR circuit 71 rotates around the pixel of interest. The logical sum of 3 × 3 = 9 pixels and all white determination signals 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 is arranged around the target pixel 5
Only when there is no pixel determined to be white in the × 5 pixel area, but there is a pixel determined to be white in the 7 × 7 pixel area,
Outputs "1". That is, it becomes "1" when the pixel of interest is separated from the pixel determined to be white by three pixels. Similarly, the XOR circuit 76 becomes "1" when the pixel of interest is separated from the pixel determined to be white by 2 pixels, and XO
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 the pixel of interest is adjacent 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 the NOT circuit 78.
XOR with the inverted signal of the achromatic color determination signal input via
It is ORed with the output signal of the circuit 75. That is, the AND circuit 82 outputs "1" when the pixel of interest is chromatic and three pixels away from the pixel determined to be white. Similarly, the AND circuit 83 outputs "1" when the pixel of interest is chromatic and is two pixels away from the pixel determined to be white.
The D circuit 84 outputs "1" when the pixel of interest is chromatic and is one pixel away from the pixel determined to be white. Outputs (boundary determination signals) from the AND circuits 82 to 84 are input to the third computing unit 88.

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

【0045】第3演算器88は、前記無彩色判定信号の
反転信号が“0”のとき、即ち無彩色判定回路58によ
り注目画素が無彩色と判定されたときは、第2乗算器9
0及び第3乗算器91に対して出力信号“0”を送出す
る。また、前記無彩色判定信号の反転信号が“1”のと
き、即ち、注目画素が有彩色と判定されたときは、AN
D回路82〜84から送出された境界判定信号に応じた
信号を送出する。
The third computing unit 88, when the inverted signal of the achromatic color determination signal is "0", that is, when the achromatic color determination circuit 58 determines that the pixel of interest is an achromatic color, the second multiplier 9
The output signal “0” is sent to 0 and the 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を送出する。
Specifically, the third computing unit 88, based on the inverted signal of the achromatic color determination signal, AND circuits 82 to 84.
If all of the output signals of 0 are "0", it is not near the boundary, so the multiplication number 0 is set to the second multiplier 90 and the third multiplier 9
The multiplication number 1 is transmitted for 1. Further, the AND circuit 82
Is “1”, the multiplication number 0.25 for the second multiplier 90 and the multiplication number 0.7 for the third multiplier 91.
5 is sent out. If the output signal of the AND circuit 83 is “1”, the multiplication number for the second multiplier 90 is 0.5.
Is sent to the third multiplier 91.
Furthermore, if the output signal of the AND circuit 84 is "1",
The multiplication number 1 is sent to the second multiplier 90, and the multiplication number 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 second operator 2
The respective multiplication numbers sent to the multiplier 90 and the third multiplier 91 are stored in the fourth LU in the second and third multipliers 90 and 91.
Density signal and pattern generator 85 sent from T86
The predetermined pattern signals colored with the red coloring material sent from the respective are multiplied, and added by the second adder 93.

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

【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, the second computing unit 87 outputs the achromatic color determination circuit 58 when the inverted signal of the achromatic color determination signal is "0".
When it is determined that the pixel of interest is achromatic, 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 inversion signal of the achromatic color determination signal is "1", that is, when the pixel of interest is determined to be chromatic, a signal corresponding to the boundary determination signal transmitted from the AND circuits 79 to 81 is transmitted. 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 computing unit 87 is not near the boundary, and therefore the first multiplier 89. To the third multiplier 91 and the multiplication number 1 to the third multiplier 91. If the output signal of the AND circuit 79 is "1",
The multiplier 0.25 is sent to the first multiplier 89, and the multiplier 0.75 is sent to the third multiplier 91. Also, AND
If the output signal of the circuit 80 is “1”, the multiplication number 0.5 is sent to the first multiplier 89 and the multiplication number 0.5 is sent to the third multiplier 91. Furthermore, if the output signal of the AND circuit 81 is "1", the multiplication number 1
Is sent to the third multiplier 91. In this way, the respective multiplication numbers 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. And the red predetermined pattern signal sent from the pattern generator 85 are multiplied by
It is output by the adder 92 and the second adder 93. Accordingly, the boundary between the black component and the chromatic color component is similar to the above-described processing performed on the boundary between the white portion and the chromatic color component, and the hue colored with the red coloring material from the black portion ( It is processed so that it gradually changes to a predetermined pattern according to the chromatic color.

【0050】[0050]

【発明の効果】以上説明したように、本発明の請求項1
の発明の画像処理装置によれば、第1判定手段により、
平滑化処理手段により平滑化処理された色分解信号の最
大値と最小値との差分に基づき有彩色と無彩色との判定
を行ない、判定された無彩色のうち白色を除く無彩色部
を第1の着色材により表示し、有彩色部を第2の着色材
により表示すると共に、色相角処理手段により該有彩色
部の色相角に応じた所定のパターン化処理を行なうの
で、例えば文字情報と色情報とを異なる2色の着色材で
表現することが可能になる。また色情報も、例えば各色
相ごとにあらかじめ定められたパターン表示で画像表示
できる。
As described above, according to the first aspect of the present invention.
According to the image processing device of the invention of claim 1,
A chromatic color and an achromatic color are determined based on the difference between the maximum value and the minimum value of the color separation signal that has been smoothed by the smoothing processing means, and the achromatic color portion other than white of the determined achromatic color is determined as No. 1 colorant, the chromatic color part is displayed by the second colorant, and the hue angle processing means performs a predetermined patterning process according to the hue angle of the chromatic color part. It is possible to express the color information with two different color materials. Further, the color information can also be displayed as an image, for example, in a pattern display predetermined for each hue.

【0051】また、本発明の請求項2の発明の画像処理
装置によれば、請求項1の発明に加え、平滑化処理手段
は、前記色分解信号に応じて平滑化処理の際に平滑化係
数を変更する平滑化係数変更手段を有し、前記第1判定
手段により無彩色と判定された該無彩色が白色であるか
黒色であるかを第2判定手段により判定し、更に、認識
手段により黒色部と有彩色部との境界及び白色部と有彩
色部との境界を認識し、前記第1の着色材及び第2着色
材を用いて境界着色処理手段により、黒色部と有彩色部
との境界と、白色部と有彩色部との境界とが異なるよう
に着色処理するので、請求項1の発明における効果に加
え、カラー画像の有彩色部が粗いカラー網点であっても
その色相に応じた均一な所定のパターン表示が可能とな
る。
Further, according to the image processing apparatus of the invention of claim 2, in addition to the invention of claim 1, the smoothing processing means smoothes the smoothing processing in accordance with the color separation signal. The smoothing coefficient changing means for changing the coefficient is provided, and the second judging means judges whether the achromatic color judged as the achromatic color by the first judging means is white or black, and further the recognizing means. Recognizes the boundary between the black part and the chromatic color part and the boundary between the white part and the chromatic color part, and the boundary coloring processing means uses the first coloring material and the second coloring material to perform the black part and the chromatic color part. Since the coloring process is performed so that the boundary between the color image and the boundary between the white portion and the chromatic color portion are different, in addition to the effect of the invention of claim 1, even if the chromatic color portion of the color image is a coarse halftone dot, It is possible to display a uniform predetermined pattern according to the hue.

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

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

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

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

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

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

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

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

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

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

【図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 determination circuit (first determination means) 10,60 Certified color determination 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)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力された色分解信号に基づき、少なく
とも2色の着色材で画像を出力し得る画像処理装置にお
いて、 前記色分解信号を平滑化処理する平滑化処理手段と、該
平滑化処理手段により平滑化処理された前記色分解信号
の最大値と最小値との差分に基づき有彩色と無彩色との
判定を行なう第1判定手段と、該第1判定手段により判
定された前記無彩色のうち白色を除く無彩色部を第1の
着色材で、有彩色部を第2の着色材でそれぞれ表示する
と共に前記有彩色部に関して該有彩色の色相角に応じた
所定のパターン化処理を行なう色相角処理手段とを有す
ることを特徴とする画像処理装置。
1. An image processing apparatus capable of outputting an image with coloring materials of at least two colors based on an input color separation signal, a smoothing processing unit for smoothing the color separation signal, and the smoothing processing. First determination means for determining a chromatic color and an achromatic color based on the difference between the maximum value and the minimum value of the color separation signal smoothed by the means, and the achromatic color determined by the first determination means. The achromatic color part excluding white is displayed by the first coloring material and the chromatic color part is displayed by the second coloring material, and a predetermined patterning process according to the hue angle of the chromatic color is performed on the chromatic color part. An image processing apparatus comprising: a hue angle processing unit that performs the image processing.
【請求項2】 前記平滑化処理手段は、前記色分解信号
に応じて平滑化処理の平滑化係数を変更する平滑化係数
変更手段を有し、前記第1判定手段により無彩色と判定
された該無彩色を白色であるか黒色であるかを判定する
第2判定手段と、前記黒色部と有彩色部との境界及び前
記白色部と有彩色部との境界を認識する認識手段と、前
記黒色部と有彩色部との境界と前記白色部と有彩色部と
の境界とを前記第1の着色材及び第2の着色材を用いて
異なる着色処理を行なう境界着色処理手段とを有するこ
とを特徴とする請求項1記載の画像処理装置。
2. The smoothing processing means has smoothing coefficient changing means for changing the smoothing coefficient of the smoothing processing according to the color separation signal, and the first judging means judges that the color is achromatic. Second determining means for determining whether the achromatic color is white or black; recognizing means for recognizing a boundary between the black part and the chromatic color part and a boundary between the white part and the chromatic color part; Boundary coloring processing means for performing different coloring processing on the boundary between the black portion and the chromatic portion and the boundary between the white portion and the chromatic portion using the first coloring material and the second coloring material. The image processing apparatus according to claim 1, wherein:
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 true JPH06253161A (en) 1994-09-09
JP3105689B2 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
JP2008252698A (en) * 2007-03-30 2008-10-16 Canon Inc Image processing device and image processing method

Families Citing this family (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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008252698A (en) * 2007-03-30 2008-10-16 Canon Inc Image processing device and image processing method

Also Published As

Publication number Publication date
JP3105689B2 (en) 2000-11-06

Similar Documents

Publication Publication Date Title
US7227990B2 (en) Color image processing device and color image processing method
EP0441558B1 (en) Improvements relating to control data arrays
JP4902837B2 (en) How to convert to monochrome image
JPH06197216A (en) Texture soil eliminating method
JP2756280B2 (en) Color image processing equipment
CN101151883A (en) Image processing method, display image processing method, image processing device, and integrated circuit containing the image processing device
JP2008508768A (en) Maintaining the hue of saturation-controlled color images
US20010014175A1 (en) Method for rapid color keying of color video images using individual color component look-up-tables
JP3449860B2 (en) Image sharpness processing device
JPH1169156A (en) Image processor
JPH0983824A (en) Color correction method
JPH0723245A (en) Picture processing unit
JPH0832827A (en) Gradation correction divice for digital image
JPH09200554A (en) Image processor
JP3105689B2 (en) Image processing apparatus and method
JPH07152904A (en) Image processor
JP2000358166A (en) Image process, image reader with the processor, image forming device, image processing method and computer readable storage medium storing image processing procedure
JP2848558B2 (en) Color image processing equipment
JPH07177366A (en) Color image processor
JPH1042152A (en) Picture processor and picture processing method
JP2000357237A (en) Image processor, image reading device and image forming device mounted with the processor, image processing method, and computer-readable storage medium stored with image processing procedure
JP3262835B2 (en) Image discriminating apparatus and method
JP2002057912A (en) Image processor and image forming device provided with it
JP2004343216A (en) Image processing apparatus and image processing method
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them

Legal Events

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