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
JP7601625B2 - Display device and display device control method - Google Patents
[go: Go Back, main page]

JP7601625B2 - Display device and display device control method - Google Patents

Display device and display device control method Download PDF

Info

Publication number
JP7601625B2
JP7601625B2 JP2020204288A JP2020204288A JP7601625B2 JP 7601625 B2 JP7601625 B2 JP 7601625B2 JP 2020204288 A JP2020204288 A JP 2020204288A JP 2020204288 A JP2020204288 A JP 2020204288A JP 7601625 B2 JP7601625 B2 JP 7601625B2
Authority
JP
Japan
Prior art keywords
gamma curve
luminance
correction
display device
unit
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.)
Active
Application number
JP2020204288A
Other languages
Japanese (ja)
Other versions
JP2022091446A (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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2020204288A priority Critical patent/JP7601625B2/en
Publication of JP2022091446A publication Critical patent/JP2022091446A/en
Application granted granted Critical
Publication of JP7601625B2 publication Critical patent/JP7601625B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

本発明は、表示装置および表示装置の制御方法に関する。 The present invention relates to a display device and a method for controlling the display device.

テレビジョン受像機、VTR(Video Tape Recorder)、デジタルカメラ、テレビジョンカメラおよびプリンタなどの表示装置は、画質向上のために、コントラストを調整するなど、入力画像に含まれる画素の輝度(入力画像の輝度)を補正する機能を有している。入力画像の輝度を補正する技術としては、ガンマカーブを用いる技術などが挙げられる。 Display devices such as television receivers, VTRs (Video Tape Recorders), digital cameras, television cameras, and printers have the ability to correct the brightness of pixels contained in an input image (the brightness of the input image), for example by adjusting contrast, in order to improve image quality. Techniques for correcting the brightness of an input image include techniques that use a gamma curve.

例えば、特許文献1には、補正区間設定部と、補正区間分割部と、ヒストグラム算出部と、ゲイン設定部と、ガンマカーブ生成部と、ガンマカーブ合成部と、輝度変換部と、を備える画像処理装置(表示装置)が記載されている。 For example, Patent Document 1 describes an image processing device (display device) that includes a correction interval setting unit, a correction interval division unit, a histogram calculation unit, a gain setting unit, a gamma curve generation unit, a gamma curve synthesis unit, and a luminance conversion unit.

補正区間設定部は、輝度補正処理を行う輝度レベルの範囲である補正区間を設定する。補正区間分割部は、補正区間を黒側区間と白側区間とに分割する。ヒストグラム算出部は、黒側区間および白側区間の輝度ヒストグラムの総数を算出する。 The correction interval setting unit sets a correction interval, which is a range of luminance levels for which luminance correction processing is performed. The correction interval division unit divides the correction interval into a black side interval and a white side interval. The histogram calculation unit calculates the total number of luminance histograms in the black side interval and the white side interval.

ゲイン設定部は、黒側区間および白側区間の輝度ヒストグラムの総数に基づき、輝度を上げるガンマカーブおよび輝度を下げるガンマカーブのゲインを設定する。例えば、ゲイン設定部は、黒側区間の輝度ヒストグラムの総数のほうが多い場合には、補正区間(例えば、黒側区間)の輝度を上げるゲインを設定し、白側区間の輝度ヒストグラムの総数のほうが多い場合には、補正区間の出力輝度を下げるゲインを設定する。 The gain setting unit sets the gains of the gamma curve that increases the luminance and the gamma curve that decreases the luminance based on the total number of luminance histograms in the black side section and the white side section. For example, when the total number of luminance histograms in the black side section is greater, the gain setting unit sets a gain that increases the luminance of the correction section (e.g., the black side section), and when the total number of luminance histograms in the white side section is greater, the gain setting unit sets a gain that decreases the output luminance of the correction section.

ガンマカーブ生成部は、設定されたゲインに基づき、輝度を上げるガンマカーブおよび輝度を下げるガンマカーブを生成する。ガンマカーブ合成部は、輝度を上げるガンマカーブと、輝度を下げるガンマカーブとを補正区間以外で合成する。輝度変換部は、合成されたガンマカーブを用いて補正区間内の入力輝度データに対して輝度変換処理を行う。 The gamma curve generation unit generates a gamma curve that increases luminance and a gamma curve that decreases luminance based on the set gain. The gamma curve synthesis unit synthesizes the gamma curve that increases luminance and the gamma curve that decreases luminance outside the correction interval. The luminance conversion unit performs luminance conversion processing on the input luminance data within the correction interval using the synthesized gamma curve.

特開2009-17200号公報JP 2009-17200 A

しかしながら、上述のような従来技術は、黒側区間の黒つぶれおよび白側区間の白飛びを減らすことができるが、補正区間のうち、中輝度領域を補正するガンマカーブは生成しないため、入力画像全体における各輝度に対して適切な補正をすることができない。 However, while the conventional technology described above can reduce crushed blacks in the black section and blown whites in the white section, it does not generate a gamma curve that corrects the mid-luminance region of the correction section, and therefore cannot perform appropriate correction for each luminance in the entire input image.

そのため、上述のような従来技術では、例えば、入力画像を補正すると、特定の輝度領域が過度に強調されてしまい、自然なコントラストとならない。すなわち、画像全体のコントラストを高めることができない。 Therefore, when the input image is corrected using the conventional techniques described above, for example, certain brightness areas are overemphasized, resulting in a lack of natural contrast. In other words, the contrast of the entire image cannot be increased.

本発明一態様は、特定の輝度の領域が過度に強調されず、自然なコントラストとなるように入力画像を補正することを目的とする。 One aspect of the present invention aims to correct an input image so that areas of specific luminance are not overly emphasized and a natural contrast is achieved.

上記の課題を解決するために、本発明の一態様に係る表示装置は、補正前輝度と補正後輝度との関係を表すガンマカーブに基づいて入力画像の輝度を補正する表示装置であって、前記入力画像の輝度分布に基づき、ガンマカーブを生成するガンマカーブ生成部と、前記ガンマカーブ生成部が生成した前記ガンマカーブを、あらかじめ設定された参照ガンマカーブとの差異が第1の所定範囲に収まるように補正するガンマカーブ補正部と、前記ガンマカーブ補正部が補正した前記ガンマカーブに基づいて前記入力画像の輝度を補正する輝度補正部と、を備えることを特徴とする。 To solve the above problem, a display device according to one aspect of the present invention is a display device that corrects the luminance of an input image based on a gamma curve that represents the relationship between pre-correction luminance and post-correction luminance, and is characterized in that it includes a gamma curve generation unit that generates a gamma curve based on the luminance distribution of the input image, a gamma curve correction unit that corrects the gamma curve generated by the gamma curve generation unit so that the difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range, and a luminance correction unit that corrects the luminance of the input image based on the gamma curve corrected by the gamma curve correction unit.

また、本発明の一態様に係る表示装置の制御方法は、補正前輝度と補正後輝度との関係を表すガンマカーブに基づいて入力画像の輝度を補正する表示装置の制御方法であって、前記表示装置が、前記入力画像の輝度分布に基づき、ガンマカーブを生成するガンマカーブ生成工程と、前記表示装置が、前記ガンマカーブ生成工程において生成した前記ガンマカーブを、あらかじめ設定された参照ガンマカーブとの差異が第1の所定範囲に収まるように補正するガンマカーブ補正工程と、前記表示装置が、前記ガンマカーブ補正工程において補正した前記ガンマカーブに基づいて前記入力画像の輝度を補正する輝度補正工程と、を含むことを特徴とする。 A display device control method according to one aspect of the present invention is a display device control method that corrects the luminance of an input image based on a gamma curve that represents the relationship between pre-correction luminance and post-correction luminance, and is characterized in that the display device includes a gamma curve generation process in which the display device generates a gamma curve based on the luminance distribution of the input image, a gamma curve correction process in which the display device corrects the gamma curve generated in the gamma curve generation process so that the difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range, and a luminance correction process in which the display device corrects the luminance of the input image based on the gamma curve corrected in the gamma curve correction process.

本発明の一態様によれば、特定の輝度の領域が過度に強調されず、自然なコントラストとなるように入力画像を補正することができる。 According to one aspect of the present invention, an input image can be corrected so that areas of specific luminance are not overly emphasized and a natural contrast is achieved.

実施形態1に係る表示装置の構成を示すブロック図である。1 is a block diagram showing a configuration of a display device according to a first embodiment. 実施形態1に関わる表示装置の外観を示す概略図である。1 is a schematic diagram showing an external appearance of a display device according to a first embodiment. 入力画像の第1のヒストグラムの一例を示す図である。FIG. 4 is a diagram illustrating an example of a first histogram of an input image. 第2のヒストグラムの一例を示す図である。FIG. 11 is a diagram illustrating an example of a second histogram. 生成されたガンマカーブ、および、生成されたガンマカーブのヒストグラムの一例を示す図である。11A and 11B are diagrams illustrating an example of a generated gamma curve and a histogram of the generated gamma curve. 生成されたガンマカーブの補正について説明するための図である。11A and 11B are diagrams for explaining correction of a generated gamma curve. ガンマカーブの複数の区間への分割について説明するための図である。FIG. 2 is a diagram for explaining division of a gamma curve into a plurality of sections. 補正されたガンマカーブ、および、補正されたガンマカーブのヒストグラムの一例を示す図である。11A and 11B are diagrams illustrating an example of a corrected gamma curve and a histogram of the corrected gamma curve. 実施形態1に係る表示装置の制御方法を示すフローチャートである。4 is a flowchart showing a control method of the display device according to the first embodiment. 実施形態2に係る表示装置の構成を示すブロック図である。FIG. 11 is a block diagram showing a configuration of a display device according to a second embodiment. 生成されたガンマカーブの複数の区間への分割について説明するための図である。FIG. 11 is a diagram for explaining division of a generated gamma curve into a plurality of sections. 実施形態2に係る表示装置の制御方法を示すフローチャートである。10 is a flowchart showing a control method of the display device according to the second embodiment.

<実施形態1>
以下、図1~9を用いて、実施形態1に係る表示装置1および表示装置1の制御方法を説明する。
<Embodiment 1>
A display device 1 according to the first embodiment and a method for controlling the display device 1 will be described below with reference to FIGS.

〔表示装置1〕
表示装置1は、補正前輝度と補正後輝度との関係を表すガンマカーブに基づいて入力画像の輝度を補正する表示装置である。
[Display device 1]
The display device 1 is a display device that corrects the luminance of an input image based on a gamma curve that represents the relationship between pre-correction luminance and post-correction luminance.

図1は、実施形態1に係る表示装置1の構成を示す図である。図2は、実施形態1に係る表示装置1の外観を示す概略図である。図1のように、表示装置1は、入力画像取得部11と、ガンマカーブ生成部12と、ガンマカーブ補正部13と、輝度補正部14と、表示部15と、を備えている。 Fig. 1 is a diagram showing the configuration of a display device 1 according to embodiment 1. Fig. 2 is a schematic diagram showing the external appearance of the display device 1 according to embodiment 1. As shown in Fig. 1, the display device 1 includes an input image acquisition unit 11, a gamma curve generation unit 12, a gamma curve correction unit 13, a luminance correction unit 14, and a display unit 15.

[入力画像取得部11]
入力画像取得部11は、例えば、放送波を受信する受信部(図示せず)、外部装置(BDプレイヤー、DVDプレイヤー、パーソナルコンピュータおよびゲーム機器など)からの入力を受け付ける入力部(図示せず)、記録媒体(図示せず)を読み取る読取部(図示せず)などから入力画像を取得する。
[Input image acquisition unit 11]
The input image acquisition unit 11 acquires input images from, for example, a receiving unit (not shown) that receives broadcast waves, an input unit (not shown) that accepts input from an external device (such as a BD player, a DVD player, a personal computer, or a game device), or a reading unit (not shown) that reads a recording medium (not shown).

[ガンマカーブ生成部12]
ガンマカーブ生成部12は、入力画像の輝度分布に基づき、ガンマカーブを生成する。図1に示す例では、ガンマカーブ生成部12は、第1のヒストグラム生成部121と、第2のヒストグラム生成部122とを備えている。
[Gamma curve generator 12]
The gamma curve generator 12 generates a gamma curve based on the luminance distribution of the input image. In the example shown in FIG. 1, the gamma curve generator 12 includes a first histogram generator 121 and a second histogram generator 122.

ガンマカーブ生成部12は、入力画像の輝度の第1のヒストグラムを生成した後、第1のヒストグラムに基づいて入力画像の輝度の累積ヒストグラムである第2のヒストグラムを生成し、第2のヒストグラムに基づいてガンマカーブを生成する。 The gamma curve generating unit 12 generates a first histogram of the luminance of the input image, then generates a second histogram, which is a cumulative histogram of the luminance of the input image, based on the first histogram, and generates a gamma curve based on the second histogram.

例えば、ガンマカーブ生成部12は、第2のヒストグラムである累積ヒストグラムの形状に沿うようにガンマカーブを生成する。 For example, the gamma curve generation unit 12 generates a gamma curve that conforms to the shape of the cumulative histogram, which is the second histogram.

このように、入力画像の輝度の累積ヒストグラムに基づき、ガンマカーブを生成することにより、全ての輝度の度数がより好適に平坦化されるようにガンマカーブを生成することができる。 In this way, by generating a gamma curve based on the cumulative histogram of luminance of the input image, a gamma curve can be generated that more appropriately flattens the frequencies of all luminance.

以下、第1のヒストグラム生成部121および第2のヒストグラム生成部122について詳細に説明する。 The first histogram generation unit 121 and the second histogram generation unit 122 are described in detail below.

(第1のヒストグラム生成部121)
第1のヒストグラム生成部121は、入力画像取得部11が取得した入力画像に含まれる画素の輝度に基づき、入力画像に含まれる画素の輝度と、当該入力画像における各輝度の度数との関係を示す第1のヒストグラムを生成する。
(First histogram generating unit 121)
The first histogram generation unit 121 generates a first histogram indicating the relationship between the luminance of pixels included in the input image acquired by the input image acquisition unit 11 and the frequency of each luminance in the input image, based on the luminance of pixels included in the input image acquired by the input image acquisition unit 11.

(第2のヒストグラム生成部122)
第2のヒストグラム生成部122は、第1のヒストグラム生成部121が生成した第1のヒストグラムに基づき、第2のヒストグラムを生成する。
(Second histogram generating unit 122)
The second histogram generating unit 122 generates a second histogram based on the first histogram generated by the first histogram generating unit 121 .

具体的には、第2のヒストグラム生成部122は、第1のヒストグラムに基づき、入力画像に含まれる画素の輝度と、当該入力画像に含まれる画素の輝度のうち、ある輝度以下の合計度数である累積相対度数との関係を示す累積ヒストグラムを第2のヒストグラムとして生成する。 Specifically, the second histogram generating unit 122 generates, based on the first histogram, a cumulative histogram that indicates the relationship between the luminance of pixels included in the input image and the cumulative relative frequency, which is the total frequency of the luminance of pixels included in the input image that is equal to or lower than a certain luminance, as the second histogram.

〔ガンマカーブ生成部12によるガンマカーブ生成例〕
以下、図3~5を用いて、ガンマカーブ生成部12によるガンマカーブの生成の一例を説明する。
[Example of gamma curve generation by the gamma curve generation unit 12]
An example of the generation of a gamma curve by the gamma curve generator 12 will be described below with reference to FIGS.

図3は、入力画像の第1のヒストグラムの一例を示す図である。図4は、第2のヒストグラムの一例を示す図である。図5は、生成されたガンマカーブC1、および、生成されたガンマカーブC1のヒストグラムを示す図である。 Figure 3 shows an example of a first histogram of an input image. Figure 4 shows an example of a second histogram. Figure 5 shows the generated gamma curve C1 and the histogram of the generated gamma curve C1.

(第1のヒストグラム生成部121による第1のヒストグラム生成例)
まず、ガンマカーブ生成部12における第1のヒストグラム生成部121は、入力画像取得部11が取得した入力画像に含まれる画素の輝度に基づき、図3のように、入力画像に含まれる画素の輝度と、当該入力画像における各輝度の度数との関係を示す第1のヒストグラムを生成する。図3のように、入力画像の第1のヒストグラムは、特定の輝度の度数が高く、偏りが生じている。
(Example of First Histogram Generation by First Histogram Generator 121)
First, the first histogram generating unit 121 in the gamma curve generating unit 12 generates a first histogram indicating the relationship between the luminance of pixels included in the input image and the frequency of each luminance in the input image, as shown in Fig. 3, based on the luminance of pixels included in the input image acquired by the input image acquiring unit 11. As shown in Fig. 3, the first histogram of the input image has a high frequency of a particular luminance, causing a bias.

(第2のヒストグラム生成部122による第2のヒストグラム生成例)
次に、第2のヒストグラム生成部122は、第1のヒストグラムに基づき、図4のように、入力画像に含まれる画素の輝度と、当該入力画像における各輝度の累積相対度数との関係を示す累積ヒストグラムを第2のヒストグラムとして生成する。
(Example of Generation of Second Histogram by Second Histogram Generator 122)
Next, based on the first histogram, the second histogram generation unit 122 generates a cumulative histogram as a second histogram, which shows the relationship between the luminance of pixels contained in the input image and the cumulative relative frequency of each luminance in the input image, as shown in Figure 4.

(ガンマカーブ生成部12によるガンマカーブ生成例)
次に、ガンマカーブ生成部12は、第2のヒストグラムである累積ヒストグラムに基づき、図5の生成されたガンマカーブC1の図に示すガンマカーブC1を生成する。これにより、図5の生成されたガンマカーブC1のヒストグラムを示す図のように、各補正輝度に対する度数の偏りが少なくなる。
(Example of gamma curve generation by the gamma curve generator 12)
Next, the gamma curve generator 12 generates a gamma curve C1 shown in the diagram of the generated gamma curve C1 in Fig. 5 based on the cumulative histogram, which is the second histogram. This reduces the bias in the frequency for each correction luminance, as shown in the diagram of the generated gamma curve C1 in Fig. 5.

このように、ガンマカーブを生成することによって、第2のヒストグラムなどのヒストグラムの度数を平坦化することができる。また、第2のヒストグラムである累積ヒストグラムに基づき、ガンマカーブを生成することにより、全ての輝度の度数がより好適に平坦化されるようにガンマカーブを生成することができる。 In this way, by generating a gamma curve, it is possible to flatten the frequencies of histograms such as the second histogram. Also, by generating a gamma curve based on a cumulative histogram, which is the second histogram, it is possible to generate a gamma curve that more suitably flattens the frequencies of all luminances.

[ガンマカーブ補正部13]
ガンマカーブ補正部13は、ガンマカーブ生成部12が生成したガンマカーブを、あらかじめ設定された参照ガンマカーブとの差異が第1の所定範囲に収まるように補正する。
[Gamma curve correction unit 13]
The gamma curve correction unit 13 corrects the gamma curve generated by the gamma curve generation unit 12 so that the difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range.

ガンマカーブ生成部12が生成したガンマカーブを補正せずに用いて入力画像の輝度を補正すると、白飛びおよび黒つぶれなどが発生する可能性がある。 If the luminance of an input image is corrected using the gamma curve generated by the gamma curve generation unit 12 without correction, there is a possibility that highlight blowout and shadow crush will occur.

これに対し、本実施形態では、ガンマカーブ補正部13によって補正されたガンマカーブに基づいて入力画像の輝度を補正する。これにより、特定の輝度の領域が過度に強調され、白飛びおよび黒つぶれが生じることを防ぎつつ、自然なコントラストとなるように入力画像の輝度を補正することができる。 In contrast, in this embodiment, the luminance of the input image is corrected based on the gamma curve corrected by the gamma curve correction unit 13. This makes it possible to correct the luminance of the input image to achieve a natural contrast while preventing areas of specific luminance from being overemphasized, resulting in blown-out highlights and crushed shadows.

参照ガンマカーブは、ガンマカーブ生成部12が生成したガンマカーブにゲインをかけて補正する際に基準となるカーブであり、参照ガンマカーブの形状に応じて、補正後のガンマカーブの形状が変化する。参照ガンマカーブの形状は特に限定されないが、線形であってもよい。 The reference gamma curve is a curve that serves as a reference when correcting the gamma curve generated by the gamma curve generation unit 12 by applying a gain, and the shape of the gamma curve after correction changes depending on the shape of the reference gamma curve. The shape of the reference gamma curve is not particularly limited, but may be linear.

参照ガンマカーブが線形であることにより、生成したガンマカーブの特定の輝度領域が過度に強調されないようにガンマカーブをより好適に補正することができる。これにより、画像全体のコントラストを高めつつ、自然なコントラストの画像となるようにより好適に補正可能なガンマカーブに補正することができる。 By using a linear reference gamma curve, the gamma curve can be more appropriately corrected so that specific luminance regions of the generated gamma curve are not overly emphasized. This allows for a more appropriately corrected gamma curve that increases the contrast of the entire image while creating an image with natural contrast.

また、参照ガンマカーブは、黒側区間などの低輝度を下げたものであってもよい。これにより、コントラストが強調されるように、入力画像を補正することができる。 The reference gamma curve may also be one that reduces low luminance such as the black side section. This allows the input image to be corrected so that the contrast is emphasized.

一態様において、第1の所定範囲は、参照ガンマカーブを中心として、補正前輝度および補正後輝度が取りうる値の最大値に対して絶対値が10%以下となる範囲であってもよい。例えば、第1の所定範囲は、参照ガンマカーブを中心として、補正前輝度および補正後輝度の最大値の10%が減算された値から10%が加算された値までの範囲であってもよい。 In one aspect, the first predetermined range may be a range in which the absolute value is 10% or less of the maximum possible value of the pre-correction luminance and the post-correction luminance, centered on the reference gamma curve. For example, the first predetermined range may be a range from a value obtained by subtracting 10% from the maximum possible value of the pre-correction luminance and the post-correction luminance, centered on the reference gamma curve, to a value obtained by adding 10% to the maximum possible value of the pre-correction luminance and the post-correction luminance.

第1の所定範囲がこのような範囲であることにより、最終的に特定の輝度の領域が過度に強調されることをより好適に防ぎ、自然なコントラストとなるように入力画像全体の各輝度に対してより適切な補正することができる。 By setting the first predetermined range as such, it is possible to more effectively prevent areas of specific brightness from being overemphasized in the end, and to more appropriately correct each brightness of the entire input image to achieve a natural contrast.

なお、上述の例では、第1の所定範囲は、参照ガンマカーブを中心として、補正前輝度および補正後輝度が取りうる値の最大値に対して絶対値が10%以下となる範囲となっている。ただし、第1の所定範囲は、最終的に特定の輝度の領域が過度に強調されることを防ぎ、自然なコントラストとなるように入力画像全体の各輝度に対して適切な補正可能なガンマカーブに補正できる範囲であれば、任意の範囲であってよい。 In the above example, the first predetermined range is a range in which the absolute value of the pre-correction luminance and post-correction luminance is 10% or less of the maximum possible value centered on the reference gamma curve. However, the first predetermined range may be any range as long as it is a range in which a gamma curve that can be appropriately corrected for each luminance of the entire input image can be corrected to a natural contrast while preventing a specific luminance area from being overly emphasized.

例えば、第1の所定範囲は、参照ガンマカーブを中心として、補正前輝度および補正後輝度の最大値の5%が減算された値から15%が加算された値までの範囲であってもよい。また、第1の所定範囲は、参照ガンマカーブを中心として、補正前輝度および補正後輝度の最大値の15%が減算された値から5%が加算された値までの範囲であってもよい。 For example, the first predetermined range may be a range from a value obtained by subtracting 5% of the maximum value of the pre-correction luminance and the post-correction luminance to a value obtained by adding 15% of the maximum value of the pre-correction luminance and the post-correction luminance, with the reference gamma curve at the center. The first predetermined range may also be a range from a value obtained by subtracting 15% of the maximum value of the pre-correction luminance and the post-correction luminance to a value obtained by adding 5% of the maximum value of the pre-correction luminance and the post-correction luminance, with the reference gamma curve at the center.

図1に示すように、ガンマカーブ補正部13は、区間分割部(ガンマカーブ補正部)141と、補正量決定部(ガンマカーブ補正部)142とを備えている。 As shown in FIG. 1, the gamma curve correction unit 13 includes a section division unit (gamma curve correction unit) 141 and a correction amount determination unit (gamma curve correction unit) 142.

(区間分割部131)
区間分割部131は、ガンマカーブを複数の区間に分割する。これにより、第2のヒストグラムなどのヒストグラムを平坦化したガンマカーブの特徴が失われるほどガンマカーブの原型を崩さないように、区間毎に好適にガンマカーブを補正することができる。その結果、補正後のガンマカーブに基づき、ヒストグラムを平坦化した効果を維持しつつ、黒つぶれおよび白飛びを防ぎ、自然なコントラストとなるように入力画像の輝度を補正することができる。
(Section division unit 131)
The section division unit 131 divides the gamma curve into a plurality of sections. This makes it possible to appropriately correct the gamma curve for each section without destroying the original shape of the gamma curve to such an extent that the characteristics of the gamma curve obtained by flattening a histogram such as the second histogram are lost. As a result, based on the corrected gamma curve, it is possible to correct the luminance of the input image to achieve a natural contrast by preventing crushed shadows and blown highlights while maintaining the effect of flattening the histogram.

区間分割部131は、ガンマカーブ生成部12が生成したガンマカーブと参照ガンマカーブとの交点、および、ガンマカーブ生成部12が生成したガンマカーブ上の隣り合う前記交点間の点の少なくとも一方に基づき、ガンマカーブを複数の区間に分割してもよい。これにより、第2のヒストグラムなどのヒストグラムを平坦化したガンマカーブの特徴が失われるほどガンマカーブの原型を崩さないように、区間毎により好適にガンマカーブを補正することができる。 The interval division unit 131 may divide the gamma curve into a plurality of intervals based on at least one of the intersections between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve and the points between adjacent intersections on the gamma curve generated by the gamma curve generation unit 12. This makes it possible to more appropriately correct the gamma curve for each interval without destroying the original shape of the gamma curve to the extent that the characteristics of the gamma curve obtained by flattening a histogram such as the second histogram are lost.

例えば、区間分割部131は、上述の交点と、ガンマカーブ生成部12が生成したガンマカーブ上において、ガンマカーブ生成部12が生成したガンマカーブと参照ガンマカーブとの差異が極大となる点から第2の所定範囲内となる点とに基づき、ガンマカーブを複数の区間に分割してもよい。これにより、第2のヒストグラムなどのヒストグラムを平坦化したガンマカーブの特徴が失われるほどガンマカーブの原型を崩さないように、区間毎にさらに好適にガンマカーブを補正することができる。 For example, the interval division unit 131 may divide the gamma curve into multiple intervals based on the above-mentioned intersection point and a point on the gamma curve generated by the gamma curve generation unit 12 that is within a second predetermined range from the point where the difference between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve is maximized. This makes it possible to more appropriately correct the gamma curve for each interval without destroying the original shape of the gamma curve to the extent that the characteristics of a gamma curve that flattens a histogram such as the second histogram are lost.

一態様において、第2の所定範囲は、ガンマカーブ生成部12が生成したガンマカーブと参照ガンマカーブとの差異が極大となる点を中心として、補正前輝度および補正後輝度が取りうる値の最大値に対して絶対値が10%以下となる範囲であってもよい。例えば、第2の所定範囲は、ガンマカーブ生成部12が生成したガンマカーブと参照ガンマカーブとの差異が極大となる点を中心として、補正前輝度および補正後輝度の最大値の10%が減算された値から10%が加算された値までの範囲であってもよい。 In one aspect, the second predetermined range may be a range in which the absolute value of the maximum possible value of the pre-correction luminance and the post-correction luminance is 10% or less, centered on the point where the difference between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve is maximum. For example, the second predetermined range may be a range from a value obtained by subtracting 10% of the maximum value of the pre-correction luminance and the post-correction luminance to a value obtained by adding 10%, centered on the point where the difference between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve is maximum.

第2の所定範囲がこのような範囲であることにより、ヒストグラムを平坦化した効果を維持できるように、さらに好適にガンマカーブを補正することができる。 By setting the second predetermined range to this range, the gamma curve can be corrected more appropriately so as to maintain the effect of flattening the histogram.

なお、上述の例では、第2の所定範囲は、ガンマカーブ生成部12が生成したガンマカーブと参照ガンマカーブとの差異が極大となる点を中心として、補正前輝度および補正後輝度が取りうる値の最大値に対して絶対値が10%以下となる範囲となっている。ただし、第2の所定範囲としては、第2のヒストグラムなどのヒストグラムを平坦化したガンマカーブの特徴が失われないように、区間毎に好適にガンマカーブを補正するという効果を得られる範囲であれば任意の範囲であってもよい。 In the above example, the second predetermined range is a range in which the absolute value of the maximum possible value of the pre-correction luminance and post-correction luminance is 10% or less, centered on the point where the difference between the gamma curve generated by the gamma curve generating unit 12 and the reference gamma curve is maximum. However, the second predetermined range may be any range that can obtain the effect of appropriately correcting the gamma curve for each section so as not to lose the characteristics of the gamma curve obtained by flattening a histogram such as the second histogram.

例えば、第2の所定範囲は、ガンマカーブ生成部12が生成したガンマカーブと参照ガンマカーブとの差異が極大となる点を中心として、補正前輝度および補正後輝度が取りうる値の最大値の5%が減算された値から15%が加算された値までの範囲であってもよい。また、第2の所定範囲は、ガンマカーブ生成部12が生成したガンマカーブと参照ガンマカーブとの差異が極大となる点を中心として、補正前輝度および補正後輝度が取りうる値の最大値の15%が減算された値から5%が加算された値までの範囲であってもよい。 For example, the second predetermined range may be a range from a value obtained by subtracting 5% of the maximum possible value of the pre-correction luminance and the post-correction luminance to a value obtained by adding 15% thereto, with the point at which the difference between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve at its maximum center. Also, the second predetermined range may be a range from a value obtained by subtracting 15% of the maximum possible value of the pre-correction luminance and the post-correction luminance to a value obtained by adding 5% thereto, with the point at which the difference between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve at its maximum center.

ガンマカーブを分割する区間の数としては、2以上4以下であることが好ましい。ガンマカーブを分割する区間の数が2以上4以下であることにより、第2のヒストグラムなどのヒストグラムを平坦化したガンマカーブの特徴が失われるほどガンマカーブの原型を崩さないように、区間毎により好適にガンマカーブを補正することができる。 The number of sections into which the gamma curve is divided is preferably 2 or more and 4 or less. By dividing the gamma curve into 2 or more and 4 or less sections, the gamma curve can be corrected more appropriately for each section without destroying the original shape of the gamma curve to the extent that the characteristics of the gamma curve obtained by flattening a histogram such as the second histogram are lost.

〔区間分割部131によるガンマカーブの区間分割例〕
(区間分割部131によるガンマカーブの区間分割例1)
以下、図6を用いて、区間分割部131によるガンマカーブの区間の分割の一例を説明する。図6は、生成されたガンマカーブの補正について説明するための図である。
[Example of section division of gamma curve by section division unit 131]
(Example 1 of Section Division of Gamma Curve by Section Division Unit 131)
An example of division of a gamma curve into sections by the section division unit 131 will be described below with reference to Fig. 6. Fig. 6 is a diagram for explaining correction of a generated gamma curve.

区間分割部131は、ガンマカーブ生成部12が生成したガンマカーブC1と参照ガンマカーブC2との交点P1、P3およびP5、ならびに、ガンマカーブC1における隣り合う交点P1、P3およびP5間のうち、ガンマカーブC1と参照ガンマカーブC2との差異が極大となる点P2およびP4に基づき、ガンマカーブC1を複数の区間に分割する。 The section division unit 131 divides the gamma curve C1 into a number of sections based on the intersection points P1, P3, and P5 between the gamma curve C1 generated by the gamma curve generation unit 12 and the reference gamma curve C2, and on the points P2 and P4 between adjacent intersection points P1, P3, and P5 on the gamma curve C1 where the difference between the gamma curve C1 and the reference gamma curve C2 is maximum.

具体的には、区間分割部131は、交点P1、P3およびP5、ならびに、ガンマカーブC1と参照ガンマカーブC2との差異が極大となる点P2およびP4を分割点とし、これらの分割点に囲まれた区間S1、S2、S3およびS4にガンマカーブC1を分割する。 Specifically, the interval division unit 131 divides the gamma curve C1 into intervals S1, S2, S3, and S4 surrounded by intersection points P1, P3, and P5, and points P2 and P4 where the difference between the gamma curve C1 and the reference gamma curve C2 is maximum, as division points.

これにより、第2のヒストグラムなどのヒストグラムを平坦化したガンマカーブの特徴が失われるほどガンマカーブの原型を崩さないように、区間毎に好適にガンマカーブを補正することができる。 This allows the gamma curve to be appropriately corrected for each section without distorting the original shape of the gamma curve so much that the characteristics of the gamma curve obtained by flattening a histogram such as the second histogram are lost.

(区間分割部131によるガンマカーブの区間分割例2)
以下、図7を用いて、区間分割部131によるガンマカーブの区間の分割の別の一例を説明する。図7は、ガンマカーブC1の複数の区間への分割について説明するための図である。
(Example 2 of Section Division of Gamma Curve by Section Division Unit 131)
Another example of division of a gamma curve into sections by the section division section 131 will be described below with reference to Fig. 7. Fig. 7 is a diagram for explaining division of a gamma curve C1 into a plurality of sections.

区間分割部131は、ガンマカーブ生成部12が生成したガンマカーブC1と参照ガンマカーブC2との交点P1、P3およびP5、ならびに、ガンマカーブC1における隣り合う交点P1、P3およびP5間のうち、ガンマカーブC1と参照ガンマカーブC2との差異が極大となる点P2およびP4から第2の所定範囲R2内となる点P6およびP7に基づき、ガンマカーブC1を複数の区間に分割する。 The section division unit 131 divides the gamma curve C1 into a plurality of sections based on the intersection points P1, P3, and P5 between the gamma curve C1 generated by the gamma curve generation unit 12 and the reference gamma curve C2, and on points P6 and P7 between adjacent intersection points P1, P3, and P5 on the gamma curve C1 that are within a second predetermined range R2 from points P2 and P4 where the difference between the gamma curve C1 and the reference gamma curve C2 is maximum.

具体的には、区間分割部131は、交点P1、P3およびP5、ならびに、ガンマカーブC1と参照ガンマカーブC2との差異が極大となる点P2およびP4から第2の所定範囲R2内となる点P6およびP7を分割点とし、これらの分割点に囲まれた区間S1a、S2a、S3aおよびS4aにガンマカーブC1を分割する。 Specifically, the section division unit 131 divides the gamma curve C1 into sections S1a, S2a, S3a, and S4a surrounded by intersection points P1, P3, and P5, as well as points P6 and P7 that are within a second predetermined range R2 from points P2 and P4 where the difference between the gamma curve C1 and the reference gamma curve C2 is at a maximum.

図7に示す第2の所定範囲R2は、ガンマカーブC1と参照ガンマカーブC2との差異が極大となる点P2およびP4を中心として、補正前輝度の最大値である図7のX軸の最大値の10%が減算された値から10%が加算された値までの範囲であり、かつ、補正後輝度の最大値である図7のY軸の最大値の10%が減算された値から10%が加算された値までの範囲である。また、点P6および点P7のX軸の値は、それぞれ、点P2および点P4の補正前輝度に、補正前輝度の最大値である図7のX軸の最大値の10%が加算された値である。 The second predetermined range R2 shown in FIG. 7 is centered on points P2 and P4 where the difference between gamma curve C1 and reference gamma curve C2 is maximum, and is a range from a value obtained by subtracting 10% of the maximum value on the X axis in FIG. 7, which is the maximum value of the pre-correction luminance, to a value obtained by adding 10%, and from a value obtained by subtracting 10% of the maximum value on the Y axis in FIG. 7, which is the maximum value of the post-correction luminance, to a value obtained by adding 10%. In addition, the X-axis values of points P6 and P7 are the pre-correction luminances of points P2 and P4, respectively, plus 10% of the maximum value on the X axis in FIG. 7, which is the maximum value of the pre-correction luminance.

(補正量決定部142)
補正量決定部142は、参照ガンマカーブとの差異が第1の所定範囲に収まるように、ガンマカーブ生成部12が生成したガンマカーブの補正量を決定する。
(Correction Amount Determination Unit 142)
The correction amount determination unit 142 determines the amount of correction for the gamma curve generated by the gamma curve generation unit 12 so that the difference from the reference gamma curve falls within a first predetermined range.

例えば、補正量決定部142は、ガンマカーブを複数の区間に分割した区間毎に、参照ガンマカーブとの差異が第1の所定範囲に収まるように、当該区間におけるガンマカーブの補正量を決定する。 For example, the correction amount determination unit 142 determines the amount of correction for the gamma curve in each of the multiple sections into which the gamma curve is divided, so that the difference from the reference gamma curve falls within a first predetermined range.

このように、分割した区間毎に、ガンマカーブの補正量を決定し、分割した区間毎に局所的に補正量に応じたゲインをガンマカーブにかけて補正することにより、不自然な画像にならない範囲でコントラストを向上させるように、入力画像をより好適に補正できる。 In this way, by determining the amount of gamma curve correction for each divided section and locally applying a gain corresponding to the amount of correction to the gamma curve for each divided section, the input image can be more suitably corrected to improve contrast without creating an unnatural image.

(補正量決定部142によるガンマカーブの補正量決定例)
以下、図6および8を用いて、補正量決定部142によるガンマカーブの補正量の決定の一例を説明する。図8は、補正されたガンマカーブC1a、および、補正されたガンマカーブC1aのヒストグラムを示す図である。
(Example of gamma curve correction amount determination by the correction amount determination unit 142)
An example of how the correction amount determination unit 142 determines the correction amount of the gamma curve will be described below with reference to Figures 6 and 8. Figure 8 is a diagram showing a corrected gamma curve C1a and a histogram of the corrected gamma curve C1a.

補正量決定部142は、分割点に囲まれた区間S1、S2、S3およびS4毎に、参照ガンマカーブC2との差異L1およびL2が第1の所定範囲R1に収まるように、各区間におけるガンマカーブC1の補正量を決定する。 The correction amount determination unit 142 determines the correction amount of the gamma curve C1 in each section S1, S2, S3, and S4 surrounded by the division points so that the differences L1 and L2 from the reference gamma curve C2 fall within a first predetermined range R1.

図6に示す第1の所定範囲R1は、参照ガンマカーブC2を中心として、補正前輝度の最大値である図6の横軸の最大値の10%が減算された値から10%が加算された値までの範囲であり、かつ、補正後輝度の最大値である図6のY軸の最大値の10%が減算された値から10%が加算された値までの範囲である。 The first predetermined range R1 shown in FIG. 6 is centered on the reference gamma curve C2 and ranges from a value obtained by subtracting 10% from the maximum value on the horizontal axis in FIG. 6, which is the maximum value of the pre-correction luminance, to a value obtained by adding 10%, and from a value obtained by subtracting 10% from the maximum value on the Y axis in FIG. 6, which is the maximum value of the post-correction luminance, to a value obtained by adding 10%.

(区間S1およびS2におけるガンマカーブC1の補正量の決定)
区間S1およびS2では、ガンマカーブC1と参照ガンマカーブC2との差異が極大となる点P2から垂線を下ろした参照ガンマカーブC2までの差異である、参照ガンマカーブC2との差異L1は第1の所定範囲R1に収まっている。
(Determination of the correction amount of the gamma curve C1 in the sections S1 and S2)
In sections S1 and S2, the difference L1 from the reference gamma curve C2, which is the difference from point P2 where the difference between the gamma curve C1 and the reference gamma curve C2 is maximized, falls within a first predetermined range R1.

このように、L1≦R1の場合、補正量決定部142は、区間S1およびS2におけるガンマカーブC1に乗算するゲイン(補正量)αの値を1に決定し、ガンマカーブC1を以下の式(1)に示すガンマカーブC1aに補正するようにガンマカーブC1の補正量を決定する。
Yout(X)=α*(Yin(X)-X)+Yref(X)・・・(1)
ここで、Xは図6のグラフのX軸の座標、Yは図6のグラフのY軸の座標、Yin(X)はガンマカーブC1、Yout(X)は補正後のガンマカーブC1a、Yref(X)は参照ガンマカーブC2を示す。
In this way, when L1≦R1, the correction amount determination unit 142 determines the value of the gain (correction amount) α to be multiplied by the gamma curve C1 in sections S1 and S2 to be 1, and determines the correction amount of the gamma curve C1 so as to correct the gamma curve C1 to the gamma curve C1a shown in the following equation (1).
Yout(X)=α*(Yin(X)-X)+Yref(X)...(1)
Here, X is the X-axis coordinate of the graph in FIG. 6, Y is the Y-axis coordinate of the graph in FIG. 6, Yin(X) is the gamma curve C1, Yout(X) is the corrected gamma curve C1a, and Yref(X) is the reference gamma curve C2.

このように補正量を決定することにより、低輝度の黒側区間である区間S1およびS2では、第2のヒストグラムである累積ヒストグラムなどのヒストグラムを平坦化したガンマカーブの形状を維持し、ヒストグラムを平坦化した効果を維持することができる。 By determining the correction amount in this manner, in sections S1 and S2, which are the low-luminance black side sections, the shape of the gamma curve obtained by flattening a histogram such as the cumulative histogram, which is the second histogram, can be maintained, and the effect of flattening the histogram can be maintained.

なお、上述の例では、補正量決定部142は、参照ガンマカーブC2との差異L1と第1の所定範囲R1との大小に応じて、区間S1およびS2におけるガンマカーブC1に乗算するゲインαを1に決定している。ただし、本実施形態では、補正量決定部142は、区間毎に、各区間の始点および終点のX座標を示すaおよびbを用いて、以下の式(2)および(3)に基づき、各区間におけるガンマカーブC1に乗算するゲインαを決定してもよい。
|(Yin(a)-a)-(Yin(b)-b)|>R1の場合、α=R1/|(Yin(a)-a)-(Yin(b)-b)|・・・(2)
|(Yin(a)-a)-(Yin(b)-b)|≦R1の場合、α=1・・・(3)
すなわち、補正量決定部142は、区間S1では、区間S1の始点であるX1および区間S1の終点であるX2を用いて、|(Yin(X1)-X1)-(Yin(X2)-X2)|と第1の所定範囲R1との大小に応じて、区間S1におけるガンマカーブC1に乗算するゲインαを決定してもよい。
In the above example, the correction amount determination unit 142 determines the gain α by which the gamma curve C1 in the sections S1 and S2 is multiplied to 1 depending on the difference L1 from the reference gamma curve C2 and the size of the first predetermined range R1. However, in this embodiment, the correction amount determination unit 142 may determine the gain α by which the gamma curve C1 in each section is multiplied based on the following equations (2) and (3) using a and b that indicate the X coordinates of the start point and end point of each section.
|(Yin(a)-a)-(Yin(b)-b)|>R1, α=R1/|(Yin(a)-a)-(Yin(b)-b)|...(2)
|(Yin(a)-a)-(Yin(b)-b)|≦R1, α=1...(3)
That is, in section S1, the correction amount determination unit 142 may use X1, which is the start point of section S1, and X2, which is the end point of section S1, to determine the gain α to be multiplied by the gamma curve C1 in section S1 depending on whether |(Yin(X1)-X1)-(Yin(X2)-X2)| is larger than the first predetermined range R1.

また、補正量決定部142は、区間S2では、区間S2の始点であるX2および区間S2の終点であるX3を用いて、|(Yin(X2)-X2)-(Yin(X3)-X3)|と第1の所定範囲R1との大小に応じて、区間S2におけるガンマカーブC1に乗算するゲインαを決定してもよい。 In addition, in section S2, the correction amount determination unit 142 may use X2, which is the start point of section S2, and X3, which is the end point of section S2, to determine the gain α to be multiplied by the gamma curve C1 in section S2 depending on whether |(Yin(X2)-X2)-(Yin(X3)-X3)| is larger than the first predetermined range R1.

(区間S3およびS4におけるガンマカーブC1の補正量の決定)
区間S3およびS4では、ガンマカーブC1と参照ガンマカーブC2との差異が極大となる点P4から垂線を下ろした参照ガンマカーブC2までの差異である、参照ガンマカーブC2との差異L2は第1の所定範囲R1に収まらず、L2>R1となっている。
(Determination of the correction amount of the gamma curve C1 in sections S3 and S4)
In sections S3 and S4, the difference L2 from the reference gamma curve C2, which is the difference between the point P4 at which the difference between the gamma curve C1 and the reference gamma curve C2 is maximized and is the difference between the point P4 and the reference gamma curve C2, does not fall within the first predetermined range R1, and L2>R1.

この場合、補正量決定部142は、区間S3およびS4において、それぞれ、第1の所定範囲R1に収まるように、ガンマカーブC1と参照ガンマカーブC2との差異が極大となる点P4を図6の矢印の方向に移動させる補正量を決定する。 In this case, the correction amount determination unit 142 determines the amount of correction to move point P4, where the difference between the gamma curve C1 and the reference gamma curve C2 is maximized, in the direction of the arrow in FIG. 6 so that the point falls within the first predetermined range R1 in sections S3 and S4.

例えば、補正量決定部142は、区間S3では、区間S3の始点であるX3および区間S3の終点であるX4を用いて、ゲインαの値を以下の式(4)に示す値に決定する。また、補正量決定部142は、式(4)を上述の式(1)に代入したガンマカーブC1aに補正するようにガンマカーブC1の補正量を決定する。
α=R1/|(Yin(X3)-X3)-(Yin(X4)-X4)|・・・(4)
また、補正量決定部142は、区間S4では、区間S4の始点であるX4および区間S4の終点であるX5を用いて、ゲインαの値を以下の式(5)に示す値に決定する。また、補正量決定部142は、式(5)を上述の式(1)に代入したガンマカーブC1aに補正するようにガンマカーブC1の補正量を決定する。
α=R1/|(Yin(X4)-X4)-(Yin(X5)-X5)|・・・(5)
ガンマカーブ補正部13は、補正量決定部142が決定した補正量に基づき、図8の補正後のガンマカーブの図に示すC1aとなるようにガンマカーブC1を補正する。これにより、図8の補正後のガンマカーブのヒストグラムの図のように、高輝度の白側区間である区間S3およびS4では、白飛びを防ぎ、自然なコントラストとなるように入力画像を補正可能なヒストグラムのガンマカーブC1aにガンマカーブC1を補正できる。
For example, in section S3, the correction amount determination unit 142 determines the value of gain α to be the value shown in the following formula (4) using X3, which is the start point of section S3, and X4, which is the end point of section S3. The correction amount determination unit 142 also determines the correction amount of the gamma curve C1 so as to correct the gamma curve C1a obtained by substituting formula (4) into the above formula (1).
α=R1/|(Yin(X3)-X3)-(Yin(X4)-X4)|...(4)
In addition, in section S4, the correction amount determination unit 142 determines the value of gain α to be the value shown in the following formula (5) using X4, which is the start point of section S4, and X5, which is the end point of section S4. In addition, the correction amount determination unit 142 determines the correction amount of the gamma curve C1 so as to correct the gamma curve C1 to the gamma curve C1a obtained by substituting formula (5) into the above formula (1).
α=R1/|(Yin(X4)-X4)-(Yin(X5)-X5)|...(5)
Based on the amount of correction determined by the correction amount determination unit 142, the gamma curve correction unit 13 corrects the gamma curve C1 to C1a shown in the diagram of the gamma curve after correction in Fig. 8. As a result, as shown in the histogram of the gamma curve after correction in Fig. 8, in sections S3 and S4 that are high-luminance white-side sections, it is possible to correct the gamma curve C1 to the gamma curve C1a of the histogram that can correct the input image to prevent overexposure and achieve a natural contrast.

上述の例では、補正量決定部142は、参照ガンマカーブC2との差異L2と第1の所定範囲R1との大小に応じて、区間S3およびS4におけるガンマカーブC1に乗算するゲインαを決定している。ただし、本実施形態では、補正量決定部142は、区間S3では、区間S3の始点であるX3および区間S3の終点であるX4を用いて、|(Yin(X3)-X3)-(Yin(X4)-X4)|と第1の所定範囲R1との大小に応じて、区間S3におけるガンマカーブC1に乗算するゲインαを決定してもよい。 In the above example, the correction amount determination unit 142 determines the gain α by which the gamma curve C1 in the sections S3 and S4 is multiplied depending on whether the difference L2 from the reference gamma curve C2 is larger or smaller than the first predetermined range R1. However, in this embodiment, the correction amount determination unit 142 may determine the gain α by which the gamma curve C1 in the section S3 is multiplied depending on whether |(Yin(X3)-X3)-(Yin(X4)-X4)| is larger or smaller than the first predetermined range R1, using X3, which is the start point of the section S3, and X4, which is the end point of the section S3.

また、補正量決定部142は、区間S4では、区間S4の始点であるX4および区間S4の終点であるX5を用いて、|(Yin(X4)-X4)-(Yin(X5)-X5)|と第1の所定範囲R1との大小に応じて、区間S4におけるガンマカーブC1に乗算するゲインαを決定してもよい。 In addition, in section S4, the correction amount determination unit 142 may use X4, which is the start point of section S4, and X5, which is the end point of section S4, to determine the gain α to be multiplied by the gamma curve C1 in section S4 depending on whether |(Yin(X4)-X4)-(Yin(X5)-X5)| is larger than the first predetermined range R1.

[輝度補正部14]
輝度補正部14は、ガンマカーブ補正部が補正したガンマカーブに基づいて入力画像の輝度を補正する。これにより、補正されたガンマカーブに基づき、特定の輝度の領域が過度に強調されず、自然なコントラストとなるように入力画像全体の各輝度に対して適切な補正をすることができる。
[Brightness correction unit 14]
The luminance correction unit 14 corrects the luminance of the input image based on the gamma curve corrected by the gamma curve correction unit 14. This makes it possible to perform appropriate correction for each luminance of the entire input image based on the corrected gamma curve so that a specific luminance area is not overemphasized and a natural contrast is achieved.

[表示部15]
表示部15は、輝度補正部14によって輝度が補正された画像を表示する。
[Display unit 15]
The display unit 15 displays the image whose luminance has been corrected by the luminance correction unit 14 .

〔表示装置1の制御方法〕
次に、図9を用いて、実施形態1に係る表示装置1の制御方法を説明する。図9は、実施形態1に係る表示装置1の制御方法を示すフローチャートである。
[Control method of display device 1]
Next, a method for controlling the display device 1 according to the first embodiment will be described with reference to Fig. 9. Fig. 9 is a flowchart showing the method for controlling the display device 1 according to the first embodiment.

(ステップS101)
表示装置1の入力画像取得部11は、入力画像を取得する(入力画像取得工程)。
(Step S101)
The input image acquisition unit 11 of the display device 1 acquires an input image (input image acquisition step).

(ステップS102)
表示装置1のガンマカーブ生成部12における第1のヒストグラム生成部121は、入力画像取得部11が取得した入力画像に含まれる画素の輝度に基づき、第1のヒストグラムを生成する(第1のヒストグラム生成工程)。
(Step S102)
The first histogram generating section 121 in the gamma curve generating section 12 of the display device 1 generates a first histogram based on the luminance of pixels included in the input image acquired by the input image acquiring section 11 (first histogram generating step).

具体的には、第1のヒストグラム生成部121は、入力画像取得部11が取得した入力画像の画素の輝度に基づき、入力画像に含まれる画素の輝度と、当該入力画像における各輝度の度数との関係を示す第1のヒストグラムを生成する。 Specifically, the first histogram generating unit 121 generates a first histogram that indicates the relationship between the luminance of pixels contained in the input image and the frequency of each luminance in the input image, based on the luminance of the pixels in the input image acquired by the input image acquiring unit 11.

(ステップS103)
表示装置1のガンマカーブ生成部12における第2のヒストグラム生成部122は、第1のヒストグラム生成部121が生成した第1のヒストグラムに基づき、第2のヒストグラムを生成する(第2のヒストグラム生成工程)。
(Step S103)
The second histogram generating section 122 in the gamma curve generating section 12 of the display device 1 generates a second histogram based on the first histogram generated by the first histogram generating section 121 (second histogram generating step).

具体的には、第2のヒストグラム生成部122は、第1のヒストグラムに基づき、入力画像に含まれる画素の輝度と、当該入力画像における各輝度の累積相対度数との関係を示す累積ヒストグラムを第2のヒストグラムとして生成する。 Specifically, the second histogram generating unit 122 generates a cumulative histogram as the second histogram based on the first histogram, which indicates the relationship between the luminance of pixels included in the input image and the cumulative relative frequency of each luminance in the input image.

(ステップS104)
表示装置1のガンマカーブ生成部12は、入力画像の輝度分布に基づき、ガンマカーブを生成する(ガンマカーブ生成工程)。
(Step S104)
The gamma curve generating section 12 of the display device 1 generates a gamma curve based on the luminance distribution of the input image (gamma curve generating step).

例えば、ガンマカーブ生成部12は、第2のヒストグラム生成部122が生成した第2のヒストグラムに基づき、ガンマカーブを生成する。 For example, the gamma curve generation unit 12 generates a gamma curve based on the second histogram generated by the second histogram generation unit 122.

(ステップS105)
表示装置1のガンマカーブ補正部13における区間分割部131は、ガンマカーブを複数の区間に分割する(区間分割工程)。
(Step S105)
The section dividing section 131 in the gamma curve correction section 13 of the display device 1 divides the gamma curve into a plurality of sections (section dividing step).

区間分割部131は、ガンマカーブ生成部12が生成したガンマカーブと参照ガンマカーブとの交点、および、ガンマカーブ生成部12が生成したガンマカーブ上の隣り合う交点間の点の少なくとも一方に基づき、ガンマカーブを複数の区間に分割してもよい。 The interval division unit 131 may divide the gamma curve into multiple intervals based on at least one of the intersection points between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve and the points between adjacent intersection points on the gamma curve generated by the gamma curve generation unit 12.

例えば、区間分割部131は、上述の交点と、および、ガンマカーブ生成部12が生成したガンマカーブ上において、ガンマカーブ生成部12が生成したガンマカーブと参照ガンマカーブとの差異が極大となる点とに基づき、ガンマカーブを複数の区間に分割してもよい。 For example, the section division unit 131 may divide the gamma curve into multiple sections based on the above-mentioned intersection points and points on the gamma curve generated by the gamma curve generation unit 12 where the difference between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve is maximum.

(ステップS106)
表示装置1のガンマカーブ補正部13における補正量決定部142は、参照ガンマカーブとの差異が第1の所定範囲に収まるように、ガンマカーブ生成部12が生成したガンマカーブの補正量を決定する。
(Step S106)
The correction amount determination section 142 in the gamma curve correction section 13 of the display device 1 determines the amount of correction for the gamma curve generated by the gamma curve generation section 12 so that the difference from the reference gamma curve falls within a first predetermined range.

例えば、補正量決定部142は、ガンマカーブ生成部12が生成したガンマカーブを複数の区間に分割した区間毎に、参照ガンマカーブとの差異が第1の所定範囲に収まるように、当該区間におけるガンマカーブの補正量を決定する(補正量決定工程)。 For example, the correction amount determination unit 142 determines the correction amount of the gamma curve for each of the multiple intervals into which the gamma curve generated by the gamma curve generation unit 12 is divided, so that the difference from the reference gamma curve falls within a first predetermined range (correction amount determination process).

(ステップS107)
表示装置1のガンマカーブ補正部13は、ガンマカーブ生成工程において生成したガンマカーブを、あらかじめ設定された参照ガンマカーブとの差異が第1の所定範囲に収まるように補正する(ガンマカーブ補正工程)。
(Step S107)
The gamma curve correction unit 13 of the display device 1 corrects the gamma curve generated in the gamma curve generation process so that the difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range (gamma curve correction process).

例えば、ガンマカーブ補正部13は、分割された複数の区間毎に決定された補正量に基づき、ガンマカーブ生成工程において生成したガンマカーブを補正する。 For example, the gamma curve correction unit 13 corrects the gamma curve generated in the gamma curve generation process based on the correction amount determined for each of the multiple divided sections.

(ステップS108)
表示装置1の輝度補正部14は、ガンマカーブ補正工程において補正したガンマカーブに基づいて入力画像の輝度を補正する(輝度補正工程)。
(Step S108)
The luminance correction unit 14 of the display device 1 corrects the luminance of the input image based on the gamma curve corrected in the gamma curve correction process (luminance correction process).

(ステップS109)
表示装置1の表示部15は、輝度補正工程において輝度が補正された画像を表示する(表示工程)。
(Step S109)
The display unit 15 of the display device 1 displays the image whose luminance has been corrected in the luminance correction process (display process).

〔変形例〕
(変形例1)
上述の例では、ガンマカーブ生成部12は、第1のヒストグラム生成部121と、第2のヒストグラム生成部122とを備えている。また、ガンマカーブ生成部12は、入力画像の輝度の第1のヒストグラムを生成した後、第1のヒストグラムに基づいて入力画像の輝度の累積ヒストグラムである第2のヒストグラムを生成し、第2のヒストグラムに基づいてガンマカーブを生成する。
[Modifications]
(Variation 1)
In the above example, the gamma curve generator 12 includes a first histogram generator 121 and a second histogram generator 122. After generating a first histogram of the luminance of the input image, the gamma curve generator 12 generates a second histogram, which is a cumulative histogram of the luminance of the input image, based on the first histogram, and generates a gamma curve based on the second histogram.

ただし、本実施形態では、ガンマカーブ生成部12は、入力画像の輝度分布に基づき、輝度の度数が平坦化されたガンマカーブを生成することができれば、任意の方法によってガンマカーブを生成してもよい。例えば、ガンマカーブ生成部12は、第1のヒストグラム生成部121および第2のヒストグラム生成部122のいずれかまたは両方を備えていなくてもよい。 However, in this embodiment, the gamma curve generator 12 may generate a gamma curve by any method as long as it can generate a gamma curve in which the luminance frequency is flattened based on the luminance distribution of the input image. For example, the gamma curve generator 12 may not include either or both of the first histogram generator 121 and the second histogram generator 122.

一例として、ガンマカーブ生成部12は、第1のヒストグラム生成部121のみを備え、第1のヒストグラム生成部121によって生成された第1のヒストグラムに基づき、ガンマカーブを生成してもよい。 As an example, the gamma curve generating unit 12 may include only the first histogram generating unit 121, and generate a gamma curve based on the first histogram generated by the first histogram generating unit 121.

ガンマカーブ生成部12は、第2のヒストグラム生成部122のみを備え、第2のヒストグラム生成部122によって入力画像から累積ヒストグラムを直接生成し、累積ヒストグラムに基づき、ガンマカーブを生成してもよい。 The gamma curve generating unit 12 may include only the second histogram generating unit 122, which generates a cumulative histogram directly from the input image, and generates a gamma curve based on the cumulative histogram.

ガンマカーブ生成部12は、入力画像取得部11を介して外部の受信部、外部装置または読取部などから入力画像と共に取得した第1のヒストグラムまたは第2のヒストグラムに基づき、ガンマカーブを生成してもよい。 The gamma curve generating unit 12 may generate a gamma curve based on the first histogram or the second histogram acquired together with the input image from an external receiving unit, an external device, or a reading unit via the input image acquiring unit 11.

また、ガンマカーブ生成部12は入力画像取得部11を介して外部の受信部、外部装置または読取部などから入力画像と共に第1のヒストグラムおよび第2のヒストグラム以外のヒストグラムを取得し、当該ヒストグラムに基づき、ガンマカーブを生成してもよい。 The gamma curve generation unit 12 may also acquire a histogram other than the first histogram and the second histogram along with the input image from an external receiving unit, external device, or reading unit via the input image acquisition unit 11, and generate a gamma curve based on the histogram.

ただし、ガンマカーブ生成部12は、全ての輝度の度数がより好適に平坦化されるようにガンマカーブを生成することができるため、第2のヒストグラムである累積ヒストグラムに基づき、ガンマカーブを生成することが好ましい。 However, since the gamma curve generating unit 12 can generate a gamma curve so that the frequencies of all luminances are more suitably flattened, it is preferable to generate the gamma curve based on the cumulative histogram, which is the second histogram.

(変形例2)
表示装置1は、ハイダイナミックレンジ処理部(図示せず)をさらに備えていてもよい。
(Variation 2)
The display device 1 may further include a high dynamic range processing unit (not shown).

例えば、ハイダイナミックレンジ処理部は、輝度補正部によって輝度を補正された入力画像の画像信号における被写体のダイナミックレンジを拡張するハイダイナミックレンジ処理を行ってもよい。これにより、ハイライト部分の白飛びおよびシャドウ部分の黒つぶれを防止しつつ、コントラストを強調するように入力画像を補正することができる。 For example, the high dynamic range processing unit may perform high dynamic range processing to expand the dynamic range of the subject in the image signal of the input image whose luminance has been corrected by the luminance correction unit. This makes it possible to correct the input image to enhance contrast while preventing blown-out highlights and crushed blacks in the shadow areas.

ハイダイナミックレンジ処理としては、例えば、PQ(Perceptual Quan tization)などの絶対輝度方式およびHLG(Hybrid log gamma)方式などの相対輝度方式の公知のハイダイナミックレンジ処理が挙げられるが、特に限定されない。 Examples of high dynamic range processing include, but are not limited to, well-known high dynamic range processing using absolute luminance methods such as PQ (Perceptual Quantization) and relative luminance methods such as HLG (Hybrid log gamma).

<実施形態2>
本発明に係る表示装置は、実施形態2に係る表示装置1Xのように、ガンマカーブを複数の均等な区間に分割してもよい。
<Embodiment 2>
The display device according to the present invention may divide the gamma curve into a plurality of equal intervals, like the display device 1X according to the second embodiment.

以下、図10~12を用いて、実施形態2に係る表示装置1Xを説明する。なお、説明の便宜上、上述の実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。 The display device 1X according to the second embodiment will be described below with reference to Figures 10 to 12. For ease of explanation, the same reference numerals are used to designate components having the same functions as those described in the above embodiment, and their explanation will be omitted.

〔表示装置1X〕
図10は、実施形態2に係る表示装置1Xの構成を示すブロック図である。図10のように、表示装置1Xは、実施形態1におけるガンマカーブ補正部13の代わりに、ガンマカーブ補正部13Xを備えている。この点以外は、実施形態2に係る表示装置1Xは、実施形態1に係る表示装置1と同様の構成である。
[Display device 1X]
Fig. 10 is a block diagram showing the configuration of a display device 1X according to embodiment 2. As shown in Fig. 10, the display device 1X includes a gamma curve correction unit 13X instead of the gamma curve correction unit 13 in embodiment 1. Except for this, the display device 1X according to embodiment 2 has the same configuration as the display device 1 according to embodiment 1.

[ガンマカーブ補正部13X]
ガンマカーブ補正部13Xは、実施形態1における区間分割部131の代わりに、区間分割部131Xを備えている。この点以外は、ガンマカーブ補正部13Xは、実施形態1におけるガンマカーブ補正部13と同様の構成である。
[Gamma curve correction unit 13X]
The gamma curve correction section 13X includes a section division section 131X instead of the section division section 131 in the first embodiment. Except for this, the gamma curve correction section 13X has the same configuration as the gamma curve correction section 13 in the first embodiment.

(区間分割部131X)
区間分割部131Xは、ガンマカーブを複数の均等な区間に分割する。これにより、効率的にガンマカーブを分割しつつ、第2のヒストグラムなどのヒストグラムを平坦化したガンマカーブの特徴が失われるほどガンマカーブの原型を崩さないように、区間毎に好適にガンマカーブを補正することができる。
(Section division unit 131X)
The interval division unit 131X divides the gamma curve into a plurality of equal intervals, thereby making it possible to effectively divide the gamma curve while appropriately correcting the gamma curve for each interval without destroying the original shape of the gamma curve to such an extent that the characteristics of the gamma curve obtained by flattening a histogram such as the second histogram are lost.

(区間分割部131Xによるガンマカーブの区間分割例)
以下、図11を用いて、区間分割部131Xによるガンマカーブの区間の分割の一例を説明する。図11は、生成されたガンマカーブC1の複数の区間への分割について説明するための図である。
(Example of Section Division of Gamma Curve by Section Division Unit 131X)
An example of division of a gamma curve into sections by the section division unit 131X will be described below with reference to Fig. 11. Fig. 11 is a diagram for explaining division of the generated gamma curve C1 into a plurality of sections.

区間分割部131Xは、4つの均等な区間S1X、S2X、S3XおよびS4XにガンマカーブC1を分割する。このように、2以上4以下の数にガンマカーブC1を等分割することにより、効率的にガンマカーブC1を分割しつつ、第2のヒストグラムなどのヒストグラムを平坦化したガンマカーブC1の特徴が失われないように区間毎に好適にガンマカーブC1を補正できる。 The interval division unit 131X divides the gamma curve C1 into four equal intervals S1X, S2X, S3X, and S4X. In this way, by equally dividing the gamma curve C1 into a number between 2 and 4, the gamma curve C1 can be divided efficiently while appropriately correcting the gamma curve C1 for each interval so as not to lose the characteristics of the gamma curve C1, which has a flattened histogram such as the second histogram.

〔表示装置1Xの制御方法〕
次に、図12を用いて、実施形態2に係る表示装置1Xの制御方法を説明する。図12は、実施形態2に係る表示装置1Xの制御方法を示すフローチャートである。図12のステップS201~S204およびS206~S209は、図10のステップS101~S104およびS106~S109と同様であるため、ここではその説明を省略する。
[Control method of display device 1X]
Next, a control method of the display device 1X according to the second embodiment will be described with reference to Fig. 12. Fig. 12 is a flowchart showing a control method of the display device 1X according to the second embodiment. Steps S201 to S204 and S206 to S209 in Fig. 12 are similar to steps S101 to S104 and S106 to S109 in Fig. 10, and therefore description thereof will be omitted here.

(ステップS205)
表示装置1Xのガンマカーブ補正部13Xにおける区間分割部131Xは、ガンマカーブを複数の均等な区間に分割する(区間分割工程)。
(Step S205)
The section dividing section 131X in the gamma curve correction section 13X of the display device 1X divides the gamma curve into a plurality of equal sections (section dividing step).

〔ソフトウェアによる実現例〕
表示装置1および1Xの制御ブロックは、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、ソフトウェアによって実現してもよい。
[Software implementation example]
The control blocks of the display devices 1 and 1X may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be realized by software.

後者の場合、表示装置1および1Xは、各機能を実現するソフトウェアであるプログラムの命令を実行するコンピュータを備えている。このコンピュータは、例えば少なくとも1つのプロセッサ(制御装置)を備えていると共に、上記プログラムを記憶したコンピュータ読み取り可能な少なくとも1つの記録媒体を備えている。そして、上記コンピュータにおいて、上記プロセッサが上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記プロセッサとしては、例えばCPU(Central Processing Unit)を用いることができる。上記記録媒体としては、「一時的でない有形の媒体」、例えば、ROM(Read Only Memory)等の他、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムを展開するRAM(Random Access Memory)などをさらに備えていてもよい。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明の一態様は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。 In the latter case, the display devices 1 and 1X are provided with a computer that executes instructions of a program, which is software that realizes each function. This computer is provided with, for example, at least one processor (control device) and at least one computer-readable recording medium that stores the program. The object of the present invention is achieved by the processor reading the program from the recording medium and executing it in the computer. The processor can be, for example, a CPU (Central Processing Unit). The recording medium can be a "non-transient tangible medium", such as a ROM (Read Only Memory), tape, disk, card, semiconductor memory, programmable logic circuit, etc. The display device can also be provided with a RAM (Random Access Memory) that expands the program. The program can also be supplied to the computer via any transmission medium (such as a communication network or broadcast waves) that can transmit the program. Note that one aspect of the present invention can also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.

〔まとめ〕
本発明の態様1に係る表示装置は、補正前輝度と補正後輝度との関係を表すガンマカーブに基づいて入力画像の輝度を補正する表示装置であって、前記入力画像の輝度分布に基づき、ガンマカーブを生成するガンマカーブ生成部と、前記ガンマカーブ生成部が生成した前記ガンマカーブを、あらかじめ設定された参照ガンマカーブとの差異が第1の所定範囲に収まるように補正するガンマカーブ補正部と、前記ガンマカーブ補正部が補正した前記ガンマカーブに基づいて前記入力画像の輝度を補正する輝度補正部と、を備える。
〔summary〕
A display device according to aspect 1 of the present invention is a display device that corrects the luminance of an input image based on a gamma curve that represents the relationship between pre-correction luminance and post-correction luminance, and includes a gamma curve generation unit that generates a gamma curve based on the luminance distribution of the input image, a gamma curve correction unit that corrects the gamma curve generated by the gamma curve generation unit so that a difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range, and a luminance correction unit that corrects the luminance of the input image based on the gamma curve corrected by the gamma curve correction unit.

本発明の態様2に係る表示装置は、上記態様1において、前記ガンマカーブ生成部は、前記入力画像の輝度の累積ヒストグラムに基づき、前記ガンマカーブを生成する構成としてもよい。 In the display device according to aspect 2 of the present invention, in the above aspect 1, the gamma curve generation unit may be configured to generate the gamma curve based on a cumulative histogram of the luminance of the input image.

本発明の態様3に係る表示装置は、上記態様1または2において、前記参照ガンマカーブは、線形である構成としてもよい。 The display device according to aspect 3 of the present invention may be configured in accordance with aspect 1 or 2 above, in which the reference gamma curve is linear.

本発明の態様4に係る表示装置は、上記態様1~3のいずれかにおいて、前記ガンマカーブ補正部は、前記ガンマカーブを複数の区間に分割した区間毎に、前記参照ガンマカーブとの差異が前記第1の所定範囲に収まるように、当該区間における前記ガンマカーブの補正量を決定する構成としてもよい。 In the display device according to aspect 4 of the present invention, in any one of aspects 1 to 3 above, the gamma curve correction unit may be configured to determine the amount of correction of the gamma curve in each of a plurality of sections into which the gamma curve is divided, so that the difference from the reference gamma curve falls within the first predetermined range.

本発明の態様5に係る表示装置は、上記態様4において、前記ガンマカーブ補正部は、前記ガンマカーブ生成部が生成した前記ガンマカーブと前記参照ガンマカーブとの交点、および、前記ガンマカーブ生成部が生成した前記ガンマカーブ上の隣り合う前記交点間の点の少なくとも一方に基づき、前記ガンマカーブを前記複数の区間に分割する構成としてもよい。 The display device according to aspect 5 of the present invention may be configured in the above-mentioned aspect 4 such that the gamma curve correction unit divides the gamma curve into the multiple sections based on at least one of the intersection points between the gamma curve generated by the gamma curve generation unit and the reference gamma curve and the points between adjacent intersection points on the gamma curve generated by the gamma curve generation unit.

本発明の態様6に係る表示装置は、上記態様5において、前記ガンマカーブ補正部は、前記交点と、前記ガンマカーブ生成部が生成した前記ガンマカーブ上において前記ガンマカーブ生成部が生成した前記ガンマカーブと前記参照ガンマカーブとの差異が極大となる点から第2の所定範囲内の点とに基づき、前記ガンマカーブを前記複数の区間に分割する構成としてもよい。 In the display device according to aspect 6 of the present invention, in the above aspect 5, the gamma curve correction unit may be configured to divide the gamma curve into the multiple sections based on the intersection point and a point within a second predetermined range from a point on the gamma curve generated by the gamma curve generation unit where the difference between the gamma curve generated by the gamma curve generation unit and the reference gamma curve is maximized.

本発明の態様7に係る表示装置の制御方法は、補正前輝度と補正後輝度との関係を表すガンマカーブに基づいて入力画像の輝度を補正する表示装置の制御方法であって、前記表示装置が、前記入力画像の輝度分布に基づき、ガンマカーブを生成するガンマカーブ生成工程と、前記表示装置が、前記ガンマカーブ生成工程において生成した前記ガンマカーブを、あらかじめ設定された参照ガンマカーブとの差異が第1の所定範囲に収まるように補正するガンマカーブ補正工程と、前記表示装置が、前記ガンマカーブ補正工程において補正した前記ガンマカーブに基づいて前記入力画像の輝度を補正する輝度補正工程と、を含む。 The display device control method according to aspect 7 of the present invention is a method for correcting the luminance of an input image based on a gamma curve that represents the relationship between pre-correction luminance and post-correction luminance, and includes a gamma curve generation process in which the display device generates a gamma curve based on the luminance distribution of the input image, a gamma curve correction process in which the display device corrects the gamma curve generated in the gamma curve generation process so that the difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range, and a luminance correction process in which the display device corrects the luminance of the input image based on the gamma curve corrected in the gamma curve correction process.

本発明の各態様に係る表示装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記表示装置が備える各部(ソフトウェア要素)として動作させることにより上記表示装置をコンピュータにて実現させる表示装置の制御プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。 The display device according to each aspect of the present invention may be realized by a computer. In this case, the control program for the display device that causes the computer to operate as each unit (software element) of the display device to realize the display device on the computer, and the computer-readable recording medium on which the control program is recorded, also fall within the scope of the present invention.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。さらに、各実施形態にそれぞれ開示された技術的手段を組み合わせることにより、新しい技術的特徴を形成することができる。 The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. The technical scope of the present invention also includes embodiments obtained by appropriately combining the technical means disclosed in the different embodiments. Furthermore, new technical features can be formed by combining the technical means disclosed in the respective embodiments.

1、1X 表示装置
12 ガンマカーブ生成部
13、13X ガンマカーブ補正部
14 輝度補正部
131、131X 区間分割部(ガンマカーブ補正部)
132 補正量決定部(ガンマカーブ補正部)
C1、C1a ガンマカーブ
C2 参照ガンマカーブ
L1、L2 差異
P1、P3、P5 交点
P2、P4、P6、P7 点
R1 第1の所定範囲
R2 第2の所定範囲
S1、S1a、S1X、S2、S2a、S2X、S3、S3a、S3X、S4、S4a、S4X 区間
α ゲイン(補正量)

1, 1X Display device 12 Gamma curve generation unit 13, 13X Gamma curve correction unit 14 Brightness correction unit 131, 131X Section division unit (gamma curve correction unit)
132 Correction amount determination unit (gamma curve correction unit)
C1, C1a Gamma curve C2 Reference gamma curve L1, L2 Difference P1, P3, P5 Intersection P2, P4, P6, P7 Point R1 First predetermined range R2 Second predetermined range S1, S1a, S1X, S2, S2a, S2X, S3, S3a, S3X, S4, S4a, S4X Section α Gain (correction amount)

Claims (6)

補正前輝度と補正後輝度との関係を表すガンマカーブに基づいて入力画像の輝度を補正する表示装置であって、
前記入力画像の輝度分布に基づき、ガンマカーブを生成するガンマカーブ生成部と、
前記ガンマカーブ生成部が生成した前記ガンマカーブを、あらかじめ設定された参照ガンマカーブとの差異が第1の所定範囲に収まるように補正するガンマカーブ補正部と、
前記ガンマカーブ補正部が補正した前記ガンマカーブに基づいて前記入力画像の輝度を補正する輝度補正部と、を備え、
前記ガンマカーブ補正部は、前記ガンマカーブを複数の区間に分割した区間毎に、前記参照ガンマカーブとの差異が前記第1の所定範囲に収まるように、当該区間における前記ガンマカーブの補正量を決定することを特徴とする表示装置。
A display device that corrects the luminance of an input image based on a gamma curve that represents a relationship between pre-correction luminance and post-correction luminance,
a gamma curve generator that generates a gamma curve based on the luminance distribution of the input image;
a gamma curve correction unit that corrects the gamma curve generated by the gamma curve generation unit so that a difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range;
a luminance correction unit that corrects the luminance of the input image based on the gamma curve corrected by the gamma curve correction unit ,
The display device is characterized in that the gamma curve correction unit determines, for each of a plurality of intervals into which the gamma curve is divided, an amount of correction of the gamma curve in that interval so that a difference from the reference gamma curve falls within the first predetermined range .
前記ガンマカーブ生成部は、前記入力画像の輝度の累積ヒストグラムに基づき、前記ガンマカーブを生成することを特徴とする請求項1に記載の表示装置。 The display device according to claim 1, characterized in that the gamma curve generation unit generates the gamma curve based on a cumulative histogram of the luminance of the input image. 前記参照ガンマカーブは、線形であることを特徴とする請求項1または2に記載の表示装置。 The display device according to claim 1 or 2, characterized in that the reference gamma curve is linear. 前記ガンマカーブ補正部は、前記ガンマカーブ生成部が生成した前記ガンマカーブと前記参照ガンマカーブとの交点、および、前記ガンマカーブ生成部が生成した前記ガンマカーブ上の隣り合う前記交点間の点の少なくとも一方に基づき、前記ガンマカーブを前記複数の区間に分割することを特徴とする請求項1または2に記載の表示装置。 3. The display device according to claim 1, wherein the gamma curve correction unit divides the gamma curve into the plurality of sections based on at least one of an intersection point between the gamma curve generated by the gamma curve generation unit and the reference gamma curve and a point between adjacent intersection points on the gamma curve generated by the gamma curve generation unit. 前記ガンマカーブ補正部は、前記交点と、前記ガンマカーブ生成部が生成した前記ガンマカーブ上において、前記ガンマカーブ生成部が生成した前記ガンマカーブと前記参照ガンマカーブとの差異が極大となる点から第2の所定範囲内の点とに基づき、前記ガンマカーブを前記複数の区間に分割することを特徴とする請求項に記載の表示装置。 5. The display device according to claim 4, wherein the gamma curve correction unit divides the gamma curve into the plurality of sections based on the intersection point and a point within a second predetermined range from a point on the gamma curve generated by the gamma curve generation unit where a difference between the gamma curve generated by the gamma curve generation unit and the reference gamma curve is maximized. 補正前輝度と補正後輝度との関係を表すガンマカーブに基づいて入力画像の輝度を補正する表示装置の制御方法であって、
前記表示装置が、前記入力画像の輝度分布に基づき、ガンマカーブを生成するガンマカーブ生成工程と、
前記表示装置が、前記ガンマカーブ生成工程において生成した前記ガンマカーブを、あらかじめ設定された参照ガンマカーブとの差異が第1の所定範囲に収まるように補正するガンマカーブ補正工程と、
前記表示装置が、前記ガンマカーブ補正工程において補正した前記ガンマカーブに基づいて前記入力画像の輝度を補正する輝度補正工程と、を含み、
前記ガンマカーブ補正工程は、前記ガンマカーブを複数の区間に分割した区間毎に、前記参照ガンマカーブとの差異が前記第1の所定範囲に収まるように、当該区間における前記ガンマカーブの補正量を決定する工程を有することを特徴とする表示装置の制御方法。
A method for controlling a display device that corrects the luminance of an input image based on a gamma curve that represents a relationship between pre-correction luminance and post-correction luminance, comprising:
a gamma curve generating step in which the display device generates a gamma curve based on a luminance distribution of the input image;
a gamma curve correction step in which the display device corrects the gamma curve generated in the gamma curve generation step so that a difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range;
a luminance correction step of correcting a luminance of the input image based on the gamma curve corrected in the gamma curve correction step ,
a step of determining, for each of a plurality of sections into which the gamma curve is divided, a correction amount for the gamma curve in that section so that a difference from the reference gamma curve falls within the first predetermined range .
JP2020204288A 2020-12-09 2020-12-09 Display device and display device control method Active JP7601625B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020204288A JP7601625B2 (en) 2020-12-09 2020-12-09 Display device and display device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020204288A JP7601625B2 (en) 2020-12-09 2020-12-09 Display device and display device control method

Publications (2)

Publication Number Publication Date
JP2022091446A JP2022091446A (en) 2022-06-21
JP7601625B2 true JP7601625B2 (en) 2024-12-17

Family

ID=82067296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020204288A Active JP7601625B2 (en) 2020-12-09 2020-12-09 Display device and display device control method

Country Status (1)

Country Link
JP (1) JP7601625B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011097465A (en) 2009-10-30 2011-05-12 Dainippon Printing Co Ltd Image processing apparatus, image processing method, and image processing program
JP2014057234A (en) 2012-09-13 2014-03-27 Ricoh Co Ltd Image processing apparatus, image processing method, image processing program, and computer readable storage medium containing image processing program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011097465A (en) 2009-10-30 2011-05-12 Dainippon Printing Co Ltd Image processing apparatus, image processing method, and image processing program
JP2014057234A (en) 2012-09-13 2014-03-27 Ricoh Co Ltd Image processing apparatus, image processing method, image processing program, and computer readable storage medium containing image processing program

Also Published As

Publication number Publication date
JP2022091446A (en) 2022-06-21

Similar Documents

Publication Publication Date Title
US8363123B2 (en) Image pickup apparatus, color noise reduction method, and color noise reduction program
US8509528B2 (en) Methods and systems for converting images from low dynamic range to high dynamic range
US9578211B2 (en) Image de-noising methods and apparatuses using the same
CN111447425B (en) Display method and display device
US10664960B1 (en) Image processing device and method to perform local contrast enhancement
US10798347B2 (en) Information processing device, information processing method, and program
US9542615B2 (en) Image processing apparatus and image processing method
JP7523625B2 (en) Image processing device, image processing method, and control program
JP7394407B2 (en) Control device and control method
US10771755B2 (en) Image processing apparatus, image processing method, and program
JP7601625B2 (en) Display device and display device control method
US8693777B2 (en) Apparatus and method for estimating edge areas of digital image
EP2421239B1 (en) Image processing apparatus and method for applying film grain effects
JP2013106131A (en) Image processing device
US9964839B2 (en) Projection system, projector apparatus, imaging apparatus, and projection method
US12211175B2 (en) Image signal processor, operating method of the image signal processor, and application processor including the image signal processor
US12118699B2 (en) Luminance correction apparatus
US12205352B2 (en) Image identifying apparatus, video reproducing apparatus, image identifying method, and recording medium
US11647298B2 (en) Image processing apparatus, image capturing apparatus, image processing method, and storage medium
US20030122938A1 (en) Resolution correction apparatus, resolution correction program, and computer-readable recording medium having same program recorded thereon
JP4550090B2 (en) Image processing apparatus and image processing method
KR20220153514A (en) Method and apparatus based on scene dependent lens shading correction
JPH02294163A (en) Halftone correcting method
JP4318573B2 (en) Luminance data correction apparatus and luminance data correction method
KR20230069795A (en) Image signal processor, method of operating the image signal processor, and application processor including the image signal processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230920

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240617

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240709

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240830

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241205

R150 Certificate of patent or registration of utility model

Ref document number: 7601625

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150