JP2022068742A - Portable terminal, information processing method and information processing program - Google Patents
Portable terminal, information processing method and information processing program Download PDFInfo
- Publication number
- JP2022068742A JP2022068742A JP2020177584A JP2020177584A JP2022068742A JP 2022068742 A JP2022068742 A JP 2022068742A JP 2020177584 A JP2020177584 A JP 2020177584A JP 2020177584 A JP2020177584 A JP 2020177584A JP 2022068742 A JP2022068742 A JP 2022068742A
- Authority
- JP
- Japan
- Prior art keywords
- display
- camera
- color temperature
- auxiliary light
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、携帯端末、情報処理方法及び情報処理プログラムに関する。 The present invention relates to a mobile terminal, an information processing method and an information processing program.
近年では、カメラを備えた携帯端末が広く普及していることから、手軽に写真撮影が行われるようになってきている。そのため、好ましい写真を簡単に撮影できる技術が望まれている。 In recent years, since mobile terminals equipped with cameras have become widespread, it has become easier to take pictures. Therefore, a technique capable of easily taking a preferable photograph is desired.
例えば、特許文献1は、撮影室内の被写体を撮影する写真撮影装置であって、被写体の顔色と補助光の発光色との関係を示すテーブルを基に決定した発光色の補助光を照射する写真撮影装置が記載されている。また、特許文献2では、複数の携帯端末に発光させて写真撮影を行う技術が提案されている。 For example, Patent Document 1 is a photographic apparatus for photographing a subject in a photographing room, and is a photograph that irradiates an auxiliary light of an emission color determined based on a table showing a relationship between the complexion of the subject and the emission color of the auxiliary light. The photographing device is described. Further, Patent Document 2 proposes a technique for taking a photograph by causing a plurality of mobile terminals to emit light.
携帯端末のインカメラを用いた撮影において、照明や太陽等の外部光源から被写体に照射される光では光量不足となる場合がある。このような場合において、当該携帯端末のディスプレイから被写体に向けて補助光を出射させることで不足する光量を補うことが考えられる。ディスプレイから被写体に補助光を照射することで、被写体をより明るく撮影することができる。 In shooting using the in-camera of a mobile terminal, the amount of light may be insufficient with the light emitted from an external light source such as lighting or the sun to the subject. In such a case, it is conceivable to make up for the insufficient amount of light by emitting auxiliary light from the display of the mobile terminal toward the subject. By irradiating the subject with auxiliary light from the display, the subject can be photographed brighter.
携帯端末では、インカメラで撮影した画像データに対してオートホワイトバランスが行われる。オートホワイトバランスでは、被写体に光を照射する光源の種類に応じて、画像データの色が好ましい色になるように(例えば、白い被写体が白く写るように)色味の調整が行われる。ここで、外部光源から被写体に照射される光の色温度とディスプレイから出射される補助光の色温度とが異なると、携帯端末が光源を誤判定しやすくなる。光源が誤判定されると、オートホワイトバランスが正常に実行されなくなるため、生成される画像データの色味が好ましいものではなくなる虞がある。 In the mobile terminal, auto white balance is performed on the image data taken by the in-camera. In the auto white balance, the tint is adjusted so that the color of the image data becomes a preferable color (for example, the white subject appears white) according to the type of the light source that irradiates the subject with light. Here, if the color temperature of the light emitted from the external light source to the subject and the color temperature of the auxiliary light emitted from the display are different, the mobile terminal is likely to misdetermine the light source. If the light source is erroneously determined, the auto white balance will not be executed normally, and the color tone of the generated image data may not be preferable.
開示の技術の1つの側面は、写真撮影の補助光源として携帯端末のディスプレイを利用する場合において、光源の誤判定を抑制できる携帯端末、情報処理方法及び情報処理プログラムを提供することを目的とする。 One aspect of the disclosed technology is to provide a mobile terminal, an information processing method, and an information processing program that can suppress erroneous determination of a light source when the display of the mobile terminal is used as an auxiliary light source for photography. ..
開示の技術の1つの側面は、次のような携帯端末によって例示される。本携帯端末は、ディスプレイと、ディスプレイの法線方向に撮影方向が向けられたカメラと、カメラから取得した画像を基にカメラの撮影範囲を照らす光源の色温度を判定し、当該色温度に応じた補助光をディスプレイに出射させ、ユーザからの撮影指示に応じて補助光を前記ディスプレイに出射させた状態でカメラに撮影を実行させるプロセッサと、を備える。 One aspect of the disclosed technique is exemplified by the following mobile terminals. The mobile terminal determines the color temperature of the light source that illuminates the shooting range of the camera based on the display, the camera whose shooting direction is directed to the normal direction of the display, and the image acquired from the camera, and responds to the color temperature. The camera comprises a processor that emits the auxiliary light to the display and causes the camera to perform shooting in a state where the auxiliary light is emitted to the display in response to a shooting instruction from the user.
開示の技術は、写真撮影の補助光源として携帯端末のディスプレイを利用する場合にお
いて、光源の誤判定を抑制することができる。
The disclosed technique can suppress erroneous determination of a light source when a display of a mobile terminal is used as an auxiliary light source for photography.
<実施形態>
以下に示す実施形態の構成は例示であり、開示の技術は実施形態の構成に限定されない。実施形態に係る携帯端末は、上記した課題を解決するため、以下の構成を備える。本実施形態に係る携帯端末は、ディスプレイ、ディスプレイの法線方向に撮影方向が向けられたカメラ及びプロセッサを備える。
<Embodiment>
The configurations of the embodiments shown below are examples, and the disclosed techniques are not limited to the configurations of the embodiments. The mobile terminal according to the embodiment has the following configurations in order to solve the above-mentioned problems. The mobile terminal according to the present embodiment includes a display, a camera whose shooting direction is directed in the normal direction of the display, and a processor.
そして、上記プロセッサは、以下の処理を実行する。
・上記カメラから取得した画像を基に前記カメラの撮影範囲を照らす光源の色温度を判定する。
・判定した色温度に応じた補助光を上記ディスプレイに出射させる。
・ユーザからの撮影指示に応じて上記補助光を上記ディスプレイに出射させた状態で上記カメラに撮影を実行させる。
Then, the processor executes the following processing.
-Based on the image acquired from the camera, the color temperature of the light source that illuminates the shooting range of the camera is determined.
-Auxiliary light corresponding to the determined color temperature is emitted to the above display.
-The camera is made to perform shooting in a state where the auxiliary light is emitted to the display in response to a shooting instruction from the user.
本携帯端末は、光源の色温度を判定し、判定した色温度に応じた補助光をディスプレイに出射させることで、色温度が大幅に異なる光が被写体に照射されることを抑制できる。そのため、本携帯端末は、光源の誤判定を抑制できる。 By determining the color temperature of the light source and emitting auxiliary light corresponding to the determined color temperature to the display, the portable terminal can suppress the irradiation of the subject with light having a significantly different color temperature. Therefore, this mobile terminal can suppress erroneous determination of the light source.
上記プロセッサは、上記画像に含まれる被写体を特定し、特定した上記被写体に応じて上記補助光の色温度を補正してもよい。被写体によって好ましい色合いが異なることがある。本携帯端末は、被写体に応じて補助光の色温度を補正することで、撮影によって得られる画像を被写体毎により好ましい色合いとすることができる。 The processor may specify a subject included in the image and correct the color temperature of the auxiliary light according to the specified subject. The preferred hue may differ depending on the subject. By correcting the color temperature of the auxiliary light according to the subject, the mobile terminal can make the image obtained by shooting a more preferable color for each subject.
上記プロセッサは、上記カメラに撮影させた画像に対するホワイトバランスの調整を上記色温度を基に実行してもよい。本携帯端末では、ディスプレイに補助光を出射させる前に光源の色温度の判定が行われる。そのため、ホワイトバランスの調整において、補助光の影響を抑制することができる。 The processor may perform white balance adjustment for an image captured by the camera based on the color temperature. In this mobile terminal, the color temperature of the light source is determined before the auxiliary light is emitted to the display. Therefore, the influence of the auxiliary light can be suppressed in the adjustment of the white balance.
本実施形態に係る技術は、情報処理方法及び情報処理プログラムの側面から把握することも可能である。 The technique according to the present embodiment can also be grasped from the aspects of the information processing method and the information processing program.
以下、図面を参照して上記携帯端末をスマートフォンに適用した実施形態についてさらに説明する。図1は、実施形態に係るスマートフォンの外観の一例を示す図である。図1
は、スマートフォン100の一方から見た外観(前面側の外観とする)を例示する。スマートフォン100は、板状の筐体110を有する。図1で紙面に向かって上側が筐体110の上側であり、紙面に向かって下側が筐体110の下側であると仮定する。以下、本明細書において、筐体110の上下方向をY方向、Y方向と直交する筐体110の幅方向をX方向とも称する。
Hereinafter, an embodiment in which the mobile terminal is applied to a smartphone will be further described with reference to the drawings. FIG. 1 is a diagram showing an example of the appearance of a smartphone according to an embodiment. Figure 1
Illustrates the appearance (referred to as the front side appearance) seen from one side of the
スマートフォン100は、可搬型の情報処理装置である。筐体110の前面にはスピーカー111、マイクロフォン112、ディスプレイ113、タッチパネル114及びインカメラ115が設けられる。タッチパネル114は、ディスプレイ113に重畳して設けられる。タッチパネル114は、ディスプレイ113の全面を覆うように設けられることが好ましい。スピーカー111及びインカメラ115は、例えば、ディスプレイ113のX方向の中央上方に設けられる。ここで、インカメラ115の撮影方向は、ディスプレイ113の法線方向に向けられる。マイクロフォン112は、例えば、ディスプレイ113のX方向の中央下方に設けられる。なお、スマートフォン100の背面にはアウトカメラが設けられてもよい。
The
<スマートフォン100による写真撮影>
図2及び図3は、実施形態に係るスマートフォンを用いた写真撮影の様子を模式的に示す図である。図2及び図3では、部屋500でユーザ502の顔の写真撮影が行われる様子が例示される。部屋500には、部屋500の室内を照らす照明501が設置される。ユーザ502は、スマートフォン100のインカメラ115でユーザ502の写真撮影を行う。ここで、照明501からの光501aだけでは写真撮影には光量不足となる状況もあり得る。そこで、スマートフォン100は、ディスプレイ113に補助光113aを出射させることで、このような光量不足を補うことができる。ここで、照明501からの光501aの色温度と補助光113aの色温度とを一致させない場合、ユーザ502の顔には互いに異なる色温度の光が照射されることになる。
<Photographing with
2 and 3 are diagrams schematically showing a state of photography using a smartphone according to the embodiment. 2 and 3 illustrate how the face of the
図2では、互いに色温度が異なる光が照射されたことで、ユーザ502の顔に異なる色温度の光が混在したミックス光が照射される状態を例示する。図2は、ユーザ502の顔にミックス光が照射された状態を、ユーザ502の顔全体に設けた斜線によって例示する。このようなミックス光が照射された状態で光源判定が行われると、光源を誤判定する虞がある。光源を誤判定すると、オートホワイトバランスが正常に働かず、好ましい画像データを生成できなくなる虞がある。
FIG. 2 illustrates a state in which the face of the
図3では、互いに色温度が異なる光が照射されたことで、ユーザ502の顔の一部(顔の一部502a)には照明501からの光が照射され、他の一部(顔の一部502b)にはディスプレイ113からの光が照射された状態が例示される。図3は、顔の一部502aに設けた縦線と、顔の一部502bに設けた波線とで、異なる色温度の光が照射された状態を例示する。このような場合、顔の一部502aに照射された光を基に光源判定が行われると、画像データにおいて顔の一部502bの色合いが好ましいものとはならなくなる。また、顔の一部502bに照射された光を基に光源判定が行われると、画像データにおいて顔の一部502aの色合いが好ましいものとはならなくなる。
In FIG. 3, by irradiating light having different color temperatures from each other, a part of the face of the user 502 (part of the
このように、被写体(ユーザ502の顔)に対して、ディスプレイ113からの光の色温度と照明501の色温度とが異なると、インカメラ115から取得した画像データの色合いが好ましくならなくなる。例えば、ユーザの意図に反して、画像データの色合いが赤色に偏ったり青色に偏ったりする虞がある。そこで、スマートフォン100は、以下の処理ブロックを採用することで、被写体に対して光源の誤判定が生じることを抑制する。なお、図2及び図3では、照明501が設置された部屋500がスマートフォン100による写真撮影の撮影現場である例が示されたが、スマートフォン100による写真撮影の撮
影現場に限定は無い。スマートフォン100による写真撮影は、例えば、屋外で行われてもよい。
As described above, if the color temperature of the light from the
<スマートフォン100のハードウェア構成>
図4は、実施形態に係るスマートフォンのハードウェア構成の一例を示す図である。スマートフォン100は、Central Processing Unit(CPU)101、主記憶部102、補助記憶部103、通信部104、スピーカー111、マイクロフォン112、ディスプレイ113及びタッチパネル114を備える。CPU101、主記憶部102、補助記憶部103、通信部104、スピーカー111、マイクロフォン112、ディスプレイ113、タッチパネル114及びインカメラ115は、接続バスによって相互に接続される。
<Hardware configuration of
FIG. 4 is a diagram showing an example of the hardware configuration of the smartphone according to the embodiment. The
CPU101は、マイクロプロセッサユニット(MPU)、プロセッサとも呼ばれる。CPU101は、単一のプロセッサに限定されるわけではなく、マルチプロセッサ構成であってもよい。また、単一のソケットで接続される単一のCPU101がマルチコア構成を有していてもよい。CPU101が実行する処理のうち少なくとも一部は、CPU101以外のプロセッサ、例えば、Digital Signal Processor(DSP)、Graphics Processing Unit(GPU)、数値演算プロセッサ、ベクトルプロセッサ、画像処理プロセッサ等の専用プロセッサで行われてもよい。
The
また、CPU101が実行する処理のうち少なくとも一部は、集積回路(IC)、その他のデジタル回路によって実行されてもよい。また、CPU101の少なくとも一部にアナログ回路が含まれてもよい。集積回路は、Large Scale Integrated circuit(LSI)、Application Specific Integrated Circuit(ASIC)、プログラマブルロジックデバイス(PLD)を含む。PLDは、例えば、Field-Programmable Gate Array(FPGA)を含む。
Further, at least a part of the processing executed by the
CPU101は、プロセッサと集積回路との組み合わせであってもよい。組み合わせは、例えば、マイクロコントローラユニット(MCU)、System-on-a-chip(SoC)、システムLSI、チップセットなどと呼ばれる。スマートフォン100では、CPU101が補助記憶部103に記憶されたプログラムを主記憶部102の作業領域に展開し、プログラムの実行を通じて周辺装置の制御を行う。これにより、スマートフォン100は、所定の目的に合致した処理を実行することができる。主記憶部102及び補助記憶部103は、スマートフォン100が読み取り可能な記録媒体である。CPU101は、「プロセッサ」の一例である。
The
主記憶部102は、CPU101から直接アクセスされる記憶部として例示される。主記憶部102は、Random Access Memory(RAM)及びRead Only Memory(ROM)を含む。
The
補助記憶部103は、各種のプログラム及び各種のデータを読み書き自在に記録媒体に格納する。補助記憶部103は外部記憶装置とも呼ばれる。補助記憶部103には、オペレーティングシステム(Operating System、OS)、各種プログラム、各種テーブル等が格納される。OSは、通信部104を介して接続される外部装置等とのデータの受け渡しを行う通信インターフェースプログラムを含む。外部装置等には、例えば、コンピュータネットワーク等で接続された、他の情報処理装置及び外部記憶装置が含まれる。なお、補助記憶部103は、例えば、ネットワーク上のコンピュータ群であるクラウドシステムの一部であってもよい。
The
補助記憶部103は、例えば、Erasable Programmable ROM(EPROM)、ソリッドステートドライブ(Solid State Drive、SSD)、ハードディスクドライブ(Hard Disk Drive、HDD)等である。
The
通信部104は、例えば、情報処理装置を通信可能に接続するコンピュータネットワークとのインターフェースである。通信部104は、コンピュータネットワークを介して外部の装置と通信を行う。
The
スピーカー111は、音を出力する音源である。スピーカー111は、スマートフォン100を用いた通話において、通話相手の音声等の音を出力する。マイクロフォン112は、通話や動画の音声取得に用いられるマイクロフォンである。
The
ディスプレイ113は、CPU101で処理されるデータや主記憶部102に記憶されるデータを表示する。また、ディスプレイ113は、CPU101によって指定された色温度の光を出射することができる。ディスプレイ113は、例えば、Liquid Crystal Display(LCD)、Plasma Display Panel(PDP)、Electroluminescence(EL)パネル、有機ELパネルである。ディスプレイ113は、「ディスプレイ」の一例である。
The
タッチパネル114は、ユーザの指等によるタッチ操作を検知する。タッチパネル114がタッチ操作を検知する方式に限定は無い。タッチパネル114がタッチ操作を検知する方式としては、例えば、静電容量方式、抵抗膜方式、表面弾性波方式等を挙げることができる。スマートフォン100は、ディスプレイ113にタッチパネル114が重畳して設けられることで、直感的な操作環境をユーザに提供することができる。
The
インカメラ115は、Charge Coupled Device(CCD)センサやComplementary Metal Oxide Semiconductor(CMOS)センサ等のイメージセンサを備えるデジタルカメラである。インカメラ115は、入射する光をイメージセンサによって検知し、検知した光を基に画像データを生成する。以下、本明細書において、インカメラ115が生成する画像データを「rawデータ」とも称する。インカメラ115は、「カメラ」の一例である。
The in-
<スマートフォン100の処理ブロック>
図5は、実施形態に係るスマートフォンの処理ブロックの一例を示す図である。スマートフォン100は、光源判定部11、輝度検出部12、被写体検出部13、補助光制御部14、調整部15及び撮影部16を備える。スマートフォン100は、主記憶部102に実行可能に展開されたコンピュータプログラムをCPU101が実行することで、上記スマートフォン100の、光源判定部11、輝度検出部12、被写体検出部13、補助光制御部14、調整部15及び撮影部16等の各部としての処理を実行する。
<Processing block of
FIG. 5 is a diagram showing an example of a processing block of a smartphone according to an embodiment. The
光源判定部11は、インカメラ115の撮影範囲を照らす光源(例えば、照明501)の色温度を判定する。光源判定部11は、例えば、インカメラ115のセンサに入射する光の色温度を取得することで、光源の色温度を判定する。光源の色温度を判定する技術に限定は無く、公知の様々な技術を採用可能である。
The light
光源の種類と当該光源が出射する光の色温度の対応関係は既知である。例えば、ろうそくの炎の色温度は2000Kであり、朝日や夕日の色温度は2000Kから3000Kである。また、白熱電球の色温度は3000Kであり、昼白色の蛍光灯の色温度は5000
Kである。さらに、日中の太陽の色温度は5500Kである。くもり空の下における色温度は7000Kである一方で、晴天の空の下における色温度は12000Kである。光源判定部11は、予め補助記憶部103に記憶させた光源と色温度との対応を参照することで、判定した色温度を基に光源を判定することができる。
The correspondence between the type of light source and the color temperature of the light emitted by the light source is known. For example, the color temperature of a candle flame is 2000K, and the color temperature of the sunrise or sunset is 2000K to 3000K. The color temperature of the incandescent lamp is 3000K, and the color temperature of the neutral white fluorescent lamp is 5000.
It is K. Furthermore, the color temperature of the sun during the day is 5500K. The color temperature under a cloudy sky is 7000K, while the color temperature under a clear sky is 12000K. The light
輝度検出部12は、インカメラ115のセンサに入射する光の輝度を検出する。光の輝度は、インカメラ115のセンサに入射する光の強度ということもできる。輝度を検出する技術に限定は無く、公知の様々な技術を採用可能である。
The
被写体検出部13は、例えば、インカメラ115にrawデータを生成させる。被写体検出部13は、インカメラ115からrawデータを取得し、取得したrawデータに含まれる被写体の種類を検出する。被写体の種類としては、例えば、人物、動物、花、料理等を挙げることができる。被写体検出部13は、例えば、機械学習によって構築された学習モデルを用いて、被写体の種類を検出してもよい。
The
補助光制御部14は、光源判定部11が判定した色温度に応じた色温度の補助光をディスプレイ113に出射させる。ここで、補助光制御部14は、補助光を出射させるときは、ディスプレイ113の全面を同じ色温度の光で発光させればよい。補助光制御部14は、光源判定部11が判定した色温度に応じて補助光の色温度を決定する。補助光制御部14は、被写体検出部13が検出した被写体に応じて決定した補助光の色温度を補正してもよい。
The auxiliary
ここで、補助記憶部103には、被写体の種類と、補助光の色温度の補正値との対応関係が記憶されていてもよい。図6は、実施形態において補助記憶部に記憶される色温度補正テーブルの一例を示す図である。図6に例示される色温度補正テーブル131は、「被写体」及び「補正値」の各項目を含む。「被写体」には、被写体の種類を示す情報が格納される。「補正値」には、被写体検出部13によって検出された被写体が「被写体」に格納された被写体の種類と一致した場合に適用される色温度に対する補正値が格納される。
Here, the
補助光制御部14は、例えば、被写体検出部13によって検出された被写体に対応する補正値を色温度補正テーブル131から取得し、取得した補正値に基づいて補助光の色温度を補正することができる。
For example, the auxiliary
また、補助記憶部103には、輝度検出部12によって検出される輝度と、補助光の輝度とを対応関係が記憶されてもよい。そして、補助光制御部14は、このような対応関係を参照して、補助光の輝度を決定してもよい。そして、補助光制御部14は、撮影部16からの指示に応じて、決定した輝度及び補正した色温度の補助光をディスプレイ113に出射させればよい。なお、補助光制御部14は、輝度検出部12によって検出された輝度が光量が十分であることを示す閾値以上である場合には、補助光の出射を抑制してもよい。
Further, the
調整部15は、インカメラ115が生成するrawデータに対して、ホワイトバランスの調整を行って画像データを生成する。調整部15によるホワイトバランスの調整では、被写体のうち白色の部分が白色として画像データで表現されるように、rawデータに対する色合いの調整が行われる。画像データのファイル形式は、例えば、Joint Photographic Experts Group(JPEG)である。調整部15は、光源判定部11によって判定された光源を基に、ホワイトバランスの調整を行う。
The
撮影部16は、ユーザからの撮影指示を受けると、補助光制御部14に補助光を出射させた状態で、インカメラ115にrawデータを生成させる。そして、撮影部16は、生
成させたrawデータに対するホワイトバランスの調整及び画像データの生成を調整部15に実行させる。撮影部16は、調整部15によって生成された画像データを取得する。
Upon receiving a shooting instruction from the user, the
<スマートフォン100の処理フロー>
図7は、実施形態に係るスマートフォンの処理フローの一例を示す図である。以下、図7を参照して、スマートフォン100の処理フローの一例について説明する。
<Processing flow of
FIG. 7 is a diagram showing an example of a processing flow of a smartphone according to an embodiment. Hereinafter, an example of the processing flow of the
T1では、撮影部16は、ユーザからの撮影指示を受信する。撮影部16が撮影指示を受信することで、T2以降の処理が実行される。ユーザからの撮影指示は、例えば、ディスプレイ113に表示されたシャッターボタンに対するタッチ操作をタッチパネル114によって検知することで行われる。
In T1, the
T2では、光源判定部11は、インカメラ115の撮影範囲を照らす光源の色温度を判定する。光源判定部11は、判定した色温度を基に、撮影範囲を照らす光源を判定する。
In T2, the light
T3では、輝度検出部12は、インカメラ115のイメージセンサに入射する光の輝度を検出する。T4では、被写体検出部13は、インカメラ115にrawデータを生成させる。被写体検出部13は、生成させたrawデータを取得し、取得したrawデータに含まれる被写体を検出する。
In T3, the
T5では、補助光制御部14は、T2で判定した光源とT4で検出した被写体とを基に、ディスプレイ113に出射させる補助光の色温度を決定する。補助光制御部14は、さらに、T3で検出した輝度を基に、ディスプレイ113に出射させる補助光の輝度を決定する。
In T5, the auxiliary
T6では、補助光制御部14は、T5で決定した色温度及び輝度の補助光をディスプレイ113に出射させる。T7では、撮影部16は、T6での補助光が出射された状態で、インカメラ115にrawデータを生成させる。
In T6, the auxiliary
T8では、調整部15は、T7で生成されたrawデータに対し、T2で判定された光源を基にホワイトバランスの調整を行って、画像データを生成する。T9では、撮影部16は、T8で生成された画像データを取得する。撮影部16は、取得した画像データを補助記憶部103に記憶させてもよい。
In T8, the adjusting
<実施形態の作用効果>
本実施形態では、光源判定部11がインカメラ115の撮影範囲を照らす光源の色温度を判定し、判定した色温度を基にディスプレイ113に出射させる補助光の色温度が決定される。そのため、照明501のようなスマートフォン100とは異なる外部の光源の色温度とディスプレイ113に出射させる補助光の色温度とが異ならないように制御することができる。そのため、ユーザ502に例示される被写体にミックス光が照射されることが抑制される。
<Action and effect of the embodiment>
In the present embodiment, the light
本実施形態では、スマートフォン100は、ディスプレイ113から補助光を出射する前に、光源判定部11による光源の判定を行う。そのため、調整部15によるホワイトバランスの調整において、補助光の影響を抑制することができる。なお、本実施形態では、補助光の色温度は光源の色温度を基に決定される。そのため、補助光の出射前に判定した光源を基にホワイトバランスの調整が行われても、生成される画像データの色合いを好ましいものとすることができる。
In the present embodiment, the
本実施形態では、補助光制御部14は、被写体検出部13によって検出された被写体の
種類に応じて補助光の色温度を補正する。被写体の種類によっては画像データ全体の赤色を強くしたり青色を強くしたりした方が好ましい場合がある。例えば、被写体の種類が人物である場合、赤色を強くした方が健康的な肌色に見えやすくなる。また、被写体の種類が料理である場合には、赤色を強くした方が美味しそうな料理に見えやすくなる。スマートフォン100は、被写体の種類に応じて補助光の色温度を補正できるため、より好ましい画像データを生成することができる。
In the present embodiment, the auxiliary
本実施形態では、光源判定部11は、ディスプレイ113に補助光を出射させる前に光源の判定を行った。そのため、スマートフォン100は、補助光制御部14が補助光の色温度を補正しても、光源判定において誤判定が生じることを抑制できる。
In the present embodiment, the light
本実施形態では、ディスプレイ113に補助光を出射させることで、スマートフォン100がインカメラ115に対応する内蔵フラッシュを備えていない場合でも、暗所等においてインカメラ115で写真撮影する場合の光量不足を補うことができる。
In the present embodiment, by emitting auxiliary light to the
<変形例>
以上説明した実施形態では、補助光制御部14は、被写体検出部13によって検出された被写体の種類に応じて補助光の色温度を補正する。しかしながら、被写体検出部13による被写体を検出する処理や補助光制御部14による補助光の色温度を補正する処理は、省略されてもよい。このような場合、補助光制御部14は、光源判定部11によって判定された光源と同じ色温度の補助光をディスプレイ113に出射させればよい。
<Modification example>
In the embodiment described above, the auxiliary
以上説明した実施形態では、調整部15は、光源判定部11が判定した光源に基づいて、ホワイトバランスの調整を行った。しかしながら、調整部15によるホワイトバランスの調整は、このような処理に限定されない。調整部15は、例えば、光源判定部11が判定した光源の色温度に基づいて、ホワイトバランスの調整を行ってもよい。
In the embodiment described above, the adjusting
以上で開示した実施形態や変形例はそれぞれ組み合わせることができる。 The embodiments and modifications disclosed above can be combined.
<<コンピュータが読み取り可能な記録媒体>>
コンピュータその他の機械、装置(以下、コンピュータ等)に上記いずれかの機能を実現させる情報処理プログラムをコンピュータ等が読み取り可能な記録媒体に記録することができる。そして、コンピュータ等に、この記録媒体のプログラムを読み込ませて実行させることにより、その機能を提供させることができる。
<< Computer-readable recording medium >>
An information processing program that realizes any of the above functions in a computer or other machine or device (hereinafter referred to as a computer or the like) can be recorded on a recording medium that can be read by a computer or the like. Then, by having a computer or the like read and execute the program of this recording medium, the function can be provided.
ここで、コンピュータ等が読み取り可能な記録媒体とは、データやプログラム等の情報を電気的、磁気的、光学的、機械的、または化学的作用によって蓄積し、コンピュータ等から読み取ることができる記録媒体をいう。このような記録媒体のうちコンピュータ等から取り外し可能なものとしては、例えばフレキシブルディスク、光磁気ディスク、Compact Disc Read Only Memory(CD-ROM)、Compact Disc-Recordable(CD-R)、Compact Disc-ReWriterable(CD-RW)、Digital Versatile Disc(DVD)、ブルーレイディスク(BD)、Digital Audio Tape(DAT)、8mmテープ、フラッシュメモリなどのメモリカード等がある。また、コンピュータ等に固定された記録媒体としてハードディスクやROM等がある。 Here, a recording medium that can be read by a computer or the like is a recording medium that can store information such as data and programs by electrical, magnetic, optical, mechanical, or chemical action and can be read from a computer or the like. To say. Among such recording media, those that can be removed from a computer or the like include, for example, a flexible disc, an optical magnetic disc, a Compact Disc Read Only Memory (CD-ROM), a Compact Disc-Recordable (CD-R), and a Compact Disc-ReWriterable. (CD-RW), Digital Versaille Disc (DVD), Blu-ray Disc (BD), Digital Audio Tape (DAT), 8 mm tape, memory cards such as flash memory and the like. In addition, there are hard disks, ROMs, and the like as recording media fixed to computers and the like.
100:スマートフォン
101:CPU
102:主記憶部
103:補助記憶部
104:通信部
110:筐体
111:スピーカー
112:マイクロフォン
113:ディスプレイ
113a:補助光
114:タッチパネル
115:インカメラ
11:光源判定部
12:輝度検出部
13:被写体検出部
131:色温度補正テーブル
14:補助光制御部
15:調整部
16:撮影部
500:部屋
501:照明
501a:光
502:ユーザ
502a、502b:顔の一部
100: Smartphone 101: CPU
102: Main storage unit 103: Auxiliary storage unit 104: Communication unit 110: Housing 111: Speaker 112: Microphone 113:
Claims (5)
前記ディスプレイの法線方向に撮影方向が向けられたカメラと、
前記カメラから取得した画像を基に前記カメラの撮影範囲を照らす光源の色温度を判定し、前記色温度に応じた補助光を前記ディスプレイに出射させ、ユーザからの撮影指示に応じて前記補助光を前記ディスプレイに出射させた状態で前記カメラに撮影を実行させるプロセッサと、を備える、
携帯端末。 With the display
A camera whose shooting direction is directed to the normal direction of the display,
The color temperature of the light source that illuminates the shooting range of the camera is determined based on the image acquired from the camera, the auxiliary light corresponding to the color temperature is emitted to the display, and the auxiliary light is emitted according to the shooting instruction from the user. A processor that causes the camera to perform shooting in a state where the image is emitted to the display.
Mobile terminal.
請求項1に記載の携帯端末。 The processor identifies a subject included in the image and corrects the color temperature of the auxiliary light according to the identified subject.
The mobile terminal according to claim 1.
請求項1または2に記載の携帯端末。 The processor adjusts the white balance for the image captured by the camera based on the color temperature.
The mobile terminal according to claim 1 or 2.
前記カメラから取得した画像を基に前記カメラの撮影範囲を照らす光源の色温度を判定し、
前記色温度に応じた補助光を前記ディスプレイに出射させ、
ユーザからの撮影指示に応じて前記補助光を前記ディスプレイに出射させた状態で前記カメラに撮影を実行させる、
情報処理方法。 A processor of a mobile terminal equipped with a display and a camera whose shooting direction is directed to the normal direction of the display.
Based on the image acquired from the camera, the color temperature of the light source that illuminates the shooting range of the camera is determined.
Auxiliary light corresponding to the color temperature is emitted to the display.
The camera is made to perform shooting in a state where the auxiliary light is emitted to the display in response to a shooting instruction from the user.
Information processing method.
前記カメラから取得した画像を基に前記カメラの撮影範囲を照らす光源の色温度を判定させ、
前記色温度に応じた補助光を前記ディスプレイに出射させ、
ユーザからの撮影指示に応じて前記補助光を前記ディスプレイに出射させた状態で前記カメラに撮影を実行させる、
情報処理プログラム。
To the processor of a mobile terminal equipped with a display and a camera whose shooting direction is directed to the normal direction of the display.
Based on the image acquired from the camera, the color temperature of the light source that illuminates the shooting range of the camera is determined.
Auxiliary light corresponding to the color temperature is emitted to the display.
The camera is made to perform shooting in a state where the auxiliary light is emitted to the display in response to a shooting instruction from the user.
Information processing program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020177584A JP2022068742A (en) | 2020-10-22 | 2020-10-22 | Portable terminal, information processing method and information processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020177584A JP2022068742A (en) | 2020-10-22 | 2020-10-22 | Portable terminal, information processing method and information processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022068742A true JP2022068742A (en) | 2022-05-10 |
Family
ID=81459911
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020177584A Pending JP2022068742A (en) | 2020-10-22 | 2020-10-22 | Portable terminal, information processing method and information processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2022068742A (en) |
-
2020
- 2020-10-22 JP JP2020177584A patent/JP2022068742A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10027938B2 (en) | Image processing device, imaging device, image processing method, and image processing program | |
US9413939B2 (en) | Apparatus and method for controlling a camera and infrared illuminator in an electronic device | |
WO2019011090A1 (en) | White balance synchronization method and apparatus, and terminal device | |
KR102281256B1 (en) | Method for controlling white balance and an electronic device thereof | |
WO2011137731A2 (en) | Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment | |
JP3889017B2 (en) | System and method for correcting captured images | |
TW201711448A (en) | Camera temperature compensating system and smart terminal employing same | |
WO2017197865A1 (en) | Method and apparatus for detecting state of lens | |
CN104349033A (en) | Self-timer light supplement method, self-timer light supplement device and electronic equipment | |
CN110113536A (en) | A kind of screen light compensation method, device, storage medium and intelligent terminal | |
CN110149471A (en) | Control method, imaging device, electronic equipment, computer equipment and storage medium | |
CN110519485A (en) | Image processing method, device, storage medium and electronic equipment | |
TWI687812B (en) | Electronic device and operating method thereof | |
JP6921972B2 (en) | Image processing equipment, imaging equipment, image processing methods, imaging methods, and programs | |
CN113544734A (en) | Electronic device and method for adjusting color of image data by using infrared sensor | |
JP2015026931A (en) | Imaging apparatus, imaging method, and imaging program | |
CN106412449A (en) | Method for shooting light supplement and equipment | |
WO2018161568A1 (en) | Photographing method and device based on two cameras | |
CN104394329B (en) | A kind of photographic method, device and mobile terminal | |
CN109040729B (en) | Image white balance correction method and device, storage medium and terminal | |
CN111182208B (en) | Photographing method and device, storage medium and electronic equipment | |
JP2022068742A (en) | Portable terminal, information processing method and information processing program | |
KR20170048454A (en) | Image processing method and device | |
JP2018092350A (en) | Image processing apparatus, image processing method, and program | |
JP6214229B2 (en) | Imaging apparatus, imaging apparatus control method, image processing apparatus, and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20230808 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20230809 |