JP2010062718A - Image processing apparatus and method - Google Patents
Image processing apparatus and method Download PDFInfo
- Publication number
- JP2010062718A JP2010062718A JP2008224621A JP2008224621A JP2010062718A JP 2010062718 A JP2010062718 A JP 2010062718A JP 2008224621 A JP2008224621 A JP 2008224621A JP 2008224621 A JP2008224621 A JP 2008224621A JP 2010062718 A JP2010062718 A JP 2010062718A
- Authority
- JP
- Japan
- Prior art keywords
- color space
- color
- lut
- image data
- standard
- 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
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は、受信した画像データの色空間を変換する画像処理装置等に関し、特に、色空間変換処理用のプロファイルの設計が容易であり、当該プロファイルの保持容量を少なく抑えることのできる画像処理装置等に関する。 The present invention relates to an image processing apparatus that converts a color space of received image data, and more particularly to an image processing apparatus that can easily design a profile for color space conversion processing and can reduce the storage capacity of the profile. Etc.
通常、画像をプリンタ等で出力する際には、出力対象の画像データに対して、プリンタで使用される色材に合った色空間で表現されるようにするための色(空間)変換処理を施す。当該色変換処理では、変換前の色空間における各色値に変換後の色空間における色値を対応付けたルックアップテーブル(LUT)が予め用意され、当該LUTを参照することにより処理が実行される。 Usually, when an image is output by a printer or the like, color (space) conversion processing is performed so that the image data to be output is expressed in a color space suitable for the color material used in the printer. Apply. In the color conversion process, a lookup table (LUT) in which each color value in the color space before conversion is associated with the color value in the color space after conversion is prepared in advance, and the process is executed by referring to the LUT. .
通常のプリンタ出力の場合には、出力対象の画像データは、プリンタドライバで、あるいはそれ以前の段階で一般的に用いられる標準的な色空間に変換され、その後に、プリンタに送信される。この場合に、プリンタでは、当該標準的な色空間からそのプリンタで用いられる色空間への色変換を予め保持したLUTにより実行する。 In the case of normal printer output, the image data to be output is converted into a standard color space generally used in a printer driver or in an earlier stage, and then transmitted to the printer. In this case, in the printer, color conversion from the standard color space to the color space used in the printer is executed by a previously held LUT.
また、輪転機などを用いた大量印刷の前に色合いをチェックする目的等でプリンタ出力するような場合には、大量印刷時に用いられる画像データがそのままプリンタに入力されるので、プリンタでは、入力されるデータの様々な色空間に対応するために、それらの各色空間に対してそれぞれ上記LUTを用意していた。 In addition, when outputting to a printer for the purpose of checking hues before mass printing using a rotary press or the like, the image data used at the time of mass printing is input to the printer as it is, so that it is input at the printer. In order to correspond to various color spaces of data, the LUT is prepared for each color space.
なお、LUTを用いた画像処理に関しては下記特許文献1等に記載がある。
上述したプリンタで用いられる色空間は、そのプリンタで使用される色材等に依存しており、通常はそのプリンタの機種に依存したものとなる。従って、上述のように、複数の色空間で表現された画像データを処理するプリンタにおいては、入力される色空間をそのプリンタの機種に依存する色空間に変換するためのLUTを入力される色空間毎にそれぞれ用意して保持しておく必要があるが、それら複数のLUTは、機種毎に異なることになるので、機種毎にそれら複数のLUTを設計する必要があった。 The color space used in the printer described above depends on the color material used in the printer, and usually depends on the model of the printer. Accordingly, as described above, in a printer that processes image data expressed in a plurality of color spaces, an input color is an LUT for converting the input color space into a color space that depends on the model of the printer. Although it is necessary to prepare and hold each space, the plurality of LUTs are different for each model. Therefore, it is necessary to design the plurality of LUTs for each model.
また、同じ色空間についての色変換でも、画像の種類に応じて処理内容を変更した方がよい場合があり、例えば、同じ色空間に対してテキスト用のLUTとイメージ用のLUTが用意される場合があり、このような場合には、上記複数のLUTの数がさらに増すことになって、プリンタにLUT保持のための大きな記憶容量が必要となる。 Even in color conversion for the same color space, it may be better to change the processing content according to the type of image. For example, a text LUT and an image LUT are prepared for the same color space. In such a case, the number of the plurality of LUTs further increases, and the printer needs a large storage capacity for holding the LUT.
そこで、本発明の目的は、受信した画像データの色空間を変換する画像処理装置であって、色空間変換処理用のプロファイルの設計が容易であり、当該プロファイルの保持容量を少なく抑えることのできる画像処理装置、等を提供することである。 Accordingly, an object of the present invention is an image processing apparatus for converting the color space of received image data, and it is easy to design a profile for color space conversion processing, and the holding capacity of the profile can be suppressed to a small amount. An image processing apparatus is provided.
上記の目的を達成するために、本発明の一つの側面は、受信した画像データの色空間を、当該画像データを出力する出力装置の色空間に変換する色変換処理を実行する画像処理装置が、複数の、前記受信した画像データの色空間である入力色空間の、それぞれについて生成された、前記各入力色空間を前記出力装置に依存しない標準色空間に変換するための各入力・標準色変換情報と、前記入力・標準色変換情報を用いて前記受信した画像データの色空間を前記標準色空間に変換し、当該変換された画像データの色空間を、前記標準色空間を前記出力装置の色空間である出力色空間に変換するための標準・出力色変換情報を用いて、前記出力色空間に変換して、前記色変換処理を行なう制御手段を有する、ことである。 In order to achieve the above object, according to one aspect of the present invention, there is provided an image processing device that executes color conversion processing for converting a color space of received image data into a color space of an output device that outputs the image data. A plurality of input color spaces generated for each of the input color spaces, which are color spaces of the received image data, for converting each input color space into a standard color space independent of the output device. Using the conversion information and the input / standard color conversion information, the color space of the received image data is converted into the standard color space, and the color space of the converted image data is converted into the standard color space as the output device. Using the standard / output color conversion information for conversion to the output color space, which is the color space, and the control means for performing the color conversion processing by converting to the output color space.
更に、上記の発明において、その好ましい態様は、前記標準・出力色変換情報は、前記出力装置と同じ機種の出力装置用の他の画像処理装置に保持される、ことを特徴とする。 Furthermore, in the above invention, a preferable aspect thereof is characterized in that the standard / output color conversion information is held in another image processing device for an output device of the same model as the output device.
更にまた、上記の発明において、一つの態様は、前記標準色空間は、RGB色空間であり、前記出力色空間は、CMYK色空間である、ことを特徴とする。 Furthermore, in the above invention, one aspect is characterized in that the standard color space is an RGB color space, and the output color space is a CMYK color space.
更に、上記の発明において、別の態様は、前記標準・出力色変換情報は、画像オブジェクトの種類に応じて複数用意される、ことを特徴とする。 Furthermore, in the above invention, another aspect is characterized in that a plurality of the standard / output color conversion information is prepared according to the type of the image object.
上記の目的を達成するために、本発明の別の側面は、受信した画像データの色空間を、当該画像データを出力する出力装置の色空間に変換する色変換処理を実行する画像処理装置における画像処理方法において、複数の、前記受信した画像データの色空間である入力色空間の、それぞれについて生成された、前記各入力色空間を前記出力装置に依存しない標準色空間に変換するための各入力・標準色変換情報を用いて、前記受信した画像データの色空間を前記標準色空間に変換し、当該変換された画像データの色空間を、前記標準色空間を前記出力装置の色空間である出力色空間に変換するための標準・出力色変換情報を用いて、前記出力色空間に変換して、前記色変換処理を行なう、ことである。 In order to achieve the above object, another aspect of the present invention provides an image processing apparatus that performs color conversion processing for converting a color space of received image data into a color space of an output device that outputs the image data. In the image processing method, each of the input color spaces generated for each of a plurality of input color spaces which are color spaces of the received image data is converted into a standard color space independent of the output device. Using the input / standard color conversion information, the color space of the received image data is converted to the standard color space, and the color space of the converted image data is converted into the color space of the output device. Using the standard / output color conversion information for conversion to a certain output color space, the color conversion processing is performed by converting to the output color space.
本発明の更なる目的及び、特徴は、以下に説明する発明の実施の形態から明らかになる。 Further objects and features of the present invention will become apparent from the embodiments of the invention described below.
以下、図面を参照して本発明の実施の形態例を説明する。しかしながら、かかる実施の形態例が、本発明の技術的範囲を限定するものではない。なお、図において、同一又は類似のものには同一の参照番号又は参照記号を付して説明する。 Embodiments of the present invention will be described below with reference to the drawings. However, this embodiment does not limit the technical scope of the present invention. In the drawings, the same or similar elements are denoted by the same reference numerals or reference symbols.
図1は、本発明を適用した画像処理装置を有するプリンタの実施の形態例に係る構成図である。図1に示すシステムB用コントローラ21Bが、本発明を適用した画像処理装置であり、入力される画像データにおける複数の色空間(それぞれ入力色空間と呼ぶ)について、それぞれ、一般的に用いられるR(レッド)G(グリーン)B(ブルー)色空間(標準色空間と呼ぶ)への色変換LUT(入力・標準色変換情報)を保持し、同じプリンタ2内のシステムA用コントローラ21Aが保持する、上記RGB色空間からプリンタ2での出力に用いる色空間(出力色空間と呼ぶ。ここでは、例えばC(シアン)M(マゼンタ)Y(イエロー)K(ブラック)色空間)への色変換LUT(標準・出力色変換情報)を利用して、受信した印刷ジョブについての色変換処理を実行する。これにより、システムB用コントローラ21Bが保持するLUTは、プリンタ2の機種に依存しないものとなり、これらのLUTについて機種毎に設計する必要がなくなる。
FIG. 1 is a configuration diagram according to an embodiment of a printer having an image processing apparatus to which the present invention is applied. A system B controller 21B shown in FIG. 1 is an image processing apparatus to which the present invention is applied, and a plurality of color spaces (each referred to as an input color space) in input image data are generally used. A color conversion LUT (input / standard color conversion information) to a (red) G (green) B (blue) color space (referred to as a standard color space) is held, and held by the system A controller 21A in the
図1に示すホストコンピュータ1は、プリンタ2に対して印刷要求を行うプリンタ2のホスト装置であり、パーソナルコンピュータなどのコンピュータシステムで構成される。後述するように、プリンタ2は、システムA及びシステムBを有し、印刷実行部22等は共用されるもののあたかも2つのプリンタが存在するような構成となっているので、ホストコンピュータ1には、各システムに対応する二つのプリンタドライバであるシステムA用ドライバ11A及びシステムB用ドライバ11Bが備えられる。
A host computer 1 shown in FIG. 1 is a host device of the
当該各プリンタドライバは、ユーザの印刷指示操作に応答して、それぞれ、印刷対象の印刷データを生成し、プリンタ2の対応するシステムに送信する。印刷データには、印刷制御用の制御コマンドと印刷対象画像の画像データが含まれる。システムA用ドライバ11Aからは上記一般的に用いられるRGB色空間で表現された画像データが送信され、システムB用ドライバ11Bからは、様々な色空間の画像データが送信される。例えば、上記一般的に用いられるRGBとは異なるRGB(2)、上記出力色空間であるCMYKとは異なるCMYK(2)及びCMYK(3)、あるいはLabで表現された画像データが送信される。なお、CMYKであってもインク、トナーなどの色材が異なれば、同じ色を表す場合の各色の濃度階調値は多少異なる値となり、従って、上述のようなCMYK、CMYK(2)及びCMYK(3)が存在する。
Each printer driver generates print data to be printed in response to a user's print instruction operation, and transmits the print data to a corresponding system of the
なお、上記印刷データは、ここでは一例としてページ記述言語で表現されてプリンタ2へ送信される。また、システムA用ドライバ11A及びシステムB用ドライバ11Bは、それぞれ、上記処理を記述したドライバプログラムとそのプログラムに従って処理を実行する制御装置等によって構成される。
Note that the print data is expressed in a page description language as an example and transmitted to the
次に、プリンタ2は、上記ホストコンピュータ1から送信される印刷データを受けて印刷を実行する印刷装置であり、ここでは、一例としてページ単位で印刷を実行するレーザプリンタである。上述の通り、本プリンタ2には二つのシステムが搭載されており、そのうちのシステムAは、上記標準色空間(RGB)で表現された画像データについて処理を行う謂わば標準システムであり、一方のシステムBは、個別の色空間(上記入力色空間)で表現された画像データについて処理を行う謂わば個別システムである。
Next, the
図1に示されるように、プリンタ2は、上記二つのシステムにそれぞれ対応する二つのコントローラ、システムA用コントローラ21A及びシステムB用コントローラ21Bと、CMYKの各トナーを用いて印刷処理を実行する印刷実行部22を備える。
As shown in FIG. 1, the
各コントローラ21A及び21Bは、それぞれ、図1に示すように、I/F(23A、23B)、CPU(24A、24B)、ROM(25A、25B)、RAM(26A、26B)、及びエンジンI/F(27A、27B)を有する。 As shown in FIG. 1, each of the controllers 21A and 21B has an I / F (23A, 23B), a CPU (24A, 24B), a ROM (25A, 25B), a RAM (26A, 26B), and an engine I / F, respectively. F (27A, 27B).
I/F(23A、23B)は、ホストコンピュータ1から送信される上記印刷データを受信するなどホストコンピュータ1とのインターフェースを司る部分である。 The I / F (23A, 23B) is a part that controls an interface with the host computer 1 such as receiving the print data transmitted from the host computer 1.
ROM(25A、25B)は、各コントローラ21A及び21Bで行われる処理のための各種プログラムやデータを記憶する部分であり、色変換処理のための情報として上述したLUTがここに格納される。LUTは、前述の通り、変換前の色空間における各色値に変換後の色空間における色値を対応付けたルックアップテーブルであり、より具体的には、変換前の色空間(例えば、RGB)においてその色空間を構成する各色(例えば、R、G、及びB)の濃度階調値で表現される多次元の値(上記各色値)に対して、それぞれ、変換後の色空間(例えば、CMYK)においてその色空間を構成する各色(例えば、C、M、Y及びK)の濃度階調値で表現される多次元の値(上記色値)が対応付けられている。 The ROM (25A, 25B) is a part that stores various programs and data for processing performed by the controllers 21A and 21B, and stores the above-described LUT as information for color conversion processing. As described above, the LUT is a lookup table in which each color value in the color space before conversion is associated with the color value in the color space after conversion. More specifically, the LUT is a color space before conversion (for example, RGB). In the color space (for example, each color value) expressed by the density gradation value of each color (for example, R, G, and B) constituting the color space in FIG. CMYK) are associated with multidimensional values (the above color values) represented by density gradation values of the respective colors (for example, C, M, Y, and K) constituting the color space.
そして、ROM25Aには、上記標準色空間から出力色空間への色変換LUT、「RGB to CMYK LUT」が格納され、ROM25Bには、上記各入力色空間から標準色空間への色変換LUT、例えば、「RGB(2) to RGB LUT」、「CMYK(2) to RGB LUT」、「CMYK(3) to RGB LUT」、及び「Lab to RGB LUT」が格納される。なお、前述のように、イメージとテキストで異なるLUTを用いる場合には、システムAのROM25Aには、イメージ用の「RGB to CMYK LUT」とテキスト用の「RGB to CMYK LUT」が格納される。
The
RAM(26A、26B)は、前記受信した印刷データ、画像処理後の画像データ等を格納するメモリであり、印刷実行部22で印刷処理が行われる各ページの画像データは、ここからエンジンI/F(27A、27B)に引き渡される。また、後述するように、システムBでは、上記ROM25Bに格納されるLUTと上記システムAが保持するLUTを合成して新たなLUTを生成する処理を実行するが、生成されたLUTは、このRAM26Bに保持される。
The RAM (26A, 26B) is a memory for storing the received print data, image data after image processing, and the like. The image data of each page on which print processing is performed by the
CPU(24A、24B)は、本プリンタ2の各システムで行われる各種処理を制御する部分であるが、特に、前記受信した印刷データに含まれる画像データに所定の画像処理を実行してRAM(26A、26B)に格納する処理、前記印刷データに含まれる制御コマンドを解釈して印刷実行部22に対して適切な印刷処理を指示する処理、及び、ユーザとのインターフェースを形成する操作部を制御する処理等を司る。本プリンタ2では、CPU24Bが行う色空間変換処理に特徴があり、その具体的な内容については後述する。なお、CPU(24A、24B)が実行する処理は、主に前記ROM(25A、25B)に記憶されたプログラムに従って行われるものである。
The CPU (24A, 24B) is a part that controls various processes performed in each system of the
次に、エンジンI/F(27A、27B)は、印刷実行部22で印刷を実行する際に、所定のタイミングで前述したRAM(26A、26B)に格納されている画像データを読み出し、それらに所定の処理を施した後に印刷実行部22に引き渡す、それぞれ、各コントローラ21A、21Bと印刷実行部22とのインターフェースを司る部分である。なお、このエンジンI/F(27A、27B)には、図示していないが、それぞれ、データを一時的に格納するメモリ、解凍部、スクリーン処理部等が備えられ、RAM(26A、26B)から読み出した画像データに対して、圧縮されたデータの解凍、ドットのデータへ変換するスクリーン処理などがなされる。また、エンジンI/F(27A、27B)は、具体的には、ASICで構成されている。
Next, when the
印刷実行部22は、エンジンI/F(27A、27B)から出力されたデータに基づく印刷処理を実行し、用紙などの印刷媒体に対する画像形成を行う部分である。かかる印刷実行部22には、通常のレーザプリンタと同様に、帯電ユニット、露光ユニット、現像装置、転写ユニット等(図示せず)が備えられる。現像装置には、CMYK各色のトナーが備えられる。
The
以上説明したような構成を有する本プリンタ2では、受信する画像データに対する色空間の変換処理に特徴があり、以下、その具体的な処理内容について説明するが、まず、変換方法の概要について説明する。
The
図2は、コントローラ21A及び21Bにおける色変換処理の概要を説明するための図である。図2の左側に示されるシステムA用コントローラ21Aでは、前述の通り、標準色空間であるRGBで表現された画像データが受信される。その後、自らが保持する「RGB to CMYK LUT」を用いて、受信した画像データが、出力色空間であるCMYKで表現された画像データに変換されて、色変換処理が完了する。 FIG. 2 is a diagram for explaining the outline of the color conversion processing in the controllers 21A and 21B. As described above, the system A controller 21A shown on the left side of FIG. 2 receives image data expressed in RGB as the standard color space. Thereafter, using the “RGB to CMYK LUT” held by itself, the received image data is converted into image data expressed in CMYK as an output color space, and the color conversion process is completed.
一方、図2の右側に示されるシステムB用コントローラ21Bでは、様々な色空間(入力色空間)で表現された画像データが受信される。ここで、受信した画像データの入力色空間をそれぞれ出力色空間であるCMYKに変換する必要があるが、本システムB用コントローラ21Bでは、その変換処理をシステムA用コントローラ21Aと連携して行う。より具体的には、自らが保持する前述した各LUT(「RGB(2) to RGB LUT」、「CMYK(2) to RGB LUT」、「CMYK(3) to RGB LUT」、及び「Lab to RGB LUT」)と、システムA用コントローラ21Aに格納されるLUT(「RGB to CMYK LUT」)を用いて変換処理を実行する。 On the other hand, the system B controller 21B shown on the right side of FIG. 2 receives image data expressed in various color spaces (input color spaces). Here, it is necessary to convert the input color space of the received image data into CMYK, which is the output color space. In the system B controller 21B, the conversion process is performed in cooperation with the system A controller 21A. More specifically, the above-described LUTs (“RGB (2) to RGB LUT”, “CMYK (2) to RGB LUT”, “CMYK (3) to RGB LUT”, and “Lab to RGB” held by itself LUT ”) and the LUT stored in the system A controller 21A (“ RGB to CMYK LUT ”).
後述するように、入力色空間から出力色空間までの変換を、1つの合成LUTを用いて1回の処理で行っても良いし、2つのLUTを用いて2回の処理で行っても良いが、いずれの場合においても、図2に示すように、各入力色空間から標準色空間RGBへの変換に相当する部分については自らが保持する各LUTが利用され、その後の標準色空間RGBから出力色空間CMYKへの変換に相当する部分については、システムA用コントローラ21Aに格納されるLUTが利用される。 As will be described later, the conversion from the input color space to the output color space may be performed in one process using one synthesis LUT, or may be performed in two processes using two LUTs. However, in any case, as shown in FIG. 2, for each portion corresponding to the conversion from each input color space to the standard color space RGB, each LUT held by itself is used. For the portion corresponding to the conversion to the output color space CMYK, the LUT stored in the system A controller 21A is used.
例えば、入力色空間がRGB(2)であった場合には、自らが保持する「RGB(2) to RGB LUT」とシステムAの「RGB to CMYK LUT」が用いられて出力色空間CMYKの画像データが生成される。他の入力色空間の場合にも同様に画像データが変換される。 For example, when the input color space is RGB (2), the “RGB (2) to RGB LUT” held by itself and the “RGB to CMYK LUT” of the system A are used and the image in the output color space CMYK. Data is generated. In the case of other input color spaces, the image data is similarly converted.
このように、システムB側では、プリンタ2(印刷実行部22)の機種に依存するCMKに係るLUTを保持せず、そのLUTについてはシステムA側に保持されるものを利用するが、この点が大きな特徴である。 As described above, the system B side does not hold the LUT related to the CMK depending on the model of the printer 2 (print execution unit 22), and uses the LUT held on the system A side. Is a big feature.
次に、当該色変換処理のより具体的な処理内容について説明する。図3は、システムBが起動後の処理手順を例示したフローチャートである。まず、システムBが起動すると、システムB用コントローラ21Bでは、CPU24Bが、ROM25Bに格納される上述したLUTのうちのいずれか一つ(「XXX to RGB LUT」)をRAM26Bにロードする(ステップS1)。
Next, more specific processing contents of the color conversion processing will be described. FIG. 3 is a flowchart illustrating a processing procedure after the system B is activated. First, when the system B is activated, in the system B controller 21B, the
そして、CPU24Bは、当該ロードしたLUTにおける一つの変換前色値に対応付けられている変換後のRGB値をシステムA側に送信する(ステップS2)。
Then, the
当該送信がなされるとシステムA側では、CPU24AがROM25Aに格納される上記「RGB to CMYK LUT」をRAM26Aにロードする(ステップS3)。そして、CPU24Aは、上記送信されたRGB値を当該ロードしたLUTを用いてCMYK値に変換する(ステップS4)。その後、CPU24Aは、当該CMYK値をシステムBへ返送する(ステップS5)。
When the transmission is performed, on the system A side, the
システムBは、返送されたCMYK値を受信し(ステップS6)、CPU24Bは、受信したCMYK値を、前記送信したRGB値の変換前色値に対応付けてRAM26Bに格納する(ステップS7)。すなわち、一つの入力色空間XXXの一つの色値に相当するCMYK値が、「XXX to RGB LUT」と「RGB to CMYK LUT」を合成したLUTである「XXX to CMYK LUT」の一つの情報として記憶される。
The system B receives the returned CMYK value (step S6), and the
以上ステップS2からステップS7までの処理を上記ロードした「XXX to RGB LUT」の全ての変換前色値について実行すると(ステップS8のYes)、上記合成LUT「XXX to CMYK LUT」が生成されることになり、RAM26Bに保持される。
When the processing from step S2 to step S7 is executed for all the pre-conversion color values of the loaded “XXX to RGB LUT” (Yes in step S8), the synthesis LUT “XXX to CMYK LUT” is generated. And held in the
かかる合成LUTの生成処理(ステップS1〜S8)を、システムBが保持する全てのLUTについて実行し、全ての合成LUTがRAM26Bに保持される(ステップS9のYes)。すなわち、ここでは、「RGB(2) to CMYK LUT」、「CMYK(2) to CMYK LUT」、「CMYK(3) to CMYK LUT」、及び「Lab to CMYK LUT」が生成されて保持される。
The synthesis LUT generation process (steps S1 to S8) is executed for all the LUTs held by the system B, and all the synthesis LUTs are held in the
なお、前述のように、システムAが保持するLUTがイメージ用及びテキスト用など複数ある場合には、各「XXX to RGB LUT」について、ステップS2からS8のYesまでの処理をシステムAが保持するLUT毎に実行し、そのLUTの数分の合成LUTが生成、保持される。 As described above, when there are a plurality of LUTs held by the system A, such as for images and texts, the system A holds the processing from step S2 to S8 for each “XXX to RGB LUT”. This is executed for each LUT, and synthetic LUTs corresponding to the number of the LUTs are generated and held.
以上の処理により、合成LUTが生成されると、システムB用コントローラ21Bは、印刷ジョブが受信されるのを待ち(ステップS10)、受信されれば(ステップS10のYes)、当該印刷ジョブについての処理を実行する(ステップS11)。具体的には、ページ記述言語で記述された印刷ジョブの画像データを一旦中間コードにする。その後、中間コードに対して展開処理を実行し、各画素が各色の濃度階調値を有する画像データを生成する。ここで、生成される画像データの各画素は入力色空間で表現されているので、その入力色空間用の上記生成した合成LUTを用いて、画像データの色変換処理を実行する。当該処理により、出力色空間で表現された画像データが生成され、その画像データはRAM26Bに保持される。その後、印刷実行部22での処理タイミングに合わせて当該画像データが読み出され、前述したエンジンI/F27Bでの処理を行った後に、処理後の信号が印刷実行部22へ送信される。その後、印刷実行部22において印刷媒体への印刷が実行され、当該受信した印刷ジョブについての処理が終了する。
When the combined LUT is generated by the above processing, the system B controller 21B waits for a print job to be received (step S10). If the print job is received (Yes in step S10), the system B controller 21B Processing is executed (step S11). Specifically, the image data of the print job described in the page description language is temporarily converted into an intermediate code. Thereafter, an expansion process is performed on the intermediate code to generate image data in which each pixel has a density gradation value of each color. Here, since each pixel of the generated image data is expressed in the input color space, the color conversion processing of the image data is executed using the generated composite LUT for the input color space. By this processing, image data expressed in the output color space is generated, and the image data is held in the
受信した印刷ジョブの処理が終了すると、システムB用コントローラ21Bは、次の印刷ジョブの受信を待つが(S10)、印刷ジョブの受信前にシステムBを終了すべき事象が発生すれば(ステップS10のNo、S12のYes)、システムBを終了する。例えば、システムAが印刷ジョブを受信した場合などにシステムBを終了する。システムBを終了すると、RAM26Bに保持されたものは消去される。その後、再度、システムBが起動すると、上述したステップS1からの処理が行われ、再度、RAM26Bに上記各合成LUTが保持されることになる。
When processing of the received print job is completed, the system B controller 21B waits for reception of the next print job (S10), but if an event that should terminate system B occurs before reception of the print job (step S10). No, S12 Yes), the system B is terminated. For example, the system B is terminated when the system A receives a print job. When the system B is terminated, what is held in the
なお、上記生成した各合成LUTを不揮発性メモリやHDに記憶するようにして、システムBの最初の使用時にのみ上記合成LUTの生成処理を行わせるようにしてもよい。 Note that each of the generated combined LUTs may be stored in a non-volatile memory or HD so that the generation process of the combined LUT is performed only when the system B is used for the first time.
次に、上述の実施形態例の変形例(変形例1)について説明する。変形例1では、上記システムBにおける合成LUTの生成処理においてシステムAが保持するLUTをシステムB側へ送信する点が、上述の実施形態例と異なる。 Next, a modified example (modified example 1) of the above-described embodiment will be described. The first modification is different from the above-described embodiment in that the LUT held by the system A is transmitted to the system B side in the generation process of the combined LUT in the system B.
図4は、変形例1におけるシステムBの起動後の処理手順を例示したフローチャートである。システムBが起動すると、まず、CPU24Bは、システムAが保持するLUTの送信をシステムA側に依頼する(ステップS21)。当該依頼を受けて、システムA側では、CPU24Aが保持するLUTをRAM26Aにロードし(ステップS22)、そのLUT(の情報)をシステムBへ送信する(ステップS23)。CPU24Bは、送信されたLUTを受信してRAM26Bに保持する(ステップS24)。
FIG. 4 is a flowchart exemplifying a processing procedure after starting of the system B in the first modification. When the system B is activated, first, the
次に、CPU24Bは、ROM25Bに格納されるLUTのうちのいずれか一つ(「XXX to RGB LUT」)をRAM26Bにロードする(ステップS25)。そして、前記受信したLUT、すなわち、「RGB to CMYK LUT」と当該「XXX to RGB LUT」から合成LUT「XXX to CMYK LUT」を生成する(ステップS26)。具体的には、入力色空間XXXの各色値について、「XXX to RGB LUT」から対応するRGB値を求め、その後「RGB to CMYK LUT」からそのRGB値に対応するCMYK値を求めて、当該求めたCMYK値を最初の色値に対応付ける。生成した合成LUTは、RAM26Bに格納される(ステップS27)。
Next, the
この合成LUT生成処理(ステップS25〜S27)が、システムBに保持される全てのLUTについてなされて、この場合にも全ての合成LUT、「RGB(2) to CMYK LUT」、「CMYK(2) to CMYK LUT」、「CMYK(3) to CMYK LUT」、及び「Lab to CMYK LUT」が生成されて保持される。 This synthesis LUT generation process (steps S25 to S27) is performed for all LUTs held in the system B. In this case as well, all synthesis LUTs, “RGB (2) to CMYK LUT”, “CMYK (2)” are used. to CMYK LUT ”,“ CMYK (3) to CMYK LUT ”, and“ Lab to CMYK LUT ”are generated and held.
なお、システムAが保持するLUTがイメージ用及びテキスト用など複数ある場合には、各「XXX to RGB LUT」について、ステップS25からS27までの処理をシステムAが保持するLUT毎に実行し、そのLUTの数分の合成LUTが生成、保持される。 When there are a plurality of LUTs held by the system A, such as for image and text, the processing from step S25 to S27 is executed for each LUT held by the system A for each “XXX to RGB LUT”. Composite LUTs corresponding to the number of LUTs are generated and held.
その後の処理、ステップS29からS31のYesまでの処理については、前述したステップS10からS12のYesまでの処理と同じである。 The subsequent processing, that is, the processing from step S29 to S31 is the same as the processing from step S10 to S12 described above.
なお、この場合にも、システムBを終了すると、RAM26Bに保持されたものは消去されるので、上記生成した各合成LUTを不揮発性メモリやHDに記憶するようにして、システムBの最初の使用時にのみ上記合成LUTの生成処理を行わせるようにしてもよい。
In this case as well, when the system B is terminated, what is held in the
次に、別の変形例(変形例2)について説明する。変形例2では、システムBは、上記合成LUTを生成するのではなく、受信した印刷ジョブの色変換処理において、自らが保持するLUTとシステムAが保持するLUTを利用する。この点が、上記の例と異なる。 Next, another modified example (modified example 2) will be described. In the second modification, the system B does not generate the composite LUT, but uses the LUT held by itself and the LUT held by the system A in the color conversion processing of the received print job. This is different from the above example.
図5は、変形例2におけるシステムBの起動後の処理手順を例示したフローチャートである。システムBが起動すると、CPU24Bは、ROM25Bに保持する全てのLUT(「XXX to RGB LUT」)をRAM26Bにロードする(ステップS41)。
FIG. 5 is a flowchart exemplifying a processing procedure after starting of the system B in the second modification. When the system B is activated, the
その後、印刷ジョブが受信されるのを待ち、受信されると(ステップS42のYes)、CPU24Bは、当該受信した印刷ジョブに対する前半の処理を実行する(ステップS43)。具体的には、前述のように、ページ記述言語で記述された印刷ジョブの画像データを一旦中間コードにし、その後、展開処理を実行して、各画素が各色の濃度階調値を有する画像データを生成する。
Thereafter, the
ここで、生成される画像データの各画素は入力色空間で表現されているので、CPU24Bは、その入力色空間用の上記ロードしたLUTを用いて、画像データの色空間をRGBに変換する(ステップS44)。すなわち、印刷ジョブの画像データがRGBで表現される。その後、CPU24Bは、その変化後のRGB値をシステムAへ送信する(ステップS45)。
Here, since each pixel of the generated image data is expressed in the input color space, the
当該送信を受けて、システムAのCPU24Aは、自らが保持する「RGB to CMYK LUT」をRAM26Aにロードし(ステップS46)、受信した各RGB値を当該ロードしたLUTを用いてCMYK値に変換する(ステップS47)。全てのデータについて変換が終了すると、変換後のCMYK値をシステムBに返送する(ステップS48)。
Upon receiving the transmission, the
システムBのCPU24Bは、当該CMYK値を受信し(ステップS49)、印刷ジョブの画像データをCMYKで表現されたデータとしてRAM26Bに保持する。
The
その後、当該印刷ジョブについての後半の処理が実行される(ステップS50)。すなわち、前述のように、印刷実行部22での処理タイミングに合わせて当該画像データが読み出され、前述したエンジンI/F27Bでの処理を行った後に、処理後の信号が印刷実行部22へ送信される。その後、印刷実行部22において印刷媒体への印刷が実行され、当該受信した印刷ジョブについての処理が終了する。
Thereafter, the latter half of the process for the print job is executed (step S50). That is, as described above, the image data is read in accordance with the processing timing in the
システムB用コントローラ21Bは、その後、次の印刷ジョブを待ち、印刷ジョブを受信すれば、ステップS43からの処理を実行する。一方、印刷ジョブの受信前にシステムBを終了すべき事象が発生すれば(ステップS42のNo、S51のYes)、システムBを終了する。 Thereafter, the system B controller 21B waits for the next print job, and executes the processing from step S43 when receiving the print job. On the other hand, if an event that should terminate the system B occurs before receiving the print job (No in step S42, Yes in S51), the system B is terminated.
なお、システムAが保持するLUTがイメージ用及びテキスト用などオブジェクト種類によって複数ある場合には、システムBからRGB値を送信する際(S45)に、オブジェクト種類を識別する属性値を合わせて送信するようにし、システムA側では、その属性値に応じて適したLUTを用いて変換処理を行うようにする。 When there are a plurality of LUTs held by the system A depending on the object type, such as for image and text, when the RGB value is transmitted from the system B (S45), the attribute value for identifying the object type is also transmitted. Thus, on the system A side, the conversion process is performed using an LUT suitable for the attribute value.
次に、更に別の変形例(変形例3)について説明する。変形例3は、システムAが保持するLUTをまずシステムB側へ送信する点が、上記変形例2と異なる。図6は、変形例3におけるシステムBの起動後の処理手順を例示したフローチャートである。
Next, another modified example (modified example 3) will be described. The
システムBが起動すると、システムB用コントローラ21Bでは、まず、CPU24Bが、システムAが保持するLUTの送信をシステムA側に依頼する(ステップS61)。当該依頼を受けて、システムA側では、CPU24Aが保持するLUTをRAM26Aにロードし(ステップS62)、そのLUT(の情報)をシステムBへ送信する(ステップS63)。CPU24Bは、送信されたLUTを受信してRAM26Bに保持する(ステップS64)。
When the system B is activated, in the system B controller 21B, first, the
その後、CPU24Bは、変形例2と同様に、ROM25Bに保持する全てのLUTをRAM26Bにロードする(ステップS65)。
Thereafter, the
その後、印刷ジョブが受信されるのを待ち、受信されると(ステップS66のYes)、CPU24Bは、変形例2と同様に、当該受信した印刷ジョブに対する前半の処理を実行する(ステップS67)。
After that, waiting for the print job to be received and receiving it (Yes in step S66), the
ここで、生成される画像データの各画素は入力色空間で表現されているので、変形例2と同様に、CPU24Bは、その入力色空間用の上記ロードしたLUTを用いて、画像データの色空間をRGBに変換する(ステップS68)。
Here, since each pixel of the generated image data is expressed in the input color space, the
次に、CPU24Bは、上記RAM26AにロードしたシステムAが保持していた「RGB to CMYK LUT」を用いて、上記RGB値に変換された画像データをCMYK値に変換する(ステップS69)。
Next, the
その後、変形例2と同様に、当該印刷ジョブについての後半の処理が実行される(ステップS70)。 Thereafter, as in the second modification, the latter half of the process for the print job is executed (step S70).
システムB用コントローラ21Bは、その後、次の印刷ジョブを待ち、印刷ジョブを受信すれば、ステップS67からの処理を実行する。一方、印刷ジョブの受信前にシステムBを終了すべき事象が発生すれば(ステップS66のNo、S71のYes)、システムBを終了する。 Thereafter, the system B controller 21B waits for the next print job, and executes the processing from step S67 when receiving the print job. On the other hand, if an event that should terminate the system B occurs before receiving the print job (No in step S66, Yes in S71), the system B is terminated.
なお、システムAが保持するLUTがイメージ用及びテキスト用などオブジェクト種類によって複数ある場合には、RGB値をCMYK値に変換する際(S69)に、オブジェクト種類に適したLUTを用いて処理を行うようにする。 If there are a plurality of LUTs held by the system A depending on the object type, such as for images and texts, when converting RGB values into CMYK values (S69), processing is performed using the LUT suitable for the object type. Like that.
以上説明したように本実施の形態例及びその変形例におけるプリンタ2のコントローラ21A、21Bでは、保持する色変換用LUTのうち、プリンタの機種に依存する色空間に係るLUTは、システムAが保持する「RGB to CMYK LUT」だけであり、すなわち、プリンタの機種によって変更すべきLUTは当該LUTのみであるので、従来に比して、機種毎のLUTの設計が容易である。
As described above, in the controllers 21A and 21B of the
また、システムB用コントローラ21Bは、保持するLUTがプリンタの機種に依存しないものであるので、その意味においてどの機種のプリンタにも使用することができる。従って、LUTに関しては他の機種のプリンタの設計にそのまま用いることができる。なお、当該コントローラ部分が着脱可能なボードで構成されていれば、本プリンタ2のようなシステムA及びBの構成を有する他のプリンタに、システムB用コントローラとしてそのまま装着して使用することができる。
The system B controller 21B can be used for any printer model in that sense because the LUT held by the system B controller 21B does not depend on the printer model. Therefore, the LUT can be used as it is for designing other types of printers. Note that if the controller portion is configured by a detachable board, it can be used as it is as a system B controller in another printer having the system A and B configuration such as the
また、システムBが備える入力色空間数分のLUTは、変換後の色値が3次元のRGB値であるため、出力色空間がCMYKである従来のLUTの持ち方、すなわち、入力色空間をCMYKへ変換するLUT(変換後の色値が4次元)を入力色空間数分保持する場合よりも、保持するデータ量を少なく抑えることができる。また、前述のとおり、画像オブジェクトの種類によってLUTを変更する場合にも、システムA側で有するLUTで変更しシステムB側では1式のLUTを保持するだけなので、この場合にも、従来よりも保持するデータ量を少なく抑えることができる。 Further, since the LUTs corresponding to the number of input color spaces included in the system B are three-dimensional RGB values after conversion, the conventional LUT having an output color space of CMYK, that is, the input color space is determined. The amount of data to be held can be reduced as compared with the case where the number of input color spaces holds LUTs (color values after conversion are four dimensions) to be converted to CMYK. Further, as described above, even when the LUT is changed depending on the type of the image object, the LUT is changed on the system A side and only one set of LUT is held on the system B side. The amount of data to be held can be reduced.
なお、本実施の形態例及びその変形例では、入力色空間を、システムAが受信するデータのRGB色空間に変換するLUTを設けたが、すなわち、色変換処理の中間色空間(標準色空間)としてそのRGB色空間を用いた。この中間色空間としてLabなどのプリンタの機種に依存しない他の色空間を用いることも考えられ、この場合、システムAが受信するデータの色空間とは異なる、この中間色空間から出力色空間へ変換するLUTを設けておいて、システムBでは、当該LUTを用いた同様の色変換処理がなされることになる。しかし、この場合には、システムAでは、RGB色空間をこの中間色空間に変換した後に、更に、出力色空間に変換する必要があり、システムAにおける処理が増加してしまうという欠点がある。 In this embodiment and its modification, an LUT for converting the input color space into the RGB color space of data received by the system A is provided. That is, an intermediate color space (standard color space) for color conversion processing is provided. The RGB color space was used. Another color space that does not depend on the printer model, such as Lab, may be used as the intermediate color space. In this case, conversion from the intermediate color space to the output color space, which is different from the color space of the data received by the system A, is possible. In the system B, the same color conversion processing using the LUT is performed by providing the LUT. However, in this case, the system A has a drawback that it is necessary to convert the RGB color space to the intermediate color space and then to the output color space, and the processing in the system A increases.
本発明の保護範囲は、上記の実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶものである。 The protection scope of the present invention is not limited to the above-described embodiment, but covers the invention described in the claims and equivalents thereof.
1 ホストコンピュータ、 2 プリンタ、 11A システムA用ドライバ、11B システムB用ドライバ、 21A システムA用コントローラ、 21B システムB用コントローラ、 22 印刷実行部、 23A、23B I/F、 24A、24B CPU、 25A、25B(制御手段) ROM、 26A、26B(制御手段) RAM、 27A、27B(制御手段) エンジンI/F DESCRIPTION OF SYMBOLS 1 Host computer, 2 Printer, 11A System A driver, 11B System B driver, 21A System A controller, 21B System B controller, 22 Print execution part, 23A, 23B I / F, 24A, 24B CPU, 25A, 25B (control means) ROM, 26A, 26B (control means) RAM, 27A, 27B (control means) Engine I / F
Claims (5)
複数の、前記受信した画像データの色空間である入力色空間の、それぞれについて生成された、前記各入力色空間を前記出力装置に依存しない標準色空間に変換するための各入力・標準色変換情報と、
前記入力・標準色変換情報を用いて前記受信した画像データの色空間を前記標準色空間に変換し、当該変換された画像データの色空間を、前記標準色空間を前記出力装置の色空間である出力色空間に変換するための標準・出力色変換情報を用いて、前記出力色空間に変換して、前記色変換処理を行なう制御手段を有する
ことを特徴とする画像処理装置。 An image processing apparatus that executes color conversion processing for converting a color space of received image data into a color space of an output device that outputs the image data,
Each input / standard color conversion for converting each input color space generated for each of a plurality of input color spaces, which are color spaces of the received image data, into a standard color space independent of the output device Information and
The color space of the received image data is converted into the standard color space using the input / standard color conversion information, and the color space of the converted image data is converted into the color space of the output device. An image processing apparatus comprising: control means for performing color conversion processing by converting to the output color space using standard / output color conversion information for conversion to a certain output color space.
前記標準・出力色変換情報は、前記出力装置と同じ機種の出力装置用の他の画像処理装置に保持される
ことを特徴とする画像処理装置。 In claim 1,
The standard / output color conversion information is held in another image processing device for an output device of the same model as the output device.
前記標準色空間は、RGB色空間であり、前記出力色空間は、CMYK色空間である
ことを特徴とする画像処理装置。 In claim 1 or claim 2,
The image processing apparatus, wherein the standard color space is an RGB color space, and the output color space is a CMYK color space.
前記標準・出力色変換情報は、画像オブジェクトの種類に応じて複数用意される
ことを特徴とする画像処理装置。 In any one of Claim 1 thru | or 3,
A plurality of the standard / output color conversion information are prepared according to the type of the image object.
複数の、前記受信した画像データの色空間である入力色空間の、それぞれについて生成された、前記各入力色空間を前記出力装置に依存しない標準色空間に変換するための各入力・標準色変換情報を用いて、前記受信した画像データの色空間を前記標準色空間に変換し、当該変換された画像データの色空間を、前記標準色空間を前記出力装置の色空間である出力色空間に変換するための標準・出力色変換情報を用いて、前記出力色空間に変換して、前記色変換処理を行なう
ことを特徴とする画像処理方法。 An image processing method in an image processing apparatus that executes color conversion processing for converting a color space of received image data into a color space of an output device that outputs the image data,
Each input / standard color conversion for converting each input color space generated for each of a plurality of input color spaces, which are color spaces of the received image data, into a standard color space independent of the output device Using the information, the color space of the received image data is converted into the standard color space, and the color space of the converted image data is converted into the output color space that is the color space of the output device. An image processing method comprising: converting the output color space using the standard / output color conversion information for conversion, and performing the color conversion process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008224621A JP2010062718A (en) | 2008-09-02 | 2008-09-02 | Image processing apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008224621A JP2010062718A (en) | 2008-09-02 | 2008-09-02 | Image processing apparatus and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010062718A true JP2010062718A (en) | 2010-03-18 |
Family
ID=42189064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008224621A Withdrawn JP2010062718A (en) | 2008-09-02 | 2008-09-02 | Image processing apparatus and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010062718A (en) |
-
2008
- 2008-09-02 JP JP2008224621A patent/JP2010062718A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH111029A (en) | Color print system, color printer, and computer readable recording medium storing computer executable program | |
JP4874309B2 (en) | Image forming system, image processing apparatus, and image processing method | |
JP2003348366A (en) | Method and apparatus for image processing | |
JP2010056769A (en) | Device and method for processing image | |
US20190052774A1 (en) | Image processing apparatus, image processing method, and storage medium | |
JP4929884B2 (en) | Image processing apparatus and program | |
US8477373B2 (en) | Image processing system, image processing apparatus, image forming apparatus and computer-readable storage medium | |
JP5582302B2 (en) | Image processing apparatus, image output apparatus, and program | |
JP2010062718A (en) | Image processing apparatus and method | |
JP5163226B2 (en) | Image forming apparatus system | |
JP2009177307A (en) | Image forming apparatus and method for generating thumbnail image | |
JP5202265B2 (en) | Image processing apparatus, program, and control method for image processing apparatus | |
JP4509190B2 (en) | Color image processing apparatus, color image processing method, and program | |
US20050200645A1 (en) | Image forming apparatus and storage medium | |
JP5447219B2 (en) | Print data generation apparatus, print data generation method, and print data generation program | |
JP4900249B2 (en) | Image forming apparatus and image processing method | |
JP2006123507A (en) | Printer | |
JP3715965B2 (en) | Color image processing apparatus, color image processing method, storage medium, and program | |
JP4894485B2 (en) | Image processing apparatus, image forming system, and image processing program | |
JP4835735B2 (en) | Image processing apparatus and image processing program | |
JP5861689B2 (en) | Information processing apparatus, information processing method, information processing program, and recording medium | |
JP2009009306A (en) | Printing system | |
JP2007122318A (en) | Print controller | |
JP2007276416A (en) | Printing apparatus, printing data output apparatus, printing method, printing data output method, and computer program | |
JP2007324864A (en) | Image processor, control method thereof, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110803 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20111219 |