JPWO2016151850A1 - Imaging apparatus, signal processing apparatus, and skin diagnosis system - Google Patents

Imaging apparatus, signal processing apparatus, and skin diagnosis system Download PDF

Info

Publication number
JPWO2016151850A1
JPWO2016151850A1 JP2017507290A JP2017507290A JPWO2016151850A1 JP WO2016151850 A1 JPWO2016151850 A1 JP WO2016151850A1 JP 2017507290 A JP2017507290 A JP 2017507290A JP 2017507290 A JP2017507290 A JP 2017507290A JP WO2016151850 A1 JPWO2016151850 A1 JP WO2016151850A1
Authority
JP
Japan
Prior art keywords
signal
luminance
unit
input
skin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017507290A
Other languages
Japanese (ja)
Other versions
JP6501868B2 (en
Inventor
章悟 喜多村
章悟 喜多村
吉田 大輔
大輔 吉田
西澤 明仁
明仁 西澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maxell Holdings Ltd
Original Assignee
Maxell Holdings Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Maxell Holdings Ltd filed Critical Maxell Holdings Ltd
Publication of JPWO2016151850A1 publication Critical patent/JPWO2016151850A1/en
Application granted granted Critical
Publication of JP6501868B2 publication Critical patent/JP6501868B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

機械的な駆動機構を持たないような汎用的な撮像装置においても、テカリ成分が軽減された良好な画像を得ることができる信号処理装置である。撮像装置は、入力画像信号を取得する画像取得部と、入力画像信号を入力して信号処理を行い、出力画像信号を出力する信号処理部と、出力画像信号を媒体に記憶する記憶部と、を備える。前記信号処理部は、入力画像信号に含まれる各画素信号の周辺において、第1の平滑化範囲内の入力輝度信号を平滑化して平滑化輝度を算出する平滑化輝度算出部1と、入力輝度信号と平滑化輝度とを比較し、入力輝度信号が平滑化輝度より大きい場合は入力輝度信号と平滑化輝度との差分を第1の割合で縮小し、入力輝度信号と置き換えて出力輝度信号を生成する輝度信号処理部2と、を含む。Even in a general-purpose imaging device that does not have a mechanical drive mechanism, it is a signal processing device that can obtain a good image with reduced shine components. The imaging apparatus includes an image acquisition unit that acquires an input image signal, a signal processing unit that inputs the input image signal, performs signal processing, and outputs an output image signal, a storage unit that stores the output image signal in a medium, Is provided. The signal processing unit includes a smoothed luminance calculating unit 1 that calculates a smoothed luminance by smoothing an input luminance signal within the first smoothing range around each pixel signal included in the input image signal, and an input luminance The signal and the smoothed brightness are compared. If the input brightness signal is larger than the smoothed brightness, the difference between the input brightness signal and the smoothed brightness is reduced by a first ratio, and the output brightness signal is replaced with the input brightness signal. A luminance signal processing unit 2 to be generated.

Description

本発明は、撮像装置、信号処理装置、および肌診断システムに関する。   The present invention relates to an imaging device, a signal processing device, and a skin diagnosis system.

本技術分野の背景技術として、特開平7−322103号公報(特許文献1)がある。該公報には、「[目的]発熱が少なく肌にソフトであり、小形化に有効な装置を得る。[構成]ケースの内部には撮影窓22に対向してレンズ23、撮像素子25、撮影窓側を照明するサークライン蛍光灯42が設けられる。また透明スライドパイプ31が設けられる。このパイプには遮光リング33が設けられている。この遮光リング33は、透明スライドパイプが前記軸方向へ移動するのに応答して、照明光の進路A、進路Bのいずれかを実現する。」と記載されている。   As background art in this technical field, there is JP-A-7-322103 (Patent Document 1). According to the publication, “[Purpose] Obtains a device that generates little heat and is soft on the skin, and is effective for downsizing. [Configuration] A lens 23, an image sensor 25, and a photo shoot facing the shooting window 22 inside the case. A circular fluorescent lamp 42 that illuminates the window side is provided, and a transparent slide pipe 31 is provided, which is provided with a light shielding ring 33. The light shielding ring 33 moves the transparent slide pipe in the axial direction. In response to this, either the path A or the path B of the illumination light is realized. "

特開平7−322103号公報JP 7-322103 A

ヒトの肌を撮影するにあたり、照明環境や肌の状態によっては、肌表面における反射光の影響が強く表れ、画像中に本来の色とは異なり強い明るさを持った成分を生じることがある。この成分を「テカリ」と呼ぶ。   When photographing human skin, depending on the lighting environment and skin condition, the influence of reflected light on the skin surface appears strongly, and a component having a strong brightness unlike the original color may be generated in the image. This component is called “shine”.

前記特許文献1では、透明スライドパイプや遮光リングが設けられていることで、照明が均一である良好な画像を得ることが可能であるが、機械的な駆動機構を有する専用の装置を用いる構成をとっているため、装置の耐久性や汎用性に対して考慮されていない。   In Patent Document 1, a transparent slide pipe and a light shielding ring are provided so that a good image with uniform illumination can be obtained. However, a configuration using a dedicated device having a mechanical drive mechanism is used. Therefore, the durability and versatility of the apparatus are not taken into consideration.

本発明の目的は、機械的な駆動機構を持たないような汎用的な撮像装置においても、テカリ成分が軽減された良好な画像を得ることができる信号処理装置を提供することである。   An object of the present invention is to provide a signal processing device that can obtain a good image with reduced shine components even in a general-purpose imaging device that does not have a mechanical drive mechanism.

本発明の前記ならびにその他の目的と新規な特徴は、本明細書の記述および添付図面から明らかになるであろう。   The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される発明のうち、代表的なものの概要を簡単に説明すれば、次のとおりである。   Of the inventions disclosed in the present application, the outline of typical ones will be briefly described as follows.

一実施の形態における撮像装置は、入力画像信号を取得する画像取得部と、前記入力画像信号を入力して信号処理を行い、出力画像信号を出力する信号処理部と、前記出力画像信号を媒体に記憶する記憶部と、を備える。前記信号処理部は、前記入力画像信号に含まれる各画素信号の周辺において、第1の平滑化範囲内の入力輝度信号を平滑化して平滑化輝度を算出する平滑化輝度算出部と、前記入力輝度信号と前記平滑化輝度とを比較し、前記入力輝度信号が前記平滑化輝度より大きい場合は前記入力輝度信号と前記平滑化輝度との差分を第1の割合で縮小し、前記入力輝度信号と置き換えて出力輝度信号を生成する輝度信号処理部と、を含む。   An imaging apparatus according to an embodiment includes an image acquisition unit that acquires an input image signal, a signal processing unit that inputs the input image signal, performs signal processing, and outputs an output image signal, and the output image signal as a medium And a storage unit for storing. The signal processing unit smoothes an input luminance signal within a first smoothing range and calculates a smoothed luminance around each pixel signal included in the input image signal, and the input A luminance signal is compared with the smoothed luminance, and if the input luminance signal is larger than the smoothed luminance, the difference between the input luminance signal and the smoothed luminance is reduced by a first ratio, and the input luminance signal And a luminance signal processing unit that generates an output luminance signal.

一実施の形態における信号処理装置は、入力画像信号に含まれる各画素信号の周辺において、第1の平滑化範囲内の入力輝度信号を平滑化して平滑化輝度を算出する平滑化輝度算出部と、前記入力輝度信号と前記平滑化輝度とを比較し、前記入力輝度信号が前記平滑化輝度より大きい場合は前記入力輝度信号と前記平滑化輝度との差分を第1の割合で縮小し、前記入力輝度信号と置き換えて出力輝度信号を生成する輝度信号処理部と、を備える。   A signal processing apparatus according to an embodiment includes: a smoothed luminance calculating unit that calculates a smoothed luminance by smoothing an input luminance signal within a first smoothing range around each pixel signal included in an input image signal; Comparing the input luminance signal with the smoothed luminance, and if the input luminance signal is greater than the smoothed luminance, reducing the difference between the input luminance signal and the smoothed luminance by a first ratio, A luminance signal processing unit that generates an output luminance signal in place of the input luminance signal.

一実施の形態における肌診断システムは、前記信号処理装置を用いた肌診断システムであって、前記入力画像信号を取得する画像取得部と通信部とを含む携帯端末装置と、前記携帯端末装置に取り付けられ、肌の接写を行うためのレンズと光源とを含む外付け装置と、前記信号処理装置を含む情報処理装置と、前記携帯端末装置と前記情報処理装置とが接続されるネットワークと、を備える。前記携帯端末装置は、前記外付け装置を介して前記肌の接写画像を取得して、前記肌の接写画像を前記ネットワークを介して前記情報処理装置に転送する。前記情報処理装置は、前記肌の接写画像を前記ネットワークを通じて取得し、前記信号処理装置を制御して得られる画像より肌診断データを生成し、その結果を前記ネットワークを介して前記携帯端末装置に転送する。   The skin diagnosis system in one embodiment is a skin diagnosis system using the signal processing device, and includes a mobile terminal device including an image acquisition unit that acquires the input image signal and a communication unit, and the mobile terminal device. An external device that is attached and includes a lens and a light source for performing close-up photography of the skin, an information processing device that includes the signal processing device, and a network to which the portable terminal device and the information processing device are connected. Prepare. The portable terminal device acquires the close-up image of the skin via the external device, and transfers the close-up image of the skin to the information processing device via the network. The information processing device acquires the close-up image of the skin through the network, generates skin diagnosis data from an image obtained by controlling the signal processing device, and sends the result to the mobile terminal device via the network. Forward.

本願において開示される発明のうち、代表的なものによって得られる効果を簡単に説明すれば以下の通りである。   The effects obtained by typical ones of the inventions disclosed in the present application will be briefly described as follows.

一実施の形態によれば、機械的な駆動機構を持たないような汎用的な撮像装置においても、テカリ成分が軽減された良好な画像を得ることができる信号処理装置を提供することができる。   According to one embodiment, it is possible to provide a signal processing device that can obtain a good image with reduced shine components even in a general-purpose imaging device that does not have a mechanical drive mechanism.

本発明の実施の形態1における信号処理装置の全体構成の一例を説明する構成図である。It is a block diagram explaining an example of the whole structure of the signal processing apparatus in Embodiment 1 of this invention. 本発明の実施の形態1における信号処理装置で用いられる、平滑化輝度算出部の内部構成の一例を説明する構成図である。It is a block diagram explaining an example of the internal structure of the smoothing luminance calculation part used with the signal processing apparatus in Embodiment 1 of this invention. 本発明の実施の形態1における信号処理装置で用いられる、平滑化範囲決定部の内部構成の一例を説明する構成図である。It is a block diagram explaining an example of the internal structure of the smoothing range determination part used with the signal processing apparatus in Embodiment 1 of this invention. 本発明の実施の形態1における信号処理装置で用いられる、平滑化範囲決定部の第1の構成例を説明する構成図である。It is a block diagram explaining the 1st structural example of the smoothing range determination part used with the signal processing apparatus in Embodiment 1 of this invention. 本発明の実施の形態1における信号処理装置で用いられる、平滑化範囲決定部の第2の構成例を説明する構成図である。It is a block diagram explaining the 2nd structural example of the smoothing range determination part used with the signal processing apparatus in Embodiment 1 of this invention. 本発明の実施の形態1の信号処理装置で用いられる、平滑化範囲決定部の第1の構成例において、高輝度信号割合と平滑化範囲面積との関係を説明する説明図である。It is explanatory drawing explaining the relationship between a high-intensity signal ratio and a smoothing range area in the 1st structural example of the smoothing range determination part used with the signal processing apparatus of Embodiment 1 of this invention. 本発明の実施の形態1における信号処理装置で用いられる、判定領域検出部の第1の構成例を説明する構成図である。It is a block diagram explaining the 1st structural example of the determination area | region detection part used with the signal processing apparatus in Embodiment 1 of this invention. 本発明の実施の形態1における信号処理装置で用いられる、判定領域検出部の第1の構成例に含まれる、重心位置算出部の内部構成の一例を説明する構成図である。It is a block diagram explaining an example of the internal structure of the gravity center position calculation part contained in the 1st structural example of the determination area | region detection part used with the signal processing apparatus in Embodiment 1 of this invention. 本発明の実施の形態1における信号処理装置で用いられる、肌領域検出部の内部構成の一例を説明する構成図である。It is a block diagram explaining an example of the internal structure of the skin area | region detection part used with the signal processing apparatus in Embodiment 1 of this invention. 本発明の実施の形態3における肌診断システムで用いられる、肌領域の検出にあたって低輝度信号である画素を除外する機能を加えた肌領域検出部の内部構成の一例を説明する構成図である。It is a block diagram explaining an example of an internal structure of the skin area | region detection part which added the function which excludes the pixel which is a low-intensity signal in the skin diagnosis system in Embodiment 3 of this invention, and detected. 本発明の実施の形態1における信号処理装置で用いられる、判定領域検出部の第2の構成例を説明する構成図である。It is a block diagram explaining the 2nd structural example of the determination area | region detection part used with the signal processing apparatus in Embodiment 1 of this invention. 本発明の実施の形態1における信号処理装置において、内部処理の一例を説明するフローチャートである。5 is a flowchart illustrating an example of internal processing in the signal processing apparatus according to Embodiment 1 of the present invention. 本発明の実施の形態1における信号処理装置において、補正前輝度信号と補正後輝度信号との入出力特性の一例を説明する説明図である。In the signal processing apparatus in Embodiment 1 of this invention, it is explanatory drawing explaining an example of the input-output characteristic of the luminance signal before correction | amendment, and the luminance signal after correction | amendment. 本発明の実施の形態1における信号処理装置において、補正前輝度信号と平滑化輝度との位置に対する輝度分布の一例を説明する説明図である。In the signal processing apparatus in Embodiment 1 of this invention, it is explanatory drawing explaining an example of the luminance distribution with respect to the position of the luminance signal before correction | amendment, and the smoothing luminance. 本発明の実施の形態1における信号処理装置において、補正前輝度信号と平滑化輝度とに加え、補正後輝度信号の位置に対する輝度分布の一例を説明する説明図である。In the signal processing apparatus in Embodiment 1 of this invention, it is explanatory drawing explaining an example of the luminance distribution with respect to the position of the luminance signal after correction | amendment in addition to the luminance signal before correction | amendment and smoothed luminance. 本発明の実施の形態1における信号処理装置において、平滑化演算部の動作の一例を説明する説明図である。It is explanatory drawing explaining an example of operation | movement of a smoothing calculating part in the signal processing apparatus in Embodiment 1 of this invention. 本発明の実施の形態3における肌診断システムで用いられる、入力画像から露光不良を判定する機能を加えた平滑化範囲決定部の内部構成の一例を説明する構成図である。It is a block diagram explaining an example of an internal structure of the smoothing range determination part which added the function which determines an exposure defect from an input image used with the skin diagnostic system in Embodiment 3 of this invention. 本発明の実施の形態1における信号処理装置において、HSV色空間の一例を説明する説明図である。In the signal processing apparatus in Embodiment 1 of this invention, it is explanatory drawing explaining an example of HSV color space. 本発明の実施の形態1における信号処理装置で用いられる、肌領域の検出に使用する肌色の定義例を説明する説明図である。It is explanatory drawing explaining the definition example of the skin color used for the detection of the skin area | region used with the signal processing apparatus in Embodiment 1 of this invention. 本発明の実施の形態2における撮像装置の全体構成の一例を説明する構成図である。It is a block diagram explaining an example of the whole structure of the imaging device in Embodiment 2 of this invention. 本発明の実施の形態2において、露光制御部と外部入力制御部とを搭載した撮像装置の全体構成の一例を説明する構成図である。In Embodiment 2 of this invention, it is a block diagram explaining an example of the whole structure of the imaging device carrying an exposure control part and an external input control part. 本発明の実施の形態2において、テカリ成分を含む被写体に対して何れの補正も行わずに取得した画像の一例を説明する説明図である。In Embodiment 2 of this invention, it is explanatory drawing explaining an example of the image acquired without performing any correction | amendment with respect to the to-be-photographed object containing a shine component. 本発明の実施の形態2において、テカリ成分を含む被写体に対して露光制御のみを施して取得した画像の一例を説明する説明図である。In Embodiment 2 of this invention, it is explanatory drawing explaining an example of the image acquired by performing only exposure control with respect to the to-be-photographed object containing a shine component. 本発明の実施の形態2において、テカリ成分を含む被写体に対して実施の形態2の撮像装置を使用して取得した画像の一例を説明する説明図である。In Embodiment 2 of this invention, it is explanatory drawing explaining an example of the image acquired using the imaging device of Embodiment 2 with respect to the to-be-photographed object containing a shine component. 本発明の実施の形態2における撮像装置において、フィードバック制御を行う内部処理の一例を説明するフローチャートである。7 is a flowchart illustrating an example of internal processing for performing feedback control in the imaging apparatus according to Embodiment 2 of the present invention. 本発明の実施の形態3における肌診断システムの全体構成の一例を説明する構成図である。It is a block diagram explaining an example of the whole structure of the skin diagnostic system in Embodiment 3 of this invention. 本発明の実施の形態3における肌診断システムで用いられる、外付け装置の内部構成の一例を説明する断面図である。It is sectional drawing explaining an example of the internal structure of the external device used with the skin diagnostic system in Embodiment 3 of this invention. 本発明の実施の形態3における肌診断システムで用いられる、クラウドサーバーの内部構成の一例を説明する構成図である。It is a block diagram explaining an example of the internal structure of the cloud server used with the skin diagnostic system in Embodiment 3 of this invention. 本発明の実施の形態3における肌診断システムにおけるスマートフォンを使用して取得した肌画像の一例を説明する説明図である。It is explanatory drawing explaining an example of the skin image acquired using the smart phone in the skin diagnostic system in Embodiment 3 of this invention. 本発明の実施の形態3における肌診断システムで用いられる、信号処理部から出力される肌画像の一例を説明する説明図である。It is explanatory drawing explaining an example of the skin image output from the signal processing part used with the skin diagnostic system in Embodiment 3 of this invention.

以下の実施の形態においては、便宜上その必要があるときは、複数のセクションまたは実施の形態に分割して説明するが、特に明示した場合を除き、それらは互いに無関係なものではなく、一方は他方の一部または全部の変形例、詳細、補足説明などの関係にある。また、以下の実施の形態において、要素の数など(個数、数値、量、範囲などを含む)に言及する場合、特に明示した場合および原理的に明らかに特定の数に限定される場合などを除き、その特定の数に限定されるものではなく、特定の数以上でも以下でも良い。   In the following embodiments, when it is necessary for the sake of convenience, the description will be divided into a plurality of sections or embodiments. However, unless otherwise specified, they are not irrelevant and one is the other. There are some or all of the modifications, details, supplementary explanations, and the like. Also, in the following embodiments, when referring to the number of elements (including the number, numerical value, quantity, range, etc.), particularly when clearly indicated and when clearly limited to a specific number in principle, etc. Except, it is not limited to the specific number, and may be more or less than the specific number.

さらに、以下の実施の形態において、その構成要素(要素ステップなども含む)は、特に明示した場合および原理的に明らかに必須であると考えられる場合などを除き、必ずしも必須のものではないことは言うまでもない。同様に、以下の実施の形態において、構成要素などの形状、位置関係などに言及するときは、特に明示した場合および原理的に明らかにそうでないと考えられる場合などを除き、実質的にその形状などに近似または類似するものなどを含むものとする。このことは、上記数値および範囲についても同様である。
[実施の形態の概要]
Further, in the following embodiments, the constituent elements (including element steps and the like) are not necessarily indispensable unless otherwise specified and apparently indispensable in principle. Needless to say. Similarly, in the following embodiments, when referring to the shape and positional relationship of components and the like, the shape is substantially the same unless otherwise specified and the case where it is not clearly apparent in principle. And the like are included. The same applies to the above numerical values and ranges.
[Outline of the embodiment]

まず、実施の形態の概要について説明する。本実施の形態の概要では、一例として、括弧内に各実施の形態の対応する構成要素の符号などを付して説明する。   First, an outline of the embodiment will be described. In the outline of the present embodiment, as an example, the description will be given with the reference numerals and the like of the corresponding components of the respective embodiments in parentheses.

一実施の形態における撮像装置は、入力画像信号を取得する画像取得部(101)と、前記入力画像信号を入力して信号処理を行い、出力画像信号を出力する信号処理部(102)と、前記出力画像信号を媒体に記憶する記憶部(103)と、を備える。前記信号処理部は、前記入力画像信号に含まれる各画素信号の周辺において、第1の平滑化範囲内の入力輝度信号を平滑化して平滑化輝度を算出する平滑化輝度算出部(1)と、前記入力輝度信号と前記平滑化輝度とを比較し、前記入力輝度信号が前記平滑化輝度より大きい場合は前記入力輝度信号と前記平滑化輝度との差分を第1の割合で縮小し、前記入力輝度信号と置き換えて出力輝度信号を生成する輝度信号処理部(2)と、を含む。   An imaging apparatus according to an embodiment includes an image acquisition unit (101) that acquires an input image signal, a signal processing unit (102) that inputs the input image signal, performs signal processing, and outputs an output image signal; And a storage unit (103) for storing the output image signal in a medium. The signal processing unit includes a smoothed luminance calculating unit (1) that smoothes an input luminance signal within a first smoothing range and calculates a smoothed luminance around each pixel signal included in the input image signal. Comparing the input luminance signal with the smoothed luminance, and if the input luminance signal is greater than the smoothed luminance, reducing the difference between the input luminance signal and the smoothed luminance by a first ratio, And a luminance signal processing unit (2) that generates an output luminance signal in place of the input luminance signal.

一実施の形態における信号処理装置は、入力画像信号に含まれる各画素信号の周辺において、第1の平滑化範囲内の入力輝度信号を平滑化して平滑化輝度を算出する平滑化輝度算出部(1)と、前記入力輝度信号と前記平滑化輝度とを比較し、前記入力輝度信号が前記平滑化輝度より大きい場合は前記入力輝度信号と前記平滑化輝度との差分を第1の割合で縮小し、前記入力輝度信号と置き換えて出力輝度信号を生成する輝度信号処理部(2)と、を備える。   A signal processing apparatus according to an embodiment smoothes an input luminance signal within a first smoothing range and calculates a smoothed luminance around each pixel signal included in the input image signal ( 1) is compared with the input luminance signal and the smoothed luminance. If the input luminance signal is larger than the smoothed luminance, the difference between the input luminance signal and the smoothed luminance is reduced by a first ratio. And a luminance signal processing unit (2) that generates an output luminance signal in place of the input luminance signal.

一実施の形態における肌診断システムは、前記信号処理装置を用いた肌診断システムであって、前記入力画像信号を取得する画像取得部と通信部とを含む携帯端末装置(40)と、前記携帯端末装置に取り付けられ、肌の接写を行うためのレンズと光源とを含む外付け装置(30)と、前記信号処理装置を含む情報処理装置(60)と、前記携帯端末装置と前記情報処理装置とが接続されるネットワーク(50)と、を備える。前記携帯端末装置は、前記外付け装置を介して前記肌の接写画像を取得して、前記肌の接写画像を前記ネットワークを介して前記情報処理装置に転送する。前記情報処理装置は、前記肌の接写画像を前記ネットワークを通じて取得し、前記信号処理装置を制御して得られる画像より肌診断データを生成し、その結果を前記ネットワークを介して前記携帯端末装置に転送する。   The skin diagnosis system in one embodiment is a skin diagnosis system using the signal processing device, and includes a portable terminal device (40) including an image acquisition unit and a communication unit that acquire the input image signal, and the portable An external device (30) attached to a terminal device and including a lens and a light source for close-up of the skin, an information processing device (60) including the signal processing device, the portable terminal device, and the information processing device Are connected to the network (50). The portable terminal device acquires the close-up image of the skin via the external device, and transfers the close-up image of the skin to the information processing device via the network. The information processing device acquires the close-up image of the skin through the network, generates skin diagnosis data from an image obtained by controlling the signal processing device, and sends the result to the mobile terminal device via the network. Forward.

以下、上述した実施の形態の概要に基づいた各実施の形態を図面に基づいて詳細に説明する。なお、実施の形態を説明するための全図において、同一の部材には原則として同一の符号を付し、その繰り返しの説明は省略する。
[実施の形態1]
Hereinafter, each embodiment based on the outline | summary of embodiment mentioned above is described in detail based on drawing. Note that components having the same function are denoted by the same reference symbols throughout the drawings for describing the embodiment, and the repetitive description thereof will be omitted.
[Embodiment 1]

実施の形態1における信号処理装置について、図1〜図18を用いて説明する。図1は、実施の形態1における信号処理装置の全体構成を説明するための図である。また、図2〜図18は、実施の形態1における信号処理装置の内部構成および内部動作を説明するための図である。
<信号処理装置>
The signal processing apparatus according to Embodiment 1 will be described with reference to FIGS. FIG. 1 is a diagram for explaining the overall configuration of the signal processing apparatus according to the first embodiment. 2 to 18 are diagrams for describing the internal configuration and internal operation of the signal processing device according to Embodiment 1. FIG.
<Signal processing device>

本実施の形態1における信号処理装置の構成および動作について、図1を用いて説明する。図1は、本実施の形態1における信号処理装置の全体構成の一例を説明する構成図である。   The configuration and operation of the signal processing apparatus according to the first embodiment will be described with reference to FIG. FIG. 1 is a configuration diagram illustrating an example of the overall configuration of the signal processing apparatus according to the first embodiment.

本実施の形態1における信号処理装置は、図1に示す通り、平滑化輝度算出部1と、輝度信号処理部2とから構成されている。輝度信号処理部2は、輝度/色差信号分離部21と、比較部22と、減算部23と、ゲイン乗算部24と、加算部25と、輝度信号スイッチング部26と、輝度/色差信号統合部27とから構成されている。   As shown in FIG. 1, the signal processing apparatus according to Embodiment 1 includes a smoothed luminance calculation unit 1 and a luminance signal processing unit 2. The luminance signal processing unit 2 includes a luminance / color difference signal separation unit 21, a comparison unit 22, a subtraction unit 23, a gain multiplication unit 24, an addition unit 25, a luminance signal switching unit 26, and a luminance / color difference signal integration unit. 27.

平滑化輝度算出部1は、入力画像信号が入力され、この入力画像信号に含まれる各画素信号の周辺において、所定の平滑化範囲内の入力輝度信号を平滑化して平滑化輝度を出力する手段である。   The smoothed luminance calculating unit 1 receives an input image signal, and outputs a smoothed luminance by smoothing the input luminance signal within a predetermined smoothing range around each pixel signal included in the input image signal. It is.

輝度信号処理部2において、輝度/色差信号分離部21は、入力画像信号が入力され、この入力画像信号を入力輝度信号と色差信号とに分離し、入力輝度信号と色差信号とを出力する手段である。比較部22は、輝度/色差信号分離部21からの入力輝度信号と、平滑化輝度算出部1からの平滑化輝度とが入力され、入力輝度信号と平滑化輝度とを比較し、比較結果を出力する手段である。   In the luminance signal processing unit 2, the luminance / color difference signal separation unit 21 receives an input image signal, separates the input image signal into an input luminance signal and a color difference signal, and outputs an input luminance signal and a color difference signal. It is. The comparison unit 22 receives the input luminance signal from the luminance / color difference signal separation unit 21 and the smoothed luminance from the smoothed luminance calculation unit 1, compares the input luminance signal with the smoothed luminance, and compares the comparison result. It is a means to output.

減算部23は、輝度/色差信号分離部21からの入力輝度信号と、平滑化輝度算出部1からの平滑化輝度とが入力され、減算により入力輝度信号と平滑化輝度との差分を出力する手段である。ゲイン乗算部24は、減算部23からの入力輝度信号と平滑化輝度との差分が入力され、この差分を所定の割合で縮小し、所定の割合で縮小された差分を出力する手段である。   The subtracting unit 23 receives the input luminance signal from the luminance / color difference signal separating unit 21 and the smoothed luminance from the smoothed luminance calculating unit 1, and outputs a difference between the input luminance signal and the smoothed luminance by subtraction. Means. The gain multiplication unit 24 is means for receiving the difference between the input luminance signal from the subtraction unit 23 and the smoothed luminance, reducing the difference at a predetermined rate, and outputting the difference reduced at the predetermined rate.

加算部25は、ゲイン乗算部24からの所定の割合で縮小された差分と、平滑化輝度算出部1からの平滑化輝度とが入力され、平滑化輝度に所定の割合で縮小された差分を加算して第1の輝度信号を出力する手段である。輝度信号スイッチング部26は、加算部25からの第1の輝度信号と、輝度/色差信号分離部21からの入力輝度信号と同じ値である第2の輝度信号が入力され、比較部22からの比較結果に基づいて、前記第1の輝度信号と前記第2の輝度信号の一方を選択して出力輝度信号として出力する手段である。   The addition unit 25 receives the difference reduced at a predetermined rate from the gain multiplication unit 24 and the smoothed luminance from the smoothed luminance calculation unit 1, and calculates the difference reduced at a predetermined rate to the smoothed luminance. A means for adding and outputting a first luminance signal. The luminance signal switching unit 26 receives the first luminance signal from the adding unit 25 and the second luminance signal having the same value as the input luminance signal from the luminance / color difference signal separating unit 21. A means for selecting one of the first luminance signal and the second luminance signal based on the comparison result and outputting the selected signal as an output luminance signal;

輝度/色差信号統合部27は、輝度信号スイッチング部26からの出力輝度信号と、輝度/色差信号分離部21からの色差信号とが入力され、出力輝度信号と色差信号とを統合して出力画像信号として出力する手段である。   The luminance / color difference signal integration unit 27 receives the output luminance signal from the luminance signal switching unit 26 and the color difference signal from the luminance / color difference signal separation unit 21, and integrates the output luminance signal and the color difference signal to output an output image. It is a means for outputting as a signal.

以上のように構成される信号処理装置の動作は、以下の通りである。先ず、平滑化輝度算出部1に、入力画像信号が入力される。平滑化輝度算出部1は、入力画像信号に含まれる各画素信号の周辺において、所定の平滑化範囲内の入力輝度信号を平滑化して平滑化輝度を出力する。平滑化輝度は、入力画像信号と共に、次いで輝度信号処理部2に入力される。輝度信号処理部2に入力された入力画像信号は、先ず、輝度/色差信号分離部21にて入力輝度信号と色差信号とに分離される。次いで、比較部22において入力輝度信号と平滑化輝度とを比較する。   The operation of the signal processing apparatus configured as described above is as follows. First, an input image signal is input to the smoothed luminance calculation unit 1. The smoothed luminance calculation unit 1 smoothes an input luminance signal within a predetermined smoothing range and outputs a smoothed luminance around each pixel signal included in the input image signal. The smoothed luminance is then input to the luminance signal processing unit 2 together with the input image signal. The input image signal input to the luminance signal processing unit 2 is first separated into an input luminance signal and a color difference signal by the luminance / color difference signal separation unit 21. Next, the comparison unit 22 compares the input luminance signal with the smoothed luminance.

例えば、入力輝度信号が平滑化輝度より大きい場合は、減算部23より出力される、入力輝度信号と平滑化輝度との差分を、ゲイン乗算部24において所定の割合で縮小し、加算部25において平滑化輝度に足し戻された第1の輝度信号が、輝度信号スイッチング部26によって選択される。一方で、入力輝度信号が平滑化輝度より大きくない場合は、輝度信号スイッチング部26は、入力輝度信号と同じ値である第2の輝度信号を出力輝度信号として選択する。そして、出力輝度信号と色差信号とは、輝度/色差信号統合部27において統合され、出力画像信号が出力される。   For example, when the input luminance signal is larger than the smoothed luminance, the difference between the input luminance signal and the smoothed luminance output from the subtracting unit 23 is reduced by a predetermined ratio in the gain multiplying unit 24, and the adding unit 25 The first luminance signal added back to the smoothed luminance is selected by the luminance signal switching unit 26. On the other hand, when the input luminance signal is not larger than the smoothed luminance, the luminance signal switching unit 26 selects the second luminance signal having the same value as the input luminance signal as the output luminance signal. The output luminance signal and the color difference signal are integrated by the luminance / color difference signal integration unit 27, and an output image signal is output.

各々の構成要素の詳細な動作は、後述(図2〜図18)する。   Detailed operation of each component will be described later (FIGS. 2 to 18).

本実施の形態1における信号処理装置において、輝度信号処理部2は、入力画像信号のテカリ成分のみ除去することを目的とした信号処理手段である。輝度信号処理部2は、入力画像信号において、周辺画素に対して相対的に高い輝度を持つ画素信号を補正対象とすることで、輝度の絶対値に依らずにテカリ除去を目的とした輝度信号処理を施すことができ、不均一な光環境において取得され輝度のムラが生じているような入力画像信号についても、良好な画像を得る。平滑化輝度算出部1は、輝度信号処理部2が行う信号処理の強度や対象とする画素の範囲を決定付ける手段であり、被写体や撮影条件に適したテカリ除去を行うことが可能となる。
<平滑化輝度算出部>
In the signal processing apparatus according to the first embodiment, the luminance signal processing unit 2 is a signal processing means for the purpose of removing only the shine component of the input image signal. The luminance signal processing unit 2 sets a pixel signal having a relatively high luminance with respect to the peripheral pixels in the input image signal as a correction target, so that the luminance signal for the purpose of removing shine without depending on the absolute value of the luminance. A good image can be obtained even for an input image signal that can be processed and is obtained in a non-uniform light environment and has uneven brightness. The smoothed luminance calculation unit 1 is a means for determining the intensity of signal processing performed by the luminance signal processing unit 2 and the range of target pixels, and can perform shine removal suitable for the subject and shooting conditions.
<Smoothing luminance calculation unit>

次いで、図1に示す、本実施の形態1における信号処理装置について、各々の構成要素の詳細な構成および動作を説明する。先ず、輝度信号処理部2において、入力画像信号の各画素信号が、周辺画素に対して相対的に高い輝度を持つか否かを判定する基準とするための平滑化輝度を、入力画像信号の各画素信号について算出する、平滑化輝度算出部1の構成および動作について説明する。   Next, the detailed configuration and operation of each component of the signal processing apparatus according to the first embodiment shown in FIG. 1 will be described. First, in the luminance signal processing unit 2, the smoothed luminance used as a reference for determining whether or not each pixel signal of the input image signal has a relatively high luminance with respect to the peripheral pixels is used as the input image signal. The configuration and operation of the smoothed luminance calculation unit 1 that is calculated for each pixel signal will be described.

図2は、平滑化輝度算出部1の内部構成の一例を説明する構成図である。平滑化輝度算出部1は、図2に示す通り、平滑化範囲決定部3と、入力輝度信号抽出部11と、平滑化演算部12とから構成されている。   FIG. 2 is a configuration diagram illustrating an example of an internal configuration of the smoothed luminance calculation unit 1. As shown in FIG. 2, the smoothed luminance calculating unit 1 includes a smoothed range determining unit 3, an input luminance signal extracting unit 11, and a smoothing calculating unit 12.

平滑化輝度算出部1に入力された入力画像信号は、平滑化範囲決定部3と、入力輝度信号抽出部11とに入力される。平滑化範囲決定部3は、入力画像信号の各画素の周辺画素において輝度信号の平滑化を行うための、平滑化範囲を出力する。入力輝度信号抽出部11は、平滑化を行うための入力輝度信号を、入力画像信号から抽出して出力する。平滑化演算部12は、平滑化範囲決定部3から出力された平滑化範囲に含まれる各画素の、入力輝度信号抽出部11から出力された入力輝度信号を平滑化し、平滑化輝度として出力する。   The input image signal input to the smoothed luminance calculating unit 1 is input to the smoothed range determining unit 3 and the input luminance signal extracting unit 11. The smoothing range determining unit 3 outputs a smoothing range for smoothing the luminance signal in the peripheral pixels of each pixel of the input image signal. The input luminance signal extraction unit 11 extracts and outputs an input luminance signal for smoothing from the input image signal. The smoothing calculation unit 12 smoothes the input luminance signal output from the input luminance signal extraction unit 11 of each pixel included in the smoothing range output from the smoothing range determination unit 3 and outputs the smoothed luminance. .

図15は、平滑化演算部12の動作の一例を説明する説明図である。F151はテカリ成分を含む画像の一例を示し、また、F152はテカリ成分と視認される高輝度領域、F153は信号処理対象の一画素(注目画素)、F154は平滑化範囲の一例を示す。   FIG. 15 is an explanatory diagram illustrating an example of the operation of the smoothing calculation unit 12. F151 indicates an example of an image including a shine component, F152 indicates a high luminance area visually recognized as a shine component, F153 indicates one pixel (target pixel) to be processed, and F154 indicates an example of a smoothing range.

図15に示す例では、注目画素F153は高輝度領域F152の内部にあるため、高輝度領域F152の周辺画素と比べると相対的に高い輝度を持つ。したがって、注目画素F153の周囲に、高輝度領域のみならず周辺画素も多く含むように平滑化範囲F154を定義すると、平滑化範囲F154に含まれる画素より算出する平滑化輝度は、注目画素F153の輝度信号より小さい値となる。   In the example illustrated in FIG. 15, the target pixel F153 is inside the high luminance region F152, and thus has a relatively high luminance as compared with the peripheral pixels of the high luminance region F152. Therefore, when the smoothing range F154 is defined so as to include not only the high luminance region but also many peripheral pixels around the pixel of interest F153, the smoothing luminance calculated from the pixels included in the smoothing range F154 is the same as that of the pixel of interest F153. The value is smaller than the luminance signal.

以上のような構成をとることにより、輝度信号処理部2において、入力画像信号の各画素信号が、周辺画素に対して相対的に高い輝度を持つか否かを判定する基準とするための平滑化輝度を、入力画像信号の各画素信号について算出する信号処理装置を実現可能である。
<平滑化範囲決定部>
By adopting the configuration as described above, the luminance signal processing unit 2 performs smoothing as a reference for determining whether or not each pixel signal of the input image signal has a relatively high luminance with respect to surrounding pixels. It is possible to realize a signal processing device that calculates the normalized luminance for each pixel signal of the input image signal.
<Smoothing range determination unit>

続いて、図2に示す平滑化輝度算出部1に含まれ、入力画像信号からテカリ成分の程度に適した平滑化範囲を決定するための平滑化範囲決定部3の構成および動作について説明する。   Next, the configuration and operation of the smoothing range determination unit 3 included in the smoothing luminance calculation unit 1 shown in FIG. 2 for determining a smoothing range suitable for the degree of the shine component from the input image signal will be described.

図3は、平滑化範囲決定部3の内部構成の一例を説明する構成図である。平滑化範囲決定部3は、図3に示す通り、判定領域検出部4と、平滑化範囲決定部31とから構成されている。判定領域検出部4は、必ずしも搭載する必要はない。   FIG. 3 is a configuration diagram illustrating an example of an internal configuration of the smoothing range determination unit 3. As shown in FIG. 3, the smoothing range determination unit 3 includes a determination region detection unit 4 and a smoothing range determination unit 31. The determination area detection unit 4 is not necessarily installed.

平滑化範囲決定部3に入力された入力画像信号は、判定領域検出部4と、平滑化範囲決定部31とに入力される。判定領域検出部4は、入力画像信号から、平滑化範囲を決定するために使用する判定領域を出力する。平滑化範囲決定部31は、判定領域検出部4から出力された判定領域の内部において、入力画像信号の情報に基づき、平滑化演算部12に入力するための平滑化範囲を出力する。判定領域検出部4を搭載しない場合は、入力画像信号に含まれる全画素分の領域が、判定領域として平滑化範囲決定部31に入力される。この場合、特定の被写体や撮影条件に限定せず、入力画像信号全体のテカリ成分に基づいて平滑化範囲を決定することが可能となる。   The input image signal input to the smoothing range determination unit 3 is input to the determination region detection unit 4 and the smoothing range determination unit 31. The determination area detection unit 4 outputs a determination area used for determining a smoothing range from the input image signal. The smoothing range determination unit 31 outputs a smoothing range to be input to the smoothing calculation unit 12 based on the information of the input image signal within the determination region output from the determination region detection unit 4. When the determination area detection unit 4 is not installed, an area for all pixels included in the input image signal is input to the smoothing range determination unit 31 as a determination area. In this case, the smoothing range can be determined based on the shine component of the entire input image signal without being limited to a specific subject or shooting conditions.

図4は、平滑化範囲決定部31の第1の構成例を説明する構成図である。また、図6は、平滑化範囲決定部31の第1の構成例において、高輝度信号割合と平滑化範囲面積との関係を説明する説明図である。平滑化範囲決定部31の第1の構成例は、図4に示す通り、入力輝度信号抽出部311と、高輝度信号割合算出部312と、平滑化範囲出力部313とから構成されている。ここで、入力輝度信号抽出部311は、図2に示す入力輝度信号抽出部11と同等である。   FIG. 4 is a configuration diagram illustrating a first configuration example of the smoothing range determination unit 31. FIG. 6 is an explanatory diagram for explaining the relationship between the high luminance signal ratio and the smoothing range area in the first configuration example of the smoothing range determining unit 31. As shown in FIG. 4, the first configuration example of the smoothing range determination unit 31 includes an input luminance signal extraction unit 311, a high luminance signal ratio calculation unit 312, and a smoothing range output unit 313. Here, the input luminance signal extraction unit 311 is equivalent to the input luminance signal extraction unit 11 shown in FIG.

平滑化範囲決定部31に入力された入力画像信号は、入力輝度信号抽出部311に入力される。入力輝度信号抽出部311は、高輝度信号の割合を算出するための入力輝度信号を、入力画像信号から抽出して出力する。一方で、判定領域検出部4より出力され、平滑化範囲決定部31に入力された判定領域は、高輝度信号割合算出部312に入力される。高輝度信号割合算出部312は、判定領域に含まれる全画素分の入力輝度信号を使用し、輝度に関する所定の閾値に基づき、高輝度信号の割合を算出する。ここでの高輝度信号の割合とは、判定領域全体におけるテカリ成分の程度に相当する。   The input image signal input to the smoothing range determination unit 31 is input to the input luminance signal extraction unit 311. The input luminance signal extraction unit 311 extracts and outputs an input luminance signal for calculating the ratio of the high luminance signal from the input image signal. On the other hand, the determination region output from the determination region detection unit 4 and input to the smoothing range determination unit 31 is input to the high luminance signal ratio calculation unit 312. The high luminance signal ratio calculation unit 312 uses the input luminance signals for all the pixels included in the determination region, and calculates the ratio of the high luminance signal based on a predetermined threshold related to luminance. Here, the ratio of the high luminance signal corresponds to the degree of the shine component in the entire determination region.

高輝度信号割合算出部312より出力される高輝度信号割合は、平滑化範囲出力部313に入力される。平滑化範囲出力部313は、図6に示すように、高輝度信号割合が大きくなるほど、大きい平滑化範囲面積を出力する。これにより、判定領域全体におけるテカリ成分の程度に適した範囲で、輝度信号の平滑化を行うことが可能となる。平滑化範囲出力部313において出力された平滑化範囲が、平滑化範囲決定部31より出力される。   The high luminance signal ratio output from the high luminance signal ratio calculation unit 312 is input to the smoothing range output unit 313. As shown in FIG. 6, the smoothing range output unit 313 outputs a larger smoothing range area as the high luminance signal ratio increases. As a result, the luminance signal can be smoothed in a range suitable for the degree of the shine component in the entire determination region. The smoothing range output from the smoothing range output unit 313 is output from the smoothing range determination unit 31.

図5は、平滑化範囲決定部31の第2の構成例を説明する構成図である。平滑化範囲決定部31の第2の構成例は、図5に示す通り、入力輝度信号抽出部311と、高輝度信号割合判定部314と、平滑化範囲スイッチング部315とから構成されている。   FIG. 5 is a configuration diagram illustrating a second configuration example of the smoothing range determination unit 31. As shown in FIG. 5, the second configuration example of the smoothing range determination unit 31 includes an input luminance signal extraction unit 311, a high luminance signal ratio determination unit 314, and a smoothing range switching unit 315.

図5に示す、平滑化範囲決定部31の第2の構成例は、前記図4に示す第1の構成例を簡略化した構成である。高輝度信号割合判定部314は、入力される判定領域に含まれる全画素分の入力輝度信号より、輝度や比率に関する複数の所定の閾値に基づき、判定領域のテカリ成分の程度を二値によって判定し、判定結果を出力する。判定結果は、平滑化範囲スイッチング部315に入力される。   The second configuration example of the smoothing range determination unit 31 illustrated in FIG. 5 is a configuration in which the first configuration example illustrated in FIG. 4 is simplified. The high luminance signal ratio determination unit 314 determines, based on a plurality of predetermined threshold values related to luminance and ratio, from the input luminance signal for all pixels included in the input determination region, based on a binary value. And output the determination result. The determination result is input to the smoothing range switching unit 315.

例えば、平滑化範囲スイッチング部315において、第1の平滑化範囲が第2の平滑化範囲より大きいとすると、判定結果が真であった場合、すなわちテカリ成分の程度が大きいと判定した場合は、第1の平滑化範囲が選択される。一方で、判定結果が偽であった場合、すなわちテカリ成分の程度が小さいと判定した場合は、第2の平滑化範囲が選択される。これにより、判定領域全体におけるテカリ成分の程度に基づき、二種類の平滑化範囲から一種類を選択し、輝度信号の平滑化を行うことが可能となる。平滑化範囲スイッチング部315において選択された平滑化範囲が、平滑化範囲決定部31より出力される。   For example, in the smoothing range switching unit 315, if the first smoothing range is larger than the second smoothing range, if the determination result is true, that is, if it is determined that the degree of the shine component is large, A first smoothing range is selected. On the other hand, when the determination result is false, that is, when it is determined that the degree of the shine component is small, the second smoothing range is selected. Accordingly, it is possible to select one type from two types of smoothing ranges based on the degree of the shine component in the entire determination region and smooth the luminance signal. The smoothing range selected by the smoothing range switching unit 315 is output from the smoothing range determining unit 31.

図4、図5に示す、平滑化範囲決定部31の構成例は、平滑化範囲を決定する手段の例であり、これに限定されるものではない。   The configuration example of the smoothing range determination unit 31 illustrated in FIGS. 4 and 5 is an example of means for determining the smoothing range, and is not limited thereto.

以上のような構成をとることにより、入力画像信号からテカリ成分の程度に適した平滑化範囲を決定する信号処理装置を実現可能である。
<判定領域検出部>
By adopting the configuration as described above, it is possible to realize a signal processing device that determines a smoothing range suitable for the degree of the shine component from the input image signal.
<Determination area detection unit>

続いて、図3に示す平滑化範囲決定部3に含まれ、入力画像信号から平滑化範囲を決定するために使用する判定領域として、被写体や撮影条件に適した判定領域を出力する、判定領域検出部4の構成および動作について説明する。   Subsequently, a determination region that is included in the smoothing range determination unit 3 illustrated in FIG. 3 and outputs a determination region suitable for the subject and the shooting conditions as a determination region used to determine the smoothing range from the input image signal. The configuration and operation of the detection unit 4 will be described.

図7は、判定領域検出部4の第1の構成例を説明する構成図である。判定領域検出部4の第1の構成例は、図7に示す通り、肌領域検出部5と、重心位置算出部41と、矩形領域出力部42とから構成されている。   FIG. 7 is a configuration diagram illustrating a first configuration example of the determination region detection unit 4. As shown in FIG. 7, the first configuration example of the determination region detection unit 4 includes a skin region detection unit 5, a centroid position calculation unit 41, and a rectangular region output unit 42.

判定領域検出部4に入力された入力画像信号は、肌領域検出部5と、重心位置算出部41とに入力される。肌領域検出部5は、入力画像信号に含まれる肌領域を検出し、出力する。重心位置算出部41は、入力画像信号における肌領域について、重心位置を算出し、出力する。矩形領域出力部42は、重心位置を入力し、重心位置を中心として所定の長さを一辺とする矩形領域を定義し、出力する。判定領域検出部4の第1の構成例は、矩形領域を判定領域として出力する。   The input image signal input to the determination region detection unit 4 is input to the skin region detection unit 5 and the gravity center position calculation unit 41. The skin area detection unit 5 detects and outputs a skin area included in the input image signal. The centroid position calculation unit 41 calculates and outputs the centroid position for the skin area in the input image signal. The rectangular area output unit 42 receives the position of the center of gravity, defines and outputs a rectangular area having a predetermined length as one side centered on the position of the center of gravity. The first configuration example of the determination area detection unit 4 outputs a rectangular area as a determination area.

図8は、判定領域検出部4の第1の構成例に含まれる、重心位置算出部41の内部構成の一例を説明する構成図である。重心位置算出部41は、図8に示す通り、入力輝度信号抽出部411と、二値画像生成部412と、二値画像重心位置算出部413とから構成されている。ここで、入力輝度信号抽出部411は、図5に示す入力輝度信号抽出部311と同等である。   FIG. 8 is a configuration diagram illustrating an example of an internal configuration of the gravity center position calculation unit 41 included in the first configuration example of the determination region detection unit 4. As shown in FIG. 8, the centroid position calculation unit 41 includes an input luminance signal extraction unit 411, a binary image generation unit 412, and a binary image centroid position calculation unit 413. Here, the input luminance signal extraction unit 411 is equivalent to the input luminance signal extraction unit 311 shown in FIG.

重心位置算出部41に入力された入力画像信号は、入力輝度信号抽出部411に入力される。入力輝度信号抽出部411は、二値画像を生成するための入力輝度信号を、入力画像信号から抽出して出力する。二値画像を生成するための入力輝度信号は、重心位置算出部41に入力された肌領域とともに、二値画像生成部412に入力される。二値画像生成部412は、入力輝度信号が肌領域に含まれている場合は白色、含まれていない場合は黒色とするような二値輝度信号Yを出力する。二値画像重心位置算出部413は、二値輝度信号Yを入力し、数1に基づいて重心位置pを算出する。ここで、pは各画素の位置、pは重心位置、Yは二値輝度信号を示す。The input image signal input to the barycentric position calculation unit 41 is input to the input luminance signal extraction unit 411. The input luminance signal extraction unit 411 extracts and outputs an input luminance signal for generating a binary image from the input image signal. The input luminance signal for generating the binary image is input to the binary image generation unit 412 together with the skin region input to the gravity center position calculation unit 41. Binary image generating unit 412, when the input luminance signal is included in the skin region is white, if not included outputs the binary luminance signal Y b as the black. Binary image centroid position calculation unit 413 inputs the binary luminance signal Y b, calculates the barycentric position p c on the basis of the number 1. Here, p is the position of each pixel, p c is the center of gravity position, Y b represents a binary luminance signal.

肌領域が円形に近いような場合、二値画像重心位置算出部413によって出力される重心位置は、肌領域の中心付近に位置する。したがって、図7に示すように判定領域検出部4を構成する場合、肌領域の縁から離れた中心付近の領域を広く使用して、テカリの程度を判定することが可能となる。   When the skin area is close to a circle, the barycentric position output by the binary image barycentric position calculating unit 413 is located near the center of the skin area. Therefore, when the determination region detection unit 4 is configured as shown in FIG. 7, it is possible to determine the degree of shine by widely using a region near the center away from the edge of the skin region.

図11は、判定領域検出部4の第2の構成例を説明する構成図である。判定領域検出部4は、図11に示す通り、肌領域検出部5と、顔認識部6と、共通領域出力用論理積演算部43とから構成されている。   FIG. 11 is a configuration diagram illustrating a second configuration example of the determination region detection unit 4. As shown in FIG. 11, the determination area detection unit 4 includes a skin area detection unit 5, a face recognition unit 6, and a common region output AND operation unit 43.

判定領域検出部4に入力された入力画像信号は、肌領域検出部5と、顔認識部6とに入力される。肌領域検出部5は、入力画像信号に含まれる肌領域を検出する手段であり、入力した画素が肌領域である場合は真を、そうでない場合は偽を出力する。一方で、顔認識部6は、入力画像信号から顔領域を検出する手段であり、入力した画素が顔領域である場合は真を、そうでない場合は偽を出力する手段であって、いかなる既存技術によって構成されてもよい。肌領域検出部5が出力する肌領域と、顔認識部6が出力する顔領域は、共通領域出力用論理積演算部43に入力され、両者の論理積による共通領域を判定領域として出力する。   The input image signal input to the determination region detection unit 4 is input to the skin region detection unit 5 and the face recognition unit 6. The skin area detection unit 5 is means for detecting a skin area included in the input image signal, and outputs true if the input pixel is a skin area, and false otherwise. On the other hand, the face recognition unit 6 is a means for detecting a face area from the input image signal. The face recognition section 6 is a means for outputting true if the input pixel is a face area, and outputting false otherwise. It may be configured by technology. The skin region output by the skin region detection unit 5 and the face region output by the face recognition unit 6 are input to the common region output logical product operation unit 43, and a common region based on the logical product of both is output as a determination region.

被写体として顔が含まれる画像を入力し、顔に生じるテカリ成分の除去に主眼を置く場合、図11に示すように判定領域検出部4を構成することで、顔に生じるテカリ成分の程度に適した信号処理が実現可能である。   When an image including a face is input as a subject and the focus is on removal of the shine component generated on the face, the determination region detection unit 4 is configured as shown in FIG. Signal processing can be realized.

以上のような構成をとることにより、入力画像信号から平滑化範囲を決定するために使用する判定領域として、被写体や撮影条件に適した判定領域を出力する信号処理装置を実現可能である。
<肌領域検出部>
By adopting the configuration as described above, it is possible to realize a signal processing device that outputs a determination region suitable for a subject and photographing conditions as a determination region used for determining a smoothing range from an input image signal.
<Skin area detection unit>

続いて、図7〜図11に示す判定領域検出部4に含まれ、入力画像信号から肌領域を検出する、肌領域検出部5の構成および動作について説明する。   Next, the configuration and operation of the skin region detection unit 5 that is included in the determination region detection unit 4 illustrated in FIGS. 7 to 11 and detects a skin region from the input image signal will be described.

図9は、肌領域検出部5の内部構成の一例を説明する構成図である。また、図17は、HSV色空間の一例を説明する説明図である。また、図18は、肌領域の検出に使用する肌色の定義例を説明する説明図である。肌領域検出部5は、図9に示す通り、色信号抽出部51と、色信号R用平滑化フィルタ52と、色信号G用平滑化フィルタ53と、色信号B用平滑化フィルタ54と、色相算出部55と、肌色判定部56とから構成されている。   FIG. 9 is a configuration diagram illustrating an example of an internal configuration of the skin region detection unit 5. FIG. 17 is an explanatory diagram for explaining an example of the HSV color space. FIG. 18 is an explanatory diagram for explaining a definition example of the skin color used for detecting the skin region. As shown in FIG. 9, the skin region detection unit 5 includes a color signal extraction unit 51, a color signal R smoothing filter 52, a color signal G smoothing filter 53, and a color signal B smoothing filter 54, A hue calculation unit 55 and a skin color determination unit 56 are included.

肌領域検出部5に入力された入力画像信号は、色信号抽出部51に入力される。色信号抽出部51は、入力された入力画像信号から三種の色信号R、色信号G、色信号Bを抽出し、出力する。三種の色信号は、色信号Rは色信号R用平滑化フィルタ52によって、色信号Gは色信号G用平滑化フィルタ53によって、色信号Bは色信号B用平滑化フィルタ54によって、各画素を中心として所定の範囲において平滑化される。各種平滑化フィルタ52〜54が出力した色信号R、色信号G、色信号Bは、色相算出部55に入力される。色相算出部55は、数2に基づいて色相信号Hを算出する。   The input image signal input to the skin area detection unit 5 is input to the color signal extraction unit 51. The color signal extraction unit 51 extracts three types of color signals R, color signals G, and color signals B from the input image signals that have been input, and outputs them. The three kinds of color signals are obtained by using the color signal R by the color signal R smoothing filter 52, the color signal G by the color signal G smoothing filter 53, and the color signal B by the color signal B smoothing filter 54. Is smoothed in a predetermined range with respect to. The color signal R, color signal G, and color signal B output from the various smoothing filters 52 to 54 are input to the hue calculation unit 55. The hue calculation unit 55 calculates the hue signal H based on Equation 2.

色相信号Hは、図17に示すHSV色空間を構成する信号の一種である。HSV色空間は、RGB色空間と同じく色空間の一種であり、色の種類を表す色相信号(H)、色の鮮やかさを表す彩度信号(S)、明るさを表す明度信号(V)から構成されている。色相算出部55より出力された色相信号は、肌色判定部56に入力される。肌色判定部56は、図18に示すように、色相信号に関する所定の第1の閾値F181と所定の第2の閾値F182との間に含まれる色相信号を肌色色相F183と定義し、入力された各画素の色相信号を比較することで、肌領域を出力する。所定の第1の閾値F181と所定の第2の閾値F182とは、被写体となる肌の色に適するように、値を調整してもよい。肌色判定部56が出力した肌領域は、肌領域検出部5より出力される。   The hue signal H is a kind of signal constituting the HSV color space shown in FIG. The HSV color space is a kind of color space similar to the RGB color space, and a hue signal (H) representing the type of color, a saturation signal (S) representing the vividness of the color, and a lightness signal (V) representing the brightness. It is composed of The hue signal output from the hue calculation unit 55 is input to the skin color determination unit 56. As shown in FIG. 18, the skin color determination unit 56 defines the hue signal included between the predetermined first threshold value F181 and the predetermined second threshold value F182 related to the hue signal as the skin color hue F183 and is input. The skin area is output by comparing the hue signals of the respective pixels. The values of the predetermined first threshold value F181 and the predetermined second threshold value F182 may be adjusted so as to be suitable for the skin color as the subject. The skin area output by the skin color determination unit 56 is output from the skin area detection unit 5.

以上のような構成をとることにより、入力画像信号から肌領域を検出する信号処理装置を実現可能である。   By adopting the configuration as described above, it is possible to realize a signal processing device that detects a skin region from an input image signal.

以上のように、平滑化範囲決定部3、判定領域検出部4、その他信号処理部を組み合わせ、また、肌領域検出部5や、顔認識部6などを適宜使用することにより、輝度信号処理部2(図1)において被写体や撮影条件に適した信号処理を行うための平滑化輝度を、入力画像信号の各画素信号について算出する信号処理装置を実現可能である。
<輝度信号処理部>
As described above, by combining the smoothing range determination unit 3, the determination region detection unit 4, and other signal processing units, and by appropriately using the skin region detection unit 5, the face recognition unit 6, and the like, the luminance signal processing unit 2 (FIG. 1), it is possible to realize a signal processing apparatus that calculates the smoothed luminance for performing signal processing suitable for the subject and shooting conditions for each pixel signal of the input image signal.
<Luminance signal processor>

続いて、入力画像信号において周辺画素に対して相対的に高い輝度を持つ画素信号を補正対象とし、入力画像信号のテカリ成分のみ除去する輝度信号処理を行う輝度信号処理部2の構成および動作について説明する。   Subsequently, regarding the configuration and operation of the luminance signal processing unit 2 that performs the luminance signal processing that removes only the shine component of the input image signal, with the pixel signal having a relatively high luminance relative to the surrounding pixels in the input image signal being corrected. explain.

図1に示す輝度信号処理部2は、輝度/色差信号分離部21と、比較部22と、減算部23と、ゲイン乗算部24と、加算部25と、輝度信号スイッチング部26と、輝度/色差信号統合部27とから構成されている。   The luminance signal processing unit 2 shown in FIG. 1 includes a luminance / color difference signal separation unit 21, a comparison unit 22, a subtraction unit 23, a gain multiplication unit 24, an addition unit 25, a luminance signal switching unit 26, And a color difference signal integration unit 27.

図13は、補正前輝度信号と補正後輝度信号との入出力特性の一例を説明する説明図である。また、図14Aは、補正前輝度信号と平滑化輝度との位置に対する輝度分布の一例を説明する説明図である。また、図14Bは、補正前輝度信号と平滑化輝度とに加え、補正後輝度信号の位置に対する輝度分布の一例を説明する説明図である。各画素の位置は、実際には二次元で表されるが、図14A、図14Bでは一次元に簡略化している。   FIG. 13 is an explanatory diagram illustrating an example of input / output characteristics of the luminance signal before correction and the luminance signal after correction. FIG. 14A is an explanatory diagram illustrating an example of a luminance distribution with respect to the position of the luminance signal before correction and the smoothed luminance. FIG. 14B is an explanatory diagram illustrating an example of a luminance distribution with respect to the position of the corrected luminance signal in addition to the luminance signal before correction and the smoothed luminance. The position of each pixel is actually represented in two dimensions, but is simplified to one dimension in FIGS. 14A and 14B.

輝度信号処理部2に入力される入力画像信号は、輝度/色差信号分離部21に入力され、輝度信号処理を行う補正前輝度信号と、輝度/色差信号統合部27において出力画像信号を出力するために使用する色差信号とに分離される。一方で、輝度信号処理部2には、平滑化輝度算出部1が出力した平滑化輝度が入力される。補正前輝度信号と平滑化輝度とは、比較部22に入力される。比較部22は、判定結果として、補正前輝度信号が平滑化輝度より大きい場合は真を、そうでない場合は偽を出力する。この判定結果と出力結果は、輝度信号スイッチング部26に入力される。輝度信号スイッチング部26は、判定結果が真であれば第1の輝度信号を、偽であれば第2の輝度信号を、補正後輝度信号として選択し、出力する。ここで、第2の輝度信号とは、補正前輝度信号について何れの処理を行わない、補正前輝度信号と同じ値の輝度信号である。   The input image signal input to the luminance signal processing unit 2 is input to the luminance / color difference signal separation unit 21 and outputs an uncorrected luminance signal for performing luminance signal processing and an output image signal in the luminance / color difference signal integration unit 27. Therefore, it is separated into color difference signals to be used. On the other hand, the luminance signal processing unit 2 receives the smoothed luminance output from the smoothed luminance calculating unit 1. The luminance signal before correction and the smoothed luminance are input to the comparison unit 22. As a determination result, the comparison unit 22 outputs true when the pre-correction luminance signal is greater than the smoothed luminance, and outputs false otherwise. The determination result and the output result are input to the luminance signal switching unit 26. The luminance signal switching unit 26 selects and outputs the first luminance signal as the corrected luminance signal if the determination result is true and the second luminance signal if the determination result is false. Here, the second luminance signal is a luminance signal having the same value as that of the luminance signal before correction without performing any processing on the luminance signal before correction.

次いで、第1の輝度信号の生成方法を説明する。補正前輝度信号は、減算部23に入力される。減算部23には、併せて平滑化輝度が入力され、補正前輝度信号から平滑化輝度を減算し、差分を出力する。この差分はゲイン乗算部24に入力され、所定のゲインが乗算され、出力される。テカリ除去を目的とする輝度信号処理においては、高輝度成分を抑圧する処理となるため、ゲインは1未満である。このゲインは、図13に示すように、所定の一律の値であってもよいし、差分の大きさによって変化する値でもよい。また、外部から値を変更できる構成としてもよい。   Next, a method for generating the first luminance signal will be described. The pre-correction luminance signal is input to the subtracting unit 23. The smoothing luminance is also input to the subtraction unit 23, and the smoothing luminance is subtracted from the pre-correction luminance signal, and the difference is output. This difference is input to the gain multiplier 24, multiplied by a predetermined gain, and output. In the luminance signal processing for the purpose of removing shine, the gain is less than 1 because the processing is to suppress the high luminance component. As shown in FIG. 13, this gain may be a predetermined uniform value or a value that varies depending on the magnitude of the difference. Moreover, it is good also as a structure which can change a value from the outside.

ゲイン乗算部24の出力値は、加算部25に入力され、平滑化輝度に足し戻され、第1の輝度信号となる。そして、輝度信号スイッチング部26が、比較部22の判定結果に基づいて、第1の輝度信号と第2の輝度信号とのいずれかを選択することによって出力される補正後の輝度信号は、輝度/色差信号統合部27に入力される。輝度/色差信号統合部27には、輝度/色差信号分離部21が出力した色差信号が併せて入力され、両信号を統合することで、出力画像信号を生成し、出力する。輝度信号処理部2は、出力画像信号を出力する。   The output value of the gain multiplication unit 24 is input to the addition unit 25, added back to the smoothed luminance, and becomes the first luminance signal. The corrected luminance signal output when the luminance signal switching unit 26 selects either the first luminance signal or the second luminance signal based on the determination result of the comparison unit 22 is luminance. / The color difference signal integration unit 27 is input. The luminance / color difference signal integration unit 27 receives the color difference signal output from the luminance / color difference signal separation unit 21 together, and generates and outputs an output image signal by integrating both signals. The luminance signal processing unit 2 outputs an output image signal.

補正前輝度信号が、図14Aに示すような輝度分布を持つ場合、各画素に対して算出した平滑化輝度の輝度分布は、補正前輝度信号における輝度分布の極大値と極小値との間を縫うように遷移する。そして、この平滑化輝度に基づいて輝度の非線形処理を行うことで、図14Bに示すように、周辺画素に対して相対的に高い輝度を持つ画素信号を補正対象とすることが可能となる。したがって、輝度の絶対値に依らず、テカリ除去を目的とした輝度信号処理を施すことができ、不均一な光環境において取得され輝度のムラが生じているような入力画像信号についても、良好な画像を得ることができる。   When the luminance signal before correction has a luminance distribution as shown in FIG. 14A, the luminance distribution of the smoothed luminance calculated for each pixel is between the maximum value and the minimum value of the luminance distribution in the luminance signal before correction. Transition to sew. Then, by performing non-linear luminance processing based on the smoothed luminance, as shown in FIG. 14B, a pixel signal having a relatively high luminance with respect to surrounding pixels can be set as a correction target. Therefore, it is possible to perform luminance signal processing for the purpose of removing shine without depending on the absolute value of luminance, and it is good even for an input image signal that is acquired in a non-uniform light environment and has uneven luminance. An image can be obtained.

以上のような構成をとることにより、入力画像信号において周辺画素に対して相対的に高い輝度を持つ画素信号を補正対象とし、入力画像信号のテカリ成分のみ除去する輝度信号処理を行う信号処理装置を実現可能である。
<信号処理装置の内部処理>
By adopting the configuration as described above, a signal processing apparatus that performs luminance signal processing for correcting a pixel signal having a relatively high luminance with respect to surrounding pixels in an input image signal and removing only a shine component of the input image signal. Is feasible.
<Internal processing of signal processing device>

最後に、図1に示す本実施の形態1における信号処理装置の内部処理フローの一例について説明する。図12は、図1に示す信号処理装置において、内部処理の一例を説明するフローチャートである。   Finally, an example of the internal processing flow of the signal processing apparatus according to the first embodiment shown in FIG. 1 will be described. FIG. 12 is a flowchart for explaining an example of internal processing in the signal processing apparatus shown in FIG.

先ず、ステップS1において、平滑化輝度算出部1における平滑化範囲決定部3は、全画素の入力画像信号から平滑化領域を決定する。次いでステップS2に進む。ステップS2以降は、1画素単位の処理となる。また、後述の説明において、補正前輝度信号を輝度Y、補正後輝度信号を輝度Y’とする。輝度信号処理は、ラスタースキャンによって1画素ずつ行うため、ステップS2において注目画素の設定を行う。ラスタースキャンは、原点から開始し、水平方向の一行の走査が完了したら次の行へ移行するスキャン方法である。   First, in step S1, the smoothing range determination unit 3 in the smoothing luminance calculation unit 1 determines a smoothing region from input image signals of all pixels. Next, the process proceeds to step S2. From step S2 onward, processing is performed in units of one pixel. In the following description, it is assumed that the luminance signal before correction is luminance Y and the luminance signal after correction is luminance Y ′. Since the luminance signal processing is performed pixel by pixel by raster scan, the target pixel is set in step S2. Raster scanning is a scanning method that starts from the origin and moves to the next row when scanning of one horizontal row is completed.

輝度信号処理の開始時は、原点を注目画素として設定する。次いで、ステップS3において、平滑化演算部12は、注目画素の輝度Yより、ステップS1で決定した平滑化領域に基づき、注目画素の周辺における平滑化輝度を計算する。   At the start of luminance signal processing, the origin is set as the target pixel. Next, in step S3, the smoothing calculation unit 12 calculates the smoothing luminance around the target pixel based on the smoothing region determined in step S1, based on the luminance Y of the target pixel.

そして、ステップS4において、輝度信号処理部2における比較部22は、注目画素の輝度Yと平滑化輝度とを比較し、注目画素の輝度Yが平滑化輝度より大きい場合、ステップS5において、減算部23、ゲイン乗算部24および加算部25は、注目画素の輝度Yと平滑化輝度との差分を所定の割合で縮小し、平滑化輝度に足し戻すことで、輝度Y’を計算する。一方で、ステップS4において注目画素の輝度Yが平滑化輝度より大きくない場合は、ステップS6に示すように、処理することなく、輝度Y’を輝度Yと同じ値にする。   In step S4, the comparison unit 22 in the luminance signal processing unit 2 compares the luminance Y of the pixel of interest with the smoothed luminance. If the luminance Y of the pixel of interest is greater than the smoothed luminance, the subtracting unit in step S5. 23, the gain multiplication unit 24 and the addition unit 25 calculate the luminance Y ′ by reducing the difference between the luminance Y of the target pixel and the smoothed luminance at a predetermined ratio and adding it back to the smoothed luminance. On the other hand, when the luminance Y of the target pixel is not larger than the smoothed luminance in step S4, the luminance Y ′ is set to the same value as the luminance Y without being processed as shown in step S6.

以上のステップS2〜ステップS6を、ステップS7において、全画素の入力画像信号について処理が完了するまで繰り返し行う。ステップS7において全画素の処理が終了したと判定されたのちに、ステップS8において、輝度/色差信号統合部27は、補正前の入力画像信号における輝度Yを輝度Y’に置き換えて出力画像信号を出力し、補正後画像とする。   The above steps S2 to S6 are repeated until the processing is completed for the input image signals of all the pixels in step S7. After it is determined in step S7 that all the pixels have been processed, in step S8, the luminance / color difference signal integration unit 27 replaces the luminance Y in the input image signal before correction with the luminance Y ′, and converts the output image signal into the output image signal. Output and use as corrected image.

以上のような処理フローをとることにより、本実施の形態1の輝度信号処理を1画素単位で行う信号処理方法を実現可能である。   By taking the processing flow as described above, it is possible to realize a signal processing method for performing the luminance signal processing of the first embodiment in units of pixels.

以上説明したように、本実施の形態1では、取得した入力画像信号について、被写体や撮影条件に適した、テカリ除去を目的とする輝度信号処理を行う信号処理装置を実現可能である。
<実施の形態1の効果>
As described above, in the first embodiment, it is possible to realize a signal processing device that performs luminance signal processing for the purpose of removing shine, which is suitable for the subject and shooting conditions, for the acquired input image signal.
<Effect of Embodiment 1>

以上説明した本実施の形態1における信号処理装置によれば、テカリ成分が軽減された良好な画像を得ることができる。具体的には、取得した入力画像信号について、被写体や撮影条件に適した、テカリ除去を目的とする輝度信号処理を行うことで、テカリ成分が軽減された良好な画像を得ることができる。より詳細には、以下の通りである。   According to the signal processing apparatus in the first embodiment described above, a good image with reduced shine components can be obtained. Specifically, a good image with reduced shine components can be obtained by performing luminance signal processing for the purpose of removing the shine, which is suitable for the subject and shooting conditions, on the acquired input image signal. More details are as follows.

(1)信号処理装置は、平滑化輝度算出部1と、輝度信号処理部2と、を備える。これにより、平滑化輝度算出部1は、入力画像信号に含まれる各画素信号の周辺において、所定の平滑化範囲内の入力輝度信号を平滑化して平滑化輝度を算出することができる。また、輝度信号処理部2は、入力輝度信号と平滑化輝度とを比較し、入力輝度信号が平滑化輝度より大きい場合は入力輝度信号と平滑化輝度との差分を所定の割合で縮小し、入力輝度信号と置き換えて出力輝度信号を生成することができる。   (1) The signal processing apparatus includes a smoothed luminance calculation unit 1 and a luminance signal processing unit 2. As a result, the smoothed luminance calculation unit 1 can calculate the smoothed luminance by smoothing the input luminance signal within a predetermined smoothing range around each pixel signal included in the input image signal. Further, the luminance signal processing unit 2 compares the input luminance signal with the smoothed luminance, and when the input luminance signal is larger than the smoothed luminance, the difference between the input luminance signal and the smoothed luminance is reduced by a predetermined ratio, An output luminance signal can be generated by replacing the input luminance signal.

(2)平滑化輝度算出部1は、入力画像信号から平滑化範囲を決定する平滑化範囲決定部3を有する。これにより、平滑化輝度算出部1は、入力画像信号において、平滑化範囲決定部3の出力する平滑化範囲内の入力輝度信号を平滑化して平滑化輝度を算出することができる。   (2) The smoothed luminance calculating unit 1 includes a smoothed range determining unit 3 that determines a smoothed range from the input image signal. Thereby, the smoothed luminance calculating unit 1 can calculate the smoothed luminance by smoothing the input luminance signal within the smoothed range output from the smoothed range determining unit 3 in the input image signal.

(3)平滑化範囲決定部3は、入力画像信号から判定領域を検出する判定領域検出部4を有する。これにより、平滑化範囲決定部3は、入力画像信号において、判定領域検出部4で検出された判定領域の所定の閾値より高い輝度信号を持つ画素数と全画素数に対する割合とを算出し、割合が大きいほど、大きい平滑化範囲とすることができる。   (3) The smoothing range determination unit 3 includes a determination region detection unit 4 that detects a determination region from the input image signal. Thereby, the smoothing range determination unit 3 calculates the number of pixels having a luminance signal higher than a predetermined threshold of the determination region detected by the determination region detection unit 4 and the ratio to the total number of pixels in the input image signal, The larger the ratio, the larger the smoothing range.

(4)判定領域検出部4は、入力画像信号に含まれる全画素を判定領域として出力することができる。   (4) The determination area detection unit 4 can output all the pixels included in the input image signal as a determination area.

(5)判定領域検出部4は、入力画像信号から肌領域を検出する肌領域検出部5を有する。これにより、判定領域検出部4は、入力画像信号において、肌領域検出部5で検出された肌領域の重心位置を算出し、重心位置を中心とし、一辺が所定の長さの矩形領域を判定領域として出力することができる。   (5) The determination region detection unit 4 includes a skin region detection unit 5 that detects a skin region from the input image signal. As a result, the determination region detection unit 4 calculates the centroid position of the skin region detected by the skin region detection unit 5 in the input image signal, and determines a rectangular region having a predetermined length on one side centered on the centroid position. It can be output as a region.

(6)判定領域検出部4は、入力画像信号から肌領域を検出する肌領域検出部5と、入力画像信号から顔領域を出力する顔認識部6と、を有する。これにより、判定領域検出部4は、肌領域検出部5で検出された肌領域と顔認識部6から出力された顔領域とが重複する領域を判定領域として出力することができる。   (6) The determination region detection unit 4 includes a skin region detection unit 5 that detects a skin region from an input image signal, and a face recognition unit 6 that outputs a face region from the input image signal. Thereby, the determination region detection unit 4 can output a region where the skin region detected by the skin region detection unit 5 and the face region output from the face recognition unit 6 overlap as a determination region.

(7)本実施の形態1によれば、取得した入力画像信号について、被写体や撮影条件に適した、テカリ除去を目的とする輝度信号処理を行うことで、テカリ成分が軽減された良好な画像を得ることができる信号処理装置を実現することが可能となる。
[実施の形態2]
(7) According to the first embodiment, the acquired input image signal is subjected to the luminance signal processing for the purpose of removing the shine, which is suitable for the subject and the shooting conditions, so that a good image in which the shine component is reduced. It is possible to realize a signal processing device capable of obtaining the above.
[Embodiment 2]

実施の形態2における撮像装置について、図19〜図22を用いて説明する。図19は、実施の形態2における撮像装置の全体構成を説明するための図である。また、図20〜図22は、実施の形態2における撮像装置の内部構成および内部動作を説明するための図である。
<撮像装置>
An imaging device according to Embodiment 2 will be described with reference to FIGS. FIG. 19 is a diagram for explaining the overall configuration of the imaging apparatus according to the second embodiment. 20 to 22 are diagrams for describing an internal configuration and an internal operation of the imaging apparatus according to the second embodiment.
<Imaging device>

本実施の形態2における撮像装置の構成および動作について、図19を用いて説明する。図19は、本実施の形態2における撮像装置の全体構成の一例を説明する構成図である。   The configuration and operation of the imaging apparatus according to Embodiment 2 will be described with reference to FIG. FIG. 19 is a configuration diagram illustrating an example of the overall configuration of the imaging apparatus according to the second embodiment.

本実施の形態2における撮像装置10は、図19に示す通り、画像取得部101と、信号処理部102と、記憶部103と、制御部104とから構成されている。本実施の形態2は、取得した入力画像信号について、被写体や撮影条件に適したテカリ除去を目的とした輝度信号処理を行う、前記実施の形態1に記載の信号処理装置を搭載した撮像装置である。前記信号処理装置を搭載することによって、例えば、露光制御による輝度の過剰な低下を抑え、視認性の良い画像を得ることができる。   The imaging apparatus 10 according to the second embodiment includes an image acquisition unit 101, a signal processing unit 102, a storage unit 103, and a control unit 104, as shown in FIG. The second embodiment is an imaging device equipped with the signal processing device described in the first embodiment, which performs luminance signal processing for the purpose of removing shine suitable for the subject and shooting conditions for the acquired input image signal. is there. By mounting the signal processing device, for example, an excessive decrease in luminance due to exposure control can be suppressed, and an image with good visibility can be obtained.

画像取得部101は、所定の性能を有するレンズやシャッターを搭載し、入力画像を取得し、入力画像信号を出力する。信号処理部102は、図1に示すような、前記実施の形態1に記載の信号処理装置を搭載し、画像取得部101から出力される入力画像信号を入力して、出力画像信号を出力する。出力画像信号は、記憶部103に入力され、所定の記憶媒体に記憶される。これらの画像取得部101、信号処理部102、および記憶部103は、制御部104によって制御される。   The image acquisition unit 101 includes a lens and a shutter having predetermined performance, acquires an input image, and outputs an input image signal. The signal processing unit 102 is equipped with the signal processing apparatus described in the first embodiment as shown in FIG. 1, and receives the input image signal output from the image acquisition unit 101 and outputs the output image signal. . The output image signal is input to the storage unit 103 and stored in a predetermined storage medium. These image acquisition unit 101, signal processing unit 102, and storage unit 103 are controlled by the control unit 104.

図20は、制御部104の一構成例として、露光制御部1041と外部入力制御部1042とを搭載した撮像装置10の全体構成の一例を説明する構成図である。外部入力制御部1042は、キー操作等の外部入力を、撮像装置10内の構成要素に伝達することを目的としており、例えば画像データの保存や削除命令は記憶部103に、ストロボ発光の有無を表す信号は画像取得部101や露光制御部1041に伝達される。   FIG. 20 is a configuration diagram illustrating an example of the overall configuration of the imaging apparatus 10 in which the exposure control unit 1041 and the external input control unit 1042 are mounted as a configuration example of the control unit 104. The external input control unit 1042 is intended to transmit an external input such as a key operation to the components in the imaging apparatus 10. For example, an instruction to save or delete image data is sent to the storage unit 103 to check whether or not strobe light is emitted. The representing signal is transmitted to the image acquisition unit 101 and the exposure control unit 1041.

これらに加えて、外部入力制御部1042に信号処理部102を操作する機能を搭載する。例えば、図1に示すゲイン乗算部24、図4に示す高輝度信号割合算出部312、図5に示す高輝度信号割合判定部314、図9に示す肌色判定部56などが使用する、各種の所定の閾値を、ユーザーが手動で調整することで、特殊な条件を持つ被写体や撮影環境にも適合したテカリ除去処理を実現することが可能となる。   In addition to these, a function for operating the signal processing unit 102 is installed in the external input control unit 1042. For example, the gain multiplier 24 shown in FIG. 1, the high luminance signal ratio calculator 312 shown in FIG. 4, the high luminance signal ratio determiner 314 shown in FIG. 5, the skin color determiner 56 shown in FIG. When the user manually adjusts the predetermined threshold value, it is possible to realize a shine removal process that is suitable for a subject having a special condition or a shooting environment.

露光制御部1041は、信号処理部102の出力する出力画像信号を入力することが可能である。また、外部入力制御部1042より、ストロボ発光の使用を表す信号が入力される。一般に、露光制御は、被写体が明るい場合は露光量を下げ、被写体が暗い場合は露光量を上げることで、明るさのバランスがとれた撮像結果画像を得ることを目的としている。そのため、テカリ成分を多く含む画像を取得した場合、露光制御は画像全体の輝度を下げるように動作するため、輝度が過剰に低下し、テカリ成分を除いた領域の視認性が低下することがあった。本実施の形態2では、テカリ除去を行う信号処理部102と、露光制御部1041を組み合わせることで、露光制御による輝度の過剰な低下を抑え、視認性の良い画像を得ることができる。   The exposure control unit 1041 can input an output image signal output from the signal processing unit 102. Further, a signal indicating use of strobe light emission is input from the external input control unit 1042. In general, the exposure control is aimed at obtaining an imaging result image in which the brightness is balanced by decreasing the exposure amount when the subject is bright and increasing the exposure amount when the subject is dark. For this reason, when an image containing a large amount of shine components is acquired, the exposure control operates so as to lower the luminance of the entire image, so that the luminance decreases excessively and the visibility of the area excluding the shine components may decrease. It was. In the second embodiment, by combining the signal processing unit 102 that removes shine and the exposure control unit 1041, an excessive decrease in luminance due to exposure control can be suppressed, and an image with high visibility can be obtained.

ストロボ発光を使用しない場合、撮像装置10が被写体に向けられ、画像取得部101が画像を継続的に取得している間に、露光制御部1041は信号処理部102の出力する出力画像信号から露光制御量を算出し、画像取得部101を制御する。これにより、テカリ除去後の画像信号から適切に露光制御量を算出し、被写体のテカリ成分の程度に基づいたフィードバック制御を実現することが可能である。   When the strobe light emission is not used, the exposure control unit 1041 performs exposure from the output image signal output from the signal processing unit 102 while the imaging device 10 is directed toward the subject and the image acquisition unit 101 continuously acquires images. A control amount is calculated and the image acquisition unit 101 is controlled. Accordingly, it is possible to appropriately calculate the exposure control amount from the image signal after the removal of the shine, and to realize feedback control based on the degree of the shine component of the subject.

一方で、ストロボ発光を使用する場合、フィードバック制御を行うことはできないが、信号処理部102によってテカリ成分が除去されることを見込み、露光制御部1041の露光制御量を明るめに設定することが可能となる。或いは、ストロボ発光を使用する場合においても、フィードバック制御を実現するために、短時間に二度ストロボ発光を行い、一度目のストロボ発光時に取得した画像信号をフィードバック制御に使用して露光制御部1041の露光制御量を算出し、その上で二度目のストロボ発光時に取得した画像を記憶させる手段をとってもよい。   On the other hand, when strobe light emission is used, feedback control cannot be performed, but it is expected that the shine component will be removed by the signal processing unit 102, and the exposure control amount of the exposure control unit 1041 can be set brighter. It becomes. Alternatively, even in the case of using strobe light emission, in order to realize feedback control, the strobe light is emitted twice in a short time, and the image signal acquired at the first strobe light emission is used for feedback control, and the exposure control unit 1041 It is also possible to take means for calculating the exposure control amount and storing the image acquired upon the second flash emission.

図21Aは、テカリ成分を含む被写体に対して何れの補正も行わずに取得した画像の一例を説明する説明図である。また、図21Bは、テカリ成分を含む被写体に対して露光制御のみを施して取得した画像の一例を説明する説明図である。また、図21Cは、テカリ成分を含む被写体に対して本実施の形態2の撮像装置を使用して取得した画像の一例を説明する説明図である。   FIG. 21A is an explanatory diagram illustrating an example of an image acquired without performing any correction on a subject including a shine component. FIG. 21B is an explanatory diagram illustrating an example of an image acquired by performing only exposure control on a subject including a shine component. FIG. 21C is an explanatory diagram illustrating an example of an image acquired using the imaging apparatus according to the second embodiment for a subject including a shine component.

被写体は、図21Aに示すように、夜間において、撮像装置から近距離にいるヒトF211と遠距離にある木F213とを、ストロボ発光を使用して同時に撮影したものであり、撮像装置から近距離にいるヒトF211の顔には、テカリ成分F212が生じている。被写体に対して露光制御のみを施した場合、図21Bに示すように、露光制御後のテカリ成分F215はテカリ成分F212と比較して軽減されるものの、露光制御後のヒトF214や木F216も、それぞれ図21Aに示すヒトF211や木F213と比較して暗くなり、視認性が低下する。   As shown in FIG. 21A, the subject is an image of a human F211 at a short distance from the imaging device and a tree F213 at a long distance from the imaging device at the same time using strobe light emission at night. On the face of the human F211 that is present, the shine component F212 is generated. When only subject exposure control is performed, as shown in FIG. 21B, the shine component F215 after exposure control is reduced compared to the shine component F212, but the human F214 and tree F216 after exposure control are also Each becomes darker than the human F211 and the tree F213 shown in FIG. 21A, and the visibility decreases.

一方で、本実施の形態2の撮像装置を使用した場合、図21Cに示すように、本実施の形態2の撮像装置使用後のテカリ成分F218が、図21Aに示すテカリ成分F212と比較して軽減されるだけでなく、本実施の形態2の撮像装置使用後のヒトF217や木F219は、それぞれ図21Aに示すヒトF211や木F213と比較しても明るさが損なわれず、視認性の良い画像を得ることができる。
<撮像装置の内部処理>
On the other hand, when the imaging device of the second embodiment is used, as shown in FIG. 21C, the shine component F218 after using the imaging device of the second embodiment is compared with the shine component F212 shown in FIG. 21A. In addition to being reduced, the human F217 and the tree F219 after using the imaging apparatus according to the second embodiment are not deteriorated in brightness as compared with the human F211 and the tree F213 shown in FIG. An image can be obtained.
<Internal processing of imaging device>

最後に、図20に示す本実施の形態2における撮像装置の内部処理フローの一例について説明する。図22は、図20に示す撮像装置において、フィードバック制御を行う内部処理の一例を説明するためのフローチャートである。   Finally, an example of the internal processing flow of the imaging apparatus according to the second embodiment shown in FIG. 20 will be described. FIG. 22 is a flowchart for explaining an example of internal processing for performing feedback control in the imaging apparatus shown in FIG.

先ず、ステップS221によって、図20に示す外部入力制御部1042において外部入力の有無を確認する。この外部入力とは、シャッター操作や、ユーザーによる画像取得部101や信号処理部102の設定である。次いで、ステップS222において、画像取得部101や信号処理部102の各種設定を読み込む。   First, in step S221, the external input control unit 1042 shown in FIG. This external input is a shutter operation or setting of the image acquisition unit 101 or the signal processing unit 102 by the user. Next, in step S222, various settings of the image acquisition unit 101 and the signal processing unit 102 are read.

そして、ステップS223では、各種設定を反映させて画像取得部101を動作させ、入力画像信号を取得する。この入力画像信号は、ステップS224において、信号処理部102に入力され、図1に示すような、前記実施の形態1に記載の信号処理を行い、出力画像信号を出力する。この出力画像信号は、ステップS225において、露光制御部1041に入力され、露光制御を行うために、信号処理後の出力画像信号より、画像取得部101の所定の設定を変更する。   In step S223, the image acquisition unit 101 is operated while reflecting various settings, and an input image signal is acquired. In step S224, this input image signal is input to the signal processing unit 102, performs the signal processing described in the first embodiment as shown in FIG. 1, and outputs an output image signal. This output image signal is input to the exposure control unit 1041 in step S225, and the predetermined setting of the image acquisition unit 101 is changed from the output image signal after the signal processing in order to perform exposure control.

以上のステップS221〜ステップS225は、ステップS226において、シャッターが押されることによるシャッター操作を確認するまで繰り返される。シャッター操作が確認されたら、ステップS227において、記憶部103は出力画像信号を所定の記憶媒体に記憶する。   The above steps S221 to S225 are repeated until it is confirmed in step S226 that the shutter operation by pressing the shutter is confirmed. If the shutter operation is confirmed, in step S227, the storage unit 103 stores the output image signal in a predetermined storage medium.

以上のような処理フローをとることにより、本実施の形態2の撮像方法を実現可能である。   By taking the processing flow as described above, the imaging method of the second embodiment can be realized.

以上説明したように、本実施の形態2では、取得した入力画像信号について、被写体や撮影条件に適した、テカリ除去を目的とする輝度信号処理を行う撮像装置を実現可能である。
<実施の形態2の効果>
As described above, in the second embodiment, it is possible to realize an imaging apparatus that performs luminance signal processing for the purpose of removing shine, which is suitable for the subject and shooting conditions, for the acquired input image signal.
<Effect of Embodiment 2>

以上説明した本実施の形態2における撮像装置によれば、前記実施の形態1による効果(1)〜(7)を得ることができる上に、機械的な駆動機構を持たないような汎用的な撮像装置においても、取得した入力画像信号について、被写体や撮影条件に適した、テカリ除去を目的とする輝度信号処理を行うことで、テカリ成分が軽減された良好な画像を得ることができる。より詳細には、以下の通りである。   According to the imaging apparatus in the second embodiment described above, the effects (1) to (7) according to the first embodiment can be obtained, and a general-purpose apparatus that does not have a mechanical drive mechanism. Also in the imaging apparatus, a good image with reduced shine component can be obtained by performing luminance signal processing for the purpose of removing the shine, which is suitable for the subject and shooting conditions, on the acquired input image signal. More details are as follows.

(11)撮像装置10は、画像取得部101と、信号処理部102と、記憶部103と、を備える。これにより、画像取得部101は、入力画像信号を取得することができる。また、信号処理部102は、入力画像信号を入力して信号処理を行い、出力画像信号を出力することができる。また、記憶部103は、出力画像信号を所定の媒体に記憶することができる。   (11) The imaging device 10 includes an image acquisition unit 101, a signal processing unit 102, and a storage unit 103. Thereby, the image acquisition part 101 can acquire an input image signal. Further, the signal processing unit 102 can input an input image signal, perform signal processing, and output an output image signal. The storage unit 103 can store the output image signal in a predetermined medium.

(12)撮像装置10は、露光制御部1041を備える。これにより、露光制御部1041は、信号処理部102の出力する出力画像信号から露光制御量を算出し、画像取得部101を制御することができる。   (12) The imaging apparatus 10 includes an exposure control unit 1041. Accordingly, the exposure control unit 1041 can calculate the exposure control amount from the output image signal output from the signal processing unit 102 and can control the image acquisition unit 101.

(13)撮像装置10は、外部入力制御部1042を備える。これにより、外部入力制御部1042は、画像取得部101、信号処理部102、記憶部103および露光制御部1041を操作することができる。   (13) The imaging apparatus 10 includes an external input control unit 1042. Accordingly, the external input control unit 1042 can operate the image acquisition unit 101, the signal processing unit 102, the storage unit 103, and the exposure control unit 1041.

(14)本実施の形態2によれば、機械的な駆動機構を持たないような汎用的な撮像装置10においても、取得した入力画像信号について、被写体や撮影条件に適した、テカリ除去を目的とする輝度信号処理を行うことで、テカリ成分が軽減された良好な画像を得ることができる撮像装置10を実現することが可能となる。
[実施の形態3]
(14) According to the second embodiment, even in a general-purpose imaging device 10 that does not have a mechanical drive mechanism, the purpose is to remove shine on the acquired input image signal that is suitable for the subject and shooting conditions. By performing the luminance signal processing as follows, it is possible to realize the imaging device 10 that can obtain a good image with reduced shine components.
[Embodiment 3]

実施の形態3における肌診断システムについて、図10、図16、図23〜図26を用いて説明する。図23は、実施の形態3における肌診断システムの全体構成を説明するための図である。また、図10、図16、図24〜図26は、実施の形態3における肌診断システムの内部構成および内部動作を説明するための図である。
<肌診断システム>
A skin diagnosis system according to Embodiment 3 will be described with reference to FIGS. 10, 16, and 23 to 26. FIG. 23 is a diagram for explaining the overall configuration of the skin diagnostic system according to the third embodiment. FIGS. 10, 16, and 24 to 26 are diagrams for describing the internal configuration and internal operation of the skin diagnostic system according to Embodiment 3. FIG.
<Skin diagnosis system>

本実施の形態3における肌診断システムの構成および動作について、図23を用いて説明する。図23は、本実施の形態3における肌診断システムの全体構成の一例を説明する構成図である。   The configuration and operation of the skin diagnosis system according to Embodiment 3 will be described with reference to FIG. FIG. 23 is a configuration diagram illustrating an example of the overall configuration of the skin diagnostic system according to the third embodiment.

本実施の形態3における肌診断システムは、図23に示す通り、スマートフォン40と、外付け装置30と、ネットワーク50と、クラウドサーバー60とから構成されている。本実施の形態3において行う肌診断は、肌20の「キメ」を診断対象に含むことを特徴としている。すなわち本実施の形態3は、入力された肌画像について、輝度の低いキメ成分を残し、輝度の高いテカリ成分のみを除去して良好な画像とした上で、高精度な肌診断を行うことを特徴としている。   As shown in FIG. 23, the skin diagnosis system according to the third embodiment includes a smartphone 40, an external device 30, a network 50, and a cloud server 60. The skin diagnosis performed in the present third embodiment is characterized in that “texture” of the skin 20 is included in the diagnosis target. That is, the third embodiment performs high-accuracy skin diagnosis while leaving a texture component with low luminance and removing only a high-brightness shine component with respect to the input skin image to obtain a good image. It is a feature.

また、本実施の形態3は、画像取得部と通信部とを備えた、スマートフォン40のような汎用的な携帯端末装置を使用するアプリケーションであるため、ユーザーは所持する携帯端末装置の機種等に依存せずにアプリケーションを使用できることも特徴である。また、本実施の形態3は、前記実施の形態1に記載の信号処理装置を含む情報処理装置として、クラウドサーバー60を使用している。   In addition, since the third embodiment is an application that uses a general-purpose portable terminal device such as the smartphone 40 that includes an image acquisition unit and a communication unit, the user can select a model of the portable terminal device that the user possesses. Another feature is that the application can be used without dependence. In the third embodiment, the cloud server 60 is used as an information processing apparatus including the signal processing apparatus described in the first embodiment.

本実施の形態3における肌診断システムは、スマートフォン40に外付け装置30を取り付け、外付け装置30を肌20に密着させ、スマートフォン40によって肌画像を取得する。この取得した肌画像は、ネットワーク50を介してクラウドサーバー60に送信される。クラウドサーバー60は、入力された肌画像に対して、所定のアルゴリズムに基づいて肌診断を行い、肌診断結果を出力する。この出力された肌診断結果は、クラウドサーバー60から出力され、ネットワーク50を介してスマートフォン40に送られる。   In the skin diagnosis system according to the third embodiment, external device 30 is attached to smartphone 40, external device 30 is brought into close contact with skin 20, and a skin image is acquired by smartphone 40. The acquired skin image is transmitted to the cloud server 60 via the network 50. The cloud server 60 performs skin diagnosis on the input skin image based on a predetermined algorithm, and outputs a skin diagnosis result. The output skin diagnosis result is output from the cloud server 60 and sent to the smartphone 40 via the network 50.

もし、入力された肌画像の露光条件が悪い場合は、クラウドサーバー60は所定のアルゴリズムに基づいて露光不良判定を出力し、クラウドサーバー60からネットワーク50を介してスマートフォン40に送られる。   If the exposure condition of the input skin image is bad, the cloud server 60 outputs an exposure failure determination based on a predetermined algorithm and is sent from the cloud server 60 to the smartphone 40 via the network 50.

図24は、外付け装置30の内部構成の一例を説明する断面図である。本実施の形態3において、外付け装置30は、図24に示す通り、筐体F255と、肌密着用のリング状部品F256と、接眼孔F251と、LEDF252と、レンズF253と、対物孔F254とから構成されている。外付け装置30において、筐体F255には接眼孔F251および対物孔F254を有し、対物孔F254にリング状部品F256が取り付けられている。筐体F255の内部には、所定の性能を有するレンズF253と、光源であるLEDF252とが設けられている。   FIG. 24 is a cross-sectional view illustrating an example of the internal configuration of the external device 30. In the third embodiment, as shown in FIG. 24, the external device 30 includes a housing F255, a ring-shaped component F256 for skin contact, an eyepiece F251, an LEDF252, a lens F253, and an objective hole F254. It is composed of In the external device 30, the housing F255 has an eyepiece hole F251 and an objective hole F254, and a ring-shaped component F256 is attached to the objective hole F254. Inside the housing F255, a lens F253 having a predetermined performance and an LEDF252 which is a light source are provided.

本実施の形態3では、筐体F255の内装は黒色であり、肌密着用のリング状部品F256は灰色であるとする。撮影時は、リング状部品F256を肌20に密着させ、LEDF252を点灯させる。スマートフォン40のカメラは、接眼孔F251に接しているため、スマートフォン40のカメラを動作させることで、対物孔F254、レンズF253、接眼孔F251を介し、肌画像がスマートフォン40へ取得される。   In the third embodiment, it is assumed that the interior of the housing F255 is black and the ring-shaped component F256 for skin contact is gray. At the time of shooting, the ring-shaped component F256 is brought into close contact with the skin 20, and the LEDF 252 is turned on. Since the camera of the smartphone 40 is in contact with the eyepiece hole F251, by operating the camera of the smartphone 40, a skin image is acquired to the smartphone 40 via the objective hole F254, the lens F253, and the eyepiece hole F251.

図26Aは、スマートフォン40を使用して取得した肌画像の一例を説明する説明図である。スマートフォン40を使用して取得した肌画像には、診断対象の肌F261の周囲に外付け装置30の内部が写っており、本実施の形態3では、黒色の筐体F255と灰色のリング状部品F256が写っている。また、筐体F255には、肌の反射像F264が薄く写り込んでしまうことがある。   FIG. 26A is an explanatory diagram illustrating an example of a skin image acquired using the smartphone 40. The skin image acquired using the smartphone 40 shows the inside of the external device 30 around the skin F261 to be diagnosed. In the third embodiment, the black casing F255 and the gray ring-shaped component F256 is shown. Also, the skin reflection image F264 may appear thinly in the housing F255.

図25は、クラウドサーバー60の内部構成の一例を説明する構成図である。クラウドサーバー60は、図25に示す通り、信号処理部601と、肌診断部602とから構成されている。ネットワーク50を介してクラウドサーバー60に入力された肌画像は、信号処理部601に入力される。信号処理部601において補正が行われ、出力された肌画像は、肌診断部602に入力される。肌診断部602は、入力された肌画像に対して所定のアルゴリズムに基づいて肌診断を行い、肌診断結果を出力する。この出力された肌診断結果は、クラウドサーバー60から出力される。もし、信号処理部601に入力された肌画像の露光条件が悪い場合は、信号処理部601は露光不良判定を出力し、クラウドサーバー60から出力される。   FIG. 25 is a configuration diagram illustrating an example of the internal configuration of the cloud server 60. As shown in FIG. 25, the cloud server 60 includes a signal processing unit 601 and a skin diagnosis unit 602. The skin image input to the cloud server 60 via the network 50 is input to the signal processing unit 601. The signal processing unit 601 performs correction, and the output skin image is input to the skin diagnosis unit 602. The skin diagnosis unit 602 performs skin diagnosis on the input skin image based on a predetermined algorithm, and outputs a skin diagnosis result. The output skin diagnosis result is output from the cloud server 60. If the exposure condition of the skin image input to the signal processing unit 601 is bad, the signal processing unit 601 outputs an exposure failure determination and is output from the cloud server 60.

図25に示す信号処理部601は、図1に示すような、前記実施の形態1に記載の信号処理装置に、入力画像から露光不良を判定する機能と、肌領域の検出において低輝度信号である画素を除外する機能とが加わったものである。露光不良を判定する機能は、入力した肌画像が肌診断部602における肌診断に適さない露光条件であるか否かを判定するためのものであり、具体的には、肌診断において肌のキメを診断対象に含むにあたり、キメが視認できないほどに入力画像が明るすぎる場合に露光不良と判定する。   A signal processing unit 601 shown in FIG. 25 has a function of determining exposure failure from an input image and a low luminance signal in detection of a skin area, as shown in FIG. A function for excluding a certain pixel is added. The function of determining an exposure failure is for determining whether or not the input skin image is an exposure condition that is not suitable for skin diagnosis in the skin diagnosis unit 602. Specifically, in the skin diagnosis, skin texture is determined. When the input image is too bright so that the texture cannot be visually recognized, it is determined that the exposure is defective.

低輝度信号である画素を除外する機能は、入力した肌画像から肌領域を正確に検出するためのものであり、具体的には、図26Aに示すような、筐体F255に薄く写り込む肌の反射像F264を除外する。また、図3に示す平滑化範囲決定部3に含まれる判定領域検出部4として、本実施の形態3では、図7に示す、前記実施の形態1に記載の第1の構成例を使用する。この理由は、本実施の形態3において取得される画像に含まれる、診断対象の肌F261が、図26Aに示すように、リング状部品F256に囲まれた円形状であり、肌領域の重心位置を基準とすることで、肌領域の縁から離れた中心付近の広い領域を判定領域として使用できるためである。   The function of excluding pixels that are low luminance signals is for accurately detecting the skin area from the input skin image. Specifically, as shown in FIG. 26A, the skin that appears thinly in the housing F255. The reflected image F264 is excluded. In addition, as the determination region detection unit 4 included in the smoothing range determination unit 3 illustrated in FIG. 3, in the third embodiment, the first configuration example described in the first embodiment illustrated in FIG. 7 is used. . This is because the diagnosis target skin F261 included in the image acquired in the third embodiment has a circular shape surrounded by the ring-shaped component F256 as shown in FIG. This is because a wide area near the center away from the edge of the skin area can be used as the determination area.

先ず、肌のキメが視認できないほどに入力画像が明るすぎる場合に露光不良と判定する信号処理装置について説明する。露光不良の判定は、図1に示す平滑化輝度算出部1内において、図2に示す平滑化範囲決定部3内の、図3に示す平滑化範囲決定部31より出力される。   First, a signal processing device that determines an exposure failure when the input image is too bright so that the skin texture cannot be visually recognized will be described. The determination of exposure failure is output from the smoothing range determination unit 31 shown in FIG. 3 in the smoothing range determination unit 3 shown in FIG. 2 in the smoothed luminance calculation unit 1 shown in FIG.

図16は、入力画像から露光不良を判定する機能を加えた平滑化範囲決定部31の内部構成の一例を説明する構成図である。本実施の形態3における平滑化範囲決定部31は、図16に示す通り、入力輝度信号抽出部311と、高輝度信号割合判定部314と、平滑化範囲スイッチング部315と、平均輝度判定部316と、露光不良判定用論理積演算部317とから構成されている。   FIG. 16 is a configuration diagram illustrating an example of an internal configuration of the smoothing range determination unit 31 to which a function of determining an exposure failure from an input image is added. As shown in FIG. 16, the smoothing range determination unit 31 according to the third embodiment has an input luminance signal extraction unit 311, a high luminance signal ratio determination unit 314, a smoothing range switching unit 315, and an average luminance determination unit 316. And an exposure failure determination logical product operation unit 317.

高輝度信号割合判定部314は、前記実施の形態1に記載の方法で、入力される判定領域に含まれる全画素分の入力輝度信号より、輝度や比率に関する複数の所定の閾値に基づき、判定領域のテカリ成分の程度を二値によって判定し、テカリ成分の程度が大きい場合は真を、そうでない場合は偽を出力する。一方で、平均輝度判定部316は、入力される判定領域に含まれる全画素分の入力輝度信号の平均輝度を算出し、平均輝度に関する所定の閾値に基づき、判定領域の明るさの程度を二値によって判定し、全体的に明るい場合は真を、そうでない場合は偽を出力する。これらの、高輝度信号割合判定部314と平均輝度判定部316との出力結果を、露光不良判定用論理積演算部317に入力し、両者の論理積を露光不良判定として出力する。すなわち、露光不良と判定される条件は、判定領域におけるテカリ成分の程度が大きく、かつ、全体的に明るい場合となる。   The high luminance signal ratio determination unit 314 performs the determination based on a plurality of predetermined threshold values related to luminance and ratio from input luminance signals for all pixels included in the input determination region by the method described in the first embodiment. The extent of the shine component in the region is determined by binary, and true is output when the shine component is large, and false is output otherwise. On the other hand, the average luminance determination unit 316 calculates the average luminance of the input luminance signal for all the pixels included in the input determination region, and determines the brightness level of the determination region based on a predetermined threshold related to the average luminance. Judgment is made based on the value, and true is output when the whole is bright, and false is output otherwise. The output results of the high luminance signal ratio determination unit 314 and the average luminance determination unit 316 are input to the exposure failure determination logical product operation unit 317, and the logical product of both is output as the exposure failure determination. That is, the condition for determining that the exposure is defective is that the degree of the shine component in the determination region is large and the whole is bright.

以上のような構成をとることにより、肌のキメが視認できないほどに入力画像が明るすぎる場合に露光不良と判定する信号処理装置を実現可能である。   By adopting the configuration as described above, it is possible to realize a signal processing device that determines an exposure failure when the input image is too bright so that the skin texture cannot be visually recognized.

続いて、図26Aに示すような、筐体F255に薄く写り込む肌の反射像F264を除外するために、低輝度信号である画素を除外する信号処理装置について説明する。低輝度信号である画素の除外は、図7に示す判定領域検出部4内の肌領域検出部5である、図9に示す肌領域検出部5において行われる。   Subsequently, in order to exclude the reflected image F264 of the skin that is thinly reflected in the housing F255 as shown in FIG. 26A, a signal processing device that excludes pixels that are low luminance signals will be described. The exclusion of pixels that are low luminance signals is performed in the skin region detection unit 5 shown in FIG. 9, which is the skin region detection unit 5 in the determination region detection unit 4 shown in FIG.

図10は、肌領域の検出にあたって低輝度信号である画素を除外する機能を加えた肌領域検出部5の内部構成の一例を説明する構成図である。本実施の形態における肌領域検出部5は、図10に示す通り、色信号R用平滑化フィルタ52と、色信号G用平滑化フィルタ53と、色信号B用平滑化フィルタ54と、色相算出部55と、肌色判定部56と、色/輝度信号抽出部57と、低輝度信号除外判定部58と、低輝度信号除外用論理積演算部59とから構成されている。   FIG. 10 is a configuration diagram illustrating an example of an internal configuration of the skin region detection unit 5 to which a function of excluding pixels that are low luminance signals is added when detecting a skin region. As shown in FIG. 10, the skin region detection unit 5 in the present embodiment includes a color signal R smoothing filter 52, a color signal G smoothing filter 53, a color signal B smoothing filter 54, and a hue calculation. A unit 55, a skin color determination unit 56, a color / luminance signal extraction unit 57, a low luminance signal exclusion determination unit 58, and a low luminance signal exclusion AND operation unit 59.

色/輝度信号抽出部57は、入力した入力画像信号から、肌色検出用の色信号R、色信号G、色信号Bを抽出して出力すると同時に、低輝度信号である画素を除外するために輝度信号を抽出して出力する。肌領域検出のための肌色判定は、前記実施の形態1に記載の方法で、肌色判定部56より出力され、入力した画素が肌色である場合は真を、そうでない場合は偽を出力する。一方で、低輝度信号除外判定部58は、各画素の入力輝度信号より、輝度に関する所定の閾値に基づき、入力輝度信号が所定の閾値より大きい場合は真を、そうでない場合は偽を出力する。これらの、肌色判定部56と低輝度信号除外判定部58との出力結果を、低輝度信号除外用論理積演算部59に入力し、両者の論理積を肌領域として出力する。すなわち、肌領域として検出される条件は、肌色判定において肌色と判定され、かつ、輝度に関する所定の閾値より大きい入力輝度信号を持つ画素であることである。   The color / luminance signal extraction unit 57 extracts and outputs the skin color detection color signal R, color signal G, and color signal B from the input image signal that is input, and at the same time excludes pixels that are low luminance signals. The luminance signal is extracted and output. The skin color determination for detecting the skin area is output from the skin color determination unit 56 according to the method described in the first embodiment. If the input pixel is a skin color, true is output, and otherwise, false is output. On the other hand, the low luminance signal exclusion determination unit 58 outputs true if the input luminance signal is larger than the predetermined threshold based on a predetermined threshold relating to luminance from the input luminance signal of each pixel, and outputs false otherwise. . The output results of the skin color determination unit 56 and the low luminance signal exclusion determination unit 58 are input to the low luminance signal exclusion logical product operation unit 59, and the logical product of both is output as a skin region. That is, the condition detected as the skin region is that the pixel has an input luminance signal that is determined to be a skin color in the skin color determination and that is larger than a predetermined threshold related to luminance.

以上のような構成をとることにより、図26Aに示すような、筐体F255に薄く写り込む肌の反射像F264を除外するために、低輝度信号である画素を除外する信号処理装置を実現可能である。   By adopting the configuration as described above, it is possible to realize a signal processing apparatus that excludes pixels that are low-intensity signals in order to exclude the reflected image F264 of the skin that appears thinly in the housing F255 as shown in FIG. 26A. It is.

図26Bは、図25に示す信号処理部601から出力される肌画像の一例を説明する説明図である。図26Aに示す、補正前の肌画像は、キメ部分F263やテカリ成分F262を含んでいる。図26Bに示す、信号処理部601から出力される補正後の肌画像は、キメ部分F263の見た目は変わらないものの、図26Aに示す補正前の肌画像におけるテカリ成分F262は、補正後の肌画像におけるテカリ成分F265のように軽減され、良好な画像を得ることができる。   FIG. 26B is an explanatory diagram illustrating an example of a skin image output from the signal processing unit 601 illustrated in FIG. The skin image before correction shown in FIG. 26A includes a texture portion F263 and a shine component F262. The skin image after correction output from the signal processing unit 601 shown in FIG. 26B does not change the appearance of the texture portion F263, but the shine component F262 in the skin image before correction shown in FIG. 26A is the skin image after correction. Thus, a good image can be obtained.

以上説明したように、本実施の形態3では、入力される肌画像のキメ成分を残しつつテカリ成分のみ除去するテカリ除去を目的とした輝度信号処理を行い、肌のキメを診断対象に含む肌診断を行うことができる肌診断システムを実現可能である。
<実施の形態3の効果>
As described above, in the third embodiment, the luminance signal processing for the purpose of removing the shine component that removes only the shine component while leaving the texture component of the input skin image is performed, and the skin that includes the skin texture as the diagnosis target It is possible to realize a skin diagnosis system capable of performing diagnosis.
<Effect of Embodiment 3>

以上説明した本実施の形態3における肌診断システムによれば、前記実施の形態1による効果(1)〜(7)を得ることができる上に、入力される肌画像のキメ成分を残しつつテカリ成分のみ除去するテカリ除去を目的とした輝度信号処理を行い、肌のキメを診断対象に含む肌診断を行うことができる。より詳細には、以下の通りである。   According to the skin diagnosis system in the third embodiment described above, the effects (1) to (7) according to the first embodiment can be obtained, and the glossy component of the input skin image is left while being left behind. Luminance signal processing for the purpose of removing shine that removes only components can be performed, and skin diagnosis including skin texture as a diagnosis target can be performed. More details are as follows.

(21)肌診断システムは、スマートフォン40と、外付け装置30と、クラウドサーバー60と、ネットワーク50と、を備える。これにより、スマートフォン40は、外付け装置30を介して肌の接写画像を取得して、この肌の接写画像をネットワーク50を介してクラウドサーバー60に転送することができる。そして、クラウドサーバー60は、肌の接写画像をネットワーク50を通じて取得し、信号処理部601を制御して得られる画像より肌診断データを生成し、その結果をネットワーク50を介してスマートフォン40に転送することができる。   (21) The skin diagnosis system includes a smartphone 40, an external device 30, a cloud server 60, and a network 50. Accordingly, the smartphone 40 can acquire a close-up image of the skin via the external device 30 and transfer the close-up image of the skin to the cloud server 60 via the network 50. The cloud server 60 acquires a close-up image of the skin through the network 50, generates skin diagnosis data from an image obtained by controlling the signal processing unit 601, and transfers the result to the smartphone 40 via the network 50. be able to.

(22)外付け装置30は、接眼孔F251および対物孔F254を有する筐体F255と、対物孔F254に取り付けられたリング状部品F256と、筐体F255内に設けられた、所定の性能を有するレンズF253と光源のLEDF252と、を含む。これにより、接眼孔F251にスマートフォン40を接した状態で、リング状部品F256を肌に密着させ、LEDF252を点灯させて、肌の接写画像をレンズF253を介してスマートフォン40の画像取得部に取得することができる。   (22) The external device 30 has predetermined performance provided in the housing F255, the housing F255 having the eyepiece hole F251 and the objective hole F254, the ring-shaped component F256 attached to the objective hole F254, and the housing F255. It includes a lens F253 and a light source LED F252. Thus, with the smartphone 40 in contact with the eyepiece hole F251, the ring-shaped component F256 is brought into close contact with the skin, the LED F252 is turned on, and a close-up image of the skin is acquired by the image acquisition unit of the smartphone 40 via the lens F253. be able to.

(23)クラウドサーバー60に含まれる信号処理部601は、肌の接写画像から肌診断に適さない露光条件であるか否かを判定することができる。   (23) The signal processing unit 601 included in the cloud server 60 can determine from the close-up image of the skin whether the exposure conditions are not suitable for skin diagnosis.

(24)クラウドサーバー60に含まれる信号処理部601は、肌の接写画像から所定の閾値より低い輝度信号である画素を除外することができる。   (24) The signal processing unit 601 included in the cloud server 60 can exclude pixels that are luminance signals lower than a predetermined threshold from the close-up image of the skin.

(25)本実施の形態3によれば、入力される肌画像のキメ成分を残しつつテカリ成分のみ除去するテカリ除去を目的とした輝度信号処理を行い、肌のキメを診断対象に含む肌診断を行うことができる肌診断システムを実現することが可能となる。   (25) According to the third embodiment, the skin signal diagnosis includes skin texture as a diagnosis target by performing luminance signal processing for the purpose of removing only the shine component while leaving the texture component of the input skin image. It is possible to realize a skin diagnosis system capable of performing the above.

以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。たとえば、上記した実施の形態は、本発明を分かり易く説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施の形態の構成の一部を他の実施の形態の構成に置き換えることが可能であり、また、ある実施の形態の構成に他の実施の形態の構成を加えることも可能である。また、各実施の形態の構成の一部について、他の構成の追加・削除・置換をすることが可能である。   As mentioned above, the invention made by the present inventor has been specifically described based on the embodiment. However, the present invention is not limited to the embodiment, and various modifications can be made without departing from the scope of the invention. Needless to say. For example, the above-described embodiment has been described in detail for easy understanding of the present invention, and is not necessarily limited to one having all the configurations described. Further, a part of the configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of one embodiment. . Further, it is possible to add, delete, and replace other configurations for a part of the configuration of each embodiment.

また、上記の各構成は、それらの一部又は全部が、ハードウェアで構成されても、プロセッサでプログラムが実行されることにより実現されるように構成されてもよい。また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際には殆ど全ての構成が相互に接続されていると考えてもよい。   In addition, each of the above-described configurations may be configured such that some or all of them are configured by hardware, or are implemented by executing a program by a processor. Further, the control lines and information lines indicate what is considered necessary for the explanation, and not all the control lines and information lines on the product are necessarily shown. Actually, it may be considered that almost all the components are connected to each other.

1…平滑化輝度算出部、11…入力輝度信号抽出部、12…平滑化演算部
2…輝度信号処理部、21…輝度/色差信号分離部、22…比較部、23…減算部、24…ゲイン乗算部、25…加算部、26…輝度信号スイッチング部、27…輝度/色差信号統合部
3…平滑化範囲決定部、31…平滑化範囲決定部、311…入力輝度信号抽出部、312…高輝度信号割合算出部、313…平滑化範囲出力部、314…高輝度信号割合判定部、315…平滑化範囲スイッチング部、316…平均輝度判定部、317…露光不良判定用論理積演算部
4…判定領域検出部、41…重心位置算出部、411…入力輝度信号抽出部、412…二値画像生成部、413…二値画像重心位置算出部、42…矩形領域出力部、43…共通領域出力用論理積演算部
5…肌領域検出部、51…色信号抽出部、52…色信号R用平滑化フィルタ、53…色信号G用平滑化フィルタ、54…色信号B用平滑化フィルタ、55…色相算出部、56…肌色判定部、57…色/輝度信号抽出部、58…低輝度信号除外判定部、59…低輝度信号除外用論理積演算部
6…顔認識部
10…撮像装置、101…画像取得部、102…信号処理部、103…記憶部、104…制御部、1041…露光制御部、1042…外部入力制御部
20…肌
30…外付け装置
40…スマートフォン
50…ネットワーク
60…クラウドサーバー、601…信号処理部、602…肌診断部

DESCRIPTION OF SYMBOLS 1 ... Smoothed luminance calculation part, 11 ... Input luminance signal extraction part, 12 ... Smoothing calculating part 2, ... Luminance signal processing part, 21 ... Luminance / color difference signal separation part, 22 ... Comparison part, 23 ... Subtraction part, 24 ... Gain multiplying unit 25 ... Adding unit 26 ... Luminance signal switching unit 27 ... Luminance / chrominance signal integrating unit 3 ... Smoothing range determining unit 31 ... Smoothing range determining unit 311 ... Input luminance signal extracting unit 312 ... High luminance signal ratio calculation unit, 313 ... smoothing range output unit, 314 ... high luminance signal ratio determination unit, 315 ... smoothing range switching unit, 316 ... average luminance determination unit, 317 ... logical product calculation unit for exposure failure determination 4 ... determination area detection part, 41 ... centroid position calculation part, 411 ... input luminance signal extraction part, 412 ... binary image generation part, 413 ... binary image centroid position calculation part, 42 ... rectangular area output part, 43 ... common area Output AND operation block DESCRIPTION OF SYMBOLS 5 ... Skin area | region detection part, 51 ... Color signal extraction part, 52 ... Smoothing filter for color signals R, 53 ... Smoothing filter for color signals G, 54 ... Smoothing filter for color signals B, 55 ... Hue calculation part, 56 ... Skin color determination unit, 57 ... Color / luminance signal extraction unit, 58 ... Low luminance signal exclusion determination unit, 59 ... Low luminance signal exclusion AND unit 6 ... Face recognition unit 10 ... Imaging device, 101 ... Image acquisition unit DESCRIPTION OF SYMBOLS 102 ... Signal processing part 103 ... Memory | storage part 104 ... Control part 1041 ... Exposure control part 1042 ... External input control part 20 ... Skin 30 ... Externally attached device 40 ... Smartphone 50 ... Network 60 ... Cloud server, 601 ... Signal processing unit, 602 ... skin diagnosis unit

Claims (15)

入力画像信号を取得する画像取得部と、
前記入力画像信号を入力して信号処理を行い、出力画像信号を出力する信号処理部と、
前記出力画像信号を媒体に記憶する記憶部と、
を備え、
前記信号処理部は、
前記入力画像信号に含まれる各画素信号の周辺において、第1の平滑化範囲内の入力輝度信号を平滑化して平滑化輝度を算出する平滑化輝度算出部と、
前記入力輝度信号と前記平滑化輝度とを比較し、前記入力輝度信号が前記平滑化輝度より大きい場合は前記入力輝度信号と前記平滑化輝度との差分を第1の割合で縮小し、前記入力輝度信号と置き換えて出力輝度信号を生成する輝度信号処理部と、
を含む、撮像装置。
An image acquisition unit for acquiring an input image signal;
A signal processing unit that inputs the input image signal, performs signal processing, and outputs an output image signal;
A storage unit for storing the output image signal in a medium;
With
The signal processing unit
A smoothed luminance calculating unit that calculates a smoothed luminance by smoothing an input luminance signal within a first smoothing range around each pixel signal included in the input image signal;
The input luminance signal is compared with the smoothed luminance, and if the input luminance signal is larger than the smoothed luminance, the difference between the input luminance signal and the smoothed luminance is reduced by a first ratio, and the input luminance signal is reduced. A luminance signal processing unit that generates an output luminance signal by replacing the luminance signal;
An imaging apparatus.
請求項1に記載の撮像装置において、
前記平滑化輝度算出部は、前記入力画像信号から平滑化範囲を決定する平滑化範囲決定部を有し、前記入力画像信号において、前記平滑化範囲決定部の出力する前記平滑化範囲内の前記入力輝度信号を平滑化して前記平滑化輝度を算出する、撮像装置。
The imaging device according to claim 1,
The smoothed luminance calculating unit includes a smoothed range determining unit that determines a smoothed range from the input image signal, and the input image signal includes the smoothed range within the smoothed range output from the smoothed range determining unit. An imaging apparatus that smoothes an input luminance signal and calculates the smoothed luminance.
請求項2に記載の撮像装置において、
前記平滑化範囲決定部は、前記入力画像信号から判定領域を検出する判定領域検出部を有し、前記入力画像信号において、前記判定領域検出部で検出された判定領域の第1の閾値より高い輝度信号を持つ画素数と全画素数に対する割合とを算出し、前記割合が大きいほど、大きい平滑化範囲とする、撮像装置。
The imaging device according to claim 2,
The smoothing range determination unit includes a determination region detection unit that detects a determination region from the input image signal, and is higher than a first threshold value of the determination region detected by the determination region detection unit in the input image signal. An imaging apparatus that calculates the number of pixels having a luminance signal and a ratio to the total number of pixels, and the larger the ratio, the larger the smoothing range.
請求項3に記載の撮像装置において、
前記判定領域検出部は、前記入力画像信号に含まれる全画素を前記判定領域として出力する、撮像装置。
The imaging device according to claim 3.
The imaging apparatus, wherein the determination area detection unit outputs all pixels included in the input image signal as the determination area.
請求項3に記載の撮像装置において、
前記判定領域検出部は、前記入力画像信号から肌領域を検出する肌領域検出部を有し、前記入力画像信号において、前記肌領域検出部で検出された肌領域の重心位置を算出し、前記重心位置を中心とし、一辺が第1の長さの矩形領域を前記判定領域として出力する、撮像装置。
The imaging device according to claim 3.
The determination region detection unit includes a skin region detection unit that detects a skin region from the input image signal, calculates a gravity center position of the skin region detected by the skin region detection unit in the input image signal, and An imaging apparatus that outputs a rectangular region having a center of gravity at the center and a side having a first length as the determination region.
請求項3に記載の撮像装置において、
前記判定領域検出部は、前記入力画像信号から肌領域を検出する肌領域検出部と、前記入力画像信号から顔領域を出力する顔認識部と、を有し、前記肌領域検出部で検出された肌領域と前記顔認識部から出力された顔領域とが重複する領域を前記判定領域として出力する、撮像装置。
The imaging device according to claim 3.
The determination region detection unit includes a skin region detection unit that detects a skin region from the input image signal and a face recognition unit that outputs a face region from the input image signal, and is detected by the skin region detection unit. An imaging apparatus that outputs, as the determination area, an area in which a skin area overlapped with a face area output from the face recognition unit.
請求項1に記載の撮像装置において、
前記撮像装置は、さらに、前記信号処理部の出力する出力画像信号から露光制御量を算出し、前記画像取得部を制御する露光制御部を備える、撮像装置。
The imaging device according to claim 1,
The imaging apparatus further includes an exposure control unit that calculates an exposure control amount from an output image signal output from the signal processing unit and controls the image acquisition unit.
請求項7に記載の撮像装置において、
前記撮像装置は、さらに、前記画像取得部、前記信号処理部、前記記憶部および前記露光制御部を操作する外部入力制御部を備える、撮像装置。
The imaging apparatus according to claim 7,
The imaging apparatus further includes an external input control unit that operates the image acquisition unit, the signal processing unit, the storage unit, and the exposure control unit.
入力画像信号に含まれる各画素信号の周辺において、第1の平滑化範囲内の入力輝度信号を平滑化して平滑化輝度を算出する平滑化輝度算出部と、
前記入力輝度信号と前記平滑化輝度とを比較し、前記入力輝度信号が前記平滑化輝度より大きい場合は前記入力輝度信号と前記平滑化輝度との差分を第1の割合で縮小し、前記入力輝度信号と置き換えて出力輝度信号を生成する輝度信号処理部と、
を備える、信号処理装置。
A smoothed luminance calculating unit that calculates the smoothed luminance by smoothing the input luminance signal within the first smoothing range around each pixel signal included in the input image signal;
The input luminance signal is compared with the smoothed luminance, and if the input luminance signal is larger than the smoothed luminance, the difference between the input luminance signal and the smoothed luminance is reduced by a first ratio, and the input luminance signal is reduced. A luminance signal processing unit that generates an output luminance signal by replacing the luminance signal;
A signal processing apparatus comprising:
請求項9に記載の信号処理装置において、
前記平滑化輝度算出部は、前記入力画像信号から平滑化範囲を決定する平滑化範囲決定部を有し、前記入力画像信号において、前記平滑化範囲決定部の出力する前記平滑化範囲内の前記入力輝度信号を平滑化して前記平滑化輝度を算出する、信号処理装置。
The signal processing device according to claim 9,
The smoothed luminance calculating unit includes a smoothed range determining unit that determines a smoothed range from the input image signal, and the input image signal includes the smoothed range within the smoothed range output from the smoothed range determining unit. A signal processing device that smoothes an input luminance signal and calculates the smoothed luminance.
請求項10に記載の信号処理装置において、
前記平滑化範囲決定部は、前記入力画像信号から判定領域を検出する判定領域検出部を有し、前記入力画像信号において、前記判定領域検出部で検出された判定領域の第1の閾値より高い輝度信号を持つ画素数と全画素数に対する割合とを算出し、前記割合が大きいほど、大きい平滑化範囲とする、信号処理装置。
The signal processing device according to claim 10,
The smoothing range determination unit includes a determination region detection unit that detects a determination region from the input image signal, and is higher than a first threshold value of the determination region detected by the determination region detection unit in the input image signal. A signal processing apparatus that calculates the number of pixels having a luminance signal and a ratio with respect to the total number of pixels, and the larger the ratio, the larger the smoothing range.
請求項11に記載の信号処理装置において、
前記判定領域検出部は、前記入力画像信号に含まれる全画素を前記判定領域として出力する、信号処理装置。
The signal processing apparatus according to claim 11,
The determination region detection unit is a signal processing device that outputs all pixels included in the input image signal as the determination region.
請求項11に記載の信号処理装置において、
前記判定領域検出部は、前記入力画像信号から肌領域を検出する肌領域検出部を有し、前記入力画像信号において、前記肌領域検出部で検出された肌領域の重心位置を算出し、前記重心位置を中心とし、一辺が第1の長さの矩形領域を前記判定領域として出力する、信号処理装置。
The signal processing apparatus according to claim 11,
The determination region detection unit includes a skin region detection unit that detects a skin region from the input image signal, calculates a gravity center position of the skin region detected by the skin region detection unit in the input image signal, and A signal processing device that outputs a rectangular region having a center of gravity at the center and a side having a first length as the determination region.
請求項11に記載の信号処理装置において、
前記判定領域検出部は、前記入力画像信号から肌領域を検出する肌領域検出部と、前記入力画像信号から顔領域を出力する顔認識部と、を有し、前記肌領域検出部で検出された肌領域と前記顔認識部から出力された顔領域とが重複する領域を前記判定領域として出力する、信号処理装置。
The signal processing apparatus according to claim 11,
The determination region detection unit includes a skin region detection unit that detects a skin region from the input image signal and a face recognition unit that outputs a face region from the input image signal, and is detected by the skin region detection unit. A signal processing device that outputs, as the determination region, a region in which the skin region overlapped with the face region output from the face recognition unit.
請求項9乃至14のいずれか一項に記載の信号処理装置を用いた肌診断システムであって、
前記入力画像信号を取得する画像取得部と通信部とを含む携帯端末装置と、
前記携帯端末装置に取り付けられ、肌の接写を行うためのレンズと光源とを含む外付け装置と、
前記信号処理装置を含む情報処理装置と、
前記携帯端末装置と前記情報処理装置とが接続されるネットワークと、
を備え、
前記携帯端末装置は、前記外付け装置を介して前記肌の接写画像を取得して、前記肌の接写画像を前記ネットワークを介して前記情報処理装置に転送し、
前記情報処理装置は、前記肌の接写画像を前記ネットワークを通じて取得し、前記信号処理装置を制御して得られる画像より肌診断データを生成し、その結果を前記ネットワークを介して前記携帯端末装置に転送する、肌診断システム。

A skin diagnosis system using the signal processing device according to any one of claims 9 to 14,
A portable terminal device including an image acquisition unit for acquiring the input image signal and a communication unit;
An external device attached to the portable terminal device and including a lens and a light source for close-up of the skin;
An information processing device including the signal processing device;
A network to which the portable terminal device and the information processing device are connected;
With
The portable terminal device acquires the close-up image of the skin via the external device, and transfers the close-up image of the skin to the information processing device via the network;
The information processing device acquires the close-up image of the skin through the network, generates skin diagnosis data from an image obtained by controlling the signal processing device, and sends the result to the mobile terminal device via the network. Transfer skin diagnosis system.

JP2017507290A 2015-03-26 2015-03-26 Imaging device, signal processing device, and skin diagnosis system Active JP6501868B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/059421 WO2016151850A1 (en) 2015-03-26 2015-03-26 Image capture device, signal processing device, and skin diagnosis system

Publications (2)

Publication Number Publication Date
JPWO2016151850A1 true JPWO2016151850A1 (en) 2018-01-18
JP6501868B2 JP6501868B2 (en) 2019-04-17

Family

ID=56977914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017507290A Active JP6501868B2 (en) 2015-03-26 2015-03-26 Imaging device, signal processing device, and skin diagnosis system

Country Status (2)

Country Link
JP (1) JP6501868B2 (en)
WO (1) WO2016151850A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6904788B2 (en) * 2017-05-25 2021-07-21 キヤノン株式会社 Image processing equipment, image processing methods, and programs
JP6908013B2 (en) * 2018-10-11 2021-07-21 カシオ計算機株式会社 Image processing equipment, image processing methods and programs

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10136255A (en) * 1996-10-30 1998-05-22 Mitsubishi Electric Corp Luminance adjustment circuit
JPH11168660A (en) * 1997-12-04 1999-06-22 Mitsubishi Electric Corp Luminance adjustment circuit
JP2009100252A (en) * 2007-10-17 2009-05-07 Mitsubishi Electric Corp Imaging device
WO2012001949A1 (en) * 2010-06-30 2012-01-05 日本電気株式会社 Color image processing method, color image processing device, and color image processing program
JP2015046698A (en) * 2013-08-27 2015-03-12 ソニー株式会社 Imaging apparatus and its imaging method, image processing system and its image processing method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10136255A (en) * 1996-10-30 1998-05-22 Mitsubishi Electric Corp Luminance adjustment circuit
JPH11168660A (en) * 1997-12-04 1999-06-22 Mitsubishi Electric Corp Luminance adjustment circuit
JP2009100252A (en) * 2007-10-17 2009-05-07 Mitsubishi Electric Corp Imaging device
WO2012001949A1 (en) * 2010-06-30 2012-01-05 日本電気株式会社 Color image processing method, color image processing device, and color image processing program
JP2015046698A (en) * 2013-08-27 2015-03-12 ソニー株式会社 Imaging apparatus and its imaging method, image processing system and its image processing method, and program

Also Published As

Publication number Publication date
WO2016151850A1 (en) 2016-09-29
JP6501868B2 (en) 2019-04-17

Similar Documents

Publication Publication Date Title
US10873704B2 (en) Illumination systems and methods for computer imagers
US10574961B2 (en) Image processing apparatus and image processing method thereof
US10397486B2 (en) Image capture apparatus and method executed by image capture apparatus
CN113454530B (en) Apparatus and method for capturing and blending multiple images for high quality flash photography using a mobile electronic device
US20200043225A1 (en) Image processing apparatus and control method thereof
JP6046966B2 (en) Image processing apparatus, image processing method, program, and storage medium
US20150170389A1 (en) Automatic selection of optimum algorithms for high dynamic range image processing based on scene classification
WO2009088080A1 (en) Projector
US9497433B2 (en) Imaging device with color adjustment function, imaging method using the same, and non-transitory storage medium in which imaging program is stored
CN108717691B (en) Image fusion method and device, electronic equipment and medium
JP2018041380A (en) Image processing apparatus, image processing method, and program
KR20170030418A (en) Imaging processing device and Imaging processing method
JP5487581B2 (en) Image processing apparatus, image processing method, program, and imaging apparatus
WO2016151850A1 (en) Image capture device, signal processing device, and skin diagnosis system
JP2003234950A (en) Image processing device, image processing program, and image processing method
JP2019047336A5 (en)
CN115361507B (en) Imaging method, and automatic exposure control method and device for dyeing imaging
CN108337448B (en) High dynamic range image acquisition method and device, terminal equipment and storage medium
EP4090006A2 (en) Image signal processing based on virtual superimposition
JP6827782B2 (en) Image processing equipment, imaging equipment, image processing methods, image processing programs, and recording media
WO2017169287A1 (en) White balance adjustment device, operation method therefor, and operation program
US9495584B1 (en) System and method for facial recognition using images captured from a target illuminated with infrared light
Granados et al. Contrast-use metrics for tone mapping images
JP2013108794A (en) Inspection apparatus
JP2020101624A (en) Imaging apparatus, electronic apparatus, and control method and program of imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170926

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20171102

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181002

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20181128

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190130

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: 20190219

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190319

R150 Certificate of patent or registration of utility model

Ref document number: 6501868

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250