Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4832900B2 - Image output apparatus, image output method, and computer program - Google Patents
[go: Go Back, main page]

JP4832900B2 - Image output apparatus, image output method, and computer program - Google Patents

Image output apparatus, image output method, and computer program Download PDF

Info

Publication number
JP4832900B2
JP4832900B2 JP2006004223A JP2006004223A JP4832900B2 JP 4832900 B2 JP4832900 B2 JP 4832900B2 JP 2006004223 A JP2006004223 A JP 2006004223A JP 2006004223 A JP2006004223 A JP 2006004223A JP 4832900 B2 JP4832900 B2 JP 4832900B2
Authority
JP
Japan
Prior art keywords
luminance
value
external light
correction
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006004223A
Other languages
Japanese (ja)
Other versions
JP2007189359A (en
Inventor
明広 桑原
高幸 木本
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2006004223A priority Critical patent/JP4832900B2/en
Publication of JP2007189359A publication Critical patent/JP2007189359A/en
Application granted granted Critical
Publication of JP4832900B2 publication Critical patent/JP4832900B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Processing Of Color Television Signals (AREA)
  • Liquid Crystal (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Projection Apparatus (AREA)
  • Picture Signal Circuits (AREA)
  • Television Receiver Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image output apparatus and an image output method capable of displaying a display image easily viewed by a viewer by preventing deterioration in the visibility of the display image caused by external light. <P>SOLUTION: A luminance distribution detection circuit 301 in a luminance correction section 103 of a projector discriminates to which consecutive small intervals with the same widths a luminance value of each of pixels by one image is included within a maximum interval and a minimum interval which the luminance value can take and counts the number of pixels whose luminance values are included in each small interval, a coefficient calculation circuit 302 calculates a conversion coefficient proportional to the number of the pixels included in each small interval, and a luminance level adjustment circuit 303 uses the conversion coefficient and an offset generated by a correction value determining circuit 305 in response to the illuminance of the external light to correct the luminance value of each pixel. <P>COPYRIGHT: (C)2007,JPO&amp;INPIT

Description

本発明は、画像を出力する画像出力装置に関し、特に、外光による前記画像の視認性低下を改善する技術に関する。   The present invention relates to an image output apparatus that outputs an image, and more particularly, to a technique for improving a reduction in visibility of the image due to external light.

プロジェクタ装置など画像出力装置が画像を出力している際に、外光の照度が増してくると、表示している画像のコントラストが悪化し、画像は見えにくくなる。このような外光によるコントラストへの悪影響を改善する技術の一つに、特許文献1に開示されている画像処理装置がある。
特許文献1に開示されている画像処理装置は、入力映像輝度信号を受け付けると、CRT周辺の外光照度を検出し、検出された外光照度に基づいて記憶手段に記憶されている複数の階調補正テーブルの中から所望のテーブルを選択し、選択した階調補正テーブルを用いて、入力映像輝度信号を補正することにより画像の視認性の改善を図っている。
特開平9―190170号公報
When the illuminance of external light increases while an image output device such as a projector device is outputting an image, the contrast of the displayed image deteriorates and the image becomes difficult to see. One of the techniques for improving such an adverse effect on contrast caused by external light is an image processing apparatus disclosed in Patent Document 1.
When the image processing apparatus disclosed in Patent Document 1 receives an input video luminance signal, the image processing apparatus detects external light illuminance around the CRT, and a plurality of gradation corrections stored in the storage unit based on the detected external light illuminance A desired table is selected from the tables, and the visibility of the image is improved by correcting the input video luminance signal using the selected gradation correction table.
JP-A-9-190170

しかしながら、画像には、全体的に明るい画像や、暗い画像など様々なものがあり、特許文献1のように単純に外光レベルに応じた階調補正テーブルを用いて、階調補正するのみでは、表示される画像の視認性が改善するとは限らない。
例えば、ある外光の照度に対して、低輝度部分を高輝度に補正する階調補正テーブルを用意している場合、前記階調補正テーブルを用い、元々大部分が暗い画像を補正すると、補正の効果が認められる場合もあるが、大部分が明るい映像を補正する場合には、残りの暗い部分まで明るく補正されてしまい、元々明るい部分と明るく補正された部分とのコントラスト差がなくなり、全体として画像の視認性が低下する場合も考えられる。
However, there are various kinds of images such as a bright image and a dark image as a whole, and it is not possible to simply perform tone correction using a tone correction table according to the external light level as in Patent Document 1. The visibility of the displayed image is not always improved.
For example, if a gradation correction table is prepared to correct a low-luminance part to a high luminance for a certain illuminance of external light, using the gradation correction table to correct an image that is originally mostly dark However, when correcting mostly bright images, the remaining dark areas are corrected brightly, and there is no contrast difference between the originally bright areas and the brightly corrected areas. It is also conceivable that the visibility of the image decreases.

また、単純に外光照度の測光値により階調補正テーブルを変えると、測光値がふらつくことによって補正後の輝度がふらつき、画面にフリッカー現象が生じうる。
上記問題に鑑み、本発明は、表示画像の外光による視認性低下を改善し、視聴者が見易い画像を表示することができる画像出力装置及び画像出力方法を提供することを目的とする。
In addition, if the gradation correction table is simply changed according to the photometric value of the ambient light illuminance, the luminance after the correction varies due to the fluctuation of the photometric value, and a flicker phenomenon may occur on the screen.
In view of the above problems, an object of the present invention is to provide an image output apparatus and an image output method capable of improving visibility reduction due to external light of a display image and displaying an image easy for a viewer to view.

上記課題を解決するために、本発明は、外光の強度に応じて原画像の輝度を補正して出力する画像出力装置であって、各画素が所定の仕様で輝度表現された原画像を記憶している記憶手段と、前記仕様に基づいた全輝度域を均等分割した輝度区間の各々について、前記原画像の各画素の輝度値が含まれる画素数を計数する計数手段と、各輝度区間について計数された画素数に比例する加算値を算出する算出手段と、前記各画素の輝度値について、当該輝度値が含まれる輝度区間について計数された前記加算値を輝度区間における当該輝度値の位置に基づき調整した調整値と、輝度区間の上限値が、当該輝度値が含まれる輝度区間の下限値よりも小さい輝度区間の各々について計数された加算値とを加算した補正輝度値で、当該輝度値を置き換える変換手段とを備える。   In order to solve the above-described problems, the present invention provides an image output apparatus that corrects and outputs the luminance of an original image according to the intensity of external light, and outputs an original image in which each pixel is expressed with luminance according to a predetermined specification. Storage means for storing, counting means for counting the number of pixels including the luminance value of each pixel of the original image for each of the luminance sections obtained by equally dividing the entire luminance area based on the specification, and each luminance section Calculating means for calculating an addition value proportional to the number of pixels counted with respect to the luminance value of each pixel, and for the luminance value of each pixel, the addition value counted for a luminance interval including the luminance value is used as the position of the luminance value in the luminance interval. The corrected brightness value obtained by adding the adjustment value adjusted based on the brightness value and the added value counted for each brightness section in which the upper limit value of the brightness section is smaller than the lower limit value of the brightness section in which the brightness value is included. Replace value And a conversion unit that.

本発明の画像出力装置は、上述の構成を備えることにより、表示する画像について、輝度値が含まれる数が多いほど輝度区間における輝度のコントラストが高くなり、輝度値が含まれる数が少ないほど輝度区間における輝度のコントラストが低くなるので、画像内で最も広く分布する輝度の範囲のコントラストが向上し、視聴者にとって視認性の向上した画像を出力することができる。また、画像の輝度分布を用いず、固定的な補正テーブルを用いて輝度値を補正する場合のように、大部分が明るい映像について、残りの小部分である暗い部分を重点的に明るく補正し、全体として却って画像の視認性を低下させるようなことはなく、大部分の明るい部分のコントラストを改善して、視聴者にとって視認性を向上させた画像を出力することができる。   The image output apparatus according to the present invention has the above-described configuration, so that the larger the number of luminance values included in an image to be displayed, the higher the luminance contrast in the luminance section, and the smaller the number of luminance values included, the luminance. Since the brightness contrast in the section is lowered, the contrast in the brightness range most widely distributed in the image is improved, and an image with improved visibility for the viewer can be output. In addition, as in the case of correcting the luminance value using a fixed correction table without using the luminance distribution of the image, the dark portion that is the remaining small portion is corrected brightly with a focus on the video that is mostly bright. However, the overall visibility of the image can be improved without improving the visibility of the image, and the contrast of most of the bright areas can be improved, and an image with improved visibility for the viewer can be output.

また、前記算出手段は、前記原画像内の全画素数を輝度区間の数で除算することにより区間画素数を算出する区間画素数算出部と、各輝度区間について、輝度値が含まれる画素数を前記区間画素数で除算することにより変換係数を算出する変換係数算出部と、輝度区間の上限値と下限値の差分値に対し、当該輝度区間に係る変換係数を乗算することにより加算値を算出する区間加算値算出部とを含むとしてもよい。   In addition, the calculation means includes a section pixel number calculation unit that calculates the number of section pixels by dividing the total number of pixels in the original image by the number of brightness sections, and the number of pixels including a brightness value for each brightness section. A conversion coefficient calculation unit for calculating a conversion coefficient by dividing the pixel value by the number of pixels in the section, and a difference value between the upper limit value and the lower limit value of the brightness section is multiplied by the conversion coefficient related to the brightness section to obtain an addition value. It is good also as including the area addition value calculation part to calculate.

また、前記変換手段は、前記調整値を、当該輝度値が含まれる輝度区間について計数された前記加算値に、当該輝度値が含まれる輝度区間の下限値と当該輝度値との差分に比例する調整係数を乗じて算出するとしてもよい。
この構成によれば、表示する画像について、輝度値が含まれる数が多いほど輝度区間における輝度のコントラストが高くなり、輝度値が含まれる数が少ないほど輝度区間における輝度のコントラストが低くなるので、画像内で最も広く分布する輝度の範囲のコントラストが向上し、視聴者にとって視認性の向上した画像を出力することができる。
Further, the conversion means is proportional to the difference between the lower limit value of the luminance section including the luminance value and the luminance value, with respect to the addition value counted for the luminance section including the luminance value. It may be calculated by multiplying by an adjustment coefficient.
According to this configuration, for the image to be displayed, the greater the number of luminance values included, the higher the luminance contrast in the luminance interval, and the smaller the number of luminance values included, the lower the luminance contrast in the luminance interval. The contrast of the most widely distributed luminance range in the image is improved, and an image with improved visibility for the viewer can be output.

また、前記画像出力装置は、さらに、外光強度を測定する測光手段と、外光強度を輝度に係るオフセット値に変換する外光変換手段とを含み、前記変換係数算出部は、前記変換係数として、前記除算結果を、((前記全輝度域の上限値−前記オフセット値)/前記全輝度域の上限値)倍して出力し、前記変換手段は、前記オフセット値を加算した補正輝度値で、前記輝度値を置き換えることとしてもよい。   The image output device further includes photometric means for measuring external light intensity, and external light converting means for converting the external light intensity into an offset value related to luminance, and the conversion coefficient calculation unit includes the conversion coefficient. As a result, the division result is multiplied by ((the upper limit value of the entire luminance region−the offset value) / the upper limit value of the entire luminance region), and the conversion unit corrects the corrected luminance value obtained by adding the offset value. Thus, the luminance value may be replaced.

また、前記測光手段は、外光強度を複数回測定し、前記外光変換手段は、外光強度の変化量を算出し、直近に測定された外光強度を、前記変化量に基づき補正する外光強度補正部と、外光強度の下限値から上限値までの範囲を前記全輝度域に比例配分する比例変換に従い、補正された前記外光強度を前記オフセット値に変換する外光変換部とを含んでもよい。   The photometric means measures the external light intensity a plurality of times, and the external light conversion means calculates a change amount of the external light intensity, and corrects the recently measured external light intensity based on the change amount. An external light intensity correction unit, and an external light conversion unit that converts the corrected external light intensity into the offset value according to proportional conversion that proportionally distributes the range from the lower limit value to the upper limit value of the external light intensity to the entire luminance range And may be included.

この構成によれば、各画素の輝度値を、外光強度に応じたオフセット値を加えた輝度値に補正するので、表示される画像について外光の影響により相対的にコントラストが低下するのを防ぎ、視聴者にとって視認性の向上した画像を出力することができる。
また、前記外光強度補正部は、前回測定した外光強度と、直近に測定した外光強度との差分を算出する差分算出部と、前記差分が所定の下限値未満である場合に、前回測定した前記外光強度を出力し、前記差分が所定の上限値より大きい場合に、前記直近に測定した前記外光強度を出力し、前記差分が所定下限値以上、所定上限値以下である場合に、前回測定した前記外光強度に所定係数を乗算して出力する調整部とを含んでもよい。
According to this configuration, the luminance value of each pixel is corrected to a luminance value obtained by adding an offset value according to the external light intensity, so that the contrast of the displayed image is relatively lowered due to the influence of external light. Therefore, it is possible to output an image with improved visibility for the viewer.
Further, the external light intensity correction unit is configured to calculate a difference between the external light intensity measured last time and the external light intensity measured most recently, and when the difference is less than a predetermined lower limit, When the measured external light intensity is output and the difference is greater than a predetermined upper limit value, the most recently measured external light intensity is output, and the difference is greater than or equal to a predetermined lower limit value and less than or equal to a predetermined upper limit value And an adjustment unit that multiplies the external light intensity measured last time by a predetermined coefficient and outputs the result.

この構成によれば、外光強度の差分が、前記所定下限値から前記所定上限値の間である場合に、外光強度に対して所定係数を乗算するので、輝度値の変化をゆるやかにすることができる。特に、外光強度の測定値が数%程度ふらつくような場合に、輝度値の補正量を低減するので、ふらつきがオフセット値に直接反映されるのをふせぎ、フリッカー現象が生じるような画像出力を防ぐことができる。   According to this configuration, when the difference in external light intensity is between the predetermined lower limit value and the predetermined upper limit value, the external light intensity is multiplied by the predetermined coefficient, so that the change in the luminance value is moderated. be able to. In particular, when the measured value of the external light intensity fluctuates by about several percent, the correction value of the brightness value is reduced. Can be prevented.

また、前記画像出力装置は、さらに、原画像に係る補正輝度値のうち最小である最小補正輝度値が、所定閾値より大きい場合に、前記全輝度域の下限値を含む輝度区間である最小輝度区間における、最小輝度区間の下限値に係る補正輝度値から最小輝度区間の上限値に係る補正輝度値までの範囲を、最小輝度区間の下限値から最小輝度区間の上限値に係る補正輝度値までの範囲に比例配分する補正をする黒色補正手段を備えることとしてもよい。   Further, the image output device further includes a minimum luminance that is a luminance section including a lower limit value of the entire luminance region when a minimum corrected luminance value that is the minimum among the corrected luminance values of the original image is larger than a predetermined threshold value. The range from the corrected brightness value related to the lower limit value of the minimum brightness section to the corrected brightness value related to the upper limit value of the minimum brightness section in the section, from the lower limit value of the minimum brightness section to the corrected brightness value related to the upper limit value of the minimum brightness section It is good also as providing the black correction | amendment means which correct | amends proportionally distributed to the range of.

この構成によれば、低輝度部分の輝度値をさらに下げるので、表示される画像における黒さをくっきりとさせ、画像を引き締めることができる。
また、前記画像出力装置は、さらに、各画素の色相が肌色か否かを判定する肌色判定手段を備え、前記算出手段は、肌色と判定された画素については、各輝度区間に係る加算値を所定数倍することとしてもよい。
According to this configuration, since the luminance value of the low luminance portion is further lowered, the blackness in the displayed image can be made clear and the image can be tightened.
The image output device further includes a skin color determination unit that determines whether or not the hue of each pixel is a skin color, and the calculation unit calculates an addition value related to each luminance section for the pixel determined to be a skin color. It may be multiplied by a predetermined number.

この構成によれば、肌色部分について急激に階調補正をするのを防ぎ、補正によって肌色部分の色調を損なうことのない画像を出力することができる。
また、前記画像出力装置は、さらに、前記原画像の平均輝度値を算出する平均輝度算出手段を備え、前記算出手段は、前記平均輝度値が所定値以下である場合に、各輝度区間に係る加算値を所定数倍することとしてもよい。
According to this configuration, it is possible to prevent the tone of the skin color portion from being suddenly corrected, and to output an image that does not impair the color tone of the skin color portion by the correction.
The image output apparatus further includes an average luminance calculating unit that calculates an average luminance value of the original image, and the calculating unit relates to each luminance section when the average luminance value is equal to or less than a predetermined value. The addition value may be multiplied by a predetermined number.

この構成によれば、過補正を防ぐことができる。よって、例えば、夜空を映した画像など、暗い輝度成分が多い画像について、極端な過補正をせず、夜空が明るく浮いた映像になるのを防ぎ、逆に、昼の風景を映した画像など明るい輝度成分が多い画像について、過補正をせず、風景が暗くなってしまうのを防ぐことができる。
また、前記画像出力装置は、さらに、前記原画像に含まれる画素の輝度値の最大値及び最小値を検出する最大最小値検出手段を備え、前記算出手段は、各輝度区間における加算値を、((前記全輝度域の上限値−前記全輝度域の下限値)/(原画像に含まれる画素の輝度値の最大値−原画像に含まれる画素の輝度値の最小値))倍することとしてもよい。
According to this configuration, overcorrection can be prevented. Therefore, for example, an image with many dark luminance components, such as an image showing the night sky, is not excessively overcorrected to prevent the night sky from appearing as a bright image. For an image having many bright luminance components, it is possible to prevent the scenery from becoming dark without over-correcting.
Further, the image output device further includes a maximum / minimum value detection unit that detects a maximum value and a minimum value of luminance values of pixels included in the original image, and the calculation unit calculates an addition value in each luminance interval, ((The upper limit value of the entire luminance region−the lower limit value of the entire luminance region) / (the maximum value of the luminance value of the pixel included in the original image−the minimum value of the luminance value of the pixel included in the original image)). It is good.

この構成によれば、輝度値が取りうる最小値から最大値の範囲全てを用いて各画素の輝度値を表すので、画像のコントラストを更に強調し、視認性を向上させることができる。
また、前記画像出力装置は、さらに、各画素の色差値に対し、(前記変換手段による補正後の輝度値/前記変換手段による補正前の輝度値)を乗じることにより色差値を補正する色調整手段を備えることとしてもよい。
According to this configuration, since the luminance value of each pixel is expressed using the entire range from the minimum value to the maximum value that can be taken by the luminance value, it is possible to further enhance the contrast of the image and improve the visibility.
Further, the image output device further performs color adjustment for correcting the color difference value by multiplying the color difference value of each pixel by (the luminance value after correction by the conversion unit / the luminance value before correction by the conversion unit). Means may be provided.

この構成によれば、画素の輝度値を補正すると共に、前記画素の色差値についても、(補正後の輝度値/補正前の輝度値)倍することにより補正するので、輝度値のみを補正によって増加させることにより生じる画素の色が薄くなるのを防ぎ、コントラスト、色づきの良い視認性に優れた画像を出力することができる。
本発明の画像出力方法は、各画素が所定の仕様で輝度表現された原画像を記憶し、外光の強度に応じて前記原画像の輝度を補正して出力する画像出力装置に用いられる画像出力方法であって、前記仕様に基づいた全輝度域を均等分割した輝度区間の各々について、前記原画像の各画素の輝度値が含まれる画素数を計数する計数ステップと、各輝度区間について計数された画素数に比例する加算値を算出する算出ステップと、前記各画素の輝度値について、当該輝度値が含まれる輝度区間について計数された前記加算値を輝度区間における当該輝度値の位置に基づき調整した調整値と、輝度区間の上限値が、当該輝度値が含まれる輝度区間の下限値よりも小さい輝度区間の各々について計数された加算値とを加算した補正輝度値で、当該輝度値を置き換える変換ステップとを含む。
According to this configuration, the luminance value of the pixel is corrected, and the color difference value of the pixel is also corrected by multiplying (the luminance value after correction / the luminance value before correction), so that only the luminance value is corrected. It is possible to prevent the pixel color caused by the increase from being thinned, and to output an image with excellent contrast and coloring and excellent visibility.
The image output method of the present invention stores an original image in which each pixel is expressed in luminance according to a predetermined specification, and corrects the luminance of the original image according to the intensity of external light and outputs the image. In the output method, a counting step of counting the number of pixels including the brightness value of each pixel of the original image for each of the brightness sections obtained by equally dividing the entire brightness area based on the specification, and counting for each brightness section A calculation step of calculating an addition value proportional to the number of pixels obtained, and, for the luminance value of each pixel, the addition value counted for the luminance interval including the luminance value is based on the position of the luminance value in the luminance interval. A corrected brightness value obtained by adding the adjusted adjustment value and the added value counted for each brightness section in which the upper limit value of the brightness section is smaller than the lower limit value of the brightness section including the brightness value. And a conversion step of replacing.

本発明のコンピュータプログラムは、各画素が所定の仕様で輝度表現された原画像を記憶し、外光の強度に応じて前記原画像の輝度を補正して出力する画像出力装置に用いられるコンピュータプログラムであって、前記仕様に基づいた全輝度域を均等分割した輝度区間の各々について、前記原画像の各画素の輝度値が含まれる画素数を計数する計数ステップと、各輝度区間について計数された画素数に比例する加算値を算出する算出ステップと、前記各画素の輝度値について、当該輝度値が含まれる輝度区間について計数された前記加算値を輝度区間における当該輝度値の位置に基づき調整した調整値と、輝度区間の上限値が、当該輝度値が含まれる輝度区間の下限値よりも小さい輝度区間の各々について計数された加算値とを加算した補正輝度値で、当該輝度値を置き換える変換ステップとを含む。   The computer program of the present invention stores an original image in which each pixel is expressed in luminance with a predetermined specification, and corrects the luminance of the original image according to the intensity of external light and outputs the computer image. A counting step for counting the number of pixels in which the luminance value of each pixel of the original image is included for each of the luminance intervals obtained by equally dividing the entire luminance range based on the specification; A calculation step for calculating an addition value proportional to the number of pixels, and for the luminance value of each pixel, the addition value counted for the luminance section including the luminance value is adjusted based on the position of the luminance value in the luminance section. Correction obtained by adding the adjustment value and the added value counted for each luminance section in which the upper limit value of the luminance section is smaller than the lower limit value of the luminance section including the luminance value In degrees values, and a conversion step of replacing the luminance value.

この構成によれば、表示する画像について、輝度値が含まれる数が多いほど輝度区間における輝度のコントラストが高くなり、輝度値が含まれる数が少ないほど輝度区間における輝度のコントラストが低くなるので、画像内で最も広く分布する輝度の範囲のコントラストが向上し、視聴者にとって視認性の向上した画像を出力することができる。また、画像の輝度分布を用いず、固定的な補正テーブルを用いて輝度値を補正する場合のように、大部分が明るい映像について、残りの小部分である暗い部分を重点的に明るく補正し、全体として却って画像の視認性を低下させるようなことはなく、大部分の明るい部分のコントラストを改善して、視聴者にとって視認性を向上させた画像を出力することができる。   According to this configuration, for the image to be displayed, the greater the number of luminance values included, the higher the luminance contrast in the luminance interval, and the smaller the number of luminance values included, the lower the luminance contrast in the luminance interval. The contrast of the most widely distributed luminance range in the image is improved, and an image with improved visibility for the viewer can be output. In addition, as in the case of correcting the luminance value using a fixed correction table without using the luminance distribution of the image, the dark portion that is the remaining small portion is corrected brightly with a focus on the video that is mostly bright. However, the overall visibility of the image can be improved without improving the visibility of the image, and the contrast of most of the bright areas can be improved, and an image with improved visibility for the viewer can be output.

本発明の画像出力装置は、外光の強度に応じて原画像の輝度を補正して補正画像を出力する画像出力装置であって、複数の画素から構成される原画像を記憶している記憶手段と、原画像に含まれる画素について、所定の輝度区間に含まれる輝度値を有する画素の数を示す区間画素数を計数する計数手段と、前記原画像を構成する全画素数に対する前記区間画像数の割合に基づいて、前記輝度区間に含まれる輝度値を有する画素に対する変換係数を算出する算出手段と、前記輝度区間に含まれる輝度値を有する各画素について、前記変換係数に基づいて、当該画素の輝度値を変換して、変換輝度値を算出する変換手段と、算出された変換輝度値を、外光の強度に応じて補正して、補正輝度値を生成する外光補正手段と、補正輝度値を有する補正画素から構成される補正画像を出力する出力手段とを備えることを特徴とする。   An image output apparatus according to the present invention is an image output apparatus that outputs a corrected image by correcting the luminance of an original image in accordance with the intensity of external light, and stores an original image composed of a plurality of pixels. Means for counting, for the pixels included in the original image, counting means for counting the number of section pixels indicating the number of pixels having a luminance value included in the predetermined brightness section; and the section image for the total number of pixels constituting the original image. Calculating means for calculating a conversion coefficient for a pixel having a luminance value included in the luminance interval based on a ratio of the number, and for each pixel having a luminance value included in the luminance interval, based on the conversion coefficient, A conversion unit that converts a luminance value of a pixel and calculates a converted luminance value; an external light correction unit that corrects the calculated converted luminance value according to the intensity of external light and generates a corrected luminance value; Correction with corrected brightness value And an outputting means for outputting the corrected image composed of elements.

以下、本発明に係る画像出力装置及び画像出力方法の実施の形態について、プロジェクタ装置を例にとり、図面を参照しながら説明する。
<1.第1実施形態>
<概要>
本発明の一実施形態に係るプロジェクタ装置1は、スクリーンに投影する画像に関し、プロジェクタ装置1周辺の外光の影響によるコントラストの低下及び階調潰れを防ぎ、かつ外光照度の測定値のふらつきによる、フリッカー現象の発生を防ぐものである。
Hereinafter, embodiments of an image output apparatus and an image output method according to the present invention will be described with reference to the drawings, taking a projector apparatus as an example.
<1. First Embodiment>
<Overview>
The projector apparatus 1 according to an embodiment of the present invention relates to an image projected on a screen, prevents a decrease in contrast and gradation collapse due to the influence of external light around the projector apparatus 1, and is based on fluctuations in measured values of external light illuminance. This prevents the occurrence of the flicker phenomenon.

プロジェクタ装置1は、一例として図1に示すように、パーソナルコンピュータ10と映像ケーブルを用いて接続されており、パーソナルコンピュータ10が出力する映像信号を前記映像ケーブルを介して受け付け、受け付けた映像信号を信号処理して、内蔵する液晶パネルに展開してスクリーン20に投影する。
プロジェクタ装置1の筐体には、一例として図2に示すように、ビデオ入力端子21、Sビデオ入力端子22、RGB/YPbPr入力端子23、リモコン受光部24、レンズ25、方向キー26、決定ボタン27及び外光センサ28が設けられており、RGB/YPbPr入力端子23が、パーソナルコンピュータ10が出力する輝度信号Y、色差信号Pb、色差信号Prを受け付け、外光センサ28が、プロジェクタ装置1の周囲の外光照度を検出する。
As shown in FIG. 1 as an example, the projector apparatus 1 is connected to a personal computer 10 using a video cable, receives a video signal output from the personal computer 10 via the video cable, and receives the received video signal. The signal is processed, developed on a built-in liquid crystal panel, and projected onto the screen 20.
As shown in FIG. 2 as an example, the projector apparatus 1 includes a video input terminal 21, an S video input terminal 22, an RGB / YPbPr input terminal 23, a remote control light receiving unit 24, a lens 25, a direction key 26, and a determination button. 27 and the external light sensor 28 are provided, the RGB / YPbPr input terminal 23 receives the luminance signal Y, the color difference signal Pb, and the color difference signal Pr output from the personal computer 10, and the external light sensor 28 is connected to the projector device 1. Detect ambient illuminance.

パーソナルコンピュータ10が出力する映像信号が表す画像の解像度は、一例として、1画面に640×480個の画素を含むVGA(Video Graphics Array)であるとする。
また、プロジェクタ装置1は、各画素について、最低輝度から最高輝度までを256階調で表す仕様に基づいているものとする。
<構成>
プロジェクタ装置1は、図3に示すように、制御部101と、輝度補正部103と、AD変換処理部104〜106と、入力バッファ部107〜109と、出力バッファ部110〜112と、映像信号処理部113と、映出部116とを含んで構成される。
As an example, the resolution of the image represented by the video signal output from the personal computer 10 is VGA (Video Graphics Array) including 640 × 480 pixels on one screen.
Further, it is assumed that the projector device 1 is based on a specification that represents the minimum luminance to the maximum luminance with 256 gradations for each pixel.
<Configuration>
As shown in FIG. 3, the projector device 1 includes a control unit 101, a luminance correction unit 103, AD conversion processing units 104 to 106, input buffer units 107 to 109, output buffer units 110 to 112, and video signals. A processing unit 113 and a projection unit 116 are included.

プロジェクタ装置1は、具体的には、マイクロプロセッサ、ROM、RAM、レンズ、光源ランプ、液晶パネル、電源ユニット等を含んで構成され、前記RAMには、コンピュータプログラムが記憶され、前記マイクロプロセッサが、前記コンピュータプログラムに従って動作することにより、プロジェクタ装置1はその機能を達成する。
制御部101は、マイクロプロセッサとその制御プログラムから成り、プロジェクタ装置1の全体動作を制御する。
Specifically, the projector device 1 includes a microprocessor, a ROM, a RAM, a lens, a light source lamp, a liquid crystal panel, a power supply unit, and the like. The RAM stores a computer program, and the microprocessor By operating according to the computer program, the projector device 1 achieves its functions.
The control unit 101 includes a microprocessor and its control program, and controls the overall operation of the projector apparatus 1.

制御部101は、パーソナルコンピュータ10が出力する輝度信号Yを、RGB/YPbPr入力端子23を介して受信し、受信した輝度信号Yにおける垂直帰線期間の開始タイミング及び終了タイミングを検出する。
制御部101は、垂直帰線期間の開始タイミングを検出した場合、輝度補正部103に対し補正開始指示を送信し、また後述するAD変換処理部105により入力バッファ部108に蓄積された輝度データの全てを垂直帰線期間内に出力バッファ部111にコピーし、後述するAD変換処理部106により入力バッファ部109に蓄積された輝度データの全てを垂直帰線期間内に出力バッファ部112にコピーする。
The control unit 101 receives the luminance signal Y output from the personal computer 10 via the RGB / YPbPr input terminal 23, and detects the start timing and end timing of the vertical blanking period in the received luminance signal Y.
When the control unit 101 detects the start timing of the vertical blanking period, the control unit 101 transmits a correction start instruction to the luminance correction unit 103, and the luminance data accumulated in the input buffer unit 108 by the AD conversion processing unit 105 described later. All are copied to the output buffer unit 111 within the vertical blanking period, and all of the luminance data accumulated in the input buffer unit 109 by the AD conversion processing unit 106 described later is copied to the output buffer unit 112 within the vertical blanking period. .

制御部101は、前記補正開始指示に対する応答として輝度補正部103から補正終了通知を受信する。
また、制御部101は、前記垂直帰線期間の終了タイミングを検出した場合、映像信号処理部113に対し、信号処理開始を指示し、また、AD変換処理部104〜106に対し所定のタイミングでAD変換開始を指示する。
The control unit 101 receives a correction end notification from the luminance correction unit 103 as a response to the correction start instruction.
Further, when the control unit 101 detects the end timing of the vertical blanking period, the control unit 101 instructs the video signal processing unit 113 to start signal processing, and also instructs the AD conversion processing units 104 to 106 at a predetermined timing. Instructs the start of AD conversion.

制御部101は、AD変換処理部104がAD変換終了後に出力するAD変換終了通知を受け付けた場合に、AD変換処理部104が備えるAD変換結果レジスタから、輝度信号YのAD変換結果であるYデータを読み出して、入力バッファ部107に記憶させる。
ここで、前記所定のタイミングは、画像を構成する各画素に対応する輝度信号が入力されるタイミングである。すなわち、輝度信号Yが表す画像の解像度はVGAであるので、制御部101は、1画像に対応する有効映像期間中に、AD変換処理部104に対し640×480回のAD変換開始指示を送信し、AD変換処理部104から640×480個のYデータを取得して入力バッファ部107に記憶させる。AD変換処理部104におけるAD変換の結果であるYデータ1つが、1画像中の1画素の輝度を表す。
When the AD conversion processing unit 104 receives an AD conversion end notification that is output after the AD conversion is completed, the control unit 101 receives the Y conversion result of the luminance signal Y from the AD conversion result register included in the AD conversion processing unit 104. Data is read out and stored in the input buffer unit 107.
Here, the predetermined timing is a timing at which a luminance signal corresponding to each pixel constituting the image is input. That is, since the resolution of the image represented by the luminance signal Y is VGA, the control unit 101 transmits 640 × 480 AD conversion start instructions to the AD conversion processing unit 104 during the effective video period corresponding to one image. Then, 640 × 480 pieces of Y data are acquired from the AD conversion processing unit 104 and stored in the input buffer unit 107. One Y data as a result of AD conversion in the AD conversion processing unit 104 represents the luminance of one pixel in one image.

制御部101は、AD変換処理部105がAD変換終了後に出力するAD変換終了通知を受け付けた場合には、AD変換処理部105が備えるAD変換結果レジスタから、色差信号PbのAD変換結果であるPbデータを読み出して、入力バッファ部108に記憶させる。また、AD変換処理部106がAD変換終了後に出力するAD変換終了通知を受け付けた場合には、AD変換処理部106が備えるAD変換結果レジスタから、色差信号PrのAD変換結果であるPrデータを読み出して、入力バッファ部109に記憶させる。   When the AD conversion processing unit 105 receives an AD conversion end notification output after the AD conversion is completed, the control unit 101 indicates the AD conversion result of the color difference signal Pb from the AD conversion result register included in the AD conversion processing unit 105. The Pb data is read out and stored in the input buffer unit 108. Further, when the AD conversion processing unit 106 receives an AD conversion end notification output after AD conversion ends, Pr data that is the AD conversion result of the color difference signal Pr is received from the AD conversion result register included in the AD conversion processing unit 106. The data is read out and stored in the input buffer unit 109.

同様に、制御部101は、AD変換処理部105からAD変換終了通知を受け付けた場合に、AD変換処理部105が備えるAD変換結果レジスタから、色差信号PbのAD変換結果であるPbデータを読み出して、入力バッファ部108に記憶させ、AD変換処理部106からAD変換終了通知を受け付けた場合に、AD変換処理部106が備えるAD変換結果レジスタから、色差信号PrのAD変換結果であるPrデータを読み出して、入力バッファ部109に記憶させる。   Similarly, when receiving the AD conversion end notification from the AD conversion processing unit 105, the control unit 101 reads out Pb data that is an AD conversion result of the color difference signal Pb from the AD conversion result register included in the AD conversion processing unit 105. When the AD conversion processing unit 106 receives the AD conversion end notification from the AD conversion processing unit 106, the Pr data that is the AD conversion result of the color difference signal Pr is stored in the input buffer unit 108. Is stored in the input buffer unit 109.

以上により、制御部101は、有効映像期間中に、AD変換処理部105に対し、640×480回のAD変換開始指示を送信し、AD変換処理部105から640×480個の、色差信号PbのAD変換結果であるPbデータを取得して入力バッファ部108に記憶させる。
色差信号Prについても同様に、制御部101は、有効映像期間中に、AD変換処理部106に対し、640×480回のAD変換開始指示を送信し、AD変換処理部106から640×480個の、色差信号PrのAD変換結果であるPrデータを取得して入力バッファ部109に記憶させる。
As described above, the control unit 101 transmits an AD conversion start instruction 640 × 480 times to the AD conversion processing unit 105 during the effective video period, and 640 × 480 color difference signals Pb are transmitted from the AD conversion processing unit 105. Pb data which is the AD conversion result is acquired and stored in the input buffer unit 108.
Similarly, for the color difference signal Pr, the control unit 101 transmits 640 × 480 AD conversion start instructions to the AD conversion processing unit 106 during the effective video period, and 640 × 480 signals from the AD conversion processing unit 106. Pr data that is the AD conversion result of the color difference signal Pr is acquired and stored in the input buffer unit 109.

制御部101が行う上記の制御により、プロジェクタ装置1は、垂直帰線期間内に、輝度補正部103によって後述する輝度補正処理を行って、輝度補正結果を出力バッファ部110に記憶し、垂直帰線期間外に、出力バッファ部110に記憶された補正処理後の輝度データに基づき、輝度補正処理が成された映像を映出する。すなわち、プロジェクタ装置1は、一例として図4に模式的に示すように、パーソナルコンピュータ10から、有効映像期間である時刻t1〜t2の間に画像1に係る映像信号を受信して蓄積しておき、垂直帰線期間である時刻t2〜t3の間に、前述の蓄積された画像1に係る映像信号の輝度を補正する。   Through the above-described control performed by the control unit 101, the projector device 1 performs luminance correction processing described later by the luminance correction unit 103 within the vertical blanking period, stores the luminance correction result in the output buffer unit 110, and performs vertical feedback. Outside the line period, an image that has been subjected to the luminance correction process is displayed based on the luminance data after the correction process stored in the output buffer unit 110. That is, as schematically shown in FIG. 4 as an example, the projector apparatus 1 receives and accumulates a video signal related to the image 1 from the personal computer 10 during a time t1 to t2 that is an effective video period. The luminance of the video signal related to the stored image 1 is corrected between times t2 and t3 which are vertical blanking periods.

プロジェクタ装置1は、次の有効映像期間である時刻t3〜t4の間に、パーソナルコンピュータ10から画像2に係る映像信号を受信しAD変換して蓄積すると共に、補正後の画像1である画像1’を投影し、次の垂直帰線期間である時刻t4〜t5の間に、前述の蓄積された画像2に係る映像信号の輝度を補正する。
プロジェクタ装置1は、次の有効映像期間である時刻t5〜t6の間に画像3に係る映像信号を受信しAD変換して蓄積すると共に、補正後の画像2である画像2’を投影する。
The projector apparatus 1 receives the video signal related to the image 2 from the personal computer 10 during the next effective video period t3 to t4, and performs AD conversion and accumulation, and also the image 1 that is the corrected image 1 'Is projected, and the luminance of the video signal related to the stored image 2 is corrected during the next vertical blanking period from time t4 to t5.
The projector device 1 receives the video signal related to the image 3 during time t5 to t6, which is the next effective video period, stores it after AD conversion, and projects the image 2 ′, which is the corrected image 2.

以下、プロジェクタ装置1は、垂直帰線期間に輝度の補正をし、有効映像期間内に補正後の画像を投影することを繰り返す。
AD変換処理部104は、読出可能なレジスタであるAD変換結果レジスタを備え、パーソナルコンピュータ10が出力する輝度信号Yを、RGB/YPbPr入力端子23を介して受信しており、制御部101からAD変換開始指示を受信するとAD変換を実行し、AD変換結果であるYデータをAD変換結果レジスタに保持して、AD変換終了通知を制御部101に送信する。
Hereinafter, the projector device 1 repeats correcting the luminance during the vertical blanking period and projecting the corrected image within the effective video period.
The AD conversion processing unit 104 includes an AD conversion result register that is a readable register, receives the luminance signal Y output from the personal computer 10 via the RGB / YPbPr input terminal 23, and receives the AD signal from the control unit 101. When the conversion start instruction is received, AD conversion is executed, Y data as an AD conversion result is held in the AD conversion result register, and an AD conversion end notification is transmitted to the control unit 101.

AD変換処理部105は、読出可能なレジスタであるAD変換結果レジスタを備え、パーソナルコンピュータ10が出力する色差信号Pbを、RGB/YPbPr入力端子23を介して受信しており、制御部101からAD変換開始指示を受信するとAD変換を実行し、AD変換結果であるPbデータをAD変換結果レジスタに保持して、AD変換終了通知を制御部101に送信する。   The AD conversion processing unit 105 includes an AD conversion result register that is a readable register, receives the color difference signal Pb output from the personal computer 10 via the RGB / YPbPr input terminal 23, and receives an AD conversion signal from the control unit 101. When the conversion start instruction is received, AD conversion is executed, Pb data as an AD conversion result is held in the AD conversion result register, and an AD conversion end notification is transmitted to the control unit 101.

AD変換処理部106は、読出可能なレジスタであるAD変換結果レジスタを備え、パーソナルコンピュータ10が出力する色差信号Prを、RGB/YPbPr入力端子23を介して受信しており、制御部101からAD変換開始指示を受信するとAD変換を実行し、AD変換結果であるPrデータをAD変換結果レジスタに保持して、AD変換終了通知を制御部101に送信する。   The AD conversion processing unit 106 includes an AD conversion result register that is a readable register, receives the color difference signal Pr output from the personal computer 10 via the RGB / YPbPr input terminal 23, and receives an AD conversion signal from the control unit 101. When the conversion start instruction is received, AD conversion is executed, Pr data as an AD conversion result is held in the AD conversion result register, and an AD conversion end notification is transmitted to the control unit 101.

ここで、AD変換処理部104〜106は、入力されるアナログ信号を、8ビット256階調のデジタルデータに変換するものとする。
入力バッファ部107は、1画面分の640×480個の各画素に対応するYデータが蓄積可能なバッファである。
出力バッファ部110は、入力バッファ部107に蓄積されたYデータが輝度補正部103により補正された結果であるY’データを、1画面分蓄積可能なバッファである。
Here, it is assumed that the AD conversion processing units 104 to 106 convert an input analog signal into 8-bit 256 gradation digital data.
The input buffer unit 107 is a buffer capable of storing Y data corresponding to 640 × 480 pixels for one screen.
The output buffer unit 110 is a buffer capable of accumulating Y ′ data, which is a result of correcting the Y data accumulated in the input buffer unit 107 by the luminance correction unit 103, for one screen.

入力バッファ部108、出力バッファ部111は、各画素に対応するPbデータを、1画面分蓄積可能なバッファである。
入力バッファ部109、出力バッファ部112は、各画素に対応するPrデータを、1画面分蓄積可能なバッファである。
映像信号処理部113は、制御部101から信号処理開始を受け付けると、出力バッファ部110に記憶されている1画面分のY’データを読み出して、読み出したY’データから輝度信号Y’を生成し、出力バッファ部111に記憶されている1画面分のPbデータを読み出して、読み出したPbデータから色差信号Pb’を生成し、出力バッファ部112に記憶されている1画面分のPrデータを読み出して、読み出したPrデータから色差信号Pb’を生成して、輝度信号Y’と、色差信号Pb’と、色差信号Pr’とを映出部116に対し出力する。
The input buffer unit 108 and the output buffer unit 111 are buffers that can store Pb data corresponding to each pixel for one screen.
The input buffer unit 109 and the output buffer unit 112 are buffers that can store Pr data corresponding to each pixel for one screen.
When receiving the signal processing start from the control unit 101, the video signal processing unit 113 reads Y ′ data for one screen stored in the output buffer unit 110, and generates a luminance signal Y ′ from the read Y ′ data. Then, the Pb data for one screen stored in the output buffer unit 111 is read out, the color difference signal Pb ′ is generated from the read Pb data, and the Pr data for one screen stored in the output buffer unit 112 is obtained. The color difference signal Pb ′ is generated from the read Pr data, and the luminance signal Y ′, the color difference signal Pb ′, and the color difference signal Pr ′ are output to the projection unit 116.

ここで、色差信号Pb’は、図4を用いて説明したように、色差信号Pbを1画面分遅延させた信号であり、色差信号Pr’は、色差信号Prを1画面分遅延させた信号であり、輝度信号Y’は、輝度信号Yを輝度補正し、1画面分遅延させた信号である。
映出部116は、映像信号処理部113から、輝度信号Y’と、色差信号Pb’と、色差信号Pr’とを受信し信号処理を施して、輝度信号Y’、色差信号Pb’、色差信号Pr’から生成される画像を、内蔵する液晶パネルに展開し、スクリーン20に投影する。
(輝度補正部103)
次に、輝度補正部103について、詳細に説明する。
Here, as described with reference to FIG. 4, the color difference signal Pb ′ is a signal obtained by delaying the color difference signal Pb by one screen, and the color difference signal Pr ′ is a signal obtained by delaying the color difference signal Pr by one screen. The luminance signal Y ′ is a signal obtained by correcting the luminance signal Y and delaying it by one screen.
The projection unit 116 receives the luminance signal Y ′, the color difference signal Pb ′, and the color difference signal Pr ′ from the video signal processing unit 113 and performs signal processing, thereby performing the luminance signal Y ′, the color difference signal Pb ′, and the color difference. An image generated from the signal Pr ′ is developed on the built-in liquid crystal panel and projected onto the screen 20.
(Luminance correction unit 103)
Next, the brightness correction unit 103 will be described in detail.

輝度補正部103は、入力バッファ部107からYデータを1つずつ読み出し、読み出したYデータである入力輝度データDIを、次式により、出力輝度データDOに補正し、補正後のDOデータであるY’データを出力バッファ部110に記憶させる。   The luminance correction unit 103 reads Y data one by one from the input buffer unit 107, corrects the input luminance data DI, which is the read Y data, to output luminance data DO by the following equation, and is corrected DO data. The Y ′ data is stored in the output buffer unit 110.

Figure 0004832900
Figure 0004832900

上式の詳細については、後述する。また、輝度補正部103における演算結果の小数点以下は、一例として四捨五入するものとするが、切り捨て又は切り上げ等してもよい。
輝度補正部103は、一例として図5に示すように、輝度分布検出回路301、係数算出回路302、輝度レベル調整回路303、外光検出器304、補正値決定回路305、オフセットレベル調整回路306、加算回路307とを含んで構成される。
(輝度分布検出回路301)
輝度分布検出回路301は、制御部101から、補正開始指示を受け付け、入力バッファ部107に記憶されている1画面分のYデータを順に読み出して、輝度範囲毎のYデータの個数を計数する。
Details of the above formula will be described later. Moreover, although the fractional part of the calculation result in the brightness correction unit 103 is rounded off as an example, it may be rounded down or rounded up.
As shown in FIG. 5 as an example, the luminance correction unit 103 includes a luminance distribution detection circuit 301, a coefficient calculation circuit 302, a luminance level adjustment circuit 303, an external light detector 304, a correction value determination circuit 305, an offset level adjustment circuit 306, And an adder circuit 307.
(Luminance distribution detection circuit 301)
The luminance distribution detection circuit 301 receives a correction start instruction from the control unit 101, sequentially reads Y data for one screen stored in the input buffer unit 107, and counts the number of Y data for each luminance range.

具体的には、入力バッファ部107に記憶されている1画面分のYデータのそれぞれについて、値が0〜63である第1輝度範囲、64〜127である第2輝度範囲、128〜191である第3輝度範囲、192〜255である第4輝度範囲のいずれに属するかを判定し、属する輝度範囲に対応するYデータ数をカウントアップする。これにより、1画面分のYデータに関し、第1〜第4輝度範囲のそれぞれに属するYデータ数を計数することができる。   Specifically, for each Y data of one screen stored in the input buffer unit 107, a first luminance range whose value is 0 to 63, a second luminance range which is 64 to 127, and 128 to 191. It is determined which one of the third luminance range and the fourth luminance range of 192 to 255 belongs, and the number of Y data corresponding to the belonging luminance range is counted up. Thereby, regarding the Y data for one screen, the number of Y data belonging to each of the first to fourth luminance ranges can be counted.

1画面分のYデータのうち、第1輝度範囲に属すると判定されたYデータの数をF1とし、第2輝度範囲に属すると判定されたYデータの数をF2とし、第3輝度範囲に属すると判定されたYデータの数をF3とし、第4輝度範囲に属すると判定されたYデータの数をF4とする。
図6(a)は、1画面分のYデータに含まれる、0〜255の各輝度毎のYデータ数の分布の一例を示し、図6(b)はこのような分布を有するYデータに基づき、輝度分布検出回路301が計数した各輝度範囲に属するYデータ数を、グラフ化したものである。
Of the Y data for one screen, the number of Y data determined to belong to the first luminance range is F1, the number of Y data determined to belong to the second luminance range is F2, and the third luminance range is set. The number of Y data determined to belong is F3, and the number of Y data determined to belong to the fourth luminance range is F4.
6A shows an example of the distribution of the number of Y data for each luminance of 0 to 255 included in the Y data for one screen, and FIG. 6B shows the Y data having such a distribution. Based on this, the number of Y data belonging to each luminance range counted by the luminance distribution detection circuit 301 is graphed.

輝度分布検出回路301は、1画面分のYデータについて、計数したF1、F2、F3、F4を係数算出回路302に通知する。
(係数算出回路302)
係数算出回路302は、輝度分布検出回路301から、各輝度範囲の個数F1、F2、F3、F4を受け付けると、階調を補正するための補正係数Ci(i=1〜4)を、次式を用いて算出する。
The luminance distribution detection circuit 301 notifies the coefficient calculation circuit 302 of the counted F1, F2, F3, and F4 for Y data for one screen.
(Coefficient calculation circuit 302)
When the coefficient calculation circuit 302 receives the number F1, F2, F3, and F4 of each luminance range from the luminance distribution detection circuit 301, the coefficient calculation circuit 302 calculates a correction coefficient Ci (i = 1 to 4) for correcting gradations by the following equation. Calculate using.

Figure 0004832900
Figure 0004832900

ここで、iは前述の輝度範囲に対応しており、i=1は、前記第1輝度範囲に対応し、i=2は、前記第2輝度範囲に対応し、i=3は、前記第3輝度範囲に対応し、i=4は、前記第4輝度範囲に対応する。
係数算出回路302は、C1〜C4を全て算出する。
ここで、Pは1画像中のすべての画素数であり、1画像中の輝度データの総数と一致し、Fi(i=1〜4)は、前述した通り、第i輝度範囲に含まれるデータの個数を表わす。すなわち、
Here, i corresponds to the aforementioned luminance range, i = 1 corresponds to the first luminance range, i = 2 corresponds to the second luminance range, and i = 3 corresponds to the first luminance range. Corresponding to 3 luminance ranges, i = 4 corresponds to the fourth luminance range.
The coefficient calculation circuit 302 calculates all of C1 to C4.
Here, P is the total number of pixels in one image, and coincides with the total number of luminance data in one image, and Fi (i = 1 to 4) is data included in the i-th luminance range as described above. Represents the number of. That is,

Figure 0004832900
Figure 0004832900

である。
係数算出回路302は、算出した補正係数Ciを、C1、C2、C3、C4の順に、輝度レベル調整回路303に通知する。
(外光検出器304)
外光検出器304は、受光した外光の照度(一例として0〜400ルクス)に応じて外光センサ28が生成する電気信号を受信し、前記電気信号を8ビットの解像度でAD変換し、AD変換結果である外光輝度データを補正値決定回路305に送信する
外光検出器304は、前述のAD変換処理を、一例として30秒に一度行うものとする。
(補正値決定回路305)
補正値決定回路305は、外光検出器304が30秒毎に出力する外光輝度データを受け付け、受け付けた外光輝度データL2と、前回受け付けた外光輝度データL1との間の変化量ΔL=|L2−L1|に応じて、出力する補正値Qを決定する。
It is.
The coefficient calculation circuit 302 notifies the luminance level adjustment circuit 303 of the calculated correction coefficient Ci in the order of C1, C2, C3, and C4.
(External light detector 304)
The external light detector 304 receives an electric signal generated by the external light sensor 28 according to the illuminance (0 to 400 lux as an example) of the received external light, and AD converts the electric signal with 8-bit resolution, The external light detector 304 that transmits the external light luminance data as the AD conversion result to the correction value determination circuit 305 is assumed to perform the above-described AD conversion processing once every 30 seconds as an example.
(Correction value determination circuit 305)
The correction value determination circuit 305 receives external light luminance data output by the external light detector 304 every 30 seconds, and a change amount ΔL between the received external light luminance data L2 and the previously received external light luminance data L1. = The correction value Q to be output is determined according to | L2-L1 |.

Qは、式
Q = L1 + G × (L2−L1)
により決定する。
ゲインGは、具体的には、ΔLの値によって、以下の(a)〜(c)の場合に分けて定める。
Q is the formula Q = L1 + G × (L2-L1)
Determined by
Specifically, the gain G is determined in the following cases (a) to (c) according to the value of ΔL.

ΔLとGとの関係は、図8の特性図のようになる。図8の縦軸はゲインGであり、横軸はΔLである。図8中のlsは外光変動量に対してゲインGを変化させるゲイン変化開始位置を表し、leはゲインを最大にする開始位置を示している。
(a)0≦ΔL≦lsの場合
ゲインGは0である。
The relationship between ΔL and G is as shown in the characteristic diagram of FIG. The vertical axis in FIG. 8 is the gain G, and the horizontal axis is ΔL. In FIG. 8, ls represents a gain change start position at which the gain G is changed with respect to the amount of fluctuation in external light, and le represents a start position at which the gain is maximized.
(A) When 0 ≦ ΔL ≦ ls Gain G is zero.

よって、Q = L1 + 0 × (L2−L1) = L1となる。
(b)ls≦ΔL≦leの場合
ゲインGは、G = 0.1 × (ΔL − ls)となる。
(c)le≦ΔL≦255のとき
ゲインG = 1である。
Therefore, Q = L1 + 0 × (L2-L1) = L1.
(B) When ls ≦ ΔL ≦ le The gain G is G = 0.1 × (ΔL−ls).
(C) When le ≦ ΔL ≦ 255, the gain G = 1.

よって、Q = L1 + 1 × (L2−L1) = L2となる。
ここで、補正値決定回路308が決定する補正値について、L1=10、L2=20の場合を例として説明する。
補正値決定回路305は、ΔL=|20 − 10|=10を計算し、ΔLが上述の(b)に該当するので、下記演算を行う。
Therefore, Q = L1 + 1 × (L2-L1) = L2.
Here, the correction values determined by the correction value determination circuit 308 will be described as an example where L1 = 10 and L2 = 20.
The correction value determination circuit 305 calculates ΔL = | 20−10 | = 10, and ΔL corresponds to the above (b), so the following calculation is performed.

G = 0.1 × (10 − 5) = 0.5
Q = 10 + 0.5 × (20 − 10) = 15
以上より、補正値Qの値を「15」と決定する。
ここで、補正値Qについて補足説明する。
前述の式(1)において、DOは、上述のY’データに相当する。QがふらつくとDOもふらつくこととなるが、DOがふらついた場合、最終的にスクリーンに投射される画像もフリッカ現象を起こしてしまうことになる。
G = 0.1 × (10 −5) = 0.5
Q = 10 + 0.5 × (20−10) = 15
From the above, the value of the correction value Q is determined to be “15”.
Here, the correction value Q will be supplementarily described.
In the above equation (1), DO corresponds to the above-described Y ′ data. When Q fluctuates, DO also fluctuates. However, when DO fluctuates, the image finally projected on the screen also causes a flicker phenomenon.

補正値決定回路305は、ΔLが0〜lsの間はゲインGを変動させない事でQのふらつきを抑えることにより、前述のDOのふらつきも抑えている。
そして、ΔLが、ls〜leの間にゲインを急激に変化させると画面の輝度がふらつく原因となる為、上述した図8に示す特性に従い、照度の変化に追従してゲインを変化させる事で違和感なく、外光レベルの変化に応じて画面輝度を変化させることができる。
The correction value determination circuit 305 suppresses the above-described DO fluctuation by suppressing the Q fluctuation by not changing the gain G while ΔL is 0 to 1s.
And if ΔL changes the gain suddenly between ls and le, the brightness of the screen fluctuates. Therefore, according to the characteristics shown in FIG. 8, the gain is changed following the change in illuminance. The screen brightness can be changed according to the change in the external light level without feeling uncomfortable.

ΔLがleより大きく、周辺照度が変化した場合はゲインを最大にする。
結果として照度センサ等のセンサによる階調補正時に補正値決定回路305で周辺輝度の変化量に応じて階調補正をすることで画面のフリッカー現象を抑える事ができ、良好な画像を提供できる。
(輝度レベル調整回路303)
輝度レベル調整回路303は、補正値決定回路305から受け付けた補正値Qに基づいて、係数算出回路302から受け付けた補正係数Ciを調整する。すなわち、輝度レベル調整回路303は補正値決定回路にて示される補正係数Qを用いて、次式により補正係数Ciを調整してCi’を算出する。
When ΔL is greater than le and the ambient illuminance changes, the gain is maximized.
As a result, when the gradation correction is performed by a sensor such as an illuminance sensor, the correction value determination circuit 305 performs gradation correction according to the amount of change in peripheral luminance, thereby suppressing the flicker phenomenon on the screen and providing a good image.
(Luminance level adjustment circuit 303)
The brightness level adjustment circuit 303 adjusts the correction coefficient Ci received from the coefficient calculation circuit 302 based on the correction value Q received from the correction value determination circuit 305. In other words, the luminance level adjustment circuit 303 uses the correction coefficient Q indicated by the correction value determination circuit to adjust the correction coefficient Ci according to the following equation to calculate Ci ′.

Figure 0004832900
Figure 0004832900

輝度レベル調整回路303は、次式により、DKを算出する。   The luminance level adjustment circuit 303 calculates DK by the following equation.

Figure 0004832900
Figure 0004832900

ここで、DIは補正前の輝度データであって、第n輝度範囲(nは1〜4のいずれか)に属する。
輝度レベル調整回路303が補正係数を調整することによって、補正係数は調整前には図7(a)に示したように補正後の輝度データが0から255までの範囲内にあったものが、図7(b)に示すように0から(255−Q)までの範囲内に比例配分される。
Here, DI is luminance data before correction and belongs to the nth luminance range (n is any one of 1 to 4).
The brightness level adjustment circuit 303 adjusts the correction coefficient, so that the correction coefficient has the corrected brightness data in the range from 0 to 255 as shown in FIG. As shown in FIG. 7B, proportional distribution is performed within a range from 0 to (255-Q).

輝度レベル調整回路303は、算出したDKを、加算器307に出力する。
また、算出したC1’、C2’、C3’、C4’をオフセットレベル調整回路306に出力する。
(オフセットレベル調整回路306)
オフセットレベル調整回路306は、輝度レベル調整回路306から、C1’、C2’、C3’、C4’を取得し、補正値決定回路305から補正値Qを取得する。
The luminance level adjustment circuit 303 outputs the calculated DK to the adder 307.
The calculated C1 ′, C2 ′, C3 ′, and C4 ′ are output to the offset level adjustment circuit 306.
(Offset level adjustment circuit 306)
The offset level adjustment circuit 306 acquires C1 ′, C2 ′, C3 ′, and C4 ′ from the luminance level adjustment circuit 306, and acquires the correction value Q from the correction value determination circuit 305.

オフセットレベル調整回路306は、   The offset level adjustment circuit 306

Figure 0004832900
Figure 0004832900

に基づき、DLを計算し、計算結果DLを、加算器307に対し出力する。
DLにより、最も入力輝度が低い画素であっても、明るさ信号に応じて輝度が輝度Qに引き上げられる。
このように、オフセットレベル調整回路305は、輝度レベル調整回路303にて求められた補正係数Ci´を用いて映像輝度信号の有効映像期間に属する各画素の輝度を調整するためのDLを生成する。
(加算器307)
加算器307は、DKを輝度レベル調整回路303から取得し、DLをオフセットレベル調整回路306から取得し、DKとDLとを加算することで、式(1)に示す加算結果であるDOを求め、出力バッファ部110に書き込む。
Based on the above, DL is calculated, and the calculation result DL is output to the adder 307.
Due to the DL, even in the pixel with the lowest input luminance, the luminance is raised to the luminance Q according to the brightness signal.
Thus, the offset level adjustment circuit 305 generates DL for adjusting the luminance of each pixel belonging to the effective video period of the video luminance signal using the correction coefficient Ci ′ obtained by the luminance level adjustment circuit 303. .
(Adder 307)
The adder 307 acquires DK from the brightness level adjustment circuit 303, acquires DL from the offset level adjustment circuit 306, and adds DK and DL to obtain DO which is the addition result shown in Expression (1). Write to the output buffer unit 110.

前記書き込みは、補正後の各輝度データが対応する画素に応じて予め定められたアドレスに書き込んでいく
(輝度補正部103による輝度補正についての補足説明)
ここで、輝度補正部103による輝度補正について、図7を用いて補足説明する。
輝度補正部103は、上述したように、入力輝度データDIを、出力輝度データDOに補正する。
The writing is performed at a predetermined address corresponding to the pixel corresponding to each luminance data after correction (supplementary explanation about luminance correction by the luminance correction unit 103).
Here, the luminance correction by the luminance correction unit 103 will be supplementarily described with reference to FIG.
As described above, the luminance correction unit 103 corrects the input luminance data DI to output luminance data DO.

図7(a)は、輝度補正部103が、仮に、入力輝度データDIに対して補正係数Ciを用いた補正を行うこととした場合のDIとDOの関係を示す図である。
ここで、図7(a)の実線で示したグラフがの傾きが、Ciとなる。
例えば、補正対象の画像について、第1輝度範囲に含まれる輝度データが多い場合は、C1が1以上となり、入力輝度データよりも大きい出力輝度データを出力する。
FIG. 7A is a diagram illustrating a relationship between DI and DO when the luminance correction unit 103 performs correction using the correction coefficient Ci on the input luminance data DI.
Here, the slope of the graph shown by the solid line in FIG. 7A is Ci.
For example, when there is much luminance data included in the first luminance range for the correction target image, C1 is 1 or more, and output luminance data larger than the input luminance data is output.

例えばC1が1.1の場合、入力輝度データが30であれば、輝度補正部103は、出力輝度データ33を出力する。
図7(b)は、輝度補正部103が、仮に、入力輝度データDIに対して補正係数Ci’を乗算するのみの補正を行うこととした場合のDIとDOの関係を示す図である。
ここで、図7(b)の実線で示したグラフがの傾きが、Ci’となる。
For example, when C1 is 1.1 and the input luminance data is 30, the luminance correction unit 103 outputs the output luminance data 33.
FIG. 7B is a diagram illustrating a relationship between DI and DO when the luminance correction unit 103 performs correction only by multiplying the input luminance data DI by the correction coefficient Ci ′.
Here, the slope of the graph indicated by the solid line in FIG. 7B is Ci ′.

輝度補正部103が、補正係数Ciを用いて補正すると図7(a)に示すようにDIが0から255までの範囲内にあったDOが、補正係数Ci’を用いて補正すると、図7(b)に示すように、補正後のDOが0から(255−Q)までの範囲内に比例配分される。
例えば、C1が1.1であり、Qが30、DIが30であるとすると、C1’は式(4)より、C1’=(256−30)/256×C1=1.05となり、DOは29となる。
When the brightness correction unit 103 corrects using the correction coefficient Ci, as shown in FIG. 7A, when the DO is within the range from 0 to 255 as shown in FIG. 7A, the DO is corrected using the correction coefficient Ci ′. As shown in (b), the corrected DO is proportionally distributed within the range from 0 to (255-Q).
For example, if C1 is 1.1, Q is 30, and DI is 30, C1 ′ becomes C1 ′ = (256-30) /256×C1=1.05 from Equation (4), and DO1 Becomes 29.

図7(c)は、輝度補正部103が、これまで説明してきた実際の補正を行うこととした場合のDIとDOの関係を示す図である。
ここで、図7(c)の実線で示したグラフがの傾きが、Ci’となる。また、図7(c)は、図7(b)と比べると、補正値Qの分、画面全体の輝度データを増やしていることになる。
FIG. 7C is a diagram illustrating the relationship between DI and DO when the luminance correction unit 103 performs the actual correction described so far.
Here, the slope of the graph shown by the solid line in FIG. 7C is Ci ′. Further, in FIG. 7C, compared to FIG. 7B, the luminance data of the entire screen is increased by the correction value Q.

例えば、C1が1.1であり、Qが30、DIが30であるとすると、C1’は式(4)より、C1’=(256−30)/256×C1=1.05となり、DOは、29+Q=59となる。
<動作>
次に、プロジェクタ装置1の動作について、特に輝度補正部103による補正処理を中心に図9を用いて説明する。
For example, if C1 is 1.1, Q is 30, and DI is 30, C1 ′ becomes C1 ′ = (256-30) /256×C1=1.05 from Equation (4), and DO1 Is 29 + Q = 59.
<Operation>
Next, the operation of the projector device 1 will be described with reference to FIG. 9, particularly focusing on correction processing by the luminance correction unit 103.

プロジェクタ装置1は、RGB/YPbPr入力端子23を介して、パーソナルコンピュータ10が出力する輝度信号Y、色差信号Pb、色差信号Prを受け付ける。RGB/YPbPr入力端子23から、制御部101及びAD変換処理部104が前記輝度信号Yを受け付け、AD変換処理部105が前記色差信号Pbを受け付け、AD変換処理部106が前記色差信号Prを受け付ける。   The projector device 1 receives the luminance signal Y, the color difference signal Pb, and the color difference signal Pr output from the personal computer 10 via the RGB / YPbPr input terminal 23. From the RGB / YPbPr input terminal 23, the control unit 101 and the AD conversion processing unit 104 receive the luminance signal Y, the AD conversion processing unit 105 receives the color difference signal Pb, and the AD conversion processing unit 106 receives the color difference signal Pr. .

制御部101は、垂直帰線期間の終了タイミングを検出し、AD変換処理部104〜106に対し所定の前記タイミングでAD変換開始を指示する(ステップS600)。
AD変換処理部104〜106のそれぞれがAD変換を行い、AD変換終了通知を制御部101にAD変換終了通知を送信する。
制御部101は、AD変換処理部104からAD変換終了通知を受け付けた場合に、AD変換処理部104が備えるAD変換結果レジスタから、輝度信号YのAD変換結果であるYデータを読み出して、入力バッファ部107に記憶させる。
The control unit 101 detects the end timing of the vertical blanking period, and instructs the AD conversion processing units 104 to 106 to start AD conversion at a predetermined timing (step S600).
Each of the AD conversion processing units 104 to 106 performs AD conversion, and transmits an AD conversion end notification to the control unit 101.
When the control unit 101 receives an AD conversion end notification from the AD conversion processing unit 104, the control unit 101 reads out Y data, which is an AD conversion result of the luminance signal Y, from the AD conversion result register included in the AD conversion processing unit 104, and inputs it. The data is stored in the buffer unit 107.

同様に、制御部101は、AD変換処理部105からAD変換終了通知を受け付けた場合に、AD変換処理部105が備えるAD変換結果レジスタから、色差信号PbのAD変換結果であるPbデータを読み出して、入力バッファ部108に記憶させ、AD変換処理部106からAD変換終了通知を受け付けた場合に、AD変換処理部106が備えるAD変換結果レジスタから、色差信号PrのAD変換結果であるPrデータを読み出して、入力バッファ部109に記憶させる。   Similarly, when receiving the AD conversion end notification from the AD conversion processing unit 105, the control unit 101 reads out Pb data that is an AD conversion result of the color difference signal Pb from the AD conversion result register included in the AD conversion processing unit 105. When the AD conversion processing unit 106 receives the AD conversion end notification from the AD conversion processing unit 106, the Pr data that is the AD conversion result of the color difference signal Pr is stored in the input buffer unit 108. Is stored in the input buffer unit 109.

これにより、1画面分のYデータが入力バッファ部107に記憶され、1画面分のPbデータが入力バッファ部108に記憶され、1画面分のPrデータが入力バッファ部109に記憶される。
次に、制御部101は、垂直帰線期間の開始タイミングを検出し(ステップS601)、輝度補正部103に対し補正開始指示を送信し、入力バッファ部108に蓄積された輝度データの全てを垂直帰線期間内に出力バッファ部111にコピーし、入力バッファ部109に蓄積された輝度データの全てを垂直帰線期間内に出力バッファ部112にコピーする(ステップS620)。
Thereby, Y data for one screen is stored in the input buffer unit 107, Pb data for one screen is stored in the input buffer unit 108, and Pr data for one screen is stored in the input buffer unit 109.
Next, the control unit 101 detects the start timing of the vertical blanking period (step S601), transmits a correction start instruction to the luminance correction unit 103, and vertically converts all luminance data accumulated in the input buffer unit 108. All the luminance data copied to the output buffer unit 111 during the blanking period and accumulated in the input buffer unit 109 are copied to the output buffer unit 112 during the vertical blanking period (step S620).

輝度補正部103における輝度分布検出回路301が、前記補正開始指示を受信し、入力バッファ部107に蓄積された1画面分のYデータ中の、第1〜第4輝度範囲に属するYデータの数、F1、F2、F3、F4を計数し、F1、F2、F3、F4を係数算出回路302に対し出力する(ステップS602)。
係数算出回路302は、F1〜F4を受信し、F1〜F4を用いて、C1〜C4を算出し、輝度レベル調整回路303に対して出力する(ステップS603)。
The luminance distribution detection circuit 301 in the luminance correction unit 103 receives the correction start instruction, and the number of Y data belonging to the first to fourth luminance ranges in the Y data for one screen accumulated in the input buffer unit 107 , F1, F2, F3, and F4 are counted, and F1, F2, F3, and F4 are output to the coefficient calculation circuit 302 (step S602).
The coefficient calculation circuit 302 receives F1 to F4, calculates C1 to C4 using F1 to F4, and outputs them to the luminance level adjustment circuit 303 (step S603).

外光センサ28は、外光を受光し、外光の照度に応じた電気信号を生成し、外光検出器304に対し出力する(ステップS604)。
外光検出器304は、前記電気信号を受け付けて、30秒に1回、電気信号をAD変換し、AD変換結果である外光輝度データを補正値決定回路305に送信する。
補正値決定回路305は、外光輝度データを受け付けると、今回及び前回受け付けた外光輝度データを用いて、補正値Qを算出し、輝度レベル調整回路303に送信する(ステップS605)。
The external light sensor 28 receives external light, generates an electrical signal corresponding to the illuminance of the external light, and outputs it to the external light detector 304 (step S604).
The external light detector 304 receives the electric signal, AD converts the electric signal once every 30 seconds, and transmits external light luminance data as an AD conversion result to the correction value determination circuit 305.
When the external light luminance data is received, the correction value determination circuit 305 calculates the correction value Q using the external light luminance data received this time and the previous time, and transmits the correction value Q to the luminance level adjustment circuit 303 (step S605).

輝度レベル調整回路303は、係数算出回路302からC1〜C4を受け付け、補正値決定回路305から補正値Qを受け付けて、C1〜C4、Qを用いて、C1’〜C4’を算出し、C1’〜C4’をオフセットレベル調整回路306に出力する(ステップS606)。
輝度レベル調整回路303は、1画面分の輝度データDIを入力バッファ部107から読み出したか否かを判定し(ステップS607)、読み出していないと判定した場合(ステップS607:NO)、読み出すべきDIを1つ読み出して、DIが属する輝度範囲を判定した後、第n輝度範囲を示す値「n」をオフセットレベル調整回路306に送信する(ステップS608)。
The luminance level adjustment circuit 303 receives C1 to C4 from the coefficient calculation circuit 302, receives the correction value Q from the correction value determination circuit 305, calculates C1 ′ to C4 ′ using C1 to C4 and Q, and C1 'To C4' is output to the offset level adjustment circuit 306 (step S606).
The luminance level adjustment circuit 303 determines whether or not the luminance data DI for one screen has been read from the input buffer unit 107 (step S607). If it is determined that it has not been read (step S607: NO), the DI to be read is determined. After reading one and determining the luminance range to which DI belongs, a value “n” indicating the nth luminance range is transmitted to the offset level adjustment circuit 306 (step S608).

オフセットレベル調整回路306は、輝度レベル調整回路303から受信したC1〜C4、nと、補正値決定回路305から受信したQとを用いて、前述した式(6)によりDLを算出し、DLを加算器307に出力する(ステップS609)。
輝度レベル調整回路303は、nと、C1’〜C4’と、DIとを用いて、前述した式(5)を用いてDKを算出し、DKを加算器307に対し出力する(ステップS610)。
The offset level adjustment circuit 306 uses the C1 to C4, n received from the brightness level adjustment circuit 303 and the Q received from the correction value determination circuit 305 to calculate DL by the above-described equation (6), The data is output to the adder 307 (step S609).
The luminance level adjustment circuit 303 calculates DK using the above-described equation (5) using n, C1 ′ to C4 ′, and DI, and outputs the DK to the adder 307 (step S610). .

加算器307は、DIとDKとを加算してDOを生成し、出力バッファ部110の、DIに対応する場所に書き込み、ステップS607に移行する(ステップS611)。
また、前述のステップS607において、1画面分のDI全ての読み出しが完了したと判定した場合(ステップS607:YES)、後述するステップS612に移行する。
輝度補正部103は、ステップS607〜ステップS611を、1画面分のDIすなわちYデータの個数回繰り返す。
The adder 307 adds DI and DK to generate DO, writes it in a location corresponding to DI in the output buffer unit 110, and proceeds to step S607 (step S611).
If it is determined in step S607 described above that reading of all DIs for one screen has been completed (step S607: YES), the process proceeds to step S612 described later.
The luminance correction unit 103 repeats steps S607 to S611 for the number of DIs for one screen, that is, the number of Y data.

制御部101は、垂直帰線期間の終了タイミングを検出する(ステップS612)。
制御部101が、垂直帰線期間の終了タイミングの検出に成功した場合、ステップS600に移行する。
また、制御部101は、ステップS612において、垂直帰線期間の終了タイミングを検出した場合に、映像信号処理部113に対し信号処理開始指示を送信する(ステップS621)。
The control unit 101 detects the end timing of the vertical blanking period (step S612).
When the control unit 101 succeeds in detecting the end timing of the vertical blanking period, the process proceeds to step S600.
When the control unit 101 detects the end timing of the vertical blanking period in step S612, the control unit 101 transmits a signal processing start instruction to the video signal processing unit 113 (step S621).

映像信号処理部113は、制御部101から信号処理開始を受け付けると、出力バッファ部110に記憶されている1画面分のY’データを読み出して、読み出したY’データから輝度信号Y’を生成し、出力バッファ部111に記憶されている1画面分のPbデータを読み出して、読み出したPbデータから色差信号Pb’を生成し、出力バッファ部112に記憶されている1画面分のPrデータを読み出して、読み出したPrデータから色差信号Pb’を生成して、輝度信号Y’と、色差信号Pb’と、色差信号Pr’とを映出部116に対し出力する。   When receiving the signal processing start from the control unit 101, the video signal processing unit 113 reads Y ′ data for one screen stored in the output buffer unit 110, and generates a luminance signal Y ′ from the read Y ′ data. Then, the Pb data for one screen stored in the output buffer unit 111 is read out, the color difference signal Pb ′ is generated from the read Pb data, and the Pr data for one screen stored in the output buffer unit 112 is obtained. The color difference signal Pb ′ is generated from the read Pr data, and the luminance signal Y ′, the color difference signal Pb ′, and the color difference signal Pr ′ are output to the projection unit 116.

映出部116は、映像信号処理部113から受信する輝度信号Y’、色差信号Pb’、Pr’に基づき、画像を生成して内蔵する液晶パネルに展開し、スクリーン20に投影し、ステップS601に移行する(ステップS622)。
<まとめ>
以上、説明したように、本発明の実施形態に係るプロジェクタ装置は、表示対象となっている画像について、どのような輝度値の画素が多く含まれているかを検出して補正係数Ciを算出し、補正係数Ciを用いて、輝度値を補正しているので、表示すべき画像の輝度に応じた適切な補正結果を得ることができる。
The projection unit 116 generates an image based on the luminance signal Y ′ and the color difference signals Pb ′ and Pr ′ received from the video signal processing unit 113, develops the image on the built-in liquid crystal panel, and projects the image on the screen 20, and step S601. (Step S622).
<Summary>
As described above, the projector device according to the embodiment of the present invention calculates the correction coefficient Ci by detecting how many pixels of the luminance value are included in the image to be displayed. Since the luminance value is corrected using the correction coefficient Ci, an appropriate correction result corresponding to the luminance of the image to be displayed can be obtained.

本発明によれば、従来技術による補正で生じていたような、外光レベルに対応する補正テーブルに基づき、高輝度な画素が多いにも関わらず、低輝度な画素の輝度値にオフセットを加えて、画像全体のコントラストを却って低下させるようなことにはならず、画像に高輝度な画素が多く含まれる場合には、高輝度な画素におけるコントラストを得ることが可能な補正係数Ciを算出し、算出されたCiを用いて、高輝度な画素のコントラストを向上する補正が実現できる。   According to the present invention, an offset is added to the luminance value of a low-brightness pixel based on a correction table corresponding to the ambient light level, which has been caused by correction according to the prior art, even though there are many high-brightness pixels. Therefore, the contrast of the entire image is not lowered, and when the image includes many high-brightness pixels, a correction coefficient Ci that can obtain the contrast in the high-brightness pixels is calculated. Using the calculated Ci, it is possible to realize correction that improves the contrast of high-brightness pixels.

また、従来技術のように、外光の周辺照度を直接輝度値に対するオフセットとして反映するのではなく、周辺照度の変化量に応じてオフセットである補正値Qを決定して輝度値に加算するので、オフセットが急激な変化を繰り返すことによる、フリッカー現象の発生を低減することができる。
<2.第2実施形態>
次に、本発明の第2の実施の形態について説明する。
In addition, unlike the prior art, the ambient illuminance of external light is not directly reflected as an offset to the brightness value, but a correction value Q that is an offset is determined according to the amount of change in ambient illuminance and added to the brightness value. The occurrence of the flicker phenomenon due to the rapid change of the offset can be reduced.
<2. Second Embodiment>
Next, a second embodiment of the present invention will be described.

本実施の形態に係るプロジェクタ装置は第1実施形態に係るプロジェクタ装置と概ね同様であるが、画像中の画素のうち、肌色の画素を検出して階調を滑らかに補正する点が相違する。
一般的に、肌色の画素は、色調の微妙な違いが認識され易いため、度数分布の少ない輝度範囲に肌色の画素が含まれると、逆に階調をつぶしてしまう可能性もある。本実施形態では、肌色部分については急激に階調補正をするのではなく、補正量を滑らかに変化させて、画像中の肌色部分の色調を損なうことなく階調を補正している。
The projector device according to the present embodiment is substantially the same as the projector device according to the first embodiment, except that flesh-colored pixels are detected from the pixels in the image and the gradation is smoothly corrected.
In general, skin-colored pixels can easily recognize subtle differences in color tone, so if skin-colored pixels are included in a luminance range with a low frequency distribution, the gradation may be crushed. In the present embodiment, tone correction is not performed for the flesh color portion abruptly, but the correction amount is smoothly changed to correct the tone without impairing the tone of the flesh color portion in the image.

以下、第1実施形態との相違点を中心に説明する。
本実施形態に係るプロジェクタ装置は、図10に示すように、制御部101と、輝度補正部501と、AD変換処理部104〜106と、入力バッファ部107、入力バッファ部502〜503と、出力バッファ部110〜112と、映像信号処理部113と、映出部116とを含んで構成される。
Hereinafter, the difference from the first embodiment will be mainly described.
As shown in FIG. 10, the projector device according to the present embodiment includes a control unit 101, a luminance correction unit 501, AD conversion processing units 104 to 106, an input buffer unit 107, input buffer units 502 to 503, and an output. The buffer units 110 to 112, the video signal processing unit 113, and the projection unit 116 are configured.

第2実施形態において、第1実施形態と同符号を付した構成要素については、同機能を有するものとする。
入力バッファ部502は、出力バッファ部111に加えて、輝度補正部503からも読み出される点で、入力バッファ部108と相違し、入力バッファ部503は、出力バッファ部112に加えて、輝度補正部503からも読み出される点で、入力バッファ部109と相違する。
In the second embodiment, components having the same reference numerals as those in the first embodiment have the same functions.
The input buffer unit 502 is different from the input buffer unit 108 in that it is also read from the luminance correction unit 503 in addition to the output buffer unit 111. The input buffer unit 503 is a luminance correction unit in addition to the output buffer unit 112. It is different from the input buffer unit 109 in that the data is also read from 503.

輝度補正部501は、図11に示すように、輝度分布検出回路301、係数算出回路302、輝度レベル調整回路511、外光検出器304、補正値決定回路305、オフセットレベル調整回路306及び肌色検出回路512とを含んで構成される。
肌色検出回路512は、入力バッファ部107から各画素に対応するYデータを読み出し、入力バッファ部502から、前記Yデータに対応する画素のPbデータを読み出し、入力バッファ部503から、前記Yデータに対応する画素のPrデータを読み出し、Yデータと、Pbデータと、Prデータとを用いて、3原色である赤、緑、青のそれぞれの色度を表すRデータ、Gデータ、Bデータを生成する。
As shown in FIG. 11, the luminance correction unit 501 includes a luminance distribution detection circuit 301, a coefficient calculation circuit 302, a luminance level adjustment circuit 511, an external light detector 304, a correction value determination circuit 305, an offset level adjustment circuit 306, and skin color detection. Circuit 512.
The skin color detection circuit 512 reads the Y data corresponding to each pixel from the input buffer unit 107, reads the Pb data of the pixel corresponding to the Y data from the input buffer unit 502, and converts the Y data from the input buffer unit 503 to the Y data. Read Pr data of the corresponding pixel and use the Y data, Pb data, and Pr data to generate R data, G data, and B data representing the chromaticities of the three primary colors red, green, and blue To do.

R、G,Bは、以下の関係を満たす。
Pb= B − Y = 0.30R − 0.39G − 0.89B
Pr= R − Y = 0.70R − 0.59G − 0.11B
前記画素の赤成分Rデータ、緑成分Gデータ、青成分Bデータとを用いて、前記画素に、白成分が多く含まれるか否かを判定する。
R, G, and B satisfy the following relationship.
Pb = B−Y = 0.30R−0.39G−0.89B
Pr = R−Y = 0.70R−0.59G−0.11B
Using the red component R data, green component G data, and blue component B data of the pixel, it is determined whether or not the pixel contains a large amount of white component.

Rデータ、Gデータ、Bデータの各値が同程度であれば、画素は白色に近くなるので、肌色検出回路512は、前記画素の白成分が多く含まれるか否かの判定として、Rデータ、Gデータ、Bデータの各値が同程度、一例として、R、G、Bデータの各値の差分が、閾値(一例として20)以内であるか否かを判定する。
前記画素の白成分が多く含まれると判断した場合に、肌色検出回路512は、輝度レベル調整回路511に対し、補正係数調整通知を送信する。
If the values of R data, G data, and B data are approximately the same, the pixel is close to white, so the skin color detection circuit 512 determines whether or not the white component of the pixel contains a large amount of R data. It is determined whether the values of the G data and the B data are about the same, and as an example, the difference between the values of the R, G, and B data is within a threshold value (20 as an example).
When it is determined that a large amount of the white component of the pixel is included, the skin color detection circuit 512 transmits a correction coefficient adjustment notification to the luminance level adjustment circuit 511.

補正係数調整通知を受信した場合、輝度レベル調整回路511は、C1〜C4の値に調整係数を乗じて使用する。
一例として、輝度レベル調整回路511は、調整係数として0.5を使用するものとする。
図12は、輝度補正部501が、仮に、入力輝度データDIに対して補正係数Ci”を用いた補正を行うこととした場合のDIとDOの関係を示す図であり、輝度補正部501は、白成分が閾値以上であると判定された画素については、肌色補正を考慮していないグラフ701の傾きである補正係数C1〜C4の代わりに、グラフ702の傾きである、C1〜C4に調整係数0.5を乗じたC1”〜C4”を使用して、入力輝度データを、出力輝度データに変換する。
<3.第3実施形態>
次に、本発明の第3の実施の形態について説明する。
When the correction coefficient adjustment notification is received, the luminance level adjustment circuit 511 uses the value of C1 to C4 multiplied by the adjustment coefficient.
As an example, the luminance level adjustment circuit 511 uses 0.5 as an adjustment coefficient.
FIG. 12 is a diagram illustrating the relationship between DI and DO when the luminance correction unit 501 performs correction using the correction coefficient Ci ″ on the input luminance data DI. For pixels for which the white component is determined to be greater than or equal to the threshold, adjustment is made to C1 to C4, which is the slope of the graph 702, instead of the correction coefficients C1 to C4 that are the slope of the graph 701 that does not consider skin color correction. Input luminance data is converted to output luminance data using C1 ″ to C4 ″ multiplied by a coefficient of 0.5.
<3. Third Embodiment>
Next, a third embodiment of the present invention will be described.

本実施の形態に係るプロジェクタ装置は第1実施形態に係るプロジェクタ装置と概ね同様であるが、画像の平均輝度を算出し、補正係数Ci(i=1〜4)を調整し、過補正を防ぐ点において相違している。
例えば、夜空を映した画像など、暗い輝度成分が多い画像について、極端な過補正をしてしまうと、夜空が明るく浮いた映像になってしまう場合があり、逆に、昼の風景を映した画像など明るい輝度成分が多い画像について、過補正をすると、風景が暗くなってしまう場合があるので、本実施形態では、このような極端な過補正を防いでいる。
The projector device according to the present embodiment is substantially the same as the projector device according to the first embodiment, but calculates the average luminance of the image, adjusts the correction coefficient Ci (i = 1 to 4), and prevents overcorrection. It is different in point.
For example, an image with a lot of dark luminance components, such as an image showing the night sky, may result in a bright and floating image if the image is excessively over-corrected. If an overcorrection is performed on an image having many bright luminance components such as an image, the landscape may become dark. In this embodiment, such an excessive overcorrection is prevented.

以下、第1実施形態との相違点を中心に説明する。
本実施形態のプロジェクタ装置は、第1実施形態の輝度補正部103を、輝度補正部530に置き換えたものであり、輝度補正部530は、図13に示すように、輝度分布検出回路301、係数算出回路302、輝度レベル調整回路531、外光検出器304、補正値決定回路305、オフセットレベル調整回路306及び平均輝度算出回路532とを含んで構成される。
Hereinafter, the difference from the first embodiment will be mainly described.
The projector apparatus of this embodiment is obtained by replacing the luminance correction unit 103 of the first embodiment with a luminance correction unit 530. The luminance correction unit 530 includes a luminance distribution detection circuit 301, a coefficient, as shown in FIG. The calculation circuit 302, the luminance level adjustment circuit 531, the external light detector 304, the correction value determination circuit 305, the offset level adjustment circuit 306, and the average luminance calculation circuit 532 are configured.

平均輝度算出回路532は、第1実施形態において説明した、輝度分布検出回路301による輝度分布の検出と並行して、入力バッファ部107に記憶されている、1画像中に含まれる全画素に係るYデータが示す輝度の平均輝度を算出し、前記平均輝度を輝度レベル調整回路531に通知する。
輝度レベル調整回路531は、前記平均輝度を受信し、前記平均輝度が所定の上限値以上である場合には、所定の上限調整係数(一例として0.3)を、補正係数Ciに乗算して使用する。
The average luminance calculation circuit 532 relates to all the pixels included in one image stored in the input buffer unit 107 in parallel with the detection of the luminance distribution by the luminance distribution detection circuit 301 described in the first embodiment. The average luminance of the luminance indicated by the Y data is calculated, and the average luminance is notified to the luminance level adjustment circuit 531.
The luminance level adjustment circuit 531 receives the average luminance, and, when the average luminance is equal to or higher than a predetermined upper limit value, multiplies the correction coefficient Ci by a predetermined upper limit adjustment coefficient (0.3 as an example). use.

同様に、輝度レベル調整回路531は、前記平均輝度が所定の下限値以下である場合には、所定の下限調整係数(一例として0.2)を、補正係数Ciに乗算して使用する。
ここで、前記下限調整係数と前記上限調整係数とを区別せず、同じ係数を、補正係数Ciに乗算して使用することとしてもよい。
図14は、輝度補正部530が、仮に、入力輝度データDIに対して補正係数Ci”を用いた補正を行うこととした場合のDIとDOの関係を示す図であり、輝度補正部530は、平均輝度が所定の下限値以下であると判定した場合、画像全体の画素に係る輝度値を補正する場合において、平均輝度に関して考慮していないグラフ711の傾きで示される補正係数C1〜C4の代わりに、グラフ712の傾きで示されるように、C1〜C4に調整係数0.2を乗じたC1”〜C4”を使用して、入力輝度データを、出力輝度データに変換する。
<4.第4実施形態>
次に、本発明の第4の実施の形態について説明する。
Similarly, when the average luminance is equal to or lower than a predetermined lower limit value, the luminance level adjustment circuit 531 uses a predetermined lower limit adjustment coefficient (for example, 0.2) multiplied by the correction coefficient Ci.
Here, the lower limit adjustment coefficient and the upper limit adjustment coefficient are not distinguished, and the same coefficient may be used by multiplying the correction coefficient Ci.
FIG. 14 is a diagram illustrating a relationship between DI and DO when the luminance correction unit 530 performs correction using the correction coefficient Ci ″ on the input luminance data DI. When it is determined that the average luminance is equal to or lower than the predetermined lower limit value, correction coefficients C1 to C4 indicated by the slope of the graph 711 that does not consider the average luminance when correcting the luminance value related to the pixels of the entire image. Instead, as indicated by the slope of the graph 712, the input luminance data is converted into the output luminance data using C1 ″ to C4 ″ obtained by multiplying C1 to C4 by the adjustment coefficient 0.2.
<4. Fourth Embodiment>
Next, a fourth embodiment of the present invention will be described.

本実施形態に係るプロジェクタ装置は第1実施形態に係るプロジェクタ装置と概ね同様であるが、階調を補正した後、更に画像の黒レベルを補正する点において相違する。
本実施形態のプロジェクタ装置は、第1実施形態の輝度補正部103を、輝度補正部550に置き換えたものであり、輝度補正部550は、図15に示すように、輝度分布検出回路301、係数算出回路302、輝度レベル調整回路551、外光検出器304、補正値決定回路305、オフセットレベル調整回路306及び黒レベル補正回路552とを含んで構成される。
The projector device according to the present embodiment is substantially the same as the projector device according to the first embodiment, but differs in that the black level of the image is further corrected after the gradation is corrected.
The projector apparatus of this embodiment is obtained by replacing the luminance correction unit 103 of the first embodiment with a luminance correction unit 550. The luminance correction unit 550 includes a luminance distribution detection circuit 301, a coefficient, as shown in FIG. The calculation circuit 302, the luminance level adjustment circuit 551, the external light detector 304, the correction value determination circuit 305, the offset level adjustment circuit 306, and the black level correction circuit 552 are configured.

黒レベル補正回路552は低輝度部分の輝度を低下させる。
図16は、輝度補正部550が、仮に、入力輝度データDIに対して補正係数Ci”を用いた補正を行うこととした場合のDIとDOの関係を示す図であり、出力輝度データが所定の下限値(例えば64)以下である場合、画像全体の画素に係る輝度値を補正する場合において、前記所定の下限値以下のグラフ721の傾きで示される補正係数C1’を、グラフ722のように、入力輝度データが0である場合に、出力輝度データが0になるような補正係数C1”に変換する。
The black level correction circuit 552 reduces the luminance of the low luminance part.
FIG. 16 is a diagram illustrating the relationship between DI and DO when the luminance correction unit 550 performs correction using the correction coefficient Ci ″ on the input luminance data DI, and the output luminance data is predetermined. When the luminance value related to the pixels of the entire image is corrected, the correction coefficient C1 ′ indicated by the slope of the graph 721 below the predetermined lower limit value is represented by a graph 722. When the input luminance data is 0, the correction coefficient C1 ″ is converted so that the output luminance data becomes 0.

よって、第1実施形態では外光が強い等に起因して補正値Qが大きい場合には、補正後に最も輝度が低い部分の輝度が高くなり画面が浮いた印象になる場合が考えられたが、本実施形態では、黒レベル補正回路552が、低輝度部分の輝度を下げるので、黒さをくっきりとさせ、映像を引き締めることができる。
黒レベル補正回路552は入力輝度データに対応する出力輝度データを滑らかに調整することによって、低輝度部分の出力輝度を低下させる。
<5.第5実施形態>
次に、本発明の第5の実施の形態について説明する。
Therefore, in the first embodiment, when the correction value Q is large due to strong external light or the like, it may be considered that the luminance of the lowest luminance portion after the correction becomes high and the screen floats. In this embodiment, since the black level correction circuit 552 lowers the luminance of the low luminance portion, the blackness can be sharpened and the video can be tightened.
The black level correction circuit 552 reduces the output luminance of the low luminance portion by smoothly adjusting the output luminance data corresponding to the input luminance data.
<5. Fifth Embodiment>
Next, a fifth embodiment of the present invention will be described.

本実施形態に係るプロジェクタ装置は、第1実施形態に係るプロジェクタ装置と概ね同様であるが、映像輝度信号の有効映像期間中の輝度の最小値と最大値とを検出して輝度分布を補正する点において相違している。
本実施形態のプロジェクタ装置は、第1実施形態の輝度補正部103を、輝度補正部570に置き換えたものであり、輝度補正部570は、図17に示すように、輝度レベル調整回路571、輝度分布検出回路572、最大値検出回路573、最小値検出回路574、係数算出回路302、外光検出器304、補正値決定回路305及びオフセットレベル調整回路306とを含んで構成される。
The projector device according to this embodiment is substantially the same as the projector device according to the first embodiment, but corrects the luminance distribution by detecting the minimum and maximum luminance values during the effective video period of the video luminance signal. It is different in point.
The projector device of this embodiment is obtained by replacing the brightness correction unit 103 of the first embodiment with a brightness correction unit 570. The brightness correction unit 570 includes a brightness level adjustment circuit 571, a brightness level adjustment circuit 571, and a brightness level adjustment circuit 571 as shown in FIG. A distribution detection circuit 572, a maximum value detection circuit 573, a minimum value detection circuit 574, a coefficient calculation circuit 302, an external light detector 304, a correction value determination circuit 305, and an offset level adjustment circuit 306 are configured.

最大値検出回路573は、入力バッファ部107に記憶されているYデータの最大値を検出し、前記最大値を輝度分布検出回路572に送信する。
最小値検出回路574は、Yデータの最小値を検出し、前記最小値を輝度分布検出回路572に送信する。
輝度分布検出回路572は、受信した前記最小値から最大値までの範囲内に分布している輝度の度数を0から255までの範囲に比例配分して輝度分布とする。
The maximum value detection circuit 573 detects the maximum value of the Y data stored in the input buffer unit 107 and transmits the maximum value to the luminance distribution detection circuit 572.
The minimum value detection circuit 574 detects the minimum value of Y data and transmits the minimum value to the luminance distribution detection circuit 572.
The luminance distribution detection circuit 572 distributes the luminance frequency distributed in the range from the received minimum value to the maximum value in the range from 0 to 255 to obtain a luminance distribution.

図18は、輝度補正部570が、仮に、入力輝度データDIに対して補正係数Ci”を用いた補正を行うこととした場合のDIとDOの関係を示す図であり、輝度補正部570は、グラフ731の傾きで示される補正係数Ciの代わりに、Ciを映像輝度信号の有効映像期間中の輝度の最小値から最大値までの範囲内の入力輝度を0〜255の範囲内の輝度になるように変換した補正係数Ci”を使用して、入力輝度データを、出力輝度データに補正する。   FIG. 18 is a diagram illustrating the relationship between DI and DO when the luminance correction unit 570 performs correction using the correction coefficient Ci ″ on the input luminance data DI. In place of the correction coefficient Ci indicated by the slope of the graph 731, Ci is changed from the input luminance within the range from the minimum value to the maximum value during the effective video period of the video luminance signal to the luminance within the range of 0 to 255. The input luminance data is corrected to output luminance data using the correction coefficient Ci ″ converted as described above.

このようにすれば、画像のコントラストを更に強調して、視認性を向上させることができる。
<6.第6実施形態>
次に、本発明の第6の実施の形態について説明する。
本実施の形態に係るプロジェクタ装置は、第1実施形態に係るプロジェクタ装置と概ね同様であるが、映像色信号を映像輝度信号の入出力の変化量により補正する点において相違している。
In this way, it is possible to further enhance the visibility by further enhancing the contrast of the image.
<6. Sixth Embodiment>
Next, a sixth embodiment of the present invention will be described.
The projector device according to the present embodiment is substantially the same as the projector device according to the first embodiment, but differs in that the video color signal is corrected by the amount of change in the input / output of the video luminance signal.

以下、第1実施形態との相違点を中心に説明する。
本実施形態のプロジェクタ装置は、図19に示すように、第1実施形態の輝度補正部103を輝度補正部590に置き換え、入力バッファ部108を入力バッファ部502に置き換え、入力バッファ部109を入力バッファ部503に置き換え、出力バッファ部111を出力バッファ部591に置き換え、出力バッファ部112を出力バッファ部592に置き換えたものである。
Hereinafter, the difference from the first embodiment will be mainly described.
As shown in FIG. 19, the projector apparatus according to the present embodiment replaces the luminance correction unit 103 of the first embodiment with a luminance correction unit 590, replaces the input buffer unit 108 with an input buffer unit 502, and inputs the input buffer unit 109. The buffer unit 503 is replaced, the output buffer unit 111 is replaced with the output buffer unit 591, and the output buffer unit 112 is replaced with the output buffer unit 592.

入力バッファ部502は、輝度補正部590と接続される点が、入力バッファ部108と相違し、入力バッファ部503は、輝度補正部590と接続される点が、入力バッファ部108と相違する。
出力バッファ部591は、輝度補正部590と接続される点が、出力バッファ部111と相違し、出力バッファ部592は、輝度補正部590と接続される点が、出力バッファ部112と相違する。
The input buffer unit 502 is different from the input buffer unit 108 in that it is connected to the luminance correction unit 590, and the input buffer unit 503 is different from the input buffer unit 108 in that it is connected to the luminance correction unit 590.
The output buffer unit 591 is different from the output buffer unit 111 in that it is connected to the luminance correction unit 590, and the output buffer unit 592 is different from the output buffer unit 112 in that it is connected to the luminance correction unit 590.

輝度補正部590は、図20に示すように、輝度分布検出回路301、係数算出回路302、輝度レベル調整回路595、外光検出器304、補正値決定回路305、オフセットレベル調整回路306及び色調整回路596とを含んで構成される。
色調整回路596は、補正前の輝度データDIと、補正後の輝度データDOとを取得し、輝度データDIと同じ画素に係るPbデータを入力バッファ部502から読み出して、Pbデータに、DO/DIを乗算して、出力バッファ部591に蓄積する。同様に、輝度データDIと同じ画素に係る前記Prデータを入力バッファ部503から読み出して、前記Prデータに、DO/DIを乗算して、出力バッファ部592に蓄積する。
As shown in FIG. 20, the luminance correction unit 590 includes a luminance distribution detection circuit 301, a coefficient calculation circuit 302, a luminance level adjustment circuit 595, an external light detector 304, a correction value determination circuit 305, an offset level adjustment circuit 306, and color adjustment. Circuit 596.
The color adjustment circuit 596 acquires the luminance data DI before correction and the luminance data DO after correction, reads Pb data related to the same pixel as the luminance data DI from the input buffer unit 502, and converts the Pb data to DO / Multiply DI and store in output buffer 591. Similarly, the Pr data relating to the same pixel as the luminance data DI is read from the input buffer unit 503, and the Pr data is multiplied by DO / DI and stored in the output buffer unit 592.

上述のように、輝度データを補正すると共に、輝度データに係る画素の色差データについても、補正するので、輝度データのみを補正により増加させることによって、輝度データに係る画素の色が薄くなるのを防ぐので、コントラスト、色づきの良い視認性に優れた画像を表示することができる。
<変形例>
上記に説明した実施形態は、本発明の実施の一例であり、本発明はこの実施の形態に何ら限定されるものではなく、その旨を逸脱しない範囲において主な態様で実施し得るものである。以下のような場合も本発明に含まれる。
As described above, the luminance data is corrected and the color difference data of the pixel related to the luminance data is also corrected. Therefore, by increasing only the luminance data by correction, the color of the pixel related to the luminance data becomes lighter. Therefore, it is possible to display an image with excellent contrast and color and excellent visibility.
<Modification>
The embodiment described above is an example of the implementation of the present invention, and the present invention is not limited to this embodiment at all, and can be implemented in the main mode without departing from the scope of the present invention. . The following cases are also included in the present invention.

(1) 上記実施の形態においては、専らプロジェクタ装置を例にとって説明したが、本発明がこれに限定されないのは言うまでもなく、プロジェクタ装置以外の画像出力装置に本発明を適用しても良い。特に、外光等の影響を受けて画面が見難くなるような画像出力装置に適用すると好適である。
(2) 上記実施の形態においては、専ら外光センサをプロジェクタ装置本体に一体として取り付ける場合について説明したが、本発明がこれに限定されないのは言うまでもなく、外光センサをプロジェクタ装置本体と一体としなくても本発明の効果を得ることができる。例えば、スクリーンに入射する外光の強さを測るべく、スクリーン前面に外光センサを取り付けても良い。プロジェクタ装置が使用される環境に応じた適当な位置で明るさを測ることができるように、外光センサをプロジェクタ装置から取り外して使用できるようにしても良い。
(1) In the above embodiment, the projector apparatus has been described as an example. However, the present invention is not limited to this, and the present invention may be applied to an image output apparatus other than the projector apparatus. In particular, it is suitable for application to an image output apparatus that makes it difficult to see the screen due to the influence of external light or the like.
(2) In the above embodiment, the case where the external light sensor is exclusively attached to the projector apparatus main body has been described. However, it goes without saying that the present invention is not limited to this, and the external light sensor is integrated with the projector apparatus main body. Even if it is not, the effect of the present invention can be obtained. For example, an external light sensor may be attached to the front of the screen in order to measure the intensity of external light incident on the screen. The external light sensor may be removed from the projector device and used so that the brightness can be measured at an appropriate position according to the environment in which the projector device is used.

(3) 上記実施の形態においては、専ら256階調の輝度を4段階に分けて補正係数を決定する場合について説明したが、本発明がこれに限定されないのは言うまでもなく、4以外の複数段階に分けて補正係数を決定しても良い。また、10bit:1024階調など8bit:256階調以外の階調数を用いても本発明の効果に変わりは無い。
(4) 上記実施の形態においては特に言及しなかったが、本発明に係る画像処理装置は、外光の強さを指標する信号を受け付けて、上述のような階調補正を実行するプログラムであっても良いし、専用のLSI(Large Scale Integration)であるとしても良い。
(3) In the above embodiment, the case where the correction coefficient is determined by dividing the luminance of 256 gradations into four stages has been described, but it goes without saying that the present invention is not limited to this and a plurality of stages other than four. The correction coefficient may be determined separately. Further, even if the number of gradations other than 8 bits: 256 gradations such as 10 bits: 1024 gradations is used, the effect of the present invention is not changed.
(4) Although not particularly mentioned in the above embodiment, the image processing apparatus according to the present invention is a program that receives a signal indicating the intensity of external light and executes the above-described tone correction. It may be a dedicated LSI (Large Scale Integration).

(5) 上記実施の形態においては、すべての補正係数Ci(i=1〜4)を調整して補正係数Ci´を求める場合について説明したが、本発明がこれに限定されないのは言うまでもなく、低輝度部分についてのみ補正係数Ciを調整しても良い。この場合において、調整する係数は最も低輝度である部分の補正係数C1のみとしても良いし、C1とC2、或いはC1からC3を調整しても良い。   (5) In the above embodiment, the case where the correction coefficient Ci ′ is obtained by adjusting all the correction coefficients Ci (i = 1 to 4) has been described, but it goes without saying that the present invention is not limited to this. The correction coefficient Ci may be adjusted only for the low luminance part. In this case, the coefficient to be adjusted may be only the correction coefficient C1 of the portion having the lowest luminance, or C1 and C2, or C1 to C3 may be adjusted.

(6) 上記実施の形態においては特に言及しなかったが、第1の実施の形態の補正係数Qの値は256階調の場合には高々80ぐらいまでとしても良い。また、512階調の場合には高々160ぐらいまでとしても良い。このようにすれば、出力輝度の範囲が狭まることに起因するコントラストの低下等の問題を最小限に留めることができる。
(7) 上記実施の形態において画像の平均輝度レベルを求めるに際し画像の全画素をサンプリングしているが、2画素おきや4画素おきなど間引きサンプリングしてもよい。このようにすれば回路規模を小さくすることができる。
(6) Although not particularly mentioned in the above embodiment, the value of the correction coefficient Q in the first embodiment may be up to about 80 in the case of 256 gradations. In the case of 512 gradations, it may be at most about 160. In this way, problems such as a decrease in contrast due to narrowing of the output luminance range can be minimized.
(7) In the above embodiment, when calculating the average luminance level of the image, all the pixels of the image are sampled. However, thinning sampling such as every two pixels or every four pixels may be performed. In this way, the circuit scale can be reduced.

(8)本発明は、上記に示す方法であるとしてもよい。また、これらの方法をコンピュータにより実現するコンピュータプログラムであるとしてもよいし、前記コンピュータプログラムからなるデジタル信号であるとしても良い。また、本発明は、前記コンピュータプログラム又は前記デジタル信号をコンピュータ読み取り可能な記録媒体、例えば、フレキシブルディスク、ハードディスク、CD―ROM、MO、DVD、DVD−ROM、DVD−RAM、BD(Blu−ray Disc)、半導体メモリなど、に記録したものとしてもよい。また、これらの記録媒体に記録されている前記コンピュータプログラム又は前記デジタル信号であるとしてもよい。また、本発明は、前記コンピュータプログラム又は前記デジタル信号を、電気通信回線、無線又は有線通信回線、インターネットを代表とするネットワーク等を経由して伝送するものとしてもよい。また、本発明は、マイクロプロセッサとメモリとを備えたコンピュータシステムであって、前記メモリは、上記コンピュータプログラムを記憶しており、前記マイクロプロセッサは、前記コンピュータプログラムに従って動作するとしてもよい。また、前記プログラム又は前記デジタル信号を前記記録媒体に記録して移送することにより、又は前記プログラム又は前記デジタル信号を前記ネットワーク等を経由して移送することにより、独立した他のコンピュータシステムにより実施するとしてもよい。   (8) The present invention may be the method described above. Further, the present invention may be a computer program that realizes these methods by a computer, or may be a digital signal composed of the computer program. The present invention also provides a computer-readable recording medium such as a flexible disk, hard disk, CD-ROM, MO, DVD, DVD-ROM, DVD-RAM, BD (Blu-ray Disc). ), Recorded in a semiconductor memory or the like. Further, the present invention may be the computer program or the digital signal recorded on these recording media. In the present invention, the computer program or the digital signal may be transmitted via an electric communication line, a wireless or wired communication line, a network represented by the Internet, or the like. The present invention may be a computer system including a microprocessor and a memory, wherein the memory stores the computer program, and the microprocessor operates according to the computer program. In addition, the program or the digital signal is recorded on the recording medium and transferred, or the program or the digital signal is transferred via the network or the like, and is executed by another independent computer system. It is good.

(9)上記実施の形態及び上記変形例をそれぞれ組み合わせるとしてもよい。
(9) The above embodiment and the above modifications may be combined.

本発明の画像出力装置は、特に外光の影響下において映像を表示する際に使用されるものであり、電気機器を取り扱う製造業者等によって、製造、販売等が成される。
The image output apparatus of the present invention is used particularly when displaying an image under the influence of external light, and is manufactured, sold, etc. by a manufacturer who handles electrical equipment.

本発明の一実施形態に係るプロジェクタ装置の構成を示すブロック図である。It is a block diagram which shows the structure of the projector apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係るプロジェクタ装置の外観図である。1 is an external view of a projector device according to an embodiment of the present invention. 本発明の一実施形態に係るプロジェクタ装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the projector apparatus which concerns on one Embodiment of this invention. 入力画像に対する、出力画像の表示タイミングを模式的に示す図である。It is a figure which shows typically the display timing of the output image with respect to an input image. 本発明の一実施形態に係る輝度補正部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the brightness correction part which concerns on one Embodiment of this invention. 1画面分の輝度信号の有効映像期間における輝度分布を例示するグラフである。It is a graph which illustrates the luminance distribution in the effective image | video period of the luminance signal for 1 screen. 輝度補正部によって調整される輝度データについての、調整前と調整後のデータの関係を模式的に示す図である。It is a figure which shows typically the relationship between the data before adjustment about the brightness | luminance data adjusted by a brightness correction part, and after adjustment. 外光の変化量と、出力する補正値との関係を示す概略図である。It is the schematic which shows the relationship between the variation | change_quantity of external light, and the correction value to output. 本発明の一実施形態に係るプロジェクタ装置による補正処理を示すフローチャートである。It is a flowchart which shows the correction process by the projector apparatus which concerns on one Embodiment of this invention. 第2実施形態に係るプロジェクタ装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the projector apparatus which concerns on 2nd Embodiment. 第2実施形態に係る輝度補正部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the brightness correction part which concerns on 2nd Embodiment. 第2実施形態に係る輝度補正部により算出される補正係数を説明する図である。It is a figure explaining the correction coefficient computed by the brightness correction part concerning a 2nd embodiment. 第3実施形態に係る輝度補正部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the brightness correction part which concerns on 3rd Embodiment. 第3実施形態に係る輝度補正部により算出される補正係数を説明する図である。It is a figure explaining the correction coefficient computed by the brightness correction part concerning a 3rd embodiment. 第4実施形態に係る輝度補正部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the brightness correction part which concerns on 4th Embodiment. 第4実施形態に係る輝度補正部により算出される補正係数を説明する図である。It is a figure explaining the correction coefficient computed by the brightness correction part concerning a 4th embodiment. 第5実施形態に係る輝度補正部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the brightness correction part which concerns on 5th Embodiment. 第5実施形態に係る輝度補正部により算出される補正係数を説明する図である。It is a figure explaining the correction coefficient computed by the brightness correction part concerning a 5th embodiment. 第6実施形態に係るプロジェクタ装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the projector apparatus which concerns on 6th Embodiment. 第6実施形態に係る輝度補正部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the brightness correction part which concerns on 6th Embodiment.

符号の説明Explanation of symbols

1 プロジェクタ装置
10 パーソナルコンピュータ
20 スクリーン
23 RGB/YPbPr入力端子
28 外光センサ
101 制御部
103 輝度補正部
104〜106 AD変換処理部
107〜109 入力バッファ部
110〜112 出力バッファ部
113 映像信号処理部
116 映出部
301 輝度分布検出回路
302 係数算出回路
303 輝度レベル調整回路
304 外光検出器
305 補正値決定回路
306 オフセットレベル調整回路
307 加算器
DESCRIPTION OF SYMBOLS 1 Projector apparatus 10 Personal computer 20 Screen 23 RGB / YPbPr input terminal 28 External light sensor 101 Control part 103 Brightness correction part 104-106 AD conversion process part 107-109 Input buffer part 110-112 Output buffer part 113 Video signal process part 116 Projection unit 301 Luminance distribution detection circuit 302 Coefficient calculation circuit 303 Luminance level adjustment circuit 304 External light detector 305 Correction value determination circuit 306 Offset level adjustment circuit 307 Adder

Claims (11)

外光の強度に応じて原画像の輝度を補正して出力する画像出力装置であって、
各画素が所定の仕様で輝度表現された原画像を記憶している記憶手段と、
前記仕様に基づいた全輝度域を均等分割した輝度区間の各々について、前記原画像の各画素の輝度値が含まれる画素数を計数する計数手段と、
外光強度を測定する測光手段と、
外光強度を輝度に係るオフセット値に変換する外光変換手段と、
前記原画像内の全画素数を輝度区間の数で除算することにより区間画素数を算出し、各輝度区間について、輝度値が含まれる画素数を前記区間画素数で除算し、前記除算結果を、((前記全輝度域の上限値−前記オフセット値)/前記全輝度域の上限値)倍して、変換係数として出力する変換係数算出手段と、
輝度区間の上限値と下限値の差分値に対し、当該輝度区間に係る変換係数を乗算することにより加算値を算出する区間加算値算出手段と、
前記各画素の輝度値について、
当該輝度値が含まれる輝度区間について計数された前記加算値を輝度区間における当該輝度値の位置に基づき調整した調整値と、
輝度区間の上限値が、当該輝度値が含まれる輝度区間の下限値よりも小さい輝度区間の各々について前記区間加算値算出手段により算出された全加算値と、
前記オフセット値とを加算した補正輝度値で、当該輝度値を置き換える変換手段と
を備えることを特徴とする画像出力装置。
An image output apparatus for correcting and outputting the brightness of an original image according to the intensity of external light,
Storage means for storing an original image in which each pixel is expressed in luminance according to a predetermined specification;
Counting means for counting the number of pixels in which the luminance value of each pixel of the original image is included for each of the luminance sections obtained by equally dividing the entire luminance area based on the specification;
A photometric means for measuring external light intensity;
An external light converting means for converting the external light intensity into an offset value related to luminance;
By dividing the total number of pixels in the original image by the number of luminance intervals, the number of interval pixels is calculated. For each luminance interval, the number of pixels including the luminance value is divided by the number of interval pixels, and the division result is calculated. , ((The upper limit value of the entire luminance region−the offset value) / the upper limit value of the entire luminance region),
Section added value calculation means for calculating an added value by multiplying the difference value between the upper limit value and the lower limit value of the brightness section by a conversion coefficient related to the brightness section;
Regarding the luminance value of each pixel,
An adjustment value obtained by adjusting the added value counted for the luminance interval including the luminance value based on the position of the luminance value in the luminance interval;
A total addition value calculated by the section addition value calculation means for each of the luminance sections in which the upper limit value of the luminance section is smaller than the lower limit value of the luminance section including the luminance value;
An image output apparatus comprising: conversion means for replacing the brightness value with a corrected brightness value obtained by adding the offset value .
前記測光手段は、外光強度を複数回測定し、
前記外光変換手段は、
外光強度の変化量を算出し、直近に測定された外光強度を、前記変化量に基づき補正する外光強度補正部と、
外光強度の下限値から上限値までの範囲を前記全輝度域に比例配分する比例変換に従い、補正された前記外光強度を前記オフセット値に変換する外光変換部と
を含むことを特徴とする請求項に記載の画像出力装置。
The photometric means measures the external light intensity a plurality of times,
The external light converting means is
An outside light intensity correction unit that calculates the amount of change in outside light intensity and corrects the recently measured outside light intensity based on the amount of change;
An external light conversion unit that converts the corrected external light intensity into the offset value according to proportional conversion that proportionally distributes a range from a lower limit value to an upper limit value of the external light intensity to the entire luminance range. The image output apparatus according to claim 1 .
前記外光強度補正部は、
前回測定した外光強度と、直近に測定した外光強度との差分を算出する差分算出部と、
前記差分が所定の下限値未満である場合に、前回測定した前記外光強度を出力し、前記差分が所定の上限値より大きい場合に、前記直近に測定した前記外光強度を出力し、前記差分が所定下限値以上、所定上限値以下である場合に、前回測定した前記外光強度に所定係数を乗算して出力する調整部と
を含むことを特徴とする請求項に記載の画像出力装置。
The external light intensity correction unit is
A difference calculation unit for calculating a difference between the external light intensity measured last time and the external light intensity measured most recently;
When the difference is less than a predetermined lower limit value, output the external light intensity measured last time, and when the difference is greater than a predetermined upper limit value, output the external light intensity measured most recently, 3. The image output according to claim 2 , further comprising: an adjustment unit that multiplies the external light intensity measured last time by a predetermined coefficient and outputs the difference when the difference is not less than a predetermined lower limit value and not more than a predetermined upper limit value. apparatus.
前記画像出力装置は、さらに、
原画像に係る補正輝度値のうち最小である最小補正輝度値が、所定閾値より大きい場合に、前記全輝度域の下限値を含む輝度区間である最小輝度区間における、最小輝度区間の下限値に係る補正輝度値から最小輝度区間の上限値に係る補正輝度値までの範囲を、最小輝度区間の下限値から最小輝度区間の上限値に係る補正輝度値までの範囲に比例配分する補正をする黒色補正手段
を備えることを特徴とする請求項3に記載の画像出力装置。
The image output device further includes:
When the minimum corrected luminance value that is the minimum among the corrected luminance values related to the original image is larger than a predetermined threshold, the lower limit value of the minimum luminance section in the minimum luminance section that is the luminance section that includes the lower limit value of the entire luminance area. Black for correction that proportionally distributes the range from the corrected luminance value to the corrected luminance value related to the upper limit value of the minimum luminance interval to the range from the lower limit value of the minimum luminance interval to the corrected luminance value related to the upper limit value of the minimum luminance interval The image output apparatus according to claim 3, further comprising a correction unit.
前記変換手段は、前記調整値を、当該輝度値が含まれる輝度区間について計数された前記加算値に、当該輝度値が含まれる輝度区間の下限値と当該輝度値との差分に比例する調整係数を乗じて算出する
ことを特徴とする請求項1に記載の画像出力装置。
The conversion means adjusts the adjustment value in proportion to the difference between the lower limit value of the luminance interval including the luminance value and the luminance value to the addition value counted for the luminance interval including the luminance value. The image output device according to claim 1, wherein the image output device is calculated by multiplying
前記画像出力装置は、さらに、
各画素の色相が肌色か否かを判定する肌色判定手段
を備え、
前記変換手段は、肌色と判定された画素については、各輝度区間に係る前記区間加算値算出手段により算出された加算値を所定数倍する
ことを特徴とする請求項1に記載の画像出力装置。
The image output device further includes:
Skin color judging means for judging whether the hue of each pixel is a skin color,
The image output apparatus according to claim 1, wherein the conversion unit multiplies the addition value calculated by the section addition value calculation unit for each luminance section by a predetermined number for pixels determined to be skin color. .
前記画像出力装置は、さらに、
前記原画像の平均輝度値を算出する平均輝度算出手段
を備え、
前記変換手段は、前記平均輝度値が所定値以下である場合に、前記区間加算値算出手段により算出された加算値を所定数倍する
ことを特徴とする請求項1に記載の画像出力装置。
The image output device further includes:
Average luminance calculation means for calculating an average luminance value of the original image,
The image output apparatus according to claim 1, wherein the conversion unit multiplies the addition value calculated by the section addition value calculation unit by a predetermined number when the average luminance value is equal to or less than a predetermined value.
前記画像出力装置は、さらに、
前記原画像に含まれる画素の輝度値の最大値及び最小値を検出する最大最小値検出手段
を備え、
前記変換手段は、各輝度区間における前記区間加算値算出手段により算出された加算値を、((前記全輝度域の上限値−前記全輝度域の下限値)/(原画像に含まれる画素の輝度値の最大値−原画像に含まれる画素の輝度値の最小値))倍する
ことを特徴とする請求項1に記載の画像出力装置。
The image output device further includes:
A maximum / minimum value detecting means for detecting a maximum value and a minimum value of luminance values of pixels included in the original image;
The conversion means calculates the addition value calculated by the section addition value calculation means in each luminance section as ((the upper limit value of the entire luminance area−the lower limit value of the entire luminance area) / (of the pixels included in the original image). 2. The image output device according to claim 1, wherein the maximum value of the luminance value−the minimum value of the luminance value of the pixels included in the original image)) is multiplied.
前記画像出力装置は、さらに、
各画素の色差値に対し、(前記変換手段による補正後の輝度値/前記変換手段による補正前の輝度値)を乗じることにより色差値を補正する色調整手段
を備えることを特徴とする請求項1に記載の画像出力装置。
The image output device further includes:
The color adjustment unit for correcting the color difference value by multiplying the color difference value of each pixel by (the luminance value after correction by the conversion unit / the luminance value before correction by the conversion unit). 2. The image output apparatus according to 1.
各画素が所定の仕様で輝度表現された原画像を記憶し、外光の強度に応じて前記原画像の輝度を補正して出力する画像出力装置に用いられる画像出力方法であって、
前記仕様に基づいた全輝度域を均等分割した輝度区間の各々について、前記原画像の各画素の輝度値が含まれる画素数を計数する計数ステップと、
外光強度を測定する測光ステップと、
外光強度を輝度に係るオフセット値に変換する外光変換ステップと、
前記原画像内の全画素数を輝度区間の数で除算することにより区間画素数を算出し、各輝度区間について、輝度値が含まれる画素数を前記区間画素数で除算し、前記除算結果を、((前記全輝度域の上限値−前記オフセット値)/前記全輝度域の上限値)倍して、変換係数として出力する変換係数算出ステップと、
輝度区間の上限値と下限値の差分値に対し、当該輝度区間に係る変換係数を乗算することにより加算値を算出する区間加算値算出ステップと、
前記各画素の輝度値について、
当該輝度値が含まれる輝度区間について計数された前記加算値を輝度区間における当該輝度値の位置に基づき調整した調整値と、
輝度区間の上限値が、当該輝度値が含まれる輝度区間の下限値よりも小さい輝度区間の各々について前記区間加算値算出手段により算出された全加算値と、
前記オフセット値とを加算した補正輝度値で、当該輝度値を置き換える変換ステップと
を含むことを特徴とする画像出力方法。
An image output method used in an image output device that stores an original image in which each pixel is expressed in luminance with a predetermined specification, and corrects and outputs the luminance of the original image according to the intensity of external light,
A counting step for counting the number of pixels including the luminance value of each pixel of the original image for each of the luminance sections obtained by equally dividing the entire luminance area based on the specification;
A photometric step for measuring the external light intensity;
An external light conversion step of converting external light intensity into an offset value related to luminance;
By dividing the total number of pixels in the original image by the number of luminance intervals, the number of interval pixels is calculated. For each luminance interval, the number of pixels including the luminance value is divided by the number of interval pixels, and the division result is calculated. , ((The upper limit value of the entire luminance region−the offset value) / the upper limit value of the entire luminance region), and a conversion coefficient calculating step for outputting the result as a conversion coefficient;
A section addition value calculating step of calculating an addition value by multiplying the difference value between the upper limit value and the lower limit value of the brightness section by a conversion coefficient related to the brightness section;
Regarding the luminance value of each pixel,
An adjustment value obtained by adjusting the added value counted for the luminance interval including the luminance value based on the position of the luminance value in the luminance interval;
A total addition value calculated by the section addition value calculation means for each of the luminance sections in which the upper limit value of the luminance section is smaller than the lower limit value of the luminance section including the luminance value;
A conversion step of replacing the luminance value with a corrected luminance value obtained by adding the offset value .
各画素が所定の仕様で輝度表現された原画像を記憶し、外光の強度に応じて前記原画像の輝度を補正して出力する画像出力装置に用いられるコンピュータプログラムであって、
前記仕様に基づいた全輝度域を均等分割した輝度区間の各々について、前記原画像の各画素の輝度値が含まれる画素数を計数する計数ステップと、
外光強度を測定する測光ステップと、
外光強度を輝度に係るオフセット値に変換する外光変換ステップと、
前記原画像内の全画素数を輝度区間の数で除算することにより区間画素数を算出し、各輝度区間について、輝度値が含まれる画素数を前記区間画素数で除算し、前記除算結果を、((前記全輝度域の上限値−前記オフセット値)/前記全輝度域の上限値)倍して、変換係数として出力する変換係数算出ステップと、
輝度区間の上限値と下限値の差分値に対し、当該輝度区間に係る変換係数を乗算することにより加算値を算出する区間加算値算出ステップと、
前記各画素の輝度値について、
当該輝度値が含まれる輝度区間について計数された前記加算値を輝度区間における当該輝度値の位置に基づき調整した調整値と、
輝度区間の上限値が、当該輝度値が含まれる輝度区間の下限値よりも小さい輝度区間の各々について前記区間加算値算出手段により算出された全加算値と、
前記オフセット値とを加算した補正輝度値で、当該輝度値を置き換える変換ステップと
を含むことを特徴とするコンピュータプログラム。
A computer program used for an image output device that stores an original image in which each pixel is expressed in luminance according to a predetermined specification, corrects the luminance of the original image according to the intensity of external light, and outputs the corrected image.
A counting step for counting the number of pixels including the luminance value of each pixel of the original image for each of the luminance sections obtained by equally dividing the entire luminance area based on the specification;
A photometric step for measuring the external light intensity;
An external light conversion step of converting external light intensity into an offset value related to luminance;
By dividing the total number of pixels in the original image by the number of luminance intervals, the number of interval pixels is calculated. For each luminance interval, the number of pixels including the luminance value is divided by the number of interval pixels, and the division result is calculated. , ((The upper limit value of the entire luminance region−the offset value) / the upper limit value of the entire luminance region), and a conversion coefficient calculating step for outputting the result as a conversion coefficient;
A section addition value calculating step of calculating an addition value by multiplying the difference value between the upper limit value and the lower limit value of the brightness section by a conversion coefficient related to the brightness section;
Regarding the luminance value of each pixel,
An adjustment value obtained by adjusting the added value counted for the luminance interval including the luminance value based on the position of the luminance value in the luminance interval;
A total addition value calculated by the section addition value calculation means for each of the luminance sections in which the upper limit value of the luminance section is smaller than the lower limit value of the luminance section including the luminance value;
A computer program comprising: a conversion step of replacing the luminance value with a corrected luminance value obtained by adding the offset value .
JP2006004223A 2006-01-11 2006-01-11 Image output apparatus, image output method, and computer program Expired - Fee Related JP4832900B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006004223A JP4832900B2 (en) 2006-01-11 2006-01-11 Image output apparatus, image output method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006004223A JP4832900B2 (en) 2006-01-11 2006-01-11 Image output apparatus, image output method, and computer program

Publications (2)

Publication Number Publication Date
JP2007189359A JP2007189359A (en) 2007-07-26
JP4832900B2 true JP4832900B2 (en) 2011-12-07

Family

ID=38344242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006004223A Expired - Fee Related JP4832900B2 (en) 2006-01-11 2006-01-11 Image output apparatus, image output method, and computer program

Country Status (1)

Country Link
JP (1) JP4832900B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5327470B2 (en) * 2009-09-01 2013-10-30 セイコーエプソン株式会社 Image display device and image adjustment method
CN103617792B (en) * 2013-11-14 2015-09-09 天津三星电子有限公司 A kind of regulate display terminal picture to show method and display terminal
CN104581345B (en) * 2014-12-29 2017-11-24 广东欧珀移动通信有限公司 It is a kind of to adjust the method and device for showing frame
WO2017017758A1 (en) 2015-07-27 2017-02-02 Necディスプレイソリューションズ株式会社 Projector device and method for correcting color in projector device
CN110477939B (en) * 2018-05-14 2025-03-18 通用电气公司 Imaging method and device, CT system and computer readable storage medium
CN111243512B (en) 2020-02-28 2021-06-15 昆山国显光电有限公司 Gray-scale data compensation method and device and driving chip

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09190170A (en) * 1996-01-10 1997-07-22 Fuji Photo Film Co Ltd Picture display method and device
JP3997833B2 (en) * 2002-05-24 2007-10-24 ソニー株式会社 Signal processing apparatus and method, recording medium, and program
JP3889695B2 (en) * 2002-10-31 2007-03-07 三洋電機株式会社 Luminance control circuit for self-luminous display and contrast correction circuit in display device

Also Published As

Publication number Publication date
JP2007189359A (en) 2007-07-26

Similar Documents

Publication Publication Date Title
JP6598430B2 (en) Display device, display device control method, and program
JP6614859B2 (en) Display device, display device control method, image processing device, program, and recording medium
KR101927968B1 (en) METHOD AND DEVICE FOR DISPLAYING IMAGE BASED ON METADATA, AND RECORDING MEDIUM THEREFOR
JP6105925B2 (en) Image processing apparatus and image display apparatus
US11341622B2 (en) Image processing apparatus, image capturing apparatus, image processing method, and storage medium
JP4950031B2 (en) Image display device and image display method
TWI389550B (en) Brightness information display device and method
CN103369329B (en) Image adjusting apparatus and method and image adjusting system
US10249031B2 (en) Image processing apparatus, image processing method, program, and non-transitory computer-readable storage medium
JP4832900B2 (en) Image output apparatus, image output method, and computer program
JP6611543B2 (en) Image processing apparatus, image processing method, and program
JP5664261B2 (en) Image processing apparatus and image processing program
US8085315B2 (en) Imaging apparatus for enhancing appearance of image data
JP5663914B2 (en) Image display device
JP2020118783A (en) External light correction method
JP5655335B2 (en) Image processing apparatus, image display apparatus, and program
CN111727604A (en) Video projector and video display method
JP2008219230A (en) Imaging apparatus, and image processing method
US20140327695A1 (en) Image processing apparatus and control method therefor
KR100723050B1 (en) Specific color correction method and display device of display device
US12407937B2 (en) Imaging apparatus and control method for imaging apparatus
JP2006345440A (en) Image processor, image processing program
JP2010193112A (en) Image processing apparatus and digital still camera
JP2007142978A (en) Image processing method and imaging apparatus
JP2011112726A (en) Image display device and television

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110623

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110628

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110824

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110921

R150 Certificate of patent or registration of utility model

Ref document number: 4832900

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140930

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees