JP2010114748A - Image processor, image processing method, program and recording medium - Google Patents

Image processor, image processing method, program and recording medium Download PDF

Info

Publication number
JP2010114748A
JP2010114748A JP2008286688A JP2008286688A JP2010114748A JP 2010114748 A JP2010114748 A JP 2010114748A JP 2008286688 A JP2008286688 A JP 2008286688A JP 2008286688 A JP2008286688 A JP 2008286688A JP 2010114748 A JP2010114748 A JP 2010114748A
Authority
JP
Japan
Prior art keywords
color
image data
image
attributes
attribute
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.)
Granted
Application number
JP2008286688A
Other languages
Japanese (ja)
Other versions
JP5158363B2 (en
Inventor
Keitoku Ito
敬徳 伊東
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008286688A priority Critical patent/JP5158363B2/en
Publication of JP2010114748A publication Critical patent/JP2010114748A/en
Application granted granted Critical
Publication of JP5158363B2 publication Critical patent/JP5158363B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To determine color to be reproduced by an image recording device considering three attributes of color of image data inputted from an image input device and three attributes at image data display on an image display device. <P>SOLUTION: A display color format converting portion 107 converts sYCC image data from an image storage device 101 into sRGB image data. A display color three-attribute calculating portion 108 calculates three color attributes (H1, L1, S1) based on the image data (sRGB), and an original image three-attribute color calculating portion 109 calculates the three attributes (H2, L2, S2) of color based on the image data (sYCC). A reproduced color three-attribute determining portion 110 weights and sums the three color attributes calculated by the calculating portions 108 and 109 for output, and a recording color gamut mapping portion 112 converts the three attributes of the inputted color into recording signals of an image recording device 104. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、画像データ記憶手段に記憶した画像データを処理して、画像を記録する画像データ記録手段に出力する画像処理装置、画像処理方法、プログラムおよび記録媒体に関する。   The present invention relates to an image processing apparatus, an image processing method, a program, and a recording medium that process image data stored in an image data storage unit and output the processed image data to an image data recording unit.

ディジタルスチルカメラ(以下”DSC”という)やカラースキャナなどの画像入力装置によって画像を入力し、その画像をCRTやLCDなどの画像表示装置に表示し、更に用途に応じて画像に編集、加工、修正などを施して画像表示装置において確認し、カラープリンタなどの画像記録装置で画像を記録する画像処理システムが、パーソナルコンピュータの普及等に伴って、容易に構築できるようになった。   An image is input by an image input device such as a digital still camera (hereinafter referred to as “DSC”) or a color scanner, and the image is displayed on an image display device such as a CRT or LCD. An image processing system for performing correction and confirming on an image display apparatus and recording an image with an image recording apparatus such as a color printer can be easily constructed with the spread of personal computers.

このような画像処理システムでは、各装置における画像データの色空間が異なっているので、標準的な色空間を経由させて画像データをやり取りし、色の整合を図っている。即ち、各装置の色空間と標準的な色空間との色変換をそれぞれの装置毎に用意して、これに基づいて、画像入力装置の画像データを標準的な色空間の画像データに変換し、更に、標準的な色空間の画像データを画像出力装置の色空間の画像データに変換することで、画像データの色を合わせている。   In such an image processing system, since the color space of the image data in each apparatus is different, image data is exchanged via a standard color space to achieve color matching. That is, color conversion between the color space of each device and the standard color space is prepared for each device, and based on this, the image data of the image input device is converted into image data of the standard color space. Furthermore, the color of the image data is matched by converting the image data of the standard color space into image data of the color space of the image output device.

この標準的な色空間としては、標準モニタ色空間であるsRGBが広く普及している。sRGB色空間では、モニタの3原色であるRGB(赤、緑、青)の色度点が定めてあって、各原色の輝度信号の大きさでその色を表現している。sRGBの普及は、各装置の色空間と標準的な色空間との色変換の提供を容易にすると共に、sRGBに準拠した画像表示装置も提供されるようになり、標準的な色空間との色変換を実施しなくても色合わせができるようになった。   As this standard color space, sRGB which is a standard monitor color space is widely used. In the sRGB color space, RGB (red, green, blue) chromaticity points which are the three primary colors of the monitor are defined, and the color is expressed by the magnitude of the luminance signal of each primary color. The spread of sRGB facilitates the provision of color conversion between the color space of each device and the standard color space, and also provides an image display device compliant with sRGB. Color matching is now possible without color conversion.

しかし、sRGB色空間で表現できる色域は各装置の色域を包含していない場合も多く、このため、これら装置の色域を十分に生かしきれないという問題が、別途発生した。例えば、DSCでは、DSC用画像ファイルフォーマット規格Exif(以下、”Exif”という)が定義されており、撮影して得られた画像データはsYCCと呼ばれる色空間のデータに変換して保存されことが多い。このsYCC色空間は、CIEXYZ(1931)表色系との関係が、以下のように定義されている。   However, the color gamuts that can be expressed in the sRGB color space often do not include the color gamuts of the respective devices. For this reason, another problem has arisen that the color gamuts of these devices cannot be fully utilized. For example, in DSC, the DSC image file format standard Exif (hereinafter referred to as “Exif”) is defined, and image data obtained by photographing can be converted into color space data called sYCC and stored. Many. In this sYCC color space, the relationship with the CIEXYZ (1931) color system is defined as follows.

始めに、CIEXYZを次のように線形sRGB値(Rs,Gs,Bs)に変換する。   First, CIEXYZ is converted into linear sRGB values (Rs, Gs, Bs) as follows.

Figure 2010114748
次に、線形sRGB値(Rs,Gs,Bs)を次のように非線形sRGB値(R,G,B)に変換する。
Figure 2010114748
Next, the linear sRGB values (Rs, Gs, Bs) are converted into nonlinear sRGB values (R, G, B) as follows.

Figure 2010114748
次に、非線形sRGB値(R,G,B)を次のようにsYCC値(Y,Cb,Cr)に変換する。
Figure 2010114748
Next, the nonlinear sRGB values (R, G, B) are converted into sYCC values (Y, Cb, Cr) as follows.

Figure 2010114748
また、sYCC値を8bitのデジタル値として取扱う場合には、更に、次のように変換する。
Figure 2010114748
Further, when the sYCC value is handled as an 8-bit digital value, it is further converted as follows.

dY=Y*255
dCb=Cb*255+128
dCr=Cb*255+128 (6)
但し、dY、dCb、dCrは、0〜255の範囲内にクリッピングする。
dY = Y * 255
dCb = Cb * 255 + 128
dCr = Cb * 255 + 128 (6)
However, dY, dCb, and dCr are clipped within a range of 0 to 255.

一方、sRGB色空間は、CIEXYZ(1931)表色系との関係が、以下のように定義されている。始めに、CIEXYZを(1)式に示したような線形sRGB値(Rs,Gs,Bs)に変換する。但し、線形sRGB値(Rs,Gs,Bs)は、0〜1の範囲内にクリッピングする。   On the other hand, the relationship between the sRGB color space and the CIEXYZ (1931) color system is defined as follows. First, CIEXYZ is converted into linear sRGB values (Rs, Gs, Bs) as shown in equation (1). However, the linear sRGB values (Rs, Gs, Bs) are clipped within the range of 0-1.

次に、クリッピングした線形sRGB値(Rs,Gs,Bs)を次のように非線形sRGB値(R’,G’,B’)に変換する。   Next, the clipped linear sRGB values (Rs, Gs, Bs) are converted into nonlinear sRGB values (R ′, G ′, B ′) as follows.

Figure 2010114748
また、sRGB値を8bitのデジタル値として取扱う場合には、更に、次のように変換する。
Figure 2010114748
Further, when the sRGB value is handled as an 8-bit digital value, it is further converted as follows.

dR=R’*255
dG=G’*255
dB=B’*255 (9)
従って、sYCCで表されているDSCの画像データを、標準的な色空間であるsRGBの画像データに変換する場合は、(6)式の逆方向変換⇒(5)式の逆方向変換⇒(2)乃至(4)式の逆方向変換⇒(1)逆方向変換によりCIEXYZに変換後、(1)式の順方向変換⇒クリッピング処理⇒(7)乃至(8)式の順方向変換⇒(9)式の順方向変換を実施することになる。そしてその際、クリッピング処理が実際に行なわれると、その色情報が正確に伝わらなくなってしまっていた。
dR = R '* 255
dG = G ′ * 255
dB = B ′ * 255 (9)
Therefore, when converting DSC image data represented by sYCC into sRGB image data, which is a standard color space, the reverse conversion of equation (6) ⇒ the reverse conversion of equation (5) ⇒ ( 2) to (4) reverse conversion → (1) After conversion to CIEXYZ by reverse conversion, (1) forward conversion → clipping processing → (7) to (8) forward conversion → ( 9) The forward conversion of the equation is performed. At that time, when the clipping process is actually performed, the color information is not accurately transmitted.

このような画像データは、sYCCの色域内でありながらsRGBの色域外であるものであるが、その中には画像記録装置の色域内のものもある。そのため、画像を記録する際に、画像入力装置の色域(この場合はsYCC)もしくは画像記録装置の色域を十分に生かしきれないという事が、問題となっていた。   Such image data is within the sYCC color gamut but outside the sRGB color gamut, and some of them are within the color gamut of the image recording apparatus. Therefore, when recording an image, the color gamut of the image input device (in this case, sYCC) or the color gamut of the image recording device cannot be fully utilized.

このため、特許文献1では、画像データを、画像表示装置には標準的な色空間であるsRGBに変換して出力し、画像記録装置には画像記録装置の色再現域を包含する拡張色空間に変換して出力するようにしている。また、特許文献2では、sRGBの色域外の画像データをsRGBに変換すると共に、その際の色の圧縮比を求め、sRGB値を画像記録装置の色空間に変換した後、その圧縮比に基づいて色域を拡大するようにしている。   For this reason, in Patent Document 1, image data is converted into sRGB which is a standard color space for an image display device and output, and the image recording device has an extended color space including the color reproduction range of the image recording device. Converted to output. Further, in Patent Document 2, image data outside the sRGB color gamut is converted into sRGB, the compression ratio of the color at that time is obtained, the sRGB value is converted into the color space of the image recording apparatus, and then based on the compression ratio. The color gamut is expanded.

特開2003−87587号公報JP 2003-87587 A 特許第4065482号公報Japanese Patent No. 4065482

しかし、前者の方法は、画像入力装置の画像データの色情報を正確に記録するのに適しているが、画像表示装置において確認した色との差が、標準的な色空間に変換した際にクリッピング処理が実施された時に大きくなって、思った色で記録されないという問題があった。また、後者の方法は、画像表示装置において確認した色との差を小さくすることができるが、画像入力装置の画像データが持つ色情報の中で、実質的に彩度方向の色情報を保存できるだけなので、画像入力装置の画像データが持つ色情報を、十分に生かせないという問題があった。   However, the former method is suitable for accurately recording the color information of the image data of the image input device, but when the difference from the color confirmed in the image display device is converted into a standard color space. There was a problem that when the clipping process was performed, it became large and it was not recorded with the desired color. In addition, the latter method can reduce the difference from the color confirmed in the image display device, but the color information in the saturation direction is substantially stored in the color information of the image data of the image input device. As much as possible, there is a problem that the color information of the image data of the image input device cannot be fully utilized.

本発明は上記した問題点に鑑みてなされたもので
本発明(請求項1)の目的は、画像入力装置の色域および画像記録装置の色域を十分に生かすことにあり、更に詳しくは、画像入力装置から入力された画像データが持つ色の3属性と、該画像データを画像表示装置に表示した際の色の3属性を考慮に入れて、画像記録装置で再現される色を決定することができる画像処理装置を実現することにある。
The present invention has been made in view of the above-described problems, and an object of the present invention (Claim 1) is to make full use of the color gamut of the image input device and the color gamut of the image recording device. The color reproduced by the image recording apparatus is determined in consideration of the three attributes of the color of the image data input from the image input apparatus and the three attributes of the color when the image data is displayed on the image display apparatus. An object of the present invention is to realize an image processing apparatus that can perform the above processing.

また、本発明(請求項2)の目的は、本発明の請求項1の改良に関わり、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴を、それぞれ保存した画像を記録することができる画像処理装置を実現することにある。   Further, the object of the present invention (Claim 2) relates to the improvement of Claim 1 of the present invention, and displays the color characteristics of the image data input from the image input apparatus and the image data on the image display apparatus. It is an object of the present invention to realize an image processing apparatus capable of recording an image in which each color characteristic is stored.

また、本発明(請求項3)の目的は、本発明の請求項2の改良に関わり、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴を、それぞれ一定の優先度で保存した画像を記録することができる画像処理装置を実現することにある。   The object of the present invention (Claim 3) relates to the improvement of Claim 2 of the present invention, and the color characteristics of the image data input from the image input apparatus and the image data are displayed on the image display apparatus. It is an object of the present invention to realize an image processing apparatus capable of recording an image in which the characteristics of each color are stored with a certain priority.

また、本発明(請求項4)の目的は、本発明の請求項1乃至3の改良に関わり、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴の優先度を設定することができる画像処理装置を実現することにある。   An object of the present invention (Claim 4) relates to the improvement of Claims 1 to 3 of the present invention, and is characterized by the color characteristics of the image data input from the image input apparatus and the image data in the image display apparatus. An object of the present invention is to realize an image processing apparatus capable of setting the priority of color features when displayed.

また、本発明(請求項5)の目的は、画像入力装置から入力された画像データが持つ色の3属性と、該画像データを画像表示装置に表示した際の色の3属性を考慮に入れて、画像記録装置で再現される色を決定することができる画像処理方法を実現することにある。   Another object of the present invention (Claim 5) is to take into account the three attributes of the color of the image data input from the image input device and the three attributes of the color when the image data is displayed on the image display device. An object of the present invention is to realize an image processing method capable of determining colors reproduced by an image recording apparatus.

また、本発明(請求項6)の目的は、本発明の請求項5の改良に関わり、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴を、それぞれ一定の優先度で保存した画像を記録することができる画像処理方法を実現することにある。   Further, the object of the present invention (Claim 6) relates to the improvement of Claim 5 of the present invention, and displays the color characteristics of the image data input from the image input apparatus and the image data on the image display apparatus. It is to realize an image processing method capable of recording an image in which the characteristics of the colors at that time are stored with a certain priority.

また、本発明(請求項7)の目的は、本発明の請求項5または6の改良に関わり、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴の優先度を設定することができる画像処理方法を実現することにある。   An object of the present invention (Claim 7) relates to the improvement of Claim 5 or 6 of the present invention, and is characterized by the color characteristics of the image data input from the image input apparatus and the image data in the image display apparatus. An object of the present invention is to realize an image processing method capable of setting the priority of color features when displayed.

また、本発明(請求項8)の目的は、画像処理装置を制御して、請求項5乃至7に記載された画像処理方法を実行する画像処理プログラムを実現することにある。   Another object of the present invention (Claim 8) is to realize an image processing program for controlling an image processing apparatus and executing the image processing method according to Claims 5 to 7.

また、本発明(請求項9)の目的は、請求項8に記載されたプログラムをコンピュータが読み取り可能に記録した記録媒体を実現することにある。   Another object of the present invention (Claim 9) is to realize a recording medium in which the computer program is recorded so as to be readable by the computer.

本発明は、輝度色差形式の画像データを記憶する画像データ記憶手段から出力された画像データを処理して、画像を記録する画像データ記録手段に出力する画像処理装置であって、前記画像データ記憶手段から出力された輝度色差形式の画像データを、画像表示装置に供給可能な3原色形式の画像データに変換するデータ形式変換手段と、前記出力された輝度色差形式の画像データが示す色の3属性と、前記変換された3原色形式の画像データが示す色の3属性とを抽出する3属性抽出手段と、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性に基づいて、再現すべき色の3属性を決定し、該決定した3属性の色を表す画像データを生成する画像データ生成手段と、前記生成した画像データを、画像データ記録手段に出力する画像データに変換する画像データ変換手段とを少なくとも有することを最も主要な特徴とする。   The present invention is an image processing apparatus that processes image data output from an image data storage unit that stores image data in luminance color difference format, and outputs the processed image data to an image data recording unit that records an image. Data format conversion means for converting the image data in the luminance color difference format output from the means into image data in the three primary colors format that can be supplied to the image display device; and three colors indicated by the output image data in the luminance color difference format Three attribute extracting means for extracting attributes and three attributes of the color indicated by the converted three primary color format image data; three attributes of the extracted luminance color difference format image data; and the extracted three primary color formats Image data generating means for determining three attributes of the color to be reproduced based on the three attributes of the color of the image data, and generating image data representing the determined three attribute colors, and the generated image The chromatography data, and the most important feature that at least and an image data converting means for converting the image data to be output to the image data recording means.

請求項1:輝度色差形式の画像データを記憶する画像データ記憶手段(101)から出力された画像データを処理して、画像を記録する画像データ記録手段(104)に出力する画像処理装置であって、前記画像データ記憶手段から出力された輝度色差形式の画像データを、画像表示装置に供給可能な3原色形式の画像データに変換するデータ形式変換手段(107)と、前記出力された輝度色差形式の画像データが示す色の3属性と、前記変換された3原色形式の画像データが示す色の3属性とを抽出する3属性抽出手段(108,109)と、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性に基づいて、再現すべき色の3属性を決定し、該決定した3属性の色を表す画像データを生成する画像データ生成手段(111)と、前記生成した画像データを、画像データ記録手段(104)に出力する画像データに変換する画像データ変換手段(112)とを少なくとも有することを特徴とする画像処理装置においては、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性に基づいて、再現すべき色の3属性を決定するので、画像入力装置(記憶手段)から入力された画像データが持つ色の3属性と、該画像データを画像表示装置に表示した際の色の3属性を考慮に入れて、画像記録装置で再現される色を決定することができる画像処理装置を実現することができた。   Claim 1: An image processing apparatus for processing image data output from an image data storage means (101) for storing image data in luminance color difference format and outputting the processed image data to an image data recording means (104) for recording an image. And a data format conversion means (107) for converting the image data in the luminance color difference format output from the image data storage means into image data in the three primary colors that can be supplied to the image display device, and the output luminance color difference. Three attribute extracting means (108, 109) for extracting three attributes of the color indicated by the image data of the format and three attributes of the color indicated by the converted image data of the three primary colors, and the extracted luminance color difference format Based on the three attributes of the color of the image data and the three attributes of the color of the extracted three-primary-color image data, the three attributes of the color to be reproduced are determined, and the image data representing the determined three-attribute color An image characterized by comprising at least image data generating means (111) for generating and image data converting means (112) for converting the generated image data into image data to be output to the image data recording means (104). In the processing apparatus, the three attributes of the color to be reproduced are determined based on the three attributes of the color of the extracted luminance color difference image data and the three attributes of the extracted image data of the three primary colors. Reproduced by the image recording device in consideration of the three color attributes of the image data input from the image input device (storage means) and the three color attributes when the image data is displayed on the image display device. An image processing apparatus capable of determining a color could be realized.

請求項2:前記画像データ生成手段は、前記抽出した輝度色差形式の画像データの色の3属性の少なくとも1つの属性と、前記抽出した3原色形式画像データの色の3属性の少なくとも1つの属性とを、少なくとも有する色の3属性を決定する(304,305,307,308)ことを特徴とする請求項1の画像処理装置においては、前記抽出した輝度色差形式の画像データの色の3属性の少なくとも1つの属性と、前記抽出した3原色形式の画像データの色の3属性の少なくとも1つの属性とを有する色の3属性を決定するので、画像入力装置(記憶手段)から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴を、それぞれ保存した画像を記録することができる画像処理装置を実現することができた。   According to a second aspect of the present invention, the image data generating means includes at least one attribute of three attributes of the extracted luminance color difference format image data and at least one attribute of the three attributes of the extracted three primary color format image data. In the image processing apparatus according to claim 1, the three attributes of the color of the extracted image data in the luminance color difference format are determined (304, 305, 307, 308). Since the three attributes of the color having at least one attribute of the image data and at least one attribute of the three attributes of the extracted three-primary-color image data are determined, the image input from the image input device (storage means) To realize an image processing apparatus capable of recording an image in which the color characteristics of data and the color characteristics when the image data is displayed on the image display apparatus are stored. It could be.

請求項3:前記画像データ生成手段は、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性の差をそれぞれ比較する3属性比較手段(401)と、前記比較した色の3属性の差に基づいて、再現すべき色の3属性として決定する3属性選択手段(402)とを少なくとも有することを特徴とする請求項2の画像処理装置においては、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性の差をそれぞれ比較する3属性比較手段(401)と、前記比較した色の3属性の差に基づいて、再現すべき色の3属性として決定する3属性選択手段(402)とを有しているので、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴を、それぞれ一定の優先度で保存した画像を記録することができる画像処理装置を実現することができた。   According to a third aspect of the present invention, the image data generating means compares the three attributes of the color of the extracted luminance color difference format image data with the difference of the three attributes of the color of the extracted three primary color format image data. 3. The image processing according to claim 2, further comprising: (401) and at least three attribute selection means (402) that determines the three attributes of the color to be reproduced based on the difference between the three attributes of the compared colors. In the apparatus, a three-attribute comparison means (401) for comparing a difference between three attributes of the color of the extracted luminance / color-difference image data and three attributes of the color of the extracted three-primary-color image data, and the comparison Since there is a three-attribute selection means (402) that determines the three attributes of the color to be reproduced based on the difference between the three attributes of the selected color, the color characteristics of the image data input from the image input device And the Color characteristics of the time of displaying the image data to the image display apparatus, it was possible to realize an image processing apparatus capable of recording an image, respectively stored at a constant priority.

請求項4:前記輝度色差形式の画像データが示す色と前記3原色形式の画像データが示す色の、色再現の優先度合いを設定する色再現設定手段(202または304〜305または509)を有し、前記画像データ生成手段は、前記設定された優先度合いに基づいて、再現すべき色の3属性を決定することを特徴とする請求項1乃至3の画像処理装置においては、前記輝度色差形式の画像データが示す色と前記3原色形式の画像データが示す色の、色再現の優先度合いを設定する色再現設定手段を有しているので、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴の優先度を設定することができる画像処理装置を実現することができた。   According to a fourth aspect of the present invention, there is provided color reproduction setting means (202 or 304 to 305 or 509) for setting a color reproduction priority between the color indicated by the luminance color difference image data and the color indicated by the three primary color image data. 4. The image processing apparatus according to claim 1, wherein the image data generation means determines three attributes of colors to be reproduced based on the set priority. Since the color reproduction setting means for setting the color reproduction priority between the color indicated by the image data and the color indicated by the image data of the three primary colors is provided, the color of the image data input from the image input device And an image processing apparatus capable of setting the priority of the color characteristics when the image data is displayed on the image display apparatus.

請求項5:画像を記録する画像データ記録手段に出力するため、輝度色差形式の画像データを記憶する画像データ記憶手段から取得した画像データを処理する画像処理方法であって、前記画像データ記憶手段から取得した輝度色差形式の画像データを、画像表示装置に供給可能な3原色形式の画像データに変換するデータ形式変換ステップ(602)と、前記取得した輝度色差形式の画像データが示す色の3属性と、前記変換された3原色形式の画像データが示す色の3属性とを抽出する3属性抽出ステップ(603,604)と、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性に基づいて、再現すべき色の3属性を決定し、該決定した3属性の色を表す画像データを生成する画像データ生成ステップ(605)と、前記生成した画像データを、画像データ記録手段に出力する画像データに変換する画像データ変換ステップ(606)とを少なくとも有することを特徴とする画像処理方法においては、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性に基づいて、再現すべき色の3属性を決定するので、画像入力装置(記憶手段)から入力された画像データが持つ色の3属性と、該画像データを画像表示装置に表示した際の色の3属性を考慮に入れて、画像記録装置で再現される色を決定することができる画像処理方法を実現することができた。   Claim 5: An image processing method for processing image data acquired from image data storage means for storing image data in luminance color difference format for output to an image data recording means for recording an image, wherein the image data storage means The data format conversion step (602) for converting the image data in the luminance color difference format acquired from the image data into the image data in the three primary colors that can be supplied to the image display device, and the color 3 indicated by the acquired image data in the luminance color difference format A three-attribute extraction step (603, 604) for extracting the attributes and the three attributes of the color indicated by the converted three-primary-color image data; the three attributes of the color of the extracted luminance-color-difference image data; An image for determining three attributes of the color to be reproduced based on the three attributes of the color of the extracted three-primary-color image data, and generating image data representing the determined three-attribute color In an image processing method comprising: at least a data generation step (605); and an image data conversion step (606) for converting the generated image data into image data to be output to an image data recording means. Since the three attributes of the color to be reproduced are determined based on the three attributes of the color of the extracted luminance color difference image data and the three attributes of the extracted three primary color image data, the image input device (stores The color reproduced by the image recording apparatus is determined in consideration of the three attributes of the color of the image data input from the means) and the three attributes of the color when the image data is displayed on the image display apparatus. It was possible to realize an image processing method capable of

請求項6:前記画像データ生成ステップは、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性の差をそれぞれ比較する3属性比較ステップ(801)と、前記比較した色の3属性の差に基づいて、再現すべき色の3属性として決定する3属性選択ステップ(803)とを少なくとも有することを特徴とする請求項5の画像処理方法においては、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性の差をそれぞれ比較する3属性比較ステップ(801)と、前記比較した色の3属性の差に基づいて、再現すべき色の3属性として決定する3属性選択ステップ(803)とを有しているので、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴を、それぞれ一定の優先度で保存した画像を記録することができる画像処理方法を実現することができた。   According to a sixth aspect of the present invention, in the image data generation step, a three-attribute comparison step of comparing a difference between three attributes of the extracted luminance / color-difference image data and three extracted attributes of the three-primary-color image data. 6. The image processing according to claim 5, further comprising: (801) and a three-attribute selection step (803) for determining the three attributes of the color to be reproduced based on the difference between the three attributes of the compared colors. In the method, a three-attribute comparison step (801) for comparing a difference between three attributes of color of the extracted luminance color difference image data and three attributes of colors of the extracted three primary color image data, and the comparison Image data input from the image input device, since there is a three attribute selection step (803) for determining the three attributes of the color to be reproduced based on the difference between the three attributes of the selected color. And features of the color with the color characteristics of the time of displaying the image data to the image display apparatus, it was possible to realize an image processing method capable of recording an image, respectively stored at a constant priority.

請求項7:前記輝度色差形式の画像データが示す色と前記3原色形式の画像データが示す色の、色再現の優先度合いを設定する色再現設定ステップ(701または802)を有し、前記画像データ生成ステップは、前記設定された優先度合いに基づいて、再現すべき色の3属性を決定することを特徴とする請求項5または6の画像処理方法においては、前記輝度色差形式の画像データが示す色と前記3原色形式の画像データが示す色の、色再現の優先度合いを設定する色再現設定ステップを有しているので、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴の優先度を設定することができる画像処理方法を実現することができた。   [7] A color reproduction setting step (701 or 802) for setting a priority level of color reproduction between the color indicated by the image data in the luminance color difference format and the color indicated by the image data in the three primary colors format, 7. The image processing method according to claim 5, wherein the data generation step determines three attributes of the color to be reproduced based on the set priority. Since there is a color reproduction setting step for setting the priority of color reproduction of the color indicated and the color indicated by the image data in the three primary colors, the color characteristics of the image data input from the image input device, An image processing method capable of setting the priority of color characteristics when the image data is displayed on the image display device can be realized.

請求項8:画像処理装置を制御して、請求項5乃至7に記載された画像処理方法を実行することを特徴とするプログラムにおいては、画像処理装置を制御して、請求項5乃至7に記載された画像処理方法を実行するので、画像処理装置を制御して、請求項5乃至7に記載された画像処理方法を実行することができるプログラムを実現することができた。   Claim 8: A program for controlling an image processing apparatus to execute the image processing method according to any one of claims 5 to 7, wherein the image processing apparatus is controlled to control the image processing apparatus according to claims 5 to 7. Since the described image processing method is executed, a program capable of controlling the image processing apparatus and executing the image processing method described in claims 5 to 7 can be realized.

請求項9:画像処理装置を制御して、請求項5乃至7に記載された画像処理方法を実行するプログラムをコンピュータが読み取り可能に記録したことを特徴とする記録媒体においては、請求項5乃至7に記載された画像処理方法を実行するプログラムをコンピュータが読み取り可能に記録したので、請求項5乃至7に記載された画像処理方法を実行するプログラムをコンピュータが読み取り可能に記録した記録媒体を実現することができた。   Claim 9: A recording medium in which a program for controlling the image processing apparatus to execute the image processing method according to claims 5 to 7 is recorded so as to be readable by a computer. Since the program for executing the image processing method according to claim 7 is recorded so as to be readable by the computer, a recording medium in which the program for executing the image processing method according to claims 5 to 7 is recorded so as to be readable by the computer is realized. We were able to.

以下、発明の実施の形態について図面により詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

実施例1
図1は、本発明の画像処理システムの構成を示す。図1において、101は画像記憶装置、102は画像処理装置、103は画像表示装置、104は画像記録装置である。画像記憶装置101は、風景や人物を撮影、あるいは原稿等を走査して、記憶し、画像データとして出力する装置であり、例えばデジタルスチルカメラ、カラースキャナなどが相当する。画像記憶装置101が出力する画像データには、画像記憶装置101が必要とする色域を表すのに十分な広さを持つ色空間が選ばれており、ここでは輝度−色差形式であるsYCC色空間が選ばれているものとする。ここで、sYCC色空間は、(5)式に示したようにsRGBをベースに、3×3マトリックスで変換して得られる輝度Yと2つの色差信号Cb、Crで構成される色空間で、色空間としてはsYCCの方が色域は広く、sRGBの色域の外側の色も表現することができる。
Example 1
FIG. 1 shows the configuration of an image processing system of the present invention. In FIG. 1, 101 is an image storage device, 102 is an image processing device, 103 is an image display device, and 104 is an image recording device. The image storage device 101 is a device that captures a landscape or a person, or scans and stores a document or the like, and outputs it as image data. For the image data output from the image storage device 101, a color space having a sufficient width to represent the color gamut required by the image storage device 101 is selected. Here, the sYCC color, which is a luminance-color difference format, is selected. It is assumed that a space is selected. Here, the sYCC color space is a color space composed of the luminance Y obtained by converting the 3 × 3 matrix based on sRGB and the two color difference signals Cb and Cr as shown in the equation (5). As the color space, sYCC has a wider color gamut, and colors outside the sRGB color gamut can also be expressed.

画像処理装置102は、画像処理システムの中核をなし、画像記憶装置101、画像表示装置103、画像記録装置104等の各装置間の、画像データのやり取りを仲介する役割等を果たしている。例えば、画像記憶装置101から出力された画像データは、画像処理装置102の表示色変換部105に入力され、表示色変換部105は、画像記憶装置101から入力された画像データを、画像表示装置用の3原色形式の画像データに変換して、画像表示装置103に出力する。画像表示装置103は、LCDやCRT等の方式により、入力された画像データを表示する装置であり、これにより、画像記憶装置101に記憶された画像データが表示される。尚、ここでは画像表示装置103が、標準モニタ色空間であるsRGBに準拠した特性を有しているものとする。   The image processing apparatus 102 is the core of the image processing system, and plays a role of mediating the exchange of image data among the devices such as the image storage device 101, the image display device 103, and the image recording device 104. For example, the image data output from the image storage device 101 is input to the display color conversion unit 105 of the image processing device 102, and the display color conversion unit 105 converts the image data input from the image storage device 101 into the image display device. Are converted into image data in the three primary colors format and output to the image display device 103. The image display device 103 is a device that displays input image data by a method such as an LCD or CRT, whereby the image data stored in the image storage device 101 is displayed. Here, it is assumed that the image display device 103 has characteristics conforming to sRGB, which is a standard monitor color space.

画像記憶装置101から出力された画像データは、画像処理装置102の記録色変換部106にも入力されており、記録色変換部106は、画像記憶装置101から入力された画像データを、画像記録装置用の画像データに変換して、画像記録装置104に出力する。画像記録装置104は、電子写真やインクジェット等の方式のプリンタなどが相当し、入力された画像データを記録紙等の記録媒体に記録して、ハードコピーとして出力する。これにより、画像記憶装置101に記憶された画像データが、記録紙上等に再現される。   The image data output from the image storage device 101 is also input to the recording color conversion unit 106 of the image processing device 102. The recording color conversion unit 106 converts the image data input from the image storage device 101 into an image recording unit. The image data is converted into device image data and output to the image recording device 104. The image recording apparatus 104 corresponds to a printer of an electrophotographic or ink jet system, and records input image data on a recording medium such as recording paper and outputs it as a hard copy. As a result, the image data stored in the image storage device 101 is reproduced on the recording paper.

ここで、記録色変換部106の内部に注目すると、表示色形式変換部107は、上述の表示色変換部105の動作を真似て、画像表示装置103への出力に相当する形式に画像データを変換する。即ち、画像表示装置103が標準モニタ色空間であるsRGBに準拠した特性を有しているものとし、表示色変換部105は画像記憶装置101から入力された画像データをsRGBの画像データに変換しているものとしているので、表示色形式変換部107は、上述した(6)式の逆方向変換⇒(5)式の逆方向変換⇒(2)乃至(4)式の逆方向変換⇒(1)逆方向変換によりCIEXYZに変換後、(1)式の順方向変換⇒クリッピング処理⇒(7)乃至(8)式の順方向変換⇒(9)式の順方向変換を実施して、画像記憶装置101から入力された画像データを変換する。   Here, paying attention to the inside of the recording color conversion unit 106, the display color format conversion unit 107 imitates the operation of the display color conversion unit 105 described above, and converts the image data into a format corresponding to the output to the image display device 103. Convert. That is, it is assumed that the image display device 103 has characteristics conforming to the standard monitor color space sRGB, and the display color conversion unit 105 converts the image data input from the image storage device 101 into sRGB image data. Therefore, the display color format conversion unit 107 converts the above-described reverse conversion of the expression (6) → the reverse conversion of the expression (5) → the reverse conversion of the expressions (2) to (4) → (1 ) After conversion to CIEXYZ by reverse direction conversion, forward conversion of equation (1) ⇒ clipping process ⇒ forward conversion of equations (7) to (8) ⇒ forward conversion of equation (9) The image data input from the apparatus 101 is converted.

また、表示色3属性算出部108は、表示色形式変換部107が変換した画像データに基づいて、画像表示装置103に表示される色の3属性を算出するブロックである。ここで、色の3属性とは、色相(Hue)、彩度(Saturation)、明度(Lightness)のことであり、色相は赤、青、緑のような色味の違いを、彩度は色の鮮やかさを、明度は色の明るさを表している。尚、ここでは色の3属性を、CIELABに基づいて算出するものとする。   The display color 3 attribute calculation unit 108 is a block that calculates 3 attributes of colors displayed on the image display device 103 based on the image data converted by the display color format conversion unit 107. Here, the three attributes of color are hue (Hue), saturation (Saturation), and lightness (Lightness). Hue is a color difference such as red, blue, and green, and saturation is color. The brightness represents the brightness of the color. Here, the three attributes of color are calculated based on CIELAB.

即ち、CIEXYZとCIELABとには、次のような関係があり、   That is, CIEXYZ and CIELAB have the following relationship:

Figure 2010114748
従って、表示色3属性算出部108は、(9)式の逆方向変換⇒(7)乃至(8)式の逆方向変換⇒(1)逆方向変換によりCIEXYZに変換後、(11)式の順方向変換⇒(12)式の順方向変換を実施して、表示色形式変換部107が変換した画像データから色の3属性を算出する。
Figure 2010114748
Accordingly, the display color 3 attribute calculation unit 108 converts the backward conversion of the expression (9) → the backward conversion of the expressions (7) to (8) → (1) after the conversion to CIEXYZ by the backward conversion, the expression (11) Forward direction conversion => (12) forward direction conversion is performed to calculate three color attributes from the image data converted by the display color format conversion unit 107.

一方、原画像色3属性算出部109は、原画像である画像記憶装置101から入力された画像データに基づいて、画像データが表す色の3属性を算出するブロックである。即ち、原画像色3属性算出部109は、上述した(6)式の逆方向変換⇒(5)式の逆方向変換⇒(2)乃至(4)式の逆方向変換⇒(1)逆方向変換によりCIEXYZに変換後、(11)式の順方向変換⇒(12)式の順方向変換を実施して、画像記憶装置101から入力された画像データが表す色の3属性を算出する。   On the other hand, the original image color 3 attribute calculation unit 109 is a block that calculates three attributes of the color represented by the image data based on the image data input from the image storage device 101 that is the original image. That is, the original image color 3 attribute calculation unit 109 performs the above-described reverse conversion of the expression (6) → the reverse conversion of the expression (5) → the reverse conversion of the expressions (2) to (4) → (1) the reverse direction. After conversion into CIEXYZ by conversion, the forward conversion of the expression (11) → the forward conversion of the expression (12) is performed to calculate three attributes of the color represented by the image data input from the image storage device 101.

再現色3属性決定部110は、表示色3属性算出部108および原画像色3属性算出部109が算出した色の3属性に基づいて、画像記録装置104で再現すべき色の3属性を決定するブロックである。ここでは、画像表示装置103に表示される画像の色を忠実に再現する場合には、表示色3属性算出部108が算出した色の3属性を画像記録装置104で再現すべき色の3属性として決定し、原画像、即ち、画像記憶装置101から入力された画像データを忠実に再現する場合には、原画像色3属性算出部109が算出した色の3属性を画像記録装置104で再現すべき色の3属性として決定することができる。尚、この場合、前者は、画像表示装置103に表示された内容が画像記録装置104で記録されるので、確認した内容との差が認識されないという利点を有する反面、sRGBに変換する際に行なうクリッピングによって原画像が持つ色域を十分に生かせないという問題が発生してしまう。一方、後者の場合は、原画像が持つ色域を十分に生かすことができるものの、画像表示装置103に表示された内容と異なる記録が画像記録装置104でなされることになるので、確認した内容を生かすことができないという問題が発生する。このため、本発明では、これらとは異なる色再現のモードを提供する。即ち、このモードでは、表示色3属性算出部108および原画像色3属性算出部109が算出した色の3属性に基づいて、画像記録装置104で再現すべき色の3属性を決定し、これにより、原画が持つ色域を十分に生かすと共に、画像表示装置103で確認した内容を生かすことができるようにする。   The reproduction color 3 attribute determination unit 110 determines the three attributes of the color to be reproduced by the image recording apparatus 104 based on the three attributes of the colors calculated by the display color 3 attribute calculation unit 108 and the original image color 3 attribute calculation unit 109. It is a block to do. Here, when faithfully reproducing the color of the image displayed on the image display device 103, the three attributes of the color calculated by the display color three attribute calculation unit 108 are the three attributes of the color to be reproduced by the image recording device 104. When the original image, that is, the image data input from the image storage device 101 is faithfully reproduced, the three attributes of the color calculated by the original image color three attribute calculation unit 109 are reproduced by the image recording device 104. It can be determined as three attributes of the color to be used. In this case, the former has the advantage that the content displayed on the image display device 103 is recorded by the image recording device 104, so that the difference from the confirmed content is not recognized, but it is performed when converting to sRGB. Due to clipping, the problem arises that the color gamut of the original image cannot be fully utilized. On the other hand, in the latter case, although the color gamut of the original image can be fully utilized, recording different from the content displayed on the image display device 103 is performed by the image recording device 104. The problem of not being able to make the most of it. For this reason, the present invention provides a color reproduction mode different from these. That is, in this mode, the three attributes of the color to be reproduced by the image recording device 104 are determined based on the three attributes of the colors calculated by the display color three attribute calculation unit 108 and the original image color three attribute calculation unit 109. Thus, the color gamut of the original image can be fully utilized, and the contents confirmed by the image display device 103 can be utilized.

このような、再現色3属性決定部110の詳細な一例を図2に示す。図2を参照すると、再現色3属性決定部110には、上述した表示色3属性算出部108および原画像色3属性算出部109が算出した色の3属性の他に、再現色3属性決定部110の色再現モードを制御するモード制御信号201が入力されている。   A detailed example of such a reproduction color 3 attribute determination unit 110 is shown in FIG. Referring to FIG. 2, the reproduction color 3 attribute determination unit 110 determines the reproduction color 3 attribute determination in addition to the three attributes of the colors calculated by the display color 3 attribute calculation unit 108 and the original image color 3 attribute calculation unit 109 described above. A mode control signal 201 for controlling the color reproduction mode of the unit 110 is input.

モード制御信号201は0〜1の値αをとる信号であり、例えば図示しない画像処理システムの操作パネル上のスライド・スイッチ202等で予め設定され、信号値として入力されるものである。   The mode control signal 201 is a signal that takes a value α of 0 to 1. For example, the mode control signal 201 is set in advance by a slide switch 202 or the like on an operation panel of an image processing system (not shown) and is input as a signal value.

図2の再現色3属性決定部110は、6つの乗算器203〜208と3つの加算器209〜211を有しており、モード制御信号201に応じて、表示色3属性算出部108および原画像色3属性算出部109が算出した色の3属性を重み付け加算して出力する。即ち、表示色3属性算出部108から出力された色の3属性(L*1,H*1,S*1)にはモード制御信号201の値αが、原画像色3属性算出部109が算出した色の3属性(L*2,H*2,S*2)には値αの1の補数(1−α)を計算する補数計算機212の出力が、乗算器203〜208により乗算され、その出力を色の3属性毎に加算器209〜211により加算する。   The reproduction color 3 attribute determination unit 110 in FIG. 2 includes six multipliers 203 to 208 and three adders 209 to 211, and the display color 3 attribute calculation unit 108 and the original color according to the mode control signal 201. The three color attributes calculated by the image color three attribute calculation unit 109 are weighted and output. That is, the value α of the mode control signal 201 is set to the three attributes (L * 1, H * 1, S * 1) of the color output from the display color 3 attribute calculation unit 108, and the original image color 3 attribute calculation unit 109 The three attributes (L * 2, H * 2, S * 2) of the calculated color are multiplied by the outputs of the complement calculator 212 for calculating the one's complement (1-α) of the value α by the multipliers 203 to 208. The adders 209 to 211 add the outputs for each of the three color attributes.

Figure 2010114748
これにより、原画が持つ色域を十分に生かすと共に、画像表示装置103で確認した内容を生かすこともできる。また、本実施例によれば、スライド・スイッチ202等により、重み付け加算の重みαを制御することができるので、原画が持つ色域や画像表示装置103で確認した内容を任意の重みで生かすことができる。
Figure 2010114748
This makes it possible to make full use of the color gamut of the original image and to make use of the contents confirmed by the image display device 103. Further, according to the present embodiment, the weight α for weighted addition can be controlled by the slide switch 202 or the like, so that the color gamut of the original image and the content confirmed by the image display device 103 can be utilized with an arbitrary weight. Can do.

再度、図1を参照すると、再現色3属性決定部110が決定した色の3属性は、記録色域マッピング部112に送られる。記録色域マッピング部112は、入力された色の3属性に応じて、対応する色を記録するための画像記録装置104の記録信号を生成し、画像記録装置104に出力するブロックである。即ち、記録色域マッピング部112には、色の3属性と画像記録装置104の記録信号との対応が記載された色域マッピングテーブルが予め用意されており、記録色域マッピング部112は該色域マッピングテーブルを参照して、入力された色の3属性を、画像記録装置104の記録信号に変換する。   Referring again to FIG. 1, the three attributes of the color determined by the reproduction color three attribute determination unit 110 are sent to the recording color gamut mapping unit 112. The recording color gamut mapping unit 112 is a block that generates a recording signal of the image recording apparatus 104 for recording the corresponding color according to the three attributes of the input color and outputs the recording signal to the image recording apparatus 104. That is, the recording color gamut mapping unit 112 is prepared in advance with a color gamut mapping table in which the correspondence between the three attributes of colors and the recording signals of the image recording apparatus 104 is described. With reference to the area mapping table, the three attributes of the input color are converted into a recording signal of the image recording apparatus 104.

また、画像処理制御部113は、画像処理装置102の各部の動作を制御すると共に、画像記憶装置101、画像表示装置103及び画像記録装置104と通信を行なって、画像処理システム全体としての動作も制御しており、例えば、CPU(中央演算装置)、ROM(リード・オンリー・メモリ)、RAM(ランダム・アクセス・メモリ)、I/O(入出力インターフェース)等で構成されたマイクロ・コンピュータ・システムで実現されている。   In addition, the image processing control unit 113 controls the operation of each unit of the image processing apparatus 102 and communicates with the image storage apparatus 101, the image display apparatus 103, and the image recording apparatus 104 to perform operations as the entire image processing system. For example, a microcomputer system comprising a CPU (Central Processing Unit), ROM (Read Only Memory), RAM (Random Access Memory), I / O (I / O Interface), etc. It is realized with.

実施例2
以上の実施例1では、再現色3属性決定部110が、表示色3属性算出部108および原画像色3属性算出部109が算出した色の3属性を重み付け加算して、画像記録装置104で再現すべき色の3属性を決定したが、本発明は、表示色3属性算出部108および原画像色3属性算出部109が算出した色の3属性に基づいて、画像記録装置104で再現すべき色の3属性を決定すれば、これに限るものではない。
Example 2
In the first embodiment described above, the reproduction color 3 attribute determination unit 110 weights and adds the 3 attributes of the colors calculated by the display color 3 attribute calculation unit 108 and the original image color 3 attribute calculation unit 109, and the image recording apparatus 104 Although the three attributes of the color to be reproduced are determined, the present invention reproduces the image recording apparatus 104 based on the three attributes of the color calculated by the display color three attribute calculation unit 108 and the original image color three attribute calculation unit 109. If the three attributes of the power color are determined, the present invention is not limited to this.

以下では、別の方法で決定する再現色3属性決定部110の一例を、図3に示す。図3を参照すると、再現色3属性決定部110には、上述した表示色3属性算出部108および原画像色3属性算出部109が算出した色の3属性の他に、色の3属性の選択を制御する選択制御信号301〜303が入力されている。   In the following, an example of the reproduction color 3 attribute determination unit 110 determined by another method is shown in FIG. Referring to FIG. 3, the reproduction color 3 attribute determination unit 110 includes the color 3 attributes calculated by the display color 3 attribute calculation unit 108 and the original image color 3 attribute calculation unit 109 described above. Selection control signals 301 to 303 for controlling selection are input.

選択制御信号301〜303は0/1の値をとる信号であり、例えば図示しない画像処理システムの操作パネル上の設定スイッチ304〜306等で予め設定され、信号値として入力されるものである。   The selection control signals 301 to 303 are signals that take a value of 0/1. For example, the selection control signals 301 to 303 are set in advance by setting switches 304 to 306 on the operation panel of the image processing system (not shown) and are input as signal values.

図3の再現色3属性決定部110は3つのセレクタ307〜309を有しており、セレクタ307〜309は、それぞれに入力されている表示色3属性算出部108および原画像色3属性算出部109が算出した色の3属性を、選択制御信号301〜303に応じて選択して、再現すべき色の3属性として出力する。   The reproduction color 3 attribute determination unit 110 in FIG. 3 includes three selectors 307 to 309, and the selectors 307 to 309 respectively include the display color 3 attribute calculation unit 108 and the original image color 3 attribute calculation unit that are input to each. The three attributes of the color calculated by 109 are selected according to the selection control signals 301 to 303 and output as the three attributes of the color to be reproduced.

ここで、設定スイッチ304と305は連動して設定される構造になっており、選択制御信号301と302は常に、同じ値をとる。一方、セレクタ307と308に入力される表示色3属性算出部108の色の3属性と原画像色3属性算出部109の色の3属性は、入力位置が入れ替わっている。このため、セレクタ307が表示色3属性算出部108の色の3属性を選択している場合は、セレクタ308が原画像色3属性算出部109の色の3属性を選択し、セレクタ307が原画像色3属性算出部109の色の3属性を選択している場合は、セレクタ308が表示色3属性算出部108の色の3属性を選択する状態となる。尚、設定スイッチ306は独立して設定される構造になっている。このため、セレクタ309が選択する色の3属性は、自由に選ぶことができる。   Here, the setting switches 304 and 305 are structured to be set in conjunction with each other, and the selection control signals 301 and 302 always take the same value. On the other hand, the input positions of the three color attributes of the display color three attribute calculation unit 108 and the three colors of the original image color three attribute calculation unit 109 input to the selectors 307 and 308 are interchanged. Therefore, when the selector 307 selects the three attributes of the color of the display color three attribute calculator 108, the selector 308 selects the three attributes of the color of the original image color three attribute calculator 109, and the selector 307 selects the original attribute. When the three color attributes of the image color three attribute calculating unit 109 are selected, the selector 308 is in a state of selecting the three color attributes of the display color three attribute calculating unit 108. The setting switch 306 is configured to be set independently. Therefore, the three attributes of the color selected by the selector 309 can be freely selected.

以上のように本実施例によれば、表示色3属性算出部108が算出した色の3属性の少なくとも1つの属性と、原画像色3属性算出部109が算出した色の3属性の少なくとも1つの属性とに基づいて、画像記録装置104で再現すべき色の3属性を決定するので、例えば、原画像の色相は忠実に再現する、表示画像の色相は忠実に再現する、あるいは、原画像の明度は忠実に再現する等々、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴を、それぞれ保存した画像を記録することができる。また、本実施例によれば、画像記憶装置が出力する画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴の優先度を、設定スイッチ304〜306等により任意に設定することができる。   As described above, according to this embodiment, at least one of the three attributes of the color calculated by the display color 3 attribute calculation unit 108 and at least one of the three attributes of the color calculated by the original image color 3 attribute calculation unit 109 are described. Since the three attributes of colors to be reproduced by the image recording apparatus 104 are determined based on the two attributes, for example, the hue of the original image is faithfully reproduced, the hue of the display image is faithfully reproduced, or the original image For example, the color characteristics of the image data input from the image input device and the color characteristics when the image data is displayed on the image display device are recorded. Can do. In addition, according to the present embodiment, the color switches included in the image data output from the image storage device, and the priority of the color features when the image data is displayed on the image display device, the setting switches 304 to 306, etc. Can be set arbitrarily.

実施例3
図4(a)は、別の再現色3属性決定部110の一例を示す。図4(a)を参照すると、再現色3属性決定部110は、上述した表示色3属性算出部108および原画像色3属性算出部109が算出した色の3属性の差を比較する3属性比較部401と、3属性比較部401の比較結果に基づいて選択すべき色の3属性を決定する3属性選択決定部402と、3属性選択決定部402の決定に従って色の3属性を選択する3つのセレクタ406〜408を有している。
Example 3
FIG. 4A shows an example of another reproduction color 3 attribute determination unit 110. Referring to FIG. 4A, the reproduction color 3 attribute determination unit 110 compares the three attributes of the three colors calculated by the display color 3 attribute calculation unit 108 and the original image color 3 attribute calculation unit 109 described above. Based on the comparison result of the comparison unit 401 and the three-attribute comparison unit 401, the three-attribute selection determination unit 402 that determines the three attributes of the color to be selected, and the three attributes of the color are selected according to the determination of the three-attribute selection determination unit 402 Three selectors 406 to 408 are provided.

ここで、3属性比較部401の詳細例を図5に示す。図5を参照すると、3属性比較部401は、表示色3属性算出部108および原画像色3属性算出部109が算出した色の3属性(明度L*、色相H*、彩度S*)のそれぞれの差分を算出するための減算器501〜503を有する。尚、色相の差は色相の角度ではなく、円弧上の距離に換算して差分を求めるため、乗算器504、505により色相H*と彩度S*の積を求めてから差分の算出を行なっている。   Here, a detailed example of the three-attribute comparison unit 401 is shown in FIG. Referring to FIG. 5, the three attribute comparison unit 401 includes three attributes (lightness L *, hue H *, and saturation S *) of the colors calculated by the display color three attribute calculation unit 108 and the original image color three attribute calculation unit 109. Subtracters 501 to 503 for calculating the respective differences. Since the difference in hue is not the hue angle but is converted into a distance on an arc, the difference is obtained, and the difference is calculated after obtaining the product of hue H * and saturation S * by the multipliers 504 and 505. ing.

減算器501〜503から出力される色の3属性の差は、絶対値化部506に入力され、ここで差の絶対値に変換される。更に、絶対値化部506で変換された色の3属性の差の絶対値は、大小比較部507に入力され、絶対値の大きさが比較される。即ち、色の3属性である明度、色相、彩度の差の絶対値の中で、どのような順で、クリッピングによる影響を受けるかが検出され、その結果が3属性選択決定部402へ出力される。   The difference between the three attributes of the colors output from the subtracters 501 to 503 is input to the absolute value conversion unit 506, where it is converted into an absolute value of the difference. Further, the absolute value of the difference between the three attributes of the color converted by the absolute value converting unit 506 is input to the magnitude comparing unit 507, and the magnitudes of the absolute values are compared. That is, in the order of the absolute values of the differences in lightness, hue, and saturation that are the three attributes of the color, it is detected in which order the influence of clipping is detected, and the result is output to the three-attribute selection determining unit 402 Is done.

再度、図4(a)を参照すると、3属性選択決定部402には、上述した3属性比較部401の出力の他に、色の3属性の選択を制御する選択制御信号409が入力されている。ここで、選択制御信号409は、原画像の再現を比較的優先するか、表示画像の再現を比較的優先するか指示する信号で、例えば図示しない画像処理システムの操作パネル上の設定スイッチ410等で予め設定され、信号値として入力されるものである。即ち、3属性選択決定部402は、原画像の再現を比較的優先するという設定がなされた場合、明度、色相、彩度の差の絶対値の中で、最も大きい属性は、原画像色3属性算出部109が算出した色の3属性から選ぶような選択信号403〜405を出力する。また2番目乃至3番目に大きい属性は、表示色3属性算出部108が算出した色の3属性から選ぶような選択信号403〜405を出力する。これにより、画像表示装置103で確認した内容を生かしながら、原画像の再現を優先した画像を記録することができる。一方、表示画像の再現を比較的優先するという設定がなされた場合、明度、色相、彩度の差の絶対値の中で、最も大きい属性は、表示色3属性算出部108が算出した色の3属性から選ぶような選択信号403〜405を出力し、2番目乃至3番目に大きい属性は、原画像色3属性算出部109が算出した色の3属性から選ぶような選択信号403〜405を出力する。これにより、原画像の持つ色情報を生かしながら、表示画像の再現を優先した画像を記録することができる。   Referring to FIG. 4A again, in addition to the output of the above-described three-attribute comparison unit 401, a selection control signal 409 for controlling the selection of the three attributes of colors is input to the three-attribute selection determination unit 402. Yes. Here, the selection control signal 409 is a signal for instructing whether to give priority to reproduction of the original image or to give priority to reproduction of the display image. For example, the setting switch 410 on the operation panel of the image processing system (not shown) or the like. Are preset and input as signal values. That is, when the setting is made such that the reproduction of the original image is relatively prioritized, the three attribute selection / determination unit 402 has the largest attribute among the absolute values of the differences in brightness, hue, and saturation as the original image color 3 Selection signals 403 to 405 that are selected from the three attributes of the color calculated by the attribute calculation unit 109 are output. For the second to third largest attributes, selection signals 403 to 405 are selected so as to be selected from the three attributes of the color calculated by the display color three attribute calculation unit 108. As a result, it is possible to record an image giving priority to reproduction of the original image while making use of the contents confirmed by the image display device 103. On the other hand, when the setting is made to give priority to reproduction of the display image, the largest attribute among the absolute values of the differences in brightness, hue, and saturation is the color calculated by the display color 3 attribute calculation unit 108. Selection signals 403 to 405 that can be selected from the three attributes are output, and selection signals 403 to 405 that are selected from the three attributes of the colors calculated by the original image color three attribute calculation unit 109 are selected as the second to third largest attributes. Output. Thereby, it is possible to record an image giving priority to reproduction of the display image while making use of the color information of the original image.

選択制御信号409および3属性比較部401の比較結果と、選択する色の3属性の関係の一例を図4(b)に示す。図4(b)は、2番目に大きい属性を非優先の3属性から選ぶ例を示しており、この場合は3番目に大きい属性は、どちらから選んでも良いのだが、図4(b)は優先の3属性から選ぶ例を示した。   An example of the relationship between the comparison result of the selection control signal 409 and the three-attribute comparison unit 401 and the three attributes of the color to be selected is shown in FIG. FIG. 4B shows an example in which the second largest attribute is selected from three non-priority attributes. In this case, the third largest attribute may be selected from either one, but FIG. An example of selecting from three priority attributes was shown.

以上のように、本実施例によれば、表示色3属性算出部108が算出した色の3属性と、原画像色3属性算出部109が算出した色の3属性との差を比較する3属性比較手段401と、3属性比較部401の比較結果に基づいて選択すべき色の3属性を決定する3属性選択決定部402と、3属性選択決定部402の決定に従って色の3属性を選択する3つのセレクタ406〜408を有しているので、原画像の再現を比較的優先するか、表示画像の再現を比較的優先するかに応じて、画像記録装置104で再現すべき色の3属性を決定することができる。また、本実施例によれば、画像記憶装置が出力する画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴の優先度を、設定スイッチ410等により任意に設定することができる。   As described above, according to the present embodiment, the difference between the three attributes of the color calculated by the display color three attribute calculation unit 108 and the three attributes of the color calculated by the original image color three attribute calculation unit 109 is compared. Based on the comparison result of the attribute comparison unit 401, the three attribute comparison unit 401, the three attribute selection determination unit 402 that determines the three attributes of the color to be selected, and the three attributes of the color are selected according to the determination of the three attribute selection determination unit 402 Since the three selectors 406 to 408 are provided, the color 3 to be reproduced by the image recording apparatus 104 is determined according to whether the reproduction of the original image is relatively prioritized or the reproduction of the display image is relatively prioritized. Attributes can be determined. Further, according to the present embodiment, the color feature of the image data output from the image storage device and the priority of the color feature when the image data is displayed on the image display device can be arbitrarily set by the setting switch 410 or the like. Can be set to

尚、本発明は、図1に示したような複数の機器から構成されるシステムに適用しても、一つの機器からなる装置(例えば、ダイレクト・プリンタなど)に適用しても良い。   Note that the present invention may be applied to a system composed of a plurality of devices as shown in FIG. 1 or to an apparatus composed of a single device (for example, a direct printer).

実施例4
また、以上では図1に示したような処理ブロックを有する画像処理装置として本発明を説明したが、本発明の目的は、前述した実施例の機能を有する画像処理方法として達成しても良い。
Example 4
Although the present invention has been described above as an image processing apparatus having processing blocks as shown in FIG. 1, the object of the present invention may be achieved as an image processing method having the functions of the above-described embodiments.

図6は、図1に示した記録色変換部106と同等の機能を有する画像処理方法の処理フローチャートを示す。始めに、画像記憶装置等に記憶されたsYCC画像データを取得する画像データ取得ステップ601を行なう。   FIG. 6 shows a processing flowchart of an image processing method having a function equivalent to that of the recording color conversion unit 106 shown in FIG. First, an image data acquisition step 601 for acquiring sYCC image data stored in an image storage device or the like is performed.

次に、画像表示装置への出力に相当する形式に画像データ取得ステップ601で取得した画像データを変換する表示色形式変換ステップ602を行なう。即ち、上述した(6)式の逆方向変換⇒(5)式の逆方向変換⇒(2)乃至(4)式の逆方向変換⇒(1)逆方向変換によりCIEXYZに変換後、(1)式の順方向変換⇒クリッピング処理⇒(7)乃至(8)式の順方向変換⇒(9)式の順方向変換を実施して、輝度−色差形式のsYCC画像データを、3原色形式のsRGB画像データに変換する。   Next, a display color format conversion step 602 for converting the image data acquired in the image data acquisition step 601 into a format corresponding to the output to the image display device is performed. That is, the above-described reverse conversion of the expression (6) → the reverse conversion of the expression (5) → the reverse conversion of the expressions (2) to (4) → (1) After conversion to CIEXYZ by the reverse conversion, (1) Formula forward conversion ⇒ Clipping processing ⇒ Forward conversion of formulas (7) to (8) ⇒ Forward conversion of formula (9) is performed to convert sYCC image data in luminance-color difference format into sRGB in three primary colors format Convert to image data.

次に、表示色形式変換ステップ602で変換した画像データに基づいて、画像表示装置に表示される色の3属性を算出する表示色3属性算出ステップ603を行なう。即ち、上述した、(9)式の逆方向変換⇒(7)乃至(8)式の逆方向変換⇒(1)逆方向変換によりCIEXYZに変換後、(11)式の順方向変換⇒(12)式の順方向変換を実施して、表示色形式変換ステップ602で変換した画像データから色の3属性を算出する。   Next, based on the image data converted in the display color format conversion step 602, a display color 3 attribute calculation step 603 for calculating three attributes of colors displayed on the image display device is performed. That is, the above-described reverse conversion of equation (9) ⇒ reverse conversion of equations (7) to (8) ⇒ (1) conversion to CIEXYZ by reverse conversion, then forward conversion of equation (11) ⇒ (12 ) Formula is converted in the forward direction, and three color attributes are calculated from the image data converted in the display color format conversion step 602.

また、これに並行して、画像データ取得ステップ601で取得した画像データに基づいて、画像データが表す色の3属性を算出する原画像色3属性算出ステップ604も行う。即ち、上述した(6)式の逆方向変換⇒(5)式の逆方向変換⇒(2)乃至(4)式の逆方向変換⇒(1)逆方向変換によりCIEXYZに変換後、(11)式の順方向変換⇒(12)式の順方向変換を実施して、画像データ取得ステップ601で取得した画像データが表す色の3属性を算出する。   In parallel with this, an original image color 3 attribute calculation step 604 for calculating 3 attributes of the color represented by the image data based on the image data acquired in the image data acquisition step 601 is also performed. That is, the above-described reverse conversion of the expression (6) → the reverse conversion of the expression (5) → the reverse conversion of the expressions (2) to (4) → (1) after conversion to CIEXYZ by the reverse conversion, (11) Forward conversion of formula ⇒ Perform forward conversion of formula (12) to calculate three attributes of the color represented by the image data acquired in the image data acquisition step 601.

次に、表示色3属性算出ステップ603および原画像色3属性算出ステップ604で算出した色の3属性に基づいて、画像記録装置で再現すべき色の3属性を決定する再現色3属性決定ステップ605を行なう。即ち、ここでは、表示色3属性算出ステップ603および原画像色3属性算出ステップ604が算出した色の3属性に基づいて、画像記録装置で再現すべき色の3属性を決定し、これにより、原画が持つ色域を十分に生かすと共に、画像表示装置で確認した内容を生かすことができるようにする。   Next, a reproduction color 3 attribute determination step for determining three attributes of the color to be reproduced by the image recording apparatus based on the three attributes of the colors calculated in the display color 3 attribute calculation step 603 and the original image color 3 attribute calculation step 604. 605 is performed. That is, here, based on the three attributes of the colors calculated by the display color three attribute calculation step 603 and the original image color three attribute calculation step 604, the three attributes of the color to be reproduced by the image recording apparatus are determined. The color gamut of the original image is fully utilized, and the contents confirmed by the image display device can be utilized.

図7は、再現色3属性決定ステップ605の詳細な処理フローチャートの一例を示す。図7を参照すると、再現色3属性決定ステップ605は、始めに、色再現モードを制御するモード制御信号を取得するモード制御信号取得ステップ701を実施する。モード制御信号は上述したように0〜1の値αをとる信号であり、例えば上述したようなスライド・スイッチ202等で予め設定されている。   FIG. 7 shows an example of a detailed processing flowchart of the reproduction color 3 attribute determination step 605. Referring to FIG. 7, the reproduction color 3 attribute determination step 605 first performs a mode control signal acquisition step 701 for acquiring a mode control signal for controlling the color reproduction mode. The mode control signal is a signal that takes a value α of 0 to 1 as described above, and is preset by, for example, the slide switch 202 as described above.

次に、取得したモード制御信号に応じて、表示色3属性算出ステップ603および原画像色3属性算出ステップ604で算出した色の3属性を重み付け加算して出力する重み付け加算ステップ702を行なう。即ち、上述した(13)式のような演算を行なって、画像記録装置で再現すべき色の3属性を決定する。   Next, in accordance with the acquired mode control signal, a weighted addition step 702 is performed in which the three attributes of the colors calculated in the display color 3 attribute calculation step 603 and the original image color 3 attribute calculation step 604 are weighted and output. That is, the calculation of the above-described equation (13) is performed to determine the three attributes of the color to be reproduced by the image recording apparatus.

尚、本実施例によれば、スライド・スイッチ202等で予め設定され重み付けができるので、原画が持つ色域や画像表示装置103で確認した内容を、任意の重み付けで生かすことができる。   According to the present embodiment, since weighting can be set in advance using the slide switch 202 or the like, the color gamut of the original image and the content confirmed by the image display device 103 can be utilized with arbitrary weighting.

再度、図6を参照すると、次に、再現色3属性決定ステップ605が決定した色の3属性に基づいて、対応する色を記録するための画像記録装置の記録信号を生成する記録色域マッピングステップ606を実施する。即ち、記録色域マッピングステップ606のために、色の3属性と画像記録装置の記録信号との対応が記載された色域マッピングテーブルが予め用意されており、記録色域マッピングステップ606は該色域マッピングテーブルを参照して、画像記録装置の記録信号に変換する。   Referring to FIG. 6 again, next, a recording color gamut mapping for generating a recording signal of the image recording apparatus for recording the corresponding color based on the three attributes of the color determined by the reproduction color three attribute determination step 605. Step 606 is performed. That is, for the recording color gamut mapping step 606, a color gamut mapping table in which the correspondence between the three attributes of the color and the recording signal of the image recording apparatus is prepared is prepared in advance. By referring to the area mapping table, it is converted into a recording signal of the image recording apparatus.

実施例5
また、再現色3属性決定ステップ605の別の例を、図8に示す。図8を参照すると、再現色3属性決定ステップ605は、始めに、表示色3属性算出ステップ603および原画像色3属性算出ステップ604で算出した色の3属性の差を比較する3属性比較ステップ801を行なう。
Example 5
Another example of the reproduction color 3 attribute determination step 605 is shown in FIG. Referring to FIG. 8, the reproduction color 3 attribute determination step 605 first includes a 3 attribute comparison step of comparing the difference between the 3 attributes of the colors calculated in the display color 3 attribute calculation step 603 and the original image color 3 attribute calculation step 604. 801 is performed.

3属性比較ステップ801は、表示色3属性算出ステップ603および原画像色3属性算出ステップ604で算出した色の3属性(明度L*、色相H*、彩度S*)のそれぞれの差の絶対値を求め、その大きさを比較する。即ち、色の3属性である明度、色相、彩度の差の絶対値の中で、どのような順で、クリッピングによる影響を受けるかを検出する。尚、上述したように、ここでも色相の差は色相の角度ではなく、円弧上の距離に換算して差を求めるものとする。   The 3-attribute comparison step 801 is an absolute difference between the three attributes (lightness L *, hue H *, and saturation S *) of the colors calculated in the display color 3 attribute calculation step 603 and the original image color 3 attribute calculation step 604. Find the value and compare its magnitude. In other words, in the order of the absolute values of the differences in lightness, hue, and saturation, which are the three attributes of color, the order of the influence of clipping is detected. Note that, as described above, the difference in hue is calculated not by the hue angle but by the distance on the arc instead of the hue angle.

次に、色の3属性の選択を制御する選択制御信号を取得する選択制御信号取得ステップ802を実施する。この選択制御信号は、原画像の再現を比較的優先するか、表示画像の再現を比較的優先するか指示する信号であり、例えば上述したような設定スイッチ410等で予め設定されている。   Next, a selection control signal acquisition step 802 for acquiring a selection control signal for controlling selection of the three color attributes is performed. This selection control signal is a signal for instructing whether to give priority to reproduction of the original image or to give priority to reproduction of the display image, and is set in advance by the setting switch 410 as described above, for example.

次に、3属性比較ステップ801の結果と取得した選択制御信号に基づいて、記録すべき色の3属性を選択する3属性選択ステップ803を実施する。即ち、図4(b)に示した例のように、3属性選択ステップ803は、原画像の再現を比較的優先するという設定がなされた場合、明度、色相、彩度の差の絶対値の中で、最も大きい属性は、原画像色3属性算出ステップ604で算出した色の3属性から選択する。また2番目に大きい属性は、表示色3属性算出ステップ603で算出した色の3属性から選択する。これにより、画像表示装置103で確認した内容を生かしながら、原画像の再現を優先した画像を記録することができる。一方、表示画像の再現を比較的優先するという設定がなされた場合、明度、色相、彩度の差の絶対値の中で、最も大きい属性は、表示色3属性算出ステップ603が算出した色の3属性から選択し、2番目に大きい属性は、原画像色3属性算出ステップ604が算出した色の3属性から選択する。これにより、原画像の持つ色情報を生かしながら、表示画像の再現を優先した画像を記録することができる。   Next, based on the result of the three attribute comparison step 801 and the acquired selection control signal, a three attribute selection step 803 for selecting three attributes of the color to be recorded is performed. That is, as in the example shown in FIG. 4B, the three-attribute selection step 803 determines the absolute value of the difference in lightness, hue, and saturation when the setting is made to give priority to reproduction of the original image. Among them, the largest attribute is selected from the three attributes of the color calculated in the original image color three attribute calculation step 604. The second largest attribute is selected from the three color attributes calculated in the display color three attribute calculation step 603. As a result, it is possible to record an image giving priority to reproduction of the original image while making use of the contents confirmed by the image display device 103. On the other hand, when the setting is made to give priority to the reproduction of the display image, the largest attribute among the absolute values of differences in brightness, hue, and saturation is the color calculated by the display color 3 attribute calculation step 603. The third largest attribute is selected, and the second largest attribute is selected from the three color attributes calculated by the original image color three attribute calculating step 604. Thereby, it is possible to record an image giving priority to reproduction of the display image while making use of the color information of the original image.

以上のように、本実施例によれば、表示色3属性算出ステップ603が算出した色の3属性と、原画像色3属性算出ステップ604が算出した色の3属性との差を比較する3属性比較ステップ801と、3属性比較ステップ801の比較結果に基づいて選択すべき色の3属性を選択する3属性選択ステップ803を有しているので、原画像の再現を比較的優先するか、表示画像の再現を比較的優先するかに応じて、画像記録装置で再現すべき色の3属性を決定することができる。また、本実施例によれば、色の3属性の選択を制御する選択制御信号を取得する選択制御信号取得ステップ802を有しているので、原画像の再現を比較的優先するか、表示画像の再現を比較的優先するかを任意に設定することができる。   As described above, according to the present embodiment, the difference between the three attributes of the color calculated by the display color three attribute calculation step 603 and the three attributes of the color calculated by the original image color three attribute calculation step 604 is compared. Since the attribute comparison step 801 and the three attribute selection step 803 for selecting the three attributes of the color to be selected based on the comparison result of the three attribute comparison step 801, the reproduction of the original image is relatively prioritized. Depending on whether display image reproduction has a relatively high priority, three attributes of colors to be reproduced by the image recording apparatus can be determined. In addition, according to the present embodiment, since the selection control signal acquisition step 802 for acquiring the selection control signal for controlling the selection of the three attributes of the color is provided, the reproduction of the original image is relatively prioritized or the display image is displayed. It is possible to arbitrarily set whether or not to give priority to reproduction.

また、本発明の目的は、前述した実施例の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUまたはMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成されることは言うまでもない。   Another object of the present invention is to supply a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施例の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることが出来る。   As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like is used. I can do it.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施例の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部を行い、その処理によって前述した実施例の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on the instruction of the program code. It goes without saying that a part of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施例の機能が実現される場合も含まれることは言うまでもない。本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するプログラムコードが格納されることになる。   Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing. When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.

本発明の画像処理システムの構成を示す。1 shows a configuration of an image processing system of the present invention. 実施例1の再現色3属性決定部の構成を示す。3 shows a configuration of a reproduction color 3 attribute determination unit according to the first embodiment. 実施例2の再現色3属性決定部の構成を示す。The structure of the reproduction color 3 attribute determination part of Example 2 is shown. 実施例3の再現色3属性決定部の構成を示す。The structure of the reproduction color 3 attribute determination part of Example 3 is shown. 実施例3の3属性比較部の構成を示す。The structure of the 3 attribute comparison part of Example 3 is shown. 実施例4の画像処理方法の処理フローチャートを示す。10 is a processing flowchart of an image processing method according to a fourth embodiment. 実施例4の再現色3属性決定ステップの処理フローチャートを示す。10 shows a processing flowchart of a reproduction color 3 attribute determination step according to the fourth embodiment. 実施例5の再現色3属性決定ステップの処理フローチャートを示す。10 is a processing flowchart of a reproduction color 3 attribute determination step according to the fifth embodiment.

符号の説明Explanation of symbols

101 画像記憶装置
102 画像処理装置
103 画像表示装置
104 画像記録装置
105 表示色変換部
106 記録色変換部
107 表示色形式変換部
108 表示色3属性算出部
109 原画像色3属性算出部
110 再現色3属性決定部
111 画像データ生成部
112 記録色域マッピング部
113 画像処理制御部
DESCRIPTION OF SYMBOLS 101 Image storage apparatus 102 Image processing apparatus 103 Image display apparatus 104 Image recording apparatus 105 Display color conversion part 106 Recording color conversion part 107 Display color format conversion part 108 Display color 3 attribute calculation part 109 Original image color 3 attribute calculation part 110 Reproduction color 3 attribute determination unit 111 image data generation unit 112 recording color gamut mapping unit 113 image processing control unit

Claims (9)

輝度色差形式の画像データを記憶する画像データ記憶手段から出力された画像データを処理して、画像を記録する画像データ記録手段に出力する画像処理装置であって、前記画像データ記憶手段から出力された輝度色差形式の画像データを、画像表示装置に供給可能な3原色形式の画像データに変換するデータ形式変換手段と、前記出力された輝度色差形式の画像データが示す色の3属性と、前記変換された3原色形式の画像データが示す色の3属性とを抽出する3属性抽出手段と、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性に基づいて、再現すべき色の3属性を決定し、該決定した3属性の色を表す画像データを生成する画像データ生成手段と、前記生成した画像データを、画像データ記録手段に出力する画像データに変換する画像データ変換手段とを少なくとも有することを特徴とする画像処理装置。   An image processing apparatus that processes image data output from an image data storage unit that stores image data in a luminance / color difference format, and outputs the processed image data to an image data recording unit that records an image, the output being output from the image data storage unit The data format conversion means for converting the image data in the luminance color difference format into the image data in the three primary colors that can be supplied to the image display device, the three attributes of the color indicated by the output image data in the luminance color difference format, Three attribute extracting means for extracting the three attributes of the color indicated by the converted image data of the three primary colors, the three attributes of the color of the extracted luminance color difference image data, and the extracted image data of the three primary colors Based on the three attributes of the color, the three attributes of the color to be reproduced are determined, image data generating means for generating image data representing the determined three attributes of the color, and the generated image data, The image processing apparatus characterized by having at least an image data converting means for converting the image data to be output to the image data recording means. 前記画像データ生成手段は、前記抽出した輝度色差形式の画像データの色の3属性の少なくとも1つの属性と、前記抽出した3原色形式の画像データの色の3属性の少なくとも1つの属性とを、少なくとも有する色の3属性を決定することを特徴とする請求項1記載の画像処理装置。   The image data generation means includes at least one attribute of the three attributes of the extracted luminance color difference format image data and at least one of the three attributes of the color of the extracted three primary color format image data. The image processing apparatus according to claim 1, wherein at least three attributes of colors are determined. 前記画像データ生成手段は、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性の差をそれぞれ比較する3属性比較手段と、前記比較した色の3属性の差に基づいて、再現すべき色の3属性として決定する3属性選択手段とを少なくとも有することを特徴とする請求項2記載の画像処理装置。   The image data generating means includes three attribute comparison means for comparing the difference between the three attributes of the extracted luminance color difference image data and the three attributes of the extracted three primary color image data, and the comparison 3. The image processing apparatus according to claim 2, further comprising at least three attribute selection means for determining the three attributes of the color to be reproduced based on the difference between the three attributes of the determined colors. 前記輝度色差形式の画像データが示す色と前記3原色形式の画像データが示す色の、色再現の優先度合いを設定する色再現設定手段を有し、前記画像データ生成手段は、前記設定された優先度合いに基づいて、再現すべき色の3属性を決定することを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。   Color reproduction setting means for setting the priority of color reproduction between the color indicated by the image data in the luminance color difference format and the color indicated by the image data in the three primary colors format, and the image data generation means is configured to The image processing apparatus according to claim 1, wherein three attributes of a color to be reproduced are determined based on a priority level. 画像を記録する画像データ記録手段に出力するため、輝度色差形式の画像データを記憶する画像データ記憶手段から取得した画像データを処理する画像処理方法であって、前記画像データ記憶手段から取得した輝度色差形式の画像データを、画像表示装置に供給可能な3原色形式の画像データに変換するデータ形式変換ステップと、前記取得した輝度色差形式の画像データが示す色の3属性と、前記変換された3原色形式の画像データが示す色の3属性とを抽出する3属性抽出ステップと、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性に基づいて、再現すべき色の3属性を決定し、該決定した3属性の色を表す画像データを生成する画像データ生成ステップと、前記生成した画像データを、画像データ記録手段に出力する画像データに変換する画像データ変換ステップとを少なくとも有することを特徴とする画像処理方法。   An image processing method for processing image data obtained from an image data storage means for storing image data in a luminance color difference format for output to an image data recording means for recording an image, wherein the luminance obtained from the image data storage means A data format conversion step for converting image data in the color difference format into image data in the three primary colors format that can be supplied to the image display device, three attributes of the color indicated by the acquired image data in the luminance color difference format, and the converted Three attribute extraction steps for extracting the three attributes of the color indicated by the image data in the three primary colors format, three attributes of the color of the extracted luminance color difference format image data, and three of the colors of the extracted image data in the three primary colors format An image data generation step for determining three attributes of colors to be reproduced based on the attributes, and generating image data representing the determined three attribute colors, and the generated image The chromatography data, image processing method, wherein at least and an image data conversion step of converting the image data to be output to the image data recording means. 前記画像データ生成ステップは、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性の差をそれぞれ比較する3属性比較ステップと、前記比較した色の3属性の差に基づいて、再現すべき色の3属性として決定する3属性選択ステップとを少なくとも有することを特徴とする請求項5記載の画像処理方法。   The image data generation step includes a three-attribute comparison step for comparing a difference between three attributes of the color of the extracted luminance / color-difference image data and three attributes of the color of the extracted three-primary-color image data, and the comparison 6. The image processing method according to claim 5, further comprising at least a three-attribute selection step for determining the three attributes of the color to be reproduced based on the difference between the three attributes of the color. 前記輝度色差形式の画像データが示す色と前記3原色形式の画像データが示す色の、色再現の優先度合いを設定する色再現設定ステップを有し、前記画像データ生成ステップは、前記設定された優先度合いに基づいて、再現すべき色の3属性を決定することを特徴とする請求項5または6記載の画像処理方法。   A color reproduction setting step for setting a color reproduction priority level between the color indicated by the image data in the luminance color difference format and the color indicated by the image data in the three primary color format, and the image data generation step 7. The image processing method according to claim 5, wherein three attributes of the color to be reproduced are determined based on the priority level. 請求項5乃至7のいずれか1項に記載の画像処理方法をコンピュータに実現させるためのプログラム。   The program for making a computer implement | achieve the image processing method of any one of Claims 5 thru | or 7. 請求項5乃至7のいずれか1項に記載の画像処理方法をコンピュータに実現させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium recording a program for causing a computer to implement the image processing method according to claim 5.
JP2008286688A 2008-11-07 2008-11-07 Image processing apparatus, image processing method, program, and recording medium Expired - Fee Related JP5158363B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008286688A JP5158363B2 (en) 2008-11-07 2008-11-07 Image processing apparatus, image processing method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008286688A JP5158363B2 (en) 2008-11-07 2008-11-07 Image processing apparatus, image processing method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2010114748A true JP2010114748A (en) 2010-05-20
JP5158363B2 JP5158363B2 (en) 2013-03-06

Family

ID=42302941

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008286688A Expired - Fee Related JP5158363B2 (en) 2008-11-07 2008-11-07 Image processing apparatus, image processing method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP5158363B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003087587A (en) * 2001-09-12 2003-03-20 Canon Inc Method and device for processing image data, storage medium and program
JP2007067939A (en) * 2005-08-31 2007-03-15 Canon Inc Color processing method and apparatus thereof
JP2007124243A (en) * 2005-10-27 2007-05-17 Canon Inc Color conversion method
JP2008206168A (en) * 2008-03-11 2008-09-04 Fujifilm Corp Image processing apparatus, method and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003087587A (en) * 2001-09-12 2003-03-20 Canon Inc Method and device for processing image data, storage medium and program
JP2007067939A (en) * 2005-08-31 2007-03-15 Canon Inc Color processing method and apparatus thereof
JP2007124243A (en) * 2005-10-27 2007-05-17 Canon Inc Color conversion method
JP2008206168A (en) * 2008-03-11 2008-09-04 Fujifilm Corp Image processing apparatus, method and program

Also Published As

Publication number Publication date
JP5158363B2 (en) 2013-03-06

Similar Documents

Publication Publication Date Title
JP4375781B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP4803666B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP4263131B2 (en) Color conversion method and image processing apparatus
KR20050097540A (en) Color conversion method and profile generation method
JP2004120217A (en) Image processing apparatus, image processing method, program, and recording medium
US8731288B2 (en) Image processing techniques for color correction
US20120057785A1 (en) Method and system to modify a color lookup table
JP2006340105A (en) Image processing method, profile generating method, and image processing apparatus
US10594904B2 (en) Correction coefficient calculation unit, image conversion unit, color correction device, display device, correction coefficient calculation method, and program
JP4910557B2 (en) Color conversion apparatus, color conversion method, color conversion program, color conversion coefficient creation apparatus, color conversion coefficient creation method, and color conversion coefficient creation program
JP2007274585A (en) Color processor
JP4396479B2 (en) A correction processing method and an image processing apparatus in an image processing apparatus.
JP2003324620A (en) Image processing equipment and image processing method
JP5158363B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP4985162B2 (en) Color gamut generation device, color gamut generation program, and color conversion device
JP2009147492A (en) Image processor and program
JP2007166403A (en) Image processing apparatus, method thereof and recording medium thereof
KR102160247B1 (en) Electronic apparatus and Method for controlling the electronic apparatus thereof
JP5112234B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2008072550A (en) Color processing method, color processing apparatus, image forming apparatus, program and recording medium
JP2008245274A (en) Method and apparatus for regulating color conversion profile
JP5849549B2 (en) Color processing apparatus and program
JP2003274202A (en) Method and device for producing color signal conversion table, and method and device for image processing
JP4472594B2 (en) Image data color conversion apparatus, color conversion method, and color conversion program
JP2004266684A (en) Method and apparatus for regulating color conversion profile

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110913

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120912

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121022

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121114

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121127

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151221

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees