JP7398939B2 - 画像処理装置およびその制御方法、撮像装置、プログラム、並びに記憶媒体 - Google Patents
画像処理装置およびその制御方法、撮像装置、プログラム、並びに記憶媒体 Download PDFInfo
- Publication number
- JP7398939B2 JP7398939B2 JP2019219075A JP2019219075A JP7398939B2 JP 7398939 B2 JP7398939 B2 JP 7398939B2 JP 2019219075 A JP2019219075 A JP 2019219075A JP 2019219075 A JP2019219075 A JP 2019219075A JP 7398939 B2 JP7398939 B2 JP 7398939B2
- Authority
- JP
- Japan
- Prior art keywords
- subject
- virtual light
- area
- light source
- 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.)
- Active
Links
- 238000012545 processing Methods 0.000 title claims description 130
- 238000000034 method Methods 0.000 title claims description 45
- 238000003384 imaging method Methods 0.000 title claims description 21
- 238000001514 detection method Methods 0.000 claims description 32
- 230000000694 effects Effects 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 description 33
- 239000013598 vector Substances 0.000 description 15
- 230000002093 peripheral effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 238000012937 correction Methods 0.000 description 8
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 7
- 238000006243 chemical reaction Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 101150024075 Mapk1 gene Proteins 0.000 description 3
- 230000003321 amplification Effects 0.000 description 3
- 238000003199 nucleic acid amplification method Methods 0.000 description 3
- 210000000056 organ Anatomy 0.000 description 3
- 229920006395 saturated elastomer Polymers 0.000 description 3
- 238000011156 evaluation Methods 0.000 description 2
- 210000003128 head Anatomy 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 241000282326 Felis catus Species 0.000 description 1
- 201000005569 Gout Diseases 0.000 description 1
- 241001465754 Metazoa Species 0.000 description 1
- 238000005282 brightening Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 210000000887 face Anatomy 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 230000001678 irradiating effect Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 210000001747 pupil Anatomy 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
- G06T5/94—Dynamic range modification of images or parts thereof based on local image properties, e.g. for local contrast enhancement
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/73—Deblurring; Sharpening
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
- G06T5/92—Dynamic range modification of images or parts thereof based on global image properties
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/194—Segmentation; Edge detection involving foreground-background segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/50—Depth or shape recovery
- G06T7/55—Depth or shape recovery from multiple images
- G06T7/586—Depth or shape recovery from multiple images from multiple light sources, e.g. photometric stereo
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/2621—Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10028—Range image; Depth image; 3D point clouds
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20004—Adaptive image processing
- G06T2207/20012—Locally adaptive
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20172—Image enhancement details
- G06T2207/20192—Edge enhancement; Edge preservation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30196—Human being; Person
- G06T2207/30201—Face
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Image Processing (AREA)
- Studio Devices (AREA)
Description
(式1)
Ra=α×(-L1・N1)/K1 2 ×Rt
Ga=α×(-L1・N1)/K1 2 ×Gt
Ba=α×(-L1・N1)/K1 2 ×Bt
ここで、αは仮想光の強度であり、リライティング補正量のゲイン値、Rt、Gt、Btはデガンマ処理部402から出力されたRGB信号である。
(式2)
Rout=Rt+Ra
Gout=Gt+Ga
Bout=Bt+Ba
仮想光源付加処理部409によりリライティング処理されたRGB信号(Rout、Gout、Bout)は、ガンマ処理部410に入力され、ガンマ補正が行われる。そして、輝度・色差信号生成部411では、ガンマ処理されたRGB信号(R’out、G’out、B’out)から輝度信号Yおよび色差信号R-Y、B-Y信号を生成して出力する。
(式3)
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において、αは仮想光の強度であり、被写体周辺輝度取得部406が取得した輝度情報に基づいて仮想光の強度αを制御する。仮想光の強度αの制御方法の詳細は後述する。また、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))が正の値となるように制御する。
また、本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
Claims (11)
- 画像中の被写体の領域情報を検出する検出手段と、
前記被写体の領域情報から当該被写体の一部である所定の被写体領域を検出し、当該所定の被写体領域の周辺の輝度情報を取得する取得手段と、
仮想光源から照射される仮想光を用いて画像中の被写体の明るさを補正する処理を行うリライティング手段と、を有し、
前記リライティング手段は、前記所定の被写体領域の周辺の輝度が所定の輝度範囲に含まれる場合、前記所定の被写体領域の周辺の輝度が高いほど前記仮想光の効果が弱くなるように前記所定の被写体領域を含む被写体の明るさを補正することを特徴とする画像処理装置。 - 前記被写体までの距離を示す距離情報を生成する生成手段をさらに有し、
前記検出手段は、前記距離情報に基づいて前記被写体の領域情報を検出することを特徴とする請求項1に記載の画像処理装置。 - 前記取得手段は、前記被写体の領域情報に基づいて前記所定の被写体領域の周辺の輝度情報を取得することを特徴とする請求項1または2に記載の画像処理装置。
- 前記リライティング手段は、前記所定の被写体領域の周辺の輝度が高いほど前記所定の被写体領域を含む被写体に照射される仮想光が弱くなるように前記仮想光源のパラメータを制御することを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。
- 前記リライティング手段は、前記所定の被写体領域の周辺の輝度が高いほど前記被写体に仮想光が当たらないように前記仮想光源のパラメータを制御することを特徴とする請求項1から3のいずれか1項に記載の画像処理装置。
- 前記仮想光源のパラメータは、前記仮想光源の位置、前記仮想光の照射範囲および強度を含むことを特徴とする請求項4または5に記載の画像処理装置。
- 前記仮想光源のパラメータは、被写体を明るくする加算光、被写体を暗くする減算光、被写体に鏡面反射を付加する鏡面反射光を含む、複数の仮想光のいずれかを示すパラメータを含むことを特徴とする請求項4または5に記載の画像処理装置。
- 被写体を撮像して画像データを生成する撮像手段と、
請求項1から7のいずれか1項に記載の画像処理装置と、を有することを特徴とする撮像装置。 - 画像中の被写体の領域情報を検出するステップと、
前記被写体の領域情報から当該被写体の一部である所定の被写体領域を検出し、当該所定の被写体領域の周辺の輝度情報を取得するステップと、
仮想光源から照射される仮想光を用いて画像中の被写体の明るさを補正する処理を行うステップと、を有し、
前記処理を行うステップでは、前記所定の被写体領域の周辺の輝度が所定の輝度範囲に含まれる場合、前記所定の被写体領域の周辺の輝度が高いほど前記仮想光の効果が弱くなるように前記所定の被写体領域を含む被写体の明るさを補正することを特徴とする画像処理装置において実行される制御方法。 - コンピュータを、請求項1から7のいずれか1項に記載の画像処理装置の各手段として機能させるためのプログラム。
- コンピュータを、請求項1から7のいずれか1項に記載の画像処理装置の各手段として機能させるためのプログラムを記憶したコンピュータが読み取り可能な記憶媒体。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019219075A JP7398939B2 (ja) | 2019-12-03 | 2019-12-03 | 画像処理装置およびその制御方法、撮像装置、プログラム、並びに記憶媒体 |
EP20208560.1A EP3832592A1 (en) | 2019-12-03 | 2020-11-19 | Correction of brightness of an object in an image |
US17/103,989 US11368630B2 (en) | 2019-12-03 | 2020-11-25 | Image processing apparatus and image processing method |
CN202011415086.6A CN112911161B (zh) | 2019-12-03 | 2020-12-03 | 图像处理装置、图像处理方法、摄像装置和存储介质 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019219075A JP7398939B2 (ja) | 2019-12-03 | 2019-12-03 | 画像処理装置およびその制御方法、撮像装置、プログラム、並びに記憶媒体 |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2021089534A JP2021089534A (ja) | 2021-06-10 |
JP2021089534A5 JP2021089534A5 (ja) | 2022-12-12 |
JP7398939B2 true JP7398939B2 (ja) | 2023-12-15 |
Family
ID=73497549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019219075A Active JP7398939B2 (ja) | 2019-12-03 | 2019-12-03 | 画像処理装置およびその制御方法、撮像装置、プログラム、並びに記憶媒体 |
Country Status (4)
Country | Link |
---|---|
US (1) | US11368630B2 (ja) |
EP (1) | EP3832592A1 (ja) |
JP (1) | JP7398939B2 (ja) |
CN (1) | CN112911161B (ja) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114504293B (zh) * | 2022-04-21 | 2022-07-29 | 安翰科技(武汉)股份有限公司 | 内窥镜曝光控制方法及内窥镜 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018182699A (ja) | 2017-04-21 | 2018-11-15 | キヤノン株式会社 | 画像処理装置およびその制御方法、プログラム、並びに記憶媒体 |
JP2019145097A (ja) | 2018-02-21 | 2019-08-29 | キヤノン株式会社 | 設定装置及び方法、プログラム、記憶媒体 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009290661A (ja) * | 2008-05-30 | 2009-12-10 | Seiko Epson Corp | 画像処理装置、画像処理方法、画像処理プログラムおよび印刷装置 |
US8213052B2 (en) * | 2009-07-31 | 2012-07-03 | Eastman Kodak Company | Digital image brightness adjustment using range information |
CN102236883A (zh) * | 2010-04-27 | 2011-11-09 | 株式会社理光 | 图像增强方法和装置、物体检测方法和装置 |
JP6412386B2 (ja) | 2014-09-26 | 2018-10-24 | キヤノン株式会社 | 画像処理装置およびその制御方法、プログラムならびに記録媒体 |
JP6442209B2 (ja) * | 2014-09-26 | 2018-12-19 | キヤノン株式会社 | 画像処理装置およびその制御方法 |
JP6445844B2 (ja) * | 2014-11-05 | 2018-12-26 | キヤノン株式会社 | 撮像装置および撮像装置で実行される方法 |
US10863103B2 (en) * | 2018-02-21 | 2020-12-08 | Canon Kabushiki Kaisha | Setting apparatus, setting method, and storage medium |
CN110221439A (zh) * | 2019-07-11 | 2019-09-10 | Oppo广东移动通信有限公司 | 增强现实设备及增强现实调节方法 |
-
2019
- 2019-12-03 JP JP2019219075A patent/JP7398939B2/ja active Active
-
2020
- 2020-11-19 EP EP20208560.1A patent/EP3832592A1/en active Pending
- 2020-11-25 US US17/103,989 patent/US11368630B2/en active Active
- 2020-12-03 CN CN202011415086.6A patent/CN112911161B/zh active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018182699A (ja) | 2017-04-21 | 2018-11-15 | キヤノン株式会社 | 画像処理装置およびその制御方法、プログラム、並びに記憶媒体 |
JP2019145097A (ja) | 2018-02-21 | 2019-08-29 | キヤノン株式会社 | 設定装置及び方法、プログラム、記憶媒体 |
Also Published As
Publication number | Publication date |
---|---|
US11368630B2 (en) | 2022-06-21 |
CN112911161B (zh) | 2023-07-21 |
JP2021089534A (ja) | 2021-06-10 |
CN112911161A (zh) | 2021-06-04 |
US20210168274A1 (en) | 2021-06-03 |
EP3832592A1 (en) | 2021-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3198852B1 (en) | Image processing apparatus and control method thereof | |
JP6445844B2 (ja) | 撮像装置および撮像装置で実行される方法 | |
JP6833415B2 (ja) | 画像処理装置、画像処理方法、及びプログラム | |
US9961319B2 (en) | Image processing apparatus and control method thereof | |
JP6412386B2 (ja) | 画像処理装置およびその制御方法、プログラムならびに記録媒体 | |
JP7277158B2 (ja) | 設定装置及び方法、プログラム、記憶媒体 | |
US10863103B2 (en) | Setting apparatus, setting method, and storage medium | |
JP6702752B2 (ja) | 画像処理装置、撮像装置、制御方法及びプログラム | |
US11893716B2 (en) | Image processing apparatus and image processing method, and image capturing apparatus | |
JP6718253B2 (ja) | 画像処理装置及び画像処理方法 | |
JP6937603B2 (ja) | 画像処理装置およびその制御方法、プログラム、並びに記憶媒体 | |
JP7398939B2 (ja) | 画像処理装置およびその制御方法、撮像装置、プログラム、並びに記憶媒体 | |
JP2018182700A (ja) | 画像処理装置およびその制御方法、プログラム、並びに記憶媒体 | |
JP6921606B2 (ja) | 画像処理装置、画像処理方法およびプログラム | |
JP2017138927A (ja) | 画像処理装置、撮像装置およびそれらの制御方法、それらのプログラム | |
US10021314B2 (en) | Image processing apparatus, image capturing apparatus, method of controlling the same, and storage medium for changing shading using a virtual light source | |
JP6541416B2 (ja) | 画像処理装置及び画像処理方法、プログラム、記憶媒体 | |
JP2018107741A (ja) | 画像処理装置、画像処理方法、およびプログラム | |
JP7356255B2 (ja) | 画像処理装置及びその処理方法、撮像装置、プログラム、記憶媒体 | |
JP7446080B2 (ja) | 画像処理装置、撮像装置、制御方法、プログラム及び撮像システム | |
JP7011694B2 (ja) | 画像処理装置およびその制御方法、プログラム | |
JP6675461B2 (ja) | 画像処理装置およびその制御方法、ならびにプログラム | |
JP6946055B2 (ja) | 画像処理装置および画像処理方法、プログラム | |
JP6663246B2 (ja) | 画像処理装置、撮像装置およびこれらの制御方法ならびにプログラム | |
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 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20221202 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20221202 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230914 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230922 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20231023 |
|
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: 20231106 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20231205 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 7398939 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |