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
JP7634944B2 - Image processing device, image processing method, imaging device, and program - Google Patents
[go: Go Back, main page]

JP7634944B2 - Image processing device, image processing method, imaging device, and program - Google Patents

Image processing device, image processing method, imaging device, and program Download PDF

Info

Publication number
JP7634944B2
JP7634944B2 JP2020114948A JP2020114948A JP7634944B2 JP 7634944 B2 JP7634944 B2 JP 7634944B2 JP 2020114948 A JP2020114948 A JP 2020114948A JP 2020114948 A JP2020114948 A JP 2020114948A JP 7634944 B2 JP7634944 B2 JP 7634944B2
Authority
JP
Japan
Prior art keywords
luminance
brightness
image
gradation
display
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
JP2020114948A
Other languages
Japanese (ja)
Other versions
JP2022012832A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2020114948A priority Critical patent/JP7634944B2/en
Publication of JP2022012832A publication Critical patent/JP2022012832A/en
Application granted granted Critical
Publication of JP7634944B2 publication Critical patent/JP7634944B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Studio Devices (AREA)

Description

本発明は、入力された表示輝度および輝き度合いの各情報に基づいて階調補正を行う画像処理に関する。 The present invention relates to image processing that performs gradation correction based on input display luminance and brightness information.

画像の階調をより正確に再現する処理にダイナミックレンジ拡大処理がある。例えばハイダイナミックレンジ(HDR)カメラシステムでは、高輝度側の階調を、より見た目に近い階調で再現可能な画像を取得できるので、ディスプレイの表示の高輝度化に対応可能である。 Dynamic range expansion is a process that reproduces the gradations of an image more accurately. For example, a high dynamic range (HDR) camera system can capture images that reproduce the gradations on the high-brightness side more accurately than the human eye, making it possible to accommodate the increasing brightness of displays.

HDRカメラシステムで画像を出力する際にはOETF(Opto-Electronic Transfer Function)特性に基づくOETFカーブが使用される。OETF特性は、HDRモニタで取り扱うHDR規格のST2084等に記載されたEOTF(Electro-Optical Transfer Function)特性に対し、その逆特性である。OETFカーブを使用してカメラで撮影された画像を変換することにより、HDRモニタで高輝度側の階調を表現可能である。つまり、HDR画像は従来のSDR(スタンダードダイナミックレンジ)画像に比べて表現可能な明るさの幅が広がり、階調表現が豊かになる。 When outputting images with an HDR camera system, an OETF curve based on the OETF (Opto-Electronic Transfer Function) characteristics is used. The OETF characteristics are the inverse of the EOTF (Electro-Optical Transfer Function) characteristics described in the HDR standard ST2084, which is used by HDR monitors. By converting images taken with a camera using the OETF curve, it is possible to express gradations on the high brightness side on an HDR monitor. In other words, HDR images have a wider range of expressible brightness and a richer gradation expression than conventional SDR (Standard Dynamic Range) images.

一方で、HDR画像では海や夜景のシーン等における白とび領域がSDR画像に比べて減少した場合、輝きが弱まったような印象を受ける可能性がある。HDR処理による高輝度側の明るさの表現を活かして、水面のきらめきや夜景の光源、金属の光沢を強調する画作りを行うためには、輝き感を制御する技術が求められる。 On the other hand, if the number of blown-out areas in scenes such as ocean or nightscapes is reduced in HDR images compared to SDR images, the impression may be that the brightness is weakened. In order to take advantage of the expression of brightness on the high-brightness side achieved through HDR processing and create images that emphasize the sparkle of the water surface, the light sources in a nightscape, and the luster of metal, technology is required to control the sense of brightness.

特許文献1では、基準となる階調特性に対して高輝度側の階調を拡張して撮像する制御と、画像表示の際に、撮像ステップにおける高輝度側の階調の拡張量に基づき表示輝度のエンハンス量を制御する技術が開示されている。特許文献2では、画像の階調補正処理を行う画像領域と階調範囲の指定を可能とし、階調補正処理を注目領域の内部と外部とで独立に行う技術が開示されている。注目領域の中心輝度値に基づいて階調補正特性を決定して、注目領域内の階調補正を行う処理と、注目領域外の画素について算出された統計量に基づいて階調補正特性を決定して、注目領域外の階調補正を行う処理が行われる。 Patent Document 1 discloses a control for imaging by expanding the gradation on the high luminance side relative to the reference gradation characteristics, and a technology for controlling the amount of enhancement of the display luminance based on the amount of expansion of the gradation on the high luminance side in the imaging step when displaying the image. Patent Document 2 discloses a technology that enables the specification of the image area and gradation range for which gradation correction processing of an image is performed, and performs gradation correction processing independently inside and outside the attention area. A process of determining gradation correction characteristics based on the central luminance value of the attention area and performing gradation correction within the attention area, and a process of determining gradation correction characteristics based on statistics calculated for pixels outside the attention area and performing gradation correction outside the attention area are performed.

特開2016-134862号公報JP 2016-134862 A 特開2010-256536号公報JP 2010-256536 A

しかしながら、従来の技術では入力画像の輝き感の制御に関して以下の課題がある。特許文献1に開示された技術では、高輝度側の階調を拡張する方向に露出制御と階調補正が行われるので、高輝度側の階調を減らす方向に制御する事で被写体を輝かせる補正には適していない。また、暗部を明るくする階調補正が行われるので、暗部のS/N比(信号対ノイズ比)が低下する可能性がある。また特許文献2に開示された技術では、シーンの輝度を表示の絶対輝度に対応付けた上で階調補正特性を決定していないので、表示輝度に合わせて被写体を輝かせる補正には適していない。
本発明は、画像の輝き感を制御可能な画像処理の実現を目的とする。
However, the conventional techniques have the following problems with respect to the control of the brightness of an input image. In the technique disclosed in Patent Document 1, exposure control and gradation correction are performed in a direction that expands the gradation on the high luminance side, so it is not suitable for correction to make a subject brighter by controlling in a direction that reduces the gradation on the high luminance side. In addition, since gradation correction is performed to brighten dark areas, there is a possibility that the S/N ratio (signal-to-noise ratio) of dark areas will decrease. In addition, in the technique disclosed in Patent Document 2, the gradation correction characteristics are not determined after the luminance of the scene is associated with the absolute luminance of the display, so it is not suitable for correction to make a subject brighter according to the display luminance.
An object of the present invention is to realize image processing capable of controlling the brightness of an image.

本発明の実施形態の装置は、画像の階調補正を行う画像処理装置であって、前記画像の表示輝度の情報を取得する第1の取得手段と、前記画像にて閾値以上の輝度値である輝度領域の階調を減少させる度合いを表す輝き度合いの情報を取得する第2の取得手段と、取得された前記表示輝度の情報および前記輝き度合いの情報を用いて前記画像の階調補正を行う補正手段と、を備える。前記第1の取得手段により取得される表示輝度値を第1の表示輝度値とし、表示輝度の初期値を第2の表示輝度値として、前記第1の表示輝度値を前記第2の表示輝度値より大きいとするとき、前記補正手段は、入力輝度に対する出力輝度の関係を表す階調補正前の階調特性に対して前記輝き度合いの情報にしたがって、前記入力輝度がその閾値以上である輝度領域における階調特性の出力輝度を前記階調補正前の階調特性の出力輝度よりも大きくすることで、前記入力輝度がその閾値以上である輝度領域の明るさを前記第1の表示輝度値に近づける階調補正を行う。

An apparatus according to an embodiment of the present invention is an image processing apparatus that performs gradation correction of an image, and includes a first acquisition means for acquiring information on display luminance of the image, a second acquisition means for acquiring information on brightness representing a degree of reduction in gradation of a luminance region in the image having a luminance value equal to or greater than a threshold value, and a correction means for performing gradation correction of the image using the acquired information on display luminance and information on brightness. When the display luminance value acquired by the first acquisition means is a first display luminance value, an initial value of the display luminance is a second display luminance value, and the first display luminance value is greater than the second display luminance value, the correction means performs gradation correction to bring the brightness of the luminance region in which the input luminance is equal to or greater than the threshold value closer to the first display luminance value, in accordance with the information on brightness for a gradation characteristic before gradation correction representing a relationship between an input luminance and an output luminance , by making the output luminance of the gradation characteristic in the luminance region in which the input luminance is equal to or greater than the output luminance of the gradation characteristic before gradation correction.

本発明によれば、画像の輝き感を制御可能な画像処理を実現することができる。 The present invention makes it possible to realize image processing that can control the brightness of an image.

実施形態の撮像装置の構成を示すブロック図である。1 is a block diagram showing a configuration of an imaging apparatus according to an embodiment; 第1実施例の画像処理部の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of an image processing unit according to the first embodiment; 第1実施例の階調補正部の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a tone correction unit according to the first embodiment. 第1実施例の画像処理部の動作を説明するフローチャートである。5 is a flowchart illustrating the operation of an image processing unit according to the first embodiment. 表示輝度と輝き度合いの入力画面の表示例を示す図である。FIG. 13 is a diagram showing an example of a display of an input screen for inputting display luminance and brightness. 第1実施例における階調特性を示す図である。FIG. 4 is a diagram showing gradation characteristics in the first embodiment. 第1実施例における有彩色度合いに応じた階調特性を示す図である。FIG. 11 is a diagram showing gradation characteristics according to the degree of chromaticity in the first embodiment. 第2実施例の画像処理部の構成を示すブロック図である。FIG. 11 is a block diagram showing a configuration of an image processing unit according to a second embodiment. 第2実施例の画像処理部の動作を説明するフローチャートである。10 is a flowchart illustrating the operation of an image processing unit according to the second embodiment. 複数の高輝度領域が検出された例を示す図である。FIG. 13 is a diagram showing an example in which a plurality of high luminance areas are detected. 高輝度領域の検出処理について説明する図である。11A and 11B are diagrams illustrating a detection process of a high luminance area. 第3実施例の画像処理部の構成を示すブロック図である。FIG. 13 is a block diagram showing a configuration of an image processing unit according to a third embodiment. 第3実施例の画像処理部の動作を説明するフローチャートである。13 is a flowchart illustrating the operation of an image processing unit according to the third embodiment. 輝き度合いの算出における表示輝度と輝き度合いとの関係を示す図である。11 is a diagram showing the relationship between display luminance and brightness level in the calculation of the brightness level. FIG. ヒストグラムを用いた輝き度合いの算出処理について説明する図である。11A and 11B are diagrams illustrating a calculation process of a brightness level using a histogram.

以下に、本発明の好ましい実施形態を、添付図面に基づいて詳細に説明する。各実施例では、画像処理装置としてスマートフォンやデジタルカメラ等の撮像装置の例を示す。実施形態の撮像装置により取得される画像、またはネットワークを通じた受信後に記録された画像に対して、画像処理部は表示輝度と輝き度合いに応じて階調補正処理を行う。 Preferred embodiments of the present invention are described below in detail with reference to the accompanying drawings. In each embodiment, an image processing device is an image capture device such as a smartphone or digital camera. An image processing unit performs gradation correction processing on an image captured by the image capture device of the embodiment or an image recorded after receiving it via a network, according to the display luminance and brightness.

図1は撮像装置100に適用した構成例の概要を示すブロック図である。撮像部101は、レンズを含む撮像光学系、撮像素子(イメージセンサ)、A(アナログ)/D(デジタル)変換処理部を備える。撮像部101は、操作部108の指示にしたがってシステム制御部103から出力される制御信号に基づいて、被写体を撮像して画像データを生成する。 Figure 1 is a block diagram showing an overview of an example configuration applied to an imaging device 100. The imaging unit 101 includes an imaging optical system including a lens, an imaging element (image sensor), and an A (analog)/D (digital) conversion processing unit. The imaging unit 101 captures an image of a subject and generates image data based on a control signal output from a system control unit 103 in accordance with an instruction from an operation unit 108.

画像処理部102は、撮像部101により取得された画像データや、記録部106の記録画像データまたはネットワーク処理部107から入力された画像ファイルのデータに対して所定の画像処理を行う。例えば、ホワイトバランス処理やデモザイク処理、ガンマ処理等の現像処理が実行される。また、このような信号処理を行う他に、画像処理部102は、システム制御部103および表示制御部105から出力される制御信号に基づいて、表示輝度と輝き度合いに応じた画像の階調補正処理を行う。本発明に関わる画像処理部102の処理内容については後述する。 The image processing unit 102 performs predetermined image processing on the image data acquired by the imaging unit 101, the image data recorded by the recording unit 106, or the data of the image file input from the network processing unit 107. For example, development processing such as white balance processing, demosaic processing, and gamma processing is performed. In addition to performing such signal processing, the image processing unit 102 also performs tone correction processing of the image according to the display brightness and brightness level based on control signals output from the system control unit 103 and the display control unit 105. The processing content of the image processing unit 102 related to the present invention will be described later.

システム制御部103は、例えばCPU(中央演算処理装置)を備え、所定のプログラムを実行することにより、撮像装置全体の制御を統括する。例えばシステム制御部103は、ネットワーク処理部107や操作部108から送信される指示信号にしたがって、撮像部101の駆動制御等を行う。 The system control unit 103 includes, for example, a CPU (Central Processing Unit) and executes a predetermined program to control the entire imaging device. For example, the system control unit 103 performs drive control of the imaging unit 101 according to instruction signals transmitted from the network processing unit 107 and the operation unit 108.

表示部104は、液晶ディスプレイや有機EL(Electro Luminescence)ディスプレイ等の表示デバイスを備え、画像処理部102の出力信号を取得して、画像やインターフェース画面等を表示する。例えば、表示部104はITU-R BT.2100準拠のHDR表示に対応しており、画像処理部102で作成されたHDR画像を表示可能である。表示制御部105は、画像処理部102の出力信号に応じて表示部104の表示制御を行う。 The display unit 104 includes a display device such as a liquid crystal display or an organic EL (Electro Luminescence) display, and receives the output signal from the image processing unit 102 to display images, an interface screen, and the like. For example, the display unit 104 supports HDR display conforming to ITU-R BT.2100, and can display HDR images created by the image processing unit 102. The display control unit 105 controls the display of the display unit 104 in response to the output signal from the image processing unit 102.

記録部106は、情報記録媒体に画像データ等を記録する処理を行う。情報記録媒体には、半導体メモリが搭載されたメモリカードや、光磁気ディスク等の回転記録媒体を収容したパッケージ等を用いることが可能である。例えば、情報記録媒体は撮像装置100に着脱可能である。 The recording unit 106 performs processing to record image data, etc., on an information recording medium. The information recording medium may be a memory card equipped with a semiconductor memory, or a package containing a rotating recording medium such as a magneto-optical disk. For example, the information recording medium is detachable from the imaging device 100.

ネットワーク処理部107は、外部の入力デバイスからネットワーク経由で画像ファイルのデータを取得可能である。またはネットワーク処理部107は、画像処理部102の出力信号を取得して、ネットワーク経由で外部の表示デバイス、または外部装置(パーソナルコンピュータ等)に画像信号を送出する処理を行う。画像処理部102が作成した画像は表示部104に送られるだけでなく、ネットワーク処理部107が外部出力機器に送信可能である。送信先の装置が備える表示部によって画像表示を行うことができる。 The network processing unit 107 can acquire image file data from an external input device via a network. Alternatively, the network processing unit 107 acquires an output signal from the image processing unit 102 and performs processing to send the image signal via the network to an external display device or an external device (such as a personal computer). Images created by the image processing unit 102 can not only be sent to the display unit 104, but can also be transmitted by the network processing unit 107 to an external output device. The image can be displayed on a display unit provided in the destination device.

バス109は、撮像部101、画像処理部102、システム制御部103、表示部104、表示制御部105、記録部106、およびネットワーク処理部107の間で画像データ等の送受信に用いられる。 The bus 109 is used to transmit and receive image data and the like between the imaging unit 101, image processing unit 102, system control unit 103, display unit 104, display control unit 105, recording unit 106, and network processing unit 107.

以下では、第1から第3実施例において、高輝度領域の明るさ表現を活かして、輝き感が制御されたHDR画像を提供可能な、撮像装置が備える画像処理部の構成について詳述する。 The following describes in detail the configuration of the image processing unit of the imaging device in the first to third embodiments, which is capable of providing HDR images with controlled brightness by taking advantage of the brightness expression in high-brightness areas.

[第1実施例]
本実施例の画像処理部102は、補正の基準となる表示輝度の入力処理を行う第1の取得部と、高輝度側の階調を減らす程度を輝き度合いとして入力処理を行う第2の取得部を備える。第1および第2の取得部による各情報の入力画面は、表示部104にて同一の画面上に表示される。表示輝度の入力情報および輝き度合いの入力情報に基づいて階調補正が行われる。
[First embodiment]
The image processing unit 102 of this embodiment includes a first acquisition unit that performs input processing of the display luminance that is the basis for correction, and a second acquisition unit that performs input processing of the degree to which the gradation on the high luminance side is reduced as the brightness level. The input screens for each piece of information from the first and second acquisition units are displayed on the same screen of the display unit 104. Gradation correction is performed based on the input information of the display luminance and the input information of the brightness level.

図2を参照して、本実施例に関わる画像処理部102の処理内容について説明する。図2は、表示部104、表示制御部105、画像処理部102のうち本実施例に関わる部分を図示したブロック図である。 The processing contents of the image processing unit 102 related to this embodiment will be described with reference to FIG. 2. FIG. 2 is a block diagram illustrating the display unit 104, the display control unit 105, and the image processing unit 102 that are related to this embodiment.

画像処理部102は、表示輝度入力部201、輝き度合い入力部202、階調補正部203を備える。表示輝度入力部201と表示制御部105との間で表示輝度の情報の入出力処理が行われる。輝き度合い入力部202と表示制御部105との間で輝き度合いの情報の入出力理が行われる。表示制御部105は、表示輝度の情報と輝き度合いの情報に基づいて表示部104の表示制御を行う。 The image processing unit 102 includes a display luminance input unit 201, a brightness level input unit 202, and a gradation correction unit 203. Input/output processing of display luminance information is performed between the display luminance input unit 201 and the display control unit 105. Input/output processing of brightness level information is performed between the brightness level input unit 202 and the display control unit 105. The display control unit 105 controls the display of the display unit 104 based on the display luminance information and the brightness level information.

階調補正部203は入力画像データを取得し、表示輝度の情報および輝き度合いの情報に基づいて階調補正処理を行う。階調補正部203への入力画像として、画像処理部102が行う信号処理によって現像されたHDR画像を想定する。HDR画像は、例えばガンマカーブがST2084記載のPQに基づき、所定の色空間(Rec.2020)で現像されており、出力画像についても同様である。 The tone correction unit 203 acquires input image data and performs tone correction processing based on the display luminance information and brightness information. The input image to the tone correction unit 203 is assumed to be an HDR image developed by the signal processing performed by the image processing unit 102. The HDR image is developed in a specified color space (Rec.2020) based on, for example, the PQ gamma curve described in ST2084, and the same is true for the output image.

図3は階調補正部203の構成を示すブロック図であり、図4(A)および(B)は画像処理部102の動作を説明するフローチャートである。図4(A)のS401では、表示輝度と輝き度合いの入力を受け付ける処理が実行される。表示輝度入力部201は、補正の基準となる表示輝度を入力するための表示輝度入力領域の表示処理を表示制御部105に指示する。輝き度合い入力部202は、高輝度側の階調を減らす程度を輝き度合いとして入力するための輝き度合い入力領域の表示処理を表示制御部105に指示する。表示輝度入力領域および輝き度合い入力領域は表示部104にて同一画面上に表示されて、表示輝度と輝き度合いの入力を受け付ける処理が実行される。具体例については図5を用いて後述する。 Figure 3 is a block diagram showing the configuration of the gradation correction unit 203, and Figures 4 (A) and (B) are flowcharts explaining the operation of the image processing unit 102. In S401 of Figure 4 (A), processing is executed to accept input of display luminance and brightness. The display luminance input unit 201 instructs the display control unit 105 to perform display processing of a display luminance input area for inputting the display luminance that is the basis for correction. The brightness input unit 202 instructs the display control unit 105 to perform display processing of a brightness input area for inputting the degree of reduction of the gradation on the high brightness side as the brightness. The display luminance input area and the brightness input area are displayed on the same screen in the display unit 104, and processing is executed to accept input of the display luminance and brightness. A specific example will be described later with reference to Figure 5.

S402では、S401で入力された表示輝度の情報を取得する処理が行われる。例えば表示輝度として、入力画像が表示される最大輝度が取得されるが、平均輝度の取得処理が行われてもよい。 In S402, a process is performed to obtain the display luminance information input in S401. For example, the maximum luminance at which the input image is displayed is obtained as the display luminance, but an average luminance may also be obtained.

S403では、S401で入力された輝き度合いの情報を取得する処理が行われる。入力された輝き度合いの情報とは、S402で取得された表示輝度で表示する画素の割合である。本実施例では、高輝度領域の階調特性の傾きが輝き度合いとして取得される。高輝度領域の階調特性の傾きを変化させることにより、S402にて取得された表示輝度で表示する画素の割合が変化する。高輝度領域の階調特性の傾きについては、後述のS404の階調補正の処理と合わせて詳細に説明する。 In S403, a process is performed to obtain the brightness information input in S401. The input brightness information is the proportion of pixels to be displayed at the display brightness obtained in S402. In this embodiment, the slope of the gradation characteristics of the high brightness area is obtained as the brightness. By changing the slope of the gradation characteristics of the high brightness area, the proportion of pixels to be displayed at the display brightness obtained in S402 changes. The slope of the gradation characteristics of the high brightness area will be described in detail together with the gradation correction process in S404 described later.

S404で階調補正部203は、入力画像に対して、S402で取得された表示輝度、およびS403で取得された輝き度合いに応じて階調補正処理を行う。図3を参照して、S404で実施される階調補正処理について説明する。 In S404, the gradation correction unit 203 performs gradation correction processing on the input image according to the display luminance acquired in S402 and the brightness acquired in S403. The gradation correction processing performed in S404 will be described with reference to FIG. 3.

図3に示すように、階調補正部203は、階調特性算出部301と階調処理部302を備える。階調補正部203への入力画像は、画像処理部102が行う信号処理によって現像されたHDR画像である。階調特性算出部301は表示輝度の情報および輝き度合いの情報を取得して階調特性を算出し、算出結果を階調処理部302に出力する。階調処理部302は算出された階調特性にしたがい、取得した入力画像に対して階調処理を実行し、階調処理済みの画像データを出力する。階調補正の詳細については図4(B)のフローチャートを用いて後述する。 As shown in FIG. 3, the gradation correction unit 203 includes a gradation characteristic calculation unit 301 and a gradation processing unit 302. The input image to the gradation correction unit 203 is an HDR image developed by the signal processing performed by the image processing unit 102. The gradation characteristic calculation unit 301 acquires information on the display luminance and the brightness level, calculates the gradation characteristics, and outputs the calculation result to the gradation processing unit 302. The gradation processing unit 302 performs gradation processing on the acquired input image according to the calculated gradation characteristics, and outputs image data that has been gradation processed. Details of the gradation correction will be described later using the flowchart in FIG. 4(B).

図5は、表示輝度および輝き度合いの入力に使用されるインターフェース画面例を示す図である。図5(A)は、表示画面601上の表示輝度入力領域と輝き度合い入力領域にてスライドバーが表示される例を示す。画像領域606の下には、表示輝度と輝き度合いの制御の特徴を示すトーンカーブの領域607が表示される。 Figure 5 shows an example of an interface screen used to input display brightness and brightness. Figure 5(A) shows an example in which slide bars are displayed in the display brightness input area and brightness input area on the display screen 601. A tone curve area 607 showing the characteristics of the control of display brightness and brightness is displayed below the image area 606.

表示輝度入力部201は、トーンカーブの領域607の右側に示されるスライドバーの操作による表示輝度の入力を受け付ける。このスライドバーは、表示輝度入力バー602および表示輝度入力スライダ603で構成される。表示輝度入力バー602は、表示輝度入力スライダ603の位置に応じて入力画像の表示輝度を変更する軸である。 The display luminance input unit 201 accepts input of the display luminance by operating the slide bar shown to the right of the tone curve area 607. This slide bar is composed of a display luminance input bar 602 and a display luminance input slider 603. The display luminance input bar 602 is an axis that changes the display luminance of the input image according to the position of the display luminance input slider 603.

輝き度合い入力部202は、トーンカーブの領域607の下側に示されるスライドバーの操作による輝き度合いの入力を受け付ける。このスライドバーは、輝き度合い入力バー604および輝き度合い入力スライダ605で構成される。輝き度合い入力バー604は高輝度側の階調の程度、また階調を減らす程度を表す軸であり、輝き度合い入力スライダ605の位置に応じて、入力画像の高輝度側の階調が変更されるという特徴を有する。 The brightness input unit 202 accepts input of the brightness level by operating a slide bar shown below the tone curve area 607. This slide bar is composed of a brightness level input bar 604 and a brightness level input slider 605. The brightness level input bar 604 is an axis that indicates the degree of gradation on the high brightness side, and the degree to which the gradation is reduced, and has the characteristic that the gradation on the high brightness side of the input image is changed depending on the position of the brightness level input slider 605.

画像領域606には、スライダ操作によって入力された情報に基づいて図4(A)のS404にて階調補正された画像が表示される。図5(A)の例では、表示画面601において、表示輝度と輝き度合いの制御の特徴を示すトーンカーブの領域607が表示される。 In the image area 606, an image that has been tone-corrected in S404 of FIG. 4A based on the information input by the slider operation is displayed. In the example of FIG. 5A, a tone curve area 607 showing the characteristics of the control of display brightness and brightness is displayed on the display screen 601.

図5(B)は、トーンカーブの領域607が表示されない例を示す。つまり、表示画面608には、画像領域609と複数のスライドバーが表示される。画像領域609の右側には、表示輝度入力バー610および表示輝度入力スライダ611で構成される表示輝度入力用のスライドバーが表示される。また、画像領域609の下側には、輝き度合い入力バー612および輝き度合い入力スライダ613で構成される輝き度合い入力用のスライドバーが表示される。 Figure 5 (B) shows an example in which the tone curve area 607 is not displayed. That is, an image area 609 and multiple slide bars are displayed on the display screen 608. On the right side of the image area 609, a slide bar for inputting display luminance, which is composed of a display luminance input bar 610 and a display luminance input slider 611, is displayed. In addition, below the image area 609, a slide bar for inputting brightness, which is composed of a brightness input bar 612 and a brightness input slider 613, is displayed.

表示輝度入力部201と輝き度合い入力部202における入力値は連続的な値である必要はなく、例えば強、中、弱等の段階的な入力値であってもよい。ユーザインターフェース処理については仕様に応じて変更可能であり、特定の入力形態に限定されない。 The input values in the display brightness input section 201 and brightness level input section 202 do not need to be continuous values, but may be stepped values such as strong, medium, weak, etc. The user interface processing can be changed according to the specifications, and is not limited to a specific input form.

次に図4(B)および図6を参照して、階調補正部203の動作について説明する。図6は階調特性を説明する図である。図4(B)のS501で階調特性算出部301は、図4(A)のS402で取得された表示輝度の情報とS403で取得された輝き度合いの情報を用いて階調特性を算出する。 Next, the operation of the gradation correction unit 203 will be described with reference to Fig. 4(B) and Fig. 6. Fig. 6 is a diagram for explaining gradation characteristics. In S501 of Fig. 4(B), the gradation characteristic calculation unit 301 calculates the gradation characteristics using the display luminance information acquired in S402 of Fig. 4(A) and the brightness information acquired in S403.

図6(A)は本実施例の階調特性を示すグラフであり、横軸は入力輝度を表し、縦軸は出力輝度を表している。横軸上の閾値701は、入力画像における高輝度領域を規定する閾値thである。縦軸上の輝度値702は表示輝度の初期値であり、輝度値703は図4(A)のS402で取得された表示輝度値である。階調補正前の階調特性を1点鎖線704で示し、階調特性算出部301が取得した表示輝度および輝き度合いに応じて算出した階調特性を実線705で示している。 Figure 6 (A) is a graph showing the gradation characteristics of this embodiment, with the horizontal axis representing input luminance and the vertical axis representing output luminance. Threshold value 701 on the horizontal axis is threshold value th that defines high luminance areas in the input image. Brightness value 702 on the vertical axis is the initial value of display luminance, and luminance value 703 is the display luminance value acquired in S402 of Figure 4 (A). The gradation characteristics before gradation correction are shown by dashed dotted line 704, and the gradation characteristics calculated by gradation characteristic calculation unit 301 according to the display luminance and brightness acquired by gradation characteristic calculation unit 301 are shown by solid line 705.

本実施例では、所定の閾値701を基準として、輝度値が閾値th以上である領域が高輝度領域として決定される。つまり高輝度領域の明るさに関しては、図4(A)のS403で取得された輝き度合いに応じて、S402で取得された表示輝度(輝度値703)に近づくように階調特性が算出される。また、輝度領域706では入力輝度が表示輝度(輝度値703)にマッピングされて階調が減少することによって輝き感が増す階調特性となる。 In this embodiment, a region where the luminance value is equal to or greater than the threshold value th is determined as a high luminance region, using a predetermined threshold value 701 as a reference. In other words, with regard to the brightness of the high luminance region, the gradation characteristics are calculated so as to approach the display luminance (luminance value 703) obtained in S402 according to the brightness level obtained in S403 of FIG. 4A. In addition, in the luminance region 706, the input luminance is mapped to the display luminance (luminance value 703) and the gradation is reduced, resulting in a gradation characteristic that increases the sense of luminance.

図6にて入力輝度をx、出力輝度をyと表記し、階調補正前の階調特性の傾きをg、高輝度領域を規定する閾値をthと表記する。図4(A)のS403で取得された輝き度合いを示す傾きをg、S402で取得された表示輝度の輝度値703をlimitと表記する。階調特性は下記(式1)で表される。

Figure 0007634944000001
(式1)中のmin[A,B]はAとBのうちの小さい方を選択する関数である。 In Fig. 6, the input luminance is represented as x, the output luminance as y, the gradient of the gradation characteristic before gradation correction as g1 , and the threshold value defining the high luminance region as th. The gradient indicating the brightness level acquired in S403 in Fig. 4A is represented as g2 , and the luminance value 703 of the display luminance acquired in S402 is represented as limit. The gradation characteristic is expressed by the following (Equation 1).
Figure 0007634944000001
In equation 1, min[A, B] is a function that selects the smaller of A and B.

図6(A)は、階調特性が(式1)に示す直線で表される特性、つまり線形関数により表現される特性の例を示す。一方、図6(B)は、非線形関数により表現される特性の例を示す。曲線709は(式1)にて傾きが変化する点707と点708を通る曲線であり、スプライン補間等を用いて表現可能である。 Figure 6 (A) shows an example of a gradation characteristic expressed by a straight line shown in (Equation 1), that is, a characteristic expressed by a linear function. On the other hand, Figure 6 (B) shows an example of a characteristic expressed by a non-linear function. Curve 709 is a curve that passes through points 707 and 708 where the slope changes in (Equation 1), and can be expressed using spline interpolation, etc.

本実施例では、図6(C)に示すヒストグラムを用いて、高輝度領域を決定する為の閾値thが算出される。ヒストグラムの横軸は、入力画像から生成された評価値用の輝度値を表す。この輝度値は入力画像を評価値用の色空間に変換した後の色空間での明るさを表す。ヒストグラムの縦軸は当該輝度値を持つ画素の画素数を表す。評価値用色空間の一例として、本実施例では、ITU-R BT.2100に記載のICtCp色空間が採用されており、ICtCp色空間での明るさ成分Iの値を輝度値としている。 In this embodiment, the histogram shown in FIG. 6(C) is used to calculate the threshold value th for determining high brightness areas. The horizontal axis of the histogram represents the brightness value for the evaluation value generated from the input image. This brightness value represents the brightness in the color space after the input image is converted into the color space for the evaluation value. The vertical axis of the histogram represents the number of pixels having that brightness value. As an example of the color space for the evaluation value, this embodiment employs the ICtCp color space described in ITU-R BT.2100, and the value of the brightness component I in the ICtCp color space is taken as the brightness value.

図6(C)に示すヒストグラムを高輝度側から見た場合、最初に極小値となる輝度値710が谷の位置で検出され、輝度値710は高輝度領域を規定する閾値thとして決定される。輝度値711は入力画像のヒストグラムの終点(最右点)を示す輝度値であり、輝度値710から輝度値711までの領域712が高輝度領域として決定される。ヒストグラムを用いて閾値を算出する方法に限らず、閾値を固定値として設定する方法でもよい。 When the histogram shown in FIG. 6(C) is viewed from the high luminance side, the first minimum luminance value 710 is detected at the valley position, and luminance value 710 is determined as the threshold value th that defines the high luminance region. Luminance value 711 is the luminance value that indicates the end point (rightmost point) of the histogram of the input image, and region 712 from luminance value 710 to luminance value 711 is determined as the high luminance region. The method is not limited to calculating the threshold value using a histogram, and a method in which the threshold value is set as a fixed value may also be used.

また本実施例では、明るさのみで階調特性を算出する例を説明した。図7は、入力画像の有彩色度合いに応じて階調特性を算出する例を示す。例えば、有彩色度合いを示す評価値として、ICtCp色空間での色差信号CtCpから、下記(式2)によって算出される彩度(Sと記す)を用いることができる。

Figure 0007634944000002
In this embodiment, an example of calculating the gradation characteristic based only on the brightness has been described. Fig. 7 shows an example of calculating the gradation characteristic based on the degree of chromaticity of the input image. For example, the saturation (denoted as S) calculated by the following (Equation 2) from the color difference signal CtCp in the ICtCp color space can be used as an evaluation value indicating the degree of chromaticity.
Figure 0007634944000002

図7(A)は、横軸に彩度Sをとり、縦軸に有彩色度合い(Sadjと記す)をとってSとSadjとの関係を示すグラフである。(式2)により決定された彩度Sに基づき、図7(A)のグラフに対応する参照テーブルを用いることで、有彩色度合いSadjが決定される。参照テーブルに対して入力される彩度Sは入力画像の代表値となる彩度であり、例えば入力画像の平均値や最大値となる彩度が入力される。また有彩色度合いSadjについては、上限値および下限値が設定される。図7(A)の例にて上限値は1に設定され、下限値はゼロに設定されている。下限値から上限値までの範囲内にて、彩度Sが高くなる程、有彩色度合いSadjが高くなる特性である。図7(A)の例では、彩度Sが第1の閾値未満である場合に有彩色度合いSadjは下限値であり、また彩度Sが第2の閾値より大きい場合に有彩色度合いSadjは上限値である。彩度Sが第1の閾値以上であって、かつ第2の閾値以下である場合、彩度Sと有彩色度合いSadjとが線形関係である。 Figure 7 (A) is a graph showing the relationship between saturation S and the degree of chromaticity (denoted as Sadj) on the horizontal axis and the degree of chromaticity (denoted as Sadj) on the vertical axis. Based on the saturation S determined by (Equation 2), the degree of chromaticity Sadj is determined by using a reference table corresponding to the graph of Figure 7 (A). The saturation S input to the reference table is the saturation that is the representative value of the input image, and for example, the average value or maximum value of the input image is input. In addition, an upper limit value and a lower limit value are set for the degree of chromaticity Sadj. In the example of Figure 7 (A), the upper limit value is set to 1, and the lower limit value is set to zero. Within the range from the lower limit value to the upper limit value, the higher the saturation S, the higher the degree of chromaticity Sadj. In the example of Figure 7 (A), when the saturation S is less than the first threshold value, the degree of chromaticity Sadj is the lower limit value, and when the saturation S is greater than the second threshold value, the degree of chromaticity Sadj is the upper limit value. When the saturation S is greater than or equal to the first threshold and less than or equal to the second threshold, the saturation S and the chromaticity degree Sadj are in a linear relationship.

図7(B)は階調特性の算出を説明する図であり、横軸および縦軸の設定については図6(A)と同じである。階調特性算出部301は有彩色度合いを用いて、階調特性を算出する。図7(B)には異なる階調特性を表す第1のグラフ線801および第2のグラフ線802と、図4(A)のS402で取得された表示輝度803を示す。第1のグラフ線801で表される階調特性の傾きを、図4(A)のS403で取得された輝き度合いを示す傾きとする。第2のグラフ線802で表される階調特性の傾きは、第1のグラフ線801で表される階調特性の傾きよりも色飽和しにくい傾きを示している。つまり、第2のグラフ線802の傾き角は第1のグラフ線801の傾き角よりも小さい。 Figure 7 (B) is a diagram for explaining the calculation of the gradation characteristics, and the horizontal and vertical axes are set in the same way as in Figure 6 (A). The gradation characteristics calculation unit 301 calculates the gradation characteristics using the degree of chromaticity. Figure 7 (B) shows a first graph line 801 and a second graph line 802 representing different gradation characteristics, and a display luminance 803 obtained in S402 of Figure 4 (A). The slope of the gradation characteristics represented by the first graph line 801 is set to the slope indicating the brightness degree obtained in S403 of Figure 4 (A). The slope of the gradation characteristics represented by the second graph line 802 shows a slope that is less prone to color saturation than the slope of the gradation characteristics represented by the first graph line 801. In other words, the slope angle of the second graph line 802 is smaller than the slope angle of the first graph line 801.

輝き度合いを示す傾きの初期値をg、入力輝度をx、出力輝度をy、高輝度領域を規定する閾値をthと表記する。第1のグラフ線801で表される階調特性の傾きをg、表示輝度803をlimitと表記する。入力画像の有彩色度合いSadjに応じた階調特性は下記(式3)で表される。

Figure 0007634944000003
(式3)は、彩度Sが高くなるにつれて、第1のグラフ線801で表される階調特性が、第2のグラフ線802で表される階調特性(つまり高彩度部分の色飽和が減少する階調特性)に近づく事を示している。 The initial value of the gradient indicating the brightness level is denoted as g1 , the input brightness as x, the output brightness as y, and the threshold value defining the high brightness region as th. The gradient of the gradation characteristic represented by the first graph line 801 is denoted as g2 , and the display brightness 803 is denoted as limit. The gradation characteristic according to the chromaticity level Sadj of the input image is expressed by the following (Equation 3).
Figure 0007634944000003
Equation 3 indicates that as the saturation S increases, the gradation characteristics represented by the first graph line 801 approach the gradation characteristics represented by the second graph line 802 (i.e., the gradation characteristics in which the color saturation of the high saturation areas decreases).

図4(B)のS502で階調処理部302は、S501で算出された階調特性に基づいて階調を補正する処理を行う。具体的には、ICtCp空間上での入力画像の明るさ成分Iをxとし、階調補正後の明るさ成分をyとして前記(式1)の階調特性が適用される。本実施例では入力画像に対し、知覚均等色空間ICtCpの明るさ成分Iに基づいて明るさ調整を行う事で階調を補正する処理が行われる。これに限らず、Labによる知覚均等色空間に基づいて階調を補正する処理が行われてもよい。
本実施例によれば、前記の処理を実施することにより、HDR画像の高輝度領域の輝き感を制御可能な画像処理を実現できる。
In S502 of Fig. 4B, the gradation processing unit 302 performs processing to correct the gradation based on the gradation characteristics calculated in S501. Specifically, the gradation characteristics of the above (Equation 1) are applied, with the brightness component I of the input image in the ICtCp space being x and the brightness component after gradation correction being y. In this embodiment, processing to correct the gradation is performed by adjusting the brightness of the input image based on the brightness component I of the perceptually uniform color space ICtCp. However, the present invention is not limited to this, and gradation correction processing may be performed based on the perceptually uniform color space by Lab.
According to this embodiment, by carrying out the above-described processing, it is possible to realize image processing capable of controlling the brightness of high-brightness areas of an HDR image.

[第2実施例]
次に、本発明の第2実施例について説明する。本実施例は、第1実施例に対し、入力画像における高輝度領域を検出して当該領域のみについて階調補正を行う点が異なる。特定の領域(高輝度領域)に対して輝き感を制御する事ができる。以下では第1実施例との相違点を主に説明し、第1実施例と同様の事項については既に使用した符号や記号を流用することで、それらの詳細な説明を省略する。このような説明の省略方法については後述の実施例でも同じである。
[Second embodiment]
Next, a second embodiment of the present invention will be described. This embodiment differs from the first embodiment in that a high brightness area in an input image is detected and tone correction is performed only on that area. It is possible to control the sense of brightness for a specific area (high brightness area). Below, differences from the first embodiment will be mainly described, and detailed descriptions of matters similar to those in the first embodiment will be omitted by reusing the symbols and signs already used. The method of omitting such descriptions will be the same in the embodiments described later.

図8を参照して、本実施例に関わる画像処理部102の処理内容について説明する。図2との相違点は、画像処理部102に高輝度領域検出部903が追加されている点である。画像処理部102は、表示輝度入力部901、輝き度合い入力部902、高輝度領域検出部903、階調補正部904を備える。表示輝度入力部901、輝き度合い入力部902、階調補正部904はそれぞれ、図2の表示輝度入力部201、輝き度合い入力部202、階調補正部203に対応する。 The processing contents of the image processing unit 102 according to this embodiment will be described with reference to FIG. 8. The difference from FIG. 2 is that a high brightness area detection unit 903 is added to the image processing unit 102. The image processing unit 102 includes a display brightness input unit 901, a brightness degree input unit 902, a high brightness area detection unit 903, and a gradation correction unit 904. The display brightness input unit 901, the brightness degree input unit 902, and the gradation correction unit 904 correspond to the display brightness input unit 201, the brightness degree input unit 202, and the gradation correction unit 203 in FIG. 2, respectively.

画像処理部102は、表示制御部105に対して表示輝度の情報と輝き度合いの情報の入出力処理を行う。表示制御部105は表示輝度の情報および輝き度合いの情報に基づいて表示部104の表示制御を行う。 The image processing unit 102 performs input/output processing of display luminance information and brightness level information for the display control unit 105. The display control unit 105 performs display control of the display unit 104 based on the display luminance information and brightness level information.

図9のフローチャートを参照して、本実施例の画像処理部102の動作について説明する。S1001で高輝度領域検出部903は、入力画像に対し、S1002以降の処理を行う対象領域である高輝度領域を検出する。高輝度領域の検出処理の詳細については後述する。 The operation of the image processing unit 102 in this embodiment will be described with reference to the flowchart in FIG. 9. In S1001, the high-luminance area detection unit 903 detects high-luminance areas in the input image, which are target areas for processing in S1002 and thereafter. Details of the high-luminance area detection process will be described later.

S1002からS1005の処理は、図4(A)のS401からS404の処理と同様であるが、これらの処理は全画面にて一律に行われるのではなく、S1001で検出された高輝度領域に対してのみ実行される。S1001で検出された1つまたは複数の高輝度領域に対してS1005では階調補正処理が行われる。 The processes from S1002 to S1005 are similar to the processes from S401 to S404 in FIG. 4A, but these processes are not performed uniformly on the entire screen, but are performed only on the high-luminance areas detected in S1001. In S1005, tone correction processing is performed on one or more high-luminance areas detected in S1001.

図10を参照して、複数の高輝度領域に対する階調補正処理について詳細に説明する。図10(A)は、図9のS1001で複数の高輝度領域が検出された場合の表示例を示す。表示画面1101には、補正対象の画像領域1102、表示輝度入力領域1103、輝き度合い入力領域1104、トーンカーブの領域1105が表示される。 The tone correction process for multiple high-luminance areas will be described in detail with reference to FIG. 10. FIG. 10(A) shows an example of a display when multiple high-luminance areas are detected in S1001 of FIG. 9. A display screen 1101 displays an image area to be corrected 1102, a display luminance input area 1103, a brightness input area 1104, and a tone curve area 1105.

画像領域1102において、領域1106と領域1107は、図9のS1001で検出された複数の高輝度領域を示している。階調補正部904は、領域1106および領域1107に対して、図9のS1003で取得された表示輝度およびS1004で取得された輝き度合い応じた階調特性にしたがって階調補正を行う。検出された複数の高輝度領域に対して階調補正処理が行われる。 In image area 1102, areas 1106 and 1107 indicate multiple high-luminance areas detected in S1001 of FIG. 9. The gradation correction unit 904 performs gradation correction on areas 1106 and 1107 in accordance with the display luminance acquired in S1003 of FIG. 9 and the gradation characteristics according to the brightness acquired in S1004. Gradation correction processing is performed on the multiple detected high-luminance areas.

図10(B)は、検出された複数の高輝度領域に対してそれぞれ異なる階調補正処理が行われる例を示す。表示画面1108には、画像領域1109、表示輝度入力領域1110、輝き度合い入力領域1111、トーンカーブの領域1112が表示される。図9のS1001で検出された複数の高輝度領域のうち、ユーザ操作によって領域1113が選択された場合を図10(B)の左側に示し、ユーザ操作によって領域1114が選択された場合を図10(B)の右側に示す。 Figure 10 (B) shows an example in which different tone correction processes are performed on each of the detected high-luminance areas. An image area 1109, a display luminance input area 1110, a brightness input area 1111, and a tone curve area 1112 are displayed on a display screen 1108. Of the multiple high-luminance areas detected in S1001 of Figure 9, the left side of Figure 10 (B) shows a case in which area 1113 has been selected by user operation, and the right side of Figure 10 (B) shows a case in which area 1114 has been selected by user operation.

ユーザ操作によって領域1113が選択された場合、階調補正部904は図9のS1003で取得された表示輝度およびS1004で取得された輝き度合いに応じて、選択領域である領域1113に対する階調補正を行う。また、ユーザ操作によって領域1114が新たに選択された場合、領域1113とは異なる表示輝度および輝き度合いの情報が入力される。その後に階調補正部904は、S1003で取得された表示輝度およびS1004で取得された輝き度合いに応じて、選択領域である領域1114に対する階調補正を行う。このように、検出された複数の高輝度領域ごとに、それぞれ対応する階調特性にしたがって階調補正を詳細に行うことができる。 When area 1113 is selected by a user operation, gradation correction unit 904 performs gradation correction on area 1113, which is the selected area, according to the display luminance acquired in S1003 and the brightness acquired in S1004 of FIG. 9. Also, when area 1114 is newly selected by a user operation, information on display luminance and brightness different from area 1113 is input. Then, gradation correction unit 904 performs gradation correction on area 1114, which is the selected area, according to the display luminance acquired in S1003 and the brightness acquired in S1004. In this way, detailed gradation correction can be performed for each of the multiple detected high brightness areas according to the corresponding gradation characteristics.

次に図11を参照して、図9のS1001で実行される高輝度領域の検出処理について詳細に説明する。図11(A)は、画面のブロック分割による高輝度領域の検出処理を説明する図である。具体的には、高輝度領域検出部903は入力画像1201を複数の領域1202に分割する処理を行う。高輝度領域検出部903は分割された複数の領域内で画素値を平均する平均演算を行い、演算された平均値を所定の閾値と比較する。平均値が所定の閾値以上となる分割領域を含む領域から高輝度領域が決定される。 Next, the high-luminance area detection process executed in S1001 of FIG. 9 will be described in detail with reference to FIG. 11. FIG. 11(A) is a diagram for explaining the high-luminance area detection process by dividing the screen into blocks. Specifically, the high-luminance area detection unit 903 divides the input image 1201 into a plurality of areas 1202. The high-luminance area detection unit 903 performs an average calculation to average the pixel values within the divided regions, and compares the calculated average value with a predetermined threshold. A high-luminance area is determined from an area that includes a divided region where the average value is equal to or greater than the predetermined threshold.

図11(B)は、複数の画像を用いた高輝度領域の検出処理を説明する図である。例えば、補正対象である入力画像1204と、入力画像1204とは取得(または撮影)時刻が異なる画像1203および1205を示す。時刻t2での入力画像1204に対して、時間的に前の時刻t1での画像1203を第1の参照画像とし、時間的に後の時刻t3での画像1205を第2の参照画像とする。 Figure 11 (B) is a diagram explaining the process of detecting high-luminance areas using multiple images. For example, it shows an input image 1204 to be corrected, and images 1203 and 1205 that were acquired (or photographed) at different times than the input image 1204. For the input image 1204 at time t2, image 1203 at time t1, which is earlier in time, is used as the first reference image, and image 1205 at time t3, which is later in time, is used as the second reference image.

高輝度領域検出部903は、入力画像1204と、第1の参照画像1203と、第2の参照画像1205を取得して高輝度領域の検出処理を行う。具体的には、高輝度領域検出部903は入力画像1204と参照画像1203または1205との差分を所定の分割領域ごとに算出して、第1の閾値と比較する。また高輝度領域検出部903は入力画像1204の輝度値を第2の閾値と比較する。算出された画像間の差分が第1の閾値より大きい領域であって、かつ入力画像1204の輝度値が第2の閾値以上である領域1206が高輝度領域として検出される。参照画像の数は2に限定されず、単数または3以上でもよい。 The high-luminance area detection unit 903 obtains the input image 1204, the first reference image 1203, and the second reference image 1205, and performs a high-luminance area detection process. Specifically, the high-luminance area detection unit 903 calculates the difference between the input image 1204 and the reference image 1203 or 1205 for each predetermined divided area, and compares it with a first threshold. The high-luminance area detection unit 903 also compares the luminance value of the input image 1204 with a second threshold. An area 1206 where the calculated difference between the images is greater than the first threshold and where the luminance value of the input image 1204 is equal to or greater than the second threshold is detected as a high-luminance area. The number of reference images is not limited to two, and may be one or three or more.

入力画像から高輝度領域検出部903が高輝度領域を自動で検出する実施形態と、ユーザ操作に基づく画像領域を高輝度領域として決定する形態がある。後者の場合、ユーザが操作入力部材やタッチパネル等を用いて選択した所望の領域を高輝度領域として決定することができる。あるいは半自動的な処理として、高輝度領域検出部903が入力画像から検出した高輝度領域の候補を表示して、ユーザが操作入力手段で選択することにより指示を行う実施形態でもよい。
本実施形態によれば、HDR画像における高輝度領域に対して、輝き感を制御可能な画像処理を実現できる。
There are two types of embodiment: the high-luminance region detection unit 903 automatically detects high-luminance regions from the input image, and the image region based on the user's operation is determined as the high-luminance region. In the latter case, a desired region selected by the user using an operation input member, touch panel, or the like can be determined as the high-luminance region. Alternatively, as a semi-automatic process, the high-luminance region detection unit 903 may display candidates for high-luminance regions detected from the input image, and the user may select one of them using the operation input means to give an instruction.
According to this embodiment, image processing capable of controlling the sense of brightness for high brightness areas in an HDR image can be realized.

[第3実施例]
次に、本発明の第3実施例について説明する。本実施例は、第1実施例に対し、入力された表示輝度に応じて輝き度合いを算出する点が異なる。入力された表示輝度から算出された輝き度合いを入力に反映させることにより、HDR画像における高輝度領域の輝き感を容易に制御できる。
[Third Example]
Next, a third embodiment of the present invention will be described. This embodiment differs from the first embodiment in that the brightness level is calculated according to the input display brightness. By reflecting the brightness level calculated from the input display brightness in the input, the brightness of high brightness areas in an HDR image can be easily controlled.

図12を参照して、本実施例に関わる画像処理部102の処理内容について説明する。図12と図2との相違点は、画像処理部102に輝き度合い算出部1302が追加されている点である。画像処理部102は表示輝度入力部1301、輝き度合い算出部1302、輝き度合い入力部1303、階調補正部1304を備える。表示輝度入力部1301、輝き度合い入力部1303、階調補正部1304はそれぞれ、図2の表示輝度入力部201、輝き度合い入力部202、階調補正部203に対応する。 The processing contents of the image processing unit 102 according to this embodiment will be described with reference to FIG. 12. The difference between FIG. 12 and FIG. 2 is that a brightness degree calculation unit 1302 is added to the image processing unit 102. The image processing unit 102 includes a display brightness input unit 1301, a brightness degree calculation unit 1302, a brightness degree input unit 1303, and a gradation correction unit 1304. The display brightness input unit 1301, the brightness degree input unit 1303, and the gradation correction unit 1304 correspond to the display brightness input unit 201, the brightness degree input unit 202, and the gradation correction unit 203 in FIG. 2, respectively.

図13のフローチャートを参照して、画像処理部102の動作について説明する。S1401およびS1402の処理については、図4(A)のS401およびS402の処理と同様であるため、それらの説明を省略する。 The operation of the image processing unit 102 will be described with reference to the flowchart in FIG. 13. The processes of S1401 and S1402 are similar to the processes of S401 and S402 in FIG. 4(A), and therefore description thereof will be omitted.

S1403で輝き度合い算出部1302は、前記S1402で取得された表示輝度に基づいて輝き度合いを算出し、輝き度合い入力部1303に反映させる処理を行う。輝き度合いの算出処理については後述する。 In S1403, the brightness calculation unit 1302 calculates the brightness based on the display luminance acquired in S1402, and performs processing to reflect the brightness in the brightness input unit 1303. The brightness calculation processing will be described later.

S1404では、S1403で輝き度合い入力部1303にて反映された輝き度合いの情報を取得する処理が行われる。例えば、S1403で輝き度合い入力部1303に反映された輝き度合いの情報はそのまま(未調整で)取得される。あるいは、S1403で輝き度合い入力部1303にて反映された輝き度合いの情報に対して、ユーザ操作入力にしたがって補正(例えば微調整)が行われた上で輝き度合いの情報が取得される。いずれの場合でも取得された輝き度合いの情報は、輝き度合い入力部1303から階調補正部1304へ出力される。 In S1404, a process is performed to acquire the brightness level information reflected in the brightness level input unit 1303 in S1403. For example, the brightness level information reflected in the brightness level input unit 1303 in S1403 is acquired as is (unadjusted). Alternatively, the brightness level information reflected in the brightness level input unit 1303 in S1403 is corrected (e.g., fine-tuned) in accordance with a user operation input, and then the brightness level information is acquired. In either case, the acquired brightness level information is output from the brightness level input unit 1303 to the gradation correction unit 1304.

本実施例では、表示輝度入力部1301によって入力された表示輝度から算出された輝き度合いを、輝き度合い入力部1303に反映させる処理が行われるが、このような処理に限定されない。輝き度合い入力部1303によって入力された輝き度合いから表示輝度を算出し、算出された表示輝度を表示輝度入力部1301に反映させてもよい。この場合には輝き度合い算出部1302に代えて、表示輝度算出部が輝き度合いから表示輝度の算出処理を行う。表示輝度算出部によって算出された表示輝度の情報、または当該情報を補正した情報が取得される。S1405の処理は、図4(A)のS404の処理と同様であるので、詳細な説明を省略する。 In this embodiment, a process is performed in which the brightness level calculated from the display brightness input by the display brightness input unit 1301 is reflected in the brightness level input unit 1303, but the process is not limited to this. The display brightness may be calculated from the brightness level input by the brightness level input unit 1303, and the calculated display brightness may be reflected in the display brightness input unit 1301. In this case, instead of the brightness level calculation unit 1302, the display brightness calculation unit calculates the display brightness from the brightness level. Information on the display brightness calculated by the display brightness calculation unit, or information obtained by correcting this information, is obtained. The process of S1405 is similar to the process of S404 in FIG. 4(A), so a detailed description will be omitted.

次に図14を参照して、図13のS1403で行われる輝き度合いの算出処理について詳細に説明する。図14は、表示輝度に対応する輝き度合いを示す参照テーブルをグラフ化した図である。輝き度合い算出部1302は参照テーブルを用いて輝き度合いを算出する。図14にて横軸は表示輝度を表し、縦軸は輝き度合いを表しており、横軸にて右へ行くほど表示輝度が高くなり、縦軸にて上へ行くほど階調数が減り輝き度合いが強くなる。グラフ線1501で表される特性を例にして、表示輝度と輝き度合いの関係を示す。この例では、閾値Thより低い表示輝度の範囲では輝き度合いが一定値となり、閾値Th以上の範囲では表示輝度が高くなるにつれて輝き度合いが小さくなるという特徴を示している。表示輝度が低い範囲で飽和度合いが増すと見栄えが低下する可能性があるので、当該範囲では輝き度合いが上限値を超えない特性である。 Next, referring to FIG. 14, the calculation process of the brightness degree performed in S1403 in FIG. 13 will be described in detail. FIG. 14 is a graph of a reference table showing the brightness degree corresponding to the display brightness. The brightness degree calculation unit 1302 calculates the brightness degree using the reference table. In FIG. 14, the horizontal axis represents the display brightness, and the vertical axis represents the brightness degree, with the display brightness increasing toward the right on the horizontal axis, and the number of gradations decreasing and the brightness degree increasing toward the top of the vertical axis. The relationship between the display brightness and the brightness degree is shown using the characteristic represented by the graph line 1501 as an example. In this example, the brightness degree is a constant value in the range of display brightness lower than the threshold value Th, and the brightness degree decreases as the display brightness increases in the range of the threshold value Th or higher. If the saturation degree increases in the range of low display brightness, the appearance may deteriorate, so the brightness degree does not exceed the upper limit value in this range.

あらかじめ定められた参照テーブルを表す関数をTBLと表記し、表示輝度をhyと表記する。輝き度合いをshと表記すると、shは下記(式4)で表される。

Figure 0007634944000004
A function representing a predetermined look-up table is denoted as TBL, and display luminance is denoted as hy. If the brightness level is denoted as sh, sh is expressed by the following (Equation 4).
Figure 0007634944000004

また、図13のS1403の輝き度合い算出処理では、入力画像のヒストグラムから算出した代表値に応じて、(式4)の参照テーブルを変更する処理が行われてもよい。図15を参照し、ヒストグラムを用いて参照テーブルを変更する処理について詳細に説明する。図15(A)に示すヒストグラムの横軸は、入力画像における、知覚均等色空間ICtCpの明るさ成分Iを示す画素値を表しており、縦軸は画素数を表す。輝き度合い算出部1302は、まず、図15(A)に示すヒストグラムを用いて参照テーブルの変更に必要な代表輝度値を算出する。画素値1601は、ヒストグラムを高輝度側から累積加算した値が全画素数に対して所定の割合の画素数となるときの代表画素値である。 In addition, in the brightness calculation process of S1403 in FIG. 13, a process of changing the reference table of (Equation 4) may be performed according to a representative value calculated from the histogram of the input image. The process of changing the reference table using a histogram will be described in detail with reference to FIG. 15. The horizontal axis of the histogram shown in FIG. 15(A) represents the pixel value indicating the brightness component I of the perceptually uniform color space ICtCp in the input image, and the vertical axis represents the number of pixels. The brightness calculation unit 1302 first calculates the representative brightness value required to change the reference table using the histogram shown in FIG. 15(A). The pixel value 1601 is the representative pixel value when the value obtained by accumulating the histogram from the high brightness side is a predetermined ratio of the number of pixels to the total number of pixels.

次に輝き度合い算出部1302は、算出した代表輝度値を用いて参照テーブルの変更を行う。図15(B)は、表示輝度と輝き度合いとの関係を表す参照テーブルをグラフ化して示す図であり、横軸は表示輝度を表し、縦軸は輝き度合いを表す。グラフ線1602は変更前の参照テーブルを表し、グラフ線1603は変更後の参照テーブルを表している。 Next, the brightness calculation unit 1302 changes the reference table using the calculated representative brightness value. FIG. 15(B) is a graph showing a reference table that represents the relationship between display brightness and brightness, with the horizontal axis representing display brightness and the vertical axis representing brightness. Graph line 1602 represents the reference table before the change, and graph line 1603 represents the reference table after the change.

参照テーブルの変更は下記(式5)および(式6)を用いて行われる。高輝度領域を規定する閾値をth、ヒストグラムを用いて算出した代表画素値をx、変更前の参照テーブルに対応する基準の輝度値をxbと表記する。ヒストグラムを用いて参照テーブルを変更する前後での参照テーブルデータの変化率をRと表記すると、Rは下記(式5)で表される。つまり、変化率Rは、基準の輝度値xbと閾値thとの差分と、代表画素値xと閾値thとの差分との比に相当する。変更前の参照テーブルを表す関数をTBLbと表記すると、変更後の参照テーブルを表す関数TBLは、変化率Rを用いて下記(式6)で表される。

Figure 0007634944000005
The reference table is changed using the following (Equation 5) and (Equation 6). The threshold value defining the high brightness region is denoted as th, the representative pixel value calculated using the histogram as x * , and the reference brightness value corresponding to the reference table before the change as xb * . If the change rate of the reference table data before and after the reference table is changed using the histogram is denoted as R, R is expressed by the following (Equation 5). In other words, the change rate R corresponds to the ratio of the difference between the reference brightness value xb * and the threshold value th to the difference between the representative pixel value x * and the threshold value th. If the function representing the reference table before the change is denoted as TBLb, the function TBL representing the reference table after the change is expressed by the following (Equation 6) using the change rate R.
Figure 0007634944000005

輝き度合い算出部1302は変更後の参照テーブルを用いて、(式4)に示したようにS1402で取得された表示輝度hyに対応する輝き度合いshを算出する。例えば、図15(B)のグラフ線1603で表される変更後の参照テーブルを用いて算出した輝き度合いに基づいて階調特性の算出が行われる。階調特性の例を図15(C)に示す。 The brightness calculation unit 1302 uses the changed reference table to calculate the brightness sh corresponding to the display luminance hy obtained in S1402 as shown in (Equation 4). For example, the gradation characteristics are calculated based on the brightness calculated using the changed reference table represented by the graph line 1603 in FIG. 15(B). An example of the gradation characteristics is shown in FIG. 15(C).

図15(C)の横軸は入力輝度を表し、縦軸は出力輝度を表す。グラフ線1605は変更前の参照テーブルを用いて算出された階調特性を表し、グラフ線1606は変更後の参照テーブルを用いて算出された階調特性を表す。表示輝度1604を出力輝度とする入力輝度の開始点は、変更前の参照テーブルに対応する基準の輝度値xbから、ヒストグラムを用いて算出された代表画素値xに変更される。表示輝度1604にマッピングされて階調が減少する輝度領域は領域1607から領域1608に変更される。つまり領域1607に比べて領域1608の方が大きい。この変更によって、入力画像の輝度分布に最適な輝き感の制御が可能となる。 The horizontal axis of FIG. 15C represents input luminance, and the vertical axis represents output luminance. A graph line 1605 represents the gradation characteristic calculated using the reference table before the change, and a graph line 1606 represents the gradation characteristic calculated using the reference table after the change. The starting point of the input luminance with the display luminance 1604 as the output luminance is changed from the reference luminance value xb * corresponding to the reference table before the change to the representative pixel value x * calculated using the histogram. The luminance region where the gradation is reduced by being mapped to the display luminance 1604 is changed from the region 1607 to the region 1608. That is, the region 1608 is larger than the region 1607. This change enables the control of the sense of brightness that is optimal for the luminance distribution of the input image.

以上の第1から第3実施例で説明した構成により、HDR画像における高輝度領域の輝き感を制御可能な画像処理装置および画像処理方法を提供することできる。なお、本発明の好ましい実施形態について説明したが、本発明は前記実施例に限定されず、その要旨の範囲内で種々の変形および変更が可能である。 The configurations described in the first to third embodiments above can provide an image processing device and an image processing method that can control the brightness of high-brightness areas in an HDR image. Note that while the preferred embodiments of the present invention have been described, the present invention is not limited to the above embodiments, and various modifications and variations are possible within the scope of the gist of the present invention.

[その他の実施例]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Examples]
The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

104 表示部
105 表示制御部
201,901,1301 表示輝度入力部
202,902,1303 輝き度合い入力部
203,904,1304 階調補正部
903 高輝度領域検出部
1302 輝き度合い算出部

104 Display unit 105 Display control unit 201, 901, 1301 Display luminance input unit 202, 902, 1303 Brightness level input unit 203, 904, 1304 Gradation correction unit 903 High luminance area detection unit 1302 Brightness level calculation unit

Claims (18)

画像の階調補正を行う画像処理装置であって、
前記画像の表示輝度の情報を取得する第1の取得手段と、
前記画像にて閾値以上の輝度値である輝度領域の階調を減少させる度合いを表す輝き度合いの情報を取得する第2の取得手段と、
取得された前記表示輝度の情報および前記輝き度合いの情報を用いて前記画像の階調補正を行う補正手段と、を備え、
前記第1の取得手段により取得される表示輝度値を第1の表示輝度値とし、表示輝度の初期値を第2の表示輝度値として、前記第1の表示輝度値を前記第2の表示輝度値より大きいとするとき、前記補正手段は、入力輝度に対する出力輝度の関係を表す階調補正前の階調特性に対して前記輝き度合いの情報にしたがって、前記入力輝度がその閾値以上である輝度領域における階調特性の出力輝度を前記階調補正前の階調特性の出力輝度よりも大きくすることで、前記入力輝度がその閾値以上である輝度領域の明るさを前記第1の表示輝度値に近づける階調補正を行う
ことを特徴する画像処理装置。
An image processing device that performs gradation correction of an image,
a first acquisition means for acquiring information on the display luminance of the image;
A second acquisition means for acquiring brightness information representing a degree of reduction in gradation of a brightness area having a brightness value equal to or greater than a threshold value in the image;
a correction means for performing gradation correction of the image using the acquired information on the display luminance and the information on the brightness level,
an image processing device characterized in that, when the display luminance value acquired by the first acquisition means is a first display luminance value, an initial value of the display luminance is a second display luminance value, and the first display luminance value is greater than the second display luminance value, the correction means performs gradation correction to bring the brightness of the luminance area where the input luminance is equal to or greater than its threshold value closer to the first display luminance value by increasing the output luminance of the gradation characteristics before gradation correction in accordance with the information on the degree of brightness for the gradation characteristics before gradation correction that represent the relationship between the input luminance and the output luminance.
前記画像と、前記表示輝度の情報の取得に用いる第1の入力領域および前記輝き度合いの情報の取得に用いる第2の入力領域を表示する制御を行う制御手段を備える
ことを特徴とする請求項1に記載の画像処理装置。
2. The image processing device according to claim 1, further comprising a control means for controlling display of the image, a first input area used to acquire the display luminance information, and a second input area used to acquire the brightness information.
前記第1および第2の入力領域を同一の画面上に表示する表示手段を備える
ことを特徴とする請求項2に記載の画像処理装置。
3. The image processing apparatus according to claim 2, further comprising a display means for displaying the first and second input areas on the same screen.
前記補正手段は、前記表示輝度の情報および前記輝き度合いの情報を用いて階調特性を算出する算出手段を備え、前記階調特性にしたがって前記階調補正を行う
ことを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。
4. The image processing device according to claim 1, wherein the correction means includes a calculation means for calculating a gradation characteristic using the display luminance information and the brightness information, and performs the gradation correction in accordance with the gradation characteristic.
前記算出手段は、前記画像の輝度値に対応する画素数を表すヒストグラムを算出し、前記ヒストグラムを高輝度側から見た場合、最初に極小値となる輝度値から前記階調特性における前記入力輝度の閾値を算出する
ことを特徴とする請求項4に記載の画像処理装置。
5. The image processing device according to claim 4, wherein the calculation means calculates a histogram representing the number of pixels corresponding to the luminance values of the image, and calculates the input luminance threshold value in the gradation characteristics from the luminance value that first becomes a minimum value when the histogram is viewed from the high luminance side.
前記補正手段は、前記表示輝度の情報、前記輝き度合いの情報、および前記画像の有彩色度合いを用いて前記階調特性を算出する算出手段と、算出された階調特性に基づいて階調を補正する処理を行う階調処理手段とを備える
ことを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。
4. The image processing device according to claim 1, wherein the correction means comprises: a calculation means for calculating the gradation characteristics using the display luminance information, the brightness information, and the chromaticity degree of the image; and a gradation processing means for performing a process of correcting the gradation based on the calculated gradation characteristics.
前記補正手段は、画像の知覚均等色空間上での、階調補正前の画像の明るさ成分を入力輝度とし、階調補正後の画像の明るさ成分を出力輝度とする階調特性を算出する算出手段と、算出された階調特性に基づいて階調を補正する処理を行う階調処理手段とを備える
ことを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。
4. The image processing device according to claim 1, wherein the correction means comprises: a calculation means for calculating a gradation characteristic in which a brightness component of an image before gradation correction is an input luminance in a perceptually uniform color space of the image, and a brightness component of an image after gradation correction is an output luminance; and a gradation processing means for performing a process of correcting the gradation based on the calculated gradation characteristic.
前記画像にて輝度値が閾値以上である高輝度領域を検出する検出手段をさらに備え、
前記検出手段が複数の高輝度領域を検出した場合、前記補正手段は前記複数の高輝度領域に対して取得された前記表示輝度の情報および前記輝き度合いの情報を用いて前記複数の高輝度領域の階調補正を行う
ことを特徴とする請求項1に記載の画像処理装置。
A detection unit is further provided for detecting a high-luminance region in the image, the high-luminance region having a luminance value equal to or greater than a threshold value.
The image processing device according to claim 1, characterized in that, when the detection means detects a plurality of high-brightness areas, the correction means performs gradation correction on the plurality of high-brightness areas using the display luminance information and the brightness information acquired for the plurality of high-brightness areas.
画像領域の選択の操作入力を受け付ける操作入力手段を備え、
前記検出手段は、前記操作入力手段の受け付けた情報を用いて前記高輝度領域を検出する
ことを特徴とする請求項8に記載の画像処理装置。
an operation input means for receiving an operation input for selecting an image area;
The image processing apparatus according to claim 8 , wherein the detection means detects the high luminance area by using information received by the operation input means.
前記検出手段は前記画像に対する参照画像を取得し、前記画像と前記参照画像とを比較して前記高輝度領域を検出する
ことを特徴とする請求項8に記載の画像処理装置。
9. The image processing apparatus according to claim 8, wherein said detection means obtains a reference image for said image, and detects said high luminance area by comparing said image with said reference image.
前記参照画像は、その取得または撮影の時刻が前記画像と異なる画像である
ことを特徴とする請求項10に記載の画像処理装置。
The image processing apparatus according to claim 10 , wherein the reference image is an image whose acquisition or photographing time is different from that of the image.
前記検出手段が第1および第2の高輝度領域を検出した場合、
前記補正手段は、
前記第1の高輝度領域に対して取得された前記表示輝度の情報および前記輝き度合いの情報を用いて前記第1の高輝度領域に対する第1の階調特性に基づく階調補正を行い、
前記第2の高輝度領域に対して取得された前記表示輝度の情報および前記輝き度合いの情報を用いて前記第2の高輝度領域に対する第2の階調特性に基づく階調補正を行う
ことを特徴とする請求項8から11のいずれか1項に記載の画像処理装置。
When the detection means detects the first and second high luminance areas,
The correction means is
performing gradation correction based on a first gradation characteristic for the first high luminance region using the display luminance information and the brightness information acquired for the first high luminance region;
12. The image processing device according to claim 8, further comprising: performing gradation correction based on a second gradation characteristic for the second high-luminance area using the display luminance information and the brightness information acquired for the second high-luminance area.
取得された前記表示輝度の情報から前記輝き度合いの情報を算出する算出手段を備え、
前記第2の取得手段は、前記算出手段によって算出された前記輝き度合いの情報を取得する
ことを特徴とする請求項1に記載の画像処理装置。
A calculation means for calculating the brightness level information from the acquired display brightness information,
The image processing device according to claim 1 , wherein the second acquisition means acquires the information on the brightness level calculated by the calculation means.
取得された前記輝き度合いの情報から前記表示輝度の情報を算出する算出手段を備え、
前記第1の取得手段は、前記算出手段によって算出された前記表示輝度の情報を取得する
ことを特徴とする請求項1に記載の画像処理装置。
A calculation means for calculating the display luminance information from the acquired brightness level information,
The image processing device according to claim 1 , wherein the first acquisition means acquires the information on the display luminance calculated by the calculation means.
請求項1から14のいずれか1項に記載の画像処理装置を備える
ことを特徴とする撮像装置。
An imaging device comprising the image processing device according to claim 1 .
前記補正手段によって階調補正された画像、または当該画像および前記表示輝度と前記輝き度合いの制御の特徴を示す情報を表示する表示手段を備える
ことを特徴とする請求項15に記載の撮像装置。
16. The imaging device according to claim 15, further comprising a display unit that displays an image that has been tone-corrected by the correction unit, or the image and information indicating characteristics of the control of the display luminance and the brightness level.
画像の階調補正を行う画像処理装置にて実行される画像処理方法であって、
前記画像の表示輝度の情報と、前記画像にて閾値以上の輝度値である輝度領域の階調を減少させる度合いを表す輝き度合いの情報を取得する取得工程と、
取得された前記表示輝度の情報および前記輝き度合いの情報を用いて前記画像の階調補正を行う補正工程と、を有し、
前記補正工程では、前記取得工程により取得される表示輝度値を第1の表示輝度値とし、表示輝度の初期値を第2の表示輝度値として、前記第1の表示輝度値を前記第2の表示輝度値より大きいとするとき、入力輝度に対する出力輝度の関係を表す階調補正前の階調特性に対して前記輝き度合いの情報にしたがって、前記入力輝度がその閾値以上である輝度領域における階調特性の出力輝度を前記階調補正前の階調特性の出力輝度よりも大きくすることで、前記入力輝度がその閾値以上である輝度領域の明るさを前記第1の表示輝度値に近づける階調補正が行われる
ことを特徴する画像処理方法。
An image processing method executed by an image processing device that performs gradation correction of an image, comprising:
an acquisition step of acquiring information on the display luminance of the image and information on the brightness level representing a degree of reduction in the gradation of a luminance area in the image having a luminance value equal to or greater than a threshold;
and a correction step of performing gradation correction of the image using the acquired information on the display luminance and the information on the brightness level,
the correction step is performed to make the brightness of the luminance region where the input luminance is equal to or greater than the threshold value closer to the first display luminance value, by making the output luminance of the gradation characteristics before the gradation correction, which represents the relationship between the input luminance and the output luminance, greater than the output luminance of the gradation characteristics before the gradation correction, in the luminance region where the input luminance is equal to or greater than the threshold value, in accordance with the information on the degree of brightness for the gradation characteristics before the gradation correction, which represents the relationship between the input luminance and the output luminance, closer to the first display luminance value.
請求項17に記載の工程を画像処理装置のコンピュータに実行させるプログラム。
A program for causing a computer of an image processing apparatus to execute the steps according to claim 17.
JP2020114948A 2020-07-02 2020-07-02 Image processing device, image processing method, imaging device, and program Active JP7634944B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020114948A JP7634944B2 (en) 2020-07-02 2020-07-02 Image processing device, image processing method, imaging device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020114948A JP7634944B2 (en) 2020-07-02 2020-07-02 Image processing device, image processing method, imaging device, and program

Publications (2)

Publication Number Publication Date
JP2022012832A JP2022012832A (en) 2022-01-17
JP7634944B2 true JP7634944B2 (en) 2025-02-25

Family

ID=80149024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020114948A Active JP7634944B2 (en) 2020-07-02 2020-07-02 Image processing device, image processing method, imaging device, and program

Country Status (1)

Country Link
JP (1) JP7634944B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7844246B2 (en) * 2022-05-11 2026-04-13 キヤノン株式会社 Imaging device and method for controlling the imaging device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018180266A (en) 2017-04-13 2018-11-15 キヤノン株式会社 Display device and control method thereof
JP2019211582A (en) 2018-06-01 2019-12-12 シャープ株式会社 Display device and method of controlling the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018180266A (en) 2017-04-13 2018-11-15 キヤノン株式会社 Display device and control method thereof
JP2019211582A (en) 2018-06-01 2019-12-12 シャープ株式会社 Display device and method of controlling the same

Also Published As

Publication number Publication date
JP2022012832A (en) 2022-01-17

Similar Documents

Publication Publication Date Title
US10412296B2 (en) Camera using preview image to select exposure
CN101090458B (en) Image processing device, imaging device, image output device and methods thereof
JP5898466B2 (en) Imaging device, control method thereof, and program
US7129980B1 (en) Image capturing apparatus and automatic exposure control correcting method
JP5509750B2 (en) Image processing apparatus and program
JP5672796B2 (en) Image processing apparatus and image processing method
JP2012054827A (en) Image processor, image processing method and program
JP7332325B2 (en) IMAGE PROCESSING DEVICE, IMAGING DEVICE, IMAGE PROCESSING METHOD, AND PROGRAM
JP4600424B2 (en) Development processing apparatus for undeveloped image data, development processing method, and computer program for development processing
JP2019047169A (en) Apparatus, method, and program for creating high dynamic range image
KR20180132210A (en) Method and Device for making HDR image by using color response curve, camera, and recording medium
JP6786273B2 (en) Image processing equipment, image processing methods, and programs
JP7307541B2 (en) IMAGE PROCESSING DEVICE, IMAGING DEVICE, IMAGE PROCESSING METHOD, AND PROGRAM
KR101923162B1 (en) System and Method for Acquisitioning HDRI using Liquid Crystal Panel
JP7634944B2 (en) Image processing device, image processing method, imaging device, and program
CN110324529B (en) Image processing apparatus and control method thereof
US20060159340A1 (en) Digital image photographing apparatus and method
JP6386843B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP5070921B2 (en) Development processing apparatus for undeveloped image data, development processing method, and computer program for development processing
JP6210772B2 (en) Information processing apparatus, imaging apparatus, control method, and program
EP3442218A1 (en) Imaging apparatus and control method for outputting images with different input/output characteristics in different regions and region information, client apparatus and control method for receiving images with different input/output characteristics in different regions and region information and displaying the regions in a distinguishable manner
JP2017126914A (en) Image processing system
CN116962889A (en) Imaging device, control method thereof, and computer-readable storage medium
JP6025555B2 (en) Image processing apparatus, image processing method, and program
JP4807315B2 (en) Development processing apparatus for undeveloped image data, development processing method, and computer program for executing development processing

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230630

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240430

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240528

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240704

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241029

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241216

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250212

R150 Certificate of patent or registration of utility model

Ref document number: 7634944

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150