JP7277158B2 - 設定装置及び方法、プログラム、記憶媒体 - Google Patents
設定装置及び方法、プログラム、記憶媒体 Download PDFInfo
- Publication number
- JP7277158B2 JP7277158B2 JP2019018259A JP2019018259A JP7277158B2 JP 7277158 B2 JP7277158 B2 JP 7277158B2 JP 2019018259 A JP2019018259 A JP 2019018259A JP 2019018259 A JP2019018259 A JP 2019018259A JP 7277158 B2 JP7277158 B2 JP 7277158B2
- Authority
- JP
- Japan
- Prior art keywords
- virtual light
- subject
- classification
- subjects
- light source
- 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
Links
- 238000000034 method Methods 0.000 title claims description 38
- 238000012545 processing Methods 0.000 claims description 114
- 238000003384 imaging method Methods 0.000 claims description 12
- 230000001678 irradiating effect Effects 0.000 claims description 9
- 230000000694 effects Effects 0.000 claims description 8
- 239000000654 additive Substances 0.000 claims 1
- 230000000996 additive effect Effects 0.000 claims 1
- 238000004364 calculation method Methods 0.000 description 28
- 238000001514 detection method Methods 0.000 description 18
- 239000013598 vector Substances 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 210000000056 organ Anatomy 0.000 description 11
- 101150024075 Mapk1 gene Proteins 0.000 description 10
- 230000001815 facial effect Effects 0.000 description 10
- 238000012937 correction Methods 0.000 description 7
- 238000005286 illumination Methods 0.000 description 7
- 238000006243 chemical reaction Methods 0.000 description 5
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000003321 amplification Effects 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 201000005569 Gout Diseases 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Landscapes
- Studio Devices (AREA)
- Image Processing (AREA)
- Image Generation (AREA)
Description
Ra=α×(-L1・N1)/K12×Rt
Ga=α×(-L1・N1)/K12×Gt …(1)
Ba=α×(-L1・N1)/K12×Bt
ここで、αは仮想光源の光の強度であり、リライティング補正量のゲイン値、Rt、Gt、Btはデガンマ処理部402から出力されたRGB信号である。
Rout=Rt+Ra
Gout=Gt+Ga …(2)
Bout=Bt+Ba
Ra(x1, y1)=α×(-L(x1, y1)・N(x1, y1))/K(x1, y1)2×Rt
Ga(x1, y1)=α×(-L(x1, y1)・N(x1, y1))/K(x1, y1)2×Gt
Ba(x1, y1)=α×(-L(x1, y1)・N(x1, y1))/K(x1, y1)2×Bt
…(3)
なお、式(3)において、αは仮想光源の光の強度である。また、L(x1, y1)は、座標(x1,y1)に対応する被写体上の位置における仮想光源の光源方向ベクトル、N(x1, y1)は、座標(x1,y1)に対応する被写体上の位置における法線ベクトルである。更に、K(x1, y1)は、仮想光源と座標(x1,y1)に対応する被写体上の位置との距離を示す。仮想光が輝度値の低い領域である座標(x1,y1)にある被写体に当たるようにするには、(Ra(x1, y1)、Ga(x1, y1)、Ba(x1, y1))が正の値となるように、仮想光源の強さαと、被写体との距離K(x1, y1)を制御する。また、仮想光源の照射範囲は、取得した顔領域内の輝度分布情報を基に、任意の閾値よりも低い輝度値となる座標情報を取得し、その座標が含まれる照射範囲になるよう制御する。また、仮想光源の強さαを大きくし過ぎて白飛びや階調反転などの弊害が生じる可能性もあるので、仮想光源の強さαの範囲としては、照射範囲外となる輝度値が高い領域の平均輝度値±βの輝度値とし、ある閾値βの範囲内で制御する。上述した処理により、仮想光源設定部405は仮想光源の位置の範囲、照射する範囲、強度の範囲を算出し、その範囲内の平均値を仮想光源の位置、照射範囲,強度として設定値を決定する。
Ra=α×mapL・mapN・mapK×Rt
Ga=α×mapL・mapN・mapK×Gt …(4)
Ba=α×mapL・mapN・mapK×Bt
また、本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
Claims (16)
- 画像に含まれる複数の被写体に対して仮想光を照射した効果を付与するための仮想光パラメータを設定する設定手段と、
前記複数の被写体を、陰影の状態に基づいて複数のグループに分類する分類手段と、
前記分類手段による分類の結果を変更する指示を受け付ける入力手段と、を有し、
前記設定手段は、前記分類手段により分類されたグループ毎に、前記仮想光パラメータを設定することを特徴とする設定装置。 - 前記設定手段により設定された仮想光パラメータに基づき、前記複数の被写体に対して仮想光を照射した効果を付与する画像処理手段をさらに有することを特徴とする請求項1に記載の設定装置。
- 前記複数の被写体の形状情報を取得する形状取得手段をさらに有し、
前記画像処理手段は、前記仮想光パラメータ及び前記形状情報に基づき、前記複数の被写体に対して仮想光を照射した効果を付与することを特徴とする請求項2に記載の設定装置。 - 前記複数の被写体の距離情報を取得する距離取得手段をさらに有し、
前記画像処理手段は、前記仮想光パラメータ、前記形状情報、前記距離情報に基づき、前記複数の被写体に対して仮想光を照射した効果を付与することを特徴とする請求項3に記載の設定装置。 - 前記複数の被写体の距離情報を取得する距離取得手段をさらに有し、
前記形状取得手段は、前記距離情報に基づき前記形状情報を取得することを特徴とする請求項3に記載の設定装置。 - 前記仮想光パラメータは、仮想光の照射範囲と強度とを含むことを特徴とする請求項1乃至5のいずれか1項に記載の設定装置。
- 前記設定手段は、ユーザ操作に基づき、前記グループ毎に前記仮想光パラメータを設定することを特徴とする請求項1乃至6のいずれか1項に記載の設定装置。
- 前記仮想光は、被写体を明るくする加算光、被写体を暗くする減算光、被写体に鏡面反射を付加する鏡面反射光を含むことを特徴とする請求項1乃至7のいずれか1項に記載の設定装置。
- 被写体を撮像し画像データを得る撮像手段をさらに有する請求項1乃至8のいずれか1項に記載の設定装置。
- 前記分類手段による分類の結果を、表示手段に表示する表示制御手段をさらに有する請求項1乃至9のいずれか1項に記載の設定装置。
- 前記入力手段は、少なくとも1つの被写体の選択と、選択された被写体を指定されたグループに分類する指示を受け付けることを特徴とする請求項1乃至10のいずれか1項に記載の設定装置。
- 前記分類手段による分類の結果を、表示手段に表示する表示制御手段をさらに有し、
前記表示制御手段による分類の結果は、前記画像処理手段による前記仮想光を照射した効果を付与する前に表示することを特徴とする請求項2に記載の設定装置。 - 前記分類手段による分類の結果を、表示手段に表示する表示制御手段をさらに有し、
前記表示制御手段による分類の結果は、前記画像処理手段による前記仮想光を照射した効果を付与した後に表示することを特徴とする請求項2に記載の設定装置。 - 分類手段が、画像に含まれる複数の被写体を、陰影の状態に基づいて複数のグループに分類する分類工程と、
設定手段が、前記分類工程で分類されたグループ毎に、前記複数の被写体に対して仮想光を照射した効果を付与するための仮想光パラメータを設定する設定工程と、
入力手段が、前記分類工程における分類の結果を変更する指示を受け付ける入力工程と
を有することを特徴とする設定方法。 - コンピュータを、請求項1乃至13のいずれか1項に記載の設定装置の各手段として機能させるためのプログラム。
- 請求項15に記載のプログラムを記憶したコンピュータが読み取り可能な記憶媒体。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/276,811 US10863103B2 (en) | 2018-02-21 | 2019-02-15 | Setting apparatus, setting method, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018029049 | 2018-02-21 | ||
JP2018029049 | 2018-02-21 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019145097A JP2019145097A (ja) | 2019-08-29 |
JP7277158B2 true JP7277158B2 (ja) | 2023-05-18 |
Family
ID=67772556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019018259A Active JP7277158B2 (ja) | 2018-02-21 | 2019-02-04 | 設定装置及び方法、プログラム、記憶媒体 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7277158B2 (ja) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021086586A (ja) * | 2019-11-29 | 2021-06-03 | キヤノン株式会社 | 表示制御装置及びその制御方法 |
JP7398939B2 (ja) * | 2019-12-03 | 2023-12-15 | キヤノン株式会社 | 画像処理装置およびその制御方法、撮像装置、プログラム、並びに記憶媒体 |
JP7462464B2 (ja) | 2020-04-15 | 2024-04-05 | キヤノン株式会社 | 画像処理装置および方法、プログラム、記憶媒体 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016005203A (ja) | 2014-06-18 | 2016-01-12 | キヤノン株式会社 | 画像処理装置およびその制御方法 |
JP2017123020A (ja) | 2016-01-06 | 2017-07-13 | キヤノン株式会社 | 画像処理装置および撮像装置、それらの制御方法ならびにプログラム |
JP2018010497A (ja) | 2016-07-14 | 2018-01-18 | キヤノン株式会社 | 画像処理装置 |
-
2019
- 2019-02-04 JP JP2019018259A patent/JP7277158B2/ja active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016005203A (ja) | 2014-06-18 | 2016-01-12 | キヤノン株式会社 | 画像処理装置およびその制御方法 |
JP2017123020A (ja) | 2016-01-06 | 2017-07-13 | キヤノン株式会社 | 画像処理装置および撮像装置、それらの制御方法ならびにプログラム |
JP2018010497A (ja) | 2016-07-14 | 2018-01-18 | キヤノン株式会社 | 画像処理装置 |
Also Published As
Publication number | Publication date |
---|---|
JP2019145097A (ja) | 2019-08-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10997696B2 (en) | Image processing method, apparatus and device | |
EP3609177B1 (en) | Control method, control apparatus, imaging device, and electronic device | |
JP6833415B2 (ja) | 画像処理装置、画像処理方法、及びプログラム | |
KR20130031574A (ko) | 영상 처리 방법 및 영상 처리 장치 | |
JP7292905B2 (ja) | 画像処理装置及び画像処理方法、及び撮像装置 | |
WO2012098768A1 (ja) | 画像処理装置、画像処理方法、画像処理プログラム、および撮影装置 | |
JP7277158B2 (ja) | 設定装置及び方法、プログラム、記憶媒体 | |
JP6381404B2 (ja) | 画像処理装置及び方法、及び撮像装置 | |
US10863103B2 (en) | Setting apparatus, setting method, and storage medium | |
US11115637B2 (en) | Image processing apparatus, image capturing apparatus, image processing method, and storage medium | |
JP6702752B2 (ja) | 画像処理装置、撮像装置、制御方法及びプログラム | |
JP6937603B2 (ja) | 画像処理装置およびその制御方法、プログラム、並びに記憶媒体 | |
KR20180138530A (ko) | 검출 장치, 이미지 처리 장치, 검출 방법, 및 이미지 처리 방법 | |
JP2018182700A (ja) | 画像処理装置およびその制御方法、プログラム、並びに記憶媒体 | |
JP6921606B2 (ja) | 画像処理装置、画像処理方法およびプログラム | |
JP2017138927A (ja) | 画像処理装置、撮像装置およびそれらの制御方法、それらのプログラム | |
JP7398939B2 (ja) | 画像処理装置およびその制御方法、撮像装置、プログラム、並びに記憶媒体 | |
JP2016127388A (ja) | 画像処理装置およびその制御方法、プログラムならびに記憶媒体 | |
JP7356255B2 (ja) | 画像処理装置及びその処理方法、撮像装置、プログラム、記憶媒体 | |
US20200051212A1 (en) | Image processing apparatus, image processing method, and storage medium | |
JP7462464B2 (ja) | 画像処理装置および方法、プログラム、記憶媒体 | |
JP2014155000A (ja) | 画像処理装置、その制御方法、および制御プログラム | |
JP7011694B2 (ja) | 画像処理装置およびその制御方法、プログラム | |
Dragomir et al. | VOTING-BASED HDR COMPRESSION. | |
JP2021087125A (ja) | 画像処理装置、その制御装置、プログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20210103 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210113 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220124 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20221125 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20221202 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230130 |
|
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: 20230407 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230508 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 7277158 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |