JP3225710B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3225710B2
JP3225710B2 JP24778893A JP24778893A JP3225710B2 JP 3225710 B2 JP3225710 B2 JP 3225710B2 JP 24778893 A JP24778893 A JP 24778893A JP 24778893 A JP24778893 A JP 24778893A JP 3225710 B2 JP3225710 B2 JP 3225710B2
Authority
JP
Japan
Prior art keywords
data
image
color
background
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP24778893A
Other languages
Japanese (ja)
Other versions
JPH07107264A (en
Inventor
弘 関根
義弘 寺田
俊哉 小山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP24778893A priority Critical patent/JP3225710B2/en
Publication of JPH07107264A publication Critical patent/JPH07107264A/en
Application granted granted Critical
Publication of JP3225710B2 publication Critical patent/JP3225710B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、白黒画像の領域指定さ
れた部分に色づけ編集を行う画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for color-editing a designated area of a black-and-white image.

【0002】[0002]

【従来の技術】カラー複写機等の画像処理装置を用いて
指定された領域内背景部の色付け処理する方式として、
本出願人が出願した特開平2−277174号公報に
は、画像入力装置から読み取った画像データをAD変換
した上、2値化処理してデータ合成部に入力し、デジタ
イザーを用いて色付け背景領域を指定して色付け編集す
る技術を提案している。また、同じく本出願人が出願し
た特開平3−201671号公報や、特開平4−336
869号公報には、マーカー・ペンによる描画や、エデ
ィター・パッドにより色編集領域を設定している。
2. Description of the Related Art As a method of coloring a background portion in a designated area using an image processing apparatus such as a color copying machine,
Japanese Patent Application Laid-Open No. Hei 2-277174 filed by the present applicant discloses that image data read from an image input device is A / D-converted, binarized, input to a data synthesizing unit, and colored background areas using a digitizer. Is proposed to specify the color and edit. Also, Japanese Patent Application Laid-Open No. 3-201671 and Japanese Patent Application Laid-Open No.
In the '869 publication, a color editing area is set by drawing with a marker pen or an editor pad.

【0003】ところで、白黒画像の背景部色付け編集方
式として、一般に以下のものが知られている。即ち、図
7(A)、(B)において、原稿30の文字画像31の
背景部32に色付け編集する場合に、原稿30の画像デ
ータを図8(A)の一点鎖線33上を走査すると、図8
(B)に示すように、例えば、8ビット256階調で表
したR(赤)、G(緑)、B(青)の濃度分布波形3
4、34を有する画像をイメージ・スキャナーで読み取
ると、図8(C)に示すように鈍った波形35、35が
形成され、この画像データをK(黒)、Y(イエロ
ー)、M(マゼンタ)、C(シアン)の色材信号に変換
してデータ合成部に入力する。データ合成部では、図9
(A)に示す色付け論理切換表に基づいて、色付け指定
領域内にパレットに設定されたYMCデータと、画像デ
ータとを取り込んで色付け編集処理を行う。即ち、黒
(K)処理時には、文字部には入力された画像データの
Kを出力し、背景部には画像データのYMC=0(0は
濃度0を示し、白を意味する)を出力する。そして、黒
以外の色の処理時には、背景部、及び文字部の判定をす
ることなく、文字部、及び背景部を色付けするためのY
MCデータをパレットから出力する。これにより、図9
(B)に示すように、画像データKにより形成された文
字部35、35、及び背景部37には一様に背景色YM
Cにより色付け編集される。
The following is generally known as a method for editing the background of a monochrome image. That is, in FIGS. 7A and 7B, when the background portion 32 of the character image 31 of the original 30 is to be colored and edited, the image data of the original 30 is scanned on a dashed line 33 in FIG. FIG.
As shown in (B), for example, the density distribution waveform 3 of R (red), G (green), and B (blue) represented by 8-bit 256 gradations
When an image having images 4 and 34 is read by an image scanner, dull waveforms 35 and 35 are formed as shown in FIG. 8C. ) And C (cyan) color material signals and input to the data synthesis unit. In the data synthesizing unit, FIG.
Based on the coloring logic switching table shown in (A), the YMC data set in the pallet and the image data are fetched into the coloring designation area to perform the coloring editing process. That is, at the time of black (K) processing, K of the input image data is output to the character portion, and YMC = 0 (0 indicates density 0, meaning white) of the image data is output to the background portion. . When processing a color other than black, Y for coloring the character portion and the background portion without determining the background portion and the character portion is used.
Output MC data from pallet. As a result, FIG.
As shown in (B), the character portions 35, 35 and the background portion 37 formed by the image data K have the background color YM uniformly.
The color is edited by C.

【0004】[0004]

【発明が解決しようとする課題】上述した図9(A)の
論理切換え方式によれば、色付けはYMC3色で行うた
め、微妙な色が形成されない上、YMCの濃度が高い場
合には、文字部に濁りが発生するという問題を抱えてい
る。かかる問題点を解消するための別の色付け編集方式
として、次のような方式が知られている。即ち、図8
(C)に示された画像データである濃度波形35、35
を閾値36で2値化すると、これにより、図10(B)
に示すように、画像データの濃度が閾値以下を背景部、
それ以外を文字部を示す幅の狭い文字・背景部判定信号
38、38が形成される。図8(C)に示す画像データ
35、35と、文字・背景部判定信号38、38とを入
力されたデータ合成部は、図10(A)に示す色付け論
理切換表に基づいて色編集をする。即ち、文字・背景部
判定信号38、38に基づいて、黒処理時には、文字部
に画像データのKが、背景部にはパレットのKが出力さ
れる一方、黒以外処理時には、文字部には画像データの
YMC=0が出力され、背景部にはパレットのYMCが
出力される。これにより、図10(C)に示すように、
文字部39、39には画像データのKのみが出力され、
背景部40はKYMCの4色により色付けされる。従っ
て、濁りの発生しない文字部が形成されるものの、図8
(C)に示す濃度波形35、35よりも幅の細い文字部
39、39が発生し、いわゆる、文字のかすれが発生す
るという問題がある。この細りは、イメージ・スキャナ
ーにより読み取った画像データをフィルター処理して
も、完全に補正することは困難である。
According to the above-described logic switching method shown in FIG. 9A, since coloring is performed with three colors of YMC, delicate colors are not formed. There is a problem that turbidity occurs in the part. The following method is known as another coloring / editing method for solving such a problem. That is, FIG.
Density waveforms 35, 35 which are the image data shown in FIG.
Is binarized by the threshold 36, thereby obtaining FIG.
As shown in the figure, the background portion when the density of the image data is equal to or less than the threshold,
Other than that, narrow character / background part determination signals 38, 38 indicating a character part are formed. The data synthesizing unit which has received the image data 35 and 35 and the character / background part determination signals 38 and 38 shown in FIG. 8C performs color editing based on the coloring logic switching table shown in FIG. I do. That is, based on the character / background part determination signals 38, 38, the image data K is output to the character part and the palette K is output to the background part during black processing, while the character part is output to the character part during non-black processing. YMC = 0 of the image data is output, and YMC of the palette is output to the background portion. As a result, as shown in FIG.
Only K of the image data is output to the character portions 39, 39,
The background portion 40 is colored by four colors of KYMC. Therefore, although a character portion without turbidity is formed, FIG.
There is a problem that character portions 39, 39 having a width narrower than the density waveforms 35, 35 shown in FIG. This thinning is difficult to completely correct even if image data read by an image scanner is filtered.

【0005】本発明は、上述した課題に鑑みてなされた
もので、その目的とするところは、黒処理時には、文字
・背景部の判定結果に関係なく、背景色設定手段の黒
と、入力画像データとを加算して出力し、黒以外処理時
には、背景部にのみ背景色設定手段の黒以外の背景色デ
ータを出力することで色編集を行い、これにより、文字
部に細りがないばかりではなく、濁りを発生しない色付
け処理を行なうことが出来る他、データ合成部の制御系
の簡単化を図り得る画像処理装置を提供することにあ
る。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and has as its object to perform the black processing using the black of the background color setting means and the input image regardless of the determination result of the character / background portion. The data is added and output, and at the time of processing other than black, color editing is performed by outputting the background color data other than black of the background color setting means only to the background part, so that there is no thinning in the character part. It is another object of the present invention to provide an image processing apparatus that can perform a coloring process without causing turbidity and can simplify a control system of a data synthesis unit.

【0006】[0006]

【課題を解決するための手段】本発明は、画像入力手段
により読み取った画像信号を、黒を含む複数色の色材信
号に変換した画像データと、編集領域発生手段から出力
される色付け領域指定信号と、2値化手段から出力され
る画像データの文字・背景部判別信号とをデータ合成手
段に入力し、画像データと、背景色設定手段の背景色デ
ータとを取り込んで画像データの色付け指定領域の背景
部、及び文字部を色編集し、カラー画像を出力する画像
処理装置であって、データ合成手段は、白黒画像の領域
指定された背景部に色づけ編集を行う際、黒処理時に
は、2値化手段の判定結果に関係なく、指定領域におい
て画像データと、背景色設定手段の黒データとを取り込
んで加算して出力し、黒以外処理時には、2値化手段の
判定結果に基づいて、背景部にのみ背景色設定手段の黒
以外の背景色データを出力して色編集することを特徴と
する。
According to the present invention, there is provided image data obtained by converting an image signal read by an image input means into color material signals of a plurality of colors including black, and a coloring area designation output from an edit area generating means. A signal and a character / background part discrimination signal of image data output from the binarizing means are input to the data synthesizing means, and the image data and the background color data of the background color setting means are fetched to specify the coloring of the image data. An image processing apparatus for color-editing a background portion and a character portion of an area and outputting a color image, wherein the data synthesizing means performs color-editing on a background portion of the black-and-white image designated as an area, at the time of black processing, Regardless of the determination result of the binarization unit, the image data and the black data of the background color setting unit are fetched, added, and output in the designated area. Characterized by color editing only outputs the background color data other than the black background color setting means to the background portion.

【0007】[0007]

【作用】白黒原稿の背景部に色づけ編集を行う場合に、
黒処理時には、2値化手段の判別結果に関係なく、画像
データと、背景色設定手段の黒データとを加算して出力
し、黒以外処理時には、2値化手段の背景部を示す信号
に基づいて、背景部のみに背景色設定手段の黒以外の背
景色データを出力する。
[Function] When performing color editing on the background of a black and white original,
At the time of black processing, the image data and the black data of the background color setting means are added and output irrespective of the determination result of the binarization means. The background color data other than black is output by the background color setting means only to the background portion.

【0008】[0008]

【実施例】以下に本発明の装置を、添付した図面に示す
実施例に基づいて説明する。図1は本発明の画像処理技
術をデジタル・フルカラー複写機に適用したブロック
図、図2は図1に示すデータ合成部のブロック図を示
す。図1において、1はイメージ・スキャナーで、原稿
台に載置した白黒原稿を面順次、もしくは、点順次にて
読み取り、RGBのデジタル・データを出力する画像入
力装置である。2は第1の色補正部で、画像入力装置1
から出力されるR、G、Bのカラー・データを色の3属
性である明度信号L* 、色相信号H* 、彩度信号C*
変換するものであるが、この色補正部2については、各
種の方式が広く知られており、本発明の本旨ではないの
で、その詳細な説明を省略する。3は2値化部で、色補
正部2から出力される明度信号L* を入力され、明度信
号L* に背景部のKYMCの膜厚に相当する閾値に設定
し、文字部、背景部の判別信号を出力する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The apparatus according to the present invention will be described below based on an embodiment shown in the accompanying drawings. FIG. 1 is a block diagram in which the image processing technique of the present invention is applied to a digital full-color copying machine, and FIG. 2 is a block diagram of a data synthesizing unit shown in FIG. In FIG. 1, reference numeral 1 denotes an image scanner, which is an image input device that reads a black-and-white document placed on a platen sequentially or dot-sequentially and outputs RGB digital data. Reference numeral 2 denotes a first color correction unit, which is an image input device 1
Converts the R, G, and B color data output from the color data into lightness signal L * , hue signal H * , and saturation signal C * , which are three attributes of color. Since various methods are widely known and are not the gist of the present invention, detailed description thereof will be omitted. Reference numeral 3 denotes a binarization unit which receives a brightness signal L * output from the color correction unit 2 and sets the brightness signal L * to a threshold value corresponding to the film thickness of KYMC in the background portion, Outputs a determination signal.

【0009】第2の色補正部4は、入力された明度信号
* 、色相信号H* 、彩度信号C*を画像出力装置8に
適したトナー・データ形式に変換する部分で、KYMC
のトナー・データに変換される。この色補正部4につい
ても各種の方式が広く知られており、本発明の本旨では
ないので、その詳細な説明を省略する。そして、本実施
例では、原稿画像が白黒画像であるので、複写機を白黒
モードで動作させるために、色補正部4に入力される明
度信号L* を反転させ、図8(C)に示すデジタル信号
35、35をKデータにするとともに、YMC成分を0
に変換する。従って、原稿は白黒であるので、色補正部
4ではL* 信号を反転したKデータと、YMCについて
は0(濃度0は、白を意味する)となるように色補正し
て出力する。
The second color correction unit 4 converts the input lightness signal L * , hue signal H * , and saturation signal C * into a toner data format suitable for the image output device 8, and converts the KYMC
Is converted to toner data. Various methods are also widely known for the color correction unit 4 and are not the gist of the present invention, so that detailed description thereof will be omitted. In this embodiment, since the original image is a black-and-white image, the brightness signal L * input to the color correction unit 4 is inverted to operate the copier in the black-and-white mode, as shown in FIG. The digital signals 35 and 35 are converted to K data, and the YMC component is set to 0.
Convert to Therefore, since the original is black and white, the color correction unit 4 performs color correction so that K data obtained by inverting the L * signal and YMC become 0 (density 0 means white) and outputs the result.

【0010】5はパレット部で、背景色を生成する色デ
ータをKYMCのデータ形式で予め設定してある。6は
編集領域発生部であり、前述した特開平2−27717
4号公報に開示されているように、ビットマップ・メモ
リを持てば自由な形状の領域を発生出来、又は、水平画
素数、垂直画素数のカウンタを用いて、矩形の指定領域
を設定する。7はデータ合成部で、2値化部3の出力
と、編集領域発生部6の出力とを入力され、色補正部4
から入力される読み取り画像データと、5のパレットの
色データとを切り換えて合成、出力する部分で、以下に
述べるように合成されて画像出力装置8に出力され、用
紙上に印字される。
Reference numeral 5 denotes a palette section in which color data for generating a background color is set in advance in the KYMC data format. Reference numeral 6 denotes an editing area generating unit, which is described in Japanese Patent Laid-Open No. 2-27717.
As disclosed in Japanese Patent Application Laid-Open No. 4 (1999) -2004, a free-form area can be generated by having a bitmap memory, or a rectangular designated area is set using a counter of the number of horizontal pixels and the number of vertical pixels. Reference numeral 7 denotes a data synthesizing unit which receives the output of the binarizing unit 3 and the output of the editing area generating unit 6 and
The image data is read from the input image data and the color data of the five palettes are switched and combined and output. The combined data is output to the image output device 8 as described below, and is printed on paper.

【0011】図2にブロックにて示されるデータ合成部
7の構成と、機能とを図3に示す色付け論理切換表を参
照して説明する。編集領域発生部6からの指定領域外を
示す信号が入力されると、セレクター73は端子Dに切
り換えられ、2値化手段3の判別結果に関係なく、色補
正部4からの画像データK0 、Y0 、M0 、C0 を端子
Dを介してそのまま出力する。編集領域内を示す信号が
入力されると、セレクター73は端子Cに切り換えら
れ、加算器71の出力と、パレット5のセレクター7
2、72、72の出力YMCとをセレクター73を介し
て出力する。加算器71は、2値化部3の判定結果に関
係なく、色補正部4から入力される画像データと、パレ
ット5のK出力とを加算して出力する。各セレクター7
2は2値化部3の背景部判定信号を入力されると、各セ
レクター72は端子Bに切り換えられ、パレット5のY
MCデータを出力し、また、文字部判定信号を入力され
ると、各セレクター72は端子Aに切り換えられ、端子
Aの0信号(0はYMC=0を示し、完全な白を意味す
る)を出力するよう構成されている。
The configuration and function of the data synthesizing section 7 shown by blocks in FIG. 2 will be described with reference to a coloring logic switching table shown in FIG. When a signal indicating outside the designated area is input from the editing area generating section 6, the selector 73 is switched to the terminal D, and the image data K 0 from the color correcting section 4 is independent of the determination result of the binarizing means 3. , Y 0 , M 0 , and C 0 are output as they are via the terminal D. When a signal indicating the inside of the editing area is input, the selector 73 is switched to the terminal C, and the output of the adder 71 and the selector 7 of the pallet 5 are output.
The outputs YMC of 2, 72 and 72 are output via a selector 73. The adder 71 adds and outputs the image data input from the color correction unit 4 and the K output of the pallet 5 irrespective of the determination result of the binarization unit 3. Each selector 7
2 receives the background part determination signal of the binarization unit 3 and switches each selector 72 to the terminal B, and the Y of the pallet 5
When the MC data is output and the character portion determination signal is input, each selector 72 is switched to the terminal A, and the 0 signal of the terminal A (0 indicates YMC = 0, meaning completely white) is output. It is configured to output.

【0012】次に、切換論理を、図3の切換表に基づい
て説明する。入力された原稿画像データが編集領域発生
部6により編集領域内にあると判定されると、セレクタ
ー73は端子Cに切り換えられ、黒処理時には、2値化
部3の出力結果に関係なく、常に色補正部4の出力であ
る画像データと、パレット5のKとを取り込んで加算器
71で加算する。即ち、(1)画像データの文字データ
が入力されない場合には、色補正部4からの殆ど0の地
肌部を示す画像データと、パレット5のKとが加算さ
れ、(2)画像データの文字データが入力されると、画
像データのKと、パレット5のKとを加算する。即ち、
(パレット5のK)+(画像データのK)の加算信号
が、セレクター73の端子Cを介して出力される。ま
た、(3)編集領域発生部6の出力が「編集領域外部」
を示している場合には、セレクター73は端子Dに切り
換えられるため、2値化部3の出力結果に関係なく、色
補正部4の出力である画像データK0 、Y0 、M0 、C
0 をそのまま順次出力する。
Next, the switching logic will be described with reference to the switching table shown in FIG. If the input document image data is determined to be within the editing area by the editing area generating unit 6, the selector 73 is switched to the terminal C, and always performs black processing irrespective of the output result of the binarizing unit 3. The image data output from the color correction unit 4 and the K of the pallet 5 are fetched and added by the adder 71. That is, (1) when the character data of the image data is not input, the image data indicating the substantially zero background portion from the color correction unit 4 and the K of the palette 5 are added, and (2) the character of the image data When the data is input, K of the image data and K of the pallet 5 are added. That is,
An addition signal of (K of pallet 5) + (K of image data) is output via the terminal C of the selector 73. (3) The output of the editing area generating section 6 is "outside the editing area".
Is displayed, the selector 73 is switched to the terminal D, so that the image data K 0 , Y 0 , M 0 , C which are the outputs of the color correction unit 4 are output regardless of the output result of the binarization unit 3.
0 is sequentially output as it is.

【0013】黒以外処理時には、(4)編集領域発生部
6の出力が「編集領域内部」を示している場合で、2値
化部3の出力が「背景部」を示している時は、セレクタ
ー73は端子Cに切り換えられるとともに、各セレクタ
ー72は端子Bに切り換えられ、パレット5のYMCを
順次取り込んでセレクター72、73を介して出力さ
れ、また、(5)2値化部3の出力が文字部を示してい
る時は、各セレクター72は端子Aに切り換えられ、端
子Aの0を順次出力する。
At the time of processing other than black, (4) when the output of the editing area generating section 6 indicates "inside the editing area", and when the output of the binarizing section 3 indicates "background section", The selector 73 is switched to the terminal C, and each selector 72 is switched to the terminal B. The selector 72 sequentially takes in the YMC of the pallet 5 and outputs it through the selectors 72 and 73. (5) The output of the binarizing section 3 Indicates a character portion, each selector 72 is switched to the terminal A and sequentially outputs 0 of the terminal A.

【0014】このように構成した画像処理装置の作用
を、図5に示すフローチャートを参照して説明する。画
像入力装置1により白黒原稿画像を走査して読み取った
R、G、B信号を色補正部2に入力し、色補正部2によ
り明度信号L* 、色相信号H*、彩度信号C* に変換し
て出力し(ステップS1)、これを色補正部4に入力す
る一方、明度信号L* を2値化部3に入力する。2値化
部3では、明度信号L*を2値化処理した文字・背景部
判別信号をデータ合成部7に入力する。また、明度信号
* 、色相信号H* 、彩度信号C* を入力された色補正
部4は、これらの信号を文字データについてはK信号
に、それ以外のデータの白地肌部についてはYMC=0
のトナー・データに変換する(ステップS2)。
The operation of the thus configured image processing apparatus will be described with reference to the flowchart shown in FIG. The R, G, and B signals obtained by scanning and reading a black-and-white original image by the image input device 1 are input to the color correction unit 2, and the color correction unit 2 converts the signals into a lightness signal L * , a hue signal H * , and a saturation signal C * . The data is converted and output (step S1), and is input to the color correction unit 4, while the brightness signal L * is input to the binarization unit 3. The binarizing unit 3 inputs a character / background part discrimination signal obtained by binarizing the brightness signal L * to the data synthesizing unit 7. The color correction unit 4 to which the lightness signal L * , the hue signal H * , and the saturation signal C * have been input, converts these signals into K signals for character data, and YMC for white data of other data. = 0
(Step S2).

【0015】そして、データ合成部7では、黒処理する
時には(ステップS3)、色補正部4から原稿画像デー
タを入力されるが、編集領域発生部6の信号が編集領域
内を示していない場合には(ステップS4)、セレクタ
ー73が端子Dに切り換えられ、2値化手段3の出力結
果に関係なく、色補正部4から送出された原稿の画像デ
ータK0 、Y0 、M0 、C0 をそのまま順次出力する
(ステップS6)。そして、ステップS4で編集領域内
と判定されると、セレクター73は端子Cに切り換えら
れ、データ合成部7では、画像データの文字部を示すデ
ータが入力されていない場合は、色補正部4からの殆ど
0の地肌部を示す画像データが送出されているため、2
値化部3の出力結果に関係なく、パレット5からのK
と、入力された画像データYMC=0とを加算器71に
て加算し、図4(A)に示すように、背景色の一部をな
すK成分13として、パレット5のKのみが出力される
(ステップS5)。そして、色補正部4から画像データ
の文字部を示す文字データKが入力されると、2値化部
3の出力結果に関係なく、色補正部4から送出される画
像データのKと、パレット5のKデータとを加算器71
にて加算し、図4(A)に示すように、背景色のK成分
13に画像データK成分を加算した文字データ11が出
力される(ステップS5)。
When performing black processing (step S3), the data synthesizing unit 7 receives the original image data from the color correcting unit 4, but when the signal of the editing area generating unit 6 does not indicate the inside of the editing area. (Step S4), the selector 73 is switched to the terminal D, and the image data K 0 , Y 0 , M 0 , C of the original sent from the color correction section 4 regardless of the output result of the binarization means 3. 0 is sequentially output as it is (step S6). Then, if it is determined in step S4 that the image data is within the editing area, the selector 73 is switched to the terminal C. In the data synthesizing unit 7, if the data indicating the character portion of the image data is not input, the color synthesizing unit 4 Since image data indicating the background portion of almost 0 is transmitted,
Regardless of the output result of the value conversion unit 3, K
And the input image data YMC = 0 are added by an adder 71, and as shown in FIG. 4A, only K of the pallet 5 is output as a K component 13 forming a part of the background color. (Step S5). When the character data K indicating the character part of the image data is input from the color correction unit 4, regardless of the output result of the binarization unit 3, the K of the image data transmitted from the color correction unit 4 and the palette 5 and the K data of adder 71
Then, as shown in FIG. 4A, the character data 11 obtained by adding the image data K component to the background color K component 13 is output (step S5).

【0016】ステップS7に示す黒以外の処理のモード
では、色補正部4から読み出される画像データは編集領
域内であると判定されない場合には(ステップS8)、
ステップS6と同様に、セレクター73が端子Dに切り
換えられ、色補正部4から入力される画像データK0
0 、M0 、C0 をそのまま順次出力する(ステップS
12)。ステップS8で編集領域内と判定されると、セ
レクター73は端子Cに切り換えられ、2値化部3から
背景部を示す判定信号が入力されて背景部と判定される
と(ステップS9)、各セレクター72は端子Bに切り
換えられ、パレット5から取り込んだ、図4(A)に示
す背景色の一部をなすYMC信号12がセレクター7
2、73を介して順次出力される(ステップS10)。
そして、2値化部3から文字部を示す判定信号が入力さ
れると、ステップS9で背景部でないと判定され、各セ
レクター72は端子Aに切り換えられ、これにより、各
セレクター72の端子Aからの信号YMC=0が取り込
まれ(ステップS11)、これにより、図4(A)に示
すように、文字部には背景色信号が重畳されないことと
なる。このようにして合成されたKYMCの色データは
データ合成部7から出力され(ステップS13)、画像
出力装置8に入力され、印字される。
In the mode of processing other than black in step S7, if the image data read from the color correction unit 4 is not determined to be within the editing area (step S8),
As in step S6, the selector 73 is switched to the terminal D, and the image data K 0 input from the color correction unit 4,
Y 0 , M 0 , and C 0 are sequentially output as they are (step S
12). If it is determined in step S8 that the area is within the editing area, the selector 73 is switched to the terminal C, and a determination signal indicating a background section is input from the binarization section 3 and determined to be a background section (step S9). The selector 72 is switched to the terminal B, and the YMC signal 12 fetched from the pallet 5 and forming a part of the background color shown in FIG.
The data is sequentially output via the second and the second 73 (step S10).
Then, when a determination signal indicating a character portion is input from the binarization unit 3, it is determined in step S9 that the character is not the background portion, and each selector 72 is switched to the terminal A. (Step S11), whereby the background color signal is not superimposed on the character portion as shown in FIG. 4 (A). The KYMC color data thus synthesized is output from the data synthesis unit 7 (step S13), input to the image output device 8, and printed.

【0017】このようにして色付け処理されると、図4
(A)に示すように、編集領域内の背景部には背景色の
Kデータ13が出力され、文字データ部には、この背景
色Kデータ13に画像データのKデータ11を加算した
データが出力され、さらに、背景部にはYMC12が出
力され、、背景色はKYMCの4色により色付けされる
こととなり、文字部には何ら背景色が重畳されていな
い。また、図4(A)に示す画像データに従来の細り文
字データ39、39を重畳した図4(B)の信号対比図
から明らかなように、文字部には細りの無い信号が形成
され、さらに、文字部には背景色が重畳されていないた
め、濁りが発生することがない。
When the coloring process is performed as described above, FIG.
As shown in (A), K data 13 of the background color is output to the background portion in the editing area, and data obtained by adding the K data 11 of the image data to the background color K data 13 is output to the character data portion. YMC12 is output to the background portion, and the background color is colored by four colors of KYMC. No background color is superimposed on the character portion. As is apparent from the signal comparison diagram of FIG. 4B in which conventional thin character data 39 and 39 are superimposed on the image data shown in FIG. 4A, a thin signal is formed in the character portion. Further, since no background color is superimposed on the character portion, no turbidity occurs.

【0018】また、本発明のデータ合成部7は、従来の
ように、背景色のKと、画像データのKとを切換えて出
力する方式ではなく、加算出力する方式であるため、パ
レットのKと、画像データのKとの取り出し制御系が簡
単となる。即ち、図6に示すように、背景部の黒データ
13の出力に続いて、文字部に画像データの黒データK
11を出力する場合には、領域T以外で、背景部におい
ては、画像データのK11を取り込まずにパレットのK
13だけを取り込み、文字部においては、パレットのK
13を取り込まずに画像データのK11を取り込むため
に、何れか一方だけを出力させればよいが、パレットの
Kと、画像データのKとを同時に取り込む領域Tでは、
例えば、実線KP で示すようにパレットのKを取り込む
一方で、点線で示す画像データのKI を同時的に取り込
むため、パレットと画像データとを交互に取り込み、一
方向のデータに揃えて出力するセレクターに対し、複雑
な切り換え制御を行うことが必要になるが、本発明によ
る画像データK11と、パレットのK13との加算、取
り出し方式によれば、両者のKを加算して出力するだけ
でよく、このため、セレクターを設け、これに複雑な切
換制御系を設ける必要がない。
Since the data synthesizing unit 7 of the present invention is not a system for switching and outputting the background color K and the image data K as in the prior art, it is a system for adding and outputting. And the control system for taking out the image data K is simplified. That is, as shown in FIG. 6, following the output of the black data 13 of the background portion, the black data K of the image data is added to the character portion.
11 is output, in the background area other than the area T, the K11 of the pallet is input without taking in the K11 of the image data.
13 only, and in the character part, the K
In order to capture the image data K11 without capturing the image data 13, only one of them may be output. However, in the area T for simultaneously capturing the palette K and the image data K,
For example, while capturing K of the pallet as shown by the solid line K P, to capture K I of the image data indicated by the dotted lines simultaneously captures the palette and image data are alternately aligned in one direction of the data output Although it is necessary to perform complicated switching control for the selector that performs the addition, according to the addition and extraction method of the image data K11 and the pallet K13 according to the present invention, it is only necessary to add and output both Ks. Often, there is no need to provide a selector and a complicated switching control system.

【0019】なお、本実施例では、画像処理装置の2値
化データとしてL* (明度信号)を用いているが、これ
に限定されるわけではなく、RGB信号の何れかを適宜
選択して用いることも出来る。さらに、本発明は複写機
に限定されることなく、プリンタにも適用される他、ア
ナログ式のものにも適用可能である。
In this embodiment, L * (brightness signal) is used as the binarized data of the image processing apparatus. However, the present invention is not limited to this, and any one of the RGB signals is appropriately selected. Can also be used. Further, the present invention is not limited to a copying machine, and can be applied not only to a printer but also to an analog type.

【0020】[0020]

【発明の効果】以上述べたように本発明によれば、白黒
画像の編集領域の背景部に色づけ編集を行う場合に、デ
ータ合成手段は、黒処理時には、2値化手段の文字・背
景部の判別結果に関係なく、編集領域中の画像データ
と、背景色設定手段の黒データとを加算して出力するよ
う構成してあるため、細りが無く、かすれの無い文字デ
ータを出力することが出来、また、黒以外処理時には、
編集領域中の背景部のみに背景色設定手段から黒以外の
背景色データを出力するよう構成してあるので、背景部
にのみ色付け処理され、文字部には色付け処理されない
ため、文字部に濁りが発生することがなく、高品位の画
像データを出力することが出来る。
As described above, according to the present invention, when performing color-editing on the background portion of the editing area of a black-and-white image, the data synthesizing means uses the character / background portion of the binarizing means at the time of black processing. Irrespective of the determination result, the image data in the editing area and the black data of the background color setting means are configured to be added and output, so that character data without thinning and without blurring can be output. When processing other than black,
Since the background color data other than black is output from the background color setting means only to the background portion in the editing area, only the background portion is colored, and the character portion is not colored. Does not occur, and high-quality image data can be output.

【0021】さらに、黒処理時には、2値化手段の出力
結果に関係なく、画像データと、背景色設定手段の黒デ
ータとを加算して出力するよう構成してあるため、画像
データと、背景色設定手段の黒データとを切り換えて出
力する必要がなく、従って、切換え手段とその複雑な制
御系が不要となり、データ合成部を簡単化することが出
来る。
Further, at the time of black processing, the image data and the black data of the background color setting means are added and output irrespective of the output result of the binarizing means. There is no need to switch and output the black data of the color setting means. Therefore, the switching means and its complicated control system become unnecessary, and the data synthesizing section can be simplified.

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

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

【図2】 本発明の画像処理装置におけるデータ合成部
のブロック図である。
FIG. 2 is a block diagram of a data synthesizing unit in the image processing apparatus according to the present invention.

【図3】 本発明の画像処理装置におけるデータ合成部
の色付け論理切換表である。
FIG. 3 is a coloring logic switching table of a data synthesizing unit in the image processing apparatus of the present invention.

【図4】 (A)は本発明のデータ合成部から出力され
る画像データの文字部と、背景部とに対する色付け状態
説明図、(B)は図4(A)に示される画像データと、
従来の図10(C)に示す文字データとを重畳して示す
対比図である。
4A is a diagram illustrating a coloring state of a character portion and a background portion of image data output from a data combining unit according to the present invention, and FIG. 4B is a diagram illustrating image data shown in FIG.
FIG. 11 is a comparison diagram showing the character data shown in FIG.

【図5】 本実施例による色づけ処理を実行するフロー
チャートである。
FIG. 5 is a flowchart for executing a coloring process according to the embodiment.

【図6】 画像データのKと、パレットの背景色のKと
を切り換えて出力させる従来の取り込み方式において、
その切換領域TにおけるパレットのKと、画像データの
Kとの切換え、取り込み態様を模式的に説明する図であ
る。
FIG. 6 shows a conventional capture method for switching and outputting K of image data and K of a background color of a palette.
FIG. 7 is a diagram schematically illustrating a switching and capturing mode between the pallet K and the image data K in the switching area T.

【図7】 (A)は文字データが描かれている原稿を示
す図、(B)は原稿の背景領域に色付けした状態を示す
図である。
FIG. 7A is a diagram showing a document on which character data is drawn, and FIG. 7B is a diagram showing a state where a background area of the document is colored.

【図8】 従来の色付け処理の過程を示し、(A)は原
稿を走査する状況を示す図、(B)は走査により形成さ
れる原稿画像データの背景部、文字部を示す図、(C)
はイメージ・スキャナーから出力される画像データと、
設定された閾値とを示す図である。
8A and 8B show a process of a conventional coloring process, in which FIG. 8A shows a state of scanning a document, FIG. 8B shows a background portion and a character portion of document image data formed by scanning, and FIG. )
Is the image data output from the image scanner,
It is a figure showing a set threshold.

【図9】 (A)は従来のデータ合成部の色付け論理切
換表、(B)は前記(A)の論理切換により、文字部と
背景部とに対し一様に色付けした状態を示す説明図であ
る。
9A is an explanatory diagram showing a state in which a character portion and a background portion are uniformly colored by the logic switching of the above-described (A), FIG. It is.

【図10】 (A)は従来のデータ合成部の別の論理切
換表、(B)は閾値に基づいて形成された背景・文字部
の判別信号を示す図、(C)は前記(A)の論理切換に
より、細りが形成された文字部の背景部に対する色付け
説明図である。
FIG. 10A is another logical switching table of a conventional data synthesizing unit, FIG. 10B is a diagram showing a background / character part discrimination signal formed based on a threshold, and FIG. FIG. 7 is an explanatory diagram for coloring a background portion of a character portion in which thinning is formed by logical switching of FIG.

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

1 画像入力装置、2 RGB信号を明度、色相、彩度
信号に変換する第1の色補正部、3 明度信号の2値化
部、4 明度、色相、彩度信号をトナー・データに変換
する第2の色補正部、5 トナー・データが予め設定さ
れているパレット、6 原稿の文字データの背景を色付
けする領域信号を発生する編集領域発生部、7 2値化
部からの信号、及び編集領域発生部からの信号を入力さ
れ、画像データと、パレットの信号とを切り換えて出力
するデータ合成部、8 画像出力装置、11 文字部デ
ータ(黒)、12 背景部データ(パレットのYMC成
分)、13 背景部データ(パレットの黒成分)、39
従来方式により形成された文字データ。
1 image input device, 2 first color correction unit for converting RGB signals into lightness, hue, and saturation signals, 3 binarization unit for lightness signals, 4 conversion of lightness, hue, and saturation signals into toner data A second color correction section, a palette in which toner data is set in advance, an editing area generation section for generating an area signal for coloring the background of character data of the original, a signal from the binarization section, and editing. A data synthesizing unit which receives a signal from the area generating unit and switches and outputs image data and a palette signal, 8 image output devices, 11 character data (black), 12 background data (YMC component of the palette) , 13 background part data (black component of palette), 39
Character data formed by the conventional method.

フロントページの続き (56)参考文献 特開 平1−200964(JP,A) 特開 平4−284246(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/38 - 1/393 H04N 1/46 - 1/64 G06T 1/00 - 1/40 G06T 3/00 - 5/50 G06T 9/00 - 9/40 G06T 11/60 - 11/80 Continuation of front page (56) References JP-A-1-200964 (JP, A) JP-A-4-284246 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) H04N 1 / 38-1/393 H04N 1/46-1/64 G06T 1/00-1/40 G06T 3/00-5/50 G06T 9/00-9/40 G06T 11/60-11/80

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像入力手段により読み取った画像信号
を、黒を含む複数色の色材信号に変換した画像データ
と、編集領域発生手段から出力される色付け領域指定信
号と、2値化手段から出力される画像データの文字・背
景部判別信号とをデータ合成手段に入力し、上記画像デ
ータと、背景色設定手段の背景色データとを取り込んで
上記画像データの色付け指定領域の背景部、及び文字部
を色編集し、カラー画像を出力する画像処理装置であっ
て、 上記データ合成手段は、白黒画像の領域指定された背景
部に色づけ編集を行う際、黒処理時には、上記2値化手
段の判定結果に関係なく、指定領域において画像データ
と、上記背景色設定手段の黒データとを取り込んで加算
して出力し、 黒以外処理時には、上記2値化手段の判定結果に基づい
て、背景部にのみ上記背景色設定手段の黒以外の背景色
データを出力して色編集することを特徴とする画像処理
装置。
1. An image signal obtained by converting an image signal read by an image input means into a color material signal of a plurality of colors including black, a coloring area designation signal output from an editing area generating means, and a The character / background part discrimination signal of the image data to be output is input to the data synthesizing means, and the image data and the background color data of the background color setting means are fetched, and the background part of the coloring designation area of the image data, and An image processing apparatus for color-editing a character portion and outputting a color image, wherein the data synthesizing means performs color-editing on a background portion of a black-and-white image whose area is specified, and performs the binarization means during black processing. Irrespective of the judgment result, the image data and the black data of the background color setting means are fetched and added and output in the designated area. At the time of processing other than black, based on the judgment result of the binarization means, The image processing apparatus characterized by color edit only outputs the background color data other than black of the background color setting means to the background portion.
JP24778893A 1993-10-04 1993-10-04 Image processing device Expired - Fee Related JP3225710B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24778893A JP3225710B2 (en) 1993-10-04 1993-10-04 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24778893A JP3225710B2 (en) 1993-10-04 1993-10-04 Image processing device

Publications (2)

Publication Number Publication Date
JPH07107264A JPH07107264A (en) 1995-04-21
JP3225710B2 true JP3225710B2 (en) 2001-11-05

Family

ID=17168664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24778893A Expired - Fee Related JP3225710B2 (en) 1993-10-04 1993-10-04 Image processing device

Country Status (1)

Country Link
JP (1) JP3225710B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100822225B1 (en) * 2007-01-05 2008-04-16 (주)넥스큐브 Method for preprocessing for coloring of black and white comics

Also Published As

Publication number Publication date
JPH07107264A (en) 1995-04-21

Similar Documents

Publication Publication Date Title
JP3256982B2 (en) Image processing device
US5459586A (en) Image processing system provided with image enchasing and synthesizing function
JP3178541B2 (en) Image processing method and apparatus
JPH077614A (en) Area editing system for picture processor
JPH0686061A (en) Area control system in picture processor
JP3333894B2 (en) Image processing device
JPH0646249A (en) Picture processor
US5760929A (en) Image processing apparatus for processing discriminated color regions within specified boundaries
US5321531A (en) Image processing apparatus capable of document discrimination
JP3225710B2 (en) Image processing device
JP3772610B2 (en) Image forming apparatus and control method thereof
JP2002044464A (en) Image processing method and apparatus
JPH06121146A (en) Picture processor
JP3226224B2 (en) Image processing device
JP2686258B2 (en) Image data processing device
JPH0541811A (en) Reproduction method for color picture and picture processor
JP2951972B2 (en) Image processing device
JP3079630B2 (en) Image processing device
JP3441001B2 (en) Image processing device
JP3143458B2 (en) Image processing device
JP2915503B2 (en) Image processing device
JP3077241B2 (en) Image processing device
JP3220812B2 (en) Image processing device
JPS62192862A (en) Color image processor
JPH0278374A (en) Color picture reader

Legal Events

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

Free format text: PAYMENT UNTIL: 20070831

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080831

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090831

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100831

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees