JP3346862B2 - Image processing device - Google Patents
Image processing deviceInfo
- Publication number
- JP3346862B2 JP3346862B2 JP32287393A JP32287393A JP3346862B2 JP 3346862 B2 JP3346862 B2 JP 3346862B2 JP 32287393 A JP32287393 A JP 32287393A JP 32287393 A JP32287393 A JP 32287393A JP 3346862 B2 JP3346862 B2 JP 3346862B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- mode
- image
- parameters
- optimized
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Description
【産業上の利用分野】この発明は、入力画像デ−タにパ
ラメ−タを用いて色補正をして処理する画像処理装置に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for performing color correction on input image data using parameters and processing the input image data.
【0002】[0002]
【従来の技術】従来、出力装置の特性に対する補正のた
めのパラメ−タを一度決定したら、どのような画像であ
っても同一のパラメ−タによって画像処理を行ってい
た。このパラメ−タは、全ての色に対する二乗誤差の平
均を最小にするようにして決定されるのが一般的である
が、この色の中には当然誤差が小さい色や大きい色が存
在し、画像の絵柄によっては、この誤差が大きい色がそ
の絵柄にとって重要な色である場合もある。このため、
人物の画像出力が多い出力装置においては、肌色を重要
視してパラメ−タを決定している場合がある。しかしな
がら、この場合には人物以外の画像に対しての誤差が大
きくなってしまう問題点があった。つまり、絵柄によっ
て最適なパラメ−タを選ぶことができないという問題点
があった。また、入力信号の色再現範囲(Gamut)
が出力装置の色再現範囲よりも広い場合には、図1に示
すように入力信号の色再現範囲を一様に圧縮してしまう
ので、正確に再現したい色まで圧縮されて色がずれてし
まうという問題点もあった。2. Description of the Related Art Conventionally, once parameters for correcting the characteristics of an output device are determined, image processing is performed using the same parameters for any image. This parameter is generally determined so as to minimize the average of the square errors for all colors, but there are naturally colors with small errors and large colors among these colors. Depending on the design of the image, the color with the large error may be an important color for the design. For this reason,
In an output device that outputs many images of a person, the parameters may be determined with emphasis on skin color. However, in this case, there is a problem that an error for an image other than a person becomes large. That is, there is a problem that an optimum parameter cannot be selected depending on a picture. Also, the color reproduction range (Gamut) of the input signal
Is larger than the color reproduction range of the output device, the color reproduction range of the input signal is uniformly compressed as shown in FIG. 1, so that the colors to be accurately reproduced are compressed and the colors are shifted. There was also a problem.
【0003】[0003]
【発明が解決しようとする課題】本発明は、モードを選
択するだけで画像の絵柄に応じた最適な色補正をするこ
とを目的とする。According to the present invention, a mode is selected.
An object of the present invention is to perform an optimum color correction according to a picture pattern of an image only by making a selection .
【0004】[0004]
【0005】[0005]
【課題を解決するための手段】本発明は、上記の目的を
達成するため、入力画像デ−タにパラメ−タを用いて色
補正をして処理する画像処理装置において、入力画像デ
ータ中の画像の中心部分の色を最適色とする中心モード
と、面積が最大である部分の色を最適色とする最大モー
ドとを設定するとともに、前記中心モードと最大モード
のいずれかを選択する操作手段と、前記操作手段によっ
て選択されたモードに応じて最適色を決定する最適化色
決定手段と、前記最適化色決定手段によって決定された
最適化色に基づいて色補正するための前記パラメータを
算出するパラメータ算出手段とを備えていることを特徴
とする。 SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides an image processing apparatus for performing color correction on input image data by using parameters and processes the input image data.
Center mode to optimize the color of the center part of the image in the data
And the maximum mode that optimizes the color of the part with the largest area
And the center mode and the maximum mode.
And operation means for selecting one of the, Tsu by the said operation means
Color to determine the optimal color according to the selected mode
Determining means and the optimized color determining means
Characterized by comprising a parameter calculating means for calculating the parameters for color correction based on optimization color
And
【0006】[0006]
【0007】[0007]
【0008】[0008]
【作用】本発明によれば、入力画像データ中の画像の中
心部分の色を最適色とする中心モードと、面積が最大で
ある部分の色を最適色とする最大モードとが設定され、
これらの設定されたモードのうち前記中心モードと最大
モードのいずれかを操作手段によって選択し、選択され
た色に応じてパラメ−タを算出し、色補正を行うので、
操作手段によってモードを選択するだけで、画像の絵柄
に応じた最適な色補正をすることができる。According to the present invention, in an image in input image data,
The center mode that optimizes the color of the heart and the maximum area
The maximum mode is set to optimize the color of a certain part,
Among the set modes, the center mode and the maximum
Select one of the modes by operating
Parameters are calculated according to the color and the color is corrected.
Only by selecting a mode with the operation means, it is possible to perform optimal color correction according to the picture pattern of the image.
【0009】[0009]
【0010】[0010]
【0011】[0011]
【実施例】図2を用いて、本発明の実施例の全体構成図
を説明する。色補正回路である色補正手段100は、入
力された入力色信号を設定されたパラメ−タに応じて色
補正し、出力色信号にして出力する。プリンタである出
力手段101は、入力された出力色信号に基づいて転写
紙に画像を記録する。パラメ−タ算出回路であるパラメ
−タ算出手段102は、指示された最適化色を図3の色
空間に示すように固定点とし、この固定点に基づいて予
め設定された入力信号のGamutと出力装置のGam
utとから色再現範囲の圧縮をしたりパラメ−タの算出
をしたりし、色補正手段100にパラメ−タを設定す
る。最適化色決定回路である最適化色決定手段103
は、図4に顔部分として示したような画像の中心部分の
色、または図5に青空部分として示したような画像中の
面積が最大である部分の色の一方を指示に応じて最適化
色として決定し、パラメ−タ算出手段102に最適化色
を指示する。操作パネルである操作手段104は、画像
の中心部分の色を最適色とする中心モ−ドと面積が最大
である部分の色を最適化色とする最大モ−ドとを選択す
るためのスイッチが設けられており、通常は中心モ−ド
が選択されていて、最適化色決定手段103に一方のモ
−ドを指示する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIG. 2, an overall configuration diagram of an embodiment of the present invention will be described. The color correction means 100, which is a color correction circuit, performs color correction on the input color signal according to the set parameters, and outputs an output color signal. The output unit 101, which is a printer, records an image on transfer paper based on the input output color signal. The parameter calculating means 102, which is a parameter calculating circuit, sets the specified optimized color as a fixed point as shown in the color space of FIG. 3, and sets the input signal Gamut and the preset signal based on the fixed point. Gam of output device
ut, the color reproduction range is compressed, and the parameters are calculated, and the parameters are set in the color correction means 100. Optimized color determination means 103 which is an optimized color determination circuit
Optimizes the color of the central part of the image as shown as the face part in FIG. 4 or the color of the part with the largest area in the image as shown as the blue sky part in FIG. 5 according to the instruction. The color is determined, and an optimized color is instructed to the parameter calculation means 102. An operation means 104, which is an operation panel, is a switch for selecting a center mode in which the color of the central portion of the image is the optimum color and a maximum mode in which the color of the portion having the largest area is the optimum color. The center mode is normally selected, and one of the modes is instructed to the optimization color determination means 103.
【0012】図6のフロ−チャ−トを用いて最適化色決
定手段103の制御を説明する。S601は、指示され
ているモ−ドを検出するステップであり、中心モ−ドで
あるかを判定している。S602は、S601において
中心モ−ドであることが検出されたときに、画像の中心
部分の色を判定して最適化色とするステップである。S
603は、S601において中心モ−ドでないことが検
出されたときに、つまり、最大モ−ドであるときに、画
像中に使われている色の数のヒストグラムを作成するス
テップである。S604は、ヒストグラムの中で最大値
を示している色(画像中の面積が最大の色)を判定して
最適化色とするステップである。S605は、パラメ−
タ算出手段102に最適化色を指示するステップであ
る。The control of the optimized color determining means 103 will be described with reference to the flowchart of FIG. S601 is a step of detecting the designated mode, and determines whether the mode is the center mode. S602 is a step in which when the central mode is detected in S601, the color of the central portion of the image is determined to be the optimized color. S
Step 603 is a step of creating a histogram of the number of colors used in the image when it is detected in S601 that the mode is not the center mode, that is, when the mode is the maximum mode. S604 is a step of determining the color indicating the maximum value (the color having the largest area in the image) in the histogram and making it the optimized color. S605 is a parameter
This is a step of instructing the data calculation means 102 on the optimized color.
【0013】図7のフロ−チャ−トを用いてパラメ−タ
算出手段102の制御を説明する。S701は、予め設
定された入力信号のGamutと出力装置のGamut
を読み取るステップである。S702は、指示された最
適化色を読み取るステップである。S703は、最適化
色を図3の色空間に示すように固定点とし、この固定点
に基づいて入力信号のGamutと出力装置のGamu
tとから色再現範囲の圧縮をするステップである。S7
04は、色再現範囲の圧縮に応じて決定される補正のた
めのパラメ−タの算出をするステップである。S705
は、色補正手段100にパラメ−タを設定するステップ
である。尚、色再現範囲の圧縮の方法は、色相をそのま
まにし明度、彩度を一様に圧縮する方法や、色再現範囲
を弾性体と仮定して弾性変形させる方法などがあり、そ
の他どのような方法を利用してもよい。また、パラメ−
タ算出の方法は、固定点を最少誤差とする拘束条件をい
れた最少自乗法などが考えられる。The control of the parameter calculation means 102 will be described with reference to the flowchart of FIG. In step S701, a predetermined input signal Gamut and an output device Gamut are set.
This is the step of reading. S702 is a step of reading the specified optimized color. In step S703, the optimized color is set as a fixed point as shown in the color space of FIG. 3, and based on the fixed point, the input signal Gamut and the output device Gamut are output.
This is a step of compressing the color reproduction range from t. S7
Step 04 is a step of calculating parameters for correction determined according to the compression of the color reproduction range. S705
Is a step for setting parameters in the color correction means 100. As a method of compressing the color reproduction range, there is a method of uniformly compressing the brightness and saturation while maintaining the hue, and a method of elastically deforming the color reproduction range assuming that the color reproduction range is an elastic body. A method may be used. Also, the parameter
As a method of calculating the data, a least square method with a constraint condition that the fixed point has a minimum error can be considered.
【0014】[0014]
【発明の効果】以上説明したように、本発明によれば、
モードを選択するだけで画像の絵柄に応じた最適な色補
正をすることができる。As described above, according to the present invention,
Just by selecting the mode, it is possible to perform optimal color correction according to the picture pattern of the image.
【0015】[0015]
【0016】[0016]
【図1】 従来の色再現範囲の圧縮を示すモデル図FIG. 1 is a model diagram showing conventional color gamut compression.
【図2】 本発明の全体構成を示すブロック図FIG. 2 is a block diagram showing the overall configuration of the present invention.
【図3】 本発明の色再現範囲の圧縮等を示すモデル図FIG. 3 is a model diagram showing compression and the like of a color reproduction range according to the present invention;
【図4】 中心モ−ドを選択したときを示す図FIG. 4 is a diagram showing a case where a center mode is selected.
【図5】 最大モ−ドを選択したときを示す図FIG. 5 is a diagram showing a case where a maximum mode is selected.
【図6】 最適化色決定手段の制御を示すフロ−チャ−
トFIG. 6 is a flow chart showing control of an optimized color determining means.
G
【図7】 パラメ−タ算出手段の制御を示すフロ−チャ
−トFIG. 7 is a flowchart showing control of a parameter calculating means.
100 色補正手段 101 出力手段 102 パラメ−タ算出手段 103 最適化色決定手段 104 操作手段 105 操作パネル REFERENCE SIGNS LIST 100 color correction means 101 output means 102 parameter calculation means 103 optimized color determination means 104 operation means 105 operation panel
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 510 G06T 5/00 100 G06T 11/60 120 H04N 1/46 H04N 1/60 JICSTファイル(JOIS)────────────────────────────────────────────────── ─── Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06T 1/00 510 G06T 5/00 100 G06T 11/60 120 H04N 1/46 H04N 1/60 JICST file (JOIS )
Claims (1)
補正をして処理する画像処理装置において、入力画像データ中の画像の中心部分の色を最適色とする
中心モードと、 面積が最大である部分の色を最適色とする最大モード
と、 を設定するとともに、 前記中心モードと最大モードのいずれかを 選択する操作
手段と、 前記操作手段によって選択されたモードに応じて最適色
を決定する最適化色決定手段と、 前記最適化色決定手段によって決定された最適化色に基
づいて色補正するための前記 パラメータを算出するパラ
メータ算出手段と、 を備えていることを特徴とする 画像処理装置。1. An image processing apparatus for performing color correction using parameters on input image data for processing, wherein a color of a central portion of an image in the input image data is optimized.
Center mode and maximum mode that optimizes the color of the area with the largest area
When sets a, the center mode and operation means for selecting one of a maximum mode, optimum color depending on the selected mode I by the said operating means
And optimization color determining means for determining an optimized color group is determined by the optimization color determining means
That it comprises a, a parameter calculating means for calculating the parameters for color correction Zui image processing apparatus according to claim.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP32287393A JP3346862B2 (en) | 1993-12-21 | 1993-12-21 | Image processing device |
US08/359,145 US5828780A (en) | 1993-12-21 | 1994-12-19 | Image processing apparatus with improved color correction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP32287393A JP3346862B2 (en) | 1993-12-21 | 1993-12-21 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH07182479A JPH07182479A (en) | 1995-07-21 |
JP3346862B2 true JP3346862B2 (en) | 2002-11-18 |
Family
ID=18148568
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP32287393A Expired - Fee Related JP3346862B2 (en) | 1993-12-21 | 1993-12-21 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3346862B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3733873B2 (en) | 2001-06-07 | 2006-01-11 | ノーリツ鋼機株式会社 | Photo image processing apparatus, method, and photo processing apparatus |
-
1993
- 1993-12-21 JP JP32287393A patent/JP3346862B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH07182479A (en) | 1995-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4931864A (en) | Image forming apparatus which performs gamma correction on the basis of a cumulative frequency distribution produced from a histogram of image data representing a selected area of an image | |
JP3115508B2 (en) | Color image processing equipment | |
JP3011432B2 (en) | Color image processing equipment | |
JP4294896B2 (en) | Image processing method and apparatus, and program therefor | |
US7605847B2 (en) | Digital camera having subject judgment function | |
US4864391A (en) | Image processing apparatus for color correcting an image which can monitor the result of the color correction | |
US6563602B1 (en) | Image processing apparatus and method, and recording medium | |
EP1954024B1 (en) | Image taking device and control method for image taking | |
US6850271B1 (en) | Photographic apparatus | |
US6850272B1 (en) | Image processing method and system | |
JP2008072253A (en) | Image processor and processing method | |
JPH0787587B2 (en) | Gradation correction device | |
US20030147000A1 (en) | Digital still camera, reproduction device, and image processor | |
JP3800873B2 (en) | Image processing apparatus and method | |
JP2003174567A (en) | Generation method for conversion table, program and color copying machine | |
JPH05103336A (en) | Color video signal processing device and color correcting method for color video signal | |
JP3346862B2 (en) | Image processing device | |
US5805295A (en) | Image processing apparatus and method for applying special image effects to output images | |
JPH0832060B2 (en) | Color image processing method | |
JP3915404B2 (en) | Imaging apparatus and white balance adjustment method thereof | |
JPH0580193B2 (en) | ||
JP3104361B2 (en) | Image processing apparatus and image processing system | |
JP3166974B2 (en) | Image processing method and image forming system using the same | |
JP2783591B2 (en) | Digital color image processing method | |
JP4507078B2 (en) | Automatic face image correction method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080906 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080906 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090906 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090906 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100906 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110906 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120906 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130906 Year of fee payment: 11 |
|
LAPS | Cancellation because of no payment of annual fees |