JP2010510717A - System and method for performing camera photometry based on skin color detection - Google Patents
System and method for performing camera photometry based on skin color detection Download PDFInfo
- Publication number
- JP2010510717A JP2010510717A JP2009537243A JP2009537243A JP2010510717A JP 2010510717 A JP2010510717 A JP 2010510717A JP 2009537243 A JP2009537243 A JP 2009537243A JP 2009537243 A JP2009537243 A JP 2009537243A JP 2010510717 A JP2010510717 A JP 2010510717A
- Authority
- JP
- Japan
- Prior art keywords
- camera
- spot
- color
- pixels
- skin color
- 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
Classifications
-
- 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/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B7/00—Control of exposure by setting shutters, diaphragms or filters, separately or conjointly
- G03B7/08—Control effected solely on the basis of the response, to the intensity of the light received by the camera, of a built-in light-sensitive device
-
- 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/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
-
- 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/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
- H04N23/661—Transmitting camera control signals through networks, e.g. control via the Internet
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Studio Devices (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
Description
本発明は写真技術に関し、特に、肌色(flesh tone)検出に基づきカメラ測光を実行するシステム及び方法に関する。 The present invention relates to photographic technology, and more particularly to a system and method for performing camera photometry based on flesh tone detection.
デジタルカメラの露出設定値はスポット測光(spot metering)に基づいて設定することができる。典型的なスポット測光技術では、カメラの視野のいくつかの部分又はカメラの視野全体を横断して照明レベルをモニタすることを含む。照明レベルが一体に統合化されて、照明状態が評価され、(フラッシュを使用する場合には)フラッシュ強度、絞り値(f-stop)、シャッタ速度などの露出設定値の調整が行われる。照明レベルの統合化において、カメラの一定の視野領域に高い重み付けが与えられる。例えば、カメラユーザは写真の所望のターゲットをカメラの視野の中心に置く傾向があるという定石の下、シーンの中心方形セクションに、視野の残り部分よりも高い重み付けを与える。 The exposure setting value of the digital camera can be set based on spot metering. A typical spot photometric technique involves monitoring the illumination level across some portion of the camera field of view or across the camera field of view. The illumination levels are integrated together and the lighting conditions are evaluated and exposure settings such as flash intensity, aperture value (f-stop) and shutter speed are adjusted (if a flash is used). In the integration of the illumination level, a high weight is given to a certain field of view of the camera. For example, the camera user gives a higher weight to the central square section of the scene than the rest of the field of view, under the prediction that the desired target of the photograph tends to be centered in the camera's field of view.
スポット測光が有効でないいくつかの状況が存在する。例えば、ユーザが人物写真の撮影を意図している場合で、(写真撮影のためにポーズをとっている人物の後ろにある樹木の暗い枝葉などの)測光スポットに暗いテーマが存在する場合、カメラは写真が暗いシーンのものになることを感知し、それに応じて露出設定値をセットしてしまうことがある。この結果、人物の顔が露出オーバーになることがある。同様に、測光スポットに明るいテーマが存在する場合には、顔が露出不足になることがある。上記双方の状況において、(前述の枝葉の例などの場合のような)比較的重要でない細部を良好に画像化することも可能ではあるが、この結果得られる写真の顔は明るすぎる(「色あせて(washed-out)」見える)ものになったり、暗すぎるものになったりする可能性がある。エリア測光にも同様の問題がある。 There are several situations where spot metering is not effective. For example, if the user intends to take a portrait photo and there is a dark theme in the photometric spot (such as the dark branches of a tree behind the person posing for the photo), the camera May sense that the photo is of a dark scene and set the exposure setting accordingly. As a result, the human face may be overexposed. Similarly, when a bright theme exists in the photometric spot, the face may be underexposed. In both of the above situations, it is possible to image relatively unimportant details (such as in the case of the above-mentioned branches), but the resulting photographic face is too bright (“fading” Can be washed-out) or too dark. There is a similar problem in area metering.
さらに、ほとんどのデジタルカメラは、アナログゲイン調整を採用して、アナログ/デジタル変換器(ADC)のダイナミックレンジを画像化シーンに「充たす」ようになっている。多くのADCは、コスト、感度、サイズ及び速度上の理由から、その範囲が制限されている(例えば、約8ビットワード)。顔の細部は、測光の結果、顔の画像が暗い領域又は明るい領域として得られる場合、ADCの範囲で動的に圧縮される傾向がある。特に、スポット測光、エリア測光、及びそれらの組み合わせにおいては、ADCの範囲内で動的に顔を中心に置くことができない場合が多い。というのは、1以上の人物の写真を撮影するとき、1又は2以上の顔がスポット測光に用いるスポットの中に納まりきらない場合があったり、1又は2以上の顔がエリア測光に効果的に影響を与えるのに十分な広さの領域をもたない場合があったり、カメラが誤った測光モード(カメラの場合に適用可能なものであったとしても)を選択したりする場合があるからである。したがって、測光は、カメラの視野に存在している人物の良質の画像化を行うための露出設定値の調整に失敗する場合がある。時として後処理により、動的に圧縮された写真の一部の改善が図られることがあるが、一旦圧縮に起因してデータを失えば、通常は鮮鋭度の復元は不可能となり、後処理によってノイズを生じることが知られている。 In addition, most digital cameras employ analog gain adjustment to “fit” the dynamic range of an analog / digital converter (ADC) into the imaging scene. Many ADCs are limited in their range (eg, about 8 bit words) for cost, sensitivity, size and speed reasons. Face details tend to be dynamically compressed in the range of the ADC when photometry results in a face image as a dark or bright area. In particular, in spot metering, area metering, and combinations thereof, it is often impossible to center the face dynamically within the range of the ADC. This is because when taking a picture of one or more persons, one or more faces may not fit within the spot used for spot metering, or one or more faces are effective for area metering. May not have an area large enough to affect the camera, or the camera may select the wrong metering mode (even if applicable for the camera) Because. Therefore, the photometry may fail to adjust the exposure setting value for high quality imaging of a person present in the camera's field of view. Sometimes post-processing may improve some of the dynamically compressed photos, but once the data is lost due to compression, it is usually impossible to restore sharpness and post-processing. Is known to produce noise.
カメラによっては、顔の細部を最適化するために露出設定値を手動で調整することが可能なものもある。しかし、ほとんどのカメラユーザは、カメラの設定を手動で調整するにはどのようなアクションをとればよいかについて精通してはいない。 Some cameras allow manual adjustment of exposure settings to optimize facial details. However, most camera users are not familiar with what actions should be taken to manually adjust camera settings.
写真品質の向上を図るためには、写真に現れる人物の改善された画像品質につながるカメラ測光の自動化システム及び方法に関する技術が必要である。本発明の一側面によれば、肌色検出を用いて、カメラ測光が実行され、これによって、写真に現れる顔や人物は高い精細度及び鮮鋭度を有するようになる。 In order to improve photographic quality, there is a need for technology relating to an automated system and method for camera photometry that leads to improved image quality of the person appearing in the photograph. According to one aspect of the present invention, camera photometry is performed using skin color detection, whereby a face or a person appearing in a photograph has high definition and sharpness.
本発明の1つの側面によれば、デジタルカメラの露出設定値を調整する方法は、カメラの視野の少なくとも一部から肌色画素を探索するステップと、肌色画素を分析して少なくとも1つの肌色スポットを特定するステップと、少なくとも1つの肌色スポットに前記視野の残りの部分よりも高い重み付けを与えて、前記カメラの視野のスポット測光を実行するステップと、前記スポット測光に基づいて前記露出設定値を調整するステップとを有する。 According to one aspect of the present invention, a method for adjusting an exposure setting value of a digital camera includes a step of searching for a skin color pixel from at least a part of a field of view of the camera, and analyzing the skin color pixel to obtain at least one skin color spot. Performing a spot metering of the camera field of view by assigning a higher weight to the at least one skin tone spot than the rest of the field of view, and adjusting the exposure setting based on the spot metering A step of performing.
本方法の一実施形態によれば、前記肌色画素の分析は、画素相互間の相対的近似性による肌色画素のグループ化を含む。 According to one embodiment of the method, the analysis of the flesh color pixels includes a grouping of flesh color pixels by relative approximation between the pixels.
本方法の一実施形態によれば、肌色スポット領域は少なくともしきい値割合の肌色画素を有する。 According to one embodiment of the method, the flesh color spot region has at least a threshold proportion of flesh color pixels.
一実施形態によれば、本方法はさらに、スポット測光を実行する前に肌色スポットのサイズを縮小するステップを有する。 According to one embodiment, the method further comprises the step of reducing the flesh spot size before performing spot metering.
一実施形態によれば、本方法はさらに、視野を画像化するセンサのRGB出力を個々の画素の座標ベースの色値に変換するステップを有する。 According to one embodiment, the method further comprises the step of converting the RGB output of the sensor that images the field of view into coordinate-based color values for the individual pixels.
本方法の一実施形態によれば、肌色の色調は座標ベースの色空間の所定部分によって定義される。 According to one embodiment of the method, the skin tone is defined by a predetermined portion of a coordinate-based color space.
本方法の一実施形態によれば、座標ベースの色空間の所定部分は楕円形である。 According to one embodiment of the method, the predetermined portion of the coordinate-based color space is elliptical.
本方法の一実施形態によれば、座標ベースの色空間の楕円形部分は方形の集合によって近似される。 According to one embodiment of the method, the elliptical portion of the coordinate-based color space is approximated by a set of squares.
一実施形態によれば、本方法は更に、肌色飽和が検出されるまで暗い方から明るい方へ露出設定値を反復して調整するステップを有する。 According to one embodiment, the method further comprises iteratively adjusting the exposure setting from dark to bright until skin color saturation is detected.
一実施形態によれば、本方法は更に、肌色飽和を検出した際に、反復調整の少なくとも一部を逆方向に実行するステップを有する。 According to one embodiment, the method further comprises performing at least a portion of the iterative adjustment in the reverse direction upon detecting skin color saturation.
本発明の他の側面によれば、カメラは、視野を画像化すると共に、複数の画素に対する輝度及び色を示す信号を出力するセンサと、肌色画素を特定するステップ、前記肌色画素を分析して少なくとも1つの肌色スポットを特定するステップ、少なくとも1つの肌色スポットに前記視野の残り部分よりも高い重み付けを与えて、前記カメラの視野のスポット測光を実行するステップ、前記スポット測光に基づいて露出設定値を調整するステップを実行することにより、前記カメラの露出設定値を調整するコントローラとを有する。 According to another aspect of the present invention, the camera images the field of view and outputs a signal indicating luminance and color for a plurality of pixels, a step of identifying the skin color pixel, and the skin color pixel is analyzed. Identifying at least one flesh-colored spot; giving at least one flesh-colored spot a higher weight than the rest of the field of view and performing spot metering of the camera field of view; an exposure setting based on the spot metering And a controller for adjusting an exposure setting value of the camera by executing the step of adjusting the camera.
前記カメラの一実施形態によれば、前記コントローラは露出設定値を調整する論理演算命令を実行する。 According to one embodiment of the camera, the controller executes a logic operation instruction that adjusts an exposure setting value.
前記カメラの一実施形態によれば、前記コントローラによる肌色画素の分析は、画素相互間の相対的近似性による肌色画素のグループ化を含む。 According to one embodiment of the camera, the analysis of the flesh color pixels by the controller includes a grouping of flesh color pixels by relative approximation between the pixels.
前記カメラの一実施形態によれば、肌色スポット領域は少なくともしきい値割合の肌色画素を有する。 According to one embodiment of the camera, the skin color spot region has at least a threshold ratio of skin color pixels.
前記カメラの一実施形態によれば、前記コントローラはスポット測光を実行する前に肌色スポットのサイズを縮小する。 According to one embodiment of the camera, the controller reduces the size of the flesh spot before performing spot metering.
前記カメラの一実施形態によれば、センサの出力値は個々の画素に対するRGB値のセットを含み、コントローラはセンサのRGB出力値を個々の画素に対する座標ベースの色値に変換する。 According to one embodiment of the camera, the sensor output value includes a set of RGB values for individual pixels, and the controller converts the sensor RGB output values to coordinate-based color values for the individual pixels.
前記カメラの一実施形態によれば、肌色は座標ベースの色空間の所定部分によって定義される。 According to one embodiment of the camera, the skin color is defined by a predetermined portion of a coordinate-based color space.
前記カメラの一実施形態によれば、前記コントローラは、肌色飽和が検出されるまで暗い方から明るい方へ露出設定値を反復して調整する。 According to one embodiment of the camera, the controller iteratively adjusts the exposure setting value from dark to bright until skin color saturation is detected.
前記カメラの一実施形態によれば、前記コントローラは肌色飽和を検出した際に、反復調整の少なくとも一部を逆方向に実行する。 According to one embodiment of the camera, when the controller detects skin color saturation, it performs at least a portion of the iterative adjustment in the reverse direction.
前記カメラの一実施形態によれば、前記カメラは、通信ネットワークを介して呼を確立するための無線回路を備えた移動無線端末の一部を形成する。 According to one embodiment of the camera, the camera forms part of a mobile radio terminal with a radio circuit for establishing a call over a communication network.
本発明のこれらの特徴並びにさらなる特徴は、以下の説明及び添付図面を参照することにより明らかになろう。以下の説明及び図面においては、本発明の原理を採用できる方法のうちのいくつかの方法を示すものとして本発明の特別の実施形態を詳細に開示しているが、これに対応して本発明の範囲がこれらの実施形態に限定されるものではないことを理解されたい。本発明は、特許請求の範囲の記載及びその主旨に含まれるあらゆる変更、修正、均等物を含む。 These and further features of the present invention will be apparent with reference to the following description and attached drawings. In the following description and drawings, specific embodiments of the present invention have been disclosed in detail to illustrate some of the ways in which the principles of the present invention can be employed. It should be understood that the scope of the present invention is not limited to these embodiments. The present invention includes all changes, modifications, and equivalents included in the description and the gist of the claims.
一実施形態に関して説明と例示の少なくともいずれかを行った上記特徴は、1以上の他の実施形態において、若しくは、その他の実施形態の特徴と組み合わせた形か、その他の実施形態の特徴の代わりの形かの少なくともいずれかの形で、同じ方法もしくは同様の方法で利用することが可能である。 The features described and / or illustrated with respect to one embodiment may be in one or more other embodiments, in combination with features of other embodiments, or in place of features of other embodiments. It can be used in the same or similar manner, at least in any form.
本明細書で使用される場合、「備える(comprises)」及び「備えている(comprising)」という用語は、言及された特徴、整数、ステップ又は構成の存在を特定するために用いられるが、これら以外の1以上の他の特徴、整数、ステップ、構成、又はこれらのグループの存在又は追加を排除するものではない、という点を強調しておく。 As used herein, the terms “comprises” and “comprising” are used to identify the presence of the mentioned feature, integer, step or configuration, but these It is emphasized that it does not exclude the presence or addition of one or more other features, integers, steps, configurations, or groups thereof.
以下図面を参照して本発明の実施形態を説明するが、同じ要素を指すために図面を通して同一の参照番号を用いることにする。これらの図は必ずしも縮尺どおりではないことは理解されたい。 Embodiments of the present invention will now be described with reference to the drawings, in which like reference numerals are used to refer to like elements throughout. It should be understood that these figures are not necessarily to scale.
本発明の一側面は写真技術に関するものである。本明細書に記載の技術は、デジタルスチルカメラを用いる写真撮影及びデジタルビデオカメラを用いるビデオ撮影に適用することができる。デジタルカメラにおいては静止画像と動画像の両方を撮影する機能を備えるようにすることも可能であることは理解できよう。本明細書に記載のような肌色検出を行うための好適なセンサをカメラが装備していれば、本明細書に記載の技術はフィルムカメラに関しても用いることが可能である。 One aspect of the present invention relates to photographic technology. The technology described in this specification can be applied to photography using a digital still camera and video photography using a digital video camera. It will be understood that a digital camera may be provided with a function for capturing both still images and moving images. If the camera is equipped with a suitable sensor for detecting skin color as described in this specification, the technique described in this specification can also be used for a film camera.
本明細書に記載の技術はカメラを含むあらゆるタイプの電子装置によって実行することができる。例えば、専用のスチルデジタルカメラ及び/又はビデオデジタルカメラを本発明に従って構成することが可能である。 The techniques described herein can be performed by any type of electronic device including a camera. For example, a dedicated still digital camera and / or video digital camera can be configured in accordance with the present invention.
多くの移動電話機には、本発明に基づいて構成できるカメラが含まれている。例えば、以下の説明はカメラアセンブリを含む移動電話機について行う説明である。ただし、本発明を移動電話機に限定する意図はなく、本発明があらゆるタイプの適当な電子機器に関するものであってもよいことは理解できよう。たとえば、専用のカメラ、カメラを含むメディア・プレイヤ、カメラを含むゲーム用装置、カメラを含むコンピュータなどが本発明に含まれうる。本明細書での説明の便宜上、交換可能な用語である「電子機器(electronic equipment)」と「電子装置(electronic device)」には携帯用無線通信機器が含まれるものとする。「携帯用無線通信機器」は、本明細書で以後「移動無線端末」と呼ぶことにするが、この用語には、移動電話機、ページャ、コミュニケータ、電子手帳、パーソナル・デジタル・アシスタント(PDA)、スマートフォン、携帯用通信装置等のようなすべての機器が含まれている。 Many mobile telephones include a camera that can be configured in accordance with the present invention. For example, the following description is for a mobile phone that includes a camera assembly. However, it will be appreciated that the invention is not intended to be limited to mobile telephones and that the invention may relate to any type of suitable electronic equipment. For example, a dedicated camera, a media player including a camera, a game device including a camera, a computer including a camera, and the like can be included in the present invention. For convenience of description herein, the interchangeable terms “electronic equipment” and “electronic device” include portable wireless communication equipment. A “portable wireless communication device” will be referred to hereinafter as a “mobile wireless terminal”, which includes a mobile phone, a pager, a communicator, an electronic notebook, a personal digital assistant (PDA). All devices such as smartphones, portable communication devices, etc. are included.
最初に図1から図3を参照すると、電子装置10が示されている。電子装置10には、測光を行い、カメラの視野に提示される肌色に基づいて露出設定値を調整するように構成されたカメラアセンブリ12が含まれている。カメラアセンブリ12の追加の詳細情報及び動作について以下でさらに詳述する。本明細書に記載の測光技術は、電子装置10に常駐し、かつ、電子装置10によって実行される実行可能プログラムとして実現することができる。一実施形態では、カメラアセンブリ12と電子装置10の少なくともいずれかは、コンピュータ又は機械可読媒体に記憶されたプログラムを実行するコントローラ又はプロセッサを含むものとすることができる。このプログラムは、スタンドアロン型ソフトウェアアプリケーションであってもよいし、あるいは、電子装置10と関係する追加タスクを実行するソフトウェアアプリケーションの一部を形成するものであってもよい。
Referring initially to FIGS. 1-3, an
例示の実施形態の電子装置は移動電話機であり、以下では移動電話機10と呼ぶことにする。移動電話機10は、「レンガ」型又は「ブロック」型のハウジングを有するものとして示されているが、(「フリップ」オープン型ハウジングなどの)シェル型ハウジング又はスライド型ハウジングのような他のタイプのハウジングを用いてもよい。
The electronic device of the illustrated embodiment is a mobile telephone and will be referred to as
移動電話機10はディスプレイ14を備える。ディスプレイ14は、動作状態、時刻、電話番号、連絡先情報、種々のナビゲーションメニューなどのような情報をユーザに対して表示する。これらの情報によってユーザは移動電話機10の種々の特徴を利用することが可能になる。ディスプレイ14を用いて、移動電話機10により受信した内容や、移動電話機10のメモリ16(図3)から取り出した内容を、視覚的に表示することも可能である。ディスプレイ14は、画像、ビデオ映像、写真、移動体用テレビコンテンツ、ゲーム関連のビデオ画像のようなグラフィック画像をユーザに提示するために用いることができる。また、ディスプレイ14は、カメラアセンブリ12用の電子ファインダとして使用することも可能である。
The
キーパッド18はユーザによる入力操作を可能にする。例えば、キーパッド18には通常、電話番号、電話リスト、連絡先情報、メモなどのような英数字情報の入力を可能にする英数字キーが含まれている。さらに、キーパッド18には通常、呼を起動したり、呼に応答したりするための、「呼送信」キー、「呼終了」キー又は呼の「停止」キーのような特別のファンクションキーが含まれている。特別のファンクションキーが、ディスプレイ14に表示されるメニューを通じてナビゲーションを容易にするメニューナビゲーションキーと、選択キーとを含むようにしてもよい。特別のファンクションキーは、再生の開始、停止及び一時停止と、トラックのスキップ又は反復などを行うための視聴覚コンテンツ再生キーを含むようにしてもよい。移動電話機と関連づけられる他のキーとして、音量キー、音声ミュートキー、電源オン/オフキー、ウェブブラウザ開始キーなどを含むものも考えられる。ディスプレイと連携するソフトキーとして、キーのいくつか又はすべてを使用するようにしてもよい。ディスプレイ14に関連づけられたタッチスクリーンとしてキー又はキー様の機能を実装することも可能である。カメラアセンブリ12を起動させると、キーパッド18からキーを用いて、カメラアセンブリ12の動作を制御することが可能となる。例えば、これらのキーのうちの1つはシャッタキーとして機能することができるし、他のキーはカメラアセンブリのズームを制御することができる。
The
移動電話機10には、移動電話機10が通常他の移動電話機か、有線電話機である被呼/発呼装置と呼を確立するか、信号を交換するかの少なくともいずれかを行うことを可能にする発呼回路が含まれている。しかし、被呼/発呼装置は、他の電話機である必要はなく、インターネットウェブサーバ、コンテンツ提供サーバなどのような他の何らかの装置であってもよい。呼は任意の好適な形をとることが可能である。例えば、呼はセルラ回線交換ネットワークを介して確立される通常の呼であってもよいし、あるいは、セルラネットワークのパケット交換機能を介して、あるいは、WiFi、WiMAX、等のような他のパケット交換ネットワークを介して確立されるボイス・オーバ・インターネットプロトコル(VoIP)電話であってもよい。別例として、セルラネットワーク又は他のネットワークを介して確立されるテレビ電話がある。
The
移動電話機10は、(シンプルなメッセージサービスを表す、口語で「SMS」と呼ばれることもある)テキストメッセージ、電子メールメッセージ、(マルチメディアメッセージサービスを表す、口語で「MMS」と呼ばれることもある)マルチメディアメッセージ、画像ファイル、ビデオファイル、オーディオファイル、着信音、ストリーミングオーディオ、ストリーミングビデオ、(ポッドキャストを含む)データフィードなどのようなデータの送信、受信、処理を行うように構成することができる。このようなデータの処理ステップは、データとのユーザインタラクションを可能にするためにデータをメモリ16に記憶するステップ、アプリケーションを実行するステップ、データに関連づけられたビデオや画像の内容を表示するステップ、データに関連づけられたオーディオサウンドを出力するステップ、を含むものであってもよい。
The
図3は移動電話機10の機能ブロック図である。簡潔さを旨として、移動電話機10の一般に従来からある特徴については本明細書では詳細には説明しない。移動電話機10は、移動電話機10の機能及び動作全体の制御を実行するように構成された制御回路20を含む。制御回路20は、CPU、マイクロコントローラ、マイクロプロセッサなどの処理装置22を含みうる。処理装置22は、制御回路20内のメモリ(図示せず)内、あるいは、メモリ16のような独立のメモリ内に記憶されたプログラムコードを実行し、移動電話機10の動作を行うことを目的とするものである。メモリ16は、例えば、バッファメモリ、フラッシュメモリ、ハードディスクドライブ、リムーバブルメディア、揮発性メモリ、不揮発性メモリなどの好適な装置で実現可能である。
FIG. 3 is a functional block diagram of the
引き続き図1から図3を参照すると、移動電話機10には、無線回路26と結合されたアンテナ24が含まれている。一般に行われているように、無線回路26には、アンテナ24を介して信号の送受信を行うための無線周波数送受信機が含まれる。無線回路26は、移動通信システムにおいて動作するように構成することができ、さらに、データと視聴覚コンテンツとの少なくともいずれかの送受信を行うために用いることができる。移動無線ネットワークと放送ネットワークの少なくともいずれかのネットワークとのインタラクションを行うための受信機には、GSM、CDMA、WCDMA、GPRS、MBMS、WiFi、WiMAX、DVB−H、ISDB−Tなどと、これらの標準規格の上位バージョンとが含まれるが、これらのみに限定されるわけではない。
With continued reference to FIGS. 1-3, the
移動電話機10には、無線回路26によって送信された音声信号と、無線回路26から受信される音声信号とを処理するための音声処理回路28がさらに含まれる。一般に行われているように、移動電話機10を介してユーザが聴き、かつ、通話できるスピーカ30及びマイクロホン32が音声処理回路28と結合されている。無線回路26及び音声処理回路28は、処理全体の実行を意図して制御回路20と個々に結合される。ユーザへの再生用として制御回路20から音声処理回路28へ音声データを渡すことができる。音声データは、メモリ16に記憶され、さらに、制御回路20によって取り出された音声ファイルから得られる音声データ、又は、移動無線サービスからストリーミング音声データの形などで受信された音声データなどを含むものであってもよい。音声処理回路28は任意の適当なバッファ、デコーダ、増幅器などを含む。
The
ディスプレイ14は、ディスプレイ14を駆動するために用いられるビデオデータをビデオ信号に変換する映像処理回路34によって制御回路20と結合することができる。映像処理回路34は、任意の適当なバッファ、デコーダ、ビデオデータプロセッサなどを含む。上記ビデオデータは、制御回路20によって生成され、メモリ16内に記憶されたビデオファイルから取り出され、無線回路28によって受信された着信ビデオデータストリームから導き出され、あるいは、他の好適な方法によって取得されてもよい。
The
移動電話機10は1つ以上のI/Oインタフェース36をさらに含む。I/Oインタフェース36は、典型的な移動電話機用I/Oインタフェースでよく、1つ以上の電気コネクタを含むものであってもよい。一般に行われているように、I/Oインタフェース36を用いて、移動電話機10内において電力供給装置(PSU)38のバッテリを充電する移動電話機10をバッテリ充電器と結合させるようにしてもよい。さらに加えて、あるいは代替例において、I/Oインタフェース36は、移動電話機10との有線インタフェースを有する移動電話機10を個人用ハンズフリー(PHF)装置などのヘッドセットアセンブリと接続する役割を果たすものである。さらに、I/Oインタフェース36は、データ交換を行うためのデータケーブルを介して移動電話機10をパーソナルコンピュータ又は他の装置と接続する役割を果たす。移動電話機10は、車輌用電源アダプタ又は電気コンセントの電源アダプタに接続されているときは、I/Oインタフェース36を介して動作電力を受け取ることができる。
The
移動電話機10はタイミング機能を実行するタイマ40も含む。これにより、呼の継続時間の計時、タイムスタンプや日付スタンプの生成などを行うことができる。移動電話機10は、GPS受信機、ガリレオ衛星システム受信機等の位置データ受信装置42も含む。
The
移動電話機10は、赤外線トランシーバや(ブルートゥースアダプタなどの)RFアダプタなどのローカル無線インタフェース44で、アクセサリ、他の移動無線端末、コンピュータ又は他の装置との通信を確立するための無線インタフェース44も含む。例えば、ヘッドセットアセンブリが対応する無線インタフェースを備える実施形態においては、ローカル無線インタフェース44は移動電話機10を(PHF装置などの)ヘッドセットアセンブリと作動的に結合することができる。
The
さらに図4を参照すると、移動電話機10は、通信システム46の一部として動作するように構成されている。通信システム46は、移動電話機10によって送信され、移動電話機10へ向けて送られる呼を管理し、データを移動電話機10へ送信し、かつ、他の任意のサポート機能を実行するためのサーバ(又は複数のサーバ)50を有する通信ネットワーク48を含む。サーバ50は送信媒体を介して移動電話機10と通信を行う。送信媒体は、例えば、(セルタワーなどの)通信タワー、他の移動電話機、無線アクセスポイント、衛星などを含む任意の適当な装置又はアセンブリでありうる。ネットワークの一部は無線伝送路を含むものであってもよい。ネットワーク48は複数の移動電話機10及び他のタイプのエンドユーザ装置の通信活動をサポートすることができる。サーバ50はサーバ機能を実行するために用いられる一般的なコンピュータシステムとして構成することが可能であり、たとえば、サーバ50の機能を具現化する論理演算命令を含むソフトウェアを実行するように構成されたプロセッサと、このようなソフトウェアを記憶するためのメモリとを含む。
Still referring to FIG. 4, the
引き続き図1から図3を参照すると、カメラアセンブリ12はデジタル信号プロセッサ(DSP)などのコントローラ52を含む。他の実施形態では、コントローラ52によって実行されるものとして記載されているカメラアセンブリ12の制御機能の一部又は全部は、制御回路20により実行可能であり、さらにコントローラ52を小型化したり、省いたりすることが可能である。コントローラ52は、測光処理及び露出設定値(但しこれらのみに限定されるわけではない)の管理を含むカメラアセンブリ12の動作の種々の側面を制御するものである。コントローラ52は、カメラアセンブリ12によってキャプチャされた画像データ、ビデオデータの記憶を調整することができる。例えば、メモリ16によって、画像データ又はビデオデータを、対応する画像ファイル又はビデオファイルに記憶することができる。
With continued reference to FIGS. 1-3, the
コントローラ52は、カメラアセンブリ12の制御機能を実装するためプログラムを実行することができる。本明細書に記載の諸機能を作動させ、カメラアセンブリ12の制御と連携して論理機能を作動させ、実行するために、カメラ又は移動電話機をプログラムする方法は、コンピュータプログラミング、特に、カメラ、移動電話機、その他の電子装置用のアプリケーションプログラミングの当業者には明らかであろう。したがって、具体的なプログラミングコードに関する詳細については省略する。また、本発明の好ましい実施形態に従ってコントローラ52によってこのようなプログラムコードを実行する他に、専用のハードウェア、ファームウェア、ソフトウェア、又はこれらの組み合わせによって本発明の範囲から逸脱することなく上記のような機能を実行することも可能である。
The controller 52 can execute a program to implement the control function of the
例示の実施形態では、カメラアセンブリ12はカメラアセンブリの結像光学系56によって画定された視野を画像化するセンサ54を用いたデジタルカメラである。露出計58は視野の両端にわたる照明状態を検出する。フラッシュ60は写真撮影中に補助の照明を提供する。
In the illustrated embodiment, the
さらに図5及び図6を参照すると、肌色検出に基づくカメラ測光を実行する方法を実現する論理処理の一例が示されている。この方法例は、例えばコントローラ52を用いてプログラムコードを実行することにより実行することができる。したがって、図5及び図6のフローチャートは、カメラアセンブリ12により実行される方法を描いているものと考えることができる。図5及び図6は、機能論理ブロックを実行するある特定の順序を示すものではあるが、ブロックの実行指令の順序は、示された順序に対応して変更することも可能である。また、連続して示される2以上のブロックを同時に又は部分的一致によって実行してもよい。或る種のブロックは省くことも可能である。さらに、強化されたユーティリティ、課金、パフォーマンス、測定、トラブル・シューティング等を目的として、任意の数の機能、論理処理、コマンド、状態変数、セマフォ、又はメッセージを処理に追加することが可能である。すべてのこのような変更例は本発明の範囲内に属するものとして理解されたい。
With further reference to FIGS. 5 and 6, there is shown an example of logical processing that implements a method for performing camera photometry based on skin color detection. This example method can be executed by executing the program code using the controller 52, for example. Accordingly, the flowcharts of FIGS. 5 and 6 can be considered to depict the method performed by the
肌色画素を特定するブロック62において、肌色検出に基づくカメラ測光を実行する方法のための処理を開始する。肌色画素を特定するための詳細なアプローチを図6に示す。例示のアプローチによって、個々の画素が肌色の色調を含んでいるか否かが逐次判定されるが、理解されるように、複数の画素に対してこの判定を同時に行うことが可能である。画素値のセットが受信されるブロック64において、肌色画素を判定するための処理を開始する。例えば、センサ54は、コントローラ52へ入力される画素に対応する赤、緑、青(RGB)値のセットを出力する。
In
ブロック66において、画素に対応するRGB値セットは、CIEカラーチャート(又は色空間)値に変換される。例えば、RGB値セットはYUV値セットに変換することができる。YUV値はカラーチャートの座標系に関する値であり、Y値はルミナンス(輝度)を示し、U及びV値はクロミナンス(カラー)成分又はXYスタイルのカラープレーン上のポイントを表す。プレーンの右上の象限(UとV双方の正の値)は一般に紫色を含み、プレーンの右下の象限(Uの正の値及びVの負の値)は一般に青色を含み、プレーンの左上の象限(Uの負の値及びVの正の値)は一般に赤色、オレンジ色及び黄色を含み、そして、プレーンの左下の象限(UとV双方の負の値)は一般に緑色を含む。但し、これらのカラーはプレーンの両端にわたって一緒に混ざり合う傾向がある。RGBからYUVへの変換、並びに、YUVから元のRGBへの変換は一次式を用いて行うことができる。例えば、RGBの既知の値を用いて、式1〜3を解き、YUV値を導き出すことができる。
At
Y=0.30R+0.59G+0.11B (式1)
U=0.70R−0.59G−0.11B (式2)
V=−0.3R−0.59G+0.89B (式3)
Y = 0.30R + 0.59G + 0.11B (Formula 1)
U = 0.70R-0.59G-0.11B (Formula 2)
V = −0.3R−0.59G + 0.89B (Formula 3)
U及びV値には輝度成分は含まれていない。R、G、Bの値が全く同じであれば、グレーカラーが定義され、対応するU及びV値は0になる。また、Y値の変化に対応して色が変化することはなく、かつ、色の変化に対応して輝度が変化することもない。他の色空間系では、Yが輝度であり、チルトされた放物線の色空間色度図上でxとyが色を表すYxy座標が用いられる。このYxy座標では、外側の曲線部はスペクトルの(又は単色の)軌跡である。本明細書に記載の技法を修正して、YUV表示の代わりに画素値のセットを示すYxy表示を用いることも可能である。カメラアセンブリ12の中に含まれている特別のセンサ54に応じてYUV色表示を決めることができること、及び、輝度と色との間の変換を調整して、専用のカメラアセンブリ12の補正を行うことが可能であることに留意されたい。
The U and V values do not include a luminance component. If the values of R, G, B are exactly the same, a gray color is defined and the corresponding U and V values are zero. Further, the color does not change corresponding to the change of the Y value, and the luminance does not change corresponding to the color change. In other color space systems, Y is the luminance, and Yxy coordinates where x and y represent colors on the tilted parabola color space chromaticity diagram are used. In this Yxy coordinate, the outer curved portion is a spectral (or monochromatic) locus. It is also possible to modify the techniques described herein to use a Yxy display that shows a set of pixel values instead of a YUV display. The YUV color display can be determined in response to a special sensor 54 included in the
ブロック68において、画素が画像の肌色部分に対応しているか否かに関する判定を行う。例えば、Yの最大値を255とするとき、代表的な肌色は188、42、−32又は152、22、−27のYUV値を有する。一実施形態では、画素のUV値がUVプレーンの所定の方形部分に配置されている場合、画素は肌色に関連づけられるように決定することができる。例えば、21と43の間のU値、及び、−22と−33の間のV値を有するものとして肌色を定義することができる。他の実施形態では、肌色に関連づけられたUVプレーンの一部は、楕円又は楕円に近似した連続する方形の集合のような非方形であってもよい。例えば、肌色はある一定のUV座標で中心に置かれた1以上の最小弁別値(JND)に関連づけることができる。例えば、Yxy色値を用いる場合、0.37、0.27のxy座標で中心に置かれた5つのJND(5×JND)の楕円サイズを用いて肌色を決定することができる。1又は2以上のJND領域に含まれる値は公的に利用可能なソースから取得することができる。カメラ測光の駆動を目的として肌色に関連づけられた値の範囲は(例えば、センサ構成の変動を考慮するための)ある特定のカメラアセンブリと、ある特定のカメラの消費マーケットとの少なくともいずれかのために調整を行うことができる。 At block 68, a determination is made as to whether the pixel corresponds to a skin color portion of the image. For example, when the maximum value of Y is 255, typical skin colors have YUV values of 188, 42, -32 or 152, 22, -27. In one embodiment, a pixel can be determined to be associated with a skin color if the pixel's UV value is located in a predetermined rectangular portion of the UV plane. For example, the skin color can be defined as having a U value between 21 and 43 and a V value between −22 and −33. In other embodiments, the portion of the UV plane associated with the skin color may be non-rectangular, such as an ellipse or a set of continuous squares that approximate an ellipse. For example, skin color can be associated with one or more minimum discrimination values (JND) centered at certain UV coordinates. For example, when the Yxy color value is used, the skin color can be determined using five JND (5 × JND) ellipse sizes centered at xy coordinates of 0.37 and 0.27. Values contained in one or more JND regions can be obtained from publicly available sources. The range of values associated with skin color for the purpose of driving camera photometry is for a particular camera assembly (eg to account for sensor configuration variations) and / or a consumer market for a particular camera. Adjustments can be made.
上記の技術に基づけば、人種にかかわりなく、ほとんど全ての人の肌色画素を特定することが可能であることは当業者には理解されよう。すなわち、ヨーロッパ系の子孫、アフリカ系の子孫及びアジア系の子孫の人々は一般に、同じ肌の色を有しているが、皮膚の色素の量は異なっている。UV及びxy色値方式は、色素レベルによって影響を受ける皮膚の色調検出に用いることができるものである。しかし、肌の露出オーバーの画像や肌の露出不足の画像は肌色を含んでいるものとして特定されない場合があることに留意されたい。例えば、白色人種の被写体の露出オーバーの肌は、255の最大値Y値が存在するYUV値253、−2、−2を有する場合がある。したがって、肌の明反射オフ及び極度に影が付けられた肌の一部はブロック68において肯定の判定が得られなくなる可能性がある。以下さらに明らかになるように、上記のような画素を肌色の領域から排除することは、1以上の特定可能な肌色スポットと、照明状態に関連する露出設定値の確立時の対応する改善とに基づいて行われるスポット測光の駆動につながる場合がある。 Those skilled in the art will appreciate that based on the above technique, it is possible to identify skin color pixels of almost any person, regardless of race. That is, European offspring, African offspring and Asian offspring generally have the same skin color, but differ in the amount of skin pigment. UV and xy color value schemes can be used to detect skin tone affected by pigment levels. However, it should be noted that an overexposed or underexposed image of the skin may not be identified as containing skin color. For example, overexposed skin of a white race subject may have YUV values 253, -2, -2 where a maximum Y value of 255 exists. Accordingly, a positive determination may not be obtained at block 68 for a portion of the skin that is lightly reflective off and extremely shaded. As will become more apparent below, excluding such pixels from the skin color region will result in one or more identifiable skin color spots and corresponding improvements when establishing exposure settings related to lighting conditions. It may lead to driving of spot metering performed based on this.
ブロック68において否定の判定が行われた場合、処理はブロック70へ進む。ブロック70では、肌色を含んでいないものとして画素にタグが付けられる。上記とは別に、例えば画素の輝度値及び色値をすべて黒で表すようにセットすることによって画素を「ゼロ化」することも可能である。ブロック68において肯定の判定が行われた場合は、処理はブロック72に進み、肌色を含んでいるものとして画素にタグが付けられる。画素は人物の肌又は同じ様に色付けされたオブジェクトに関連づけることができることを認識されたい。後続する処理を用いて、カメラアセンブリ12の視野の測光を駆動する際に有効になり得る潜在的本体部分の構造が特定される。
If a negative determination is made at block 68, processing proceeds to block 70. In
ブロック70及び72に続いて、処理は、センサ54の出力側から得られる最後の画素がブロック62の肌色画素の特定プロセスに付されたかどうかに関する判定を行うブロック74へ進む。一実施形態では、カメラアセンブリ12の視野から得られるすべての画素は肌色画素の特定プロセスの対象となる。他の実施形態では、選択された画素のセットが肌色画素の特定プロセスの対象となる。例えば、ほとんどのユーザは人間の被写体を写真の中心に置く傾向があると想定される。したがって、カメラアセンブリ12の視野の中心領域の外側の視野の部分は、肌色画素の特定プロセス時に、及び、以下で説明する後続する肌色画素の分析時に除外することができる。ブロック74において否定の判定が行われた場合、処理はブロック64へ戻る。ブロック74において肯定の判定が行われた場合、処理は本方法の肌色画素の分析へ進む。
Following
引き続き図5、図6を参照すると、肌色画素がブロック62において特定されると、処理はブロック76へ進み、このブロックにおいて、肌色画素の分析が行われる。肌色画素の分析への詳細なアプローチを図6に示す。この分析は、色調画素からなる1以上の肌色グループを用いて、カメラアセンブリ12の視野の測光を駆動して、露出設定値の確定へ導くようにすることが望ましいかどうかを判定するものである。
With continued reference to FIGS. 5 and 6, once the flesh color pixel is identified in
肌色画素の分析を行うための処理はブロック78から開始し、このブロックにおいて、肌色を含むものとしてブロック72で特定された画素がグループ化される。このグループ化は、所定の距離未満の距離だけ離れている他の肌色画素と個々の肌色画素を関連づけることによって確定することができる。画素に対する複数の関連付けに起因して所定の距離以上のグループを確定することができる。このグループによって占有された領域は連続している必要はない(例えば、グループの領域は肌色を有していない画素を含むものであってもよい)。
The process for analyzing skin color pixels starts at
個々のグループは関連付けられた形状を有するものとすることができる。被写体の体の部分は明瞭に定義された形状を有していないものであってもよいが、それでも普通の形状として大まかな特定が可能な、カメラアセンブリ12の視野領域を占有することになる。例えば、顔は楕円形の形状であり、衣類によって覆われていない(腕又は脚などの)手足は細長い形状を有しており、衣類によって覆われていない胴体は方形の形状を有しており、V字状のネックラインによって露出された胴体部分は三角形の形状を有する、など。また、肌色を含む無生物のオブジェクトに対応する画素はそのオブジェクトに対応する幾何学的形状を有するものとすることができる。
Individual groups can have associated shapes. Although the body part of the subject may not have a clearly defined shape, it will still occupy the field of view of the
ブロック80において、カメラ測光の駆動に用いる複数の肌色スポットのうちの1つを特定するために、肌色画素のグループは相互に評価され又は識別基準と評価される。孤立した肌色画素、又は、あるしきい値数(例えば約20個のしきい値)未満の他の肌色画素によってグループ化された肌色画素は、カメラ測光を駆動するのに適した人間の被写体の一部を表すには狭すぎる領域に係るものとして無視してよい。一実施形態では、(例えば、視野計で測光した直線又は一様な曲線によって画定されるような)明瞭に画定された幾何学的形状を有する肌色画素のグループは無生物の被写体に対応する領域に係るものとして無視される。
In
分析において、肌色画素グループは、人間の目、唇、歯、顔の毛、メーキャップ、宝石などに適応できるように異なる色調を含むようにされる。一実施形態では、肌色画素グループを含む領域が所定のしきい値割合以上の画素を有していれば、1又は2以上の人物の一部がカメラアセンブリ12の視野の対応するスポットに配置されていると結論してもよい。一実施形態では、しきい値は50%とすることができる。他の実施形態では、しきい値は60%であってもよい。他の実施形態では、しきい値は70%であってもよい。そして、1つの他の実施形態では、しきい値は80%であってもよい。肌色画素がしきい値割合未満である画素グループは、カメラ測光の便宜上、無視するか、肌色スポットよりも低い重み付けを与えるようにしてもよい。
In the analysis, the skin color pixel groups are made to include different tones so that they can be adapted to human eyes, lips, teeth, facial hair, makeup, jewelry and the like. In one embodiment, if the area containing the flesh tone pixel group has pixels that are greater than or equal to a predetermined threshold percentage, a portion of one or more people is placed in a corresponding spot in the field of view of the
残りの複数グループの画素を分析して、カメラ測光時に用いる1以上のグループを選択することができる。例えば、カメラアセンブリ12の視野の中心に最も近い位置に配置された肌色領域に対する基本設定を行うことができる。視野の中心に最も近い位置に配置された肌色グループの方に、測光の便宜上、他の肌色領域よりも高い重み付けを与える。あるいは、測光中にさらに多くの末端のグループを無視してもよい。別例として、手足と胴体に優先して顔に対する基本設定を作成することができる。本実施形態では、写真撮影する人物について上方を上にした状態において、他の1以上のグループの上方に位置する1以上のグループがカメラ測光時に用いるために選択できると仮定される。手足及び胴体に優先して顔に対する基本設定の方をセットする他の方法として、一般に、他の形状のグループに優先して楕円形状のグループの方を選択する方法がある。1つのアプローチでは、これらの方法の下で顔に関連しないグループを無視して測光を実行するようにしてもよい。あるいは、他のアプローチでは、これらの方法の下で顔に関連しないグループは、測光時に含まれるようにしてもよいが、顔に関連するグループよりも低い重み付けが与えられることになる。
The remaining plurality of groups of pixels can be analyzed to select one or more groups for use in camera photometry. For example, the basic setting can be performed for the skin color region arranged at the position closest to the center of the visual field of the
例示の方法が示すように、ブロック80の特定プロセスは、カメラ測光時に用いるための肌色グループの数を減らす、あるいは、個々のグループに対して与える重み付けのランクを確定することができる。他の実施形態では、すべての画素又はしきい値以上の数の画素グループに関連づけられたすべての画素を、相対的なサイズ、形状、位置、割合、などにかかわりなく測光に使用するようにしてもよい。これらのアプローチのうちのいずれかにおいて、2以上の肌色スポットが特定された場合、それらの肌色スポットのうちの1つを選択してカメラ測光に用いる、肌色スポットのうちのいくつかのスポットを選択してカメラ測光に用いる、あるいは、肌色スポットのすべてを選択してカメラ測光に用いる、ことができる。図示のように、複数の肌色スポットをカメラ測光に用いる場合、肌色スポットに対して、該スポットの相対的サイズ、形状、位置の少なくともいずれかに応じて異なる測光上の重み付けを与えることができる。
As the exemplary method shows, the specific process of
図5のフローチャートに戻る。処理はブロック82へ進む。このブロック82において、ブロック76の分析を通じて特定されたいずれかの肌色スポットが、カメラ測光の使用に適しているかどうかについて判定が行われる。否定の判定が行われた場合、処理はブロック84へ進み、このブロックにおいて、従来方式のスポット測光やエリア測光などの通常の方法でカメラ測光を実行する。
Returning to the flowchart of FIG. Processing continues at
ブロック82において肯定の判定が行われた場合、処理はブロック86へ進み、このブロックにおいて、カメラ測光に用いる1以上の肌色スポットのサイズを変更又は整形する。サイズの変更又は整形を行うステップにより、1以上のスポットの配列を構成して、測光に関連づけられた処理を容易に行うことが可能となる。例えば、方形又は他のポリゴンは、肌色スポットに関連づけられた不規則な形状よりも容易に処理することができる。また、1以上のスポット領域を(例えば約5%〜約15%だけ)狭くして、1以上のスポットの周縁エッジにある画素を除去することができる。このようにして、測光を実行するために1以上のスポットのエッジが無視される。これによって、多くのカメラの色解像度が輝度検出ほど良好ではないという事実を補償することが可能となる。したがって、顔のエッジにおいて、肌色への緩慢な色遷移が生じ、肌色スポットのエッジの除去によって、結果としてスポットは、カメラ測光の駆動時に望ましい照明品質を有する被写体の肌の部分にさらに正確にオーバラップされることになる。
If an affirmative determination is made at
次に、ブロック88において、特定した肌色スポットに基づきカメラ測光を実行する。ここでは例えば、スポット測光を採用できる。スポット測光時、カメラアセンブリ12の視野全体(又は視野の一部)の両端にわたる照明レベルをモニタすることが可能である。照明レベルは一体に統合化されて、照明状態の評価が行われる。照明レベルの統合化が行われている間、特定した1以上の肌色スポットの方に肌色でない領域よりも高い重み付けが与えられる。このようなスポット測光はエリア測光法と組み合わせてもよい。理解されるように、1以上の肌色スポットに関連づけられた照明は、測光結果に影響を与えることになる。したがって、測光結果として、通常のスポットに対して所定のスポットが用いられた場合と、エリア測光法が用いられた場合との少なくともいずれかの場合よりも正確に、(カメラの視野内の人物などの)ユーザの主要な関心対象を写真の一部に関連づけられた照明状態を表すことが可能となる。
Next, in
(ブロック82の結果に応じて)ブロック84及び88に続いて、処理はブロック90へ進む。このブロック90において、測光の結果を用いて露出設定値の調整を行う。測光に応じて調整が可能な例示の露出設定値は、フラッシュ60を用いるかどうかを示す値を含んでもよいし、さらには、(調整可能な場合には)フラッシュ強度、絞り値、シャッタ速度などを含んでもよい。
Following
一実施形態では、ある基準を満たすように露出設定値の調整を行うことができる。この調整によって輝度の極値は暗すぎたり、明るすぎたりしない値となる。例えば、所定の割合以下の肌色画素は所定の上位の輝度しきい値以上の輝度値を有することが望ましく、かつ、所定の割合以下の肌色画素は所定の低位の輝度しきい値以下の輝度値を有することが望ましい。換言すれば、上位と下位の輝度しきい値間で露出設定値の調整を行った後で、所定の割合の肌色画素がある輝度値を含んでいることが望ましい。1つの例では、Yの最大値が255、最小値が0である24ビット画像の場合、5%以下の肌色画素は225よりも高い輝度値を有していることが望ましく、かつ、25%以下の肌色画素は80未満の輝度値を有していることが望ましい。環境によっては、上記基準のうちの1つ又は2つの基準も上回った場合、ブロック68では特定不能な、人間の肌に関連づけられた有意の画素数が存在する蓋然性が生じる可能性もある。というのは、これらの画素は、(肌色を緩めるには反射率が高過ぎる)過飽和状態にあるか、(肌色を緩めるには反射率が低過ぎる)不飽和状態にあるかのいずれかの状態にあるからである。 In one embodiment, the exposure setpoint can be adjusted to meet certain criteria. By this adjustment, the extreme value of luminance becomes a value that is neither too dark nor too bright. For example, it is desirable that skin color pixels having a predetermined ratio or less have a luminance value equal to or higher than a predetermined upper luminance threshold value, and skin color pixels having a predetermined ratio or lower have a luminance value equal to or lower than a predetermined lower luminance threshold value. It is desirable to have In other words, after adjusting the exposure setting value between the upper and lower luminance threshold values, it is desirable that a certain proportion of skin color pixels contain a certain luminance value. In one example, for a 24-bit image in which the maximum value of Y is 255 and the minimum value is 0, it is desirable that 5% or less flesh-colored pixels have a luminance value higher than 225, and 25% The following skin color pixels desirably have a luminance value of less than 80. Depending on the environment, if one or two of the above criteria are also exceeded, there may be a probability that there is a significant number of pixels associated with human skin that cannot be identified in block 68. This is because these pixels are either in a supersaturated state (the reflectance is too high to loosen the skin color) or in an unsaturated state (the reflectance is too low to loosen the skin color) Because it is.
さらに、露出設定値に対する調整に起因して生じる輝度の変化量に対する限度を課すようにしてもよい。この限度によって、肌色スポットの飽和又は減光、又は、ある一定量を上回る画像の平均値から調整値の最小化を行うことが可能となる。というのは、露出が明るすぎたり、暗すぎたりすると、肌色を特定するのに用いられる色情報が失われることになるからである。 Furthermore, a limit may be imposed on the amount of change in luminance caused by adjustment to the exposure setting value. By this limit, it is possible to minimize or adjust the adjustment value from the average value of the image that exceeds a certain amount by saturation or dimming of the skin color spot. This is because if the exposure is too bright or too dark, the color information used to identify the skin color will be lost.
一実施形態では、露出設定値の調整の一部として反復処理を採用することができる。例えば、肌色飽和が検出されるまで露出設定値を上方へ増分するステップを用いて、最適の露出設定値を発見するようにしてもよい。1つのアプローチでは、写真撮影を命令するシャッタボタンをユーザが押下又は解除すると低い画像輝度を生じる露出設定値で処理が始まる。次に、輝度を上げるべく露出設定値を徐々に上げるよう調整する。個々の増分(又はステップ)値に対応して、上述のように肌色スポットの特定が可能となり、次いで、測光の実行が可能となる。事前に検出された肌色画素の所定の割合が飽和の方へシフトすると、増分ステップを終了する。1つの実装例では、増分ステップが終了した後、露出設定値は、肌色の色調飽和が検出された際に結果として生じる露出設定値(例えば、この露出設定は1以上の増分値だけ逆方向に行ったもの)と比べて若干暗い画像になる場合がある。この増分によるアプローチによって、測光に使用される画像内の肌色画素の数が増加し、かつ、グレアに起因して肌色画素が特定されなくなる可能性が小さくなる。好適には、ユーザがカメラアセンブリ12を動かす前に、露出設定値の反復する調整プロセスを終了できることが望ましい。この結果、カメラアセンブリ12の視野の変化が得られる、あるいは、人間の被写体の視野がかなりの量移動することになる。
In one embodiment, iterative processing can be employed as part of adjusting exposure settings. For example, an optimum exposure setting value may be found using a step of incrementing the exposure setting value until skin color saturation is detected. In one approach, the process begins with an exposure setting that produces low image brightness when the user depresses or releases a shutter button that commands photography. Next, an adjustment is made to gradually increase the exposure setting value in order to increase the luminance. Corresponding to each increment (or step) value, the flesh color spot can be specified as described above, and then photometry can be performed. When the predetermined proportion of skin color pixels detected in advance shifts toward saturation, the increment step is terminated. In one implementation, after the increment step is finished, the exposure setting is the resulting exposure setting when skin tone saturation is detected (e.g., this exposure setting is reversed by one or more increments). The image may be slightly darker than the one performed. This incremental approach increases the number of flesh-color pixels in the image used for photometry and reduces the likelihood that flesh-color pixels will not be identified due to glare. Preferably, it is desirable to be able to end the repetitive adjustment process of exposure settings before the user moves the
露出設定値が調整された後、ブロック92において写真撮影を行う。
After the exposure setting value is adjusted, a photograph is taken in
本明細書で説明した方法では、肌色の識別によりスポット測光の重み付けが行われる。これにより露出設定が行われ、カメラアセンブリ12のダイナミックレンジに肌色を最適に配置することが可能となる。このようにして、カメラアセンブリ12の視野に現れる人物に関連づけられた顔及び他の領域は、背景や前景の物のような視野内の他の被写体よりも、結果として得られる写真の中において高いレベルの詳細情報を有することになる。その結果、ユーザは、露出設定値の手動による調整や写真の後処理を行うことなく良好に画像化された人物を含む写真撮影を行うことが可能となる。
In the method described in this specification, spot photometric weighting is performed by skin color identification. As a result, the exposure setting is performed, and the skin color can be optimally arranged in the dynamic range of the
本明細書で説明した方法では、肌色に関連する色を含む画素を求めて、及び、人間の被写体の一部を示す肌色画素グループを求めて探索が行われる。これらのグループの画素を用いて、測光及び露出設定値の調整プロセスを実行することが可能となる。理解されるように、カメラアセンブリの視野の他の部分よりも高い重み付けが与えられた1以上の肌色スポットの特定を視野の一部又は全部の色空間の探索により行って、十分な領域と視野の少なくともいずれかを記憶位置内に有するように組み合わせた画素をある一定の色範囲内に発見して、蓋然性の高い人間の被写体を表示できるようにすることが可能となる。この結果、好適なスポットを特定して、スポット測光及び露出設定の調整プロセスをガイドすることが可能となる。 In the method described in this specification, a search is performed by obtaining a pixel including a color related to the skin color and by obtaining a skin color pixel group indicating a part of a human subject. Using these groups of pixels, it is possible to execute a photometric and exposure adjustment value adjustment process. As will be appreciated, the identification of one or more flesh-colored spots that are given higher weight than other parts of the field of view of the camera assembly can be accomplished by searching part or all of the color space of the field of view to provide sufficient area and field of view. Thus, it is possible to find a pixel that combines at least one of the above in the storage position within a certain color range and display a highly probable human subject. As a result, it is possible to identify a suitable spot and guide the adjustment process of spot metering and exposure setting.
好ましい実施形態に関連して本発明について図示し、説明したが、本明細書を読み理解すれば、当業者においては均等物や改変が思い浮かぶであろう。本発明は、すべてのこのような均等物並びに改変を含むものである。本発明は特許請求の範囲の記載によって特定される。 While the invention has been illustrated and described in connection with preferred embodiments, equivalents and modifications will occur to those skilled in the art upon reading and understanding this specification. The present invention includes all such equivalents as well as modifications. The invention is specified by the claims.
Claims (10)
カメラの視野の少なくとも一部から肌色画素を探索するステップと、
肌色画素を分析して少なくとも1つの肌色スポットを特定するステップと、
少なくとも1つの肌色スポットに前記視野の残りの部分よりも高い重み付けを与えて、前記カメラの視野のスポット測光を実行するステップと、
前記スポット測光に基づいて前記露出設定値を調整するステップと、
を有することを特徴とする方法。 A method for adjusting an exposure setting value of a digital camera (12),
Searching for flesh-colored pixels from at least part of the camera's field of view;
Analyzing the flesh color pixels to identify at least one flesh color spot;
Performing spot metering of the field of view of the camera by providing at least one skin tone spot with a higher weight than the rest of the field of view;
Adjusting the exposure setting value based on the spot metering;
A method characterized by comprising:
視野を画像化すると共に、複数の画素に対する輝度及び色を示す信号を出力するセンサ(54)と、
肌色画素を特定するステップ、前記肌色画素を分析して少なくとも1つの肌色スポットを特定するステップ、少なくとも1つの肌色スポットに前記視野の残り部分よりも高い重み付けを与えて、前記カメラの視野のスポット測光を実行するステップ、前記スポット測光に基づいて露出設定値を調整するステップを実行することにより、前記カメラの露出設定値を調整するコントローラ(52)と、
を有することを特徴とするカメラ(12)。 A camera (12),
A sensor (54) for imaging the field of view and outputting signals indicating luminance and color for a plurality of pixels;
Identifying a flesh color pixel; analyzing the flesh color pixel to identify at least one flesh color spot; assigning at least one flesh color spot a higher weight than the rest of the field of view; A controller (52) for adjusting an exposure setting value of the camera by executing a step of adjusting the exposure setting value based on the spot metering;
A camera (12) characterized by comprising:
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/561,906 US7847830B2 (en) | 2006-11-21 | 2006-11-21 | System and method for camera metering based on flesh tone detection |
PCT/US2007/070064 WO2008063705A1 (en) | 2006-11-21 | 2007-05-31 | System and method for camera metering based on flesh tone detection |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010510717A true JP2010510717A (en) | 2010-04-02 |
Family
ID=39416534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009537243A Pending JP2010510717A (en) | 2006-11-21 | 2007-05-31 | System and method for performing camera photometry based on skin color detection |
Country Status (7)
Country | Link |
---|---|
US (1) | US7847830B2 (en) |
EP (1) | EP2095627B1 (en) |
JP (1) | JP2010510717A (en) |
CN (1) | CN101543051B (en) |
AT (1) | ATE524922T1 (en) |
BR (1) | BRPI0721496A2 (en) |
WO (1) | WO2008063705A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104735362A (en) * | 2015-03-11 | 2015-06-24 | 广东欧珀移动通信有限公司 | Picture taking method and device |
WO2015115104A1 (en) * | 2014-01-29 | 2015-08-06 | 京セラ株式会社 | Image-capturing device, camera system, and signal output method |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5184008B2 (en) | 2007-09-03 | 2013-04-17 | ソニーモバイルコミュニケーションズ, エービー | Information processing apparatus and mobile phone terminal |
US8917424B2 (en) | 2007-10-26 | 2014-12-23 | Zazzle.Com, Inc. | Screen printing techniques |
US8098929B2 (en) * | 2008-02-28 | 2012-01-17 | Broadcom Corporation | Method and system for automatic correction of flesh-tones (skin-tones) |
US20090278655A1 (en) * | 2008-05-06 | 2009-11-12 | The Abraham Joshua Heschel School | Method for inhibiting egress from a chamber containing contaminants |
JP5202245B2 (en) * | 2008-11-20 | 2013-06-05 | キヤノン株式会社 | Imaging apparatus and control method thereof |
US8339506B2 (en) * | 2009-04-24 | 2012-12-25 | Qualcomm Incorporated | Image capture parameter adjustment using face brightness information |
US8558331B2 (en) * | 2009-12-08 | 2013-10-15 | Qualcomm Incorporated | Magnetic tunnel junction device |
US9213920B2 (en) | 2010-05-28 | 2015-12-15 | Zazzle.Com, Inc. | Using infrared imaging to create digital images for use in product customization |
US8326001B2 (en) | 2010-06-29 | 2012-12-04 | Apple Inc. | Low threshold face recognition |
US8824747B2 (en) | 2010-06-29 | 2014-09-02 | Apple Inc. | Skin-tone filtering |
US9172889B2 (en) * | 2012-02-09 | 2015-10-27 | Semiconductor Components Industries, Llc | Imaging systems and methods for generating auto-exposed high-dynamic-range images |
US8712566B1 (en) | 2013-03-14 | 2014-04-29 | Zazzle Inc. | Segmentation of a product markup image based on color and color differences |
US9674454B2 (en) | 2014-07-31 | 2017-06-06 | Xiaomi Inc. | Light metering methods and devices |
CN104219518B (en) * | 2014-07-31 | 2018-09-18 | 小米科技有限责任公司 | Light measuring method and device |
CN107249105A (en) * | 2017-06-16 | 2017-10-13 | 广东欧珀移动通信有限公司 | Exposure compensation, device and terminal device |
CN107124562A (en) * | 2017-06-23 | 2017-09-01 | 上海传英信息技术有限公司 | Brightness of flash lamp control method and terminal |
CN107911625A (en) * | 2017-11-30 | 2018-04-13 | 广东欧珀移动通信有限公司 | Light measuring method, device, readable storage medium storing program for executing and computer equipment |
CN109714543A (en) * | 2019-01-10 | 2019-05-03 | 成都品果科技有限公司 | A method of it obtaining skin brightness in camera data stream and adjusts exposure |
CN110346780A (en) * | 2019-07-31 | 2019-10-18 | 炬佑智能科技(苏州)有限公司 | Flight time sensing cameras and its local detection accuracy method of adjustment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04318773A (en) * | 1991-04-18 | 1992-11-10 | Sharp Corp | Exposure controller |
JPH10243250A (en) * | 1996-05-13 | 1998-09-11 | Fuji Xerox Co Ltd | Device, method and system for processing image |
JPH1188781A (en) * | 1997-09-11 | 1999-03-30 | Fuji Photo Film Co Ltd | Image pickup device |
JPH11146405A (en) * | 1992-01-13 | 1999-05-28 | Mitsubishi Electric Corp | Video signal processor and color video camera using the same |
JP2003107555A (en) * | 2001-09-28 | 2003-04-09 | Ricoh Co Ltd | Image pickup device, automatic exposing method, and program making computer implement the same method |
JP2004040462A (en) * | 2002-07-03 | 2004-02-05 | Minolta Co Ltd | Image pickup equipment |
JP2005148262A (en) * | 2003-11-13 | 2005-06-09 | Nec Saitama Ltd | Portable equipment and photometric control method |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4929824A (en) * | 1988-02-26 | 1990-05-29 | Fuji Photo Film Co., Ltd. | light metering device with detector matrix and mean value detection |
JP3298072B2 (en) * | 1992-07-10 | 2002-07-02 | ソニー株式会社 | Video camera system |
US6167200A (en) * | 1998-08-03 | 2000-12-26 | Minolta Co., Ltd. | Exposure operation mechanism of camera |
US6940545B1 (en) | 2000-02-28 | 2005-09-06 | Eastman Kodak Company | Face detecting camera and method |
JP2004206688A (en) * | 2002-12-12 | 2004-07-22 | Fuji Photo Film Co Ltd | Face recognition method, face image cutting out method, and imaging apparatus |
JP3861808B2 (en) * | 2002-12-25 | 2006-12-27 | ソニー株式会社 | Imaging device |
CN1512256A (en) * | 2002-12-27 | 2004-07-14 | 金宝电子工业股份有限公司 | Automatic exposure sampling and control method for image shooting device |
CN1293515C (en) * | 2003-06-24 | 2007-01-03 | 明基电通股份有限公司 | Apparatus and method for determining exposure setting of image having human face area |
US20080225130A1 (en) * | 2004-12-23 | 2008-09-18 | Nokia Corporation | Method for Extracting of Multiple Sub-Windows of a Scanning Area by Means of a Digital Video Camera |
TWI313362B (en) * | 2005-07-28 | 2009-08-11 | Alpha Imaging Technology Corp | Image capturing device and its image adjusting method |
US20070036438A1 (en) * | 2005-08-15 | 2007-02-15 | Lexmark International, Inc. | Methods and systems for identifying red eye pairs |
US7683964B2 (en) * | 2005-09-05 | 2010-03-23 | Sony Corporation | Image capturing apparatus and image capturing method |
-
2006
- 2006-11-21 US US11/561,906 patent/US7847830B2/en not_active Expired - Fee Related
-
2007
- 2007-05-31 BR BRPI0721496-0A patent/BRPI0721496A2/en not_active IP Right Cessation
- 2007-05-31 WO PCT/US2007/070064 patent/WO2008063705A1/en active Application Filing
- 2007-05-31 EP EP07811975A patent/EP2095627B1/en not_active Not-in-force
- 2007-05-31 AT AT07811975T patent/ATE524922T1/en not_active IP Right Cessation
- 2007-05-31 JP JP2009537243A patent/JP2010510717A/en active Pending
- 2007-05-31 CN CN2007800430120A patent/CN101543051B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04318773A (en) * | 1991-04-18 | 1992-11-10 | Sharp Corp | Exposure controller |
JPH11146405A (en) * | 1992-01-13 | 1999-05-28 | Mitsubishi Electric Corp | Video signal processor and color video camera using the same |
JPH10243250A (en) * | 1996-05-13 | 1998-09-11 | Fuji Xerox Co Ltd | Device, method and system for processing image |
JPH1188781A (en) * | 1997-09-11 | 1999-03-30 | Fuji Photo Film Co Ltd | Image pickup device |
JP2003107555A (en) * | 2001-09-28 | 2003-04-09 | Ricoh Co Ltd | Image pickup device, automatic exposing method, and program making computer implement the same method |
JP2004040462A (en) * | 2002-07-03 | 2004-02-05 | Minolta Co Ltd | Image pickup equipment |
JP2005148262A (en) * | 2003-11-13 | 2005-06-09 | Nec Saitama Ltd | Portable equipment and photometric control method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015115104A1 (en) * | 2014-01-29 | 2015-08-06 | 京セラ株式会社 | Image-capturing device, camera system, and signal output method |
JPWO2015115104A1 (en) * | 2014-01-29 | 2017-03-23 | 京セラ株式会社 | Imaging apparatus, camera system, and signal output method |
US10178319B2 (en) | 2014-01-29 | 2019-01-08 | Kyocera Corporation | Imaging apparatus, camera system and signal output method |
CN104735362A (en) * | 2015-03-11 | 2015-06-24 | 广东欧珀移动通信有限公司 | Picture taking method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2008063705A1 (en) | 2008-05-29 |
US7847830B2 (en) | 2010-12-07 |
CN101543051B (en) | 2011-04-13 |
EP2095627B1 (en) | 2011-09-14 |
US20080117305A1 (en) | 2008-05-22 |
BRPI0721496A2 (en) | 2013-02-26 |
CN101543051A (en) | 2009-09-23 |
ATE524922T1 (en) | 2011-09-15 |
EP2095627A1 (en) | 2009-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2010510717A (en) | System and method for performing camera photometry based on skin color detection | |
US10027938B2 (en) | Image processing device, imaging device, image processing method, and image processing program | |
US11470294B2 (en) | Method, device, and storage medium for converting image from raw format to RGB format | |
CN109345485B (en) | Image enhancement method and device, electronic equipment and storage medium | |
KR101537182B1 (en) | White balance optimization with high dynamic range images | |
US8665340B2 (en) | Indoor/outdoor scene detection using GPS | |
US20080231726A1 (en) | Apparatus and method for image color correction in a portable device | |
KR20190073518A (en) | Optical imaging method and apparatus | |
CN111510698A (en) | Image processing method, device, storage medium and mobile terminal | |
JP6063093B2 (en) | Image processing apparatus, imaging apparatus, image processing method, and program | |
CN107635103B (en) | Image processing method, mobile terminal and medium product | |
JP2012529831A (en) | Camera system and method for photography using flash | |
JP5730439B2 (en) | Image display apparatus, photographing apparatus, image display system and method | |
WO2016009699A1 (en) | Image processing device, image capturing apparatus, image processing method, and program | |
US11032484B2 (en) | Image processing apparatus, imaging apparatus, image processing method, imaging method, and program | |
CN108200352B (en) | Method, terminal and storage medium for adjusting picture brightness | |
JP6810299B2 (en) | Image processing equipment, methods, and programs as well as imaging equipment | |
JP6911135B2 (en) | Imaging equipment, imaging methods, and programs | |
JP2014165865A (en) | Image processing device and image processing method, program and recording medium | |
KR100642688B1 (en) | Apparatus and method for editing a part of picture in mobile communication terminal | |
JP2016144006A (en) | Image processor, imaging device, image processing method, program, and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110920 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111107 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121022 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20130322 |