JP2009105765A - Image processing apparatus and image processing method - Google Patents
Image processing apparatus and image processing method Download PDFInfo
- Publication number
- JP2009105765A JP2009105765A JP2007276884A JP2007276884A JP2009105765A JP 2009105765 A JP2009105765 A JP 2009105765A JP 2007276884 A JP2007276884 A JP 2007276884A JP 2007276884 A JP2007276884 A JP 2007276884A JP 2009105765 A JP2009105765 A JP 2009105765A
- Authority
- JP
- Japan
- Prior art keywords
- color
- image signal
- image
- input
- 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.)
- Pending
Links
Images
Landscapes
- Color, Gradation (AREA)
- Color Electrophotography (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は、画像処理装置および画像処理方法に関し、より詳細には、デジタル写真画像などのような画像データに対して画質を向上させるための画像処理装置および画像処理方法に関するものである。 The present invention relates to an image processing apparatus and an image processing method, and more particularly to an image processing apparatus and an image processing method for improving the image quality of image data such as a digital photographic image.
従来、モニタに対するカラーマッチングを行った際、モニタによる色再現領域を越えない範囲で色再現を行っており、プリンタが本来出せる色再現を最大限には使っていなかった。そのため、プリンタやメディアによっては風景・人物写真等において主要となる記憶色が十分に再現されていなかった。 Conventionally, when color matching is performed on a monitor, color reproduction is performed within a range that does not exceed the color reproduction area of the monitor, and color reproduction that can be originally produced by a printer has not been used to the maximum extent. For this reason, depending on the printer and media, the main memory colors in landscapes and portraits have not been reproduced sufficiently.
この課題に関して、カラーマッチングを行う際に、均等色空間において彩度を拡張する補正を行い、再現領域を広げる方法が提案されている。 With respect to this problem, a method has been proposed in which when color matching is performed, correction for extending the saturation in a uniform color space is performed to widen the reproduction region.
特許文献1に記載の発明は、色相に関しては色相角の値に応じて色相の変化量が異なり、彩度に関しては色相角の値かつ彩度の値に応じて彩度の変化量が異なり,明度に関しては色相角に応じて明度の変化量が異なることを特徴とする発明である。
In the invention described in
すなわち、特許文献1では、全色相角を均等にシフトさせるのではなく、それぞれの色相について、独立して目標の色相へ変換するように色相の変換を行っている。そして、彩度については、上記シフトの方向や色相シフト量が異なる、それぞれの色相について用意された彩度変換曲線を用いて、色相毎に異なる彩度変換を行っている。明度についても、色相毎に明度変換量を関連付けた明度変換曲線によって変換を行っている。
That is, in
よって、特許文献1では、上述のように色相、彩度、明度を制御することにより、いずれの画像においても人間の記憶色に近づいたより好ましい色に再現できる。従って、鮮やかにしたい色はより鮮やかに、色の変化を抑えたいところはそのままの色に再現するという効果が期待できる。
Therefore, in
以上から明らかなように、カラーマッチング技術においては、色相、彩度、明度に関する成分の値を独立に制御する方式が有力であるが、この方式であっても、より良好に印刷等の画像処理を行うためには、まだ改善しなければならない課題が残されている。特に、画像形成に用いられる色材の特性を考慮する必要がある。 As is clear from the above, in color matching technology, a method that independently controls the values of components relating to hue, saturation, and brightness is influential, but even with this method, image processing such as printing can be performed better. In order to do this, there are still issues that must be improved. In particular, it is necessary to consider the characteristics of the color material used for image formation.
しかしながら、特許文献1の方法は印刷に要する色材の特性を考慮したものではない。そのため、本来は純色で再現されていた色相であっても、彩度補正の効果により拡張された領域には他の色材が混入する場合がある。これは、インクジェットプリンタであればそれほど問題にはならないが、電子写真プロセスにおいては、純色に他の色材が混入すると紙面上での粒状性が増し、画質劣化の要因となり得る。
However, the method of
以下、具体的に説明する。
図1、図2、図3はそれぞれ、「入力装置の色域」、「出力装置の色域」および「入力装置の色域を圧縮した色域」をLab空間において表したものである。一般に均等色空間は色味を立体的な位置関係として表現可能な空間であるが、ここでは便宜上明度成分であるL値をab平面に写像して、色空間を二次元的に表現するものとする。
This will be specifically described below.
1, 2, and 3 represent “input device color gamut”, “output device color gamut”, and “input device color gamut” in Lab space, respectively. In general, the uniform color space is a space in which the color can be expressed as a three-dimensional positional relationship. Here, for convenience, the L value, which is a lightness component, is mapped onto the ab plane to express the color space two-dimensionally. To do.
ここで、「入力装置の色域」とは、例えばCRTや液晶ディスプレイ等のモニタ装置に表現可能な色空間の色再現域でsRGBやAdobeRGBなどが挙げられる。一般に、「入力装置の色域」は「出力装置の色域」よりも広く、表現できる階調数が多い。 Here, the “color gamut of the input device” is a color gamut of a color space that can be expressed on a monitor device such as a CRT or a liquid crystal display, and examples thereof include sRGB and AdobeRGB. In general, the “color gamut of the input device” is wider than the “color gamut of the output device” and the number of gradations that can be expressed is large.
また、「出力装置の色域」とは、インクジェットプリンタや電子写真プリンタ等で使用される色材(例えばインクやトナー)によって紙等の記録材上に表現可能な最大の色再現域で、一般的にCMYKの4色から構成される。なお、「出力装置の色域」は、色材の特性や出力装置自体の性能に強く左右されるため、これを改善する方法として近年においては、CMYK以外の色を追加することも提案されている。例えば、上記の4色に薄シアン(Light Cyan)、薄マゼンタ(Light Magenta)を追加した6色システムや、それ以上の色数の印刷システムが提案されている。従って、本発明においても出力装置の色空間は4色に限定されるものではない。 The “color gamut of the output device” is the maximum color gamut that can be expressed on a recording material such as paper by a color material (for example, ink or toner) used in an ink jet printer or an electrophotographic printer. Specifically, it is composed of four colors CMYK. Since the “color gamut of the output device” is strongly influenced by the characteristics of the color material and the performance of the output device itself, in recent years, it has been proposed to add colors other than CMYK as a method for improving this. Yes. For example, a six-color system in which light cyan and light magenta are added to the above four colors, and a printing system with more colors are proposed. Therefore, in the present invention, the color space of the output device is not limited to four colors.
さらに、「入力装置の色域を圧縮した色域」とは、「出力装置の色域」の範囲内において、実際に紙等の記録材上に表現する際の色再現域である。通常、この色域は表現しようとする画像データの種類や目的によって、色域の大きさや色相、階調性が異なる。例えば、風景・人物写真等の自然画像は全体の階調性を重視するため、その色再現域は「出力装置の色域」よりも小さくなる。また、プレゼンテーション用の電子資料におけるグラフィック画像や文字においては、階調性よりも、鮮やかさが重視されるため、その再現域は「出力装置の色域」と近い大きさになる。 Further, the “color gamut obtained by compressing the color gamut of the input device” is a color reproduction gamut when the image is actually expressed on a recording material such as paper within the range of the “color gamut of the output device”. Usually, this color gamut varies in size, hue, and gradation depending on the type and purpose of image data to be expressed. For example, since natural images such as landscapes and portraits emphasize the overall gradation, the color gamut is smaller than the “color gamut of the output device”. Also, in graphic images and characters in electronic materials for presentation, vividness is more important than gradation, so the reproduction range is close to the “color gamut of the output device”.
図1は、特許文献1における彩度補正を説明した図である。
PLはa=0,b=0となるL軸上の点を示している。また、PAは入力装置の色空間において(R,G,B)=(0,255,255)の信号値をLab色空間に変換した点を示している。また、PBはPAが印刷目的に合わせて色域圧縮されたLab空間上の点を示している。さらに、PCは出力装置の色空間において(C,M,Y,K)=(255,0,0,0)の信号値を出力装置にて出力した際に、色材が紙等の記録材に再現する色味を示している。
FIG. 1 is a diagram for explaining saturation correction in
PL indicates a point on the L axis where a = 0 and b = 0. PA indicates that the signal value of (R, G, B) = (0, 255, 255) is converted into the Lab color space in the color space of the input device. PB indicates a point on the Lab space in which PA is color-gamut-compressed in accordance with the printing purpose. Further, when the PC outputs a signal value of (C, M, Y, K) = (255, 0, 0, 0) in the color space of the output device, the color material is a recording material such as paper. Shows the color to be reproduced.
さらに、矢印HAは入力装置の色空間において(R,G,B)=(255,255,255)から(R,G,B)=(0,255,255)へと、レッド(Red)成分が徐々に減算された際のLab色空間上の色相を示している。また、矢印HCは、HAを印刷目的に合わせて色域圧縮した際の色相を示す。 Furthermore, the arrow HA indicates a red component from (R, G, B) = (255, 255, 255) to (R, G, B) = (0, 255, 255) in the color space of the input device. Represents the hue on the Lab color space when is gradually subtracted. An arrow HC indicates a hue when the color gamut is compressed according to the purpose of printing.
特許文献1における彩度補正方法は、HCを線形にGB(出力装置の色域)まで拡張させるもので、彩度補正の結果は矢印HBに相当する。この方法によると、色域が出力装置の色域の限界まで拡張されるため、最大彩度が向上し、従来の色域よりも鮮やかな色再現が可能になる。また、従来の色相(矢印HC)にはなんら変化を与えておらず、記憶色も十分に再現されることが予想される。
The saturation correction method in
しかし、印刷目的によっては色域圧縮後の色相HCを純色で再現することが、好ましい場合がある。特に、電子写真プロセスにおいては、純色を保存することは画質の優劣において重要な要素である。
さらに、電子写真プロセスにおいて一般に広く使用されるトナーの特性では、成分の違いにより多少違いはあるものの、純色の色相は直線ではなく曲線の軌道を描く。
従って、HAを色圧縮して得られる色相HCは、純色を保存させようとした場合、色材の特性を考慮すると、必ずしも線形で再現されるとは限らない。
However, depending on the printing purpose, it may be preferable to reproduce the hue HC after color gamut compression with a pure color. In particular, in the electrophotographic process, preserving pure colors is an important factor in image quality.
Furthermore, although there are some differences in the characteristics of toners that are generally widely used in electrophotographic processes, the hue of a pure color draws a trajectory of a curve rather than a straight line, although there are some differences depending on the components.
Accordingly, the hue HC obtained by color-compressing the HA is not always reproduced linearly in consideration of the characteristics of the color material when trying to preserve the pure color.
図2は、電子写真プロセスにおける純色の色相を表している。
矢印HC2は色域GC内における純色の色相を示し、矢印HB2は色域GCよりも外側で、色域GBの内側における純色の色相を示している。つまり、この電子写真プロセスにおいてトナー量をC=M=Y=K=0%からC=100%,M=Y=K=0%へと、シアン(Cyan)トナーのみを徐々に増量させた際のLab色空間上の色相はHC2とHB2とを連結させた曲線の軌道で表される。
FIG. 2 represents a pure color hue in the electrophotographic process.
An arrow HC2 indicates a pure color hue within the color gamut GC, and an arrow HB2 indicates a pure color hue outside the color gamut GC and inside the color gamut GB. That is, when only the amount of cyan toner is gradually increased from C = M = Y = K = 0% to C = 100% and M = Y = K = 0% in this electrophotographic process. The hue in the Lab color space is represented by a trajectory of a curve obtained by connecting HC2 and HB2.
従って、HAの色相を色域圧縮後に純色で再現させる場合、色域圧縮後の色相はHC2となることを想定しなければならない。また、PAに対応する色域圧縮後の最大彩度を有する点はPCではなくPC2で示され、さらに、純色を保存して彩度を拡張する補正を行うのであれば、拡張される色相はHB2となることが想定される。 Therefore, when the hue of HA is reproduced as a pure color after gamut compression, it must be assumed that the hue after gamut compression is HC2. In addition, the point having the maximum saturation after color gamut compression corresponding to PA is indicated by PC2, not PC, and if the correction is performed to preserve the pure color and extend the saturation, the expanded hue is It is assumed to be HB2.
図3は、電子写真プロセスにおいて純色を保存しながらHAを色域圧縮した後に、特許文献1の方法で彩度補正を行った場合の図を表している。前述したように、純色を保存した色域圧縮後の最大彩度点はPC2となる。
特許文献1の方法によると、色相を線形に補正するため、補正後に拡張された色相は図2のHB2ではなく、HC3を延長したHB3で示される。また、その際の最大彩度点はPBではなく、PB3となる。
結果として、特許文献1の方法の場合、印刷目的により本来は純色で再現されていた色相であっても、彩度補正の効果により色域が拡張された領域においては純色が保存されない。
FIG. 3 shows a diagram in which saturation correction is performed by the method of
According to the method of
As a result, in the case of the method of
本発明はこれらの事情に鑑み、その目的とするところは、プリンタ等の画像出力装置が本来出せる色再現領域を活用しつつ、従来の記憶色を再現し、彩度補正後も良好な画像を得ることの出来る画像処理装置および画像処理方法を提供することにある。 In view of these circumstances, the present invention aims to reproduce a conventional memory color while utilizing a color reproduction region that an image output apparatus such as a printer can originally output, and to obtain a good image after saturation correction. An object is to provide an image processing apparatus and an image processing method that can be obtained.
このような目的を達成するために、本発明は、入力装置により入力されたカラー画像信号を出力装置に適した画像信号に変換可能な画像処理装置であって、第一の入力画像信号を色圧縮する色圧縮手段と、前記色圧縮手段により色圧縮された画像信号を、該画像信号の色空間と異なる色空間へ変換する第一色変換手段と、前記第1の入力画像信号と同一の信号である第二の入力画像信号を色圧縮することなく前記異なる色空間へ変換する第二色変換手段と、前記第一色変換手段および前記第二色変換手段により色変換された二つの画像信号を合成し、新たな画像信号を生成する合成手段とを備えることを特徴とする。 In order to achieve such an object, the present invention provides an image processing apparatus capable of converting a color image signal input by an input device into an image signal suitable for the output device, wherein the first input image signal is color-coded. Color compression means for compression, first color conversion means for converting the image signal color-compressed by the color compression means into a color space different from the color space of the image signal, and the same as the first input image signal A second color conversion means for converting the second input image signal, which is a signal, into the different color space without color compression; and two images that have been color-converted by the first color conversion means and the second color conversion means Synthesizing means for synthesizing signals and generating new image signals.
また、本発明は、入力装置により入力されたカラー画像信号を出力装置に適した画像信号に変換可能な画像処理方法であって、第一の入力画像信号を色圧縮する色圧縮工程と、前記色圧縮工程により色圧縮された画像信号を、該画像信号の色空間と異なる色空間へ変換する第一色変換工程と、前記第1の入力画像信号と同一の信号である第二の入力画像信号を色圧縮することなく前記異なる色空間へ変換する第二色変換工程と、前記第一色変換工程および前記第二色変換工程により色変換された二つの画像信号を合成し、新たな画像信号を生成する合成工程とを有することを特徴とする。 Further, the present invention is an image processing method capable of converting a color image signal input by an input device into an image signal suitable for an output device, the color compression step of color-compressing the first input image signal, A first color conversion step of converting the image signal color-compressed by the color compression step into a color space different from the color space of the image signal; and a second input image which is the same signal as the first input image signal A second color conversion step of converting the signal into the different color space without color compression, and the two image signals color-converted by the first color conversion step and the second color conversion step, and a new image And a synthesis step for generating a signal.
本発明に係る画像処理装置および画像処理方法においては、プリンタが本来出せる色再現領域を活用しつつ、従来の記憶色を再現することで、入力画像をより鮮やかに出力する彩度補正が実現できる。 In the image processing apparatus and the image processing method according to the present invention, saturation correction for more vividly outputting an input image can be realized by reproducing a conventional memory color while utilizing a color reproduction region that can be originally output by a printer. .
さらに、本発明に係る画像処理装置および画像処理方法においては、印刷に使用される色材の特性が考慮されている。従って、印刷目的により従来より純色で再現されていた色相は、本発明に係る彩度補正処理後も純色が保存されるため、粒状感の無い、あるいは該粒状感が軽減されたより鮮やかな画像を得ることができる。 Furthermore, in the image processing apparatus and the image processing method according to the present invention, the characteristics of the color material used for printing are taken into consideration. Therefore, a hue that has been reproduced with a pure color for printing purposes is preserved even after the saturation correction processing according to the present invention, so that a more vivid image without graininess or with reduced graininess is obtained. Obtainable.
以下、図面を参照して本発明の実施形態を詳細に説明する。なお、以下で説明する図面で、同一機能を有するものは同一符号を付け、その繰り返しの説明は省略する。
(第1の実施形態)
本実施形態のシステム全体の構成図を図4に示す。図4は、本実施形態に係る画像処理システムの全体の構成を示すブロック図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the drawings described below, components having the same function are denoted by the same reference numerals, and repeated description thereof is omitted.
(First embodiment)
FIG. 4 shows a configuration diagram of the entire system of this embodiment. FIG. 4 is a block diagram showing the overall configuration of the image processing system according to the present embodiment.
符号401は、PC等の、本発明に適用される画像入力装置である。符号402は、画像入力装置401から入力された画像データに基づいて画像を形成し、出力する画像出力装置である。符号403は、画像入力装置401と画像出力装置402とを接続するためのネットワークシステムである。このネットワークシステム403は本実施形態においては、有線LANや無線LAN、もしくはインターネットなどのWANとしてネットワークとして説明するが、画像出力装置402と画像入力装置401を専用線で接続するような通信形態であってもよい。つまり、これらの装置の通信手段はいかなるものであってもよい。
なお、本実施形態では、画像出力装置402の画像形成方式としては、いずれの方式を用いても良い。例えば、色材としてトナーを用いる、感光体ドラムや感光体ベルトに画像を形成する電子写真方式や、微少ノズルアレイからインクを吐出して用紙上に印字するインクジェット方式など、記録媒体に画像形成可能であればいずれの方式を用いても良い。ただし、上述したように、色材としてトナーを用いる場合は、特に純色の色相は直線ではなく曲線の軌道となるので、画像出力装置402を電子写真方式とする場合、本発明の効果は一層発揮される。
In the present embodiment, any method may be used as the image forming method of the
図5は本発明の画像入力装置401のメインコントローラ501の構成を示すブロック図である。
符号501は、画像入力装置401のコントローラハードウェアのブロック図である。符号502は、画像入力装置401全体を制御するためのプログラムを動作させるCPUであって、種々の演算、制御、判別などの処理動作を実行する。符号503は、CPU502によって実行される各プログラムや、画像入力装置401を起動させるためのプログラムが格納されているROMである。符号504は、CPU502の処理動作中のデータや入力データなどを一時的に格納したり、画像入力装置401を制御するためのプログラムを動作させるためのRAMである。符号505は、RAM504に展開して動作させるプログラムデータや、アプリケーションソフトのプログラムやアプリケーションソフトが必要とするデータを格納するための2次記憶装置であるハードディスクである。
FIG. 5 is a block diagram showing the configuration of the
符号506は、画像入力装置402とデータの入出力処理を行うネットワーク通信装置である。符号507は、画像入力装置401上で形成された画像等を表示するための画像表示装置に画像データを送信するためのVideoデータ送信部である。符号508は、Videoデータ送信部から外部の画像表示装置に画像データを送信するためのケーブルである。符号509は、Videoデータ送信部508から受信した画像データを表示するための画像表示装置をかねる操作部である。
符号510は、ネットワーク通信装置506から受信したビットマップイメージデータに対して各種画像処理を施すための画像処理部である。画像処理部510は、2ページのビットマップイメージデータを1ページのビットマップイメージデータに合成する機能や、ビットマップイメージデータ中に存在する不正描画部分の除去する機能を備える。さらに、画像処理部510は、ビットマップイメージデータが斜行していると判断された場合は印字位置を補正する機能のようなビットマップイメージデータをデジタル的に修正する機能を備える。
符号511は、画像データを外部装置から受信したり、印刷データを外部装置に送信したりするためのネットワークケーブルである。ネットワークケーブル511はネットワーク装置506に接続されている。512は外部入出力機器とのインターフェースとなる外部機器I/Fである。外部機器I/F512にはキーボード513およびマウス514が接続される。
続いて、画像出力装置402のメインコントローラ601の構成を説明する。図6は本実施形態の画像出力装置402のメインコントローラ601の構成を示すブロック図である。
符号602は、機器の操作を行うための操作部である。符号603は、外部機器とネットワークによって接続を行うためのネットワークケーブルである。符号604は外部機器と電話回線によって接続を行うための回線ケーブルである。
Next, the configuration of the
符号605は、コントローラ601全体を制御するためのプログラムを動作させるCPUであって、種々の演算、制御、判別などの処理動作を実行する。符号606は、CPU605上で動作するプログラムによって管理されるRAMである。RAM606は、外部から受信したデータを一時的に蓄えるための受信バッファやRIPによってラスタライズされた画像データを一時的に蓄えるための画像データバッファ等の目的で使用される。
符号607は、操作部602とコントローラ601とを接続するためのインターフェースである。符号608は、コントローラ601とネットワークとを接続するためのインターフェースである。符号609は、コントローラ601と電話回線を接続するためのインターフェースとしてのモデムである。
符号610は、CPU605上で動作するプログラムやデータ等を格納するためのROMである。符号611は、さまざまなデータを長期的に保存することが可能な不揮発性の記憶装置であるハードディスクである。符号612は、以上の構成物を互いに接続し、かつCPU605と接続するためのCPUバスである。
符号624は、画像処理を行うためのハードウェア群に接続されたイメージバスである。符号613は、CPUバス612とイメージバス624とを接続するためのインターフェースである。符号621は、外部から入力される画像データをビットマップイメージデータに変換する機能を有するラスタライズボード(RIP)である。符号614は、画像転送バス618によってRIP621とイメージバス624とを接続するためのインターフェースである。符号615は、データを圧縮するためのデータ圧縮装置である。
符号616は、データバス619、620によってスキャナおよびプリンタをイメージバス624に接続するためのデバイスインターフェースである。符号617は、スキャナ622およびRIP621によって生成されたビットマップイメージデータに各種画像処理を施すための画像処理部である。
画像処理部617は、2ページのビットマップイメージデータを1ページのビットマップイメージデータに合成する機能や、スキャナ622で原稿を読み取る際に埃等の混入によって発生する不正描画部分の除去する機能を備える。また、画像処理部617は、スキャナ622に原稿を読み取らせる場合に斜行して読み取られてしまった場合の印字位置を補正するための機能等、ビットマップイメージデータをデジタル的に修正する機能を備える。
The
次に、本実施形態における画像処理の流れを説明する。
図7は本実施形態における画像処理の流れを示すブロック図である。本実施形態に係る図7の処理は、画像入力装置401にて行っても良いし、画像出力装置402にて行っても良い。すなわち、画像入力装置401または画像出力装置402がOS701、ドライバ部702、およびコントローラ部703を備えることで、図7に示す処理を実行する画像処理装置として機能することになる。上記OS701、ドライバ部702、およびコントローラ部703は、上記画像処理装置のCPU(画像処理装置が、画像入力装置401である場合はCPU502であり、画像出力装置402である場合はCPU605)によって統合して制御される。
Next, the flow of image processing in this embodiment will be described.
FIG. 7 is a block diagram showing the flow of image processing in this embodiment. 7 according to the present embodiment may be performed by the
なお、該画像処理装置は、画像入力装置401(入力装置)により入力されたカラー画像信号を画像出力装置402(出力装置)に適した画像信号に変換可能であれば良いので、画像入力装置401および画像出力装置402とは別個に設けても良い。
The image processing apparatus only needs to be able to convert a color image signal input by the image input apparatus 401 (input apparatus) into an image signal suitable for the image output apparatus 402 (output apparatus). The
入力画像は画像処理部510で適切な補正が為される。該補正された入力画像(カラー画像信号)は、ネットワーク装置506とネットワークケーブル511を介して、OS701により画像信号IMG1(第一の入力画像信号)および画像信号IMG2(第二の入力画像信号)としてドライバ部702へ送信される。すなわち、OS701は、補正されたカラー画像信号から少なくとも二つの画像信号に分配して、第1の入力画像信号である画像信号IMG1と第2の入力画像信号である画像信号IMG2とを取得する。
The input image is appropriately corrected by the
なお、同じ画像データに関して二系統の信号がドライバ部702に送信されるが、これは二系統に限られるものではなく、また、この画像データを複数系統に分配する処理もOS701で実現されることに限定するものでもない。例えば、ドライバ部702やその他のモジュールで実現しても良い。
Note that two systems of signals for the same image data are transmitted to the
本実施形態では、後述するように、本来の記憶色の再現するための色域圧縮用の画像信号と、出力装置の色域を最大限まで利用可能にするための、色域圧縮を行っていない画像信号とを用意する必要がある。よって、本実施形態では、画像処理装置が、入力画像から、互いに同一である、少なくとも二つの画像データ(画像信号)を取得できれば良い。 In this embodiment, as will be described later, color gamut compression is performed so that the image signal for color gamut compression for reproducing the original memory color and the color gamut of the output device can be used to the maximum. There is no need to prepare an image signal. Therefore, in the present embodiment, it is only necessary that the image processing apparatus can acquire at least two image data (image signals) that are the same as each other from the input image.
ドライバ部702に送信された画像信号IMG1は、色域圧縮部705において、操作部509においてユーザーに指定された印刷目的もしくは、規定の印刷目的に合わせて、記憶色を再現可能な適切な色域に圧縮される。すなわち、色域圧縮部705は、第一の入力画像信号である画像信号IMG1を、適切な色域に色域圧縮する。色域圧縮部705は、画像信号IMG1を色域圧縮後にコントローラ部703に送信する。
The image signal IMG1 transmitted to the
一方、第二の入力画像信号である画像信号IMG2は色域圧縮処理を行わずコントローラ部703に送信される。画像信号IMG2は色域圧縮処理を行わないため、プリンタの有する全ての色域を最大限に利用可能な画像信号となる。
また、色域圧縮処理は、必ずしもドライバ部702で実現される必要は無く、コントローラ部703もしくはその他のデバイスにおいて実現することも十分考えられる。
On the other hand, the image signal IMG2 that is the second input image signal is transmitted to the
Further, the color gamut compression process does not necessarily need to be realized by the
コントローラ部703に送信された画像信号IMG1および画像信号IMG2は、それぞれ第一色変換部706および第二色変換部707にて、RGB信号から出力装置(プリンタ部623)の色空間であるCMYK信号に変換される。すなわち、第一色変換部706は、色域圧縮部705にて色域圧縮された画像信号IMG1を、該画像信号IMG1の色空間(RGB)と異なる色空間(CMYK)へと変換する。また、第二色変換部707は、色域圧縮されていない画像信号IMG2を、上記異なる色空間(CMYK)へと変換する。
The image signal IMG1 and the image signal IMG2 transmitted to the
CMYK信号に変換されたそれぞれの画像信号はさらに合成部708へ送信される。すなわち、第一色変換部706は、プリンタ部623の色空間であるCMYK信号として色変換された、第一の色変換画像信号を合成部708に送信する。同様に、第二色変換部707も、プリンタ部623の色空間である同じくCMYK信号として色変換された、第二の色変換画像信号を合成部708に送信する。
Each image signal converted into the CMYK signal is further transmitted to the
ここで、第二の色変換画像信号は、色域圧縮を施されていない信号に基づいて生成されているので、プリンタ部623の色域を最大限に利用可能な信号である。このように、本実施形態によれば、上記色変換された色変換画像信号の少なくとも1つを、プリンタ部623の再現し得る全ての色域を利用可能な信号とすることができる。
Here, since the second color-converted image signal is generated based on a signal that has not been subjected to color gamut compression, it is a signal that can make maximum use of the color gamut of the
なお、第一色変換部706および第二色変換部707は、色空間の変換の際に、異なるテーブルを用意する必要は無く、同じテーブルであっても良い。
Note that the first
合成部708は、CMYK信号の各成分に対応した合成率換算テーブル(709(シアン用)、710(マゼンタ用)、711(イエロー用)、712(ブラック用))を保持している。合成部708は、入力される、画像信号IMG1に基づいて生成された第一の色変換画像信号および画像信号IMG2に基づいて生成された第二の色変換画像信号の各信号値に応じた合成率等、所定の合成率に基づいて両方の画像信号を合成する。合成部708は、該合成により新たな画像信号IMG3を生成する。 画像信号IMG3は、さらにハーフトーン処理などの適切な画像処理が施され、最後にプリンタ部623に送信され出力される。
The
次に、合成部708における合成処理について、以下に説明する。
図8は、合成部708において、第一色変換部706および第二色変換部707から送信された第一の色変換画像信号および第二の色変換画像信号のシアン成分のみの画像信号に関する合成処理を説明したブロック図である。図中のC1は、CMYK信号である第一の色変換画像信号のシアン成分を示し、C2は、CMYK信号である第二の色変換画像信号のシアン成分を示す。なお、ここではシアン成分のみの構成を説明するが、他の色成分(MYK)に関する合成処理も同様の構成を有するものである。
Next, the synthesis process in the
FIG. 8 shows a synthesis of the first color conversion image signal and the second color conversion image signal that are transmitted from the first
まず、合成部708に送信された画像信号C1および画像信号C2は、演算部801に送信される。すなわち、合成部708は、画像信号C1を取得し、かつ画像信号C2を取得して、取得した画像信号C1および画像信号C2を演算部801に渡す。
First, the image signal C1 and the image signal C2 transmitted to the
次いで、合成部708は、画像信号C2をシアン成分用に値が設定された合成率換算テーブルLUTC708aに入力し、画像信号C2に対応する合成率NCを生成する。ここで、合成率NCの取り得る値は、演算部801での合成演算を考慮して、0以上で1以下の範囲の値とする。次いで、合成部708は、合成率換算テーブルLUTC708aで生成された合成率NCを、演算部801に送信する。
Next, the
演算部801は、画像信号C1、画像信号C2および合成率NCを入力として、以下の式1に示される合成演算により新たな画像信号C3を生成する。
C3=NC×C1+(1−NC)×C2 (式1)
合成部708においては、CMYK信号の各成分において上記の処理を行うものとする。なお、式1は合成演算に使用する演算式のシンプルな例であるが、画像信号の合成は式1に限定されるものではない。ここでは、二系統以上の入力信号が合成され、それぞれの入力信号の比率を調節できるものであればよい。言い換えると、彩度の変化に応じて、色相の変化率を調整できるような演算式であればよい。
The
C3 = NC * C1 + (1-NC) * C2 (Formula 1)
The combining
図9(a)〜(d)は、合成率換算テーブルLUTC708aの例を示す。合成率換算テーブルLUTC708aは画像信号C2の入力に対する合成率NCの関係を示すテーブルである。ここで、画像信号C2は色域圧縮されない画像信号なので、画像信号C2を入力とすることで、プリンタの有する全ての色域を最大限に利用するような合成率を生成することができる。 9A to 9D show examples of the synthesis rate conversion table LUTC 708a. The synthesis rate conversion table LUTC 708a is a table showing the relationship of the synthesis rate NC to the input of the image signal C2. Here, since the image signal C2 is an image signal that is not subjected to color gamut compression, by using the image signal C2 as an input, it is possible to generate a composition ratio that makes maximum use of all the color gamuts of the printer.
図9(a)は入力と出力の関係を線形としたシンプルな例である。図9(a)において、画像信号C2が最小値の時、合成率NCは1となり、C2が最大値の時、合成率NCは0となる。つまり、新たに生成される画像信号C3は、入力信号の値が低い時、すなわち低彩度領域の色味に関しては、色域圧縮された画像信号C1の値を反映する。一方、入力信号の値が高い時、すなわち高彩度領域の色味に関しては色域圧縮されない画像信号C2の値を反映させる。 FIG. 9A is a simple example in which the relationship between input and output is linear. In FIG. 9A, the composition rate NC is 1 when the image signal C2 is the minimum value, and the composition rate NC is 0 when C2 is the maximum value. That is, the newly generated image signal C3 reflects the value of the color gamut-compressed image signal C1 when the value of the input signal is low, that is, regarding the color tone of the low saturation region. On the other hand, when the value of the input signal is high, that is, the color of the high saturation region, the value of the image signal C2 that is not subjected to color gamut compression is reflected.
なお、本実施形態では、画像信号C2は、色域圧縮を施されてない信号から生成されているので、上記入力信号に対応している。よって、合成部708は、取得した画像信号C2の値が低い時は入力信号の値も低く、高い時は入力信号の値も高いと判断できる。従って、合成率を生成する際に、画像信号C2を入力とし、信号を合成する際の合成率を規定した合成率換算テーブルLUTC708aを参照することで、入力信号の信号値に応じた適切な合成率を取得することができるのである。すなわち、入力されたカラー画像信号の彩度の変化に応じて、良好な出力結果を得るように合成率を変化させることができる。
In the present embodiment, the image signal C2 is generated from a signal not subjected to color gamut compression, and therefore corresponds to the input signal. Therefore, the
ここで、画像信号C1は従来の記憶色を再現する色味であり、画像信号C2はプリンタの色域を最大限に利用可能な色域である。従って、図9(a)から算出されたNCを式1に入力することで、合成後の画像信号C3は低彩度領域において記憶色の色相を再現し、高彩度領域は従来よりも高い彩度を再現することができる。すなわち、色域圧縮された画像信号C1および色域圧縮されてない画像信号C2を用い、該二つの信号を入力信号の信号値に応じて合成率を変えて合成しているので、出力したい画像の彩度に応じた良好な出力を行うことができる。
Here, the image signal C1 is a color that reproduces a conventional memory color, and the image signal C2 is a color gamut that can utilize the color gamut of the printer to the maximum extent. Therefore, by inputting the NC calculated from FIG. 9A into
図9(b)は画像信号C2の入力に対し、出力の合成率NCは上凸の曲線を描くように設定したものである。このテーブルを使用した場合、低彩度領域から高彩度領域にかけて、色域圧縮された画像信号C1の値が強く反映される。すなわち、高彩度領域において従来よりも高い彩度を再現するのは図9(a)と同じであるが、低彩度領域から高彩度領域に遷移する過程において、より記憶色を再現するような効果が期待できる。 In FIG. 9B, the output composition ratio NC is set so as to draw an upwardly convex curve with respect to the input of the image signal C2. When this table is used, the value of the image signal C1 subjected to color gamut compression is strongly reflected from the low saturation region to the high saturation region. That is, it is the same as FIG. 9A that reproduces higher saturation than in the conventional art in the high saturation region, but in the process of transition from the low saturation region to the high saturation region, the effect of reproducing the memory color more is achieved. I can expect.
逆に、図9(c)は画像信号C2の入力に対し、出力の合成率NCは下凸の曲線を描くように設定したものである。このテーブルを使用した場合、図9(b)とは反対に、低彩度領域から画像信号C2の値が強く反映される。 On the other hand, FIG. 9C shows the case where the output synthesis rate NC is set to draw a downwardly convex curve with respect to the input of the image signal C2. When this table is used, contrary to FIG. 9B, the value of the image signal C2 is strongly reflected from the low saturation region.
また、合成率換算テーブルはこれら上記の形式に限られるものではない。例えば、図9(d)に示されるような逆S字形状のものであってもよい。さらに別の例として、入力信号の色相を判断し、色相に応じて適用するテーブルを使い分けることも考えられる。 Further, the synthesis rate conversion table is not limited to the above-mentioned format. For example, it may be an inverted S shape as shown in FIG. As yet another example, it may be possible to determine the hue of the input signal and use different tables depending on the hue.
さらに、合成率換算テーブルの別の例として、事前に決められたテーブルを使用するのではなく、ドライバ部702から送信される画像データ毎やオブジェクト毎に設定値を変更できるようにしても良い。例えば、画像入力装置401においては操作部509において、また、画像出力装置402においては操作部602において、ユーザーからの入力を受け付けることにより、合成率換算テーブルを適宜変更する方法が考えられる。
Furthermore, as another example of the synthesis rate conversion table, the setting value may be changed for each image data or object transmitted from the
このように、本実施形態では、本来の記憶色を再現するために色域圧縮を行った第一の色変換画像信号と、出力装置の色域を最大限まで利用可能にするために、色域圧縮を行っていない第二の色変換画像信号とを用いることが重要である。そして、入力信号に対応する第二の色変換画像信号の信号値に基づいて、第一および第二の色変換画像信号の合成率を決定し、該合成率に基づいて第一および第二の色変換画像信号を合成している。従って、合成された信号が、合成前に入力信号に色域圧縮された色域よりも外側の色味であっても、適切に合成された第二の色変換画像信号の存在により、高い彩度で再現することができる。 As described above, in this embodiment, in order to make the color gamut of the first color conversion image signal that has been subjected to the color gamut compression to reproduce the original memory color and the output device the color gamut available to the maximum, It is important to use the second color-converted image signal that has not undergone area compression. Then, based on the signal value of the second color-converted image signal corresponding to the input signal, the combination rate of the first and second color-converted image signals is determined, and the first and second color conversion image signals are determined based on the combination rate. The color conversion image signal is synthesized. Therefore, even if the synthesized signal has a color tone outside the color gamut that has been color gamut-compressed with the input signal before synthesis, due to the presence of the appropriately synthesized second color-converted image signal, high saturation is achieved. Can be reproduced in degrees.
すなわち、本実施形態によれば、従来のように、色域を拡張する際に線形に彩度を補正してはおらず、第一の色変換画像信号と第二の色変換画像信号とを入力信号に応じて合成比率を変えて合成しているので、図2のHC2、HB2を実現することができる。よって、従来のように、彩度補正の効果により色域が拡張された領域において純色が保存されない、という状態を抑えることができ、トナーのような純色の色相が曲線となる色材の特性を考慮して、彩度補正後も良好な画像を得ることができる。 That is, according to the present embodiment, the saturation is not linearly corrected when the color gamut is expanded as in the prior art, and the first color conversion image signal and the second color conversion image signal are input. Since synthesize by changing the synthesis ratio according to the signal, HC2 and HB2 in FIG. 2 can be realized. Therefore, it is possible to suppress the state in which the pure color is not preserved in the area where the color gamut is expanded by the effect of saturation correction as in the conventional case, and the characteristics of the color material in which the hue of the pure color such as toner becomes a curve. Considering this, a good image can be obtained even after saturation correction.
上記の方法による合成率換算テーブルの変更方法を以下に説明する。
図10(a)〜(c)は、操作部509もしくは操作部602において、CRTや液晶ディスプレイ等のモニタ装置に表示させる場合の合成率換算テーブル入力画面1001を示している。
A method for changing the synthesis rate conversion table by the above method will be described below.
FIGS. 10A to 10C show a synthesis rate conversion
ユーザーは必要に応じてCMYK各成分に割り当てられたスライダ部1002aの各スライダをマウス等のポインティングデバイスやタッチパネル等を介して左右に変化させることで、CMYK各成分の合成率換算テーブルの値を変化させることができる。そしてこの変化の様子をテーブル表示部1003aで確認することができる。
The user changes the values of the CMYK component synthesis rate conversion table by changing each slider of the
なお、本実施形態では、画像信号の各色成分であるCMYK各成分の合成率換算テーブルの値を、各色成分毎に独立して変化させているが、これに限らず、各色成分に対して連動して変化させるようにしても良い。すなわち、色変換後の画像信号の各色成分(CMYK各成分)を独立または連動して変化させることにより、合成率換算テーブルの値を決定し、合成率を決定することができる。 In this embodiment, the value of the CMYK component synthesis rate conversion table for each color component of the image signal is changed independently for each color component. However, the present invention is not limited to this, and is linked to each color component. And may be changed. That is, by changing each color component (CMYK component) of the image signal after color conversion independently or in conjunction with each other, it is possible to determine the value of the synthesis rate conversion table and to determine the synthesis rate.
図10(a)では、CMYK各成分のスライダの値が中央に設定されている。この状態はスライダ部1002aの設定における基準の状態であり、この時、合成率換算テーブルはテーブル表示部1003aに表示されているように各色成分が線形を示している。
In FIG. 10A, the slider value of each CMYK component is set at the center. This state is a reference state in the setting of the
一方、図10(b)ではスライダ部1002bにおいて、シアン成分が+4およびマゼンタ成分が−4となる相対的な設定が為されている。この時、合成率換算テーブルはテーブル表示部1003bに示されるように、シアン成分とマゼンタ成分は曲線を描いている。
On the other hand, in FIG. 10B, relative setting is made such that the cyan component is +4 and the magenta component is −4 in the
さらに、図10(c)では、シアン成分+8、マゼンタ成分+6、イエロー成分+2となる相対的な設定が為されている。この時、合成率換算テーブルはテーブル表示部1003cに示されるように、シアン成分とマゼンタ成分およびイエロー成分は曲線を描いている。
Further, in FIG. 10C, the relative setting of cyan component +8, magenta component +6, and yellow component +2 is made. At this time, as shown in the
なお、合成率換算テーブルの変更方法は必ずしも入力画面1001に示される様な構成を満たす必要はない。ユーザーにより合成率換算テーブルが変更可能であればどういった表示方法、入力方法であっても良いものとする。
Note that the composition rate conversion table changing method does not necessarily satisfy the configuration shown in the
図11は、合成部708における処理の手順を説明したフローチャートである。
合成部708では、シアン成分の画像信号Cの処理(1106)、マゼンタ成分の画像信号Mの処理(1107)、イエロー成分の画像信号Yの処理(1108)およびブラック成分の画像信号Kの処理(1109)のそれぞれの処理が、順次実行される。これらの処理は、平行して実行しても良い。それぞれの成分の処理の内容は同じであるので、ここでは画像信号Cの処理(1106)について、その内部処理を説明するが、それぞれの処理は必要に応じて内部処理を変更させても良いものとする。また、それぞれの処理が相互に対話することで、処理の内容を変化させても良い。
FIG. 11 is a flowchart illustrating a processing procedure in the
In the combining
以下、画像信号Cの処理(1106)における内部処理について説明する。 Hereinafter, internal processing in the processing (1106) of the image signal C will be described.
まず、合成部708は、第一の画像信号取得手段として機能して、画像信号IMG1のシアン成分である画像信号C1の値を取得する(1101)。続いて合成部708は、第二の画像信号取得手段として機能して、画像信号IMG2のシアン成分である画像信号C2の値を取得する(1102)。
First, the
さらに、合成部708は、画像信号C2の値から、シアン成分用に値が設定された合成率換算テーブルLUTCを参照し(1103)、シアン成分の合成率NCを生成する(合成率生成)(1104)。
Further, the synthesizing
最後に、合成部708は、処理1101で取得された画像信号C1と、処理1102で取得された画像信号C2および、処理1104で生成された合成率NCを入力として、式1に示される演算により新たな画像信号C3を生成する(1105)。
Finally, the
図12(a)〜(c)は、本実施形態における合成処理前後の信号値を示すグラフを示す図である。なお、図12(a)〜(c)において入力される信号は、(R,G,B)=(255,255,255)から(R,G,B)=(0,255,255)へと、レッド成分を徐々に減算した画像であり、Lab空間上で表すと図1の色相HAに相当する。図12の各図は、この減算されるレッド信号を横軸とし、合成処理前後におけるCMYK成分を縦軸としたグラフである。 FIGS. 12A to 12C are graphs showing signal values before and after the synthesis process in the present embodiment. The signals input in FIGS. 12A to 12C are changed from (R, G, B) = (255, 255, 255) to (R, G, B) = (0, 255, 255). And an image obtained by gradually subtracting the red component, which corresponds to the hue HA in FIG. 1 when expressed in the Lab space. Each graph in FIG. 12 is a graph with the red signal to be subtracted as the horizontal axis and the CMYK components before and after the synthesis processing as the vertical axis.
図12(a)は、図7における画像信号IMG1に相当するもので、上記の入力信号を色圧縮部705にて色域圧縮処理を施し、さらに第一色変換部706にて色変換処理をした後のCMYK各成分値を示している。(1)は、色圧縮の影響と、第一色変換部706の特性により、シアンとイエローとが混色したグラフになっている。なお、図中のC1はシアン成分を、Y1はイエロー成分をそれぞれ表している。
FIG. 12A corresponds to the image signal IMG1 in FIG. 7. The
また、図12(b)は、図7における画像信号IMG2に相当するもので、上記(a)の場合と同様の入力信号を色域圧縮処理を行わずに第二色変換部707にて色変換処理をした際のCMYK各成分値を示している。(2)は、色圧縮が行われていないことと、第二色変換部707の特性により、R=0でC2=100%となるシアン純色の線形グラフとなる。
FIG. 12B corresponds to the image signal IMG2 in FIG. 7, and the second
さらに、図12(c)は図12(a)および(b)を入力信号とし、合成率換算テーブル(709、710、711、712)として図9(a)を使用した場合の合成部708による合成処理の結果のグラフである。図中のC3、Y3はそれぞれ合成後のシアン成分およびイエロー成分を表し、破線はC2を表している。
Further, FIG. 12C shows a
図12(c)に示すように、シアン成分、イエロー成分ともに、低彩度領域に相当するグラフの前半部分では図12(a)の信号値の影響を反映している。しかしながら、高彩度領域であるグラフの後半部分では図12(b)の影響を反映し、最大彩度部ではシアン純色となる。 As shown in FIG. 12C, both the cyan component and the yellow component reflect the influence of the signal value of FIG. 12A in the first half of the graph corresponding to the low saturation region. However, the latter half of the graph which is the high saturation region reflects the influence of FIG. 12B, and the maximum saturation portion is a cyan pure color.
図13は、本実施形態における彩度補正を示した図である。図13はLab空間上における彩度および色相の変化を表している。
図13において、PLはL軸上の点を示し、H(1)は図12(a)の信号値を出力装置にて出力した際に、色材が紙等の記録材に再現する色相を示し、P(1)はその際の最大彩度となる点を示す。
また、H(2)は、図12(b)の信号値を出力装置にて出力した際に、色材が紙等の記録材に再現する色相を示し、P(2)はその際の最大彩度となる点を示す。
さらに、H(3)は図12(c)の信号値を出力装置にて出力した際に、色材が紙等の記録材に再現する色相を示し、その際の最大彩度はP(2)と一致する。
FIG. 13 is a diagram showing saturation correction in the present embodiment. FIG. 13 shows changes in saturation and hue on the Lab space.
In FIG. 13, PL indicates a point on the L axis, and H (1) indicates a hue that the color material reproduces on a recording material such as paper when the signal value of FIG. P (1) indicates a point having the maximum saturation at that time.
H (2) indicates the hue that the color material reproduces on the recording material such as paper when the signal value of FIG. 12B is output by the output device, and P (2) is the maximum at that time. Indicates the saturation point.
Further, H (3) indicates the hue that the color material reproduces on the recording material such as paper when the signal value of FIG. 12C is output by the output device, and the maximum saturation at that time is P (2 ).
図13に表されるように、合成後の画像信号は、低彩度領域では記憶色であるH(1)の影響を反映しているが、高彩度領域ではより彩度の高いH(2)の影響を反映している。そして、最大彩度部ではP(2)となり、シアン純色となる。 As shown in FIG. 13, the combined image signal reflects the influence of H (1), which is a memory color, in the low saturation region, but H (2), which has higher saturation in the high saturation region. Reflects the impact of. In the maximum saturation portion, P (2) is obtained, and a cyan pure color is obtained.
このように、本実施形態による合成処理を行うことで、プリンタが本来出せる色再現領域を有効に活用し、尚且つ従来の記憶色を再現することで、入力画像の品質の劣化を抑えて、より鮮やかに出力する補正処理が実現できる。 As described above, by performing the synthesis processing according to the present embodiment, the color reproduction area that can be originally output by the printer is effectively used, and the conventional memory color is reproduced, thereby suppressing deterioration in the quality of the input image, Correction processing that outputs more vividly can be realized.
さらに、本実施形態の合成処理によると、色材の色空間において合成処理が行われるため、合成される画像信号が共に純色で、尚且つ同じ色成分であれば、合成後の画像信号もその色成分における純色が保存される。 Furthermore, according to the synthesis process of the present embodiment, since the synthesis process is performed in the color space of the color material, if both the synthesized image signals are pure colors and have the same color components, the synthesized image signal is also the same. The pure color in the color component is preserved.
例えば、色圧縮部705および第一色変換部706後の画像信号において純色による色再現を実現していた場合であっても、本実施形態の合成処理によると、純色が保存されることとなり、結果として粒状感を抑えたより鮮やかな画像を得ることができる。
For example, even if color reproduction with a pure color is realized in the image signal after the
さらにまた、本実施形態の合成処理によると、低彩度領域においては従来の記憶色をより再現するように彩度の補正が行われるため、人物画における肌色再現にはなんら影響することなく、風景などにおける高彩度領域のみ鮮やかにすることができる。 Furthermore, according to the synthesis processing of the present embodiment, saturation correction is performed so as to reproduce the conventional memory color more in the low saturation region, so that there is no influence on the skin color reproduction in the portrait, Only high-saturation areas in landscapes can be made vivid.
(第2の実施形態)
次に、本発明における他の実施形態について説明する。
本実施形態は、デジタルカメラ又はメモリカード等からUSBインターフェースを介して、画像出力装置402にJPEG等の符号化された画像データを送信する場合に、本発明における画像処理装置および画像処理方法を適用した場合の実施形態である。
(Second Embodiment)
Next, another embodiment of the present invention will be described.
The present embodiment applies the image processing apparatus and the image processing method according to the present invention when encoded image data such as JPEG is transmitted from the digital camera or the memory card to the
図14は本実施形態における画像処理の流れを示すブロック図である。 FIG. 14 is a block diagram showing the flow of image processing in this embodiment.
デジタルカメラ1401から送信されたJPEG画像データは、YCC画像処理部1403において伸張処理が行われ、それぞれの画素に応じたYCbCrのカラー画像データが生成される。YCC画像処理部1403ではさらに、YCrCb色空間において適切な画像処理が行われ、RGB色空間へ変換された後、色域圧縮処理部へ送信される。すなわち、YCC画像処理部1403は、上記RGB色空間に変換されたカラー画像信号から少なくとも二つの画像信号に分配して、第1の入力画像信号である画像信号IMG1と第2の入力画像信号である画像信号IMG2とを取得する。次いで、該取得した画像信号IMG1を第一色域圧縮部1410に送信し、上記取得した画像信号IMG2を第二色域圧縮部1411に送信する。
The JPEG image data transmitted from the
すなわち、YCC画像処理部1403から色域圧縮処理部へは二系統の画像信号(画像信号IMG1および画像信号IMG2)として、それぞれ第一色域圧縮部1410および第二色域圧縮部1411へ送信される。
That is, the YCC
第一色域圧縮部1410は、第1の実施形態における色域圧縮部705(図7)と同様に印刷目的に合わせて記憶色を再現可能な適切な色域への圧縮を行い、該圧縮された信号を第一色変換部1412へ送信する。なお、色域圧縮においては、デジタルカメラの色域がモニタの色域よりも広いことを考慮し、AdobeRGB色空間もしくは、モニタの色空間であるsRGB色空間を拡張して符号化を可能にする拡張sRGB色空間を利用することも考えられる。
Similar to the color gamut compression unit 705 (FIG. 7) in the first embodiment, the first color
第二色域圧縮部1411では、線形のテーブルを持たせることで第1の実施形態と同様に処理をスルーさせ、そのままプリンタの色域内の信号として第二色変換部1413に送信しても良い。
また、第一色域圧縮部1410とは異なる色域圧縮を行うことで、その後の合成処理の効果を制御することも考えられる。
In the second color
It is also conceivable to control the effect of subsequent synthesis processing by performing color gamut compression different from that of the first color
さらに、第一色域圧縮部1410および第二色域圧縮部1412においては、入力の画像データの色空間が、AdobeRGBなのか拡張sRGBなのかを判定し、判定結果に応じた色空間のテーブルを参照する。該参照によって常に適切な色空間での色域圧縮を実現することも考えられる。こうすることで、様々な色空間の画像データの入力に対応した画像出力が可能となる。
Further, in the first color
第一色域圧縮部1410および第二色域圧縮部1412においてプリンタの色空間へ変換されたそれぞれの画像信号は、第一色変換部706および第二色変換部707を介し、合成部708にて新たな画像信号を生成し、プリンタ部623にて印刷される。
The respective image signals converted into the printer color space by the first color
以上の様に、本実施形態における画像処理装置では、入力の画像データがJPEG等の符号化されたものであっても、第1の実施形態の場合と同様に合成処理を行うことができる。つまり、入力の画像データによって色空間が異なる場合であっても、色域圧縮部において適切なテーブルを参照することで、画像が破綻することなく合成処理を行うことができる。 As described above, in the image processing apparatus according to the present embodiment, even if the input image data is encoded using JPEG or the like, the composition process can be performed as in the case of the first embodiment. That is, even if the color space differs depending on the input image data, the color gamut compression unit can refer to an appropriate table to perform the synthesis process without causing the image to fail.
(その他の実施形態)
本発明は、複数の機器(例えばコンピュータ、インターフェース機器、リーダ、プリンタなど)から構成されるシステムに適用することも、1つの機器からなる装置(複合機、プリンタ、ファクシミリ装置など)に適用することも可能である。
(Other embodiments)
The present invention can be applied to a system constituted by a plurality of devices (for example, a computer, an interface device, a reader, a printer, etc.), or can be applied to an apparatus (multifunction device, printer, facsimile machine, etc.) comprising a single device. Is also possible.
前述した実施形態の機能を実現するように前述した実施形態の構成を動作させるプログラムを記憶媒体に記憶させ、該記憶媒体に記憶されたプログラムをコードとして読み出し、コンピュータにおいて実行する処理方法も上述の実施形態の範疇に含まれる。即ちコンピュータ読み取り可能な記憶媒体も実施例の範囲に含まれる。また、前述のコンピュータプログラムが記憶された記憶媒体はもちろんそのコンピュータプログラム自体も上述の実施形態に含まれる。 The processing method for storing the program for operating the configuration of the above-described embodiment so as to realize the function of the above-described embodiment in a storage medium, reading the program stored in the storage medium as a code, and executing the program on the computer is also described above. It is included in the category of the embodiment. That is, a computer-readable storage medium is also included in the scope of the embodiments. In addition to the storage medium storing the computer program, the computer program itself is included in the above-described embodiment.
かかる記憶媒体としてはたとえばフロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD―ROM、磁気テープ、不揮発性メモリカード、ROMを用いることができる。 As such a storage medium, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, and a ROM can be used.
また前述の記憶媒体に記憶されたプログラム単体で処理を実行しているものに限らず、他のソフトウエア、拡張ボードの機能と共同して、OS上で動作し前述の実施形態の動作を実行するものも前述した実施形態の範疇に含まれる。 In addition, the processing is not limited to the single program stored in the above-described storage medium, but operates on the OS in cooperation with other software and expansion board functions to execute the operations of the above-described embodiments. This is also included in the category of the embodiment described above.
401 画像入力装置
402 画像出力装置
403 ネットワーク
701 OS
702 ドライバ部
703 コントローラ部
705 色域圧縮部
706 第一色変換部
707 第二色変換部
708 合成部
709 シアン用の合成率変換テーブルLUT
710 マゼンタ用の合成率変換テーブルLUT
711 イエロー用の合成率変換テーブルLUT
712 ブラック用の合成率変換テーブルLUT
401
702
710 Composite rate conversion table LUT for magenta
711 Composite rate conversion table LUT for yellow
712 Composite rate conversion table LUT for black
Claims (16)
第一の入力画像信号を色圧縮する色圧縮手段と、
前記色圧縮手段により色圧縮された画像信号を、該画像信号の色空間と異なる色空間へ変換する第一色変換手段と、
前記第1の入力画像信号と同一の信号である第二の入力画像信号を色圧縮することなく前記異なる色空間へ変換する第二色変換手段と、
前記第一色変換手段および前記第二色変換手段により色変換された二つの画像信号を合成し、新たな画像信号を生成する合成手段と
を備えることを特徴とする画像処理装置。 An image processing device capable of converting a color image signal input by an input device into an image signal suitable for the output device,
Color compression means for color-compressing the first input image signal;
First color conversion means for converting the image signal color-compressed by the color compression means into a color space different from the color space of the image signal;
Second color conversion means for converting the second input image signal, which is the same signal as the first input image signal, into the different color space without color compression;
An image processing apparatus comprising: combining means for combining two image signals color-converted by the first color conversion means and the second color conversion means to generate a new image signal.
該二つの画像信号の少なくとも一方は前記出力装置の再現し得る全ての色域を利用可能な信号であることを特徴とする請求項1に記載の画像処理装置。 The color space of the two image signals input to the combining means is the color space of the output device,
The image processing apparatus according to claim 1, wherein at least one of the two image signals is a signal that can use all color gamuts that can be reproduced by the output device.
前記第一色変換部により色変換された画像信号を取得する第一の画像信号取得手段と、
前記第二色変換部により色変換された画像信号を取得する第二の画像信号取得手段と、
前記第一色変換手段および前記第二色変換手段により色変換された二つの画像信号を合成する際の合成率を規定した合成率換算テーブルを参照して、前記第二の画像信号取得手段により取得された画像信号と前記合成率換算テーブルとから、前記合成率を生成する合成率生成手段と、
前記第一の画像信号取得手段により取得された画像信号と、前記第二の画像信号取得手段により取得された画像信号とを、前記合成率に従って合成して前記新たな画像信号を生成する手段と
を有することを特徴とする請求項1乃至5のいずれかに記載の画像処理装置。 The synthesis means includes
First image signal acquisition means for acquiring an image signal color-converted by the first color conversion unit;
Second image signal acquisition means for acquiring the image signal color-converted by the second color conversion unit;
The second image signal acquisition unit refers to a combination rate conversion table that defines a combination rate when combining the two image signals color-converted by the first color conversion unit and the second color conversion unit. From the acquired image signal and the synthesis rate conversion table, a synthesis rate generation means for generating the synthesis rate,
Means for synthesizing the image signal acquired by the first image signal acquiring means and the image signal acquired by the second image signal acquiring means in accordance with the combining rate to generate the new image signal; The image processing apparatus according to claim 1, comprising:
第一の入力画像信号を色圧縮する色圧縮工程と、
前記色圧縮工程により色圧縮された画像信号を、該画像信号の色空間と異なる色空間へ変換する第一色変換工程と、
前記第1の入力画像信号と同一の信号である第二の入力画像信号を色圧縮することなく前記異なる色空間へ変換する第二色変換工程と、
前記第一色変換工程および前記第二色変換工程により色変換された二つの画像信号を合成し、新たな画像信号を生成する合成工程と
を有することを特徴とする画像処理方法。 An image processing method capable of converting a color image signal input by an input device into an image signal suitable for the output device,
A color compression step for color-compressing the first input image signal;
A first color conversion step of converting the image signal color-compressed by the color compression step into a color space different from the color space of the image signal;
A second color conversion step of converting the second input image signal, which is the same signal as the first input image signal, into the different color space without color compression;
An image processing method comprising: a combining step of combining the two image signals color-converted by the first color conversion step and the second color conversion step to generate a new image signal.
該二つの画像信号の少なくとも一方は前記出力装置の再現し得る全ての色域を利用可能な信号であることを特徴とする請求項8に記載の画像処理方法。 The color space of the two image signals input to the synthesis step is the color space of the output device,
9. The image processing method according to claim 8, wherein at least one of the two image signals is a signal that can use all the color gamuts that can be reproduced by the output device.
前記第一色変換工程により色変換された画像信号を取得する第一の画像信号取得工程と、
前記第二色変換工程により色変換された画像信号を取得する第二の画像信号取得工程と、
前記第一色変換工程および前記第二色変換工程により色変換された二つの画像信号を合成する際の合成率を規定した合成率換算テーブルを参照して、前記第二の画像信号取得工程により取得された画像信号と前記合成率換算テーブルとから、前記合成率を生成する合成率生成工程と、
前記第一の画像信号取得工程により取得された画像信号と、前記第二の画像信号取得工程により取得された画像信号とを、前記合成率に従って合成して前記新たな画像信号を生成する工程と
を有することを特徴とする請求項8乃至12のいずれかに記載の画像処理方法。 The synthesis step includes
A first image signal acquisition step of acquiring the image signal color-converted by the first color conversion step;
A second image signal acquisition step of acquiring the image signal color-converted by the second color conversion step;
With reference to the synthesis rate conversion table that defines the synthesis rate when synthesizing the two image signals color-converted by the first color conversion step and the second color conversion step, the second image signal acquisition step From the acquired image signal and the synthesis rate conversion table, a synthesis rate generation step of generating the synthesis rate,
Synthesizing the image signal acquired by the first image signal acquisition step and the image signal acquired by the second image signal acquisition step according to the synthesis rate, and generating the new image signal; The image processing method according to claim 8, further comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007276884A JP2009105765A (en) | 2007-10-24 | 2007-10-24 | Image processing apparatus and image processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007276884A JP2009105765A (en) | 2007-10-24 | 2007-10-24 | Image processing apparatus and image processing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2009105765A true JP2009105765A (en) | 2009-05-14 |
Family
ID=40707012
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007276884A Pending JP2009105765A (en) | 2007-10-24 | 2007-10-24 | Image processing apparatus and image processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2009105765A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015165607A (en) * | 2014-02-28 | 2015-09-17 | 富士ゼロックス株式会社 | Image processing apparatus, image processing method, image processing system, and program |
-
2007
- 2007-10-24 JP JP2007276884A patent/JP2009105765A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2015165607A (en) * | 2014-02-28 | 2015-09-17 | 富士ゼロックス株式会社 | Image processing apparatus, image processing method, image processing system, and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5269042B2 (en) | Image processing apparatus, image processing method, and lookup table generation method | |
| US7804630B2 (en) | Image processing apparatus and image processing method | |
| JP2001216498A (en) | Image signal processing method, image signal processing device, and medium recording image signal processing program | |
| CN101242469B (en) | image processing device | |
| JP5482073B2 (en) | Image processing apparatus, image forming system, and program | |
| JP2007336542A (en) | Image forming apparatus and image forming method | |
| US20080018920A1 (en) | Image processing apparatus | |
| JP2012178738A (en) | Profile creation method, profile creation apparatus, image processing apparatus for performing color conversion using profile, and program | |
| JP2009154365A (en) | Image processing apparatus, image processing method, image processing program, and recording medium | |
| JP4393328B2 (en) | Image processing apparatus and method | |
| JP2009117952A (en) | Image processing apparatus, image forming method, and program | |
| JP2001292331A (en) | Image processing method and apparatus, image processing system, and recording medium | |
| JP5521986B2 (en) | Image forming system | |
| US6580822B1 (en) | Device, method and record medium for color space conversion from RGB data to CMYK data | |
| JP2005253072A (en) | System and method for gamut mapping control | |
| JP2000032280A (en) | Image artifact reduction method | |
| JP2008160306A (en) | Method for generating combined lookup table, image processing apparatus, and image forming apparatus | |
| JP4467202B2 (en) | Color conversion apparatus and color conversion method | |
| JP2008205574A (en) | Print control apparatus and program | |
| US20070253039A1 (en) | Image processing apparatus | |
| JP2007208531A (en) | Multicolor printing apparatus and control method thereof | |
| JP5625664B2 (en) | Image processing apparatus, image processing method, image forming apparatus, and image processing program | |
| JP2009105765A (en) | Image processing apparatus and image processing method | |
| CN101247464A (en) | Image forming apparatus and method for compensating monochrome | |
| JP2008172436A (en) | Image processing unit, method, and program |