JP2020182163A - Image processing apparatus, image processing method, and program - Google Patents

Image processing apparatus, image processing method, and program Download PDF

Info

Publication number
JP2020182163A
JP2020182163A JP2019085416A JP2019085416A JP2020182163A JP 2020182163 A JP2020182163 A JP 2020182163A JP 2019085416 A JP2019085416 A JP 2019085416A JP 2019085416 A JP2019085416 A JP 2019085416A JP 2020182163 A JP2020182163 A JP 2020182163A
Authority
JP
Japan
Prior art keywords
gain map
infrared
luminance
gain
signal
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.)
Pending
Application number
JP2019085416A
Other languages
Japanese (ja)
Inventor
隆志 赤羽
Takashi Akaha
隆志 赤羽
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 JP2019085416A priority Critical patent/JP2020182163A/en
Publication of JP2020182163A publication Critical patent/JP2020182163A/en
Pending legal-status Critical Current

Links

Images

Abstract

To obtain high contrast correction effect without side effects in accordance with a scene.SOLUTION: A first luminance gain map is generated from a luminance signal, and a second luminance gain map is generated from a luminance reduction signal obtained by reducing the luminance signal. On the other hand, a first infrared gain map is generated from an infrared signal, and a second infrared gain map is generated from an infrared reduction signal obtained by reducing the infrared signal. Then, on the basis of subject information, a first composite ratio between the first luminance gain map and the second luminance gain map and a second composite ratio between the first infrared gain map and the second infrared gain map are calculated. Then, the first and second luminance gain maps are composed at first composite ratio to generates a gain map for performing gain processing, and the first and second infrared gain maps are composed at first composite ratio to generates a gain map for performing gain processing.SELECTED DRAWING: Figure 2

Description

本発明は、特に、局所的に画像のコントラストを向上させるために用いて好適な画像処理装置、画像処理方法およびプログラムに関する。 The present invention relates in particular to image processing devices, image processing methods and programs suitable for use in locally improving image contrast.

従来、部分毎に異なるゲインをかけて局所的に画像のコントラストを向上させるローカルトーンマッピングという技術が知られている。このような技術として、特許文献1には、入力画像の画素値に対して解像度変換を繰り返すことによって複数段階の画素値を生成し、入力画像の画素値と段階毎の画素値との差分に基づき、段階毎に入力画像の画素値を補正する技術が開示されている。この技術によれば、その補正された画素値を有する段階毎の解像度の画像データの、各解像度に応じた高周波成分を利用して、入力画像の画素値が強調された画像を生成することができるとしている。 Conventionally, there is known a technique called local tone mapping that locally improves the contrast of an image by applying a different gain to each part. As such a technique, in Patent Document 1, a plurality of stages of pixel values are generated by repeating resolution conversion with respect to the pixel values of the input image, and the difference between the pixel values of the input image and the pixel values of each stage is used. Based on this, a technique for correcting the pixel value of an input image for each step is disclosed. According to this technique, it is possible to generate an image in which the pixel value of the input image is emphasized by using the high frequency component corresponding to each resolution of the image data of the resolution of each stage having the corrected pixel value. It is said that it can be done.

また、特許文献2には、デジタル画像を生成するように働く画素と、主に前記デジタル画像の少なくとも1つの領域上の少なくとも2つの色の間の相対鮮鋭度を測定するように働く他の画素とを利用して、画像の鮮鋭度を向上させる技術が開示されている。 Further, Patent Document 2 describes a pixel that works to generate a digital image and another pixel that mainly works to measure the relative sharpness between at least two colors on at least one region of the digital image. A technique for improving the sharpness of an image by utilizing and is disclosed.

特開2014−68330号公報Japanese Unexamined Patent Publication No. 2014-68330 特開2015−19378号公報Japanese Unexamined Patent Publication No. 2015-19378 特開2006−237737号公報Japanese Unexamined Patent Publication No. 2006-237737 特開2018−129609号公報JP-A-2018-129609 特開2014−154108号公報Japanese Unexamined Patent Publication No. 2014-154108

しかし、特許文献1に記載の処理は、入力画像の波長を考慮した処理を行っていないため、例えば針葉樹の葉のように可視光領域の信号が少ない被写体の場合には十分なコントラスト向上効果を与えることができないことがある。また、人の肌におけるシミのような特定領域のみのコントラストを低下する美肌処理に応用すると、シミ以外の被写体に美肌処理が適用されるため、シミ以外の部分がぼやける副作用が発生することがある。 However, since the process described in Patent Document 1 does not take the wavelength of the input image into consideration, a sufficient contrast improving effect can be obtained in the case of a subject having a small signal in the visible light region, such as a leaf of a coniferous tree. It may not be possible to give. In addition, when applied to a skin-beautifying treatment that reduces the contrast of only a specific area such as a spot on human skin, the skin-beautifying treatment is applied to a subject other than the spot, which may cause a side effect of blurring the part other than the spot. ..

特許文献2に記載の処理は、デジタル画像を生成するために働く画素の少なくとも2つの色の相対鮮鋭度の差が小さい場合、つまり2つの色の焦点位置の差が小さい場合は、画像の鮮鋭度を向上することができない。 The process described in Patent Document 2 is that when the difference in relative sharpness of at least two colors of the pixels working to generate a digital image is small, that is, when the difference in the focal positions of the two colors is small, the sharpness of the image is small. The degree cannot be improved.

本発明は前述の問題点に鑑み、シーンに応じて、適切かつ高いコントラスト補正効果を得ることができるようにすることを目的としている。 In view of the above-mentioned problems, it is an object of the present invention to make it possible to obtain an appropriate and high contrast correction effect according to the scene.

本発明に係る画像処理装置は、画像データに係る輝度信号および赤外信号を取得する取得手段と、前記輝度信号から第一の輝度ゲインマップを生成するとともに、前記輝度信号を縮小した輝度縮小信号から第二の輝度ゲインマップを生成する第一の生成手段と、前記赤外信号から第一の赤外ゲインマップを生成するとともに、前記赤外信号を縮小した赤外縮小信号から第二の赤外ゲインマップを生成する第二の生成手段と、前記画像データの被写体情報に基づいて、前記第一の輝度ゲインマップと前記第二の輝度ゲインマップとの第一の合成比率、および前記第一の赤外ゲインマップと前記第二の赤外ゲインマップとの第二の合成比率を算出する算出手段と、前記算出手段によって算出された第一及び第二の合成比率に基づき、前記画像データに対してゲイン処理を行うためのゲインマップを生成する第三の生成手段と、を備えることを特徴とする。 The image processing apparatus according to the present invention includes an acquisition means for acquiring a brightness signal and an infrared signal related to image data, a brightness reduction signal obtained by generating a first brightness gain map from the brightness signal, and reducing the brightness signal. A first generation means for generating a second brightness gain map from, and a second red from an infrared reduced signal obtained by generating a first infrared gain map from the infrared signal and reducing the infrared signal. A second generation means for generating an outer gain map, a first composite ratio of the first brightness gain map and the second brightness gain map based on the subject information of the image data, and the first Based on the calculation means for calculating the second composite ratio of the infrared gain map of the above and the second infrared gain map, and the first and second composite ratios calculated by the calculation means, the image data is obtained. On the other hand, it is characterized by including a third generation means for generating a gain map for performing gain processing.

本発明によれば、シーンに応じて、適切かつ高いコントラスト補正効果を得ることができる。 According to the present invention, an appropriate and high contrast correction effect can be obtained depending on the scene.

実施形態における画像処理装置の内部構成例を示すブロック図である。It is a block diagram which shows the internal structure example of the image processing apparatus in Embodiment. ローカルコントラスト調整部の詳細な構成例を示すブロック図である。It is a block diagram which shows the detailed configuration example of a local contrast adjustment part. ゲインマップの補正処理の詳細な手順の一例を示すフローチャートである。It is a flowchart which shows an example of the detailed procedure of the gain map correction processing. ゲインマップを説明するための図である。It is a figure for demonstrating a gain map.

以下、本発明の好適な実施形態について説明する。 Hereinafter, preferred embodiments of the present invention will be described.

(画像処理装置100の基本構成)
図1は、本実施形態における画像処理装置100の内部構成例を示すブロック図である。本実施形態では、画像処理装置の一例としてデジタルカメラに適用する例について説明する。
画像処理装置100において、絞り、レンズ等の光学系101により撮像素子102上に被写体光が結像され、光電変換されて電気信号となって撮像素子102から出力される。撮像素子102は、例えば、一般的な原色カラーフィルタに加えて赤外信号用フィルタを備える単板カラー撮像素子とする。原色カラーフィルタは、各々650nm、550nm、450nm近傍に透過主波長帯を持つ3種類の色フィルタからなり、各々R(赤)、G(緑)、B(青)、の各バンドに対応する色プレーンを撮影する。赤外信号用フィルタは850nm近傍に透過主波長帯を持ち、IR(赤外)のバンドに対応する色プレーンを撮影する。
(Basic configuration of image processing device 100)
FIG. 1 is a block diagram showing an example of the internal configuration of the image processing device 100 according to the present embodiment. In this embodiment, an example of applying to a digital camera as an example of an image processing device will be described.
In the image processing device 100, the subject light is imaged on the image sensor 102 by an optical system 101 such as a diaphragm and a lens, and is photoelectrically converted into an electric signal to be output from the image sensor 102. The image sensor 102 is, for example, a single-plate color image sensor provided with an infrared signal filter in addition to a general primary color filter. The primary color filter consists of three types of color filters having transmission main wavelength bands in the vicinity of 650 nm, 550 nm, and 450 nm, respectively, and colors corresponding to the R (red), G (green), and B (blue) bands, respectively. Shoot the plane. The infrared signal filter has a transmission main wavelength band in the vicinity of 850 nm and captures a color plane corresponding to the IR (infrared) band.

単板カラー撮像素子では、この色フィルタと赤外信号用フィルタとが画素毎にモザイク状に空間的に配列されており、各画素が単一の色プレーンにおける強度を得るので、撮像素子102からは色モザイク画像が出力されることになる。A/D変換部103は、撮像素子102により得られた電気信号をデジタル形式の画像データに変換し、現像処理部104に出力する。本実施形態では、この時点で12bitの画像データが画素毎に生成される。 In the single-plate color image sensor, the color filter and the infrared signal filter are spatially arranged in a mosaic pattern for each pixel, and each pixel obtains the intensity in a single color plane. Therefore, the image sensor 102 Will output a color mosaic image. The A / D conversion unit 103 converts the electric signal obtained by the image sensor 102 into digital image data and outputs it to the development processing unit 104. In the present embodiment, 12-bit image data is generated for each pixel at this point.

現像処理部104は、画像データに対して、画素補間処理、輝度信号処理、及び色信号処理などの一連の現像処理を行う。本実施形態では、画素補間処理によって、画像データの各画素に対するR、G、B、IRの情報が取得される。赤外受光画素を有した撮像素子からR、G、B、IRの情報を取得する方法については、例えば特許文献3に記載されているような公知の技術を用いる。現像処理部104は、R、G、Bの色空間を8bitの輝度(Y)データ、色差(U、V)データの色空間に変換し、YUVデータとして出力する。また、IRについては8bitに変換し、赤外信号として出力する。 The development processing unit 104 performs a series of development processing such as pixel interpolation processing, luminance signal processing, and color signal processing on the image data. In the present embodiment, R, G, B, and IR information for each pixel of the image data is acquired by the pixel interpolation processing. As a method for acquiring R, G, B, and IR information from an image sensor having an infrared light receiving pixel, for example, a known technique as described in Patent Document 3 is used. The development processing unit 104 converts the color spaces of R, G, and B into the color spaces of 8-bit luminance (Y) data and color difference (U, V) data, and outputs them as YUV data. Further, IR is converted into 8 bits and output as an infrared signal.

赤外情報取得部112は、画像データの各画素に対する赤外情報(赤外信号)を取得する。本実施形態では、赤外情報取得部112は、現像処理部104から出力される被写体の赤外信号を赤外情報として取得する。但し、本実施形態はこれに限定されるものではなく、例えば、撮影画像を取得するための撮像素子とは別に赤外素子を設け、その赤外素子を利用するなどにより、A/D変換部103から出力される画像データを用いずに赤外信号を取得しても構わない。 The infrared information acquisition unit 112 acquires infrared information (infrared signal) for each pixel of the image data. In the present embodiment, the infrared information acquisition unit 112 acquires the infrared signal of the subject output from the development processing unit 104 as infrared information. However, the present embodiment is not limited to this, and for example, an infrared element is provided separately from the image pickup element for acquiring a captured image, and the infrared element is used, for example, an A / D conversion unit. The infrared signal may be acquired without using the image data output from 103.

ローカルコントラスト調整部105は、現像処理部104から出力される画像データに対して、後述するローカルコントラスト調整処理を施す。なお、ローカルコントラスト調整部105の詳細な構成については後述する。 The local contrast adjustment unit 105 performs a local contrast adjustment process described later on the image data output from the development processing unit 104. The detailed configuration of the local contrast adjustment unit 105 will be described later.

信号処理部106は、ローカルコントラスト調整処理がなされた画像データに対して、リサイズ処理などを行い、出力部107へ供給する。出力部107は、画像データをHDMI(登録商標)などの出力インタフェースへ出力したり、半導体メモリカードなどの記録メディアへ記録したり、画像処理装置100の表示装置(図示せず)へ出力したりする。 The signal processing unit 106 performs resizing processing or the like on the image data that has undergone the local contrast adjustment processing, and supplies the image data to the output unit 107. The output unit 107 outputs image data to an output interface such as HDMI (registered trademark), records it on a recording medium such as a semiconductor memory card, and outputs it to a display device (not shown) of the image processing device 100. To do.

UI部109は、スイッチ、ボタン、表示装置(図示せず)に設けられたタッチパネルなどの入力機器であり、ユーザによる指示などの外部からの操作は、UI部109を介して画像処理装置100へ入力される。 The UI unit 109 is an input device such as a touch panel provided on a switch, a button, or a display device (not shown), and an external operation such as an instruction by a user is sent to the image processing device 100 via the UI unit 109. Entered.

制御部110は、バス108を介して各部を制御し、また適宜必要な演算処理を行う。また、制御部110は、UI部109を介した入力信号を受けて演算を行ったり、各部を制御したりする。 The control unit 110 controls each unit via the bus 108, and also performs necessary arithmetic processing as appropriate. Further, the control unit 110 receives an input signal via the UI unit 109 to perform an calculation and controls each unit.

メモリ111は、各処理部で用いられる画像データや、絞り値、シャッタースピード、撮影モード、ISO感度、ホワイトバランスゲイン値、s−RGBなどの色域の設定などの撮影時情報を記憶する。記憶されている撮影時情報は、制御部110の指示によって適宜読み出され、被写体情報として使用される。図1に示す各構成要素は、バス108を介して互いに通信可能に接続されている。 The memory 111 stores image data used in each processing unit and shooting information such as aperture value, shutter speed, shooting mode, ISO sensitivity, white balance gain value, and color gamut settings such as s-RGB. The stored shooting information is appropriately read out according to the instruction of the control unit 110 and used as subject information. The components shown in FIG. 1 are communicably connected to each other via the bus 108.

(ローカルコントラスト調整処理の詳細)
以下、図2を参照して、本実施形態に係る画像処理装置100においてローカルコントラスト調整処理を行うための詳細な構成について説明する。本実施形態では、画像データを用いて生成したゲインマップと赤外信号を用いて生成した赤外ゲインマップとを被写体情報に応じて補正することで、副作用なく高いコントラスト補正効果を画像データに与えるゲインマップを生成する。ここで、ゲインマップとは、図4に示すように、画面の位置に応じて適用するゲインが決められた画像を指す。
(Details of local contrast adjustment processing)
Hereinafter, a detailed configuration for performing the local contrast adjustment processing in the image processing apparatus 100 according to the present embodiment will be described with reference to FIG. In the present embodiment, the gain map generated by using the image data and the infrared gain map generated by using the infrared signal are corrected according to the subject information to give a high contrast correction effect to the image data without any side effect. Generate a gain map. Here, the gain map refers to an image in which the gain to be applied is determined according to the position of the screen, as shown in FIG.

本実施形態のローカルコントラスト調整部105は、入力された画像データに対しゲイン処理を行い、処理後の画像データを出力する。なお、本実施形態のローカルコントラスト調整処理で入出力する画像データは輝度信号によって構成される。 The local contrast adjustment unit 105 of the present embodiment performs gain processing on the input image data and outputs the processed image data. The image data input / output by the local contrast adjustment process of the present embodiment is composed of a luminance signal.

図2は、ローカルコントラスト調整部105の詳細な構成例を示すブロック図である。
縮小画像生成部202は、入力信号(輝度信号)に対して縮小処理を行って低周波成分の輝度縮小信号を生成する。赤外縮小画像生成部206は、赤外情報取得部112から入力された赤外信号に対して縮小処理を行って低周波成分の赤外縮小信号を生成する。縮小処理の方法については、バイリニア法を用いた縮小処理など一般的な方法を用いる。
FIG. 2 is a block diagram showing a detailed configuration example of the local contrast adjustment unit 105.
The reduced image generation unit 202 performs a reduction process on the input signal (luminance signal) to generate a brightness reduction signal of a low frequency component. The infrared reduced image generation unit 206 performs reduction processing on the infrared signal input from the infrared information acquisition unit 112 to generate an infrared reduced signal having a low frequency component. As the method of reduction processing, a general method such as reduction processing using the bilinear method is used.

第一のゲイン変換部201は、輝度信号に対して第一の階調特性を適用することで第一の輝度ゲインマップを生成する。第二のゲイン変換部203は、輝度縮小信号に対して第一の階調特性を適用することで第二の輝度ゲインマップを生成する。第一の赤外ゲイン変換部205は、赤外信号に対して第一の階調特性を適用することで第一の赤外ゲインマップを生成する。第二の赤外ゲイン変換部207は、赤外縮小信号に対して第一の階調特性を適用することで第二の赤外ゲインマップを生成する。入力信号からゲインマップを生成する方法については、特許文献4に記載のような、本来階調処理で適用したい特性に対し、単調増加となっている部分を一律単調減少に変換した第一の階調特性を適用する公知の手法を用いる。 The first gain conversion unit 201 generates the first luminance gain map by applying the first luminance characteristic to the luminance signal. The second gain conversion unit 203 generates a second luminance gain map by applying the first luminance characteristic to the luminance reduction signal. The first infrared gain conversion unit 205 generates the first infrared gain map by applying the first gradation characteristic to the infrared signal. The second infrared gain conversion unit 207 generates a second infrared gain map by applying the first gradation characteristic to the infrared reduced signal. Regarding the method of generating the gain map from the input signal, as described in Patent Document 4, the first floor in which the monotonically increasing part is uniformly converted to the monotonically decreasing characteristic with respect to the characteristic originally desired to be applied by the gradation processing. A known method of applying tonal characteristics is used.

階層ゲインマップ合成部204は、第一の輝度ゲインマップと第二の輝度ゲインマップとを合成することで輝度合成ゲインマップを生成する。赤外階層ゲインマップ合成部208は、第一の赤外ゲインマップと第二の赤外ゲインマップとを合成することで赤外合成ゲインマップを生成する。合成ゲインマップの生成方法については、例えば特許文献5に記載のような、画像サイズの大きいゲインマップのゲイン信号と画像サイズの小さいゲインマップのゲイン信号とをゲインの信号差に応じて加重加算する公知の手法を用いる。 The hierarchical gain map compositing unit 204 generates a luminance composite gain map by compositing the first luminance gain map and the second luminance gain map. The infrared layered gain map synthesizing unit 208 generates an infrared composite gain map by synthesizing the first infrared gain map and the second infrared gain map. Regarding the method of generating the composite gain map, for example, as described in Patent Document 5, the gain signal of the gain map having a large image size and the gain signal of the gain map having a small image size are weighted and added according to the signal difference of the gain. Use a known method.

コントラスト補正判定部211は、制御部110から入力された被写体情報を用いて第一の輝度ゲインマップと第二の輝度ゲインマップとの合成比率を算出し、階層ゲインマップ合成部204に出力する。また、コントラスト補正判定部211は、第一の赤外ゲインマップと第二の赤外ゲインマップとの合成比率も算出し、赤外階層ゲインマップ合成部208に出力する。さらに、コントラスト補正判定部211は、ゲインマップ補正比率を算出し、ゲインマップ補正部209に出力する。 The contrast correction determination unit 211 calculates the composite ratio of the first luminance gain map and the second luminance gain map using the subject information input from the control unit 110, and outputs the composite ratio to the hierarchical gain map composite unit 204. Further, the contrast correction determination unit 211 also calculates the composition ratio of the first infrared gain map and the second infrared gain map, and outputs the composition ratio to the infrared layer gain map composition unit 208. Further, the contrast correction determination unit 211 calculates the gain map correction ratio and outputs it to the gain map correction unit 209.

ゲインマップ補正部209は、コントラスト補正判定部211からゲインマップ補正比率、赤外階層ゲインマップ合成部208から赤外合成ゲインマップ、階層ゲインマップ合成部204から輝度合成ゲインマップを入力する。そして、ゲインマップ補正部209は、ゲインマップ補正比率および赤外合成ゲインマップを用いて、輝度合成ゲインマップを補正する。
ゲイン処理部210は、補正された輝度合成ゲインマップを用いて、入力された画像データに対してゲイン処理を行い、画像データを出力する。
The gain map correction unit 209 inputs the gain map correction ratio from the contrast correction determination unit 211, the infrared composite gain map from the infrared hierarchical gain map composite unit 208, and the luminance composite gain map from the hierarchical gain map composite unit 204. Then, the gain map correction unit 209 corrects the luminance composite gain map by using the gain map correction ratio and the infrared composite gain map.
The gain processing unit 210 performs gain processing on the input image data using the corrected brightness composite gain map, and outputs the image data.

次に、本実施形態のゲインマップの補正処理について、図3のフローチャートを用いて説明する。
図3は、ゲインマップの補正処理の詳細な手順の一例を示すフローチャートである。なお、本フローチャートの各動作は、制御部110、あるいは制御部110の指示により各部で行われる。
ステップS301では、階層ゲインマップ合成部204は、第一の輝度ゲインマップと第二の輝度ゲインマップとをそれぞれ第一のゲイン変換部201、第二のゲイン変換部203から入力する。
Next, the gain map correction process of the present embodiment will be described with reference to the flowchart of FIG.
FIG. 3 is a flowchart showing an example of a detailed procedure of the gain map correction process. Each operation of this flowchart is performed by each unit according to the instruction of the control unit 110 or the control unit 110.
In step S301, the hierarchical gain map synthesizing unit 204 inputs the first luminance gain map and the second luminance gain map from the first gain conversion unit 201 and the second gain conversion unit 203, respectively.

ステップS302では、赤外階層ゲインマップ合成部208は、第一の赤外ゲインマップと第二の赤外ゲインマップとをそれぞれ第一の赤外ゲイン変換部205、第二の赤外ゲイン変換部207から入力する。
ステップS303では、コントラスト補正判定部211は、制御部110から被写体情報を入力する。本実施形態では、例えば、被写体情報として、撮影時のカメラの撮影モードの情報を用いる。
In step S302, the infrared layer gain map synthesizing unit 208 converts the first infrared gain map and the second infrared gain map into the first infrared gain conversion unit 205 and the second infrared gain conversion unit, respectively. Input from 207.
In step S303, the contrast correction determination unit 211 inputs subject information from the control unit 110. In the present embodiment, for example, information on the shooting mode of the camera at the time of shooting is used as the subject information.

ステップS304では、コントラスト補正判定部211は、被写体情報を用いて美肌処理の要否を判定する。例えば、カメラの撮影モードがポートレートモードなどの人物撮影を目的としたモードである場合は、美肌処理が必要であると判定し、ステップS305に進む。一方、美肌処理が不要である場合には、ステップS306に進む。 In step S304, the contrast correction determination unit 211 determines the necessity of skin-beautifying treatment using the subject information. For example, when the shooting mode of the camera is a mode for shooting a person such as a portrait mode, it is determined that skin-beautifying treatment is necessary, and the process proceeds to step S305. On the other hand, if the skin-beautifying treatment is unnecessary, the process proceeds to step S306.

ステップS305では、まず、コントラスト補正判定部211は、美肌処理用のゲインマップを生成するために必要な情報を生成する。本実施形態における美肌処理の目的は人の肌に生じたシミの低減である。ここで、シミには2つの特徴がある。以下、シミに関する2つの特徴に基づき、ステップS305でゲインマップを生成する手順について説明する。 In step S305, first, the contrast correction determination unit 211 generates information necessary for generating a gain map for skin beautification treatment. The purpose of the skin-beautifying treatment in the present embodiment is to reduce stains on human skin. Here, the stain has two characteristics. Hereinafter, the procedure for generating the gain map in step S305 will be described based on the two characteristics related to the stain.

1つ目の特徴は、ポートレート画像における美肌処理で低減すべきシミは、低周波成分を多く含むことである。撮影画角に占める人物の顔を小さくすれば、その人物の肌のシミは撮像素子の数画素に収まり、シミが高周波成分のみで構成される場合はある。ところが、この場合は画角に対する顔やシミが小さいため、シミが気になる可能性はなく、そもそもシミの低減処理を行う必要がない。 The first feature is that the spots that should be reduced by the skin-beautifying treatment in the portrait image contain a lot of low-frequency components. If the face of a person occupying the shooting angle of view is made smaller, the stains on the skin of the person may be contained in a few pixels of the image sensor, and the stains may be composed of only high-frequency components. However, in this case, since the face and the stains with respect to the angle of view are small, there is no possibility that the stains are anxious, and it is not necessary to perform the stain reduction treatment in the first place.

したがって、ローカルコントラスト調整によってシミを低減するためには、輝度縮小画像から生成された第二の輝度ゲインマップを用いれば良い。つまり、コントラスト補正判定部211は、第一の輝度ゲインマップの加算比率を0、第二の輝度ゲインマップの加算比率を美肌強度×αとする合成比率を算出する。なお、本実施形態における美肌強度は、ボートレートモードなら3(弱め)、美肌モードまたは自撮りモードなら5(強め)と撮影モードによって決定されるが、例えばユーザがUI部109から設定できるようにしても良い。一方で係数αは、撮像素子102から入力された画像信号の特性や現像処理部104の内容に応じて美肌処理を調整するための調整係数である。 Therefore, in order to reduce the stain by adjusting the local contrast, a second luminance gain map generated from the luminance reduced image may be used. That is, the contrast correction determination unit 211 calculates a composite ratio in which the addition ratio of the first luminance gain map is 0 and the addition ratio of the second luminance gain map is skin beautification strength × α. The skin-beautifying intensity in this embodiment is determined by the shooting mode as 3 (weak) in the boat rate mode and 5 (strong) in the skin-beautifying mode or the self-shooting mode. For example, the user can set it from the UI unit 109. You may. On the other hand, the coefficient α is an adjustment coefficient for adjusting the skin-beautifying process according to the characteristics of the image signal input from the image sensor 102 and the contents of the developing processing unit 104.

ステップS305においては、さらに階層ゲインマップ合成部204は、コントラスト補正判定部211から合成比率を入力し、入力された合成比率に従って輝度合成ゲインマップを生成し、ゲインマップ補正部209に出力する。また、コントラスト補正判定部211は、輝度合成ゲインマップの符号を反転するような制御信号をゲインマップ補正部209に出力する。 In step S305, the hierarchical gain map compositing unit 204 further inputs a compositing ratio from the contrast correction determination unit 211, generates a luminance composite gain map according to the input compositing ratio, and outputs it to the gain map correction unit 209. Further, the contrast correction determination unit 211 outputs a control signal that inverts the sign of the luminance composite gain map to the gain map correction unit 209.

2つ目の特徴は、波長の長い赤外信号は、肌の表面近くにあるシミを撮像しにくいため、赤外信号にシミの成分がほとんど含まれないことである。輝度信号の低周波成分にはシミ以外の信号も含まれているため、輝度合成ゲインマップの符号を反転したゲインマップを用いてローカルコントラスト補正を行うと、シミと一緒に目・鼻・口など被写体の顔の特徴を示す信号のコントラストも失われてしまう。一方、赤外信号の低周波成分にはシミを除いた被写体の顔の特徴を示す信号だけが存在する。 The second feature is that an infrared signal with a long wavelength makes it difficult to image a stain near the surface of the skin, so that the infrared signal contains almost no stain component. Since the low-frequency components of the luminance signal include signals other than stains, if local contrast correction is performed using a gain map in which the sign of the luminance composite gain map is inverted, the eyes, nose, mouth, etc., along with the stains, etc. The contrast of the signal indicating the facial features of the subject is also lost. On the other hand, in the low frequency component of the infrared signal, there is only a signal showing the facial features of the subject excluding stains.

そこで、本実施形態では、輝度合成ゲインマップを反転させたゲインマップによって低下する被写体の顔の特徴を示す信号のコントラストを、赤外信号を用いて向上させるようにする。具体的に、コントラスト補正判定部211は、第一の赤外ゲインマップの加算比率を0、第二の赤外ゲインマップの加算比率を美肌強度×βとする合成比率を算出する。ここで、係数βは撮像素子102から入力された画像信号の特性、赤外信号の特性、および現像処理部104の内容に応じて美肌処理を調整するための調整係数である。 Therefore, in the present embodiment, the contrast of the signal indicating the facial features of the subject, which is lowered by the gain map obtained by reversing the luminance composite gain map, is improved by using the infrared signal. Specifically, the contrast correction determination unit 211 calculates a composite ratio in which the addition ratio of the first infrared gain map is 0 and the addition ratio of the second infrared gain map is skin beautification strength × β. Here, the coefficient β is an adjustment coefficient for adjusting the skin-beautifying treatment according to the characteristics of the image signal input from the image sensor 102, the characteristics of the infrared signal, and the contents of the developing processing unit 104.

ステップS305においては、さらに赤外階層ゲインマップ合成部208は、コントラスト補正判定部211から合成比率を入力し、入力された合成比率に従って赤外合成ゲインマップを生成し、ゲインマップ補正部209に出力する。コントラスト補正判定部211は、赤外合成ゲインマップを輝度合成ゲインマップに加算するような制御信号をゲインマップ補正部209に出力する。ゲインマップ補正部209は、制御信号に従って輝度合成ゲインマップを赤外合成ゲインマップで補正したゲインマップを生成する。 In step S305, the infrared layer gain map synthesizing unit 208 further inputs the synthesizing ratio from the contrast correction determination unit 211, generates an infrared synthesizing gain map according to the input synthesizing ratio, and outputs it to the gain map correction unit 209. To do. The contrast correction determination unit 211 outputs a control signal for adding the infrared composite gain map to the luminance composite gain map to the gain map correction unit 209. The gain map correction unit 209 generates a gain map in which the luminance composite gain map is corrected by the infrared composite gain map according to the control signal.

以上のようにステップS305で生成されたゲインマップを用いてゲイン処理を行うことで、目・鼻・口など被写体の特徴を示す信号のコントラストを低下させることなく、肌のシミを低減することができる。 By performing the gain processing using the gain map generated in step S305 as described above, it is possible to reduce skin spots without lowering the contrast of signals indicating the characteristics of the subject such as eyes, nose, and mouth. it can.

ステップS306では、コントラスト補正判定部211は、被写体情報を用いて針葉樹処理の要否を判定する。例えば、カメラの撮影モードが風景モードなどの風景撮影を目的としたモードである場合は、針葉樹処理が必要であると判定し、ステップS307に進む。一方、針葉樹処理が不要である場合には、ステップS308に進む。 In step S306, the contrast correction determination unit 211 determines the necessity of coniferous tree processing using the subject information. For example, when the shooting mode of the camera is a mode for landscape shooting such as landscape mode, it is determined that coniferous tree processing is necessary, and the process proceeds to step S307. On the other hand, if the coniferous tree treatment is not required, the process proceeds to step S308.

ステップS307では、まず、コントラスト補正判定部211は、針葉樹処理用のゲインマップを生成するために必要な情報を生成する。本実施形態における針葉樹処理の目的は針葉樹の解像感を向上することである。ここで、針葉樹には2つの特徴があり、1つ目は、針葉樹は高周波成分を多く含むことであり、2つ目は、針葉樹は暗い緑であるため出力される輝度信号が小さいが、赤外成分を多く反射するため、出力される赤外信号は大きいことである。 In step S307, first, the contrast correction determination unit 211 generates information necessary for generating a gain map for conifer processing. The purpose of the softwood treatment in the present embodiment is to improve the resolution of the softwood. Here, the softwood has two characteristics, the first is that the softwood contains a large amount of high-frequency components, and the second is that the output luminance signal is small because the softwood is dark green, but red. Since many external components are reflected, the output infrared signal is large.

したがって、ローカルコントラスト調整によって針葉樹の解像感を向上するためには、赤外信号から生成された第一の赤外ゲインマップを用いれば良い。つまり、コントラスト補正判定部211は、第一の赤外ゲインマップの加算比率をγ、第二の赤外ゲインマップの加算比率を0とする合成比率を算出する。ここで、係数γは撮像素子102から入力された画像信号の特性、赤外信号の特性、および現像処理部104の内容に応じて針葉樹処理を調整するための調整係数である。 Therefore, in order to improve the resolution of coniferous trees by adjusting the local contrast, the first infrared gain map generated from the infrared signal may be used. That is, the contrast correction determination unit 211 calculates the composition ratio in which the addition ratio of the first infrared gain map is γ and the addition ratio of the second infrared gain map is 0. Here, the coefficient γ is an adjustment coefficient for adjusting the softwood processing according to the characteristics of the image signal input from the image sensor 102, the characteristics of the infrared signal, and the contents of the developing processing unit 104.

ステップS307においては、さらに赤外階層ゲインマップ合成部208は、コントラスト補正判定部211から合成比率を入力し、入力された合成比率に従って赤外合成ゲインマップを生成し、ゲインマップ補正部209に出力する。 In step S307, the infrared layer gain map synthesizing unit 208 further inputs a synthesizing ratio from the contrast correction determination unit 211, generates an infrared synthesizing gain map according to the input synthesizing ratio, and outputs it to the gain map correction unit 209. To do.

また、風景撮影を目的としたモードが選択されているため、針葉樹以外の被写体についても高周波成分のコントラストを向上させる必要がある。したがって、輝度信号から生成された第一の輝度ゲインマップを用いれば良い。つまり、コントラスト補正判定部211は、第一の輝度ゲインマップの加算比率をθ、第二の輝度ゲインマップの加算比率を0とする合成比率を算出する。ここで、係数θは撮像素子102から入力された画像信号の特性と現像処理部104の内容とに応じて風景用のローカルコントラスト処理を調整するための調整係数である。 In addition, since the mode for landscape photography is selected, it is necessary to improve the contrast of high-frequency components for subjects other than coniferous trees. Therefore, the first luminance gain map generated from the luminance signal may be used. That is, the contrast correction determination unit 211 calculates the composition ratio in which the addition ratio of the first luminance gain map is θ and the addition ratio of the second luminance gain map is 0. Here, the coefficient θ is an adjustment coefficient for adjusting the local contrast processing for the landscape according to the characteristics of the image signal input from the image sensor 102 and the contents of the developing processing unit 104.

ステップS307においては、さらに階層ゲインマップ合成部204は、コントラスト補正判定部211から合成比率を入力し、入力された合成比率に従って輝度合成ゲインマップを生成し、ゲインマップ補正部209に出力する。コントラスト補正判定部211は、赤外合成ゲインマップを輝度合成ゲインマップに加算するような制御信号をゲインマップ補正部209に出力する。ゲインマップ補正部209は、制御信号に従って輝度合成ゲインマップを赤外合成ゲインマップで補正したゲインマップを生成する。 In step S307, the hierarchical gain map compositing unit 204 further inputs a compositing ratio from the contrast correction determination unit 211, generates a luminance composite gain map according to the input compositing ratio, and outputs it to the gain map correction unit 209. The contrast correction determination unit 211 outputs a control signal for adding the infrared composite gain map to the luminance composite gain map to the gain map correction unit 209. The gain map correction unit 209 generates a gain map in which the luminance composite gain map is corrected by the infrared composite gain map according to the control signal.

以上のようにステップS307で生成されたゲインマップを用いてゲイン処理を行うことで、針葉樹の解像感を向上させることができる。 By performing the gain processing using the gain map generated in step S307 as described above, the resolution of the coniferous tree can be improved.

ステップS308では、人物撮影を目的としたモードおよび風景撮影を目的としたモード以外のモードであり、美肌処理および針葉樹処理のいずれも必要としない。そのため、コントラスト補正判定部211は、幅広いシーンに適した汎用的なゲインマップを生成するために必要な情報を生成する。この場合は赤外情報を用いる必要がないため、コントラスト補正判定部211は、第一の赤外ゲインマップの加算比率および第二の赤外ゲインマップの加算比率をいずれも0とする合成比率を生成する。一方で、輝度階層ゲインマップの合成比率については任意の値を算出する。 In step S308, the mode is other than the mode for portrait photography and the mode for landscape photography, and neither skin beautification treatment nor coniferous tree treatment is required. Therefore, the contrast correction determination unit 211 generates information necessary for generating a general-purpose gain map suitable for a wide range of scenes. In this case, since it is not necessary to use infrared information, the contrast correction determination unit 211 sets the composition ratio in which the addition ratio of the first infrared gain map and the addition ratio of the second infrared gain map are both 0. Generate. On the other hand, an arbitrary value is calculated for the composite ratio of the luminance layer gain map.

階層ゲインマップ合成部204は、コントラスト補正判定部211から合成比率を入力し、入力された合成比率に従って輝度合成ゲインマップを生成し、ゲインマップ補正部209に出力する。コントラスト補正判定部211は、赤外合成ゲインマップを加算しないような制御信号をゲインマップ補正部209に出力する。ゲインマップ補正部209は、制御信号に従って輝度合成ゲインマップをそのままゲインマップとして採用する。 The hierarchical gain map compositing unit 204 inputs a compositing ratio from the contrast correction determination unit 211, generates a luminance compositing gain map according to the input compositing ratio, and outputs it to the gain map correction unit 209. The contrast correction determination unit 211 outputs a control signal that does not add the infrared composite gain map to the gain map correction unit 209. The gain map correction unit 209 adopts the luminance composite gain map as it is as a gain map according to the control signal.

以上のようにステップS308で生成されたゲインマップを用いてゲイン処理を行うことで、幅広いシーンに適したローカルコントラスト補正を行うことができる。 By performing the gain processing using the gain map generated in step S308 as described above, local contrast correction suitable for a wide range of scenes can be performed.

ステップS309では、ゲインマップ補正部209は、生成したゲインマップを、ゲイン処理部210に出力する。 In step S309, the gain map correction unit 209 outputs the generated gain map to the gain processing unit 210.

以上のように本実施形態によれば、被写体情報に応じて、輝度信号と赤外信号とをそれぞれ周波数帯域ごとに制御し、ローカルコントラスト調整を行うようにした。これにより、輝度信号だけを用いたコントラスト補正処理では得られないコントラスト補正効果が得られる。また、輝度信号だけを用いたコントラスト補正処理よりも副作用を抑えたコントラスト補正を行うことができる。
本実施形態でローカルコントラスト調整の方法としてゲインマップを生成、合成する方法を用いたが、領域ごとの階調補正量が特定できれば、必ずしもゲインマップを用いる必要はない。
As described above, according to the present embodiment, the luminance signal and the infrared signal are controlled for each frequency band according to the subject information, and the local contrast is adjusted. As a result, a contrast correction effect that cannot be obtained by the contrast correction process using only the luminance signal can be obtained. In addition, it is possible to perform contrast correction with less side effects than contrast correction processing using only the luminance signal.
In the present embodiment, a method of generating and synthesizing a gain map is used as a method of adjusting the local contrast, but it is not always necessary to use the gain map if the gradation correction amount for each region can be specified.

本実施形態でローカルコントラスト調整部105の各構成についても説明したが、各ブロックの動作は専用の回路を用いて実現してもよく、ソフトウェアで実現するようにしてもよい。つまり、ローカルコントラスト調整部105の各動作の一部あるいは全部がソフトウェア処理で実装されていても良い。また、図1に示す画像処理装置100におけるその他のブロックについても、同様にその一部あるいは全部がソフトウェア処理で実装されていても良い。 Although each configuration of the local contrast adjustment unit 105 has been described in this embodiment, the operation of each block may be realized by using a dedicated circuit or by software. That is, a part or all of each operation of the local contrast adjusting unit 105 may be implemented by software processing. Further, with respect to the other blocks in the image processing apparatus 100 shown in FIG. 1, a part or all of them may be similarly implemented by software processing.

(その他の実施形態)
前述の実施形態では、画像処理装置の一例としてデジタルカメラについて説明した。一方で、スキャナ等の撮像系を有する画像処理装置であってもよく、画像データを処理できる画像処理装置であれば特に実施の形態は限定されない。すなわち、画像処理装置としては、パーソナルコンピュータ等の情報処理装置であってもよいし、携帯型の情報端末、プリンタ等の画像形成装置などでもよい。
(Other embodiments)
In the above-described embodiment, the digital camera has been described as an example of the image processing device. On the other hand, an image processing device having an image pickup system such as a scanner may be used, and the embodiment is not particularly limited as long as it is an image processing device capable of processing image data. That is, the image processing device may be an information processing device such as a personal computer, or an image forming device such as a portable information terminal or a printer.

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

104 現像処理部
112 赤外情報取得部
201 第一のゲイン変換部
203 第二のゲイン変換部
205 第一の赤外ゲイン変換部
207 第二の赤外ゲイン変換部
209 ゲインマップ補正部
211 コントラスト補正判定部
104 Development processing unit 112 Infrared information acquisition unit 201 First gain conversion unit 203 Second gain conversion unit 205 First infrared gain conversion unit 207 Second infrared gain conversion unit 209 Gain map correction unit 211 Contrast correction Judgment unit

Claims (9)

画像データに係る輝度信号および赤外信号を取得する取得手段と、
前記輝度信号から第一の輝度ゲインマップを生成するとともに、前記輝度信号を縮小した輝度縮小信号から第二の輝度ゲインマップを生成する第一の生成手段と、
前記赤外信号から第一の赤外ゲインマップを生成するとともに、前記赤外信号を縮小した赤外縮小信号から第二の赤外ゲインマップを生成する第二の生成手段と、
前記画像データの被写体情報に基づいて、前記第一の輝度ゲインマップと前記第二の輝度ゲインマップとの第一の合成比率、および前記第一の赤外ゲインマップと前記第二の赤外ゲインマップとの第二の合成比率を算出する算出手段と、
前記算出手段によって算出された第一及び第二の合成比率に基づき、前記画像データに対してゲイン処理を行うためのゲインマップを生成する第三の生成手段と、
を備えることを特徴とする画像処理装置。
An acquisition means for acquiring a luminance signal and an infrared signal related to image data,
A first generation means for generating a first luminance gain map from the luminance signal and a second luminance gain map from the luminance reduction signal obtained by reducing the luminance signal.
A second generation means for generating a first infrared gain map from the infrared signal and a second infrared gain map from an infrared reduced signal obtained by reducing the infrared signal.
Based on the subject information of the image data, the first composite ratio of the first brightness gain map and the second brightness gain map, and the first infrared gain map and the second infrared gain A calculation method for calculating the second composite ratio with the map,
A third generation means for generating a gain map for performing gain processing on the image data based on the first and second composite ratios calculated by the calculation means.
An image processing device characterized by comprising.
前記被写体情報は、前記画像データの撮影モードに係る情報であることを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the subject information is information related to a shooting mode of the image data. 前記撮影モードが人物撮影を目的としたモードである場合に、前記算出手段は、前記第二の輝度ゲインマップの合成比率を高めるように前記第一の合成比率を算出するとともに、前記第二の赤外ゲインマップの合成比率を高めるように前記第二の合成比率を算出し、
前記第三の生成手段は、前記第一の合成比率で合成されたゲインマップの符号を反転することによって前記ゲイン処理を行うためのゲインマップを生成することを特徴とする請求項2に記載の画像処理装置。
When the shooting mode is a mode intended for portrait photography, the calculation means calculates the first composite ratio so as to increase the composite ratio of the second luminance gain map, and also calculates the second composite ratio. The second composite ratio was calculated so as to increase the composite ratio of the infrared gain map.
The third generation means according to claim 2, wherein the gain map for performing the gain processing is generated by inverting the sign of the gain map synthesized at the first synthesis ratio. Image processing device.
前記撮影モードが風景撮影を目的としたモードである場合に、前記算出手段は、前記第一の輝度ゲインマップの合成比率を高めるように前記第一の合成比率を算出するとともに、前記第一の赤外ゲインマップの合成比率を高めるように前記第二の合成比率を算出することを特徴とする請求項2に記載の画像処理装置。 When the shooting mode is a mode for landscape shooting, the calculation means calculates the first composite ratio so as to increase the composite ratio of the first luminance gain map, and also calculates the first composite ratio. The image processing apparatus according to claim 2, wherein the second composition ratio is calculated so as to increase the composition ratio of the infrared gain map. 前記撮影モードが人物撮影を目的としたモードおよび風景撮影を目的としたモード以外のモードである場合に、前記第三の生成手段は、前記算出手段によって算出された第一の合成比率に基づいて前記第一の輝度ゲインマップと前記第二の輝度ゲインマップとを合成したゲインマップを、前記ゲイン処理を行うためのゲインマップとして生成することを特徴とする請求項2に記載の画像処理装置。 When the shooting mode is a mode other than the mode for capturing a person and the mode for shooting a landscape, the third generation means is based on the first composite ratio calculated by the calculation means. The image processing apparatus according to claim 2, wherein a gain map obtained by combining the first luminance gain map and the second luminance gain map is generated as a gain map for performing the gain processing. 前記取得手段は、赤外信号用フィルタを備えた撮像素子を介して前記赤外信号を取得することを特徴とする請求項1〜5の何れか1項に記載の画像処理装置。 The image processing apparatus according to any one of claims 1 to 5, wherein the acquisition means acquires the infrared signal via an image sensor provided with an infrared signal filter. 前記取得手段は、赤外素子を介して前記赤外信号を取得することを特徴とする請求項1〜5の何れか1項に記載の画像処理装置。 The image processing apparatus according to any one of claims 1 to 5, wherein the acquisition means acquires the infrared signal via an infrared element. 画像データに係る輝度信号および赤外信号を取得する取得工程と、
前記輝度信号から第一の輝度ゲインマップを生成するとともに、前記輝度信号を縮小した輝度縮小信号から第二の輝度ゲインマップを生成する第一の生成工程と、
前記赤外信号から第一の赤外ゲインマップを生成するとともに、前記赤外信号を縮小した赤外縮小信号から第二の赤外ゲインマップを生成する第二の生成工程と、
前記画像データの被写体情報に基づいて、前記第一の輝度ゲインマップと前記第二の輝度ゲインマップとの第一の合成比率、および前記第一の赤外ゲインマップと前記第二の赤外ゲインマップとの第二の合成比率を算出する算出工程と、
前記算出工程において算出された第一及び第二の合成比率に基づき、前記画像データに対してゲイン処理を行うためのゲインマップを生成する第三の生成工程と、
を備えることを特徴とする画像処理方法。
The acquisition process for acquiring the luminance signal and infrared signal related to the image data,
A first generation step of generating a first luminance gain map from the luminance signal and generating a second luminance gain map from the luminance reduced signal obtained by reducing the luminance signal.
A second generation step of generating a first infrared gain map from the infrared signal and generating a second infrared gain map from an infrared reduced signal obtained by reducing the infrared signal.
Based on the subject information of the image data, the first composite ratio of the first brightness gain map and the second brightness gain map, and the first infrared gain map and the second infrared gain The calculation process to calculate the second composite ratio with the map,
A third generation step of generating a gain map for performing gain processing on the image data based on the first and second composite ratios calculated in the calculation step, and a third generation step.
An image processing method characterized by comprising.
画像データに係る輝度信号および赤外信号を取得する取得工程と、
前記輝度信号から第一の輝度ゲインマップを生成するとともに、前記輝度信号を縮小した輝度縮小信号から第二の輝度ゲインマップを生成する第一の生成工程と、
前記赤外信号から第一の赤外ゲインマップを生成するとともに、前記赤外信号を縮小した赤外縮小信号から第二の赤外ゲインマップを生成する第二の生成工程と、
前記画像データの被写体情報に基づいて、前記第一の輝度ゲインマップと前記第二の輝度ゲインマップとの第一の合成比率、および前記第一の赤外ゲインマップと前記第二の赤外ゲインマップとの第二の合成比率を算出する算出工程と、
前記算出工程において算出された第一及び第二の合成比率に基づき、前記画像データに対してゲイン処理を行うためのゲインマップを生成する第三の生成工程と、
をコンピュータに実行させるためのプログラム。
The acquisition process for acquiring the luminance signal and infrared signal related to the image data,
A first generation step of generating a first luminance gain map from the luminance signal and generating a second luminance gain map from the luminance reduced signal obtained by reducing the luminance signal.
A second generation step of generating a first infrared gain map from the infrared signal and generating a second infrared gain map from an infrared reduced signal obtained by reducing the infrared signal.
Based on the subject information of the image data, the first composite ratio of the first brightness gain map and the second brightness gain map, and the first infrared gain map and the second infrared gain The calculation process to calculate the second composite ratio with the map,
A third generation step of generating a gain map for performing gain processing on the image data based on the first and second composite ratios calculated in the calculation step, and a third generation step.
A program that lets your computer run.
JP2019085416A 2019-04-26 2019-04-26 Image processing apparatus, image processing method, and program Pending JP2020182163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019085416A JP2020182163A (en) 2019-04-26 2019-04-26 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019085416A JP2020182163A (en) 2019-04-26 2019-04-26 Image processing apparatus, image processing method, and program

Publications (1)

Publication Number Publication Date
JP2020182163A true JP2020182163A (en) 2020-11-05

Family

ID=73023495

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019085416A Pending JP2020182163A (en) 2019-04-26 2019-04-26 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP2020182163A (en)

Similar Documents

Publication Publication Date Title
EP2426928B1 (en) Image processing apparatus, image processing method and program
KR101099401B1 (en) Image processing apparatus and computer-readable medium
JP5343726B2 (en) Image processing apparatus and image processing program
JP2010039758A (en) Image processor and image processing method
JP2010103740A (en) Digital camera
JP6004757B2 (en) Image processing apparatus and image processing method
JP4479527B2 (en) Image processing method, image processing apparatus, image processing program, and electronic camera
JP2007228451A (en) Imaging apparatus
JP2011228807A (en) Image processing program, image processing apparatus, and image processing method
JP2018014646A (en) Image processing apparatus and image processing method
JP5076650B2 (en) Imaging apparatus and image processing program
JP2004246644A (en) Apparatus, method, and program for image processing
JP2006114006A (en) Gradation conversion apparatus, program, electronic camera, and method therefor
JP2020145553A (en) Image processing apparatus, image processing method and program
JP2020004007A (en) Image processing device, image processing method, and program
JP5284183B2 (en) Image processing apparatus and method
JP2020182163A (en) Image processing apparatus, image processing method, and program
JP5810593B2 (en) Image processing apparatus, imaging apparatus, and program
JP2007267170A (en) Electronic camera with chroma saturation regulating function and image processing program
JP2016040870A (en) Image processing apparatus, image forming method and program
JP2020123138A (en) Image processing system, image processing method, program, and storage medium
JP2013127804A (en) Image processing program, image processing device and image processing method
JP4377733B2 (en) Color adjustment module, image pickup apparatus, and program for realizing color adjustment
JP2023090493A (en) Image processing device, control method for the same, program, and storage medium
TWI636686B (en) High dynamic range imaging