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

JP7805142B2 - Image correction processing device and program - Google Patents

Image correction processing device and program

Info

Publication number
JP7805142B2
JP7805142B2 JP2021192175A JP2021192175A JP7805142B2 JP 7805142 B2 JP7805142 B2 JP 7805142B2 JP 2021192175 A JP2021192175 A JP 2021192175A JP 2021192175 A JP2021192175 A JP 2021192175A JP 7805142 B2 JP7805142 B2 JP 7805142B2
Authority
JP
Japan
Prior art keywords
saturation
correction
pixel
processing unit
cor
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
JP2021192175A
Other languages
Japanese (ja)
Other versions
JP2023078866A (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 JP2021192175A priority Critical patent/JP7805142B2/en
Publication of JP2023078866A publication Critical patent/JP2023078866A/en
Application granted granted Critical
Publication of JP7805142B2 publication Critical patent/JP7805142B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Of Color Television Signals (AREA)
  • Color Image Communication Systems (AREA)

Description

本発明は、画像補正処理装置およびプログラムに関する。 The present invention relates to an image correction processing device and program.

HDR映像(HDRは、「High Dynamic Range」(ハイ・ダイナミック・レンジ)の略)による放送番組は、番組間の明るさのばらつきを抑制するために、HDR基準白を考慮して制作されている。HLG方式(HLGは、「Hybrid Log Gamma」(ハイブリッド・ログ・ガンマ)の略)を用いた場合のHDR基準白は、75%のHLG映像信号レベル(以下において、「75%HLG」と称す場合がある)である。 Broadcast programs using HDR video (HDR stands for "High Dynamic Range") are produced with HDR reference white in mind to reduce variations in brightness between programs. When using the HLG system (HLG stands for "Hybrid Log Gamma"), the HDR reference white is 75% of the HLG video signal level (hereinafter sometimes referred to as "75% HLG").

映像を構成するうえで人の顔の肌のレベルは重要である。特許文献1では、人の顔の肌のレベルは、HDR基準白を考慮した場合、45%HLGから55%HLGに収まることが報告されている。しかしながら、映像制作時の意図や人物と照明の条件が変化したときに、55%HLGよりも高いレベルで顔の肌が表現される場合もある。HLG方式では75%HLGで白くなるように明るさを調整するため、55%HLGから75%HLGまでの間で表現された肌は、肌色として彩度が保たれた状態となる。 The level of human facial skin is important when composing video. Patent Document 1 reports that the level of human facial skin, when taking HDR reference white into consideration, falls within the range of 45% HLG to 55% HLG. However, when the intentions of the video creator or the person and lighting conditions change, facial skin may be expressed at a level higher than 55% HLG. The HLG method adjusts brightness so that skin becomes white at 75% HLG, so skin expressed between 55% HLG and 75% HLG maintains its saturation as a skin color.

一方で、非特許文献1では、従来のSDR映像(SDRは、「Standard Dynamic Range」(スタンダード・ダイナミック・レンジ)の略)による番組制作において、人の顔肌レベルは、男性の場合よりも女性の場合の方が高いことが報告されている。 On the other hand, Non-Patent Document 1 reports that in programs produced using conventional SDR video (SDR stands for "Standard Dynamic Range"), the facial skin tone of women is higher than that of men.

特開2020-025241号公報Japanese Patent Application Laid-Open No. 2020-025241

Report ITU-R BT.2408-3「Guidance for operational practices in HDR television production」,2019年7月,ITU-R(Radiocommunication Sector of ITU).Report ITU-R BT.2408-3 “Guidance for operational practices in HDR television production”, July 2019, ITU-R (Radiocommunication Sector of ITU).

SDR映像の番組において、女性の顔肌は、レベルが高くなればなるほど、階調表現を重視し低い彩度で表現される。これを特許文献1に記載された彩度補正処理で表現しようとした場合、肌色の多くは75%HLGに相当する明度よりも低く、彩度補正処理が適用されないため、肌色を低い彩度で表現できないという問題があった。 In SDR video programs, the higher the level of a woman's facial skin, the more emphasis is placed on gradation expression and the lower the saturation. When attempting to express this using the saturation correction process described in Patent Document 1, many skin tones have a brightness lower than that equivalent to 75% HLG, and the saturation correction process cannot be applied, resulting in the problem of not being able to express skin tones with low saturation.

また、彩度補正処理の変曲点である75%HLGに相当する明度を55%HLGに相当する明度に下げたとしても、すべての色相角で等しく彩度を低下させるため、顔肌以外の色の彩度が低下するという問題があった。 Furthermore, even if the brightness corresponding to 75% HLG, which is the inflection point of the saturation correction process, is reduced to the brightness corresponding to 55% HLG, the saturation is reduced equally at all hue angles, which poses the problem of reducing the saturation of colors other than facial skin.

肌色の色相角の範囲についてのみ彩度補正処理の変曲点を55%HLGに相当する明度に下げるという解決手段も考えられる。しかしながら、肌色の色相角から肌色以外の色相角へ切り替わる場合、またはその逆への切り替えの場合において、補正処理の数式が数学的に急峻な変換となる場合には、変換後の階調表現が不連続となってしまう場合もあった。また、明度と色相角とで肌色の範囲を限定する場合には、同じ色相角でありながら肌色と知覚されないような彩度の高い色までも補正処理の対象となってしまうという問題も起こり得る。 One possible solution would be to lower the inflection point of the saturation correction process to a lightness equivalent to 55% HLG only for the hue angle range of skin tones. However, when switching from a skin hue angle to a non-skin hue angle, or vice versa, if the correction process formula results in a mathematically steep conversion, the gradation expression after conversion may become discontinuous. Furthermore, when limiting the skin tones range using lightness and hue angle, there is a risk that highly saturated colors that are not perceived as skin tones may also be subject to the correction process, even though they have the same hue angle.

本発明は、上記の課題認識に基づいて行なわれたものであり、制作意図に応じて、HDR番組制作における顔肌レベルを高くし、且つ従来のSDR番組制作における顔肌の表現のように彩度を低下させて表現したい場合に、特定色の領域のみの彩度を低下させることができ、さらに、彩度補正後における階調表現に不連続性が現れないようにしたり、補正処理によって目的とする色以外の色が補正されてしまうことのないようにしたりすることのできる画像補正処理装置およびプログラムを提供しようとするものである。 The present invention was developed based on the above-mentioned problem recognition, and aims to provide an image correction processing device and program that can lower the saturation of only specific color areas when it is desired to increase the facial skin level in HDR program production and lower the saturation of facial skin, as in conventional SDR program production, according to production intent. It also prevents discontinuities from appearing in the gradation expression after saturation correction, and prevents colors other than the intended color from being corrected by the correction process.

[1]上記の課題を解決するため、本発明の一態様による画像補正処理装置は、画像内において所定の条件に合う色の画素の彩度を補正するための補正ファクターfcorを求め、当該画素の彩度を前記補正ファクターfcorに基づいて補正する彩度補正処理部、を備える。前記彩度補正処理部は、前記画素の少なくとも明度と色相角とに基づいて、前記明度の変化に対応して連続的に変化する前記補正ファクターfcorであって、且つ前記色相角の変化に対応して連続的に変化する前記補正ファクターfcor、を決定し、当該画素の彩度に決定された前記補正ファクターfcorを乗ずることによって当該画素の彩度を補正する。
この構成により、画像補正処理装置は、画像内の画素の彩度に補正ファクターfcorを乗ずることによって画素の彩度を補正できる。また、補正ファクターfcorは、明度の変化に対応して連続的に変化するものであり、且つ色相角の変化に対応して連続的に変化するものである。したがって、補正後の画像内において不連続な階調の変化が生じない。
[1] To solve the above problems, an image correction processing device according to one aspect of the present invention includes a saturation correction processing unit that calculates a correction factor f cor for correcting the saturation of a pixel in an image whose color satisfies predetermined conditions, and corrects the saturation of the pixel based on the correction factor f cor . The saturation correction processing unit determines the correction factor f cor , which continuously changes in response to changes in the lightness and the hue angle, based on at least the lightness and hue angle of the pixel, and corrects the saturation of the pixel by multiplying the determined correction factor f cor by the saturation of the pixel .
With this configuration, the image correction processing device can correct the saturation of pixels in an image by multiplying the saturation of the pixels by the correction factor fcor . The correction factor fcor changes continuously in response to changes in lightness and also changes continuously in response to changes in hue angle. Therefore, no discontinuous changes in gradation occur in the corrected image.

[2]また、本発明の一態様は、上記の画像補正処理装置において、入力されるハイ・ダイナミック・レンジ(HDR)映像が含む画像を、HDRに対応したCIELAB色空間の信号に変換して前記彩度補正処理部に渡す色空間変換処理部と、前記彩度補正処理部によって処理された後のHDRに対応したCIELAB色空間の信号を、HDR映像に再変換して出力する色空間再変換処理部と、をさらに備え、前記彩度補正処理部は、前記色空間変換処理部から渡されるHDRに対応したCIELAB色空間の信号に基づいて前記画素の彩度を補正する。
ここで、色空間変換処理部は、CIELAB色空間HDR映像が含む画像を、75%HLGのシーン輝度が拡散白(明度100)に対応するようなCIELAB色空間の信号に変換する。75%HLGのシーン輝度が拡散白(明度100)に対応するようなCIELAB色空間を、「HDRに対応したCIELAB色空間」と称す。
また、彩度補正処理部は、色空間変換処理部から渡される上記のHDRに対応したCIELAB色空間の信号に基づいて画素の彩度を補正する。
なお、上記の通り、「HDR」は、「ハイ・ダイナミック・レンジ」の略である。
[2] Furthermore, one aspect of the present invention is the above-mentioned image correction processing device, further comprising: a color space conversion processing unit that converts an image included in an input high dynamic range (HDR) video into a signal in a CIELAB color space corresponding to HDR and passes the signal to the saturation correction processing unit; and a color space reconversion processing unit that reconverts the signal in the CIELAB color space corresponding to HDR after processing by the saturation correction processing unit into HDR video and outputs the HDR video, and the saturation correction processing unit corrects the saturation of the pixel based on the signal in the CIELAB color space corresponding to HDR passed from the color space conversion processing unit.
Here, the color space conversion processing unit converts the image included in the CIELAB color space HDR video into a signal in the CIELAB color space in which 75% HLG scene luminance corresponds to diffuse white (lightness 100). The CIELAB color space in which 75% HLG scene luminance corresponds to diffuse white (lightness 100) is referred to as the "CIELAB color space compatible with HDR."
The saturation correction processing unit also corrects the saturation of pixels based on the signal in the CIELAB color space corresponding to the HDR, which is passed from the color space conversion processing unit.
As mentioned above, "HDR" is an abbreviation for "High Dynamic Range."

[3]また、本発明の一態様は、上記の画像補正処理装置において、前記補正ファクターfcorは、前記画素の彩度を低下させる作用を有するものであり、前記彩度補正処理部は、前記画素の補正前の彩度C abが高いほど前記補正ファクターfcorによる彩度の低下の度合いを小さくする、というものである。 [3] Furthermore, in one aspect of the present invention, in the image correction processing device described above, the correction factor f cor has the effect of reducing the saturation of the pixel, and the saturation correction processing unit reduces the degree of reduction in saturation caused by the correction factor f cor as the pre-correction saturation C * ab of the pixel becomes higher.

[4]また、本発明の一態様は、上記の画像補正処理装置において、前記彩度補正処理部は、前記画素の補正前の彩度C abに応じて、前記補正ファクターfcorによる彩度の低下の度合いを表す減少関数値C funcを計算するものであり、前記減少関数値C funcは、前記画素の補正前の彩度C abの増加に対して単調に減少するものであり、前記画素の補正前の彩度C abが50以下の場合には、前記減少関数値C funcは0.95以上であり、前記画素の補正前の彩度C abが150以上の場合には、前記減少関数値C funcは0.02以下であり、前記彩度補正処理部は、前記画素の明度および色相角に基づいて決定される所定の値に、前記減少関数値C funcを乗ずることによって、前記補正ファクターfcorによる彩度の低下の度合いを求める。 [4] Also, in one aspect of the present invention, in the above-mentioned image correction processing device, the saturation correction processing unit calculates a reduction function value C * func that represents the degree of reduction in saturation due to the correction factor fcor , according to the pre-correction saturation C * ab of the pixel, and the reduction function value C * func monotonically decreases as the pre-correction saturation C * ab of the pixel increases, and when the pre-correction saturation C * ab of the pixel is 50 or less, the reduction function value C * func is 0.95 or more, and when the pre-correction saturation C * ab of the pixel is 150 or more, the reduction function value C * func is 0.02 or less, and the saturation correction processing unit obtains the degree of reduction in saturation due to the correction factor fcor by multiplying a predetermined value determined based on the lightness and hue angle of the pixel by the reduction function value C * func .

[5]また、本発明の一態様は、上記の画像補正処理装置において、前記彩度補正処理部は、前記補正ファクターfcorを、所定の数式によって求めるものである。ただし、その数式で算出した結果としてfcor<0となる場合には、強制的にfcor=0とする。なお、数式中に現れる値の意味は次の通りである。L maxは明度の最大値である。Lは前記画素の明度(0≦L≦L max)である。L は前記画素の色相角habの変化に応じて連続的に変化するように決定される明度についての所定の変曲点の値である。hおよびhのそれぞれは補正対象とする色相角habの領域に応じて適宜定められるパラメーター(ただし、h≦h)である。σは前記画素の明度の変化に応じて連続的に変化するように決定される彩度補正パラメーターである。C funcは減少関数値である。 [5] In another aspect of the present invention, in the image correction processing device described above, the saturation correction processing unit calculates the correction factor f cor using a predetermined formula. However, if the result of calculation using the formula is f cor <0, f cor is forcibly set to 0. The values appearing in the formula have the following meanings: L * max is the maximum lightness; L * is the lightness of the pixel (0≦L * ≦L * max ); L * f is a predetermined inflection point value for lightness that is determined to change continuously in response to changes in the hue angle h ab of the pixel; h 1 and h 4 are parameters appropriately determined in response to the region of the hue angle h ab to be corrected (where h 1 ≦h 4 ); σ f is a saturation correction parameter that is determined to change continuously in response to changes in the lightness of the pixel; and C * func is a decreasing function value.

[6]また、本発明の一態様は、画像内において所定の条件に合う色の画素の彩度を補正するための補正ファクターfcorを求め、当該画素の彩度を前記補正ファクターfcorに基づいて補正する彩度補正処理部、を備え、前記彩度補正処理部は、前記画素の少なくとも明度と色相角とに基づいて、前記明度の変化に対応して連続的に変化する前記補正ファクターfcorであって、且つ前記色相角の変化に対応して連続的に変化する前記補正ファクターfcor、を決定し、当該画素の彩度に決定された前記補正ファクターfcorを乗ずることによって当該画素の彩度を補正する、画像補正処理装置、としてコンピューターを機能させるためのプログラムである。 [6] Another aspect of the present invention is a program for causing a computer to function as an image correction processing device, which includes a saturation correction processing unit that calculates a correction factor f cor for correcting the saturation of a pixel of a color that meets predetermined conditions within an image, and corrects the saturation of the pixel based on the correction factor f cor , wherein the saturation correction processing unit determines, based on at least the lightness and hue angle of the pixel, the correction factor f cor that continuously changes in response to changes in the lightness and that continuously changes in response to changes in the hue angle, and corrects the saturation of the pixel by multiplying the saturation of the pixel by the determined correction factor f cor .

本発明の画像補正処理装置によれば、色相および明度に関して特定の条件に合う領域のみについて、彩度の補正をすることが可能となる。 The image correction processing device of the present invention makes it possible to correct saturation only in areas that meet specific conditions regarding hue and brightness.

本発明の実施形態による画像補正処理装置の概略機能構成を示すブロック図である。1 is a block diagram showing a schematic functional configuration of an image correction processing device according to an embodiment of the present invention. 同実施形態による画像補正処理装置の処理における色相角habと明度関数値L* との関係を示すグラフの一例である。10 is an example of a graph showing the relationship between the hue angle h ab and the lightness function value L * f in the processing of the image correction processing device according to the embodiment. 同実施形態による画像補正処理装置の処理における色相角habと彩度補正パラメーター関数値σとの関係を示すグラフの一例である。10 is an example of a graph showing the relationship between the hue angle h ab and the saturation correction parameter function value σ f in the processing of the image correction processing device according to the embodiment. 同実施形態による画像補正処理装置の処理における明度Lと彩度補正パラメーターσとの関係を示すグラフの例である。10 is an example of a graph showing the relationship between lightness L * and saturation correction parameter σf in processing by the image correction processing device according to the embodiment. 同実施形態による画像補正処理装置の処理において、彩度が高くなるほど肌色の補正処理を効きにくくする作用を持つ減少関数の入力と出力との関係の一例を示すグラフである。10 is a graph showing an example of the relationship between input and output of a decreasing function that has the effect of making the effect of skin color correction processing less effective as saturation increases in processing by the image correction processing device according to the embodiment. 同実施形態による画像補正処理装置の処理の手順を示すフローチャートである。10 is a flowchart showing a processing procedure of the image correction processing device according to the embodiment. 同実施形態による画像補正処理装置の内部構成の例を示すブロック図である。FIG. 2 is a block diagram showing an example of the internal configuration of the image correction processing device according to the embodiment.

次に、本発明の一実施形態について、図面を参照しながら説明する。本実施形態の画像補正処理装置1は、入力されるHDR(ハイ・ダイナミック・レンジ)映像信号を補正する。具体的には、画像補正処理装置1は、HDR映像信号において人の顔の肌レベルが高く表現された場合に、彩度を低下させて階調を保持するように、画像内の肌色を補正する。なお、本実施形態において「肌色」とは、ペールオレンジ(pale orange)などとも呼ばれる色であり、日本をはじめとする極東地域等で多く見られる人の肌の色の呼び方である。画像補正処理装置1が処理の対象とする映像は、フレーム画像の時系列である。映像は、音声を伴うものであってもよいし、音声が付いていないものであってもよい。画像補正処理装置1が映像の信号を補正する際には、個々のフレーム画像についての補正を行う。 Next, one embodiment of the present invention will be described with reference to the drawings. The image correction processing device 1 of this embodiment corrects an input HDR (high dynamic range) video signal. Specifically, when the skin level of a human face is expressed highly in the HDR video signal, the image correction processing device 1 corrects the skin color in the image by reducing saturation and preserving the gradation. Note that in this embodiment, "skin color" refers to a color also known as pale orange, a name for a human skin color commonly seen in Japan and other Far Eastern regions. The video processed by the image correction processing device 1 is a time series of frame images. The video may or may not be accompanied by audio. When the image correction processing device 1 corrects the video signal, it performs correction on each individual frame image.

本実施形態の画像補正処理装置1は、全体として、次のような処理を行う。即ち、画像補正処理装置1は、HDR映像信号を入力する。そして、画像補正処理装置1は、入力されたHDR映像信号を、リニア信号、HDRに対応したCIELAB色空間(CIE 1976 (L*, a*, b*)色空間)の信号に順次変換したうえで、肌色領域のみの彩度を補正する。そして、画像補正処理装置1は、彩度補正後の信号をHDR映像信号に変換し、そのHDR映像信号を出力する。画像補正処理装置1の機能構成と処理の詳細を次に説明する。 The image correction processing device 1 of this embodiment performs the following overall processing. That is, the image correction processing device 1 inputs an HDR video signal. The image correction processing device 1 then sequentially converts the input HDR video signal into a linear signal and a signal in the CIELAB color space (CIE 1976 (L*, a*, b*) color space) that supports HDR, and then corrects the saturation of only the skin color region. The image correction processing device 1 then converts the signal after saturation correction into an HDR video signal and outputs that HDR video signal. The functional configuration and processing details of the image correction processing device 1 are described below.

図1は、本実施形態による画像補正処理装置の概略機能構成を示すブロック図である。図示するように、画像補正処理装置1は、色空間変換処理部21と、彩度補正処理部22と、色空間再変換処理部23とを含むように構成される。これらの各機能部は、電子回路を用いて実現され得る。画像補正処理装置1への入力信号および画像補正処理装置1からの出力信号は、電気信号であってよい。画像補正処理装置1の少なくとも一部を、コンピューターと、プログラムとで実現することも可能である。また、画像補正処理装置1の少なくとも一部を、専用の回路(ハードウェア)で実現することも可能である。各機能部は、必要に応じて、記憶手段を有する。記憶手段は、例えば、半導体メモリーを用いて実現される。また、必要に応じて、磁気ハードディスク装置やソリッドステートドライブ(SSD)といった不揮発性の記憶手段を用いるようにしてもよい。 Figure 1 is a block diagram showing the general functional configuration of an image correction processing device according to this embodiment. As shown in the figure, the image correction processing device 1 is configured to include a color space conversion processing unit 21, a saturation correction processing unit 22, and a color space reconversion processing unit 23. Each of these functional units can be implemented using electronic circuits. Input signals to the image correction processing device 1 and output signals from the image correction processing device 1 may be electrical signals. At least a portion of the image correction processing device 1 can also be implemented using a computer and a program. Also, at least a portion of the image correction processing device 1 can be implemented using dedicated circuits (hardware). Each functional unit has storage means as needed. The storage means is implemented using, for example, semiconductor memory. Furthermore, non-volatile storage means such as a magnetic hard disk drive or solid-state drive (SSD) may also be used as needed.

画像補正処理装置1は、HDR映像信号(BT.2020の規格で標準化された信号)を入力し、信号の補正を行い、補正後のHDR映像信号を出力する。具体的には、画像補正処理装置1は、入力されるHDR映像信号のうち、顔肌レベルの高い領域のみの彩度を補正し、その補正後に信号を出力のためのHDR映像信号(入力された信号と同様に、BT.2020の規格で標準化された信号)に戻す構成を持つ。各部の詳細な機能は、次の通りである。 The image correction processing device 1 inputs an HDR video signal (a signal standardized under the BT.2020 standard), corrects the signal, and outputs the corrected HDR video signal. Specifically, the image correction processing device 1 is configured to correct the saturation of only areas of the input HDR video signal with high facial skin levels, and then convert the corrected signal back into an HDR video signal for output (a signal standardized under the BT.2020 standard, like the input signal). The detailed functions of each component are as follows:

色空間変換処理部21は、入力されるHDR入力映像信号を、HDRに対応したCIELAB色空間の信号に変換する。つまり、色空間変換処理部21は、入力されるHDR映像が含む画像を、HDRに対応したCIELAB色空間の信号に変換して、彩度補正処理部22に渡す。
なお、色空間変換処理部21は、CIELAB色空間HDR映像が含む画像を、75%HLGのシーン輝度が拡散白(明度100)に対応するようなCIELAB色空間の信号に変換する。75%HLGのシーン輝度が拡散白(明度100)に対応するようなCIELAB色空間を、「HDRに対応したCIELAB色空間」と称す。
The color space conversion processing unit 21 converts the input HDR input video signal into a signal in the CIELAB color space that corresponds to HDR. That is, the color space conversion processing unit 21 converts the image included in the input HDR video into a signal in the CIELAB color space that corresponds to HDR, and passes the converted signal to the saturation correction processing unit 22.
The color space conversion processing unit 21 converts an image included in the CIELAB color space HDR video into a signal in the CIELAB color space in which 75% HLG scene luminance corresponds to diffuse white (lightness 100). The CIELAB color space in which 75% HLG scene luminance corresponds to diffuse white (lightness 100) is referred to as the "CIELAB color space compatible with HDR."

具体的には、色空間変換処理部21は、HDR入力映像信号E′hin={R′HDRin,G′HDRin,B′HDRin}に、HDR方式に準拠したEOTF関数(電気光伝達関数)を適用することにより、ディスプレイ輝度信号FdHDRin={RHDRin,GHDRin,BHDRin}を得る。さらに、色空間変換処理部21は、上記のディスプレイ輝度信号FdHDRinを、マトリクス演算により、三刺激値XHDRinHDRinHDRinに変換する。さらに、色空間変換処理部21は、この三刺激値を、HDRに対応したCIELAB色空間の信号に変換する。色空間変換処理部21のこの処理により、明度L*と色座標a*、b*が算出される。 Specifically, the color space conversion processing unit 21 applies an EOTF function (electro-optical transfer function) conforming to the HDR standard to the HDR input video signal E'hin = { R'HDRin , G'HDRin , B'HDRin } to obtain a display luminance signal FdHDRin = { RHDRin , GHDRin , BHDRin }. Furthermore, the color space conversion processing unit 21 converts the display luminance signal FdHDRin into tristimulus values XHDRin , YHDRin , ZHDRin through matrix calculation. The color space conversion processing unit 21 then converts these tristimulus values into signals in the CIELAB color space that correspond to HDR. This processing by the color space conversion processing unit 21 calculates lightness L * and color coordinates a * and b * .

なお、a*は、赤方向(a*の正の方向)および緑方向(a*の負の方向)の度合いを示す値である。また、b*は、黄方向(b*の正の方向)および青方向(b*の負の方向)の度合いを示す値である。色座標a*、b*の値が決まると、色相角および彩度が決まる。 Note that a * is a value that indicates the degree of red (positive a * ) and green (negative a * ). Also, b * is a value that indicates the degree of yellow (positive b * ) and blue (negative b * ). Once the color coordinates a * and b * are determined, the hue angle and saturation are determined.

この処理の際、色空間変換処理部21は、RGBリニア信号を得るために、HDR方式に準拠した逆OETF関数を用いて、シーン輝度信号に変換して、さらに75%HLGのシーン輝度が拡散白(明度100)に対応するようなCIELAB色空間へ変換してもよい。 During this processing, the color space conversion processing unit 21 may convert to a scene luminance signal using an inverse OETF function compliant with the HDR method to obtain an RGB linear signal, and then further convert to a CIELAB color space in which 75% HLG scene luminance corresponds to diffuse white (lightness 100).

なお、色空間変換処理部21の処理自体は、従来技術に属するものであり、例えば特許文献1に記載されている処理と等価なものである。 The processing performed by the color space conversion processing unit 21 itself is conventional technology and is equivalent to the processing described in Patent Document 1, for example.

色空間変換処理部21は、上記の処理で得られたHDRに対応したCIELAB空間の信号を、彩度補正処理部22に渡す。 The color space conversion processing unit 21 passes the CIELAB space signal corresponding to HDR obtained by the above processing to the saturation correction processing unit 22.

彩度補正処理部22は、画像内において所定の条件に合う色の画素の彩度を補正するための補正ファクターfcorを求め、当該画素の彩度を前記補正ファクターfcorに基づいて補正する。彩度補正処理部22は、前記画素の少なくとも明度と色相角とに基づいて、前記明度の変化に対応して連続的に変化する前記補正ファクターfcorであって、且つ前記色相角の変化に対応して連続的に変化する前記補正ファクターfcor、を決定する。彩度補正処理部22は、当該画素の彩度に決定された前記補正ファクターfcorを乗ずることによって当該画素の彩度を補正する。彩度補正処理部22は、色空間変換処理部21から渡される上記のHDRに対応したCIELAB色空間の信号に基づいて画素の彩度を補正する。 The saturation correction processing unit 22 calculates a correction factor f cor for correcting the saturation of a pixel of a color that meets predetermined conditions in an image, and corrects the saturation of the pixel based on the correction factor f cor . The saturation correction processing unit 22 determines the correction factor f cor that continuously changes in response to changes in the lightness and also continuously changes in response to changes in the hue angle, based on at least the lightness and hue angle of the pixel. The saturation correction processing unit 22 corrects the saturation of the pixel by multiplying the saturation of the pixel by the determined correction factor f cor . The saturation correction processing unit 22 corrects the saturation of the pixel based on the signal in the CIELAB color space corresponding to the HDR, which is passed from the color space conversion processing unit 21.

本実施形態の彩度補正処理部22は、肌色の領域を対象として彩度の補正を行う。具体的には、彩度補正処理部22は、HDRに対応したCIELAB空間において、55%HLGを超える肌色領域のみの彩度を等明度・等色相変換により補正する処理を行う。HDR信号をHDRに対応したCIELAB色空間に変換した場合に、55%HLGを超える肌色領域は、明度がL* minからL* maxまでの範囲内、且つ色相角がhab,minからhab,maxまでの範囲内に収まる。ここで、明度L* minは55%HLGに相当する明度であり、ディスプレイ輝度から算出した場合はL* min=63、シーン輝度から算出した場合はL* min=76である。明度L* maxは映像信号の上限値109%HLGに相当する明度であり、ディスプレイ輝度から算出した場合はL* max=224、シーン輝度から算出した場合はL* max=217である。HDRに対応したCIELAB色空間における肌色の色相角の範囲の下限値hab,minと上限値hab,maxは、hab,min=35°、hab,max=65°である。ここでは、L* min、L* max、hab,min、そしてhab,maxを固定値として説明したが、これらのそれぞれをユーザーが自由に設定可能なパラメーターとしてもよい。また、映像信号の上限値を109%HLGとしたが、100%HLGとしてもよい。 The saturation correction processor 22 of this embodiment corrects saturation in the skin-color region. Specifically, the saturation correction processor 22 performs processing to correct the saturation of only the skin-color region exceeding 55% HLG in the HDR-compatible CIELAB space by equal lightness/equal hue conversion. When an HDR signal is converted into the HDR-compatible CIELAB color space, the skin-color region exceeding 55% HLG falls within a lightness range from L * min to L * max and a hue angle range from hab ,min to hab,max . Here, lightness L * min is the lightness corresponding to 55% HLG, and is L * min = 63 when calculated from the display luminance and L * min = 76 when calculated from the scene luminance. The lightness L * max is the lightness corresponding to the upper limit of the video signal, 109% HLG. When calculated from the display luminance, L * max = 224, and when calculated from the scene luminance, L * max = 217. The lower limit h ab,min and upper limit h ab,max of the hue angle range of skin color in the CIELAB color space corresponding to HDR are h ab,min = 35° and h ab,max = 65°. Here, L * min , L * max , h ab,min , and h ab,max have been described as fixed values, but each of these may also be parameters that the user can freely set. Furthermore, although the upper limit of the video signal is set to 109% HLG, it may also be set to 100% HLG.

彩度補正処理部22による彩度補正処理では、下の式(1)に示すように、クロマC* abと色相角habを算出し、色相角habがhab≧hab,minかつhab≦hab,maxの範囲で、明度L*がL*>L* minとなるときのみ、肌色の彩度を低下させるための補正ファクターfcorを算出してもよい。ただし、式(1)による計算の結果としてfcor<0となる場合には、強制的にfcor=0とする。 In the saturation correction process by the saturation correction processing unit 22, as shown in the following formula (1), chroma C * ab and hue angle h ab are calculated, and a correction factor f cor for reducing the saturation of skin color may be calculated only when the hue angle h ab is in the range of h ab ≧ h ab,min and h ab ≦ h ab,max and the lightness L * is L * > L * min . However, if the calculation result according to formula (1) is f cor < 0, f cor is forcibly set to 0.

また、式(1)に示すように、上記の条件を満たさない場合には補正ファクターfcorの値を1とする(彩度を補正しない)。 Furthermore, as shown in equation (1), if the above conditions are not met, the value of the correction factor f cor is set to 1 (saturation is not corrected).

なお、式(1)において、σは、任意に調整可能なユーザーパラメーターであり、σ≧0である。 Note that in equation (1), σ is a user parameter that can be adjusted arbitrarily, and σ≧0.

上記の式(1)のような補正を行う場合には、色相角habがhab,minまたはhab,maxの境界の部分で急激に(不連続に)彩度が低下するように変化する。このため、変換後の結果において階調表現の不連続性が生じる可能性がある。そこで、本実施形態では、変曲点となる明度が色相角に応じて連続的に変化するように、変曲点の明度L* を、下の式(2)に示すように関数化する。 When performing correction as in Equation (1) above, the hue angle h ab changes so that the saturation drops suddenly (discontinuously) at the boundary between h ab,min and h ab,max . This may result in discontinuity in the gradation expression after conversion. Therefore, in this embodiment, the lightness L * f at the inflection point is expressed as a function as shown in Equation (2) below, so that the lightness at the inflection point changes continuously depending on the hue angle.

ここで、L* refは、75%HLGに相当する明度である。また、L* ipは、55%HLGに相当する明度である。また、h、h、h、hのそれぞれは、変曲点となる明度の色相角側の変曲点となる色相角である。h、h、h、hは、h≦hab,min≦h、h≦hab,max≦h、h≦h<h≦h、の関係をそれぞれ満たす限りにおいて、ユーザーが任意に調整可能なユーザーパラメーターである。特に、h=hまたはh=hとなる場合を除外して、h<h<h<hの場合に限定する制約を設けてもよい。一例として、h=34°、h=38°、h=62°、h=66°などとしてよい。 Here, L * ref is the lightness corresponding to 75% HLG. Furthermore, L * ip is the lightness corresponding to 55% HLG. Furthermore, h1 , h2 , h3 , and h4 are hue angles that are inflection points on the hue angle side of the lightness that is the inflection point. h1 , h2 , h3 , and h4 are user parameters that can be arbitrarily adjusted by the user as long as they respectively satisfy the relationships h1 h ab,minh2 , h3 h ab ,max ≦ h4, and h1 h2 < h3 h4 . In particular, a constraint may be set that limits the case to h1 < h2 < h3 < h4 , excluding the case where h1 = h2 or h3 = h4 . As an example, h 1 =34°, h 2 =38°, h 3 =62°, h 4 =66°, etc. may be used.

図2は、上記の例(h=34°、h=38°、h=62°、h=66°)の場合の、色相角habと明度関数値L* との関係を示すグラフである。このグラフにおいて、横軸は色相角habでありその単位は度(°)である。色相角habの範囲を、0≦hab<360としている。また、縦軸は、明度L* である。明度L* は、色相角habに応じて定まる変曲点である。このグラフにおいて、太い実線は、本実施形態による変曲点の明度(式(2))を示す。また、細い実線は、式(1)を用いた場合の変曲点の明度を示す。また、破線は、L* ref(75%HLGに相当する明度)を示す。また、一点鎖線は、L* ip(55%HLGに相当する明度)を示す。なお、図示する通り、L* ref=100であり、L* ip=63である。 FIG. 2 is a graph showing the relationship between the hue angle h ab and the lightness function value L * f for the above example (h 1 = 34°, h 2 = 38°, h 3 = 62°, h 4 = 66°). In this graph, the horizontal axis represents the hue angle h ab in degrees (°). The range of the hue angle h ab is 0≦h ab < 360. The vertical axis represents the lightness L * f . The lightness L * f is an inflection point determined according to the hue angle h ab . In this graph, the thick solid line represents the lightness of the inflection point according to this embodiment (Equation (2)). The thin solid line represents the lightness of the inflection point when Equation (1) is used. The dashed line represents L * ref (lightness equivalent to 75% HLG). The dashed dotted line indicates L * ip (lightness corresponding to 55% HLG). As shown in the figure, L * ref =100 and L * ip =63.

式(1)を用いる場合(細い実線のグラフ)には、色相角hab,minおよびhab,maxにおいて変曲点の明度L* が不連続的に変化してしまう。これに対して、式(2)を用いる場合(太い実線のグラフ)には、色相角hab,minおよびhab,maxのそれぞれの付近において、変曲点の明度L* が連続的に変化するようにしている。 When formula (1) is used (thin solid line graph), the lightness L *f of the inflection point changes discontinuously at the hue angles h ab,min and h ab,max. In contrast, when formula (2) is used (thick solid line graph), the lightness L* f of the inflection point changes continuously near the hue angles h ab,min and h ab,max .

つまり、太い実線のグラフでは、色相角habが0°からhまでは、変曲点の明度L* はL* ref(75%HLGに相当する明度)で一定である。色相角habがhからhまでの間で(h≦hab,min≦hである)、変曲点の明度L* は、L* ref(75%HLGに相当する明度)からL* ip(55%HLGに相当する明度)まで、直線状に変化する(下がる)。色相角habがhからhまでは、変曲点の明度L* はL* ip(55%HLGに相当する明度)で一定である。色相角habがhからhまでの間で(h≦hab,max≦hである)、変曲点の明度L* は、L* ip(55%HLGに相当する明度)からL* ref(75%HLGに相当する明度)まで、直線状に変化する(上がる)。色相角habがhよりも大きい領域では、再び、変曲点の明度L* はL* ref(75%HLGに相当する明度)で一定である。 That is, in the thick solid line graph, when the hue angle h ab is from 0° to h 1 , the lightness L * f at the inflection point is constant at L * ref (lightness corresponding to 75% HLG). When the hue angle h ab is from h 1 to h 2 (h 1 ≦ h ab,min ≦ h 2 ), the lightness L * f at the inflection point changes (decreases) linearly from L * ref (lightness corresponding to 75% HLG) to L * ip (lightness corresponding to 55% HLG). When the hue angle h ab is from h 2 to h 3 , the lightness L * f at the inflection point is constant at L * ip (lightness corresponding to 55% HLG). When the hue angle h ab is between h3 and h4 ( h3 ≦ h ab,maxh4 ), the lightness L * f of the inflection point changes (increases) linearly from L * ip (the lightness corresponding to 55% HLG) to L * ref (the lightness corresponding to 75% HLG). In the region where the hue angle h ab is greater than h4 , the lightness L * f of the inflection point is again constant at L * ref (the lightness corresponding to 75% HLG).

なお、変曲点の明度L* をこのグラフのように部分ごと(色相角habの範囲ごと)に直線状に変化させる方法は、一例であり、必ずしもこのような方法によらなくてもよい。ただし、このグラフのように(式(2)のように)変曲点の明度L* を決定する方法では、計算を単純化することができる。 Note that the method of linearly changing the lightness L * f of the inflection point for each section (each range of hue angles h, ab ) as shown in this graph is just one example, and it is not necessary to use such a method. However, the method of determining the lightness L * f of the inflection point as shown in this graph (as shown in formula (2)) can simplify the calculation.

つまり、変曲点の明度L* を求める関数の一例として上で式(2)を示したが、一般化すると、変曲点の明度L* を求める関数は、次のようなものであることが望ましい。即ち、変曲点の明度L* を求める関数は、色相角habの定義域の全領域に渡って連続な関数であることが望ましい。また、h≦hab≦hの領域において、変曲点の明度L* は、L* ref(またはその近傍)からL* ip(またはその近傍)に向けて減少する(単調減少であってよい)。なお、h≦hab≦hの領域内には、hab=hab,minの点が含まれる。また、h<hab<hの領域において、変曲点の明度L* は、L* ip(またはその近傍)において一定(またはほぼ一定)である。また、h≦hab≦hの領域において、変曲点の明度L* は、L* ip(またはその近傍)からL* ref(またはその近傍)に向けて増加する(単調増加であってよい)。なお、h≦hab≦hの領域内には、hab=hab,maxの点が含まれる。そして、その他の領域(即ち、hab<hおよびh<hab)において、変曲点の明度L* は、L* ref(またはその近傍)において一定(またはほぼ一定)である。 That is, although formula (2) was shown above as an example of a function for calculating the lightness L * f of the inflection point, in general, the function for calculating the lightness L * f of the inflection point is desirably as follows. That is, the function for calculating the lightness L * f of the inflection point is desirably a continuous function over the entire range of the domain of the hue angle h ab . Furthermore, in the range h 1 ≦ h ab ≦ h 2 , the lightness L * f of the inflection point decreases (may be monotonically decreasing) from L * ref (or its vicinity) to L * ip (or its vicinity). Note that the range h 1 ≦ h ab ≦ h 2 includes the point h ab = h ab,min . Furthermore, in the range h 2 < h ab < h 3 , the lightness L * f of the inflection point is constant (or approximately constant) at L * ip (or its vicinity). Furthermore, in the region h3habh4 , the lightness L * f of the inflection point increases (may increase monotonically) from L * ip (or its vicinity) to L * ref (or its vicinity). Note that the region h3 habh4 includes the point hab = hab,max . In other regions (i.e., hab < h1 and h4 < hab ), the lightness L * f of the inflection point is constant (or nearly constant) at L * ref (or its vicinity).

次に、上記のL* を変曲点として彩度を補正する量を決定する。式(1)を用いて補正を行う場合には彩度補正パラメーターとして、ユーザーが任意に調整するσ(ただし、σ>0)を用いることもできる。しかしながら、上の式(2)の場合には明度の変曲点が連続的に変化するため、その変化に応じて彩度補正パラメーターも変化することが望ましい。そこで、彩度補正パラメーターも、変曲点の明度L* の値に応じて変化するように関数化する。例えば下の式(3)のように、彩度補正パラメーターσを決定する。 Next, the amount of saturation correction is determined using the above L * f as the inflection point. When performing correction using equation (1), the saturation correction parameter can also be σ (where σ>0) adjusted arbitrarily by the user. However, in the case of equation (2) above, the lightness inflection point changes continuously, so it is desirable that the saturation correction parameter also change in accordance with this change. Therefore, the saturation correction parameter is also expressed as a function so that it changes in accordance with the value of the lightness L * f at the inflection point. For example, the saturation correction parameter σf is determined as shown in equation (3) below.

式(3)において、σおよびσは、適宜設定されるパラメーターである。σおよびσの値は、σ≦σをそれぞれ満たす範囲内で、ユーザーが任意に調整可能である。なお、式(3)を用いて算出されるσの値がσ<1となる場合には、σ=1としてよい。 In formula (3), σ 1 and σ 2 are parameters that are set appropriately. The values of σ 1 and σ 2 can be adjusted arbitrarily by the user within a range that satisfies σ 1 ≦σ 2. Note that when the value of σ f calculated using formula (3) is σ f < 1, σ f = 1 may be used.

図3は、一例としてσ=1、σ=2とした場合の、色相角habと彩度補正パラメーター関数値σとの関係を示すグラフである。このグラフにおいて、横軸は色相角habでありその単位は度(°)でる。なお、定義域を0≦hab<360としている。また、縦軸は、彩度補正パラメーターσである。 3 is a graph showing the relationship between the hue angle h ab and the saturation correction parameter function value σ f when σ 1 = 1 and σ 2 = 2, for example. In this graph, the horizontal axis represents the hue angle h ab in degrees (°). The domain of definition is 0≦h ab < 360. The vertical axis represents the saturation correction parameter σ f .

図3に示す太い実線のグラフは、本実施形態による彩度補正パラメーターσであり、式(3)で算出されるものである。また、細い実線のグラフは、比較対象であり、式(1)を用いる場合の彩度は正パラメーターの一例(σ=1.0で一定)である。 3 represents the saturation correction parameter σf according to this embodiment, calculated using equation (3). The thin solid line represents a comparison, where saturation is an example of a positive parameter ( σf = 1.0, constant) when equation (1) is used.

図3の太い実線のグラフで示している彩度補正パラメーターσは、図2のグラフで示した明度L* についての一次式で算出されるものである。つまり、色相角habが0°からhまでは、彩度補正パラメーターσは1.0で一定である。色相角habがhからhまでの間で、彩度補正パラメーターσは、1.0から2.0まで、直線状に変化する(上がる)。色相角habがhからhまででは、彩度補正パラメーターσは2.0で一定である。色相角habがhからhまでの間で、彩度補正パラメーターσは、2.0から1.0まで、直線状に変化する(下がる)。色相角habがhよりも大きい領域では、再び、彩度補正パラメーターσは1.0で一定である。 The saturation correction parameter σf shown by the thick solid line graph in Figure 3 is calculated using a linear equation for the lightness L * f shown in the graph in Figure 2. That is, when the hue angle h ab is from 0° to h 1 , the saturation correction parameter σf is constant at 1.0. When the hue angle h ab is from h 1 to h 2 , the saturation correction parameter σf changes linearly (increases) from 1.0 to 2.0. When the hue angle h ab is from h 2 to h 3 , the saturation correction parameter σf is constant at 2.0. When the hue angle h ab is from h 3 to h 4 , the saturation correction parameter σf changes linearly (decreases) from 2.0 to 1.0. In the region where the hue angle h ab is greater than h 4 , the saturation correction parameter σf is again constant at 1.0.

図4は、明度Lと彩度補正パラメーターσの例との関係を示すグラフである。同図に示すグラフG0は、従来技術を用いる場合の彩度補正パラメーターを示し、その値は明度Lに依らず1.0で一定である。グラフG1は、本実施形態において、σ=1、σ=2とする場合の彩度補正パラメーターを示す。グラフG1では、明度L=L* ip(=63)のときにσ=2.0であり、L* ip<L<L* refにおいてσは2.0から1.0まで直線状に変化し、L≧L* ref(=100)においてはσ=1.0で一定である。グラフG2は、本実施形態において、σ=1、σ=3とする場合の彩度補正パラメーターを示す。グラフG2では、明度L=L* ip(=63)のときにσ=3.0であり、L* ip<L<L* refにおいてσは3.0から1.0まで直線状に変化し、L≧L* ref(=100)においてはσ=1.0で一定である。グラフG3は、本実施形態において、σ=1、σ=4とする場合の彩度補正パラメーターを示す。グラフG2では、明度L=L* ip(=63)のときにσ=4.0であり、L* ip<L<L* refにおいてσは4.0から1.0まで直線状に変化し、L≧L* ref(=100)においてはσ=1.0で一定である。なお、図4において例示したσとσの値の組合せ以外の場合にも、式(3)(ただし、σの下限値は1.0)によって彩度補正パラメーターσは求められる。 4 is a graph showing an example of the relationship between lightness L * and the saturation correction parameter σf . Graph G0 shown in the figure shows the saturation correction parameter when using conventional technology, and its value is constant at 1.0 regardless of lightness L * . Graph G1 shows the saturation correction parameter when σ1 = 1 and σ2 = 2 in this embodiment. In graph G1, σf = 2.0 when lightness L * = L * ip (= 63), σf changes linearly from 2.0 to 1.0 when L * ip < L * < L * ref , and is constant at σf = 1.0 when L * ≧L * ref (= 100). Graph G2 shows the saturation correction parameter when σ1 = 1 and σ2 = 3 in this embodiment. In graph G2, σf = 3.0 when lightness L * = L * ip (= 63), σf changes linearly from 3.0 to 1.0 when L * ip < L * < L * ref , and is constant at σf = 1.0 when L * ≥ L * ref (= 100). Graph G3 shows saturation correction parameters in this embodiment when σ1 = 1 and σ2 = 4. In graph G2, σf = 4.0 when lightness L * = L * ip (= 63), σf changes linearly from 4.0 to 1.0 when L * ip < L * < L * ref , and is constant at σf = 1.0 when L * ≥ L * ref (= 100). It should be noted that, in cases other than the combinations of values of σ 1 and σ 2 shown in FIG. 4, the saturation correction parameter σ f can be found by equation (3) (where the lower limit of σ f is 1.0).

彩度補正処理部22は、さらに、肌色の色相角の範囲の中で肌色と知覚されない彩度の高い色の彩度を変更せずに維持するような補正処理を行う。そのために、彩度補正処理部22は、彩度が高くなるほど肌色の補正処理が効きにくくなるような減少関数を用いた計算を行う。 The saturation correction processing unit 22 further performs correction processing to maintain the saturation of highly saturated colors that are not perceived as skin colors within the hue angle range of skin colors without changing it. To achieve this, the saturation correction processing unit 22 performs calculations using a decreasing function such that the higher the saturation, the less effective the skin color correction processing becomes.

図5は、彩度が高くなるほど肌色の補正処理を効きにくくする作用を持つ減少関数の入力と出力との関係の一例を示すグラフである。このグラフにおいて、横軸は関数への入力値である彩度C* abに対応し、縦軸は関数からの出力値である係数C* funcに対応する。 5 is a graph showing an example of the relationship between the input and output of a decreasing function that reduces the effectiveness of skin color correction processing as the saturation increases. In this graph, the horizontal axis corresponds to the saturation C * ab , which is the input value to the function, and the vertical axis corresponds to the coefficient C * func , which is the output value from the function.

この減少関数の作用は次の通りである。即ち、図示するように、55%HLGを超える肌色が存在する0≦C* ab≦50の領域では、減少関数値C* funcは0.95を超える。つまり、C* abが50程度以下の場合には、肌色補正処理がよく効く。そして、この減少関数は、C* ab>50の領域では、減少関数値C* funcが急峻に減少する特性を持つ。つまり、C* abが50を超える場合には、肌色補正処理が効きにくくなる。特に、C* ab≧150の領域では、減少関数値C* funcは0.02以下であり、0に限りなく近い。つまり、C* abが150以上である場合には、肌色補正処理がほぼ効かない。 The effect of this decrease function is as follows. That is, as shown in the figure, in the region of 0≦C * ab ≦50 where skin colors exceeding 55% HLG exist, the decrease function value C * func exceeds 0.95. In other words, when C * ab is approximately 50 or less, skin color correction processing is effective. Furthermore, this decrease function has the characteristic that the decrease function value C * func decreases sharply in the region of C * ab >50. In other words, when C * ab exceeds 50, skin color correction processing becomes less effective. In particular, in the region of C * ab ≧150, the decrease function value C * func is 0.02 or less, and is very close to 0. In other words, when C * ab is 150 or more, skin color correction processing is almost ineffective.

上記のような要件を満たす減少関数としては、例えばシグモイド関数を用いて、下の式(4)のような関数を実現することができる。 A decreasing function that satisfies the above requirements can be realized using, for example, a sigmoid function, as shown in equation (4) below.

式(4)におけるC* cusp,minは、HDRに対応したCIELAB空間における式(2)で規定した肌色補正処理を適用する色相角の範囲h≦hab≦hにおける色域境界となる彩度のうちの、最も小さい彩度である。例えばh=34°、h=66°とした場合、C* cusp,minは約253.3であり、そのときの色相角は66°である。 C * cusp,min in formula (4) is the smallest saturation among the saturations that form the gamut boundary in the hue angle range h1habh4 to which the skin color correction processing defined in formula (2) in the CIELAB space corresponding to HDR is applied. For example, when h1 = 34° and h4 = 66°, C * cusp,min is approximately 253.3, and the hue angle at this time is 66°.

彩度補正処理部22は、ここまでに説明した明度関数L* と、彩度補正パラメーター関数σと、減少関数C* funcとを用いて、肌色の彩度を低下させるための補正ファクターfcorを求める。補正ファクターfcorは、例えば下の式(5)を用いて算出される。 The saturation correction processing unit 22 calculates a correction factor f cor for reducing the saturation of skin color using the lightness function L * f , the saturation correction parameter function σ f , and the reduction function C * func described above . The correction factor f cor is calculated using, for example, the following equation (5).

ただし、式(5)で算出した結果としてfcor<0となる場合には、強制的にfcor=0とする。そして、彩度補正処理部22は、上記の補正ファクターfcorをクロマC* abに乗算して、補正後のクロマC* ab,corを得る。即ち、下の式(6)の通りである。 However, if the result of calculation using equation (5) is f cor < 0, f cor is forcibly set to 0. Then, the saturation correction processing unit 22 multiplies the chroma C * ab by the correction factor f cor to obtain the corrected chroma C * ab,cor , as shown in equation (6) below.

* ab,cor=C* ab×fcor (6) C * ab, cor = C * ab x f cor (6)

式(5)にも表しているように、補正ファクターfcorは、画素の彩度を低下させる作用を有するものである。つまり、彩度補正処理部22は、画素の補正前の彩度C abが高いほど補正ファクターfcorによる彩度の低下の度合いを小さくする。 As shown in equation (5), the correction factor f cor has the effect of reducing the saturation of a pixel. That is, the saturation correction processing unit 22 reduces the degree of reduction in saturation caused by the correction factor f cor as the pre-correction saturation C * ab of the pixel increases.

その具体的な処理の方法として、彩度補正処理部22は、画素の補正前の彩度C abに応じて、減少関数値C funcを計算する。即ち、減少関数は、画素の補正前の彩度C abに応じた関数である。減少関数値C funcは、補正ファクターfcorによる彩度の低下の度合いを表す。図5の例を参照しながら既に説明したように、減少関数値C funcは、画素の補正前の彩度C abの増加に対して単調に減少するものである(単調減少関数)。一例として、この減少関数は、次のようなものである。即ち、画素の補正前の彩度C abが50以下の場合には減少関数値C funcは0.95以上であり、画素の補正前の彩度C abが150以上の場合には前記減少関数値C funcは0.02以下である。つまり、この例では、50≦C ab≦150の領域において減少関数値C funcは急峻に減少する。これにより、彩度の高い画素においては彩度補正の効果が限定され、彩度の低い画素においては彩度補正の効果が強く現れる。なお、彩度補正処理部22は、画素の明度および色相角に基づいて決定される所定の値(式(5)におけるσと(L-L )/(L max-L )との積)に、減少関数値C funcを乗ずることによって、補正ファクターfcorによる彩度の低下の度合いを求める。 As a specific processing method, the saturation correction processing unit 22 calculates a decrease function value C * func according to the pixel's pre-correction saturation C * ab . That is, the decrease function is a function according to the pixel's pre-correction saturation C * ab . The decrease function value C * func represents the degree of decrease in saturation due to the correction factor fcor . As already explained with reference to the example of FIG. 5, the decrease function value C * func monotonically decreases with an increase in the pixel's pre-correction saturation C * ab (monotonically decreasing function). As an example, this decrease function is as follows: That is, when the pixel's pre-correction saturation C * ab is 50 or less, the decrease function value C * func is 0.95 or more, and when the pixel's pre-correction saturation C * ab is 150 or more, the decrease function value C * func is 0.02 or less. That is, in this example, the reduction function value C * func decreases sharply in the region where 50≦C * ab ≦150. As a result, the effect of saturation correction is limited in pixels with high saturation, and the effect of saturation correction is strong in pixels with low saturation. Note that the saturation correction processing unit 22 calculates the degree of saturation reduction due to the correction factor fcor by multiplying the reduction function value C * func by a predetermined value determined based on the pixel lightness and hue angle (the product of σf and (L * -L * f )/(L * max -L * f ) in equation (5)).

彩度補正処理部22は、前述の通り、補正ファクターfcorを、式(5)によって求める。ただし、式(5)で算出した結果としてfcor<0となる場合には、強制的にfcor=0とする。なお、数式中に現れる値の意味は次の通りである。L maxは明度の最大値である。Lは前記画素の明度(0≦L≦L max)である。L は前記画素の色相角habの変化に応じて連続的に変化するように決定される明度についての所定の変曲点の値である。hおよびhのそれぞれは補正対象とする色相角habの領域に応じて適宜定められるパラメーター(ただし、h≦h)である。σは前記画素の明度の変化に応じて連続的に変化するように決定される彩度補正パラメーターである。C funcは減少関数値である。 As described above, the saturation correction processing unit 22 calculates the correction factor f cor using equation (5). However, if the result of calculation using equation (5) is f cor <0, f cor is forcibly set to 0. The values appearing in the equations have the following meanings: L * max is the maximum lightness; L * is the lightness of the pixel (0≦L * ≦L * max ); L * f is a predetermined inflection point value for lightness that is determined to change continuously in response to changes in the hue angle h ab of the pixel; h 1 and h 4 are parameters that are appropriately determined in response to the region of the hue angle h ab to be corrected (where h 1 ≦h 4 ); σ f is a saturation correction parameter that is determined to change continuously in response to changes in the lightness of the pixel; and C * func is a decreasing function value.

彩度補正処理部22は、補正後のクロマC* ab,corと、明度L*と、色相角habとにより、補正後のLAB信号を算出する。 The saturation correction processing unit 22 calculates a corrected LAB signal from the corrected chroma C * ab,cor , the lightness L * , and the hue angle hab .

なお、彩度補正処理部22は、上記の補正対象の条件を満たす領域以外については、彩度の補正を行わない。 Note that the saturation correction processing unit 22 does not perform saturation correction on areas other than those that meet the above correction target conditions.

彩度補正処理部22は、彩度補正処理後の映像信号を、色空間再変換処理部23に渡す。 The saturation correction processing unit 22 passes the video signal after saturation correction processing to the color space reconversion processing unit 23.

色空間再変換処理部23は、彩度補正処理部22から渡される信号をHDR出力映像信号に変換し、出力する。つまり、色空間再変換処理部23は、彩度補正処理部22によって処理された後のHDRに対応したCIELAB色空間の信号を、HDR映像に再変換して出力する。 The color space reconversion processing unit 23 converts the signal passed from the saturation correction processing unit 22 into an HDR output video signal and outputs it. In other words, the color space reconversion processing unit 23 reconverts the CIELAB color space signal corresponding to HDR after processing by the saturation correction processing unit 22 into an HDR video and outputs it.

具体的には、色空間再変換処理部23は、渡された彩度補正後の信号について、HDRに対応したCIELAB色空間から三刺激値XHDRoutHDRoutHDRoutへの変換を行う。さらに、色空間再変換処理部23は、マトリクス演算により、ディスプレイ輝度信号FdHDRout={RHDRout,GHDRout,BHDRout}への変換を行う。この処理は、HDR方式に準拠した逆EOTF関数で処理されたHDR出力映像信号E′hout={R′HDRout,G′HDRout,B′HDRout}を得る処理と同等の処理である。なお、色空間変換処理部21の処理においてシーン輝度信号への変換を行っていた場合には、ここで、色空間再変換処理部23は、HDR方式に準拠したOETF関数で映像信号に変換する。 Specifically, the color space reconversion processing unit 23 converts the received saturation-corrected signal from the HDR-compatible CIELAB color space to tristimulus values X HDRout, Y HDRout, and Z HDRout . Furthermore, the color space reconversion processing unit 23 performs a matrix operation to convert the signal into a display luminance signal Fd HDRout = {R HDRout , G HDRout , B HDRout }. This processing is equivalent to the processing for obtaining an HDR output video signal E' hout = {R' HDRout , G' HDRout , B' HDRout } processed with an inverse EOTF function compliant with the HDR standard. If the conversion to a scene luminance signal has been performed in the processing of the color space conversion processing unit 21, the color space reconversion processing unit 23 converts the signal into a video signal using an OETF function that complies with the HDR standard.

図6は、画像補正処理装置1の処理の手順を示すフローチャートである。図示するように、ステップS31において、色空間変換処理部21は、入力されるHDR入力映像信号を、HDRに対応したCIELAB色空間の信号に変換する。次にステップS32において、彩度補正処理部22は、ステップS31において変換されたCIELAB色空間の信号について、画像内の条件を満たす領域についての彩度を補正する。具体的には、彩度補正処理部22は、所定条件を満たす肌色領域について、彩度を補正する。次にステップS33において、色空間再変換処理部23は、ステップS32において補正後のCIELAB色空間の信号を、出力用のHDR出力映像信号に変換する。 Figure 6 is a flowchart showing the processing steps of the image correction processing device 1. As shown in the figure, in step S31, the color space conversion processing unit 21 converts the input HDR input video signal into a signal in the CIELAB color space that corresponds to HDR. Next, in step S32, the saturation correction processing unit 22 corrects the saturation of the CIELAB color space signal converted in step S31 for areas in the image that satisfy certain conditions. Specifically, the saturation correction processing unit 22 corrects the saturation for skin color areas that satisfy predetermined conditions. Next, in step S33, the color space reconversion processing unit 23 converts the CIELAB color space signal corrected in step S32 into an HDR output video signal for output.

以上説明した処理過程により、画像補正処理装置1は、画像の補正を行うことができる。つまり、HDR番組制作における人物の顔肌レベルが、制作意図や性別などにより従来技術(特許文献1)で想定している映像信号レベルよりも大きくなったとしても、従来のSDR番組制作と同様な肌色を再現することが可能になる。また、画像補正処理装置1の処理により肌色の領域のみについて補正を行うことが可能となる。 Through the processing steps described above, the image correction processing device 1 can correct images. In other words, even if the facial skin level of a person in an HDR program production is higher than the video signal level assumed in conventional technology (Patent Document 1) due to production intent, gender, etc., it is possible to reproduce skin tones similar to those in conventional SDR program production. Furthermore, the processing by the image correction processing device 1 makes it possible to perform corrections only on skin-tone areas.

図7は、本実施形態の画像補正処理装置1の内部構成の例を示すブロック図である。画像補正処理装置1は、コンピューターを用いて実現され得る。図示するように、そのコンピューターは、中央処理装置901と、RAM902と、入出力ポート903と、入出力デバイス904や905等と、バス906と、を含んで構成される。コンピューター自体は、既存技術を用いて実現可能である。中央処理装置901は、RAM902等から読み込んだプログラムに含まれる命令を実行する。中央処理装置901は、各命令にしたがって、RAM902にデータを書き込んだり、RAM902からデータを読み出したり、算術演算や論理演算を行ったりする。RAM902は、データやプログラムを記憶する。RAM902に含まれる各要素は、アドレスを持ち、アドレスを用いてアクセスされ得るものである。なお、RAMは、「ランダムアクセスメモリー」の略である。入出力ポート903は、中央処理装置901が外部の入出力デバイス等とデータのやり取りを行うためのポートである。入出力デバイス904や905は、入出力デバイスである。入出力デバイス904や905は、入出力ポート903を介して中央処理装置901との間でデータをやりとりする。バス906は、コンピューター内部で使用される共通の通信路である。例えば、中央処理装置901は、バス906を介してRAM902のデータを読んだり書いたりする。また、例えば、中央処理装置901は、バス906を介して入出力ポートにアクセスする。 Figure 7 is a block diagram showing an example of the internal configuration of the image correction processing device 1 of this embodiment. The image correction processing device 1 can be realized using a computer. As shown in the figure, the computer includes a central processing unit 901, RAM 902, input/output port 903, input/output devices 904 and 905, etc., and bus 906. The computer itself can be realized using existing technology. The central processing unit 901 executes instructions contained in a program read from RAM 902, etc. In accordance with each instruction, the central processing unit 901 writes data to RAM 902, reads data from RAM 902, and performs arithmetic and logical operations. RAM 902 stores data and programs. Each element contained in RAM 902 has an address and can be accessed using the address. Note that RAM is an abbreviation for "random access memory." The input/output port 903 is a port through which the central processing unit 901 exchanges data with external input/output devices, etc. The input/output devices 904 and 905 are input/output devices. Input/output devices 904 and 905 exchange data with the central processing unit 901 via the input/output port 903. The bus 906 is a common communication path used within the computer. For example, the central processing unit 901 reads and writes data from RAM 902 via the bus 906. Also, for example, the central processing unit 901 accesses the input/output port via the bus 906.

画像補正処理装置1の少なくとも一部の機能をコンピューターおよびプログラムで実現することができる。その場合、この機能を実現するためのプログラムをコンピューター読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピューターシステムに読み込ませ、実行することによって実現しても良い。なお、ここでいう「コンピューターシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピューター読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM、DVD-ROM、USBメモリー等の可搬媒体、コンピューターシステムに内蔵されるハードディスク等の記憶装置のことをいう。つまり、「コンピューター読み取り可能な記録媒体」とは、非一過性の(non-transitory)コンピューター読み取り可能な記録媒体であってよい。さらに「コンピューター読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、一時的に、動的にプログラムを保持するもの、その場合のサーバーやクライアントとなるコンピューターシステム内部の揮発性メモリーのように、一定時間プログラムを保持しているものも含んでも良い。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピューターシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。 At least some of the functions of the image correction processing device 1 can be implemented using a computer and a program. In this case, the program for implementing this function may be recorded on a computer-readable recording medium and then loaded and executed by a computer system. Note that the term "computer system" here includes hardware such as an OS and peripheral devices. Furthermore, "computer-readable recording medium" refers to portable media such as flexible disks, optical magnetic disks, ROMs, CD-ROMs, DVD-ROMs, and USB memory, as well as storage devices such as hard disks built into computer systems. In other words, a "computer-readable recording medium" may be a non-transitory computer-readable recording medium. Furthermore, "computer-readable recording medium" may also include media that temporarily and dynamically store programs, such as communication lines used when transmitting programs over networks like the Internet or telephone lines, or media that store programs for a certain period of time, such as volatile memory within the computer systems that serve as servers or clients in such cases. The program may also be designed to implement some of the functions described above, or may be capable of implementing the functions described above in combination with a program already stored in the computer system.

以上、実施形態を説明したが、本発明はさらに次のような変形例でも実施することが可能である。 The above describes an embodiment, but the present invention can also be implemented in the following variations.

上記実施形態では、各種パラメーター(L* min、L* max、hab,min、hab,max、h、h、h、h等)の値の具体例を説明したが、パラメーター値として、異なる値を用いてもよい。また、これらの値を可変としてもよい。 In the above embodiment, specific examples of the values of various parameters (L * min , L * max , hab,min , hab,max , h1 , h2 , h3 , h4 , etc.) have been described, but different values may be used as the parameter values. Furthermore, these values may be variable.

上記実施形態では、肌色の領域を彩度補正の対象の領域としたが、その他の領域を彩度補正の対象としてもよい。領域に関する色の条件は、例えば、色座標a,bによって表される。領域に関する色の条件は、あるいは、色相角や彩度や明度によってあらわされてもよい。 In the above embodiment, the skin color region is the region to be subjected to saturation correction, but other regions may also be subjected to saturation correction. The color conditions of the region are expressed, for example, by color coordinates a * , b * . Alternatively, the color conditions of the region may be expressed by hue angle, saturation, or brightness.

上記実施形態では、画像補正処理装置1は、色空間変換処理部21と、彩度補正処理部22と、色空間再変換処理部23とのすべてを備えるように構成されていた。変形例としては、画像補正処理装置1は、彩度補正処理部22だけを備えていてもよい。その場合にも、本実施形態と同様の彩度の補正自体を行うことは可能である。なお、画像補正処理装置1の外部の装置に、色空間変換処理部21と、色空間再変換処理部23とのそれぞれに相当する機能が設けられていてもよい。 In the above embodiment, the image correction processing device 1 was configured to include all of the color space conversion processing unit 21, saturation correction processing unit 22, and color space reconversion processing unit 23. As a variation, the image correction processing device 1 may include only the saturation correction processing unit 22. In this case, it is still possible to perform the same saturation correction as in this embodiment. Note that functions corresponding to the color space conversion processing unit 21 and color space reconversion processing unit 23 may be provided in a device external to the image correction processing device 1.

以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 The above describes in detail an embodiment of the present invention with reference to the drawings, but the specific configuration is not limited to this embodiment and includes designs that do not deviate from the gist of the present invention.

以上説明したように、本実施形態(変形例を含む)の画像補正処理装置1によれば、画像内の特定の条件を満たす領域のみについて、彩度の補正を行うことが可能となる。より具体的には、画像補正処理装置1によれば、人の肌の色を有する領域のレベルが高くなった場合に、他の色の領域の彩度を維持しつつ、人の肌の色の領域のみを補正することが可能となる。これにより、入力されるHDR映像信号に含まれる肌の色を、従来のSDR映像信号における肌色と同様に表現することが可能となる。 As described above, the image correction processing device 1 of this embodiment (including modified examples) makes it possible to correct saturation only in areas of an image that satisfy specific conditions. More specifically, when the level of an area containing human skin color becomes high, the image correction processing device 1 makes it possible to correct only the area containing human skin color while maintaining the saturation of areas of other colors. This makes it possible to express skin color contained in an input HDR video signal in the same way as skin color in a conventional SDR video signal.

また、本実施形態(変形例を含む)の画像補正処理装置1によれば、画像内における補正処理の境界部分において処理結果の数値が連続になるようにしているため、補正後の画像においてなめらかな階調表現が可能になるという効果が得られる。 Furthermore, according to the image correction processing device 1 of this embodiment (including the modified examples), the numerical values of the processing results are continuous at the boundary portions of the correction processing within the image, which has the effect of enabling smooth gradation expression in the corrected image.

本実施形態(変形例を含む)の画像補正処理装置1によれば、補正対象とする色(例えば、肌色)の領域と同じ色相角を有するがその補正対象の色には属さない(彩度が範囲外)色の画素について、補正後においても元の色が(ほぼ)維持されるようになるという効果が得られる。 The image correction processing device 1 of this embodiment (including variations) has the effect of (almost) maintaining the original color of pixels that have the same hue angle as the area of the color to be corrected (for example, skin color) but do not belong to the color to be corrected (i.e., their saturation is out of range) even after correction.

次に、本実施形態の効果について、数値データを示しながら説明する。下の表1、表2、および表3は、画像補正処理装置1への入力信号に含まれる画素の値に対応して、その画素の補正処理の結果である出力彩度値を、従来技術と本実施形態とで対比して示している。表1、表2、および表3において、R、G、Bは、それぞれ、HDR入力信号のRGB色空間におけるR(赤)成分、G(緑)成分、B(青)成分の画素値である。また、Lは明度、habは色相角、C abは彩度(入力側)である。また、C ab,outは、補正処理後の彩度である。 Next, the effects of this embodiment will be described with reference to numerical data. Tables 1, 2, and 3 below show output saturation values, which are the results of correction processing for pixels included in the input signal to the image correction processing device 1, for comparison between the conventional technology and this embodiment. In Tables 1, 2, and 3, R, G, and B are pixel values of the R (red), G (green), and B (blue) components in the RGB color space of the HDR input signal, respectively. Furthermore, L * is lightness, h ab is the hue angle, and C * ab is the saturation (input side). Furthermore, C * ab,out is the saturation after correction processing.

表1、表2、および表3は、それぞれ、色相角が36°、50°、および66°の場合のデータを示している。そして、これらの各色相角について、明度が65、90、120の3種類、そして彩度が40、80、120、160、200の5種類の15個(3×5)の入力信号を想定している。つまり、3種類の位相角で合計45個の入力信号を想定している。 Tables 1, 2, and 3 show data for hue angles of 36°, 50°, and 66°, respectively. For each of these hue angles, 15 (3 x 5) input signals are assumed, with three lightness levels (65, 90, and 120) and five saturation levels (40, 80, 120, 160, and 200). In other words, a total of 45 input signals are assumed across three phase angles.

「従来技術1」は、特許文献1に記載された技術(彩度補正パラメーターσ=2で肌色補正を試みた場合)による結果(彩度の出力値)である。「従来技術2」は、特許文献1に記載された技術であって、彩度補正の変曲点を55%HLGに相当する明度へ変更した場合(同じく、彩度補正パラメーターσ=2で肌色補正を試みた場合)による結果(彩度の出力値)である。「本実施形態」は、上で既に説明した肌色補正を試みた場合の彩度の出力値を示している。なお、本実施形態による彩度補正処理でのパラメーター値は、h=34°、h=38°、h=62°、h=66°、σ=1、σ=2としている。 "Prior Art 1" is the result (output saturation value) of the technique described in Patent Document 1 (when skin color correction is attempted with a saturation correction parameter σ = 2). "Prior Art 2" is the result (output saturation value) of the technique described in Patent Document 1 when the inflection point of saturation correction is changed to a lightness equivalent to 55% HLG (similarly, when skin color correction is attempted with a saturation correction parameter σ = 2). "Present Embodiment" shows the output saturation value when skin color correction, as already explained above, is attempted. Note that the parameter values for the saturation correction process according to this embodiment are h1 = 34°, h2 = 38°, h3 = 62°, h4 = 66°, σ1 = 1, and σ2 = 2.

表1から表3までに示した結果からわかるように、従来技術1では明度65や明度90の信号の肌色の彩度を低下させることができていないのに対して、本実施形態ではそれらの明度の信号の肌色の彩度を低下させることができている。また、従来技術2では彩度が高い場合(C abが、160あるいは200といった場合)にも補正後の彩度が下がってしまっているのに対して、本実施形態では彩度が高い場合には補正後にもその彩度をほぼ維持できている。これらの結果は、本実施形態の有効性を示すものである。 As can be seen from the results shown in Tables 1 to 3, Conventional Technique 1 was unable to reduce the saturation of skin tones for signals with a brightness of 65 or 90, whereas this embodiment was able to reduce the saturation of skin tones for signals with these brightness levels. Furthermore, Conventional Technique 2 also reduced the saturation after correction when the saturation was high (when C * ab was 160 or 200, for example), whereas this embodiment was able to maintain the saturation for high saturation levels even after correction. These results demonstrate the effectiveness of this embodiment.

本発明は、例えば、特定色を含む映像(HDR映像)の処理に利用することができる。より具体的には、本発明の画像補正処理装置は、例えば、撮像装置、映像信号変換装置、映像監視装置などの広い分野で利用することができる。但し、本発明の利用範囲はここに例示したものには限られない。 The present invention can be used, for example, to process video that includes specific colors (HDR video). More specifically, the image correction processing device of the present invention can be used in a wide range of fields, such as imaging devices, video signal conversion devices, and video monitoring devices. However, the scope of use of the present invention is not limited to the examples given here.

1 画像補正処理装置
21 色空間変換処理部
22 彩度補正処理部
23 色空間再変換処理部
901 中央処理装置
902 RAM
903 入出力ポート
904,905 入出力デバイス
906 バス
1 Image correction processing device 21 Color space conversion processing unit 22 Saturation correction processing unit 23 Color space reconversion processing unit 901 Central processing unit 902 RAM
903 Input/output port 904, 905 Input/output device 906 Bus

Claims (5)

画像内において所定の条件に合う色の画素の彩度を補正するための補正ファクターfcorを求め、当該画素の彩度を前記補正ファクターfcorに基づいて補正する彩度補正処理部、
を備え、
前記彩度補正処理部は、前記画素の少なくとも明度と色相角とに基づいて、前記明度の変化に対応して連続的に変化する前記補正ファクターfcorであって、且つ前記色相角の変化に対応して連続的に変化する前記補正ファクターfcor、を決定し、当該画素の彩度に決定された前記補正ファクターfcorを乗ずることによって当該画素の彩度を補正するものであり、
前記補正ファクターfcorは、前記画素の彩度を低下させる作用を有するものであり、
前記彩度補正処理部は、前記画素の補正前の彩度C abが高いほど前記補正ファクターfcorによる彩度の低下の度合いを小さくするものであり、
前記彩度補正処理部は、前記画素の補正前の彩度C abに応じて、前記補正ファクターfcorによる彩度の低下の度合いを表す減少関数値C funcを計算するものであり、
前記減少関数値C funcは、前記画素の補正前の彩度C abの増加に対して単調に減少するものであり、
前記画素の補正前の彩度C abが50以下の場合には、前記減少関数値C funcは0.95以上であり、
前記画素の補正前の彩度C abが150以上の場合には、前記減少関数値C funcは0.02以下であり、
前記彩度補正処理部は、前記画素の明度および色相角に基づいて決定される所定の値に、前記減少関数値C funcを乗ずることによって、前記補正ファクターfcorによる彩度の低下の度合いを求める、
画像補正処理装置。
a saturation correction processing unit that calculates a correction factor f cor for correcting the saturation of a pixel of a color that meets a predetermined condition in the image, and corrects the saturation of the pixel based on the correction factor f cor ;
Equipped with
the saturation correction processing unit determines, based on at least the lightness and hue angle of the pixel, the correction factor f cor that continuously changes in response to a change in the lightness and that continuously changes in response to a change in the hue angle, and corrects the saturation of the pixel by multiplying the saturation of the pixel by the determined correction factor f cor ;
The correction factor f cor has the effect of reducing the saturation of the pixel,
the saturation correction processing unit reduces the degree of reduction in saturation due to the correction factor f cor as the pre-correction saturation C * ab of the pixel increases ,
the saturation correction processing unit calculates a decrease function value C * func that indicates a degree of decrease in saturation due to the correction factor fcor , according to a saturation C * ab of the pixel before correction,
the decreasing function value C * func monotonically decreases with an increase in the uncorrected saturation C * ab of the pixel,
When the saturation C * ab of the pixel before correction is 50 or less, the decrease function value C * func is 0.95 or more,
When the saturation C * ab of the pixel before correction is 150 or more, the decreasing function value C * func is 0.02 or less,
the saturation correction processing unit obtains the degree of reduction in saturation due to the correction factor f cor by multiplying a predetermined value determined based on the lightness and hue angle of the pixel by the decreasing function value C * func ;
Image correction processing device.
前記彩度補正処理部は、前記補正ファクターfcorを、下の数式;
によって求めるものである(ただし、上の数式で算出した結果としてfcor<0となる場合には、fcor=0とする)、
(ただし、L maxは明度の最大値であり、Lは前記画素の明度(0≦L≦L max)であり、L は前記画素の色相角habの変化に応じて連続的に変化するように決定される明度についての所定の変曲点の値であり、hおよびhのそれぞれは補正対象とする色相角habの領域に応じて適宜定められるパラメーター(ただし、h≦h)であり、σは前記画素の明度の変化に応じて連続的に変化するように決定される彩度補正パラメーターであり、C funcは前記減少関数値である)
請求項に記載の画像補正処理装置。
The saturation correction processing unit calculates the correction factor f cor using the following formula:
(However, if the result of calculation using the above formula is f cor <0, f cor =0.)
(where L * max is the maximum value of lightness, L * is the lightness of the pixel (0≦L * ≦L * max ), L * f is a predetermined inflection point value for lightness that is determined so as to change continuously in response to changes in the hue angle h ab of the pixel, h1 and h4 are parameters that are appropriately determined in response to the region of the hue angle h ab to be corrected (where h1h4 ), σf is a saturation correction parameter that is determined so as to change continuously in response to changes in the lightness of the pixel, and C * func is the decreasing function value.)
The image correction processing device according to claim 1 .
画像内において所定の条件に合う色の画素の彩度を補正するための補正ファクターfA correction factor f for correcting the saturation of pixels in an image whose color meets a predetermined condition corcor を求め、当該画素の彩度を前記補正ファクターfis calculated, and the saturation of the pixel is calculated by the correction factor f corcor に基づいて補正する彩度補正処理部と、a saturation correction processing unit that performs correction based on
入力されるハイ・ダイナミック・レンジ(HDR)映像が含む画像を、HDRに対応したCIELAB色空間の信号に変換して前記彩度補正処理部に渡す色空間変換処理部と、a color space conversion processing unit that converts an image included in an input high dynamic range (HDR) video into a signal in a CIELAB color space corresponding to HDR and passes the converted signal to the saturation correction processing unit;
前記彩度補正処理部によって処理された後のHDRに対応したCIELAB色空間の信号を、HDR映像に再変換して出力する色空間再変換処理部と、a color space reconversion processing unit that reconverts the signal in the CIELAB color space corresponding to HDR after being processed by the saturation correction processing unit into an HDR image and outputs the HDR image;
を備え、Equipped with
前記彩度補正処理部は、前記画素の少なくとも明度と色相角とに基づいて、前記明度の変化に対応して連続的に変化する前記補正ファクターfThe saturation correction processing unit calculates the correction factor f, which continuously changes in response to a change in the lightness, based on at least the lightness and the hue angle of the pixel. corcor であって、且つ前記色相角の変化に対応して連続的に変化する前記補正ファクターfand the correction factor f is continuously changed in response to the change in the hue angle. corcor 、を決定し、当該画素の彩度に決定された前記補正ファクターf, and the correction factor f determined for the saturation of the pixel is corcor を乗ずることによって当該画素の彩度を補正するものであり、The saturation of the pixel is corrected by multiplying
前記彩度補正処理部は、前記色空間変換処理部から渡されるHDRに対応したCIELAB色空間の信号に基づいて前記画素の彩度を補正するものであり、the saturation correction processing unit corrects the saturation of the pixel based on a signal in a CIELAB color space corresponding to HDR passed from the color space conversion processing unit,
前記彩度補正処理部は、前記色空間変換処理部から渡されるHDRに対応したCIELAB色空間において55%HLGを超える肌色領域のみの彩度を、等明度且つ等色相の変換により補正する、The saturation correction processing unit corrects the saturation of only a skin color region exceeding 55% HLG in the CIELAB color space corresponding to HDR passed from the color space conversion processing unit by converting to equal lightness and equal hue.
画像補正処理装置。Image correction processing device.
前記補正ファクターfThe correction factor f corcor は、前記画素の彩度を低下させる作用を有するものであり、has the effect of reducing the saturation of the pixel,
前記彩度補正処理部は、前記画素の補正前の彩度CThe saturation correction processing unit calculates the saturation C of the pixel before correction. * abab が高いほど前記補正ファクターfThe higher the correction factor f corcor による彩度の低下の度合いを小さくする、Reduce the degree of desaturation caused by
請求項3に記載の画像補正処理装置。The image correction processing device according to claim 3 .
請求項1から4までのいずれか一項に記載の画像補正処理装置、としてコンピューターを機能させるためのプログラム。 A program for causing a computer to function as the image correction processing device according to any one of claims 1 to 4 .
JP2021192175A 2021-11-26 2021-11-26 Image correction processing device and program Active JP7805142B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021192175A JP7805142B2 (en) 2021-11-26 2021-11-26 Image correction processing device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021192175A JP7805142B2 (en) 2021-11-26 2021-11-26 Image correction processing device and program

Publications (2)

Publication Number Publication Date
JP2023078866A JP2023078866A (en) 2023-06-07
JP7805142B2 true JP7805142B2 (en) 2026-01-23

Family

ID=86646020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021192175A Active JP7805142B2 (en) 2021-11-26 2021-11-26 Image correction processing device and program

Country Status (1)

Country Link
JP (1) JP7805142B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005295294A (en) 2004-04-01 2005-10-20 Olympus Corp Color adjustment module, image processing system using the same and imaging apparatus, and program for realizing color adjustment
JP2006279134A (en) 2005-03-28 2006-10-12 Brother Ind Ltd Image processing apparatus, image processing program, and image processing method
WO2010067488A1 (en) 2008-12-10 2010-06-17 パナソニック株式会社 Color correction device and color correction method
JP2020150380A (en) 2019-03-12 2020-09-17 日本放送協会 Video signal converter and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005295294A (en) 2004-04-01 2005-10-20 Olympus Corp Color adjustment module, image processing system using the same and imaging apparatus, and program for realizing color adjustment
JP2006279134A (en) 2005-03-28 2006-10-12 Brother Ind Ltd Image processing apparatus, image processing program, and image processing method
WO2010067488A1 (en) 2008-12-10 2010-06-17 パナソニック株式会社 Color correction device and color correction method
JP2020150380A (en) 2019-03-12 2020-09-17 日本放送協会 Video signal converter and program

Also Published As

Publication number Publication date
JP2023078866A (en) 2023-06-07

Similar Documents

Publication Publication Date Title
RU2755873C2 (en) Method for controlling image display, device for controlling image display and permanent machine-readable data carrier
KR100621414B1 (en) Chroma Adaptive Image Enhancer and Method
JP5105209B2 (en) Image processing apparatus and method, program, and recording medium
TWI473039B (en) Image dynamic range compression and local contrast enhancement method and image processing device
US7102695B2 (en) Adaptive contrast and brightness enhancement with color preservation
JP4464089B2 (en) Color correction apparatus and method
JP2014506757A (en) Image brightness conversion method and apparatus
US8064693B2 (en) Methods of and apparatus for adjusting colour saturation in an input image
JP2007094742A (en) Image signal processing apparatus and image signal processing program
CN109792474B (en) Method for determining a chroma mapping function
WO2023241339A1 (en) Color cast correction method and apparatus, device, storage medium and program product
JP2006229925A (en) Dynamic image saturation processing device
JP7805142B2 (en) Image correction processing device and program
JP2600573B2 (en) Color image saturation enhancement method and apparatus
CN114556910A (en) Video signal processing method and device
WO2009093294A1 (en) Image signal processing device and image signal processing program
CN112911366B (en) Saturation adjustment method, device and display equipment
WO2018114509A1 (en) Method of color gamut mapping input colors of an input ldr content into output colors forming an output hdr content
JP7220593B2 (en) Video signal converter and program
JP2023060530A (en) Image correction processing apparatus and program
JP7814202B2 (en) Video viewing device and program
JP2010148026A (en) Image processing method, image processing device, program, and recording media
TW202008311A (en) Image saturation adjusting method and device
JP7523292B2 (en) Video signal conversion device and program
CN102438155A (en) Signal processing apparatus, signal processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20241025

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250714

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250805

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250922

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20260113

R150 Certificate of patent or registration of utility model

Ref document number: 7805142

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150