JPH03250970A - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH03250970A
JPH03250970A JP4822590A JP4822590A JPH03250970A JP H03250970 A JPH03250970 A JP H03250970A JP 4822590 A JP4822590 A JP 4822590A JP 4822590 A JP4822590 A JP 4822590A JP H03250970 A JPH03250970 A JP H03250970A
Authority
JP
Japan
Prior art keywords
image
color
data
processing
register
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
JP4822590A
Other languages
Japanese (ja)
Other versions
JP3093232B2 (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 JP02048225A priority Critical patent/JP3093232B2/en
Publication of JPH03250970A publication Critical patent/JPH03250970A/en
Application granted granted Critical
Publication of JP3093232B2 publication Critical patent/JP3093232B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文字に対して模様画像などの特殊処理をデジ
タルで行うための画像処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing device for digitally performing special processing such as pattern images on characters.

(従来の技術] 従来、複写機などの画像処理装置は、原画像に対し1:
1、あるいは縮小/拡大などの加工を施すのみであった
が、デジタル処理技術の採用に伴って、装飾などの加工
が考えられている。この加工として、例えば、縁取り影
付けなどの処理がある。
(Prior Art) Conventionally, an image processing device such as a copying machine processes an original image by 1:
1, or processing such as reduction/enlargement, but with the adoption of digital processing technology, processing such as decoration is being considered. This processing includes, for example, processing such as edging and shadowing.

このような処理に付随して、その色付は処理も重要なテ
ーマになっている。従来、白黒ディジタル複写機などで
は、基本的に黒と白の組合せにより行っているため、画
像処理で作られた副画像に対しては、中間調の灰色で色
付けを行っている。
Along with such processing, the coloring process has also become an important theme. Conventionally, black-and-white digital copying machines and the like basically use a combination of black and white, so sub-images created by image processing are colored with gray, which is an intermediate tone.

しかし、カラー画像に対しては、色成分が3色程度存在
すため、どの色で着色するかは難しい。
However, since there are about three color components for a color image, it is difficult to determine which color to color the image with.

すでに、オリジナル色に近い7色で表現する方法が提案
されている。このようにオリジナルに近い色で表現する
と、強調が弱い場合があるため、オリジナルに対して強
調を強くするため、オリジナルに近い色7色の反転色(
補色)を用いて表現を行っている。
A method has already been proposed that uses seven colors close to the original colors. When expressed with colors close to the original in this way, the emphasis may be weak, so in order to make the emphasis stronger relative to the original, we created an inverted color of seven colors close to the original (
It is expressed using complementary colors.

[発明が解決しようとする課題] しかしながら、上記した従来技術にあっては、反転色を
用いて強調処理を行うのみで、処理内容に自由度がなか
った。
[Problems to be Solved by the Invention] However, in the above-mentioned conventional technology, only the emphasis processing is performed using an inverted color, and there is no flexibility in processing contents.

また、背景色が常に白であるため、実際には白以外の背
景色が多いにもかかわらず、対応した処理を行うことが
できなかった。
Furthermore, since the background color is always white, it is not possible to perform corresponding processing even though there are actually many background colors other than white.

本発明は上記に鑑みてなされたものであって、複数の色
を用いて自由な強調処理を実行することを第1の目的と
する。
The present invention has been made in view of the above, and a first object thereof is to perform free emphasis processing using a plurality of colors.

また、背景色を白以外の色で副画像処理を実行すること
を第2の目的とする。
A second purpose is to perform sub-image processing using a background color other than white.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記の目的を達成するために、入力画像データ
をR,G、Bごとに2値化する2値化処理手段と、該手
段によるデータをR,G、Bごとに複数ライン分を記憶
する記憶手段と、該記憶手段から読み出したデータに基
づいて副画像を形成する画像加工手段と、該画像加工手
段による副画像に対し反転色の色付けを行う色付処理手
段とを設けた画像処理装置を提供するものである。
In order to achieve the above object, the present invention includes a binarization processing means for binarizing input image data for each of R, G, and B, and a binarization processing means for binarizing input image data for each of R, G, and B. An image provided with a storage means for storing, an image processing means for forming a sub-image based on data read from the storage means, and a coloring processing means for coloring the sub-image by the image processing means with an inverted color. A processing device is provided.

また、白以外の背景色に対する副画像処理を行えるよう
にするため、入力画像データを指定の背景色に応じて2
値化し、R,G、Bごとに記憶する手段と、該記憶手段
から読み出したデータに基づいて副画像を形成する画像
加工手段と、該画像加工手段による副画像に対し背景色
を参照して色付けを行う色付処理手段とを設けた画像処
理装置を提供するものである。
In addition, in order to perform sub-image processing on background colors other than white, input image data is
an image processing means for forming a sub-image based on the data read from the storage means; The present invention provides an image processing device including a coloring processing means for coloring.

〔作用〕[Effect]

本装置による画像処理装置によれば、2値化データに対
し、基本画像が白であるか否かにより副画像が形成され
、これに対し複数のモードに応した指定色が選択され、
これにより反転色の色付けが行われる。したがって、複
数の色による強調処理が可能になる。
According to the image processing device of the present invention, a sub-image is formed for binary data depending on whether or not the basic image is white, and designated colors corresponding to a plurality of modes are selected for the sub-image,
As a result, coloring with an inverted color is performed. Therefore, emphasis processing using a plurality of colors becomes possible.

また、指定の背景色に対し、しきい値に応じた2値化を
行い、そのR,G、Bデータに対し副画像が形成され、
これが各入力画像に加色混合されて色付は処理がおこな
われる。したがって、背景色が白以外の色であっても副
画像処理を行うことが可能になる。
In addition, the specified background color is binarized according to the threshold value, and a sub-image is formed for the R, G, B data.
This is added to each input image and mixed to perform coloring processing. Therefore, it becomes possible to perform sub-image processing even if the background color is a color other than white.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照しながら説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明による画像処理装置の概略構成を示すブ
ロック図であり、第2図は第1図の画像処理部102の
詳細を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an image processing apparatus according to the present invention, and FIG. 2 is a block diagram showing details of the image processing section 102 in FIG. 1.

第1図において、画像処理装置は、光学的に原稿などの
画像を読み取って電気信号として出力する画像読み取り
部101、この画像読み取り部101からの信号をデジ
タルにより加工処理する画像処理部102及び画像処理
部102によって得られた信号をハードコピーし或いは
磁気ディスクなどの託録媒体に保存する画像記録部10
3から成る。
In FIG. 1, the image processing device includes an image reading section 101 that optically reads an image of a document or the like and outputs it as an electrical signal, an image processing section 102 that digitally processes the signal from the image reading section 101, and an image processing section 102 that digitally processes the signal from the image reading section 101. An image recording unit 10 that hard copies the signal obtained by the processing unit 102 or stores it in a recording medium such as a magnetic disk.
Consists of 3.

画像処理部102は、第2図に示すように、カラー原稿
を色分解した多値データに対しR(Red)、G (C
zreen)、B (Blue)の3原色の各々に対し
て2値化する2値化処理部201a、201b、201
c、この2値化処理部201a、201b、201cの
各々による処理結果の9947分を記憶するラインメモ
リ部202a、202b、202C1このラインメモリ
部202a、202b、202Cより読み出した(n+
1)ライン分の基本画像データに対し副画像を形成する
画像加工部203、及び画像加工部203の出力データ
及びR,G、Bカラー情報に基づいて、色付は処理を行
う色付は処理部204a、204b、204Cの各々を
備えて構成される。
As shown in FIG.
Binarization processing units 201a, 201b, and 201 that binarize each of the three primary colors, zreen) and B (Blue).
c. Line memory sections 202a, 202b, 202C1 which store 9947 portions of the processing results of the binarization processing sections 201a, 201b, 201c.
1) Coloring is performed based on the image processing unit 203 that forms a sub-image on the basic image data for a line, and the output data of the image processing unit 203 and R, G, B color information. 204a, 204b, and 204C.

第3図は2値化処理部201a、201b、201Cの
1つの構成の詳細を示す回路図である。
FIG. 3 is a circuit diagram showing details of the configuration of one of the binarization processing units 201a, 201b, and 201C.

2値化処理部201は、コンパレータ301としきい値
レジスタ302から構成される。しきい値レジスタ30
2には、CPUから予め2硫化する際のしきい値が設定
される。コンパレータ301は、入力画像データがしき
い値を越えるレベルであれば出力端子に“L IIレベ
ルの信号(DATA)を発生させる。この場合の入力画
像データとDATAの関係は、以下の表の如くである。
The binarization processing section 201 includes a comparator 301 and a threshold register 302. Threshold register 30
In 2, a threshold value for disulfidation is set in advance from the CPU. If the input image data is at a level exceeding the threshold, the comparator 301 generates an "L II level signal (DATA) at the output terminal. The relationship between the input image data and DATA in this case is as shown in the table below. It is.

上表において、入力画像データの°′H′”レベルは、
しきい値を越える入力データであり、“L”。
In the above table, the °′H′” level of the input image data is
The input data exceeds the threshold and is "L".

レベルはしきい値以外の入力データを示している。The level indicates input data other than the threshold value.

第4図はラインメモリ部202a、202b、202C
の1つの詳細な構成を示している。
Figure 4 shows line memory sections 202a, 202b, 202C.
1 shows a detailed configuration of one.

ラインメモリ部202は、レジスタ40 L、〜401
1とメモリ部402とから構成されている。
The line memory section 202 includes registers 40L, ~401
1 and a memory section 402.

レジスタ401−、〜401−、lの各々は、入力端子
D、出力端子Q及びクロック端子CL(負論理)を備え
、入力端子りは共通接続され、これにデータが印加され
る。また、クロック端子CLも共通接続され、この端子
には同期信号が印加される。
Each of the registers 401-, 401-, and l includes an input terminal D, an output terminal Q, and a clock terminal CL (negative logic), and the input terminals are commonly connected and data is applied thereto. Further, a clock terminal CL is also commonly connected, and a synchronization signal is applied to this terminal.

また、レジスタ401−I〜401−1.の各々には、
クロック信号CLKが印加されている。
Also, registers 401-I to 401-1. Each of the
A clock signal CLK is applied.

メモリ部402は、データ入力端子D0□、〜Dlnl
+in 、データ出力端子D0゜、〜D In−Ho。
The memory section 402 has data input terminals D0□, ~Dlnl
+in, data output terminal D0°, ~D In-Ho.

71、読み出しクロック端子RD CL K、書き込み
クロック端子WRCL K、ライトイネーブル入力端子
WE、リードイネーブル入力端子RE、リセットライト
入力端子R3TW、及びリセットリード入力端子R5T
Rを備えた1チツプのICである。
71, read clock terminal RD CL K, write clock terminal WRCL K, write enable input terminal WE, read enable input terminal RE, reset write input terminal R3TW, and reset read input terminal R5T
It is a one-chip IC equipped with R.

なお、CLKはデータクロツタ信号、LSYNCはライ
ン同期信号である。
Note that CLK is a data clock signal and LSYNC is a line synchronization signal.

第4図の構成においては、1ビツトのデータ入力をレジ
スタ401−t〜401−、で1クロツタ遅らせでデー
タ入力D Oi n とすると共に、データ出力D0゜
□をレジスタ401−+〜401−I、で1クロック遅
らせて入力データD1.7にしている。同様な処理を入
力データD (、、−11inまで繰り返すことにより
、ラインメモリ部402の出力を入力データに対して4
5°ずらしてn942分のデータを取り出すことができ
る。そして、データ出力端子D0゜、〜D (r+−1
1゜□のnビットのデータと、入力1ビツトのデータを
加え、(n+1)ビット分のデータを出力(OUT  
PUT)として第4図のようなデータを送出する。
In the configuration shown in FIG. 4, 1-bit data input is delayed by 1 clock in registers 401-t to 401-, and data output D0°□ is input to registers 401-+ to 401-I. , the input data D1.7 is delayed by one clock. By repeating similar processing until the input data D (,, -11 inches), the output of the line memory section 402 is
With a shift of 5 degrees, it is possible to extract n942 worth of data. Then, the data output terminals D0°, ~D (r+-1
Adds n-bit data of 1°□ and 1-bit input data, and outputs (n+1) bits of data (OUT
The data shown in FIG. 4 is sent out as PUT).

第5図において、斜線部分は入力1ビツトデータを示し
、数字1の点線枠は1ラインずれたデータ、数字2の点
線枠は2ラインずれたデータ、数字3の点線枠は3ライ
ンずれたデータを各々示している。
In Figure 5, the shaded area indicates input 1-bit data, the dotted line frame with number 1 indicates data shifted by one line, the dotted line frame with number 2 indicates data shifted by two lines, and the dotted line frame with number 3 indicates data shifted by three lines. are shown respectively.

第6図は画像加工部203の詳細を示す回路図である。FIG. 6 is a circuit diagram showing details of the image processing section 203.

ラインメモリ部202a、202b、202cの出力0
UTPtJT  R,G、Bの各々には、n個の入力端
子D0〜D7−1を有する入力n対出力1のセレクタ6
01a、601b、601cの各々が接続され、そのセ
レクト端子Sには、影幅レジスタ602の出力が印加さ
れている。
Output 0 of line memory units 202a, 202b, 202c
Each of UTPtJT R, G, and B includes an n input to output 1 selector 6 having n input terminals D0 to D7-1.
01a, 601b, and 601c are connected to each other, and the output of the shadow width register 602 is applied to the select terminal S thereof.

また、出力R,G、Bには、3人力のオアゲート603
の各入力が接続され、このオアゲート603の出力端子
にはインバータ604が接続されている。さらに、セレ
クタ601a、60 l b。
In addition, for the outputs R, G, and B, a three-man powered OR gate 603 is used.
, and an inverter 604 is connected to the output terminal of this OR gate 603. Furthermore, selectors 601a and 60lb.

601Cの各出力端子Yには、3人力のオアゲート60
5の入力端が接続され、この出力とインバータ604の
出力との論理積をとるためにアンドゲート606が設け
られている。更に、セレクタ601aの出力信号を反転
するためにインバータ607が接続され、このインバー
タ607から色情報Rが出力される。
Each output terminal Y of 601C has a three-man OR gate 60.
5 is connected, and an AND gate 606 is provided to perform a logical product of this output and the output of an inverter 604. Further, an inverter 607 is connected to invert the output signal of the selector 601a, and color information R is output from the inverter 607.

同様に、セレクタ601bの出力端子Yには、インバー
タ608が接続され、その反転出力が色情報Gとして出
力される。また、セレクタ601cの出力端子Yには、
インバータ609が接続され、その反転出力が色情報B
として出力される。
Similarly, an inverter 608 is connected to the output terminal Y of the selector 601b, and its inverted output is output as color information G. In addition, the output terminal Y of the selector 601c has
Inverter 609 is connected, and its inverted output is color information B.
is output as

第6図の構成において、2値化されている出力R,G、
B (データ0)は、そのままオアゲ−)603に印加
される。一方、ラインメモリ部202a、202b、2
02Cの出力1〜(n−1)は、セレクタ601a、6
01b。
In the configuration of FIG. 6, the binarized outputs R, G,
B (data 0) is applied as is to the OR game) 603. On the other hand, line memory sections 202a, 202b, 2
Outputs 1 to (n-1) of 02C are selected from selectors 601a and 601a.
01b.

601Cの入力端子に印加され、これらセレクタの出力
は、予め設定した影幅レジスタ602の設定値により、
任意の1ラインが選択される。例えば、nが3のとき、
第5図に示す点線枠データ1.2.3のいずれかが選択
される。
601C, and the outputs of these selectors are set according to the preset value of the shadow width register 602.
One arbitrary line is selected. For example, when n is 3,
Either of the dotted line frame data 1.2.3 shown in FIG. 5 is selected.

セレクタ601a、601b、601Cの出力の各々は
、インバータ607.608.609の各々によって反
転され、各々色情報R,G、Bとして出力される。これ
らインバータは、2値化時に反転したデータを元に戻す
ために設けられている。
Each of the outputs of selectors 601a, 601b, and 601C is inverted by each of inverters 607, 608, and 609, and output as color information R, G, and B, respectively. These inverters are provided to restore data inverted during binarization to its original state.

また、オアゲート603は、基本画像が白または白以外
であるか否かを判定するために設けられ、オアゲー1−
605は、副画像が白または白以外であるか否かを判定
するために設けられている。この場合の各処理は、次の
表の如(である(なお、表中のH,Lは出力レベルを示
している)。
Further, the OR gate 603 is provided to determine whether the basic image is white or other than white.
605 is provided to determine whether the sub-image is white or other than white. Each process in this case is as shown in the table below (H and L in the table indicate output levels).

第7図は色付は処理部204の詳細を示す回路図である
FIG. 7 is a circuit diagram showing details of the processing section 204 in color.

CPU (図示せず)のバスには、指定色レジスタ70
1、オフレベルレジスタ702及びモード切換レジスタ
703が並列接続され、指定色レジスタ701及びオフ
レベルレジスタ702にはセレクタ704の入力端子A
、Bが接続されている。
The CPU (not shown) has a specified color register 70 on its bus.
1. Off-level register 702 and mode switching register 703 are connected in parallel, and input terminal A of selector 704 is connected to designated color register 701 and off-level register 702.
, B are connected.

また、モード切換レジスタ703には、2人力のアンド
ゲート705の一方の入力端子が接続され、他方の入力
端子には色情報Xが入力される。
Furthermore, one input terminal of a two-manual AND gate 705 is connected to the mode switching register 703, and color information X is input to the other input terminal.

さらにアンドゲート705の出力信号は、セレクタ70
4のセレクト端子Sに印加される。
Furthermore, the output signal of the AND gate 705 is transmitted to the selector 70
It is applied to the select terminal S of No. 4.

セレクタ704の出力端子Yには、セレクタ706の入
力端子Bが接続され、その入力端子Aには入力画像デー
タXが印加され、さらにセレクト端子Sには処理結果(
第6図のアンドゲート606出力)が印加される。セレ
クタ706の出力端子Yからは、出力画像データXが出
力される。
The input terminal B of the selector 706 is connected to the output terminal Y of the selector 704, the input image data X is applied to the input terminal A, and the processing result (
AND gate 606 output of FIG. 6) is applied. Output image data X is output from the output terminal Y of the selector 706.

次に、第7図の構成の動作について、■指定色モード、
■標準7色モード、■反転色(補色)7色モードの順に
説明する。
Next, regarding the operation of the configuration shown in Fig. 7, we will explain ■ specified color mode,
■Standard 7-color mode, ■Reverse color (complementary color) 7-color mode will be explained in this order.

■ 指定色モード モード切換レジスタ703は単色モードに設定され、そ
の出力は“L”レベルにされる。これにより、アンドゲ
ート705の出力は、常に“L゛レベルなり、指定色レ
ジスタ19が選択される。
(2) Specified color mode The mode switching register 703 is set to single color mode, and its output is set to the "L" level. As a result, the output of the AND gate 705 is always at the "L" level, and the specified color register 19 is selected.

次に、セレクタ706の出力は、処理信号によって選択
され、処理信号がオフ(副画像で無い部分)の場合に入
力画像データXが選択され、オン(副画像部分)の場合
にはセレクタ704が選択され、歩定色レジスタ701
の出力データ(指定色)が出力される。
Next, the output of the selector 706 is selected by the processed signal, and when the processed signal is off (non-sub-image part), input image data X is selected, and when it is on (sub-image part), the selector 704 is selected. selected, rate setting color register 701
The output data (specified color) is output.

このような動作により、第8図に示すように、原稿(a
)に対して(d)のような影付き画像を得ることができ
る。
Through these operations, as shown in FIG.
), a shaded image like (d) can be obtained.

■ 標準7色モード モード切換レジスタ703は、出力が“H1ルベルにな
るように選択される。これにより、アンドゲート705
の出力は色情報の入力データが、そのまま出力される。
■ Standard 7-color mode The mode switching register 703 is selected so that the output becomes “H1 level.” As a result, the AND gate 705
The input data of color information is output as is.

セレクタ704は色情報がオン(H1ルベル)のときは
、オフレベルレジスタ702の値が選択され、オフ(“
L”°レベル)ときは指定色レジスタ701の値が選択
される。
When the color information is on (H1 level), the selector 704 selects the value of the off level register 702 and turns it off (“
L'' level), the value of the designated color register 701 is selected.

セレクタ706は、上記指定色モードの場合と同一の動
作を行う。
The selector 706 performs the same operation as in the specified color mode described above.

ここで、オフレベルレジスタ702に最高濃度を「1」
として“1”を入力し、指定色レジスタ701に中間濃
度をro、5Jとして“°0.5”を入力する。これに
より、副画像はオリジナルデータの色相に対して中間調
の色を付けることができる。色情報と副画像データの組
合せにより、次のような色の設定が可能になる。
Here, set the maximum concentration to "1" in the off level register 702.
"1" is input as "1", and "°0.5" is input as intermediate density ro and 5J in designated color register 701. Thereby, the sub-image can be given a color that is an intermediate tone compared to the hue of the original data. The combination of color information and sub-image data allows the following color settings.

二のような処理によって、第8図に示す原稿(a)に対
し、(b)のような出力画像を得ることができる。
By the process shown in 2, it is possible to obtain an output image as shown in FIG. 8(b) for the document (a) shown in FIG.

■ 反転色(補色)7色モード このモードでは、オフレベルレジスタ702の設定を除
いて標準7色モードと同一である。この場合、オフレベ
ルレジスタ702に最低濃度を「0」として“0゛を入
力する。これにより、副画像はオリジナルデータの補色
の色を付けることができる。
(2) Inverted color (complementary color) 7-color mode This mode is the same as the standard 7-color mode except for the setting of the off-level register 702. In this case, "0" is input to the off-level register 702 with the lowest density set to "0".Thereby, the sub-image can be colored in a complementary color to the original data.

このモードでは、色情報と副画像データの組合せにより
、次のような色の設定が可能になる。
In this mode, the following color settings can be made by combining color information and sub-image data.

この処理により、第8図に示す原稿(a)に対し、(C
)のような出力画像を得ることができる。
Through this process, (C
) you can get an output image like this.

なお、第4図に示した構成のラインメモリ部に代え、第
9図に示す構成にしてもよい。この構成は、レジスタ4
01−+〜401□を除去し、データR、データG、デ
ータBを入力できるようにしたところに特徴がある。
Note that instead of the line memory section having the configuration shown in FIG. 4, the configuration shown in FIG. 9 may be used. This configuration consists of register 4
The feature is that 01-+ to 401□ are removed and data R, data G, and data B can be input.

この構成では、1ビツト入カデータをデータ入力り。、
nとし、データ出力D0゜、を入力データD l i 
nにしている。このような扱いを入力データD In−
11inまで繰り返すことにより、ラインメモリの出力
を0942分持つことが可能になる。そして、Do。□
〜Dい、〉。、のnビットのデータ(この例ではn−2
)と、入力1ビツトのデータとを加え、(n+1)ビッ
ト分のデータを出力する。
In this configuration, 1-bit input data is used as data input. ,
n, data output D0°, input data D l i
I set it to n. This kind of treatment is applied to the input data D In-
By repeating this process up to 11 inches, it becomes possible to have 0942 line memory outputs. And then, Do. □
〜D〉. , n-bit data (in this example, n-2
) and the input 1-bit data, and outputs (n+1) bits of data.

第10図は画像加工部203の他の例を示す回路図であ
る。
FIG. 10 is a circuit diagram showing another example of the image processing section 203.

この画像加工部203は、蓄積部1001及び縁取り回
路1002から成る。蓄積部1001の各レジスタによ
って画素方向(主走査方向)の画素が整えられ、ついで
縁取り回路1002によって画素方向の細らせ処理及び
太らせ処理が第11図のように行われる。
The image processing section 203 includes a storage section 1001 and an edging circuit 1002. Pixels in the pixel direction (main scanning direction) are arranged by each register of the storage unit 1001, and then thinning processing and thickening processing in the pixel direction are performed by the edging circuit 1002 as shown in FIG.

なお、第10図の回路においては、レジスタを1段丘し
て縁取り回路1002に入るデータは、中心画素の位置
を示している。また、縁取り回路1002は、隣接する
画素が干渉しないロジック構成にされ、第6図の構成と
同様に、インバータ607〜インバータ609を介して
色情報R,G、Bが出力される。
In the circuit shown in FIG. 10, the data that enters the edging circuit 1002 after one register is indicative of the position of the center pixel. Further, the edging circuit 1002 has a logic configuration in which adjacent pixels do not interfere with each other, and color information R, G, and B are outputted via inverters 607 to 609, similar to the configuration shown in FIG.

この回路を用いた場合、色付処理部204による処理は
、各モードにおいて次のようになる。
When this circuit is used, the processing by the coloring processing unit 204 in each mode is as follows.

■ 指定色モード 第8図の(e)のR,G、Bが全て一定の色になる画像
■ Specified color mode An image in which R, G, and B are all the same color as shown in (e) in Figure 8.

■ 標準7色モード 第8図の(e)の画像。■ Standard 7 color mode Image of FIG. 8(e).

■ 反転色(補色)7色モード 第8図の(d)の画像。■ Inverted color (complementary color) 7 color mode Image of FIG. 8(d).

以上においては、縁取り文字、影付は文字について説明
したが、これに限定されるものではなく、副画像全ての
色付は処理について本発明を適用することができる。ま
た、指定色レジスタ701及びオフレベルレジスタ70
2の設定値は、任意の値にすることが可能である。
In the above, the border characters and shading have been described for characters, but the present invention is not limited to this, and the present invention can be applied to processing for coloring all sub-images. In addition, a specified color register 701 and an off-level register 70
The setting value of 2 can be set to any value.

次に、背景処理について説明する。Next, background processing will be explained.

この処理においては、2(li化処理部201a、20
1b、201cによって背景色8色(レッド、グリーン
、ブルー、シアン、マゼンタ、イエローホワイト、ブラ
ック)の内の任意の1色を指定し、別途設定のしきい値
を基準にして2値化を行う。
In this process, 2 (li conversion processing units 201a, 20
Specify any one of the eight background colors (red, green, blue, cyan, magenta, yellow-white, black) using 1b and 201c, and perform binarization based on a separately set threshold. .

得られたカラーデータは、R,G、Bごとにうインメモ
リ部202a、202b、202cに各々(n+1)ラ
イン分が記憶される。画像加工部203では、カラー原
稿に対応する基本画像に対し、副画像を付加する処理を
行う。
The obtained color data is stored for (n+1) lines in the inner memory sections 202a, 202b, and 202c for each of R, G, and B, respectively. The image processing unit 203 performs a process of adding a sub-image to a basic image corresponding to a color original.

これに対し、色付処理部204a〜204cは、各々の
入力画像に対し、指定の条件に従って画像加工部203
で作成した副画像をオーバーライドする。このとき、背
景色と基本画像が加色混合された色をカラー情報をもと
に標準7色モードを実行する。さらに、反転色(補色)
7色モードによる加工も可能である。また、カラー情報
を参照しない指定色モードによる加工も可能である。
On the other hand, the coloring processing units 204a to 204c process the image processing unit 203 according to specified conditions for each input image.
Override the subimage created in . At this time, a standard seven-color mode is executed based on the color information, which is an additive mixture of the background color and the basic image. Additionally, inverted colors (complementary colors)
Processing using seven color modes is also possible. It is also possible to perform processing using a designated color mode that does not refer to color information.

第12図は背景処理のための2値化処理部の構成を示す
回路図である。
FIG. 12 is a circuit diagram showing the configuration of a binarization processing section for background processing.

ここに示す2値化処理部は、しきい値レジスタ120に
コンパレータ1202及びイクスクルージブオアゲート
(Exclusive OR) 1203から成る。し
きい値レジスタ1201に対し、CPUから予め2値化
する際にしきい値が設定される。
The binarization processing section shown here includes a threshold register 120, a comparator 1202, and an exclusive OR gate (Exclusive OR) 1203. A threshold value is set in the threshold register 1201 by the CPU in advance during binarization.

イクスクルージブオアゲート1203は、画像データが
しきい値以下のレベルであると、“L”レベル信号を出
力する。これが標準モードになる。また、しきい値以上
では“H”レベル信号を出力し、反転モードになる。
Exclusive OR gate 1203 outputs an "L" level signal when the image data is at a level below the threshold value. This becomes standard mode. Moreover, when the threshold value is exceeded, an "H" level signal is outputted, and the mode becomes inversion mode.

背景色に対するしきい値と色の関係は、以下の表のよう
になる。
The relationship between the threshold value and color for the background color is as shown in the table below.

二の背景色処理における色付処理部204の回路は第7
図の通りであるが、その影付は処理は第13図のように
なる。また、各モードにおいて次のように画像が形成さ
れる。
The circuit of the coloring processing unit 204 in the second background color processing is the seventh one.
As shown in the figure, the shading is processed as shown in FIG. Further, in each mode, an image is formed as follows.

■ 指定色モード 第13図の(d)の画像が得られる。■ Specified color mode The image shown in FIG. 13(d) is obtained.

■ 標準7色モード この場合、オフレベルレジスタ702に最高濃度または
最低濃度を設定する。設定においては、2値化する際、
標準モードの場合、しきい値は最高濃度を「1」にして
“1゛を設定し、反転モードの場合、最低濃度を「0」
にして′0′°を設定する。
■ Standard 7-color mode In this case, the maximum density or minimum density is set in the off-level register 702. In the settings, when binarizing,
In the standard mode, the threshold value is set to "1" with the highest density set to "1", and in the reverse mode, the threshold value is set to "0" with the lowest density set to "1".
and set it to '0'°.

これによって得られる色は、第14図のようになり、基
本画像と背景色とを加色混合した色になる。
The resulting color is as shown in FIG. 14, which is an additive mixture of the basic image and background color.

第13図の(a)の原稿画像入力に対し、背景色と基本
画像の加色混合したような■゛、■゛■゛の色が(b)
のように付く。
In response to the original image input in (a) of Figure 13, the colors of ■゛, ■゛■゛, which are an additive mixture of the background color and the basic image, are shown in (b).
It is attached like this.

■ 反転色(補色)モード オフレベルレジスタ702に標準7色モード時と逆の値
を設定することにより実現する。このときの指定色レジ
スタ701は、中間調を示す0.5が設定される。ここ
で得られる色は、第14図の如くであり、基本画像と背
景色とを加色混合し、これを反転した値になる。
(2) Inverted color (complementary color) mode This is achieved by setting the off-level register 702 to a value opposite to that in the standard 7-color mode. At this time, the designated color register 701 is set to 0.5, which indicates the intermediate tone. The color obtained here is as shown in FIG. 14, and is the value obtained by additively mixing the basic image and the background color and inverting this.

この場合、第13図の(a)に対し、背景色と基本画像
とを加色混合し、これを反転したような■°°、■゛°
、■“の色が(e)のように付く。
In this case, in contrast to (a) in Figure 13, the background color and the basic image are additively mixed and this is inverted, ■°°, ■゛°
,■“ is colored as shown in (e).

以上においては、影付は文字について説明したが、本発
明はこれに限定されるものではなく、副画像の全てにつ
いて色付は処理を行うことが可能である。また、オフレ
ベルレジスタ702及び指定色レジスタ701の値は、
任意に設定することが可能である。
In the above, shading has been explained for characters, but the present invention is not limited to this, and it is possible to perform coloring for all sub-images. Furthermore, the values of the off-level register 702 and designated color register 701 are as follows:
It is possible to set it arbitrarily.

また、色付けの際、カラーバランスを調整するために、
第15図のように色付処理部204を構成することがで
きる。この回路の原理的構成は、第7図に基づいている
Also, when coloring, to adjust the color balance,
The coloring processing section 204 can be configured as shown in FIG. The basic configuration of this circuit is based on FIG.

すなわち、指定色レジスタ及びオフレベルレジスタをR
,G、Bごとに指定色レジスタ701a、701b、7
01c及びオフレベルレジスタ702a、702b、7
02cを設け、指定色レジスタ701a及びオフレベル
レジスタ702aの各出力にセレクタ704aを接続し
、指定色レジスタ701b及びオフレベルレジスタ70
2bの各出力にセレクタ704bを接続し、指定色しジ
スタフ01c及びオフレベルレジスタ702Cの各出力
にセレクタ704Cを接続する構成にしている。
In other words, the specified color register and off-level register are set to R.
, G, B, designated color registers 701a, 701b, 7
01c and off-level registers 702a, 702b, 7
02c is provided, a selector 704a is connected to each output of the designated color register 701a and the off-level register 702a, and a selector 704a is connected to each output of the designated color register 701b and the off-level register 70.
A selector 704b is connected to each output of the register 2b, and a selector 704C is connected to each output of the designated color register 01c and off-level register 702C.

また、このオフレベルレジスタ702a。Also, this off-level register 702a.

702b、702cの各セレクト端子Sにセレクト信号
を印加するために、アンドゲート1501 a 。
AND gate 1501a to apply a select signal to each select terminal S of 702b, 702c.

1501 b、1501 cが設けられ、各入力には色
情報とCPUバスからのデータが印加されている。セレ
クタ704a、704b、704Cの各出力は、テーブ
ルメモリ1502に印加され、その3つの出力には、セ
レクタ706a、706b、706Cの各々が接続され
ている。
1501b and 1501c are provided, and color information and data from the CPU bus are applied to each input. Each output of selectors 704a, 704b, and 704C is applied to table memory 1502, and each of selectors 706a, 706b, and 706C is connected to the three outputs.

〔発明の効果〕〔Effect of the invention〕

本発明は上記の通り構成されているので、次に記載する
効果を奏する。
Since the present invention is configured as described above, it produces the effects described below.

請求項1の画像処理装置においては、入力画像データを
R,G、Bごとに2値化する2値化処理手段と、該手段
によるデータをR,G、Bごとに複数ライン分を記憶す
る記憶手段と、該記憶手段から読み出したデータに基づ
いて副画像を形成する画像加工手段と、該画像加工手段
による副画像に対し反転色の色付けを行う色付処理手段
とを設ける構成にしたため、複数の色による強調処理が
可能になる。
The image processing apparatus according to claim 1 includes a binarization processing means for binarizing input image data for each of R, G, and B, and storing data for a plurality of lines for each of R, G, and B. Since the configuration includes a storage means, an image processing means for forming a sub-image based on data read from the storage means, and a coloring processing means for coloring the sub-image by the image processing means with an inverted color, Emphasis processing using multiple colors becomes possible.

また、請求項2の画像処理装置においては、入力画像デ
ータを指定の背景色に応して2値化し、R,G、Bごと
に記憶する手段と、該記憶手段から読み出したデータに
基づいて副画像を形成する画像加工手段と、該画像加工
手段による副画像に対し背景色を参照して色付けを行う
色付処理手段とを設けたため、背景色が白基外の色であ
っても副画像処理を行うことが可能になる。
Further, in the image processing apparatus according to claim 2, the input image data is binarized according to a designated background color, and means for storing the binarized data for each of R, G, and B, and based on the data read from the storage means, Since the image processing means for forming a sub-image and the coloring processing means for coloring the sub-image by the image processing means with reference to the background color are provided, even if the background color is a color other than the white standard, the sub-image can be colored. It becomes possible to perform image processing.

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

第1図は本発明による画像処理装置の概略構成を示すブ
ロック図、第2図は第1図の画像処理部2の詳細を示す
ブロック図、第3図は2値化処理部の1つの構成の詳細
を示す回路図、第4図はラインメモリ部の1つの詳細構
成を示す回路図、第5図は本発明のセレクI・処理を示
す説明図、第6図は画像加工部の詳細を示す回路図、第
7図は色付は処理部の詳細を示す回路図、第8図は本発
明の影付は処理を示す説明図、第9図はラインメモリ部
の他の例を示す回路図、第10図は画像加工部の他の例
を示す回路図、第11図は第10図の縁取り回路による
細らせ処理及び太らせ処理を示す説明図、第12図は背
景処理のための2値化処理部の構成を示す回路図、第1
3図は 背景色処理における影付は処理を示す説明図、
第14図は基本画像と背景色とを加色混合した場合の色
組合せを示す配色図、第15図は色付は時のカラーバラ
ンス調整のための色付処理部の構成を示す回路図である
。 符号の説明 101−画像読み取り部 102−画像処理部103−
・画像記録部 201 a 〜201 c−2値化処理部202a 〜
202cm  ラインメモリ部203−画像加工部 204 a 〜207 c−・色付は処理部301=・
−コンパレータ 302・・−しきい値レジスタ 601a 〜601c、704.704a 〜704c
706 706a 〜マ06cmセレクタ602−−影
幅レジスタ ロ03 605−オアゲート 606、 705.1501a〜1501C−アンドゲ
ート607.608,609−−インバータ701 7
01a 〜701cm指定色レジスタ702 702a
 〜702cmオフレヘルオフレベルレジスタフ03換
レジスタ 1002−縁取り回路1502−−・テーブ
ルメモリ
FIG. 1 is a block diagram showing a schematic configuration of an image processing device according to the present invention, FIG. 2 is a block diagram showing details of the image processing section 2 in FIG. 1, and FIG. 3 is a configuration of one of the binarization processing sections. 4 is a circuit diagram showing the detailed configuration of one of the line memory sections, FIG. 5 is an explanatory diagram showing the select I/processing of the present invention, and FIG. 6 is a circuit diagram showing details of the image processing section. 7 is a colored circuit diagram showing the details of the processing section, FIG. 8 is an explanatory diagram showing the processing of the present invention with shading, and FIG. 9 is a circuit showing another example of the line memory section. Figure 10 is a circuit diagram showing another example of the image processing section, Figure 11 is an explanatory diagram showing thinning processing and thickening processing by the edging circuit in Figure 10, and Figure 12 is for background processing. Circuit diagram showing the configuration of the binarization processing unit of
Figure 3 is an explanatory diagram showing the shading in background color processing,
Fig. 14 is a color scheme diagram showing the color combination when the basic image and background color are mixed additively, and Fig. 15 is a circuit diagram showing the configuration of the coloring processing section for adjusting the color balance when coloring is performed. be. Explanation of symbols 101 - Image reading section 102 - Image processing section 103 -
・Image recording unit 201a ~ 201c-binarization processing unit 202a ~
202cm Line memory section 203-Image processing section 204a to 207c-・Coloring is done by processing section 301=・
- Comparator 302... - Threshold register 601a ~ 601c, 704.704a ~ 704c
706 706a ~ Ma06cm selector 602 -- Shadow width register low 03 605 -- OR gate 606, 705.1501a ~ 1501C -- AND gate 607.608, 609 -- Inverter 701 7
01a ~701cm Specified color register 702 702a
~702cm Off level off level register Off level register 03 conversion register 1002-Edging circuit 1502--Table memory

Claims (2)

【特許請求の範囲】[Claims] (1)入力画像データをR、G、Bごとに2値化する2
値化処理手段と、 前記手段によるデータをR、G、Bごとに複数ライン分
を記憶する記憶手段と、 前記記憶手段から読み出したデータに基づいて副画像を
形成する画像加工手段と、 前記画像加工手段による副画像に対し反転色の色付けを
行う色付処理手段とを具備することを特徴とする画像処
理装置。
(1) Binarize input image data for each R, G, and B2
digitization processing means; storage means for storing a plurality of lines of data for each of R, G, and B; image processing means for forming a sub-image based on the data read from the storage means; An image processing apparatus comprising: a coloring processing means for coloring a sub-image produced by the processing means with an inverted color.
(2)入力画像データを指定の背景色に応じて2値化し
、R、G、Bごとに記憶する手段と、 前記記憶手段から読み出したデータに基づいて副画像を
形成する画像加工手段と、 前記画像加工手段による副画像に対し背景色を参照して
色付けを行う色付処理手段とを具備することを特徴とす
る画像処理装置。
(2) means for binarizing input image data according to a designated background color and storing it for each of R, G, and B; and image processing means for forming a sub-image based on the data read from the storage means; An image processing device comprising: coloring processing means for coloring the sub-image produced by the image processing means with reference to a background color.
JP02048225A 1990-02-28 1990-02-28 Image processing device Expired - Fee Related JP3093232B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02048225A JP3093232B2 (en) 1990-02-28 1990-02-28 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02048225A JP3093232B2 (en) 1990-02-28 1990-02-28 Image processing device

Publications (2)

Publication Number Publication Date
JPH03250970A true JPH03250970A (en) 1991-11-08
JP3093232B2 JP3093232B2 (en) 2000-10-03

Family

ID=12797482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02048225A Expired - Fee Related JP3093232B2 (en) 1990-02-28 1990-02-28 Image processing device

Country Status (1)

Country Link
JP (1) JP3093232B2 (en)

Also Published As

Publication number Publication date
JP3093232B2 (en) 2000-10-03

Similar Documents

Publication Publication Date Title
US5721793A (en) Image processing with smooth production of inclined lines and other features
JPH0326947B2 (en)
US6025586A (en) Image processing device, image recording apparatus, and image reading device and image forming apparatus
JPH0879516A (en) Image processor
JPH03250970A (en) Image processing device
JP3982979B2 (en) Image forming apparatus
JPH0227369A (en) Color picture processor
JP3466655B2 (en) Image processing device
JP3015048B2 (en) Image processing method
JP3500373B2 (en) Color image processing equipment
JP2557481B2 (en) Color image processor
JP2716968B2 (en) Color image processing equipment
JP3279348B2 (en) Color image processing equipment
JP2557479B2 (en) Color image processor
JP3227152B2 (en) Color image processing apparatus and color image processing method
JPH03249871A (en) Color image processing device
JPS6231257A (en) Two-dimensional encoding device for picture signal
JPH05130380A (en) Image synthesizer
JPS6341272B2 (en)
JPH06253140A (en) Picture discrimination device, isolating point elimination device and picture reduction device
JPH10134177A (en) Image processing apparatus and method
JPS639272A (en) Digital color picture editing device
JPH07107264A (en) Image processing device
JPS639425B2 (en)
JP2001144948A (en) Image processing device

Legal Events

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

Free format text: PAYMENT UNTIL: 20070728

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080728

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090728

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees