JP3658095B2 - Image processing apparatus and method - Google Patents
Image processing apparatus and method Download PDFInfo
- Publication number
- JP3658095B2 JP3658095B2 JP20349196A JP20349196A JP3658095B2 JP 3658095 B2 JP3658095 B2 JP 3658095B2 JP 20349196 A JP20349196 A JP 20349196A JP 20349196 A JP20349196 A JP 20349196A JP 3658095 B2 JP3658095 B2 JP 3658095B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- color data
- image
- signal
- conversion
- 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
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は画像処理装置およびその方法に関し、例えば、画像中の指定色を異なる指定色に変換する画像処理装置およびその方法に関するものである。
【0002】
【従来の技術】
現在のカラー複写機など画像処理装置には、オリジナル画像中の所望の色を判定し、他の色に置換える所謂「色変換」機能が搭載されている場合がある。この変換形式は、指定された「変換前の色」(「元の色」という場合がある)に基づく所定の判定式を満足する色範囲を、指定された「変換後の色」(「目標の色」という場合がある)で塗り潰す「濃淡無し変換」、あるいは判定式を満足する場合、その部分の濃度を保って色合いだけを「変換後の色」にする「濃淡あり変換」などがある。さらに、色相、彩度、明度を指標にしたHSL系で色を判定し、「変換前の色」に近い色ほど目標に近い色に置換えて、つなぎ目を自然に見せようとする方法も提案されている。
【0003】
【発明が解決しようとする課題】
しかし、上述した技術においては、次のような問題点がある。つまり、上記の色変換は、指定された色に近い(一定の距離範囲内にある)色を置換えるため、置換えするしないの境界に近い色の部分で色の不連続が生じ、不自然な画像になってしまう。また、スキャナで読込んだ画像は、異なる色の境目で色の滲みが生じている。このような画像を色変換する場合、その滲み部分が変換範囲から外れることが多く、色変換されたオブジェクトの端に元の色が残り、画質が劣化する。さらに、HSL系における色変換で境目を処理する場合、元の色と目標の色との色相が180度近く離れていると、虹のように色相が変化し、かえって不自然な色変化になる場合がある。
【0004】
本発明は、上述の問題を解決するためのものであり、自然な色変換結果を得ることができる画像処理装置およびその方法を提供することを目的とする。
【0005】
【課題を解決するための手段】
本発明は、前記の目的を達成する一手段として、以下の構成を備える。
【0006】
本発明の画像処理装置は、指定された第一の色データを指定された第二の色データに変換する画像処理装置であって、前記第一および第二の色データを記憶する記憶手段と、入力画像データと前記第一の色データの差分に応じた変換率を演算する演算手段と、前記入力画像データ中の、前記第一の色データおよび前記第一の色データに対してユーザが指定する所定範囲の差を有する色データを前記第二の色データに変換し、前記所定範囲の外の色データを前記変換率および前記第二の色データに応じた色データに変換する変換手段とを有することを特徴とする。
【0007】
本発明の画像処理方法は、指定された第一の色データを指定された第二の色データに変換する画像処理方法であって、入力画像データと前記第一の色データとの差分に応じた変換率を演算し、前記入力画像データ中の、前記第一の色データおよび前記第一の色データに対してユーザが指定する所定範囲の差を有する色データを前記第二の色データに変換し、前記所定範囲の外の色データを前記変換率および前記第二の色データに応じた色データに変換することを特徴とする。
【0008】
【発明の実施の形態】
以下、本発明にかかる一実施形態の画像処理装置を図面を参照して詳細に説明する。以下では、本発明をディジタルフルカラー複写機に適用する例を説明する。
【0009】
[画像信号の流れ]
図1は本実施形態のカラー複写機の画像信号の流れを示すブロック図である。
【0010】
CCD101から出力されたアナログ画像信号は、A/D変換器102でディジタル信号に変換されて、三色の光量を表すディジタル画像信号R0,G0,B0になり、さらに、公知のシェーディング補正回路103、入力マスキング回路104により、標準色空間の三色画像信号R,G,Bになる。
【0011】
これらの画像信号は、色空間圧縮回路105によりプリンタ112の色再現範囲に圧縮された後、光量/濃度変換回路(以下「LOG変換回路」という)106で、それぞれシアン,マゼンタ,イエローの濃度信号C0,M0,Y0に変換される。画像信号C0,M0,Y0は、UCR/出力マスキング回路107で積和演算されてトナー色、すなわりC,M,Y,Bk(ブラック)の四色記録濃度信号になる。
【0012】
次段の編集回路108は、通常処理の場合、四色記録濃度信号C,M,Y,Bkのうち現在プリンタ112が記録している色の信号(Xとする)をスルーで出力する。信号Xは、F値補正回路109,変倍/斜体回路110および空間フィルタ111を通ってプリンタ112へ出力される。一方、ペイントや色変換などの編集機能を編集回路108に設定すると、編集回路108はそれに応じて画像に編集を施した後、四色記録濃度信号C,M,Y,Bkのうち現在プリンタ112が記録している色の信号Xを出力する。
【0013】
また、領域生成回路113は、図示しないディジタイザなどにより画像中の一部領域が指定された場合、その部分にエリアコードを割当てた領域信号AREAを生成する。操作部114は、ユーザが「変換前の色」「変換後の色」および後述する「同一色とみなす範囲d」「グラデーションの変化率G」などを設定するためのものである。
【0014】
[編集回路]
図2は編集回路108の構成例を示すブロック図、図3は各領域ごとに生成される機能コードの構成例を示す図、図4は機能コードCODEと編集機能との対応関係の一例を示す図である。
【0015】
機能コードRAM201は、予め領域ごとに設定された編集機能に応じて、図3および図4に示すような13ビットの機能コードCODEをセットし、画像形成時に領域生成手段113により生成された領域信号AREAに対応して機能コードCODEを出力する。後述する各ブロックは、この機能コードCODEに基づき編集処理を実行する。
【0016】
合成比率生成部202は、機能コードCODEのビット1に従って、画像と色、または色と色を次式により演算して編集画像を生成する際の合成比率rを生成する。
x = (1 - r)×A + r×B …(1)
ただし、0 ≦ r ≦ 1
【0017】
図5は合成比率信号生成部202の詳細な構成例を示すブロック図で、グラデーション生成部401で段階的に変化する合成比率r0を生成する。グラデーションペイントなど合成比率を変化させる編集機能(機能コードCODEのビット1が‘1’の場合)においては、セレクタ402により、この合成比率r0がそのまま選択され出力される。なお、この例ではグラデーションパターンは一種類であるが、これに限定されるものではない。
【0018】
一方、カラーフィルタリングなど領域内の合成比率を固定してよい場合(機能コードCODEのビット1が‘0’の場合)は、セレクタ402により、色メモリ204に格納された合成比率が選択され出力される。なお、色メモリ204は、合成比率の他、色変換などの色差を利用した編集機能においては「変換前の色」を、また、グラデーションペイントでは「第二の色」を設定するのに利用される。一方、色メモリ205には、色変換においては領域ごとに「変換後の色」を、ペイントなどにおいては「指定色」が格納される。
【0019】
色差信号生成部203は、入力された四色画像信号Cin,Min,Yin,Bkinおよび変換前の色として領域ごとに指定され色メモリ204に格納されている色C1を比較して、二色の距離および予めユーザから指定されたグラデーションの変化率(傾き)に対応した、色差信号r1および濃度信号NDを生成する。
【0020】
セレクタ206は、入力画像信号,色メモリ204,色メモリ205からそれぞれ四色分の信号が入力され、それぞれ現在の形成色COLORに対応する一色に信号V,C1,C2を選択する。セレクタ207は、編集機能(機能コードCODEのビット3)に応じ、式(1)の演算に用いる合成パラメータとして、合成比率信号rまたは色差信号r1を選択し、信号R1として出力する。セレクタ208は、合成する画像の一方として、入力画像信号から選択された信号Vまたは指定色C1を選択する。合成回路209は、編集機能(機能コードCODEのビット4〜6)に応じ、濃度信号ND,セレクタ208の出力(合成する画像の一方),色メモリ205の指定色C2のうちから二者を選択して、式(1)の演算(画像合成)を実行する。
【0021】
二値化回路210は、ある程度以上の濃度をもつ画像を「文字信号」として生成するために濃度信号NDを二値化する。ビットマップメモリ211には、「文字加工」など文字信号を利用する編集機能が指定されると、プリスキャン時に二値化回路210で生成された文字信号CHRが書込まれる。文字加工回路212は、画像形成時にビットマップメモリ211から読出した文字信号CHRに基づき、輪郭信号および影信号を生成する。この生成にはライン遅延が必要になるので、ビットマップメモリ211からの読出しは、予め画像の読取開始より、そのライン遅延分早く開始する。
【0022】
文字編集回路213は、編集機能(機能コードCODEのビット7〜12)に応じ、入力画像信号Vをスルーする、あるいは、合成回路209で得られた合成画像または指定色C2と、文字加工回路212で生成された輪郭信号および影信号(またはその反転信号である背景信号)とを処理する。なお、文字色メモリ214には、領域ごとに文字,影,輪郭に付ける色が格納されている。
【0023】
[色変換処理]
次に、上記の編集回路108における色変換の一例を説明する。つまり、ユーザから「画像全面(AREA=0)において、変換前の色Aを変換後の色Bに変換する」という指示が入力された場合である。
【0024】
まず、色メモリ204のAREA=0に当るアドレスに色Aの成分Ac,Am,Ay,Akが書込まれ、色メモリ205のAREA=0に当るアドレスには色Bの成分Bc,Bm,By,Bkが書込まれる。
【0025】
図6は色差信号生成部203で生成される色差信号r1を説明する図で、横軸は入力画像信号値Xin(X=C, M, Y, Bk)とC1x(x=c, m, y, k)の差ΔCを、縦軸は色差信号r1を表している。差Δ C に対する色差信号r1は、同一色とみなす範囲dと、グラデーションの変化率(傾き)Gとで定義される関数(図に示す斜線)で決まる。この範囲dおよび傾きGは、例えば、図示しない操作部からユーザにより所望の値に設定されるものである。
【0026】
セレクタ207は、色差生成部203で生成された色差信号r1を選択し、合成回路209へ送る。セレクタ208は、合成対象として入力画像信号Vを選択し、合成回路209へ送る。合成回路209は、入力画像信号Vと色メモリ205からの変換後色C2を選択し、次式の演算を実行する。
X = (r1/255)・C2 + V・(1 - r1/255) …(2)
【0027】
ここで、r1=255は色メモリ204の内容(変換前の色)と画像信号Vの色が「一致している」ことを示し、このとき、合成回路209の出力Xは、色メモリ205の内容(変換後の色)と一致する。r1=0は、色メモリ204の内容と画像信号Vの色が「まったく異なる」ことを示し、出力Xは画像信号Vと一致する。
【0028】
この場合文字加工は行わないので、文字編集回路213は、合成回路209から出力された画像信号をスルーで出力する。
【0029】
このように、本実施形態による色変換処理は、入力画像信号と変換後の色との色差ΔCを求め、指定された変換前の色に近い(範囲dで指定される)色(|ΔC|<d)は変換後の色に置換えるとともに、置換えするしないの境界部分については、グラデーションの変化率Gに基づいて色差ΔCを変換したデータr1(変換率)に応じて、変換前の色を変換後の色に置換える。従って、変換前の色部分は変換後の色に置換えられるとともに、色の境界部はグラデーション状に色変換されるので、色の不連続が生じることはなく、自然な画像を得ることができる。
【0030】
同様に、スキャナで読込んだ画像などは、異なる色の境目で色の滲みが生じているが、このような画像を色変換する場合も、その滲み部分が変換範囲から外れることはなく、色変換されたオブジェクトの端に元の色が残り、画質が劣化することはない。
【0031】
さらに、HSL系における色変換で境目を処理する場合、元の色と目標の色との色相が180度近く離れていても、自然な画像を得ることができる。
【0032】
【他の実施形態】
なお、本発明は、複数の機器(例えばホストコンピュータ,インタフェイス機器,リーダ,プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機,ファクシミリ装置など)に適用してもよい。
【0033】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体としては、例えば、フロッピディスク,ハードディスク,光ディスク,光磁気ディスク,CD-ROM,CD-R,磁気テープ,不揮発性のメモリカード,ROMなどを用いることができる。
【0034】
また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOSなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0035】
さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0036】
上述した実施形態においては、色差の判定をCMYBk四色で行う例を説明したが、CMYBkに変換する前のRGB三色を元にして判定を行うこともできる。つまり、図7に一例を示すように、入力マスキング回路104の後段に色差信号生成回路701を設けて、RGB三色の信号と領域ごとに設定された変換後の色との色差ΔCを求め、得られたΔCから色差信号r1を求め、そのr1を編集回路108へ入力してもよい。このようにすれば、UCR/マスキング回路107から出力する画像信号は、形成中の色COLORに対応する一色分の画像信号X0と濃度信号NDだけでよいので、UCR/マスキング回路107の構成を簡略化することができる。
【0037】
また、上述した実施形態においては、同一色とみなす範囲dおよびグラデーションの変化率Gがユーザから指定される例を説明したが、画像の種類を自動的に判定し、その判定結果に応じて自動的に範囲dおよび変化率Gが設定されるようにしていもよい。例えば、文字原稿のように二値画像に近い原稿は、文字と背景の色が明確に異なることが多い。このような場合、画像読込時の色の滲みによるぼけなどを考慮し、変換残りが生じないように範囲dを広く設定する。また、ハーフトーン画像においては、指定された色自体がグラデーション状に変化するため、変換する色としない色との境目がはっきり見えないように、範囲dを狭くし、変わり目を緩やかにしてやる。
【0038】
また、色を判定する機能の応用とし、白黒原稿からカラーマーカで囲まれた領域を識別し、そのマーカの色に応じた編集を行う「マーカ編集指定」があるが、色差信号生成回路をマーカ編集指定と色変換に共用することも可能である。マーカ編集指定は、グラデーション処理が不要な代わりに、一度に複数色の判定を行う必要がある。図8はこの機能を実現する装置の構成例を示す図、図9は色差信号生成回路701の構成例を示す図である。
【0039】
セレクタ1002は、マーカ編集指定の場合、プリスキャン時に機能コードCODEのビット0に従って、コンパレータ群1003から出力される八色分の二値判定信号を選択する。選択された信号は、色差信号生成回路701から色差信号r1として出力され、領域信号生成回路114の各ビットプレーンへ入力される。また、画像形成時には、領域生成回路114が色判定結果に応じて生成した領域信号AREAを出力し、編集回路108はこの信号AREAに従って編集処理を行う。
【0040】
一方、本来の原稿画像には不要なマーカ画像を消すため、コンパレータ群1003の一つで「黒」を検出するように設定し、この信号を反転することにより「黒以外」を示す信号を生成する。そして、この「黒以外」を示す信号に基づいて、編集回路108により原稿画像中の黒以外の部分を「白」に置換える。
【0041】
以上説明したように、画像中の任意の色を、異なる任意の色に変換する色変換機能を有する画像処理装置において、色変換の対象になる色およびその周辺の色をグラデーション状に変化させることにより、不自然な色の切替わりを防いで、良好な画質の処理画像を得ることができる。
【0042】
【発明の効果】
以上説明したように、本発明によれば、自然な色変換結果を得る画像処理装置およびその方法を提供することができる。
【図面の簡単な説明】
【図1】本実施形態のカラー複写機の画像信号の流れを示すブロック図、
【図2】図1に示す編集回路の構成例を示すブロック図、
【図3】各領域ごとに生成される機能コードの構成例を示す図、
【図4】機能コードCODEと編集機能との対応関係の一例を示す図、
【図5】図2に示す合成比率信号生成部の詳細な構成例を示すブロック図、
【図6】図2に示す色差信号生成部で生成される色差信号r1を説明する図、
【図7】他の実施形態のカラー複写機の構成例を示すブロック図、
【図8】他の実施形態のカラー複写機の第二例を示すブロック図、
【図9】図8に示す色差信号生成回路の構成例を示す図である。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus and method, and more particularly, to an image processing apparatus and method for converting a designated color in an image into a different designated color.
[0002]
[Prior art]
Some image processing apparatuses such as current color copying machines have a so-called “color conversion” function that determines a desired color in an original image and replaces it with another color. In this conversion format, a color range that satisfies a predetermined judgment formula based on a specified “color before conversion” (sometimes referred to as “original color”) is converted to a specified “color after conversion” (“target color”). "Contrast with no shading" that fills in with a "color", or "Conversion with shading" to maintain the density of that part and change the color to "the color after conversion" if the judgment formula is satisfied is there. In addition, a method has been proposed in which colors are judged using the HSL system with hue, saturation, and lightness as indices, and colors closer to the target are replaced with colors closer to the `` color before conversion '' to make the joint look natural. ing.
[0003]
[Problems to be solved by the invention]
However, the above-described technique has the following problems. In other words, the above color conversion replaces a color that is close to the specified color (within a certain distance range), so that color discontinuity occurs in the color portion close to the boundary that is not replaced, which is unnatural. It becomes an image. Further, the image read by the scanner has a color blur at the boundary between different colors. When such an image is color-converted, the blurred portion is often out of the conversion range, the original color remains at the end of the color-converted object, and the image quality deteriorates. Furthermore, when the boundary is processed by color conversion in the HSL system, if the hue between the original color and the target color is about 180 degrees apart, the hue changes like a rainbow, which results in an unnatural color change. There is a case.
[0004]
SUMMARY An advantage of some aspects of the invention is that it provides an image processing apparatus and method capable of obtaining a natural color conversion result.
[0005]
[Means for Solving the Problems]
The present invention has the following configuration as one means for achieving the above object.
[0006]
An image processing apparatus according to the present invention is an image processing apparatus that converts designated first color data into designated second color data, and storage means for storing the first and second color data. A calculation means for calculating a conversion rate according to a difference between the input image data and the first color data; and a user for the first color data and the first color data in the input image data. converting the color data having a difference in a predetermined range specified in the second color data, the predetermined range of outer the conversion the color data of and said second converting means for converting the color data corresponding to color data It is characterized by having .
[0007]
An image processing method according to the present invention is an image processing method for converting designated first color data into designated second color data, according to a difference between input image data and the first color data. and the conversion rate is calculated, in the input image data, color data having a difference in a predetermined range designated by the user with respect to the first color data and said first color data into said second color data And converting the color data outside the predetermined range into color data corresponding to the conversion rate and the second color data .
[0008]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings. In the following, an example in which the present invention is applied to a digital full-color copying machine will be described.
[0009]
[Image signal flow]
FIG. 1 is a block diagram showing the flow of image signals in the color copying machine of this embodiment.
[0010]
The analog image signal output from the
[0011]
These image signals are compressed within the color reproduction range of the
[0012]
In the normal processing, the
[0013]
Further, when a partial area in the image is designated by a digitizer or the like (not shown), the
[0014]
[Edit circuit]
2 is a block diagram showing a configuration example of the
[0015]
The
[0016]
The composition
x = (1-r) x A + r x B (1)
However, 0 ≤ r ≤ 1
[0017]
FIG. 5 is a block diagram illustrating a detailed configuration example of the synthesis ratio
[0018]
On the other hand, when the composition ratio in the area may be fixed such as color filtering (when
[0019]
The color difference
[0020]
The
[0021]
The
[0022]
The
[0023]
[Color conversion processing]
Next, an example of color conversion in the
[0024]
First, the color A components Ac, Am, Ay, Ak are written to the address corresponding to AREA = 0 in the
[0025]
FIG. 6 is a diagram for explaining the color difference signal r1 generated by the color difference
[0026]
The
X = (r1 / 255) ・ C2 + V ・(1- r1 / 255 ) … (2)
[0027]
Here, r1 = 255 indicates that the content of the color memory 204 (color before conversion) and the color of the image signal V are “matched”. At this time, the output X of the
[0028]
In this case, since character processing is not performed, the
[0029]
As described above, the color conversion process according to the present embodiment obtains the color difference ΔC between the input image signal and the converted color, and obtains a color (| ΔC |) that is close to the specified color before conversion (specified by the range d). <d) replaces the converted color, and for the unreplaced boundary, the color before conversion is converted according to the data r1 (conversion rate) converted from the color difference ΔC based on the gradation change rate G. Replace with the converted color. Accordingly, the color portion before conversion is replaced with the color after conversion, and the color boundary portion is color-converted in a gradation, so that no color discontinuity occurs and a natural image can be obtained.
[0030]
Similarly, an image read by a scanner has a color blur at the boundary between different colors, but when such an image is color-converted, the blur portion is not out of the conversion range. The original color remains at the end of the converted object, and the image quality does not deteriorate.
[0031]
Furthermore, when the boundary is processed by color conversion in the HSL system, a natural image can be obtained even if the hue between the original color and the target color is approximately 180 degrees apart.
[0032]
[Other Embodiments]
Note that the present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), or a device (for example, a copier, a facsimile device, etc.) including a single device. You may apply to.
[0033]
Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium Needless to say, this can also be achieved by reading and executing the program code stored in the. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
[0034]
In addition, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. Needless to say, a case where the function of the above-described embodiment is realized by performing part or all of the processing is also included.
[0035]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
[0036]
In the above-described embodiment, the example in which the color difference is determined using the four CMYBk colors has been described. However, the determination can be performed based on the three RGB colors before conversion to CMYBk. That is, as shown in an example in FIG. 7, a color difference
[0037]
In the above-described embodiment, the example in which the range d and the gradation change rate G that are regarded as the same color are specified by the user has been described. However, the image type is automatically determined, and the automatic determination is performed according to the determination result. Alternatively, the range d and the change rate G may be set. For example, an original that is close to a binary image, such as a character original, often has distinctly different characters and background colors. In such a case, the range d is set to be wide so as not to cause conversion residue in consideration of blurring due to color blur at the time of image reading. In addition, in the halftone image, the designated color itself changes in a gradation, so that the range d is narrowed and the transition is made gentle so that the boundary between the color to be converted and the color to be converted cannot be clearly seen.
[0038]
Also, as an application of the color determination function, there is “marker edit specification” that identifies an area surrounded by a color marker from a black and white original and performs editing according to the color of the marker. It can also be used for editing and color conversion. Marker editing designation requires determination of a plurality of colors at once instead of not requiring gradation processing. FIG. 8 is a diagram illustrating a configuration example of a device that realizes this function, and FIG. 9 is a diagram illustrating a configuration example of the color difference
[0039]
The
[0040]
On the other hand, in order to erase the marker image that is not necessary for the original document image, one of the
[0041]
As described above, in an image processing apparatus having a color conversion function for converting an arbitrary color in an image into an arbitrary different color, the color to be subjected to color conversion and surrounding colors are changed in a gradation. Therefore, it is possible to prevent unnatural color switching and obtain a processed image with good image quality.
[0042]
【The invention's effect】
As described above, according to the present invention, it is possible to provide an image processing apparatus and method for obtaining a natural color conversion result.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a flow of an image signal of a color copying machine according to an embodiment;
FIG. 2 is a block diagram showing a configuration example of the editing circuit shown in FIG.
FIG. 3 is a diagram showing a configuration example of a function code generated for each area;
FIG. 4 is a diagram illustrating an example of a correspondence relationship between a function code CODE and an editing function;
FIG. 5 is a block diagram showing a detailed configuration example of a synthesis ratio signal generation unit shown in FIG.
6 is a diagram for explaining a color difference signal r1 generated by the color difference signal generation unit shown in FIG.
FIG. 7 is a block diagram showing a configuration example of a color copying machine according to another embodiment;
FIG. 8 is a block diagram showing a second example of a color copying machine according to another embodiment;
9 is a diagram illustrating a configuration example of a color difference signal generation circuit illustrated in FIG.
Claims (2)
前記第一および第二の色データを記憶する記憶手段と、
入力画像データと前記第一の色データの差分に応じた変換率を演算する演算手段と、
前記入力画像データ中の、前記第一の色データおよび前記第一の色データに対してユーザが指定する所定範囲の差を有する色データを前記第二の色データに変換し、前記所定範囲の外の色データを前記変換率および前記第二の色データに応じた色データに変換する変換手段とを有することを特徴とする画像処理装置。An image processing apparatus for converting designated first color data into designated second color data,
Storage means for storing the first and second color data;
A computing means for computing a conversion rate according to the difference between the input image data and the first color data;
In the input image data, converts the color data having a difference in a predetermined range designated by the user with respect to the first color data and said first color data into said second color data, of said predetermined range An image processing apparatus comprising: conversion means for converting external color data into color data corresponding to the conversion rate and the second color data .
入力画像データと前記第一の色データとの差分に応じた変換率を演算し、
前記入力画像データ中の、前記第一の色データおよび前記第一の色データに対してユーザが指定する所定範囲の差を有する色データを前記第二の色データに変換し、
前記所定範囲の外の色データを前記変換率および前記第二の色データに応じた色データに変換することを特徴とする画像処理方法。An image processing method for converting designated first color data into designated second color data,
Calculating a conversion rate corresponding to the difference between the the input image data first color data,
Wherein in the input image data, converts the color data having a difference in a predetermined range designated by the user with respect to the first color data and said first color data into said second color data,
An image processing method comprising: converting color data outside the predetermined range into color data corresponding to the conversion rate and the second color data .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP20349196A JP3658095B2 (en) | 1996-08-01 | 1996-08-01 | Image processing apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP20349196A JP3658095B2 (en) | 1996-08-01 | 1996-08-01 | Image processing apparatus and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH1051654A JPH1051654A (en) | 1998-02-20 |
JP3658095B2 true JP3658095B2 (en) | 2005-06-08 |
Family
ID=16475044
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP20349196A Expired - Fee Related JP3658095B2 (en) | 1996-08-01 | 1996-08-01 | Image processing apparatus and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3658095B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4803162B2 (en) * | 2007-11-16 | 2011-10-26 | 富士ゼロックス株式会社 | Color signal conversion apparatus, image forming apparatus, adjustment coefficient generation apparatus, and program |
JP2014068274A (en) | 2012-09-26 | 2014-04-17 | Olympus Imaging Corp | Image editing device, image editing method, and program |
-
1996
- 1996-08-01 JP JP20349196A patent/JP3658095B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH1051654A (en) | 1998-02-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5729360A (en) | Color image processing method and system | |
US5870491A (en) | Image processing apparatus which controls processing conditions of an image signal on detected features of the image signal | |
US5907415A (en) | Image processing apparatus with color gamut dependent on color mode | |
CA1222160A (en) | Modified color removal dependent on tone | |
US5331442A (en) | Identification of graphic and character areas in color image processor | |
US5166810A (en) | Image quality control system for an image processing system | |
US5311336A (en) | Color-converting an outline or other portion, with or without spreading of the portion | |
US4972256A (en) | Method of enhancing image sharpness for image reproduction using sharp/unsharp signal processing | |
JPH10136216A (en) | Color picture processor | |
JPH07288706A (en) | Color conversion method, color converter and color conversion table preparation device | |
JPH04336870A (en) | Color picture recorder | |
US8446634B2 (en) | Color conversion apparatus, and color conversion method and computer program product | |
JP2006197549A (en) | Color conversion device, image forming apparatus, color conversion method, and computer program | |
JPH0879548A (en) | Color image forming device | |
JP3658095B2 (en) | Image processing apparatus and method | |
US5111533A (en) | Image processing system for the use with image recording apparatus | |
US5805313A (en) | Color correcting method and color correcting device involving masking equation variation based upon gray levels for a selected color | |
JP2006238024A (en) | Image processor, image processing method and program, and recording medium | |
JP3761979B2 (en) | Image processing apparatus and method | |
JP2004282240A (en) | Image processing apparatus, image processing method, and program executed by computer | |
JP3105963B2 (en) | Image recording device | |
JP4261720B2 (en) | Image processing apparatus, image processing method, and recording medium | |
JP4697807B2 (en) | Image processing apparatus, image processing method, program, and information recording medium | |
JP3147593B2 (en) | Image processing device for color editing | |
JP2001119591A (en) | Color image processing unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040513 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040611 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040805 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20050221 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050311 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080318 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090318 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100318 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100318 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110318 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120318 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |