JPH05244420A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH05244420A
JPH05244420A JP4078930A JP7893092A JPH05244420A JP H05244420 A JPH05244420 A JP H05244420A JP 4078930 A JP4078930 A JP 4078930A JP 7893092 A JP7893092 A JP 7893092A JP H05244420 A JPH05244420 A JP H05244420A
Authority
JP
Japan
Prior art keywords
data
level
color
detecting
level difference
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
JP4078930A
Other languages
Japanese (ja)
Other versions
JP3291015B2 (en
Inventor
Shinji Yamakawa
慎二 山川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP07893092A priority Critical patent/JP3291015B2/en
Publication of JPH05244420A publication Critical patent/JPH05244420A/en
Application granted granted Critical
Publication of JP3291015B2 publication Critical patent/JP3291015B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To realize an excellent picture processing by preventing a color balance around a threshold level from being unbalanced. CONSTITUTION:A white level discriminator 814 outputs an 'H' level when other color exceeds threshold level data 804 while defining a minimum level among R, G, B colors as a reference level in the case the discriminator 814 is in the level other than 'L' and the discriminator outputs an L level when the level is the threshold level data 804 or below. That is, a white level point at the time of binarization can be set in threshold level data 801-803, and the binarization is implemented with a level difference between the threshold level data 804 and the minimum value, then the binarization is implemented without black level processing from a low density region to a high density region. Furthermore, color slippage hardly takes place.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は,複写機等の画像処理装
置に関し,特に,R(レッド),G(グリーン),B
(ブルー),或いは,Y(イエロー),M(マゼン
タ),C(シアン)及び(或いは)K(グレー)の如く
色毎に独立しているデータを2値化する画像処理装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus such as a copying machine, and more particularly to R (red), G (green) and B.
The present invention relates to an image processing apparatus that binarizes data that is independent for each color, such as (blue), Y (yellow), M (magenta), C (cyan), and / or K (gray).

【0002】[0002]

【従来の技術】本発明に関連する従来技術として,特開
平2−132963号公報に開示されている「画像処理
装置」がある。この技術にあっては,UCR回路による
処理後,Y(イエロー),M(マゼンタ),C(シア
ン),BK (グレー)の各々が独立して2値化される回
路を用いているので,低濃度部から高濃度部まで7色に
分けることができる。
2. Description of the Related Art As a conventional technique related to the present invention, there is an "image processing device" disclosed in Japanese Patent Laid-Open No. 2-132963. This technique uses a circuit in which Y (yellow), M (magenta), C (cyan), and B K (gray) are independently binarized after processing by the UCR circuit. , It can be divided into 7 colors from low density part to high density part.

【0003】[0003]

【発明が解決しようとする課題】しかしながら,上記に
示した画像処理装置にあっては,低濃度部から高濃度部
まで7色に分けることができる反面,各色が各々独立し
て2値化されるため,閾値周辺部分では色バランスが崩
れ,良好な画像処理が実現できないという問題点があっ
た。
However, in the image processing apparatus described above, it is possible to divide into seven colors from the low density portion to the high density portion, but on the other hand, each color is independently binarized. Therefore, there is a problem in that the color balance is lost in the area around the threshold value, and good image processing cannot be realized.

【0004】上記の問題点を図17〜図22を用いて更
に詳細に説明する。上記の従来における画像処理にあっ
ては,R(レッド),G(グリーン),B(ブルー),
或いは,Y(イエロー),M(マゼンタ),C(シア
ン)及び(或いは)K(グレー)の色データを2値化す
る際には,各色独立に固定された閾値を用いている。
The above problem will be described in more detail with reference to FIGS. In the above conventional image processing, R (red), G (green), B (blue),
Alternatively, when binarizing the color data of Y (yellow), M (magenta), C (cyan), and / or K (gray), threshold values fixed independently for each color are used.

【0005】図17は,原稿がK(グレー)の濃度をR
(レッド),G(グリーン),B(ブルー)の色レベル
にした場合を示すグラフであり,図18は,原稿がR
(レッド)の濃度をR(レッド),G(グリーン),B
(ブルー)の色レベルにした場合を示すグラフであり,
図19は,原稿がR(レッド)の濃度をR(レッド),
G(グリーン),B(ブルー)の色レベルにした場合を
示すグラフであり,図20は,原稿がC(シアン)の濃
度をR(レッド),G(グリーン),B(ブルー)の色
レベルにした場合を示すグラフであり,図21は,原稿
がC(シアン)の濃度をR(レッド),G(グリー
ン),B(ブルー)の色レベルにした場合を示すグラフ
であり,図22は,原稿がR(レッド)の濃度をR(レ
ッド),G(グリーン),B(ブルー)の色レベルにし
た場合を示すグラフである。また,その他の色もR,
G,Bのバランスを変化させることによってG,B,
M,Yも表現することができる。
In FIG. 17, the density of a document is K (gray) is R.
FIG. 18 is a graph showing the case where the color levels are (red), G (green), and B (blue), and FIG.
The concentration of (red) is R (red), G (green), B
It is a graph showing a case where the color level is set to (blue),
In FIG. 19, the manuscript has the density of R (red) as R (red),
FIG. 20 is a graph showing the case where the color levels are G (green) and B (blue). FIG. 20 shows the original density of C (cyan) of R (red), G (green), and B (blue). FIG. 21 is a graph showing a case where the level is set, and FIG. 21 is a graph showing a case where the density of C (cyan) of the document is set to R (red), G (green), and B (blue) color levels. 22 is a graph showing the case where the original has the R (red) density set to the R (red), G (green), and B (blue) color levels. Also, other colors are R,
By changing the balance of G, B, G, B,
M and Y can also be expressed.

【0006】ここで,図17において,グレーにて表現
されている色を2値化する際の閾値を原稿濃度を用いて
実行すれば,所定の色レベルを決めることにより,ある
原稿濃度以上で黒,それ以下で白というように2値化す
ることができるが,上記閾値の周辺におけるR,G,B
のバランスが僅かにずれるだけで色ずれが発生する。例
えば,閾値が256階調中の128のとき,R=12
9,G=127,B=127のとき,中間調表現のグレ
ーであるが,2値化すると赤になる。
Here, in FIG. 17, if the threshold value for binarizing the color expressed in gray is executed by using the document density, by determining a predetermined color level, it is possible to obtain a value over a certain document density. It can be binarized such as black and white below, but R, G, B around the above threshold
A slight misalignment in the balance causes color misregistration. For example, when the threshold is 128 of 256 gradations, R = 12
When 9, G = 127 and B = 127, the gray is a halftone expression, but it becomes red when binarized.

【0007】次に,図18を用いて説明する。この場合
にも閾値周辺では,同様に色ずれが起こる。また,閾値
を色レベルのb’yとbyの間に設定すると,原稿濃度
bxでは赤になるが,axでは白くなる。逆に,閾値の
色レベルをa’yとayの間に設定すると,原稿濃度a
xでは赤になるが,bxでは黒くなる。このax,bx
も中間調表現では赤っぽいにもかかわらず,この場合に
あっては黒くなってしまう(この現象を以下,黒色化と
いう)。
Next, description will be made with reference to FIG. In this case as well, color shift similarly occurs around the threshold value. When the threshold value is set between the color levels b′y and by, the original density bx is red, but the ax is white. Conversely, if the threshold color level is set between a'y and ay, the document density a
Red at x, but black at bx. This ax, bx
Even though the halftone expression is reddish, it turns black in this case (this phenomenon is called blackening).

【0008】上記の如き,黒色化を回避するためには,
赤っぽく見える部分も白色で表現できるようにすればよ
いが,そうすると濃度設定範囲が狭くなってしまうとい
う問題点があった。
As described above, in order to avoid blackening,
It would be better to be able to express the reddish part in white, but then there was the problem that the density setting range would be narrowed.

【0009】本発明は上記に鑑みてなされたものであっ
て,閾値周辺部分での色バランスの崩れを回避し,良好
な画像処理を実現することを目的とする。
The present invention has been made in view of the above, and it is an object of the present invention to prevent the color balance from being lost in the peripheral portion of the threshold value and to realize good image processing.

【0010】[0010]

【課題を解決するための手段】本発明は,上記の目的を
達成するために,R(レッド),G(グリーン),B
(ブルー),或いは,Y(イエロー),M(マゼン
タ),C(シアン)及び(或いは)K(グレー)の如く
色毎に独立しているデータを2値化する画像処理装置に
おいて,多値データを入力する多値データ入力手段と,
データを出力するデータ出力手段と,データの白レベル
を検出する白レベル検出手段と,各色のレベル差を検出
するレベル差検出手段と,前記レベル差検出手段により
得たデータと,所定の閾値に基づいて2値化を行う2値
化手段とを具備する画像処理装置を提供するものであ
る。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides R (red), G (green), B
(Blue), or Y (yellow), M (magenta), C (cyan), and / or K (gray). Multi-valued data input means for inputting data,
Data output means for outputting data, white level detecting means for detecting the white level of the data, level difference detecting means for detecting the level difference of each color, data obtained by the level difference detecting means, and a predetermined threshold value. The present invention provides an image processing apparatus including a binarizing unit that performs binarization based on the image processing apparatus.

【0011】また,前記2値化手段は最大値との差を基
準とすることが望ましい。
Further, it is desirable that the binarizing means be based on the difference from the maximum value.

【0012】また,前記2値化手段は最小値との差を基
準とすることが望ましい。
Further, it is desirable that the binarizing means be based on the difference from the minimum value.

【0013】また,R(レッド),G(グリーン),B
(ブルー),或いは,Y(イエロー),M(マゼン
タ),C(シアン)及び(或いは)K(グレー)の如く
色毎に独立しているデータを2値化する画像処理装置に
おいて,多値データを入力する多値データ入力手段と,
データを出力するデータ出力手段と,データの白レベル
を検出する白レベル検出手段と,各色のレベル差を検出
するレベル差検出手段と,前記レベル差検出手段により
最大値と最小値を判別して,それ以外のデータをどちら
か一方の近い方のデータと同一に2値化を行う2値化手
段とを具備する画像処理装置を提供するものである。
Further, R (red), G (green), B
(Blue), or Y (yellow), M (magenta), C (cyan), and / or K (gray). Multi-valued data input means for inputting data,
A data output means for outputting data, a white level detecting means for detecting a white level of the data, a level difference detecting means for detecting a level difference of each color, and a maximum value and a minimum value are discriminated by the level difference detecting means. The present invention provides an image processing apparatus including a binarizing unit that binarizes the other data in the same manner as either one of the closer data.

【0014】また,R(レッド),G(グリーン),B
(ブルー),或いは,Y(イエロー),M(マゼン
タ),C(シアン)及び(或いは)K(グレー)の如く
色毎に独立しているデータを2値化する画像処理装置に
おいて,多値データを入力する多値データ入力手段と,
データを出力するデータ出力手段と,データの白レベル
を検出する白レベル検出手段と,各色のレベル差を検出
するレベル差検出手段と,入力データを所定の条件に応
じて選択する選択手段と,前記選択手段からの出力に応
じて閾値を算出する閾値算出手段と,前記レベル差検出
手段により得たデータと前記閾値算出手段により得た閾
値に基づいて2値化を行う2値化手段とを具備する画像
処理装置を提供するものである。
Further, R (red), G (green), B
(Blue), or Y (yellow), M (magenta), C (cyan), and (or) K (gray). Multi-valued data input means for inputting data,
A data output means for outputting data, a white level detecting means for detecting a white level of the data, a level difference detecting means for detecting a level difference of each color, and a selecting means for selecting input data according to a predetermined condition, Threshold calculation means for calculating a threshold in accordance with the output from the selection means, and binarization means for performing binarization based on the data obtained by the level difference detection means and the threshold obtained by the threshold calculation means. An image processing apparatus provided is provided.

【0015】また,R(レッド),G(グリーン),B
(ブルー),或いは,Y(イエロー),M(マゼン
タ),C(シアン)及び(或いは)K(グレー)の如く
色毎に独立しているデータを2値化する画像処理装置に
おいて,多値データを入力する多値データ入力手段と,
データを出力するデータ出力手段と,データの白レベル
を検出する白レベル検出手段と,各色のレベル差を検出
するレベル差検出手段と,前記レベル差検出手段により
検出されたレベル差に基づいて色のレベル順を判定する
判定手段と,前記判定手段において前記レベル差検出手
段により検出されたレベル差データと比較する閾値を切
り換えて2値化を行う2値化手段とを具備する画像処理
装置を提供するものである。
Further, R (red), G (green), B
(Blue), or Y (yellow), M (magenta), C (cyan), and / or K (gray). Multi-valued data input means for inputting data,
Data output means for outputting data, white level detection means for detecting the white level of the data, level difference detection means for detecting the level difference of each color, and color based on the level difference detected by the level difference detection means. And an image processing apparatus including a binarizing unit for binarizing by switching a threshold value to be compared with the level difference data detected by the level difference detecting unit in the determining unit. Is provided.

【0016】また,R(レッド),G(グリーン),B
(ブルー),或いは,Y(イエロー),M(マゼン
タ),C(シアン)及び(或いは)K(グレー)の如く
色毎に独立しているデータを2値化する画像処理装置に
おいて,多値データを入力する多値データ入力手段と,
データを出力するデータ出力手段と,データの白レベル
を検出する白レベル検出手段と,各色のレベル差を検出
するレベル差検出手段と,前記レベル差検出手段により
検出されたレベル差に基づいて色のレベル順を判定する
判定手段と,前記判定手段において前記レベル差検出手
段により検出されたレベル差データを2値化する2値化
手段を選択する選択手段とを具備する画像処理装置を提
供するものである。
Further, R (red), G (green), B
(Blue), or Y (yellow), M (magenta), C (cyan), and / or K (gray). Multi-valued data input means for inputting data,
Data output means for outputting data, white level detection means for detecting the white level of the data, level difference detection means for detecting the level difference of each color, and color based on the level difference detected by the level difference detection means. There is provided an image processing apparatus comprising: a determining unit that determines the level order of 1) and a selecting unit that selects a binarizing unit that binarizes the level difference data detected by the level difference detecting unit in the determining unit. It is a thing.

【0017】[0017]

【作用】本発明による画像処理装置は,どのレベルから
色(白色以外)を付けるかの白レベル検出手段と,各色
のレベル差を検出して一定の閾値によって2値化手段と
により黒色化をなくし,色ずれを少なくする。また,上
記一定の閾値を最大値或いは最小値とする。
In the image processing apparatus according to the present invention, blackening is performed by the white level detecting means for determining the level (color other than white) from which the color is added and the binarizing means by detecting the level difference between the colors. Eliminate color misregistration. In addition, the above-mentioned fixed threshold value is set to the maximum value or the minimum value.

【0018】また,どのレベルから色(白色以外)を付
けるかの白レベル検出手段と,各色のレベル差を検出し
て,最大値と最小値を検出する手段とにより,中間値に
対して最大値,最小値のどちらか近い方と同一とし,2
値化手段により黒色化をなくし色ずれを少なくする。
Further, the white level detecting means for determining from which level a color (other than white) is to be added, and the means for detecting the maximum value and the minimum value by detecting the level difference of each color, the maximum value with respect to the intermediate value is obtained. Value or minimum value, whichever is the closest, 2
The quantizing means eliminates blackening and reduces color misregistration.

【0019】また,ある色データにより閾値を変動させ
て2値データが黒くなるのを防止する。
Further, the threshold value is changed according to certain color data to prevent the binary data from becoming black.

【0020】また,2値化処理する際に,視覚感度を一
致させるために閾値データを色のレベル順に応じて変化
させる。
When performing the binarization process, the threshold data is changed in accordance with the color level order in order to match the visual sensitivities.

【0021】また,2値化処理する際に,視覚感度と一
致させるために複数の処理を色レベル順に応じて選択す
る。
In the binarization process, a plurality of processes are selected according to the color level order so as to match the visual sensitivity.

【0022】[0022]

【実施例】以下,本発明の一実施例を添付図面を参照し
て説明する。図1は,本発明による画像処理装置の概略
構成を示すブロック図である。図1において,原稿を走
査し,該原稿情報をデジタルデータとして読み取る画像
読み取り部101と,画像読み取り部101により読み
取った画像データに対し所定の処理,加工を実行する画
像処理部102と,画像処理部102から出力された画
像データを記録する画像記録部103とから構成されて
いる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram showing a schematic configuration of an image processing apparatus according to the present invention. In FIG. 1, an image reading unit 101 that scans a document and reads the document information as digital data, an image processing unit 102 that performs predetermined processing and processing on the image data read by the image reading unit 101, and image processing The image recording unit 103 records the image data output from the unit 102.

【0023】上記画像処理部102においては,例え
ば,主走査変倍処理,ミラー処理,影付け処理,モザイ
ク処理,フィルタ処理,γ補正処理,R,G,B→Y,
M,C,K変換処理,中間調処理等が読み取り画像に対
して実行される。
In the image processing unit 102, for example, main scanning scaling processing, mirror processing, shadowing processing, mosaic processing, filter processing, γ correction processing, R, G, B → Y,
M, C, K conversion processing, halftone processing, etc. are executed on the read image.

【0024】図2は,上記画像処理部102の詳細な構
成を示すブロック図であり,画像処理部102は,2値
化部201と,変換データ算出部202と,遅延回路部
203と,変換データ選択部204とから構成されてい
る。以下,画像処理部102にて実行される影付け処
理,2値化処理を順次説明する。
FIG. 2 is a block diagram showing a detailed configuration of the image processing unit 102. The image processing unit 102 includes a binarization unit 201, a conversion data calculation unit 202, a delay circuit unit 203, and a conversion circuit 203. The data selection unit 204 is included. Hereinafter, the shadowing processing and the binarization processing executed by the image processing unit 102 will be sequentially described.

【0025】画像データRin,Gin,Bin(多値)は,
遅延回路部203と2値化部201に入力される。画像
データRin,Gin,Binは2値化部201おいてR,
G,Bに各々2値化され,変換データ算出部202に入
力され,判定結果を変換データ選択部204へ出力す
る。遅延回路部203では,2値化部201,変換デー
タ算出部202での画像の遅延を調整する。
The image data R in , G in , B in (multi-valued) are
It is input to the delay circuit unit 203 and the binarization unit 201. The image data R in , G in , and B in are R,
Each of G and B is binarized, input to the conversion data calculation unit 202, and the determination result is output to the conversion data selection unit 204. The delay circuit unit 203 adjusts the image delay in the binarization unit 201 and the conversion data calculation unit 202.

【0026】上記2値化部201では,図5に示すよう
に画像データRinと閾値502を比較器501にて比較
し,画像データRinが閾値502を超える場合に“H”
(2値データR)を出力するような構成を採用してい
る。また,図5では,Rを例にとって説明しているが,
G,Bも同様である。ここで,2値化されたR,G,B
データは上記の如く変換データ算出部202へ出力され
る。
In the binarization unit 201, the image data R in and the threshold value 502 are compared by the comparator 501 as shown in FIG. 5, and when the image data R in exceeds the threshold value 502, “H” is given.
The configuration that outputs (binary data R) is adopted. In addition, in FIG. 5, although R is described as an example,
The same applies to G and B. Here, binarized R, G, B
The data is output to the conversion data calculation unit 202 as described above.

【0027】上記変換データ算出部202の例として図
3を用い,2値化処理,影付け処理を説明する。2値化
処理は領域信号1が“H”のとき,MODE0が“H”
となり,2値化処理という信号を出力する。このとき,
2値化データR,G,Bは各々DR,DG,DBとして
出力される。次に,2値データR,G,Bを影処理部3
01に入力して影付け処理が行われる。この,影付け処
理を行うときは影処理部301の出力Rは“H”を出力
する。また,KDR,KDG,KDBは影の色情報とし
て出力される。領域信号2が“H”で,影処理部301
の出力が“H”のときは,MODE1と“H”を出力す
る。ここで,上記領域信号1,2は領域信号発生部(図
示せず)により制御され,図11の表に示すような機能
を有する。
The binarization process and the shadowing process will be described with reference to FIG. 3 as an example of the conversion data calculation unit 202. In the binarization process, when the region signal 1 is "H", the MODE0 is "H"
And outputs a signal called binarization processing. At this time,
The binarized data R, G, B are output as DR, DG, DB, respectively. Next, the binary data R, G, B are processed by the shadow processing unit 3
Inputting 01, the shadowing process is performed. When performing the shadowing process, the output R of the shadow processing unit 301 outputs "H". Further, KDR, KDG, and KDB are output as shadow color information. When the area signal 2 is “H”, the shadow processing unit 301
When the output of is "H", MODE1 and "H" are output. Here, the area signals 1 and 2 are controlled by an area signal generator (not shown) and have the functions shown in the table of FIG.

【0028】次に,影付け処理を詳細に説明する。図3
に示した影処理部301の構成を図6に示し,影処理部
301はラインメモリ601〜603を有し,2値デー
タR,2値データG,2値データBを入力してKDR,
KDG,KDB及び影データを出力する。
Next, the shadowing process will be described in detail. Figure 3
The configuration of the shadow processing unit 301 shown in FIG. 6 is shown in FIG. 6. The shadow processing unit 301 has line memories 601 to 603, and inputs binary data R, binary data G, and binary data B to KDR,
Outputs KDG, KDB and shadow data.

【0029】図7は,上記ラインメモリ601〜603
の構成を示し,レジスタ701,702及び記憶素子7
03とから構成されている。ここでは,1ライン分のデ
ータを蓄える。そして,その1出力はレジスタ701,
702により1画素分遅延させて,また,データ入力を
繰り返すことにより,2値データに対して45度の移動
を実行する。
FIG. 7 shows the above line memories 601 to 603.
Showing the configuration of the registers 701 and 702 and the storage element 7
It is composed of 03 and. Here, data for one line is stored. And the one output is the register 701,
By delaying one pixel by 702 and repeating the data input, the movement of 45 degrees is executed for the binary data.

【0030】影付け処理は,2値データR,G,Bがす
べて“H”(白を意味する)であり,ラインメモリ60
1〜603からの出力(移動データ)のどこかが“L”
(白以外を意味する)のときに影付け処理を実行する。
影処理部301からの出力であるKDR,KDG,KD
Bが各々色情報を出力する。
In the shadowing process, the binary data R, G and B are all "H" (meaning white), and the line memory 60
Somewhere in the output (movement data) from 1 to 603 is "L"
When it means (other than white), the shadowing process is executed.
Outputs from the shadow processing unit 301 are KDR, KDG, KD
B outputs color information.

【0031】図4は,変換データ選択部204の構成に
おけるRの例を示し,401は色データ1,402は色
データ2,403は色データ3,404は色データ4,
405〜407は各々選択回路である。但し,Gの場合
にあっては図中のRinがGinに,Rout がGout に,K
DRがKDGに,DRがDGに置き変わる。また,Bの
場合にあっては図中のRinがBinに,Rout がB
out に,KDRがKDBに,DRがDBに各々置き変わ
る。
FIG. 4 shows an example of R in the configuration of the conversion data selection unit 204, where 401 is color data 1, 402 is color data 2, 403 is color data 3, 404 is color data 4, and so on.
Reference numerals 405 to 407 are selection circuits. However, in the case of G, R in is G in , R out is G out , and K in the figure.
DR replaces KDG and DR replaces DG. In the case of B, R in is B in and R out is B in the figure.
Out , KDR is replaced with KDB, and DR is replaced with DB.

【0032】また,MODE0=H,MODE1=Lの
とき,且つ,DR=Hのとき,色データ4(高濃度デー
タ)が出力され,DRがLのとき,色データ3(低濃度
データ)が出力される。このことによって,2値化され
たR,G,Bデータにより,R,G,B,Y,M,C,
K の7色を表現することができる。
When MODE0 = H, MODE1 = L and DR = H, color data 4 (high density data) is output, and when DR is L, color data 3 (low density data) is output. Is output. As a result, R, G, B, Y, M, C, and
7 colors of B K can be expressed.

【0033】また,MODE0=L,MODE1=Hの
とき,且つ,KDR=Hのとき,色データ2(高濃度デ
ータ)が出力され,DRがLのとき,色データ1(中間
濃度データ)が出力される。このことによって,影付け
処理はR,G,Bデータにより,各々薄いR,G,B,
Y,M,C,BK の7色を表現することができる。
When MODE0 = L, MODE1 = H and KDR = H, color data 2 (high density data) is output, and when DR is L, color data 1 (intermediate density data) is output. Is output. As a result, the shadowing process is performed using the R, G, B data, and the thin R, G, B, respectively.
7 colors of Y, M, C and B K can be expressed.

【0034】また,MODE0=H,MODE1=Hの
ときは,MODE0=L,MODE1=Hの場合と同様
となる。MODE0=L,MODE1=Lのときは,通
常の画像データRを出力する。ここで,色データ1〜色
データ4401〜404には,任意の多値データを設定
すればよい。
Further, when MODE0 = H and MODE1 = H, it is the same as when MODE0 = L and MODE1 = H. When MODE0 = L and MODE1 = L, normal image data R is output. Here, arbitrary multivalued data may be set to the color data 1 to the color data 4401 to 404.

【0035】図5に示した2値化部201を,更に詳細
に図8を用いて説明する。図8において,801〜80
3は白レベル検出用のR,G,Bの閾値データ,804
は色データ間のレベル差検出用の閾値データ,805〜
807は減算器であり,|A−B|を出力するA−B端
子と,符号(+,−)を出力するF端子を備えている。
808〜813は比較器であり,P>Qのとき“H”を
出力する。814は白レベル判定器であり,白のとき
“H”を出力する。815は2値化部201全体を制御
する制御部(マイクロプロセッサ),816は選択回路
である。
The binarization unit 201 shown in FIG. 5 will be described in more detail with reference to FIG. In FIG. 8, 801 to 80
3 is threshold data of R, G, B for white level detection, 804
Is threshold data for detecting a level difference between color data, 805-
Reference numeral 807 denotes a subtracter, which has an AB terminal for outputting | AB | and an F terminal for outputting a sign (+, −).
Reference numerals 808 to 813 denote comparators, which output "H" when P> Q. Reference numeral 814 is a white level judging device, which outputs "H" when it is white. Reference numeral 815 is a control unit (microprocessor) that controls the entire binarization unit 201, and 816 is a selection circuit.

【0036】次に,制御部815のMAXをLにして,
最小値を基準にする方法を説明する。画像データR,
G,Bは比較器808〜810に入力され,出力結果を
白レベル判定器814へ出力する。白レベル判定器81
4では入力データがすべて“H”のときに“H”を出力
する(R,G,Bデータがすべて高濃度状態であり,白
を意味する)。
Next, MAX of the control unit 815 is set to L,
A method based on the minimum value will be described. Image data R,
G and B are input to the comparators 808 to 810, and the output result is output to the white level determination unit 814. White level determiner 81
In No. 4, when the input data are all "H", "H" is output (the R, G, B data are all in a high density state, which means white).

【0037】また,画像データは減算器805〜807
において,R−G,G−B,B−Rの計算を行い,A−
B端子から絶対値を出力する。また,F端子からは計算
結果である+,−の符号が出力される。更に,0は+で
も−でもかまわないが,ここでは+とする。
Further, the image data is subtracted from the subtracters 805 to 807.
At, the calculation of R-G, G-B, and B-R is performed, and A-
The absolute value is output from the B terminal. Also, the + and-signs, which are the calculation results, are output from the F terminal. Further, 0 may be + or-, but here it is +.

【0038】比較器811〜813では閾値データ10
4と,R,G,B各々の差とを比較して閾値より大きけ
れば“H”を出力する。制御部815は減算器805〜
807により図12の表に示すように,その大小関係を
決定してMR,MG,MBの各々の色が最小値のときの
み“L”となる。例えば,図12の表に示した表のN
o.1の場合のようにBが最小値のときは,MB=
“L”となり,その他は“H”となる。SR,SG,S
Bは,RG,GB,BRをそのまま出力する。
In the comparators 811 to 813, the threshold data 10
4 is compared with the difference between R, G, and B, and if the difference is larger than the threshold value, "H" is output. The control unit 815 uses the subtractors 805 to 805.
As shown in the table of FIG. 12, the magnitude relation is determined by 807, and becomes "L" only when each color of MR, MG, and MB has the minimum value. For example, N in the table shown in the table of FIG.
o. When B is the minimum value as in the case of 1, MB =
It becomes "L" and the other becomes "H". SR, SG, S
B outputs RG, GB and BR as they are.

【0039】選択回路816の入力にあっては,比較器
811〜813の最小値以外のデータは,そのまま入力
され,最小値のデータのみANDゲートにより“L”と
なる。選択回路816では,SK,SG,SBの入力に
より図12の表に示すように出力R,G,Bは,RG,
GB,BRの中から選択される。選択回路816の出力
は白レベル判定器814の出力とORをとり出力され
る。即ち,2値データR,G,Bは,白のとき,白レベ
ル判定器814が“H”(白)を出力することによりす
べて“H”となり,白として出力される。
At the input of the selection circuit 816, the data other than the minimum value of the comparators 811 to 813 is input as it is, and only the data of the minimum value becomes "L" by the AND gate. In the selection circuit 816, the outputs R, G, B are changed to RG, by the inputs of SK, SG, SB, as shown in the table of FIG.
It is selected from GB and BR. The output of the selection circuit 816 is ORed with the output of the white level determiner 814 and output. That is, the binary data R, G, B are all "H" when the white level determiner 814 outputs "H" (white) when they are white, and are output as white.

【0040】また,白レベル判定器814が“L”以外
のときはR,G,Bのうち,最小値を基準として,その
他の色が閾値データ804を超えると“H”を出力し,
閾値データ804以下ならば“L”を出力する。即ち,
閾値データ801〜803において,2値化時における
白レベルポイントが設定可能で,且つ,閾値データ80
4において,最小値とのレベル差によって2値化を行う
ことが可能となり,低濃度領域から高濃度領域まで黒色
化なしに2値化を行うことができる。また,色ずれが発
生しにくくなる。
When the white level determiner 814 is other than "L", the minimum value of R, G, B is used as a reference, and "H" is output when the other colors exceed the threshold data 804,
If the threshold data 804 or less, "L" is output. That is,
In the threshold data 801 to 803, the white level point at the time of binarization can be set, and the threshold data 80
4, it is possible to perform binarization by the level difference from the minimum value, and it is possible to perform binarization from the low density region to the high density region without blackening. In addition, color shift is less likely to occur.

【0041】次に,制御部815のMAXを“H”にし
て最大値を基準にする方法を説明する。説明上,上記と
異なる部分である制御部815と,選択回路816に関
連する部分のみ説明する。制御部815は減算器805
〜807の符号により図12の表に示すように大小関係
を決定してMR,MG,MBの各々の色が最大値のとき
のみ“L”となる。例えば,図12の表に示したNo.
2のときのようにRが最大値のときはMR=Lとなり,
その他は“H”となる。また,SR,SG,SBはR
G,GB,BRをそのまま出力する。
Next, a method of setting MAX of the control unit 815 to "H" and using the maximum value as a reference will be described. For the sake of explanation, only the control unit 815, which is different from the above, and the portion related to the selection circuit 816 will be described. The control unit 815 uses the subtractor 805.
.About.807, the magnitude relationship is determined as shown in the table of FIG. 12, and becomes "L" only when each color of MR, MG, and MB has the maximum value. For example, No. shown in the table of FIG.
When R is the maximum value as in the case of 2, MR = L,
Others are “H”. SR, SG, SB are R
G, GB, BR are output as they are.

【0042】また,選択回路816の入力は,比較器8
11〜813の最大値以外のデータは,反転して入力さ
れ,最大値のデータのみANDゲートにより“L”とな
った後,反転するため“H”となる。但し,最大値以外
のデータがすべて“L”のときは,入力はそのまま入力
され,すべて“L”となる。選択回路816では,S
R,SG,SBの入力により図12の表に示すように出
力R,G,BはRG,GB,BRの中から選択される。
このことにより,2値化の際の色は,最大値基準とな
り,上記最小値基準と同様の効果を得ることができる。
The input of the selection circuit 816 is the comparator 8
The data other than the maximum value of 11 to 813 is inverted and input, and only the data of the maximum value becomes "L" by the AND gate and then becomes "H" because it is inverted. However, when the data other than the maximum value is all "L", the input is input as it is and all "L". In the selection circuit 816, S
By inputting R, SG, SB, the outputs R, G, B are selected from RG, GB, BR as shown in the table of FIG.
As a result, the color at the time of binarization becomes the maximum value reference, and the same effect as the minimum value reference can be obtained.

【0043】次に,2値化部201の他の実施例を図9
を用いて説明する。901,902903は白レベル検
出用のR,G,Bの閾値データ,912は色データ間の
レベル差検出用の閾値データ,904〜906は減算器
であり,|A−B|を出力するA−B端子と,符号
(+,−)を出力するF端子とを備えている。907〜
911は比較器であり,P>Qのとき“H”を出力す
る。917は白レベル判定器であり,白のとき“H”を
出力する。918は制御部,919,913〜916は
選択回路である。
Next, another embodiment of the binarization unit 201 is shown in FIG.
Will be explained. Reference numerals 901 and 902903 denote R, G, and B threshold value data for white level detection, 912 threshold value data for level difference detection between color data, and 904 to 906 are subtractors, which output | AB | It has a −B terminal and an F terminal for outputting a sign (+, −). 907-
Reference numeral 911 is a comparator, which outputs "H" when P> Q. Reference numeral 917 is a white level judging device, which outputs "H" when it is white. Reference numeral 918 is a control unit, and reference numerals 919 and 913 to 916 are selection circuits.

【0044】制御部918は減算器904〜906から
の符号により,図13の表に示すように大小関係を決定
して,選択回路913により最大値,最小値或いは特定
の色を選択する。選択回路914は最大値−中間値,選
択回路915は最小値−中間値,選択回路916は最大
値−最小値を各々選択する。そして,比較器910によ
って中間値が最大値,最小値のどちらかに近いかを判定
する。また,比較器911によって最大値と最小値の差
と,閾値データ912のレベルに応じてグレー系かそれ
以外かを判定する。また,制御部918のMAXR,M
AXG,MAXBはRG,GB,BRをそのまま出力す
る。
The control unit 918 determines the magnitude relation as shown in the table of FIG. 13 by the codes from the subtractors 904 to 906, and the selection circuit 913 selects the maximum value, the minimum value or a specific color. The selection circuit 914 selects the maximum value-intermediate value, the selection circuit 915 selects the minimum value-intermediate value, and the selection circuit 916 selects the maximum value-minimum value. Then, the comparator 910 determines whether the intermediate value is closer to the maximum value or the minimum value. Further, the comparator 911 determines whether the color is a gray system or other colors depending on the difference between the maximum value and the minimum value and the level of the threshold data 912. In addition, MAXR, M of the control unit 918
AXG and MAXB output RG, GB and BR as they are.

【0045】選択回路919では比較器910,91
1,制御部918からの情報に基づいて,R,G,Bの
データを出力する。選択回路919の出力内容を図13
の表に示す。選択回路919からの出力は白レベル判定
器917の出力とORをとり出力される。
In the selection circuit 919, the comparators 910 and 91 are provided.
1, based on the information from the control unit 918, outputs R, G, B data. The output contents of the selection circuit 919 are shown in FIG.
Shown in the table. The output from the selection circuit 919 is ORed with the output of the white level determiner 917 and output.

【0046】以上のように,2値データR,G,Bは,
白のとき,白レベル判定器917が“H”を出力するこ
とにより,すべて“H”となり,白として出力される。
また,白レベル判定器917が“L”(白以外)のとき
は,R,G,Bの最大値と最小値の差が閾値データ91
2以下ならばグレーとして出力し,反対に閾値データ9
12以上ならば,最大値を“H”,最小値を“L”とし
て,その他の中間値が最大値に近ければ“H”,最小値
に近ければ“L”とする。このことにより,最大値と最
小値との間の中間値は,最大値或いは最小値のどちらか
に近い方と同一処理を実行することにより低濃度域から
高濃度域まで黒色化なしに2値化を行うことができる。
また,色ずれが発生しずらくなる。
As described above, the binary data R, G and B are
When it is white, the white level determiner 917 outputs "H", so that all the signals become "H" and are output as white.
When the white level determiner 917 is “L” (other than white), the difference between the maximum value and the minimum value of R, G, B is the threshold value data 91.
If it is 2 or less, it is output as gray, and on the contrary, the threshold value data 9
If it is 12 or more, the maximum value is "H" and the minimum value is "L". If the other intermediate values are close to the maximum value, "H" is set. As a result, the intermediate value between the maximum value and the minimum value can be binarized from the low density area to the high density area without blackening by performing the same processing as the one which is closer to the maximum value or the minimum value. Can be converted.
In addition, color shift is less likely to occur.

【0047】また,低濃度域で黒色化する場合がある
が,気になるものではない。上記低濃度域の黒色化を防
止するためには選択回路913により最大値,最小値或
いはある色のデータ量に応じて閾値データ912を変化
させればよい。例えば,或るレベルを基準に,閾値デー
タ(912)の出力=基準閾値÷閾値データ(912)
の入力×aa:係数の式を用いればよい。このことによ
り,低濃度域での黒色化を防止することができる。ま
た,上記図8の実施例における閾値データ804に対し
て同様の処理を実行することにより同様の効果を得るこ
とができる。
Further, blackening may occur in the low density region, but this is not a concern. In order to prevent blackening in the low density region, the selection circuit 913 may change the threshold value data 912 according to the maximum value, the minimum value, or the data amount of a certain color. For example, based on a certain level, the output of the threshold data (912) = reference threshold / threshold data (912)
Input × aa: coefficient formula may be used. This makes it possible to prevent blackening in the low density region. Further, the same effect can be obtained by performing the same processing on the threshold data 804 in the embodiment of FIG.

【0048】更に,上記2値化部201の他の実施例を
図10を用いて説明する。図中,1001〜1003は
白レベル検出用のR,G,Bの閾値データ,1004〜
1009は色データ間のレベル差検出用の閾値データ,
1010〜1012は減算器であり,|A−B|を出力
するA−B端子と,符号(+,−)を出力するF端子と
を備えている。1013〜1018は比較器であり,P
>Qのとき“H”を出力する。1023は白レベル判定
器であり,白のとき“H”を出力する。1024は制御
部,1019,1025は選択回路,1020〜102
2はデータセレクタで,S=LのときはYはAを選択す
る。
Further, another embodiment of the binarizing unit 201 will be described with reference to FIG. In the figure, 1001 to 1003 are threshold data of R, G, and B for white level detection, 1004 to
1009 is threshold value data for detecting a level difference between color data,
Subtractors 1010 to 1012 are provided with an AB terminal that outputs | AB | and an F terminal that outputs a sign (+, −). 1013 to 1018 are comparators, P
When> Q, "H" is output. Reference numeral 1023 is a white level judging device, which outputs "H" when it is white. 1024 is a control unit, 1019 and 1025 are selection circuits, and 1020 to 102
Reference numeral 2 is a data selector. When S = L, Y selects A.

【0049】閾値データ1001〜1003,白レベル
判定器1023,減算器1010〜1012,比較器1
016〜1018は上記の実施例と同一であるので,そ
の説明を省略する。閾値データ1004〜1009は上
記2値化部201の第1の実施例における閾値データ8
04を色毎,或いは色順序において個別にしたものであ
る。データセレクタ1020〜1022は色毎,或いは
色順序において閾値データ1004〜1009を選択す
る。
Threshold data 1001 to 1003, white level judging device 1023, subtractors 1010 to 1012, comparator 1
Since 016 to 1018 are the same as those in the above embodiment, the description thereof will be omitted. The threshold data 1004 to 1009 are the threshold data 8 in the first embodiment of the binarizing unit 201.
04 is individual for each color or in the color order. The data selectors 1020 to 1022 select the threshold value data 1004 to 1009 for each color or in the color order.

【0050】選択回路1025は,上記2値化部201
の第1の実施例におけるRG,GB,BRの入力を最大
値のとき,ARG,AGB,ABRで最小値としてMA
Xを各々MAXR,MAXG,MAXBを設ける(上記
2値化部201の第1の実施例のMAX=LとMAX=
Hを分離する)。また,制御部1024は,上記選択手
段が増加したことによりMAXがMAXR,MAXG,
MAXBとなり,新規にPR,PG,PBが増加する。
The selection circuit 1025 includes the binarization unit 201.
When the input of RG, GB, BR in the first embodiment of the above is the maximum value, MA is set as the minimum value of ARG, AGB, ABR.
X is provided with MAXR, MAXG, and MAXB respectively (MAX = L and MAX = in the first embodiment of the binarizing unit 201).
H is separated). Further, the control unit 1024 determines that MAX is MAXR, MAXG,
It becomes MAXB, and PR, PG, and PB are newly increased.

【0051】選択回路1025の機能は図14の表に示
すようになる。閾値データ1004〜1009は,上記
2値化部201の第2の実施例と同様,選択回路101
9からのデータに対し閾値を変化させる機能を備えてい
る。
The function of the selection circuit 1025 is as shown in the table of FIG. The threshold data 1004 to 1009 are stored in the selection circuit 101, as in the second embodiment of the binarization unit 201.
It has a function of changing the threshold for the data from 9.

【0052】最初に,閾値データ1004〜1009を
すべて同じ値であり,選択回路1019のデータが変換
しない場合について説明する。この状態は,上記2値化
部201の第1の実施例において,制御部1024,選
択回路1025が異なる。
First, the case where the threshold data 1004 to 1009 all have the same value and the data of the selection circuit 1019 is not converted will be described. This state is different in the control unit 1024 and the selection circuit 1025 in the first embodiment of the binarization unit 201.

【0053】以上のように構成することにより,R,
G,Bデータの順によって最大値規準或いは最小値規準
の選択を行うことができる。また,R,G,Bを独立的
に,Rは最大値,G,Bは最小値等として設定すること
ができる。また,これは最大値,最小値に限定したもの
ではなく,最大値,最小値の近い方を選択するようにし
てもよい。このようにすることにより,各色の間におけ
るバランスを補正することができ,視覚感度に合わせて
2値化処理を実行することができる。
With the above configuration, R,
The maximum value criterion or the minimum value criterion can be selected depending on the order of G and B data. Further, R, G, and B can be set independently, R can be set as a maximum value, and G and B can be set as a minimum value. Further, this is not limited to the maximum value and the minimum value, but the maximum value or the minimum value, whichever is closer, may be selected. By doing so, the balance between the colors can be corrected, and the binarization processing can be executed according to the visual sensitivity.

【0054】上記選択回路1025は常に最小値を選択
している場合に,上記2値化部201の第1の実施例と
異なる部分は閾値データ1004〜1009,データセ
レクタ1020〜1022である。このとき,閾値デー
タ1004と1009にRデータの閾値,閾値データ1
005,1006にGデータの閾値,閾値データ100
7,1008にBデータの閾値を各々入力し,R,G,
Bの大小関係に応じてデータセレクタ1020〜102
2を選択することにより,R,G,B独立に閾値の設定
が可能になる。
When the selecting circuit 1025 always selects the minimum value, the different parts of the binarizing unit 201 from the first embodiment are the threshold data 1004 to 1009 and the data selectors 1020 to 1022. At this time, the threshold data 1004 and 1009 contain the R data threshold and the threshold data 1
005 and 1006, G data threshold, threshold data 100
Input the threshold value of B data to 7, 1008, R, G,
The data selectors 1024 to 102 depending on the magnitude relation of B
By selecting 2, it is possible to set the threshold independently for R, G, and B.

【0055】また,閾値データ1004〜1009を更
に増加させてR,G,Bの大小関係に応じて閾値を変化
させてもよい。更に,選択回路1025の処理規準(最
大値或いは最小値規準)に応じて閾値を選択してもよ
い。
Further, the threshold value data 1004 to 1009 may be further increased to change the threshold value according to the magnitude relationship of R, G, and B. Further, the threshold value may be selected according to the processing standard (maximum value or minimum value standard) of the selection circuit 1025.

【0056】上記のようにすることにより,各色の間の
バランスを補正することができ,視覚感度に合わせて2
値化補正を行うことができる。これらは2値化のみでな
くN値化にも容易に適用でき,影付け,2値化処理に対
しても,2値化して処理を実行するものすべてに適用す
ることができる。
By doing the above, it is possible to correct the balance between the colors, and to adjust the balance according to the visual sensitivity.
Quantization correction can be performed. These can be easily applied not only to the binarization but also to the N-valued, and can also be applied to the shadowing and the binarization processing to all that are binarized to execute the processing.

【0057】[0057]

【発明の効果】以上説明したように,本発明による画像
処理装置によれば,R(レッド),G(グリーン),B
(ブルー),或いは,Y(イエロー),M(マゼン
タ),C(シアン)及び(或いは)K(グレー)の如く
色毎に独立しているデータを2値化する画像処理装置に
おいて,多値データを入力する多値データ入力手段と,
データを出力するデータ出力手段と,データの白レベル
を検出する白レベル検出手段と,各色のレベル差を検出
するレベル差検出手段と,前記レベル差検出手段により
得たデータと,最大値との差或いは最小値との差の閾値
に基づいて2値化を行う2値化手段とを具備するため,
また,多値データを入力する多値データ入力手段と,デ
ータを出力するデータ出力手段と,データの白レベルを
検出する白レベル検出手段と,各色のレベル差を検出す
るレベル差検出手段と,前記レベル差検出手段により最
大値と最小値を判別して,それ以外のデータをどちらか
一方の近い方のデータと同一に2値化を行う2値化手段
とを具備するため,また,多値データを入力する多値デ
ータ入力手段と,データを出力するデータ出力手段と,
データの白レベルを検出する白レベル検出手段と,各色
のレベル差を検出するレベル差検出手段と,入力データ
を所定の条件に応じて選択する選択手段と,前記選択手
段からの出力に応じて閾値を算出する閾値算出手段と,
前記レベル差検出手段により得たデータと前記閾値算出
手段により得た閾値に基づいて2値化を行う2値化手段
とを具備するため,また,多値データを入力する多値デ
ータ入力手段と,データを出力するデータ出力手段と,
データの白レベルを検出する白レベル検出手段と,各色
のレベル差を検出するレベル差検出手段と,前記レベル
差検出手段により検出されたレベル差に基づいて色のレ
ベル順を判定する判定手段と,前記判定手段において前
記レベル差検出手段により検出されたレベル差データと
比較する閾値を切り換えて2値化を行う2値化手段とを
具備するため,更に,多値データを入力する多値データ
入力手段と,データを出力するデータ出力手段と,デー
タの白レベルを検出する白レベル検出手段と,各色のレ
ベル差を検出するレベル差検出手段と,前記レベル差検
出手段により検出されたレベル差に基づいて色のレベル
順を判定する判定手段と,前記判定手段において前記レ
ベル差検出手段により検出されたレベル差データを2値
化する2値化手段を選択する選択手段とを具備するた
め,閾値周辺部分での色バランスの崩れを回避し,良好
な画像処理を実現することができる。
As described above, according to the image processing apparatus of the present invention, R (red), G (green), B
(Blue), or Y (yellow), M (magenta), C (cyan), and / or K (gray). Multi-valued data input means for inputting data,
The data output means for outputting data, the white level detecting means for detecting the white level of the data, the level difference detecting means for detecting the level difference of each color, the data obtained by the level difference detecting means, and the maximum value Since it has a binarizing means for binarizing based on the threshold value of the difference or the difference from the minimum value,
Further, a multi-valued data input means for inputting multi-valued data, a data output means for outputting the data, a white level detection means for detecting a white level of the data, a level difference detection means for detecting a level difference of each color, Since the level difference detecting means discriminates the maximum value and the minimum value and binarizes the other data in the same manner as either one of the closer data, the binarizing means is provided. Multi-value data input means for inputting value data, data output means for outputting data,
A white level detecting means for detecting a white level of data, a level difference detecting means for detecting a level difference of each color, a selecting means for selecting input data according to a predetermined condition, and an output from the selecting means. Threshold calculation means for calculating the threshold,
The multi-valued data input means for inputting multi-valued data includes the binarization means for binarizing the data obtained by the level difference detection means and the threshold value obtained by the threshold value calculation means. , Data output means for outputting data,
A white level detecting means for detecting a white level of data, a level difference detecting means for detecting a level difference of each color, and a judging means for judging a color level order based on the level difference detected by the level difference detecting means. , Multi-valued data for inputting multi-valued data, further comprising binarizing means for binarizing by switching a threshold value to be compared with the level difference data detected by the level difference detecting means in the judging means. Input means, data output means for outputting data, white level detecting means for detecting the white level of the data, level difference detecting means for detecting the level difference of each color, and level difference detected by the level difference detecting means. And a binarizing unit for binarizing the level difference data detected by the level difference detecting unit in the determining unit. For having a selection means for selecting, avoiding collapse of the color balance of the threshold peripheral portion, it is possible to achieve proper image processing.

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

【図1】本発明による画像処理装置の概略構成を示すブ
ロックである。
FIG. 1 is a block diagram showing a schematic configuration of an image processing apparatus according to the present invention.

【図2】図1に示した画像処理部の構成を示すブロック
図である。
FIG. 2 is a block diagram showing a configuration of an image processing unit shown in FIG.

【図3】図2に示した変換データ算出部の構成を示す説
明図である。
FIG. 3 is an explanatory diagram showing a configuration of a conversion data calculation unit shown in FIG.

【図4】図2に示した変換データ選択部の構成を示す説
明図である。
FIG. 4 is an explanatory diagram showing a configuration of a conversion data selection unit shown in FIG.

【図5】図2に示した2値化部の概略構成を示すブロッ
ク図である。
5 is a block diagram showing a schematic configuration of a binarizing unit shown in FIG.

【図6】図3に示した影処理部の構成を示す説明図であ
る。
FIG. 6 is an explanatory diagram showing a configuration of a shadow processing unit shown in FIG.

【図7】図6に示したラインメモリの構成を示すブロッ
ク図である。
7 is a block diagram showing a configuration of a line memory shown in FIG.

【図8】図2に示した2値化部の詳細な構成を示す回路
図である。
FIG. 8 is a circuit diagram showing a detailed configuration of the binarizing unit shown in FIG.

【図9】図2に示した2値化部の詳細な他の構成を示す
回路図である。
9 is a circuit diagram showing another detailed configuration of the binarization unit shown in FIG.

【図10】図2に示した2値化部の詳細な他の構成を示
す回路図である。
10 is a circuit diagram showing another detailed configuration of the binarization unit shown in FIG.

【図11】図3に示した領域信号1,2の機能を示す表
である。
11 is a table showing functions of area signals 1 and 2 shown in FIG.

【図12】図8の選択回路の入力と出力の関係を示す表
である。
12 is a table showing a relationship between inputs and outputs of the selection circuit of FIG.

【図13】図9の選択回路の出力内容を示す表である。13 is a table showing output contents of the selection circuit of FIG.

【図14】図10の選択回路の出力内容を示す表であ
る。
14 is a table showing output contents of the selection circuit of FIG.

【図15】図11に示した領域信号の機能に対応した出
力例を示す説明図である。
FIG. 15 is an explanatory diagram showing an output example corresponding to the function of the area signal shown in FIG. 11.

【図16】図11に示した領域信号の機能に対応した出
力例を示す説明図である。
16 is an explanatory diagram showing an output example corresponding to the function of the area signal shown in FIG.

【図17】原稿がK(グレー)の濃度をR(レッド),
G(グリーン),B(ブルー)の色レベルにした場合を
示すグラフである。
FIG. 17 shows that the original has a K (gray) density of R (red),
6 is a graph showing a case where color levels of G (green) and B (blue) are set.

【図18】原稿がR(レッド)の濃度をR(レッド),
G(グリーン),B(ブルー)の色レベルにした場合を
示すグラフである。
FIG. 18 shows that the original has a density of R (red), R (red),
6 is a graph showing a case where color levels of G (green) and B (blue) are set.

【図19】原稿がR(レッド)の濃度をR(レッド),
G(グリーン),B(ブルー)の色レベルにした場合を
示すグラフである。
FIG. 19 shows that the original has the density of R (red), R (red),
6 is a graph showing a case where color levels of G (green) and B (blue) are set.

【図20】原稿がC(シアン)の濃度をR(レッド),
G(グリーン),B(ブルー)の色レベルにした場合を
示すグラフである。
FIG. 20 shows that the original has a C (cyan) density of R (red),
6 is a graph showing a case where color levels of G (green) and B (blue) are set.

【図21】原稿がC(シアン)の濃度をR(レッド),
G(グリーン),B(ブルー)の色レベルにした場合を
示すグラフである。
FIG. 21 shows that the original has a C (cyan) density of R (red),
6 is a graph showing a case where color levels of G (green) and B (blue) are set.

【図22】原稿がR(レッド)の濃度をR(レッド),
G(グリーン),B(ブルー)の色レベルにした場合を
示すグラフである。
FIG. 22 is a graph showing the density of R (red) in the original as R (red),
6 is a graph showing a case where color levels of G (green) and B (blue) are set.

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

101 画像読み取り部 102 画像処
理部 103 画像記録部 201 2値化
部 202 変換データ算出部 203 遅延回
路部 204 変換データ選択部 301 影処理
部 814 白レベル判定器 815 制御部 816 選択回路 917 白レベ
ル判定器 918 制御部 919 選択回
路 1023 白レベル判定器 1024 制御
部 1025 選択回路
101 image reading unit 102 image processing unit 103 image recording unit 201 binarization unit 202 conversion data calculation unit 203 delay circuit unit 204 conversion data selection unit 301 shadow processing unit 814 white level determiner 815 control unit 816 selection circuit 917 white level determination Control unit 918 Control unit 919 Selection circuit 1023 White level determination unit 1024 Control unit 1025 Selection circuit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 R(レッド),G(グリーン),B(ブ
ルー),或いは,Y(イエロー),M(マゼンタ),C
(シアン)及び(或いは)K(グレー)の如く色毎に独
立しているデータを2値化する画像処理装置において,
多値データを入力する多値データ入力手段と,データを
出力するデータ出力手段と,データの白レベルを検出す
る白レベル検出手段と,各色のレベル差を検出するレベ
ル差検出手段と,前記レベル差検出手段により得たデー
タと,所定の閾値に基づいて2値化を行う2値化手段と
を具備することを特徴とする画像処理装置。
1. R (red), G (green), B (blue), or Y (yellow), M (magenta), C
In an image processing device that binarizes data independent for each color such as (cyan) and / or K (gray),
Multi-valued data input means for inputting multi-valued data, data output means for outputting data, white level detection means for detecting a white level of data, level difference detection means for detecting a level difference of each color, and the level An image processing apparatus comprising: data obtained by the difference detecting means; and binarizing means for binarizing based on a predetermined threshold value.
【請求項2】 前記2値化手段は最大値との差を基準と
することを特徴とする請求項1記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the binarizing unit uses a difference from a maximum value as a reference.
【請求項3】 前記2値化手段は最小値との差を基準と
することを特徴とする請求項1記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the binarizing unit uses a difference from a minimum value as a reference.
【請求項4】 R(レッド),G(グリーン),B(ブ
ルー),或いは,Y(イエロー),M(マゼンタ),C
(シアン)及び(或いは)K(グレー)の如く色毎に独
立しているデータを2値化する画像処理装置において,
多値データを入力する多値データ入力手段と,データを
出力するデータ出力手段と,データの白レベルを検出す
る白レベル検出手段と,各色のレベル差を検出するレベ
ル差検出手段と,前記レベル差検出手段により最大値と
最小値を判別して,それ以外のデータをどちらか一方の
近い方のデータと同一に2値化を行う2値化手段とを具
備することを特徴とする画像処理装置。
4. R (red), G (green), B (blue), or Y (yellow), M (magenta), C
In an image processing device that binarizes data that is independent for each color, such as (cyan) and / or K (gray),
Multi-valued data input means for inputting multi-valued data, data output means for outputting data, white level detection means for detecting a white level of data, level difference detection means for detecting a level difference of each color, and the level An image processing characterized by comprising a binarizing means for discriminating the maximum value and the minimum value by the difference detecting means and binarizing the other data in the same manner as either one of the closer data. apparatus.
【請求項5】 R(レッド),G(グリーン),B(ブ
ルー),或いは,Y(イエロー),M(マゼンタ),C
(シアン)及び(或いは)K(グレー)の如く色毎に独
立しているデータを2値化する画像処理装置において,
多値データを入力する多値データ入力手段と,データを
出力するデータ出力手段と,データの白レベルを検出す
る白レベル検出手段と,各色のレベル差を検出するレベ
ル差検出手段と,入力データを所定の条件に応じて選択
する選択手段と,前記選択手段からの出力に応じて閾値
を算出する閾値算出手段と,前記レベル差検出手段によ
り得たデータと前記閾値算出手段により得た閾値に基づ
いて2値化を行う2値化手段とを具備することを特徴と
する画像処理装置。
5. R (red), G (green), B (blue), or Y (yellow), M (magenta), C
In an image processing device that binarizes data independent for each color such as (cyan) and / or K (gray),
Multi-value data input means for inputting multi-value data, data output means for outputting data, white level detecting means for detecting a white level of data, level difference detecting means for detecting a level difference of each color, and input data Selecting means for selecting in accordance with a predetermined condition, threshold calculating means for calculating a threshold according to the output from the selecting means, data obtained by the level difference detecting means, and threshold obtained by the threshold calculating means. An image processing device, comprising:
【請求項6】 R(レッド),G(グリーン),B(ブ
ルー),或いは,Y(イエロー),M(マゼンタ),C
(シアン)及び(或いは)K(グレー)の如く色毎に独
立しているデータを2値化する画像処理装置において,
多値データを入力する多値データ入力手段と,データを
出力するデータ出力手段と,データの白レベルを検出す
る白レベル検出手段と,各色のレベル差を検出するレベ
ル差検出手段と,前記レベル差検出手段により検出され
たレベル差に基づいて色のレベル順を判定する判定手段
と,前記判定手段において前記レベル差検出手段により
検出されたレベル差データと比較する閾値を切り換えて
2値化を行う2値化手段とを具備することを特徴とする
画像処理装置。
6. R (red), G (green), B (blue), or Y (yellow), M (magenta), C
In an image processing device that binarizes data independent for each color such as (cyan) and / or K (gray),
Multi-valued data input means for inputting multi-valued data, data output means for outputting data, white level detection means for detecting a white level of data, level difference detection means for detecting a level difference of each color, and the level Binarization is performed by switching between a determination unit that determines the color level order based on the level difference detected by the difference detection unit and a threshold value that is compared with the level difference data detected by the level difference detection unit in the determination unit. An image processing apparatus, comprising: a binarizing unit for performing.
【請求項7】 R(レッド),G(グリーン),B(ブ
ルー),或いは,Y(イエロー),M(マゼンタ),C
(シアン)及び(或いは)K(グレー)の如く色毎に独
立しているデータを2値化する画像処理装置において,
多値データを入力する多値データ入力手段と,データを
出力するデータ出力手段と,データの白レベルを検出す
る白レベル検出手段と,各色のレベル差を検出するレベ
ル差検出手段と,前記レベル差検出手段により検出され
たレベル差に基づいて色のレベル順を判定する判定手段
と,前記判定手段において前記レベル差検出手段により
検出されたレベル差データを2値化する2値化手段を選
択する選択手段とを具備することを特徴とする画像処理
装置。
7. R (red), G (green), B (blue), or Y (yellow), M (magenta), C
In an image processing device that binarizes data independent for each color such as (cyan) and / or K (gray),
Multi-valued data input means for inputting multi-valued data, data output means for outputting data, white level detection means for detecting a white level of data, level difference detection means for detecting a level difference of each color, and the level The determination means for determining the color level order based on the level difference detected by the difference detection means and the binarization means for binarizing the level difference data detected by the level difference detection means in the determination means are selected. An image processing apparatus, comprising:
JP07893092A 1992-02-29 1992-02-29 Image processing device Expired - Lifetime JP3291015B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07893092A JP3291015B2 (en) 1992-02-29 1992-02-29 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07893092A JP3291015B2 (en) 1992-02-29 1992-02-29 Image processing device

Publications (2)

Publication Number Publication Date
JPH05244420A true JPH05244420A (en) 1993-09-21
JP3291015B2 JP3291015B2 (en) 2002-06-10

Family

ID=13675593

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07893092A Expired - Lifetime JP3291015B2 (en) 1992-02-29 1992-02-29 Image processing device

Country Status (1)

Country Link
JP (1) JP3291015B2 (en)

Also Published As

Publication number Publication date
JP3291015B2 (en) 2002-06-10

Similar Documents

Publication Publication Date Title
JP2564959B2 (en) Pictogram area identification method for image processing device
JP3399486B2 (en) Color image processing apparatus and method
US5296939A (en) Image area discriminating system for an image processing apparatus
JPH08307717A (en) Image processing device
US5732153A (en) Color image processing apparatus
US6178010B1 (en) Image processing device
JP3291015B2 (en) Image processing device
JPS63169174A (en) Picture processing method
JP3039675B2 (en) Color image processing equipment
JP3767210B2 (en) Document type determination device and image processing device
JPS6359272A (en) Picture processor
JPS63164570A (en) Image processing method
JP3064896B2 (en) Image processing device
JP2002232709A (en) Image processing device, image forming device using the same, and image processing method
JPH0630275A (en) Image processor
JP2954230B2 (en) Image processing device
US6415052B1 (en) Color image processing apparatus
JP3834484B2 (en) Image processing method, image processing apparatus, image forming apparatus, and computer-readable recording medium
JPS63288566A (en) Image processor
JPH0622129A (en) Picture processing unit
JPH0670152A (en) Image processor
JPH10215382A (en) Color image processing unit
JP2000125139A (en) Image processor
JPH0494266A (en) Half tone picture processing unit
JPS63132571A (en) Image read processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090322

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100322

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110322

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120322

Year of fee payment: 10

EXPY Cancellation because of completion of term