JP3147593B2 - Image processing device for color editing - Google Patents

Image processing device for color editing

Info

Publication number
JP3147593B2
JP3147593B2 JP14915593A JP14915593A JP3147593B2 JP 3147593 B2 JP3147593 B2 JP 3147593B2 JP 14915593 A JP14915593 A JP 14915593A JP 14915593 A JP14915593 A JP 14915593A JP 3147593 B2 JP3147593 B2 JP 3147593B2
Authority
JP
Japan
Prior art keywords
data
image
color
editing
signal
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
JP14915593A
Other languages
Japanese (ja)
Other versions
JPH0723244A (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 JP14915593A priority Critical patent/JP3147593B2/en
Publication of JPH0723244A publication Critical patent/JPH0723244A/en
Application granted granted Critical
Publication of JP3147593B2 publication Critical patent/JP3147593B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像データを「明度又
は濃度」「色相」「彩度」等の3成分のデータで処理
し、画像に色編集を加える画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for processing image data with three-component data such as "brightness or density", "hue", and "saturation" to perform color editing on an image.

【0002】[0002]

【従来の技術】画像データを「明度又は濃度」「色相」
「彩度」の3成分のデータで処理し画像に編集を加える
画像処理装置において、「明度又は濃度」信号を用いて
二値化信号を生成し、この二値化信号によって画像に色
編集を施す方法が知られている(特願平3ー10918
2号)。例えば、図3(a)に示す原稿に対して、二値
化信号が「1」(閾値以上)の場所に色づけをおこなえ
ば、図3(b)に示すように文字部への着色が可能にな
る。また、二値化信号が「0」(閾値未満)の場所に色
づけをおこなえば、図3(c)に示すように背景部への
着色が可能になる。
2. Description of the Related Art Image data is called "brightness or density" or "hue".
In an image processing apparatus for processing with three-component data of "saturation" and editing an image, a binary signal is generated using a "brightness or density" signal, and color editing is performed on the image by the binary signal. The application method is known (Japanese Patent Application No. 3-10918).
No. 2). For example, if the document shown in FIG. 3A is colored at a position where the binarized signal is “1” (above the threshold), the character portion can be colored as shown in FIG. 3B. become. Also, by coloring the place where the binarized signal is “0” (less than the threshold value), the background portion can be colored as shown in FIG.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、「明度
又は濃度」信号のみを使用して二値化信号を生成する場
合には、原稿が白黒の場合には問題がないが、カラー原
稿で特に黄色系の場合、濃度が低いために、「高明度
(低濃度)」「高彩度」データに対しては、常にデータ
が閾値以下になってしまい、色編集がうまく掛からない
といった不具合がある。
However, when a binary signal is generated using only the "brightness or density" signal, there is no problem when the original is black and white. In the case of the system, since the density is low, the data for the “high lightness (low density)” and “high chroma” data is always below the threshold value, and there is a problem that color editing is not performed well.

【0004】本発明は上記課題を解決するためになされ
たものであり、「明度又は濃度」信号の他に「彩度」信
号にも注目して、二値化をおこなうことにより、黄色系
の「低明度(低濃度)」「高彩度」データに対しても良
好に色編集することができる色編集用画像処理装置を提
供することを目的とする。
The present invention has been made in order to solve the above-mentioned problem, and focuses on a "chroma" signal in addition to a "brightness or density" signal, thereby performing a binarization to obtain a yellowish color. It is an object of the present invention to provide a color editing image processing apparatus capable of satisfactorily color-editing “low brightness (low density)” and “high saturation” data.

【0005】[0005]

【課題を解決するための手段】本発明は、画像入力装置
で読み込んだ画像データを、明度又は濃度、色相、彩度
等の3成分のデータに色補正した後、画像編集処理にお
いて、明度又は濃度と彩度データとに基づいて二値化処
理を行い、二値化データにより所定の領域に対して色編
集を行うことを特徴とするものであり、色編集処理した
画像データは、画像出力装置に適した色補正、例えばデ
ィスプレイであればR,G,B信号に、プリンタであれ
ばY,M,C信号に変換されて出力される。
According to the present invention, the image data read by the image input device is color-corrected into three-component data such as lightness or density, hue, and saturation. The binarization processing is performed based on the density and saturation data, and color editing is performed on a predetermined area using the binarization data. Color correction suitable for the device, for example, R, G, B signals for a display, and Y, M, C signals for a printer, are output.

【0006】[0006]

【作用】本発明は、明度又は濃度信号の他に彩度信号に
も注目し、これらのデータに基づいて二値化を行い、編
集領域に対して二値化データに応じて色編集を行うよう
にしたので、黄色系の低明度(低濃度)、高彩度データ
に対しても良好な二値化が可能となり、濃度が小さいた
めに編集がうまく掛からないといった不具合を回避する
ことができる。
The present invention focuses on the saturation signal in addition to the brightness or density signal, performs binarization based on these data, and performs color editing on the editing area according to the binarization data. As a result, good binarization of low-brightness (low-density) and high-saturation data of yellow can be achieved, and a problem that editing is not performed well due to low density can be avoided.

【0007】[0007]

【実施例】以下、図面を参照しながら実施例に基づいて
本発明の特徴を具体的に説明する。ここでの説明は明度
(L* と表記)、色相(H* と表記)、彩度(C* と表
記)を用いる。また、明度の量子化はL* =0の時「白
データ」を表し、L* の値が大きい場合に明度が低くな
っていくものとする。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The features of the present invention will be specifically described below based on embodiments with reference to the drawings. The description here uses lightness (denoted by L * ), hue (denoted by H * ), and saturation (denoted by C * ). In addition, it is assumed that the brightness quantization represents "white data" when L * = 0, and the brightness decreases when the value of L * is large.

【0008】(実施例1)図1において、1はカラー原
稿を入力し、R(赤)、G(緑)、B(青)のデータと
して出力する画像入力装置である。2は色補正部でR,
G,Bデータから明度信号L* 、色相信号H* と彩度信
号C* への変換を行う。色補正手段に付いては各種の方
式が知られており、本発明の本旨ではないため詳細な説
明は省略する。3は画像編集部であり、画像データは画
像編集部3で編集を施された後、色補正部4で画像出力
装置5に適した画像データに変換され、画像出力装置5
により出力される。例えば、画像出力装置5がディスプ
レイの場合には色補正部4でR,G,Bに変換され、画
像出力装置5がプリンタの場合には色補正部4でイエロ
ー(Y)、マゼンタ(M)、サイアン(C)等に変換さ
れる。
(Embodiment 1) In FIG. 1, reference numeral 1 denotes an image input device for inputting a color original and outputting it as R (red), G (green), and B (blue) data. 2 is a color correction unit for R,
The G and B data are converted into a lightness signal L * , a hue signal H *, and a saturation signal C * . Various methods are known for the color correcting means, and are not the gist of the present invention. Reference numeral 3 denotes an image editing unit. After the image data is edited by the image editing unit 3, the image data is converted by the color correction unit 4 into image data suitable for the image output device 5.
Is output by For example, when the image output device 5 is a display, it is converted into R, G, and B by the color correction unit 4, and when the image output device 5 is a printer, the color correction unit 4 converts the color into yellow (Y) and magenta (M). , Sian (C), etc.

【0009】画像編集部3を詳細に記述したものが、図
2である。画像編集部3に入力された明度(L* )、色
相(H* )、彩度(C* )のうちL* とC* が二値化回
路101に送られる。パレット102には編集を施す色
データを予め入力しておき、セレクタ103は二値化回
路101の出力と図示しない編集領域発生部から送られ
てくる編集領域信号により、画像データとパレット10
2の出力を切り替えることにより、画像データに編集を
施す事が可能となる。なお、編集領域発生部は、マーカ
ーにより領域指定する場合には、マーカーループやマー
カードットを読み取り、ビットマップメモリ上で塗りつ
ぶし処理、反転コピー処理等を行って編集領域信号を生
成するものである。
FIG. 2 illustrates the image editing unit 3 in detail. L * and C * among the lightness (L * ), hue (H * ), and saturation (C * ) input to the image editing unit 3 are sent to the binarization circuit 101. Color data to be edited is input to the palette 102 in advance, and the selector 103 uses the output of the binarizing circuit 101 and the edit area signal sent from the edit area generating unit (not shown) to output the image data and the palette 10.
By switching the output of No. 2, it becomes possible to edit the image data. When an area is designated by a marker, the editing area generating section reads a marker loop or a marker dot, and performs a painting process, a reverse copy process, and the like on a bitmap memory to generate an editing region signal.

【0010】ここで、二値化回路101は白からの色差
信号を閾値を用いて二値化することを特徴としている。
図4に二値化回路の詳細なブロック図を示す。メモリ2
01とメモリ202は二乗を計算するためのルックアッ
プテーブルとして使用している。すなわちL*、C*
アドレス入力とし、アドレスの二乗の値が出力されるよ
うにデータを設定する。メモリ201ではL* の二乗を
計算し、メモリ202ではC* の二乗を計算する。加算
器203ではメモリ201とメモリ202の出力を加算
する。コンパレータ205では加算器203の出力と閾
値レジスタ204の値を比較し、加算器203の出力が
閾値レジスタ204の設定値以上の場合に「1」を出力
する。つまり本実施例では、L* の二乗とC* の二乗の
和を、閾値を用いて二値化している。L* の二乗とC*
の二乗の和は白からの色差を表しているので、黄色等の
「低明度、高彩度」のデータも良好に二値化することが
可能となる。本実施例においてはL* の二乗およびC*
の二乗を個々にメモリを用いたルックアップテーブルに
より求めたが、ルックアップテーブルに替えて乗算器を
用いてもよい。また、L* およびC* をアドレスとして
* の二乗とC* の二乗との加算値を直接ルックアップ
テーブルで求めるようにしてもよい。
Here, the binarization circuit 101 is characterized in that the color difference signal from white is binarized using a threshold value.
FIG. 4 shows a detailed block diagram of the binarization circuit. Memory 2
01 and the memory 202 are used as a look-up table for calculating the square. That is, L * and C * are used as address inputs, and data is set so that a square value of the address is output. The memory 201 calculates the square of L * , and the memory 202 calculates the square of C * . The adder 203 adds the outputs of the memories 201 and 202. The comparator 205 compares the output of the adder 203 with the value of the threshold register 204, and outputs “1” when the output of the adder 203 is equal to or greater than the set value of the threshold register 204. That is, in the present embodiment, the sum of the square of L * and the square of C * is binarized using the threshold. The square of L * and C *
Since the sum of the squares represents the color difference from white, it is possible to satisfactorily binarize data of “low brightness, high saturation” such as yellow. In this embodiment, the square of L * and C *
Are individually obtained by a look-up table using a memory, but a multiplier may be used instead of the look-up table. Alternatively, the sum of the square of L * and the square of C * may be obtained directly from the look-up table using L * and C * as addresses.

【0011】(実施例2)実施例1で示した二値化回路
(図4)の代わりに、図5に示す二値化回路でも黄色等
の「低明度、高彩度」のデータも良好に二値化すること
が可能である。L* 、C* は加算器210により加算さ
れる。コンパレータ212では加算器210の出力が閾
値レジスタ211の設定以上の場合に二値化出力を
「1」とする。つまり本実施例では「明度信号」と「彩
度信号」の2つのデータの和を求め閾値により二値化し
ていることになる。
(Embodiment 2) Instead of the binarization circuit shown in Embodiment 1 (FIG. 4), the binarization circuit shown in FIG. It can be quantified. L * and C * are added by the adder 210. The comparator 212 sets the binarized output to “1” when the output of the adder 210 is equal to or greater than the setting of the threshold register 211. That is, in this embodiment, the sum of the two data of the “brightness signal” and the “saturation signal” is obtained and binarized by the threshold.

【0012】(実施例3)別の二値化の実施例を図6に
示す。比較部230ではL* 、C* の値を比較し、大き
い方のデータを出力する。コンパレータ232では比較
部230の出力が閾値レジスタ231の設定値以上の場
合に二値化出力を「1」とする。つまり本実施例では
「明度信号」と「彩度信号」の2つのデータの大きいほ
うのデータを求め閾値により二値化している。
(Embodiment 3) Another embodiment of binarization is shown in FIG. The comparison unit 230 compares the values of L * and C * and outputs the larger data. The comparator 232 sets the binarized output to “1” when the output of the comparator 230 is equal to or greater than the set value of the threshold register 231. That is, in the present embodiment, the larger of the two data of the “brightness signal” and the “saturation signal” is obtained and binarized by the threshold.

【0013】(実施例4)別の二値化の実施例を図7に
示す。コンパレータ242はL* の値が閾値レジスタ2
40の設定値以上の場合に「1」を出力する。また、コ
ンパレータ243はC* の値が閾値レジスタ241の設
定値以上の場合に「1」を出力する。OR回路244で
はコンパレータ242出力とコンパレータ243出力の
論理和をとり、OR回路244の出力が二値化出力とな
る。つまり本実施例では「明度信号」と「彩度信号」の
2つのデータを各々異なる閾値により二値化し、それぞ
れの二値化信号の論理和をとり全体の二値化信号として
いる。
(Embodiment 4) Another embodiment of binarization is shown in FIG. The comparator 242 sets the value of L * to the threshold register 2
If the value is equal to or greater than the set value of 40, “1” is output. The comparator 243 outputs “1” when the value of C * is equal to or more than the set value of the threshold register 241. The OR circuit 244 calculates the logical sum of the output of the comparator 242 and the output of the comparator 243, and the output of the OR circuit 244 becomes a binary output. That is, in the present embodiment, two data of the "brightness signal" and the "saturation signal" are binarized by different threshold values, and the respective binarized signals are ORed to obtain the entire binarized signal.

【0014】(実施例5)別の二値化の実施例を図8に
示す。OR回路250ではL* 、C* の各々の最上位ビ
ットの論理和をとっている。また、OR回路251では
* 、C* の各々の最下位ビットより1ビット上位のビ
ットの論理和をとっており、OR回路ではL* 、C*
各々の最下位ビットの論理和をとっている。また図示さ
れていないOR回路によりL* とC* の各々対応するビ
ットのデータの論理和をとり、OR回路250の出力を
最上位ビットとし、OR回路252の出力を最下位ビッ
トとして、コンパレータ254ではOR回路出力信号が
閾値レジスタ253の設定値以上の場合に二値化出力を
「1」とする。つまり本実施例では「明度信号」と「彩
度信号」の2つのデータの各ビットの論理和を求め閾値
により二値化している。
(Embodiment 5) FIG. 8 shows another embodiment of binarization. The OR circuit 250 calculates the logical sum of the most significant bits of L * and C * . Further, the OR circuit 251 L *, takes the logical sum of bits of one bit higher than the least significant bit of each of C *, taking L *, a logical sum of the least significant bits of each of C * is an OR circuit ing. The OR circuit (not shown) performs a logical OR operation on the data of the bits corresponding to L * and C * , and sets the output of the OR circuit 250 as the most significant bit and the output of the OR circuit 252 as the least significant bit. In the case where the OR circuit output signal is equal to or larger than the set value of the threshold register 253, the binarized output is set to "1". That is, in this embodiment, the logical sum of each bit of the two data of the “brightness signal” and the “saturation signal” is obtained and binarized by the threshold.

【0015】[0015]

【発明の効果】以上のように本発明によれば、画像デー
タを「明度又は濃度」、「色相」、「彩度」の3成分の
データで処理して画像に色編集を加える画像処理装置に
おいて、「明度又は濃度」と「彩度」データに注目して
二値化を行い、二値化データに応じて色編集を行うこと
により、黄色等の「低明度」「高彩度」のデータも良好
に二値化することが可能になる。
As described above, according to the present invention, an image processing apparatus for processing image data with three component data of "brightness or density", "hue" and "saturation" to perform color editing on an image. Attention is paid to the "brightness or density" and "saturation" data, and binarization is performed, and color editing is performed according to the binarization data, so that "low brightness" and "high saturation" data such as yellow can be obtained. Good binarization can be achieved.

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

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

【図2】 画像編集部ブロック図である。FIG. 2 is a block diagram of an image editing unit.

【図3】 画像編集の例を示す図である。FIG. 3 is a diagram illustrating an example of image editing.

【図4】 実施例1の二値化回路ブロック図である。FIG. 4 is a block diagram of a binarizing circuit according to the first embodiment;

【図5】 実施例2の二値化回路ブロック図である。FIG. 5 is a block diagram of a binarizing circuit according to a second embodiment.

【図6】 実施例3の二値化回路ブロック図である。FIG. 6 is a block diagram of a binarization circuit according to a third embodiment;

【図7】 実施例4の二値化回路ブロック図である。FIG. 7 is a block diagram of a binarizing circuit according to a fourth embodiment.

【図8】 実施例5の二値化回路ブロック図である。FIG. 8 is a block diagram of a binarizing circuit according to a fifth embodiment.

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

1…画像入力装置、2…色補正部、3…画像編集部、4
…色補正部、5…画像出力装置、101…2値化回路、
102…パレット、103…セレクタ、201,202
…メモリ、203…加算器、204,211,231,
240,241,253…閾値レジスタ、205,21
2,232,242,243,254…コンパレータ、
244,250,251,252…OR回路。
DESCRIPTION OF SYMBOLS 1 ... Image input device, 2 ... Color correction part, 3 ... Image editing part, 4
... color correction unit, 5 ... image output device, 101 ... binarization circuit,
102: palette, 103: selector, 201, 202
... memory, 203 ... adder, 204, 211, 231,
240, 241, 253... Threshold register, 205, 21
2,232,242,243,254 ... comparator,
244, 250, 251, 252... OR circuits.

フロントページの続き (56)参考文献 特開 平4−336869(JP,A) 特開 平3−191677(JP,A) 特開 平3−109182(JP,A) 特開 平2−295363(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/387,1/46,1/60 Continuation of the front page (56) References JP-A-4-336869 (JP, A) JP-A-3-191677 (JP, A) JP-A-3-109182 (JP, A) JP-A-2-295363 (JP) , A) (58) Field surveyed (Int. Cl. 7 , DB name) H04N 1 / 387,1 / 46,1 / 60

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像データを明度又は濃度、色相、彩度
の3成分のデータ、または同等の成分のデータで処理し
て画像に色編集を加える色編集用画像処理装置におい
て、 明度又は濃度と彩度データとに基づいて生成される被二
値化データと閾値とを比較し、二値化データを生成する
二値化データ生成手段と、 二値化データ生成手段で生成された二値化データに応じ
て色編集を行う色編集手段と、 を備えたことを特徴とする色編集用画像処理装置。
1. A color editing image processing apparatus for processing image data with data of three components of lightness or density, hue, and saturation, or data of equivalent components to perform color editing on an image. A binarized data generating means for comparing binarized data generated based on the saturation data with a threshold value to generate binarized data; and a binarized data generated by the binarized data generating means. An image processing apparatus for color editing, comprising: color editing means for performing color editing according to data.
【請求項2】 請求項1記載の装置において、前記二値
化データ生成手段は、白からの色差を求め、閾値との比
較により二値化データを生成することを特徴とする色編
集用画像処理装置。
2. The image for color editing according to claim 1, wherein said binarized data generating means obtains a color difference from white and generates binarized data by comparing with a threshold value. Processing equipment.
JP14915593A 1993-06-21 1993-06-21 Image processing device for color editing Expired - Fee Related JP3147593B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14915593A JP3147593B2 (en) 1993-06-21 1993-06-21 Image processing device for color editing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14915593A JP3147593B2 (en) 1993-06-21 1993-06-21 Image processing device for color editing

Publications (2)

Publication Number Publication Date
JPH0723244A JPH0723244A (en) 1995-01-24
JP3147593B2 true JP3147593B2 (en) 2001-03-19

Family

ID=15468996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14915593A Expired - Fee Related JP3147593B2 (en) 1993-06-21 1993-06-21 Image processing device for color editing

Country Status (1)

Country Link
JP (1) JP3147593B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001279304A1 (en) 2000-07-13 2002-01-30 Christopher J. Feola System and method for associating historical information with sensory data and distribution thereof
JP4777024B2 (en) * 2005-09-06 2011-09-21 キヤノン株式会社 Image processing apparatus and image processing apparatus control method

Also Published As

Publication number Publication date
JPH0723244A (en) 1995-01-24

Similar Documents

Publication Publication Date Title
US5786906A (en) Method and apparatus for processing image
EP0327107A2 (en) Method and processor for enhancing image sharpness for image reproduction with scanner
JP2906974B2 (en) Color image processing method and apparatus
US5552905A (en) Image processing apparatus which selects a type of color processing for color image data based on a characteristic of the color image data
US6499829B1 (en) Color image forming apparatus
JP3147593B2 (en) Image processing device for color editing
JP3360476B2 (en) Image processing method and apparatus
JPH07152904A (en) Image processor
US5805295A (en) Image processing apparatus and method for applying special image effects to output images
JP3153221B2 (en) Color image processing equipment
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them
JP3094810B2 (en) Color image processing equipment
JP2863947B2 (en) Color image processing method
JP2502957B2 (en) Image converter
JP2618893B2 (en) Color image processing equipment
JP3225710B2 (en) Image processing device
JP3337724B2 (en) Image processing apparatus and method
JPH1051654A (en) Image processor and its method
JP3448083B2 (en) Image signal processing device
KR960012596B1 (en) Apparatus for compensating chrominance by means of a luminance level
JP3015050B2 (en) Image processing method and apparatus
JP2000324346A (en) Image processor
JPH02228653A (en) Cutting device
JPS62154971A (en) Color image processing system
JP2003244456A (en) Color image processing method and color image processing apparatus

Legal Events

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