JP2017152866A5 - - Google Patents

Download PDF

Info

Publication number
JP2017152866A5
JP2017152866A5 JP2016032424A JP2016032424A JP2017152866A5 JP 2017152866 A5 JP2017152866 A5 JP 2017152866A5 JP 2016032424 A JP2016032424 A JP 2016032424A JP 2016032424 A JP2016032424 A JP 2016032424A JP 2017152866 A5 JP2017152866 A5 JP 2017152866A5
Authority
JP
Japan
Prior art keywords
subject
target
shadow
state
image
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.)
Granted
Application number
JP2016032424A
Other languages
Japanese (ja)
Other versions
JP2017152866A (en
JP6718253B2 (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2016032424A priority Critical patent/JP6718253B2/en
Priority claimed from JP2016032424A external-priority patent/JP6718253B2/en
Publication of JP2017152866A publication Critical patent/JP2017152866A/en
Publication of JP2017152866A5 publication Critical patent/JP2017152866A5/ja
Application granted granted Critical
Publication of JP6718253B2 publication Critical patent/JP6718253B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Claims (14)

着目画像中の被写体を検出する被写体検出手段と、
前記被写体ごとの陰影の程度を示す陰影状態を検出する状態検出手段と、
検出された前記陰影状態に基づいて、前記被写体の補正の前の陰影の程度と補正の後の陰影の程度の序列が入れ替わらないように、前記着目画像中の対象となる被写体ごとに、目標となる陰影の状態である目標陰影状態を設定する目標設定手段と、
前記着目画像に対して、前記状態検出手段により検出された陰影状態と前記目標陰影状態とに基づいて、前記対象となる被写体ごとに仮想光源の設定を決定する光源設定手段と、
前記仮想光源を用いて前記着目画像中の前記対象となる被写体の明るさを補正する補正手段と
を備えることを特徴とする画像処理装置。
Subject detection means for detecting a subject in the image of interest;
State detecting means for detecting a shadow state indicating a degree of shadow for each subject;
Based on the detected shadow state, a target for each target subject in the image of interest is arranged so that the order of the degree of shadow before correction of the subject and the order of shadow after correction are not interchanged. Target setting means for setting a target shadow state that is a shadow state to become,
A light source setting unit that determines a setting of a virtual light source for each target subject based on the shadow state detected by the state detection unit and the target shadow state for the target image;
An image processing apparatus comprising: a correction unit that corrects the brightness of the subject subject in the image of interest using the virtual light source.
前記被写体検出手段により複数の被写体が検出された場合には、前記状態検出手段により検出された前記被写体ごとの陰影状態に基づいて前記複数の被写体の中から選択された被写体を、前記対象となる被写体とすることを特徴とする請求項1に記載の画像処理装置。   When a plurality of subjects are detected by the subject detection unit, a subject selected from the plurality of subjects based on the shadow state of each subject detected by the state detection unit becomes the target. The image processing apparatus according to claim 1, wherein the image processing apparatus is a subject. 前記陰影状態とは、前記着目画像を撮影した際に、前記被写体を照らしている環境光によって、前記被写体に対応する被写体領域に生じた陰影の特性を表す情報であることを特徴とする請求項1又は2に記載の画像処理装置。   The shadow state is information representing a characteristic of a shadow generated in a subject area corresponding to the subject by ambient light illuminating the subject when the target image is captured. The image processing apparatus according to 1 or 2. 前記陰影状態とは、写体領域の中の明るさの分布と、前記被写体領域の中のコントラストを表す情報と、前記被写体領域の中で陰影が生じている領域の輪郭の特性と、前記被写体領域の中で陰影が生じている領域の面積を表す情報のうちの少なくとも一つの情報を含むことを特徴とする請求項1乃至3のいずれか一項に記載の画像処理装置。 Wherein A shadow state, the brightness distribution in the subject Utsushitai area, information indicating the contrast in the subject area, and contours of the characteristics of the area shadow occurs in the subject area, the The image processing apparatus according to claim 1, further comprising at least one piece of information representing an area of a shaded area in the subject area. 前記目標設定手段は、前記着目画像中において、前記陰影の程度が最も高い被写体については前記陰影の程度を下げ、前記陰影の程度が最も低い被写体については前記陰影の程度を上げるよう前記目標陰影状態を決定することを特徴とする請求項1乃至4の何れか一項に記載の画像処理装置。   In the target image, the target setting unit reduces the shadow level for a subject with the highest shadow level and increases the shadow level for a subject with the lowest shadow level in the target image. The image processing apparatus according to any one of claims 1 to 4, wherein the image processing apparatus is determined. 前記目標設定手段は、複数の前記被写体のそれぞれに対して、被写体の陰影状態を表す評価値を算出し、前記評価値が目標となる評価値となるよう前記目標陰影状態を決定することを特徴とする請求項1乃至5の何れか一項に記載の画像処理装置。   The target setting means calculates an evaluation value representing a shadow state of a subject for each of the plurality of subjects, and determines the target shadow state so that the evaluation value becomes a target evaluation value. The image processing apparatus according to any one of claims 1 to 5. 前記評価値は、被写体領域の中の輝度が最も高い部分と最も低い部分との輝度の比を示すコントラスト値であることを特徴とする請求項6に記載の画像処理装置。   The image processing apparatus according to claim 6, wherein the evaluation value is a contrast value indicating a luminance ratio between a highest luminance portion and a lowest luminance portion in the subject area. 前記目標設定手段は、前記着目画像中の複数の前記被写体に対する前記評価値を比較した結果に基づいて、前記目標陰影状態を、被写体毎に異なる状態にするか、被写体間で同一の状態とするかを決定することを特徴とする請求項6又は7に記載の画像処理装置。   The target setting means sets the target shadow state to a different state for each subject or sets the same state between subjects based on a result of comparing the evaluation values for the plurality of subjects in the target image. The image processing apparatus according to claim 6, wherein the image processing apparatus determines whether or not. 前記目標設定手段は、複数の前記被写体間での前記評価値の差分が所定値よりも大きい場合に、前記目標陰影状態を、被写体毎に異なる状態にするよう決定することを特徴とする請求項8に記載の画像処理装置。   The target setting means determines that the target shadow state is different for each subject when a difference in the evaluation values among the plurality of subjects is larger than a predetermined value. The image processing apparatus according to 8. 前記目標設定手段は、複数の前記被写体に対する前記評価値を比較した結果に基づいて、前記対象とする被写体を決定することを特徴とする請求項6乃至9の何れか一項に記載の画像処理装置。   The image processing according to claim 6, wherein the target setting unit determines the target subject based on a result of comparing the evaluation values for the plurality of subjects. apparatus. 前記仮想光源の設定とは、前記仮想光源の前記被写体に対する位置と、前記仮想光源の発する仮想的な照明光の強度とを含むことを特徴とする請求項1乃至10の何れか一項に記載の画像処理装置。   11. The setting of the virtual light source includes a position of the virtual light source with respect to the subject and an intensity of virtual illumination light emitted from the virtual light source. Image processing apparatus. 前記陰影状態は、被写体領域の中のコントラストを表す情報であるコントラスト値により示され、
前記光源設定手段は、前記目標陰影状態を示す目標コントラスト値が、前記状態検出手段により検出された陰影状態を示すコントラスト値よりも小さい場合には、前記仮想光源の位置を、前記被写体の法線に対して前記被写体を照らしている環境光と反対側に設定し、前記状態検出手段により検出された陰影状態を示すコントラスト値が前記目標陰影状態を示す目標コントラスト値よりも小さい場合には、前記仮想光源の位置を、前記被写体の法線に対して前記環境光と同じ側に設定することを特徴とする請求項11に記載の画像処理装置。
The shaded state is indicated by a contrast value that is information representing contrast in the subject area,
When the target contrast value indicating the target shadow state is smaller than the contrast value indicating the shadow state detected by the state detection unit, the light source setting unit determines the position of the virtual light source as the normal of the subject. If the contrast value indicating the shadow state detected by the state detection means is smaller than the target contrast value indicating the target shadow state, the opposite side to the ambient light illuminating the subject, The image processing apparatus according to claim 11, wherein the position of the virtual light source is set on the same side as the ambient light with respect to the normal line of the subject.
着目画像中の被写体を検出する被写体検出手段と、
前記被写体ごとの陰影の程度を示す陰影状態を検出する状態検出手段と、
検出された前記陰影状態に基づいて、前記被写体の補正の前の陰影の程度と補正の後の陰影の程度の序列が入れ替わらないように、前記着目画像中の対象となる被写体ごとに、目標となる陰影の状態である目標陰影状態を設定する目標設定手段と、
前記着目画像に対して、前記状態検出手段により検出された陰影状態と前記目標陰影状態とに基づいて、前記対象となる被写体ごとに仮想光源の設定を決定する光源設定手段と、
前記仮想光源を用いて前記着目画像中の前記対象となる被写体の明るさを補正する補正手段と
してコンピュータを機能させるためのプログラム。
Subject detection means for detecting a subject in the image of interest;
State detecting means for detecting a shadow state indicating a degree of shadow for each subject;
Based on the detected shadow state, a target for each target subject in the image of interest is arranged so that the order of the degree of shadow before correction of the subject and the order of shadow after correction are not interchanged. Target setting means for setting a target shadow state that is a shadow state to become,
A light source setting unit that determines a setting of a virtual light source for each target subject based on the shadow state detected by the state detection unit and the target shadow state for the target image;
A program for causing a computer to function as correction means for correcting the brightness of the subject subject in the image of interest using the virtual light source.
着目画像中の被写体を検出する被写体検出工程と、
前記被写体ごとの陰影の程度を示す陰影状態を検出する状態検出工程と、
検出された前記陰影状態に基づいて、前記被写体の補正の前の陰影の程度と補正の後の陰影の程度の序列が入れ替わらないように、前記着目画像中の対象となる被写体ごとに、目標となる陰影の状態である目標陰影状態を設定する目標設定工程と、
前記着目画像に対して、前記状態検出工程により検出された陰影状態と前記目標陰影状態とに基づいて、前記対象となる被写体ごとに仮想光源の設定を決定する光源設定工程と、
前記仮想光源を用いて前記着目画像中の前記対象となる被写体の明るさを補正する補正工程と
を有することを特徴とする画像処理方法。
A subject detection step of detecting a subject in the image of interest;
A state detection step of detecting a shadow state indicating a degree of shadow for each subject;
Based on the detected shadow state, a target for each target subject in the image of interest is arranged so that the order of the degree of shadow before correction of the subject and the order of shadow after correction are not interchanged. A target setting step for setting a target shadow state, which is a shadow state to become,
A light source setting step for determining a setting of a virtual light source for each target subject based on the shadow state detected by the state detection step and the target shadow state for the target image;
And a correction step of correcting the brightness of the subject subject in the image of interest using the virtual light source.
JP2016032424A 2016-02-23 2016-02-23 Image processing apparatus and image processing method Active JP6718253B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016032424A JP6718253B2 (en) 2016-02-23 2016-02-23 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016032424A JP6718253B2 (en) 2016-02-23 2016-02-23 Image processing apparatus and image processing method

Publications (3)

Publication Number Publication Date
JP2017152866A JP2017152866A (en) 2017-08-31
JP2017152866A5 true JP2017152866A5 (en) 2019-04-04
JP6718253B2 JP6718253B2 (en) 2020-07-08

Family

ID=59739171

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016032424A Active JP6718253B2 (en) 2016-02-23 2016-02-23 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP6718253B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7311995B2 (en) * 2019-03-27 2023-07-20 キヤノン株式会社 IMAGE PROCESSING APPARATUS AND IMAGE PROCESSING METHOD, PROGRAM, STORAGE MEDIUM
JP7455578B2 (en) 2019-12-27 2024-03-26 キヤノン株式会社 Image processing device and image processing method
CN113340895A (en) * 2021-06-04 2021-09-03 深圳中科飞测科技股份有限公司 Adjusting method of detection system and detection system
CN114683504B (en) * 2022-03-07 2023-10-31 佳睦拉索(上海)有限公司 Injection molding product molding control method and control equipment

Similar Documents

Publication Publication Date Title
US9613433B2 (en) Method of characterizing a light source and a mobile device
JP2017152866A5 (en)
JP2011095403A5 (en) Imaging apparatus and light emission control method
JP2015232477A (en) Inspection device, inspection method, and program
JP2015228546A5 (en) Imaging device, control method thereof, and control program
JP2010286791A5 (en)
JP2012247648A5 (en)
JP2017044773A5 (en)
JP2017045030A5 (en)
JP2012023532A5 (en)
JP2016086246A5 (en)
JP2016133674A5 (en)
RU2016120270A (en) HEADLIGHT WARNING
JP2016178608A5 (en)
JP2018107563A5 (en) Imaging device and control method
JP2017208616A5 (en)
JP2014186505A5 (en)
JP2014115107A5 (en)
JP2017028376A5 (en)
JP2016144042A5 (en)
JP2015158626A5 (en)
US10348983B2 (en) Non-transitory storage medium encoded with computer readable image processing program, information processing system, information processing apparatus, and image processing method for determining a position of a subject in an obtained infrared image
JP2015037204A5 (en)
JP2002290988A5 (en)
JP2018022623A5 (en)