JP2011223509A - Color correction system, program and color correction method - Google Patents

Color correction system, program and color correction method Download PDF

Info

Publication number
JP2011223509A
JP2011223509A JP2010093148A JP2010093148A JP2011223509A JP 2011223509 A JP2011223509 A JP 2011223509A JP 2010093148 A JP2010093148 A JP 2010093148A JP 2010093148 A JP2010093148 A JP 2010093148A JP 2011223509 A JP2011223509 A JP 2011223509A
Authority
JP
Japan
Prior art keywords
color
parameter
correction
color correction
color information
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.)
Withdrawn
Application number
JP2010093148A
Other languages
Japanese (ja)
Inventor
Masaki Ishikawa
真己 石川
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2010093148A priority Critical patent/JP2011223509A/en
Publication of JP2011223509A publication Critical patent/JP2011223509A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Image Processing (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

PROBLEM TO BE SOLVED: To display an appropriate image irrespective of an installation environment of a display unit by correcting a display image.SOLUTION: A color collection system includes surrounding color acquisition means 10 to acquire surrounding color information 110, which is color information around a display unit, and parameter calculation means 12 to calculate a parameter 112 needed for correcting display color of input image data based on the surrounding color information. The parameter calculation means performs parameter calculation to calculate a parameter on predetermined image pixels of input image data 100 for each element in a predetermined color space. The parameter calculation determines a calculation target range within an area around the display unit; acquires background color information that is color information of background points, which are image elements within the calculation target range, from the surrounding color information; calculates background point distance which is the distance between the predetermined image pixels and the background points; calculates a background point correction value based on the background color information and the background point distance; and defines the total sum of the background correction value on all the background points included in the calculation target range as a parameter.

Description

本発明は、色補正システム、プログラムおよび色補正方法等に関する。   The present invention relates to a color correction system, a program, a color correction method, and the like.

人の目の生理的機能として色順応や明暗順応がある。例えば、太陽光(色温度は約5500K)の下で白く見える物体を、電球色の照明光(色温度は約3000K)の下で見ると最初は赤みを帯びるが、時間が経過すると白く見えるようになる。これは色順応の一例である。また、例えば、暗い映画館に入ったとき、最初は足下も見えないが徐々に周囲が見えてくるようになる。これは、明暗順応の一例である。   As physiological functions of human eyes, there are chromatic adaptation and light / dark adaptation. For example, an object that looks white under sunlight (color temperature is about 5500K) is initially reddish when viewed under light bulb-colored illumination light (color temperature is about 3000K), but appears white over time. become. This is an example of chromatic adaptation. For example, when you enter a dark movie theater, you can't see your feet at first, but gradually you can see the surroundings. This is an example of light and dark adaptation.

このような目の生理的機能を考慮して、表示部(表示装置)の前段で表示画像の色を補正するシステム(以下、色補正システムとも表現する)が用いられる場合がある。例えば、近年のテレビ(表示部および色補正システムの一例)の中には、日中であるか、夕刻であるかを判断するタイマーや照度の変化を判断する輝度センサーを有するものがある。また、特許文献2の発明は周囲の照明光を考慮して色補正を行う。   In consideration of such a physiological function of the eye, a system that corrects the color of the display image in the previous stage of the display unit (display device) (hereinafter also referred to as a color correction system) may be used. For example, some recent televisions (an example of a display unit and a color correction system) have a timer that determines whether it is daytime or evening, and a luminance sensor that determines a change in illuminance. The invention of Patent Document 2 performs color correction in consideration of ambient illumination light.

特開2006−332908号公報JP 2006-3332908 A 特願2007−512803号公報Japanese Patent Application No. 2007-512803 特開2001−292333号公報JP 2001-292333 A

しかし、照明の色や照度以外にも、人の目の生理的機能に作用して、ユーザーが見る画像に感覚的な影響を及ぼす要素がある。例えば、背景となる壁の色が原因で表示画像に色順応が生じるだけでなく、明度対比の影響が生じる可能性がある。また、テレビ受像機などの画像表示装置においては、外枠によって表示画像に明度対比の影響が生じる可能性がある。ここで、明度対比とは、明度の異なる2色を並べた場合に、明るい色はより明るく、暗い色はより暗く見えることを言う。   However, in addition to the illumination color and illuminance, there are other factors that affect the physiological function of the human eye and affect the image viewed by the user. For example, not only chromatic adaptation occurs in the display image due to the color of the wall as the background, but also the influence of brightness contrast may occur. Further, in an image display device such as a television receiver, there is a possibility that the display image may be influenced by brightness contrast due to the outer frame. Here, lightness contrast means that when two colors having different lightness are arranged, a bright color looks brighter and a dark color looks darker.

例えば、図11(A)のテスト画像1000では、グラデーション(左方が黒で右方が白)が施された背景に、同色の4枚の正方形が3組配置されている。第1組は白色の4枚の正方形で、テスト画像1000の上段に横一列に並べられている。第2組は薄い灰色で、同様に中段に横一列に並べられている。第3組は濃い灰色で、下段に横一列に並べられている。例えば、第2組(中段)の最も左の正方形と、最も右の正方形を比較すると、同色であるにもかかわらず、最も右の正方形の色が濃く感じられる。また、第1組(上段)では、左端の正方形がより白く見え、第3組(下段)では、右端の正方形の灰色はより濃く感じられる。これが、明度対比の一例である。   For example, in the test image 1000 of FIG. 11A, three sets of four squares of the same color are arranged on a background with gradation (black on the left and white on the right). The first set is four white squares, which are arranged in a horizontal row at the top of the test image 1000. The second set is light gray and is also arranged in a horizontal row in the middle. The third set is dark gray and is arranged in a horizontal row at the bottom. For example, when the leftmost square in the second group (middle stage) is compared with the rightmost square, the color of the rightmost square is felt dark even though they are the same color. In the first set (upper stage), the leftmost square appears whiter, and in the third set (lower stage), the rightmost square gray appears darker. This is an example of brightness contrast.

また、表示部が常に壁を背景にしているとは限らないため、表示部の周囲の色(以下、周囲色と表現する)が一律でない場合があり得る。例えば、白色の壁の室内に配置されているが、表示部は黒の遮光カーテンの前に配置されており、ユーザーの視界には、表示部、黒のカーテン、白壁の全てが入る場合があり得る。この場合、明度対比を強く生じさせるのは、表示部により近い周囲色である。   In addition, since the display unit does not always have a wall as a background, the surrounding color of the display unit (hereinafter referred to as ambient color) may not be uniform. For example, although it is placed in a room with a white wall, the display unit is placed in front of the black light-shielding curtain, and the display unit, black curtain, and white wall may all enter the user's field of view. obtain. In this case, it is the surrounding color that is closer to the display unit that causes a strong brightness contrast.

例えば、図11(B)のテスト画像1001〜1003は、図11(A)と同様に濃い灰色の正方形の見え方を確認するものである。テスト画像1001〜1003の正方形の色(濃い灰色)は全て同色であるが、テスト画像1001とテスト画像1003を比較すると、明度対比の影響によりテスト画像1003の正方形の灰色がより濃く見える。ここで、テスト画像1002は、濃い灰色の正方形に近い周囲色を黒とし、更にその外側の周囲色を白とする。このとき、テスト画像1002の灰色の正方形は、テスト画像1003とは異なる濃さに、テスト画像1001とは同じような濃さに見える。つまり、テスト画像1002の周囲色には白も含まれるが、より近い周囲色である黒が影響を及ぼしている。   For example, test images 1001 to 1003 in FIG. 11B are for confirming the appearance of dark gray squares as in FIG. The square colors (dark gray) of the test images 1001 to 1003 are all the same color. However, when the test image 1001 and the test image 1003 are compared, the square gray of the test image 1003 appears darker due to the influence of brightness contrast. Here, in the test image 1002, the surrounding color close to the dark gray square is black and the outer surrounding color is white. At this time, the gray square of the test image 1002 appears to have a darkness different from that of the test image 1003 and similar to that of the test image 1001. That is, the surrounding color of the test image 1002 includes white, but black, which is a closer surrounding color, has an influence.

以上を踏まえると、表示部の周囲色が一律でない場合には、より近い周囲色の影響が大きいことを考慮して補正を行わなければ撮影者の意図する色を伝えることはできない。ここで、特許文献1および特許文献3の発明は表示部の周囲までを考慮した色補正ではない。また、特許文献2の発明は周囲の環境光レベルに対する色補正に限られる。そのため、特許文献1〜3の発明の提案する補正方法では、対比現象に対する補正としては十分ではなかった。   Based on the above, when the surrounding color of the display unit is not uniform, it is impossible to convey the color intended by the photographer unless correction is performed in consideration of the influence of the closer surrounding color. Here, the inventions of Patent Document 1 and Patent Document 3 are not color correction considering the periphery of the display unit. Further, the invention of Patent Document 2 is limited to color correction with respect to the ambient ambient light level. For this reason, the correction methods proposed by the inventions of Patent Documents 1 to 3 are not sufficient for correcting the contrast phenomenon.

本発明はこのような問題点に鑑みてなされたものである。本発明のいくつかの態様によれば、画面の周囲色を取得する手段を備え、周囲に配置された物体の位置を考慮した演算を行い、その結果に基づいて表示画像を直接的に又は間接的に補正する色補正システムを提供する。そして、表示部の設置環境によらない適切な画像を表示させることができる。   The present invention has been made in view of such problems. According to some aspects of the present invention, the image processing apparatus includes a unit that acquires a surrounding color of the screen, performs an operation in consideration of the position of an object arranged around the screen, and directly or indirectly displays a display image based on the result. Provided is a color correction system that automatically corrects. An appropriate image can be displayed regardless of the installation environment of the display unit.

(1)本発明は、入力画像データの表示色を補正した補正データに基づく画像を表示部に表示させるための色補正システムであって、前記表示部の周囲の画像の色情報である周囲色情報を取得する周囲色取得手段と、前記周囲色情報に基づいて前記入力画像データの表示色の補正に必要なパラメーターを演算するパラメーター演算手段と、を含み、前記パラメーター演算手段は、前記入力画像データの所与の画素について、当該画素の位置情報と前記周囲色情報に基づき、前記パラメーターを求めるパラメーター演算を行う。   (1) The present invention is a color correction system for causing an image based on correction data obtained by correcting the display color of input image data to be displayed on a display unit, and is a surrounding color which is color information of an image around the display unit Ambient color acquisition means for acquiring information, and parameter calculation means for calculating parameters necessary for correcting the display color of the input image data based on the ambient color information, wherein the parameter calculation means is the input image For a given pixel of data, a parameter calculation for obtaining the parameter is performed based on the position information of the pixel and the surrounding color information.

本発明によれば、画面の周囲色を取得する手段(周囲色取得手段)を備え、周囲に配置された物体の位置を考慮した演算(パラメーター演算)を行い、その結果に基づいて表示画像を直接的に又は間接的に補正する。そのため、表示部の設置環境によらない適切な画像を表示させることができる。   According to the present invention, it is provided with means for acquiring the surrounding color of the screen (ambient color acquiring means), performs calculation (parameter calculation) in consideration of the position of an object placed in the periphery, and displays a display image based on the result. Correct directly or indirectly. Therefore, it is possible to display an appropriate image regardless of the installation environment of the display unit.

ここで、適切な画像とは、1つには画像の撮影者、作成者、送信者又は提供者等が伝えたい画質(例えば、色・イメージ)を有する画像である。例えば、臨場感を感じさせる画像、肉眼で見たように色合いの鮮やかさを感じさせる画像、心地よさを感じさせる画像等である。感覚的な表現では、画像の撮影者、作成者、送信者又は提供者等が意図する映像・イメージを視聴者に感じさせる画像等である。また、他の側面として、適切な画像とはユーザーにとって見やすい画質を有する画像である。例えば、見ていて疲れない画像、色合いが自然な画像等である。もちろん、これらの全て又はいくつかを備えている画像であってもよいし、更に他の特徴(例えば、暗部の表現に優れること、輝度調整による低消費電力化やバックライトの長寿命化等)を含む画像であってもよい。   Here, an appropriate image is an image having an image quality (for example, color / image) that the photographer, creator, sender, or provider of the image wants to convey. For example, it is an image that gives a sense of realism, an image that makes a user feel the vividness of a hue as seen with the naked eye, and an image that makes a user feel comfortable. The sensory expression is an image that makes the viewer feel the video / image intended by the photographer, creator, sender, or provider of the image. As another aspect, an appropriate image is an image having an image quality that is easy for a user to see. For example, an image that does not get tired when viewed, an image with a natural hue, and the like. Of course, the image may be an image having all or some of these, and other characteristics (for example, excellent dark part expression, low power consumption by brightness adjustment, long life of the backlight, etc.) May be included.

(2)この色補正システムにおいて、前記パラメーター演算手段は、前記パラメーター演算において、前記表示部の周囲の画像に演算対象範囲を定め、前記演算対象範囲内の画素である背景点について、その色情報である背景色情報を前記周囲色情報から取得し、前記演算対象範囲に含まれる各背景点について、前記所与の画素と前記背景点との距離である背景点距離と前記背景色情報とに基づいて背景点補正値を算出し、前記演算対象範囲に含まれる全ての背景点についての背景点補正値の総和に基づき前記パラメーターを求めてもよい。   (2) In this color correction system, in the parameter calculation, the parameter calculation unit determines a calculation target range for an image around the display unit, and color information about a background point that is a pixel in the calculation target range. The background color information is obtained from the surrounding color information, and for each background point included in the calculation target range, a background point distance that is a distance between the given pixel and the background point and the background color information. A background point correction value may be calculated based on the parameter, and the parameter may be obtained based on a sum of background point correction values for all background points included in the calculation target range.

本発明によれば、演算対象範囲を定めて、その内部の各背景点について背景点補正値を算出する。各背景点の色情報(背景色情報)と距離(背景点距離)の両方に基づいてパラメーター演算が行われるので、対比現象の影響を考慮した適切な画像を表示させることができる。   According to the present invention, a calculation target range is determined, and a background point correction value is calculated for each background point inside. Since the parameter calculation is performed based on both the color information (background color information) and the distance (background point distance) of each background point, it is possible to display an appropriate image in consideration of the influence of the contrast phenomenon.

(3)この色補正システムにおいて、前記パラメーター演算手段は、前記入力画像データの一部の画素である代表画素については、前記所与の画素として前記パラメーター演算を行い、前記入力画像データの画素のうち前記代表画素でない画素については、前記代表画素の前記パラメーターに基づく演算によってパラメーターを求めてもよい。   (3) In this color correction system, the parameter calculation means performs the parameter calculation as the given pixel for a representative pixel that is a part of the pixel of the input image data, and calculates the pixel of the input image data. Among the pixels that are not the representative pixels, parameters may be obtained by calculation based on the parameters of the representative pixels.

(4)この色補正システムにおいて、前記代表画素の数および座標の少なくとも一方は、前記表示部の画面の大きさに基づいて定められてもよい。   (4) In this color correction system, at least one of the number and coordinates of the representative pixels may be determined based on a screen size of the display unit.

本発明によれば、代表画素のみについてパラメーター演算を行えばよいので、計算時間を短縮することが可能になる。代表画素でない画素については、例えば線形補間によりパラメーターを求めてもよい。また、代表画素の数や座標は固定でもよいが、画面の大きさに応じて変更することで、画面の周囲の情報をより適切に反映した補正を行うことが可能になる。   According to the present invention, it is only necessary to perform the parameter calculation for only the representative pixel, so that the calculation time can be shortened. For pixels that are not representative pixels, parameters may be obtained by linear interpolation, for example. In addition, the number and coordinates of the representative pixels may be fixed, but by changing according to the size of the screen, it is possible to perform correction that reflects information around the screen more appropriately.

(5)この色補正システムにおいて、前記パラメーター演算手段は、前記所与の色空間の要素毎に前記演算対象範囲を定めてもよい。   (5) In this color correction system, the parameter calculation means may determine the calculation target range for each element of the given color space.

本発明によれば、色視野に応じて演算対象範囲を定めるので、人の目の生理的機能をより考慮したより適切な補正を行うことが可能になる。   According to the present invention, since the calculation target range is determined according to the color field of view, it is possible to perform more appropriate correction in consideration of the physiological function of the human eye.

(6)この色補正システムにおいて、前記パラメーターを補正量とし、前記入力画像データに前記補正量を加えた補正データを生成する色補正手段を含んでもよい。   (6) The color correction system may include color correction means for generating correction data in which the parameter is a correction amount and the correction amount is added to the input image data.

(7)この色補正システムにおいて、前記パラメーターに基づいて前記補正データを作成する色補正手段を含み、前記色補正手段は、前記パラメーターの関数で表される補正量を前記入力画像データに加えた補正データを生成し、前記入力画像データの画素毎に、その画素の色情報と前記背景色情報とに基づいて前記関数又はその係数を調整してもよい。   (7) The color correction system includes a color correction unit that creates the correction data based on the parameter, and the color correction unit adds a correction amount represented by a function of the parameter to the input image data. Correction data may be generated, and the function or the coefficient thereof may be adjusted for each pixel of the input image data based on the color information of the pixel and the background color information.

(8)この色補正システムにおいて、予め指定した色の情報である特定色情報を記憶する記憶手段を含み、前記色補正手段は、前記特定色情報にも基づいて前記関数又はその係数を調整してもよい。   (8) The color correction system includes a storage unit that stores specific color information that is information on a color specified in advance, and the color correction unit adjusts the function or its coefficient based on the specific color information. May be.

(9)この色補正システムにおいて、前記色補正手段は、前記入力画像データの一部又は全部の画素の色情報について分散値を求め、前記分散値が大きい場合には前記補正量が小さくなるように前記関数又はその係数を調整し、前記分散値が小さい場合には前記補正量が大きくなるように前記関数又はその係数を調整してもよい。   (9) In this color correction system, the color correction unit obtains a dispersion value for color information of a part or all of the pixels of the input image data, and the correction amount is reduced when the dispersion value is large. The function or its coefficient may be adjusted, and when the variance value is small, the function or its coefficient may be adjusted so that the correction amount becomes large.

本発明によれば、色補正システムは色補正手段を含み生成したパラメーターに基づいて補正データを生成する。このとき、パラメーターの値そのものを補正量としてもよいし、更にパラメーターを用いたN次多項式(関数の一例)を補正量として、係数を調整することで入力画像データの特性に応じた補正量を得られるようにしてもよい。パラメーターの値そのものを補正量とする場合には、演算処理を早く行うことが可能である。また、係数を調整する場合には、特定の色情報に対しては補正量を0にしたい場合などにも対応が可能になり、色補正システムの構成が柔軟になる。   According to the present invention, the color correction system generates correction data based on the generated parameters including the color correction means. At this time, the parameter value itself may be used as the correction amount, and the correction amount corresponding to the characteristics of the input image data is adjusted by adjusting the coefficient using an N-order polynomial (an example of a function) using the parameter as the correction amount. You may make it obtain. When the parameter value itself is used as the correction amount, the calculation process can be performed quickly. Further, when adjusting the coefficient, it is possible to cope with the case where it is desired to set the correction amount to 0 for specific color information, and the configuration of the color correction system becomes flexible.

(10)この色補正システムにおいて、前記パラメーター演算手段は、L表色系におけるL、a、bの要素毎に前記パラメーター演算を行ってもよい。 (10) In this color correction system, the parameter calculation means may perform the parameter calculation for each element of L * , a * , b * in the L * a * b * color system.

本発明によれば、知覚的均等性を有するL表色系を用いることで、色情報を表す数値の変動と人間の感じる感覚の変動を近似させることができる。例えば、パラメーターの演算などにおいては線形補間を行うことが可能になり、演算量を減らすことが可能になる。 According to the present invention, by using the L * a * b * color system having perceptual uniformity, it is possible to approximate a change in numerical values representing color information and a change in human perception. For example, linear interpolation can be performed in parameter calculation and the like, and the amount of calculation can be reduced.

(11)この色補正システムにおいて、前記所与の色空間は、前記パラメーター演算手段は、YUV形式におけるY、U、Vの要素毎に前記パラメーター演算を行ってもよい。   (11) In this color correction system, in the given color space, the parameter calculation means may perform the parameter calculation for each of Y, U, and V elements in the YUV format.

本発明によれば、例えば入力画像データがYUV形式の場合には、入力画像データや補正データの色空間を変換する必要がなくなる。そのため、演算のステップ数を減らすことができる。   According to the present invention, for example, when the input image data is in the YUV format, it is not necessary to convert the color space of the input image data or the correction data. Therefore, the number of calculation steps can be reduced.

(12)本発明は、入力画像データの表示色を補正した補正データに基づく画像を表示部に表示させるための色補正を行うプログラムであって、前記表示部の周囲の画像の色情報である周囲色情報を取得する周囲色取得手段と、前記周囲色情報に基づいて前記入力画像データの表示色の補正に必要なパラメーターを演算するパラメーター演算手段と、してコンピューターを機能させ、前記パラメーター演算手段は、前記入力画像データの所与の画素について、当該画素の位置情報と前記周囲色情報に基づき、前記パラメーターを求めるパラメーター演算を行う。   (12) The present invention is a program for performing color correction for causing an image based on correction data obtained by correcting the display color of input image data to be displayed on a display unit, and is color information of an image around the display unit. The parameter calculation unit is configured to function a computer as an ambient color acquisition unit that acquires ambient color information, and a parameter calculation unit that calculates parameters necessary for correcting the display color of the input image data based on the ambient color information. The means performs a parameter calculation for the given pixel of the input image data based on the position information of the pixel and the surrounding color information to obtain the parameter.

本発明によれば、ソフトウェアによって、画面の周囲色を取得し、周囲に配置された物体の位置を考慮した演算を行い、その結果に基づいて表示画像を直接的に又は間接的に補正することができる。よって、コンピューターを用いる様々な色補正システムに適用することが可能になる。   According to the present invention, the surrounding color of the screen is acquired by software, the calculation is performed in consideration of the position of an object placed around the screen, and the display image is corrected directly or indirectly based on the result. Can do. Therefore, it can be applied to various color correction systems using a computer.

(13)本発明は、入力画像データの表示色を補正した補正データに基づく画像を表示部に表示させるための色補正方法であって、前記表示部の周囲の画像の色情報である周囲色情報を取得する周囲色取得ステップと、前記周囲色情報に基づいて前記入力画像データの表示色の補正に必要なパラメーターを演算するパラメーター演算ステップと、を含み、前記パラメーター演算ステップにおいて、前記入力画像データの所与の画素について、当該画素の位置情報と前記周囲色情報に基づき、前記パラメーターを求めるパラメーター演算を行う。   (13) The present invention is a color correction method for causing an image based on correction data obtained by correcting the display color of input image data to be displayed on a display unit, and is a surrounding color which is color information of an image around the display unit An ambient color acquisition step for acquiring information; and a parameter calculation step for calculating a parameter necessary for correcting a display color of the input image data based on the ambient color information, wherein in the parameter calculation step, the input image For a given pixel of data, a parameter calculation for obtaining the parameter is performed based on the position information of the pixel and the surrounding color information.

本発明によれば、画面の周囲色を取得するステップを備え、周囲に配置された物体の位置を考慮した演算を行い、その結果に基づいて表示画像を直接的に又は間接的に補正する。そのため、表示部の設置環境によらない適切な画像を表示させることができる。   According to the present invention, the method includes the step of acquiring the surrounding color of the screen, performs a calculation in consideration of the position of an object placed around the screen, and corrects the display image directly or indirectly based on the result. Therefore, it is possible to display an appropriate image regardless of the installation environment of the display unit.

第1実施形態における色補正システムのブロック図。1 is a block diagram of a color correction system in a first embodiment. 図2(A)は第1実施形態の具体例であるテレビの使用環境を示す図。図2(B)は周囲色情報の例を示す図。FIG. 2A is a diagram showing a use environment of a television which is a specific example of the first embodiment. FIG. 2B shows an example of ambient color information. 図3は演算対象範囲の決定方法の例を示す図。FIG. 3 is a diagram illustrating an example of a method for determining a calculation target range. 図4は背景点距離を示す図。FIG. 4 is a diagram showing the background point distance. 第1実施形態における色補正方法を示す図。FIG. 3 is a diagram illustrating a color correction method according to the first embodiment. 図5のサブルーチンを示す図。The figure which shows the subroutine of FIG. 第2実施形態における色補正システムのブロック図。The block diagram of the color correction system in 2nd Embodiment. 図8(A)〜図8(B)は補間処理を説明するための図。FIG. 8A to FIG. 8B are diagrams for explaining the interpolation processing. 第2実施形態における色補正方法を示す図。The figure which shows the color correction method in 2nd Embodiment. 図9のサブルーチンを示す図。The figure which shows the subroutine of FIG. 図11(A)〜図11(B)は明度対比のテスト画像の図。FIG. 11A to FIG. 11B are diagrams of brightness contrast test images.

以下、本発明の実施形態について図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

本発明に係る色補正システムは、以下の実施形態での具体例に限るものではない。本発明に係る色補正システムは、テレビ、携帯小型端末、電子書籍や電子ポスターなどの様々な電子機器の一部であってもよい。さらに、表示部は、最終的に表示画像がユーザーに視認されるまでに、本発明に係る色補正システムが補正した色情報を前記表示画像に反映することができるものであればよい。よって、表示部はテレビやディスプレイ等の電子表示デバイスに限らず広義に解釈されるべきである。例えば、壁に映し出されたプロジェクターの映像も、プリンターによって印刷された紙媒体の画像も表示部に含まれるとしてよい。つまり、本発明に係る色補正システムは、プロジェクターやプリンターの一部であってもよい。   The color correction system according to the present invention is not limited to the specific examples in the following embodiments. The color correction system according to the present invention may be a part of various electronic devices such as a television, a portable small terminal, an electronic book, and an electronic poster. Furthermore, the display unit may be any display unit that can reflect the color information corrected by the color correction system according to the present invention until the display image is finally visually recognized by the user. Therefore, the display unit should be interpreted in a broad sense without being limited to electronic display devices such as televisions and displays. For example, a projector image displayed on a wall and an image of a paper medium printed by a printer may be included in the display unit. That is, the color correction system according to the present invention may be a part of a projector or a printer.

また、本発明に係る色補正システムにおける情報処理は、CPU等を用いて具体的に実現されるソフトウェアによる処理であってもよい。すなわち、周囲色取得手段、パラメーター演算手段、色補正手段等としてコンピューターを機能させるプログラムにより、本発明に係る色補正システムにおける情報処理が行われてもよい。   Further, the information processing in the color correction system according to the present invention may be software processing specifically realized using a CPU or the like. That is, information processing in the color correction system according to the present invention may be performed by a program that causes a computer to function as ambient color acquisition means, parameter calculation means, color correction means, and the like.

1.第1実施形態
本発明の第1実施形態について図1〜図6を参照して説明する。
1. First Embodiment A first embodiment of the present invention will be described with reference to FIGS.

1.1.色補正システムの構成
図1は、本実施形態の色補正システム1のブロック図である。色補正システム1は、入力画像データ100の表示色を補正した画像を表示部2に表示させるためのシステムである。色補正システム1は、周囲色取得手段10とパラメーター演算手段12とを含む。本実施形態の色補正システム1は、パラメーター演算手段12が生成したパラメーター112を出力する。
1.1. Configuration of Color Correction System FIG. 1 is a block diagram of a color correction system 1 according to this embodiment. The color correction system 1 is a system for displaying an image obtained by correcting the display color of the input image data 100 on the display unit 2. The color correction system 1 includes an ambient color acquisition unit 10 and a parameter calculation unit 12. The color correction system 1 according to the present embodiment outputs the parameter 112 generated by the parameter calculation unit 12.

本実施形態では、色補正システム1から出力されたパラメーター112は色補正手段20に入力される。色補正手段20は、パラメーター112に基づく補正量を入力画像データ100に加えた補正データ120を生成する。そして、表示部2は補正データ120の内容を表示する。なお、色補正手段20、表示部2は色補正システム1に含まれていてもよい。   In the present embodiment, the parameter 112 output from the color correction system 1 is input to the color correction unit 20. The color correction unit 20 generates correction data 120 obtained by adding a correction amount based on the parameter 112 to the input image data 100. The display unit 2 displays the contents of the correction data 120. The color correction unit 20 and the display unit 2 may be included in the color correction system 1.

周囲色取得手段10は、本実施形態の色補正システム1に含まれ、表示部2の周囲の色情報である周囲色情報110を取得する。ここで、周囲とはユーザーから表示部2を見た場合に視野に入る表示部2以外の画像をいう。つまり、周囲とは、ユーザーから見た表示部2の背景(以下では、前景も含む広義の背景として使用する)を指す。そして、周囲色とは、表示部2の背景の色を指す。周囲色取得手段10は、例えば表示部2のリモコンに備えられたカメラであってもよい。このとき、周囲色情報110は、ユーザーが表示部2を見る位置(画像鑑賞点)から撮影したカラーの静止画データであってもよい(図2(B)参照)。また表示部2が表示画像を映す画面以外にフレーム(枠)や脚などの構成物を含む場合には、画面以外を周囲としてもよい。   The ambient color acquisition unit 10 is included in the color correction system 1 of the present embodiment, and acquires ambient color information 110 that is color information around the display unit 2. Here, the surroundings refer to images other than the display unit 2 that enter the visual field when the display unit 2 is viewed from the user. That is, the surroundings refer to the background of the display unit 2 viewed from the user (hereinafter, used as a broad background including the foreground). The ambient color refers to the color of the background of the display unit 2. The ambient color acquisition unit 10 may be, for example, a camera provided in a remote controller of the display unit 2. At this time, the ambient color information 110 may be color still image data taken from a position where the user views the display unit 2 (image viewing point) (see FIG. 2B). When the display unit 2 includes a component such as a frame or a leg in addition to the screen that displays the display image, the area other than the screen may be the periphery.

パラメーター演算手段12は、色補正手段20で行う補正に必要なパラメーター112を周囲色情報110に基づいて演算する。パラメーター演算手段12は、例えば演算回路であってもよい。このとき、パラメーター112は補正量と相関をもつ数値であって、色補正手段20において補正量そのものとして扱われてもよいし、重み付けなどの処理を経てから補正量として扱われてもよい。   The parameter calculation unit 12 calculates a parameter 112 necessary for correction performed by the color correction unit 20 based on the ambient color information 110. The parameter calculation means 12 may be a calculation circuit, for example. At this time, the parameter 112 is a numerical value having a correlation with the correction amount, and may be handled as the correction amount itself in the color correction unit 20 or may be handled as the correction amount after processing such as weighting.

ここで、パラメーター112は、パラメーター演算手段12で扱う画像データの表現形式に応じて要素毎に生成される。例えば、パラメーター演算手段12で周囲色情報110をYUV形式で扱って演算を行うときには、Y成分、U成分、V成分の各要素についてパラメーター112が生成されて出力される。本実施形態では、パラメーター演算手段12はL(エルスター・エースター・ビースター)表色系で周囲色情報110を扱う。従って、パラメーター112は、L、a、bの各要素について生成される。具体的な演算については後述する。 Here, the parameter 112 is generated for each element according to the expression format of the image data handled by the parameter calculation unit 12. For example, when the parameter calculation means 12 performs calculation by handling the ambient color information 110 in the YUV format, parameters 112 are generated and output for each of the Y component, U component, and V component. In this embodiment, the parameter calculation means 12 handles the ambient color information 110 in the L * a * b * (Elster / Aster / Beester) color system. Accordingly, the parameter 112 is generated for each element of L * , a * , b * . Specific calculation will be described later.

ここで、色補正システム1の具体例としては、テレビ受像機(以下、テレビという)がある。テレビは、番組などの入力画像データ100を受信し、その内部にパラメーター112を出力する色補正システム1を含み、色補正手段20がパラメーター112に基づいて生成した補正データ120を、液晶等である表示部2が表示する。以下、本実施形態の色補正システム1はテレビの一部であるとして説明する。   Here, a specific example of the color correction system 1 is a television receiver (hereinafter referred to as a television). The television includes the color correction system 1 that receives input image data 100 such as a program and outputs a parameter 112 therein, and the correction data 120 generated by the color correction unit 20 based on the parameter 112 is a liquid crystal or the like. Display unit 2 displays. Hereinafter, the color correction system 1 of the present embodiment will be described as being part of a television.

1.2.周囲色の取得
図2(A)は、本実施形態の色補正システム1を含むテレビ810が使用される環境を示す図である。テレビの設置環境は一律ではなく、テレビ810は壁811、窓812やカーテン813の前に配置されることもある。また、室内ライト814や観葉植物815が置かれる場合もある。これらの周囲の物は人の目の生理的機能によってテレビ810に表示される画像に影響を与える可能性がある。例えば、赤色のカーテン813の影響を強く受ければ画面30の表示画像は緑がかった色になり、黄色い壁811の影響を強く受ければ画面30の表示画像は青みがかった色になる。
1.2. Acquisition of Ambient Color FIG. 2A is a diagram illustrating an environment in which the television 810 including the color correction system 1 of the present embodiment is used. The installation environment of the television is not uniform, and the television 810 may be disposed in front of the wall 811, the window 812, or the curtain 813. In addition, an indoor light 814 or a houseplant 815 may be placed. These surrounding objects may affect the image displayed on the television 810 due to the physiological function of the human eye. For example, when the influence of the red curtain 813 is strongly influenced, the display image of the screen 30 becomes a greenish color, and when the influence of the yellow wall 811 is strongly influenced, the display image of the screen 30 becomes a bluish color.

図2(B)は、本実施形態の周囲色情報110の例を示す図である。本実施形態では、表示部2の周囲にある物のうち、どれが画面30の表示画像に強く影響するかを把握するために、画像鑑賞点から撮影した画像を周囲色情報110とする。周囲色情報110は、カラー画像であり、画素毎にL、a、bの各要素の値を有する。ここで、周囲色情報110の画像サイズはVGA等の小さな解像度でも十分である。例えば、周囲色取得手段は、表示部2を操作するリモコンに搭載されたVGAサイズの撮像素子と周辺回路から構成されていてもよい。この例によると、ユーザーがテレビを視聴するときに、他の機器を用いなくても画像鑑賞点からの画像を撮影できる。 FIG. 2B is a diagram illustrating an example of the ambient color information 110 according to the present embodiment. In this embodiment, in order to grasp which of the objects around the display unit 2 has a strong influence on the display image on the screen 30, an image taken from the image appreciation point is set as the ambient color information 110. Ambient color information 110 is a color image, and has values of elements of L * , a * , and b * for each pixel. Here, the image size of the ambient color information 110 is sufficient even with a small resolution such as VGA. For example, the ambient color acquisition unit may be configured by a VGA-size image sensor and a peripheral circuit mounted on a remote controller that operates the display unit 2. According to this example, when a user views a television, an image from an image appreciation point can be taken without using another device.

本実施形態の周囲色情報110では、画面30と周囲の物との距離を把握することも可能である。画面30の近くに配置された物は遠くの物よりも画面30の表示画面に強い影響を与える。よって、パラメーター演算手段12においては、周囲の物の色および画面30からの距離に基づいてパラメーターを決定する。   In the surrounding color information 110 of the present embodiment, it is possible to grasp the distance between the screen 30 and surrounding objects. Objects arranged near the screen 30 have a stronger influence on the display screen of the screen 30 than objects far away. Therefore, the parameter calculation means 12 determines parameters based on the color of surrounding objects and the distance from the screen 30.

ここで、画面30から離れた場所の色は、画面30の表示画像にはあまり影響を与えない。つまり、対比現象を生じさせる原因とならない。そこで、補正を効果的に行い、パラメーター演算手段12における演算量を減らして処理速度を早めるために、周囲色情報110のうち画面30の中心C(図3参照)から一定の距離までの範囲を演算の対象とする。そして、この範囲を演算対象範囲40(図4参照)とする。   Here, the color at a location away from the screen 30 does not significantly affect the display image on the screen 30. That is, it does not cause a contrast phenomenon. Therefore, in order to effectively correct and reduce the amount of calculation in the parameter calculation means 12 to increase the processing speed, the range from the center C (see FIG. 3) of the screen 30 to a certain distance in the surrounding color information 110 is set. The target of calculation. This range is set as a calculation target range 40 (see FIG. 4).

図3は、演算対象範囲40の半径を定める1つの方法を示す図である。また、図3は、図2(A)の室内の上面図である。テレビ受像機810の試聴距離はその画面30の高さの3倍、又は5倍が目安とされている。ここでは、5倍として例示する。この場合に、画像鑑賞点820と画面30の中心Cとを結ぶ直線と30°の角度を成す線がテレビ受像機の位置に達した点をDとする。このとき、演算対象範囲40の半径(前記の一定の距離)は、C−D間の距離となる。   FIG. 3 is a diagram illustrating one method for determining the radius of the calculation target range 40. FIG. 3 is a top view of the room in FIG. The trial listening distance of the television receiver 810 is set to be three times or five times the height of the screen 30. Here, it is exemplified as 5 times. In this case, let D be the point at which a line that forms an angle of 30 ° with the straight line connecting the image viewing point 820 and the center C of the screen 30 reaches the position of the television receiver. At this time, the radius (the constant distance) of the calculation target range 40 is a distance between CD.

例えば、40インチのテレビ受像機810では、画像鑑賞点820はテレビ受像機810から2.5m離れた場所になる。すると、演算対象範囲40の半径を定める点Dは、画面30の中心Cから約1.4m離れたところになる。ユーザーの視野を考慮すると、画面30の中心Cから1.4m以内の範囲を考慮すれば効果的に補正を行うことができる。   For example, in a 40-inch television receiver 810, the image viewing point 820 is located 2.5 m away from the television receiver 810. Then, the point D that defines the radius of the calculation target range 40 is about 1.4 m away from the center C of the screen 30. In consideration of the user's field of view, the correction can be effectively performed if the range within 1.4 m from the center C of the screen 30 is taken into consideration.

そして、周囲色取得手段10は、演算対象範囲40を含む画像を取得すればよい。このとき、広角のレンズを有する撮像機器を用いなくても、このような画像を取得することは可能である。よって、コストの上昇などの問題は生じない。   Then, the surrounding color acquisition unit 10 may acquire an image including the calculation target range 40. At this time, such an image can be obtained without using an imaging device having a wide-angle lens. Therefore, problems such as an increase in cost do not occur.

1.3.パラメーター演算
1.3.1.演算対象範囲の設定
図4は、背景点距離を示す図である。図4の黒い丸(P、P、P)や四角(E〜E)は、画像鑑賞点820から撮影した画像である周囲色情報110の画素である。直交座標X−Yは、これらの画素の位置を特定するために用いる。
1.3. Parameter calculation 1.3.1. Setting of Calculation Target Range FIG. 4 is a diagram showing the background point distance. Black circles (P, P 1 , P 2 ) and squares (E 1 to E 5 ) in FIG. 4 are pixels of the ambient color information 110 that is an image taken from the image viewing point 820. The Cartesian coordinates XY are used to specify the positions of these pixels.

本実施形態のパラメーター演算手段12は、周囲色情報110における演算対象範囲40を定める。パラメーター演算手段12が演算の対象とするのは、演算対象範囲40に含まれる画素である。よって、四角で表したE〜Eの画素は演算対象から除外され、図4の黒い丸で示される画素(例えば、P、P、P)が演算の対象となる。なお、演算の対象となる黒い丸の画素を背景点と呼ぶ。 The parameter calculation means 12 of this embodiment defines the calculation target range 40 in the ambient color information 110. It is the pixels included in the calculation target range 40 that the parameter calculation means 12 sets as calculation targets. Therefore, the pixels E 1 to E 5 represented by squares are excluded from the calculation target, and the pixels (for example, P, P 1 , P 2 ) indicated by the black circles in FIG. 4 are the calculation target. A black circle pixel to be calculated is called a background point.

ここで、演算対象範囲40はL、a、bの各要素で同じであってもよいが、色視野を考慮して範囲を調整してもよい。色視野は視線を動かさなくても見ることが可能な範囲をいう。色視野が広い場合にはより遠くの背景点を考慮する必要がある。一般に、色視野は青、黄、赤、緑の順に狭くなっていく。また、有彩色でも無彩色でも白は最も色視野が広い。そこで、明度(白−黒)を表すLについては演算対象範囲40を広げて背景点を多く取り、逆に赤と緑の色度を表すaについては演算対象範囲40を狭めて背景点を少なく取ってもよい。前記の通り、パラメーターは要素(L、a、b)毎に演算されるので、独立した演算対象範囲40の設定が可能である。 Here, the calculation target range 40 may be the same for each element of L * , a * , and b * , but the range may be adjusted in consideration of the color field of view. The color field is the range that can be seen without moving the line of sight. When the color field is wide, it is necessary to consider a background point farther away. In general, the color field of view becomes narrower in the order of blue, yellow, red, and green. In addition, white has the widest color field of view, whether chromatic or achromatic. Therefore, for L * representing lightness (white-black), the calculation target range 40 is expanded to obtain a large number of background points. Conversely, for a * representing red and green chromaticity, the calculation target range 40 is narrowed to obtain a background point. You may take less. As described above, since the parameter is calculated for each element (L * , a * , b * ), an independent calculation target range 40 can be set.

1.3.2.背景色情報の取得
パラメーター演算手段12は、周囲色情報110から、背景点の色情報である背景色情報を取得する。ここでは、背景点Pを例にとる。パラメーター演算手段12は、背景点Pの背景色情報としてL 、a 、b を得る。これらは、それぞれ要素L、a、bの値である。
1.3.2. Acquisition of background color information The parameter calculation means 12 acquires background color information which is color information of a background point from the surrounding color information 110. Here, the background point P is taken as an example. The parameter calculation means 12 obtains L * P , a * P , and b * P as background color information of the background point P. These are the values of the elements L * , a * , b * , respectively.

パラメーター演算手段12は、予め1つの色を基準色として定めておき、背景色情報と基準色の色情報(基準値)との差分を求める標準化を行ってもよい。例えば、L、a、bの全ての要素でちょうど中間の値をとる灰色を基準色にしてもよい。ここで、基準値を、L 0、a 0、b 0とする。例えば、Lについて標準化した背景色情報とはL −L 0のことを指す。本実施形態では、後述する背景点補正値dL、da、dbの演算に標準化した背景色情報を用いる。 The parameter calculation means 12 may determine one color as a reference color in advance and perform standardization to obtain a difference between the background color information and the color information (reference value) of the reference color. For example, the reference color may be gray, which takes an intermediate value in all elements of L * , a * , and b * . Here, the reference values are L * 0 , a * 0 , and b * 0 . For example, the background color information standardized for L * refers to L * P- L * 0 . In this embodiment, standardized background color information is used for calculating background point correction values dL * , da * , and db * , which will be described later.

パラメーター演算手段12は、他の背景点(例えばP、P)についても同じように背景色情報を取得して標準化を行う。 The parameter calculation means 12 similarly obtains background color information for other background points (for example, P 1 and P 2 ) and performs standardization.

1.3.3.背景点距離の演算
パラメーター演算手段12は、画面30の表示画像における所与の画素Qと背景点との距離である背景点距離を求める。ここでは、図4の背景点P(X、Y)を例にとる。画素Qの座標は(X、Y)である。画素Qと背景点Pとの背景点距離DPQは数1により求められる。
1.3.3. Background Point Distance Calculation The parameter calculation means 12 obtains a background point distance, which is the distance between a given pixel Q in the display image on the screen 30 and the background point. Here, the background point P (X P , Y P ) in FIG. 4 is taken as an example. The coordinates of the pixel Q are (X Q , Y Q ). The background point distance D PQ between the pixel Q and the background point P is obtained by Equation 1.

なお、画素Qは画面30の表示画像における任意の画素であってもよいし、後述する代表画素の1つであってもよい。パラメーター演算手段12は、他の背景点PやPについても背景点距離を求める。例えば背景点Pの背景点距離DP1Qを求めるには、式(1)のX、YにそれぞれXP1、YP1を代入する。 Note that the pixel Q may be an arbitrary pixel in the display image on the screen 30, or may be one of representative pixels described later. Parameter computation unit 12 calculates the background point distance for other background point P 1 and P 2. For example, in order to obtain the background point distance D P1Q of the background point P 1 , X P1 and Y P1 are substituted for X P and Y P in the equation (1), respectively.

1.3.4.背景点補正値の演算
パラメーター演算手段12は、画素Qと背景点のそれぞれとの背景点補正値を演算する。背景点補正値は、画素Qのパラメーターの構成要素であって、1つの背景点における値である。このとき、標準化した背景色情報と背景点距離が用いられる。ここで、背景点の総数をSとすると、画素Qと背景点Pとの背景点補正値dL PQ、da PQ、db PQは数2で表される。
1.3.4. Calculation of background point correction value The parameter calculation means 12 calculates a background point correction value for the pixel Q and each of the background points. The background point correction value is a component of the parameter of the pixel Q and is a value at one background point. At this time, standardized background color information and background point distance are used. Here, assuming that the total number of background points is S, the background point correction values dL * PQ , da * PQ , and db * PQ of the pixel Q and the background point P are expressed by the following equation ( 2).

式(2)において(L −L 0)/Sは、画素Qの位置に依存せず、背景点Pの基準色からの乖離の度合いを示す。基準色からの乖離が大きい場合には、画素Qに対比現象を生じさせやすい。そして、1/DPQは画素Qと背景点Pとの背景点距離の逆数である。背景点距離が近い場合には、画素Qに対比現象を生じさせやすい。背景点補正値dL PQは、これらを乗じることで、基準色からの乖離の大きさと背景点距離の近さの両者を評価できる。式(3)や式(4)についても同様である。 In Expression (2), (L * P− L * 0 ) / S indicates the degree of deviation of the background point P from the reference color without depending on the position of the pixel Q. When the deviation from the reference color is large, a contrast phenomenon is likely to occur in the pixel Q. 1 / D PQ is the reciprocal of the background point distance between the pixel Q and the background point P. When the background point distance is short, a contrast phenomenon is likely to occur in the pixel Q. The background point correction value dL * PQ can be multiplied to evaluate both the magnitude of deviation from the reference color and the proximity of the background point distance. The same applies to Expression (3) and Expression (4).

なお、背景点距離の影響を大きく評価したい場合には、背景点距離のn乗(n=2、3…)を用いてもよい。例えば、n=2の場合には背景点補正値は数3で表される。   If it is desired to greatly evaluate the influence of the background point distance, the nth power of the background point distance (n = 2, 3,...) May be used. For example, when n = 2, the background point correction value is expressed by Equation 3.

背景点距離の影響を更に大きく評価する場合には、背景点距離を冪(べき)指数としてもよい。底Aは適当な実数でよい。このとき、背景点補正値は数4で表される。   When the influence of the background point distance is further evaluated, the background point distance may be a power index. The base A may be a suitable real number. At this time, the background point correction value is expressed by Equation 4.

数2〜数4のいずれも背景点補正値を与えるが、本実施形態では数2を用いるものとする。パラメーター演算手段12は、他の背景点PやPについても同じように背景点補正値{dL P1Q、da P1Q、db P1Q}、{dL P2Q、da P2Q、db P2Q}の演算を行う。例えば、dL P1Qは数5で表される。 Any of Equations 2 to 4 gives a background point correction value, but Equation 2 is used in this embodiment. Parameter computation unit 12, background corrections the same way for other background points P 1 and P 2 {dL * P1Q, da * P1Q, db * P1Q}, {dL * P2Q, da * P2Q, db * P2Q } Is performed. For example, dL * P1Q is expressed by Equation 5.

1.3.5.パラメーターの算出
本実施形態では、画素QについてのパラメーターδL 、δa 、δb は、全ての背景点(図4では、全ての黒い丸)における背景点補正値の総和で得られる。パラメーター演算手段12は、数6により画素Qについてのパラメーターを算出する。
1.3.5. In calculating this embodiment parameters Parameter δL * Q, δa * Q, δb * Q for a pixel Q is (in Fig. 4, all black circles) all background point obtained by the sum of the background point correction value in . The parameter calculation means 12 calculates a parameter for the pixel Q using Equation 6.

数6において、iは演算対象範囲40に含まれる背景点を示す。   In Equation 6, i indicates a background point included in the calculation target range 40.

パラメーター演算手段12は、画素Qについてパラメーターを算出した後に、画面30の表示画像における別の画素についてパラメーターを算出してもよい。例えば、表示画像の全ての画素についてパラメーターを算出してもよい。しかし、表示画像の画素数によってはパラメーター演算手段12の演算量が多くなり、処理に時間がかかる恐れがある。そこで、本実施形態では、表示画像の中央部および周辺部に代表画素を設けて(図8(A)のQ〜Q参照)、代表画素に限ってパラメーターを算出する。そして、他の画素のパラメーターは、色補正手段20において代表画素のパラメーターに基づいて補間処理により計算で求める。なお、代表画素は9つに限らず、例えば40インチより大きな画面30では16個あってもよい。逆に、例えば20インチ程度の小さな画面30では四隅に1つずつ設けてもよい。また、数だけでなく、代表画素の位置も画面サイズに応じて変更してもよい。そして、かならずしも代表画素は等間隔に置かれる必要はない。本実施形態では図8(A)のようにQ〜Qの9つの代表画素があるものとする。 The parameter calculation unit 12 may calculate the parameter for another pixel in the display image on the screen 30 after calculating the parameter for the pixel Q. For example, parameters may be calculated for all pixels of the display image. However, depending on the number of pixels of the display image, the calculation amount of the parameter calculation means 12 increases, and there is a possibility that the processing takes time. Therefore, in the present embodiment, representative pixels are provided in the central portion and the peripheral portion of the display image (see Q 1 to Q 9 in FIG. 8A), and parameters are calculated only for the representative pixels. The parameters of the other pixels are obtained by calculation by interpolation processing based on the parameters of the representative pixels in the color correction unit 20. Note that the number of representative pixels is not limited to nine, and may be 16, for example, on a screen 30 larger than 40 inches. Conversely, for example, a small screen 30 of about 20 inches may be provided one at each of the four corners. In addition to the number, the position of the representative pixel may be changed according to the screen size. And it is not always necessary that the representative pixels are placed at regular intervals. In this embodiment, it is assumed that there are nine representative pixels Q 1 to Q 9 as shown in FIG.

本実施形態の色補正システム1は、代表画素Q〜QのそれぞれについてL、a、bの要素毎にパラメーター112を色補正手段20に出力して処理を終える。 The color correction system 1 of this embodiment outputs the parameter 112 to the color correction unit 20 for each element of L * , a * , and b * for each of the representative pixels Q 1 to Q 9 and finishes the process.

1.3.6.背景点補正値の演算の変形例
変形例として、画面30のサイズが大きい場合などには、代表画素Q〜Qの位置に応じて背景点を選択してもよい。例えば、画面30の上方に位置する背景点P(図4参照)は、画面30の上端に位置する代表画素Q(図8(A)参照)では影響を考慮すべきであるが、画面30の下端に位置する代表画素Q(図8(A)参照)では背景点距離が大きいために考慮する必要がない。そこで、背景点距離の上限値Dを設けて、背景点距離がDを超える場合は背景点補正値の演算を行わず、上限値Dを超えない場合にのみ数7に従った演算を行ってもよい。
1.3.6. Modified Example of Calculation of Background Point Correction Value As a modified example, when the size of the screen 30 is large, the background point may be selected according to the positions of the representative pixels Q 1 to Q 9 . For example, the influence of the background point P 1 (see FIG. 4) located above the screen 30 should be considered in the representative pixel Q 2 (see FIG. 8A) located at the upper end of the screen 30, The representative pixel Q 8 (see FIG. 8A) located at the lower end of 30 has a large background point distance, so there is no need to consider it. Therefore, an upper limit value Dt of the background point distance is provided, and when the background point distance exceeds Dt , the calculation of the background point correction value is not performed, and the calculation according to Equation 7 is performed only when the upper limit value Dt is not exceeded. May be performed.

なお、背景点の総数Sに代えて、L、a、bの要素毎に演算に用いた背景点の数S(式(15))、S(式(16))、S(式(17))を用いてもよい。 Instead of the total number S of background points, the number of background points S 1 (Equation (15)), S 2 (Equation (16)), S, used for each element of L * , a * , b * 3 (Formula (17)) may be used.

さらに、色視野を考慮して、数8のようにL、a、bの要素毎に重み付けC、C、C(C〜Cは定数)を行ってもよい。 Further, in consideration of the color field, weighting C 1 , C 2 , and C 3 (C 1 to C 3 are constants) may be performed for each element of L * , a * , and b * as shown in Equation 8.

また、同じく色視野を考慮して、L、a、bの要素毎に背景点距離の上限値Dt1、Dt2、Dt3を設けて、背景点距離が上限値Dt1〜Dt3を超える場合は背景点補正値の演算を行わず、上限値を超えない場合にのみ数2に従って演算を行ってもよい。なお、これらの変形例においてもパラメーターの算出の方法は数6に従う。 Similarly, considering the color field of view, upper limit values D t1 , D t2 , D t3 of background point distances are provided for each element of L * , a * , b * , and the background point distances are upper limit values D t1 to D t. When t3 is exceeded, the background point correction value is not calculated, and the calculation may be performed according to Equation 2 only when the upper limit value is not exceeded. In these modified examples, the method for calculating the parameters follows Equation 6.

1.4.色補正方法(パラメーター算出手順)
図5は、第1実施形態における色補正方法を示す図である。上記の演算によりパラメーター112を算出するまでの手順を示している。
1.4. Color correction method (parameter calculation procedure)
FIG. 5 is a diagram illustrating a color correction method according to the first embodiment. The procedure until the parameter 112 is calculated by the above calculation is shown.

色補正システム1は、周囲色取得手段10によって周囲色情報110を取得する。具体的には、表示部2の背景等を含む画像を取得して出力する(S2)。そして、色補正システム1は、周囲色情報110に基づいてパラメーター112を演算するパラメーター算出ステップを行う(S4)。色補正システム1は、全ての代表画素Q〜Q(図8(A)参照)についてL、a、bの各要素のパラメーターを出力して処理を終了する(S20)。 The color correction system 1 acquires the ambient color information 110 by the ambient color acquisition unit 10. Specifically, an image including the background of the display unit 2 is acquired and output (S2). Then, the color correction system 1 performs a parameter calculation step for calculating the parameter 112 based on the ambient color information 110 (S4). The color correction system 1 outputs the parameters of the elements of L * , a * , and b * for all the representative pixels Q 1 to Q 9 (see FIG. 8A) and ends the process (S20).

パラメーター算出ステップS4では、最初に、どの代表画素についてのパラメーターを演算するかを設定する(S6)。そして、どの要素について演算するかを設定する(S8)。そして、設定された代表画素の、設定された要素についてパラメーター演算S10を行う。パラメーター演算S10は、全ての要素(L、a、b)について行われ(S12)、全ての代表画素Q〜Qについて行われる(S14)。例えば、代表画素Qについて、bのパラメーター演算S10が実行されていない場合には(S12N)、S8に戻ってbのパラメーター演算S10を行う。そして、代表画素Qについて、全ての要素のパラメーターが得られた場合(S12Y)には、まだパラメーターが算出されてない代表画素があればパラメーター演算S10を行い(S14N)、なければパラメーター算出ステップS4の処理を終了する(S14Y)。 In the parameter calculation step S4, first, which representative pixel is to be calculated is set (S6). Then, which element is to be calculated is set (S8). Then, the parameter calculation S10 is performed for the set element of the set representative pixel. Parameter calculation S10, all the elements (L *, a *, b *) is performed on (S12), is performed for all the representative pixel Q 1 ~Q 9 (S14). For example, the representative pixel Q 1, if the b * parameter calculation S10 is not running (S12N), performs parameter calculation S10 in b * returns to S8. Then, the representative pixel Q 1, in the case (S12Y) where the parameters of all elements obtained, if the representative pixels not been calculated yet parameter performs a parameter calculation S10 (S14n), otherwise if parameter calculating step The process of S4 is terminated (S14Y).

図6は、パラメーター演算S10の手順を示す図である。パラメーター演算S10では、設定された代表画素Qの1つの要素(L、a、又はb)のパラメーターを算出する。まず、パラメーター演算手段12は要素に応じた演算対象範囲40を設定する(S102)。演算対象範囲40は色視野を考慮して要素毎に変更されてもよいし、全要素に共通であってもよい。 FIG. 6 is a diagram illustrating a procedure of the parameter calculation S10. In the parameter calculation S10, a parameter of one element (L * , a * , or b * ) of the set representative pixel Q is calculated. First, the parameter calculation means 12 sets the calculation target range 40 according to the element (S102). The calculation target range 40 may be changed for each element in consideration of the color field of view, or may be common to all elements.

パラメーター演算手段12は、演算の対象となる1つの背景点を設定して、背景色情報を取得する(S104)。そして、数1によって、その背景点と設定された代表画素との距離(背景点距離)を算出する(S106)。パラメーター演算手段12は、背景色情報と背景点距離に基づいて背景点補正値を演算で求める(S108)。ここでは、数2が用いられる。   The parameter calculation means 12 sets one background point to be calculated and acquires background color information (S104). Then, the distance between the background point and the set representative pixel (background point distance) is calculated by Equation 1 (S106). The parameter calculation means 12 calculates a background point correction value by calculation based on the background color information and the background point distance (S108). Here, Equation 2 is used.

この演算を、全ての背景点について行う(S110)。背景点補正値が求められていない背景点があれば、S104に戻り演算を繰り返す(S110N)。全ての背景点について背景点補正値を求めた場合(S110Y)には、数6にしたがって、パラメーターを算出する(S112)。   This calculation is performed for all background points (S110). If there is a background point for which no background point correction value has been obtained, the process returns to S104 and the calculation is repeated (S110N). When background point correction values are obtained for all background points (S110Y), parameters are calculated according to Equation 6 (S112).

2.第2実施形態
本発明の第2実施形態について図7〜図10を参照して説明する。
2. Second Embodiment A second embodiment of the present invention will be described with reference to FIGS.

2.1.色補正システムの構成
図7は、本実施形態の色補正システム1Aのブロック図である。図1と同じ構成要素には同じ番号を付しており説明は省略する。
2.1. Configuration of Color Correction System FIG. 7 is a block diagram of a color correction system 1A according to this embodiment. The same components as those in FIG. 1 are denoted by the same reference numerals, and description thereof is omitted.

色補正システム1Aは、図1の色補正システム1とは異なり、色補正手段20を含み、補正データ120を出力する。色補正システム1Aは、本実施形態のように記憶手段14を含んでいてもよい。記憶手段14は、色補正手段20において例外処理を行わせる色に関する特定色情報114を記憶している。色補正手段20は、パラメーター112に基づく補正量を入力画像データ100に加えた補正データ120を生成する。このとき、特定色情報114に基づいて補正量を調整してもよい。本実施形態のパラメーター演算手段12も、第1実施形態と同様に代表画素Q〜Qについてのパラメーター112を色補正手段20に出力する。パラメーター112の算出までは第1実施形態と同じであり説明を省略する。 Unlike the color correction system 1 of FIG. 1, the color correction system 1 </ b> A includes color correction means 20 and outputs correction data 120. The color correction system 1A may include a storage unit 14 as in the present embodiment. The storage unit 14 stores specific color information 114 relating to colors for which the color correction unit 20 performs exceptional processing. The color correction unit 20 generates correction data 120 obtained by adding a correction amount based on the parameter 112 to the input image data 100. At this time, the correction amount may be adjusted based on the specific color information 114. The parameter calculation means 12 of this embodiment also outputs the parameters 112 for the representative pixels Q 1 to Q 9 to the color correction means 20 as in the first embodiment. The process up to the calculation of the parameter 112 is the same as in the first embodiment, and a description thereof will be omitted.

2.2.色補正手段
色補正手段20は、入力画像データ100の各画素を補正する。本実施形態では、パラメーターはL、a、bの要素について得られる。そのため、例えばYUV形式で入力された入力画像データ100はL表色系での表現に変換される。そして、色補正手段20が補正量を計算して演算処理を行った後に、再びYUV形式などの補正データ120に変換されてから表示部2に出力される。
2.2. Color Correction Unit The color correction unit 20 corrects each pixel of the input image data 100. In this embodiment, parameters are obtained for the elements of L * , a * , b * . Therefore, for example, the input image data 100 input in the YUV format is converted into an expression in the L * a * b * color system. Then, after the color correction unit 20 calculates the correction amount and performs the calculation process, it is converted again into correction data 120 such as YUV format and then output to the display unit 2.

2.2.1.パラメーターの補間処理
色補正手段20は、代表画素Q〜Qについてのパラメーター112を取得する。入力画像データ100のうち、代表画素Q〜Q以外の画素のパラメーターはこれらのパラメーターから補間処理によって作成する。L表色系は知覚的均等性を有し、人間の視覚を近似する。つまり、値が変化した場合に、その変化は人間が感じる視覚の変化に等しい。そこで、本実施形態の色補正手段20は、線形補間を行って、入力画像データ100の任意の画素についてパラメーターを算出する。
2.2.1. Parameter Interpolation Processing The color correction unit 20 acquires the parameters 112 for the representative pixels Q 1 to Q 9 . Of the input image data 100, parameters of pixels other than the representative pixels Q 1 to Q 9 are created from these parameters by interpolation processing. The L * a * b * color system has perceptual uniformity and approximates human vision. In other words, when the value changes, the change is equal to the visual change felt by humans. Therefore, the color correction unit 20 of the present embodiment performs linear interpolation to calculate parameters for arbitrary pixels of the input image data 100.

図8(A)〜図8(B)は補間処理を説明するための図である。図8(A)には、画面30における代表画素Q〜Qと、色補正手段20がパラメーターを得ようとする画素qとが図示されている。直交座標x−yは、これらの画素の位置を特定するために用いる。なお、パラメーター演算の説明で周囲色情報110に用いた直交座標と区別するために、小文字のxおよびyを用いる。 FIG. 8A to FIG. 8B are diagrams for explaining the interpolation processing. FIG. 8A illustrates representative pixels Q 1 to Q 9 on the screen 30 and a pixel q for which the color correction unit 20 is to obtain a parameter. The Cartesian coordinates xy are used to specify the positions of these pixels. In order to distinguish from the orthogonal coordinates used for the ambient color information 110 in the description of the parameter calculation, lowercase letters x and y are used.

図8(A)では、画素qは代表画素Q、Q、Q、Qで作られる領域に含まれ、座標は(x、y)で表される。本実施形態では、最も近い4つの代表画素によって線形補間を行う。よって、画素qのパラメーターを計算するのに用いる代表画素は、Q、Q、Q、Qである。なお、4つの代表画素によって作られる長方形の領域を分割領域と表現する。図8(A)の例では、画面30は4つの分割領域を含む。 In FIG. 8A, the pixel q is included in an area formed by the representative pixels Q 5 , Q 6 , Q 9 , and Q 8 , and the coordinates are represented by (x q , y q ). In this embodiment, linear interpolation is performed by using the nearest four representative pixels. Therefore, the representative pixels used for calculating the parameter of the pixel q are Q 5 , Q 6 , Q 8 , and Q 9 . A rectangular area formed by the four representative pixels is expressed as a divided area. In the example of FIG. 8A, the screen 30 includes four divided areas.

色補正手段20は、図8(B)のように分割領域での画素qの位置を、x方向、y方向のそれぞれについて比率で表す。つまり、図8(B)のuおよびvを数9に従って計算する。   The color correction unit 20 represents the position of the pixel q in the divided area as a ratio in each of the x direction and the y direction as shown in FIG. That is, u and v in FIG.

そして、代表画素Q、Q、Q、Qにおけるパラメーターを用いて、画素qのパラメーターδL 、δa 、δb は数10のように算出される。 Then, using the parameters in the representative pixels Q 5 , Q 6 , Q 8 , and Q 9 , the parameters δL * q , δa * q , and δb * q of the pixel q are calculated as in Expression 10.

なお、画素qが代表画素Q〜Qである場合にもパラメーターは数10に従う。例えば画素qがQである場合には、u=v=1であり、δL =δL Q9、δa =δa Q9、δb =δb Q9が得られる。 Even when the pixel q is the representative pixels Q 1 to Q 9 , the parameter follows Formula 10. For example, when the pixel q is Q 9 is u = v = 1, δL * q = δL * Q9, δa * q = δa * Q9, δb * q = δb * Q9 is obtained.

2.2.2.補正量の係数
画素qの補正量は得られたパラメーターの関数で表現される。関数とは例えばNを自然数とするN次多項式であり、色空間などに応じて適した数値が選択される。本実施形態では、知覚的均等性を有するL表色系を用いており、補正量ΔL 、Δa 、Δb はパラメーターδL 、δa 、δb の1次式でよい。別の例としては、人間の視覚上の変化と数値の変化が均等でないYUV形式の色空間を扱う場合には2次式を用いる方が好ましい。
2.2.2. Correction amount coefficient The correction amount of the pixel q is expressed as a function of the obtained parameter. The function is, for example, an Nth order polynomial in which N is a natural number, and a suitable numerical value is selected according to the color space. In this embodiment, an L * a * b * color system having perceptual uniformity is used, and correction amounts ΔL * q , Δa * q , and Δb * q are parameters δL * q , δa * q , and δb *. It may be a linear expression of q . As another example, it is preferable to use a quadratic expression when dealing with a color space in YUV format in which changes in human vision and numerical values are not equal.

本実施形態の色補正手段20は、画素qの入力画像データ100の値L 、a 、b から数11に従って補正値L ’、a ’、b ’を求める。 The color correction means 20 of the present embodiment uses the correction values L * q ′, a * q ′, b * q ′ according to Equation 11 from the values L * q , a * q , b * q of the input image data 100 of the pixel q. Ask for.

ここで、K1q、K0q、M1q、M0q、N1q、N0qは、画素qにおける補正量を表す1次式の係数である。例えば、初期値としてはK1q=M1q=N1q=1、K0q=M0q=N0q=0としておき、入力画像データ100の性質や画素qの特性などに応じて調整を行ってもよい。 Here, K 1q , K 0q , M 1q , M 0q , N 1q , and N 0q are coefficients of a linear expression representing the correction amount in the pixel q. For example, the initial values may be K 1q = M 1q = N 1q = 1, K 0q = M 0q = N 0q = 0, and adjustment may be performed according to the characteristics of the input image data 100, the characteristics of the pixel q, and the like. Good.

2.2.2.1.分散による係数の調整
本実施形態では、入力画像データ100が複雑な画像であれば、対比現象の影響が目立たないために小さな係数を設定する。逆に、入力画像データ100が単純な画像であれば大きな係数を設定する。具体的には、入力画像データ100の全画素又はサンプリングした一部の画素から分散を求める。入力画像データ100における平均をL avgとしてサンプリングされた画素数がnであるとすると、分散sは数12となる。
2.2.2.1. Adjustment of Coefficient by Dispersion In this embodiment, if the input image data 100 is a complex image, a small coefficient is set because the influence of the contrast phenomenon is not noticeable. Conversely, if the input image data 100 is a simple image, a large coefficient is set. Specifically, the variance is obtained from all the pixels of the input image data 100 or a part of the sampled pixels. If the average number in the input image data 100 is L * avg and the number of pixels sampled is n, the variance s 2 is expressed by Equation 12.

そして、K1q=M1q=N1q=α/sとする。ここで、αは適当な定数である。なお、他の係数については調整を行わなくてもよい。 Then, K 1q = M 1q = N 1q = α / s 2 . Here, α is an appropriate constant. It is not necessary to adjust other coefficients.

2.2.2.2.背景色との比較による係数の調整
例えば、画素qと背景が全く同じ色であれば補正量は0であってもよい。そこで、画素qと背景との色を比較し、差分が0である場合には補正を行わない。この調整は要素毎(L、a、又はb)に行われてもよい。具体的には、K1q、M1q、N1qのそれぞれにDoG(Difference of Gaussian)関数による調整を加えてもよい。DoG関数は、ガウス関数Gを用いて、DoG(t)=G(t+δt)−G(t)と定義され、t=0では値が0となる。よって、tに前記の差分を割り当てて値を求めるとよい。
2.2.2.2. Adjustment of coefficient by comparison with background color For example, if the pixel q and the background are exactly the same color, the correction amount may be zero. Therefore, the colors of the pixel q and the background are compared, and if the difference is 0, no correction is performed. This adjustment may be performed element by element (L * , a * , or b * ). Specifically, adjustment by a DoG (Difference of Gaussian) function may be added to each of K 1q , M 1q , and N 1q . The DoG function is defined as DoG (t) = G (t + δt) −G (t) using the Gaussian function G, and the value becomes 0 at t = 0. Therefore, the value may be obtained by assigning the difference to t.

2.2.2.3.特定色情報による例外処理
記憶手段14に記憶された特定色情報114と画素qの色情報が一致した場合には補正を行わない例外処理を行ってもよい。すなわち、画素qが特定色情報114に合致する場合には、K1q=K0q=M1q=M0q=N1q=N0q=0とする。心理的効果として、記憶色は実際に見る色よりも特徴が強調されて感じられる。例えば、人の顔や、空や海の色などでは、このような効果が生じやすい。そのため、想定される記憶色を事前に記憶手段14に登録しておき、このような例外処理の対象とすることで、より適切な画像表示を行うことができる。
2.2.2.3. Exception Processing Using Specific Color Information When the specific color information 114 stored in the storage unit 14 matches the color information of the pixel q, exception processing without correction may be performed. That is, when the pixel q matches the specific color information 114, and K 1q = K 0q = M 1q = M 0q = N 1q = N 0q = 0. As a psychological effect, the memory color is felt with more emphasized features than the color actually seen. For example, such effects are likely to occur in the face of a person or the color of the sky or the sea. Therefore, it is possible to perform more appropriate image display by registering the assumed memory color in the storage unit 14 in advance and making it an object of such exception processing.

なお、本実施形態では、上記の係数の調整を全て行うが、一部の調整だけを行ってもよいし調整を行わなくてもよい。   In the present embodiment, all the adjustments of the above coefficients are performed, but only a part of the adjustments may be performed or the adjustments may not be performed.

2.2.3.補正データの生成
本実施形態の色補正手段20は、入力画像データ100の各画素について数11に従って、L、a、bの各要素の原補正データを生成する。そして、得られたデータを再びYUV形式などに変換した補正データ120を表示部2へと出力する。
2.2.3. Generation of Correction Data The color correction unit 20 of the present embodiment generates original correction data for each element of L * , a * , and b * according to Equation 11 for each pixel of the input image data 100. Then, the correction data 120 obtained by converting the obtained data into the YUV format again is output to the display unit 2.

2.3.色補正方法(補正データ生成手順)
図9は、第2実施形態における色補正方法を示す図である。上記の演算により補正データ生成を生成するまでの手順を示している。なお、パラメーター112を算出するまでの手順(S2、S4)は第1実施形態と同じであり説明を省略する。
2.3. Color correction method (correction data generation procedure)
FIG. 9 is a diagram illustrating a color correction method according to the second embodiment. The procedure until the generation of correction data by the above calculation is shown. Note that the procedure (S2, S4) until the parameter 112 is calculated is the same as in the first embodiment, and a description thereof is omitted.

色補正システム1Aでは、色補正手段20が代表画素Q〜Qのパラメーター112を取得した後に補正データ生成ステップS16を行う。そして、得られた補正データ120を表示部2へと出力して処理を終了する(S62)。 In the color correction system 1A, the correction data generation step S16 is performed after the color correction unit 20 acquires the parameters 112 of the representative pixels Q 1 to Q 9 . Then, the obtained correction data 120 is output to the display unit 2 and the process is terminated (S62).

補正データ生成ステップS16では、最初に入力画像データの色空間変換処理が行われる(S30)。本実施形態ではYUV形式で入力された入力画像データがL表色系へと変換される。 In the correction data generation step S16, color space conversion processing of input image data is first performed (S30). In this embodiment, input image data input in the YUV format is converted into an L * a * b * color system.

そして、補正データを生成する対象の画素を設定し(S34)、どの要素について演算するかを設定する(S36)。そして、設定された画素の、設定された要素についての補正データを演算する(S40)。補正データ演算S40は、全ての要素(L、a、b)について行われ(S42)、入力画像データの全画素について行われる(S44)。例えば、画素qについて、bの補正データ演算S40が行われていない場合には(S42N)、S36に戻ってbの補正データ演算S40を行う。そして、画素qについて、全ての要素の補正データが得られた場合(S42Y)には、まだ補正データが算出されてない画素があれば補正データ演算S40を行い(S44N)、なければ得られた原補正データの色空間を変換する(S44Y、S60)。 Then, a target pixel for generating correction data is set (S34), and which element is to be calculated is set (S36). Then, correction data for the set element of the set pixel is calculated (S40). The correction data calculation S40 is performed for all elements (L * , a * , b * ) (S42), and is performed for all the pixels of the input image data (S44). For example, when the b * correction data calculation S40 is not performed for the pixel q (S42N), the process returns to S36 and the b * correction data calculation S40 is performed. Then, when correction data of all the elements is obtained for the pixel q (S42Y), if there is a pixel for which correction data has not yet been calculated, a correction data calculation S40 is performed (S44N), otherwise it is obtained. The color space of the original correction data is converted (S44Y, S60).

図10は、補正データ演算S40の手順を示す図である。補正データ演算S40では、設定された画素qの1つの要素(L、a、又はb)の補正データを生成する。まず、画素qに近接する4つの代表画素を選択し、それらのパラメーターを取得する(S402)。そして、線形補間によって(図8(B)参照)画素qのパラメーターを算出する。本実施形態では、補正量はそのパラメーターの一次式で表される(S404)。 FIG. 10 is a diagram showing the procedure of the correction data calculation S40. In the correction data calculation S40, correction data of one element (L * , a * , or b * ) of the set pixel q is generated. First, four representative pixels close to the pixel q are selected and their parameters are acquired (S402). Then, the parameter of the pixel q is calculated by linear interpolation (see FIG. 8B). In the present embodiment, the correction amount is expressed by a linear expression of the parameter (S404).

そして、一次式の係数の調整を行う。入力画像データ100の画像が複雑であるか否かによって係数を調整してもよい。そこで、入力画像データ100の全画素又は一部の画素をサンプリングして分散を求めて調整を行う(S406)。また、画素qと背景が全く同じ色であれば補正量は0であってもよい。そこで、画素qと背景との色の差分値に基づいて一次式の係数の調整を行う(S408)。そして、実際に見る色よりも特徴が強調される記憶色に対する例外処理を行ってもよい。記憶手段14に記憶された特定色情報114と画素qの色情報が一致した場合には補正量を0にするように係数を調整する(S410)。そして、得られた補正量を元のデータに加算した補正データを生成する(S412)。   Then, the coefficient of the linear expression is adjusted. The coefficient may be adjusted depending on whether the image of the input image data 100 is complicated. Therefore, all the pixels or some of the pixels of the input image data 100 are sampled to obtain the variance and make adjustment (S406). If the pixel q and the background are exactly the same color, the correction amount may be zero. Therefore, the coefficient of the linear expression is adjusted based on the color difference value between the pixel q and the background (S408). Then, an exception process may be performed on a memory color in which the feature is emphasized more than the actually viewed color. When the specific color information 114 stored in the storage unit 14 matches the color information of the pixel q, the coefficient is adjusted so that the correction amount becomes 0 (S410). Then, correction data obtained by adding the obtained correction amount to the original data is generated (S412).

このように、色補正システム1Aでは、得られた補正データ120が色空間変換処理を経て(S60)、表示部2に出力されて(S62)処理が終了する。なお、YUV形式で補正を行う場合には、色空間変換処理は不要であり(S30、S60)、補正データ演算S40の補正量の式は二次式で表される。この場合でも、係数を調整することで補正データを得る手順は同様である。   In this way, in the color correction system 1A, the obtained correction data 120 undergoes the color space conversion process (S60) and is output to the display unit 2 (S62), and the process ends. When correction is performed in the YUV format, the color space conversion process is not required (S30, S60), and the correction amount expression of the correction data calculation S40 is expressed by a quadratic expression. Even in this case, the procedure for obtaining correction data by adjusting the coefficient is the same.

これらの例示に限らず、本発明は、実施の形態で説明した構成と実質的に同一の構成(例えば、機能、方法および結果が同一の構成、あるいは目的および効果が同一の構成)を含む。また、本発明は、実施の形態で説明した構成の本質的でない部分を置き換えた構成を含む。また、本発明は、実施の形態で説明した構成と同一の作用効果を奏する構成又は同一の目的を達成することができる構成を含む。また、本発明は、実施の形態で説明した構成に公知技術を付加した構成を含む。   The present invention is not limited to these exemplifications, and includes configurations that are substantially the same as the configurations described in the embodiments (for example, configurations that have the same functions, methods, and results, or configurations that have the same objects and effects). In addition, the invention includes a configuration in which a non-essential part of the configuration described in the embodiment is replaced. In addition, the present invention includes a configuration that exhibits the same operational effects as the configuration described in the embodiment or a configuration that can achieve the same object. Further, the invention includes a configuration in which a known technique is added to the configuration described in the embodiment.

1…色補正システム、1A…色補正システム、2…表示部、10…周囲色取得手段、20…色補正手段、12…パラメーター演算手段、14…記憶手段、30…画面、40…演算対象範囲、100…入力画像データ、120…補正データ、112…パラメーター、110…周囲色情報、114…特定色情報、810…テレビ受像機、811…壁、812…窓、813…カーテン、814…室内ライト、815…観葉植物、820…画像鑑賞点、1000…テスト画像、1001…テスト画像、1002…テスト画像、1003…テスト画像 DESCRIPTION OF SYMBOLS 1 ... Color correction system, 1A ... Color correction system, 2 ... Display part, 10 ... Ambient color acquisition means, 20 ... Color correction means, 12 ... Parameter calculation means, 14 ... Memory | storage means, 30 ... Screen, 40 ... Calculation object range , 100 ... Input image data, 120 ... Correction data, 112 ... Parameters, 110 ... Ambient color information, 114 ... Specific color information, 810 ... Television receiver, 811 ... Wall, 812 ... Window, 813 ... Curtain, 814 ... Indoor light , 815 ... foliage plant, 820 ... image appreciation point, 1000 ... test image, 1001 ... test image, 1002 ... test image, 1003 ... test image

Claims (13)

入力画像データの表示色を補正した補正データに基づく画像を表示部に表示させるための色補正システムであって、
前記表示部の周囲の画像の色情報である周囲色情報を取得する周囲色取得手段と、
前記周囲色情報に基づいて前記入力画像データの表示色の補正に必要なパラメーターを演算するパラメーター演算手段と、を含み、
前記パラメーター演算手段は、
前記入力画像データの所与の画素について、当該画素の位置情報と前記周囲色情報に基づき、前記パラメーターを求めるパラメーター演算を行う、色補正システム。
A color correction system for displaying an image based on correction data obtained by correcting the display color of input image data on a display unit,
Ambient color acquisition means for acquiring ambient color information that is color information of an image around the display unit;
Parameter calculating means for calculating parameters necessary for correcting the display color of the input image data based on the ambient color information,
The parameter calculation means is
A color correction system for performing a parameter calculation for obtaining the parameter for a given pixel of the input image data based on the position information of the pixel and the surrounding color information.
請求項1に記載の色補正システムにおいて、
前記パラメーター演算手段は、
前記パラメーター演算において、
前記表示部の周囲の画像に演算対象範囲を定め、
前記演算対象範囲内の画素である背景点について、その色情報である背景色情報を前記周囲色情報から取得し、
前記演算対象範囲に含まれる各背景点について、前記所与の画素と前記背景点との距離である背景点距離と前記背景色情報とに基づいて背景点補正値を算出し、
前記演算対象範囲に含まれる全ての背景点についての背景点補正値の総和に基づき前記パラメーターを求める、色補正システム。
The color correction system according to claim 1.
The parameter calculation means is
In the parameter calculation,
A calculation target range is determined for an image around the display unit,
For background points that are pixels within the calculation target range, obtain background color information that is color information from the surrounding color information,
For each background point included in the calculation target range, calculate a background point correction value based on the background point distance and the background color information, which is the distance between the given pixel and the background point,
The color correction system which calculates | requires the said parameter based on the sum total of the background point correction value about all the background points included in the said calculation object range.
請求項2に記載の色補正システムにおいて、
前記パラメーター演算手段は、
前記入力画像データの一部の画素である代表画素については、前記所与の画素として前記パラメーター演算を行い、
前記入力画像データの画素のうち前記代表画素でない画素については、前記代表画素の前記パラメーターに基づく演算によってパラメーターを求める、色補正システム。
The color correction system according to claim 2,
The parameter calculation means is
For representative pixels that are part of the pixels of the input image data, the parameter calculation is performed as the given pixel,
The color correction system which calculates | requires a parameter by the calculation based on the parameter of the said representative pixel about the pixel which is not the said representative pixel among the pixels of the said input image data.
請求項3に記載の色補正システムにおいて、
前記代表画素の数および座標の少なくとも一方は、前記表示部の画面の大きさに基づいて定められる、色補正システム。
The color correction system according to claim 3.
The color correction system, wherein at least one of the number and coordinates of the representative pixels is determined based on a screen size of the display unit.
請求項2乃至4のいずれかに記載の色補正システムにおいて、
前記パラメーター演算手段は、
前記所与の色空間の要素毎に前記演算対象範囲を定める、色補正システム。
The color correction system according to any one of claims 2 to 4,
The parameter calculation means is
A color correction system that defines the calculation target range for each element of the given color space.
請求項1乃至5のいずれかに記載の色補正システムにおいて、
前記パラメーターを補正量とし、前記入力画像データに前記補正量を加えた補正データを生成する色補正手段を含む、色補正システム。
The color correction system according to any one of claims 1 to 5,
A color correction system comprising color correction means for generating correction data in which the parameter is a correction amount and the correction amount is added to the input image data.
請求項1乃至5のいずれかに記載の色補正システムにおいて、
前記パラメーターに基づいて前記補正データを作成する色補正手段を含み、
前記色補正手段は、
前記パラメーターの関数で表される補正量を前記入力画像データに加えた補正データを生成し、
前記入力画像データの画素毎に、その画素の色情報と前記背景色情報とに基づいて前記関数又はその係数を調整する、色補正システム。
The color correction system according to any one of claims 1 to 5,
Color correction means for creating the correction data based on the parameters,
The color correction means includes
Generating correction data by adding a correction amount represented by a function of the parameter to the input image data;
A color correction system that adjusts the function or its coefficient for each pixel of the input image data based on color information of the pixel and the background color information.
請求項7に記載の色補正システムにおいて、
予め指定した色の情報である特定色情報を記憶する記憶手段を含み、
前記色補正手段は、
前記特定色情報にも基づいて前記関数又はその係数を調整する、色補正システム。
The color correction system according to claim 7.
Including storage means for storing specific color information which is information of a color designated in advance;
The color correction means includes
A color correction system that adjusts the function or its coefficient based on the specific color information.
請求項7乃至8のいずれかに記載の色補正システムにおいて、
前記色補正手段は、
前記入力画像データの一部又は全部の画素の色情報について分散値を求め、
前記分散値が大きい場合には前記補正量が小さくなるように前記関数又はその係数を調整し、前記分散値が小さい場合には前記補正量が大きくなるように前記関数又はその係数を調整する、色補正システム。
The color correction system according to any one of claims 7 to 8,
The color correction means includes
A variance value is obtained for color information of some or all pixels of the input image data,
When the variance value is large, the function or its coefficient is adjusted so that the correction amount is small, and when the variance value is small, the function or its coefficient is adjusted so that the correction amount is large, Color correction system.
請求項1乃至9のいずれかに記載の色補正システムにおいて、
前記パラメーター演算手段は、
表色系におけるL、a、bの要素毎に前記パラメーター演算を行う、色補正システム。
The color correction system according to any one of claims 1 to 9,
The parameter calculation means is
L * a * b * L in color system *, a *, b * components performing the parameter calculation for each of the color correction system.
請求項1乃至9のいずれかに記載の色補正システムにおいて、
前記所与の色空間は、
前記パラメーター演算手段は、
YUV形式におけるY、U、Vの要素毎に前記パラメーター演算を行う、色補正システム。
The color correction system according to any one of claims 1 to 9,
The given color space is
The parameter calculation means is
A color correction system that performs the parameter calculation for each of Y, U, and V elements in the YUV format.
入力画像データの表示色を補正した補正データに基づく画像を表示部に表示させるための色補正を行うプログラムであって、
前記表示部の周囲の画像の色情報である周囲色情報を取得する周囲色取得手段と、
前記周囲色情報に基づいて前記入力画像データの表示色の補正に必要なパラメーターを演算するパラメーター演算手段と、してコンピューターを機能させ、
前記パラメーター演算手段は、
前記入力画像データの所与の画素について、当該画素の位置情報と前記周囲色情報に基づき、前記パラメーターを求めるパラメーター演算を行う、プログラム。
A program for performing color correction for displaying an image based on correction data obtained by correcting the display color of input image data on a display unit,
Ambient color acquisition means for acquiring ambient color information that is color information of an image around the display unit;
A parameter calculation means for calculating parameters necessary for correcting the display color of the input image data based on the ambient color information, and causing the computer to function;
The parameter calculation means is
A program for performing a parameter calculation for a given pixel of the input image data based on position information of the pixel and the surrounding color information to obtain the parameter.
入力画像データの表示色を補正した補正データに基づく画像を表示部に表示させるための色補正方法であって、
前記表示部の周囲の画像の色情報である周囲色情報を取得する周囲色取得ステップと、
前記周囲色情報に基づいて前記入力画像データの表示色の補正に必要なパラメーターを演算するパラメーター演算ステップと、を含み、
前記パラメーター演算ステップにおいて、
前記入力画像データの所与の画素について、当該画素の位置情報と前記周囲色情報に基づき、前記パラメーターを求めるパラメーター演算を行う、色補正方法。
A color correction method for displaying an image based on correction data obtained by correcting the display color of input image data on a display unit,
An ambient color acquisition step of acquiring ambient color information that is color information of an image around the display unit;
A parameter calculation step for calculating a parameter necessary for correcting the display color of the input image data based on the ambient color information,
In the parameter calculation step,
A color correction method for performing a parameter calculation for obtaining the parameter for a given pixel of the input image data based on position information of the pixel and the surrounding color information.
JP2010093148A 2010-04-14 2010-04-14 Color correction system, program and color correction method Withdrawn JP2011223509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010093148A JP2011223509A (en) 2010-04-14 2010-04-14 Color correction system, program and color correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010093148A JP2011223509A (en) 2010-04-14 2010-04-14 Color correction system, program and color correction method

Publications (1)

Publication Number Publication Date
JP2011223509A true JP2011223509A (en) 2011-11-04

Family

ID=45039833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010093148A Withdrawn JP2011223509A (en) 2010-04-14 2010-04-14 Color correction system, program and color correction method

Country Status (1)

Country Link
JP (1) JP2011223509A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130135334A1 (en) * 2011-11-30 2013-05-30 Kazuyasu Ohwaki Image processing apparatus, storage medium for storing control program, and controlling method for image processing apparatus
US20140168225A1 (en) * 2012-12-14 2014-06-19 Kabushiki Kaisha Toshiba Information processor and information processing method
JP2017203877A (en) * 2016-05-11 2017-11-16 日本電信電話株式会社 Image processing system, image processing method and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130135334A1 (en) * 2011-11-30 2013-05-30 Kazuyasu Ohwaki Image processing apparatus, storage medium for storing control program, and controlling method for image processing apparatus
JP2013114192A (en) * 2011-11-30 2013-06-10 Toshiba Corp Image processing system, control program and image processing system control method
US20140168225A1 (en) * 2012-12-14 2014-06-19 Kabushiki Kaisha Toshiba Information processor and information processing method
JP2017203877A (en) * 2016-05-11 2017-11-16 日本電信電話株式会社 Image processing system, image processing method and program

Similar Documents

Publication Publication Date Title
JP4283297B2 (en) Image compensation method
CN100448280C (en) Self adaptive image display method for environment light
US8538147B2 (en) Methods and appartuses for restoring color and enhancing electronic images
US11494960B2 (en) Display that uses a light sensor to generate environmentally matched artificial reality content
Akyüz et al. Color appearance in high-dynamic-range imaging
CN109983530A (en) Ambient light adaptive display management
JP4903577B2 (en) Video signal converter, video display device
US9947275B1 (en) Real-time white point correction for tablet display
US20090009525A1 (en) Color Adjustment Device and Method
CN107274351B (en) Image processing apparatus, image processing system, and image processing method
CA2733860A1 (en) Method and system for remotely calibrating display of image data
JP2011223509A (en) Color correction system, program and color correction method
JP5534825B2 (en) Image processing apparatus and color temperature correction method
JP5127638B2 (en) Image processing apparatus and method
JP4982844B2 (en) Projection image correction system and projection image correction program
JP5725271B2 (en) Color correction system
JP2018059999A (en) Electronic apparatus, display, and information output method
JP2006345440A (en) Image processor, image processing program
JP2012114498A (en) Image processing device, electronic device, image processing method, and image processing program
CN108765502B (en) Color appearance obtaining method in complex environment
KR20070012017A (en) Method of color correction for display and apparatus thereof
Nezamabadi et al. Effect of image size on the color appearance of image reproductions using colorimetrically calibrated LCD and DLP displays
Kang et al. CIECAM02-based tone mapping technique for color image contrast enhancement
TW202018693A (en) Method for adjusting uniformity of image color tones and system thereof
CN115514947B (en) Algorithm for automatic white balance of AI (automatic input/output) and electronic equipment

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20130702