JP2010251883A - 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
JP2010251883A
JP2010251883A JP2009096793A JP2009096793A JP2010251883A JP 2010251883 A JP2010251883 A JP 2010251883A JP 2009096793 A JP2009096793 A JP 2009096793A JP 2009096793 A JP2009096793 A JP 2009096793A JP 2010251883 A JP2010251883 A JP 2010251883A
Authority
JP
Japan
Prior art keywords
color
change amount
image data
image
reproduction range
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
JP2009096793A
Other languages
Japanese (ja)
Other versions
JP5267803B2 (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 JP2009096793A priority Critical patent/JP5267803B2/en
Publication of JP2010251883A publication Critical patent/JP2010251883A/en
Application granted granted Critical
Publication of JP5267803B2 publication Critical patent/JP5267803B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processor with a highly accurate and simple configuration, having little epicritic deterioration in input image data. <P>SOLUTION: A lightness conversion portion 105 converts and outputs lightness of original image data into a lightness area of an image output device 103. A variation calculation portion 106 calculates variation of colors when a color in image data output by the lightness conversion portion 105 is converted into a color in a color reproduction range of the image output device. A variation correction portion 107 corrects variation so as to leave an edge and a low frequency component at an image plane of the variation. A color correction portion 108 corrects a color in the lightness converted image data, based on the corrected variation. A color conversion portion 109 converts the color corrected image data into a color in the color reproduction range of the image output device 103. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、入力された画像データを、プリンタやディスプレイなどの画像出力装置の色再現範囲内の画像データに、変換する処理を行う画像処理装置、画像処理方法、プログラムおよび記憶媒体に関する。   The present invention relates to an image processing apparatus, an image processing method, a program, and a storage medium for converting input image data into image data within a color reproduction range of an image output apparatus such as a printer or a display.

画像処理の一つに、入力された画像データの色を、画像出力装置の色再現範囲(色域、ガマット)の色に変換するガマット処理がある。プリンタやディスプレイなどの画像出力装置は、人が知覚できる全ての色を再現できるわけではなく、限られた範囲の色しか再現することができないが、画像データ自体は、比較的大きな色再現範囲を表現可能であることが多く、場合によっては人が知覚できる全ての色を表現することができる。画像データの表色形式に依存するが、何れにしろ、画像出力装置の色再現範囲外の画像データの色を、再現可能な色に変換して、出力可能にするガマット処理が必要である。   One type of image processing is gamut processing for converting the color of input image data into a color in the color reproduction range (color gamut, gamut) of the image output apparatus. Image output devices such as printers and displays cannot reproduce all colors that humans can perceive and can only reproduce a limited range of colors, but the image data itself has a relatively large color reproduction range. It is often expressible, and in some cases, all colors that can be perceived by humans can be expressed. Regardless of the color format of the image data, in any case, it is necessary to convert the color of the image data outside the color reproduction range of the image output apparatus into a reproducible color and enable output.

従来より、画像出力装置で再現できない色をどのような色に変換するかという問題に関して、種々の方法が提案され、代表的な変換方法として、階調保存変換法、色相保存変換法、彩度保存変換法がある。   Conventionally, various methods have been proposed regarding the problem of converting colors that cannot be reproduced by an image output device. Typical conversion methods include gradation preservation conversion method, hue preservation conversion method, saturation, and so on. There is a preservation conversion method.

階調保存変換法は、画像出力装置の色再現範囲外の色だけでなく色再現範囲内の色も、色相を保存したまま、画像出力装置の色再現範囲内のグレー軸上の定点に向かってある割合で変化させて、圧縮する方法である。この方法では、色の違いが保存されるので、階調性を重視する写真などの画像に対するガマット処理に適している。しかし、入力画像の色の範囲の如何にかかわらず、入力画像を一定の割合で圧縮するので、圧縮が不要な範囲まで圧縮してしまうという欠点があった。また、色の変化自体も圧縮されるため、迫力に欠けた眠たい画像となり易いという欠点もあった。   The gradation preservation conversion method is used not only for the color outside the color reproduction range of the image output device but also for the color within the color reproduction range toward the fixed point on the gray axis within the color reproduction range of the image output device while preserving the hue. It is a method of changing and compressing at a certain ratio. Since this method preserves color differences, it is suitable for gamut processing on images such as photographs that emphasize gradation. However, since the input image is compressed at a constant rate regardless of the color range of the input image, there is a disadvantage that the image is compressed to a range where compression is unnecessary. Further, since the color change itself is also compressed, there is a drawback that it is easy to become a sleepy image lacking power.

これに対して色相保存変換法は、画像出力装置の色再現範囲外の色に関して、色相を保存したまま、画像出力装置の色再現範囲内のグレー軸上の定点に向かう画像出力装置の色再現範囲の最外郭に貼り付ける方法である。この方法も、比較的自然な再現がなされるため写真画像に適している。   On the other hand, with the hue preservation conversion method, the color reproduction of the image output device toward the fixed point on the gray axis within the color reproduction range of the image output device while keeping the hue for the color outside the color reproduction range of the image output device. It is a method of pasting to the outermost part of the range. This method is also suitable for photographic images because of its relatively natural reproduction.

また、彩度保存変換法は、画像出力装置の色再現範囲外の色に関して、彩度を出来る限り保存しながら、明度と色相が大幅に狂わないように変換する方法である。画像の鮮やかさが維持されるので、色再現性を重視するグラフィックスや文字などの画像に対するガマット処理には適している。しかし、これらの変換方法は色再現範囲外の色だけを変化させるため、変換後の色およびその近傍の色が変換前の画像データに存在していると、それらの色との識別性が劣化するという欠点があった。また、変換する前の画像データでは識別できていた色が、同じ様な最外郭の色に変換されて識別性が劣化することもあった。   The saturation preserving conversion method is a method for converting a color outside the color reproduction range of the image output apparatus so that the lightness and the hue are not greatly changed while preserving the saturation as much as possible. Since the vividness of the image is maintained, it is suitable for gamut processing for images such as graphics and characters that place importance on color reproducibility. However, since these conversion methods change only the color outside the color reproduction range, if the converted color and its neighboring colors are present in the image data before conversion, the distinguishability with those colors deteriorates. There was a drawback of doing. In addition, the color that could be identified in the image data before conversion may be converted to the same outermost color, and the discrimination may be deteriorated.

このため、これらの欠点を補う画像処理装置・方法が提案されている。例えば、特許文献1の画像処理方法は、入力された画像データの色を、所定の色再現範囲内の色に変換する色変換ステップと、入力された画像データの色と、色変換ステップにより変換された色との差を算出する色差算出ステップと、色差算出ステップが算出した差をフィルタリングする色差フィルタリング・ステップと、色変換ステップにより変換された色を、色差フィルタリング・ステップがフィルタリングした差に基づいて補正する色補正ステップとを有している。この方法では、色変換ステップで消失する情報が色差算出ステップで抽出され、色差フィルタリング・ステップによるフィルタリングによってその中の識別性に関わる情報が取り出される。そして、色補正ステップで、取り出した識別性に関わる情報を、色変換ステップにより変換された色に付加することで、識別性の劣化を防止している。   For this reason, image processing apparatuses and methods that compensate for these drawbacks have been proposed. For example, in the image processing method of Patent Document 1, a color conversion step for converting the color of input image data into a color within a predetermined color reproduction range, a color of the input image data, and a color conversion step are used for conversion. A color difference calculating step for calculating a difference from the color difference, a color difference filtering step for filtering the difference calculated by the color difference calculating step, and a color obtained by filtering the color converted by the color conversion step based on the difference filtered by the color difference filtering step. And a color correction step for correcting. In this method, information that disappears in the color conversion step is extracted in the color difference calculation step, and information relating to the distinguishability is extracted by filtering in the color difference filtering step. In the color correction step, the information relating to the extracted distinguishability is added to the color converted by the color conversion step, thereby preventing the deterioration of the distinguishability.

しかし、この方法は、色補正ステップが出力する画像データの色が、前述の所定の色再現範囲の外となる可能性を含むため、実質的に、所定の色再現範囲内の色に変換する第2の色変換ステップを必要とする。このため、所定の色再現範囲内の色に変換する処理を2重に施すことによる量子化誤差の蓄積が大きく、精度が得られないという欠点があった。また、量子化誤差を低減するための各処理の高精度化は、画像処理における処理負荷が増大し、画像処理装置を複雑にする、という欠点があった。   However, since this method includes a possibility that the color of the image data output by the color correction step is outside the above-described predetermined color reproduction range, it is substantially converted to a color within the predetermined color reproduction range. A second color conversion step is required. For this reason, there has been a drawback in that the accumulation of quantization errors due to double processing for conversion to a color within a predetermined color reproduction range is large, and accuracy cannot be obtained. In addition, increasing the accuracy of each process for reducing the quantization error has the disadvantage that the processing load in image processing increases and the image processing apparatus becomes complicated.

また、非特許文献1による画像処理方法は、入力された画像データの色を、所定の色再現範囲内の色に変換した際の、色域の圧縮率を算出する圧縮率算出ステップと、圧縮率算出ステップが算出した圧縮率をフィルタリングするフィルタリング・ステップと、フィルタリング・ステップがフィルタリングを施した圧縮率に基づいて、入力された画像データの色域を圧縮する色変換ステップとを有している。この方法では、例えば前述の色相保存変換法に基づく色変換が使用され、画像出力装置の色再現範囲内のグレー軸上の定点に向かう特定方向に関する識別性を向上することができる。しかし、前記方向に直交する方向に関しては、効果が無く、識別性を向上することができないという欠点があった。   The image processing method according to Non-Patent Document 1 includes a compression rate calculation step for calculating a compression rate of a color gamut when the color of input image data is converted into a color within a predetermined color reproduction range, and a compression A filtering step for filtering the compression rate calculated by the rate calculating step, and a color conversion step for compressing the color gamut of the input image data based on the compression rate to which the filtering step applied filtering. . In this method, for example, color conversion based on the above-described hue preservation conversion method is used, and it is possible to improve the discrimination with respect to a specific direction toward a fixed point on the gray axis within the color reproduction range of the image output apparatus. However, the direction perpendicular to the above direction has a disadvantage that there is no effect and the discrimination cannot be improved.

さらに、特許文献2の画像処理装置は、入力された画像データの色を変換するための補正量を算出する補正量算出手段と、補正量算出手段が算出した補正量に含まれる雑音を除去する雑音除去手段と、雑除去手段が雑音を除去した補正量に基づいて、入力された画像データの色を補正する色補正手段とを有している。   Furthermore, the image processing apparatus of Patent Literature 2 removes noise included in the correction amount calculated by the correction amount calculation unit that calculates the correction amount for converting the color of the input image data and the correction amount calculation unit. The noise removing unit and a color correcting unit that corrects the color of the input image data based on the correction amount from which the noise removing unit has removed the noise.

上記した画像処理装置は、画像データの彩度や明度を強調する際に、伝送路で受けた雑音の影響を受けにくくするため、雑音除去手段は1次元フィルタとなっており、雑音を含む画像データの彩度や明度を強調する補正量を算出後、画素周波数に近い高周波成分の雑音を除去してから、画像データの色を補正することで、彩度や明度を強調している。一方、ガマット処理では基本的に強調を行わない。また、識別性の劣化は、画像の2次元平面における画像データの変化が、消失または圧縮されてしまうために生じるものであるので、伝送路で受けるような雑音を除去しても回復できない、という欠点があった。   In the image processing apparatus described above, the noise removal means is a one-dimensional filter in order to reduce the influence of noise received on the transmission path when enhancing the saturation and lightness of the image data. After calculating a correction amount that enhances the saturation and lightness of the data, the high-frequency component noise close to the pixel frequency is removed, and then the color of the image data is corrected to enhance the saturation and lightness. On the other hand, the gamut processing basically does not emphasize. In addition, the deterioration of the discriminability occurs because the change in the image data in the two-dimensional plane of the image is lost or compressed, so that it cannot be recovered even if the noise received on the transmission path is removed. There were drawbacks.

本発明は上記した課題に鑑みてなされたもので、
本発明の目的(請求項1)は、入力された画像データを、画像出力装置の色再現範囲内の画像データに、変換する処理を行う画像処理装置において、高精度かつ簡単な構成でありながら、入力された画像データの識別性の劣化が少ない画像処理装置を提供することにある。
The present invention has been made in view of the above problems,
An object of the present invention (Claim 1) is an image processing apparatus that performs processing for converting input image data into image data within the color reproduction range of the image output apparatus, while having a high-precision and simple configuration. Another object of the present invention is to provide an image processing apparatus in which the input image data has little deterioration in identification.

また、本発明の目的(請求項2)は、請求項1の改良に関わり、入力された画像データの属性情報に応じ、画像データの識別性の劣化をより少なくすることができる画像処理装置を提供することにある。   An object of the present invention (Claim 2) relates to the improvement of Claim 1 and is an image processing apparatus capable of reducing the deterioration of the discrimination of the image data in accordance with the attribute information of the input image data. It is to provide.

また、本発明の目的(請求項3)は、請求項1または2の改良に関わり、入力された画像データの色の色相を保持しつつ、識別性の劣化を少なくすることができる画像処理装置を提供することにある。   An object of the present invention (Claim 3) relates to the improvement of Claim 1 or 2 and is an image processing apparatus capable of reducing the deterioration of discrimination while maintaining the hue of the color of the input image data. Is to provide.

また、本発明の目的(請求項4)は、請求項1乃至3の改良に関わり、画像処理装置をより簡単な構成で、識別性の劣化を少なくすることができる画像処理装置を提供することにある。   An object of the present invention (Claim 4) relates to the improvement of Claims 1 to 3, and provides an image processing apparatus having a simpler configuration and capable of reducing deterioration of discrimination. It is in.

また、本発明の目的(請求項5)は、高精度かつ簡単な構成でありながら、入力された画像データの識別性の劣化が少ない画像処理方法を提供することにある。   It is another object of the present invention (claim 5) to provide an image processing method that has a highly accurate and simple configuration and that has little deterioration in the discrimination of input image data.

また、本発明の目的(請求項6、7)は、請求項5記載の画像処理方法を実行するコードを有するプログラム、記憶媒体を提供することにある。   Another object of the present invention (claims 6 and 7) is to provide a program and a storage medium having a code for executing the image processing method according to claim 5.

本発明は、入力された画像データを、画像出力装置の色再現範囲内の画像データに、変換する処理を行う画像処理装置であって、前記入力された画像データの色を、第1の色再現範囲内の色に変換した際の、色の変化量を算出する変化量算出手段と、少なくとも前記変化量算出手段が算出した変化量の画像平面におけるエッジと低周波数成分を残すように、前記変化量算出手段が算出した注目の変化量を、平面的に近傍の変化量に基づいて修正する変化量修正手段と、前記変化量修正手段が修正した変化量に基づいて、前記入力された画像データの色を補正する色補正手段と、前記色補正手段が補正した画像データの色を、第2の色再現範囲内の色に、変換する色変換手段とを少なくとも有することを最も主要な特徴とする。   The present invention is an image processing apparatus that performs a process of converting input image data into image data within a color reproduction range of an image output apparatus, wherein the color of the input image data is a first color. The change amount calculating means for calculating the amount of change in color when converted to a color within the reproduction range, and at least the edges and low frequency components in the image plane of the change amount calculated by the change amount calculating means are left. A change amount correcting unit that corrects the target change amount calculated by the change amount calculating unit based on a change amount in the vicinity of the plane, and the input image based on the change amount corrected by the change amount correcting unit. The main features include at least color correction means for correcting the color of the data, and color conversion means for converting the color of the image data corrected by the color correction means into a color within the second color reproduction range. And

請求項1:入力された画像データを、画像出力装置の色再現範囲内の画像データに、変換する処理を行う画像処理装置であって、前記入力された画像データの色を、第1の色再現範囲内の色に変換した際の、色の変化量を算出する変化量算出手段と、少なくとも前記変化量算出手段が算出した変化量の画像平面におけるエッジと低周波数成分を残すように、前記変化量算出手段が算出した注目の変化量を、平面的に近傍の変化量に基づいて修正する変化量修正手段と、前記変化量修正手段が修正した変化量に基づいて、前記入力された画像データの色を補正する色補正手段と、前記色補正手段が補正した画像データの色を、第2の色再現範囲内の色に、変換する色変換手段とを少なくとも有することを特徴とする画像処理装置においては、画像平面におけるエッジと低周波数成分を残すように修正された変化量に基づいて、前記入力された画像データの色を補正し、画像出力装置等の第2の色再現範囲内の色に変換するので、高精度かつ簡単な構成でありながら、入力された画像データの識別性の劣化が少ない画像処理装置を実現することができた。   Claim 1: An image processing apparatus for performing processing for converting input image data into image data within a color reproduction range of the image output apparatus, wherein the color of the input image data is a first color. The change amount calculating means for calculating the amount of change in color when converted to a color within the reproduction range, and at least the edges and low frequency components in the image plane of the change amount calculated by the change amount calculating means are left. A change amount correcting unit that corrects the target change amount calculated by the change amount calculating unit based on a change amount in the vicinity of the plane, and the input image based on the change amount corrected by the change amount correcting unit. An image having at least color correction means for correcting the color of the data and color conversion means for converting the color of the image data corrected by the color correction means into a color within the second color reproduction range In the processing unit, Since the color of the input image data is corrected based on the amount of change corrected so as to leave the edge and the low frequency component in the plane, and converted into a color within the second color reproduction range of the image output device or the like Thus, it was possible to realize an image processing apparatus that has a high accuracy and a simple configuration and has little deterioration in the discrimination of input image data.

請求項2:前記入力された画像データの属性情報を設定する属性情報設定手段を有し、前記変化量算出手段は、前記属性情報設定手段が設定した属性に基づいて、色の変化量を算出することを特徴とする請求項1記載の画像処理装置においては、入力された画像データの属性情報に応じて色の変化量を算出することができるので、入力された画像データの属性情報に応じ、画像データの識別性の劣化をより少なくすることができる画像処理装置を実現することができた。   According to a second aspect of the present invention, there is provided attribute information setting means for setting attribute information of the input image data, and the change amount calculating means calculates a color change amount based on the attribute set by the attribute information setting means. The image processing apparatus according to claim 1, wherein the color change amount can be calculated according to the attribute information of the input image data, and therefore, according to the attribute information of the input image data. Thus, an image processing apparatus capable of further reducing the deterioration of the image data identification can be realized.

請求項3:前記変化量算出手段は、前記入力された画像データの色の色相を保持して第1の色再現範囲内の色に変換した際の色の変化量を算出することを特徴とする請求項1または2記載の画像処理装置においては、入力された画像データの色の色相を保持することができるので、入力された画像データの色の色相を保持しつつ、識別性の劣化を少なくすることができる画像処理装置を実現することができた。   According to a third aspect of the present invention, the change amount calculation unit calculates a color change amount when the color of the input image data is held and converted into a color within the first color reproduction range. The image processing apparatus according to claim 1 or 2, wherein the hue of the color of the input image data can be held, so that the distinctiveness is deteriorated while the hue of the color of the input image data is held. An image processing apparatus that can be reduced has been realized.

請求項4:画像データの解像度を小さくする低解像度変換手段と、前記低解像度変換手段に対応して画像データの解像度を元に戻す解像度復元手段とを有し、前記変化量算出手段は、前記低解像度変換手段により処理された前記入力された画像データの色を、第1の色再現範囲内の色に変換した際の、色の変化量を算出し、前記色補正手段は、前記解像度復元手段により処理された上記変化量修正手段が修正した変化量に基づいて、前記入力された画像データの色を補正することを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置においては、前記変化量算出手段および前記変化量修正手段が解像度を小さくした画像データまたは変化量を取り扱うことができるので、より簡単な構成で、識別性の劣化を少なくすることができる画像処理装置を実現することができた。   A fourth aspect of the present invention includes: a low-resolution conversion unit that reduces the resolution of the image data; and a resolution restoration unit that restores the resolution of the image data in response to the low-resolution conversion unit. A color change amount is calculated when the color of the input image data processed by the low resolution conversion means is converted into a color within the first color reproduction range, and the color correction means is configured to restore the resolution. 4. The image processing according to claim 1, wherein a color of the input image data is corrected based on a change amount corrected by the change amount correction unit processed by the unit. 5. In the apparatus, since the change amount calculating means and the change amount correcting means can handle image data or change amounts with a reduced resolution, it is possible to reduce deterioration of discrimination with a simpler configuration. It was possible to realize an image processing apparatus.

請求項5:入力された画像データを、画像出力装置の色再現範囲内の画像データに、変換する処理を行う画像処理方法であって、前記入力された画像データの色を、第1の色再現範囲内の色に変換した際の、色の変化量を算出する変化量算出工程と、少なくとも前記変化量算出工程が算出した変化量の画像平面におけるエッジと低周波数成分を残すように、前記変化量算出工程が算出した注目の変化量を、平面的に近傍の変化量に基づいて修正する変化量修正工程と、前記変化量修正工程が修正した変化量に基づいて、前記入力された画像データの色を補正する色補正工程と、前記色補正工程が補正した画像データの色を、第2の色再現範囲内の色に、変換する色変換工程とを少なくとも有することを特徴とする画像処理方法においては、画像平面におけるエッジと低周波数成分を残すように修正された変化量に基づいて、前記入力された画像データの色を補正し、画像出力装置等の第2の色再現範囲内の色に変換するので、高精度かつ簡単な構成でありながら、入力された画像データの識別性の劣化が少ない画像処理方法を実現することができた。   Claim 5: An image processing method for performing a process of converting input image data into image data within a color reproduction range of an image output device, wherein the color of the input image data is a first color. A change amount calculation step for calculating a color change amount when converted to a color within the reproduction range, and at least an edge in the image plane of the change amount calculated by the change amount calculation step and a low frequency component are left. A change amount correcting step for correcting the target change amount calculated by the change amount calculating step based on a change amount in the vicinity of the plane, and the input image based on the change amount corrected by the change amount correcting step. An image comprising at least a color correction step for correcting the color of the data, and a color conversion step for converting the color of the image data corrected by the color correction step into a color within the second color reproduction range In the processing method, Since the color of the input image data is corrected based on the amount of change corrected so as to leave the edge and the low frequency component in the plane, and converted into a color within the second color reproduction range of the image output device or the like Thus, it was possible to realize an image processing method that has a high accuracy and a simple configuration, and has little deterioration in the discrimination of the input image data.

請求項6:請求項5記載の画像処理方法をコンピュータに実現させるためのプログラムを実現することができた。   Claim 6: A program for causing a computer to implement the image processing method according to claim 5 can be realized.

請求項7:請求項5記載の画像処理方法をコンピュータに実現させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体を実現することができた。   Claim 7: A computer-readable recording medium on which a program for causing a computer to implement the image processing method according to claim 5 is recorded.

実施例1の画像処理システムの構成を示す。1 shows a configuration of an image processing system according to a first embodiment. 明度変換部による明度変換を説明する図である。It is a figure explaining the lightness conversion by a lightness conversion part. 明度変換部の構成を示す。The structure of a lightness conversion part is shown. 出力可能色域の最高明度と最低明度が無彩でない場合の補正例を示す。An example of correction when the maximum lightness and the minimum lightness of the output gamut are not achromatic is shown. 色相保存変換法を説明する図である。It is a figure explaining the hue preservation | save conversion method. 変化量算出部の構成を示す。The structure of a variation | change_quantity calculation part is shown. 変化量修正部による修正を説明する図である。It is a figure explaining the correction by the variation correction part. 変化量修正部が実施する処理を説明する図である。It is a figure explaining the process which a variation | change_quantity correction part implements. 実施例2の画像処理システムの構成を示す。2 shows a configuration of an image processing system according to a second embodiment. 実施例3の画像処理システムの構成を示す。3 shows a configuration of an image processing system according to a third embodiment. 実施例4の画像処理方法に係る処理フローチャートを示す。9 is a process flowchart according to an image processing method of Embodiment 4.

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

図1は、本発明の実施例1の画像処理システムの構成を示す。図1において、101は画像入力装置、102は画像処理装置、103は画像出力装置である。画像入力装置101は、例えば風景や人物等を撮影して画像データとして記憶するデジタルスチルカメラ、原稿等を走査して画像データを生成するカラースキャナ、あるいは上述した画像データ等を記憶した記憶媒体(例えばSDメモリやハードディスク・ドライブ等)と該記憶媒体の読み書きを制御する制御部等からなる補助記憶装置(ストレージ)が該当し、画像データ(以下では原画像データと呼ぶ)を画像処理装置102に出力する装置である。ここで、画像入力装置101が出力する原画像データは、その表色形式が、該原画像データに埋め込まれているICCプロファイルや、画像入力装置101と画像処理装置102との通信等によって、明示的に決められているものとする。あるいは、sRGBやAdobe(登録商標)RGB等の標準的な表色形式が、その表色形式として暗黙のうちに決められていても良い。いずれにせよ、画像入力装置101は画像処理装置102に、表色形式が定まっている原画像データを出力する。尚、以下では、画像入力装置101としてデジタルスチルカメラ、原画像データの表色形式としてAdobeRGBが通信により決められているものとして説明するが、本発明はこの限りでないことは勿論である。   FIG. 1 shows a configuration of an image processing system according to a first embodiment of the present invention. In FIG. 1, 101 is an image input device, 102 is an image processing device, and 103 is an image output device. The image input device 101 is, for example, a digital still camera that shoots a landscape or a person and stores it as image data, a color scanner that scans a document or the like to generate image data, or a storage medium that stores the above-described image data or the like ( For example, an auxiliary storage device (storage) including a control unit that controls reading and writing of the storage medium corresponds to an SD memory, a hard disk drive, and the like, and image data (hereinafter referred to as original image data) is transferred to the image processing device 102. It is a device that outputs. Here, the original image data output from the image input apparatus 101 has its color specification format specified by an ICC profile embedded in the original image data, communication between the image input apparatus 101 and the image processing apparatus 102, or the like. It is assumed that Alternatively, a standard color specification format such as sRGB or Adobe (registered trademark) RGB may be implicitly determined as the color specification format. In any case, the image input apparatus 101 outputs original image data in which the color specification format is determined to the image processing apparatus 102. In the following description, it is assumed that a digital still camera is used as the image input device 101 and Adobe RGB is determined by communication as the color format of the original image data, but the present invention is not limited to this.

画像処理装置102は、画像出力装置103の出力可能な色域を超えている画像入力装置101からの原画像データを、画像出力装置103の色域内に変換する等の処理を行う。   The image processing apparatus 102 performs processing such as converting original image data from the image input apparatus 101 that exceeds the color gamut that the image output apparatus 103 can output into the color gamut of the image output apparatus 103.

また、画像出力装置103は、例えば画像データを画面上に表示するLCDディスプレイ、画像データを紙等の記録媒体に記録するカラープリンタ等が該当し、画像処理装置102が出力した画像データ(以下では出力画像データと呼ぶ)を可視化出力する装置である。尚、以下では、画像出力装置103としてカラープリンタが使用される例を説明するが、本発明はこの限りでないことは勿論である。   The image output device 103 corresponds to, for example, an LCD display that displays image data on a screen, a color printer that records image data on a recording medium such as paper, and the like. This is a device that visualizes and outputs output image data. In the following, an example in which a color printer is used as the image output apparatus 103 will be described, but the present invention is not limited to this.

画像処理装置102は、表色変換部104、明度変換部105、変化量算出部106、変化量修正部107、色補正部108、色変換部109等から構成されている。   The image processing apparatus 102 includes a color conversion unit 104, a lightness conversion unit 105, a change amount calculation unit 106, a change amount correction unit 107, a color correction unit 108, a color conversion unit 109, and the like.

ここで、本実施例の画像処理装置102内部では、画像データの色を、主にLCh表色値で取り扱うものとする。LCh表色値とは、CIELAB表色値を円筒座標系に変換した値である。即ち、上述したように本実施例では表色形式がAdobeRGBの原画像データが入力されるので、表色変換部104は、入力された画像データの色をCIELAB表色値に変換し、更に円筒座標系(LCh1)に変換する処理を行っている。   Here, in the image processing apparatus 102 of the present embodiment, the color of the image data is mainly handled by the LCh color value. The LCh color specification value is a value obtained by converting the CIELAB color specification value into a cylindrical coordinate system. That is, as described above, in the present embodiment, since the original image data having the colorimetric format AdobeRGB is input, the colorimetric conversion unit 104 converts the color of the input image data into CIELAB colorimetric values, and further the cylinder. A process of converting to the coordinate system (LCh1) is performed.

具体的には、AdobeRGBの8ビットの画素値をR’,G’,B’とすると、 Specifically, assuming that the 8-bit pixel values of AdobeRGB are R ′ 8 , G ′ 8 , and B ′ 8 ,

Figure 2010251883
によって、CIEXYZ(D50)に変換し、
Figure 2010251883
To convert to CIEXYZ (D50),

Figure 2010251883
によって、CIELAB(D50)に変換し、
Figure 2010251883
To convert to CIELAB (D50),

Figure 2010251883
によって、Chに変換する。
Figure 2010251883
To convert to Ch.

また、明度変換部105は、原画像データが表現可能な明度域と画像出力装置103が出力可能な明度域等に基づいて、画像出力装置103の明度域内に原画像データの明度を変換して出力(LCh2)するブロックである。ここで、原画像データが表現可能な明度域は、上述の表色形式によって定まる。例えばAdobeRGBでは明度L=0〜100である。また、画像出力装置103が出力可能な明度域は、画像出力装置103が出力可能な色域によって定まる。例えばカラープリンタでは、明度域の上限はカラープリンタで使用する記録媒体で、明度域の下限はコンポジットブラック等を該記録媒体に記録した時の明度で定まる。 Further, the lightness conversion unit 105 converts the lightness of the original image data into the lightness region of the image output device 103 based on the lightness region in which the original image data can be expressed and the lightness region in which the image output device 103 can output. This is a block for outputting (LCh2). Here, the brightness range that can represent the original image data is determined by the above-described color specification format. For example, in Adobe RGB, the lightness L * = 0 to 100. Further, the brightness range that can be output by the image output apparatus 103 is determined by the color gamut that can be output by the image output apparatus 103. For example, in a color printer, the upper limit of the brightness range is determined by the recording medium used in the color printer, and the lower limit of the brightness range is determined by the brightness when composite black or the like is recorded on the recording medium.

尚、本実施例では、画像出力装置103が出力可能な色域が、画像出力装置103から画像処理装置102に通信によって知らされており、画像出力装置103が出力可能な色域から、明度変換部105は出力可能な明度域、即ち、明度の上下限を抽出して明度変換に使用する。   In this embodiment, the color gamut that can be output by the image output apparatus 103 is notified from the image output apparatus 103 to the image processing apparatus 102 by communication, and the color conversion is performed from the color gamut that can be output by the image output apparatus 103. The unit 105 extracts the brightness range that can be output, that is, the upper and lower limits of the brightness, and uses them for the brightness conversion.

尚、画像出力装置103が出力可能な色域の連絡は、これに限らず、例えば画像出力装置103のICCプロファイルを画像処理装置102に直接供給する等の方法を用いて知らせても良い。   The communication of the color gamuts that can be output by the image output apparatus 103 is not limited to this, and may be notified using a method such as directly supplying the ICC profile of the image output apparatus 103 to the image processing apparatus 102, for example.

次に、明度変換部105が行う変換を図2を用いて説明する。図2(a)は、LCh色空間を明度軸で切断した断面図で、原画像データが表現可能な色域と画像出力装置103が出力可能な色域との関係の一例を示している。図示したように、原画像データが表現可能な色域は、画像出力装置103が出力可能な色域よりも一般に大きく、特に明度軸方向の範囲(明度範囲)は、包含関係にあることが多い。このため、明度変換部105は、画像出力装置103の明度域内に原画像データの明度範囲を圧縮変換して、画像出力装置でその画像データ(以下、明度変換画像データと呼ぶ)の明度を滑らかに再現できるようにする。   Next, the conversion performed by the lightness conversion unit 105 will be described with reference to FIG. FIG. 2A is a cross-sectional view of the LCh color space cut along the brightness axis, and shows an example of the relationship between the color gamut that can represent the original image data and the color gamut that the image output apparatus 103 can output. As shown in the figure, the color gamut that can represent the original image data is generally larger than the color gamut that the image output device 103 can output, and the range in the lightness axis direction (lightness range) is often in an inclusive relationship. . For this reason, the lightness conversion unit 105 compresses and converts the lightness range of the original image data within the lightness range of the image output device 103, and smoothes the lightness of the image data (hereinafter referred to as lightness converted image data) by the image output device. To be able to reproduce.

図2(b)の実線は、その明度変換特性の一例を示しており、原画像データが表現可能な明度範囲を、画像出力装置103が出力可能な明度範囲に対して直線的に変換している。   The solid line in FIG. 2B shows an example of the brightness conversion characteristic. The brightness range that can be expressed by the original image data is linearly converted with respect to the brightness range that can be output by the image output device 103. Yes.

また図2(c)は、上述した変換を施した後の画像データ(明度変換画像データ)が表現可能な色域と画像出力装置103が出力可能な色域との関係を示しており、画像出力装置103の明度範囲内に原画像データの明度が変換された様子を示している。   FIG. 2C shows the relationship between the color gamut that can express the image data (lightness conversion image data) after the above-described conversion and the color gamut that the image output device 103 can output. A state in which the brightness of the original image data is converted within the brightness range of the output device 103 is shown.

尚、以上では明度変換を直線的に行ったが、明度範囲の上下限が一致して途中が単純増加になっていれば、本発明はこれに限るものでない。例えば図2(b)の破線のようなS字形状の非線形な変換を用いても良い。   In the above description, the lightness conversion is performed linearly. However, the present invention is not limited to this as long as the upper and lower limits of the lightness range coincide and the middle is simply increased. For example, an S-shaped non-linear transformation such as a broken line in FIG. 2B may be used.

また、上述したような明度変換部105の詳細ブロック図を図3に示す。図3において、301は1DLUT(1次元ルック・アップ・テーブル)であり、図2(b)に示したような明度変換特性を記載した1次元テーブルによって、原画像データの明度を変換する。   A detailed block diagram of the brightness conversion unit 105 as described above is shown in FIG. In FIG. 3, reference numeral 301 denotes a 1DLUT (one-dimensional look-up table), which converts the lightness of the original image data using a one-dimensional table describing the lightness conversion characteristics as shown in FIG.

また、以上では説明を容易にするため、原画像データが表現可能な最高明度と最低明度、画像出力装置103が出力可能な最高明度と最低明度が、それぞれ無彩(C=0)である例を示したが、本発明はこれに限るものでない。例えば、図4(a)に示したように、画像出力装置103が出力可能な最高明度(点401)が無彩でない場合(C≠0)、同じ明度の無彩色(点402)とするための色度修正量(Δa,Δb)で、出力可能な最高明度点を補正する。また、画像出力装置103が出力可能な色域は、その明度に応じて上記色度修正量を重み付けし、出力可能な色域を補正することで、同様に取り扱えるようになる。また、図4(b)に示したように、画像出力装置103が出力可能な最低明度(点403)が無彩でない場合(C≠0)は、無彩で最低明度となる点(点404)を、画像出力装置103が出力可能な最低明度と見なすことで、同様に取り扱えるようになる。 In addition, for the sake of easy explanation, the maximum brightness and the minimum brightness that can represent the original image data, and the maximum brightness and the minimum brightness that can be output by the image output device 103 are each achromatic (C * = 0). Although an example is shown, the present invention is not limited to this. For example, as shown in FIG. 4A, when the maximum brightness (point 401) that can be output by the image output apparatus 103 is not achromatic (C * ≠ 0), an achromatic color (point 402) having the same brightness is used. Therefore, the maximum lightness point that can be output is corrected with the chromaticity correction amount (Δa * , Δb * ). The color gamut that can be output by the image output device 103 can be handled in the same manner by weighting the chromaticity correction amount according to the lightness and correcting the color gamut that can be output. Further, as shown in FIG. 4B, when the minimum lightness (point 403) that can be output by the image output apparatus 103 is not achromatic (C * ≠ 0), the point (point 404) is regarded as the minimum lightness that can be output by the image output apparatus 103, it can be handled similarly.

再度、図1を参照すると、変化量算出部106は、前記明度変換部105が出力した画像データの色を、所定の色再現範囲内の色に変換した際の、色の変化量(ΔLCh1)を算出するブロックである。ここで、所定の色再現範囲とは、例えば前述した画像出力装置103の色再現範囲あるいはそれを補正した色再現範囲である。また、その際の変換の方法としては、例えば、上述した代表的な変換方法を使用することができる。尚、以下では、色相保存変換法を使用した場合を例に説明するが、本発明はこれに限るものではない。   Referring to FIG. 1 again, the change amount calculating unit 106 changes the color change amount (ΔLCh1) when the color of the image data output from the lightness conversion unit 105 is converted into a color within a predetermined color reproduction range. Is a block for calculating. Here, the predetermined color reproduction range is, for example, the color reproduction range of the image output device 103 described above or a color reproduction range obtained by correcting the color reproduction range. Further, as the conversion method at that time, for example, the above-described typical conversion method can be used. In the following, a case where the hue preservation conversion method is used will be described as an example, but the present invention is not limited to this.

図5に、色相保存変換法の説明図を示す。図5は、LCh色空間を明度軸で切断した断面図であり、明度変換後画像データが表現可能な色域と画像出力装置103が出力可能な色域との関係の一例を示している。ここでは、明度軸で切断しているので、明度軸を境とする2つの色相面が表示されている。色相保存変換法は、画像出力装置の色再現範囲外の色についてのみ、色相を保存したまま、画像出力装置の色再現範囲内のグレー軸上の定点に向かって、画像出力装置の色再現範囲の最外郭に貼り付ける方法である。図5の例では、グレー軸上の定点として、画像出力装置の色再現範囲の各色相における最高彩度点と同じ明度を有するグレー軸上の点を使用する。即ち、最高彩度点501に対するグレー軸上の点502、および、最高彩度点503に対するグレー軸上の点504に向って、画像出力装置の色再現範囲の最外郭に貼り付ける。従って、明度変換後画像データ505は、画像出力装置の色再現範囲の最外郭506に貼り付けられる。また、明度変換後画像データ508は、画像出力装置の色再現範囲の最外郭509に貼り付けられる。そして、明度変換後画像データ505に対応する変化量が507で示されるベクトルであり、明度変換後画像データ508に対応する変化量が510で示されるベクトルとなる。尚、色相保存変換法では、色相を保存したまま貼り付けを行うので、ベクトル507あるいは510等で示される変化量は、色相差に相当する成分を持たず、明度差と彩度差で表現することができる。   FIG. 5 is an explanatory diagram of the hue preservation conversion method. FIG. 5 is a cross-sectional view of the LCh color space cut along the lightness axis, and shows an example of the relationship between the color gamut that can express image data after lightness conversion and the color gamut that the image output device 103 can output. Here, since it is cut along the lightness axis, two hue planes with the lightness axis as a boundary are displayed. In the hue preservation conversion method, only the color outside the color reproduction range of the image output device is stored in the color reproduction range of the image output device toward the fixed point on the gray axis within the color reproduction range of the image output device while keeping the hue. This is a method of pasting to the outermost shell. In the example of FIG. 5, a point on the gray axis having the same brightness as the highest saturation point in each hue of the color reproduction range of the image output apparatus is used as the fixed point on the gray axis. That is, it is pasted on the outermost part of the color reproduction range of the image output device toward the point 502 on the gray axis with respect to the highest saturation point 501 and the point 504 on the gray axis with respect to the highest saturation point 503. Accordingly, the brightness-converted image data 505 is pasted on the outermost contour 506 of the color reproduction range of the image output apparatus. Further, the brightness-converted image data 508 is pasted on the outermost contour 509 of the color reproduction range of the image output apparatus. A change amount corresponding to the image data 505 after brightness conversion is a vector indicated by 507, and a change amount corresponding to the image data 508 after brightness conversion is a vector indicated by 510. In the hue preservation conversion method, since the pasting is performed while the hue is preserved, the change amount indicated by the vector 507 or 510 does not have a component corresponding to the hue difference, and is expressed by a lightness difference and a saturation difference. be able to.

変化量算出部106は、例えば図6に示すように、LCh表色値を入力とする3DLUT(3次元ルック・アップ・テーブル)601〜603で構成することができる。即ち、3DLUTには、LCh色空間を代表する格子点に対して、前述した色相保存変換法で、画像出力装置103の色再現範囲の色に変換した際の色の変化量が、色相差(Δh、但し本実施例ではΔh=0)、明度差(ΔL)、彩度差(ΔC)毎に記憶されており、任意のLCh色空間座標に対して、近傍の格子点座標と変化量に基づく補間演算を行って、それぞれの変化量を算出する。   For example, as illustrated in FIG. 6, the change amount calculation unit 106 can be configured by 3DLUTs (three-dimensional look-up tables) 601 to 603 that receive LCh color values. That is, in the 3DLUT, the amount of change in color when a lattice point representing the LCh color space is converted to a color in the color reproduction range of the image output device 103 by the above-described hue preservation conversion method, the hue difference ( Δh, where Δh = 0 in this embodiment, lightness difference (ΔL), and saturation difference (ΔC) are stored for each LCh color space coordinate in the vicinity of the lattice point coordinates and the amount of change. Based on the interpolation calculation based on this, each change amount is calculated.

再度、図1を参照すると、変化量修正部107は、前記変化量算出部106が出力した変化量(ΔLCh1)の画像平面におけるエッジと低周波数成分を残すように、前記変化量算出手段が算出した注目の変化量を、平面的に近傍の前記変化量算出手段が算出した変化量に基づいて修正して出力(ΔLCh2)するブロックである。   Referring to FIG. 1 again, the change amount correction unit 107 calculates the change amount calculation means so that the edge and low frequency components of the change amount (ΔLCh1) output from the change amount calculation unit 106 remain in the image plane. This is a block that corrects and outputs (ΔLCh2) the noticed change amount based on the change amount calculated by the change amount calculating means in the vicinity in a plan view.

以下では、図7を用いて、変化量修正部107が行う修正を説明する。図7(a)は、画像の一例であり、明度変換後画像データが、画像出力装置103が出力可能な色域外となっている領域701と、色域内となっている領域702がある。また、画像の破線703上の画素の彩度を、プロットしたものを図7(b)に示す。   Hereinafter, the correction performed by the change amount correction unit 107 will be described with reference to FIG. FIG. 7A is an example of an image, and there are an area 701 in which the image data after lightness conversion is out of the color gamut that can be output by the image output apparatus 103 and an area 702 in the color gamut. FIG. 7B shows a plot of the saturation of the pixels on the broken line 703 of the image.

図7(b)において、横軸は画素位置、縦軸は彩度を表しており、模式的に示した画像出力装置103が出力可能な色域704に対して、領域701に対応する範囲705では高彩度、即ち、色域外、領域702に対応する範囲706、707では低彩度、即ち、色域内であることが示されている。尚、ここで示した出力可能な色域704は、各画素の色空間上の座標と上述したグレー軸上の定点と結ぶ直線、あるいはその延長線と、画像出力装置の色再現範囲の最外郭との交点における彩度に対応する。また、この彩度は、本来、各画素に対して一定とならないが、図7(b)では便宜上一定として示している。変化量算出部106が算出する変化量(彩度)は、領域701に対応する範囲では矢印708に対応し、領域702に対応する範囲では0となる。   In FIG. 7B, the horizontal axis represents the pixel position, and the vertical axis represents the saturation. A range 705 corresponding to the region 701 with respect to the color gamut 704 that can be output by the image output apparatus 103 schematically illustrated. In FIG. 4, high saturation, that is, out of the color gamut, and ranges 706 and 707 corresponding to the region 702 indicate low saturation, that is, in the color gamut. The color gamut 704 that can be output is the straight line connecting the coordinates in the color space of each pixel and the fixed point on the gray axis described above, or its extension line, and the outermost outline of the color reproduction range of the image output apparatus. Corresponds to the saturation at the intersection with. Further, this saturation is not originally constant for each pixel, but is shown as constant for convenience in FIG. 7B. The change amount (saturation) calculated by the change amount calculation unit 106 corresponds to the arrow 708 in the range corresponding to the region 701, and is 0 in the range corresponding to the region 702.

図7(c)に、画像の破線703上の画素の変化量(彩度)709を示す。図7(c)において、横軸は画素位置、縦軸は変化量(彩度)を表している。   FIG. 7C shows a pixel change amount (saturation) 709 on the broken line 703 of the image. In FIG. 7C, the horizontal axis represents the pixel position, and the vertical axis represents the amount of change (saturation).

変化量修正部107は、変化量の画像平面におけるエッジと低周波数成分を残すように、変化量を修正する。ここで、低周波成分を残すとは、裏返すと高周波成分を除去することを意味し、例えば画像平面上で平滑化フィルタを施すことで実現できる。また、エッジを残すとは、エッジ情報を残すことを意味する。即ち、一般的に平滑化フィルタを施すとエッジ情報も平滑化されてエッジ情報も消滅する方向に処理されるが、エッジが存在する場合は、例えばエッジを境にそれぞれの側のみで平滑化処理することで、エッジと低周波数成分を残すように処理することが出来る。図7(d)は、その一例を示したものであり、エッジを境に、領域701に対応する範囲と、領域702に対応する範囲でそれぞれ平滑化フィルタを施すと、710に示すような処理結果が得られることを示す。即ち、領域701に対応する範囲では、変化量が平滑化されて、より変化量の変動が緩やかになっている。一方、領域702に対応する範囲では、領域701に対応する範囲の変化量が遮断されて影響を受けず、変化量が0のままとなっている。即ち、エッジと低周波数成分を保存した処理が実現される。   The change amount correcting unit 107 corrects the change amount so as to leave an edge and a low frequency component in the image plane of the change amount. Here, leaving the low frequency component means removing the high frequency component when turned over, and can be realized by applying a smoothing filter on the image plane, for example. Further, leaving an edge means leaving edge information. In other words, generally, when a smoothing filter is applied, the edge information is also smoothed and processed in a direction in which the edge information disappears. If there is an edge, for example, the smoothing process is performed only on each side of the edge. By doing so, processing can be performed so as to leave edges and low frequency components. FIG. 7D shows an example. When a smoothing filter is applied in the range corresponding to the region 701 and the range corresponding to the region 702 with the edge as a boundary, the processing as shown in 710 is performed. Indicates that the result is obtained. That is, in the range corresponding to the region 701, the amount of change is smoothed, and the variation of the amount of change is more gradual. On the other hand, in the range corresponding to the region 702, the change amount of the range corresponding to the region 701 is blocked and is not affected, and the change amount remains zero. That is, processing that preserves edges and low frequency components is realized.

次に、変化量修正部107が実施する処理(エッジと低周波数成分を保存するように、変化量に対して空間フィルタ処理を施す)の一例を図8に示し、説明する。図8(a)は、変化量修正部107の処理フロー図である。変化量修正部107は、はじめに、画像データ中の注目画素の位置ポインタを初期化する(ステップ801)。   Next, an example of processing performed by the variation correction unit 107 (spatial filter processing is performed on the variation so as to preserve edges and low-frequency components) will be described with reference to FIG. FIG. 8A is a processing flowchart of the change amount correction unit 107. First, the change amount correcting unit 107 initializes the position pointer of the target pixel in the image data (step 801).

次に、変化量修正部107は、注目画素の変化量Cを抽出する(ステップ802)。次に、変化量修正部107は、点対称ペアの位置ポインタを初期化する(ステップ803)。ここで、変化量修正部107は所定の処理範囲を有しており、注目画素をその範囲の中心画素とする。図8(b)に所定の処理範囲を7×7画素とした例の、注目画素821の位置を示す。また、変化量修正部107は、注目画素821を中心として点対象位置にある画素のペア(例えば、画素822と823、画素824と825等)の変化量を比較して、注目画素821の変化量に近いものを選択する。そして、図8(c)に例示したような、あらかじめ決定されている加重係数を乗算し(例えば、画素824、825の変化量には、それぞれ係数2を乗算、×印の注目画素821の変化量Cには係数4を乗算)、それを処理範囲全体に渡って集計する。例えば、図8(b)のように処理範囲を7×7画素とした場合は、点対象位置にある画素のペアは、(7x7−1)÷2=24となる。   Next, the change amount correcting unit 107 extracts the change amount C of the target pixel (step 802). Next, the variation correction unit 107 initializes the position pointer of the point-symmetric pair (step 803). Here, the change amount correction unit 107 has a predetermined processing range, and the target pixel is set as the center pixel of the range. FIG. 8B shows the position of the pixel of interest 821 in an example in which the predetermined processing range is 7 × 7 pixels. Further, the change amount correcting unit 107 compares the change amount of a pair of pixels (for example, the pixels 822 and 823, the pixels 824 and 825, etc.) at the point target position with the target pixel 821 as the center, and changes the target pixel 821. Choose the one that is close to the amount. Then, a predetermined weighting coefficient as illustrated in FIG. 8C is multiplied (for example, the change amount of the pixels 824 and 825 is multiplied by the coefficient 2 respectively, and the change of the pixel of interest 821 indicated by “X”). The amount C is multiplied by a coefficient 4), and this is totaled over the entire processing range. For example, when the processing range is 7 × 7 pixels as shown in FIG. 8B, the pixel pair at the point target position is (7 × 7-1) ÷ 2 = 24.

再度、図8(a)に注目すると、点対称ペアの位置ポインタを初期化した後、ポインタで示される点対称ペアの変化量(それぞれ、AとBとする)を取得する(ステップ804)。   Referring again to FIG. 8A, after initializing the position pointer of the point symmetric pair, the amount of change of the point symmetric pair indicated by the pointer (referred to as A and B, respectively) is acquired (step 804).

次に、注目画素の変化量Cと点対称ペアの変化量A,Bと差を比較して(ステップ805)、注目画素821の変化量Cに近いものを重み付け加算する(変化量AとCの差分の方が小さいときには、ステップ806で変化量Aを選択して変化量Aを重み付け加算し、変化量BとCの差分の方が小さいときには、ステップ807で変化量Bを選択して変化量Bを重み付け加算する)。また、差が等しい場合は、変化量AとBを比較し(ステップ808)、等しければ、どちらか(図8(a)ではB)を重み付け加算する。一方、等しくなければ、変化量AとBの平均、即ち、変化量Cを重み付け加算する(ステップ809)。   Next, the difference C between the change amount C of the target pixel and the change amounts A and B of the point symmetric pair are compared (step 805), and the one close to the change amount C of the target pixel 821 is weighted and added (change amounts A and C). When the difference is smaller, the change amount A is selected at step 806 and the change amount A is weighted and added. When the difference between the change amounts B and C is smaller, the change amount B is selected and changed at step 807. The amount B is weighted and added). If the difference is equal, the change amounts A and B are compared (step 808), and if they are equal, either (B in FIG. 8A) is weighted and added. On the other hand, if they are not equal, the average of the change amounts A and B, that is, the change amount C is weighted and added (step 809).

そして、全ての画素ペアの処理が済んだか否かを判断して、未処理であれば点対称ペアの位置ポインタを次に動かして、ステップ804〜809の処理を繰り返す(ステップ810)。また、全ての画素ペアの処理が終了していれば、重み付け加算結果から変化量の加重平均(注目画素821の重み付け加算結果を、重み付け加算した画素位置の係数の総和で割る)を算出して、修正された変化量を得る(ステップ811)。   Then, it is determined whether or not all pixel pairs have been processed, and if not processed, the position pointer of the point-symmetric pair is moved to the next, and the processing of steps 804 to 809 is repeated (step 810). Also, if the processing of all pixel pairs has been completed, the weighted average of the amount of change is calculated from the weighted addition result (the weighted addition result of the pixel of interest 821 is divided by the sum of the coefficients of the pixel positions subjected to weighted addition). Then, the corrected change amount is obtained (step 811).

そして、画像データの全画素を注目画素として処理したか判断して、未処理であれば注目画素の位置ポインタを次に動かして、ステップ802〜811の処理を繰り返す(ステップ812)。また、画像データの全画素の処理が終了していれば、変化量修正の処理を終了する。   Then, it is determined whether all the pixels of the image data have been processed as the target pixel. If the target pixel is not processed, the position pointer of the target pixel is moved to the next, and the processes in steps 802 to 811 are repeated (step 812). If the processing of all the pixels of the image data has been completed, the change amount correction processing is terminated.

上述した処理によると、例えば、図8(d)のように変化量の直線エッジが注目画素821近傍に存在する場合、注目画素821に近い変化量が集計されて(斜線部の加重平均をとる)、修正された変化量は、変化量のエッジを効率よく保存したものとなる。   According to the above-described processing, for example, when a linear edge of the amount of change exists in the vicinity of the target pixel 821 as shown in FIG. 8D, the amount of change close to the target pixel 821 is aggregated (weighted average of the hatched portion). ), The modified change amount is an efficient preservation of the change amount edge.

尚、本発明の変化量修正部107の処理は、上述したものに限るものではない。例えば、図8(e)に示すように、注目画素821を中心として点対象位置にある4方向の画素(例えば、画素826〜829等)の変化量を比較して、注目画素821の変化量に最も近いものを選択、重み付け加算するようにしても良い。この場合、例えば、図8(f)のように変化量の直角エッジが注目画素821近傍に存在する場合、修正された変化量は、変化量のエッジを効率よく保存したものとなる。   Note that the processing of the variation correction unit 107 of the present invention is not limited to the above-described one. For example, as shown in FIG. 8E, the amount of change of the pixel of interest 821 is compared by comparing the amount of change of pixels in four directions (for example, the pixels 826 to 829) at the point target position with the pixel of interest 821 as the center. It is also possible to select and weight-add the one closest to. In this case, for example, when a right-angled edge of the change amount exists in the vicinity of the target pixel 821 as shown in FIG. 8F, the corrected change amount is an efficiently stored edge of the change amount.

また、以上では彩度の変化量の処理に着目して説明を行ったが、明度、更に、場合によっては色相の変化量に関しても同様であるので、説明は省略する。   Further, the description has been given focusing on the processing of the amount of change in saturation, but the description is omitted because the same applies to the lightness and, in some cases, the amount of change in hue.

再度、図1を参照すると、色補正部108は、前記変化量修正部107が修正した変化量(ΔLCh2)に基づいて、明度変換部105が出力する明度変換画像データ(LCh2)の色を補正して、色補正画像データ(LCh3)を出力するブロックである。ここで、変化量(ΔLCh2)の各成分を、(ΔL2,ΔC2,Δh2)、明度変換画像データの各成分を(L2,C2,h2)、色補正画像データの各成分を(L3,C3,h3)とすると、色補正部108は例えば以下のような処理により、補正を実施する。 Referring to FIG. 1 again, the color correction unit 108 corrects the color of the lightness-converted image data (LCh2) output by the lightness conversion unit 105 based on the change amount (ΔLCh2) corrected by the change amount correction unit 107. Thus, the color correction image data (LCh3) is output. Here, each component of variation (ΔLCh2), (ΔL2 *, ΔC2 *, Δh2 *), the components of the brightness conversion image data (L2 *, C2 *, h2 *), each component of the color corrected image data Is (L3 * , C3 * , h3 * ), the color correction unit 108 performs correction by the following processing, for example.

Figure 2010251883
尚、本実施例では、色相保存変換法を使用しているので、Δh2=0である。
Figure 2010251883
In this embodiment, since the hue preserving conversion method is used, Δh2 * = 0.

また、図7(a)の画像の破線703上の補正された彩度711を図7(e)に示す。図7(e)に示したように、補正された彩度711は、画像出力装置103が出力可能な色域704に近傍に移動するが、最外郭に張り付くことなく、明度変換画像データが有していた彩度変化の情報(低周波数成分)を保持している。   FIG. 7E shows the corrected saturation 711 on the broken line 703 in the image of FIG. As shown in FIG. 7E, the corrected saturation 711 moves to the vicinity of the color gamut 704 that can be output by the image output apparatus 103, but does not stick to the outermost contour, and the brightness-converted image data is present. The information on the change in saturation (low frequency component) is retained.

再度、図1を参照すると、色変換部109は、前記色補正部108が出力した色補正画像データ(LCh3)を、前述した画像出力装置103の色再現範囲あるいはそれを補正した色再現範囲の色に変換するブロックである。その際の変換の方法としては、例えば、色相保存変換法を始めとする上述した代表的な変換方法を使用することができる。尚、本実施例では、画像出力装置103としてカラープリンタが使用しているので、色変換部109が出力する出力画像データは、カラープリンタで使用されるシアン(C),マゼンタ(M),イエロー(Y)及び黒(K)の色材記録信号(CMYK)となっている。   Referring to FIG. 1 again, the color conversion unit 109 converts the color correction image data (LCh3) output from the color correction unit 108 into the color reproduction range of the image output device 103 described above or a color reproduction range obtained by correcting the color reproduction range. This is a block to convert to color. As a conversion method at that time, for example, the above-described typical conversion methods such as a hue preservation conversion method can be used. In this embodiment, since the color printer is used as the image output device 103, the output image data output from the color conversion unit 109 is cyan (C), magenta (M), yellow used by the color printer. The color material recording signals (CMYK) are (Y) and black (K).

また、図7(a)の画像の破線703上の色変換部109が出力する出力画像データの彩度712を図7(f)に示す。図7(f)に示したように、出力装置103の色再現範囲あるいはそれを補正した色再現範囲の色に変換されるので、部分的に最外郭に張り付くが、明度変換画像データが有していた彩度変化の情報(低周波数成分)が残るので、入力された画像データの識別性を保持することができた。   FIG. 7F shows the saturation 712 of the output image data output from the color conversion unit 109 on the broken line 703 in the image of FIG. As shown in FIG. 7 (f), since it is converted into a color reproduction range of the output device 103 or a color reproduction range obtained by correcting the color reproduction range, it partially sticks to the outermost part, but the brightness converted image data has Since the information on the saturation change (low frequency component) remains, the discriminability of the input image data can be maintained.

図1に示した画像処理システムの画像入力装置101は、デジタルスチルカメラとしたので写真画像を出力する。このため変化量算出部106が所定の色再現範囲内の色に変換する際の変換方法や色変換部109の変換方法の制御には触れなかった。しかし、グラフや図表などのグラフィックスと写真画像とでは、適した変換方法が異なるので、画像入力装置がこれら両方を出力する場合は、その種類(グラフィックスと写真画像)に応じて変換方法を制御すると、より良い。   Since the image input device 101 of the image processing system shown in FIG. 1 is a digital still camera, it outputs a photographic image. For this reason, the conversion method when the change amount calculation unit 106 converts to a color within a predetermined color reproduction range and the control of the conversion method of the color conversion unit 109 are not touched. However, the appropriate conversion method differs between graphics such as graphs and charts and photographic images, so when the image input device outputs both, the conversion method depends on the type (graphics and photographic image). Control better.

図9は、実施例2の画像処理システムの構成を示す。尚、以下の説明では、実施例1と同じブロックには同じ番号を付して、詳細な説明は省略するものとする。   FIG. 9 shows a configuration of an image processing system according to the second embodiment. In the following description, the same blocks as those in the first embodiment are denoted by the same reference numerals, and detailed description thereof is omitted.

図9において、901は画像入力装置であり、写真画像や図表等のグラフィックス画像を、その属性データと共に出力する装置である。例えば、ワード・プロセッサ・ソフトを実行するパーソナル・コンピュータが、プリンタに画像を出力する場合が該当し、パーソナル・コンピュータは、写真画像の画像データを出力したり、グラフ等のベクトルデータをビットマップの画像データに変換して、画像処理装置902の表色変換部104に出力する。また、画像入力装置901は、画像データに対応する属性データを変換方法設定部903に出力する。ここで、属性データとは、画像データの種別、即ち、写真画像であるか図表等のグラフィックス画像であるか等を示すデータであり、上述のような変換方法、即ち、階調保存変換法、色相保存変換法、彩度保存変換法にそれぞれ適した画像に応じた分類を示す。   In FIG. 9, reference numeral 901 denotes an image input device which outputs a graphic image such as a photographic image or chart together with its attribute data. For example, this corresponds to the case where a personal computer that executes word processor software outputs an image to a printer. The personal computer outputs image data of a photographic image or converts vector data such as a graph into a bitmap. The image data is converted and output to the color specification conversion unit 104 of the image processing apparatus 902. Also, the image input device 901 outputs attribute data corresponding to the image data to the conversion method setting unit 903. Here, the attribute data is data indicating the type of image data, that is, whether it is a photographic image or a graphics image such as a chart, and the like. The classification according to the image suitable for each of the hue preservation conversion method and the saturation preservation conversion method is shown.

変換方法設定部903は、入力された属性データに応じて、変換方法を指定する信号を生成する。例えば、属性データが写真画像であれば 色相保存変換法、図表等のグラフィックス画像であれば彩度保存変換法を指定する。   The conversion method setting unit 903 generates a signal designating a conversion method according to the input attribute data. For example, if the attribute data is a photographic image, the hue preservation conversion method is specified. If the attribute data is a graphics image such as a chart, the saturation preservation conversion method is designated.

また、変化量算出部904は、前記明度変換部105が出力した画像データの色を、所定の色再現範囲内の色に変換した際の、色の変化量(ΔLCh1)を算出するブロックである。ここで、所定の色再現範囲とは、例えば前述した画像出力装置103の色再現範囲あるいはそれを補正した色再現範囲である。また、その際の変換の方法は、変換方法設定部903が指定した方法に従う。   The change amount calculation unit 904 is a block that calculates a color change amount (ΔLCh1) when the color of the image data output from the lightness conversion unit 105 is converted into a color within a predetermined color reproduction range. . Here, the predetermined color reproduction range is, for example, the color reproduction range of the image output device 103 described above or a color reproduction range obtained by correcting the color reproduction range. Further, the conversion method at that time follows the method specified by the conversion method setting unit 903.

また、色補正部108は、前記変化量修正部107が修正した変化量(ΔLCh2)に基づいて、明度変換部105が出力する明度変換画像データ(LCh2)の色を補正して、色補正画像データ(LCh3)を出力するブロックである。これによると、画像出力装置103の色域外となっている明度変換後画像データは、画像データの属性データに応じて、図7(e)に示した例と同様、画像出力装置103が出力可能な色域にほぼ一致する画像データに補正される。尚、その際、色域の最外郭に完全に張り付くことなく、明度変換画像データが有していた彩度変化等の情報(低周波数成分)は保持している。   Further, the color correction unit 108 corrects the color of the lightness conversion image data (LCh2) output from the lightness conversion unit 105 based on the change amount (ΔLCh2) corrected by the change amount correction unit 107, thereby correcting the color correction image. This block outputs data (LCh3). According to this, the image output device 103 can output image data after brightness conversion that is out of the color gamut of the image output device 103, in the same manner as the example shown in FIG. 7E, according to the attribute data of the image data. The image data is corrected so as to substantially match the color gamut. At that time, the information (low frequency component) such as the saturation change that the brightness conversion image data has is held without completely sticking to the outermost outline of the color gamut.

また、色変換部109は、前記色補正部108が出力した色補正画像データ(LCh3)を、前述した画像出力装置103の色再現範囲あるいはそれを補正した色再現範囲の色に変換するブロックである。その際の変換の方法としては、例えば、画像データの属性データに応じた変換方法を使用しても良いが、既に、色補正部108により画像出力装置103が出力可能な色域近傍に集まった画像データに変換されているため、属性データに応じた変換方法はここではあまり意味をなさない。このため本実施例では、属性データによらず色相保存変換法を使用した変換を行っている。   The color conversion unit 109 is a block that converts the color correction image data (LCh3) output from the color correction unit 108 into a color within the color reproduction range of the image output device 103 described above or a color reproduction range obtained by correcting the color reproduction range. is there. As a conversion method at that time, for example, a conversion method according to the attribute data of the image data may be used. However, the color correction unit 108 has already gathered in the vicinity of the color gamut that the image output device 103 can output. Since it has been converted to image data, the conversion method according to the attribute data does not make much sense here. For this reason, in this embodiment, conversion using the hue preservation conversion method is performed regardless of the attribute data.

以上のように、本実施例によれば、入力された画像データの属性情報に応じ、最適な変化量を算出して、画像データを補正するので、画像データの識別性の劣化をより少なくすることができる。   As described above, according to the present embodiment, since the optimum change amount is calculated and the image data is corrected according to the attribute information of the input image data, the deterioration of the identification of the image data is further reduced. be able to.

図10は、実施例3の画像処理システムの構成を示す。尚、以下の説明では、実施例1、2と同じブロックには同じ番号を付して、詳細な説明は省略するものとする。   FIG. 10 shows a configuration of an image processing system according to the third embodiment. In the following description, the same blocks as those in the first and second embodiments are denoted by the same reference numerals, and detailed description thereof is omitted.

図10において、101は画像入力装置、1001は画像処理装置、103は画像出力装置であり、画像処理装置1001の明度変換部105から出力された明度変換後画像データは、解像度低減処理部1002に入力される。   In FIG. 10, 101 is an image input device, 1001 is an image processing device, and 103 is an image output device. Image data after lightness conversion output from the lightness conversion unit 105 of the image processing device 1001 is sent to a resolution reduction processing unit 1002. Entered.

解像度低減処理部1002は、明度変換後画像データの解像度を小さくしてデータ量を減らすブロックであり、例えば、明度変換後画像データを主副1/4に間引く等の処理を行う。   The resolution reduction processing unit 1002 is a block that reduces the resolution of image data after lightness conversion to reduce the data amount. For example, the resolution reduction processing unit 1002 performs processing such as thinning out image data after lightness conversion into main and sub 1/4.

また、変化量修正部1003は、変化量の画像平面におけるエッジと低周波数成分を残すように、変化量を修正するブロックである。ここで、変化量修正部1003に入力される変化量は、解像度低減処理部1002で低解像度に変換された明度変換後画像データの色に基づいて算出されているので、前出の変化量修正部107に入力される変化量に比べて低周波成分の割合が大きくなっている。このため、変化量修正部1003は処理範囲を小さくしても同様の効果を得ることができる。即ち、図8(a)に示したフロー図の繰り返し回数を減らして、処理を簡素化することが可能になっている。   The change amount correcting unit 1003 is a block that corrects the change amount so as to leave an edge and a low frequency component on the image plane of the change amount. Here, since the change amount input to the change amount correction unit 1003 is calculated based on the color of the image data after the brightness conversion converted into the low resolution by the resolution reduction processing unit 1002, the above-described change amount correction is performed. The ratio of the low frequency component is larger than the amount of change input to the unit 107. For this reason, the change amount correction unit 1003 can obtain the same effect even if the processing range is reduced. That is, it is possible to simplify the processing by reducing the number of repetitions of the flowchart shown in FIG.

解像度復元処理部1004は、エッジと低周波数成分を残すように修正された変化量の解像度を、明度変換後画像データの解像度に合わせるブロックであり、例えば上述したように明度変換後画像データを主副1/4に間引いている場合は、主副4倍に、ニヤレストネイバー法,バイリニア法,バイキュービック法等によって変換する。   The resolution restoration processing unit 1004 is a block that matches the resolution of the amount of change corrected to leave the edges and low-frequency components with the resolution of the image data after brightness conversion. For example, as described above, the image data after brightness conversion is mainly processed. In the case of decimation to sub 1/4, conversion is performed by the nearest neighbor method, bilinear method, bicubic method, etc. to the main sub 4 times.

これにより、色補正部108は、解像度が合わされた変化量(ΔLCh2)に基づいて、明度変換部105が出力する明度変換画像データ(LCh2)の色を補正することができる。   Accordingly, the color correction unit 108 can correct the color of the lightness converted image data (LCh2) output from the lightness conversion unit 105 based on the change amount (ΔLCh2) in which the resolutions are matched.

以上のように本実施例によれば、解像度低減処理部1002と解像度復元処理部1004を有しているので、識別性の劣化を少なくすることなく、変化量修正部1003における処理をより簡単な構成で実現することができる。   As described above, according to the present embodiment, since the resolution reduction processing unit 1002 and the resolution restoration processing unit 1004 are included, the processing in the change amount correction unit 1003 can be performed more easily without reducing the degradation of discrimination. It can be realized with a configuration.

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

図11に、図1に示した画像処理装置と同等の機能を有する画像処理方法の流れ図を示す。   FIG. 11 is a flowchart of an image processing method having functions equivalent to those of the image processing apparatus shown in FIG.

始めに、画像入力装置等に記憶されたAdobeRGBの原画像データを取得する画像データ取得処理(ステップ1101)を行なう。尚、ここでは、画像データの表色方式が暗黙のうちAdobeRGBに決められているとして説明するが、予め画像入力装置等と通信を行って表色方式を決めるような処理を追加しておいても良い。   First, an image data acquisition process (step 1101) for acquiring AdobeRGB original image data stored in an image input device or the like is performed. In this example, it is assumed that the color scheme of image data is implicitly determined to be AdobeRGB, but processing that determines the color scheme by communicating with an image input device or the like is added in advance. Also good.

次に、表色変換処理(ステップ1102)を行って、入力された画像データを、内部で取り扱う表色方式に変換する。表色変換処理(ステップ1102)では、例えば上述した(1)〜(6)式の変換を行って、CIELAB表色値の円筒座標系であるLCh1等に変換する。   Next, a color conversion process (step 1102) is performed to convert the input image data into a color system that is handled internally. In the colorimetric conversion process (step 1102), for example, the above-described equations (1) to (6) are converted, and converted to LCh1 or the like which is a cylindrical coordinate system of CIELAB colorimetric values.

次に、明度変換処理(ステップ1103)では、原画像データが表現可能な明度域と画像出力装置103等が出力可能な明度域等に基づいて、画像出力装置の明度域内に原画像データの明度を変換して出力する処理を行う。ここで、原画像データが表現可能な明度域は、上述の表色形式によって定まる。また、画像出力装置が出力可能な明度域は、画像出力装置103が出力可能な色域によって定まり、例えば予め画像出力装置103と通信を行って取得されている。   Next, in the lightness conversion process (step 1103), the lightness of the original image data is within the lightness range of the image output device based on the lightness region in which the original image data can be expressed and the lightness region that can be output by the image output device 103 or the like. The process of converting and outputting. Here, the brightness range that can represent the original image data is determined by the above-described color specification format. The brightness range that can be output by the image output apparatus is determined by the color gamut that can be output by the image output apparatus 103, and is acquired in advance by communicating with the image output apparatus 103, for example.

次に、変化量算出処理(ステップ1104)では、前記明度変換処理(ステップ1103)で変換した画像データの色を、所定の色再現範囲内の色に変換した際の、色の変化量(ΔLCh1)を算出する。ここで、所定の色再現範囲とは、例えば前述した画像出力装置103の色再現範囲あるいはそれを補正した色再現範囲である。また、その際の変換の方法としては、例えば、上述した代表的な変換方法を使用することができる。尚、以下では、色相保存変換法を使用した場合を例に説明するが、本発明はこれに限るものではない。   Next, in the change amount calculation process (step 1104), the color change amount (ΔLCh1) when the color of the image data converted in the lightness conversion process (step 1103) is converted into a color within a predetermined color reproduction range. ) Is calculated. Here, the predetermined color reproduction range is, for example, the color reproduction range of the image output device 103 described above or a color reproduction range obtained by correcting the color reproduction range. Further, as the conversion method at that time, for example, the above-described typical conversion method can be used. In the following, a case where the hue preservation conversion method is used will be described as an example, but the present invention is not limited to this.

次に、変化量修正処理(ステップ1105)では、前記変化量算出処理(ステップ1104)で算出した変化量(ΔLCh1)の画像平面におけるエッジと低周波数成分を残すように、前記変化量算出手段が算出した変化量を、平面的に近傍の前記変化量算出手段が算出した変化量とに基づいて修正して出力(ΔLCh2)する。   Next, in the change amount correction process (step 1105), the change amount calculation unit is configured to leave an edge and a low frequency component in the image plane of the change amount (ΔLCh1) calculated in the change amount calculation process (step 1104). The calculated amount of change is corrected based on the amount of change calculated by the change amount calculating means in the vicinity of the plane and output (ΔLCh2).

次に、色補正処理(ステップ1106)では、前記変化量修正処理(ステップ1105)で修正した変化量(ΔLCh2)に基づいて、明度変換処理(ステップ1103)で変換した明度変換画像データ(LCh2)の色を補正して、色補正画像データ(LCh3)を出力する。ここでは、例えば(7)式に示したような処理が行われる。   Next, in the color correction process (step 1106), the lightness converted image data (LCh2) converted by the lightness conversion process (step 1103) based on the change amount (ΔLCh2) corrected by the change amount correction process (step 1105). The color correction image data (LCh3) is output. Here, for example, the processing shown in the equation (7) is performed.

次に、色変換処理(ステップ1107)では、前記色補正処理(ステップ1106)が補正した色補正画像データ(LCh3)を、前述した画像出力装置103等の色再現範囲あるいはそれを補正した色再現範囲の色に変換する。その際の変換の方法としては、例えば、色相保存変換法を始めとする上述した代表的な変換方法を使用することができる。尚、本実施例では、画像出力装置103としてカラープリンタが使用しているので、色変換処理1107が出力する出力画像データは、カラープリンタで使用されるシアン(C),マゼンタ(M),イエロー(Y)及び黒(K)の色材記録信号(CMYK)となっている。   Next, in the color conversion process (step 1107), the color correction image data (LCh3) corrected by the color correction process (step 1106) is used as the color reproduction range of the image output device 103 or the like described above or the color reproduction obtained by correcting the color reproduction range. Convert to a range of colors. As a conversion method at that time, for example, the above-described typical conversion methods such as a hue preservation conversion method can be used. In this embodiment, since the color printer is used as the image output device 103, the output image data output by the color conversion processing 1107 is cyan (C), magenta (M), yellow used by the color printer. The color material recording signals (CMYK) are (Y) and black (K).

また、最後に色変換処理(ステップ1107)で変換した画像データを画像出力装置103等に送出する画像データ送出処理(ステップ1108)を行う。   Finally, an image data transmission process (step 1108) is performed in which the image data converted in the color conversion process (step 1107) is transmitted to the image output device 103 or the like.

以上のように、本実施例は、図1の画像処理装置が有するブロックと同等の機能を有する処理ステップを有しているので、入力された画像データを画像出力装置の色再現範囲内の画像データに変換する際に、高精度かつ簡単な構成でありながら、入力された画像データの識別性の劣化を少なくすることができた。   As described above, since the present embodiment includes processing steps having the same functions as the blocks included in the image processing apparatus in FIG. 1, the input image data is converted into an image within the color reproduction range of the image output apparatus. When converting to data, it was possible to reduce the deterioration of the discriminability of the input image data while having a high-precision and simple configuration.

尚、図9、10に示した画像処理装置と同等の機能を有する画像処理方法も、同様に実現することができるので説明は省略する。   Note that an image processing method having functions equivalent to those of the image processing apparatus shown in FIGS.

また、本発明の目的は、前述した実施例の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(CPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても達成される。この場合、記憶媒体から読出されたプログラムコード自体が前述した各実施例の機能を実現することになる。プログラムコードを供給するための記憶媒体としては、例えば、ハードディスク、光ディスク、光磁気ディスク、不揮発性のメモリカード、ROMなどを用いることができる。また、コンピュータが読出したプログラムコードを実行することにより、前述した実施例の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した各実施例の機能が実現される場合も含まれる。さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した各実施例の機能が実現される場合も含まれる。本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するプログラムコードが格納されることになる。また、本発明の実施例の機能等を実現するためのプログラムは、ネットワークを介した通信によってサーバから提供されるものでも良い。   Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and a computer (CPU or MPU) of the system or apparatus uses the storage medium as a storage medium. It can also be achieved by reading and executing the stored program code. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments. As a storage medium for supplying the program code, for example, a hard disk, an optical disk, a magneto-optical disk, a nonvolatile memory card, a ROM, or the like can be used. 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) operating on the computer based on an instruction of the program code. A case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included. Further, after the program code read from the storage medium is written in 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. This includes the case where 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. Further, the program for realizing the functions and the like of the embodiments of the present invention may be provided from a server by communication via a network.

101 画像入力装置
102 画像処理装置
103 画像出力装置
104 表色変換部
105 明度変換部
106 変化量算出部
107 変化量修正部
108 色補正部
109 色変換部
DESCRIPTION OF SYMBOLS 101 Image input device 102 Image processing apparatus 103 Image output device 104 Color conversion part 105 Lightness conversion part 106 Change amount calculation part 107 Change amount correction part 108 Color correction part 109 Color conversion part

特開2001−169136号公報JP 2001-169136 A 特許第3865696号公報Japanese Patent No. 3865696

「Efficient hue−preserving and edge−preserving spatial color gamut mapping(15th Color Imaging Conference)」“Efficient hue-preserving and edge-preserving spatial color gamut mapping (15th Color Imaging Conference)”

Claims (7)

入力された画像データを、画像出力装置の色再現範囲内の画像データに、変換する処理を行う画像処理装置であって、前記入力された画像データの色を、第1の色再現範囲内の色に変換した際の、色の変化量を算出する変化量算出手段と、少なくとも前記変化量算出手段が算出した変化量の画像平面におけるエッジと低周波数成分を残すように、前記変化量算出手段が算出した注目の変化量を、平面的に近傍の変化量に基づいて修正する変化量修正手段と、前記変化量修正手段が修正した変化量に基づいて、前記入力された画像データの色を補正する色補正手段と、前記色補正手段が補正した画像データの色を、第2の色再現範囲内の色に、変換する色変換手段とを少なくとも有することを特徴とする画像処理装置。   An image processing device that performs processing for converting input image data into image data within a color reproduction range of an image output device, wherein the color of the input image data is within a first color reproduction range. Change amount calculating means for calculating a change amount of color when converted into color, and the change amount calculating means so as to leave at least an edge and a low frequency component in the image plane of the change amount calculated by the change amount calculating means; The change amount correcting unit that corrects the calculated change amount based on the change amount in the vicinity in a plane, and the color of the input image data based on the change amount corrected by the change amount correcting unit. An image processing apparatus comprising: color correcting means for correcting; and color converting means for converting the color of the image data corrected by the color correcting means into a color within a second color reproduction range. 前記入力された画像データの属性情報を設定する属性情報設定手段を有し、前記変化量算出手段は、前記属性情報設定手段が設定した属性に基づいて、色の変化量を算出することを特徴とする請求項1記載の画像処理装置。   It has attribute information setting means for setting attribute information of the input image data, and the change amount calculating means calculates a color change amount based on the attribute set by the attribute information setting means. The image processing apparatus according to claim 1. 前記変化量算出手段は、前記入力された画像データの色の色相を保持して第1の色再現範囲内の色に変換した際の色の変化量を算出することを特徴とする請求項1または2記載の画像処理装置。   2. The change amount calculation unit calculates a color change amount when the color of the input image data is held and converted to a color within a first color reproduction range. Or the image processing apparatus of 2. 画像データの解像度を小さくする低解像度変換手段と、前記低解像度変換手段に対応して画像データの解像度を元に戻す解像度復元手段とを有し、前記変化量算出手段は、前記低解像度変換手段により処理された前記入力された画像データの色を、第1の色再現範囲内の色に変換した際の、色の変化量を算出し、前記色補正手段は、前記解像度復元手段により処理された前記変化量修正手段が修正した変化量に基づいて、前記入力された画像データの色を補正することを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。   Low resolution conversion means for reducing the resolution of the image data; and resolution restoration means for restoring the resolution of the image data corresponding to the low resolution conversion means; and the change amount calculation means is the low resolution conversion means A color change amount is calculated when the color of the input image data processed by the above is converted into a color within the first color reproduction range, and the color correction unit is processed by the resolution restoration unit. 4. The image processing apparatus according to claim 1, wherein a color of the input image data is corrected based on a change amount corrected by the change amount correction unit. 5. 入力された画像データを、画像出力装置の色再現範囲内の画像データに、変換する処理を行う画像処理方法であって、前記入力された画像データの色を、第1の色再現範囲内の色に変換した際の、色の変化量を算出する変化量算出工程と、少なくとも前記変化量算出工程が算出した変化量の画像平面におけるエッジと低周波数成分を残すように、前記変化量算出工程が算出した注目の変化量を、平面的に近傍の変化量に基づいて修正する変化量修正工程と、前記変化量修正工程が修正した変化量に基づいて、前記入力された画像データの色を補正する色補正工程と、前記色補正工程が補正した画像データの色を、第2の色再現範囲内の色に、変換する色変換工程とを少なくとも有することを特徴とする画像処理方法。   An image processing method for performing processing for converting input image data into image data within a color reproduction range of an image output device, wherein the color of the input image data is within a first color reproduction range. A change amount calculating step of calculating a change amount of the color when converted into color, and the change amount calculating step so as to leave at least an edge and a low frequency component in the image plane of the change amount calculated by the change amount calculating step; The change amount correction step of correcting the calculated change amount of interest based on the change amount in the vicinity in a plane, and the color of the input image data based on the change amount corrected by the change amount correction step An image processing method comprising: a color correction step for correcting; and a color conversion step for converting the color of the image data corrected by the color correction step into a color within a second color reproduction range. 請求項5記載の画像処理方法をコンピュータに実現させるためのプログラム。   A program for causing a computer to realize the image processing method according to claim 5. 請求項5記載の画像処理方法をコンピュータに実現させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which a program for causing a computer to implement the image processing method according to claim 5 is recorded.
JP2009096793A 2009-04-13 2009-04-13 Image processing apparatus, image processing method, program, and recording medium Expired - Fee Related JP5267803B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009096793A JP5267803B2 (en) 2009-04-13 2009-04-13 Image processing apparatus, image processing method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009096793A JP5267803B2 (en) 2009-04-13 2009-04-13 Image processing apparatus, image processing method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2010251883A true JP2010251883A (en) 2010-11-04
JP5267803B2 JP5267803B2 (en) 2013-08-21

Family

ID=43313761

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009096793A Expired - Fee Related JP5267803B2 (en) 2009-04-13 2009-04-13 Image processing apparatus, image processing method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP5267803B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012182549A (en) * 2011-02-28 2012-09-20 Kyocera Document Solutions Inc Image forming device and color gamut correction method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0668251A (en) * 1992-08-14 1994-03-11 Matsushita Electric Ind Co Ltd Method and device of noise elimination
JPH07212583A (en) * 1994-01-14 1995-08-11 Fuji Xerox Co Ltd Method and device for processing color picture
JPH09200549A (en) * 1996-01-19 1997-07-31 Fuji Xerox Co Ltd Image processor
JPH09200531A (en) * 1996-01-18 1997-07-31 Ricoh Co Ltd Image luminosity converting device
JPH11308448A (en) * 1998-04-24 1999-11-05 Canon Inc Image processor and image processing method
JP2004096447A (en) * 2002-08-30 2004-03-25 Canon Inc Image processing apparatus and method thereof
JP2005130537A (en) * 2005-02-08 2005-05-19 Canon Inc Image processor and its method
JP3865696B2 (en) * 2003-02-04 2007-01-10 三菱電機株式会社 Color conversion apparatus and color conversion method
JP2008061069A (en) * 2006-09-01 2008-03-13 Fuji Xerox Co Ltd Image processing apparatus, image output device, terminal device, and image forming system, and program
JP2008092073A (en) * 2006-09-29 2008-04-17 Nippon Telegr & Teleph Corp <Ntt> Filtering type image correction device, and filtering type image correcting method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0668251A (en) * 1992-08-14 1994-03-11 Matsushita Electric Ind Co Ltd Method and device of noise elimination
JPH07212583A (en) * 1994-01-14 1995-08-11 Fuji Xerox Co Ltd Method and device for processing color picture
JPH09200531A (en) * 1996-01-18 1997-07-31 Ricoh Co Ltd Image luminosity converting device
JPH09200549A (en) * 1996-01-19 1997-07-31 Fuji Xerox Co Ltd Image processor
JPH11308448A (en) * 1998-04-24 1999-11-05 Canon Inc Image processor and image processing method
JP2004096447A (en) * 2002-08-30 2004-03-25 Canon Inc Image processing apparatus and method thereof
JP3865696B2 (en) * 2003-02-04 2007-01-10 三菱電機株式会社 Color conversion apparatus and color conversion method
JP2005130537A (en) * 2005-02-08 2005-05-19 Canon Inc Image processor and its method
JP2008061069A (en) * 2006-09-01 2008-03-13 Fuji Xerox Co Ltd Image processing apparatus, image output device, terminal device, and image forming system, and program
JP2008092073A (en) * 2006-09-29 2008-04-17 Nippon Telegr & Teleph Corp <Ntt> Filtering type image correction device, and filtering type image correcting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012182549A (en) * 2011-02-28 2012-09-20 Kyocera Document Solutions Inc Image forming device and color gamut correction method

Also Published As

Publication number Publication date
JP5267803B2 (en) 2013-08-21

Similar Documents

Publication Publication Date Title
JP4424216B2 (en) Image processing apparatus, image processing method, and image processing program
US7310167B2 (en) Color converting device emphasizing a contrast of output color data corresponding to a black character
JP4368880B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and computer-readable recording medium
US7333237B2 (en) Color adjustment method, color adjustment apparatus, color conversion definition editing apparatus, image processing apparatus, program, and storage medium
US9036199B2 (en) Image processing apparatus for performing color matching processing, image processing method, and computer-readable medium
JP4565642B2 (en) Image processing method and image processing apparatus
JP2004192614A (en) Image processing device, image processing method, program and recording medium
US20080144975A1 (en) Image processing apparatus and image processing method
JP2012029276A (en) Image forming device, color adjustment method and color adjustment program
JP2008028679A (en) Color conversion table, and method and device for generating the same
JP4823051B2 (en) Method for generating combined lookup table, image processing apparatus, and image forming apparatus
JP3818098B2 (en) Image signal processing method and image signal processing apparatus
KR20200002683A (en) Image processing apparatus, image processing method, and computer program
JP2008092055A (en) Printer, printing method, and printing program
JP2008147937A (en) Image processor and image processing method
US20100328343A1 (en) Image signal processing device and image signal processing program
JP2015122619A (en) Information processing device, information processing method, and program
JP5267803B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP4533277B2 (en) Image processing apparatus, image processing method, and table creation method
US8830509B2 (en) Image processing apparatus, method, and medium for performing density adjustment
JP2008042835A (en) Image processor, image processing method, program, and recording medium
JP2005260404A (en) Image processor
JP5112234B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP4926128B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, computer program, recording medium, and image processing method
JP4423016B2 (en) Image processing apparatus, image processing method, storage medium, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120313

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120622

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121219

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: 20130410

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130423

LAPS Cancellation because of no payment of annual fees