[go: up one dir, main page]

JP2000201277A - Image correcting method - Google Patents

Image correcting method

Info

Publication number
JP2000201277A
JP2000201277A JP11001911A JP191199A JP2000201277A JP 2000201277 A JP2000201277 A JP 2000201277A JP 11001911 A JP11001911 A JP 11001911A JP 191199 A JP191199 A JP 191199A JP 2000201277 A JP2000201277 A JP 2000201277A
Authority
JP
Japan
Prior art keywords
image
color
correction
white balance
density histogram
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
JP11001911A
Other languages
Japanese (ja)
Other versions
JP3614692B2 (en
Inventor
Yasushi Kodama
裕史 児玉
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP00191199A priority Critical patent/JP3614692B2/en
Publication of JP2000201277A publication Critical patent/JP2000201277A/en
Application granted granted Critical
Publication of JP3614692B2 publication Critical patent/JP3614692B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain an image of appropriate hue all the time even about an image in which sufficient correction of white balance can not be performed with the conversion of a density histogram. SOLUTION: Each density histogram of RGB is extended to improve image contrast and to correct 1st white balance (s9 to s11), and after that, the average value of pixel data of each color of the RGB is calculated about white pixels extracted in the original image only for an image where any maximum value of pixel values in each density histogram is larger than a reference value and the correction of the 1st white balance due to the density histogram extension is not effective, the conversion coefficient of each color of the RGB for making the white pixels whiter is calculated by using the average value, and 2nd white balance correction in which respective pixel data of each color of the RGB of all pixels of the original image are multiplied by the conversion coefficient is carried out (s12 to s15).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、ディジタルスチルカ
メラ、イメージスキャナ又はビデオキャプチャ回路等に
おいて取得されたカラー静止画像のコントラスト及びホ
ワイトバランスを補正するカラー静止画像の画像補正方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color still image correcting method for correcting the contrast and white balance of a color still image obtained by a digital still camera, an image scanner or a video capture circuit.

【0002】[0002]

【従来の技術】映像信号をカラー静止ディジタル画像に
変換する手段として、CCD又はC−MOSエリアセン
サ等の固体撮像素子を備えたディジタルスチルカメラ又
はイメージスキャナ等を用いる方法、及び、ビデオカメ
ラ等による撮像中のアナログ画像信号をリアルタイムに
ディジタルデータに変換するビデオキャプチャ回路を用
いる方法がある。なかでも、近年の高画素密度CCDの
低価格化を反映して、CCDを備えたディジタルスチル
カメラにより、高画質の静止画像が容易に入手できる状
況にある。
2. Description of the Related Art As a means for converting a video signal into a color still digital image, a method using a digital still camera or an image scanner equipped with a solid-state image pickup device such as a CCD or C-MOS area sensor, and a video camera or the like are used. There is a method using a video capture circuit that converts an analog image signal being captured into digital data in real time. Above all, reflecting the recent reduction in the price of high pixel density CCDs, high quality still images can be easily obtained with digital still cameras equipped with CCDs.

【0003】ところが、CCDは銀塩写真に比較して感
度が低く、被写体の照度が十分でない場合には、CCD
によって得られた画像のコントラストが不足したり、ホ
ワイトバランスの不適正によって色調が極端に赤くなっ
たり青くなる問題がある。また、イメージスキャナによ
って読み取られた画像においては、読取デバイス用ドラ
イバの設定が適正でないと色調の崩れや明度が暗くなる
問題がある。
However, a CCD has a lower sensitivity than a silver halide photograph, and when the illuminance of a subject is not sufficient, the CCD is used.
There is a problem that the contrast of the image obtained by the above becomes insufficient, and the color tone becomes extremely red or blue due to improper white balance. Further, in an image read by an image scanner, there is a problem that if the setting of the reading device driver is not appropriate, the color tone is distorted and the brightness becomes dark.

【0004】このため、従来のディジタルスチルカメラ
等の撮像装置では、内部のデータシグナルプロセッサに
おいてホワイトバランス補正を行い、光源の色温度に応
じてRBの増幅幅を調整し、適切なホワイトバランスの
画像を得るようにしている。例えば、特開平9−559
48号公報には、CCDによって撮像した画像の高輝度
部のディジタルデータに基づいてホワイトバランスを補
正する構成が開示されている。
For this reason, in a conventional imaging apparatus such as a digital still camera, an internal data signal processor performs white balance correction, adjusts the amplification width of RB according to the color temperature of a light source, and obtains an image having an appropriate white balance. I'm trying to get For example, JP-A-9-559
No. 48 discloses a configuration for correcting white balance based on digital data of a high-luminance portion of an image captured by a CCD.

【0005】また、静止画像の場合には、画質を補正す
る手段として、RGBの各色について濃度ヒストグラム
を作成し、濃度ヒストグラムにおける画素値の最小値及
び最大値が拡大するように濃度ヒストグラムを伸張する
ことにより、画像のコントラストを改善してホワイトバ
ランスを補正する濃度ヒストグラム変換方法が用いられ
ている。濃度ヒストグラムを伸張する方法としては、例
えば、濃度ヒストグラムにおいて原画像のR成分及びB
成分が画素値の全体に分布しており、かつ、G成分が低
い画素値に分布しており、原画像が全体としてマゼンタ
ががった色調である場合には、濃度ヒストグラムにおけ
るG成分の分布範囲を画素値の全体に伸張することによ
り、RGBの各色の成分のバランスを整わせて自然な色
調の画像に変換する。
In the case of a still image, as a means for correcting the image quality, a density histogram is created for each of the RGB colors, and the density histogram is expanded so that the minimum and maximum pixel values in the density histogram are enlarged. Accordingly, a density histogram conversion method for improving the contrast of an image and correcting a white balance is used. As a method of expanding the density histogram, for example, the R component of the original image and the B
If the components are distributed over the entire pixel value, the G component is distributed over the low pixel values, and the original image has a magenta hue as a whole, the distribution of the G component in the density histogram By extending the range to the entire pixel value, the components of each color of RGB are balanced to convert the image into a natural color tone image.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記の
濃度ヒストグラムの変換によるコントラスト及びホワイ
トバランスの補正方法では、原画像のホワイトバランス
が著しく不適正でRGBの各色の濃度ヒストグラムに大
きな差異がある場合には有効であるが、原画像のホワイ
トバランスの崩れがさほど大きくなくRGBの各色の濃
度ヒストグラムにおける画素値の最大値に大きな差異が
ない場合には、RGBの各色についての濃度ヒストグラ
ムの変換係数が略同一となり、コントラストは変化する
ものの、RGBの各色のバランスは殆ど変化せず、ホワ
イトバランスの補正を十分に行うことができない問題が
ある。
However, in the above-described method of correcting contrast and white balance by converting the density histogram, when the white balance of the original image is extremely inappropriate and there is a large difference between the density histograms of RGB colors. Is effective, but when the white balance of the original image is not so much disturbed and the maximum value of the pixel value in the density histogram of each color of RGB does not have a large difference, the conversion coefficient of the density histogram for each color of RGB is substantially equal. Even though the contrast is changed, the balance of each color of RGB hardly changes, and there is a problem that the white balance cannot be sufficiently corrected.

【0007】例えば、原画像内に輝度が著しく高いハイ
ライトが存在し、このハイライト部分において濃度ヒス
トグラムの最大値を抽出した場合や、原画像の明度が十
分である場合には、色調の崩れや偏りがあってもRGB
の各色の濃度ヒストグラムは画素値の略全域に分布する
ことになり、濃度ヒストグラムを伸張しても色調を十分
に改善することはできない。
For example, when a highlight having extremely high luminance exists in the original image and the maximum value of the density histogram is extracted in the highlight portion, or when the brightness of the original image is sufficient, the color tone collapses. RGB even if there is a bias
The density histogram of each color is distributed over substantially the entire range of pixel values, and the color tone cannot be sufficiently improved even if the density histogram is expanded.

【0008】この発明の目的は、濃度ヒストグラムの変
換によっては十分なホワイトバランスの補正を行うこと
ができない画像について、さらに、白画素のRGB平均
値を等しくする別のホワイトバランス補正を実行するこ
とにより、原画像の状態に拘らず、常に、適正な色調の
画像を得ることができるカラー静止画像の画像補正方法
を提供することにある。
[0008] An object of the present invention is to execute another white balance correction to make the RGB average values of white pixels equal for an image for which sufficient white balance correction cannot be performed by conversion of the density histogram. Another object of the present invention is to provide an image correction method for a color still image that can always obtain an image having an appropriate color tone regardless of the state of an original image.

【0009】[0009]

【課題を解決するための手段】請求項1に記載した発明
は、カラー原画像に対してコントラストの改善及び第1
のホワイトバランス補正のための濃度ヒストグラムの伸
張を行う画像補正方法において、濃度ヒストグラムの伸
張のみによって色調を適正に補正することができないカ
ラー原画像に対して、濃度ヒストグラムの伸張後に、カ
ラー原画像における白画素の色調を基準として全画素デ
ータを変換する第2のホワイトバランス補正を行うこと
を特徴とする。
According to the first aspect of the present invention, the contrast of a color original image is improved and the first contrast is improved.
In an image correction method for expanding a density histogram for white balance correction, a color original image whose color tone cannot be properly corrected by only the density histogram expansion A second white balance correction for converting all pixel data based on a color tone of a white pixel is performed.

【0010】請求項1に記載した発明においては、濃度
ヒストグラムの伸張のみによって色調を適正に補正する
ことができないカラー原画像に対して、濃度ヒストグラ
ムの伸張後に、カラー原画像における白画素の色調を基
準として全画素データが変換される。したがって、例え
ば、RGBの各色の濃度ヒストグラムが値域の略全域に
分布しているにも拘らず色調に偏りを有するカラー原画
像のように、濃度ヒストグラムを伸長しても色調に十分
な変化を与えることができない画像に対しては、白画素
の色調を基準とした別のホワイトバランス補正が実行さ
れ、カラー原画像における色調の偏りが確実に補正され
る。
According to the first aspect of the present invention, for a color original image whose color tone cannot be properly corrected only by expanding the density histogram, the color tone of white pixels in the color original image is changed after the density histogram is expanded. All pixel data is converted as a reference. Therefore, even if the density histogram is expanded, a sufficient change in the color tone is provided even if the density histogram is expanded, for example, as in a color original image having a bias in the color tone even though the density histograms of the RGB colors are distributed over substantially the entire value range. For an image that cannot be processed, another white balance correction based on the color tone of the white pixel is executed, and the color tone bias in the color original image is reliably corrected.

【0011】請求項2に記載した発明は、前記第2のホ
ワイトバランス補正に先立って、カラー原画像における
RGBの各色の濃度ヒストグラムの最大値を基準値と比
較し、色調がRGBのいずれかの色に偏っており、か
つ、RGBの各色の濃度ヒストグラムのそれぞれの最大
値が基準値を越える場合に第2のホワイトバランス補正
を実行することを特徴とする。
In the invention described in claim 2, prior to the second white balance correction, the maximum value of the density histogram of each color of RGB in the original color image is compared with a reference value, and any one of the RGB color tone is used. The second white balance correction is performed when the color is biased and the maximum value of each of the density histograms of the RGB colors exceeds a reference value.

【0012】請求項2に記載した発明においては、色調
がRGBのいずれかの色に偏っており、かつ、RGBの
各色の濃度ヒストグラムのそれぞれの最大値が基準値を
越えるカラー原画像が、濃度ヒストグラムの伸張のみに
よっては十分な色調の変化を与えることができない画像
であると判断され、この画像について第2のホワイトバ
ランス補正が実行される。したがって、濃度ヒストグラ
ムを伸張しても十分な色調の変化を与えることができな
い画像のみに対して正確に第2のホワイトバランス補正
が加重に実行され、濃度ヒストグラムの伸張によって十
分な色調の変化を与えることができる画像については第
2のホワイトバランス補正が加重して実行されることが
なく、画像の特徴に拘らず常に最短時間で色調が適正に
補正される。
According to the second aspect of the present invention, a color original image in which the color tone is biased to any one of the RGB colors and the maximum value of each of the density histograms of the respective colors of RGB exceeds the reference value is defined as a density image. It is determined that the image cannot give a sufficient change in color tone only by expansion of the histogram, and the second white balance correction is performed on this image. Therefore, the second white balance correction is accurately weighted only for an image for which a sufficient change in color tone cannot be given even if the density histogram is expanded, and a sufficient change in color tone is given by expanding the density histogram. The second white balance correction is not executed with weight for the image that can be obtained, and the color tone is always properly corrected in the shortest time regardless of the characteristics of the image.

【0013】請求項3に記載した発明は、前記第2のホ
ワイトバランス補正において、カラー原画像において白
画素を抽出し、白画素のRGBの各色の画素データの平
均値を算出し、白画素のRGBの各色の画素データの平
均値の全てがカラー原画像の平均輝度に一致する変換係
数をRGBの各色について算出し、及び、カラー原画像
の全画素の画素データに変換係数を乗算することを特徴
とする。
According to a third aspect of the present invention, in the second white balance correction, a white pixel is extracted from a color original image, an average value of pixel data of each color of RGB of the white pixel is calculated, and Calculating a conversion coefficient for each of the RGB colors in which all of the average values of the pixel data of each of the RGB colors match the average luminance of the color original image, and multiplying the pixel data of all the pixels of the color original image by the conversion coefficient. Features.

【0014】請求項3に記載した発明においては、濃度
ヒストグラムを伸張しても十分な色調の変化を与えるこ
とができないカラー原画像から白画素が抽出され、抽出
された白画素についてRGBの各色の画素データの平均
値が算出され、各色の画像データの平均値がカラー原画
像の平均輝度に一致するように決定された変換係数によ
り、カラー原画像の全画素におけるRGBの各色の画素
データが変換される。したがって、濃度ヒストグラムを
伸張しても十分な色調の変化を与えることができないカ
ラー原画像について、カラー原画像の輝度を変化させな
い範囲で白画素がより白くなるようにカラー原画像全体
の色調が適正に補正される。
According to the third aspect of the present invention, white pixels are extracted from a color original image in which a sufficient change in color tone cannot be given even if the density histogram is expanded, and RGB colors of the extracted white pixels are extracted. The average value of the pixel data is calculated, and the pixel data of each color of RGB in all the pixels of the color original image is converted by the conversion coefficient determined so that the average value of the image data of each color matches the average luminance of the color original image. Is done. Therefore, for a color original image in which a sufficient change in color tone cannot be given even when the density histogram is expanded, the color tone of the entire color original image is appropriate so that white pixels are whiter in a range where the luminance of the color original image is not changed. Is corrected to

【0015】請求項4に記載した発明は、前記第2のホ
ワイトバランス補正において、カラー原画像の周辺部に
含まれる画素の平均輝度と中央部に含まれる画素の平均
輝度とを比較し、比較結果に基づいて処理対象を変更す
ることを特徴とする。
According to a fourth aspect of the present invention, in the second white balance correction, the average luminance of the pixels included in the peripheral portion of the original color image and the average luminance of the pixels included in the central portion are compared. The processing target is changed based on the result.

【0016】請求項4に記載した発明においては、カラ
ー原画像の周辺部に含まれる画素の平均輝度と中央部に
含まれる画素の平均輝度とを比較した結果に基づいて第
2のホワイトバランス補正の対象となる範囲が変更され
る。したがって、画像の中央部に逆光部分を含む場合の
ように中央部の色調を優先的に補正する場合、及び、風
景写真のように画像の全体を補正する場合とが正確に峻
別され、中央部の色調を優先的に補正する場合には、周
辺部の画素に対する補正は実行されず画像処理時間が短
縮される。
In the invention described in claim 4, the second white balance correction is performed based on the result of comparing the average luminance of the pixels included in the peripheral portion of the original color image with the average luminance of the pixels included in the central portion of the color original image. Is changed. Therefore, the case where the color tone of the central portion is preferentially corrected, such as when a backlight portion is included in the central portion of the image, and the case where the entire image is corrected, such as a landscape photograph, are accurately distinguished. When the color tone is preferentially corrected, no correction is performed on the peripheral pixels, and the image processing time is reduced.

【0017】請求項5に記載した発明は、前記第2のホ
ワイトバランス補正の後にγ補正による階調変換処理を
行うことを特徴とする。
According to a fifth aspect of the present invention, after the second white balance correction, a gradation conversion process by gamma correction is performed.

【0018】請求項5に記載した発明においては、前記
第2のホワイトバランス補正を施した後のカラー原画像
に対してγ補正処理による明度の補正が行われる。した
がって、コントラストの改善、第1のホワイトバランス
補正及び第2のホワイトバランス補正によりコントラス
ト及び色調が適正にされた画像データについて、さらに
明度の補正が行われ、より適正な状態で画像が出力され
る。
In the invention described in claim 5, the brightness of the color original image after the second white balance correction is corrected by the γ correction process. Therefore, the brightness is further corrected for the image data whose contrast and color tone have been made appropriate by the improvement of the contrast, the first white balance correction and the second white balance correction, and the image is output in a more appropriate state. .

【0019】[0019]

【実施の形態】図1は、この発明の実施形態に係る画像
補正方法が適用される画像処理システムの構成を示すブ
ロック図である。画像補正装置1は、画像出力装置2及
び画像形成装置3とともに画像処理システムを構成して
いる。画像出力装置2は、例えば、ディジタルビデオカ
メラ、イメージスキャナ又はビデオキャプチャボード等
であり、画像形成装置3は、例えば、ディジタル複写機
の作像部やプリンタ等である。画像補正装置1は、画像
出力装置2であるイメージスキャナ及び画像形成装置3
である作像部とともに、画像処理システムとして1つの
ディジタル複写機を構成する場合もある。
FIG. 1 is a block diagram showing a configuration of an image processing system to which an image correction method according to an embodiment of the present invention is applied. The image correction device 1 forms an image processing system together with the image output device 2 and the image forming device 3. The image output device 2 is, for example, a digital video camera, an image scanner, a video capture board, or the like, and the image forming device 3 is, for example, an image forming unit or a printer of a digital copying machine. The image correction device 1 includes an image output device 2, an image scanner and an image forming device 3.
In some cases, one digital copying machine is configured as an image processing system together with the image forming unit.

【0020】画像補正装置1は、ROM12及びRAM
13を備えたCPU11に、画像データ入力部14、画
像メモリ15及び画像データ出力部16を接続して構成
されている。CPU11は、画像データ入力部14を介
して画像出力装置2から出力された画像データを読み取
り、読み取った画像データを画像メモリ15に一旦格納
した後にROM12に予め書き込まれたプログラムにし
たがって所定の画像処理を施し、画像メモリ15を介し
て画像データ出力部16から画像形成装置3に出力す
る。
The image correction apparatus 1 includes a ROM 12 and a RAM
An image data input unit 14, an image memory 15, and an image data output unit 16 are connected to a CPU 11 having a CPU 13. The CPU 11 reads image data output from the image output device 2 via the image data input unit 14, temporarily stores the read image data in the image memory 15, and performs predetermined image processing in accordance with a program previously written in the ROM 12. And outputs the image data from the image data output unit 16 to the image forming apparatus 3 via the image memory 15.

【0021】図2は、上記画像補正方法の処理手順を示
すフローチャートである。画像補正装置1のCPU11
は、ディジタルスチルカメラ、イメージスキャナ又はビ
デオキャプチャボード等の画像出力装置2において取り
込まれたWindowsBMP、JPEG、GIF又は
PNG等の画像形式の画像ファイルを画像データ入力部
14を介して読み込み(s1)、画像メモリ15上にビ
ットマップとして展開する。次いで、CPU11は、画
像メモリ15上に展開されたビットマップを縦方向及び
横方向のそれぞれの範囲を5分割にし、図3(A)に示
すように、画像全体して25個のエリアGa0〜Ga2
4に分割する(s2)。
FIG. 2 is a flowchart showing a processing procedure of the image correction method. CPU 11 of image correction device 1
Reads an image file in an image format such as Windows BMP, JPEG, GIF or PNG captured by the image output device 2 such as a digital still camera, an image scanner or a video capture board via the image data input unit 14 (s1); It is developed as a bit map on the image memory 15. Next, the CPU 11 divides the bitmap developed on the image memory 15 into five sections in each of the vertical and horizontal directions, and as shown in FIG. Ga2
It is divided into four (s2).

【0022】このように、原画像を所定数のエリアに分
割することにより、輝度、RGBの各色の画素データの
平均値、I,Q値及び色差信号等の画像の属性を表す属
性データから原画像における被写体の特徴を判別して最
適な画像補正処理を選択する場合に、これらの属性デー
タを一部のエリアについてのみ算出するようにして画像
補正処理を短時間化することができる。
As described above, by dividing the original image into a predetermined number of areas, the original data is extracted from the attribute data representing the attributes of the image such as the average value of the pixel data of each color of RGB, the I and Q values, and the color difference signals. When the characteristics of the subject in the image are determined and the optimal image correction processing is selected, the attribute correction data is calculated for only a part of the area, so that the image correction processing can be shortened.

【0023】この後、CPU11は、25個のエリアの
うち、図3(B)に示す9個の中央部エリアGa6〜
8,Ga11〜13,Ga16〜18の平均輝度Ycを
算出する(s3)。この平均輝度Ycは、9個の中央部
エリアに含まれる全画素のそれぞれについて、各画素の
RGB成分に基づいて人間の視感度特性を考慮した下記
式1によって算出した画素毎の輝度Yを、9個の中央部
エリアに含まれる画素数で除算して求められる。
Thereafter, the CPU 11 determines the nine central areas Ga6 to Ga6 shown in FIG.
The average luminance Yc of 8, Ga11 to 13, and Ga16 to 18 is calculated (s3). The average luminance Yc is calculated for each of the pixels included in the nine central areas by calculating the luminance Y of each pixel calculated by the following equation 1 in consideration of the human visual sensitivity characteristics based on the RGB components of each pixel: It is obtained by dividing by the number of pixels included in the nine central areas.

【0024】[0024]

【数1】 さらに、CPU11は、図3(C)に示す16個の周辺
部エリアGa0〜4,Ga5,Ga9,Ga10,Ga
14,Ga15,Ga19,Ga20〜24の平均輝度
Ysを平均輝度Ycと同様にして算出し(s4)、中央
部エリアの平均輝度Ycと周辺部エリアの平均輝度Ys
とを比較する(s5)。中央部エリアの平均輝度Ycが
周辺部エリアの平均輝度Ysよりも低い場合には、CP
U11は、画像の中央に位置する被写体が逆光状態の画
像であると判断して中央部エリアを後述する補正処理の
対象として設定し(s6)、中央部エリアの平均輝度Y
cが周辺部エリアの平均輝度Ys以上である場合には、
風景画像や複数の人物の集合画像であると判断して画像
全体を補正処理の対象として設定する(s7)。
(Equation 1) Further, the CPU 11 controls the sixteen peripheral areas Ga0 to Ga4, Ga5, Ga9, Ga10, and Ga shown in FIG.
The average luminance Ys of 14, Ga15, Ga19, and Ga20 to 24 is calculated in the same manner as the average luminance Yc (s4), and the average luminance Yc in the central area and the average luminance Ys in the peripheral area are calculated.
Is compared with (s5). If the average luminance Yc in the central area is lower than the average luminance Ys in the peripheral area, CP
U11 determines that the subject located at the center of the image is an image in a backlight state, sets the central area as a target of correction processing described later (s6), and sets the average luminance Y of the central area.
If c is equal to or higher than the average luminance Ys of the peripheral area,
It is determined that the image is a landscape image or a group image of a plurality of persons, and the entire image is set as a target of the correction processing (s7).

【0025】次に、CPU11は、s6又はs7におい
て設定した補正処理対象のエリアについて、RGBの各
色についての濃度ヒストグラムを作成し、各濃度ヒスト
グラムにおける画素値の最大値Rmax,Gmax,B
max、及び、最小値Rmin,Gmin,Bminを
求める(s8)。この後、CPU11は、各濃度ヒスト
グラムを伸張して画像のコントラスト補正及び第1のホ
ワイトバランス補正を行う(s9〜s11)。
Next, the CPU 11 creates a density histogram for each color of RGB for the area to be corrected set in s6 or s7, and obtains the maximum pixel value Rmax, Gmax, B in each density histogram.
max and minimum values Rmin, Gmin, Bmin are obtained (s8). Thereafter, the CPU 11 expands each density histogram and performs image contrast correction and first white balance correction (s9 to s11).

【0026】この各濃度ヒストグラムの伸張処理は、一
例として図4に示すように、原画像におけるRGBのい
ずれか一色の濃度ヒストグラムが曲線Aで表される場
合、その最小画素値Amin及び最小画素値Amaxを
画素データの値域の最小値及び最大値に伸張することに
より、濃度ヒストグラムを曲線Bに示す状態に変換す
る。この画素値の変換は、原画像の濃度ヒストグラム
(図4に示す例では曲線A)の画素値をx、伸張後の濃
度ヒストグラム(図4に示す例では曲線B)の画素値を
yとして、図5に示すように、一般式y=ax+bを用
いて行うことができる。
As shown in FIG. 4, for example, when the density histogram of any one of the RGB colors in the original image is represented by the curve A, the minimum pixel value Amin and the minimum pixel value By expanding Amax to the minimum value and the maximum value of the range of the pixel data, the density histogram is converted into the state shown by the curve B. This pixel value conversion is performed by setting the pixel value of the density histogram (curve A in the example shown in FIG. 4) of the original image to x, and the pixel value of the density histogram after expansion (curve B in the example shown in FIG. 4) to y. As shown in FIG. 5, this can be performed using the general formula y = ax + b.

【0027】なお、画素データの値域の最小値及び最大
値とは、例えば、画素毎にRGBの各色について8bi
tの解像度の場合、画素データは“0”〜“255”の
値域をとり、画素データの値域の最小値は“0”であ
り、画素データの値域の最大値は“255”である。
The minimum value and the maximum value of the range of the pixel data are, for example, 8 bits for each color of RGB for each pixel.
In the case of the resolution of t, the pixel data takes a value range from “0” to “255”, the minimum value of the pixel data range is “0”, and the maximum value of the pixel data range is “255”.

【0028】この処理によって、画像としては、画素デ
ータの値域の最小値から最大値までの全域に画素の各色
の値が分布することになり、コントラストが補正され
る。また、一例として図6に示すように、G成分の分布
範囲が広く、R成分及びB成分の分布範囲が画素値の低
い範囲に偏っており、全体的に赤い色調の画像である場
合、RGBの各色の濃度ヒストグラムの分布範囲に差異
を生じる。この場合にも上記の処理によってRGBの各
色の濃度ヒストグラムの分布範囲が一致することにな
り、画像の色調も補正される。
By this processing, the value of each color of the pixel is distributed over the entire range from the minimum value to the maximum value of the value range of the pixel data, and the contrast is corrected. As an example, as shown in FIG. 6, when the distribution range of the G component is wide, the distribution range of the R component and the B component is biased toward a range in which the pixel value is low, and when the image is a red tone image as a whole, RGB Is different in the distribution range of the density histogram of each color. In this case as well, the distribution ranges of the density histograms of the respective colors of RGB coincide with each other, and the color tone of the image is also corrected.

【0029】この後、CPU11は、各濃度ヒストグラ
ムにおける画素値の最大値Rmax,Gmax,Bma
xを基準値Ythと比較し(s12)、この比較結果に
応じて第2のホワイトバランス補正処理を選択的に実行
する。即ち、CPU11は、この比較において上記s9
〜s11における濃度ヒストグラムの伸張による第1の
ホワイトバランスの補正処理が有効でない画像を抽出す
る。したがって、基準値Ythとしては、濃度ヒストグ
ラムの伸張によっては十分に色調を補正できない画像に
共通する特徴を表す値が選択される。例えば、画素デー
タの値域が“0”〜“255”である場合には、基準値
Ythとして“245”を設定する。
Thereafter, the CPU 11 determines the maximum pixel value Rmax, Gmax, Bma of the pixel value in each density histogram.
x is compared with a reference value Yth (s12), and a second white balance correction process is selectively executed according to the comparison result. That is, the CPU 11 determines in the comparison that s9
An image for which the first white balance correction processing by extending the density histogram in 〜s11 is not effective is extracted. Therefore, as the reference value Yth, a value representing a feature common to images whose color tone cannot be sufficiently corrected depending on the expansion of the density histogram is selected. For example, when the value range of the pixel data is “0” to “255”, “245” is set as the reference value Yth.

【0030】CPU11は、s12の比較において、カ
ラー原画像の色調に偏りを生じており、かつ、各濃度ヒ
ストグラムにおける画素値の最大値Rmax,Gma
x,Bmaxのいずれもが基準値Ythよりも大きい場
合には、濃度ヒストグラムの伸張による第1のホワイト
バランスの補正処理が有効でない画像であると判断す
る。このような画像の例としては、例えば、図7(A)
に示すように、画像中に面積の大きいハイライト部分が
存在し、全体の色調がGに偏っているものの、RGBの
各色の濃度ヒストグラムの最大値がいずれも“255”
に近い画像や、図7(B)に示すように、RGBの各色
の濃度ヒストグラムが値域の全域に分布し、かつ、それ
ぞれの最大値がいずれも“255”に近いが、入力デバ
イスの特性等により若干Gに偏っている画像がある。
The CPU 11 finds in the comparison of s12 that the color tone of the color original image is biased, and that the maximum value Rmax, Gmax of the pixel value in each density histogram is obtained.
If both x and Bmax are larger than the reference value Yth, it is determined that the image is not effective for the first white balance correction processing by expanding the density histogram. FIG. 7A shows an example of such an image.
As shown in the figure, although the highlight portion having a large area exists in the image and the overall color tone is biased toward G, the maximum value of the density histogram of each color of RGB is “255”.
7B, the density histogram of each color of RGB is distributed over the entire value range, and the maximum value of each is close to “255” as shown in FIG. 7B. Some images are slightly biased toward G.

【0031】図7(A)または(B)に示すようにな画
像については、CPU11は、s13〜s15において
第2のホワイトバランスの補正を行う。即ち、画像中に
おいて本来白色であるべき白画素を抽出し、抽出した白
画素のRGBの各色の画素データを個別に加算し、白画
素の総数で除算することによって、白画素のRGBの各
色の画素データの平均値Wr,Wg,Wbを算出する
(s13)。ここに、白画素の抽出は、白画素では彩度
が極めて低いことに着目し、下記式2及び式3により算
出したI及びQの値がともに基準値Sよりも小さい画素
を白画素として選択する。
For an image as shown in FIG. 7A or 7B, the CPU 11 performs the second white balance correction in s13 to s15. That is, a white pixel which should be originally white in the image is extracted, and the pixel data of each color of RGB of the extracted white pixel is individually added and divided by the total number of white pixels, thereby obtaining the RGB of each color of white pixel. The average values Wr, Wg, Wb of the pixel data are calculated (s13). Here, the extraction of the white pixel focuses on the fact that the saturation is extremely low in the white pixel, and selects a pixel in which the values of I and Q calculated by the following equations 2 and 3 are both smaller than the reference value S as the white pixel. I do.

【0032】[0032]

【数2】 次に、CPU11は、s13において算出した平均値W
r,Wg,Wbを用いて、白画素をより白くするための
RGBの各色についての変換係数Kr,Kg,Kbを算
出する(s14)。ここで、白画素の変換後において原
画像の平均輝度Wyを変化させないこととすると下記式
4が成立し、この式4から下記式5に示す関係が得られ
る。
(Equation 2) Next, the CPU 11 calculates the average value W calculated in s13.
Using r, Wg, and Wb, the conversion coefficients Kr, Kg, and Kb for each of the RGB colors for making the white pixels whiter are calculated (s14). Here, if it is assumed that the average luminance Wy of the original image is not changed after the conversion of the white pixels, the following equation 4 is established, and the relationship shown in the following equation 5 is obtained from the equation 4.

【0033】[0033]

【数3】 さらに、CPU11は、s14において算出した変換係
数Kr,Kg,Kbを原画像の全画素のRGBの各色の
画素データのそれぞれに乗算する(s15)。この結
果、本来白色である画素のRGBの各色の画素データが
一致するように、画像全体の色調が自然な状態に補正さ
れる。
(Equation 3) Further, the CPU 11 multiplies each of the RGB pixel data of all the pixels of the original image by the conversion coefficients Kr, Kg, Kb calculated in s14 (s15). As a result, the color tone of the entire image is corrected to a natural state so that the pixel data of each of the RGB colors of the originally white pixels match.

【0034】CPU11は、上記s13〜s15の処理
を選択定に実行した後に、s16〜s18においてγ補
正処理を行う。γ補正は、s9〜s11における濃度ヒ
ストグラムの伸張処理後の画像において、濃度ヒストグ
ラムのピークが低い値域にあり、画像全体が暗い場合の
補正方法として有効である。このγ補正では、一般に、
下記式6にしたがって、入力信号Xを補正係数γにより
出力信号Yに補正する。
After the CPU 11 selectively executes the processes of s13 to s15, it performs the γ correction process in s16 to s18. The γ correction is effective as a correction method when the density histogram peak is in a low value range in the image after the density histogram expansion process in s9 to s11 and the entire image is dark. In this gamma correction, generally,
The input signal X is corrected to the output signal Y by the correction coefficient γ according to the following Expression 6.

【0035】[0035]

【数4】 式6において明らかなように、補正係数γの値が1より
も小さい場合には出力信号yは入力信号xよりも大きく
なり、補正係数γの値が1よりも大きい場合には出力信
号yは入力信号xよりも小さくなる。この関係を図7に
示す。
(Equation 4) As is apparent from Equation 6, when the value of the correction coefficient γ is smaller than 1, the output signal y becomes larger than the input signal x, and when the value of the correction coefficient γ is larger than 1, the output signal y becomes It becomes smaller than the input signal x. This relationship is shown in FIG.

【0036】CPU11は、s16〜s18におけるγ
補正処理で、各画素の画素データを式6における入力信
号Xとし、設定された補正係数γを用いて階調変換テー
ブルを作成する。RGBの各色の階調変換テーブルta
bleR〔〕,tableG〔〕,tableB〔〕の
配列は、RGBの各色の値域の分解能と同数の要素をも
ち、配列の各要素の値は下記式7により、RGBの値域
においてとり得る値(ここでは“0”〜“255”)を
iに代入して求められる。
The CPU 11 determines γ in s16 to s18.
In the correction process, the pixel data of each pixel is used as the input signal X in Expression 6, and a gradation conversion table is created using the set correction coefficient γ. Tone conversion table ta for each color of RGB
The array of bleR [], tableG [], and tableB [] has the same number of elements as the resolution of the range of each color of RGB, and the value of each element of the array is a value that can be obtained in the range of RGB (here, In this case, “0” to “255”) are substituted into i.

【0037】[0037]

【数5】 CPU11は、上記式7によって作成された階調変換テ
ーブルを用いて、各画素についてRGBの各色の画素デ
ータr,g,bの値を変換する。この例では、RGBの
各色について同一の補正係数γを用いる。したがって、
階調変換後におけるRGBの各色の画素データr′,
g′,b′は、下記式8によって表される。
(Equation 5) The CPU 11 converts the values of the pixel data r, g, and b of each color of RGB for each pixel using the gradation conversion table created by the above equation (7). In this example, the same correction coefficient γ is used for each color of RGB. Therefore,
The pixel data r ′ of each color of RGB after gradation conversion
g ′ and b ′ are represented by the following equation 8.

【0038】[0038]

【数6】 CPU11は、上記s16〜s18におけるγ補正処理
を終了した後の各画素の画素データを補正処理後の画像
データとして画像メモリ15に一時保存し(s19)、
所定の画像データの出力要求に応じて画像データ出力部
16を介して画像形成装置3に出力する(s20)。
(Equation 6) The CPU 11 temporarily stores the pixel data of each pixel after the γ correction processing in s16 to s18 in the image memory 15 as image data after the correction processing (s19),
The image data is output to the image forming apparatus 3 via the image data output unit 16 in response to a predetermined image data output request (s20).

【0039】以上の処理により、原画像の各画素の画素
データは、濃度ヒストグラムの伸張処理によるコントラ
ストの改善、及び、第1のホワイトバランス補正、並び
に、γ補正処理による中間調の明度の補正を受けるとと
もに、原画像の特徴に応じて白画素におけるRGBの各
色の画素データの均一化による第2のホワイトバランス
補正を受ける。即ち、濃度ヒストグラムの伸張による第
1のホワイトバランス補正のみによっては原画像の色調
を十分に補正することができない画像についてのみ、白
画素におけるRGBの各色の画素データの均一化による
第2のホワイトバランス補正を行い、濃度ヒストグラム
の伸張による第1のホワイトバランス補正のみによって
色調を十分に補正できる画像については第2のホワイト
バランス補正を行うことがなく、原画像の特徴に応じた
最短の処理時間で原画像の色調を常に適正な状態に補正
することができる。
By the above processing, the pixel data of each pixel of the original image is subjected to the improvement of the contrast by the expansion processing of the density histogram, the first white balance correction, and the correction of the halftone brightness by the γ correction processing. The second white balance correction is performed by equalizing the pixel data of each color of RGB in the white pixels according to the characteristics of the original image. In other words, only for an image in which the color tone of the original image cannot be sufficiently corrected only by the first white balance correction by expanding the density histogram, the second white balance by uniforming the pixel data of each color of RGB in the white pixels For an image whose color tone can be sufficiently corrected only by the first white balance correction based on the expansion of the density histogram, the second white balance correction is not performed, and the shortest processing time according to the characteristics of the original image is performed. The color tone of the original image can always be corrected to an appropriate state.

【0040】また、原画像が画像の中央に位置する被写
体が逆光状態の画像である場合には、s5,s6の処理
によって画像補正処理の対象として中央部エリアのみが
設定される。これによって、原画像の特徴に応じて画像
補正処理の対象とする範囲を削減し、画像補正処理に要
する時間をさらに短縮することができる。
If the subject located in the center of the original image is an image in a backlight state, only the central area is set as an object of the image correction processing by the processing of s5 and s6. This makes it possible to reduce the range to be subjected to the image correction processing according to the characteristics of the original image, and to further reduce the time required for the image correction processing.

【0041】[0041]

【発明の効果】請求項1に記載した発明によれば、濃度
ヒストグラムの伸張のみによって色調を適正に補正する
ことができないカラー原画像に対して、濃度ヒストグラ
ムの伸張後に、カラー原画像における白画素の色調を基
準として全画素データを変換することにより、例えば、
RGBの各色の濃度ヒストグラムが値域の略全域に分布
しているにも拘らず色調に偏りを有するカラー原画像の
ように、濃度ヒストグラムの伸張を施しても色調に十分
な変化を与えることができない画像に対しては、白画素
の色調を基準とした別のホワイトバランス補正を実行す
ることができ、カラー原画像における色調の偏りを確実
に補正することができる。
According to the first aspect of the present invention, for a color original image whose color tone cannot be properly corrected only by the expansion of the density histogram, the white pixels in the color original image are expanded after the expansion of the density histogram. By converting all pixel data based on the color tone of, for example,
Despite the fact that the density histograms of the RGB colors are distributed over substantially the entire range of the value range, a sufficient change in the color tone cannot be given even if the density histogram is expanded, as in a color original image having a color tone bias. For the image, another white balance correction based on the color tone of the white pixel can be executed, and the color tone bias in the original color image can be corrected reliably.

【0042】請求項2に記載した発明によれば、色調が
RGBのいずれかの色に偏っており、かつ、RGBの各
色の濃度ヒストグラムのそれぞれの最大値が基準値を越
えるカラー原画像を、濃度ヒストグラムの伸張のみによ
っては十分な色調の変化を与えることができない画像と
判断し、この画像について第2のホワイトバランス補正
処理を実行することにより、濃度ヒストグラムの伸張に
よって十分な色調の変化を与えることができる画像につ
いては第2のホワイトバランス補正を加重して実行する
ことがなく、画像の特徴に拘らず常に最短時間で色調を
適正に補正することができる。
According to the second aspect of the present invention, a color original image in which the color tone is biased to one of the RGB colors and the maximum value of each of the density histograms of the RGB colors exceeds the reference value is obtained. It is determined that the image cannot provide a sufficient change in color tone only by the expansion of the density histogram, and a second white balance correction process is performed on this image to provide a sufficient change in color tone by expanding the density histogram. For images that can be used, the second white balance correction is not executed with weighting, and the color tone can always be properly corrected in the shortest time regardless of the characteristics of the image.

【0043】請求項3に記載した発明によれば、濃度ヒ
ストグラムを伸張しても十分な色調の変化を与えること
ができないカラー原画像から白画素を抽出し、抽出した
白画素についてRGBの各色の画素データの平均値を算
出し、各色の画像データの平均値がカラー原画像の平均
輝度に一致するように決定した変換係数により、カラー
原画像の全画素におけるRGBの各色の画素データを変
換することにより、濃度ヒストグラムを伸張しても十分
な色調の変化を与えることができないカラー原画像につ
いて、白画素がカラー原画像の輝度を変化させない範囲
でより白くなるようにカラー原画像全体の色調を適正に
補正することができる。
According to the third aspect of the present invention, white pixels are extracted from a color original image in which a sufficient change in color tone cannot be given even if the density histogram is expanded, and the RGB values of the extracted white pixels are extracted. The average value of the pixel data is calculated, and the pixel data of each color of RGB in all the pixels of the color original image is converted by the conversion coefficient determined so that the average value of the image data of each color matches the average luminance of the color original image. Thus, for a color original image in which a sufficient change in color tone cannot be given even when the density histogram is expanded, the color tone of the entire color original image is adjusted so that white pixels become whiter in a range where the luminance of the color original image is not changed. Correction can be made appropriately.

【0044】請求項4に記載した発明によれば、カラー
原画像の周辺部に含まれる画素の平均輝度と中央部に含
まれる画素の平均輝度とを比較した結果に基づいて第2
のホワイトバランス補正の対象となる範囲を変更するこ
とにより、画像の中央部に逆光部分を含む場合のように
中央部の色調を優先的に補正する場合、及び、風景写真
のように画像の全体を補正する場合とを正確に峻別する
ことができ、中央部の色調を優先的に補正する場合に
は、周辺部の画素に対する補正を実行することがなく、
補正処理時間を短縮することができる。
According to the fourth aspect of the present invention, based on the result of comparing the average luminance of the pixels included in the peripheral portion of the color original image with the average luminance of the pixels included in the central portion, the second image is obtained.
By changing the range of the white balance correction, the color tone at the center is preferentially corrected, such as when the image contains a backlight, and when the entire image is Can be accurately distinguished from the case where the correction is made, and when the color tone in the center portion is corrected with priority, the correction is not performed on the pixels in the peripheral portion.
The correction processing time can be reduced.

【0045】請求項5に記載した発明によれば、前記第
2のホワイトバランス補正を施した後のカラー原画像に
対してγ補正による明度の補正を行うことにより、コン
トラストの改善、第1のホワイトバランス補正及び第2
のホワイトバランス補正によりコントラスト及び色調を
適正にした画像データについて、さらに明度の補正を行
い、より適正な状態の画像を出力することができる。
According to the fifth aspect of the invention, the brightness of the color original image after the second white balance correction is corrected by the γ correction to improve the contrast. White balance correction and second
It is possible to further correct the brightness of the image data in which the contrast and the color tone are made appropriate by the white balance correction, and output an image in a more appropriate state.

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明の実施形態に係る画像補正方法が適用
される画像処理システムの構成を示すブロック図であ
る。
FIG. 1 is a block diagram illustrating a configuration of an image processing system to which an image correction method according to an embodiment of the present invention is applied.

【図2】上記画像補正方法の処理手順を示すフローチャ
ートである。
FIG. 2 is a flowchart showing a processing procedure of the image correction method.

【図3】上記画像補正方法における原画像の分割状態を
示す図である。
FIG. 3 is a diagram showing a division state of an original image in the image correction method.

【図4】上記画像補正方法におけるコントラストの改善
及び第1のホワイトバランス補正のための濃度ヒストグ
ラムの伸張を説明する図である。
FIG. 4 is a view for explaining improvement of contrast and expansion of a density histogram for the first white balance correction in the image correction method.

【図5】上記濃度ヒストグラムの伸張に用いられる画素
データの変換式を説明する図である。
FIG. 5 is a diagram illustrating a conversion formula of pixel data used for expanding the density histogram.

【図6】上記濃度ヒストグラムの伸張による第1のホワ
イトバランス補正を受けるべき画像の濃度ヒストグラム
の一例を示す図である。
FIG. 6 is a diagram illustrating an example of a density histogram of an image to be subjected to a first white balance correction by expanding the density histogram.

【図7】上記画像補正方法における第2のホワイトバラ
ンス補正のための白画素の画素データの均一化処理を受
けるべき原画像の濃度ヒストグラムの例を示す図であ
る。
FIG. 7 is a diagram illustrating an example of a density histogram of an original image to be subjected to a process of equalizing pixel data of white pixels for a second white balance correction in the image correction method.

【図8】上記画像補正方法におけるγ補正に用いられる
補正係数γを示す図である。
FIG. 8 is a diagram illustrating a correction coefficient γ used for γ correction in the image correction method.

【符号の説明】[Explanation of symbols]

1−画像補正装置 2−画像出力装置 3−画像形成装置 11−CPU 12−ROM 13−RAM 14−画像データ入力部 15−画像メモリ 16−画像データ出力部 1-Image Correction Device 2-Image Output Device 3-Image Forming Device 11-CPU 12-ROM 13-RAM 14-Image Data Input Unit 15-Image Memory 16-Image Data Output Unit

フロントページの続き Fターム(参考) 5C066 AA01 AA05 AA11 CA09 DA01 DA05 DD06 EA14 EE02 EE04 GA01 GA02 HA03 KD04 KD07 KE02 KE03 KE07 KE09 KE17 KM01 LA02 5C077 LL01 LL04 LL19 MP08 PP15 PP32 PP34 PP37 PP43 PP46 PP68 PQ08 PQ12 PQ19 PQ20 PQ23 RR14 5C079 HB01 HB04 LA12 LA23 LA31 MA02 MA04 MA11 NA01 Continued on front page F-term (reference) 5C079 HB01 HB04 LA12 LA23 LA31 MA02 MA04 MA11 NA01

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】カラー原画像に対してコントラストの改善
及び第1のホワイトバランス補正のための濃度ヒストグ
ラムの伸張を行う画像補正方法において、 濃度ヒストグラムの伸張のみによって色調を適正に補正
することができないカラー原画像に対して、濃度ヒスト
グラムの伸張後に、カラー原画像における白画素の色調
を基準として全画素データを変換する第2のホワイトバ
ランス補正を行うことを特徴とする画像補正方法。
In an image correction method for improving contrast and expanding a density histogram for a first white balance correction on a color original image, a color tone cannot be properly corrected only by expanding the density histogram. An image correction method, wherein a second white balance correction for converting all pixel data based on a color tone of a white pixel in the color original image is performed on the color original image after expanding the density histogram.
【請求項2】前記第2のホワイトバランス補正に先立っ
て、カラー原画像におけるRGBの各色の濃度ヒストグ
ラムの最大値を基準値と比較し、色調がRGBのいずれ
かの色に偏っており、かつ、RGBの各色の濃度ヒスト
グラムのそれぞれの最大値が基準値を越える場合に第2
のホワイトバランス補正を実行する請求項1に記載の画
像補正方法。
2. Prior to the second white balance correction, the maximum value of the density histogram of each color of RGB in the color original image is compared with a reference value, and the color tone is biased toward any one of RGB colors. , RGB if the maximum value of the density histogram of each color exceeds the reference value.
2. The image correction method according to claim 1, wherein the white balance correction is performed.
【請求項3】前記第2のホワイトバランス補正におい
て、カラー原画像において白画素を抽出し、白画素のR
GBの各色の画素データの平均値を算出し、白画素のR
GBの各色の画素データの平均値の全てがカラー原画像
の平均輝度に一致する変換係数をRGBの各色について
算出し、カラー原画像の全画素のRGBの各色の画素デ
ータに変換係数を乗算する請求項1又は2に記載の画像
補正方法。
3. In the second white balance correction, a white pixel is extracted from a color original image, and the R of the white pixel is extracted.
The average value of the pixel data of each color of GB is calculated, and R of the white pixel is calculated.
A conversion coefficient is calculated for each of the RGB colors in which all of the average values of the pixel data of each of the RGB colors match the average luminance of the color original image, and the pixel data of each of the RGB colors of all the pixels of the color original image are multiplied by the conversion coefficient. The image correction method according to claim 1.
【請求項4】前記第2のホワイトバランス補正におい
て、カラー原画像の周辺部に含まれる画素の平均輝度と
中央部に含まれる画素の平均輝度とを比較し、この比較
結果に基づいて処理対象を変更する請求項1乃至3のい
ずれかに記載の画像補正方法。
4. In the second white balance correction, an average luminance of a pixel included in a peripheral portion of the color original image is compared with an average luminance of a pixel included in a central portion of the color original image. The image correction method according to claim 1, wherein:
【請求項5】前記第2のホワイトバランス補正の後にγ
補正による階調変換を行う請求項1乃至4のいずれかに
記載の画像補正方法。
5. After the second white balance correction, γ
The image correction method according to any one of claims 1 to 4, wherein gradation conversion by correction is performed.
JP00191199A 1999-01-07 1999-01-07 Image correction method Expired - Fee Related JP3614692B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00191199A JP3614692B2 (en) 1999-01-07 1999-01-07 Image correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00191199A JP3614692B2 (en) 1999-01-07 1999-01-07 Image correction method

Publications (2)

Publication Number Publication Date
JP2000201277A true JP2000201277A (en) 2000-07-18
JP3614692B2 JP3614692B2 (en) 2005-01-26

Family

ID=11514775

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00191199A Expired - Fee Related JP3614692B2 (en) 1999-01-07 1999-01-07 Image correction method

Country Status (1)

Country Link
JP (1) JP3614692B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1793584A1 (en) * 2005-12-01 2007-06-06 Arima Computer Corporation White balance method
US7495696B2 (en) 2005-01-27 2009-02-24 Arima Computer Corporation White balance method
CN100481962C (en) * 2005-03-14 2009-04-22 华宇电脑股份有限公司 White balance method
JP2018527782A (en) * 2015-06-30 2018-09-20 ユウトウ・テクノロジー(ハンジョウ)・カンパニー・リミテッド Method for controlling projector and projector applied to the method
CN110087053A (en) * 2019-04-26 2019-08-02 上海交通大学 Realizing auto kine bias function system and bearing calibration
CN111681201A (en) * 2020-04-20 2020-09-18 深圳市鸿富瀚科技股份有限公司 Image processing method, image processing device, computer equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100918701B1 (en) 2007-10-11 2009-09-22 한국과학기술원 Robust Auto White Balance Method
JP6579868B2 (en) 2015-09-01 2019-09-25 キヤノン株式会社 Image processing apparatus, imaging apparatus, image processing method, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7495696B2 (en) 2005-01-27 2009-02-24 Arima Computer Corporation White balance method
CN100481962C (en) * 2005-03-14 2009-04-22 华宇电脑股份有限公司 White balance method
EP1793584A1 (en) * 2005-12-01 2007-06-06 Arima Computer Corporation White balance method
JP2018527782A (en) * 2015-06-30 2018-09-20 ユウトウ・テクノロジー(ハンジョウ)・カンパニー・リミテッド Method for controlling projector and projector applied to the method
CN110087053A (en) * 2019-04-26 2019-08-02 上海交通大学 Realizing auto kine bias function system and bearing calibration
CN111681201A (en) * 2020-04-20 2020-09-18 深圳市鸿富瀚科技股份有限公司 Image processing method, image processing device, computer equipment and storage medium
CN111681201B (en) * 2020-04-20 2023-06-23 深圳市鸿富瀚科技股份有限公司 Image processing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
JP3614692B2 (en) 2005-01-26

Similar Documents

Publication Publication Date Title
US8290263B2 (en) Image processing apparatus
JP3668014B2 (en) Image processing method and apparatus
CN101527860B (en) White balance control apparatus, control method therefor, and image sensing apparatus
US7102669B2 (en) Digital color image pre-processing
JP4677753B2 (en) Moving image processing apparatus and method
US7358988B1 (en) Image signal processor for performing image processing appropriate for an output device and method therefor
CN101322416A (en) Image signal processing device and image signal processing method
US8059904B2 (en) Image-processing device, electronic camera, image-processing program, and image-processing method
JP3921499B2 (en) Color image signal processing method and color image signal processing apparatus using the same
JP3614692B2 (en) Image correction method
JP7699964B2 (en) Imaging device, control method thereof, program, and storage medium
JP2001238129A (en) Image processing apparatus and recording medium
JP2001268345A (en) Image synthesizing device
JP7657629B2 (en) Imaging device
JP2929983B2 (en) Color image processing equipment
JP6413210B2 (en) Image processing apparatus, imaging apparatus, and program
JP2002094810A (en) Picture processor, picture processing method and memory medium having stored programs for the method
JP2000165906A (en) Method and device for automatic white balance control
JP3817371B2 (en) Image processing method, apparatus, and recording medium
JP2002095003A (en) Electronic camera
JP2000209437A (en) Image correction method and storage medium storing image correction program
JP2023090493A (en) Image processing device, control method for the same, program, and storage medium
JP2000078437A (en) Video signal processor
JP2019022228A (en) Image processing apparatus, imaging apparatus and program
JP2006148791A (en) Imaging device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040629

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040830

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041027

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20081112

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091112

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091112

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101112

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111112

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees