JP5501393B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP5501393B2
JP5501393B2 JP2012028226A JP2012028226A JP5501393B2 JP 5501393 B2 JP5501393 B2 JP 5501393B2 JP 2012028226 A JP2012028226 A JP 2012028226A JP 2012028226 A JP2012028226 A JP 2012028226A JP 5501393 B2 JP5501393 B2 JP 5501393B2
Authority
JP
Japan
Prior art keywords
white balance
color
image
control state
color temperature
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.)
Expired - Fee Related
Application number
JP2012028226A
Other languages
Japanese (ja)
Other versions
JP2012120241A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2012028226A priority Critical patent/JP5501393B2/en
Publication of JP2012120241A publication Critical patent/JP2012120241A/en
Application granted granted Critical
Publication of JP5501393B2 publication Critical patent/JP5501393B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像処理装置に関するものである。   The present invention relates to an image processing apparatus.

従来、撮影された画像に対し圧縮符号化を行う画像処理装置において、重要度が高いとされる所定色を含む領域を検出し、所定色が検出された領域に対して画質を向上させる処理を行う装置がある。   2. Description of the Related Art Conventionally, in an image processing apparatus that performs compression coding on a captured image, a process including detecting a region including a predetermined color that is considered to be highly important and improving the image quality of the region where the predetermined color is detected There is a device to do.

このような装置で重要度が高いとされる色は一般的に人物の顔に相当する色、即ち、肌色である場合が多い。   In many cases, a color that is considered to be highly important in such an apparatus is generally a color corresponding to a human face, that is, a skin color.

このように画像中の肌色を含む領域を検出し、肌色が検出された領域に対して、フィルタ処理を行い、画像圧縮時の符号割り当て量を制御することにより、画質を向上させる提案として特許文献1がある。   As a proposal for improving image quality by detecting a region including skin color in an image in this way, performing filter processing on the region where skin color is detected, and controlling a code allocation amount at the time of image compression There is one.

図15は、従来例(特許文献1)に係る画像処理装置のブロック図である。   FIG. 15 is a block diagram of an image processing apparatus according to a conventional example (Patent Document 1).

図15において、撮像部1501は、レンズや撮像素子を含み映像を撮影(撮像)する。画像信号処理部1502は、ガンマ変換、色空間変換、ラスタ−ブロック変換等一連の画像信号処理を実行する。   In FIG. 15, the imaging unit 1501 includes a lens and an imaging element and captures (captures) an image. The image signal processing unit 1502 executes a series of image signal processing such as gamma conversion, color space conversion, and raster-block conversion.

肌色検出処理部1503は、一連の画像処理が施された画像に対して撮影対象としての重要度が一般的に高い人物の、特に顔面部を検出する。フィルタ部1504は、撮影された画像データの任意の領域に対して選択的にその高周波成分強度を減衰させる。   The skin color detection processing unit 1503 detects, in particular, the face portion of a person who is generally highly important as a subject to be photographed with respect to an image that has undergone a series of image processing. The filter unit 1504 selectively attenuates the high-frequency component intensity for an arbitrary region of the captured image data.

動き補償予測部1505は、予測対象画像ブロックと最も一致する参照画像ブロックを予測し、動きベクトルを生成する。直交変換部1506は、離散コサイン変換等の直交変換を行う。量子化部1507は、直交変換係数を量子化行列等で除算し、情報量を削減する。   The motion compensation prediction unit 1505 predicts a reference image block that most closely matches the prediction target image block, and generates a motion vector. The orthogonal transform unit 1506 performs orthogonal transform such as discrete cosine transform. The quantization unit 1507 divides the orthogonal transform coefficient by a quantization matrix or the like to reduce the information amount.

エントロピー符号化部1508は、ハフマン符号等で可変長符号化することにより更に情報量を削減する。バッファ部1509は、変動する単位時間あたりに発生する符号量を時間軸上で平滑化する。   The entropy encoding unit 1508 further reduces the amount of information by performing variable length encoding using a Huffman code or the like. The buffer unit 1509 smoothes the amount of code generated per unit time that fluctuates on the time axis.

記録部1510は、磁気テープやメモリカード等の記録媒体へ符号化データを記録する。逆量子化部1511は、参照画像を再構成するため、量子化部1507により量子化された直交変換係数を逆量子化する。   The recording unit 1510 records the encoded data on a recording medium such as a magnetic tape or a memory card. The inverse quantization unit 1511 performs inverse quantization on the orthogonal transform coefficient quantized by the quantization unit 1507 in order to reconstruct the reference image.

逆直交変換部1512は、逆量子化部1511により生成された逆量子化後の直交変換係数を逆直交変換する。撮影モード選択部1513は、撮影者により操作され撮影モードを選択(設定)する。   The inverse orthogonal transform unit 1512 performs inverse orthogonal transform on the orthogonal transform coefficient after inverse quantization generated by the inverse quantization unit 1511. The shooting mode selection unit 1513 is operated by the photographer to select (set) a shooting mode.

制御部1514は、バッファ部1509の占有率を監視し、システム全体を統括的に制御する。符号化モード選択部1515は、撮影者により操作され、静止画または動画を選択する。   The control unit 1514 monitors the occupation ratio of the buffer unit 1509 and controls the entire system in an integrated manner. The encoding mode selection unit 1515 is operated by the photographer and selects a still image or a moving image.

図16は、図15の量子化部における符号量制御処理の手順を示すフローチャートである。   FIG. 16 is a flowchart illustrating a procedure of code amount control processing in the quantization unit of FIG.

ステップS1601で撮影者により撮影開始が指示されると、ステップS1602にて制御部1514は符号化モード選択部1515に設定されている符号化モードを調べる。   When the photographer gives an instruction to start shooting in step S1601, the control unit 1514 checks the encoding mode set in the encoding mode selection unit 1515 in step S1602.

符号化モードが動画符号化モードであった場合は、ステップS1603に進んで撮影モード選択部1513に設定されている撮影モードを調べ、動画符号化モードで無い場合は処理を終了する。   If the encoding mode is the moving image encoding mode, the process advances to step S1603 to check the shooting mode set in the shooting mode selection unit 1513. If the encoding mode is not the moving image encoding mode, the process ends.

ステップS1603において、撮影モードがポートレートモードで無い場合は処理を終了する。   In step S1603, if the shooting mode is not the portrait mode, the process ends.

一方、ステップS1603で撮影モードがポートレートモードであった場合は、ステップS1604に進む。そして、ステップS1604で、肌色検出処理部1503において肌色と検出された領域に該当する画像ブロックの量子化に際して量子化ステップ値を小さくする等して符号量を増加させ、処理を終了する。   On the other hand, if the shooting mode is the portrait mode in step S1603, the process proceeds to step S1604. In step S1604, the code amount is increased by decreasing the quantization step value when the image block corresponding to the area detected as the skin color in the skin color detection processing unit 1503 is quantized, and the process ends.

尚、この制御に加えて、肌色と検出された領域以外の領域に該当する画像ブロックの量子化に際しては、量子化ステップ値を大きくする等して符号量を低減させるように量子化部1507を制御する。結果的に、肌色検出処理部1503において肌色と検出された領域に対する符号量をそれ以外の領域と比べて相対的に増加するように量子化部1507を制御する。   In addition to this control, when quantizing an image block corresponding to a region other than the region detected as skin color, the quantization unit 1507 is set so as to reduce the code amount by increasing the quantization step value or the like. Control. As a result, the quantization unit 1507 is controlled so that the code amount for the region detected as the skin color in the skin color detection processing unit 1503 is relatively increased as compared with the other regions.

このような符号量制御処理により、画像中に肌色の存在が検出された領域における符号量は増加し、一方、それ以外の領域における符号量は低減するので全体の符号量を保ちながら肌色を含む領域の画質を向上させることができるような構成となっている。   By such code amount control processing, the code amount in the region where the presence of flesh color is detected in the image is increased, while the code amount in other regions is reduced, so skin color is included while maintaining the entire code amount. The configuration is such that the image quality of the area can be improved.

また、特許文献1では、ユーザーがポートレートモードを選択した時に限り肌色の存在が検出された領域に符号量を与えることにより、効果的に符号量を削減できる構成にもなっている。   Japanese Patent Laid-Open No. 2004-228620 has a configuration in which the code amount can be effectively reduced by giving the code amount to the area where the presence of skin color is detected only when the user selects the portrait mode.

特開2005―218017号公報Japanese Patent Laid-Open No. 2005-218017

以下に特許文献1に示した従来技術における問題点について説明する。   The problems in the prior art disclosed in Patent Document 1 will be described below.

通常、図15に示すようなビデオカメラに代表される画像処理装置では、被写体を照らす光源の色温度変化を補正する目的で所謂ホワイトバランス補正が行われている。   Normally, in an image processing apparatus represented by a video camera as shown in FIG. 15, so-called white balance correction is performed for the purpose of correcting a change in color temperature of a light source that illuminates a subject.

ここで、本発明が解決しようとする課題を説明するために、一般的なホワイトバランス補正の動作について述べる。   Here, in order to explain the problem to be solved by the present invention, a general white balance correction operation will be described.

(一般的なホワイトバランスの動作説明)
ホワイトバランス補正で制御可能な色温度範囲は、実際の撮影で使用される光源の色温度変化範囲を想定して設定されており、ある一定の有限な範囲に限定されている。
(General white balance operation explanation)
The color temperature range that can be controlled by white balance correction is set assuming a color temperature change range of a light source used in actual photographing, and is limited to a certain finite range.

通常、ホワイトバランスの補正可能な色温度範囲として、高色温度側は、太陽光の色温度付近に設定され、低色温度側は、白熱電球の色温度付近に設定されている。   Usually, as a color temperature range in which white balance can be corrected, the high color temperature side is set near the color temperature of sunlight, and the low color temperature side is set near the color temperature of the incandescent light bulb.

このように、ホワイトバランス補正で制御可能な色温度範囲を設定することにより、例えば、ろうそくや暖炉の炎のように低い色温度による光源で照らされた被写体を撮影した場合には、光源の赤みが残された画像になり、温かみのある画像を得ることができる。   In this way, by setting a color temperature range that can be controlled by white balance correction, for example, when shooting a subject illuminated by a light source with a low color temperature, such as a candle or a flame of a fireplace, the redness of the light source Becomes a left image, and a warm image can be obtained.

一方、日陰のように高い色温度による光源の元での被写体を撮影した場合には、光源の青みが残された画像になり、清涼感のある画像を得ることができる。   On the other hand, when a subject is photographed under a light source with a high color temperature, such as in the shade, an image in which the light source is left bluish is left, and a refreshing image can be obtained.

更に、ホワイトバランス補正で制御可能な色温度範囲を所定の有限な範囲以内に定めることにより、以下の効果がある。即ち、特定の有彩色の影響を受け、カラーフェイリアと呼ばれるホワイトバランス誤補正が生じた場合でも、ホワイトバランス補正された画像の色味が極端にずれてしまう事態を防ぐ効果もある。   Furthermore, by setting the color temperature range that can be controlled by white balance correction within a predetermined finite range, the following effects can be obtained. In other words, even when white balance miscorrection called color failure occurs due to the influence of a specific chromatic color, there is an effect of preventing a situation in which the color of an image subjected to white balance correction is extremely shifted.

また、時間的に連続した動画を撮影するビデオカメラに代表される画像処理装置では、急激なホワイトバランス補正によりシーンの途中で色味が変化しないように、単位時間当たりの補正量も制限されており、時間的に緩やかな補正が行われている。   In addition, in image processing apparatuses represented by video cameras that shoot continuous video in time, the amount of correction per unit time is limited so that the color does not change during the scene due to abrupt white balance correction. The correction is gentle over time.

上記のようなホワイトバランス補正機能を持ち、肌色を含む領域を検出する場合の問題点について説明する。   A problem in the case of detecting a region having the above-described white balance correction function and including skin color will be described.

図17は被写体を示す図であり、白い衣服を着た人物の例である。図中1701、1702はそれぞれ肌色部である人物の顔部と白色の衣服部を示す。   FIG. 17 is a diagram showing a subject, and is an example of a person wearing white clothes. In the figure, reference numerals 1701 and 1702 denote a human face portion and a white clothing portion, which are skin color portions, respectively.

図18は、図17に示す被写体が撮影された場合の画像信号における色差信号のレベルを示したベクトル図である。   FIG. 18 is a vector diagram showing the level of the color difference signal in the image signal when the subject shown in FIG. 17 is photographed.

ホワイトバランス補正がされた状態では、被写体の衣服部1702は白色なので、図18中、P1802に示す点となる。   In the state in which the white balance is corrected, the clothing portion 1702 of the subject is white, so the point is indicated by P1802 in FIG.

また、被写体の顔部1701は肌色であるので、図18中、P1801に示す点となる。尚、図18中、破線A1801は、肌色と判定するための色差信号の閾値を示しており、破線A1801で囲まれた内側の領域内に色差信号が存在すれば肌色と判定される。以降、この領域を肌色判定領域A1801と記す。   Since the face portion 1701 of the subject has a flesh color, the point is indicated by P1801 in FIG. In FIG. 18, a broken line A1801 indicates a threshold value of the color difference signal for determining the skin color. If a color difference signal exists in the inner area surrounded by the broken line A1801, it is determined that the skin color. Hereinafter, this region is referred to as a skin color determination region A1801.

画像の色差信号が図18に示した状態の時、人物の顔部1701であるP1801は肌色判定領域A1801の内側に入っているため肌色と判定される。   When the color difference signal of the image is in the state shown in FIG. 18, P1801, which is the human face 1701, is determined to be skin color because it is inside the skin color determination area A1801.

また、衣服部1702であるP1802は肌色判定領域A1801の内側に入っていないため肌色とは判定されない。   Further, P1802 which is the clothing portion 1702 is not determined to be a skin color because it is not inside the skin color determination area A1801.

肌色を含む領域に多くの符号量を割り当てる従来の方式では、このような通常のホワイトバランス補正がなされた状態においては、図17の顔部1701は肌色と判定されるため、それ以外の領域に比べ相対的に多くの符号量が割り当てられるようになる。   In the conventional method in which a large amount of code is assigned to an area including a skin color, the face 1701 in FIG. 17 is determined to be a skin color in a state in which such normal white balance correction is performed. A relatively large amount of code is assigned.

また、図17の衣服部1702は肌色と判定されないので、相対的に少ない符号量が割り当てられ、全体の符号量を保ちながら肌色を含む領域の画質を向上させることができる。   In addition, since the clothing portion 1702 in FIG. 17 is not determined to be a skin color, a relatively small code amount is allocated, and the image quality of the region including the skin color can be improved while maintaining the entire code amount.

しかしながら、色温度が通常のホワイトバランス制御範囲よりも低色温度側であったり高色温度側であったりするような場合には次に示す問題が生じる。   However, when the color temperature is lower or higher than the normal white balance control range, the following problem occurs.

図19は、低色温度の光源の元で図17に示す人物を撮影した場合の色差信号のレベルを示したベクトル図である。   FIG. 19 is a vector diagram showing the level of the color difference signal when the person shown in FIG. 17 is photographed under a low color temperature light source.

例えば、ろうそくや暖炉の炎のように、通常のホワイトバランス制御範囲よりも低い色温度による光源で照らされた場合、即ち、ホワイトバランスが低色温度側で動作している場合には、ホワイトバランス補正がなされても画像の赤みが残ってしまうことがある。   For example, when lit by a light source with a color temperature lower than the normal white balance control range, such as a candle or a fireplace flame, that is, when the white balance is operating at a low color temperature side, the white balance Even if correction is made, the redness of the image may remain.

その場合、被写体の衣服部1702は、図19中、P1902に示す点となる。また、被写体の顔部1701は、図19中、P1901に示す点となる。尚、図19中のA1901は、図18中のA1801と同じ肌色判定領域である。   In this case, the clothing portion 1702 of the subject is a point indicated by P1902 in FIG. Further, the face portion 1701 of the subject is a point indicated by P1901 in FIG. Note that A1901 in FIG. 19 is the same skin color determination area as A1801 in FIG.

図19に示した状態では、人物の顔部であるP1901、衣服部P1902共に肌色判定領域A1901の内側に入っているため肌色と判定されてしまう。その結果、顔部1701と衣服部1702の両方に対して多くの符号量を割り当てようと動作してしまう。   In the state shown in FIG. 19, since P1901 which is the face part of a person and the clothes part P1902 are inside the skin color determination area A1901, the skin color is determined. As a result, an operation is attempted to assign a large amount of code to both the face portion 1701 and the clothing portion 1702.

しかしながら、顔部1701以外に衣服部1702にも多くの符号量を割り当ててしまと、相対的に顔部1701のみに多くの符号量を割り当てることができなくなり、顔部1701の画質を向上させることができなくなるという問題がある。   However, if a large amount of code is assigned to the garment portion 1702 in addition to the face portion 1701, a large amount of code amount cannot be assigned only to the face portion 1701, thereby improving the image quality of the face portion 1701. There is a problem that it becomes impossible.

また、光源が低色温度の場合には、本来の人物の肌でなくとも他の被写体も肌色に類似した赤みのある色になりやすい傾向がある。その場合、肌色判定領域に対してフィルタ処理を行うと、肌色に類似した他の被写体に対しもフィルタ処理を施してしまうので人物の肌色部以外の画質も変化してしまうという問題があった。   In addition, when the light source has a low color temperature, even if the subject is not the skin of the original person, other subjects tend to have a reddish color similar to the skin color. In this case, when the filter process is performed on the skin color determination region, the filter process is performed on other subjects similar to the skin color, and the image quality other than the person's skin color part is also changed.

図20は、高色温度の光源の元で図17に示す人物を撮影した場合の画像信号の色差レベルを示したベクトル図である。   FIG. 20 is a vector diagram showing the color difference level of the image signal when the person shown in FIG. 17 is photographed under a high color temperature light source.

例えば、日陰のように高い色温度による光源で照らされた場合、即ち、ホワイトバランスが高色温度側で動作している場合には画像の青みが残ってしまうことがある。   For example, when the image is illuminated with a light source having a high color temperature such as a shade, that is, when the white balance is operated on the high color temperature side, the blueness of the image may remain.

その場合、被写体の衣服部1702は、図20中、P2002に示す点となる。また、被写体の顔部1701は、図20中P2001に示す点となる。尚、図20中、A2001は、図18中、A1801と同じ肌色判定領域である。   In this case, the clothing portion 1702 of the subject is a point indicated by P2002 in FIG. Further, the face portion 1701 of the subject is a point indicated by P2001 in FIG. In FIG. 20, A2001 is the same skin color determination area as A1801 in FIG.

この場合、人物の顔部であるP2001、衣服部P2002共に肌色判定領域A2001の内側に入っていないため肌色とは判定されない。その結果、顔部1701に対して多くの符号量を割り当てようとする動作は行わないため、顔部1701の画質を向上させることができなくなるという問題がある。   In this case, neither P2001, which is a person's face portion, nor clothing portion P2002 is within the skin color determination area A2001, and therefore is not determined to be a skin color. As a result, there is a problem that the image quality of the face portion 1701 cannot be improved because an operation for assigning a large amount of code to the face portion 1701 is not performed.

この問題は、前述したような色温度が極端に低い場合や高い場合以外でも生じる場合がある。   This problem may occur even when the color temperature is extremely low or high as described above.

ホワイトバランス補正の動作説明でも述べたように、ホワイトバランスの補正は時間的に緩やかに変化するように制御されている。そのため、屋内から屋外にカメラが移動する等して光源の色温度が急激に変化した場合、ホワイトバランス補正が追従できない場合がある。   As described in the explanation of the white balance correction operation, the white balance correction is controlled so as to change gradually with time. Therefore, when the color temperature of the light source changes abruptly, for example, when the camera moves from indoor to outdoor, white balance correction may not be able to follow.

例えば、色温度の低い屋内で、図17の被写体を撮影し、ホワイトバランスが図18に示すように正しく補正されている状態で、被写体が色温度の高い屋外に移動したとする。   For example, assume that the subject in FIG. 17 is photographed indoors with a low color temperature, and the subject has moved to the outdoors with a high color temperature in a state where the white balance is correctly corrected as shown in FIG.

その場合、光源の色温度が急激に高く変化するため、色差ベクトルは一時的に図20に示す状態となる。   In that case, since the color temperature of the light source changes abruptly high, the color difference vector temporarily enters the state shown in FIG.

その後、ホワイトバランスが屋外の色温度に追従して、図18のように正しく補正されるまでの間、肌色が本来よりも青側にずれてしまうので、人物の顔が正しく肌色と判定されない。   After that, until the white balance follows the outdoor color temperature and is correctly corrected as shown in FIG. 18, the skin color is shifted to the blue side from the original, so that the face of the person is not correctly determined as the skin color.

同様に、色温度の高い屋外から色温度の低い屋内に移動した場合、色差ベクトルは一時的に図19のような状態となる。   Similarly, when moving from the outdoor where the color temperature is high to the indoor where the color temperature is low, the color difference vectors are temporarily in a state as shown in FIG.

その後、ホワイトバランスが屋外の色温度に追従して、図18のように正しく補正されるまでの間は、肌色以外の衣服も肌色と誤判定されてしまう。   Thereafter, until the white balance follows the outdoor color temperature and is corrected correctly as shown in FIG. 18, clothes other than the skin color are also erroneously determined as the skin color.

このように、光源の色温度が急激に変化した場合にも、従来例では、顔部が正しく検出されず、顔部即ち肌色部に対してのみ多くの符号量を割り当てる動作が行われないという問題があった。   As described above, even when the color temperature of the light source changes abruptly, in the conventional example, the face portion is not correctly detected, and the operation of assigning a large amount of code only to the face portion, that is, the skin color portion is not performed. There was a problem.

本発明の目的は、ホワイトバランスがオートモードで動作している場合に、光源の色温度が急激に変化した場合にも、顔部が正しく検出され、肌色を含む領域の画質をより安定的に向上させることが可能となる画像処理装置を提供することにある。 The object of the present invention is to detect the face correctly even when the color temperature of the light source changes abruptly when the white balance is operating in the auto mode, and to stabilize the image quality of the area including the skin color. An object of the present invention is to provide an image processing apparatus that can be improved.

上記目的を達成するために、請求項1記載の画像処理装置は、画像中の所定色を含む領域を検出する色検出部と、画像データに対してフィルタ処理を行うフィルタ処理部と、画像データを符号化する符号化部と、撮影時の光源の色温度が変化した場合に所定時間をかけてホワイトバランス制御状態を調整するホワイトバランス調整手段、前記ホワイトバランス調整手段により調整されたホワイトバランス制御状態が低色温度側であるか否かを判定する判定手段と、前記判定手段による判定結果に応じて、前記色検出部における所定色を検出する際の輝度信号及び色信号の閾値を変化させる制御手段と、を備え、前記制御手段は、前記ホワイトバランス制御状態が低色温度側であると前記判定手段が判定した場合、前記ホワイトバランス制御状態が低色温度側でないと前記判定手段が判定した場合に比べ、前記撮影画像の後の撮影において、前記色検出部における肌色を検出する際の閾値を彩度が高い方向に変化させ、且つ、前記所定時間より短い時間に行われた連続撮影の間に撮影時の光源が変化した場合、現在調整されているホワイトバランスの制御状態と最終的に調整されるホワイトバランスの制御状態の差に応じて、前記閾値の変化の度合いを決定することを特徴とする。 In order to achieve the above object, an image processing apparatus according to claim 1 includes a color detection unit that detects an area including a predetermined color in an image, a filter processing unit that performs a filtering process on image data, and image data. A white balance adjusting means for adjusting a white balance control state over a predetermined time when the color temperature of the light source at the time of photographing changes, and a white balance control adjusted by the white balance adjusting means A determination unit that determines whether or not the state is a low color temperature side, and a luminance signal and a threshold value of the color signal when the predetermined color is detected in the color detection unit are changed according to a determination result by the determination unit. and a control unit, wherein the control means, when the white balance control state determines that the determination means that the low color temperature side, the white balance control form There compared with the case where the determination means is not the low color temperature side is determined, in the photographing after the captured image, a threshold saturation is changed to a high direction in detecting skin color in the color detection unit, and, Depending on the difference between the currently adjusted white balance control state and the finally adjusted white balance control state when the light source during shooting changes during continuous shooting performed in a time shorter than the predetermined time Te, characterized that you determine the degree of change of the threshold.

請求項記載の画像処理装置は、入力された画像データから所定色を含む領域を検出する色検出部と、画像データに対してフィルタ処理を行うフィルタ処理部と、撮影時の光源の色温度が変化した場合に所定時間をかけて撮影画像から得られたホワイトバランス制御状態調整するホワイトバランス調整手段と、前記ホワイトバランス調整手段により調整された前記ホワイトバランス制御状態が低色温度側であるか否かを判定する判定手段と、前記判定手段による判定結果に応じて、前記色検出部における前記所定色を検出する際の輝度信号及び色信号の閾値を変化させる制御手段と、を備え、前記制御手段は、前記ホワイトバランス制御状態が低色温度側であると前記判定手段が判定した場合、前記ホワイトバランス制御状態が低色温度側でないと前記判定手段が判定した場合に比べ、前記撮影画像の後の撮影において、前記色検出部における肌色を検出する際の閾値を彩度が高い方向に変化させ、且つ、前記所定時間より短い時間に行われた連続撮影の間に撮影時の光源が変化した場合、現在調整されているホワイトバランスの制御状態と最終的に調整されるホワイトバランスの制御状態の差に応じて、前記閾値の変化の度合いを決定することを特徴とする。 The image processing apparatus according to claim 5, a color detection unit that detects an area including a predetermined color from input image data, a filter processing unit that performs a filtering process on the image data, and a color temperature of a light source at the time of photographing and white balance adjustment means, wherein said white balance control state adjusted by the white balance adjusting means is in the low color temperature side for adjusting the white balance control state obtained from the captured image over a predetermined time period when but has changed Determination means for determining whether or not, and a control means for changing a threshold value of a luminance signal and a color signal when detecting the predetermined color in the color detection unit according to a determination result by the determination means , wherein, when the white balance control state determines that the determination means that the low color temperature side, the white balance control state low color temperature side Compared to the case where the determination means determines that there is no, in the photographing after the captured image, a threshold saturation was the change in the high direction in detecting skin color in the color detection unit, and shorter than the predetermined time When the light source at the time of shooting changes during continuous shooting performed in time, the threshold value is set according to the difference between the currently adjusted white balance control state and the finally adjusted white balance control state. to determine the degree of change, characterized in Rukoto.

請求項記載の画像処理装置は、画像中の所定色を含む領域を検出する色検出部と、画像データに対してフィルタ処理を行うフィルタ処理部と、画像データを符号化する符号化部と、撮影画像から得られたホワイトバランス制御状態を調整するホワイトバランス調整手段と、前記ホワイトバランス調整手段により調整されたホワイトバランス制御状態が低色温度側であるか否かを判定する判定手段と、前記判定手段による判定結果に応じて、前記符号化部における前記所定色が検出された領域に割り当てる画像符号化時の符号量を変化させる制御手段と、を備え、前記制御手段は、前記ホワイトバランス制御状態が低色温度側であると前記判定手段が判定した場合には、前記撮影画像の後の撮影において、前記ホワイトバランス制御状態が低色温度側でないと前記判定手段が判定した高色温度側である場合に比べ前記符号化部における肌色が検出された領域に割り当てる画像符号化時の符号量を少なくすることを特徴とする。 The image processing apparatus according to claim 8, a color detection unit that detects an area including a predetermined color in the image, a filter processing unit that performs a filtering process on the image data, and an encoding unit that encodes the image data White balance adjustment means for adjusting the white balance control state obtained from the photographed image; and determination means for determining whether or not the white balance control state adjusted by the white balance adjustment means is a low color temperature side; Control means for changing a code amount at the time of image encoding assigned to an area in which the predetermined color is detected in the encoding unit according to a determination result by the determination means, and the control means includes the white balance If the control state is determined the determination means that the low color temperature side, the photographing after the captured image, is low the white balance control state Characterized in that to reduce the code amount in image coding to be allocated to the skin color is detected area in the encoding unit compared to when the determination means that no temperature side is the high color temperature side was determined.

請求項10記載の画像処理装置は、画像中の所定色を含む領域を検出する色検出部と、画像データに対してフィルタ処理を行うフィルタ処理部と、画像データを符号化する符号化部と、撮影画像から得られたホワイトバランス制御状態を調整するホワイトバランス調整手段と、前記ホワイトバランス調整手段により調整されたホワイトバランス制御状態が低色温度側であるか否かを判定する判定手段と、前記判定手段による判定結果に応じて、前記フィルタ処理部における前記所定色が検出された領域に対して施す前記フィルタ処理の種類及び強度を変化させる制御手段と、を備え、前記制御手段は、前記ホワイトバランス制御状態が低色温度側であると前記判定手段が判定した場合には、前記撮影画像の後の撮影において、前記ホワイトバランス制御状態が低色温度側でないと前記判定手段が判定した場合に比べ前記フィルタ処理部における肌色が検出された領域に対して施す前記フィルタ処理の強度を弱くすることを特徴とする。 The image processing apparatus according to claim 10, a color detection unit that detects an area including a predetermined color in an image, a filter processing unit that performs a filtering process on the image data, and an encoding unit that encodes the image data White balance adjustment means for adjusting the white balance control state obtained from the photographed image; and determination means for determining whether or not the white balance control state adjusted by the white balance adjustment means is a low color temperature side; Control means for changing the type and intensity of the filter processing applied to the area where the predetermined color is detected in the filter processing unit in accordance with the determination result by the determination means, and the control means includes the when the white balance control state determines that the determination means that the low color temperature side, the photographing after the captured image, the white bar Nsu control state is equal to or to weaken the strength of the filtering process performed on skin color is detected region in the filtering process unit compared with the case where the determination means is not the low color temperature side is determined.

本発明の画像処理装置によれば、ホワイトバランスがオートモードで動作している場合に、光源の色温度が急激に変化した場合にも、顔部が正しく検出され、肌色を含む領域の画質をより安定的に向上させることが可能となる。 According to the image processing apparatus of the present invention, when the white balance is operating in the auto mode, even when the color temperature of the light source changes abruptly , the face is correctly detected and the image quality of the region including the skin color is detected. Can be improved more stably.

図1は、本発明のビデオカメラに代表される画像処理装置の第1の構成例を示すブロック図である。FIG. 1 is a block diagram showing a first configuration example of an image processing apparatus represented by a video camera of the present invention. 図1におけるホワイトバランス動作モード選択部で、オートモード(オートホワイトバランスモード)が選択されている例を示す図である。It is a figure which shows the example in which the auto mode (auto white balance mode) is selected in the white balance operation mode selection part in FIG. 図1の画像処理装置におけるホワイトバランス制御データと色温度の関係を示す図である。FIG. 2 is a diagram illustrating a relationship between white balance control data and color temperature in the image processing apparatus of FIG. 1. 図1の画像処理装置における色温度変化と肌色判定領域の関係を示す色差ベクトル図である。FIG. 2 is a color difference vector diagram illustrating a relationship between a color temperature change and a skin color determination region in the image processing apparatus of FIG. 1. 図1の画像処理装置における色温度変化と肌色判定領域と白色部、肌色部の関係を示す色差ベクトル図である。FIG. 2 is a color difference vector diagram illustrating a relationship between a color temperature change, a skin color determination region, a white portion, and a skin color portion in the image processing apparatus of FIG. 図1の画像処理装置によって実行されるフィルタ処理及び量子化処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the filter process and quantization process which are performed by the image processing apparatus of FIG. 図1の画像処理装置における色温度変化と量子化補正係数の関係を示す図である。It is a figure which shows the relationship between the color temperature change and quantization correction coefficient in the image processing apparatus of FIG. 図1の画像処理装置におけるホワイトバランス動作モードと肌色判定領域の関係を示す色差ベクトル図である。FIG. 2 is a color difference vector diagram showing a relationship between a white balance operation mode and a skin color determination region in the image processing apparatus of FIG. 1. 図1の画像処理装置におけるホワイトバランス制御データの現在値と目標制御値を示す図である。It is a figure which shows the present value and target control value of white balance control data in the image processing apparatus of FIG. 図1の画像処理装置における目標制御値と肌色判定領域の関係を示す色差ベクトル図である。FIG. 2 is a color difference vector diagram illustrating a relationship between a target control value and a skin color determination region in the image processing apparatus of FIG. 1. 本発明のビデオカメラに代表される画像処理装置の第2の構成例を示すブロック図である。It is a block diagram which shows the 2nd structural example of the image processing apparatus represented by the video camera of this invention. 図11における記録媒体上の画像データとメタデータを示す図である。It is a figure which shows the image data and metadata on the recording medium in FIG. 図11におけるホワイトバランス検出部でのホワイトバランス検出処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the white balance detection process in the white balance detection part in FIG. 図11におけるフィルタ部のフィルタ制御処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the filter control process of the filter part in FIG. 従来例(特許文献1)に係る画像処理装置のブロック図である。It is a block diagram of the image processing apparatus which concerns on a prior art example (patent document 1). 図15の量子化部における符号量制御処理の手順を示すフローチャートである。16 is a flowchart illustrating a procedure of code amount control processing in the quantization unit in FIG. 15. は被写体を示す図である。Is a diagram showing a subject. 図17に示す被写体が撮影された場合の画像信号における色差信号のレベルを示すベクトル図である。FIG. 18 is a vector diagram showing the level of a color difference signal in an image signal when the subject shown in FIG. 17 is captured. 低色温度の光源の元で図17に示す人物を撮影した場合の色差信号のレベルを示すベクトル図である。FIG. 18 is a vector diagram showing the level of a color difference signal when the person shown in FIG. 17 is photographed under a low color temperature light source. 高色温度の光源の元で図17に示す人物を撮影した場合の画像信号の色差レベルを示すベクトル図である。FIG. 18 is a vector diagram showing a color difference level of an image signal when the person shown in FIG. 17 is photographed under a high color temperature light source.

以下、本発明の実施の形態を図面を参照しながら詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

(第1の実施の形態)
図1は、本発明のビデオカメラに代表される画像処理装置の第1の構成例を示すブロック図である。
(First embodiment)
FIG. 1 is a block diagram showing a first configuration example of an image processing apparatus represented by a video camera of the present invention.

図1において、撮像部101は、レンズや撮像素子を含み映像を撮影(撮像)する。画像信号処理部102は、ガンマ変換、色空間変換、ホワイトバランス処理、ラスタ−ブロック変換等一連の画像信号処理を実行する。   In FIG. 1, an imaging unit 101 includes a lens and an image sensor and captures (captures) an image. The image signal processing unit 102 executes a series of image signal processing such as gamma conversion, color space conversion, white balance processing, and raster-block conversion.

肌色検出処理部(色検出部)103は、一連の画像処理が施された画像に対して撮影対象としての重要度が一般的に高い人物の、特に顔面部を検出する。フィルタ部(フィルタ処理部)104は、撮影された画像データの任意の領域に対して選択的にその高周波成分強度を減衰させる。   A skin color detection processing unit (color detection unit) 103 detects, in particular, a face portion of a person who is generally highly important as a subject to be photographed with respect to an image subjected to a series of image processing. The filter unit (filter processing unit) 104 selectively attenuates the high-frequency component intensity for an arbitrary region of the captured image data.

動き補償予測部105は、予測対象画像ブロックと最も一致する参照画像ブロックを予測し、動きベクトルを生成する。直交変換部106は、離散コサイン変換等の直交変換を行う。量子化部107は、直交変換係数を量子化行列等で除算し、情報量を削減する。   The motion compensation prediction unit 105 predicts a reference image block that most closely matches the prediction target image block, and generates a motion vector. The orthogonal transform unit 106 performs orthogonal transform such as discrete cosine transform. The quantization unit 107 divides the orthogonal transform coefficient by a quantization matrix or the like to reduce the information amount.

エントロピー符号化部108は、ハフマン符号等で可変長符号化することにより更に情報量を削減する。バッファ部109は、変動する単位時間当たりに発生する符号量を時間軸上で平滑化する。   The entropy encoding unit 108 further reduces the amount of information by performing variable length encoding using a Huffman code or the like. The buffer unit 109 smoothes the amount of code generated per unit time that fluctuates on the time axis.

記録部110は、磁気テープやメモリカード等の記録媒体へ符号化データを記録する。逆量子化部111は、参照画像を再構成するために、量子化部107により量子化された直交変換係数を逆量子化する。   The recording unit 110 records the encoded data on a recording medium such as a magnetic tape or a memory card. The inverse quantization unit 111 performs inverse quantization on the orthogonal transform coefficient quantized by the quantization unit 107 in order to reconstruct the reference image.

逆直交変換部112は、逆量子化部111により生成された逆量子化後の直交変換係数を逆直交変換する。ホワイトバランス動作モード選択部113は、撮影者により操作されたホワイトバランス動作モードを選択(設定)する。   The inverse orthogonal transform unit 112 performs inverse orthogonal transform on the orthogonal transform coefficient after the inverse quantization generated by the inverse quantization unit 111. The white balance operation mode selection unit 113 selects (sets) a white balance operation mode operated by the photographer.

制御部(制御手段)114は、本ビデオカメラを統括的に制御する。即ち、制御部114は、バッファ部109の占有率を監視し符号化データ量を保つ制御、後述する肌色検出処理における閾値制御、フィルタ部104の強度制御等を行う。   The control unit (control unit) 114 controls the video camera in an integrated manner. That is, the control unit 114 performs control to monitor the occupation rate of the buffer unit 109 and maintain the encoded data amount, threshold control in skin color detection processing described later, intensity control of the filter unit 104, and the like.

制御部114は、画像撮影時のホワイトバランス制御状態及び色温度情報に応じて、肌色検出処理部103における所定色を検出する際の輝度信号及び色信号の閾値を変化させる。または、制御部114は、エントロピー符号化部108における所定色が検出された領域に割り当てる画像符号化時の符号量を変化させる。または、制御部114は、フィルタ部104における所定色が検出された領域に対して施すフィルタ処理の種類及び強度を変化させる。   The control unit 114 changes the threshold value of the luminance signal and the color signal when detecting the predetermined color in the skin color detection processing unit 103 according to the white balance control state and the color temperature information at the time of image capturing. Or the control part 114 changes the code amount at the time of the image encoding allocated to the area | region where the predetermined color in the entropy encoding part 108 was detected. Alternatively, the control unit 114 changes the type and intensity of the filtering process performed on the area where the predetermined color is detected in the filter unit 104.

また、制御部114は、ホワイトバランス制御状態が所定の値に固定されている場合と自動追尾状態である場合とで肌色検出処理部103部における肌色を検出する際の輝度信号及び色信号の閾値を変化させる。   Further, the control unit 114 detects the skin tone color and the threshold value of the color signal in the skin color detection processing unit 103 when the white balance control state is fixed to a predetermined value and when the white tracking control state is the automatic tracking state. To change.

また、制御部114は、ホワイトバランス制御における現在の補正量と最終補正量とを求め、補正量と最終補正量との差に応じて肌色検出処理部103における所定色を検出する際の輝度信号や色信号の閾値を変化させる。   Further, the control unit 114 obtains the current correction amount and the final correction amount in the white balance control, and the luminance signal when the predetermined color is detected in the skin color detection processing unit 103 according to the difference between the correction amount and the final correction amount. And the threshold value of the color signal is changed.

上記構成を有する画像処理装置において、本発明の特徴的な動作について説明する。   A characteristic operation of the present invention in the image processing apparatus having the above configuration will be described.

撮像部101より入力された画像データは、画像信号処理部102においてガンマ変換、色空間変換、ホワイトバランス処理、ラスタ−ブロック変換等一連の画像信号処理が施される。   The image data input from the imaging unit 101 is subjected to a series of image signal processing such as gamma conversion, color space conversion, white balance processing, and raster-block conversion in the image signal processing unit 102.

尚、ここでのホワイトバランス処理は、ホワイトバランス動作モード選択部113で設定された動作モードに応じて動作する。   The white balance processing here operates according to the operation mode set by the white balance operation mode selection unit 113.

図2は、図1におけるホワイトバランス動作モード選択部で、オートモード(オートホワイトバランスモード)が選択されている例を示す図である。   FIG. 2 is a diagram illustrating an example in which an auto mode (auto white balance mode) is selected by the white balance operation mode selection unit in FIG.

図2に示すように、設定可能なホワイトバランスの動作モードとしては、光源の色温度変化に対して自動てきに追尾して調整する所謂オートホワイトバランスモードがある。また、白紙等を撮影して任意の光源の色温度に調整するホワイトバランスセットモード、太陽光や蛍光灯等、予めいくつかの光源の色温度に合わせたホワイトバランス調整値に設定可能なプリセットモード等がある。   As shown in FIG. 2, a white balance operation mode that can be set includes a so-called auto white balance mode in which the color temperature change of the light source is automatically tracked and adjusted. Also, white balance set mode for shooting white paper and adjusting to the color temperature of any light source, preset mode that can be set to white balance adjustment values that match the color temperature of several light sources, such as sunlight and fluorescent lights Etc.

このように選択されたホワイトバランスの動作モード、及び画像信号処理部102におけるホワイトバランスの動作状態、色温度情報は制御部114に出力される。   The operation mode of white balance selected in this way, the operation state of white balance in the image signal processing unit 102, and the color temperature information are output to the control unit 114.

次に、一連の画像処理が施された画像に対して、肌色検出処理部103は、撮影対象としての重要度が一般的に高い人物を検出する目的で肌色検出処理を行う。   Next, the skin color detection processing unit 103 performs skin color detection processing on the image subjected to a series of image processing for the purpose of detecting a person who is generally high in importance as a photographing target.

ここで、本実施の形態におけるホワイトバランスの制御状態と肌色検出処理部103、制御部114の動作について、図3、図4、図5を用いて説明する。   Here, the control state of the white balance and the operation of the skin color detection processing unit 103 and the control unit 114 in the present embodiment will be described with reference to FIGS. 3, 4, and 5.

図3は、図1の画像処理装置における色温度とホワイトバランスの制御データの関係を示す図である。   FIG. 3 is a diagram illustrating a relationship between color temperature and white balance control data in the image processing apparatus of FIG.

図3の実線で示す特性は、色温度の変化に伴うホワイトバランス制御データR_Gain,B_Gainの制御特性であり、R_Gainは画像信号中の赤成分のゲインを調整するデータであり、B_Gainは画像信号中の青成分のゲインを調整するデータである。   The characteristics shown by the solid line in FIG. 3 are the control characteristics of the white balance control data R_Gain and B_Gain accompanying the change in color temperature, R_Gain is data for adjusting the gain of the red component in the image signal, and B_Gain is in the image signal. This is data for adjusting the gain of the blue component of.

図3に示すように、R_Gain,B_Gainは、色温度が低色温度から高色温度に変化するのに伴い、それぞれRG1→RG4、BG1→BG4と変化する。   As shown in FIG. 3, R_Gain and B_Gain change from RG1 to RG4 and BG1 to BG4, respectively, as the color temperature changes from the low color temperature to the high color temperature.

制御部114は、R_gainがRG2以下、もしくは/かつB_gainがBG2以上である場合には、ホワイトバランス制御状態が低色温度側であると判定する。また、R_gainがRG3以上、もしくは/かつB_gainがBG3以下である場合には、ホワイトバランス制御状態が高色温度側であると判定する。制御部114は、ホワイトバランス制御状態が高色温度側でも低色温度側でもない場合には通常範囲と判定する。   The control unit 114 determines that the white balance control state is the low color temperature side when R_gain is RG2 or less and / or B_gain is BG2 or more. When R_gain is RG3 or more and / or B_gain is BG3 or less, it is determined that the white balance control state is on the high color temperature side. When the white balance control state is neither the high color temperature side nor the low color temperature side, the control unit 114 determines that the normal range is reached.

図4(a)〜(c)は、図1における制御部が判定した色温度と肌色検出処理部による肌色判定領域との関係を示す図である。   4A to 4C are diagrams illustrating the relationship between the color temperature determined by the control unit in FIG. 1 and the skin color determination region by the skin color detection processing unit.

図4(a)の破線内の領域A401aは、色温度が低色温度側と判定された場合の肌色判定領域である。   A region A401a within the broken line in FIG. 4A is a skin color determination region when the color temperature is determined to be the low color temperature side.

図4(b)の破線内の領域A401bは色温度が通常範囲と判定された場合の肌色判定領域である。   A region A401b within the broken line in FIG. 4B is a skin color determination region when the color temperature is determined to be the normal range.

図4(c)の破線内の領域A401cは、色温度が高色温度側と判定された場合の肌色判定領域である。   A region A401c in the broken line in FIG. 4C is a skin color determination region when the color temperature is determined to be the high color temperature side.

このように、図4(b)の通常範囲と判定された場合の肌色判定領域401bに比べ、低色温度側と判定された場合の肌色判定領域A401aは、図4(a)に示すように彩度が高い方向にシフトする。   In this way, the skin color determination area A401a when determined to be on the low color temperature side is compared to the skin color determination area 401b when determined to be the normal range of FIG. 4B, as shown in FIG. Shift toward higher saturation.

また、高色温度側と判定された場合の肌色判定領域A401cは、図4(c)に示すように彩度が低い方向にシフトする。   Further, the skin color determination area A401c when determined to be on the high color temperature side shifts in a direction of lower saturation as shown in FIG. 4C.

このように、本実施の形態の肌色検出処理部103は、ホワイトバランスの制御状態に応じて肌色判定領域を変化させる動作を行う。   As described above, the skin color detection processing unit 103 according to the present embodiment performs an operation of changing the skin color determination region in accordance with the white balance control state.

ここで、本実施の形態における色温度が低い場合と高い場合の肌色検出の動作について図5を用いて説明する。   Here, the skin color detection operation when the color temperature is low and high according to the present embodiment will be described with reference to FIG.

図5(a)は、低色温度の光源において図17に示す人物を撮影した場合の画像信号の色差レベルを示したベクトル図である。   FIG. 5A is a vector diagram showing the color difference level of the image signal when the person shown in FIG. 17 is photographed with a low color temperature light source.

前述したように、例えば、ろうそくや暖炉の炎のように低い色温度による光源で被写体が照らされた場合、即ち、ホワイトバランスが低色温度側で動作している場合には、ホワイトバランス補正がなされても画像の赤みが残ってしまうことがある。   As described above, for example, when a subject is illuminated with a light source having a low color temperature such as a candle or a fireplace flame, that is, when the white balance is operating on the low color temperature side, the white balance correction is performed. Even if it is done, the redness of the image may remain.

その場合、被写体の衣服部1702(図17)は、図5中、P502aに示す点となる。また、被写体の顔部1701(図17)は、図5中、P501aに示す点となる。   In this case, the clothing portion 1702 (FIG. 17) of the subject is a point indicated by P502a in FIG. Further, the face portion 1701 (FIG. 17) of the subject is a point indicated by P501a in FIG.

しかし、本実施の形態での肌色判定領域は、A501aに示すように、彩度が高い方向にシフトするため、顔部の色差信号P501aのみが肌色判定領域A501a内に入り、衣服部の色差信号P502aは肌色と判定されることはない。   However, as shown in A501a, the skin color determination area in the present embodiment shifts in the direction of higher saturation, so only the face color difference signal P501a enters the skin color determination area A501a, and the color difference signal of the clothing part. P502a is not determined to be a skin color.

また、図5(c)は、高色温度の光源において図17に示す人物を撮影した場合の画像信号の色差レベルを示したベクトル図である。   FIG. 5C is a vector diagram showing the color difference level of the image signal when the person shown in FIG. 17 is photographed with a high color temperature light source.

前述したように、例えば、日陰のように高い色温度による光源で被写体が照らされた場合、即ち、ホワイトバランスが高色温度側で動作している場合には、ホワイトバランス補正がなされても画像の青みが残ってしまうことがある。   As described above, for example, when a subject is illuminated with a light source having a high color temperature such as a shade, that is, when the white balance is operating on the high color temperature side, the image is displayed even if white balance correction is performed. The blueness of may remain.

その場合、被写体の衣服部1702は、図5(c)中、P502cに示す点となる。   In this case, the clothing part 1702 of the subject is a point indicated by P502c in FIG.

また、被写体の顔部1701は、図5(c)中、P501cに示す点となるが、本実施の形態の肌色判定領域は、A501cに示すように彩度が低い方向にシフトするため、人物の顔部であるP501cを肌色と判定することができる。   Further, the face portion 1701 of the subject is a point indicated by P501c in FIG. 5C, but the skin color determination area of the present embodiment shifts in a direction of lower saturation as indicated by A501c. P501c, which is the face portion, can be determined as the skin color.

尚、ホワイトバランス制御状態が図5(b)に示す通常範囲である場合には、従来例と同様に、人物の顔部であるP501bのみを肌色と判定することができる。衣服部1702であるP502bは、肌色と判定されない。   If the white balance control state is in the normal range shown in FIG. 5B, only P501b, which is a human face, can be determined to be a skin color as in the conventional example. P502b which is the clothing part 1702 is not determined to be a skin color.

このように、様々な色温度状態に適応して肌色と判定するための色差信号の閾値を変化させることにより、光源の色温度によらず安定的に肌色を検出することが可能となる。   Thus, by changing the threshold value of the color difference signal for determining the skin color in accordance with various color temperature states, it becomes possible to detect the skin color stably regardless of the color temperature of the light source.

図6は、図1の画像処理装置によって実行されるフィルタ処理及び量子化処理の手順を示すフローチャートである。   FIG. 6 is a flowchart illustrating a procedure of filter processing and quantization processing executed by the image processing apparatus of FIG.

本処理は、図1における制御部114の制御の下に実行される。   This process is executed under the control of the control unit 114 in FIG.

図6において、処理が開始されると、まず、ステップS601にて画像全体の目標符号量を元に、基本となる量子化ステップQを算出する。次に、ステップS602にてホワイトバランス制御状態から色温度判定を行う。   In FIG. 6, when processing is started, first, in step S601, a basic quantization step Q is calculated based on the target code amount of the entire image. Next, in step S602, the color temperature is determined from the white balance control state.

ステップS602は、ホワイトバランス制御状態から色温度を判定する判定手段として機能する。色温度判定は、図3で示したように、ホワイトバランス制御データR_Gain,B_Gainの値により行う。次にステップS603にて低色温度側か否かを判定する。   Step S602 functions as a determination unit that determines the color temperature from the white balance control state. As shown in FIG. 3, the color temperature is determined based on the values of the white balance control data R_Gain and B_Gain. In step S603, it is determined whether the color temperature is on the low color temperature side.

ステップS603にて低色温度側と判定された場合には、ステップS604にて量子化ステップQに補正係数K1を乗じ、補正量子化ステップQ’を算出し、ステップS605にてフィルタ強度を弱に設定する。   If it is determined in step S603 that the color temperature is lower, the quantization step Q is multiplied by the correction coefficient K1 in step S604 to calculate the corrected quantization step Q ′, and the filter strength is reduced in step S605. Set.

ステップS603にて低色温度側と判定されない場合には、ステップS606にて高色温度側か否かを判定する。ステップS606にて高色温度側と判定された場合には、ステップS607にて量子化ステップQに補正係数K3を乗じた補正量子化ステップQ’を算出し、ステップS608にてフィルタ強度を強に設定する。   If it is not determined in step S603 that the color temperature is low, it is determined in step S606 whether the color temperature is high. If it is determined in step S606 that the color temperature is higher, a correction quantization step Q ′ obtained by multiplying the quantization step Q by the correction coefficient K3 is calculated in step S607, and the filter strength is increased in step S608. Set.

ステップS606にて高色温度側と判定されない場合には、通常色温度とみなし、ステップS609にて量子化ステップQに補正係数K2を乗じた補正量子化ステップQ’を算出し、ステップS610にてフィルタ強度を中に設定する。   If it is not determined in step S606 that the color temperature is higher, the normal color temperature is assumed, and in step S609, a correction quantization step Q ′ obtained by multiplying the quantization step Q by the correction coefficient K2 is calculated, and in step S610. Set the filter strength to medium.

ステップS604、S607、S609は、判定手段の判定結果に基づき画像全体の目標符号量を元に算出された量子化ステップを補正する補正手段として機能する。   Steps S604, S607, and S609 function as a correction unit that corrects the quantization step calculated based on the target code amount of the entire image based on the determination result of the determination unit.

ステップS605、S608、S610は、補正手段の補正結果に基づきフィルタ強度を設定する設定手段として機能する。   Steps S605, S608, and S610 function as a setting unit that sets the filter strength based on the correction result of the correction unit.

尚、前述の係数K1、K2、K3の値は数式1に示す関係とする。   Note that the values of the above-described coefficients K1, K2, and K3 have the relationship shown in Formula 1.

[数1]
K3 < K2 < K1 < 1.0
数式1で示すK1〜K3の各係数値を与えることにより、補正量子化ステップQ’は基本となる量子化ステップQよりも小さくなる。かつ色温度が高くなるに伴い、補正量子化ステップQ’はより小さく設定される。
[Equation 1]
K3 <K2 <K1 <1.0
By giving the coefficient values of K1 to K3 shown in Equation 1, the corrected quantization step Q ′ becomes smaller than the basic quantization step Q. As the color temperature increases, the correction quantization step Q ′ is set smaller.

また、フィルタ強度も色温度が高くなるに伴い強く設定される。尚、本実施の形態では、フィルタ強度が強くなるにつれて画像信号中の高周波成分をより低減させる動作を行う。   Also, the filter strength is set stronger as the color temperature increases. In the present embodiment, as the filter strength increases, an operation for further reducing high-frequency components in the image signal is performed.

次に、ステップS611では前述の処理で設定されたフィルタ強度を用いて肌色を含むと判定された領域に対してフィルタ処理を行う。   Next, in step S611, filter processing is performed on an area determined to include skin color using the filter strength set in the above-described processing.

ステップS611は、設定手段で設定されたフィルタ強度で肌色判定領域をフィルタ処理するフィルタ処理手段として機能する。   Step S611 functions as a filter processing unit that filters the skin color determination region with the filter strength set by the setting unit.

次に、ステップS612では前述の処理で設定された補正量子化ステップQ’を用いて肌色を含むと判定された領域に対して量子化処理を行う。   Next, in step S612, a quantization process is performed on an area determined to include skin color using the correction quantization step Q 'set in the above process.

ステップS612は、補正された量子化ステップで肌色判定領域を量子化する量子化処理手段として機能する。   Step S612 functions as a quantization processing unit that quantizes the skin color determination region using the corrected quantization step.

尚、図6には示していないが、肌色判定領域以外の部分に関しては基本の量子化ステップQを用いて量子化を行う。   Although not shown in FIG. 6, quantization is performed using a basic quantization step Q for portions other than the skin color determination region.

その後、エントロピー符号化部108により一連の符号化処理を施された後、符号化データはバッファ部109に一時蓄えられ、最終的に記録部110により磁気テープやメモリカード等の記録媒体へ記録される。   Thereafter, after a series of encoding processes are performed by the entropy encoding unit 108, the encoded data is temporarily stored in the buffer unit 109 and finally recorded on a recording medium such as a magnetic tape or a memory card by the recording unit 110. The

このように、本実施の形態では、光源の色温度情報やホワイトバランス制御状態に応じて、肌色を検出する際の輝度信号や色信号の閾値、肌色判定領域に対して行うフィルタ強度及び量子化ステップを適時変更させることが可能な構成となっている。   As described above, according to the present embodiment, the luminance signal and the color signal threshold when detecting the skin color, the filter strength and the quantization performed on the skin color determination area according to the color temperature information of the light source and the white balance control state. The step can be changed in a timely manner.

その結果、一般的に撮影対象としての重要度が高い人物の特に顔面部が、肌色検出処理により色温度変化の影響を受けることなく精度良く安定的に認識することができる。   As a result, it is possible to accurately and stably recognize especially the face portion of a person who is generally highly important as an imaging target without being affected by the color temperature change by the skin color detection process.

また、色温度に応じて逆直交変換部112は、顔面部に該当する画像ブロックの量子化に際して量子化ステップ値を小さくすることにより、情報量を増加させることが可能となる。   Further, the inverse orthogonal transform unit 112 can increase the amount of information by reducing the quantization step value when quantizing the image block corresponding to the face part according to the color temperature.

また、肌色判定領域には色温度に対応したフィルタ処理が行われるので、色温度が低い場合に、人物以外の被写体がフィルタ処理によって画質が変化してしまうことを低減することができる。   In addition, since the filter processing corresponding to the color temperature is performed on the skin color determination region, it is possible to reduce the change in image quality of subjects other than a person due to the filter processing when the color temperature is low.

これらの結果として、安定的に肌色を含む領域の画質を向上させることが可能になる。   As a result, it is possible to stably improve the image quality of the region including the skin color.

尚、本実施の形態では、色温度に応じて3つのレベルで肌色検出のための閾値、量子化ステップ、及びフィルタ強度を変化させる構成としたが特に3つのレベルでなくても良い。   In the present embodiment, the threshold for detecting skin color, the quantization step, and the filter strength are changed at three levels according to the color temperature. However, the level may not be particularly three.

例えば、図7の実線で示すように、光源の色温度の変化に対応して変化するホワイトバランス制御データであるR_Gainに応じて連続的に量子化補正係数を変化させることで、肌色判定領域に対する量子化ステップも連続的に変化させる構成にしても良い。   For example, as shown by a solid line in FIG. 7, by continuously changing the quantization correction coefficient according to R_Gain that is white balance control data that changes in response to a change in the color temperature of the light source, The quantization step may be continuously changed.

また、色温度に応じて肌色判定領域を決める色差信号や輝度信号の閾値レベル、及びフィルタ強度も連続的に変化させても良いことはいうまでもない。   It goes without saying that the color difference signal and the threshold level of the luminance signal that determine the skin color determination region according to the color temperature, and the filter strength may be continuously changed.

また、本実施の形態では量子化ステップを変化させることが可能な符号化方式例に説明したが、量子化ステップが変更できない符号化方式の場合にはフィルタ強度のみを変化させる構成にしても良い。   In this embodiment, an example of an encoding method that can change the quantization step has been described. However, in the case of an encoding method that cannot change the quantization step, only the filter strength may be changed. .

(第2の実施の形態)
以下、本発明の第2の実施の形態について説明する。尚、第2の実施の形態における画像処理装置の構成は、第1の実施の形態と同様であるため、説明を省略する。
(Second Embodiment)
Hereinafter, a second embodiment of the present invention will be described. Note that the configuration of the image processing apparatus according to the second embodiment is the same as that of the first embodiment, and a description thereof will be omitted.

本実施の形態の特徴は、ホワイトバランスの制御状態、特にホワイトバランスの動作モードによって肌色判定領域を変更する点にある。   The feature of the present embodiment is that the skin color determination region is changed according to the white balance control state, particularly, the white balance operation mode.

図2で説明したように、設定可能なホワイトバランスの動作モードとしては、光源の色温度変化に対して自動的に追尾して調整する所謂オートホワイトバランスモードがある。また、白紙等を撮影して任意の光源の色温度に調整するホワイトバランスセットモード、太陽光や蛍光灯等予めいくつかの光源の色温度に合わせたホワイトバランス調整値に設定可能なプリセットモード等がある。   As described with reference to FIG. 2, the white balance operation mode that can be set includes a so-called auto white balance mode that automatically tracks and adjusts the color temperature change of the light source. Also, white balance set mode for shooting white paper and adjusting it to the color temperature of any light source, preset mode that can be set to white balance adjustment values that match the color temperature of several light sources, such as sunlight and fluorescent lights, etc. There is.

ホワイトバランスセットモードでは、一旦白紙等無色の被写体を撮影してホワイトバランスを調整するため、オートホワイトバランスモードの場合と比べて正確にホワイトバランスが補正できる。また、太陽光や蛍光灯等のプリセットモードを使用する場合も、撮影者は光源の色温度状態を事前に把握した上で用いるため、比較的正しくホワイトバランス補正を行うことができる。   In the white balance set mode, a white subject such as white paper is once photographed to adjust the white balance, so the white balance can be corrected more accurately than in the auto white balance mode. Also, when using a preset mode such as sunlight or fluorescent light, the photographer can use the light source after knowing the color temperature state of the light source in advance, so that the white balance can be corrected relatively correctly.

それに対して、一般的にオートホワイトバランスモードでは、被写体の色の影響を受けやすく、人物を撮影した場合には僅かではあるが肌色の彩度が低下する場合がある。   On the other hand, in the auto white balance mode, it is easy to be influenced by the color of the subject, and when the person is photographed, the skin color saturation may be slightly reduced.

本実施の形態は、このようなオートホワイトバランスモードとそれ以外のモードにおける肌色の彩度の差に対応するためのものである。   The present embodiment is for dealing with the difference in skin color saturation between the auto white balance mode and the other modes.

図8は、本実施の形態におけるホワイトバランス動作モードと肌色判定領域の変化を示す図である。   FIG. 8 is a diagram showing changes in the white balance operation mode and the skin color determination area in the present embodiment.

図8(a)のA801aは、ホワイトバランスの動作モードがセットモードまたはプリセットモードの場合の肌色判定領域を示す。また図8(a)中、P801a、P802aは、図17に示す人物を撮影した場の顔部1701及び衣服部1702に対応する点である。   A801a in FIG. 8A indicates a skin color determination region when the white balance operation mode is set mode or preset mode. In FIG. 8A, P801a and P802a correspond to the face portion 1701 and the clothing portion 1702 of the place where the person shown in FIG.

図8(a)に示すように、ホワイトバランス動作モードがセットモードやプリセットモードの場合は、撮影者が光源の色温度に合わせて正しくホワイトバランス調整するため、正確に衣服部1702の白に相当するP802aがベクトル図の中心に合っている。   As shown in FIG. 8A, when the white balance operation mode is set mode or preset mode, the photographer correctly adjusts the white balance according to the color temperature of the light source. P802a to be aligned with the center of the vector diagram.

本実施の形態では、このような場合には肌色判定領域A801aを変化させずに固定の領域とする。   In this embodiment, in such a case, the skin color determination area A801a is set as a fixed area without being changed.

一方、図8(b)中、P801b、P802bは、ホワイトバランス動作モードがオートモードで、図17に示す人物を撮影した場の顔部1701及び衣服部1702に対応する点である。   On the other hand, in FIG. 8B, P801b and P802b correspond to the face portion 1701 and the clothing portion 1702 when the person shown in FIG.

図8(b)に示すように、ホワイトバランス動作モードがオートモード場合、僅かにホワイトバランスが誤補正され、被写体の衣服部1702の白に相当する点P802bがベクトル図の中心から青方向に少しずれる。そして、それに伴い、顔部1701に相当する点P801bの彩度も低下する場合がある。   As shown in FIG. 8B, when the white balance operation mode is the auto mode, the white balance is slightly erroneously corrected, and the point P802b corresponding to white in the clothing portion 1702 of the subject is slightly in the blue direction from the center of the vector diagram. Shift. And in connection with it, the saturation of the point P801b equivalent to the face part 1701 may also fall.

本実施の形態では、ホワイトバランス動作モードがオートモードの場合に、図8(b)に示すように、肌色判定領域A801bを少し低彩度側にシフトさせる処理を行うことで、ホワイトバランスの動作モードに関係なく、正しく肌色を検出することが可能となる。   In the present embodiment, when the white balance operation mode is the auto mode, as shown in FIG. 8B, the white balance operation is performed by shifting the skin color determination area A801b slightly toward the low saturation side. Regardless of the mode, it becomes possible to correctly detect the skin color.

結果として、第1の実施の形態と同様に、一般的に撮影対象としての重要度が高い人物の特に顔面部を、肌色検出処理により色温度変化の影響を受けることなく精度良く安定的に認識することができる。   As a result, as in the first embodiment, the face portion of a person who is generally highly important as an object to be photographed is recognized with high accuracy and stability without being affected by a change in color temperature by the skin color detection process. can do.

また、色温度に応じて逆直交変換部112は、顔面部に該当する画像ブロックの量子化に際して量子化ステップ値を小さくし、情報量を増加させることが可能となる。また、肌色判定領域には色温度に応じたフィルタ処理も行われるので、結果的に、肌色検出処理部103において肌色と検出された領域に対する符号量を、それ以外の領域と比べて相対的に増加するように量子化部107を制御することが可能となる。その結果、安定的に肌色を含む領域の画質を向上させることが可能になる。   Further, according to the color temperature, the inverse orthogonal transform unit 112 can reduce the quantization step value and increase the amount of information when quantizing the image block corresponding to the face part. Since the skin color determination region is also subjected to filter processing according to the color temperature, as a result, the code amount for the region detected as the skin color by the skin color detection processing unit 103 is relatively smaller than the other regions. The quantization unit 107 can be controlled to increase. As a result, it is possible to stably improve the image quality of the region including the skin color.

(第3の実施の形態)
以下、本発明の第3の実施の形態について説明する。尚、第3の実施の形態における画像処理装置の構成は、第1の実施の形態と同様であるため、説明を省略する。
(Third embodiment)
Hereinafter, a third embodiment of the present invention will be described. Note that the configuration of the image processing apparatus according to the third embodiment is the same as that of the first embodiment, and a description thereof will be omitted.

本実施の形態は、第1の実施の形態の構成及び動作に加えてホワイトバランスがオートモードで動作している場合に、光源の色温度が急激に変化した場合にも適切に対応可能とするものである。   In this embodiment, in addition to the configuration and operation of the first embodiment, when the white balance is operating in the auto mode, it is possible to appropriately cope with the case where the color temperature of the light source changes suddenly. Is.

また、本実施の形態の特徴は、ホワイトバランス制御データの目標補正量と現在の補正値との差に対応して肌色判定領域を変化させる点にある。   The feature of the present embodiment is that the skin color determination region is changed in accordance with the difference between the target correction amount of the white balance control data and the current correction value.

図9、及び図10を用いて第3の実施の形態について詳しく説明する。   The third embodiment will be described in detail with reference to FIGS. 9 and 10.

ここで、光源の色温度が高く、ホワイトバランス制御データは、図9におけるTSの値を出力してホワイトバランス補正されているとする。   Here, it is assumed that the color temperature of the light source is high and the white balance control data is white balance corrected by outputting the value of TS in FIG.

その場合に、図17の被写体を撮影したときの顔部1701と白い衣服部1702の色差ベクトルは図10中、P_TS1、P_TS2となる。また、肌色判定領域は、図10中のA_TSとなる。   In this case, the color difference vectors of the face portion 1701 and the white clothing portion 1702 when the subject of FIG. 17 is photographed are P_TS1 and P_TS2 in FIG. Further, the skin color determination area is A_TS in FIG.

その後、急速に光源の色温度が低く変化した場合、色差ベクトルは、それぞれ、図10中のP_TS1がP_TD1へ、P_TS2がP_TD2へずれてしまう。これは、ホワイトバランス補正が時間的にゆっくりと行われるので、急速に光源の色温度が変化した場合にホワイトバランス補正が追従できないためである。   Thereafter, when the color temperature of the light source rapidly changes, the color difference vectors shift from P_TS1 in FIG. 10 to P_TD1 and P_TS2 to P_TD2, respectively. This is because the white balance correction is performed slowly in time, so that the white balance correction cannot follow when the color temperature of the light source changes rapidly.

この場合、第1の実施の形態の構成のみでは、ホワイトバランスが追従するまでの間は肌色判定領域は、図10中のA_TSのままであるので、色温度変化後の肌色に相当するP_TD1がA_TSの領域外となり、肌色と検出されなくなってしまう恐れがある。   In this case, with only the configuration of the first embodiment, the skin color determination area remains A_TS in FIG. 10 until the white balance follows, so P_TD1 corresponding to the skin color after the color temperature change is There is a risk that it will be outside the A_TS area and will not be detected as skin color.

そこで、本実施の形態では、ホワイトバランス制御データの現在の補正値と最終的に目標とすべき目標補正値との差に応じて肌色判定領域を変化させるようにしている。   Therefore, in the present embodiment, the skin color determination region is changed according to the difference between the current correction value of the white balance control data and the target correction value to be finally set.

尚、ホワイトバランスの目標補正値は、例えば、白の衣服部等、白に相当する領域の色差信号の値が色差ベクトルの中心(色差ゼロの点)からどれくらいずれているかを算出することによって求めることができる。本実施の形態では、図10中のP_TD2の色差ベクトル中心からのずれ量によって求める。   The target correction value for white balance is obtained by calculating how much the value of the color difference signal in the area corresponding to white, such as a white clothing part, is from the center of the color difference vector (point of zero color difference). be able to. In this embodiment, it is obtained from the amount of deviation from the center of the color difference vector of P_TD2 in FIG.

ここで、求められたホワイトバランス制御データの目標補正量が図9中のTDであった場合、現在の補正量TSとTDとの差に応じて、また肌色判定領域をシフトする。   Here, when the target correction amount of the obtained white balance control data is TD in FIG. 9, the skin color determination region is shifted again according to the difference between the current correction amount TS and TD.

図9に示すように、TSとTDに対応するR_Gainの補正量をそれぞれRG_TS、RG_Tとすると、例えば、現在の制御値と目標とする制御値が図9に示すような場合は、数式2に示す関係が成り立つ。従って、目標とする色温度は現在の色温度よりも低いと判定することができる。   As shown in FIG. 9, assuming that the correction amounts of R_Gain corresponding to TS and TD are RG_TS and RG_T, respectively, for example, when the current control value and the target control value are as shown in FIG. The relationship shown is established. Therefore, it can be determined that the target color temperature is lower than the current color temperature.

[数2]
RG_TS > RG_TD
その場合は、肌色判定領域を低色温度側にシフトし、図10中のA_TDの位置にする。ここで、肌色判定領域をシフトする量は、RG_TSとRG_TDとの差に対応して行えば良い。
[Equation 2]
RG_TS> RG_TD
In this case, the skin color determination area is shifted to the low color temperature side and is set to the position A_TD in FIG. Here, the amount by which the skin color determination area is shifted may be determined corresponding to the difference between RG_TS and RG_TD.

その結果、色温度が低く変化した場合の肌色に相当するP_TD1がA_TDの領域内となり、肌色と検出することが可能となる。   As a result, P_TD1 corresponding to the skin color when the color temperature changes low falls within the A_TD region, and can be detected as the skin color.

本実施の形態では、ホワイトバランス補正の追従速度を超える急激な光源の色温度変化が生じた場合でも、ホワイトバランス制御データの目標補正量と現在の補正値との差に対応して肌色判定領域を変化させるので、適切な肌色検出を行うことが可能となる。   In the present embodiment, even when a rapid change in the color temperature of the light source that exceeds the tracking speed of white balance correction occurs, the skin color determination region corresponds to the difference between the target correction amount of the white balance control data and the current correction value. Therefore, appropriate skin color detection can be performed.

それにより、同様に逆直交変換部112は、顔面部に該当する画像ブロックの量子化に際して、量子化ステップ値を小さくし情報量を増加させることが可能となる。また、肌色判定領域には適時フィルタ処理が行われるので、結果的に、肌色検出処理部103において肌色と検出された領域に対する符号量を、それ以外の領域と比べて相対的に増加するように量子化部107を制御することが可能となる。   Accordingly, similarly, the inverse orthogonal transform unit 112 can reduce the quantization step value and increase the amount of information when the image block corresponding to the face part is quantized. In addition, since the skin color determination region is subjected to timely filter processing, as a result, the code amount for the region detected as the skin color in the skin color detection processing unit 103 is relatively increased as compared with the other regions. The quantization unit 107 can be controlled.

その結果、重要度が高い人物の特に顔面部を、肌色検出処理により色温度変化の影響を受けることなく精度良く安定的に認識することができるので、安定的に肌色を含む領域の画質を向上させることが可能になる。   As a result, it is possible to accurately and stably recognize the face area of highly important people, particularly the face, without being affected by changes in the color temperature by the skin color detection process. It becomes possible to make it.

(第4の実施の形態)
第1乃至第3の実施の形態では、画像を符号化する際に安定的に肌色を検出し、肌色を含む領域の画質を向上させる例について説明した。
(Fourth embodiment)
In the first to third embodiments, an example has been described in which skin color is stably detected when an image is encoded, and the image quality of the region including the skin color is improved.

しかし、本発明は必ずしも画像を符号化して記録する場合にのみ効果を発揮するものではなく、画像を再生する場合にも有効である。   However, the present invention is not necessarily effective only when an image is encoded and recorded, and is also effective when reproducing an image.

図11は、本発明のビデオカメラに代表される画像処理装置の第2の構成例を示すブロック図である。   FIG. 11 is a block diagram showing a second configuration example of an image processing apparatus typified by the video camera of the present invention.

図11を用いて画像を再生する場合の本実施の形態の動作について説明する。   The operation of this embodiment when reproducing an image will be described with reference to FIG.

図11において、記録媒体1101は、メモリカード、ハードディスク、光ディスク等からなる。読み出し部1102は、記録媒体1101から後述する画像データ及びメタデータを読み出す。   In FIG. 11, a recording medium 1101 includes a memory card, a hard disk, an optical disk, and the like. A reading unit 1102 reads image data and metadata to be described later from the recording medium 1101.

復号化部1103は、圧縮符号化された画像データをベースバンドの画像データに伸張する。ホワイトバランス検出部1104は、読み出された画像データやメタデータから後述するホワイトバランス情報を検出する。   The decoding unit 1103 expands the compression-coded image data to baseband image data. The white balance detection unit 1104 detects white balance information described later from the read image data and metadata.

肌色検出処理部1105は、第1乃至第3の実施の形態と同様の動作を行う。フィルタ部1106も、第1乃至第3の実施の形態と同様の動作を行う。画像出力部1107は、画像を図示しないディスプレイや他の画像機器に出力する。制御部1108は、画像処理装置全体を統括的に制御する。   The skin color detection processing unit 1105 performs the same operation as in the first to third embodiments. The filter unit 1106 also performs the same operation as in the first to third embodiments. The image output unit 1107 outputs the image to a display (not shown) or another image device. A control unit 1108 comprehensively controls the entire image processing apparatus.

上記構成を有する画像処理装置において、本実施の形態の特徴的な動作について説明する。   A characteristic operation of the present embodiment in the image processing apparatus having the above configuration will be described.

図11中の記録媒体1101には、図12に示すように、圧縮符号化された画像データ1201とそれに付随するメタデータ1202が記録されている。   As shown in FIG. 12, the recording medium 1101 in FIG. 11 records compressed and encoded image data 1201 and metadata 1202 associated therewith.

メタデータ1202には、撮影時のホワイトバランス制御情報、撮影時の色温度情報等が記録されている。   In the metadata 1202, white balance control information at the time of shooting, color temperature information at the time of shooting, and the like are recorded.

読み出し部1102により、符号化された画像データ及びメタデータが記録媒体1101から読み出される。読み出された画像データは、復号化部1103によりベースバンドの画像信号に復号化される。   The read unit 1102 reads the encoded image data and metadata from the recording medium 1101. The read image data is decoded into a baseband image signal by the decoding unit 1103.

尚、本実施の形態において、圧縮符号化の方式は特にどのような種類のものであっても差し支えない。また、記録媒体1101に記録されている画像は必ずしも圧縮符号化されている必要もない。よって、本実施の形態では、復号化部1103の詳細構成及び動作については説明を省略する。   In the present embodiment, any type of compression encoding method may be used. Further, the image recorded on the recording medium 1101 does not necessarily need to be compression-encoded. Therefore, in the present embodiment, description of the detailed configuration and operation of the decoding unit 1103 is omitted.

復号化部1103によりベースバンド画像に復号された画像データは、ホワイトバランス検出手段であるホワイトバランス検出部1104に入力される。尚、ホワイトバランス検出部1104には、記録媒体1101から読み出されたメタデータも入力される。復号された画像データは、肌色検出処理部1105及びフィルタ部1106にも入力される。   The image data decoded into the baseband image by the decoding unit 1103 is input to the white balance detection unit 1104 that is a white balance detection unit. Note that the metadata read from the recording medium 1101 is also input to the white balance detection unit 1104. The decoded image data is also input to the skin color detection processing unit 1105 and the filter unit 1106.

尚、フィルタ部1106は、再生時に処理されるフィルタであるため一般的にはポストフィルタと称される。   The filter unit 1106 is generally called a post filter because it is a filter that is processed during reproduction.

ホワイトバランス検出部1104では、入力されたメタデータや画像データによってホワイトバランス制御状態や画像が撮影された光源の色温度を検出する。   The white balance detection unit 1104 detects the white balance control state and the color temperature of the light source from which the image is taken based on the input metadata and image data.

図13は、図11におけるホワイトバランス検出部でのホワイトバランス検出処理の手順を示すフローチャートである。   FIG. 13 is a flowchart showing a procedure of white balance detection processing in the white balance detection unit in FIG.

図13において、ホワイトバランス検出処理が開始されると、まず、ステップS1301にてメタデータの読み込みを行う。次に、ステップS1302にて入力されたメタデータ中に撮影時のホワイトバランス制御情報や光源の色温度情報等のホワイトバランス情報が含まれているかどうかを判定する。   In FIG. 13, when the white balance detection process is started, first, metadata is read in step S1301. Next, it is determined whether or not the metadata input in step S1302 includes white balance information such as white balance control information at the time of shooting and color temperature information of the light source.

ホワイトバランス情報が含まれている場合、ステップS1303にてメタデータ含まれたホワイトバランス情報を抜き出し、ホワイトバランス検出データとして制御部1108に出力し処理を終える。   If white balance information is included, the white balance information included in the metadata is extracted in step S1303 and output to the control unit 1108 as white balance detection data, and the process ends.

ステップS1303にてメタデータにホワイトバランス情報が含まれていない場合やメタデータ自体が存在しない場合、ステップS1304にて画像データを読み込む処理を行う。次に、ステップS1305にて画像データから光源の色温度を推定する処理を行う。   If the white balance information is not included in the metadata in step S1303 or if the metadata itself does not exist, the image data is read in step S1304. In step S1305, a process for estimating the color temperature of the light source from the image data is performed.

本実施の形態では、色温度の推定は画像の色差信号の平均値により行う。例えば、画像中の色差信号を平均した値が赤方向に偏っている場合、低色温度と判定する。また、画像中の色差信号を平均した値が青方向に偏っている場合、高色温度と判定する。   In this embodiment, the color temperature is estimated based on the average value of the color difference signals of the image. For example, when the average value of the color difference signals in the image is biased in the red direction, it is determined that the color temperature is low. Further, when the average value of the color difference signals in the image is biased in the blue direction, it is determined that the color temperature is high.

これらの判定結果を、ステップS1306にてホワイトバランス検出データとして制御部1308に出力して、処理を終了する。   These determination results are output to the control unit 1308 as white balance detection data in step S1306, and the process ends.

肌色検出処理部1105では、ホワイトバランス検出部1104にて検出されたホワイトバランス検出情報、即ち、ホワイトバランス動作モードや色温度情報に応じた肌色検出動作を行う。   The skin color detection processing unit 1105 performs a skin color detection operation corresponding to the white balance detection information detected by the white balance detection unit 1104, that is, the white balance operation mode and the color temperature information.

尚、本実施の形態でも、ホワイトバランス動作モードや色温度情報に応じて肌色判定領域を変化させる肌色検出動作については第1乃至第3の実施の形態と同様であるので説明を省略する。   In this embodiment as well, the skin color detection operation for changing the skin color determination region in accordance with the white balance operation mode and the color temperature information is the same as in the first to third embodiments, and thus the description thereof is omitted.

次にフィルタ部1106は、肌色検出処理部1105にて肌色と検出された領域に対してフィルタ処理を行う。   Next, the filter unit 1106 performs a filter process on the area detected as the skin color by the skin color detection processing unit 1105.

図14は、図11におけるフィルタ部のフィルタ制御処理の手順を示すフローチャートである。   FIG. 14 is a flowchart showing the procedure of the filter control process of the filter unit in FIG.

尚、この処理は図11の制御部1108が行う。   This process is performed by the control unit 1108 in FIG.

図14において、フィルタ制御処理が開始されると、まず、フステップS1401にてホワイトバランス検出部1104からの出力により色温度が低色温度側か否かを判定する。   In FIG. 14, when the filter control process is started, first, in step S1401, it is determined whether or not the color temperature is on the low color temperature side based on the output from the white balance detection unit 1104.

ステップS1401にて低色温度側と判定された場合には、ステップS1402にてフィルタ強度を弱に設定する。ステップS1401にて低色温度側と判定されない場合にはステップS1403にて高色温度側か否かを判定する。   If it is determined in step S1401 that the color temperature is low, the filter strength is set weak in step S1402. If it is not determined in step S1401 that the color temperature is low, it is determined in step S1403 whether the color temperature is high.

ステップS1403にて高色温度側と判定された場合には、ステップS1404にてフィルタ強度を強に設定する。ステップS1403にて高色温度側と判定されない場合には、通常色温度とみなし、ステップS1405にてフィルタ強度を中に設定する。   If it is determined in step S1403 that the color temperature is higher, the filter strength is set to be strong in step S1404. If it is not determined in step S1403 that the color temperature is higher, the normal color temperature is assumed, and the filter strength is set to medium in step S1405.

このように、フィルタ強度は色温度が高くなるに伴い強く設定される。尚、本実施の形態では、フィルタ強度が強くなるにつれて画像信号中の高周波成分をより低減させる動作を行う。   Thus, the filter strength is set stronger as the color temperature becomes higher. In the present embodiment, as the filter strength increases, an operation for further reducing high-frequency components in the image signal is performed.

次に、ステップS1406にて前述の処理で設定されたフィルタ強度を用いて肌色を含むと判定された領域に対してフィルタ処理を行い、このフローを抜ける。   Next, in step S1406, filter processing is performed on the region determined to include skin color using the filter strength set in the above-described processing, and this flow is exited.

尚、図14には示していないが、肌色判定領域以外の部分に関しては特にフィルタ処理は行わない。   Although not shown in FIG. 14, the filter processing is not particularly performed for portions other than the skin color determination region.

これらのフィルタ処理が行われた画像信号は、画像出力部1107や他の画像機器に出力される。   The image signal subjected to these filter processes is output to the image output unit 1107 and other image devices.

このように、本実施の形態では、記録された画像データから光源の色温度情報やホワイトバランス制御状態を検出して、肌色判定領域の閾値及び肌色判定領域に対して行うフィルタ強度を適時変更させることが可能な構成となっている。   As described above, in the present embodiment, the color temperature information of the light source and the white balance control state are detected from the recorded image data, and the threshold value of the skin color determination area and the filter strength to be applied to the skin color determination area are changed as appropriate. The configuration is possible.

一般的に、重要度が高い人物の特に顔面部が肌色検出処理により精度良く安定的に認識することができる。また、肌色判定領域には適時フィルタ処理が行われるので、安定的に肌色を含む領域の画質を向上させることが可能になる。   In general, particularly a face portion of a person with high importance can be recognized stably with high accuracy by skin color detection processing. In addition, since the skin color determination area is timely filtered, it is possible to stably improve the image quality of the area including the skin color.

尚、本実施の形態では、色温度に応じて3つのレベルでフィルタ強度を変化させる構成としたが特に3つのレベルでなくても良く、連続してフィルタ強度を変化させる構成にしても良い。   In this embodiment, the filter strength is changed at three levels according to the color temperature. However, the filter strength may not be particularly three, and the filter strength may be changed continuously.

また、本発明の目的は、以下の処理を実行することによって達成される。即ち、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出す処理である。   The object of the present invention is achieved by executing the following processing. That is, a storage medium that records a program code of software that realizes the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU, MPU, etc.) of the system or apparatus is stored in the storage medium. This is the process of reading the code.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention.

また、プログラムコードを供給するための記憶媒体としては、次のものを用いることができる。例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等である。または、プログラムコードをネットワークを介してダウンロードしても良い。   Moreover, the following can be used as a storage medium for supplying the program code. For example, floppy (registered trademark) disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM or the like. Alternatively, the program code may be downloaded via a network.

また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現される場合も本発明に含まれる。加えて、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOステップS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, the present invention includes a case where the function of the above-described embodiment is realized by executing the program code read by the computer. In addition, based on the instruction of the program code, the O step S (operating system) running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing. This is also included.

更に、前述した実施形態の機能が以下の処理によって実現される場合も本発明に含まれる。即ち、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行う場合である。   Furthermore, a case where the functions of the above-described embodiment are realized by the following processing is also included in the present invention. That is, the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing.

101 撮像部
102 画像信号処理部
103 肌色検出処理部
104 フィルタ部
105 動き補償予測部
106 直交変換部
107 量子化部
108 エントロピー符号化部
109 バッファ部
110 記録部
111 逆量子化部
112 逆直交変換部
113 ホワイトバランス動作モード選択部
114 制御部
DESCRIPTION OF SYMBOLS 101 Image pick-up part 102 Image signal processing part 103 Skin color detection processing part 104 Filter part 105 Motion compensation prediction part 106 Orthogonal transformation part 107 Quantization part 108 Entropy encoding part 109 Buffer part 110 Recording part 111 Inverse quantization part 112 Inverse orthogonal transformation part 113 White balance operation mode selection unit 114 Control unit

Claims (10)

画像中の所定色を含む領域を検出する色検出部と、
画像データに対してフィルタ処理を行うフィルタ処理部と、
画像データを符号化する符号化部と、
撮影時の光源の色温度が変化した場合に所定時間をかけてホワイトバランス制御状態を調整するホワイトバランス調整手段、
前記ホワイトバランス調整手段により調整されたホワイトバランス制御状態が低色温度側であるか否かを判定する判定手段と、
前記判定手段による判定結果に応じて、前記色検出部における所定色を検出する際の輝度信号及び色信号の閾値を変化させる制御手段と、を備え、
前記制御手段は、前記ホワイトバランス制御状態が低色温度側であると前記判定手段が判定した場合、前記ホワイトバランス制御状態が低色温度側でないと前記判定手段が判定した場合に比べ、前記色検出部における肌色を検出する際の閾値を彩度が高い方向に変化させ、且つ、前記所定時間より短い時間に行われた連続撮影の間に撮影時の光源が変化した場合、現在調整されているホワイトバランスの制御状態と最終的に調整されるホワイトバランスの制御状態の差に応じて、前記閾値の変化の度合いを決定することを特徴とする画像処理装置。
A color detection unit for detecting a region including a predetermined color in the image;
A filter processing unit for performing filter processing on image data;
An encoding unit for encoding image data;
White balance adjustment means for adjusting the white balance control state over a predetermined time when the color temperature of the light source at the time of shooting changes,
Determining means for determining whether or not the white balance control state adjusted by the white balance adjusting means is a low color temperature side;
Control means for changing a threshold value of a luminance signal and a color signal when detecting a predetermined color in the color detection unit according to a determination result by the determination unit ,
Wherein, when the white balance control state determines that the determination means that the low color temperature side, compared with the case where the white balance control state determines that the determination means is not the low color temperature side, the color If the threshold when detecting the skin color in the detection unit is changed in the direction of higher saturation , and the light source at the time of shooting changes during continuous shooting performed in a time shorter than the predetermined time, it is currently adjusted. depending on the difference between the control state of the control state and finally the white balance to be adjusted in white balance are, the image processing apparatus characterized that you determine the degree of change of the threshold.
前記最終的に調整されるホワイトバランスの制御状態は、今回の撮影で得られた画像信号の白に相当する領域の色差信号の値が色差ベクトルの中心からどれくらいずれているかを算出することにより求められることを特徴とする請求項1記載の画像処理装置。The control state of the white balance to be finally adjusted is obtained by calculating how much the value of the color difference signal in the area corresponding to white of the image signal obtained in this shooting is from the center of the color difference vector. The image processing apparatus according to claim 1, wherein: 前記制御手段は、前記ホワイトバランス制御状態が低色温度側であると前記判定手段が判定した場合には、前記ホワイトバランス制御状態が低色温度側でないと前記判定手段が判定した場合に比べ前記符号化部における肌色が検出された領域に割り当てる画像符号化時の符号量を少なくすることを特徴とする請求項1又は2に記載の画像処理装置。 Wherein, when the white balance control state determines that the determination means that the low color temperature side, compared with the case where the white balance control state determines that the determination means is not the low color temperature side the image processing apparatus according to claim 1 or 2, characterized in that to reduce the code amount in image coding to be allocated to areas where skin color is detected in the coding unit. 前記制御手段は、前記ホワイトバランス制御状態が低色温度側であると前記判定手段が判定した場合には、前記ホワイトバランス制御状態が低色温度側でないと前記判定手段が判定した場合に比べ前記フィルタ処理部における肌色が検出された領域に対して施す前記フィルタ処理の強度を弱くすることを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。 Wherein, when the white balance control state determines that the determination means that the low color temperature side, compared with the case where the white balance control state determines that the determination means is not the low color temperature side the image processing apparatus according to any one of claims 1 to 3, characterized in that weaken the strength of the filtering process performed on the region where skin color is detected in the filter processing unit. 入力された画像データから所定色を含む領域を検出する色検出部と、
画像データに対してフィルタ処理を行うフィルタ処理部と、
撮影時の光源の色温度が変化した場合に所定時間をかけて撮影画像から得られたホワイトバランス制御状態調整するホワイトバランス調整手段と、
前記ホワイトバランス調整手段により調整された前記ホワイトバランス制御状態が低色温度側であるか否かを判定する判定手段と、
前記判定手段による判定結果に応じて、前記色検出部における前記所定色を検出する際の輝度信号及び色信号の閾値を変化させる制御手段と、を備え、
前記制御手段は、前記ホワイトバランス制御状態が低色温度側であると前記判定手段が判定した場合、前記ホワイトバランス制御状態が低色温度側でないと前記判定手段が判定した場合に比べ、前記色検出部における肌色を検出する際の閾値を彩度が高い方向に変化させ、且つ、前記所定時間より短い時間に行われた連続撮影の間に撮影時の光源が変化した場合、現在調整されているホワイトバランスの制御状態と最終的に調整されるホワイトバランスの制御状態の差に応じて、前記閾値の変化の度合いを決定することを特徴とする画像処理装置。
A color detection unit for detecting a region including a predetermined color from the input image data;
A filter processing unit for performing filter processing on image data;
White balance adjustment means for adjusting a white balance control state obtained from a photographed image over a predetermined time when the color temperature of the light source at the time of photographing changes ,
Determination means for determining whether or not the white balance control state adjusted by the white balance adjustment means is a low color temperature side;
Control means for changing a threshold value of a luminance signal and a color signal when detecting the predetermined color in the color detection unit according to a determination result by the determination unit ,
Wherein, when the white balance control state determines that the determination means that the low color temperature side, compared with the case where the white balance control state determines that the determination means is not the low color temperature side, the color If the threshold when detecting the skin color in the detection unit is changed in the direction of higher saturation , and the light source at the time of shooting changes during continuous shooting performed in a time shorter than the predetermined time, it is currently adjusted. depending on the difference between the control state of the control state and finally the white balance to be adjusted in white balance are, the image processing apparatus characterized that you determine the degree of change of the threshold.
前記最終的に調整されるホワイトバランスの制御状態は、今回の撮影で得られた画像信号の白に相当する領域の色差信号の値が色差ベクトルの中心からどれくらいずれているかを算出することにより求められることを特徴とする請求項5記載の画像処理装置。The control state of the white balance to be finally adjusted is obtained by calculating how much the value of the color difference signal in the area corresponding to white of the image signal obtained in this shooting is from the center of the color difference vector. The image processing apparatus according to claim 5, wherein the image processing apparatus is an image processing apparatus. 前記制御手段は、前記ホワイトバランス制御状態が低色温度側であると前記判定手段が判定した場合には、色温度側でないと前記判定手段が判定した場合に比べ前記フィルタ処理部における肌色が検出された領域に対して施す前記フィルタ処理の強度を弱くすることを特徴とする請求項5又は6に記載の画像処理装置。 When the determination unit determines that the white balance control state is on the low color temperature side , the control unit determines the flesh color in the filter processing unit as compared with the case where the determination unit determines that the white color control state is not on the low color temperature side. The image processing apparatus according to claim 5, wherein an intensity of the filter processing to be applied to a region in which the image is detected is reduced. 画像中の所定色を含む領域を検出する色検出部と、
画像データに対してフィルタ処理を行うフィルタ処理部と、
画像データを符号化する符号化部と、
撮影画像から得られたホワイトバランス制御状態を調整するホワイトバランス調整手段と、
前記ホワイトバランス調整手段により調整されたホワイトバランス制御状態が低色温度側であるか否かを判定する判定手段と、
前記判定手段による判定結果に応じて、前記符号化部における前記所定色が検出された領域に割り当てる画像符号化時の符号量を変化させる制御手段と、を備え、
前記制御手段は、前記ホワイトバランス制御状態が低色温度側であると前記判定手段が判定した場合には、前記撮影画像の後の撮影において、前記ホワイトバランス制御状態が低色温度側でないと前記判定手段が判定した場合に比べ前記符号化部における肌色が検出された領域に割り当てる画像符号化時の符号量を少なくすることを特徴とする画像処理装置。
A color detection unit for detecting a region including a predetermined color in the image;
A filter processing unit for performing filter processing on image data;
An encoding unit for encoding image data;
White balance adjustment means for adjusting the white balance control state obtained from the captured image ;
Determining means for determining whether or not the white balance control state adjusted by the white balance adjusting means is a low color temperature side;
Control means for changing a code amount at the time of image encoding assigned to an area in which the predetermined color is detected in the encoding unit according to a determination result by the determination unit ,
Wherein the control unit, when the white balance control state determines that the determination means that the low color temperature side, the photographing after the captured image, the white balance control state is not the low color temperature side An image processing apparatus characterized by reducing a code amount at the time of image encoding assigned to an area in which a flesh color is detected in the encoding unit as compared with a case where a determination unit determines .
前記制御手段は、前記ホワイトバランス制御状態が低色温度側であると前記判定手段が判定した場合には、前記ホワイトバランス制御状態が低色温度側でないと前記判定手段が判定した場合に比べ前記フィルタ処理部における肌色が検出された領域に対して施す前記フィルタ処理の強度を弱くすることを特徴とする請求項に記載の画像処理装置。 Wherein, when the white balance control state determines that the determination means that the low color temperature side, the comparison with the case where the white balance control state determines that the determination means is not the low color temperature side The image processing apparatus according to claim 8 , wherein an intensity of the filter processing applied to an area in which a skin color is detected in the filter processing unit is reduced. 画像中の所定色を含む領域を検出する色検出部と、
画像データに対してフィルタ処理を行うフィルタ処理部と、
画像データを符号化する符号化部と、
撮影画像から得られたホワイトバランス制御状態を調整するホワイトバランス調整手段と、
前記ホワイトバランス調整手段により調整されたホワイトバランス制御状態が低色温度側であるか否かを判定する判定手段と、
前記判定手段による判定結果に応じて、前記フィルタ処理部における前記所定色が検出された領域に対して施す前記フィルタ処理の種類及び強度を変化させる制御手段と、を備え、
前記制御手段は、前記ホワイトバランス制御状態が低色温度側であると前記判定手段が判定した場合には、前記撮影画像の後の撮影において、前記ホワイトバランス制御状態が低色温度側でないと前記判定手段が判定した場合に比べ前記フィルタ処理部における肌色が検出された領域に対して施す前記フィルタ処理の強度を弱くすることを特徴とする画像処理装置。
A color detection unit for detecting a region including a predetermined color in the image;
A filter processing unit for performing filter processing on image data;
An encoding unit for encoding image data;
White balance adjustment means for adjusting the white balance control state obtained from the captured image ;
Determining means for determining whether or not the white balance control state adjusted by the white balance adjusting means is a low color temperature side;
Control means for changing the type and intensity of the filter processing to be performed on the region where the predetermined color is detected in the filter processing unit according to the determination result by the determination unit ,
Wherein the control unit, when the white balance control state determines that the determination means that the low color temperature side, the photographing after the captured image, the white balance control state is not the low color temperature side An image processing apparatus characterized in that the intensity of the filter processing to be performed on an area in which the skin color is detected in the filter processing unit is reduced as compared with the case where the determination means determines .
JP2012028226A 2012-02-13 2012-02-13 Image processing device Expired - Fee Related JP5501393B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012028226A JP5501393B2 (en) 2012-02-13 2012-02-13 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012028226A JP5501393B2 (en) 2012-02-13 2012-02-13 Image processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2008003568A Division JP5132327B2 (en) 2008-01-10 2008-01-10 Image processing device

Publications (2)

Publication Number Publication Date
JP2012120241A JP2012120241A (en) 2012-06-21
JP5501393B2 true JP5501393B2 (en) 2014-05-21

Family

ID=46502471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012028226A Expired - Fee Related JP5501393B2 (en) 2012-02-13 2012-02-13 Image processing device

Country Status (1)

Country Link
JP (1) JP5501393B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046367A (en) * 2018-01-17 2019-07-23 京东方科技集团股份有限公司 Machine entropy calculation method and circuit, the method and electronic system of realizing temporal cognition

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106537486B (en) 2014-07-31 2020-09-15 株式会社半导体能源研究所 Display device and electronic device
JP2018049564A (en) * 2016-09-23 2018-03-29 カシオ計算機株式会社 Detection device and detection method
CN106405900B (en) * 2016-12-09 2019-05-21 武汉精测电子集团股份有限公司 A kind of method and apparatus of liquid crystal display color measurements
JP7256629B2 (en) * 2018-10-19 2023-04-12 キヤノン株式会社 Image encoding device and its control method and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4072347B2 (en) * 2002-01-18 2008-04-09 キヤノン株式会社 Image processing device
JP4039147B2 (en) * 2002-07-03 2008-01-30 コニカミノルタオプト株式会社 Imaging device
JP4200428B2 (en) * 2002-12-09 2008-12-24 富士フイルム株式会社 Face area extraction method and apparatus
JP2005218017A (en) * 2004-02-02 2005-08-11 Canon Inc Coding device and method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046367A (en) * 2018-01-17 2019-07-23 京东方科技集团股份有限公司 Machine entropy calculation method and circuit, the method and electronic system of realizing temporal cognition

Also Published As

Publication number Publication date
JP2012120241A (en) 2012-06-21

Similar Documents

Publication Publication Date Title
KR100799215B1 (en) Camera
JP4434073B2 (en) Image processing apparatus and imaging apparatus
CN104954771B (en) Carry out the image processing equipment and image processing method of color range correction
US20120189263A1 (en) Imaging apparatus and imaging method for taking moving image
US9749546B2 (en) Image processing apparatus and image processing method
JP3849461B2 (en) Imaging apparatus and imaging method
JP5501393B2 (en) Image processing device
US10582174B2 (en) Video processing apparatus, video processing method, and medium
US9723201B2 (en) Image capturing apparatus and control method therefor
WO2009060970A1 (en) Signal processing apparatus and signal processing program
US8692903B2 (en) Imaging device, imaging method and computer readable recording medium storing program for performing the imaging method
JP2011109373A (en) Imaging apparatus, imaging processing method and program
US9826148B2 (en) Image processing apparatus and image processing method for adjusting texture of an image
JP4670465B2 (en) White balance control device
TWI408955B (en) Image correction apparatus for correcting the influence of photographic light source and image correction method thereof
JP4067033B2 (en) Image processing apparatus and method
JP2015195582A (en) Image processing device, control method thereof, imaging apparatus, control method thereof, and recording medium
KR20130031179A (en) Method and apparatus for displaying a summary video
US9282257B2 (en) Image apparatus and imaging method
JP2011135510A (en) Image processing method, image processing device, and imaging device
JP5132327B2 (en) Image processing device
JP4026516B2 (en) Image processing apparatus and method
JP2009246441A (en) Imaging device and program thereof
JP4072347B2 (en) Image processing device
JP5804809B2 (en) Imaging apparatus and control method thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130723

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130920

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140311

R151 Written notification of patent or utility model registration

Ref document number: 5501393

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees