JP2001257902A - Method and device for processing image - Google Patents
Method and device for processing imageInfo
- Publication number
- JP2001257902A JP2001257902A JP2000068411A JP2000068411A JP2001257902A JP 2001257902 A JP2001257902 A JP 2001257902A JP 2000068411 A JP2000068411 A JP 2000068411A JP 2000068411 A JP2000068411 A JP 2000068411A JP 2001257902 A JP2001257902 A JP 2001257902A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- gradation conversion
- image
- gradation
- color
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Color Image Communication Systems (AREA)
- Image Processing (AREA)
- Processing Of Color Television Signals (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、フイルムに記録さ
れた画像を読み取ることにより得られた画像データ、あ
るいはデジタルカメラにより取得された画像データに対
して画像処理を施す画像処理方法および装置に関するも
のである。The present invention relates to an image processing method and apparatus for performing image processing on image data obtained by reading an image recorded on a film or image data obtained by a digital camera. It is.
【0002】[0002]
【従来の技術】デジタルカメラにおいて取得したデジタ
ル画像データや、ネガフイルムあるいはリバーサルフイ
ルムに記録された画像を読み取ることにより得られたデ
ジタル画像データを、プリント等のハードコピーとして
あるいはCRT等に表示するためのソフトコピーとして
再現する画像処理システムが提案されている。このよう
に、デジタルカメラやスキャナ等により取得した画像を
再現する場合、ネガフイルムからプリントされた写真と
同様の高品位な画質を有するものとすることが期待され
ている。2. Description of the Related Art To display digital image data obtained by a digital camera or digital image data obtained by reading an image recorded on a negative film or a reversal film as a hard copy such as a print or on a CRT or the like. An image processing system for reproducing a soft copy has been proposed. As described above, when reproducing an image acquired by a digital camera, a scanner, or the like, it is expected that the image has the same high-quality image quality as a photograph printed from a negative film.
【0003】このため、デジタル画像データに対して階
調を変換する画像処理を施した後に画像を再現すること
が行われている。例えば、曇天の風景写真のようにダイ
ナミックレンジの狭い画像については、コントラストを
硬調化することにより画像の見え方が良好となり、逆に
人物に直接日光が照射しているようなダイナミックレン
ジの広い画像では、コントラストを軟調化することによ
り柔和な印象となる画像を得ることができる。[0003] For this reason, it has been practiced to reproduce an image after subjecting the digital image data to image processing for converting the gradation. For example, for an image with a narrow dynamic range, such as a landscape photograph on a cloudy day, the contrast can be enhanced to enhance the appearance of the image. Thus, an image having a soft impression can be obtained by softening the contrast.
【0004】[0004]
【発明が解決しようとする課題】しかしながら、色彩度
が高い画像についてコントラストを硬調化すると、色彩
度が強調されることから、実際のシーンと比較してきつ
い印象を有する画像となってしまう。また、晴天の風景
は軟調化により見えが良くなるものの、色彩度が低下し
て色がくすんでしまい、インパクトのない画像となって
しまう。このため、階調変換処理を施した場合には、処
理を施した画像を一旦モニタに再生し、再生した画像を
観察しながら色彩度を修正することが考えられるが、適
切に色彩度を修正するには熟練を要し、また作業効率も
悪くなるものである。However, when the contrast of an image with high color saturation is enhanced, the color saturation is emphasized, resulting in an image having a stronger impression than an actual scene. Further, although the view of a fine weather scene is improved by softening, the color saturation is reduced and the color becomes dull, resulting in an image having no impact. For this reason, when the gradation conversion process is performed, it is conceivable to play back the processed image once on a monitor and correct the color saturation while observing the reproduced image. To do so requires skill and work efficiency is reduced.
【0005】本発明は上記事情に鑑みなされたものであ
り、画像に対して階調変換処理を施した場合にも、適切
な色彩度を有する処理済み画像を得ることができる画像
処理方法および装置を提供することを目的とするもので
ある。SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and provides an image processing method and apparatus capable of obtaining a processed image having appropriate color saturation even when gradation conversion processing is performed on the image. The purpose is to provide.
【0006】[0006]
【課題を解決するための手段】本発明による画像処理方
法は、カラー画像を表す画像データに対して画像処理を
施して処理済み画像データを得る画像処理方法におい
て、前記画像データに対して階調変換処理を施すと同時
に、該階調変換処理の程度に応じた色彩度変換処理を施
して、前記処理済み画像データを得ることを特徴とする
ものである。According to the present invention, there is provided an image processing method for performing image processing on image data representing a color image to obtain processed image data. At the same time as performing the conversion processing, the color conversion processing according to the degree of the gradation conversion processing is performed to obtain the processed image data.
【0007】「色彩度」とは色および彩度のことをい
う。[0007] "Color saturation" refers to color and saturation.
【0008】「階調変換処理の程度に応じた色彩度変換
処理」とは、階調変換処理が硬調化処理である場合に
は、色彩度が強調されることから階調変換処理の程度に
応じて色彩度を低減する色彩度変換処理である。一方、
階調変換処理が軟調化処理である場合には、色彩度が低
下することから階調変換処理の程度に応じて色彩度を増
大させる色彩度変換処理である。[0008] "Color saturation conversion processing according to the degree of the gradation conversion processing" means that when the gradation conversion processing is a high contrast processing, the color saturation is emphasized, so that the degree of the gradation conversion processing is reduced. This is a color saturation conversion process for reducing the color saturation in response. on the other hand,
When the gradation conversion process is a softening process, the color saturation is reduced, so that the color saturation is increased in accordance with the degree of the gradation conversion process.
【0009】なお、階調変換処理は、画像データをモニ
タ等に表示してオペレータが画像を観察しながら行って
もよいが、ダイナミックレンジの狭い画像については低
コントラストの画像と見なしてダイナミックレンジに応
じた硬調化処理を、ダイナミックレンジの広い画像につ
いては高コントラストの画像と見なしてダイナミックレ
ンジに応じた軟調化処理を自動で行うようにしてもよ
い。また、階調変換処理は線形の処理のみならず、非線
形の処理であってもよい。The gradation conversion process may be performed while the image data is displayed on a monitor or the like while the operator observes the image. However, an image having a narrow dynamic range is regarded as a low-contrast image, and the image is converted to a dynamic range. The corresponding softening process may be regarded as a high-contrast image for an image with a wide dynamic range, and the softening process according to the dynamic range may be automatically performed. Further, the gradation conversion processing may be not only linear processing but also non-linear processing.
【0010】本発明による画像処理装置は、カラー画像
を表す画像データに対して画像処理を施して処理済み画
像データを得る画像処理装置において、前記画像データ
に対して階調変換処理を施すと同時に、該階調変換処理
の程度に応じた色彩度変換処理を施して、前記処理済み
画像データを得る変換手段を備えたことを特徴とするも
のである。An image processing apparatus according to the present invention performs image processing on image data representing a color image to obtain processed image data. And a conversion unit that performs a color saturation conversion process in accordance with the degree of the gradation conversion process to obtain the processed image data.
【0011】[0011]
【発明の効果】本発明によれば、画像データに対して階
調変換処理を施すと同時に、階調変換処理の程度に応じ
て色彩度変換を施して処理済み画像データを得るように
したため、階調変換処理を施した画像を再生して色彩度
変換の程度を確認した後に色彩度変換処理を施す必要が
なくなり、これにより効率よく階調変換処理および色彩
度変換処理を行うことができる。例えば、階調変換処理
が軟調化処理である場合には、画像全体の色がくすんで
眠い印象となるが、軟調化処理と同時に色彩度を増大さ
せることにより、インパクトがありかつ柔和な印象の画
像を得ることができる。また、階調変換処理が硬調化処
理である場合には、画像全体がきつい印象となるが、硬
調化処理と同時に色彩度を低減させることにより、きつ
い印象がなくかつ見えのよい画像を得ることができる。According to the present invention, image data is subjected to gradation conversion processing and, at the same time, color saturation conversion is performed in accordance with the degree of gradation conversion processing to obtain processed image data. It is not necessary to perform the color saturation conversion processing after reproducing the image subjected to the gradation conversion processing and confirming the degree of the color saturation conversion, and thus the gradation conversion processing and the color saturation conversion processing can be performed efficiently. For example, when the gradation conversion process is a softening process, the color of the entire image becomes dull and sleepy, but by increasing the color saturation simultaneously with the softening process, an impactful and soft impression is obtained. Images can be obtained. Also, when the gradation conversion process is a high contrast process, the entire image has a sharp impression, but by reducing the color saturation simultaneously with the high contrast process, it is possible to obtain an image without a strong impression and a good appearance. Can be.
【0012】また、階調変換処理を施すと同時に階調変
換処理に応じた色彩度変換処理を施しているため、経験
の浅いオペレータであっても、適切な色彩度を有する処
理済み画像を簡易に得ることができる。[0012] Further, since the color conversion processing according to the gradation conversion processing is performed at the same time as the gradation conversion processing, even an inexperienced operator can easily process a processed image having appropriate color saturation. Can be obtained.
【0013】[0013]
【発明の実施の形態】以下、図面を参照して本発明の実
施形態について説明する。図1は本発明の実施形態によ
る画像処理装置を適用した画像再生システムの構成を示
すブロック図である。図1に示すように、本発明の実施
形態による画像再生システムは、ネガフイルムあるいは
リバーサルフイルムに記録された画像を光電的に読み取
ることにより得られた、あるいはデジタルカメラにより
撮影を行うことにより得られた画像データS0に対して
画像処理を施してプリントPを得るものであり、画像デ
ータS0に対して画像処理を施して処理済み画像データ
S1を得る画像処理手段1と、処理済み画像データS1
をプリントPとして出力するプリンタ2と、画像データ
S0あるいは処理済み画像データS1を再生するための
モニタ3と、画像処理手段1に対して種々の入力を行う
ためのキーボード、マウス等からなる入力手段4とを備
える。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an image reproducing system to which an image processing device according to an embodiment of the present invention is applied. As shown in FIG. 1, an image reproducing system according to an embodiment of the present invention is obtained by photoelectrically reading an image recorded on a negative film or a reversal film, or obtained by photographing with a digital camera. Image processing means 1 for performing image processing on the processed image data S0 to obtain a print P; an image processing means 1 for performing image processing on the image data S0 to obtain processed image data S1;
2 as a print P, a monitor 3 for reproducing the image data S0 or the processed image data S1, and input means including a keyboard, a mouse, etc. for performing various inputs to the image processing means 1. 4 is provided.
【0014】画像処理手段1は、画像データS0に対し
て線形の階調変換処理および色彩度変換処理を施して処
理済み画像データS1を得るためのものであり、画像デ
ータS0に基づいて画像データS0を階調変換する際の
階調変換率kを決定する階調変換率決定手段11と、階
調変換率kに基づいて画像データS0に対して階調変換
処理および色彩度変換処理を施すための3×3のマトリ
クスMを決定する係数決定手段12と、係数決定手段1
2において決定されたマトリクスMにより画像データS
0に対して階調変換処理および色彩度変換処理を施す変
換手段13とを備える。The image processing means 1 performs a linear gradation conversion process and a color saturation conversion process on the image data S0 to obtain the processed image data S1. A gradation conversion rate determining unit 11 that determines a gradation conversion rate k when performing gradation conversion on S0, and performs gradation conversion processing and color saturation conversion processing on the image data S0 based on the gradation conversion rate k. Determining means 12 for determining a 3 × 3 matrix M for calculation and coefficient determining means 1
2, the image data S is calculated based on the matrix M determined in
A conversion unit 13 for performing a gradation conversion process and a color saturation conversion process on 0.
【0015】階調変換率決定手段11においては、画像
データS0のダイナミックレンジを所定のダイナミック
レンジに近づけるような階調変換率kが算出される。こ
こで、階調変換率kはある画像データS0が元々有する
階調に対してどの程度硬調化あるいは軟調化して階調変
換処理を行うかを表す値であり、硬調化の場合k>1と
なり、軟調化の場合k<1となる。また、階調変換率k
が高いほど硬調化の程度が大きくなり、階調変換率kが
低いほど軟調化の程度が大きくなる。具体的には、図2
に示すように画像データS0のヒストグラムを求め、こ
のヒストグラムにおけるハイライト点H0から5%低濃
度側の点の濃度HLおよびシャドー点L0から5%高濃
度側の点の濃度SDを求め、これらの濃度HLおよびS
Dを用いて、下記の式(1)に基づいて階調変換率kを
算出する。なお、画像データS0はカラーネガフイルム
から得られたものであり、濃度HLおよびSDはネガ濃
度とする。The gradation conversion rate determining means 11 calculates a gradation conversion rate k which brings the dynamic range of the image data S0 closer to a predetermined dynamic range. Here, the gradation conversion ratio k is a value indicating how much the gradation originally included in a certain image data S0 is hardened or softened and the gradation conversion process is performed. In the case of the hard gradation, k> 1. , K <1 in the case of soft tone. Also, the gradation conversion rate k
The higher the value, the higher the degree of hardening, and the lower the gradation conversion rate k, the higher the degree of softening. Specifically, FIG.
As shown in the figure, a histogram of the image data S0 is obtained, and a density HL of a point 5% lower in density from the highlight point H0 and a density SD of a point 5% higher in density from the shadow point L0 are obtained. Concentrations HL and S
Using D, a gradation conversion rate k is calculated based on the following equation (1). The image data S0 is obtained from a color negative film, and the densities HL and SD are negative densities.
【0016】 k=0.96×1.2/(HL−SD) (1) 但し、極端な階調変換率kが算出されることを防止する
ために、k>1.2の場合はk=1.2、k<0.7の
場合はk=0.7とする。K = 0.96 × 1.2 / (HL−SD) (1) However, in order to prevent calculation of an extreme gradation conversion rate k, k is set to k> 1.2 when k> 1.2. = 1.2 and k = 0.7 when k <0.7.
【0017】なお、階調変換率kは上記式(1)に示す
方法のみならず、画像データS0のヒストグラムの偏り
具合を表した歪度やヒストグラムの尖度に基づいて求め
るようにしてもよい。Note that the gradation conversion rate k may be determined based on not only the method shown in the above equation (1) but also the skewness or the kurtosis of the histogram of the histogram of the image data S0. .
【0018】係数決定手段12は、下記の式(2)に示
すように、画像データS0を構成する色信号R0,B
0,G0に対してマトリクス演算を施して階調変換処理
および色彩度変換処理が施された色信号R1,G1,B
1を得るためのマトリクスMの係数を決定する。The coefficient determining means 12 calculates the color signals R0, B constituting the image data S0 as shown in the following equation (2).
Color signals R1, G1, B that have undergone a matrix operation on 0 and G0 and have undergone gradation conversion processing and color saturation conversion processing.
The coefficient of the matrix M for obtaining 1 is determined.
【0019】[0019]
【数1】 式(2)に示すマトリクスMの係数は階調変換率kの関
数であり、本実施形態においては階調変換処理は、f
RR(k)+fRG(k)+fRB(k)=γr=1
(γはRについてのもの)、fGR(k)+f
GG(k)+fGB(k)=γg=1、fBR(k)+
fBG(k)+fBB(k)=γb=1を満たすように
決定される。また、これにより色彩度変換処理により画
像データS0のグレー階調が保存されることとなる。こ
こで、マトリクスMにおいて、γr=γg=γb=kと
なるように各係数を決定することにより、階調変換処理
と色彩度変換処理とを同時に行うことができる。また、
マトリクスMの係数は、k<1すなわち軟調化処理を行
う場合には、対角項についてはfRR(k)>1,f
GG(k)>1,fBB(k)>1であり、非対角項の
各行の和は、fRG(k)+fRB(k)<0,fGR
(k)+fGB(k)<0,fBR(k)+f
BG(k)<0となり、逆にk>1すなわち硬調化処理
を行う場合には、対角項についてはf RR(k)<1,
fGG(k)<1,fBB(k)<1であり、非対角項
の各行の和は、fRG(k)+fRB(k)>0,f
GR(k)+fGB(k)>0,fBR(k)+fBG
(k)>0となるように決定される。このような係数f
i ,j(k)(i,j=R,G,B)の例を下記に示
す。(Equation 1)The coefficient of the matrix M shown in equation (2) is related to the gradation conversion rate k.
In this embodiment, the gradation conversion process is f
RR(K) + fRG(K) + fRB(K) = γr = 1
(Γ is for R), fGR(K) + f
GG(K) + fGB(K) = γg = 1, fBR(K) +
fBG(K) + fBB(K) = γb = 1
It is determined. In addition, this allows the image to be
The gray gradation of the image data S0 is stored. This
Here, in the matrix M, γr = γg = γb = k
By determining each coefficient so that
And the color saturation conversion processing can be performed simultaneously. Also,
The coefficient of the matrix M is k <1, that is, the softening process is performed.
Then, for the diagonal term, fRR(K)> 1, f
GG(K)> 1, fBB(K)> 1 and the off-diagonal term
The sum of each row is fRG(K) + fRB(K) <0, fGR
(K) + fGB(K) <0, fBR(K) + f
BG(K) <0, and conversely k> 1, that is, the high contrast processing
Is performed, the diagonal term is given by f RR(K) <1,
fGG(K) <1, fBB(K) <1 and off-diagonal terms
Is the sum of each row of fRG(K) + fRB(K)> 0, f
GR(K) + fGB(K)> 0, fBR(K) + fBG
(K) is determined so that> 0. Such a coefficient f
i , J(K) An example of (i, j = R, G, B) is shown below.
You.
【0020】[0020]
【数2】 但し、fRR(k),fGG(k),fBB(k)につ
いては、fRR(k)+fRG(k)+fRB(k)=
γr=1、fGR(k)+fGG(k)+fG B(k)
=γg=1、fBR(k)+fBG(k)+f
BB(k)=γb=1の関係から求められる。これによ
り、マトリクスMは6つのパラメータにより決定するこ
とができる。(Equation 2) However, for f RR (k), f GG (k), and f BB (k), f RR (k) + f RG (k) + f RB (k) =
γr = 1, f GR (k ) + f GG (k) + f G B (k)
= Γg = 1, f BR (k) + f BG (k) + f
BB (k) = γb = 1. Thereby, the matrix M can be determined by the six parameters.
【0021】なお、マトリクスMの係数は、上述した関
数を用いて階調変換率kに応じて逐次計算して求めても
よいが、階調変換率kの値0.01ステップ毎に全ての
マトリクスMを予め算出してメモリに記憶しておいても
よい。また、階調変換率kの代表的な値(例えばk=
1.2,1.1,0.9,0.8,0.7)について予
めマトリクスMを算出しておき、これをメモリに記憶し
ておくようにしてもよい。この場合、これら以外のkの
値についてのマトリクスMは、これらの代表的なマトリ
クスMのマトリクス係数を線形補間して決定すればよ
い。The coefficients of the matrix M may be calculated sequentially using the above-described function in accordance with the gradation conversion rate k. The matrix M may be calculated in advance and stored in the memory. Also, a representative value of the gradation conversion rate k (for example, k =
1.2, 1.1, 0.9, 0.8, 0.7), the matrix M may be calculated in advance, and this may be stored in the memory. In this case, the matrix M for other values of k may be determined by linearly interpolating the matrix coefficients of these representative matrices M.
【0022】なお、上記では6つのパラメータによりマ
トリクスMを決定しているが、パラメータの数は多いほ
ど色彩度変換処理の精度が高くなるがマトリクスMの決
定に長時間を要する。逆にパラメータの数が少ないほど
マトリクスMを容易に決定できるが、色彩度変換処理の
精度が低下する。したがって、パラメータの数は色変換
処理の精度およびシステムの能力に依存して決定すれば
よい。In the above description, the matrix M is determined by the six parameters. The greater the number of parameters, the higher the accuracy of the color-saturation conversion process, but the determination of the matrix M takes a long time. Conversely, the smaller the number of parameters, the easier the matrix M can be determined, but the lower the accuracy of the color saturation conversion processing. Therefore, the number of parameters may be determined depending on the accuracy of the color conversion process and the capability of the system.
【0023】また、種々の色により構成されたカラーパ
ッチを撮影することにより得られた画像データについて
種々の階調変換率kにより階調変換処理を行い、階調変
換率k毎に、階調変換処理後の画像について、カラーパ
ッチの色に戻すためのマトリクスの係数を実験的に求め
ておいてもよい。ここで、このように実験的に求めた階
調変換率kの値に応じたマトリクスMの例を下記に示
す。なお、ここではパラメータの数を6とし、階調変換
率k=1.2,1.1,0.9,0.8,0.7の場合
についてのマトリクスMの例を示す。The image data obtained by photographing the color patches composed of various colors is subjected to gradation conversion processing at various gradation conversion rates k, and the gradation conversion processing is performed for each gradation conversion rate k. A matrix coefficient for returning the color of the color patch to the color of the image after the conversion processing may be experimentally obtained. Here, an example of the matrix M according to the value of the gradation conversion rate k experimentally obtained as described above is shown below. Here, an example of the matrix M in the case where the number of parameters is 6 and the gradation conversion rate k = 1.2, 1.1, 0.9, 0.8, 0.7 is shown.
【0024】[0024]
【数3】 変換手段13は係数決定手段12において決定されたマ
トリクスMを用いて、上記式(2)により画像データS
0を構成する色信号R0,G0,B0に対して階調変換
処理および色彩度変換処理を施して、色信号R1,G
1,B1からなる処理済み画像データS1を得る。(Equation 3) The conversion unit 13 uses the matrix M determined by the coefficient determination unit 12 to calculate the image data S
0, the tone signals R0, G0, and B0 are subjected to gradation conversion processing and color saturation conversion processing to obtain color signals R1, G
The processed image data S1 composed of 1 and B1 is obtained.
【0025】次いで、本実施形態の動作について説明す
る。図3は本実施形態の動作を示すフローチャートであ
る。まず、画像データS0が画像処理手段1の階調変換
率決定手段11に入力され、上記式(1)に基づいて階
調変換率kが決定される(ステップS1)。階調変換率
kは係数決定手段12に入力され、ここで式(2)にお
けるマトリクスMの係数が決定される(ステップS
2)。係数が決定されたマトリクスMは変換手段13に
入力され、ここで画像データS0を構成する色信号R
0,G0,B0に対して式(2)に示すマトリクス演算
が施されて、色信号R1,G1,B1からなる処理済み
画像データS1が得られる(ステップS3)。処理済み
画像データS1はプリンタ2に入力されて、プリントP
が出力され(ステップS4)、処理を終了する。Next, the operation of this embodiment will be described. FIG. 3 is a flowchart showing the operation of the present embodiment. First, the image data S0 is input to the gradation conversion ratio determining unit 11 of the image processing unit 1, and the gradation conversion ratio k is determined based on the above equation (1) (step S1). The gradation conversion rate k is input to the coefficient determining means 12, where the coefficients of the matrix M in the equation (2) are determined (Step S).
2). The matrix M whose coefficients have been determined is input to the conversion means 13, where the color signals R constituting the image data S0 are converted.
The matrix operation shown in equation (2) is performed on 0, G0, and B0 to obtain processed image data S1 composed of color signals R1, G1, and B1 (step S3). The processed image data S1 is input to the printer 2, and the print P
Is output (step S4), and the process ends.
【0026】このように、本実施形態においては、変換
手段13において、式(2)により画像データS0に対
して階調変換処理を施すと同時に、階調変換処理の程度
に応じて色彩度変換処理を施して処理済み画像データS
1を得るようにしたため、階調変換処理を施した画像を
再生して色彩度変換の程度を確認した後に、色彩度変換
処理を施す必要がなくなり、これにより効率よく階調変
換処理および色彩度変換処理を行うことができる。As described above, in the present embodiment, the conversion means 13 performs the gradation conversion processing on the image data S0 according to the equation (2) and simultaneously performs the color saturation conversion according to the degree of the gradation conversion processing. Processed and processed image data S
Therefore, it is not necessary to perform the color saturation conversion process after reproducing the image subjected to the gradation conversion process and confirming the degree of the color saturation conversion, thereby efficiently performing the gradation conversion process and the color saturation. A conversion process can be performed.
【0027】なお、上記実施形態においては、階調変換
率決定手段11において上記式(1)に示すように階調
変換率kを決定しているが、画像データS0をモニタ3
に表示し、オペレータが表示された画像を観察しながら
入力手段4により所望とする階調となるように階調変換
処理を施し、施された階調に対応する階調変換率kを求
めるようにしてもよい。In the above embodiment, the gradation conversion rate k is determined by the gradation conversion rate determining means 11 as shown in the above equation (1).
The input means 4 performs a gradation conversion process to obtain a desired gradation while observing the displayed image, and obtains a gradation conversion ratio k corresponding to the performed gradation. It may be.
【0028】また、上記実施形態においては、式(2)
に示すマトリクス演算により階調変換処理および色彩度
変換処理を行っているが、階調変換処理を行った後の画
像データS0をL*a*b*色空間に変換し、L*a*
b*空間上において階調変換率kに応じてa*およびb
*の値を変更し、変更後のL*a*b*値をRGB空間
に逆変換して処理済み画像データS1を得るようにして
もよい。この処理は以下のように行えばよい。まず下記
の式(3)により画像データS0を構成する色信号R
0,G0,B0をCIE1931XYZ三刺激値に変換
する。In the above embodiment, the expression (2)
The tone conversion process and the color saturation conversion process are performed by the matrix calculation shown in FIG. 5. The image data S0 after the tone conversion process is converted into the L * a * b * color space, and the L * a *
a * and b in the b * space according to the gradation conversion rate k
The value of * may be changed, and the changed L * a * b * value may be inversely converted to RGB space to obtain the processed image data S1. This processing may be performed as follows. First, the color signal R constituting the image data S0 is calculated by the following equation (3).
Convert 0, G0, B0 to CIE1931 XYZ tristimulus values.
【0029】[0029]
【数4】 次に、三刺激値XYZから下記の式(4)〜(6)によ
りCIE1976L*a*b*を求める。(Equation 4) Next, CIE1976L * a * b * is calculated from the tristimulus values XYZ by the following equations (4) to (6).
【0030】 L*=116(Y/Yn)1/3−16 (4 ) a*=500{(X/Xn)1/3−(Y/Yn)1/3} (5) b*=200{(Y/Yn)1/3−(Z/Zn)1/3} (6) なお、Xn,Yn,Znは白色に対する三刺激値であ
り、D65に対応する三刺激値により代用することがで
きる。L * = 116 (Y / Yn) 1/3 -16 (4) a * = 500 {(X / Xn) 1 /3-(Y / Yn) 1/3 } (5) b * = 200 {(Y / Yn) 1/3 − (Z / Zn) 1/3 } (6) Note that Xn, Yn, and Zn are tristimulus values for white, and can be substituted by tristimulus values corresponding to D65. it can.
【0031】そして、表1に示すテーブルを参照して、
階調変換率kの値に応じて下記の式(7)、(8)によ
りa*およびb*を補正してa*′およびb*′を得
る。Then, referring to the table shown in Table 1,
A * and b * are corrected by the following equations (7) and (8) according to the value of the gradation conversion rate k to obtain a * 'and b * '.
【0032】a*′=C(a*)×a* (7) b*′=C(b*)×b* (8)A * '= C (a * ) * a * (7) b * ' = C (b * ) * b * (8)
【表1】 そして、a*′およびb*′を用いて式(4)〜(6)
を逆に解き、さらに式(3)を逆変換することにより、
階調変換処理の程度に応じて色彩度変換処理が施された
色信号R1,G1,B1からなる処理済み画像データS
1を得ることができる。[Table 1] Then, using a * 'and b * ', the equations (4) to (6)
Is solved in reverse, and by inversely transforming equation (3),
Processed image data S composed of color signals R1, G1, and B1 subjected to color saturation conversion processing according to the degree of gradation conversion processing
1 can be obtained.
【0033】なお、色彩度変換処理はマトリクス演算お
よびL*a*b*色空間に変換する方法に限定されるも
のではなく、画像データS0を構成する色信号R0,G
0,B0から輝度色差信号Y,Cb,Crを求め、色差
信号Cb,Crに対して加減算、あるいは乗算を施すこ
とにより階調変換処理の程度に応じて色彩度を変換する
ことも可能である。Note that the color saturation conversion processing is not limited to the matrix operation and the method of converting into the L * a * b * color space, but the color signals R0, G constituting the image data S0.
It is also possible to obtain the luminance and chrominance signals Y, Cb, and Cr from 0 and B0 and to perform addition, subtraction, or multiplication on the chrominance signals Cb and Cr to convert the color saturation according to the degree of the gradation conversion processing. .
【0034】また、上記実施形態においては線形の階調
変換処理を行っているが、非線形の階調変換処理を行っ
てもよい。この場合、階調変換処理は、非線形の1次元
ルックアップテーブルにより行うことができ、色彩度変
換処理はこの非線形の階調変換処理の程度に応じて決定
されたマトリクスを用いたマトリクス演算により行うこ
とができる。In the above embodiment, a linear gradation conversion process is performed, but a non-linear gradation conversion process may be performed. In this case, the gradation conversion processing can be performed by a non-linear one-dimensional look-up table, and the color saturation conversion processing is performed by a matrix operation using a matrix determined according to the degree of the non-linear gradation conversion processing. be able to.
【図1】本発明の実施形態による画像処理装置を適用し
た画像再生システムの構成を示すブロック図FIG. 1 is a block diagram showing a configuration of an image reproducing system to which an image processing device according to an embodiment of the present invention is applied.
【図2】画像データのヒストグラムを示す図FIG. 2 is a diagram showing a histogram of image data.
【図3】本実施形態の動作を示すフローチャートFIG. 3 is a flowchart showing the operation of the embodiment.
1 画像処理手段 2 プリンタ 3 モニタ 4 入力手段 11 階調変換率決定手段 12 係数決定手段 13 変換手段 DESCRIPTION OF SYMBOLS 1 Image processing means 2 Printer 3 Monitor 4 Input means 11 Tone conversion rate determination means 12 Coefficient determination means 13 Conversion means
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 9/64 H04N 1/46 Z Fターム(参考) 5B057 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CE11 CE17 CH07 5C066 AA11 BA20 CA05 CA17 EA05 GA01 GB01 HA03 HA06 JA01 KA12 KE04 LA02 5C077 LL19 MP08 PP15 PP32 PP36 PP37 PQ19 PQ23 SS05 TT02 TT09 5C079 HB01 LA12 LB01 MA04 NA03 NA05 PA08 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 9/64 H04N 1/46 Z F Term (Reference) 5B057 CA01 CA08 CA12 CA16 CB01 CB08 CB12 CB16 CC01 CE11 CE17 CH07 5C066 AA11 BA20 CA05 CA17 EA05 GA01 GB01 HA03 HA06 JA01 KA12 KE04 LA02 5C077 LL19 MP08 PP15 PP32 PP36 PP37 PQ19 PQ23 SS05 TT02 TT09 5C079 HB01 LA12 LB01 MA04 NA03 NA05 PA08
Claims (2)
画像処理を施して処理済み画像データを得る画像処理方
法において、 前記画像データに対して階調変換処理を施すと同時に、
該階調変換処理の程度に応じた色彩度変換処理を施し
て、前記処理済み画像データを得ることを特徴とする画
像処理方法。1. An image processing method for performing image processing on image data representing a color image to obtain processed image data, comprising: performing a gradation conversion process on the image data;
An image processing method, wherein a color saturation conversion process according to a degree of the gradation conversion process is performed to obtain the processed image data.
画像処理を施して処理済み画像データを得る画像処理装
置において、 前記画像データに対して階調変換処理を施すと同時に、
該階調変換処理の程度に応じた色彩度変換処理を施し
て、前記処理済み画像データを得る変換手段を備えたこ
とを特徴とする画像処理装置。2. An image processing apparatus for performing image processing on image data representing a color image to obtain processed image data, comprising: performing a gradation conversion process on the image data;
An image processing apparatus comprising: a conversion unit that performs a color saturation conversion process according to a degree of the gradation conversion process to obtain the processed image data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000068411A JP2001257902A (en) | 2000-03-13 | 2000-03-13 | Method and device for processing image |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000068411A JP2001257902A (en) | 2000-03-13 | 2000-03-13 | Method and device for processing image |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2001257902A true JP2001257902A (en) | 2001-09-21 |
Family
ID=18587468
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000068411A Pending JP2001257902A (en) | 2000-03-13 | 2000-03-13 | Method and device for processing image |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2001257902A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004336516A (en) * | 2003-05-09 | 2004-11-25 | Konica Minolta Photo Imaging Inc | Image processing method, image processor, and image recording apparatus |
| US8094205B2 (en) | 2007-01-12 | 2012-01-10 | Canon Kabushiki Kaisha | Imaging apparatus, image processing method and computer program for smoothing dynamic range of luminance of an image signal, color conversion process |
-
2000
- 2000-03-13 JP JP2000068411A patent/JP2001257902A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004336516A (en) * | 2003-05-09 | 2004-11-25 | Konica Minolta Photo Imaging Inc | Image processing method, image processor, and image recording apparatus |
| US8094205B2 (en) | 2007-01-12 | 2012-01-10 | Canon Kabushiki Kaisha | Imaging apparatus, image processing method and computer program for smoothing dynamic range of luminance of an image signal, color conversion process |
| US8957991B2 (en) | 2007-01-12 | 2015-02-17 | Canon Kabushiki Kaisha | Imaging apparatus, image processing method and computer program for smoothing dynamic range of luminance of an image signal, color conversion process |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3668014B2 (en) | Image processing method and apparatus | |
| JP4570336B2 (en) | A method for constructing an extended color gamut digital image from a limited color gamut digital image. | |
| JP3759761B2 (en) | Method and apparatus for changing sharpness | |
| KR101248858B1 (en) | Image processing apparatus and image processing method | |
| CN101273623B (en) | Camera device, image processing device, and image processing method | |
| US20020186387A1 (en) | Local color correction | |
| JPH0795813B2 (en) | Image output generation method and apparatus | |
| JP2002016818A (en) | Color correction method and device, and recording medium | |
| JP4600424B2 (en) | Development processing apparatus for undeveloped image data, development processing method, and computer program for development processing | |
| US20020008762A1 (en) | Method, apparatus and recording medium for image processing | |
| JP4244105B2 (en) | Image processing method and apparatus, and recording medium | |
| JP2008072604A (en) | Image processing system, device, media, program | |
| JP2000196890A (en) | Method and device for image processing and recording medium | |
| JP2006196992A (en) | History adding device, electronic camera, and image processing program | |
| JP2005348159A (en) | Image processing method and apparatus, program, and storage medium | |
| JP5070921B2 (en) | Development processing apparatus for undeveloped image data, development processing method, and computer program for development processing | |
| JP2001257902A (en) | Method and device for processing image | |
| JP2000092337A (en) | Image processing method, its device and recording medium | |
| JP4237555B2 (en) | Image correction method and image correction apparatus | |
| JP2008227959A (en) | Image processing apparatus, image processing method, and image processing system | |
| JP2002015314A (en) | Image outputting method, device, and storage medium | |
| JP3900871B2 (en) | Image file generation device and image data output device | |
| JPH11284860A (en) | Image processing method, image processing unit and recording medium recording image processing program and read by computer | |
| JP2000285232A (en) | Medium recording image sharpening program, image sharpening device, and image sharpening method | |
| JP6318497B2 (en) | Image processing apparatus, imaging apparatus, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050912 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061201 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070802 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070807 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080129 |