JP5158363B2 - Image processing apparatus, image processing method, program, and recording medium - Google Patents
Image processing apparatus, image processing method, program, and recording medium Download PDFInfo
- Publication number
- JP5158363B2 JP5158363B2 JP2008286688A JP2008286688A JP5158363B2 JP 5158363 B2 JP5158363 B2 JP 5158363B2 JP 2008286688 A JP2008286688 A JP 2008286688A JP 2008286688 A JP2008286688 A JP 2008286688A JP 5158363 B2 JP5158363 B2 JP 5158363B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- color
- attributes
- image
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
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 that performs corrections and checks on an image display device and records an image with an image recording device 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.
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.
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
しかし、前者の方法は、画像入力装置の画像データの色情報を正確に記録するのに適しているが、画像表示装置において確認した色との差が、標準的な色空間に変換した際にクリッピング処理が実施された時に大きくなって、思った色で記録されないという問題があった。また、後者の方法は、画像表示装置において確認した色との差を小さくすることができるが、画像入力装置の画像データが持つ色情報の中で、実質的に彩度方向の色情報を保存できるだけなので、画像入力装置の画像データが持つ色情報を、十分に生かせないという問題があった。 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 ( first ) is to make full use of the color gamut of the image input device and the color gamut of the image recording device. Taking into account the three attributes of the color of the image data input from the input device and the three attributes of the color when the image data is displayed on the image display device, the color reproduced by the image recording device is determined. It is to realize an image processing apparatus capable of
また、本発明(第2)の目的は、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴を、それぞれ一定の優先度で保存した画像を記録することができる画像処理装置を実現することにある。 In addition, an object of the present invention ( second ) is that the color characteristics of the image data input from the image input apparatus and the color characteristics when the image data is displayed on the image display apparatus are respectively given a predetermined priority. An object of the present invention is to realize an image processing apparatus capable of recording an image stored in (1).
また、本発明(第3)の目的は、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴の優先度を設定することができる画像処理装置を実現することにある。 Another object of the present invention ( third ) is to set the color characteristics of the image data input from the image input apparatus and the priority of the color characteristics when the image data is displayed on the image display apparatus. It is to realize an image processing apparatus capable of
本発明は、輝度色差形式の画像データを記憶する画像データ記憶手段から出力された画像データを処理して、画像を記録する画像データ記録手段に出力する画像処理装置であって、前記画像データ記憶手段から出力された輝度色差形式の画像データを、画像表示装置に供給可能な3原色形式の画像データに変換するデータ形式変換手段と、前記出力された輝度色差形式の画像データが示す色の3属性(以下、第1の3属性)と、前記変換された3原色形式の画像データが示す色の3属性(以下、第2の3属性)とを抽出する3属性抽出手段と、所定の重みを設定する色再現設定手段と、前記設定された所定の重みを用いて前記第1の3属性と前記第2の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 3-attribute extraction means for extracting attributes (hereinafter referred to as the first 3 attributes) and 3 attributes of the colors indicated by the converted image data in the three primary colors (hereinafter referred to as the second 3 attributes) , and a predetermined weight A color reproduction setting means for setting the color, the first three attributes and the second three attributes are weighted and added using the set predetermined weight, and the three attributes of the color to be reproduced are determined, Table of the determined 3 attribute colors An image data generation means for generating image data, the image data the product, and most important, characterized in that at least and an image data converting means for converting the image data to be output to the image data recording means.
本発明によれば、輝度色差形式の画像データを記憶する画像データ記憶手段(101)から出力された画像データを処理して、画像を記録する画像データ記録手段(104)に出力する画像処理装置であって、前記画像データ記憶手段から出力された輝度色差形式の画像データを、画像表示装置に供給可能な3原色形式の画像データに変換するデータ形式変換手段(107)と、前記出力された輝度色差形式の画像データが示す色の3属性と、前記変換された3原色形式の画像データが示す色の3属性とを抽出する3属性抽出手段(108,109)と、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性に基づいて、再現すべき色の3属性を決定し、該決定した3属性の色を表す画像データを生成する画像データ生成手段(111)と、前記生成した画像データを、画像データ記録手段(104)に出力する画像データに変換する画像データ変換手段(112)とを少なくとも有することを特徴とする画像処理装置においては、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性に基づいて、再現すべき色の3属性を決定するので、画像入力装置(記憶手段)から入力された画像データが持つ色の3属性と、該画像データを画像表示装置に表示した際の色の3属性を考慮に入れて、画像記録装置で再現される色を決定することができる画像処理装置を実現することができた。 According to the present invention, an image processing apparatus that processes image data output from an image data storage unit (101) that stores image data in a luminance color difference format and outputs the processed image data to an image data recording unit (104) that records an image. A data format conversion means (107) for converting luminance color difference image data output from the image data storage means into image data of three primary colors that can be supplied to an image display device; and the output Three attribute extraction means (108, 109) for extracting three attributes of the color indicated by the image data in the luminance color difference format and three attributes of the color indicated in the converted image data in the three primary colors format, and the extracted luminance color difference An image representing three attributes of the color to be reproduced based on the three attributes of the color of the image data of the format and the three attributes of the color of the image data of the extracted three primary colors, and representing the determined three attributes Image data generating means (111) for generating data, 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 image 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 format image data and the three attributes of the color of the extracted three primary color format image data. Therefore, the image recording apparatus takes into account the three attributes of the color of the image data input from the image input device (storage means) and the three attributes of the color when the image data is displayed on the image display device. An image processing apparatus capable of determining the color to be reproduced has been realized.
本発明によれば、前記画像データ生成手段は、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性の差をそれぞれ比較する3属性比較手段(401)と、前記比較した色の3属性の差に基づいて、再現すべき色の3属性として決定する3属性選択手段(402)とを少なくとも有することを特徴とする画像処理装置においては、前記抽出した輝度色差形式の画像データの色の3属性と前記抽出した3原色形式の画像データの色の3属性の差をそれぞれ比較する3属性比較手段(401)と、前記比較した色の3属性の差に基づいて、再現すべき色の3属性として決定する3属性選択手段(402)とを有しているので、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴を、それぞれ一定の優先度で保存した画像を記録することができる画像処理装置を実現することができた。
According to the present invention, the image data generation means compares the three attributes of the extracted luminance / color difference format image data with the three attributes of the extracted three primary color format image data. An image processing apparatus comprising at least comparison means (401) and three attribute selection means (402) for determining three attributes of a color to be reproduced based on a difference between the three attributes of the compared colors. 3 attribute comparison means (401) for comparing the difference between 3 attributes of the color of the extracted luminance color difference image data and 3 attributes of the color of the extracted 3 primary color image data, and the compared
本発明によれば、前記輝度色差形式の画像データが示す色と前記3原色形式の画像データが示す色の、色再現の優先度合いを設定する色再現設定手段(202または304〜305または410)を有し、前記画像データ生成手段は、前記設定された優先度合いに基づいて、再現すべき色の3属性を決定することを特徴とする請求項1乃至3の画像処理装置においては、前記輝度色差形式の画像データが示す色と前記3原色形式の画像データが示す色の、色再現の優先度合いを設定する色再現設定手段を有しているので、画像入力装置から入力された画像データが持つ色の特徴と、該画像データを画像表示装置に表示した際の色の特徴の優先度を設定することができる画像処理装置を実現することができた。
According to the present invention, the color reproduction setting means (202 or 304 to 305 or 410 ) for setting the 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
以下、発明の実施の形態について図面により詳細に説明する。 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
画像処理装置102は、画像処理システムの中核をなし、画像記憶装置101、画像表示装置103、画像記録装置104等の各装置間の、画像データのやり取りを仲介する役割等を果たしている。例えば、画像記憶装置101から出力された画像データは、画像処理装置102の表示色変換部105に入力され、表示色変換部105は、画像記憶装置101から入力された画像データを、画像表示装置用の3原色形式の画像データに変換して、画像表示装置103に出力する。画像表示装置103は、LCDやCRT等の方式により、入力された画像データを表示する装置であり、これにより、画像記憶装置101に記憶された画像データが表示される。尚、ここでは画像表示装置103が、標準モニタ色空間であるsRGBに準拠した特性を有しているものとする。
The
画像記憶装置101から出力された画像データは、画像処理装置102の記録色変換部106にも入力されており、記録色変換部106は、画像記憶装置101から入力された画像データを、画像記録装置用の画像データに変換して、画像記録装置104に出力する。画像記録装置104は、電子写真やインクジェット等の方式のプリンタなどが相当し、入力された画像データを記録紙等の記録媒体に記録して、ハードコピーとして出力する。これにより、画像記憶装置101に記憶された画像データが、記録紙上等に再現される。
The image data output from the
ここで、記録色変換部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
また、表示色3属性算出部108は、表示色形式変換部107が変換した画像データに基づいて、画像表示装置103に表示される色の3属性を算出するブロックである。ここで、色の3属性とは、色相(Hue)、彩度(Saturation)、明度(Lightness)のことであり、色相は赤、青、緑のような色味の違いを、彩度は色の鮮やかさを、明度は色の明るさを表している。尚、ここでは色の3属性を、CIELABに基づいて算出するものとする。
The
即ち、CIEXYZとCIELABとには、次のような関係があり、 That is, CIEXYZ and CIELAB have the following relationship:
一方、原画像色3属性算出部109は、原画像である画像記憶装置101から入力された画像データに基づいて、画像データが表す色の3属性を算出するブロックである。即ち、原画像色3属性算出部109は、上述した(6)式の逆方向変換⇒(5)式の逆方向変換⇒(2)乃至(4)式の逆方向変換⇒(1)逆方向変換によりCIEXYZに変換後、(11)式の順方向変換⇒(12)式の順方向変換を実施して、画像記憶装置101から入力された画像データが表す色の3属性を算出する。
On the other hand, the
再現色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
このような、再現色3属性決定部110の詳細な一例を図2に示す。図2を参照すると、再現色3属性決定部110には、上述した表示色3属性算出部108および原画像色3属性算出部109が算出した色の3属性の他に、再現色3属性決定部110の色再現モードを制御するモード制御信号201が入力されている。
A detailed example of such a
モード制御信号201は0〜1の値αをとる信号であり、例えば図示しない画像処理システムの操作パネル上のスライド・スイッチ202等で予め設定され、信号値として入力されるものである。
The
図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
再度、図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
また、画像処理制御部113は、画像処理装置102の各部の動作を制御すると共に、画像記憶装置101、画像表示装置103及び画像記録装置104と通信を行なって、画像処理システム全体としての動作も制御しており、例えば、CPU(中央演算装置)、ROM(リード・オンリー・メモリ)、RAM(ランダム・アクセス・メモリ)、I/O(入出力インターフェース)等で構成されたマイクロ・コンピュータ・システムで実現されている。
In addition, the image
実施例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
以下では、別の方法で決定する再現色3属性決定部110の一例を、図3に示す。図3を参照すると、再現色3属性決定部110には、上述した表示色3属性算出部108および原画像色3属性算出部109が算出した色の3属性の他に、色の3属性の選択を制御する選択制御信号301〜303が入力されている。
In the following, an example of the
選択制御信号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
図3の再現色3属性決定部110は3つのセレクタ307〜309を有しており、セレクタ307〜309は、それぞれに入力されている表示色3属性算出部108および原画像色3属性算出部109が算出した色の3属性を、選択制御信号301〜303に応じて選択して、再現すべき色の3属性として出力する。
The
ここで、設定スイッチ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
以上のように本実施例によれば、表示色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
実施例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
ここで、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-
減算器501〜503から出力される色の3属性の差は、絶対値化部506に入力され、ここで差の絶対値に変換される。更に、絶対値化部506で変換された色の3属性の差の絶対値は、大小比較部507に入力され、絶対値の大きさが比較される。即ち、色の3属性である明度、色相、彩度の差の絶対値の中で、どのような順で、クリッピングによる影響を受けるかが検出され、その結果が3属性選択決定部402へ出力される。
The difference between the three attributes of the colors output from the
再度、図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-
選択制御信号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
以上のように、本実施例によれば、表示色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
尚、本発明は、図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
次に、画像表示装置への出力に相当する形式に画像データ取得ステップ601で取得した画像データを変換する表示色形式変換ステップ602を行なう。即ち、上述した(6)式の逆方向変換⇒(5)式の逆方向変換⇒(2)乃至(4)式の逆方向変換⇒(1)逆方向変換によりCIEXYZに変換後、(1)式の順方向変換⇒クリッピング処理⇒(7)乃至(8)式の順方向変換⇒(9)式の順方向変換を実施して、輝度−色差形式のsYCC画像データを、3原色形式のsRGB画像データに変換する。
Next, a display color
次に、表示色形式変換ステップ602で変換した画像データに基づいて、画像表示装置に表示される色の3属性を算出する表示色3属性算出ステップ603を行なう。即ち、上述した、(9)式の逆方向変換⇒(7)乃至(8)式の逆方向変換⇒(1)逆方向変換によりCIEXYZに変換後、(11)式の順方向変換⇒(12)式の順方向変換を実施して、表示色形式変換ステップ602で変換した画像データから色の3属性を算出する。
Next, based on the image data converted in the display color
また、これに並行して、画像データ取得ステップ601で取得した画像データに基づいて、画像データが表す色の3属性を算出する原画像色3属性算出ステップ604も行う。即ち、上述した(6)式の逆方向変換⇒(5)式の逆方向変換⇒(2)乃至(4)式の逆方向変換⇒(1)逆方向変換によりCIEXYZに変換後、(11)式の順方向変換⇒(12)式の順方向変換を実施して、画像データ取得ステップ601で取得した画像データが表す色の3属性を算出する。
In parallel with this, an
次に、表示色3属性算出ステップ603および原画像色3属性算出ステップ604で算出した色の3属性に基づいて、画像記録装置で再現すべき色の3属性を決定する再現色3属性決定ステップ605を行なう。即ち、ここでは、表示色3属性算出ステップ603および原画像色3属性算出ステップ604が算出した色の3属性に基づいて、画像記録装置で再現すべき色の3属性を決定し、これにより、原画が持つ色域を十分に生かすと共に、画像表示装置で確認した内容を生かすことができるようにする。
Next, a
図7は、再現色3属性決定ステップ605の詳細な処理フローチャートの一例を示す。図7を参照すると、再現色3属性決定ステップ605は、始めに、色再現モードを制御するモード制御信号を取得するモード制御信号取得ステップ701を実施する。モード制御信号は上述したように0〜1の値αをとる信号であり、例えば上述したようなスライド・スイッチ202等で予め設定されている。
FIG. 7 shows an example of a detailed processing flowchart of the
次に、取得したモード制御信号に応じて、表示色3属性算出ステップ603および原画像色3属性算出ステップ604で算出した色の3属性を重み付け加算して出力する重み付け加算ステップ702を行なう。即ち、上述した(13)式のような演算を行なって、画像記録装置で再現すべき色の3属性を決定する。
Next, in accordance with the acquired mode control signal, a
尚、本実施例によれば、スライド・スイッチ202等で予め設定され重み付けができるので、原画が持つ色域や画像表示装置103で確認した内容を、任意の重み付けで生かすことができる。
According to the present embodiment, since weighting can be set in advance using the
再度、図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
実施例5
また、再現色3属性決定ステップ605の別の例を、図8に示す。図8を参照すると、再現色3属性決定ステップ605は、始めに、表示色3属性算出ステップ603および原画像色3属性算出ステップ604で算出した色の3属性の差を比較する3属性比較ステップ801を行なう。
Example 5
Another example of the
3属性比較ステップ801は、表示色3属性算出ステップ603および原画像色3属性算出ステップ604で算出した色の3属性(明度L*、色相H*、彩度S*)のそれぞれの差の絶対値を求め、その大きさを比較する。即ち、色の3属性である明度、色相、彩度の差の絶対値の中で、どのような順で、クリッピングによる影響を受けるかを検出する。尚、上述したように、ここでも色相の差は色相の角度ではなく、円弧上の距離に換算して差を求めるものとする。
The 3-
次に、色の3属性の選択を制御する選択制御信号を取得する選択制御信号取得ステップ802を実施する。この選択制御信号は、原画像の再現を比較的優先するか、表示画像の再現を比較的優先するか指示する信号であり、例えば上述したような設定スイッチ410等で予め設定されている。
Next, a selection control
次に、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
以上のように、本実施例によれば、表示色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
また、本発明の目的は、前述した実施例の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(または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.
101 画像記憶装置
102 画像処理装置
103 画像表示装置
104 画像記録装置
105 表示色変換部
106 記録色変換部
107 表示色形式変換部
108 表示色3属性算出部
109 原画像色3属性算出部
110 再現色3属性決定部
111 画像データ生成部
112 記録色域マッピング部
113 画像処理制御部
DESCRIPTION OF
Claims (5)
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 JP2010114748A (en) | 2010-05-20 |
JP5158363B2 true 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) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4217398B2 (en) * | 2001-09-12 | 2009-01-28 | キヤノン株式会社 | Image data processing method, image data processing apparatus, storage medium, and program |
JP4498245B2 (en) * | 2005-08-31 | 2010-07-07 | キヤノン株式会社 | Color processing method and apparatus |
JP2007124243A (en) * | 2005-10-27 | 2007-05-17 | Canon Inc | Color conversion method |
JP4544319B2 (en) * | 2008-03-11 | 2010-09-15 | 富士フイルム株式会社 | Image processing apparatus, method, and program |
-
2008
- 2008-11-07 JP JP2008286688A patent/JP5158363B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010114748A (en) | 2010-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9552537B2 (en) | Color conversion method and profile generation method | |
JP4803666B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
US20070052987A1 (en) | Image processing method and apparatus to print displayed image | |
JP4263131B2 (en) | Color conversion method and image processing apparatus | |
JP2003087591A (en) | Picture processing method and picture processor | |
JP5329920B2 (en) | Color processing apparatus and method | |
JP2006340105A (en) | Image processing method, profile generating method, and image processing apparatus | |
JP4356697B2 (en) | Color settings for monochrome images | |
JP2003153025A (en) | Image information transferring method and image information processor | |
KR20050109663A (en) | Method and apparatus for creating profile | |
JP2007274585A (en) | Color processor | |
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 | |
JP2008160307A (en) | Image processor and its control method | |
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 | |
JP2007166403A (en) | Image processing apparatus, method thereof and recording medium thereof | |
JP5112234B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
JP2008086029A (en) | Image information transmission method and image information processor | |
JP4848903B2 (en) | Color processing apparatus, color processing method, and program | |
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 | |
JP2004199193A (en) | Image processing method and image processing device | |
JP4472594B2 (en) | Image data color conversion apparatus, color conversion method, and color conversion program |
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 |