JP2011182136A - Device, method and program for processing image - Google Patents
Device, method and program for processing image Download PDFInfo
- Publication number
- JP2011182136A JP2011182136A JP2010043357A JP2010043357A JP2011182136A JP 2011182136 A JP2011182136 A JP 2011182136A JP 2010043357 A JP2010043357 A JP 2010043357A JP 2010043357 A JP2010043357 A JP 2010043357A JP 2011182136 A JP2011182136 A JP 2011182136A
- Authority
- JP
- Japan
- Prior art keywords
- color space
- printer
- input data
- lut
- rgb
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、画像処理装置、画像処理方法および画像処理プログラムに関する。 The present invention relates to an image processing apparatus, an image processing method, and an image processing program.
従来より、画像などの入力データをプリンタ等で出力する際には、該入力データに対して色変換処理などの画像処理を施して出力データを生成し、該出力データに基づいて出力処理を実行する。 Conventionally, when input data such as an image is output by a printer or the like, output data is generated by performing image processing such as color conversion processing on the input data, and output processing is executed based on the output data To do.
色変換処理は、ある色空間で規定された階調画像を別の色空間で規定された階調画像に変換する処理である。たとえば、ホスト装置などで生成される入力データがRGB色空間で規定される一方、出力機器(たとえば、プリンタ)ではCMYK色空間で規定された出力データに基づいて印刷を実行することから、色変換処理が必要となる。色変換の方法としては、変換前の色空間における色値と変換後の色空間における色値とを対応づけた変換情報(LUT:Look−up Table)を用意しておき、該LUTを参照して色変換を行う方法が一般的である(たとえば、特許文献1参照)。 The color conversion process is a process for converting a gradation image defined in a certain color space into a gradation image defined in another color space. For example, while input data generated by a host device or the like is defined in the RGB color space, the output device (for example, a printer) executes printing based on the output data defined in the CMYK color space. Processing is required. As a color conversion method, conversion information (LUT: Look-up Table) in which color values in a color space before conversion and color values in a color space after conversion are associated is prepared, and the LUT is referred to. The color conversion method is generally used (see, for example, Patent Document 1).
ここで、たとえば、複数の色空間で表現された入力データを処理するプリンタにおいては、各色空間からプリンタの機種に依存する出力色空間へ変換するための複数のLUTを用意する必要がある。 Here, for example, in a printer that processes input data expressed in a plurality of color spaces, it is necessary to prepare a plurality of LUTs for converting each color space into an output color space depending on the printer model.
また、同じ色空間であっても、入力データの種類に応じて処理内容を変更した方が望ましい場合、たとえば、同じ色空間に対してテキスト用のLUTとイメージ用のLUTを用意する場合は、上記複数のLUTの数がさらに増加する。 In addition, even in the same color space, when it is desirable to change the processing contents according to the type of input data, for example, when preparing a text LUT and an image LUT for the same color space, The number of the plurality of LUTs further increases.
そのため、これら複数のLUTを保持するため、プリンタには大きな記憶容量を有するメモリが必要となる。特に、プリンタで用いられる色空間は、通常、4次元のCMYK色空間であって、この4次元の色空間に変換する各LUTのデータ量は多い傾向がある。 Therefore, in order to hold these multiple LUTs, the printer needs a memory having a large storage capacity. In particular, the color space used in the printer is usually a four-dimensional CMYK color space, and there is a tendency that the data amount of each LUT converted into the four-dimensional color space is large.
また、上述のように、出力色空間はプリンタの機種に依存するので、上記複数のLUTを機種ごとに設計する必要があり、その設計者の手間と時間を要していた。 Further, as described above, since the output color space depends on the model of the printer, it is necessary to design the plurality of LUTs for each model, which takes time and effort of the designer.
したがって、本発明は、入力色空間で表現された入力データを、出力色空間で表現された出力データに変換する画像処理装置等であって、変換情報の設計が容易であり、該変換情報の記憶容量を少なく抑えることのできる画像処理装置等を提供することを目的とする。 Therefore, the present invention is an image processing apparatus or the like that converts input data expressed in an input color space into output data expressed in an output color space, and the conversion information can be easily designed. It is an object of the present invention to provide an image processing apparatus or the like that can reduce the storage capacity.
本発明による画像処理装置は、入力色空間で表現された入力データを、出力色空間で表現された出力データに変換する画像処理装置であって、第1の色空間を、第2の色空間に変換するための第1変換情報を記憶する第1記憶部と、前記第2の色空間を前記出力色空間に変換するための第2変換情報を記憶する第2記憶部と、前記入力データの入力色空間が前記第2の色空間である場合、該入力データを前記第2変換情報を用いて出力データに変換する変換手段と、を備え、前記変換手段は、前記入力データの入力色空間が前記第1の色空間である場合、該入力データを前記第1変換情報および前記第2変換情報を用いて出力データに変換する。 An image processing apparatus according to the present invention is an image processing apparatus that converts input data expressed in an input color space into output data expressed in an output color space, wherein the first color space is converted into a second color space. A first storage unit that stores first conversion information for conversion into the second color space; a second storage unit that stores second conversion information for converting the second color space into the output color space; and the input data Conversion means for converting the input data into output data using the second conversion information when the input color space is the second color space, and the conversion means includes the input color of the input data. When the space is the first color space, the input data is converted into output data using the first conversion information and the second conversion information.
また、前記第1記憶部は、前記第1の色空間の種類に応じて複数の前記第1変換情報を記憶することが望ましい。 The first storage unit preferably stores a plurality of the first conversion information according to the type of the first color space.
さらに、前記画像処理装置は、着脱可能な機器ユニットを備えており、前記第1記憶部は、前記機器ユニットに配置されてもよい。 Furthermore, the image processing apparatus may include a detachable device unit, and the first storage unit may be disposed in the device unit.
本発明による画像処理方法は、入力色空間で表現された入力データを、出力色空間で表現された出力データに変換する画像処理方法であって、第1の色空間を、第2の色空間に変換するための第1変換情報を記憶し、前記第2の色空間を前記出力色空間に変換するための第2変換情報を記憶し、前記入力データの入力色空間が前記第2の色空間である場合、該入力データを前記第2変換情報を用いて出力データに変換し、前記入力データの入力色空間が前記第1の色空間である場合、該入力データを前記第1変換情報および前記第2変換情報を用いて出力データに変換する。 An image processing method according to the present invention is an image processing method for converting input data expressed in an input color space into output data expressed in an output color space, wherein the first color space is converted into the second color space. Storing the first conversion information for converting into the output color space, storing the second conversion information for converting the second color space into the output color space, and the input color space of the input data as the second color If it is a space, the input data is converted into output data using the second conversion information, and if the input color space of the input data is the first color space, the input data is converted to the first conversion information. And it converts into output data using the said 2nd conversion information.
本発明による画像処理プログラムは、本発明の画像処理方法の各工程をコンピュータ上で実行させることを特徴とする。本発明のプログラムは、CD−ROM、磁気ディスク、半導体メモリなどの各種の記録媒体を通じてコンピュータにインストールまたはロードすることができる。 An image processing program according to the present invention is characterized by causing each step of the image processing method of the present invention to be executed on a computer. The program of the present invention can be installed or loaded on a computer through various recording media such as a CD-ROM, a magnetic disk, and a semiconductor memory.
以下、本発明を実施するための好適な各実施形態を、図面を参照しながら説明する。 Hereinafter, each preferred embodiment for carrying out the present invention will be described with reference to the drawings.
<第1実施形態>
図1は、本実施形態の画像処理システム1のハードウェア構成を表すブロック図である。画像処理システム1は、ホストコンピュータ10とプリンタ20とで構成される。
<First Embodiment>
FIG. 1 is a block diagram illustrating a hardware configuration of an
ホストコンピュータ10は、プリンタ20に対して印刷要求を行うプリンタドライバ101を備えており、プリンタ20に対してホスト装置として機能する。プリンタドライバ101は、ユーザの印刷指示操作に応答して、プリンタ20への画像データなどの入力データ(印刷対象データ)を生成し、プリンタ20に送信する。なお、プリンタドライバ101は、上記処理を記述したドライバプログラム等にしたがって処理を実行する制御装置によって構成可能である。プリンタドライバ101の構成自体は、原則として、通常のプリンタに使用されるプリンタドライバの構成と同様にすることができるので、その詳細な説明は省略する。
The
プリンタ(画像処理装置)20は、たとえば、ホストコンピュータ10と通信ネットワークを介して接続され、ホストコンピュータ10から入力色空間で表現された入力データを受信し、該入力データを印刷用のインクに対応する出力色空間で表現された出力データ(印刷データ)に変換し、該出力データの印刷を実行するものである。
For example, the printer (image processing apparatus) 20 is connected to the
ここで、本実施形態において、出力データで表現される出力色空間は、プリンタ20の機種に依存するCMYK色空間とし、入力データで表現される入力色空間は、RGB(1)色空間、RGB(2)色空間(RGB(1)色空間とは異なる色空間)、CMYK(2),CMYK(3)色空間(出力色空間としてのCMYK色空間とは異なる色空間)、およびLab色空間のいずれかの色空間とする。なお、CMYKであっても、インク、トナーなどの色材が異なれば、同じ色を表す場合の色値の階調濃度は異なる値となるため、上述のようなCMYK(2)色空間およびCMYK(3)が存在し得る。 Here, in the present embodiment, the output color space expressed by the output data is a CMYK color space depending on the model of the printer 20, and the input color space expressed by the input data is an RGB (1) color space, RGB (2) Color space (color space different from RGB (1) color space), CMYK (2), CMYK (3) color space (color space different from CMYK color space as output color space), and Lab color space One of the color spaces. Even in the case of CMYK, if the color materials such as ink and toner are different, the gradation density of the color value when representing the same color will be different, so the CMYK (2) color space and CMYK as described above. (3) may exist.
プリンタ20は、プリンタエンジン21、プリンタコントローラ22を含んで構成される。ただし、プリンタコントローラ22は、プリンタ20と別体になされてもよい。
The printer 20 includes a
プリンタエンジン21は、その構成自体は通常のプリンタエンジンと同様であって、たとえば、インクジェットプリンタや熱転写プリンタのように1文字単位で印刷するシリアルプリンタ、1行単位で印刷するラインプリンタ、ページ単位で印刷するページプリンタ等に対応する各種プリンタエンジンを用いることができる。
The
プリンタコントローラ22は、たとえば、各種演算を行うCPU(中央演算処理装置)201、各種データや各種プログラム等をあらかじめ格納するROM202、CPU201が実行するプログラムまたは画像データを一時的に記憶するRAM203、およびホストコンピュータ10などの外部機器と通信可能に接続するためのインタフェース204などの構成要素を備えている。
The
プリンタコントローラ22は、機能的には、図2に示すように、受信手段221と、判断手段222と、変換手段223と、第1記憶部224と、第2記憶部225とを備える。受信手段221などの各手段は、主に、CPU201がROM202やRAM203に格納されるプログラムを実行し、各ハードウェアを制御することにより実現され、第1記憶部224および第2記憶部225は、ROM202やRAM203を用いて実現することができる。
As shown in FIG. 2, the
第1記憶部224は、第1の色空間を第2の色空間に変換するための第1変換情報を記憶する。第2の色空間は、RGB(1)色空間(RGB色空間)である。一方、第1の色空間は、第2の色空間としてのRGB色空間を除いた入力色空間、すなわち、RGB(2)色空間と、CMYK(2)色空間と、CMYK(3)色空間と、Lab色空間とのいずれかの色空間である。第1変換情報は、第1の色空間における色値と第2の色空間における色値とを対応づけた変換情報(LUT:Look−up Table)であって、第1の色空間の種類に応じて複数用意される。具体的には、RGB(2)色空間からRGB色空間に変換するためのLUT「RGB(2) to RGB LUT」、CMYK(2)色空間からRGB色空間に変換するためのLUT「CMYK(2) to RGB LUT」、CMYK(3)色空間からRGB色空間に変換するためのLUT「CMYK(3) to RGB LUT」、およびLab色空間からRGB色空間に変換するためのLUT「Lab to RGB LUT」である。
The
第2記憶部225は、第2の色空間を出力色空間に変換するための第2変換情報を記憶する。すなわち、第2変換情報は、RGB色空間からCMYK色空間に変換するためのLUT「RGB to CMYK LUT」である。
The
受信手段221は、ホストコンピュータ10から各入力色空間で表現された入力データを受信する。
The receiving
判断手段222は、受信手段221により受信した入力データで表現される入力色空間が第1の色空間であるか否かを判断する。
The
変換手段223は、判断手段222により判断した結果、入力データの入力色空間が第1の色空間である場合、該入力データを第1変換情報および第2変換情報を用いて出力データに変換し、入力データの入力色空間が第2の色空間である場合、該入力データを第2変換情報を用いて出力データに変換する。図3に、変換手段223による処理フローの概略図を示す。
When the input color space of the input data is the first color space as a result of the determination by the
以下、図4に示すフローチャートを参照して、プリンタ20を用いて実施される画像処理方法を説明する。以下の処理は、CPU201が主として実行する。なお、各工程(符号が付与されていない部分的な工程を含む)は処理内容に矛盾を生じない範囲で任意に順番を変更して又は並列に実行することができる。また、CPU201は、種々の機能を備えるが、画像処理に直接関係しない機能については説明を省略する。
Hereinafter, an image processing method performed using the printer 20 will be described with reference to a flowchart shown in FIG. The following processing is mainly executed by the
本実施形態において、プリンタ20は、色変換処理の前段階として、上述した第1変換情報および第2変換情報が、それぞれ第1記憶部224および第2記憶部225に予め記憶されているものとする。
In the present embodiment, the printer 20 stores the first conversion information and the second conversion information described above in advance in the
プリンタ20における色変換処理は、まず、プリンタコントローラ22が、入力色空間で表現された入力データを受信する(ステップS100)。たとえば、ホストコンピュータ10から「RGB」色空間で表現された入力データ、「RGB(2)」色空間で表現された入力データ、または「CMYK(2)」色空間で表現された入力データを受信する。
In the color conversion process in the printer 20, first, the
次いで、プリンタコントローラ22が、受信した入力データの入力色空間が第2の色空間であるか、または第1の色空間であるかを判断する(ステップS101)。
Next, the
判断した結果、入力データの入力色空間が第1の色空間である場合(ステップS101:第1の色空間)、プリンタコントローラ22が、第1の色空間に対応する第1変換情報を第1記憶部224から取得する(ステップS102)。たとえば、受信した入力データが、「RGB(2)」色空間で表現された入力データであれば、該「RGB(2)」色空間に対応するLUT「RGB(2) to RGB LUT」を第1記憶部224から取得する。
As a result of the determination, if the input color space of the input data is the first color space (step S101: first color space), the
次いで、プリンタコントローラ22が、取得した第1変換情報を用いて、入力データを変換する(ステップS103)。たとえば、LUT「RGB(2) to RGB LUT」を用いることで、「RGB(2)」色空間の色値を第2の色空間とする「RGB」色空間の色値にして入力データを変換する。
Next, the
次いで、プリンタコントローラ22が、第2変換情報を第2記憶部225から取得する(ステップS104)。すなわち、LUT「RGB to CMYK LUT」を第2記憶部225から取得する。
Next, the
次いで、プリンタコントローラ22が、取得した第2変換情報を用いて、上記変換された入力データを出力データに変換する(ステップS105)。すなわち、LUT「RGB to CMYK LUT」を用いることで、第2の色空間である「RGB」色空間の色値を出力色空間である「CMYK」色空間の色値にして、上記ステップS103の処理で変換された入力データを出力データに変換する。
Next, the
一方、ステップS101の処理で判断した結果、入力データの入力色空間が第2の色空間である場合(ステップS101:第2の色空間)、プリンタコントローラ22が、第2変換情報を第2記憶部225から取得する(ステップS106)。たとえば、受信した入力データが、「RGB」色空間で表現された入力データであれば、LUT「RGB to CMYK LUT」を第2記憶部225から取得する。
On the other hand, as a result of the determination in step S101, if the input color space of the input data is the second color space (step S101: second color space), the
次いで、プリンタコントローラ22は、取得した第2変換情報を用いて、入力データを出力データに変換する(ステップS107)。すなわち、LUT「RGB to CMYK LUT」を用いることで、「RGB」色空間の色値を「CMYK」色空間の色値にして、入力データを出力データに変換する。
Next, the
以上、本実施形態の画像処理装置および画像処理方法によれば、プリンタ20に保持すべきLUTのうち、プリンタの機種に依存する出力色空間に係るLUTは、「RGB to CMYK LUT」である。その結果、プリンタの機種によって変更すべきLUTは上記LUTのみとなり、プリンタの機種ごとの設計に必要なLUTの数を抑制でき、LUTの設計に伴う設計者の手間と時間を大幅に省略することができる。 As described above, according to the image processing apparatus and the image processing method of the present embodiment, among the LUTs to be held in the printer 20, the LUT related to the output color space depending on the printer model is “RGB to CMYK LUT”. As a result, the only LUT to be changed depending on the printer model is the above LUT, the number of LUTs required for designing each printer model can be suppressed, and the labor and time of the designer associated with the LUT design can be greatly reduced. Can do.
すなわち、出力色空間に変換するLUTは、プリンタの特性を考慮して作成しなければならないため、設計者にとって手間がかかる。そして、従来は、このLUTを入力データの色空間の種類に応じた数分だけ作成しなければならなかったため、設計者にとっては過大な負担となっていた。しかし、本発明は、プリンタの特性を考慮して作成するLUTを1つのみとすることができるので、LUTの設計に伴う設計者の手間と時間を大幅に省略することができる。 In other words, the LUT for converting to the output color space must be created taking into account the characteristics of the printer, which is troublesome for the designer. Conventionally, this LUT has to be created by the number corresponding to the type of the color space of the input data, which is an excessive burden on the designer. However, according to the present invention, since only one LUT can be created in consideration of the characteristics of the printer, it is possible to greatly reduce the time and effort of the designer associated with the LUT design.
また、プリンタで用いられる出力色空間は、一般的に、プリンタの機種に依存する4次元のCMYK色空間であるため、4次元の出力色空間に変換する各LUTのデータ量は多くなってしまう。そのため、従来のように、4次元の出力色空間に変換するLUTを複数保持する場合、プリンタには大きな記憶容量が必要となる。しかし、本発明によれば、入力データの色空間をプリンタの機種に依存しない第2の色空間に変換するLUTを用意することで、4次元の出力色空間に変換するLUTを1つのみとすることができ、各入力色空間の色値を第2の色空間の色値にするLUTはプリンタの特性を考慮せずに粗く作成できるため、LUTを保持する際に必要なプリンタの記憶容量を少なく抑えることができる。 In addition, since the output color space used in the printer is generally a four-dimensional CMYK color space that depends on the printer model, the amount of data in each LUT that is converted into the four-dimensional output color space increases. . Therefore, when a plurality of LUTs to be converted into a four-dimensional output color space are held as in the prior art, the printer needs a large storage capacity. However, according to the present invention, by preparing an LUT for converting the color space of the input data to the second color space independent of the printer model, only one LUT for converting to the four-dimensional output color space can be obtained. Since the LUT that changes the color value of each input color space to the color value of the second color space can be roughly created without considering the characteristics of the printer, the storage capacity of the printer required to hold the LUT Can be reduced.
さらに、本発明では、第2の色空間として、RGB色空間を用いている。第2の色空間を用いる際に、CMYK色空間で表現される色が、第2の色空間で表現できない場合は、プリンタ本来の印刷能力を十分に発揮できないという問題があり、また、第2の色空間で表現される色が、CMYK色空間で表現できない場合は、入力データを出力データに色変換処理する際、色変換の精度が落ちてしまうという問題がある。しかし、本発明では、上述したRGB色空間を用いることで、その問題を解決することができる。 Furthermore, in the present invention, the RGB color space is used as the second color space. When the second color space is used, if the color expressed in the CMYK color space cannot be expressed in the second color space, there is a problem that the original printing ability of the printer cannot be sufficiently exhibited. When the color expressed in the color space cannot be expressed in the CMYK color space, there is a problem in that the accuracy of color conversion is reduced when color conversion processing is performed on input data to output data. However, in the present invention, this problem can be solved by using the above-described RGB color space.
<第1実施形態の変形例>
第1実施形態の画像処理システム1では、第1記憶部224がプリンタ20内に配置されている場合を説明したが、本実施形態はこれに限られず、たとえば、プリンタ20が着脱可能な機器ユニットを備える場合、図5および図6に示すように、第1記憶部224'が機器ユニット30内に配置されていてもよい。すなわち、上記変換手段223は、入力データの入力色空間が第1の色空間である場合、プリンタ20に装着された機器ユニット30にアクセスし、該機器ユニット30から第1の色空間に対応する第1変換情報を取得する。なお、機器ユニット30は、たとえば、プリンタの各処理を実行する一般的なプリンタボードや、またはUSBメモリ等の記憶装置を用いることができる。
<Modification of First Embodiment>
In the
また、プリンタ20内および機器ユニット30内にそれぞれ第1記憶部が備えられ(第1記憶部224,224')、異なる第1変換情報を記憶する構成であってもよい。たとえば、プリンタ20内の第1記憶部224には、「RGB(2) to RGB LUT」、「CMYK(2) to RGB LUT」、および「CMYK(3) to RGB LUT」が記憶され、機器ユニット30内の第1記憶部224'には、「Lab to RGB LUT」が記憶されていてもよい。
Further, the first storage unit may be provided in each of the printer 20 and the device unit 30 (
これらの上記構成とすれば、プリンタ20自体にある入力色空間で表現された入力データに変換するLUTが記憶されていない場合でも、該LUTが記憶された機器ユニット30をプリンタ20に装着するのみで、上記入力データを出力データに変換することができる。
With these configurations, even when the LUT for converting the input data expressed in the input color space in the printer 20 itself is not stored, the
さらに、第1実施形態のプリンタコントローラ22の構成に加えて、更新手段を備えさせ、該更新手段によって、プリンタ20に装着された機器ユニット30の記憶部224'に保持される第1変換情報を第1記憶部224に追加・更新するような構成とすることもできる。
Further, in addition to the configuration of the
<第2実施形態>
第2実施形態の画像処理システム2は、プリンタ20aが、色変換処理を実行するシステムAおよびシステムBを備えることを特徴とする。
Second Embodiment
The
図7に、本実施形態の画像処理システム2のハードウェア構成を表すブロック図である。画像処理システム1は、ホストコンピュータ10aとプリンタ20aとで構成される。
FIG. 7 is a block diagram illustrating a hardware configuration of the
ホストコンピュータ10aは、プリンタ20aに対して印刷要求を行うプリンタドライバ101Aおよびプリンタドライバ101Bを備えるものであって、プリンタ20aのホスト装置である。プリンタドライバ101Aおよびプリンタドライバ101Bは、それぞれプリンタ20aのシステムAおよびシステムBのドライバとして機能する。プリンタドライバ101Aは、一般的に用いられるRGB色空間で表現された画像などの入力データを生成し、プリンタ20aに送信する。プリンタドライバ101Bは、RGB(2)色空間(RGB色空間とは異なる色空間)と、CMYK(2)色空間およびCMYK(3)色空間(出力色空間としてのCMYK色空間とは異なる色空間)と、Lab色空間とのいずれかの色空間で表現された入力データを生成し、プリンタ20aに送信する。なお、プリンタドライバ101A,101Bの機能は、原則として、通常のプリンタ20に用いられるプリンタドライバの機能と同様とすることができるので、その詳細な説明は省略する。
The
プリンタ20aは、プリンタエンジン21、システムA用プリンタコントローラ22A、システムB用プリンタコントローラ22Bを含んで構成される。ただし、システム用プリンタコントローラ22Bは、プリンタ20aと別体として構成することができる。
The
プリンタエンジン21、システムA用プリンタコントローラ22A,22Bは、第1実施形態のプリンタエンジン21、プリンタコントローラ22と同様のハードウェア構成とすることができるので、その詳細な説明は省略する。
Since the
システムA用プリンタコントローラ22Aは、図8に示すように、受信手段221Aと、変換手段223Aと、第2記憶部225とを備え、また、システムB用プリンタコントローラ22Bは、受信手段221Bと、変換手段223Bと、第1記憶部224とを備える。
As shown in FIG. 8, the system
第1記憶部224および第2記憶部225がそれぞれ記憶する第1変換情報(LUT)は、第1実施形態の場合と同様とし、たとえば、第1記憶部224には、第1の色空間から出力色空間に変換する各LUT「RGB(2) to RGB LUT」、「CMYK(2) to RGB LUT」、「CMYK(3) to RGB LUT」、および「Lab to RGB LUT」が記憶され、第2記憶部225には、第2の色空間から出力色空間に変換するLUT「RGB to CMYK LUT」が記憶される。
The first conversion information (LUT) stored in each of the
受信手段221Aは、ホストコンピュータ10aにおけるプリンタドライバ101Aから第2の色空間(RGB色空間)で表現された入力データを受信する。受信手段221Bは、ホストコンピュータ10aにおけるプリンタドライバ101Bから第1の色空間(RGB(2)色空間、CMYK(2)色空間、CMYK(3)色空間、およびLab色空間のいずれかの色空間)で表現された入力データを受信する。
The receiving
変換手段223Aは、受信手段221Aが入力データを受信した場合、第2記憶部225から第2変換情報を取得し、該取得した第2変換情報を用いて受信した入力データを出力データに変換する。変換手段223Bは、受信手段221Bが入力データを受信した場合、第2変換情報をシステムA用プリンタドライバの第2記憶部225から取得し、また、第1変換情報を第1記憶部224から取得し、受信した入力データを、該取得した第1変換情報および第2変換情報を用いて出力データに変換する。図10に、変換手段223Aおよび変換手段223Bによる処理フローの概略図を示す。
When the receiving
すなわち、図9に示すように、システムA用プリンタコントローラ22Aは、RGB色空間で表現された入力データを受信し、自らが保持する「RGB to CMYK LUT」を用いて、受信した入力データを出力色空間であるCMYK色空間で表現された出力データに変換して、色変換処理を終了する。一方、システムB用プリンタコントローラ22Bは、種々の入力色空間(第1の色空間)で表現された入力データを受信する。ここで、受信した入力データの入力色空間を出力色空間であるCMYK色空間に変換する必要があるが、本システムB用プリンタコントローラ22Bは、その変換処理をシステムA用プリンタコントローラ22Aと連携して行う。より具体的には、自らが保持する各LUT「RGB(2) to RGB LUT」、「CMYK(2) to RGB LUT」、「CMYK(3) to RGB LUT」、および「Lab to RGB LUT」と、システムA用プリンタコントローラ22Aとが保持するLUT「RGB to CMYK LUT」を用いて変換処理を実行する。
That is, as shown in FIG. 9, the system
以下、図10に示すフローチャートを参照して、システムBが起動した場合の処理手順の一例を説明する。以下の処理は、CPU201Bが主として実行する。なお、各工程(符号が付与されていない部分的な工程を含む)は処理内容に矛盾を生じない範囲で任意に順番を変更して又は並列に実行することができる。また、CPU201Bは、種々の機能を備えるが、画像処理に直接関係しない機能については説明を省略する。
Hereinafter, an example of a processing procedure when the system B is activated will be described with reference to the flowchart shown in FIG. The following processing is mainly executed by the
まず、プリンタコントローラ22Bが、第1の色空間で表現された入力データを受信する(ステップS200)。たとえば、ホストコンピュータ10から「RGB(2)」色空間で表現された入力データや「CMYK(2)」色空間で表現された入力データを受信する。
First, the
次いで、プリンタコントローラ22Bが、受信した入力データの第1の色空間に対応する第1変換情報を第1記憶部224から取得する(ステップS201)。たとえば、受信した入力データが、「RGB(2)」色空間で表現された入力データであれば、該「RGB(2)」色空間に対応するLUT「RGB(2) to RGB LUT」を第1記憶部224から取得する。
Next, the
次いで、プリンタコントローラ22Bが、取得した第1変換情報を用いて、入力データを変換する(ステップS202)。たとえば、LUT「RGB(2) to RGB LUT」を用いることで、「RGB(2)」色空間の色値を「RGB」色空間の色値にして入力データを変換する。
Next, the
次いで、プリンタコントローラ22Bが、第2変換情報(LUT)をシステムAの第2記憶部225から取得する(ステップS203)。すなわち、LUT「RGB to CMYK LUT」を第2記憶部225から取得する。
Next, the
次いで、プリンタコントローラ22Bが、取得した第2変換情報を用いて、上記変換された入力データを出力データに変換する(ステップS204)。すなわちLUT「RGB to CMYK LUT」を用いることで、第2の色空間である「RGB」色空間の色値を出力色空間である「CMYK」色空間の色値にして、上記ステップS202の処理で変換された入力データを出力データにさらに変換する。
Next, the
なお、上記ステップS203〜S204の処理の代わりに、プリンタコントローラ22Bが「RGB」色空間で表現されたデータをプリンタコントローラ22Aに送信し、このデータを受信したプリンタコントローラ22Aが、自ら保持するLUT「RGB to CMYK LUT」を用いて、「RGB」色空間の色値を「CMYK」色空間の色値にして、上記ステップS202の処理で変換された入力データを出力データに変換することもできる。
In place of the processing in steps S203 to S204, the
以上、本発明の第2実施形態の画像処理装置および画像処理方法によれば、システムB側では、プリンタ20の機種に依存するCMYKにかかるLUTを保持せず、そのLUTについてはシステムA側に保持されるものを利用する。その結果、システムB用プリンタコントローラ22Bは、保持するLUTがプリンタの機種に依存しないため、その意味において、どの機種のプリンタにも使用することができ、LUTに関しては他の機種のプリンタの設計にそのまま用いることができる。なお、このコントローラ部分が着脱可能なボードで構成されていれば、プリンタ20aのようなシステムAおよびBを用いた構成が可能な他のプリンタに、システムB用プリンタコントローラ22Bをそのまま装着して利用することができる。
As described above, according to the image processing apparatus and the image processing method of the second embodiment of the present invention, the system B side does not hold the LUT for CMYK depending on the model of the printer 20, and the LUT is not stored on the system A side. Use what is retained. As a result, since the LUT held by the system
<変形例>
以上のように本発明の好適な実施形態について説明したが、本発明は、以上の実施形態に限定されるべきものではなく、特許請求の範囲に表現された思想および範囲を逸脱することなく、種々の変形、追加、および省略が当業者によって可能である。
<Modification>
The preferred embodiments of the present invention have been described above. However, the present invention should not be limited to the above embodiments, and does not depart from the spirit and scope expressed in the claims. Various modifications, additions, and omissions are possible by those skilled in the art.
たとえば、上記各実施形態において、第1記憶部224および第2記憶部225から各LUTを用いて各変換処理を行う場合を説明したが、本発明はこれに限られず、各LUTを合成した後に1度の変換処理を行ってもよい。たとえば、第1実施形態の画像処理システム1において、RGB(2)色空間で表現された入力データを受信した場合、第1記憶部224からLUT「RGB(2) to RGB LUT」を取得し、また、第2記憶部225からLUT「RGB to CMYK LUT」を取得して、これらLUTから合成LUT「RGB(2) to CMYK LUT」を作成し、該作成したLUTを用いて、RGB(2)色空間で表現された入力データをCMYKで表現された出力データに変換することができる。
For example, in each of the above embodiments, the case where each conversion process is performed using each LUT from the
また、上記各実施形態では、第1の色空間として、RGB(2)、CMYK(2)、CMYK(3)、およびLabの4つの各色空間を例にとって説明したが、本発明はこれらに限られず、第1の色空間を、第2の色空間と異なる少なくとも1つの色空間とすることができる。 In each of the above embodiments, four color spaces of RGB (2), CMYK (2), CMYK (3), and Lab have been described as examples of the first color space. However, the present invention is not limited thereto. Instead, the first color space can be at least one color space different from the second color space.
さらに、上記各実施形態では、プリンタ20が画像処理装置としての機能を有する場合を説明したが、これに限られず、たとえば、ホストコンピュータ10に画像処理装置としての機能を組み込んで、ホストコンピュータ10の制御部で画像処理装置の各機能を実現することもできる。また、プリンタ20は、ホストコンピュータ10から入力データを受信する場合に限られず、たとえば、スキャナ装置などの画像形成装置から入力データを受信する構成とすることもできる。
Further, in each of the above embodiments, the case where the printer 20 has a function as an image processing apparatus has been described. However, the present invention is not limited to this. For example, the function of the image processing apparatus is incorporated in the
さらに、上記各実施形態において、画像処理装置としてのプリンタ20には、用途に応じた各手段が備えられているが、プリンタ20に備えられている各手段は、そのいくつかを一纏めにして構成されていてもよいし、一つの手段をさらに複数の手段に分割して構成されていてもよい。 Further, in each of the embodiments described above, the printer 20 as the image processing apparatus is provided with each unit according to the application. However, each unit provided in the printer 20 is configured by collecting some of them. Alternatively, one unit may be further divided into a plurality of units.
1 画像処理システム、10 ホストコンピュータ、101 プリンタドライバ、20 プリンタ、21 プリンタエンジン、22 プリンタコントローラ、221 受信手段、222 判断手段、223 変換手段、224 第1記憶部、225 第2記憶部、30 機器ユニット。
DESCRIPTION OF
Claims (5)
第1の色空間を、第2の色空間に変換するための第1変換情報を記憶する第1記憶部と、
前記第2の色空間を前記出力色空間に変換するための第2変換情報を記憶する第2記憶部と、
前記入力データの入力色空間が前記第2の色空間である場合、該入力データを前記第2変換情報を用いて出力データに変換する変換手段と、
を備え、
前記変換手段は、前記入力データの入力色空間が前記第1の色空間である場合、該入力データを前記第1変換情報および前記第2変換情報を用いて出力データに変換する画像処理装置。 An image processing apparatus that converts input data expressed in an input color space into output data expressed in an output color space,
A first storage unit that stores first conversion information for converting the first color space into the second color space;
A second storage unit that stores second conversion information for converting the second color space into the output color space;
Conversion means for converting the input data into output data using the second conversion information when the input color space of the input data is the second color space;
With
When the input color space of the input data is the first color space, the conversion means converts the input data into output data using the first conversion information and the second conversion information.
前記第1記憶部は、前記機器ユニットに配置される、請求項1または請求項2に記載の画像処理装置。 The image processing apparatus includes a detachable device unit,
The image processing apparatus according to claim 1, wherein the first storage unit is disposed in the device unit.
第1の色空間を、第2の色空間に変換するための第1変換情報、および前記第2の色空間を前記出力色空間に変換するための第2変換情報を記憶し、
前記入力データの入力色空間が前記第2の色空間である場合、該入力データを前記第2変換情報を用いて出力データに変換し、
前記入力データの入力色空間が前記第1の色空間である場合、該入力データを前記第1変換情報および前記第2変換情報を用いて出力データに変換する、画像処理方法。 An image processing method for converting input data expressed in an input color space into output data expressed in an output color space,
Storing first conversion information for converting the first color space into the second color space, and second conversion information for converting the second color space into the output color space;
When the input color space of the input data is the second color space, the input data is converted into output data using the second conversion information;
When the input color space of the input data is the first color space, the input data is converted into output data using the first conversion information and the second conversion information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010043357A JP2011182136A (en) | 2010-02-26 | 2010-02-26 | Device, method and program for processing image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010043357A JP2011182136A (en) | 2010-02-26 | 2010-02-26 | Device, method and program for processing image |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011182136A true JP2011182136A (en) | 2011-09-15 |
Family
ID=44693189
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010043357A Withdrawn JP2011182136A (en) | 2010-02-26 | 2010-02-26 | Device, method and program for processing image |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011182136A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004129226A (en) * | 2002-08-08 | 2004-04-22 | Canon Inc | Image processing apparatus, image processing method, imaging apparatus, computer program, and computer readable memory |
JP2008283546A (en) * | 2007-05-11 | 2008-11-20 | Fuji Xerox Co Ltd | Image processor, image output device, image processing system, image processing program, and image output program |
-
2010
- 2010-02-26 JP JP2010043357A patent/JP2011182136A/en not_active Withdrawn
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004129226A (en) * | 2002-08-08 | 2004-04-22 | Canon Inc | Image processing apparatus, image processing method, imaging apparatus, computer program, and computer readable memory |
JP2008283546A (en) * | 2007-05-11 | 2008-11-20 | Fuji Xerox Co Ltd | Image processor, image output device, image processing system, image processing program, and image output program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8743393B2 (en) | Printing management apparatus, printing management method, and program for the same | |
US9208415B2 (en) | Image processing apparatus and method encoding multi-valued image generated with fewer values | |
JP5539672B2 (en) | System and method for color mixing in multiple modes | |
JP5345431B2 (en) | Color conversion apparatus, color conversion method, and computer-readable medium | |
US20140293308A1 (en) | Relaying device, image processing device, and system comprising image processing device and relaying device | |
JP2009246964A5 (en) | ||
JP2007082060A (en) | Image processing device and connection system for image processings | |
US9036197B2 (en) | Data transfer control apparatus and data transfer control method | |
JP2011182136A (en) | Device, method and program for processing image | |
JP2010056769A (en) | Device and method for processing image | |
JP5163226B2 (en) | Image forming apparatus system | |
JP5317931B2 (en) | Printing apparatus, printing apparatus control method, and program | |
JP2006285792A (en) | Image processor and image processing method | |
JP2007037017A (en) | Image processing apparatus, image processing method, image processing program, and recording medium with image processing program recorded thereon | |
JP2007102378A (en) | Driver program | |
JP5202265B2 (en) | Image processing apparatus, program, and control method for image processing apparatus | |
JP2010188598A (en) | Printing apparatus, driver program and printing system | |
JP2011060154A (en) | Printer driver, information processor, and computer readable storage medium | |
JP2010218325A (en) | Printing controller and printing system | |
KR20070028182A (en) | Method of setting printout function | |
JP2007072758A (en) | Data processor | |
US9742958B2 (en) | Image processing system and method for transferring a parameter by different transfer modes | |
JP2016053884A (en) | Printer controller, printer system and printer control program | |
JP2008102704A (en) | Device apparatus and its control method, computer program and storage medium | |
JP5556462B2 (en) | Document creation support apparatus, document creation support method, program, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121112 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130613 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130617 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20130815 |