JP7045916B2 - Video brightness converter and its program - Google Patents

Video brightness converter and its program Download PDF

Info

Publication number
JP7045916B2
JP7045916B2 JP2018081842A JP2018081842A JP7045916B2 JP 7045916 B2 JP7045916 B2 JP 7045916B2 JP 2018081842 A JP2018081842 A JP 2018081842A JP 2018081842 A JP2018081842 A JP 2018081842A JP 7045916 B2 JP7045916 B2 JP 7045916B2
Authority
JP
Japan
Prior art keywords
luminance
gain
frame
signal
past
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
JP2018081842A
Other languages
Japanese (ja)
Other versions
JP2019193025A (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.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting 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 Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2018081842A priority Critical patent/JP7045916B2/en
Publication of JP2019193025A publication Critical patent/JP2019193025A/en
Application granted granted Critical
Publication of JP7045916B2 publication Critical patent/JP7045916B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Picture Signal Circuits (AREA)

Description

本発明は、高ダイナミックレンジ(HDR:High Dynamic Range)方式の映像の輝度変化を動的に緩和させる映像輝度変換装置およびそのプログラムに関する。 The present invention relates to an image luminance conversion device and a program thereof for dynamically mitigating a change in luminance of an image of a high dynamic range (HDR) system.

HDR方式は、撮像側と表示側とのダイナミックレンジが従来よりも拡大したことにより、より人間の視覚特性に近づいた映像表現が可能となっている。このHDR方式は、ディスプレイに求めるピーク輝度が1000cd/m以上で、従来の標準ダイナミックレンジ(SDR:Standard Dynamic Range)よりも明るい映像を表示することが可能となり、映像の輝度のコントラスト差が大きくなる(非特許文献1参照)。
このように、HDR方式は、映像表現のうちで明るさの再現範囲を拡大したことで、明るい映像から暗い映像、あるいは、暗い映像から明るい映像への切り替えが生じたときに、急激な輝度の変化により、視聴者に不快感を与えるおそれがある。
In the HDR method, the dynamic range between the image pickup side and the display side is wider than before, so that it is possible to express an image closer to the human visual characteristics. With this HDR method, the peak brightness required for the display is 1000 cd / m 2 or more, and it is possible to display a brighter image than the conventional standard dynamic range (SDR), and the contrast difference in the brightness of the image is large. (See Non-Patent Document 1).
In this way, the HDR method expands the reproduction range of brightness in the video expression, so that when switching from a bright image to a dark image or from a dark image to a bright image occurs, the brightness suddenly increases. The change may cause discomfort to the viewer.

例えば、HDR方式のうちの1つであるハイブリッドログガンマ(HLG:Hybrid Log-Gamma)方式に関して、映像切り替え時に、どの程度の輝度差を生じると視聴者が不快感を抱くかについて、主観評価実験を行った報告がある(非特許文献2参照)。
この報告では、視聴者が画面全体から受ける光の明るさである画面平均輝度レベル(ALL:Average Luminance Level)が約5cd/mから数百cd/mまでの段階的な映像素材を、薄暗い周囲環境下で切り替えた際の不快感を調べている。この実験結果として、ALLの差が約80cd/m以内の輝度差の映像切り替えであれば視聴者は不快感を抱かず、逆に、約数百cd/m以上の輝度差の映像切り替えが発生したときに、視聴者は不快感を抱くことが判明している。
このような急激な輝度差が生じる映像の切り替えを低減させるには、通常、映像制作時において、事前に急激な輝度差が生じないように映像を制作する、あるいは、映像全体のコントラストを抑えるといった手法がとられる。
For example, regarding the Hybrid Log-Gamma (HLG) method, which is one of the HDR methods, a subjective evaluation experiment was conducted to determine how much brightness difference would cause viewers to feel uncomfortable when switching images. (See Non-Patent Document 2).
In this report, a stepwise video material with a screen average brightness level (ALL: Average Luminance Level) of about 5 cd / m 2 to several hundred cd / m 2 , which is the brightness of the light received from the entire screen by the viewer, is described. I am investigating the discomfort when switching in a dim surrounding environment. As a result of this experiment, if the image switching has a brightness difference of about 80 cd / m 2 or less, the viewer does not feel uncomfortable, and conversely, the image switching has a brightness difference of about several hundred cd / m 2 or more. The viewer has been found to be uncomfortable when this occurs.
In order to reduce the switching of images that cause such a sudden difference in brightness, usually, at the time of image production, the image is produced so that the sudden difference in brightness does not occur in advance, or the contrast of the entire image is suppressed. The method is taken.

“Image parameter values for high dynamic range television for use in production and international programme exchange”,Recommendation ITU-R BT.2100-0,07/2016“Image parameter values for high dynamic range television for use in production and international programme exchange”, Recommendation ITU-R BT.2100-0, 07/2016 “Operational practices in HDR television production”,Report ITU-R BT.2408-0,10/2017“Operational practices in HDR television production”, Report ITU-R BT.2408-0, 10/2017

従来のような、事前に急激な輝度差が生じないように映像を制作する手法は、常に輝度差を考慮しなければならないため、映像制作に手間がかかるという問題がある。また、映像全体のコントラストを抑える手法は、より人間の視覚特性に近づいた映像表現であるHDR方式の魅力を低減させてしまうという問題がある。 The conventional method of producing an image so that a sudden difference in brightness does not occur in advance has a problem that it takes time and effort to produce an image because the difference in brightness must always be taken into consideration. Further, the method of suppressing the contrast of the entire image has a problem that the attractiveness of the HDR method, which is an image expression closer to the human visual characteristics, is reduced.

本発明は、このような問題に鑑みてなされたものであり、映像中で急激な輝度差を動的に検出して輝度変化を緩和させることが可能な映像輝度変換装置およびそのプログラムを提供することを課題とする。 The present invention has been made in view of such a problem, and provides a video luminance conversion device and a program thereof capable of dynamically detecting a sudden luminance difference in an image and mitigating the luminance change. That is the issue.

前記課題を解決するため、本発明に係る映像輝度変換装置は、HLG方式の映像信号の輝度変化を動的に緩和させる映像輝度変換装置であって、EOTF処理手段と、現在フレーム輝度算出手段と、ゲイン算出手段と、過去フレーム輝度算出手段と、ゲイン調整手段と、逆EOTF処理手段と、を備える構成とした。 In order to solve the above problems, the video luminance conversion device according to the present invention is a video luminance conversion device that dynamically relaxes the luminance change of the HLG system video signal, and includes an EOTF processing means and a current frame luminance calculating means. , A gain calculating means, a past frame luminance calculating means, a gain adjusting means, and an inverse EOTF processing means.

かかる構成において、映像輝度変換装置は、EOTF処理手段によって、HLG方式の電気-光伝達関数(EOTF)により、映像信号を第1リニア信号に変換する。
そして、映像輝度変換装置は、現在フレーム輝度算出手段によって、第1リニア信号のフレームごとに、第1リニア信号の輝度平均を表示対象である現在フレームの輝度レベルとして算出する。
そして、映像輝度変換装置は、ゲイン算出手段によって、現在フレームの輝度レベルと、過去フレーム輝度記憶手段に記憶されている過去フレームの輝度レベルとのレベル差に応じて、その差が予め定めた閾値を超えないようにゲインを算出する。
さらに、映像輝度変換装置は、過去フレーム輝度算出手段によって、ゲイン算出手段で算出されたゲインを用いて現在フレームの輝度レベルをゲイン調整し、過去フレームの輝度レベルとして過去フレーム輝度記憶手段に記憶する。この過去フレーム輝度算出手段で算出された過去フレームの輝度レベルは、ゲイン算出手段が、次のフレームが入力された段階で参照する。
そして、映像輝度変換装置は、ゲイン調整手段によって、ゲイン算出手段で算出されたゲインを用いて第1リニア信号をゲイン調整し、第2リニア信号に変換する。
そして、映像輝度変換装置は、逆EOTF処理手段によって、電気-光伝達関数の逆関数(EOTF-1)により、第2リニア信号をHLG方式の映像信号に変換する。
これによって、映像輝度変換装置は、過去フレームの輝度レベルと現在フレームの輝度レベルとの差を、動的に検出し、現在フレームの輝度レベルを急激に変化させないように調整することができる。
In such a configuration, the video luminance conversion device converts the video signal into a first linear signal by the electric-optical transfer function (EOTF) of the HLG system by the EOTF processing means.
Then, the image luminance conversion device calculates the luminance average of the first linear signal as the luminance level of the current frame to be displayed for each frame of the first linear signal by the present frame luminance calculating means.
Then, in the video luminance conversion device, the gain calculating means causes the difference between the brightness level of the current frame and the luminance level of the past frame stored in the past frame luminance storage means to be a predetermined threshold value. Calculate the gain so that it does not exceed.
Further, the video luminance conversion device adjusts the luminance level of the current frame by the past frame luminance calculating means using the gain calculated by the gain calculating means, and stores it in the past frame luminance storage means as the past frame luminance level. .. The brightness level of the past frame calculated by the past frame brightness calculation means is referred to by the gain calculation means at the stage when the next frame is input.
Then, the image luminance conversion device adjusts the gain of the first linear signal by the gain adjusting means using the gain calculated by the gain calculating means, and converts it into the second linear signal.
Then, the video luminance conversion device converts the second linear signal into an HLG system video signal by the inverse function of the electric-optical transfer function (EOTF -1 ) by the inverse EOTF processing means.
As a result, the video luminance conversion device can dynamically detect the difference between the luminance level of the past frame and the luminance level of the current frame, and adjust the luminance level of the current frame so as not to change abruptly.

また、前記課題を解決するため、本発明に係る映像輝度変換装置は、HLG方式の映像信号の輝度変化を動的に緩和させる映像輝度変換装置であって、逆OETF処理手段と、OOTF処理手段と、現在フレーム輝度算出手段と、ゲイン算出手段と、過去フレーム輝度算出手段と、ゲイン調整手段と、OETF処理手段と、を備える構成とした。 Further, in order to solve the above-mentioned problems, the video luminance conversion device according to the present invention is a video luminance conversion device that dynamically relaxes a change in the luminance of a video signal of the HLG system, and is an inverse OETF processing means and an OOTF processing means. A configuration including a current frame luminance calculation means, a gain calculation means, a past frame luminance calculation means, a gain adjusting means, and an OETF processing means.

かかる構成において、映像輝度変換装置は、OETF処理手段によって、HLG方式の光-電気伝達関数の逆関数(OETF-1)により、映像信号を第3リニア信号に変換する。
そして、映像輝度変換装置は、OOTF処理手段によって、HLG方式の光-光伝達関数により、第3リニア信号を第1リニア信号に変換する。
そして、映像輝度変換装置は、現在フレーム輝度算出手段によって、第1リニア信号のフレームごとに、第1リニア信号の輝度平均を表示対象である現在フレームの輝度レベルとして算出する。
そして、映像輝度変換装置は、ゲイン算出手段によって、現在フレームの輝度レベルと、過去フレーム輝度記憶手段に記憶されている過去フレームの輝度レベルとのレベル差に応じて、その差が予め定めた閾値を超えないようにゲインを算出する。
さらに、映像輝度変換装置は、過去フレーム輝度算出手段によって、ゲイン算出手段で算出されたゲインを用いて現在フレームの輝度レベルをゲイン調整し、過去フレームの輝度レベルとして過去フレーム輝度記憶手段に記憶する。この過去フレーム輝度算出手段で算出された過去フレームの輝度レベルは、ゲイン算出手段が、次のフレームが入力された段階で参照する。
そして、映像輝度変換装置は、ゲイン調整手段によって、ゲイン算出手段で算出されたゲインを用いて第1リニア信号をゲイン調整し、第4リニア信号に変換する。
そして、映像輝度変換装置は、OETF処理手段によって、光-電気伝達関数(OETF)により、第4リニア信号をHLG方式の映像信号に変換する。
これによって、映像輝度変換装置は、過去フレームの輝度レベルと現在フレームの輝度レベルとの差を、動的に検出し、現在フレームの輝度レベルを急激に変化させないように調整することができる。
なお、映像輝度変換装置は、コンピュータを、前記した各手段として機能させるための映像輝度変換プログラムで動作させることができる。
In such a configuration, the video luminance conversion device converts the video signal into a third linear signal by the inverse function (OETF -1 ) of the optical transfer function of the HLG system by the OETF processing means.
Then, the image luminance conversion device converts the third linear signal into the first linear signal by the optical transfer function of the HLG system by the OOTF processing means.
Then, the image luminance conversion device calculates the luminance average of the first linear signal as the luminance level of the current frame to be displayed for each frame of the first linear signal by the present frame luminance calculating means.
Then, in the video luminance conversion device, the gain calculating means causes the difference between the brightness level of the current frame and the luminance level of the past frame stored in the past frame luminance storage means to be a predetermined threshold value. Calculate the gain so that it does not exceed.
Further, the video luminance conversion device adjusts the luminance level of the current frame by the past frame luminance calculating means using the gain calculated by the gain calculating means, and stores it in the past frame luminance storage means as the past frame luminance level. .. The brightness level of the past frame calculated by the past frame brightness calculation means is referred to by the gain calculation means at the stage when the next frame is input.
Then, the image luminance conversion device adjusts the gain of the first linear signal by the gain adjusting means using the gain calculated by the gain calculating means, and converts it into the fourth linear signal.
Then, the video luminance conversion device converts the fourth linear signal into an HLG system video signal by the optical transfer function (OETF) by the OETF processing means.
As a result, the video luminance conversion device can dynamically detect the difference between the luminance level of the past frame and the luminance level of the current frame, and adjust the luminance level of the current frame so as not to change abruptly.
The video luminance conversion device can be operated by a video luminance conversion program for operating the computer as each of the above-mentioned means.

本発明は、以下に示す優れた効果を奏するものである。
本発明によれば、映像信号に急激な輝度変化が発生しても、動的に輝度変化を検出し、フレーム間の輝度差を緩和した映像信号に変換することができる。
本発明によって、映像制作者が輝度変化を意識することなく、HDRの映像制作を行うことが可能になる。
The present invention has the following excellent effects.
According to the present invention, even if a sudden change in luminance occurs in a video signal, the change in luminance can be dynamically detected and converted into a video signal in which the difference in luminance between frames is relaxed.
INDUSTRIAL APPLICABILITY According to the present invention, an image producer can produce an HDR image without being aware of a change in luminance.

本発明の第1実施形態に係る映像輝度変換装置の構成を示すブロック構成図である。It is a block block diagram which shows the structure of the image luminance conversion apparatus which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係る映像輝度変換装置のゲイン算出手段におけるゲインの補正を説明するための図であって、(a)は本発明を適用しない映像信号のフレームと輝度レベルとの関係を示すグラフ図、(b)は本発明を適用し時間方向にゲインを補正した場合のグラフ図、(c)は本発明を適用し時間方向にゲインを補正しない場合のグラフ図である。It is a figure for demonstrating the correction of the gain in the gain calculation means of the image luminance conversion apparatus which concerns on 1st Embodiment of this invention, and (a) is the relationship between the frame of an image signal to which this invention is not applied, and the luminance level. (B) is a graph diagram when the present invention is applied and the gain is corrected in the time direction, and (c) is a graph diagram when the present invention is applied and the gain is not corrected in the time direction. 3次元ルックアップテーブルの対応関係を示す図である。It is a figure which shows the correspondence relation of 3D look-up table. 本発明の第1実施形態に係る映像輝度変換装置の動作を示すフローチャートである。It is a flowchart which shows the operation of the image luminance conversion apparatus which concerns on 1st Embodiment of this invention. 本発明の第2実施形態に係る映像輝度変換装置の構成を示すブロック構成図である。It is a block block diagram which shows the structure of the image luminance conversion apparatus which concerns on 2nd Embodiment of this invention. 本発明の第3実施形態に係る映像輝度変換装置の構成を示すブロック構成図である。It is a block block diagram which shows the structure of the image luminance conversion apparatus which concerns on 3rd Embodiment of this invention.

以下、本発明の実施形態について図面を参照して説明する。
≪第1実施形態≫
<映像輝度変換装置の構成>
まず、図1を参照して、本発明の第1実施形態に係る映像輝度変換装置1の構成について説明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<< First Embodiment >>
<Configuration of video brightness converter>
First, with reference to FIG. 1, the configuration of the image luminance conversion device 1 according to the first embodiment of the present invention will be described.

映像輝度変換装置1は、HDR方式のうちの1つであるHLG方式の映像信号に急激な輝度差が含まれる場合に、映像信号を、急激な輝度差を緩和した映像信号に変換するものである。この映像輝度変換装置1は、図示を省略した表示装置(ディスプレイ)に入力する映像信号の前処理を行うもので、表示装置の外部に備えるものとしてもよいし、表示装置の内部に備えるものとしてもよい。
図1に示すように、映像輝度変換装置1は、色信号変換手段10と、EOTF処理手段11と、フレーム別ゲイン算出手段12と、ゲイン調整手段13と、逆EOTF処理手段14と、色信号逆変換手段15と、を備える。ここでは、映像信号が、HLG方式の輝度色差信号であることとして説明する。
The video luminance conversion device 1 converts the video signal into a video signal in which the sudden luminance difference is relaxed when the video signal of the HLG system, which is one of the HDR schemes, contains a sudden luminance difference. be. The video luminance conversion device 1 performs preprocessing of a video signal to be input to a display device (display) (not shown), and may be provided outside the display device or inside the display device. May be good.
As shown in FIG. 1, the image luminance conversion device 1 includes a color signal conversion means 10, an EOTF processing means 11, a frame-specific gain calculation means 12, a gain adjusting means 13, an inverse EOTF processing means 14, and a color signal. The inverse conversion means 15 and the like are provided. Here, it will be described that the video signal is a luminance color difference signal of the HLG system.

色信号変換手段10は、入力した映像信号である輝度色差信号を、RGB色空間の信号(RGB信号)に変換するものである。なお、この色信号変換手段10は、ITU-Rの勧告BT.2020に記載の変換式を用いて色変換を行えばよい。
具体的には、色信号変換手段10は、以下の式(1)により、輝度色差信号Y′,C′,C′を、RGB信号Ein′=(Rin′,Gin′,Bin′)に変換する。
The color signal conversion means 10 converts a luminance color difference signal, which is an input video signal, into a signal (RGB signal) in the RGB color space. The color signal conversion means 10 is described in the recommendation BT of ITU-R. Color conversion may be performed using the conversion formula described in 2020.
Specifically, the color signal conversion means 10 uses the following equation (1) to generate a luminance color difference signal Y ′, C b ′, C r ′, and an RGB signal E in ′ = (R in ′, G in ′, G in ′, Convert to B in ′).

Figure 0007045916000001
Figure 0007045916000001

色信号変換手段10は、変換後のRGB信号Ein′をEOTF処理手段11に出力する。
なお、入力する映像信号としてRGB信号を用いる場合、色信号変換手段10を映像輝度変換装置1の構成から省略すればよい。
The color signal conversion means 10 outputs the converted RGB signal E in ′ to the EOTF processing means 11.
When an RGB signal is used as the input video signal, the color signal conversion means 10 may be omitted from the configuration of the video luminance conversion device 1.

EOTF処理手段11は、HLG方式のRGB信号(映像信号)Ein′を、ディスプレイ光(表示光)に対応するリニア信号(第1リニア信号)Fに変換するものである。
EOTF処理手段11は、ITU-Rの勧告BT.2100で規定されている電気-光伝達関数(EOTF:Electro-Optical Transfer Function)を用いて、映像信号をディスプレイ光に対応するリニア信号に変換する。
The EOTF processing means 11 converts the RGB signal (video signal) E in ′ of the HLG system into a linear signal (first linear signal) F d corresponding to the display light (display light).
The EOTF processing means 11 is described in the recommendation BT of ITU-R. An electric-optical transfer function (EOTF) defined by 2100 is used to convert a video signal into a linear signal corresponding to display light.

EOTFは、光-電気伝達関数(OETF:Opto-Electronic Transfer Function)の逆関数(OETF-1)と、光-光伝達関数(OOTF:Opto-Optical Transfer Function)とで構成される。OETFは、シーン光に対応するリニア信号を映像信号に変換する関数で、撮像装置(カメラ)側の変換処理である。OOTFは、シーン光に対応するリニア信号をディスプレイ光に対応するリニア信号に変換する関数である。
すなわち、EOTFは、OETF-1により、撮像装置(不図示)で生成される映像信号をシーン光に対応するリニア信号に変換し、OOTFにより、シーン光に対応するリニア信号をディスプレイ光に対応するリニア信号に変換する。
EOTF is composed of an inverse function (OETF -1 ) of an optical transfer function (OETF: Opto-Electronic Transfer Function) and an optical transfer function (OOTF: Opto-Optical Transfer Function). OETF is a function that converts a linear signal corresponding to scene light into a video signal, and is a conversion process on the image pickup device (camera) side. OOTF is a function that converts a linear signal corresponding to scene light into a linear signal corresponding to display light.
That is, the EOTF converts the video signal generated by the image pickup device (not shown) into a linear signal corresponding to the scene light by the OETF-1, and the linear signal corresponding to the scene light corresponds to the display light by the OOTF. Convert to a linear signal.

具体的には、EOTF処理手段11は、まず、OETF-1として、以下の式(2)により、色信号変換手段10で変換されたRGB信号Ein′=(Rin′,Gin′,Bin′)を、シーン光に対応するリニア信号Ein=(R,G,B)に変換する。なお、EOTF処理手段11は、RGB信号Ein′の色信号Rin′,Gin′,Bin′ごとに式(2)を適用し、リニア信号Einの色信号R,G,Bに変換する。 Specifically, the EOTF processing means 11 first, as OETF -1 , an RGB signal E in ′ = (R in ′, G in ′, converted by the color signal conversion means 10 by the following equation (2). B in ′) is converted into a linear signal E in = (R s , G s , B s ) corresponding to the scene light. The EOTF processing means 11 applies the equation (2) for each of the color signals R in ′, G in ′, and B in ′ of the RGB signal E in ′, and the color signals R s , G s , of the linear signal E in ′. Convert to B s .

Figure 0007045916000002
Figure 0007045916000002

ここで、a=0.17883277、b=1-4a=0.28466892、c=0.5-a・ln(4a)=0.55991073である。なお、ln(x)はxの自然対数を示す。この式(2)は、RGB信号Ein′のレベル範囲を[0:1]としたときの変換式である。
さらに、EOTF処理手段11は、OOTFとして、以下の式(3)および式(4)により、式(2)で変換したリニア信号Ein=(R,G,B)を、ディスプレイ光に対応するリニア信号F=(R,G,B)に変換する。
Here, a = 0.17883277, b = 1-4a = 0.28466892, and c = 0.5-a · ln (4a) = 0.55991073. Note that ln (x) indicates the natural logarithm of x. This equation (2) is a conversion equation when the level range of the RGB signal E in ′ is set to [0: 1].
Further, the EOTF processing means 11 displays the linear signal E in = (R s , G s , B s ) converted by the formula (2) according to the following formulas (3) and (4) as the OOTF. The linear signal F d = (R d , G d , B d ) corresponding to the above is converted.

Figure 0007045916000003
Figure 0007045916000003
Figure 0007045916000004
Figure 0007045916000004

ここで、c=0.2627、c=0.6780、c=0.0593である。
αは、表示対象のディスプレイ(不図示)のピーク輝度Lと黒の輝度Lとの差(α=L-L)である。βは、ディスプレイの黒の輝度L(β=L)である。例えば、α=1000、β=0とする。
γは、ディスプレイのピーク輝度Lに応じたシステムガンマである。例えば、γ=1.2とする。このγは、以下の式(5)で算出される値である。
Here, c 1 = 0.2627, c 2 = 0.6780, and c 3 = 0.0593.
α is the difference (α = LW −LB ) between the peak luminance LB of the display to be displayed (not shown) and the luminance LB of black. β is the black luminance LB (β = LB ) of the display. For example, α = 1000 and β = 0.
γ is a system gamma corresponding to the peak brightness L W of the display. For example, γ = 1.2. This γ is a value calculated by the following equation (5).

Figure 0007045916000005
Figure 0007045916000005

なお、α、β、γは、予め装置内で固定の係数としてもよいし、外部からユーザが設定するものとしてもよい。
EOTF処理手段11は、ディスプレイ光に対応するリニア信号Fをフレーム別ゲイン算出手段12とゲイン調整手段13とに出力する。
It should be noted that α, β, and γ may be fixed coefficients in the apparatus in advance, or may be set by the user from the outside.
The EOTF processing means 11 outputs a linear signal F d corresponding to the display light to the frame-specific gain calculating means 12 and the gain adjusting means 13.

フレーム別ゲイン算出手段12は、EOTF処理手段11で変換されたディスプレイ光に対応するリニア信号Fのフレームごとの輝度に応じて、フレームごとにゲインを算出するものである。ここでは、フレーム別ゲイン算出手段12は、現在フレーム輝度算出手段120と、過去フレーム輝度算出手段121と、過去フレーム輝度記憶手段122と、加算平均手段123と、ゲイン算出手段124と、を備える。 The frame-specific gain calculation means 12 calculates the gain for each frame according to the luminance of the linear signal F d corresponding to the display light converted by the EOTF processing means 11. Here, the frame-specific gain calculation means 12 includes a current frame brightness calculation means 120, a past frame brightness calculation means 121, a past frame brightness storage means 122, an averaging means 123, and a gain calculation means 124.

現在フレーム輝度算出手段120は、EOTF処理手段11で変換されたディスプレイ光に対応するリニア信号(第1リニア信号)Fを表示対象のディスプレイに表示したときの画面の平均輝度レベル(ALL)を、現在フレーム輝度レベルとして算出するものである。
ここで、リニア信号Fの画素iごとの信号をFdi=(Rdi,Gdi,Bdi)とし、画素iの輝度をYdiとしたとき、現在フレーム輝度算出手段120は、以下の式(6)により、現在フレーム輝度レベルであるALLcurrentを算出する。
Currently, the frame luminance calculation means 120 determines the average luminance level (ALL) of the screen when the linear signal (first linear signal) F d corresponding to the display light converted by the EOTF processing means 11 is displayed on the display to be displayed. , Currently calculated as the frame luminance level.
Here, when the signal for each pixel i of the linear signal F d is F di = (R di , G di , B di ) and the brightness of the pixel i is Y di , the current frame brightness calculation means 120 is as follows. The ALL signal, which is the current frame luminance level, is calculated by the equation (6).

Figure 0007045916000006
Figure 0007045916000006

ここで、c=0.2627、c=0.6780、c=0.0593である。また、mは、ディスプレイの表示画素数であって、水平画素数×垂直画素数である。
現在フレーム輝度算出手段120は、算出した現在フレーム輝度レベル(ALLcurrent)を、過去フレーム輝度算出手段121とゲイン算出手段124とに出力する。
Here, c 1 = 0.2627, c 2 = 0.6780, and c 3 = 0.0593. Further, m is the number of display pixels of the display, which is the number of horizontal pixels × the number of vertical pixels.
The current frame luminance calculation means 120 outputs the calculated current frame luminance level (ALL luminance) to the past frame luminance calculation means 121 and the gain calculation means 124.

過去フレーム輝度算出手段121は、現在フレーム輝度算出手段120で算出された現在フレーム輝度レベルをゲイン調整し、1フレーム後の時点における過去フレーム輝度レベルを算出するものである。
過去フレーム輝度算出手段121は、以下の式(6)に示すように、ゲイン算出手段124で算出された1フレーム前のゲイン(Gain)をシステムガンマ(γ)乗した値を、現在フレーム輝度レベル(ALLcurrent)に乗算することで、過去フレーム輝度レベル(ALLpast)を算出する。
The past frame luminance calculation means 121 adjusts the gain of the current frame luminance level calculated by the current frame luminance calculation means 120, and calculates the past frame luminance level at a time point after one frame.
As shown in the following equation (6), the past frame luminance calculation means 121 sets the value obtained by multiplying the gain (Gain) one frame before by the gain calculation means 124 by the system gamma (γ) to the current frame luminance level. The past frame luminance level (ALL past ) is calculated by multiplying by (ALL current ).

Figure 0007045916000007
Figure 0007045916000007

なお、システムガンマ(γ)は、EOTF処理手段11で使用したγと同じ値(式(4),式(5)参照)である。
過去フレーム輝度算出手段121は、算出した過去フレーム輝度レベル(ALLpast)を過去フレーム輝度記憶手段122に書き込み記憶する。
なお、過去フレーム輝度算出手段121は、予め設定された最大フレーム数だけ過去フレーム輝度レベルを、順次、過去フレーム輝度記憶手段122に記憶する。ここで、過去フレーム輝度算出手段121は、記憶する過去フレーム輝度レベルの数が最大フレーム数を超える場合、最も古い過去フレーム輝度レベルを削除する。なお、最大フレーム数は、外部から設定するものとしてもよい。
The system gamma (γ) is the same value as γ used in the EOTF processing means 11 (see equations (4) and (5)).
The past frame luminance calculation means 121 writes and stores the calculated past frame luminance level (ALL past ) in the past frame luminance storage means 122.
The past frame luminance calculation means 121 sequentially stores the past frame luminance level in the past frame luminance storage means 122 by the maximum number of preset frames. Here, the past frame luminance calculation means 121 deletes the oldest past frame luminance level when the number of past frame luminance levels to be stored exceeds the maximum number of frames. The maximum number of frames may be set from the outside.

過去フレーム輝度記憶手段122は、過去フレーム輝度算出手段121で算出された直近の過去フレーム輝度レベルを予め定めた最大フレーム数まで記憶するものである。
この過去フレーム輝度記憶手段122は、一般的な半導体メモリ等の記憶媒体で構成することができる。
The past frame luminance storage means 122 stores the latest past frame luminance level calculated by the past frame luminance calculation means 121 up to a predetermined maximum number of frames.
The past frame luminance storage means 122 can be configured with a storage medium such as a general semiconductor memory.

加算平均手段123は、過去フレーム輝度記憶手段122に記憶されている過去フレーム輝度レベルを加算平均するものである。
加算平均手段123は、ゲイン算出手段124からの指示により、過去フレーム輝度算出手段121に記憶されている過去フレーム輝度レベルを加算平均する。
すなわち、加算平均手段123は、以下の式(8)に示すように、過去フレーム輝度算出手段121に記憶されているn個の過去フレーム輝度レベル(ALLpast,1,ALLpast,2,…,ALLpast,n)の総和をnで除算することで、加算平均値である平均フレーム輝度レベル(ALLmean)を算出する。
The addition averaging means 123 adds and averages the past frame luminance levels stored in the past frame luminance storage means 122.
The addition averaging means 123 adds and averages the past frame luminance levels stored in the past frame luminance calculation means 121 according to the instruction from the gain calculating means 124.
That is, as shown in the following equation (8), the addition averaging means 123 has n past frame brightness levels (ALL past, 1 , ALL past, 2, 2 , ..., Stored in the past frame brightness calculation means 121. By dividing the sum of ALL past, n ) by n, the average frame brightness level (ALL mean ), which is the added average value, is calculated.

Figure 0007045916000008
Figure 0007045916000008

加算平均手段123は、算出した平均フレーム輝度レベル(ALLmean)をゲイン算出手段124に出力する。 The addition averaging means 123 outputs the calculated average frame luminance level ( ALL main ) to the gain calculating means 124.

ゲイン算出手段124は、平均フレーム輝度レベル(ALLmean)と、現在フレーム輝度レベル(ALLcurrent)との輝度差(レベル差)に基づいて、表示対象のフレーム(現在フレーム)に対するゲインを算出するものである。
ゲイン算出手段124は、現在フレーム輝度算出手段120から、現在フレーム輝度レベル(ALLcurrent)を入力した段階で、加算平均手段123に対して、過去のフレームの輝度平均を算出する旨を指示し、加算平均手段123から、平均フレーム輝度レベル(ALLmean)を取得する。
The gain calculating means 124 calculates the gain for the frame to be displayed (current frame) based on the luminance difference (level difference) between the average frame luminance level ( ALL main) and the current frame luminance level (ALL luminance). Is.
The gain calculation means 124 instructs the addition averaging means 123 to calculate the brightness average of the past frame at the stage where the current frame luminance level (ALL luminance) is input from the current frame luminance calculation means 120. The average frame luminance level (ALL mean ) is acquired from the addition averaging means 123.

ゲイン算出手段124は、加算平均手段123から取得した平均フレーム輝度レベル(ALLmean)と、現在フレーム輝度算出手段120で算出された現在フレーム輝度レベル(ALLcurrent)とに基づいて、輝度差を緩和するゲイン(Gain)を、以下の式(9)により算出する。 The gain calculating means 124 relaxes the luminance difference based on the average frame luminance level (ALL luminance ) acquired from the addition averaging means 123 and the current frame luminance level (ALL luminance) calculated by the current frame luminance calculating means 120. Gain is calculated by the following equation (9).

Figure 0007045916000009
Figure 0007045916000009

この式(9)の第1項aは、平均フレーム輝度レベル(ALLmean)と現在フレーム輝度レベル(ALLcurrent)との輝度差を予め定めた閾値(ALLth)以内に収めるためのゲインである。
式(9)の第1項aは、以下の式(10)に示すように、閾値(ALLth)と輝度差の明暗方向とに基づいて条件分けされた値とする。
The first term a0 of this equation (9) is a gain for keeping the luminance difference between the average frame luminance level ( ALL main) and the current frame luminance level (ALL luminance) within a predetermined threshold value (ALL th ). be.
As shown in the following equation (10), the first term a0 of the equation (9) is a value conditioned based on the threshold value (ALL th ) and the brightness direction of the luminance difference.

Figure 0007045916000010
Figure 0007045916000010

なお、システムガンマ(γ)は、EOTF処理手段11で使用したγと同じ値(前記式(4),式(5)参照)である。
式(9)の第2項は、輝度差を閾値以内に収めた後、ゲインを時間経過に伴って元のゲインに戻すための補正項である。
The system gamma (γ) is the same value as γ used in the EOTF processing means 11 (see the above equations (4) and (5)).
The second term of the equation (9) is a correction term for returning the gain to the original gain with the passage of time after keeping the luminance difference within the threshold value.

第2項のパラメータtは、元のゲインに戻すための時間を示す予め設定されたパラメータであって、ここでは、フレーム数を示す。なお、パラメータtは外部から設定するものとしてもよい。
Δtは、ゲイン算出手段124で増加させるカウンタ(フレーム数)である。ゲイン算出手段124は、平均フレーム輝度レベル(ALLmean)と現在フレーム輝度レベル(ALLcurrent)との輝度差を予め定めた閾値(ALLth)を超えたタイミングでΔtを初期化する。
The parameter t in the second term is a preset parameter indicating the time for returning to the original gain, and here indicates the number of frames. The parameter t may be set from the outside.
Δt is a counter (number of frames) to be increased by the gain calculation means 124. The gain calculation means 124 initializes Δt at a timing when the luminance difference between the average frame luminance level ( ALL main) and the current frame luminance level (ALL luminance) exceeds a predetermined threshold value (ALL th ).

例えば、映像信号として、60Hzのプログレッシブ方式の映像信号を用い、5秒後にゲインを戻す場合、t=300とする。
この場合、ゲイン算出手段124は、輝度差が閾値を超えたタイミングでΔtを初期化し、順次、フレーム単位でカウントアップしていく。そして、ゲイン算出手段124は、Δt=tとなったときに、式(9),式(10)により、Gain=a=1を算出し、ゲインを元に戻すことができる。
For example, when a 60 Hz progressive video signal is used as the video signal and the gain is returned after 5 seconds, t = 300.
In this case, the gain calculation means 124 initializes Δt at the timing when the luminance difference exceeds the threshold value, and sequentially counts up in frame units. Then, when Δt = t, the gain calculating means 124 can calculate Gain = a 0 = 1 by the equations (9) and (10) and restore the gain.

なお、極端な輝度変化が発生し、ゲインが極端に大きな値や極端に小さな値とならないように、ゲインには、上限値と下限値を設けることが望ましい。
例えば、ゲイン算出手段124は、以下の式(11)に示すように、予め定めたパラメータm(mはm>1の実数)により、ゲインの範囲を定め、算出したゲインが1/mよりも小さい場合、ゲインを1/mとし、算出したゲインがmよりも大きい場合、ゲインをmとする。なお、パラメータmは、外部から設定するものとしてもよい。
It is desirable to set an upper limit value and a lower limit value for the gain so that an extreme change in brightness does not occur and the gain does not become an extremely large value or an extremely small value.
For example, as shown in the following equation (11), the gain calculating means 124 determines a gain range by a predetermined parameter m (m is a real number of m> 1), and the calculated gain is greater than 1 / m. If it is small, the gain is 1 / m, and if the calculated gain is larger than m, the gain is m. The parameter m may be set from the outside.

Figure 0007045916000011
Figure 0007045916000011

ゲイン算出手段124は、算出したゲイン(Gain)を、過去フレーム輝度算出手段121とゲイン調整手段13とに出力する。
これによって、フレーム別ゲイン算出手段12は、フレーム単位で、動的に輝度差を閾値以内に抑えるゲインを生成することができる。
The gain calculating means 124 outputs the calculated gain to the past frame luminance calculating means 121 and the gain adjusting means 13.
As a result, the frame-specific gain calculation means 12 can dynamically generate a gain that suppresses the luminance difference within the threshold value on a frame-by-frame basis.

ゲイン調整手段13は、ディスプレイ光に対応するリニア信号に対して、ゲイン調整を行うものである。
ゲイン調整手段13は、以下の式(12)により、フレーム別ゲイン算出手段で算出されたゲイン(Gain)をシステムガンマ(γ)乗した値を、EOTF処理手段11で変換されたディスプレイ光に対応するリニア信号(第1リニア信号)Fに乗算することで、リニア信号Fをリニア信号(第2リニア信号)Fに変換する。システムガンマ(γ)は、EOTF処理手段11で使用したγと同じ値(前記式(4),式(5)参照)である。
The gain adjusting means 13 adjusts the gain of the linear signal corresponding to the display light.
The gain adjusting means 13 corresponds to the display light converted by the EOTF processing means 11 by multiplying the gain (Gain) calculated by the frame-based gain calculating means by the system gamma (γ) by the following equation (12). By multiplying the linear signal (first linear signal) F d to be generated, the linear signal F d is converted into a linear signal (second linear signal) FD . The system gamma (γ) is the same value as γ used in the EOTF processing means 11 (see the above equations (4) and (5)).

Figure 0007045916000012
Figure 0007045916000012

なお、ゲイン調整手段13は、リニア信号Fの色信号R,G,Bごとに式(11)を適用し、リニア信号Fの色信号R,G,Bに変換する。
ゲイン調整手段13は、EOTF処理手段11から入力されるリニア信号Fと、フレーム別ゲイン算出手段12で算出されるゲインとをフレーム単位で同期させる。すなわち、ゲイン調整手段13は、フレーム別ゲイン算出手段12で現在のフレームに対するゲインが生成されるまで、リニア信号Fをフレーム単位で、図示を省略したバッファに一時記憶する。そして、ゲイン調整手段13は、ゲインが算出された段階で、前記式(12)のゲイン調整を行う。
ゲイン調整手段13は、ゲイン調整後のリニア信号Fを、逆EOTF処理手段14に出力する。
The gain adjusting means 13 applies the equation (11) for each of the color signals R d , G d , and B d of the linear signal F d , and converts them into the color signals R D , G D , and BD of the linear signal F D. do.
The gain adjusting means 13 synchronizes the linear signal Fd input from the EOTF processing means 11 with the gain calculated by the frame-based gain calculating means 12 in frame units. That is, the gain adjusting means 13 temporarily stores the linear signal F d in a buffer (not shown) in frame units until the gain for the current frame is generated by the frame-based gain calculating means 12. Then, the gain adjusting means 13 adjusts the gain of the above equation (12) at the stage where the gain is calculated.
The gain adjusting means 13 outputs the gain-adjusted linear signal FD to the inverse EOTF processing means 14.

逆EOTF処理手段14は、ゲイン調整後のリニア信号(第2リニア信号)Fを、HLG方式のRGB信号(映像信号)Eout′に変換するものである。
逆EOTF処理手段14は、ITU-Rの勧告BT.2100で規定されている電気-光伝達関数(EOTF)の逆関数(EOTF-1)を用いて、リニア信号を映像信号に変換する。
EOTF-1(EOTF逆関数)は、光-光伝達関数(OOTF)の逆関数(OOTF-1)と、光-電気伝達関数(OETF)とで構成される。
すなわち、EOTF-1は、OOTF-1により、ゲイン調整後のリニア信号Fを、シーン光に対応するリニア信号に変換し、OETFにより、シーン光に対応するリニア信号を映像信号に変換する。
The inverse EOTF processing means 14 converts the gain-adjusted linear signal (second linear signal) FD into an HLG-type RGB signal (video signal) E out ′.
The reverse EOTF processing means 14 is described in the ITU-R recommendation BT. The linear signal is converted into a video signal by using the inverse function (EOTF -1 ) of the electric-optical transfer function (EOTF) defined by 2100.
EOTF -1 (EOTF inverse function) is composed of an inverse function (OOTF -1 ) of an optical transfer function (OOTF) and an optical transfer function (OETF).
That is, the EOTF -1 converts the gain-adjusted linear signal FD into a linear signal corresponding to the scene light by the OOTF -1 , and converts the linear signal corresponding to the scene light into a video signal by the OETF.

具体的には、逆EOTF処理手段14は、まず、OOTF-1として、以下の式(13)および式(14)により、リニア信号F=(R,G,B)を、シーン光に対応するリニア信号Eout=(R,G,B)に変換する。 Specifically, the inverse EOTF processing means 14 first sets the linear signal FD = ( RD , GD, BD ) as OOTF -1 by the following equations (13) and (14). Converts to a linear signal E out = (R s , G s , B s ) corresponding to light.

Figure 0007045916000013
Figure 0007045916000013
Figure 0007045916000014
Figure 0007045916000014

ここで、c,c,c,α,β,γは、前記式(3),式(4)で用いた値と同じである。
さらに、逆EOTF処理手段14は、OETFとして、以下の式(15)により、リニア信号Eout=(R,G,B)を、映像信号であるRGB信号Eout′=(Rout′,Gout′,Bout′)に変換する。なお、逆EOTF処理手段14は、リニア信号Eoutの色信号R,G,Bごとに式(15)を適用し、RGB信号Eout′の色信号Rout′,Gout′,Bout′に変換する。
Here, c 1 , c 2 , c 3 , α, β, and γ are the same as the values used in the above equations (3) and (4).
Further, the inverse EOTF processing means 14 uses the following equation (15) as the OETF to obtain a linear signal E out = (R s , G s , B s ) and an RGB signal E out ′ = (R out ) which is a video signal. ′, G out ′, B out ′). The inverse EOTF processing means 14 applies the equation (15) for each of the color signals R s , G s , and B s of the linear signal E out , and applies the formula (15) to the color signals R out ′, G out ′, of the RGB signal E out ′. Convert to B out ′.

Figure 0007045916000015
Figure 0007045916000015

ここで、a,b,cは、前記式(2)で用いた値と同じである。なお、ln(x)はxの自然対数を示す。この式(15)は、リニア信号Eoutのレベル範囲を[0:1]としたときの変換式である。
逆EOTF処理手段14は、RGB信号Eout′を色信号逆変換手段15に出力する。
Here, a, b, and c are the same as the values used in the above equation (2). Note that ln (x) indicates the natural logarithm of x. This equation (15) is a conversion equation when the level range of the linear signal E out is [0: 1].
The inverse EOTF processing means 14 outputs the RGB signal E out ′ to the color signal inverse conversion means 15.

色信号逆変換手段15は、逆EOTF処理手段14で生成されたRGB信号を、HLG方式の輝度色差信号に変換するものである。
具体的には、色信号逆変換手段15は、前記式(1)の逆変換として、以下の式(16)により、RGB信号Eout′=(Rout′,Gout′,Bout′)を、輝度色差信号Y,C,Cに変換する。
The color signal inverse conversion means 15 converts the RGB signal generated by the inverse EOTF processing means 14 into a luminance color difference signal of the HLG system.
Specifically, the color signal inverse conversion means 15 performs RGB signal E out ′ = (R out ′, G out ′, B out ′) according to the following equation (16) as the inverse conversion of the equation (1). Is converted into luminance color difference signals Y, C b , and Cr.

Figure 0007045916000016
Figure 0007045916000016

色信号逆変換手段15は、変換後の輝度色差信号Y,C,Cを外部(表示対象のディスプレイ)に出力する。
なお、出力する映像信号をRGB信号とする場合、色信号逆変換手段15を映像輝度変換装置1の構成から省略すればよい。
The color signal inverse conversion means 15 outputs the converted luminance color difference signals Y, C b , and Cr to the outside (display to be displayed).
When the video signal to be output is an RGB signal, the color signal inverse conversion means 15 may be omitted from the configuration of the video luminance conversion device 1.

このように映像輝度変換装置1を構成することで、映像輝度変換装置1は、映像信号に急激な輝度変化が発生しても、動的に輝度変化を検出し、フレーム間の輝度差を緩和した映像信号に変換することができる。
また、映像輝度変換装置1は、コンピュータを前記した手段として機能させるための映像輝度変換プログラムで動作させることができる。
By configuring the video luminance conversion device 1 in this way, the video luminance conversion device 1 dynamically detects the luminance change even if a sudden luminance change occurs in the video signal, and alleviates the luminance difference between the frames. It can be converted into a video signal.
Further, the video luminance conversion device 1 can be operated by a video luminance conversion program for making the computer function as the above-mentioned means.

(変形例)
映像輝度変換装置1は、ゲイン算出手段124において、輝度差を予め定めた閾値に収めるようにゲインを算出した後、時間経過に伴って、段階的にゲインを補正し、元のゲインに戻す処理を行っている(式(9)参照)。しかし、ゲイン算出手段124は、時間経過による補正を行わずにゲインを算出する簡易な処理を行うものとしてもよい。
具体的には、ゲイン算出手段124は、前記式(9)の代わりに、以下の式(17)に示すように、前記式(10)で算出される値aをゲイン(Gain)とする。
(Modification example)
The image luminance conversion device 1 calculates the gain in the gain calculating means 124 so as to keep the luminance difference within a predetermined threshold value, and then gradually corrects the gain with the passage of time and returns it to the original gain. (Refer to equation (9)). However, the gain calculation means 124 may perform a simple process of calculating the gain without performing correction due to the passage of time.
Specifically, the gain calculation means 124 uses the value a0 calculated by the equation (10) as a gain (Gain) as shown in the following equation (17) instead of the equation (9). ..

Figure 0007045916000017
Figure 0007045916000017

ここで、図2を参照して、ゲイン算出手段124において時間経過によりゲインを補正する場合と、補正しない場合とで、フレーム輝度がどのように変化するのかについて説明する。図2(a)は映像輝度変換装置1に入力される元の映像信号のフレームと、フレーム輝度レベル(画面平均輝度レベル:ALL〔cd/m〕)との関係を示す。ここでは、f0,f1,…と連続するフレームにおいて、f3のフレームでシーンAからシーンBに切り替わり、予め定めた閾値よりも大きい輝度変化が発生した例を示している。 Here, with reference to FIG. 2, how the frame luminance changes between the case where the gain calculation means 124 corrects the gain with the passage of time and the case where the gain is not corrected will be described. FIG. 2A shows the relationship between the frame of the original video signal input to the video luminance conversion device 1 and the frame luminance level (screen average luminance level: ALL [cd / m 2 ]). Here, in a frame continuous with f0, f1, ..., An example is shown in which the scene A is switched to the scene B in the frame of f3, and a luminance change larger than a predetermined threshold value occurs.

図2(b)は、ゲイン算出手段124において時間経過によりゲインを補正する場合のフレームとフレーム輝度レベル(ALL)との関係を示す。図2(c)は、ゲイン算出手段124において時間経過によりゲインを補正しない場合のフレームとフレーム輝度レベル(ALL)との関係を示す。
なお、図2(b),(c)ともに、実線がゲイン算出手段124で算出されたゲインによりゲイン調整を行ったときのフレーム輝度レベル、破線がゲイン調整を行わない元の映像信号のフレーム輝度レベルを示す。
FIG. 2B shows the relationship between the frame and the frame luminance level (ALL) when the gain is corrected by the passage of time in the gain calculating means 124. FIG. 2C shows the relationship between the frame and the frame luminance level (ALL) when the gain calculation means 124 does not correct the gain over time.
In both FIGS. 2 (b) and 2 (c), the solid line is the frame luminance level when the gain is adjusted by the gain calculated by the gain calculating means 124, and the broken line is the frame luminance of the original video signal without the gain adjustment. Indicates the level.

図2(b)に示すように、時間経過によりゲインを補正する場合、f7のフレームにおいて、ゲインが元に戻り、元の映像信号と同じフレーム輝度レベルとなる。なお、ここでは、説明を簡略化するため、大きい輝度変化が発生後(f3)、4フレームで元のゲインに戻る例を示している。 As shown in FIG. 2B, when the gain is corrected over time, the gain returns to the original value in the frame of f7, and the frame luminance level becomes the same as that of the original video signal. In addition, in order to simplify the explanation, an example is shown in which the gain returns to the original gain in 4 frames after a large luminance change occurs (f3).

一方、図2(c)に示すように、時間経過によりゲインを補正しない場合、大きい輝度変化が発生後(f3)、フレーム輝度レベルは映像信号に対応して、ほぼ一定のフレーム輝度レベルとなる。なお、この場合でも、平均フレーム輝度レベル(ALLmean)と現在フレーム輝度レベル(ALLcurrent)との差が、閾値(ALLth)以内となった段階で、フレーム輝度レベルは元の映像信号と同じになる。 On the other hand, as shown in FIG. 2C, when the gain is not corrected with the passage of time, the frame luminance level becomes almost constant frame luminance level corresponding to the video signal after a large luminance change occurs (f3). .. Even in this case, the frame luminance level is the same as the original video signal when the difference between the average frame luminance level (ALL luminance ) and the current frame luminance level (ALL luminance) is within the threshold value (ALL th ). become.

また、ここでは、EOTF処理手段11および逆EOTF処理手段14において、電気-光伝達関数(EOTF)およびその逆関数(EOTF-1)を用いたが、必ずしも演算を行う必要はない。例えば、EOTF処理手段11は、図3に示すように、RGB信号Ein′=(Rin′,Gin′,Bin′)とリニア信号F=(R,G,B)とを対応付けた3次元のルックアップテーブル(3D-LUT)を参照して変換することとしてもよい。また、逆EOTF処理手段14は、図3と同様に、リニア信号F=(R,G,B)とRGB信号Eout′=(Rout′,Gout′,Bout′)とを対応付けた3次元のルックアップテーブル(3D-LUT)を参照して変換することとしてもよい。
なお、3D-LUTは、必ずしもすべての値を網羅する必要はなく、サンプリングした値でよい。3D-LUTを離散的にサンプリングしたテーブルとした場合、EOTF処理手段11および逆EOTF処理手段14は、体積補間法等の公知のルックアップテーブル補間手法を用いて、3D-LUTの補間を行えばよい。
Further, here, in the EOTF processing means 11 and the inverse EOTF processing means 14, the electric-optical transfer function (EOTF) and its inverse function (EOTF -1 ) are used, but it is not always necessary to perform the calculation. For example, as shown in FIG. 3, the EOTF processing means 11 has an RGB signal E in ′ = (R in ′, G in ′, Bin ′) and a linear signal F d = (R d , G d , B d ). It may be converted by referring to a three-dimensional look-up table (3D-LUT) associated with. Further, in the reverse EOTF processing means 14, the linear signal FD = ( RD , G D , BD ) and the RGB signal E out ′ = (R out ′, G out ′, B out ′), as in FIG. It may be converted by referring to a three-dimensional look-up table (3D-LUT) associated with.
The 3D-LUT does not necessarily cover all the values, and may be a sampled value. When the 3D-LUT is a discretely sampled table, the EOTF processing means 11 and the inverse EOTF processing means 14 may perform 3D-LUT interpolation using a known look-up table interpolation method such as a volume interpolation method. good.

<映像輝度変換装置の動作>
次に、図4を参照(構成については、適宜図1参照)して、本発明の第1実施形態に係る映像輝度変換装置1の動作について説明する。なお、映像輝度変換装置1は、映像信号を順次入力するが、ここでは、1フレーム分の映像信号の処理動作についてのみ説明する。すなわち、映像輝度変換装置1は、映像信号のすべてが入力完了するまで、図3に示す動作をフレーム単位で繰り返す。
<Operation of video brightness converter>
Next, the operation of the image luminance conversion device 1 according to the first embodiment of the present invention will be described with reference to FIG. 4 (see FIG. 1 for the configuration as appropriate). The video luminance conversion device 1 sequentially inputs video signals, but here, only the processing operation of the video signals for one frame will be described. That is, the video luminance conversion device 1 repeats the operation shown in FIG. 3 in frame units until all the video signals have been input.

ステップS1において、色信号変換手段10は、入力した映像信号である輝度色差信号を、RGB色空間の信号(RGB信号)に変換する(前記式(1)参照)。なお、入力する映像信号をRGB信号とする場合、ステップS1を省略する。色信号変換手段10は、変換後のRGB信号Ein′をEOTF処理手段11に出力する。 In step S1, the color signal conversion means 10 converts the luminance color difference signal, which is the input video signal, into a signal (RGB signal) in the RGB color space (see the above equation (1)). If the input video signal is an RGB signal, step S1 is omitted. The color signal conversion means 10 outputs the converted RGB signal E in ′ to the EOTF processing means 11.

ステップS2において、EOTF処理手段11は、ステップS1で変換されたRGB信号を、電気-光伝達関数(EOTF)により、ディスプレイ光(表示光)に対応するリニア信号Fに変換する(前記式(2)~式(4)参照)。EOTF処理手段11は、変換後のリニア信号Fを、フレーム別ゲイン算出手段12とゲイン調整手段13とに出力する。 In step S2, the EOTF processing means 11 converts the RGB signal converted in step S1 into a linear signal F d corresponding to the display light (display light) by the electric-optical transfer function (EOTF) (the above formula (the above formula (the above formula)). 2) -Refer to equation (4)). The EOTF processing means 11 outputs the converted linear signal F d to the frame-specific gain calculating means 12 and the gain adjusting means 13.

ステップS3において、フレーム別ゲイン算出手段12の現在フレーム輝度算出手段120は、ステップS2で変換されたディスプレイ光に対応するリニア信号Fをディスプレイに表示したときの画面(フレーム)の平均輝度レベルを現在フレーム輝度レベル(ALLcurrent)として算出する(前記式(6)参照)。現在フレーム輝度算出手段120は、算出した現在フレーム輝度レベル(ALLcurrent)を、過去フレーム輝度算出手段121とゲイン算出手段124とに出力する。 In step S3, the current frame luminance calculation means 120 of the frame-specific gain calculation means 12 determines the average luminance level of the screen (frame) when the linear signal F d corresponding to the display light converted in step S2 is displayed on the display. It is calculated as the current frame luminance level (ALL luminance) (see the above equation (6)). The current frame luminance calculation means 120 outputs the calculated current frame luminance level (ALL luminance) to the past frame luminance calculation means 121 and the gain calculation means 124.

ステップS4において、現在フレーム輝度レベル(ALLcurrent)を入力したゲイン算出手段124からの指示で、加算平均手段123は、過去フレーム輝度記憶手段122に記憶されている過去フレーム輝度レベルを加算平均することで、過去の平均フレーム輝度レベル(ALLmean)を算出する(前記式(8)参照)。加算平均手段123は、算出した平均フレーム輝度レベル(ALLmean)をゲイン算出手段124に出力する。 In step S4, the addition averaging means 123 adds and averages the past frame luminance levels stored in the past frame luminance storage means 122 by the instruction from the gain calculating means 124 in which the current frame luminance level (ALL luminance) is input. Then, the past average frame luminance level (ALL luminance ) is calculated (see the above equation (8)). The addition averaging means 123 outputs the calculated average frame luminance level (ALL mean ) to the gain calculating means 124.

ステップS5において、ゲイン算出手段124は、ステップS3で算出された現在フレーム輝度レベル(ALLcurrent)と、ステップS4で算出された過去の平均フレーム輝度レベル(ALLmean)との輝度差に応じて、ゲインを算出する(前記式(9),式(10)参照)。
ここで、ゲイン算出手段124は、平均フレーム輝度レベル(ALLmean)と現在フレーム輝度レベル(ALLcurrent)との輝度差を予め定めた閾値(ALLth)を超えることでゲインを調整した場合、次フレーム以降でステップS5の処理を行うごとに、順次、ゲインを元に戻す補正項を加えてゲインを算出する(前記式(9)参照)。
なお、ゲイン算出手段124は、補正項を加えずに、簡易にゲインを算出することとしてもよい(前記式(17)参照)。
ゲイン算出手段124は、算出したゲインを、過去フレーム輝度算出手段121とゲイン調整手段13とに出力する。
In step S5, the gain calculation means 124 responds to the brightness difference between the current frame luminance level (ALL luminance) calculated in step S3 and the past average frame luminance level (ALL luminance ) calculated in step S4. Calculate the gain (see equations (9) and (10) above).
Here, when the gain calculation means 124 adjusts the gain by exceeding a predetermined threshold value (ALL th ) for the luminance difference between the average frame luminance level ( ALL main) and the current frame luminance level (ALL luminance), the following Every time the process of step S5 is performed after the frame, the gain is calculated by sequentially adding a correction term for restoring the gain (see the above equation (9)).
The gain calculation means 124 may simply calculate the gain without adding a correction term (see the above equation (17)).
The gain calculating means 124 outputs the calculated gain to the past frame luminance calculating means 121 and the gain adjusting means 13.

ステップS6において、過去フレーム輝度算出手段121は、ステップS3で算出された現在フレーム輝度レベル(ALLcurrent)を、ステップS5で算出されたゲインによりゲイン調整し、過去フレーム輝度レベル(ALLpast)を算出する(前記式(7)参照)。過去フレーム輝度算出手段121は、算出した過去フレーム輝度レベル(ALLpast)を、過去フレーム輝度記憶手段122に記憶する。このとき、過去フレーム輝度算出手段121は、記憶する過去フレーム輝度レベルの数が最大フレーム数を超える場合、最も古い過去フレーム輝度レベルを削除する。 In step S6, the past frame luminance calculation means 121 adjusts the gain of the current frame luminance level (ALL luminance) calculated in step S3 by the gain calculated in step S5, and calculates the past frame luminance level (ALL past ). (Refer to the above equation (7)). The past frame luminance calculation means 121 stores the calculated past frame luminance level (ALL past ) in the past frame luminance storage means 122. At this time, when the number of past frame luminance levels to be stored exceeds the maximum number of frames, the past frame luminance calculation means 121 deletes the oldest past frame luminance level.

ステップS7において、ゲイン調整手段13は、ステップS2で変換されたリニア信号Fに対して、ステップS5で算出されたゲインを用いてゲイン調整を行い、リニア信号Fを生成する(前記式(12)参照)。ゲイン調整手段13は、生成したリニア信号Fを逆EOTF処理手段14に出力する。 In step S7, the gain adjusting means 13 adjusts the gain of the linear signal Fd converted in step S2 using the gain calculated in step S5 , and generates a linear signal FD (the above equation (the above equation (1)). 12) See). The gain adjusting means 13 outputs the generated linear signal FD to the inverse EOTF processing means 14.

ステップS8において、逆EOTF処理手段14は、ステップS7で生成されたリニア信号Fを、電気-光伝達関数の逆関数(EOTF-1)により、HLG方式のRGB信号(映像信号)Eout′に変換する(前記式(13)~式(15)参照)。逆EOTF処理手段14は、変換後のRGB信号Eout′を、色信号逆変換手段15に出力する。 In step S8, the inverse EOTF processing means 14 uses the linear signal FD generated in step S7 as an HLG-type RGB signal (video signal) E out ′ by the inverse function of the electric-optical transfer function (EOTF -1 ). (See equations (13) to (15) above). The inverse EOTF processing means 14 outputs the converted RGB signal E out ′ to the color signal inverse conversion means 15.

ステップS9において、色信号逆変換手段15は、ステップS8で変換された映像信号であるRGB信号を、輝度色差信号に変換する(前記式(16)参照)。なお、出力する映像信号をRGB信号とする場合、ステップS9を省略する。色信号逆変換手段15は、変換後の輝度色差信号を外部に出力する。
以上の動作をフレームごとに処理することで、映像輝度変換装置1は、映像信号に急激な輝度変化が発生しても、動的に輝度変化を検出し、フレーム間の輝度差を緩和した映像信号に変換することができる。
In step S9, the color signal inverse conversion means 15 converts the RGB signal, which is the video signal converted in step S8, into a luminance color difference signal (see the above equation (16)). If the video signal to be output is an RGB signal, step S9 is omitted. The color signal inverse conversion means 15 outputs the converted luminance color difference signal to the outside.
By processing the above operation for each frame, the image luminance conversion device 1 dynamically detects the luminance change even if a sudden luminance change occurs in the video signal, and the image in which the luminance difference between the frames is relaxed is relaxed. It can be converted into a signal.

≪第2実施形態≫
次に、図5を参照して、本発明の第2実施形態に係る映像輝度変換装置1Bの構成について説明する。
図1で説明した映像輝度変換装置1は、HLG方式の映像信号において、表示対象となる現在のフレームの輝度と、過去の複数フレームの平均輝度とに急激な輝度差が含まれる場合に、急激な輝度差を緩和した映像信号に変換するものであった。
<< Second Embodiment >>
Next, with reference to FIG. 5, the configuration of the image luminance conversion device 1B according to the second embodiment of the present invention will be described.
The video luminance conversion device 1 described with reference to FIG. 1 is abrupt when the luminance of the current frame to be displayed and the average luminance of a plurality of past frames include a sudden luminance difference in the video signal of the HLG system. It was converted into a video signal in which the difference in luminance was relaxed.

映像輝度変換装置1Bは、HLG方式の映像信号において、表示対象となる現在のフレームの輝度と、1フレーム前のフレームの輝度とに急激な輝度差が含まれる場合に、急激な輝度差を緩和した映像信号に変換するものである。
すなわち、映像輝度変換装置1Bは、図1で説明した映像輝度変換装置1のフレーム別ゲイン算出手段12の構成から加算平均手段123を削除し、過去フレーム輝度算出手段121Bおよびゲイン算出手段124の機能を変更した過去フレーム輝度算出手段121Bおよびゲイン算出手段124Bとしたフレーム別ゲイン算出手段12Bを備える。
過去フレーム輝度算出手段121Bおよびゲイン算出手段124B以外の構成は、図1で説明した映像輝度変換装置1の構成と同じであるため、同一の符号を付して説明を省略する。
The video luminance conversion device 1B alleviates the sudden luminance difference when the luminance of the current frame to be displayed and the luminance of the frame one frame before are included in the HLG system video signal. It is converted into a video signal.
That is, the video luminance conversion device 1B deletes the addition averaging means 123 from the configuration of the frame-specific gain calculation means 12 of the video luminance conversion device 1 described with reference to FIG. 1, and functions the past frame luminance calculation means 121B and the gain calculation means 124. The frame-specific gain calculation means 12B is provided as the past frame brightness calculation means 121B and the gain calculation means 124B.
Since the configurations other than the past frame luminance calculation means 121B and the gain luminance calculation means 124B are the same as the configurations of the image luminance conversion device 1 described with reference to FIG. 1, the same reference numerals are given and the description thereof will be omitted.

過去フレーム輝度算出手段121Bは、現在フレーム輝度算出手段120で算出された現在フレーム輝度レベルをゲイン調整し、1フレーム後の時点における過去フレーム輝度レベル(ALLpast)を算出するものである。過去フレーム輝度算出手段121Bにおける過去フレーム輝度レベルの算出手法は、過去フレーム輝度算出手段121(図1)と同じである。
なお、過去フレーム輝度算出手段121Bは、1フレーム分の過去フレーム輝度レベルを、過去フレーム輝度記憶手段122に記憶する。
The past frame luminance calculation means 121B adjusts the gain of the current frame luminance level calculated by the current frame luminance calculation means 120, and calculates the past frame luminance level (ALL past ) at a time point after one frame. The method for calculating the past frame luminance level in the past frame luminance calculating means 121B is the same as that for the past frame luminance calculating means 121 (FIG. 1).
The past frame luminance calculation means 121B stores the past frame luminance level for one frame in the past frame luminance storage means 122.

ゲイン算出手段124Bは、過去フレーム輝度記憶手段122に記憶されている1フレーム分の過去フレーム輝度レベル(ALLpast)と、現在フレーム輝度レベル(ALLcurrent)との輝度差に基づいて、表示対象のフレーム(現在フレーム)に対するゲインを算出するものである。
ゲイン算出手段124Bは、現在フレーム輝度算出手段120から、現在フレーム輝度レベル(ALLcurrent)を入力した段階で、過去フレーム輝度記憶手段122から過去フレーム輝度レベル(ALLpast)を読み出す。
なお、ゲイン算出手段124Bにおいてゲインを算出するには、図1で説明したゲイン算出手段124における平均フレーム輝度レベル(ALLmean)を過去フレーム輝度レベル(ALLpast)に置き換えて同様の演算を行えばよい(前記式(9),式(10)参照)。
The gain calculation means 124B is a display target based on the brightness difference between the past frame luminance level (ALL past ) for one frame stored in the past frame luminance storage means 122 and the current frame luminance level (ALL luminance). It calculates the gain for the frame (current frame).
The gain calculating means 124B reads out the past frame luminance level (ALL past ) from the past frame luminance storage means 122 at the stage where the present frame luminance level (ALL luminance ) is input from the present frame luminance calculating means 120.
In order to calculate the gain in the gain calculating means 124B, the same calculation may be performed by replacing the average frame luminance level (ALL luminance ) in the gain calculating means 124 described with FIG. 1 with the past frame luminance level (ALL past ). Good (see equations (9) and (10) above).

以上説明したように映像輝度変換装置1Bを構成することで、映像輝度変換装置1Bは、映像信号に急激な輝度変化が発生しても、動的に輝度変化を検出し、フレーム間の輝度差を緩和した映像信号に変換することができる。
また、映像輝度変換装置1Bは、コンピュータを前記した手段として機能させるための映像輝度変換プログラムで動作させることができる。
By configuring the video luminance conversion device 1B as described above, the video luminance conversion device 1B dynamically detects the luminance change even if a sudden luminance change occurs in the video signal, and the luminance difference between the frames. Can be converted into a relaxed video signal.
Further, the video luminance conversion device 1B can be operated by a video luminance conversion program for making the computer function as the above-mentioned means.

なお、映像輝度変換装置1Bの動作は、図4で説明した映像輝度変換装置1の動作とほぼ同じである。映像輝度変換装置1Bの場合、図4のステップS4を省略し、ステップS5において、ゲイン算出手段124Bは、ステップS3で算出された現在フレーム輝度レベル(ALLcurrent)と、過去フレーム輝度記憶手段122に記憶されている過去フレーム輝度レベル(ALLpast)との輝度差に応じて、ゲインを算出する。それ以外の動作は、映像輝度変換装置1の動作と同じであるため、説明を省略する。 The operation of the video luminance conversion device 1B is almost the same as the operation of the video luminance conversion device 1 described with reference to FIG. In the case of the image luminance conversion device 1B, step S4 in FIG. 4 is omitted, and in step S5, the gain calculation means 124B uses the current frame luminance level (ALL luminance) calculated in step S3 and the past frame luminance storage means 122. The gain is calculated according to the luminance difference from the stored past frame luminance level (ALL past ). Since the other operations are the same as the operations of the video luminance conversion device 1, the description thereof will be omitted.

≪第3実施形態≫
次に、図6を参照して、本発明の第3実施形態に係る映像輝度変換装置1Cの構成について説明する。
映像輝度変換装置1Cは、映像輝度変換装置1,1Bと同様、HDR方式のうちの1つであるHLG方式の映像信号に急激な輝度差が含まれる場合に、映像信号を、急激な輝度差を緩和した映像信号に変換するものである。
図6に示すように、映像輝度変換装置1Cは、色信号変換手段10と、フレーム別ゲイン算出手段12と、ゲイン調整手段13Cと、色信号逆変換手段15と、逆OETF処理手段16と、OOTF処理手段17と、OETF処理手段18と、を備える。
<< Third Embodiment >>
Next, with reference to FIG. 6, the configuration of the image luminance conversion device 1C according to the third embodiment of the present invention will be described.
Similar to the video brightness conversion devices 1 and 1B, the video brightness conversion device 1C converts the video signal into a sudden brightness difference when the video signal of the HLG method, which is one of the HDR methods, contains a sudden brightness difference. Is converted into a relaxed video signal.
As shown in FIG. 6, the image luminance conversion device 1C includes a color signal conversion means 10, a frame-specific gain calculation means 12, a gain adjusting means 13C, a color signal inverse conversion means 15, an inverse OETF processing means 16, and the like. The OOTF processing means 17 and the OETF processing means 18 are provided.

すなわち、映像輝度変換装置1Cは、図1で説明した映像輝度変換装置1のEOTF処理手段11および逆EOTF処理手段14を、逆OETF処理手段16、OOTF処理手段17およびOETF処理手段18に置き換え、ゲイン調整手段13の入出力を変更したゲイン調整手段13Cで構成している。他の構成は、図1で説明した映像輝度変換装置1の構成と同じであるため、同一の符号を付して説明を省略する。 That is, the video luminance conversion device 1C replaces the EOTF processing means 11 and the reverse EOTF processing means 14 of the video luminance conversion device 1 described with reference to the reverse OETF processing means 16, OOTF processing means 17, and OETF processing means 18. It is composed of a gain adjusting means 13C in which the input / output of the gain adjusting means 13 is changed. Since the other configurations are the same as the configurations of the image luminance conversion device 1 described with reference to FIG. 1, the same reference numerals are given and the description thereof will be omitted.

逆OETF処理手段16は、HLG方式のRGB信号(映像信号)Ein′を、シーン光に対応するリニア信号(第3リニア信号)Einに変換するものである。
逆OETF処理手段16は、光-電気伝達関数(OETF)の逆関数(OETF-1)により、色信号変換手段10で変換されたRGB信号Ein′=(Rin′,Gin′,Bin′)を、リニア信号Ein=(R,G,B)に変換する。なお、この変換処理は、図1のEOTF処理手段11の一部であって、前記式(2)と同じ処理である。
逆OETF処理手段16は、変換後のリニア信号Einを、OOTF処理手段17とゲイン調整手段13Cとに出力する。
The reverse OETF processing means 16 converts the RGB signal (video signal) E in ′ of the HLG system into the linear signal (third linear signal) E in corresponding to the scene light.
The inverse OETF processing means 16 is an RGB signal E in ′ = (R in ′, G in ′, B) converted by the color signal conversion means 10 by the inverse function (OETF -1 ) of the optical transfer function (OETF). in ′) is converted into a linear signal E in = (R s , G s , B s ). This conversion process is a part of the EOTF processing means 11 of FIG. 1, and is the same process as the above formula (2).
The reverse OETF processing means 16 outputs the converted linear signal Ein to the OOTF processing means 17 and the gain adjusting means 13C.

OOTF処理手段17は、シーン光に対応するリニア信号(第3リニア信号)Einをディスプレイ光に対応するリニア信号(第1リニア信号)Fに変換するものである。
OOTF処理手段17は、光-光伝達関数(OOTF)により、逆OETF処理手段16で変換されたリニア信号Ein=(R,G,B)を、リニア信号F=(R,G,B)に変換する。なお、この変換処理は、図1のEOTF処理手段11の一部であって、前記式(4)と同じ処理である。
OOTF処理手段17は、変換後のリニア信号Fを、フレーム別ゲイン算出手段12に出力する。
The OOTF processing means 17 converts the linear signal (third linear signal) E in corresponding to the scene light into the linear signal (first linear signal) F d corresponding to the display light.
The OOTF processing means 17 converts the linear signal E in = (R s , G s , B s ) converted by the inverse OETF processing means 16 by the optical transfer function (OOTF) into the linear signal F d = (R d) . , G d , B d ). This conversion process is a part of the EOTF processing means 11 of FIG. 1, and is the same process as the above formula (4).
The OOTF processing means 17 outputs the converted linear signal F d to the frame-specific gain calculation means 12.

ゲイン調整手段13Cは、シーン光に対応するリニア信号に対して、ゲイン調整を行うものである。
ゲイン調整手段13Cは、以下の式(18)により、フレーム別ゲイン算出手段12で算出されたゲイン(Gain)を、逆OETF処理手段16で変換されたシーン光に対応するリニア信号(第3リニア信号)Einに乗算することで、リニア信号Einを、リニア信号(第4リニア信号)Eoutに変換する。
The gain adjusting means 13C adjusts the gain of the linear signal corresponding to the scene light.
The gain adjusting means 13C uses the following equation (18) to convert the gain calculated by the frame-based gain calculating means 12 into a linear signal (third linear) corresponding to the scene light converted by the inverse OETF processing means 16. By multiplying the signal) E in , the linear signal E in is converted into a linear signal (fourth linear signal) E out .

Figure 0007045916000018
Figure 0007045916000018

このゲイン調整手段13Cは、入出力の信号の種類が異なるだけで、図1で説明したゲイン調整手段13の処理内容と同じである。
ゲイン調整手段13Cは、ゲイン調整後のリニア信号Eoutを、OETF処理手段18に出力する。
The gain adjusting means 13C is the same as the processing content of the gain adjusting means 13 described with reference to FIG. 1 except that the types of input / output signals are different.
The gain adjusting means 13C outputs the gain-adjusted linear signal E out to the OETF processing means 18.

OETF処理手段18は、ゲイン調整後のリニア信号(第4リニア信号)Eoutを、映像信号であるRGB信号Eout′に変換するものである。
OETF処理手段18は、光-電気伝達関数(OETF)により、ゲイン調整手段13Cでゲイン調整されたリニア信号Eout=(Rout,Gout,Bout)を、映像信号であるRGB信号Eout′=(Rout′,Gout′,Bout′)に変換する。なお、この変換処理は、図1の逆EOTF処理手段14の一部であって、前記式(15)と同じ処理である。
OETF処理手段18は、RGB信号Eout′を色信号逆変換手段15に出力する。
The OETF processing means 18 converts the gain-adjusted linear signal (fourth linear signal) E out into an RGB signal E out ′ which is a video signal.
The OETF processing means 18 converts a linear signal E out = (R out , G out , B out ) gain-adjusted by the gain adjusting means 13C by an optical transfer function (OETF) into an RGB signal E out , which is a video signal. ′ = (R out ′, G out ′, B out ′). This conversion process is a part of the inverse EOTF processing means 14 of FIG. 1, and is the same process as the above formula (15).
The OETF processing means 18 outputs the RGB signal E out ′ to the color signal inverse conversion means 15.

このように映像輝度変換装置1Cを構成することで、映像輝度変換装置1Cは、映像輝度変換装置1と同様に、映像信号に急激な輝度変化が発生しても、動的に輝度変化を検出し、フレーム間の輝度差を緩和した映像信号に変換することができる。
また、映像輝度変換装置1Cは、コンピュータを前記した手段として機能させるための映像輝度変換プログラムで動作させることができる。
また、映像輝度変換装置1Cのフレーム別ゲイン算出手段12は、図5で説明した映像輝度変換装置1Bのフレーム別ゲイン算出手段12Bに置き換えてもよい。
By configuring the video luminance conversion device 1C in this way, the video luminance conversion device 1C dynamically detects the luminance change even if a sudden luminance change occurs in the video signal, like the video luminance conversion device 1. However, it can be converted into a video signal in which the difference in luminance between frames is relaxed.
Further, the video luminance conversion device 1C can be operated by a video luminance conversion program for operating the computer as the above-mentioned means.
Further, the frame-specific gain calculation means 12 of the video luminance conversion device 1C may be replaced with the frame-specific gain calculation means 12B of the video luminance conversion device 1B described with reference to FIG.

また、ここでは、逆OETF処理手段16およびOETF処理手段18において、光-電気伝達関数の逆関数(OETF-1)および光-電気伝達関数(OETF)を用いたが、必ずしも演算を行う必要はない。例えば、逆OETF処理手段16は、RGB信号Ein′=(Rin′,Gin′,Bin′)とリニア信号Ein=(R,G,B)とを対応付けた変換テーブルを参照して変換することとしてもよい。この場合、前記式(2)に示すように、RGB各色信号で変換内容が同じであるため、色信号ごとに変換テーブルを持つ必要はなく、1次元のルックアップテーブル(1D-LUT)で変換テーブルを構成することができる。 Further, here, in the inverse OETF processing means 16 and the OETF processing means 18, the inverse function of the optical transfer function (OETF -1 ) and the optical transfer function (OETF) are used, but it is not always necessary to perform the calculation. do not have. For example, the inverse OETF processing means 16 converts the RGB signal E in ′ = (R in ′, G in ′, B in ′) and the linear signal E in = (R s , G s , B s ) in association with each other. It may be converted by referring to the table. In this case, as shown in the above equation (2), since the conversion contents are the same for each RGB color signal, it is not necessary to have a conversion table for each color signal, and conversion is performed by a one-dimensional lookup table (1D-LUT). You can configure the table.

また、OETF処理手段18は、リニア信号Eout=(Rout,Gout,Bout)とRGB信号Eout′=(Rout′,Gout′,Bout′)とを対応付けた変換テーブルを参照して変換することとしてもよい。この場合も、前記式(15)に示すように、RGB各色信号で変換内容が同じであるため、色信号ごとに変換テーブルを持つ必要はなく、1次元のルックアップテーブル(1D-LUT)で変換テーブルを構成することができる。
このように、映像輝度変換装置1Cは、映像輝度変換装置1,1Bよりも容量の少ないルックアップテーブルで同様の処理を実現することができる。
Further, the OETF processing means 18 is a conversion table in which the linear signal E out = (R out , G out , B out ) and the RGB signal E out ′ = (R out ′, G out ′, B out ′) are associated with each other. It may be converted by referring to. Also in this case, as shown in the above equation (15), since the conversion contents are the same for each RGB color signal, it is not necessary to have a conversion table for each color signal, and a one-dimensional look-up table (1D-LUT) is used. You can configure a conversion table.
As described above, the video luminance conversion device 1C can realize the same processing with a look-up table having a smaller capacity than the video luminance conversion devices 1 and 1B.

なお、映像輝度変換装置1Cの動作は、図4で説明した映像輝度変換装置1の動作とほぼ同じである。映像輝度変換装置1Cの場合、ステップS2の電気-光伝達関数(EOTF)の処理を、光-電気伝達関数の逆関数(OETF-1)と光-光伝達関数(OOTF)とに分離し、ステップS7において、OETF-1で変換されたリニア信号にゲイン調整を行えばよい。
また、ステップS8の電気-光伝達関数の逆関数(EOTF-1)の処理を、光-電気伝達関数(OETF)の処理に置き換えればよい。
The operation of the video luminance conversion device 1C is almost the same as the operation of the video luminance conversion device 1 described with reference to FIG. In the case of the image brightness converter 1C, the processing of the electric-optical transfer function (EOTF) in step S2 is separated into an inverse function of the optical-electric transfer function (OETF -1 ) and an optical-optical transfer function (OOTF). In step S7, the gain of the linear signal converted by OETF -1 may be adjusted.
Further, the processing of the inverse function (EOTF -1 ) of the electric-optical transfer function in step S8 may be replaced with the processing of the optical-electric transfer function (OETF).

1,1B,1C 映像輝度変換装置
10 色信号変換手段
11 EOTF処理手段
12,12B フレーム別ゲイン算出手段
120 現在フレーム輝度算出手段
121,121B 過去フレーム輝度算出手段
122 過去フレーム輝度記憶手段
123 加算平均手段
124,124B ゲイン算出手段
13,13C ゲイン調整手段
14 逆EOTF処理手段
15 色信号逆変換手段
16 逆OETF処理手段
17 OOTF処理手段
18 OETF処理手段
1,1B, 1C Video brightness converter 10 Color signal conversion means 11 EOTF processing means 12, 12B Frame-specific gain calculation means 120 Current frame brightness calculation means 121, 121B Past frame brightness calculation means 122 Past frame brightness storage means 123 Addition averaging means 124, 124B Gain calculation means 13,13C Gain adjustment means 14 Inverse EOTF processing means 15 Color signal inverse conversion means 16 Inverse OETF processing means 17 OOTF processing means 18 OETF processing means

Claims (4)

HLG方式の映像信号の輝度変化を動的に緩和させる映像輝度変換装置であって、
前記HLG方式の電気-光伝達関数により、前記映像信号を第1リニア信号に変換するEOTF処理手段と、
前記第1リニア信号のフレームごとに、前記第1リニア信号の輝度平均を表示対象である現在フレームの輝度レベルとして算出する現在フレーム輝度算出手段と、
前記現在フレームの輝度レベルと、過去フレーム輝度記憶手段に記憶されている過去フレームの輝度レベルとのレベル差に応じてゲインを算出するゲイン算出手段と、
前記ゲインを用いて前記現在フレームの輝度レベルをゲイン調整し、前記過去フレームの輝度レベルとして前記過去フレーム輝度記憶手段に記憶する過去フレーム輝度算出手段と、
前記ゲインを用いて前記第1リニア信号をゲイン調整し、第2リニア信号に変換するゲイン調整手段と、
前記電気-光伝達関数の逆関数により、前記第2リニア信号を前記HLG方式の映像信号に変換する逆EOTF処理手段と、を備え
前記ゲイン算出手段は、
前記現在フレームの輝度レベルをALL current 、前記過去フレームの輝度レベルをALL past 、予め定めた閾値をALL th 、ゲインを元に戻すためのフレーム数をt、前記レベル差が前記閾値を超えたタイミングで初期化されるフレームのカウンタをΔt、システムガンマをγとしたとき、前記ゲイン(Gain)を、
Figure 0007045916000019
により算出することを特徴とする映像輝度変換装置。
It is a video luminance conversion device that dynamically relaxes the brightness change of the HLG system video signal.
An EOTF processing means that converts the video signal into a first linear signal by the electric-optical transfer function of the HLG method.
A current frame luminance calculation means for calculating the luminance average of the first linear signal as the luminance level of the current frame to be displayed for each frame of the first linear signal.
A gain calculation means for calculating a gain according to a level difference between the brightness level of the current frame and the brightness level of the past frame stored in the past frame brightness storage means.
A past frame luminance calculation means that adjusts the luminance level of the current frame using the gain and stores it in the past frame luminance storage means as the luminance level of the past frame.
A gain adjusting means for adjusting the gain of the first linear signal using the gain and converting it into a second linear signal.
It comprises an inverse EOTF processing means for converting the second linear signal into the HLG system video signal by the inverse function of the electric-optical transfer function .
The gain calculation means is
The brightness level of the current frame is ALL currant , the brightness level of the past frame is ALL past , the predetermined threshold value is ALL th , the number of frames for restoring the gain is t, and the timing at which the level difference exceeds the threshold value. When the counter of the frame initialized in is Δt and the system gamma is γ, the gain is set to
Figure 0007045916000019
A video luminance conversion device characterized by being calculated by .
HLG方式の映像信号の輝度変化を動的に緩和させる映像輝度変換装置であって、
前記HLG方式の光-電気伝達関数の逆関数により、前記映像信号を第3リニア信号に変換する逆OETF処理手段と、
前記HLG方式の光-光伝達関数により、前記第3リニア信号を第1リニア信号に変換するOOTF処理手段と、
前記第1リニア信号のフレームごとに、前記第1リニア信号の輝度平均を表示対象である現在フレームの輝度レベルとして算出する現在フレーム輝度算出手段と、
前記現在フレームの輝度レベルと、過去フレーム輝度記憶手段に記憶されている過去フレームの輝度レベルとのレベル差に応じてゲインを算出するゲイン算出手段と、
前記ゲインを用いて前記現在フレームの輝度レベルをゲイン調整し、前記過去フレームの輝度レベルとして前記過去フレーム輝度記憶手段に記憶する過去フレーム輝度算出手段と、
前記ゲインを用いて前記第1リニア信号をゲイン調整し、第4リニア信号に変換するゲイン調整手段と、
前記光-電気伝達関数により、前記第4リニア信号を前記HLG方式の映像信号に変換するOETF処理手段と、を備え
前記ゲイン算出手段は、
前記現在フレームの輝度レベルをALL current 、前記過去フレームの輝度レベルをALL past 、予め定めた閾値をALL th 、ゲインを元に戻すためのフレーム数をt、前記レベル差が前記閾値を超えたタイミングで初期化されるフレームのカウンタをΔt、システムガンマをγとしたとき、前記ゲイン(Gain)を、
Figure 0007045916000020
により算出することを特徴とする映像輝度変換装置。
It is a video luminance conversion device that dynamically relaxes the brightness change of the HLG system video signal.
An inverse OETF processing means that converts the video signal into a third linear signal by the inverse function of the optical-electric transfer function of the HLG method.
An OOTF processing means for converting the third linear signal into a first linear signal by the HLG optical transfer function.
A current frame luminance calculation means for calculating the luminance average of the first linear signal as the luminance level of the current frame to be displayed for each frame of the first linear signal.
A gain calculation means for calculating a gain according to a level difference between the brightness level of the current frame and the brightness level of the past frame stored in the past frame brightness storage means.
A past frame luminance calculation means that adjusts the luminance level of the current frame using the gain and stores it in the past frame luminance storage means as the luminance level of the past frame.
A gain adjusting means for adjusting the gain of the first linear signal using the gain and converting it into a fourth linear signal.
The OETF processing means for converting the fourth linear signal into the HLG system video signal by the optical transfer function is provided .
The gain calculation means is
The brightness level of the current frame is ALL currant , the brightness level of the past frame is ALL past , the predetermined threshold value is ALL th , the number of frames for restoring the gain is t, and the timing at which the level difference exceeds the threshold value. When the counter of the frame initialized in is Δt and the system gamma is γ, the gain is set to
Figure 0007045916000020
A video luminance conversion device characterized by being calculated by .
前記過去フレーム輝度算出手段は、前記過去フレーム輝度記憶手段に、直近の前記過去フレームの輝度レベルを予め定めた最大フレーム数まで記憶するものであって、
前記過去フレーム輝度記憶手段に記憶されている複数の過去フレームの輝度レベルを加算平均する加算平均手段をさらに備え、
前記ゲイン算出手段は、前記加算平均手段で加算平均された輝度レベルをALL past として前記ゲイン(Gain)を算出することを特徴とする請求項1または請求項2に記載の映像輝度変換装置。
The past frame luminance calculation means stores the past frame luminance storage means in the past frame luminance storage means up to a predetermined maximum number of frames, which stores the luminance level of the latest past frame.
Further, an addition averaging means for adding and averaging the brightness levels of a plurality of past frames stored in the past frame luminance storage means is further provided.
The image brightness conversion device according to claim 1 or 2 , wherein the gain calculating means calculates the gain by using the brightness level added and averaged by the addition averaging means as ALL past .
コンピュータを、請求項1から請求項のいずれか一項に記載の映像輝度変換装置として機能させるための映像輝度変換プログラム。 A video luminance conversion program for causing a computer to function as the video luminance conversion device according to any one of claims 1 to 3 .
JP2018081842A 2018-04-20 2018-04-20 Video brightness converter and its program Active JP7045916B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018081842A JP7045916B2 (en) 2018-04-20 2018-04-20 Video brightness converter and its program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018081842A JP7045916B2 (en) 2018-04-20 2018-04-20 Video brightness converter and its program

Publications (2)

Publication Number Publication Date
JP2019193025A JP2019193025A (en) 2019-10-31
JP7045916B2 true JP7045916B2 (en) 2022-04-01

Family

ID=68390073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018081842A Active JP7045916B2 (en) 2018-04-20 2018-04-20 Video brightness converter and its program

Country Status (1)

Country Link
JP (1) JP7045916B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022018276A (en) * 2020-07-15 2022-01-27 株式会社Jvcケンウッド Imaging control device, imaging control method, and program
CN114501023B (en) * 2022-03-31 2022-07-26 深圳思谋信息科技有限公司 Video processing method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004266755A (en) 2003-03-04 2004-09-24 Sony Corp Image processing apparatus, image display apparatus, and image processing method
WO2017051612A1 (en) 2015-09-25 2017-03-30 ソニー株式会社 Image processing device and image processing method
WO2017086950A1 (en) 2015-11-18 2017-05-26 Technicolor Usa, Inc. Luminance management for high dynamic range displays
JP2017120330A (en) 2015-12-28 2017-07-06 日本放送協会 Luminance adjusting device and luminance adjustment program
WO2018062022A1 (en) 2016-09-28 2018-04-05 パナソニックIpマネジメント株式会社 Adjusting device, adjusting method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004266755A (en) 2003-03-04 2004-09-24 Sony Corp Image processing apparatus, image display apparatus, and image processing method
WO2017051612A1 (en) 2015-09-25 2017-03-30 ソニー株式会社 Image processing device and image processing method
WO2017086950A1 (en) 2015-11-18 2017-05-26 Technicolor Usa, Inc. Luminance management for high dynamic range displays
JP2017120330A (en) 2015-12-28 2017-07-06 日本放送協会 Luminance adjusting device and luminance adjustment program
WO2018062022A1 (en) 2016-09-28 2018-04-05 パナソニックIpマネジメント株式会社 Adjusting device, adjusting method, and program

Also Published As

Publication number Publication date
JP2019193025A (en) 2019-10-31

Similar Documents

Publication Publication Date Title
US8131108B2 (en) Method and system for dynamic contrast stretch
US9672603B2 (en) Image processing apparatus, image processing method, display apparatus, and control method for display apparatus for generating and displaying a combined image of a high-dynamic-range image and a low-dynamic-range image
JPWO2006095576A1 (en) Display device, contrast adjustment method, and contrast adjustment program
JP2010257100A (en) Image processing apparatus and image processing method
WO2018159162A1 (en) Image processing device, control method therefor, and program
KR101648762B1 (en) Method and Apparatus for converting dynamic ranges of input images
JP5089783B2 (en) Image processing apparatus and control method thereof
JP7045916B2 (en) Video brightness converter and its program
KR20230003066A (en) Dynamic range mapping method and apparatus
US20160019705A1 (en) Image processing apparatus, image processing method, and storage medium
JP4872508B2 (en) Image processing apparatus, image processing method, and program
JP2016076069A (en) Image processing apparatus, image processing method, and program
JP2017098845A (en) Image processing apparatus, image processing method, and program
JP4137404B2 (en) Liquid crystal display device and image display method in liquid crystal display device
CN115393228B (en) Image processing method and device and graphic processing equipment
JP4453805B2 (en) Image processing system, projector, program, information storage medium, and image processing method
CN108337495B (en) Video image dynamic contrast adjusting method and adjusting device thereof
JP4819404B2 (en) Liquid crystal display
JP5365881B2 (en) Image processing apparatus and image processing method
JP2011228926A (en) Image signal processing apparatus and image display apparatus
JP6574682B2 (en) Contrast correction apparatus and program
JP2008139828A (en) Image processing apparatus, image processing method, electro-optical device and electronic device
KR100732676B1 (en) Contrast enhancement apparatus and the contrast enhancement method thereof
JP2008259097A (en) Video signal processing circuit and video display device
WO2015107880A1 (en) Image processing device, image processing method, and recording medium containing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210312

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220119

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220322

R150 Certificate of patent or registration of utility model

Ref document number: 7045916

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150