JP6074928B2 - Image processing apparatus, image processing method, and program - Google Patents
Image processing apparatus, image processing method, and program Download PDFInfo
- Publication number
- JP6074928B2 JP6074928B2 JP2012152699A JP2012152699A JP6074928B2 JP 6074928 B2 JP6074928 B2 JP 6074928B2 JP 2012152699 A JP2012152699 A JP 2012152699A JP 2012152699 A JP2012152699 A JP 2012152699A JP 6074928 B2 JP6074928 B2 JP 6074928B2
- Authority
- JP
- Japan
- Prior art keywords
- detection
- detection information
- types
- specific
- image
- 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
Links
Images
Landscapes
- Image Analysis (AREA)
- Image Processing (AREA)
Description
本発明は、画像処理装置、画像処理方法及びプログラムに関する。 The present invention relates to an image processing apparatus, an image processing method, and a program.
従来の技術として、撮像された画像に含まれる被写体を検出することができる技術がある。この被写体は、例えば、人物の顔であるが、画像によってその角度は様々である。
このような様々な角度の顔を検出すべく、各々が互いに異なる角度の顔情報を有する複数の識別器により、顔検出を行う技術が開示されている(特許文献1参照)。
As a conventional technique, there is a technique that can detect a subject included in a captured image. The subject is, for example, a person's face, but the angle varies depending on the image.
In order to detect such faces at various angles, a technique is disclosed in which face detection is performed by a plurality of classifiers each having face information at different angles (see Patent Document 1).
しかしながら、上記特許文献1の技術では、被写体の顔の角度によっては、使用する必要のない識別器も顔検出に使用されるため、結果として顔検出の処理負担が余計にかかる場合があるという虞があった。
However, according to the technique of the above-mentioned
本発明は、このような状況に鑑みてなされたものであり、特定の画像領域を検出する処理負担を軽減することを目的とする。 The present invention has been made in view of such a situation, and an object thereof is to reduce the processing burden of detecting a specific image region.
上記目的を達成するため、本発明の一態様の画像処理装置は、
特定の画像領域を検出するための検出用情報を複数種記憶する記憶手段と、
画像を逐次取得する取得手段と、
前記記憶手段に記憶された複数種の検出用情報を使用して、前記取得手段により取得された画像データ内における前記特定の画像領域を検出する検出手段と、
前記検出手段による検出結果に基づいて、前記複数種の検出用情報から特定の検出用情報を選択する選択手段と、
を備え、
前記記憶手段は、前記検出用情報のうち前記選択手段により選択されなかった検出用情報を次の前記特定の画像領域の検出には使用しないものとして記憶すると共に、前記選択手段により選択された特定の検出用情報を次の前記特定の画像領域の検出に使用するものとして記憶し、
前記検出手段による検出結果に基づいて、前記特定の検出用情報のうち選択されなくなった検出用情報を検出には使用しないとされている前記検出用情報の待ち行列の末尾へ更新し、且つ検出には使用しないとされている前記検出用情報のうち先頭の検出用情報を、前記特定の検出用情報として更新するように制御する記憶制御手段をさらに有する、
ことを特徴とする。
In order to achieve the above object, an image processing apparatus according to an aspect of the present invention includes:
Storage means for storing a plurality of types of detection information for detecting a specific image region;
Acquisition means for sequentially acquiring images;
Detecting means for detecting the specific image region in the image data acquired by the acquiring means using a plurality of types of detection information stored in the storage means;
Selection means for selecting specific detection information from the plurality of types of detection information based on a detection result by the detection means;
With
The storage means stores the detection information not selected by the selection means among the detection information as not used for the detection of the next specific image area, and the selection selected by the selection means Is stored as information used for detection of the next specific image area,
Based on the detection result by the detection means, the detection information that is no longer selected among the specific detection information is updated to the end of the detection information queue that is not used for detection, and is detected. Storage control means for controlling to update the first detection information among the detection information that is not used for the specific detection information ;
It is characterized by that.
本発明によれば、特定の画像領域を検出する処理負担を軽減することができる。 According to the present invention, the processing load for detecting a specific image region can be reduced.
以下、本発明の一実施形態を図面に基づいて説明する。
図1は、本発明に係る画像処理装置の一実施形態としての撮像装置1のハードウェアの構成を示すブロック図である。撮像装置1は、例えばデジタルカメラにより構成することができる。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a hardware configuration of an
撮像装置1は、CPU(Central Processing Unit)11と、ROM(Read Only Memory)12と、RAM(Random Access Memory)13と、画像処理部14と、バス15と、入出力インターフェース16と、撮像部17と、操作部18と、表示部19と、記憶部20と、通信部21と、ドライブ22と、を備えている。
The
CPU11は、ROM12に記録されているプログラム、又は、記憶部20からRAM13にロードされたプログラムに従って各種の処理を実行する。RAM13にはまた、CPU11が各種の処理を実行する上において必要なデータ等も適宜記憶される。
The
画像処理部14は、DSP(Digital Signal Processor)や、VRAM(Video Random Access Memory)等から構成されており、CPU11と協働して、画像のデータに対して各種画像処理を施す。
ここで、本実施形態では、撮像装置1による画像の処理単位は一枚の静止画像であり、このような処理単位としての静止画像が、本明細書では「フレーム画像」と呼ばれている。即ち、本実施形態では、動画像は複数のフレーム画像から構成されており、フレーム画像毎に処理が実行される。そこで、以下、特に断りがない限り、画像とはフレーム画像を意味するものとし、画像データとはフレーム画像のデータを意味するものとする。
例えば、画像処理部14は、後述する撮像部17から出力される画像データに対して、ノイズ低減、ホワイトバランス、手ぶれ補正等の画像処理を施す。
The
Here, in this embodiment, the processing unit of the image by the
For example, the
CPU11、ROM12、RAM13及び画像処理部14は、バス15を介して相互に接続されている。このバス15にはまた、入出力インターフェース16も接続されている。入出力インターフェース16には、撮像部17、操作部18、表示部19、記憶部20、通信部21、及びドライブ22が接続されている。
The
撮像部17は、図示はしないが、光学レンズ部と、イメージセンサと、を備えている。
光学レンズ部は、被写体を撮影するために、光を集光するレンズ、例えばフォーカスレンズやズームレンズ等で構成される。
フォーカスレンズは、イメージセンサの受光面に被写体像を結像させるレンズである。ズームレンズは、焦点距離を一定の範囲で自在に変化させるレンズである。
光学レンズ部にはまた、必要に応じて、焦点、露出、ホワイトバランス等の設定パラメータを調整する周辺回路が設けられる。
Although not shown, the
The optical lens unit is configured by a lens that collects light, for example, a focus lens or a zoom lens, in order to photograph a subject.
The focus lens is a lens that forms a subject image on the light receiving surface of the image sensor. The zoom lens is a lens that freely changes the focal length within a certain range.
The optical lens unit is also provided with a peripheral circuit for adjusting setting parameters such as focus, exposure, and white balance as necessary.
イメージセンサは、光電変換素子や、AFE(Analog Front End)等から構成される。
光電変換素子は、例えばCMOS(Complementary Metal Oxide Semiconductor)型の光電変換素子等から構成される。光電変換素子には、光学レンズ部から被写体像が入射される。そこで、光電変換素子は、被写体像を光電変換(撮像)して画像信号を一定時間蓄積し、蓄積した画像信号をアナログ信号としてAFEに順次供給する。
AFEは、このアナログの画像信号に対して、A/D(Analog/Digital)変換処理等の各種信号処理を実行する。各種信号処理によって、ディジタル信号が生成され、撮像部17の出力信号として出力される。
なお、以下、撮像部17の出力信号が、「画像データ」であるものとする。したがって、撮像部17からは画像データが出力されて、CPU11や画像処理部14等に適宜供給される。
The image sensor includes a photoelectric conversion element, AFE (Analog Front End), and the like.
The photoelectric conversion element is composed of, for example, a CMOS (Complementary Metal Oxide Semiconductor) type photoelectric conversion element or the like. A subject image is incident on the photoelectric conversion element from the optical lens unit. Therefore, the photoelectric conversion element photoelectrically converts (captures) the subject image, accumulates the image signal for a predetermined time, and sequentially supplies the accumulated image signal as an analog signal to the AFE.
The AFE performs various signal processing such as A / D (Analog / Digital) conversion processing on the analog image signal. A digital signal is generated by various signal processing and output as an output signal of the
Hereinafter, it is assumed that the output signal of the
操作部18は、各種釦等で構成され、ユーザの指示操作を受け付ける。
表示部19は、液晶ディスプレイ等で構成され、各種画像を表示する。
記憶部20は、DRAM(Dynamic Random Access Memory)等で構成され、画像処理部14等から出力された画像のデータを一時的に記憶する。また、記憶部20は、画像処理部14等の処理に必要な各種データも記憶する。
通信部21は、インターネットを含むネットワークを介して他の装置(図示せず)との間で行う通信を制御する。
The
The
The
The
ドライブ22には、磁気ディスク、光ディスク、光磁気ディスク、或いは半導体メモリ等よりなるリムーバブルメディア31が適宜装着される。ドライブ22によってリムーバブルメディア31から読み出されたプログラムは、必要に応じて記憶部20にインストールされる。また、リムーバブルメディア31は、記憶部20に記憶されている画像データ等の各種データも、記憶部20と同様に記憶することができる。
A
このような構成を有する撮像装置1は、撮像の前後を通じて、ライブビュー撮像処理及びライブビュー表示処理を開始する。
即ち、撮像装置1は、撮像部17による撮像動作を継続させ、その間、当該撮像部17を介して画像処理部14からフレーム画像の単位で順次出力される画像データを、メモリ(本実施形態では記憶部20)に一時的に記憶させる。このような一連の処理が、ここでいう「ライブビュー撮像処理」である。
また、撮像装置1は、ライブビュー撮像時にメモリ(本実施形態では記憶部20)に一時的にフレーム画像の単位で記録された各画像データを順次読み出して、各々に対応するフレーム画像を表示部19に順次表示させる。このような一連の制御処理が、ここでいう「ライブビュー表示処理」である。なお、ライブビュー表示処理により表示部19に表示されているフレーム画像を、以下、「ライブビュー画像」と呼ぶ。
The
That is, the
Further, the
ユーザは、ライブビュー画像をみながら構図を決めた後、操作部18のシャッタスイッチ(図示せず)を下限まで押下することで、画像データの記録の指示をすることができる。なお、このように、シャッタスイッチを下限まで押下する操作を、以下、「全押し操作」又は単に「全押し」と呼ぶ。
なお、以下、ライブビュー撮像処理及びライブビュー表示処理のための撮像と区別すべく、全押し操作により記録の指示がなされたときの撮像を、「記録用撮像」と呼ぶ。
The user can instruct to record image data by determining the composition while viewing the live view image and then pressing a shutter switch (not shown) of the
Hereinafter, in order to distinguish from imaging for live view imaging processing and live view display processing, imaging when a recording instruction is issued by a full-press operation is referred to as “recording imaging”.
さらに、本実施形態では、撮像装置1は、ライブビュー画像において、被写体の一例としての人物の顔に、例えば、合焦領域であることを示す枠を表示する。即ち、本実施形態に係る撮像装置1は、フレーム画像内における顔を検出する。また、本実施形態に係る撮像装置1は、特定の画像領域を検出する処理負担を軽減するにあたり、次のような一連の処理を実行する。
撮像装置1は、逐次画像データを取得する画像データ取得処理を実行する。
また、撮像装置1は、記憶部20により記憶された複数種の検出用情報である識別器の一部の種類を用いて、画像データ取得処理により取得された画像内における特定の画像領域の一例として顔を検出する顔検出処理を実行する。
さらに、顔検出処理による顔の検出結果に基づいて、顔検出処理に使用された識別器の種類から、特定の種類の識別器を優先的に選択する識別器優先処理を実行する。
ここで、顔検出処理は、例えば、後述する縮小画像データ群に対して、各識別器によるニュートラルネットワーク(NN)、アダブースト(adaboost)、或いはサポートベクターマシーン(SVM)といった各種各様のアルゴリズムに従った処理により行うことができる。ニュートラルネットワーク(NN)、アダブースト(adaboost)、及びサポートベクターマシーン(SVM)の各々を用いた顔検出処理は、公知の技術であるため、詳細な説明については省略する。
Furthermore, in the present embodiment, the
The
In addition, the
Furthermore, based on the detection result of the face by the face detection process, a classifier priority process for preferentially selecting a specific type of classifier from the type of classifier used in the face detection process is executed.
Here, the face detection processing is performed according to various algorithms such as a neutral network (NN), adaboost (adaboost), or support vector machine (SVM) by each classifier, for example, for a reduced image data group described later. It can be performed by the processing. Since the face detection process using each of the neutral network (NN), Adaboost, and support vector machine (SVM) is a well-known technique, detailed description thereof is omitted.
本実施形態の説明では、撮像装置1における、1つの画像データを取得し、当該画像データ内における顔を検出し、この顔の検出結果に基づいて特定の種類の識別器を優先的に用いる一連の処理を1つの「サイクル」と呼び、N回目(Nは1以上の任意の整数値)のサイクルを「サイクルN」とも呼び、N回目の次のサイクルを「サイクルN+1」とも呼ぶ。
In the description of the present embodiment, a series of acquiring one image data in the
図2は、図1の撮像装置1が顔検出処理を実行するための機能的構成を示す機能ブロック図である。
図2においては、図1の撮像装置1の構成のうち、CPU11と、画像処理部14と、撮像部17と、表示部19と、記憶部20とが図示されている。
FIG. 2 is a functional block diagram illustrating a functional configuration for the
In FIG. 2, the
画像処理部14においては、顔検出処理が実行される場合、取得部41と、画像加工部42と、検出部43と、後処理部44と、が機能する。
CPU11においては、顔検出処理が実行される場合、識別器制御部51と、表示制御部52と、が機能する。
記憶部20には、複数種の検出用情報である識別器が使用識別器群と待機識別器群とに分けて記憶されている。
ここで、本実施形態における使用識別器群及び待機識別器群は、後述する識別器制御部51により、いずれに属するのかが設定された複数の識別器からなる。
また、本実施形態における「使用識別器群」とは、サイクルNにおいて後述する検出部43が画像データから顔を検出する際に使用される複数の識別器のことである。また、本実施形態における「待機識別器群」とは、サイクルNにおいて後述する検出部43が画像データから顔を検出する際に使用されない複数の識別器のことである。
また、以降の説明では、使用識別器群の識別器を使用識別器とも呼び、待機識別器群の識別器を待機識別器とも呼ぶ。
In the
In the
The
Here, the use discriminator group and the standby discriminator group in the present embodiment are composed of a plurality of discriminators set to which one belongs by the discriminator control unit 51 described later.
Further, the “use discriminator group” in the present embodiment refers to a plurality of discriminators used when the
In the following description, the classifiers in the use classifier group are also referred to as use classifiers, and the classifiers in the standby classifier group are also referred to as standby classifiers.
取得部41は、撮像部17で撮像された画像データを取得する。この画像データは、顔検出処理を実行するための画像データであり、画像サイズは、VGA(Video Graphics Array)画像又はQVGA(Quarter−VGA)画像であり、比較的小さいサイズの画像データである。
The
画像加工部42は、取得部41が取得した画像データを、輝度画像の画像データに変換し、この変換した画像データを順次縮小することで得られる縮小画像データ群(以下、画像ピラミッドと呼ぶ)を作成する。
The
検出部43は、画像加工部42が作成した画像ピラミッドの各解像度の縮小画像データそれぞれに対して、記憶部20に記憶された複数種の使用識別器を用いて、例えば、顔の検出を行い、さらに、これらの縮小画像データに対する検出結果を統合する。
また、検出部43は、複数の縮小画像データのそれぞれに対して、複数種の使用識別器を全て適用し、使用識別器毎の検出結果数を算出し記憶部20に記憶する。ここで、「検出結果数」とは、各使用識別器が適合した縮小画像データの数を示す検出結果数である。
The
Further, the
後処理部44は、検出部43による検出結果に基づき、表示制御部52を介して、表示部19に表示するライブビュー画像の顔部分に、例えば、枠を表示させる。
The
識別器制御部51は、サイクルNにおける検出部43による顔の検出結果に基づいて、複数種の識別器から特定の種類の識別器を優先的に選択し、サイクルN+1において検出部43が使用する識別器を設定する。
また、識別器制御部51は、サイクルNにおける検出部43による顔の検出結果に基づいて、記憶部20に記憶された使用識別器群に設定された複数種の識別器と待機識別器群に設定された複数種の識別器とを互いに交替する。
即ち、識別器制御部51は、検出部43が算出した識別器の検出結果数を記憶部20から読み込み、当該検出結果数と所定値との大小関係を判定し、検出結果数が所定値以上である場合はサイクルNで適合した識別器であると判定し、検出結果数が所定値未満である場合はサイクルNで適合した識別器でないと判定する。
例えば本実施例では、識別器制御部51は、所定値を1とし、検出結果数が1以上であるならサイクルNで適合した識別器であると判定し、検出結果数が1未満(つまり、0)である場合は、サイクルNで適合した識別器でないと判定する。
そして、識別器制御部51は、このサイクルNで適合した識別器でないと判定した識別器を、使用識別器群から待機識別器群の待ち行列における末尾に移動すると共に、待機識別器群の待ち行列において先頭であった識別器を使用識別器群へ移動する。即ち、本実施形態では、識別器制御部51は、使用識別器の全ての識別器の検索結果数が1以上となる場合は、使用識別器群又は待機識別器群に設定された複数種の識別器を互いに交替しない。
識別器制御部51は、このような処理をサイクルNにおける全ての使用識別器に対して実行することで、サイクルN+1において検出部43が使用する識別器を設定する。
このような識別器制御部51における複数種の識別器から特定の種類の識別器を優先的に用いる機能的構成を図3を参照して、具体的に説明する。
The discriminator control unit 51 preferentially selects a specific type of discriminator from a plurality of types of discriminators based on the detection result of the face by the
Further, the discriminator control unit 51 sets the classifiers and standby discriminator groups set in the use discriminator group stored in the
That is, the classifier control unit 51 reads the number of detection results of the classifier calculated by the
For example, in this embodiment, the discriminator control unit 51 sets the predetermined value to 1 and determines that the discriminator is suitable in cycle N if the number of detection results is 1 or more, and the number of detection results is less than 1 (that is, 0), it is determined that the discriminator is not suitable in cycle N.
Then, the discriminator control unit 51 moves the discriminator determined not to be a discriminator conforming to this cycle N from the use discriminator group to the end in the queue of the standby discriminator group and waits for the standby discriminator group. The discriminator that was first in the matrix is moved to the use discriminator group. That is, in the present embodiment, the classifier control unit 51, when the number of search results of all the classifiers of the used classifier is 1 or more, a plurality of types set in the used classifier group or the standby classifier group. Do not replace classifiers with each other.
The discriminator control unit 51 sets such discriminators used by the
A functional configuration in which a specific type of discriminator is preferentially used from among a plurality of types of discriminators in the discriminator control unit 51 will be specifically described with reference to FIG.
図3は、識別器制御部51における複数種から特定の種類の識別器を優先的に用いる機能的構成を説明する図である。
図3において、識別器A乃至Mは、複数種の検出用情報の一例であり、具体的には、正面顔識別器、回転左30度顔識別器、回転右30度顔識別器、左30度顔識別器、右30度顔識別器等である。
(a)は、サイクルNの使用識別器群を示している。(b)は、サイクルNの待機識別器群を示している。(c)は、サイクルNにおいて各使用識別器に対して検出部43が算出した検索結果数を示している。
(d)は、サイクルN+1の使用識別器群を示している。(e)は、サイクルN+1の待機識別器群を示している。(f)は、サイクルN+1において各使用識別器に対して検出部43が算出した検索結果数を示している。
(g)は、サイクルN+2の使用識別器群を示している。(h)は、サイクルN+2の待機識別器群を示している。
FIG. 3 is a diagram illustrating a functional configuration in which a specific type of discriminator is preferentially used from a plurality of types in the discriminator control unit 51.
In FIG. 3, classifiers A to M are examples of a plurality of types of detection information. Specifically, a front face classifier, a rotation left 30 degree face classifier, a rotation right 30 degree face classifier, and a left 30 A face classifier, a right 30 degree face classifier, and the like.
(A) has shown the use discriminator group of the cycle N. FIG. (B) shows a standby discriminator group of cycle N. (C) shows the number of search results calculated by the
(D) shows the use discriminator group of cycle N + 1. (E) shows the standby discriminator group of cycle N + 1. (F) shows the number of search results calculated by the
(G) shows the use discriminator group of cycle N + 2. (H) shows the standby discriminator group of cycle N + 2.
検出部43は、サイクルNにおいて、使用識別器として、(a)に示す識別器A,B,C,D,E,F,G,H,Iを用いて、顔の検出を行い、(c)に示す各識別器の検出結果数を算出する。
識別器制御部51は、この検出結果数が0である識別器B,E,F,GをサイクルN+1の待機識別器群の待ち行列における末尾に順次移動すると共に、サイクルNの待機識別器群の待ち行列において先頭であった識別器Jから順に識別器K,L,MをサイクルN+1の使用識別器群へ移動する。これにより、(d)に示すサイクルN+1の使用識別器群と(e)に示すサイクルN+1の待機識別器群が設定される。
そして、検出部43は、サイクルN+1において、この(d)に示すサイクルN+1の使用識別器群を用いて、顔の検出を行い、(f)に示す各識別器の検出結果数を算出する。識別器制御部51は、サイクルNと同様に、(g)に示すサイクルN+2の使用識別器群と(h)に示すサイクルN+2の待機識別器群を設定する。
In the cycle N, the
The discriminator control unit 51 sequentially moves the discriminators B, E, F, and G having the number of detection results of 0 to the end of the queue of the standby discriminator group of cycle N + 1, and the standby discriminator group of cycle N The discriminators K, L, and M are sequentially moved from the discriminator J at the head of the queue to the use discriminator group in cycle N + 1. Thereby, the use discriminator group of cycle N + 1 shown in (d) and the standby discriminator group of cycle N + 1 shown in (e) are set.
Then, in the cycle N + 1, the
図2に戻って、表示制御部52は、後処理部44の制御の下に、表示部19に表示するライブビュー画像の顔部分に、例えば、合焦領域であることを示す枠を表示させる。
Returning to FIG. 2, under the control of the
次に、図4を参照して、撮像装置1の処理のうち、このような図2の機能的構成により実現される顔検出処理について説明する。
図4は、図2の撮像装置が実行する顔検出処理の流れを説明するフローチャートである。
Next, with reference to FIG. 4, the face detection process realized by the functional configuration of FIG. 2 will be described among the processes of the
FIG. 4 is a flowchart for explaining the flow of face detection processing executed by the imaging apparatus of FIG.
図4の顔検出処理は、撮像部17による撮像が行われる場合に実行される処理である。
即ち、少なくともライブビュー撮像処理及びライブビュー表示処理が開始されており、ユーザにより全押し操作がなされて記録用撮像が行われるまでの間に、顔検出処理は実行される。
The face detection process of FIG. 4 is a process executed when imaging by the
That is, at least the live view imaging process and the live view display process have been started, and the face detection process is executed before the recording operation is performed after the user presses the button fully.
ステップS1において、識別器制御部51は、記憶部20に記憶された使用識別器を読み込む。
ステップS2において、取得部41は、撮像部17で撮像された画像データを取得する。
ステップS3において、画像加工部42は、ステップS2で取得した画像データを輝度画像の画像データに変換する。
ステップS4において、画像加工部42は、ステップS3で輝度画像に変換された画像データを順次縮小することで画像ピラミッドを作成する。
In step S <b> 1, the classifier control unit 51 reads a use classifier stored in the
In step S <b> 2, the
In step S3, the
In step S4, the
ステップS5において、検出部43は、ステップS4で作成された画像ピラミッドの各解像度の縮小画像データそれぞれに対して、複数種の使用識別器を用いて、顔検出を行う。また、検出部43は、使用識別器毎の検出結果数を算出し記憶部20に記憶する。
ステップS6において、検出部43は、ステップS5における縮小画像データに対する検出結果を統合する。
In step S5, the
In step S6, the
ステップS7において、後処理部44は、検出部43による検出結果に基づき、表示制御部52を介して、表示部19に表示するライブビュー画像の顔部分に、例えば、枠を表示させる。
ステップS8において、表示制御部52は、ユーザによる操作部18の指示操作によりライブビュー撮像処理の終了が選択されたか否かを判定し、終了が選択されたと判定した場合は本処理を終了し、終了が選択されたと判定しない場合はステップS9に処理を移す。
In step S <b> 7, the
In step S8, the
ステップS9において、識別器制御部51は、識別器優先処理を実行する。詳しくは後述するが、識別器優先処理において、識別器制御部51は、サイクルNにおけるステップS5の検出結果に基づいて、複数種の識別器から特定の種類の識別器を優先的に選択し、当該選択された識別器をサイクルN+1において検出部43が使用する識別器として設定する。
In step S9, the discriminator control unit 51 executes discriminator priority processing. As will be described in detail later, in the classifier priority processing, the classifier control unit 51 preferentially selects a specific type of classifier from a plurality of types of classifiers based on the detection result of step S5 in cycle N, The selected discriminator is set as the discriminator used by the
次に、図5を参照して、撮像装置1の処理のうち、このような図2の機能的構成により実現される識別器優先処理について説明する。
図5は、図2の撮像装置が実行する識別器優先処理の流れを説明するフローチャートである。
図5では、サイクルNにおける識別器優先処理を例として説明する。
Next, classifier priority processing realized by such a functional configuration of FIG. 2 among the processing of the
FIG. 5 is a flowchart for explaining the flow of discriminator priority processing executed by the imaging apparatus of FIG.
In FIG. 5, the classifier priority processing in cycle N will be described as an example.
ステップS11において、識別器制御部51は、記憶部20に記憶された使用識別器の数だけループしたかを判定し、ループしたと判定した場合はステップS1(図4参照)に処理を移し、ループしたと判定しない場合はステップS12に処理を移す。
ここで、本実施形態における「ループ」は、ステップS11から遷移した処理が、再びステップS11に戻ってくるまでが1つのループである。即ち、識別器優先処理開始直後のループは0であり、n回(nは整数である)ステップS11に戻った場合のループの回数はnである。
また、識別器制御部51は、1つのループで、サイクルNにおける複数種の使用識別器に対して、それぞれ各処理を実行する。例えば、本実施形態における使用識別器の数は9つである。
よって、識別器制御部51は、ステップS11に戻った回数が9回目であると判定した場合に、ステップS1に処理を移すことで、全ての使用識別器に対して各処理を実行できる。
In step S11, the discriminator control unit 51 determines whether the number of used discriminators stored in the
Here, the “loop” in the present embodiment is one loop until the process transitioned from step S11 returns to step S11 again. That is, the loop immediately after the start of the classifier priority processing is 0, and the number of loops when returning to step S11 n times (n is an integer) is n.
In addition, the classifier control unit 51 executes each process for a plurality of types of use classifiers in the cycle N in one loop. For example, the number of use discriminators in the present embodiment is nine.
Therefore, when it is determined that the number of times of returning to step S11 is the ninth time, the classifier control unit 51 can execute each process on all the used classifiers by moving the process to step S1.
ステップS12において、識別器制御部51は、ステップS5で検出部43が算出した検出結果に基づき、サイクルNで適合した識別器か否かを判定し、適合した識別器であると判定した場合はステップS11に処理を戻し、適合した識別器であると判定しない場合はステップS13に処理を移す。
具体的には、識別器制御部51は、検出部43が算出した識別器の検出結果数を記憶部20から読み込み、当該検出結果数が0であるか否かを判定し、検出結果数が1以上である場合はサイクルNで適合した識別器であると判定し、検出結果数が0である場合はサイクルNで適合した識別器でないと判定する。
In step S12, the discriminator controller 51 determines whether or not the discriminator is adapted in cycle N based on the detection result calculated by the
Specifically, the classifier control unit 51 reads the number of detection results of the classifier calculated by the
ステップS13において、識別器制御部51は、ステップS12においてサイクルNで適合した識別器でないと判定した識別器を、使用識別器群から待機識別器群の待ち行列における末尾に移動する。
ステップS14において、識別器制御部51は、ステップS13で待機識別器群の待ち行列における末尾に識別器を移動したのにともない、待機識別器群の待ち行列において先頭であった識別器を使用識別器群へ移動する。
In step S13, the discriminator control unit 51 moves the discriminator determined not to be the discriminator matched in cycle N in step S12 from the use discriminator group to the end in the queue of the standby discriminator group.
In step S14, the discriminator control unit 51 uses the discriminator that is the head in the queue of the standby discriminator group as the discriminator is moved to the end in the queue of the standby discriminator group in step S13. Move to the instrument group.
以上説明したように、本実施形態の撮像装置1は、記憶部20と、取得部41と、検出部43と、識別器制御部51と、を備える。
記憶部20は、人物の顔を検出するための識別器を複数種記憶する。
取得部41は、画像データを逐次取得する。
検出部43は、記憶部20に記憶された複数種の識別器から一部の種類の識別器を用いて、取得部41により取得された画像データ内における顔を検出する。
識別器制御部51は、検出部43による顔の検出結果に基づいて、一部の識別器から特定の種類の識別器を選択する。
これにより、例えば、人物の顔の検出するための複数種の識別器のうち、検出結果に基づき、以降の顔検出処理においても有効と思われる種類の識別器だけを優先的に用いることができる。
したがって、特定の画像領域を検出するための複数種の識別器の全てを用いて検出を行った場合と比べ、特定の画像領域を検出する処理負担を軽減できる。
As described above, the
The
The
The
The discriminator control unit 51 selects a specific type of discriminator from some discriminators based on the detection result of the face by the
Accordingly, for example, out of a plurality of types of classifiers for detecting a human face, based on the detection result, only the types of classifiers that are considered to be effective in the subsequent face detection processing can be preferentially used. .
Therefore, the processing load for detecting a specific image region can be reduced as compared with the case where detection is performed using all of the plurality of types of discriminators for detecting the specific image region.
また、検出部43は、複数種の検出用情報と逐次取得された画像データとに基づいて、検出部43による検出結果数を夫々算出し、その検出結果数が所定値以上か否かを判定する。
識別器制御部51は、検出部43による判定結果に基づいて、特定の識別器を特定の種類の識別器から選択する。
これにより、例えば、識別器制御部51は、所定値を1とし、検出結果数が1以上であるならサイクルNで適合した識別器であると判定し、検出結果数が1未満(つまり、0)である場合は、サイクルNで適合した識別器でないと判定する。
したがって、特定の画像領域を検出するための複数種の識別器の全てを用いて検出を行った場合と比べ、特定の画像領域を検出する処理負担を軽減できる。
In addition, the
The discriminator control unit 51 selects a specific discriminator from a specific type of discriminator based on the determination result by the
Thereby, for example, the discriminator control unit 51 sets the predetermined value to 1 and if the number of detection results is 1 or more, the discriminator determines that the discriminator is suitable in cycle N, and the number of detection results is less than 1 (that is, 0 ), It is determined that the discriminator is not suitable in cycle N.
Therefore, the processing load for detecting a specific image region can be reduced as compared with the case where detection is performed using all of the plurality of types of discriminators for detecting the specific image region.
また、識別器制御部51は、検出結果に基づいて、一部の識別器(使用識別器)から特定の種類の識別器として選択されなかった識別器と、複数種の識別器のうち使用識別器以外の識別器(待機識別器)の少なくとも一部とを互いに交替する。即ち、識別器制御部51は、検出部43の検出結果に基づいて、使用識別器のうち検出結果数が所定値未満の識別器を選択し、複数種の待機識別器の一部と交替する。
これにより、例えば、複数種の使用識別器のうち、特定の画像領域の検出において適合した識別器を残し、適合しなかった識別器(検出結果数が所定値未満の識別器)を複数種の待機識別器の一部と交替できるので、特定の画像領域を検出する処理負担を軽減しつつ、検出の精度を向上できる。
Further, the discriminator control unit 51 uses the discriminator not selected as a specific type of discriminator from a part of the discriminators (use discriminators) based on the detection result and the use discriminator among the plural types of discriminators. At least a part of classifiers (standby classifiers) other than the classifiers are replaced with each other. That is, the discriminator control unit 51 selects a discriminator having a detection result number less than a predetermined value from among the used discriminators based on the detection result of the
Thereby, for example, among a plurality of types of used classifiers, a classifier that is suitable for detection of a specific image region is left, and a classifier that is not matched (a classifier whose detection result number is less than a predetermined value) is classified into a plurality of types. Since it can be replaced with a part of the standby discriminator, the detection accuracy can be improved while reducing the processing load for detecting a specific image region.
なお、本発明は、上述の実施形態に限定されるものではなく、本発明の目的を達成できる範囲での変形、改良等は本発明に含まれるものである。 In addition, this invention is not limited to the above-mentioned embodiment, The deformation | transformation in the range which can achieve the objective of this invention, improvement, etc. are included in this invention.
上述の実施形態では、識別器A乃至Mは顔の角度に対応した複数種の識別器としているが、識別器はこれに限らず、人種、年齢、明るさの相違、夜景(フラッシュの使用の有無)に対応した識別器とすることができる。 In the above-described embodiment, the classifiers A to M are a plurality of types of classifiers corresponding to the face angle. However, the classifiers are not limited to this, but are different in race, age, brightness, night view (use of flash Or the like).
また、上述の実施形態では、識別器制御部51は、使用識別器の全ての識別器の検索結果数が0でない場合は、使用識別器群又は待機識別器群に設定された複数種の識別器を互いに交替しないが、識別器制御部51における交替の判定はこれに限らず、識別器制御部51は、使用識別器の全ての識別器の検索結果数が0でない場合であっても、例えば、使用識別器群における検索結果数が少ない方から一定数の識別器と、待機識別器群における当該一定数の識別器とを交替することができる。 In the above-described embodiment, the discriminator control unit 51 determines a plurality of types of discrimination set in the use discriminator group or the standby discriminator group when the number of search results of all the discriminators in the use discriminator is not zero. Although the devices are not replaced with each other, the determination of replacement in the classifier control unit 51 is not limited to this, and the classifier control unit 51 can determine whether the number of search results of all the classifiers of the used classifiers is not zero. For example, it is possible to replace a certain number of classifiers with a smaller number of search results in the used classifier group and the certain number of classifiers in the standby classifier group.
また、上述の実施形態では、識別器制御部51は、1サイクルで全ての使用識別器に対して識別器優先処理を実行しているが、識別器制御部51の識別器優先処理はこれに限らず、識別器制御部51は、例えば、使用識別器が9つあった場合、1サイクルで3つの使用識別器に対して識別器優先処理を実行し、3サイクルで全ての使用識別器に対して識別器優先処理を実行することもできる。これにより、処理負担を軽減し、速やかにフレーム画像内における顔を検出できる。 In the above-described embodiment, the discriminator control unit 51 executes the discriminator priority processing for all the used discriminators in one cycle, but the discriminator priority processing of the discriminator control unit 51 is performed in this manner. For example, when there are nine use discriminators, the discriminator control unit 51 executes the discriminator priority process for three use discriminators in one cycle, and sets all the use discriminators in three cycles. The classifier priority processing can also be executed for the same. As a result, the processing load is reduced, and the face in the frame image can be detected quickly.
また、上述の実施形態では、識別器制御部51は、サイクルNにおいて、次のサイクルN+1の検出に使用する識別器(検出用情報)を複数種の識別器(検出用情報)から選択していたが、選択対象の識別器(検出用情報)はこれに限らず、サイクルN+2以降の検出時のために選択するようにしてもよい。即ち、識別器制御部51は、サイクルNにおいて、以降の任意のサイクルの検出時に使用する識別器(検出用情報)を複数種の識別器(検出用情報)から選択するようにしてもよい。 In the above-described embodiment, the discriminator control unit 51 selects a discriminator (detection information) to be used for detection in the next cycle N + 1 from a plurality of types of discriminators (detection information) in cycle N. However, the classifier to be selected (detection information) is not limited to this, and may be selected for detection after the cycle N + 2. That is, the discriminator control unit 51 may select a discriminator (detection information) to be used at the time of detection of any subsequent cycle in the cycle N from a plurality of types of discriminators (detection information).
また、上述の実施形態では、本発明が適用される画像処理装置は、デジタルカメラ等の画像処理装置として構成される例として説明した。しかしながら、本発明は、画像処理装置に特に限定されず、撮像機能の有無を問わず(撮像画像のデータは別の装置から取得してもよい)、上述の画像処理を実行可能な電子機器一般に適用することができる。具体的には例えば、本発明は、パーソナルコンピュータ、ビデオカメラ、携帯型ナビゲーション装置、ポータブルゲーム機等に適用可能である。 In the above-described embodiment, the image processing apparatus to which the present invention is applied has been described as an example configured as an image processing apparatus such as a digital camera. However, the present invention is not particularly limited to an image processing apparatus, and in general, an electronic apparatus that can execute the above-described image processing regardless of the presence or absence of an imaging function (data of captured images may be acquired from another apparatus). Can be applied. Specifically, for example, the present invention can be applied to a personal computer, a video camera, a portable navigation device, a portable game machine, and the like.
上述した一連の処理は、ハードウェアにより実行させることもできるし、ソフトウェアにより実行させることもできる。
換言すると、図2の機能的構成は例示に過ぎず、特に限定されない。即ち、上述した一連の処理を全体として実行できる機能が画像処理装置に備えられていれば足り、この機能を実現するためにどのような機能ブロックを用いるのかは特に図2の例に限定されない。
また、1つの機能ブロックは、ハードウェア単体で構成してもよいし、ソフトウェア単体で構成してもよいし、それらの組み合わせで構成してもよい。
The series of processes described above can be executed by hardware or can be executed by software.
In other words, the functional configuration of FIG. 2 is merely an example and is not particularly limited. That is, it is sufficient that the image processing apparatus has a function capable of executing the above-described series of processing as a whole, and what functional block is used to realize this function is not particularly limited to the example of FIG.
In addition, one functional block may be constituted by hardware alone, software alone, or a combination thereof.
一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、コンピュータ等にネットワークや記録媒体からインストールされる。
コンピュータは、専用のハードウェアに組み込まれているコンピュータであってもよい。また、コンピュータは、各種のプログラムをインストールすることで、各種の機能を実行することが可能なコンピュータ、例えば汎用のパーソナルコンピュータであってもよい。
When a series of processing is executed by software, a program constituting the software is installed on a computer or the like from a network or a recording medium.
The computer may be a computer incorporated in dedicated hardware. The computer may be a computer capable of executing various functions by installing various programs, for example, a general-purpose personal computer.
このようなプログラムを含む記録媒体は、ユーザにプログラムを提供するために装置本体とは別に配布される図1のリムーバブルメディア31により構成されるだけでなく、装置本体に予め組み込まれた状態でユーザに提供される記録媒体等で構成される。リムーバブルメディア31は、例えば、磁気ディスク(フロッピディスクを含む)、光ディスク、又は光磁気ディスク等により構成される。光ディスクは、例えば、CD−ROM(Compact Disk−Read Only Memory),DVD(Digital Versatile Disk)等により構成される。光磁気ディスクは、MD(Mini−Disk)等により構成される。また、装置本体に予め組み込まれた状態でユーザに提供される記録媒体は、例えば、プログラムが記録されている図1のROM12や、図1の記憶部20に含まれるハードディスク等で構成される。
The recording medium including such a program is not only constituted by the
なお、本明細書において、記録媒体に記録されるプログラムを記述するステップは、その順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的或いは個別に実行される処理をも含むものである。
また、本明細書において、システムの用語は、複数の装置や複数の手段等より構成される全体的な装置を意味するものとする。
In the present specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in time series along the order, but is not necessarily performed in time series, either in parallel or individually. The process to be executed is also included.
Further, in the present specification, the term “system” means an overall apparatus configured by a plurality of devices, a plurality of means, and the like.
以上、本発明の実施形態について説明したが、この実施形態は、例示に過ぎず、本発明の技術的範囲を限定するものではない。本発明はその他の様々な実施形態を取ることが可能であり、さらに、本発明の要旨を逸脱しない範囲で、省略や置換等種々の変更を行うことができる。これら実施形態やその変形は、本明細書等に記載された発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 As mentioned above, although embodiment of this invention was described, this embodiment is only an illustration and does not limit the technical scope of this invention. The present invention can take other various embodiments, and various modifications such as omission and replacement can be made without departing from the gist of the present invention. These embodiments and modifications thereof are included in the scope and gist of the invention described in this specification and the like, and are included in the invention described in the claims and the equivalents thereof.
以下に、本願の出願当初の特許請求の範囲に記載された発明を付記する。
[付記1]
特定の画像領域を検出するための検出用情報を複数種記憶する記憶手段と、
画像を逐次取得する取得手段と、
前記記憶手段に記憶された複数種の検出用情報を使用して、前記取得手段により取得された画像データ内における前記特定の画像領域を検出する検出手段と、
前記検出手段による検出結果に基づいて、前記複数種の検出用情報から特定の検出用情報を選択する選択手段と、
を備えることを特徴とする画像処理装置。
[付記2]
前記複数種の検出用情報と前記逐次取得された画像とに基づいて、前記検出手段による検出結果数を夫々算出する算出手段と、
前記算出手段により算出された検出結果数が所定値以上か否かを判定する判定手段と、
を更に備え、
前記選択手段は、前記判定手段による判定結果に基づいて、前記特定の検出用情報を前記複数種の検出用情報から選択する、
ことを特徴とする付記1に記載の画像処理装置。
[付記3]
前記選択手段は、複数種の前記特定の検出用情報を選択し、
前記記憶手段は、前記複数種の検出用情報とは異なる他の複数種の検出用情報を更に記憶し、
前記選択手段により選択された複数種の前記特定の検出用情報と、前記記憶手段により記憶された他の複数種の検出用情報における少なくとも一部の種類の検出用情報とを互いに交替する識別器交換手段を更に備えた、
ことを特徴とする付記1又は2に記載の画像処理装置。
[付記4]
前記検出手段は、更に、前記選択手段により選択された特定の検出用情報に基づいて、前記特定の画像領域を検出することを特徴とする付記1から3の何れか1つに記載の画像処理装置。
[付記5]
前記特定の画像領域は人物の顔を含む領域であり、前記検出用情報は人物の顔を検出するための識別器であることを特徴とする付記1から4の何れか1つに記載の画像処理装置。
[付記6]
特定の画像領域を検出するための検出用情報を複数種記憶する記憶手段を備える画像処理装置が実行する画像処理方法であって、
画像を逐次取得する取得ステップと、
前記記憶手段に記憶された複数種の検出用情報を使用して、前記取得ステップの処理で取得された画像内における前記特定の画像領域を検出する検出ステップと、
前記検出ステップの処理による検出結果に基づいて、前記複数種の検出用情報から特定の検出用情報を選択する選択ステップと、
を含むことを特徴とする画像処理方法。
[付記7]
特定の画像領域を検出するための検出用情報を複数種記憶する記憶手段を備える画像処理装置を制御するコンピュータを、
画像を逐次取得する取得手段、
前記記憶手段に記憶された複数種の検出用情報を使用して、前記取得手段により取得された画像内における前記特定の画像領域を検出する検出手段、
前記検出手段による検出結果に基づいて、前記複数種の検出用情報から特定の検出用情報を選択する選択手段、
として機能させることを特徴とするプログラム。
The invention described in the scope of claims at the beginning of the filing of the present application will be appended.
[Appendix 1]
Storage means for storing a plurality of types of detection information for detecting a specific image region;
Acquisition means for sequentially acquiring images;
Detecting means for detecting the specific image region in the image data acquired by the acquiring means using a plurality of types of detection information stored in the storage means;
Selection means for selecting specific detection information from the plurality of types of detection information based on a detection result by the detection means;
An image processing apparatus comprising:
[Appendix 2]
Calculation means for calculating the number of detection results by the detection means based on the plurality of types of detection information and the sequentially acquired images;
Determination means for determining whether the number of detection results calculated by the calculation means is equal to or greater than a predetermined value;
Further comprising
The selection unit selects the specific detection information from the plurality of types of detection information based on a determination result by the determination unit.
The image processing apparatus according to
[Appendix 3]
The selection means selects a plurality of types of the specific detection information,
The storage means further stores other types of detection information different from the types of detection information,
A discriminator that alternates between the plurality of types of specific detection information selected by the selection unit and at least some types of detection information in the other types of detection information stored by the storage unit. Further comprising an exchange means,
The image processing apparatus according to
[Appendix 4]
The image processing according to any one of
[Appendix 5]
The image according to any one of
[Appendix 6]
An image processing method executed by an image processing apparatus including a storage unit that stores a plurality of types of detection information for detecting a specific image region,
An acquisition step of sequentially acquiring images;
A detection step of detecting the specific image region in the image acquired by the processing of the acquisition step using a plurality of types of detection information stored in the storage means;
A selection step of selecting specific detection information from the plurality of types of detection information based on a detection result by the detection step;
An image processing method comprising:
[Appendix 7]
A computer that controls an image processing apparatus including a storage unit that stores a plurality of types of detection information for detecting a specific image region;
Acquisition means for sequentially acquiring images;
Detection means for detecting the specific image region in the image acquired by the acquisition means using a plurality of types of detection information stored in the storage means;
Selection means for selecting specific detection information from the plurality of types of detection information based on a detection result by the detection means;
A program characterized by functioning as
1・・・撮像装置、11・・・CPU、12・・・ROM、13・・・RAM、14・・・画像処理部、15・・・バス、16・・・入出力インターフェース、17・・・撮像部、17・・・操作部、19・・・表示部、20・・・記憶部、21・・・通信部、22・・・ドライブ、31・・・リムーバブルメディア、41・・・取得部、42・・・追尾画像加工部、43・・・検出部、44・・・後処理部、51・・・識別器制御部、52・・・表示制御部
DESCRIPTION OF
Claims (8)
画像を逐次取得する取得手段と、
前記記憶手段に記憶された複数種の検出用情報を使用して、前記取得手段により取得された画像データ内における前記特定の画像領域を検出する検出手段と、
前記検出手段による検出結果に基づいて、前記複数種の検出用情報から特定の検出用情報を選択する選択手段と、
を備え、
前記記憶手段は、前記検出用情報のうち前記選択手段により選択されなかった検出用情報を次の前記特定の画像領域の検出には使用しないものとして記憶すると共に、前記選択手段により選択された特定の検出用情報を次の前記特定の画像領域の検出に使用するものとして記憶し、
前記検出手段による検出結果に基づいて、前記特定の検出用情報のうち選択されなくなった検出用情報を検出には使用しないとされている前記検出用情報の待ち行列の末尾へ更新し、且つ検出には使用しないとされている前記検出用情報のうち先頭の検出用情報を、前記特定の検出用情報として更新するように制御する記憶制御手段をさらに有する、
ことを特徴とする画像処理装置。 Storage means for storing a plurality of types of detection information for detecting a specific image region;
Acquisition means for sequentially acquiring images;
Detecting means for detecting the specific image region in the image data acquired by the acquiring means using a plurality of types of detection information stored in the storage means;
Selection means for selecting specific detection information from the plurality of types of detection information based on a detection result by the detection means;
With
The storage means stores the detection information not selected by the selection means among the detection information as not used for the detection of the next specific image area, and the selection selected by the selection means Is stored as information used for detection of the next specific image area,
Based on the detection result by the detection means, the detection information that is no longer selected among the specific detection information is updated to the end of the detection information queue that is not used for detection, and is detected. Storage control means for controlling to update the first detection information among the detection information that is not used for the specific detection information ;
An image processing apparatus.
前記算出手段により算出された検出結果数が所定値以上か否かを判定する判定手段と、
を更に備え、
前記選択手段は、前記判定手段による判定結果に基づいて、前記特定の検出用情報を前記複数種の検出用情報から選択する、
ことを特徴とする請求項1又は2に記載の画像処理装置。 Calculation means for calculating the number of detection results by the detection means based on the plurality of types of detection information and the sequentially acquired images;
Determination means for determining whether the number of detection results calculated by the calculation means is equal to or greater than a predetermined value;
Further comprising
The selection unit selects the specific detection information from the plurality of types of detection information based on a determination result by the determination unit.
The image processing apparatus according to claim 1 or 2, characterized in that.
前記記憶手段は、前記複数種の検出用情報とは異なる他の複数種の検出用情報を更に記憶し、
前記選択手段により選択された複数種の前記特定の検出用情報と、前記記憶手段により記憶された他の複数種の検出用情報における少なくとも一部の種類の検出用情報とを互いに交替する識別器交換手段を更に備えた、
ことを特徴とする請求項1から3の何れか1項に記載の画像処理装置。 The selection means selects a plurality of types of the specific detection information,
The storage means further stores other types of detection information different from the types of detection information,
A discriminator that alternates between the plurality of types of specific detection information selected by the selection unit and at least some types of detection information in the other types of detection information stored by the storage unit. Further comprising an exchange means,
The image processing apparatus according to any one of claims 1 to 3, characterized in that.
特定の画像領域を検出するための検出用情報を複数種記憶する記憶ステップと、
画像を逐次取得する取得ステップと、
前記記憶手段に記憶された複数種の検出用情報を使用して、前記取得ステップの処理で取得された画像内における前記特定の画像領域を検出する検出ステップと、
前記検出ステップの処理による検出結果に基づいて、前記複数種の検出用情報から特定の検出用情報を選択する選択ステップと、
を含み、
前記記憶ステップは、前記検出用情報のうち前記選択ステップにより選択されなかった検出用情報を次の前記特定の画像領域の検出には使用しないものとして記憶すると共に、前記選択ステップにより選択された特定の検出用情報を次の前記特定の画像領域の検出に使用するものとして記憶し、
前記検出ステップによる検出結果に基づいて、前記特定の検出用情報のうち選択されなくなった検出用情報を検出には使用しないとされている前記検出用情報の待ち行列の末尾へ更新し、且つ検出には使用しないとされている前記検出用情報のうち先頭の検出用情報を、前記特定の検出用情報として更新するように制御する記憶制御ステップをさらに含む
ことを特徴とする画像処理方法。 An image processing method executed by an image processing apparatus including a storage unit that stores a plurality of types of detection information for detecting a specific image region,
A storage step of storing a plurality of types of detection information for detecting a specific image region;
An acquisition step of sequentially acquiring images;
A detection step of detecting the specific image region in the image acquired by the processing of the acquisition step using a plurality of types of detection information stored in the storage means;
A selection step of selecting specific detection information from the plurality of types of detection information based on a detection result by the detection step;
Including
The storing step stores the detection information not selected by the selection step among the detection information as not used for the detection of the next specific image region, and the selection selected by the selection step. Is stored as information used for detection of the next specific image area ,
Based on the detection result of the detection step, the detection information that is no longer selected among the specific detection information is updated to the end of the detection information queue that is not used for detection, and is detected. The image processing method further includes a storage control step of controlling to update the first detection information among the detection information that is not used for the specific detection information .
特定の画像領域を検出するための検出用情報を複数種記憶する記憶手段、
画像を逐次取得する取得手段、
前記記憶手段に記憶された複数種の検出用情報を使用して、前記取得手段により取得された画像内における前記特定の画像領域を検出する検出手段、
前記検出手段による検出結果に基づいて、前記複数種の検出用情報から特定の検出用情報を選択する選択手段、
として機能させ、
前記記憶手段は、前記検出用情報のうち前記選択手段により選択されなかった検出用情報を次の前記特定の画像領域の検出には使用しないものとして記憶すると共に、前記選択手段により選択された特定の検出用情報を次の前記特定の画像領域の検出に使用するものとして記憶し、
前記検出手段による検出結果に基づいて、前記特定の検出用情報のうち選択されなくなった検出用情報を検出には使用しないとされている前記検出用情報の待ち行列の末尾へ更新し、且つ検出には使用しないとされている前記検出用情報のうち先頭の検出用情報を、前記特定の検出用情報として更新するように制御する記憶制御手段としてさらに機能させる
ことを特徴とするプログラム。 A computer for controlling the image processing apparatus;
Storage means for storing a plurality of types of detection information for detecting a specific image region;
Acquisition means for sequentially acquiring images;
Detection means for detecting the specific image region in the image acquired by the acquisition means using a plurality of types of detection information stored in the storage means;
Selection means for selecting specific detection information from the plurality of types of detection information based on a detection result by the detection means;
Function as
The storage means stores the detection information not selected by the selection means among the detection information as not used for the detection of the next specific image area, and the selection selected by the selection means Is stored as information used for detection of the next specific image area ,
Based on the detection result by the detection means, the detection information that is no longer selected among the specific detection information is updated to the end of the detection information queue that is not used for detection, and is detected. A program that further functions as a storage control unit that controls to update the detection information at the head of the detection information that is not used for the detection as the specific detection information .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012152699A JP6074928B2 (en) | 2011-09-07 | 2012-07-06 | Image processing apparatus, image processing method, and program |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011194816 | 2011-09-07 | ||
| JP2011194816 | 2011-09-07 | ||
| JP2012152699A JP6074928B2 (en) | 2011-09-07 | 2012-07-06 | Image processing apparatus, image processing method, and program |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2013069264A JP2013069264A (en) | 2013-04-18 |
| JP2013069264A5 JP2013069264A5 (en) | 2015-08-13 |
| JP6074928B2 true JP6074928B2 (en) | 2017-02-08 |
Family
ID=48474857
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2012152699A Expired - Fee Related JP6074928B2 (en) | 2011-09-07 | 2012-07-06 | Image processing apparatus, image processing method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6074928B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007213182A (en) * | 2006-02-08 | 2007-08-23 | Fujifilm Corp | Object state recognition method, apparatus, and program |
-
2012
- 2012-07-06 JP JP2012152699A patent/JP6074928B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2013069264A (en) | 2013-04-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9521310B2 (en) | Method and apparatus for focusing on subject in digital image processing device | |
| JP5804138B1 (en) | Detection apparatus, detection method, and program | |
| JP2008129554A (en) | Imaging device and automatic focusing control method | |
| US20200177814A1 (en) | Image capturing apparatus and method of controlling image capturing apparatus | |
| JP2010016544A (en) | Image capturing apparatus and image processing apparatus, and image processing program | |
| JP5696419B2 (en) | Image processing apparatus and method, and program | |
| JP2015119323A (en) | Imaging apparatus, image acquisition method, and program | |
| JP5949559B2 (en) | Image processing apparatus, imaging apparatus, and image processing program | |
| JP5811654B2 (en) | Image processing apparatus, image processing method, and program | |
| WO2011099092A1 (en) | Motion-recognizing remote-control receiving device, and motion-recognizing remote-control control method | |
| JP2014187551A (en) | Image acquisition device, image acquisition method and program | |
| JP2017147498A (en) | Image processing apparatus, image processing method and program | |
| JP6210106B2 (en) | Imaging apparatus, image evaluation method, and program | |
| JP6074928B2 (en) | Image processing apparatus, image processing method, and program | |
| JP6003133B2 (en) | Imaging apparatus, imaging control method, and program | |
| JP5948779B2 (en) | Image processing apparatus, image processing method, and program | |
| JP5944246B2 (en) | Imaging device | |
| JP7451171B2 (en) | Image processing device | |
| JP2023161994A (en) | Image processing device and image processing method | |
| JP7462240B2 (en) | Shutter speed determination device and image capture device | |
| JP6241503B2 (en) | Image processing apparatus, image processing method, and program | |
| US12401898B2 (en) | Image processing apparatus and method, and image capturing apparatus | |
| JP5741062B2 (en) | Image processing apparatus, image processing method, and program | |
| JP5740934B2 (en) | Subject detection apparatus, subject detection method, and program | |
| JP5747638B2 (en) | Imaging apparatus, imaging method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150624 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150624 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160512 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160517 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160704 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160927 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161116 |
|
| 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: 20161213 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20161226 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6074928 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |