Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5046809B2 - Image processing apparatus and method, and imaging apparatus - Google Patents
[go: Go Back, main page]

JP5046809B2 - Image processing apparatus and method, and imaging apparatus - Google Patents

Image processing apparatus and method, and imaging apparatus Download PDF

Info

Publication number
JP5046809B2
JP5046809B2 JP2007229452A JP2007229452A JP5046809B2 JP 5046809 B2 JP5046809 B2 JP 5046809B2 JP 2007229452 A JP2007229452 A JP 2007229452A JP 2007229452 A JP2007229452 A JP 2007229452A JP 5046809 B2 JP5046809 B2 JP 5046809B2
Authority
JP
Japan
Prior art keywords
image
image processing
color
detected
color data
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
JP2007229452A
Other languages
Japanese (ja)
Other versions
JP2009065290A5 (en
JP2009065290A (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 JP2007229452A priority Critical patent/JP5046809B2/en
Publication of JP2009065290A publication Critical patent/JP2009065290A/en
Publication of JP2009065290A5 publication Critical patent/JP2009065290A5/ja
Application granted granted Critical
Publication of JP5046809B2 publication Critical patent/JP5046809B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To make a correction so that a desired object may be displayed in desired color. <P>SOLUTION: An image processing device for processing an image signal of an image obtained by picking up an image has: a storage means 108 for storing color data of a specific object in advance; a detecting means 126 for detecting a preset object from the image; a determination means 106 for determining whether the object detected by the detecting means is the specific object stored in the storage means; and an image processing means 106 for converting color data in an image area representing the detected object on the basis of the specific object stored in the storage means when it is determined by the determination means that the object is the specific object stored by the storage means. <P>COPYRIGHT: (C)2009,JPO&amp;INPIT

Description

本発明は、画像処理装置及び方法、及び撮像装置に関し、更に詳しくは、撮像して得た画像から任意の対象物の画像領域を検出可能な画像処理装置及び方法、及び撮像装置に関する。   The present invention relates to an image processing apparatus and method, and an imaging apparatus, and more particularly to an image processing apparatus and method and an imaging apparatus that can detect an image area of an arbitrary object from an image obtained by imaging.

従来、画像データから所定の条件を満たす対象物を繰り返し検出する機能を有する装置がある。そのような装置を有する撮像装置において、撮像して得た画像信号に対して、所定の条件を満たす対象物の部分とその他の部分とで画像処理の方法を異ならせる技術が多々開示されている(例えば、特許文献1参照)。さらに、所定の条件を満たす対象物が検出された場合に、検出された対象物の特徴に基づいた固有の画像処理方法により画像データを処理する技術が開示されている(例えば、特許文献2参照)。   Conventionally, there is an apparatus having a function of repeatedly detecting an object that satisfies a predetermined condition from image data. In an imaging apparatus having such an apparatus, many techniques for differentiating an image processing method between an object part that satisfies a predetermined condition and other parts of an image signal obtained by imaging are disclosed. (For example, refer to Patent Document 1). Furthermore, a technique is disclosed in which image data is processed by a unique image processing method based on the characteristics of a detected object when an object that satisfies a predetermined condition is detected (see, for example, Patent Document 2). ).

特開2006-109310号公報JP 2006-109310 A 特開2005-128600号公報JP 2005-128600 A

しかしながら、特許文献2のように、所定の条件を満たす対象物を検出し、検出した対象物の特徴を生かした固有の画像処理方法を行う撮像装置では、必ずしも撮影者が所望する画像処理の結果を得られるとは限らなかった。   However, as in Patent Document 2, in an imaging apparatus that detects an object that satisfies a predetermined condition and performs a unique image processing method that makes use of the characteristics of the detected object, the image processing result desired by the photographer is not necessarily obtained. Was not always possible.

本発明は上記問題点を鑑みてなされたものであり、撮像を行って得られた画像の画像信号を処理する本発明の画像処理装置は、特定対象物に対応する複数の色領域を予め記憶した記憶手段と、前記画像から、予め設定された特徴を有する対象物を検出する検出手段と、前記検出手段により検出された対象物が、前記記憶手段に記憶された前記特定対象物であるかどうかを判断する判断手段と、前記判断手段により、前記記憶手段に記憶された前記特定対象物であると判断されたことに応じて、前記特定対象物と判断された対象物を表す画像領域の色データを、前記記憶手段に記憶された前記特定対象物に対応する複数の色領域のうち、当該複数の色領域及び前記色データを表す座標系において、前記検出された対象物を表す画像領域の色データから最短の距離にある色領域内にある色データに変換する画像処理を行う画像処理手段とを有する。 The present invention has been made in view of the above problems, and an image processing apparatus of the present invention that processes an image signal of an image obtained by performing imaging stores a plurality of color regions corresponding to a specific object in advance. Storage means, detection means for detecting an object having a preset characteristic from the image, and whether the object detected by the detection means is the specific object stored in the storage means A determination means for determining whether or not an image area representing the object determined to be the specific object in response to the determination by the determination means being determined to be the specific object stored in the storage means; An image area representing the detected object in a coordinate system representing the color data and the color data among a plurality of color areas corresponding to the specific object stored in the storage means. Color day And an image processing means for performing image processing for converting the color data in the color area in a shortest distance from.

また、本発明の撮像装置は、被写体光学像を電気的な画像信号に変換して出力する撮像手段と、上記画像処理装置とを備える。   The image pickup apparatus of the present invention includes an image pickup unit that converts a subject optical image into an electrical image signal and outputs the image signal, and the image processing apparatus.

また、撮像を行って得られた画像の画像信号を処理する本発明の画像処理方法は、検出手段が、前記画像から、予め設定された特徴を有する対象物を検出する検出工程と、判断手段が、前記検出工程により検出された対象物が、記憶手段に記憶された特定対象物であるかどうかを判断する判断工程と、画像処理手段が、前記判断工程により、前記記憶手段に記憶された前記特定対象物であると判断されたことに応じて、前記特定対象物と判断された対象物を表す画像領域の色データを、前記記憶手段に予め記憶された前記特定対象物に対応する複数の色領域のうち、当該複数の色領域及び前記色データを表す座標系において、前記検出された対象物を表す画像領域の色データから最短の距離にある色領域内にある色データに変換する画像処理を行う画像処理工程とを有する。 Further, the image processing method of the present invention for processing an image signal of an image obtained by performing imaging includes a detection step in which the detection means detects an object having a preset feature from the image, and a determination means. However, the determination step for determining whether the object detected by the detection step is a specific object stored in the storage means, and the image processing means are stored in the storage means by the determination step. A plurality of color data corresponding to the specific object pre-stored in the storage means are stored in the storage means for color data of an image area representing the object determined to be the specific object in response to being determined to be the specific object In the coordinate system representing the plurality of color regions and the color data, the color data of the image region is converted from the color data of the image region representing the detected object into color data in the color region at the shortest distance. Image processing And an image processing step of performing.

本発明によれば、所望の対象物が所望の色で表示されるように補正することができる。   ADVANTAGE OF THE INVENTION According to this invention, it can correct | amend so that a desired target object may be displayed with a desired color.

以下、添付図面を参照して本発明を実施するための最良の形態を詳細に説明する。   The best mode for carrying out the present invention will be described below in detail with reference to the accompanying drawings.

本実施の形態における撮像装置1の概略構成について、図1を参照して説明する。   A schematic configuration of the imaging apparatus 1 in the present embodiment will be described with reference to FIG.

101は、フォーカスレンズを含む撮影レンズ、102は絞り機能を備えたシャッターである。103は、撮像手段の一例として被写体光学像を電気的な画像信号に変換するCCDやCMOSセンサに代表される撮像素子、104は撮像素子103から出力されるアナログ出力をデジタル信号(デジタル画像データ)に変換するA/D変換器である。   Reference numeral 101 denotes a photographing lens including a focus lens, and 102 denotes a shutter having an aperture function. Reference numeral 103 denotes an image pickup device represented by a CCD or CMOS sensor that converts a subject optical image into an electrical image signal as an example of an image pickup means. Reference numeral 104 denotes an analog output output from the image pickup device 103 as a digital signal (digital image data). A / D converter for converting to

105は撮像素子103、A/D変換器104、D/A変換器110にクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御回路109およびシステム制御部107により制御される。   A timing generation circuit 105 supplies a clock signal and a control signal to the image sensor 103, the A / D converter 104, and the D / A converter 110, and is controlled by the memory control circuit 109 and the system control unit 107.

106は画像処理回路であり、A/D変換器104からの画像データ或いはメモリ制御回路109からの画像データに対して所定の画素補間処理や色変換処理を行う。また、画像処理回路106は顔検出部126を含み、画像データから顔の検出及び検出した顔の情報の取得を行う。顔の情報とは、顔の有無、検出された場合の顔としての確からしさの指標である信頼度、顔の位置、サイズ等が含まれる。なお、顔検出部126は検出手段の一例であり、人の顔を検出の対象物とした場合の構成である。   An image processing circuit 106 performs predetermined pixel interpolation processing and color conversion processing on the image data from the A / D converter 104 or the image data from the memory control circuit 109. Further, the image processing circuit 106 includes a face detection unit 126, and detects a face from image data and acquires information of the detected face. The face information includes the presence / absence of a face, reliability, which is an index of the probability of being a face when detected, the position and size of the face. The face detection unit 126 is an example of a detection unit, and has a configuration in which a human face is used as a detection target.

顔の検出技術としては、例えば、ニューラルネットワークに代表される学習を用いる方法や、目や鼻といった物理的な形状の特徴のある部位を画像領域からテンプレートマッチングにより検出する手法がある。他にも、肌の色や目の形といった画像特徴量を検出し、統計的解析を用いる手法が挙げられる(例えば、特開平10−232934号公報や特開2000−48184号公報等を参照)。   As a face detection technique, for example, there are a method using learning typified by a neural network, and a method of detecting a part having physical shape features such as eyes and nose from an image region by template matching. In addition, there is a method of detecting image feature quantities such as skin color and eye shape and using statistical analysis (see, for example, Japanese Patent Laid-Open Nos. 10-232934 and 2000-48184). .

また、画像処理回路106においては、撮像した画像データを用いて所定の演算処理を行う。そして、得られた演算結果に基づいてシステム制御部107が、合焦制御としてAF(オートフォーカス)処理、及び、露出制御としてAE(自動露出)処理、EF(フラッシュプリ発光)処理を行う。更に、AWB(オートホワイトバランス)処理も行う。   Further, the image processing circuit 106 performs a predetermined calculation process using the captured image data. Based on the obtained calculation result, the system control unit 107 performs AF (autofocus) processing as focusing control, and AE (automatic exposure) processing and EF (flash pre-flash) processing as exposure control. Further, AWB (auto white balance) processing is also performed.

A/D変換器104から出力されたデジタル画像データが、画像処理回路106及びメモリ制御回路109を介して、或いはA/D変換器104から直接メモリ制御回路109を介して、画像メモリ108、あるいは画像表示メモリ111に書き込まれる。   The digital image data output from the A / D converter 104 is sent to the image memory 108 via the image processing circuit 106 and the memory control circuit 109, or directly from the A / D converter 104 via the memory control circuit 109. It is written in the image display memory 111.

108は撮影した静止画像や動画像を格納するための画像メモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶容量を備えている。これにより、複数枚の静止画像を連続して撮影する連射撮影やパノラマ撮影の場合にも、高速かつ大量の画像書き込みを画像メモリ108に対して行うことが可能となる。また、画像メモリ108はシステム制御部107の作業領域としても使用することが可能である。更に、本実施の形態においては、画像メモリ108は、特定の人物と、その人物の顔の色の情報とを保持するためにも用いられる。   Reference numeral 108 denotes an image memory for storing captured still images and moving images, and has a sufficient storage capacity for storing a predetermined number of still images and moving images for a predetermined time. Thereby, even in the case of continuous shooting or panoramic shooting in which a plurality of still images are continuously shot, it is possible to write a large amount of images to the image memory 108 at high speed. The image memory 108 can also be used as a work area for the system control unit 107. Furthermore, in the present embodiment, the image memory 108 is also used to hold a specific person and information on the face color of the person.

111は画像表示メモリであり、画像表示メモリ111に書き込まれた表示用の画像データはD/A変換器110を介して表示部112に表示される。表示部112は、システム制御部107の指示により任意に表示をON/OFFすることが可能であり、表示をOFFにした場合には撮像装置1の電力消費を大幅に低減することができる。   Reference numeral 111 denotes an image display memory. Display image data written in the image display memory 111 is displayed on the display unit 112 via the D / A converter 110. The display unit 112 can arbitrarily turn on / off the display according to an instruction from the system control unit 107. When the display is turned off, the power consumption of the imaging apparatus 1 can be significantly reduced.

113は、シャッターボタンに代表される各種スイッチ、モードダイヤルやスライダ等の操作部材、ズーム倍率を指示するための操作部材、表示部112を利用したソフトスイッチなどを含む操作部である。操作部113を用いて入力されたユーザーの指示がシステム制御部107に送られる。なお、本実施の形態ではシャッターボタンは公知の2段式のシャッターボタンとし、シャッターボタンの第1ストローク(例えば半押し)によりシャッタースイッチSW1がONとなることにより、記録準備指示が入力される。この記録準備指示の入力に応じて、AF処理、AE処理、AWB処理、EF処理等の動作が開始される。また、シャッターボタンの第2ストローク(例えば全押し)によりシャッタースイッチSW2がONとなり、露光処理、現像処理、及び記録処理からなる一連の処理の動作開始が指示される。また、操作部113により、撮像された画像から顔の検出を行う顔検出モードを設定することができる。   An operation unit 113 includes various switches represented by a shutter button, operation members such as a mode dial and a slider, an operation member for instructing a zoom magnification, a soft switch using the display unit 112, and the like. A user instruction input using the operation unit 113 is sent to the system control unit 107. In this embodiment, the shutter button is a known two-stage shutter button, and a recording preparation instruction is input when the shutter switch SW1 is turned on by a first stroke (for example, half-pressing) of the shutter button. In response to the input of the recording preparation instruction, operations such as AF processing, AE processing, AWB processing, and EF processing are started. Further, the shutter switch SW2 is turned on by a second stroke (for example, full press) of the shutter button, and an instruction to start a series of processing including exposure processing, development processing, and recording processing is given. Further, the operation unit 113 can set a face detection mode for detecting a face from a captured image.

次に、画像処理回路106の構成及び処理について、図2〜図6を参照して更に詳しく説明する。   Next, the configuration and processing of the image processing circuit 106 will be described in more detail with reference to FIGS.

図2は画像処理回路106の構成を示すブロック図であり、図3及び図4は撮像素子103の各画素が主に光電変換を行う波長(色)を示している。図3は原色信号を出力する構成である場合、図4は補色信号を出力する構成である場合を示している。一般的には各色のフィルタを各画素に配置することにより実現されるため、以下、図3を原色フィルタの配列、図4を補色フィルタの配列と呼ぶ。   FIG. 2 is a block diagram showing the configuration of the image processing circuit 106, and FIGS. 3 and 4 show the wavelengths (colors) at which each pixel of the image sensor 103 mainly performs photoelectric conversion. FIG. 3 shows a case where a primary color signal is output, and FIG. 4 shows a case where a complementary color signal is output. In general, since each color filter is arranged in each pixel, FIG. 3 is referred to as a primary color filter array and FIG. 4 is referred to as a complementary color filter array.

図3に示すような原色信号を出力する撮像素子103は、R、G1、G2、Bを単位としたブロックに分割される。撮像素子103からR、G1、G2、B各信号値を読み込み、ホワイトバランス処理部301へと送られ、画像中の白が、白を表す信号となるようなホワイトバラス係数および光源の色温度が求められる。以降、光源の色温度を判定するための色評価値をCx、Cy(下記式(1)参照)とし、各色信号R、G1、G2、Bのホワイトバランス係数をそれぞれkWB_R、kWB_G1、kWB_G2、kWB_Bとする。   The image sensor 103 that outputs primary color signals as shown in FIG. 3 is divided into blocks with R, G1, G2, and B as units. The R, G1, G2, and B signal values are read from the image sensor 103 and sent to the white balance processing unit 301. The white ballast coefficient and the color temperature of the light source are such that white in the image becomes a signal representing white. Desired. Thereafter, the color evaluation values for determining the color temperature of the light source are Cx and Cy (see the following formula (1)), and the white balance coefficients of the color signals R, G1, G2, and B are kWB_R, kWB_G1, kWB_G2, and kWB_B, respectively. And

Cx、Cyをブロックごとに算出する。このCx、Cy値の算出式(1)を示す。   Cx and Cy are calculated for each block. The calculation formula (1) for the Cx and Cy values is shown below.

Figure 0005046809
Figure 0005046809

また、ホワイトバランス係数kWB_R、kWB_G1、kWB_G2、kWB_Bの算出方法を以下に示す。図5に示すように、あらかじめ白色を高色温度下から低色温度下まで撮影し、それぞれの色評価値Cx、Cyをプロットすることで白軸201を設定する。実際の光源にて白色には若干ばらつきがあるために白を示す領域202に幅をもたせている。この範囲を白検出範囲と呼ぶ。このとき、図3に示す原色フィルタを有する撮像素子103の各ブロックについて算出したCx、Cy値が白検出範囲202に含まれる場合はそのブロックが白色であるとする。さらに、白検出範囲202に含まれる画素の積分値Sum_R、Sum_G1、Sum_G2、Sum_Bを算出して、以下の式(2)によりホワイトバランス係数を算出する。   The calculation method of the white balance coefficients kWB_R, kWB_G1, kWB_G2, and kWB_B is shown below. As shown in FIG. 5, the white axis 201 is set by photographing white in advance from a high color temperature to a low color temperature and plotting the respective color evaluation values Cx and Cy. Since white varies slightly with an actual light source, the region 202 indicating white is given a width. This range is called a white detection range. At this time, when the Cx and Cy values calculated for each block of the image sensor 103 having the primary color filter shown in FIG. 3 are included in the white detection range 202, it is assumed that the block is white. Further, the integral values Sum_R, Sum_G1, Sum_G2, and Sum_B of the pixels included in the white detection range 202 are calculated, and the white balance coefficient is calculated by the following equation (2).

Figure 0005046809
Figure 0005046809

以上の算出結果を受け、ホワイトバランス処理部301にてホワイトバランス係数が、撮像素子103からA/D変換器104を介して出力されるデジタル画像信号にかけられることで、画像中の白が白を表す信号になるようにホワイトバランスが補正される。ホワイトバランス補正された画像信号は、輝度信号作成選択部308及び補間処理部302へと送られる。補間処理部302では撮像素子103の画素配列から、それぞれA(R)、B(G1)、C(G2)、D(B)位置の画素それぞれを用いて、補間演算よりA、B、C、D信号の面データを作成する。   In response to the above calculation results, the white balance processing unit 301 applies the white balance coefficient to the digital image signal output from the image sensor 103 via the A / D converter 104, so that the white in the image is white. The white balance is corrected so that the signal becomes a representative signal. The white balance corrected image signal is sent to the luminance signal creation / selection unit 308 and the interpolation processing unit 302. The interpolation processing unit 302 uses the pixels at positions A (R), B (G1), C (G2), and D (B) from the pixel array of the image sensor 103, respectively, and performs A, B, C, Create surface data of D signal.

マトリクス演算処理部303では式(3)を用いて画素毎に色変換を行う。   The matrix calculation processing unit 303 performs color conversion for each pixel using Expression (3).

Figure 0005046809
Figure 0005046809

なお、上記式(3)において、M11〜M43は係数である。
マトリクス演算処理されたデジタル画像信号は色差ゲイン演算処理部304において色差信号にゲインがかけられる。ここでは、式(4)によりRm、Gm、Bm信号はY、Cr、Cb信号へと変換され、さらに式(5)によりCr、Cb信号にゲインがかけられ、式(6)(式(2)の逆行列演算)により、Rg、Gg、Bg信号へと変換される。
In the above formula (3), M11 to M43 are coefficients.
The digital image signal that has been subjected to matrix calculation processing is gained by the color difference gain calculation processing unit 304. Here, the Rm, Gm, and Bm signals are converted into Y, Cr, and Cb signals according to Equation (4), and further gains are applied to the Cr and Cb signals according to Equation (5). ) Is converted into Rg, Gg, and Bg signals.

Figure 0005046809
Cr' = G1 × Cr
Cb' = G1 × Cb …(5)
Figure 0005046809
Cr '= G1 × Cr
Cb '= G1 x Cb (5)

Figure 0005046809
Figure 0005046809

色差ゲイン演算処理されたデジタル画像信号はガンマ処理部305へと送られる。ガンマ処理部305では以下の式(7)〜(9)を用いてデータ変換される。ただしGammaTableは1次元ルックアップテーブルである。
Rt = GammaTable[Rg] …(7)
Gt = GammaTable[Gg] …(8)
Bt = GammaTable[Bg] …(9)
ガンマ処理されたデジタル画像信号は色相補正演算処理部306へと送られる。演算式(10)によりRt、Gt、Bt信号はY、Cr、Cb信号へと変換され、さらに式(11)によりCr、Cb信号が補正され、式(12)(式(11)の逆行列演算)により、Rh、Gh、Bh信号へと変換される。
The digital image signal subjected to the color difference gain calculation process is sent to the gamma processing unit 305. The gamma processing unit 305 performs data conversion using the following equations (7) to (9). GammaTable is a one-dimensional lookup table.
Rt = GammaTable [Rg] (7)
Gt = GammaTable [Gg] (8)
Bt = GammaTable [Bg] (9)
The gamma-processed digital image signal is sent to the hue correction calculation processing unit 306. The Rt, Gt, and Bt signals are converted into Y, Cr, and Cb signals by the arithmetic expression (10), and the Cr and Cb signals are corrected by the expression (11), and the expression (12) (the inverse matrix of the expression (11)) Is converted into Rh, Gh, and Bh signals.

Figure 0005046809
Figure 0005046809

Figure 0005046809
Figure 0005046809

ただし、H11〜H22は係数

Figure 0005046809
However, H11 to H22 are coefficients
Figure 0005046809

色相補正演算処理されたデジタル画像信号は色差信号変換処理部307へと送られる。
色差信号変換処理部307においては式(13)を用いて、UV信号が作成される。

Figure 0005046809
The digital image signal subjected to the hue correction calculation process is sent to the color difference signal conversion processing unit 307.
In the color difference signal conversion processing unit 307, a UV signal is created using Expression (13).
Figure 0005046809

一方、輝度信号作成選択部308へと送られた信号は、撮像素子103に原色フィルタが用いられているか、または補色フィルタが用いられているかに応じて選択された処理方法による処理が行われる。撮像素子103が図3の原色フィルタを用いたものであれば、原色輝度信号作成処理部309により輝度信号が作成され、撮像素子103が補色フィルタを用いたものであれば、補色輝度信号作成処理部310により輝度信号が作成される。なお、図1に示す撮像装置1の場合、製造段階で原色フィルタを用いたか補色フィルタを用いたか分かっている。そのため、輝度信号作成選択部308を無くし、原色輝度信号作成処理部309及び補色輝度信号作成処理部310のいずれか対応する方を構成するようにしても構わない。   On the other hand, the signal sent to the luminance signal creation / selection unit 308 is processed by a processing method selected depending on whether a primary color filter or a complementary color filter is used for the image sensor 103. If the image sensor 103 uses the primary color filter of FIG. 3, a luminance signal is generated by the primary color luminance signal creation processing unit 309, and if the image sensor 103 uses a complementary color filter, a complementary color luminance signal creation process. A luminance signal is created by the unit 310. In the case of the imaging apparatus 1 shown in FIG. 1, it is known whether a primary color filter or a complementary color filter is used in the manufacturing stage. Therefore, the luminance signal creation selection unit 308 may be omitted, and either the primary color luminance signal creation processing unit 309 or the complementary color luminance signal creation processing unit 310 may be configured.

以下に原色輝度信号および補色輝度信号の作り方について説明する。   In the following, how to create a primary color luminance signal and a complementary color luminance signal will be described.

図3に示すような原色フィルタの場合、R、Bの信号をすべて0にして、図6に示す係数を持つ2次元フィルタ処理を施したものを輝度信号とする。また、図4のような補色フィルタの場合、C、M、Y、Gの信号をそのまま図6に示す係数を持つ2次元フィルタ処理を施したものを輝度信号とする。   In the case of the primary color filter as shown in FIG. 3, all the R and B signals are set to 0, and the two-dimensional filter processing having the coefficients shown in FIG. In the case of a complementary color filter as shown in FIG. 4, a C, M, Y, G signal subjected to a two-dimensional filter process having the coefficients shown in FIG.

原色輝度信号作成処理部309または補色輝度信号作成処理部310で作成された輝度信号は高域強調処理部311にてエッジ強調処理され、さらにガンマ処理部312にてガンマ変換処理されてY信号が作成される。   The luminance signal generated by the primary color luminance signal generation processing unit 309 or the complementary color luminance signal generation processing unit 310 is subjected to edge enhancement processing by the high frequency enhancement processing unit 311 and further subjected to gamma conversion processing by the gamma processing unit 312, and the Y signal is converted. Created.

<第1の実施形態>
次に、本発明の第1の実施形態における上記構成を有する撮像装置1の撮像モード時の顔色補正処理の動作について、図7のフローチャートを参照して説明する。
<First Embodiment>
Next, the face color correction processing operation in the imaging mode of the imaging apparatus 1 having the above-described configuration according to the first embodiment of the present invention will be described with reference to the flowchart of FIG.

本第1の実施形態では、所望の対象物(特定対象物)をどういった色で表現したいかを画像メモリ108に予め記憶(登録)しておき、撮影した画像内に登録された対象物が存在する場合に、その対象物の色が登録された色で表現されるように補正する。図8に登録された対象物及び表現したい色のデータのフォーマットの一例を示す。図8では対象物を特定個人の顔とした場合を示している。なお、図8は一例であってフォーマットの形式はこれに限られたものではない。   In the first embodiment, what color the desired object (specific object) is to be expressed in is stored (registered) in the image memory 108 in advance, and the object registered in the photographed image. Is corrected so that the color of the object is expressed by the registered color. FIG. 8 shows an example of the format of the registered object and color data to be expressed. FIG. 8 shows a case where the object is the face of a specific individual. Note that FIG. 8 is an example, and the format is not limited to this.

ステップS101において電池投入により電源を入れた後、システム制御部107は撮像装置1が動作可能な各種モードの内、設定されているモードを確認し(ステップS102)、撮像モードが設定されているかどうかを判断する(ステップS103)。撮像モード以外のモードでは以下に説明する処理は行わないので、本第1の実施形態ではステップS102に戻って設定されているモードの確認及び撮像モードが設定されたかどうかの判断を繰り返す。   After turning on the battery by turning on the battery in step S101, the system control unit 107 confirms the set mode among various modes in which the imaging apparatus 1 can operate (step S102), and whether or not the imaging mode is set. Is determined (step S103). Since processing described below is not performed in modes other than the imaging mode, in the first embodiment, the process returns to step S102 and the confirmation of the set mode and the determination of whether the imaging mode is set are repeated.

撮像モードが設定されると、表示部112がOFFであればONにし(ステップS104)、ライブ画像の表示(EVF表示)を開始する(ステップS105)。なお、ライブ画像の表示は、所定周期でフレーム画像を撮像素子103から読み込み、順次表示部112に表示することにより行われる。   When the imaging mode is set, if the display unit 112 is OFF, it is turned ON (step S104), and live image display (EVF display) is started (step S105). Note that live images are displayed by reading frame images from the image sensor 103 at predetermined intervals and sequentially displaying them on the display unit 112.

次に、システム制御部107は操作部113により顔検出モードが設定されているか否かを判別する(ステップS106)。顔検出モードが設定されている場合、顔検出部126は、ライブ画像の表示用に所定周期で撮影されたフレーム画像に顔が存在するか否かを定期的に調べる(ステップS107)。顔検出は、ライブ画像用に撮影された全てのフレーム画像に対して行う必要は無く、任意に設定された周期で行えばよい。そして、フレーム画像を調べる度に、顔の有無も含め、顔が検出された場合には検出された顔に関する情報を出力し、記憶し、随時更新する(ステップS108)。この時、検出された顔領域を示す枠を表示するようにしてもよい。   Next, the system control unit 107 determines whether or not the face detection mode is set by the operation unit 113 (step S106). When the face detection mode is set, the face detection unit 126 periodically checks whether or not a face is present in a frame image captured at a predetermined cycle for displaying a live image (step S107). The face detection need not be performed on all the frame images taken for the live image, and may be performed at an arbitrarily set cycle. Each time the frame image is examined, if a face is detected, including the presence or absence of a face, information about the detected face is output, stored, and updated as needed (step S108). At this time, a frame indicating the detected face area may be displayed.

また、ステップS106において顔検出モードが設定されていない場合や、ステップS107において顔が存在しないと判断された場合には、ステップS115に進む。そして、操作部113に含まれるシャッターボタンが押下され、シャッタースイッチSW1がONになると、通常の画像処理が実行されて(ステップS116)、処理された画像が表示部112上にプレビュー表示される。プレビュー表示された画像がユーザーの所望の画像であれば、更にシャッターボタンを押し込んでシャッタースイッチSW2がONとなることで(ステップS117でYES)、撮像が行われる(ステップS119)。   If the face detection mode is not set in step S106, or if it is determined in step S107 that no face exists, the process proceeds to step S115. When the shutter button included in the operation unit 113 is pressed and the shutter switch SW1 is turned on, normal image processing is executed (step S116), and the processed image is previewed on the display unit 112. If the preview-displayed image is an image desired by the user, the shutter button SW2 is further pressed to turn on the shutter switch SW2 (YES in step S117), and imaging is performed (step S119).

一方、ステップS115でシャッタースイッチSW1がONされない場合や、ステップS116におけるプレビューの後、シャッタースイッチSW2がONとならずに、SW1もOFFされると、ステップS106に戻る。   On the other hand, if the shutter switch SW1 is not turned on in step S115, or after the preview in step S116, the shutter switch SW2 is not turned on and SW1 is also turned off, the process returns to step S106.

また、顔が検出され(ステップS107でYES)、顔領域を示す枠を表示すると(ステップS108)、シャッタースイッチSW1の状態を判断し(ステップS109)、OFFであればステップS106に戻り、ONされるとステップS110に進む。ステップS110では、例えば図8に示すような画像メモリ108に登録されている個人の顔に関する情報から、ライブ画像(EVF表示)から検出された顔が、登録済みの人物であるかどうかを判断する。登録されていない人物と判断された場合は、人物の顔に適したデフォルトの画像処理を実行する(ステップS114)。一方、登録されている人物と判断された場合は、その人物の顔に関する情報から顔色のデータを取得し(ステップS111)、撮影後はそのデータを基にして検出された顔の顔色を補正する。   When a face is detected (YES in step S107) and a frame indicating the face area is displayed (step S108), the state of the shutter switch SW1 is determined (step S109). If OFF, the process returns to step S106 and is turned ON. Then, it progresses to step S110. In step S110, for example, it is determined whether or not the face detected from the live image (EVF display) is a registered person from the information related to the individual face registered in the image memory 108 as shown in FIG. . If it is determined that the person is not registered, default image processing suitable for the face of the person is executed (step S114). On the other hand, if it is determined that the person is a registered person, face color data is acquired from information about the face of the person (step S111), and the face color of the detected face is corrected based on the data after shooting. .

ここで、ステップS111で行われる顔色を補正する方法について説明する。   Here, the method for correcting the face color performed in step S111 will be described.

画像メモリ108に登録されている顔色のデータならびに顔色発色許容領域をL*a*b*表色系で表した例を図9に示す。ここでは、登録された人物の顔色を示すポイントから所定の色差ΔE離れた領域までを、顔色発色許容領域として表している。ステップS111では、先ず、検出した顔の画像領域の画像データに対して、ステップS114で用いるデフォルトの画像処理を実行する。なお、上述した式(20)で得られたRh、Gh、Bh信号から、以下の様にしてL*a*b*表色系へのデジタル画像信号の変換を行うことができる。   FIG. 9 shows an example in which facial color data and facial color development allowable areas registered in the image memory 108 are expressed in the L * a * b * color system. Here, a region from the point indicating the facial color of the registered person to a region separated by a predetermined color difference ΔE is represented as a facial color development allowable region. In step S111, first, the default image processing used in step S114 is executed on the image data of the detected face image area. Note that the digital image signal can be converted into the L * a * b * color system from the Rh, Gh, and Bh signals obtained by the above equation (20) as follows.

Figure 0005046809
Figure 0005046809

なお、上記式(15)において、N1〜N9は定数である。そして、Xn、Yn、Znを照明光の三刺激値とすると、

Figure 0005046809
In the above formula (15), N1 to N9 are constants. And let Xn, Yn, Zn be the tristimulus values of the illumination light,
Figure 0005046809

となる。このようにして、L*a*b*表色系のデジタル画像信号へ変換する。
得られた色のデータが図9の顔色発色許容領域に含まれている場合は得られた色のデータをそのまま用いて、ステップS112でプレビュー表示する。
It becomes. In this way, the digital image signal of the L * a * b * color system is converted.
If the obtained color data is included in the facial color development allowable region in FIG. 9, the obtained color data is used as it is and a preview is displayed in step S112.

一方、デフォルトの画像処理を行った結果、得られた色のデータが顔色発色許容領域に含まれていない場合は、図10を参照して以下に説明する処理を行う。   On the other hand, as a result of performing the default image processing, when the obtained color data is not included in the facial color development allowable region, the processing described below with reference to FIG. 10 is performed.

図10は登録済みの顔色データ、顔色発色許容領域、及び、デフォルトの画像処理を実行した結果得られた顔色データ(シミュレーションによる顔色データ)を示している。この場合、画像処理の結果、得られた画像データと、顔色発色許容領域との最短距離を求め、最短距離の顔色発色許容領域の色データ(登録済みの顔色データから予め設定された範囲内にある色データ)を取得する。   FIG. 10 shows registered face color data, a face color coloration allowable area, and face color data (face color data obtained by simulation) obtained as a result of executing default image processing. In this case, the shortest distance between the image data obtained as a result of image processing and the facial color development allowable area is obtained, and the color data of the facial color development allowable area at the shortest distance (within a preset range from the registered facial color data) A certain color data).

また、あらかじめ理想の肌色のデータを色取り込み手段等により取得し、図8のフォーマットに登録することにより顔色としてそのデータを取得する構造にしてもよい。   Further, it may be structured such that ideal skin color data is acquired in advance by a color capturing means or the like and is registered in the format of FIG. 8 to acquire the data as a face color.

図7のフローチャートに戻り、ステップS111にて補正された結果をプレビュー表示する(ステップS112)。ここでの表示の仕方の一例を図11に示す。図11に示す例では、ステップS111で取得した色データで顔を表現したものを画面の右下(または、画像の視認を妨げない位置)に、ユーザが確認しやすいように顔領域を拡大表示している。勿論、表示の仕方は図11に示す例に限るものではなく、例えば、色データが示す色のみをパッチ形式で表示したり、数値で表示するようにしても構わない。   Returning to the flowchart of FIG. 7, the result corrected in step S111 is displayed as a preview (step S112). An example of the display method here is shown in FIG. In the example shown in FIG. 11, the face area is enlarged and displayed at the lower right of the screen (or a position that does not interfere with visual recognition of the image) that represents the face with the color data acquired in step S111. is doing. Of course, the display method is not limited to the example shown in FIG. 11. For example, only the color indicated by the color data may be displayed in a patch format or numerically.

このプレビュー表示によりユーザが確認し、許容できる発色か否かを操作部113もしくは撮像モードを選択する方法等にて決定する(ステップS113)。ここでユーザが許容できないとした場合は通常の顔優先の画像処理を実行し、処理された画像が表示部112上にプレビュー表示される(ステップS114)。一方、ステップS111で取得した色データを用いた画像がユーザーの所望の画像であれば、更にシャッターボタンを押し込んでシャッタースイッチSW2がONとなることで(ステップS117でYES)、撮像が行われる(ステップS119)。このステップS119で撮像して得られた画像データは、ステップS112またはS114のプレビュー表示に用いられた肌色データにより補正された顔色となるように処理される。   The user confirms this preview display, and determines whether or not the color development is acceptable by the operation unit 113 or a method of selecting an imaging mode (step S113). If it is determined that the user is not allowed, normal face priority image processing is executed, and the processed image is previewed on the display unit 112 (step S114). On the other hand, if the image using the color data acquired in step S111 is an image desired by the user, the shutter switch SW2 is turned on by further pressing the shutter button (YES in step S117), and imaging is performed (step S117). Step S119). The image data obtained by imaging in step S119 is processed so as to have a face color corrected by the skin color data used for the preview display in step S112 or S114.

一方、ステップS109でシャッタースイッチSW1がONされない場合や、ステップS112またはS114におけるプレビューの後、シャッタースイッチSW2がONとならずに、SW1もOFFされると、ステップS106に戻る。   On the other hand, if the shutter switch SW1 is not turned on in step S109, or after the preview in step S112 or S114, if the shutter switch SW2 is not turned on and SW1 is also turned off, the process returns to step S106.

上記のように、本第1の実施形態によれば、所望の対象物が所望の色で表示されるように補正することができる。   As described above, according to the first embodiment, correction can be performed so that a desired object is displayed in a desired color.

<第2の実施形態>
次に、本発明の第2の実施形態について説明する。
<Second Embodiment>
Next, a second embodiment of the present invention will be described.

図12は本発明における第2の実施形態における撮像装置1の撮像モード時の動作を示すフローチャートである。本第2の実施形態では、プレビュー中に複数の顔が検出された場合について説明する。なお、上記第1の実施形態と同様の処理にはおなじ参照番号を付し、異なる部分のみ説明を行う。   FIG. 12 is a flowchart showing the operation of the image pickup apparatus 1 in the image pickup mode according to the second embodiment of the present invention. In the second embodiment, a case where a plurality of faces are detected during preview will be described. In addition, the same reference number is attached | subjected to the process similar to the said 1st Embodiment, and only a different part is demonstrated.

ステップS109でスイッチSW1がONとなると、ステップS210においてライブビュー(EVF表示)上で検出されたすべての顔に関して、登録済み人物か否かを判断する。全員の顔が未登録であると判断された場合、どの人物に対しても共通に行われる顔優先の画像処理を実行する(ステップS114)。   When the switch SW1 is turned on in step S109, it is determined whether or not all faces detected on the live view (EVF display) in step S210 are registered persons. If it is determined that all faces are unregistered, face-priority image processing that is commonly performed for all persons is executed (step S114).

一方、ステップS211にてライブビュー(EVF表示)上で検出されたすべての顔が登録済みの人物のいずれかであると判断された場合、すべての顔について、上述したステップS111の処理を実行し、色データを取得する。そして、それぞれの顔を、求めた色データが示す色でプレビュー表示する(ステップS216)。   On the other hand, if it is determined in step S211 that all the faces detected on the live view (EVF display) are any registered persons, the process of step S111 described above is executed for all the faces. Get color data. Each face is preview-displayed in the color indicated by the obtained color data (step S216).

また、EVF表示上で個人情報を登録済みの人物と未登録の人物とが混在していることが判明した場合(ステップS211でNO)、登録済みの人物ついては個人の顔色データに基づいて補正を行う(ステップS212)。そして、未登録の人物については、登録済みの人物について実行した補正量にもとづき、不自然にならないように補正を行う(ステップS213)。それぞれの顔色を補正後、ステップS214において補正結果をプレビューとして表示する。   If it is found on the EVF display that a person who has registered personal information and an unregistered person are mixed (NO in step S211), the registered person is corrected based on the personal face color data. This is performed (step S212). The unregistered person is corrected so as not to be unnatural based on the correction amount executed for the registered person (step S213). After correcting each face color, the correction result is displayed as a preview in step S214.

これ以降の処理は、図7を参照して第1の実施形態で説明した処理と同様であるため、ここでは省略する。   The subsequent processing is the same as the processing described in the first embodiment with reference to FIG.

上記の通り第2の実施形態によれば、複数の対象物が検出された場合にも、それぞれを所望の色で表示されるように補正することができる。   As described above, according to the second embodiment, even when a plurality of objects are detected, each of the objects can be corrected so as to be displayed in a desired color.

<他の実施形態>
なお、本発明は、複数の機器(例えばホストコンピュータ、インターフェイス機器、カメラヘッドなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、デジタルスチルカメラ、デジタルビデオカメラなど)に適用してもよい。
<Other embodiments>
Note that the present invention can be applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a camera head, etc.), or a device (for example, a digital still camera, a digital video camera, etc.) composed of a single device. You may apply to.

また、本発明の目的は、以下の様にして達成することも可能である。まず、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給する。そして、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行する。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   The object of the present invention can also be achieved as follows. First, a storage medium (or recording medium) that records a program code of software that implements the functions of the above-described embodiments is supplied to a system or apparatus. Then, the computer (or CPU or MPU) of the system or apparatus reads and executes the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、以下のようにして達成することも可能である。即ち、読み出したプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合である。ここでプログラムコードを記憶する記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、ROM、RAM、磁気テープ、不揮発性のメモリカード、CD−ROM、CD−R、DVD、光ディスク、光磁気ディスク、MOなどが考えられる。また、LAN(ローカル・エリア・ネットワーク)やWAN(ワイド・エリア・ネットワーク)などのコンピュータネットワークを、プログラムコードを供給するために用いることができる。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the following can be achieved. That is, when the operating system (OS) running on the computer performs part or all of the actual processing based on the instruction of the read program code, the functions of the above-described embodiments are realized by the processing. It is. Examples of the storage medium for storing the program code include a flexible disk, hard disk, ROM, RAM, magnetic tape, nonvolatile memory card, CD-ROM, CD-R, DVD, optical disk, magneto-optical disk, MO, and the like. Can be considered. Also, a computer network such as a LAN (Local Area Network) or a WAN (Wide Area Network) can be used to supply the program code.

本発明の実施の形態における撮像装置の概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of an imaging apparatus according to an embodiment of the present invention. 本発明の実施の形態における画像処理回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of the image processing circuit in embodiment of this invention. 原色フィルタ配列の一例を示す図である。It is a figure which shows an example of a primary color filter arrangement | sequence. 補色フィルタ配列の一例を示す図である。It is a figure which shows an example of a complementary color filter arrangement | sequence. 白検出範囲を示す図である。It is a figure which shows a white detection range. 輝度信号算出のためのフィルタ処理係数を示す図である。It is a figure which shows the filter processing coefficient for a luminance signal calculation. 本発明の第1の実施形態における撮像モード時の顔色補正処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the face color correction process at the time of the imaging mode in the 1st Embodiment of this invention. 登録された対象物及び表現したい色の情報のフォーマットを示す図である。It is a figure which shows the format of the information of the registered target object and the color to express. 図8に登録された色のデータをL*a*b*表色系で表した図である。FIG. 9 is a diagram showing the registered color data in the L * a * b * color system. 顔色の補正方法の概念を示す図である。It is a figure which shows the concept of the correction method of a face color. 本発明の第1の実施形態におけるプレビュー表示例を示す図である。It is a figure which shows the example of a preview display in the 1st Embodiment of this invention. 本発明の第2の実施形態における撮像モード時の顔色補正処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the face color correction process at the time of the imaging mode in the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

1 撮像装置
101 撮影レンズ
102 シャッター
103 撮像素子
104 A/D変換器
105 タイミング発生回路
106 画像処理回路
107 システム制御部
108 画像メモリ
109 メモリ制御回路
110 D/A変換器
111 メモリ
112 表示部
113 操作部
126 顔検出部
DESCRIPTION OF SYMBOLS 1 Imaging device 101 Shooting lens 102 Shutter 103 Image pick-up element 104 A / D converter 105 Timing generation circuit 106 Image processing circuit 107 System control part 108 Image memory 109 Memory control circuit 110 D / A converter 111 Memory 112 Display part 113 Operation part 126 Face detection unit

Claims (13)

撮像を行って得られた画像の画像信号を処理する画像処理装置であって、
特定対象物に対応する複数の色領域を予め記憶した記憶手段と、
前記画像から、予め設定された特徴を有する対象物を検出する検出手段と、
前記検出手段により検出された対象物が、前記記憶手段に記憶された前記特定対象物であるかどうかを判断する判断手段と、
前記判断手段により、前記記憶手段に記憶された前記特定対象物であると判断されたことに応じて、前記特定対象物と判断された対象物を表す画像領域の色データを、前記記憶手段に記憶された前記特定対象物に対応する複数の色領域のうち、当該複数の色領域及び前記色データを表す座標系において、前記検出された対象物を表す画像領域の色データから最短の距離にある色領域内にある色データに変換する画像処理を行う画像処理手段と
を有することを特徴とする画像処理装置。
An image processing apparatus that processes an image signal of an image obtained by imaging,
Storage means for storing in advance a plurality of color regions corresponding to the specific object;
Detecting means for detecting an object having a preset characteristic from the image;
Determining means for determining whether the object detected by the detecting means is the specific object stored in the storage means;
In response to determining that the specific object is stored in the storage means by the determining means, color data of an image area representing the object determined to be the specific object is stored in the storage means. Among the plurality of color areas corresponding to the stored specific object, in the coordinate system representing the plurality of color areas and the color data, the shortest distance from the color data of the image area representing the detected object An image processing apparatus comprising: image processing means for performing image processing for conversion into color data in a certain color area.
前記記憶手段は、複数の特定対象物と、当該複数の特定対象物それぞれに対応する色領域とを組み合わせて記憶し、
前記検出手段により予め設定された対象物が複数、検出された場合に、前記判断手段は当該検出された複数の対象物それぞれが、前記記憶手段に記憶された前記特定対象物のいずれかであるかどうかを判断し、
前記画像処理手段は、前記記憶手段に記憶された前記特定対象物のいずれかであると判断された前記検出された対象物を表す画像領域の色データを、前記記憶手段に記憶された、前記検出された対象物に対応する前記特定対象物に対応する色領域に基づいて前記画像処理を行うことを特徴とする請求項1に記載の画像処理装置。
The storage means stores a combination of a plurality of specific objects and color regions corresponding to the plurality of specific objects,
When a plurality of preset objects are detected by the detection means, the determination means is that each of the detected plurality of objects is one of the specific objects stored in the storage means. To determine whether
The image processing means stores color data of an image area representing the detected object determined to be any one of the specific objects stored in the storage means, stored in the storage means, The image processing apparatus according to claim 1, wherein the image processing is performed based on a color region corresponding to the specific object corresponding to the detected object.
前記画像処理手段は、前記記憶手段に記憶された特定対象物に対応する色領域と、前記検出された対象物を表す画像領域の色データとの色差に基づいて前記画像処理を行うことを特徴とする請求項1または2に記載の画像処理装置。 The image processing means performs the image processing based on a color difference between a color area corresponding to a specific object stored in the storage means and color data of an image area representing the detected object. The image processing apparatus according to claim 1 or 2. 前記画像処理手段は、前記特定対象物であると判断された前記検出手段により検出された対象物がある場合、前記判断手段により前記特定対象物ではないと判断された前記検出された対象物を表す画像領域の色データに対して、前記特定対象物に対して実行する画像処理に基づいて画像処理を行うことを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。   The image processing means, when there is an object detected by the detection means determined to be the specific object, the detected object determined not to be the specific object by the determination means 4. The image processing apparatus according to claim 1, wherein image processing is performed on color data of an image area to be represented based on image processing executed on the specific target object. 5. 前記画像信号が記録される前に、前記画像処理手段により処理された画像を表示する表示手段を更に有することを特徴とする請求項1乃至4のいずれか1項に記載の画像処理装置。   5. The image processing apparatus according to claim 1, further comprising a display unit that displays an image processed by the image processing unit before the image signal is recorded. 6. 前記表示手段に、前記画像処理手段により処理された前記検出された対象物を拡大表示することを特徴とする請求項5に記載の画像処理装置。   6. The image processing apparatus according to claim 5, wherein the detected object processed by the image processing means is enlarged and displayed on the display means. 前記表示手段に、前記画像処理手段により処理された前記検出された対象物を表す画像領域の色データをパッチ形式で表示することを特徴とする請求項5に記載の画像処理装置。   6. The image processing apparatus according to claim 5, wherein color data of an image area representing the detected object processed by the image processing unit is displayed on the display unit in a patch format. 前記表示手段に、前記画像処理手段により処理された前記検出された対象物を表す画像領域の色データを数値で表示することを特徴とする請求項5に記載の画像処理装置。   6. The image processing apparatus according to claim 5, wherein color data of an image area representing the detected object processed by the image processing unit is displayed as a numerical value on the display unit. 前記対象物は、人の顔であることを特徴とする請求項1乃至8のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the object is a human face. 被写体光学像を電気的な画像信号に変換して出力する撮像手段と、
請求項1乃至9のいずれか1項に記載の画像処理装置と
を備えたことを特徴とする撮像装置。
Imaging means for converting a subject optical image into an electrical image signal and outputting it;
An imaging apparatus comprising: the image processing apparatus according to claim 1.
撮像を行って得られた画像の画像信号を処理する画像処理方法であって、
検出手段が、前記画像から、予め設定された特徴を有する対象物を検出する検出工程と、
判断手段が、前記検出工程により検出された対象物が、記憶手段に記憶された特定対象物であるかどうかを判断する判断工程と、
画像処理手段が、前記判断工程により、前記記憶手段に記憶された前記特定対象物であると判断されたことに応じて、前記特定対象物と判断された対象物を表す画像領域の色データを、前記記憶手段に予め記憶された前記特定対象物に対応する複数の色領域のうち、当該複数の色領域及び前記色データを表す座標系において、前記検出された対象物を表す画像領域の色データから最短の距離にある色領域内にある色データに変換する画像処理を行う画像処理工程と
を有することを特徴とする画像処理方法。
An image processing method for processing an image signal of an image obtained by imaging,
A detecting step for detecting an object having a preset feature from the image;
A determination step of determining whether or not the object detected by the detection step is a specific object stored in the storage unit;
In response to the determination by the determination step that the image processing means is the specific object stored in the storage means, color data of an image area representing the object determined to be the specific object is obtained. The color of the image area representing the detected object in the coordinate system representing the color area and the color data among the color areas corresponding to the specific object stored in advance in the storage means And an image processing step of performing image processing for converting the color data into the color data in the color region at the shortest distance from the data.
コンピュータに、請求項11に記載の画像処理方法の各工程を実行させるためのプログラム。   The program for making a computer perform each process of the image processing method of Claim 11. 請求項12に記載のプログラムを格納したコンピュータが読み取り可能な記憶媒体。   A computer-readable storage medium storing the program according to claim 12.
JP2007229452A 2007-09-04 2007-09-04 Image processing apparatus and method, and imaging apparatus Expired - Fee Related JP5046809B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007229452A JP5046809B2 (en) 2007-09-04 2007-09-04 Image processing apparatus and method, and imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007229452A JP5046809B2 (en) 2007-09-04 2007-09-04 Image processing apparatus and method, and imaging apparatus

Publications (3)

Publication Number Publication Date
JP2009065290A JP2009065290A (en) 2009-03-26
JP2009065290A5 JP2009065290A5 (en) 2010-10-14
JP5046809B2 true JP5046809B2 (en) 2012-10-10

Family

ID=40559502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007229452A Expired - Fee Related JP5046809B2 (en) 2007-09-04 2007-09-04 Image processing apparatus and method, and imaging apparatus

Country Status (1)

Country Link
JP (1) JP5046809B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014080613A1 (en) * 2012-11-22 2014-05-30 日本電気株式会社 Color correction device, method, and program
JP6454973B2 (en) * 2014-03-20 2019-01-23 フリュー株式会社 Server, control program, and recording medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001186323A (en) * 1999-12-24 2001-07-06 Fuji Photo Film Co Ltd Identification photograph system and picture on processing method
JP4277534B2 (en) * 2003-02-12 2009-06-10 オムロン株式会社 Image editing apparatus and image editing method
JP4307333B2 (en) * 2004-06-07 2009-08-05 シャープ株式会社 Imaging device
JP4475041B2 (en) * 2004-07-07 2010-06-09 カシオ計算機株式会社 Electronic camera device and color adjustment method

Also Published As

Publication number Publication date
JP2009065290A (en) 2009-03-26

Similar Documents

Publication Publication Date Title
US8111315B2 (en) Imaging device and imaging control method that detects and displays composition information
JP5293206B2 (en) Image search apparatus, image search method and program
JP2019106045A (en) Image processing device, method, and program
JP2008182485A (en) Imaging apparatus and imaging method
JP2006208558A (en) Imaging device
JP2007279601A (en) camera
JP6137800B2 (en) Image processing apparatus, image processing method, and image processing program
JP2014235224A (en) Imaging device and control program
JP2007281873A (en) Imaging device
US20080239086A1 (en) Digital camera, digital camera control process, and storage medium storing control program
JP7175772B2 (en) Imaging device and imaging method
JP5046809B2 (en) Image processing apparatus and method, and imaging apparatus
KR101566666B1 (en) Imaging device, imaging method and imaging program
JP2014021782A (en) Image processor, control method thereof and program
JP5217843B2 (en) Composition selection apparatus, composition selection method and program
JP2007027971A (en) Image capturing apparatus, control method therefor, program, and recording medium
JP5278483B2 (en) Imaging apparatus, imaging method, and imaging program
JP2006128793A (en) Imaging apparatus and control method thereof
JP2008028747A (en) Imaging apparatus and program thereof
JP2008278333A (en) Image processing apparatus and method
JP2006148326A (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2013081136A (en) Image processing apparatus, and control program
CN120416676A (en) Information processing device, camera device, information processing method and storage medium
JP4807623B2 (en) Imaging apparatus, imaging method, and imaging program
JP4887840B2 (en) Imaging apparatus and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100901

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100901

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120305

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120507

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120717

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150727

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 5046809

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees