JP2006203675A - Color gamut compressor, compressing method and compression processing program - Google Patents

Color gamut compressor, compressing method and compression processing program Download PDF

Info

Publication number
JP2006203675A
JP2006203675A JP2005014468A JP2005014468A JP2006203675A JP 2006203675 A JP2006203675 A JP 2006203675A JP 2005014468 A JP2005014468 A JP 2005014468A JP 2005014468 A JP2005014468 A JP 2005014468A JP 2006203675 A JP2006203675 A JP 2006203675A
Authority
JP
Japan
Prior art keywords
compression
color
color gamut
color component
input
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
Application number
JP2005014468A
Other languages
Japanese (ja)
Inventor
Kazunari Tagyo
一成 田行
Makoto Fujino
真 藤野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005014468A priority Critical patent/JP2006203675A/en
Publication of JP2006203675A publication Critical patent/JP2006203675A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a color gamut compressor in which the generation of a false contour line can be suppressed, and stabilized image quality can be attained for an image subjected to color gamut compression without requiring complex operation. <P>SOLUTION: Since the color gamut compressor is arranged to compare a plurality of prestored regions (region A to region D) with an inputted color component distribution and to perform color gamut compression (decompression) based on a compression table or a decompression table corresponding to a region including the color component distribution entirely, the generation of the false contour line can be suppressed as compared with the case that compression is performed by operation for every color component, and the occurrence of an accidental error can be prevented without requiring complex transformation operation. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、色域圧縮装置、色域圧縮方法および色域圧縮処理プログラムに関し、特に、出力系デバイスの色域境界外に存在する色成分を同出力系デバイスの色域境界またはその内部に圧縮する色域圧縮装置、色域圧縮方法および色域圧縮処理プログラムに関する。   The present invention relates to a color gamut compression device, a color gamut compression method, and a color gamut compression processing program. The present invention relates to a color gamut compression device, a color gamut compression method, and a color gamut compression processing program.

従来、この種の色域圧縮装置として、入力された画像デ−タの色成分の分布を、複数の領域に分割して捉え、一の領域内において所定の中心点からの距離が最大となる色成分を抽出するとともに、同色成分が出力系デバイスの色域境界外にある場合には、出力系デバイスの色域境界に圧縮し、同様の圧縮率にて同領域内にある他の色成分の全てを圧縮する圧縮方法を採用した色域圧縮装置が知られている(例えば、非特許文献1参照)。
"Adaptive 3D Gamut Mapping Based on Color Distribution of Image " . Ryoichi Saito and Hiroaiki Kotera , IS&T's NIP19:2003 International Conference on Digital Printing Technologies.
Conventionally, as this type of color gamut compression device, the distribution of color components of input image data is divided into a plurality of areas, and the distance from a predetermined center point is maximized in one area. When the color component is extracted and the same color component is outside the color gamut boundary of the output device, it is compressed to the color gamut boundary of the output device and other color components in the same region at the same compression rate A color gamut compression device that employs a compression method that compresses all of the above is known (for example, see Non-Patent Document 1).
"Adaptive 3D Gamut Mapping Based on Color Distribution of Image". Ryoichi Saito and Hiroaiki Kotera, IS &T's NIP19: 2003 International Conference on Digital Printing Technologies.

しかしながら、上述した非特許文献に記載の色域圧縮装置では、分割された各領域内における出力系デバイスの色域境界から最も離間した色成分の圧縮率に基づいて、その領域内に全ての色成分の色域圧縮を行うように構成されているため、入力された画像デ−タによっては、隣接する領域間で明度ジャンプが発生してしまい、擬似輪郭が発生してしまうという課題があった。
また、画像デ−タが入力される毎に、全色成分について複雑な変換演算を行う必要があるため、偶発的にエラ−が発生してしまう虞があり、その場合、画質が破綻してしまうという課題もある。
However, in the color gamut compression device described in the above-mentioned non-patent document, all colors in the area are based on the compression ratio of the color component that is farthest from the color gamut boundary of the output device in each divided area. Since it is configured to perform color gamut compression of components, depending on the input image data, there is a problem that a brightness jump occurs between adjacent areas and a pseudo contour occurs. .
In addition, every time image data is input, it is necessary to perform a complex conversion operation for all color components, so there is a possibility that an error may occur accidentally. There is also a problem of end.

本発明は、かかる実情に鑑み、出力系デバイスの色域境界外の色成分を同出力系デバイスの色域境界またはその内部に圧縮する際に、擬似輪郭の発生を抑制することが可能であるとともに、複雑な演算を必要とせず、色域圧縮を行った後の画像について安定した画質を得ることが可能な色域圧縮装置、色域圧縮方法および色域圧縮処理プログラムを提供することを目的とする。   In view of such a situation, the present invention can suppress the generation of a pseudo contour when a color component outside the color gamut boundary of the output system device is compressed into the color gamut boundary of the output system device or inside thereof. Another object of the present invention is to provide a color gamut compression device, a color gamut compression method, and a color gamut compression processing program capable of obtaining a stable image quality for an image after color gamut compression without requiring a complicated operation. And

上記目的を達成するため、本発明は、出力系デバイスの色域境界外にある色成分を同出力系デバイスの色域境界または同色域境界内に圧縮する色域圧縮装置であって、上記色成分を入力する色成分入力手段と、上記色成分の圧縮態様を規定する圧縮テ−ブルを複数種類記憶する圧縮テ−ブル記憶手段と、上記色成分入力手段にて入力された色成分の分布に応じて、上記圧縮テ−ブル記憶手段に記憶されている複数種類の圧縮テ−ブルのなかから、いずれかの圧縮テ−ブルを選択する選択手段と、同選択手段にて選択された圧縮テ−ブルに基づいて、上記色成分入力手段にて入力された色成分を圧縮する圧縮手段とを具備することを要旨とする。   In order to achieve the above object, the present invention provides a color gamut compression apparatus that compresses a color component outside a color gamut boundary of an output system device into the color gamut boundary or the same color gamut boundary of the output system device. Color component input means for inputting components, compression table storage means for storing a plurality of types of compression tables that define the compression mode of the color components, and distribution of color components input by the color component input means And a selection means for selecting one of the plurality of types of compression tables stored in the compression table storage means, and the compression selected by the selection means. The gist of the invention is that it comprises compression means for compressing the color component input by the color component input means based on the table.

かかる構成において、色域圧縮装置は、出力系デバイスの色域境界外にある色成分を同出力系デバイスの色域境界または同色域境界内に圧縮する際に、まず、画像デ−タにおける色成分を色成分入力手段にて入力する。このとき、入力された画像デ−タにおける色成分の全てを入力することが望ましい。また、色域圧縮装置は、色成分の圧縮態様を規定する圧縮テ−ブルを複数種類記憶している。この圧縮テ−ブルとしては、例えば、所定の色空間(例えば、L*a*b*色空間や、RGB色空間等)に上の座標について、圧縮前と圧縮後の座標の写像関係を規定するテ−ブルを挙げることができる。また、上記圧縮テ−ブルとして、色空間内における座標の圧縮前の位置ベクトルと圧縮後の位置ベクトルとの関係を表すベクトル演算式であってもよい。本発明の色域圧縮装置では、このような色の圧縮態様を規定する圧縮テ−ブルを複数種類記憶しているのである。   In such a configuration, the color gamut compression apparatus first compresses a color component outside the color gamut boundary of the output system device into the color gamut boundary of the output system device or within the color gamut boundary of the output system device. The component is input by the color component input means. At this time, it is desirable to input all the color components in the input image data. In addition, the color gamut compression device stores a plurality of types of compression tables that define the compression mode of color components. As this compression table, for example, the mapping relationship between the pre-compression and post-compression coordinates is defined for the coordinates above in a predetermined color space (for example, L * a * b * color space, RGB color space, etc.). Tables to be used can be mentioned. Further, the compression table may be a vector arithmetic expression representing a relationship between a position vector before compression of coordinates in a color space and a position vector after compression. The color gamut compression apparatus of the present invention stores a plurality of types of compression tables that define such color compression modes.

そして、選択手段により、色成分入力手段にて入力された色成分の分布に応じて、圧縮テ−ブル記憶手段に記憶されている複数種類の圧縮テ−ブルのなかから、いずれかの圧縮テ−ブルを選択し、圧縮手段により、選択された圧縮テ−ブルに基づく色成分の圧縮を実行するのである。このよう構成することにより、予め記憶されている複数種類の圧縮テ−ブルのなかから、入力された色成分の分布に対応する最適な圧縮テ−ブルを選択し、選択された圧縮テ−ブルに基づく圧縮を行うことができるため、非特許文献に記載のような入力画像デ−タの色成分毎に演算により圧縮を行う場合と比較して、擬似輪郭が発生してしまうことがない。また、予め記憶されている圧縮テ−ブルに基づいて色域圧縮を行うため、全色成分について複雑な変換演算を行う必要がなく、偶発的なエラ−に起因して画質が破綻してしまうリスクを軽減することが可能となる。   Then, according to the distribution of the color component input by the color component input means by the selection means, one of the compression tables stored in the compression table storage means is selected from the plurality of types of compression tables. A table is selected, and compression of color components based on the selected compression table is executed by the compression means. With this configuration, an optimum compression table corresponding to the input color component distribution is selected from a plurality of types of compression tables stored in advance, and the selected compression table is selected. Therefore, compared with the case where compression is performed by calculation for each color component of input image data as described in non-patent literature, a pseudo contour is not generated. In addition, since color gamut compression is performed based on a pre-stored compression table, it is not necessary to perform complex conversion operations for all color components, and the image quality is destroyed due to an accidental error. Risk can be reduced.

本発明では、選択手段により圧縮テ−ブルの選択を行うに際し、予め記憶されている所定の色空間における複数の領域に各圧縮テ−ブルを対応させておき、これらの領域のうち、入力された全色成分を包含する領域に対応する圧縮テ−ブルを用いて色域圧縮を行うようにすることが望ましい。すなわち、所定の色空間における複数種類の領域を記憶する領域記憶手段を具備し、圧縮テ−ブル記憶手段は、同領域記憶手段に記憶されている各領域に対応する圧縮テ−ブルを記憶しており、上記選択手段は、上記色成分入力手段にて入力された全色成分を包含する領域に対応する圧縮テ−ブルを選択するように構成することが望ましい。このように構成することにより、入力された色成分の領域内外判定を行うことで用いる圧縮テ−ブルを選択することができるため、処理を簡素化することができる。
なお、記憶されている領域と色成分の分布との包含関係を比較する手法としては、例えば、上記領域に最外殻を構成する座標を示すテ−ブルと、色成分の分布における最外殻を構成する座標を示すテ−ブルとを比較する方法等を挙げることができる。
In the present invention, when selecting the compression table by the selection means, each compression table is made to correspond to a plurality of areas in a predetermined color space stored in advance, and an input of these areas is input. It is desirable to perform color gamut compression using a compression table corresponding to a region including all color components. That is, an area storage means for storing a plurality of types of areas in a predetermined color space is provided, and the compression table storage means stores a compression table corresponding to each area stored in the area storage means. Preferably, the selection means is configured to select a compression table corresponding to a region including all color components input by the color component input means. By configuring in this way, it is possible to select the compression table to be used by performing the inside / outside determination of the input color component, so that the processing can be simplified.
As a method for comparing the inclusion relationship between the stored area and the distribution of color components, for example, a table indicating coordinates constituting the outermost shell in the area and the outermost shell in the distribution of color components are used. And a method of comparing with a table indicating coordinates constituting the.

また、上述したような領域の包含関係に基づく圧縮テ−ブルの選択を行うとき、全色成分を包含する領域が複数存在する場合には、それらの領域のうち最小の領域を選択し、同最小の領域に対応する圧縮テ−ブルを選択手段が選択することが望ましい。色成分の分布よりも非常に大きい領域に対応する圧縮テ−ブルを選択すると圧縮率が大きくなってしまい、圧縮後の画像デ−タの彩度が小さくなってしまうからである。   In addition, when selecting a compression table based on the area inclusion relationship as described above, if there are a plurality of areas including all color components, the smallest area is selected from these areas, and It is desirable for the selection means to select a compression table corresponding to the smallest area. This is because if the compression table corresponding to a region that is much larger than the distribution of the color components is selected, the compression rate increases, and the saturation of the image data after compression decreases.

ところで、色域圧縮を行うために入力された画像デ−タの色成分の分布は、出力系デバイスの色域よりもかなり小さくなる場合がある。このような場合には、入力された色成分を、出力系デバイスの色域と略同一となるように拡張することにより、入力された画像よりも鮮明な画像を得ることが可能となる。すなわち、上記領域記憶手段が、上記出力系デバイスの色域に包含される特定領域を記憶しており、上記特定領域に対応し、上記色成分の拡張態様を規定する拡張テ−ブルを記憶する拡張テ−ブル記憶手段を具備し、上記選択手段が、上記特定領域が上記色成分入力手段にて入力された全色成分を包含する場合に、同特定領域に対応する拡張テ−ブルを選択し、上記圧縮手段が、上記選択手段により選択された拡張テ−ブルに基づいて、色成分入力手段にて入力された色成分を拡張する構成とすることが望ましい。
しかし、ユ−ザ−によっては、元の入力画像に忠実な画像を出力したいと希望する場合もあるため、上述した入力された色成分の拡張を行う場合には、ユ−ザ−により、色成分の拡張を行うための所定の操作の入力があった後に行うことが望ましい。
By the way, the distribution of the color components of the image data input for performing the color gamut compression may be considerably smaller than the color gamut of the output device. In such a case, it is possible to obtain a clearer image than the input image by extending the input color component so as to be substantially the same as the color gamut of the output device. That is, the area storage means stores a specific area included in the color gamut of the output device, and stores an expansion table corresponding to the specific area and defining an expansion mode of the color component. An extended table storage means is provided, and the selecting means selects an extended table corresponding to the specific area when the specific area includes all the color components input by the color component input means. It is desirable that the compression unit expands the color component input by the color component input unit based on the expansion table selected by the selection unit.
However, some users may wish to output an image that is faithful to the original input image. Therefore, when expanding the input color component described above, the user may It is desirable to perform the operation after inputting a predetermined operation for expanding the component.

ところで、上述してきた出力系デバイスの色域境界外にある色成分を同出力系デバイスの色域境界またはその内部に圧縮する色域圧縮装置は、出力系デバイスの色域境界外にある色成分を同出力系デバイスの色域境界またはその内部に圧縮する手順を提示した色域圧縮方法としても成立することは言うまでもない。
そこで、出力系デバイスの色域境界外にある色成分を同出力系デバイスの色域境界または同色域境界内に圧縮する色域圧縮方法であって、上記色成分を入力する色成分入力工程と、上記色成分入力手段にて入力された色成分の分布に応じて、予め記憶されている上記色成分の圧縮態様を規定する複数種類の圧縮テ−ブルのなかから、いずれかの圧縮テ−ブルを選択する選択工程と、上記選択工程にて選択された圧縮テ−ブルに基づいて、上記色成分入力工程にて入力された色成分を圧縮する圧縮工程とを具備する構成としても発明が成立する。
必ずしも実態のある色域圧縮装置に限らず、色域圧縮方法としても有効であることに相違はない。
By the way, the above-described color gamut compression apparatus that compresses a color component outside the color gamut boundary of the output system device to the color gamut boundary of the output system device or inside thereof is a color component outside the color gamut boundary of the output system device. Needless to say, the present invention can also be realized as a color gamut compression method that presents a procedure for compressing the image to the color gamut boundary of the same output system device or inside thereof.
Therefore, a color gamut compression method for compressing a color component outside the color gamut boundary of the output system device into the color gamut boundary or the same color gamut boundary of the output system device, the color component input step for inputting the color component, and One of the compression tables is selected from a plurality of types of compression tables that prescribe the compression modes of the color components stored in advance according to the distribution of the color components input by the color component input means. The invention also includes a selection step of selecting a color and a compression step of compressing the color component input in the color component input step based on the compression table selected in the selection step. To establish.
It is not necessarily limited to the actual color gamut compression device, and there is no difference that it is effective as a color gamut compression method.

また、出力系デバイスの色域境界外にある色成分を同出力系デバイスの色域境界またはその内部に圧縮する色域圧縮装置および色域圧縮方法は、当該色域圧縮装置単独で実現される場合もあるし、ある機器に組み込まれた状態で利用されることもあるなど、発明の思想としては各種の態様を含むものであり、ソフトウェアであったりハ−ドウェアであったりするのど、適宜変更可能である。発明の思想の具現化例として色域圧縮装置を制御するソフトウェアとなる場合には、当該ハ−ドウェアやソフトウェアの記録媒体としても発明は成立する。   Further, a color gamut compression apparatus and a color gamut compression method for compressing a color component outside the color gamut boundary of the output system device to or within the color gamut boundary of the output system device are realized by the color gamut compression apparatus alone. The idea of the invention includes various aspects such as being used in a state of being incorporated in a certain device, and may be changed as appropriate, such as software or hardware. Is possible. In the case of software that controls the color gamut compression device as an embodiment of the idea of the invention, the invention can be realized as a recording medium for the hardware or software.

その一例として、出力系デバイスの色域境界外にある色成分を同出力系デバイスの色域境界または同色域境界内に圧縮する色域圧縮装置を、上記色成分を入力する色成分入力手段、上記色成分の圧縮態様を規定する圧縮テ−ブルを複数種類記憶する圧縮テ−ブル記憶手段、上記色成分入力手段にて入力された色成分の分布に応じて、上記圧縮テ−ブル記憶手段に記憶されている複数種類の圧縮テ−ブルのなかから、いずれかの圧縮テ−ブルを選択する選択手段、および、上記選択手段にて選択された圧縮テ−ブルに基づいて、上記色成分入力手段にて入力された色成分を圧縮する圧縮手段として機能させる色域圧縮処理プログラムも本発明に含まれる。
すなわち、色域圧縮装置が具備する各手段を実現可能にするプログラムによって形成してもよい。むろん、そのソフトウェアの記録媒体は、磁気記録媒体であってもよいし、光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体においても全く同様に考えることができる。
As an example thereof, a color gamut compression device that compresses a color component outside the color gamut boundary of the output system device into the color gamut boundary or the same color gamut boundary of the output system device, a color component input means for inputting the color component, Compression table storage means for storing a plurality of types of compression tables that define the compression mode of the color component, and the compression table storage means according to the distribution of the color components input by the color component input means. Selecting means for selecting one of the plurality of types of compression tables stored in the data table, and the color component based on the compression table selected by the selection means A color gamut compression processing program that functions as compression means for compressing color components input by the input means is also included in the present invention.
That is, you may form with the program which makes each means with which a color gamut compression apparatus comprises is realizable. Of course, the software recording medium may be a magnetic recording medium, a magneto-optical recording medium, or any recording medium that will be developed in the future.

また、一次複製品、二次複製品等の複製段階については全く問う余地も無く同様である。その他、供給方法として通信回線を利用して行う場合でも本発明が利用されていることには変わりはないし、半導体チップに書き込まれたようなものであっても同様である。さらに、一部がソフトウェアであって、一部がハ−ドウェアで実現されている場合においても発明の思想において全く異なるものではなく、一部を記録媒体上に記録しておいて必要に応じて適宜読み込まれているような形態のものとしてあってもよい。   The same is true for the replication stage of the primary replica, secondary replica, etc. without any question. In addition, even if the communication method is used as a supply method, the present invention is not changed, and the same applies even if it is written on a semiconductor chip. Furthermore, even when a part is software and a part is realized by hardware, the idea of the invention is not completely different, and a part is recorded on a recording medium as needed. It may be in the form of being read appropriately.

以下、下記の順序に従って本発明の実施形態を説明する。
(1)色域圧縮装置の構成:
(2)色域圧縮装置の処理内容:
(3)各種変形例:
(4)まとめ:
Hereinafter, embodiments of the present invention will be described in the following order.
(1) Configuration of color gamut compression device:
(2) Processing content of color gamut compression device:
(3) Various modifications:
(4) Summary:

(1)色域圧縮装置の構成:
図1は、本発明にかかる色域圧縮装置を適用したコンピュ−タの構成を示したブロック構成図である。
同図において、コンピュ−タ10は、CPU11にバス12を介してROM13と、RAM14と、ディスクドライバ15と、プリンタドライバ16と、シリアルI/O17と、スキャナドライバ18と、CRTドライバ19とが接続されている。CPU11はバス12を介してこれらと相互に通信可能となっている。CPU11はROM12や、ディスクドライバ15を介して接続されるハ−ドディスク51aに格納されている制御プログラムやオペレ−ティングシステムプログラムやアプリケ−ションプログラムを適宜RAM14に読み出すとともに、同RAM14をワ−クエリアとしつつ各プログラムを実行することによって、同コンピュ−タ10を色域圧縮装置として機能させることが可能となっている。
(1) Configuration of color gamut compression device:
FIG. 1 is a block diagram showing the configuration of a computer to which a color gamut compression device according to the present invention is applied.
In the figure, a computer 10 is connected to a CPU 11 via a bus 12 with a ROM 13, a RAM 14, a disk driver 15, a printer driver 16, a serial I / O 17, a scanner driver 18, and a CRT driver 19. Has been. The CPU 11 can communicate with each other via the bus 12. The CPU 11 reads out the control program, operating system program, and application program stored in the ROM 12 and the hard disk 51a connected via the disk driver 15 to the RAM 14 as appropriate, and reads the RAM 14 into the work area. However, by executing each program, the computer 10 can function as a color gamut compression device.

ディスクドライバ15にはその他にフレキシブルディスクドライブ15bや、CD−ROMドライブ15cが接続され、これらを介してフレキシブルディスク15b1およびCD−ROM15c1に格納されたプログラムを読み出して、ハ−ドディスク15aにインスト−ルする。また、プリンタドライバ16にはカラ−プリンタ16aが接続されており、スキャナドライバ18を介して接続されたスキャナ18aでのスキャン対象となる原稿を読み込んで生成される画像デ−タを印刷可能になっている。むろん、オペレ−ティングシステムプログラムやアプリケ−ションプログラムによってCRTドライバ19を介して接続されているCRT19aに画像を表示させつつ、同画像を形成する画像デ−タに基づいた印刷を行うことも可能になっている。ここで、カラ−プリンタ16aはCMYKインク(C:シアン、M:マゼンタ、Y:イエロ−、K:黒)を紙等の印刷媒体に吐出させて印刷画像を形成するインクジェットプリンタを採用してもよいし、レ−ザプリンタを採用してもよい。むろん、インク色はCMYKの4色に限定されるものではなく、lm(ライトマゼンタ)やlc(ライトシアン)を含む構成であってもよい。   In addition, a flexible disk drive 15b and a CD-ROM drive 15c are connected to the disk driver 15, through which the programs stored in the flexible disk 15b1 and the CD-ROM 15c1 are read and installed on the hard disk 15a. To do. Further, a color printer 16a is connected to the printer driver 16, and image data generated by reading a document to be scanned by the scanner 18a connected via the scanner driver 18 can be printed. ing. Of course, it is also possible to perform printing based on image data for forming the image while displaying the image on the CRT 19a connected via the CRT driver 19 by an operating system program or an application program. It has become. Here, the color printer 16a may be an ink jet printer that forms a print image by discharging CMYK ink (C: cyan, M: magenta, Y: yellow, K: black) onto a print medium such as paper. A laser printer may be employed. Of course, the ink colors are not limited to the four colors CMYK, and may include lm (light magenta) and lc (light cyan).

また、スキャナ18aは原稿台に載置した原稿をスキャンしつつ読み込むフラットベッドタイプであってもよいし、トレイに装着された原稿を引き込みつつ読み込むコンパクトタイプであってもよい。このように、フレキシブルディスク15b1やCD−ROM15c1に本発明にかかる色域圧縮処理プログラムを記憶しておき、コンピュ−タ10にて読み出しつつ実行させて、当該コンピュ−タ10を本発明にかかる色域圧縮装置として機能させるようにしてもよい。また、シリアルI/O17にハブ17a等のネットワ−ク機器を接続し、インタ−ネットやLANを介して本発明にかかる色域圧縮処理プログラムをコンピュ−タ10にダウンロ−ドして色域圧縮装置として機能させるようにしてもよい。   The scanner 18a may be a flat bed type that reads a document placed on a platen while scanning, or may be a compact type that reads a document mounted on a tray while pulling it. As described above, the color gamut compression processing program according to the present invention is stored in the flexible disk 15b1 or the CD-ROM 15c1, and is executed while being read out by the computer 10, so that the computer 10 can perform the color according to the present invention. You may make it function as a region compression apparatus. Further, a network device such as a hub 17a is connected to the serial I / O 17, and the color gamut compression processing program according to the present invention is downloaded to the computer 10 via the Internet or LAN to compress the color gamut. You may make it function as an apparatus.

図2は、上述したコンピュ−タ10にて色域圧縮装置として機能する構成を示した機能ブロック構成図である。同図において、色域圧縮装置50は、圧縮実行判定部51と、拡張部52と、圧縮部54とから構成され、例えば、スキャナ18aの入力系デバイス61から入力されるカラ−画像信号の色成分が制御部60を介して供給され、そのカラ−画像信号の色成分のうち、例えば、カラ−プリンタ16aやCRT19a等の出力系デバイス62の色域境界外の色成分を、出力系デバイス62における色域境界またはその内部に変換(圧縮)し、変換後の色成分を変換色成分信号保持部70に出力する。   FIG. 2 is a functional block configuration diagram showing a configuration in which the above-described computer 10 functions as a color gamut compression device. In the figure, the color gamut compression device 50 includes a compression execution determination unit 51, an expansion unit 52, and a compression unit 54. For example, the color of the color image signal input from the input system device 61 of the scanner 18a. The components are supplied via the control unit 60, and among the color components of the color image signal, for example, color components outside the color gamut boundary of the output system device 62 such as the color printer 16a or the CRT 19a are output. Is converted (compressed) to the color gamut boundary or inside thereof, and the converted color component is output to the converted color component signal holding unit 70.

ここで、圧縮実行判定部51は、制御部60より供給されたカラ−画像信号の色成分に対して色域圧縮処理を実行するか否かを判定し、色域圧縮処理を実行する場合にはカラ−画像信号の色成分を圧縮部54に出力し、逆に、色域を拡張する処理を実行する場合にはカラ−画像信号の色成分を拡張部52に出力する。すなわち、当該圧縮実行判定部51では、制御部60から供給されたカラ−画像信号の色成分が出力系デバイス61の色域境界またはその内部であるか、色域境界外であるかに基づいて、色域境界外である場合には色域圧縮処理を実行すると判定し、色域境界またはその内部に位置する場合には色域拡張処理を実行すると判定するように構成されている。なお、拡張部52による色域の拡張は、ユ−ザ−による所定の操作を待って行われる。   Here, the compression execution determination unit 51 determines whether or not to execute the color gamut compression process on the color component of the color image signal supplied from the control unit 60, and executes the color gamut compression process. Outputs the color component of the color image signal to the compression unit 54, and conversely outputs the color component of the color image signal to the expansion unit 52 when executing the process of extending the color gamut. That is, the compression execution determination unit 51 determines whether the color component of the color image signal supplied from the control unit 60 is within or outside the color gamut boundary of the output system device 61 or outside the color gamut boundary. If it is outside the color gamut boundary, it is determined that the color gamut compression processing is executed, and if it is located at or inside the color gamut boundary, it is determined that the color gamut expansion processing is executed. Note that the expansion of the color gamut by the expansion unit 52 is performed after a predetermined operation by the user.

圧縮部54は、圧縮実行判定部51からの全ての色成分を入力し、当該色成分の分布に対応した所定の圧縮方法にて同色成分を出力系デバイス62の色域境界またはその内部に圧縮する。
一方、拡張部52は、圧縮実行判定部51からの全ての色成分を入力し、当該色成分の分布に対応した所定の拡張方法にて同色成分の分布が出力系デバイス62の色域に近づくように拡張する。
The compression unit 54 inputs all the color components from the compression execution determination unit 51 and compresses the same color components to the color gamut boundary of the output device 62 or inside thereof by a predetermined compression method corresponding to the distribution of the color components. To do.
On the other hand, the expansion unit 52 inputs all the color components from the compression execution determination unit 51, and the distribution of the same color components approaches the color gamut of the output system device 62 by a predetermined expansion method corresponding to the distribution of the color components. Extend as follows.

変換色成分保持部70は、色域圧縮装置50から供給されたカラー画像信号の色成分を一括して保持する変換色成分保持部である。画像処理部80は、変換色成分保持部70から供給されたカラー画像信号の色成分を基に、所定の画像処理、例えばエッジ処理などを施し、制御部60に出力する画像処理部である。出力系デバイス62は、制御部60から供給されたカラー画像信号の色成分を可視化する、例えばカラープリンタ16aなどの出力系情報機器である。制御部60は、入力系デバイス61および出力系デバイス62との間でカラー画像信号の授受を実行する制御部である。   The conversion color component holding unit 70 is a conversion color component holding unit that collectively holds the color components of the color image signal supplied from the color gamut compression device 50. The image processing unit 80 is an image processing unit that performs predetermined image processing such as edge processing based on the color components of the color image signal supplied from the converted color component holding unit 70 and outputs the processed image to the control unit 60. The output system device 62 is an output system information device such as a color printer 16 a that visualizes the color components of the color image signal supplied from the control unit 60. The controller 60 is a controller that executes transmission / reception of color image signals between the input system device 61 and the output system device 62.

次に、色域圧縮の処理動作について説明する。
なお、ここでは色域圧縮を行う色空間は、CIE/L*a*b*色空間であるとして説明する。
まず、入力系デバイス61から、カラ−画像信号の色成分が制御部60に供給されると、制御部60から同カラ−画像信号が色域圧縮装置50の圧縮実行判定部51に供給される。カラ−画像信号の色成分は、明度、彩度、色相の情報を含み、例えば、CIE/L*a*b*色空間でベクトル演算可能な信号である。圧縮実行判定部51は、制御部60より供給されたカラ−画像信号の全色成分の分布と、予め記憶されている出力系デバイス62の色域とを比較して、全色成分の分布が出力系デバイス62の色域よりも大きい、すなわち、出力系デバイス62の色域境界外の色成分が存在する場合には、色域圧縮処理を実行するとして全色成分を圧縮部54に出力する一方、全色成分の分布が出力系デバイス62の色域内である場合には、全色成分の分布領域を、出力系デバイスの色域に近づけるために色域拡張処理を実行するとして全色成分を拡張部52に出力する。
カラ−画像信号の全色成分を入力した圧縮部54は、後に詳述する圧縮方法に基づいて、全色成分が出力系デバイス62の色域境界またはその内部に位置するように色域圧縮を行う。また、カラ−画像信号の全色成分を入力した拡張部52は、後に詳述する拡張方法に基づいて、全色成分の色域拡張を行う。
Next, the processing operation of color gamut compression will be described.
Here, the description will be made assuming that the color space for color gamut compression is the CIE / L * a * b * color space.
First, when the color component of the color image signal is supplied from the input device 61 to the control unit 60, the color image signal is supplied from the control unit 60 to the compression execution determination unit 51 of the color gamut compression device 50. . The color component of the color image signal includes lightness, saturation, and hue information, and is a signal that can be vector-calculated in, for example, the CIE / L * a * b * color space. The compression execution determination unit 51 compares the distribution of all color components of the color image signal supplied from the control unit 60 with the color gamut of the output device 62 stored in advance, and the distribution of all color components is determined. If there is a color component that is larger than the color gamut of the output system device 62, that is, there is a color component outside the color gamut boundary of the output system device 62, all color components are output to the compression unit 54 as executing the color gamut compression processing. On the other hand, if the distribution of all the color components is within the color gamut of the output system device 62, it is assumed that the color gamut expansion processing is executed to bring the distribution area of all the color components closer to the color gamut of the output system device. Is output to the expansion unit 52.
The compression unit 54 that has input all color components of the color image signal performs color gamut compression so that all color components are located at or within the color gamut boundary of the output device 62 based on the compression method described in detail later. Do. Further, the expansion unit 52 that has received all the color components of the color image signal performs the color gamut expansion of all the color components based on the expansion method described in detail later.

以下、本実施形態にかかる色域圧縮装置における入力色成分の圧縮・拡張処理の方法について説明する。コンピュ−タ10のROM13には、L*a*b*色空間における複数の領域が予め記憶されているとともに、各領域に対応する圧縮テ−ブルまたは拡張テ−ブルが記憶されている。上記圧縮テ−ブルは、色成分の圧縮態様を規定するものであり、本実施形態においては、L*a*b*色空間における入力色成分の座標と、圧縮後の色成分の座標との関係を示すテ−ブルとして記憶されている。また、上記拡張テ−ブルは、色成分の拡張態様を規定するものであり、本実施形態においては、L*a*b*色空間における入力色成分の座標と、拡張後の色成分の座標との関係を示すテ−ブルとして記憶されている。   Hereinafter, a method of compression / expansion processing of input color components in the color gamut compression device according to the present embodiment will be described. The ROM 13 of the computer 10 stores a plurality of areas in the L * a * b * color space in advance, and also stores a compression table or an expansion table corresponding to each area. The compression table defines the compression mode of the color component. In the present embodiment, the coordinates of the input color component in the L * a * b * color space and the coordinates of the color component after compression are used. It is stored as a table indicating the relationship. The extended table defines the color component expansion mode. In this embodiment, the coordinates of the input color component in the L * a * b * color space and the coordinates of the expanded color component are used. Is stored as a table indicating the relationship between

図3は、本実施形態にかかる色域圧縮装置のROM13に記憶されているL*a*b*色空間における上記領域の一例を示す図である。なお、図3では、説明の便宜上、各領域を2次元平面で表現しているが、本実施形態においては、上記領域は、L*a*b*色空間における領域、すなわち、3次元空間における領域である。同図において、L*a*b*色空間における4つの領域A、B、CおよびD(実線にて示す)が記憶されている。また、ROM13には、出力系デバイスの色域G(破線にて示す)も予め記憶されている。これら領域A〜Dのうち、領域Aおよび領域Bは、出力系デバイスの色域Gを包含する大きさを有しており、更に、領域Aは領域Bを包含している。一方、領域Cおよび領域Dは、出力系デバイスの色域Gに包含されており、更に、領域Dは領域Cに包含されている。本実施形態では、入力された色成分の分布と、領域A〜Dとの包含関係に応じて、圧縮テ−ブルまたは拡張テ−ブルが選択され、選択されたテ−ブルに基づいて色域圧縮または拡張が行われるのである。   FIG. 3 is a diagram illustrating an example of the area in the L * a * b * color space stored in the ROM 13 of the color gamut compression device according to the present embodiment. In FIG. 3, for convenience of explanation, each region is represented by a two-dimensional plane. However, in this embodiment, the region is a region in an L * a * b * color space, that is, a three-dimensional space. It is an area. In the figure, four regions A, B, C and D (shown by solid lines) in the L * a * b * color space are stored. The ROM 13 also stores a color gamut G (indicated by a broken line) of the output device in advance. Among these areas A to D, the area A and the area B have a size that includes the color gamut G of the output device, and the area A includes the area B. On the other hand, the area C and the area D are included in the color gamut G of the output device, and the area D is included in the area C. In this embodiment, a compression table or an expansion table is selected according to the input color component distribution and the inclusion relationship between the regions A to D, and the color gamut is based on the selected table. Compression or expansion is performed.

図4は、本実施形態にかかる色域圧縮装置のROM13に記憶されている圧縮テ−ブル、拡張テ−ブルの一例を示す図である。同図において、テ−ブルの左側には、入力された色成分のL*a*b*色空間における座標、すなわち、圧縮(拡張)前の色成分の座標(L、a、b)が示されており、その右側には、圧縮後の座標(L′、a′、b′)が示されている。入力された色成分のうち、本テ−ブルに示されている座標の色成分については、その右側に示されている座標に写像されるのである。圧縮テ−ブルは、出力系デバイスの色域Gの境界外にある色成分が、同境界またはその内部に位置するように圧縮する写像関係を規定しており。拡張テ−ブルは、出力系デバイスの色域Gの境界内にある色成分が、色域Gの境界上またはその近傍に位置するように拡張する写像関係を規定している。   FIG. 4 is a diagram showing an example of a compression table and an expansion table stored in the ROM 13 of the color gamut compression device according to this embodiment. In the figure, the coordinates of the input color component in the L * a * b * color space, that is, the coordinates (L, a, b) of the color component before compression (expansion) are shown on the left side of the table. The coordinates (L ′, a ′, b ′) after compression are shown on the right side. Among the input color components, the color components at the coordinates shown in this table are mapped to the coordinates shown on the right side thereof. The compression table defines a mapping relationship in which the color components outside the color gamut G boundary of the output device are compressed so that they are located at or inside the boundary. The extended table defines a mapping relationship in which a color component within the boundary of the color gamut G of the output device is extended so as to be positioned on or near the boundary of the color gamut G.

上述したようにROM13には、4つの領域A〜Dが記憶されているのであるが、これらの領域のうち、出力系デバイスの色域Gを包含する領域Aおよび領域Bにそれぞれ対応する圧縮テ−ブルAおよび圧縮テ−ブルBが記憶されている。また、ROM13には、出力系デバイスの色域Gに包含される領域Cおよび領域Dにそれぞれ対応する拡張テ−ブルCおよび拡張テ−ブルDが記憶されている。すなわち、入力色成分の分布が、出力系デバイスの色域Gの境界外に亘っている場合には、全色成分を圧縮する一方、入力色成分の分布が出力系デバイスの色域Gに包含される場合には、全色成分を拡張するのである。   As described above, the ROM 13 stores the four areas A to D. Of these areas, the compressed text corresponding to the area A and the area B including the color gamut G of the output system device, respectively. -A table A and a compressed table B are stored. The ROM 13 stores an extended table C and an extended table D corresponding to the area C and the area D included in the color gamut G of the output device. That is, when the distribution of the input color component extends outside the boundary of the color gamut G of the output system device, all the color components are compressed, while the distribution of the input color component is included in the color gamut G of the output system device. If so, it expands all color components.

図5は、入力色成分の分布および同入力色成分の圧縮テ−ブルによる圧縮態様の例を示す図である。同図において、色付きで示されている部分は、入力された全色成分の分布を示している。この場合、入力色成分分布Hは、領域Aに包含されており、領域Bから一部がはみ出したものとなっている。この場合、領域Aに対応する圧縮テ−ブルAが選択されるとともに、選択された圧縮テ−ブルAに基づく色域圧縮が行われる。図中に示す矢印の向きは、圧縮方向を示しており、矢印の長さは、圧縮率の大きさを示している。図5の場合では、色成分の分布が、出力系デバイスの色域Gよりも比較的大きくはみ出しているため、高い圧縮率にて色域圧縮が行われる。その結果、入力された全色成分が出力系デバイスの色域境界またはその内部に圧縮されることとなる。   FIG. 5 is a diagram illustrating an example of the distribution of the input color component and the compression mode by the compression table of the input color component. In the same figure, the part shown with color shows the distribution of all the input color components. In this case, the input color component distribution H is included in the region A, and partly protrudes from the region B. In this case, the compression table A corresponding to the area A is selected, and color gamut compression based on the selected compression table A is performed. The direction of the arrow shown in the figure indicates the compression direction, and the length of the arrow indicates the size of the compression rate. In the case of FIG. 5, since the distribution of the color component protrudes relatively larger than the color gamut G of the output device, the color gamut compression is performed at a high compression rate. As a result, all input color components are compressed to the color gamut boundary of the output device or inside thereof.

図6は、入力色成分の分布および同入力色成分の圧縮テ−ブルによる圧縮態様の別の例を示す図である。同図において、入力色成分分布Hは、出力系デバイスの色域Gから一部がはみ出しており、領域Aおよび領域Bに包含されたものとなっている。この場合には、入力色成分分布Hを包含する領域Aおよび領域Bのうち、最小の領域である領域Bに対応する圧縮テ−ブルBが選択されるとともに、選択された圧縮テ−ブルBに基づいて色域圧縮が行われる。図中、圧縮方向および圧縮率を示す矢印は、図5に示した矢印と比較して短いものとなっており、圧縮テ−ブルBに基づく色域圧縮を行った場合には、図5を用いて説明した圧縮テ−ブルAに基づく色域圧縮を行った場合よりも圧縮率が低くなることが示されている。   FIG. 6 is a diagram showing another example of the distribution of the input color components and the compression mode by the compression table of the input color components. In the figure, the input color component distribution H partially protrudes from the color gamut G of the output device and is included in the region A and the region B. In this case, the compression table B corresponding to the region B which is the smallest region among the regions A and B including the input color component distribution H is selected and the selected compression table B is selected. Based on the color gamut compression. In the figure, the arrows indicating the compression direction and the compression rate are shorter than the arrows shown in FIG. 5, and when color gamut compression based on the compression table B is performed, FIG. It is shown that the compression rate is lower than that in the case where the color gamut compression based on the compression table A described above is performed.

図7は、入力色成分の分布および同入力色成分の拡張テ−ブルによる拡張態様の例を示す図である。同図において、入力色成分分布Hは、出力系デバイスの色域Gに包含されており、また、領域Cにも包含されている。また、入力色成分分布Hは、領域Dから一部がはみ出している。この場合には、入力色成分分布Hを包含する領域Cに対応する拡張テ−ブルCが選択されるとともに、選択された拡張テ−ブルCに基づいて色域の拡張が行われる。図中に示す矢印の向きは、拡張方向を示しており、矢印の長さは、拡張率の大きさを示している。   FIG. 7 is a diagram illustrating an example of an extended form by the distribution of the input color component and the extended table of the input color component. In the figure, the input color component distribution H is included in the color gamut G of the output device, and is also included in the region C. Further, the input color component distribution H partially protrudes from the region D. In this case, the extension table C corresponding to the area C including the input color component distribution H is selected, and the color gamut is extended based on the selected extension table C. The direction of the arrow shown in the drawing indicates the expansion direction, and the length of the arrow indicates the size of the expansion rate.

図8は、入力色成分の分布および同入力色成分の拡張テ−ブルによる拡張態様の別の例を示す図である。同図において、入力色成分分布Hは、出力系デバイスの色域G、領域Cおよび領域Dに包含されている。この場合には、入力色成分分布Hを包含する領域Cおよび領域Dのうち、最小の領域である領域Dに対応する拡張テ−ブルDが選択されるとともに、選択された拡張テ−ブルDに基づいて色域圧縮が行われる。図中、拡張方向および拡張率を示す矢印は、図7に示した矢印と比較して長くなっており、拡張テ−ブルDに基づく色域拡張を行った場合には、図7を用いて説明した拡張テ−ブルCに基づく色域拡張を行った場合によりも拡張率が高くなることが示されている。   FIG. 8 is a diagram illustrating another example of an extended form by the distribution of the input color component and the extended table of the input color component. In the figure, the input color component distribution H is included in the color gamut G, region C, and region D of the output device. In this case, the extended table D corresponding to the region D that is the smallest region among the regions C and D including the input color component distribution H is selected, and the selected extended table D is selected. Based on the color gamut compression. In the figure, the arrow indicating the extension direction and the extension rate is longer than the arrow shown in FIG. 7, and when color gamut extension based on the extension table D is performed, FIG. 7 is used. It is shown that the expansion rate is higher than that in the case where the color gamut expansion based on the described expansion table C is performed.

(2)色域圧縮処理の処理内容:
図9は、上述してきた構成にて実行される色域圧縮処理の概略処理内容を示すフロ−チャ−トである。
同図において、まず、入力された画像デ−タの色成分を入力する(ステップS100)。このステップS100の処理では、入力画像デ−タに含まれる全色成分を入力する。次に、ステップS200において最外殻点を抽出する処理を行う。この処理では、ステップS100において入力された全色成分のL*a*b*色空間における最外殻点を抽出する処理を行う。この処理にて抽出された最外殻点の全てを含む曲面は、入力画像デ−タの全色成分を包含することとなる。
(2) Processing content of color gamut compression processing:
FIG. 9 is a flowchart showing the outline processing contents of the color gamut compression processing executed in the configuration described above.
In the figure, first, color components of input image data are input (step S100). In step S100, all the color components included in the input image data are input. Next, a process of extracting the outermost shell point is performed in step S200. In this process, a process of extracting the outermost shell point in the L * a * b * color space of all the color components input in step S100 is performed. The curved surface including all the outermost shell points extracted by this processing includes all the color components of the input image data.

次に、ステップS300において、テ−ブル選択処理を実行する。この処理において、ステップS100において入力された色成分の分布と、図5〜図8に示した領域A〜Dとの包含関係に基づいて、色域圧縮または拡張を行う際に用いるテ−ブル(圧縮テ−ブルまたは拡張テ−ブル)を選択する処理を行う。このテ−ブル選択処理については、後に図面(図10)を用いて詳述する。次に、ステップS400において、選択されたテ−ブルに基づく色域圧縮(拡張)を行う。すなわち、ステップS300において選択された圧縮テ−ブルまたは拡張テ−ブルに基づいて、ステップS100において入力された全色成分を圧縮(拡張)する処理を行う。そして、ステップS400の処理を実行すると色域圧縮処理を終了させる。   Next, in step S300, a table selection process is executed. In this processing, a table used for color gamut compression or expansion based on the distribution relationship of the color components input in step S100 and the inclusive relations between the areas A to D shown in FIGS. A process of selecting a compression table or an expansion table is performed. The table selection process will be described in detail later with reference to the drawing (FIG. 10). Next, in step S400, color gamut compression (expansion) based on the selected table is performed. In other words, based on the compression table or expansion table selected in step S300, a process for compressing (expanding) all the color components input in step S100 is performed. When the process of step S400 is executed, the color gamut compression process is terminated.

図10は、図9に示したフロ−チャ−トのステップS300において呼び出されて実行されるテ−ブル選択処理の流れを示すフロ−チャ−トである。同図に示すテ−ブル選択処理が開始されると、まず、ステップS305において、最外殻点が領域D内であるか否かを判定する。この処理において、ステップS200(図9)において抽出された最外殻点の全てが領域D内に位置しているか否かを判定する。領域D内に位置していると判定した場合、次に、ステップS310において、領域Dに対応するテ−ブルである拡張テ−ブルDを選択する処理を行い、テ−ブル選択処理を終了させる。
一方、ステップS305において最外殻点が領域D内ではない(領域D外である)と判定した場合、次に、ステップS315において、最外殻が領域C内であるか否かを判定する。領域C内に位置していると判定して場合には、つづくステップS320において、領域Cに対応するテ−ブルである拡張テ−ブルCを選択する処理を行い、テ−ブル選択処理を終了させる。
FIG. 10 is a flowchart showing the flow of table selection processing that is called and executed in step S300 of the flowchart shown in FIG. When the table selection process shown in the figure is started, first, it is determined whether or not the outermost shell point is within the region D in step S305. In this process, it is determined whether or not all the outermost shell points extracted in step S200 (FIG. 9) are located in the region D. If it is determined that it is located in the area D, then in step S310, a process for selecting the extended table D that is a table corresponding to the area D is performed, and the table selection process is terminated. .
On the other hand, if it is determined in step S305 that the outermost shell point is not in the region D (outside the region D), it is then determined whether or not the outermost shell is in the region C in step S315. If it is determined that it is located in the area C, in the subsequent step S320, a process of selecting the extended table C that is a table corresponding to the area C is performed, and the table selection process is terminated. Let

一方、ステップS315において最外殻が領域C内ではないと判定した場合、次に、ステップS325において、最外殻が領域B内であるか否かを判定する。領域B内に位置していると判定した場合には、次に、ステップS330において、出力系デバイスの色域外であるか否かを判定する。出力系デバイスの色域外であると判定した場合には、つづくステップS335において、領域Bに対応するテ−ブルである圧縮テ−ブルBを選択する処理を行い、テ−ブル選択処理を終了させる一方、出力系デバイスの色域境界またはその内部であると判定した場合には、入力された色成分の分布が出力系デバイスの色域境界またはその内部であって、同出力系デバイスの色域と略同一であるため、色域圧縮および拡張を行う必要がないため、いずれのテ−ブルも選択せず、テ−ブル選択処理を終了させる。
ステップS325において、最外殻が領域B内ではないと判定した場合、色成分の分布が領域A内であることになるので、つづくステップS340において領域Aに対応する圧縮テ−ブルAを選択し、テ−ブル選択処理を終了させる。
On the other hand, if it is determined in step S315 that the outermost shell is not in the region C, it is then determined in step S325 whether or not the outermost shell is in the region B. If it is determined that it is located in the area B, it is next determined in step S330 whether or not it is out of the color gamut of the output device. If it is determined that it is out of the color gamut of the output device, in the subsequent step S335, a process of selecting the compressed table B which is a table corresponding to the area B is performed, and the table selection process is terminated. On the other hand, if it is determined that the output device color gamut boundary is within or within the color gamut boundary of the output device, the input color component distribution is within or within the color gamut boundary of the output device and the color gamut of the output device. Therefore, since it is not necessary to perform color gamut compression and expansion, no table is selected and the table selection process is terminated.
If it is determined in step S325 that the outermost shell is not in the region B, the color component distribution is in the region A. Therefore, in step S340, the compression table A corresponding to the region A is selected. Then, the table selection process is terminated.

(3)各種変形例:
本発明においては、圧縮テ−ブルまたは拡張テ−ブルの選択処理が行われた後、選択されたテ−ブルが拡張テ−ブルであった場合には、その拡張テ−ブルに基づく色域の拡張を、ユ−ザ−からの所定の指示の入力を待って行うことが望ましい。元の入力画像に忠実な画像を出力することを所望するユ−ザ−も存在するからである。
(3) Various modifications:
In the present invention, if the selected table is an extended table after the compression table or the extended table is selected, the color gamut based on the extended table is selected. It is desirable to perform the extension of the above after waiting for the input of a predetermined instruction from the user. This is because some users desire to output an image faithful to the original input image.

図11は、色域圧縮処理の別の一例を示すフロ−チャ−トである。なお、図11において、図9に示した色域圧縮処理のなかのステップと同様の処理を行うステップについては、同一の符号を付しており、その説明を省略する。図11に示した色域圧縮処理においては、ステップS300のテ−ブル選択処理を実行した後、ステップS350において、拡張テ−ブルが選択されたか否かを判定する。すなわち、図10に示したテ−ブル選択処理において、拡張テ−ブルCまたは拡張テ−ブルDが選択されたか否かを判定する。拡張テ−ブルが選択されていない(圧縮テ−ブルが選択された)と判定した場合には、ステップS400に処理を進めて色域圧縮(拡張)を行う一方、拡張テ−ブルが選択されたと判定した場合には、次に、ステップS360において、色域拡張指示の入力があったか否かを判定する。この処理において、選択された拡張テ−ブル基づく、色域の拡張処理の実行を許可する旨の指示の入力がユ−ザ−により成されたか否かを判定する。指示入力があったと判定した場合には、処理をステップS400に進めて色域圧縮(拡張)を行う一方、指示入力がなかったと判定した場合には、ステップS400の処理は行わず、そのまま色域圧縮処理を終了させる。   FIG. 11 is a flowchart showing another example of color gamut compression processing. In FIG. 11, steps that perform the same processing as the steps in the color gamut compression processing shown in FIG. 9 are given the same reference numerals, and descriptions thereof are omitted. In the color gamut compression process shown in FIG. 11, after the table selection process in step S300 is executed, it is determined in step S350 whether an extended table has been selected. That is, it is determined whether or not the extended table C or the extended table D is selected in the table selection process shown in FIG. If it is determined that the extended table has not been selected (the compressed table has been selected), the process proceeds to step S400 to perform color gamut compression (expansion), while the extended table is selected. If it is determined that the color gamut expansion instruction has been input, it is determined in step S360. In this process, it is determined whether or not the user has input an instruction to permit execution of the color gamut expansion process based on the selected expansion table. If it is determined that there is an instruction input, the process proceeds to step S400 to perform color gamut compression (expansion). If it is determined that there is no instruction input, the process of step S400 is not performed and the color gamut is performed as it is. End the compression process.

(4)まとめ:
以上説明したように、実施形態にかかる色域圧縮装置では、予め記憶されている複数の領域(領域A〜領域D)と、入力された色成分の分布とを比較し、色成分の分布が全て包含されている領域に対応する圧縮テ−ブルまたは拡張テ−ブルに基づく色域圧縮(拡張)を行うように構成されているため、各色成分毎に演算により圧縮を行う場合と比較して擬似輪郭の発生を抑制することができるとともに、複雑の変換演算を行う必要がなく、偶発的なエラ−が発生してしまうことを防止することが可能となる。
(4) Summary:
As described above, in the color gamut compression device according to the embodiment, a plurality of areas (area A to area D) stored in advance are compared with the distribution of the input color components, and the distribution of the color components is determined. Since it is configured to perform color gamut compression (expansion) based on a compression table or an expansion table corresponding to all the included areas, compared with the case where compression is performed by calculation for each color component The generation of pseudo contours can be suppressed, and it is not necessary to perform complicated conversion calculations, and it is possible to prevent an accidental error from occurring.

コンピュータの構成図である。It is a block diagram of a computer. 色域圧縮装置の構成図である。It is a block diagram of a color gamut compression device. ROMに記憶されている複数の領域の一例を示す図である。It is a figure which shows an example of the some area | region memorize | stored in ROM. 圧縮テ−ブル、拡張テ−ブルの一例を示す図である。It is a figure which shows an example of a compression table and an expansion table. 圧縮テ−ブルによる圧縮態様を示す図である。It is a figure which shows the compression aspect by a compression table. 圧縮テ−ブルによる圧縮態様を示す図である。It is a figure which shows the compression aspect by a compression table. 拡張テ−ブルによる拡張態様を示す図である。It is a figure which shows the expansion aspect by an expansion table. 拡張テ−ブルによる拡張態様を示す図である。It is a figure which shows the expansion aspect by an expansion table. 色域圧縮処理の概略処理内容を示すフロ−チャ−トである。It is a flowchart showing the outline processing contents of color gamut compression processing. 図9に示したフロ−チャ−トのステップS300において呼び出されて実行されるテ−ブル選択処理の流れを示すフロ−チャ−トである。10 is a flowchart showing the flow of table selection processing that is called and executed in step S300 of the flowchart shown in FIG. 色域圧縮処理の別の一例を示すフロ−チャ−トである。10 is a flowchart showing another example of color gamut compression processing.

符号の説明Explanation of symbols

10…コンピュータ
11…CPU
12…バス
13…ROM
14…RAM
15…ディスクドライバ
15a…ハードディスク
15b…フレキシブルディスクドライブ
15b1…フレキシブルディスク
15c…CD−ROMドライブ
15c1…CD−ROM
16…プリンタドライバ
16a…カラープリンタ
17…シリアルIO
18…スキャナドライバ
18a…スキャナ
19…CRTドライバ
19a…CRT
50…色域圧縮装置
51…圧縮実行判定部
52…拡張部
54…圧縮部
60…制御部
61…入力系デバイス
62…出力系デバイス
70…変換色成分保持部
80…画像処理部
10 ... Computer 11 ... CPU
12 ... Bus 13 ... ROM
14 ... RAM
DESCRIPTION OF SYMBOLS 15 ... Disk driver 15a ... Hard disk 15b ... Flexible disk drive 15b1 ... Flexible disk 15c ... CD-ROM drive 15c1 ... CD-ROM
16 ... Printer driver 16a ... Color printer 17 ... Serial IO
18 ... Scanner driver 18a ... Scanner 19 ... CRT driver 19a ... CRT
DESCRIPTION OF SYMBOLS 50 ... Color gamut compression device 51 ... Compression execution determination part 52 ... Expansion part 54 ... Compression part 60 ... Control part 61 ... Input system device 62 ... Output system device 70 ... Conversion color component holding part 80 ... Image processing part

Claims (7)

出力系デバイスの色域境界外にある色成分を同出力系デバイスの色域境界または同色域境界内に圧縮する色域圧縮装置であって、
上記色成分を入力する色成分入力手段と、
上記色成分の圧縮態様を規定する圧縮テ−ブルを複数種類記憶する圧縮テ−ブル記憶手段と、
上記色成分入力手段にて入力された色成分の分布に応じて、上記圧縮テ−ブル記憶手段に記憶されている複数種類の圧縮テ−ブルのなかから、いずれかの圧縮テ−ブルを選択する選択手段と、
上記選択手段にて選択された圧縮テ−ブルに基づいて、上記色成分入力手段にて入力された色成分を圧縮する圧縮手段と
を具備することを特徴とする色域圧縮装置。
A color gamut compression device that compresses color components outside the color gamut boundary of the output system device into the color gamut boundary or the same color gamut boundary of the output system device,
Color component input means for inputting the color component;
Compression table storage means for storing a plurality of types of compression tables that define the compression mode of the color components;
According to the distribution of the color components input by the color component input means, one of the compression tables stored in the compression table storage means is selected. Selection means to
A color gamut compression apparatus comprising: compression means for compressing a color component input by the color component input means based on the compression table selected by the selection means.
所定の色空間における複数種類の領域を記憶する領域記憶手段を具備し、
上記圧縮テ−ブル記憶手段は、上記領域記憶手段に記憶されている各領域に対応する圧縮テ−ブルを記憶しており、
上記選択手段は、上記色成分入力手段にて入力された全色成分を包含する領域に対応する圧縮テ−ブルを選択することを特徴とする請求項1に記載の色域圧縮装置。
Comprising an area storage means for storing a plurality of types of areas in a predetermined color space;
The compression table storage means stores a compression table corresponding to each area stored in the area storage means,
2. The color gamut compression device according to claim 1, wherein the selection unit selects a compression table corresponding to a region including all color components input by the color component input unit.
上記選択手段は、上記色成分入力手段にて入力された全色成分を包含する領域が複数存在する場合に、最小の領域に対応する圧縮テ−ブルを選択することを特徴とする請求項2に記載の色域圧縮装置。   The selection means selects a compression table corresponding to a minimum area when there are a plurality of areas including all the color components input by the color component input means. The color gamut compression device described in 1. 上記領域記憶手段は、上記出力系デバイスの色域に包含される特定領域を記憶しており、
上記特定領域に対応し、上記色成分の拡張態様を規定する拡張テ−ブルを記憶する拡張テ−ブル記憶手段を具備し、
上記選択手段は、上記特定領域が上記色成分入力手段にて入力された全色成分を包含する場合には、同特定領域に対応する拡張テ−ブルを選択し、
上記圧縮手段は、上記選択手段により選択された拡張テ−ブルに基づいて、上記色成分入力手段にて入力された色成分を拡張することを特徴とする請求項2または3に記載の色域圧縮装置。
The area storage means stores a specific area included in the color gamut of the output device,
An extended table storage means for storing an extended table corresponding to the specific area and defining an extended form of the color component;
When the specific area includes all the color components input by the color component input means, the selecting means selects an extended table corresponding to the specific area,
4. The color gamut according to claim 2, wherein the compression unit expands the color component input by the color component input unit based on the extended table selected by the selection unit. Compression device.
上記選択された拡張テ−ブルに基づく色成分の拡張は、所定の操作を待って行われることを特徴とする請求項4に記載の色域圧縮装置。   5. The color gamut compression device according to claim 4, wherein the color component expansion based on the selected expansion table is performed after a predetermined operation. 出力系デバイスの色域境界外にある色成分を同出力系デバイスの色域境界または同色域境界内に圧縮する色域圧縮方法であって、
上記色成分を入力する色成分入力工程と、
上記色成分入力手段にて入力された色成分の分布に応じて、予め記憶されている上記色成分の圧縮態様を規定する複数種類の圧縮テ−ブルのなかから、いずれかの圧縮テ−ブルを選択する選択工程と、
上記選択工程にて選択された圧縮テ−ブルに基づいて、上記色成分入力工程にて入力された色成分を圧縮する圧縮工程と
を具備することを特徴とする色域圧縮方法。
A color gamut compression method that compresses a color component outside the color gamut boundary of an output device device into the color gamut boundary or the same color gamut boundary of the output device device,
A color component input step for inputting the color component;
According to the distribution of the color components input by the color component input means, any one of the compression tables out of a plurality of types of compression tables prescribing the compression mode of the color components stored in advance. A selection process for selecting
A color gamut compression method comprising: a compression step of compressing the color component input in the color component input step based on the compression table selected in the selection step.
出力系デバイスの色域境界外にある色成分を同出力系デバイスの色域境界または同色域境界内に圧縮する色域圧縮装置を、
上記色成分を入力する色成分入力手段、
上記色成分の圧縮態様を規定する圧縮テ−ブルを複数種類記憶する圧縮テ−ブル記憶手段、
上記色成分入力手段にて入力された色成分の分布に応じて、上記圧縮テ−ブル記憶手段に記憶されている複数種類の圧縮テ−ブルのなかから、いずれかの圧縮テ−ブルを選択する選択手段、および、
上記選択手段にて選択された圧縮テ−ブルに基づいて、上記色成分入力手段にて入力された色成分を圧縮する圧縮手段として機能させることを特徴とする色域圧縮処理プログラム。
A color gamut compression device that compresses color components outside the color gamut boundary of the output system device into the color gamut boundary or the same color gamut boundary of the output system device,
Color component input means for inputting the color component;
Compression table storage means for storing a plurality of types of compression tables for defining the color component compression mode;
According to the distribution of the color components input by the color component input means, one of the compression tables stored in the compression table storage means is selected. Selection means to perform, and
A color gamut compression processing program for causing a color component input by the color component input unit to function as a compression unit based on the compression table selected by the selection unit.
JP2005014468A 2005-01-21 2005-01-21 Color gamut compressor, compressing method and compression processing program Pending JP2006203675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005014468A JP2006203675A (en) 2005-01-21 2005-01-21 Color gamut compressor, compressing method and compression processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005014468A JP2006203675A (en) 2005-01-21 2005-01-21 Color gamut compressor, compressing method and compression processing program

Publications (1)

Publication Number Publication Date
JP2006203675A true JP2006203675A (en) 2006-08-03

Family

ID=36961262

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005014468A Pending JP2006203675A (en) 2005-01-21 2005-01-21 Color gamut compressor, compressing method and compression processing program

Country Status (1)

Country Link
JP (1) JP2006203675A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009147580A (en) * 2007-12-13 2009-07-02 Sony Corp Information processing device and method, program, and information processing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009147580A (en) * 2007-12-13 2009-07-02 Sony Corp Information processing device and method, program, and information processing system
JP4517308B2 (en) * 2007-12-13 2010-08-04 ソニー株式会社 Information processing apparatus and method, program, and information processing system
US8325200B2 (en) 2007-12-13 2012-12-04 Sony Corporation Information processing device and method, program, and information processing system

Similar Documents

Publication Publication Date Title
EP1156668B1 (en) Black generation for color management system
JP2006262238A (en) Image processing method, image processor and image processing program
JP2007144929A (en) Image processor, image processing method, and program product for allowing computer to function as image processor
JP2007336549A (en) Image forming apparatus and method
JP2010220075A (en) Image forming apparatus, image data processing method, and program
JP2006203675A (en) Color gamut compressor, compressing method and compression processing program
JP2007060151A (en) Color processing method and apparatus therefor
JP2008172436A (en) Image processing unit, method, and program
JPH0927915A (en) Image processing unit and method
JP2006203802A (en) Color gamut compressor, compressing method and compression processing program
JP5028241B2 (en) Color processing apparatus and color processing method
JP6822161B2 (en) Information processing device, overprint attribute change method and program
JP3833170B2 (en) Gray line setting method, image processing apparatus and image processing method
JP2007251619A (en) Apparatus, method and program for image processing
JP2003230020A (en) Image processor, printer, and image processing method
JP2006281445A (en) Printing data forming apparatus and printing data formation program
JP5849549B2 (en) Color processing apparatus and program
JP2004064111A (en) Color processing apparatus and method therefor
JP5257264B2 (en) Image forming apparatus, image data processing method, and control program
JP2018107649A (en) Image processing device and computer program
JP2006302165A (en) Image data supply device and image data supply method
JP2005065113A (en) Image processing which is performed by using lut
JP2005252633A (en) Boundary value setting method, image signal processing method, image signal processing apparatus, and printer
JP2007013377A (en) Image processing method, image processing device, and program
JP4027137B2 (en) Image processing method and image processing apparatus