JP2014134898A - Image search apparatus - Google Patents

Image search apparatus Download PDF

Info

Publication number
JP2014134898A
JP2014134898A JP2013001342A JP2013001342A JP2014134898A JP 2014134898 A JP2014134898 A JP 2014134898A JP 2013001342 A JP2013001342 A JP 2013001342A JP 2013001342 A JP2013001342 A JP 2013001342A JP 2014134898 A JP2014134898 A JP 2014134898A
Authority
JP
Japan
Prior art keywords
subject
image
search range
search
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013001342A
Other languages
Japanese (ja)
Inventor
Takuro Nakajima
拓郎 中嶋
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 JP2013001342A priority Critical patent/JP2014134898A/en
Publication of JP2014134898A publication Critical patent/JP2014134898A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To quickly search a desired still image from a moving image.SOLUTION: A user sets a search condition for searching a still image form a moving image in a system control part (112). The system control part (112) reproduces the moving image stored in a recording medium (111) and allows the user to select a subject. The system control part (112) calculates movement quantity between frames in which the same subject as the subject selected by the user exists on the basis of a frame selected by the user. A search range determination part (115) determines an image search range for extracting the still image from the moving image in accordance with the movement quantity. An image search part (116) searches a frame including the same subject as the subject selected by the user and matched with the search condition within the image search range determined by the search range determination part (115).

Description

本発明は、動画像から所望の静止画像を検索する画像検索装置に関する。   The present invention relates to an image retrieval apparatus that retrieves a desired still image from a moving image.

撮影した動画像からユーザが任意に選んだフレームを静止画像として保存できる機能を搭載したデジタルカメラが、登場している。   A digital camera equipped with a function capable of saving a frame arbitrarily selected by a user from captured moving images as a still image has appeared.

動画像のユーザが選択したフレームの前後には、ユーザが選択したフレームと似ているフレームが複数枚存在しているのが一般的である。従って、ユーザが選択したフレームよりさらに良い条件(被写体の大きさ、ピント、色合い等)のフレームが存在する可能性がある。このような、更に良い条件のフレームを見つけるためには、動画像を1フレームずつ順に再生して、確認する必要があるが、このような目視確認では、複数のフレームからベストショットを選択することは困難である。   In general, there are a plurality of frames similar to the frame selected by the user before and after the frame selected by the user of the moving image. Therefore, there is a possibility that a frame with better conditions (subject size, focus, hue, etc.) than the frame selected by the user may exist. In order to find such a frame with better conditions, it is necessary to reproduce and check the moving image one frame at a time. In such visual confirmation, the best shot is selected from a plurality of frames. It is difficult.

この問題点を回避するために、画像検索技術を利用することが考えられる。特許文献1には、検索元画像を1枚指定し、検索元画像の特徴部分やその画像の付随情報を検索条件として設定し、当該検索条件に一致する静止画像を検索する技術が記載されている。   In order to avoid this problem, it is conceivable to use an image search technique. Patent Document 1 describes a technique for specifying one search source image, setting a feature portion of the search source image and accompanying information of the image as a search condition, and searching for a still image that matches the search condition. Yes.

特開2008182662号公報JP 20081826262 A

従来技術は、検索条件の設定自体は容易になるものの、検索効率の改善、すなわち、検索時間の短縮が求められる。   The prior art is required to improve the search efficiency, that is, to shorten the search time, although the search conditions can be easily set.

本発明は、動画像から所望の静止画をより効率良く検索できる画像検索装置を提示することを目的とする。   An object of the present invention is to present an image search device that can search a desired still image from a moving image more efficiently.

本発明に係る画像検索装置は、複数のフレームからなる動画像から静止画を検索する検索条件を設定する設定手段と、前記動画像に含まれる被写体を選択する選択手段と、前記選択手段で前記被写体を選択したフレームを中心に、前記被写体の状態に応じて前記動画像の画像検索範囲を決定する検索範囲決定手段と、前記選択手段により選択される被写体と同じ被写体であって前記検索条件に合う被写体を含むフレームを前記画像検索範囲内で検索する検索手段とを具備することを特徴とする。   The image search apparatus according to the present invention includes a setting unit that sets a search condition for searching for a still image from a moving image including a plurality of frames, a selection unit that selects a subject included in the moving image, and the selection unit that A search range determining unit that determines an image search range of the moving image according to the state of the subject around the frame in which the subject is selected, and a subject that is the same subject as the subject selected by the selection unit and that satisfies the search condition Search means for searching for a frame including a matching subject within the image search range.

本発明によれば、動画像からユーザが選択した被写体の状態に応じて画像検索範囲を決定し、その画像検索範囲内で検索条件に合うフレームを検索するので、ユーザが所望するフレームを効率良く抽出できる。   According to the present invention, the image search range is determined from the moving image according to the state of the subject selected by the user, and a frame that satisfies the search condition is searched within the image search range. Can be extracted.

本発明の一実施例の概略構成ブロック図である。It is a schematic block diagram of one Example of this invention. 本実施例の動作フローチャートである。It is an operation | movement flowchart of a present Example. 説明例1の模式図である。6 is a schematic diagram of an explanatory example 1. FIG. 説明例2の模式図である。10 is a schematic diagram of an explanatory example 2. FIG. 説明例3の模式図である。It is a schematic diagram of the explanatory example 3. 説明例4の模式図である。10 is a schematic diagram of an explanatory example 4. FIG. 説明例5の模式図である。10 is a schematic diagram of an explanatory example 5. FIG.

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

図1は、本発明に係る画像検索装置の一実施例を適用したデジタルカメラの概略構成ブロック図を示す。本実施例では、フレーム検索範囲を被写体の動き量に応じて変更する。   FIG. 1 shows a schematic block diagram of a digital camera to which an embodiment of an image search apparatus according to the present invention is applied. In this embodiment, the frame search range is changed according to the amount of movement of the subject.

図1において、101はフォーカスレンズを含む撮影レンズである。102は絞り機能を備えるシャッタである。103は光学像を電気信号に変換するCCD撮像素子やCMOS撮像素子等で構成される撮像部である。104はA/D変換器であり、アナログ画像信号をデジタル信号に変換する。A/D変換器104は、撮像部103から出力されるアナログ信号をデジタル信号に変換するために用いられる。   In FIG. 1, reference numeral 101 denotes a photographing lens including a focus lens. Reference numeral 102 denotes a shutter having an aperture function. An imaging unit 103 includes a CCD image sensor, a CMOS image sensor, or the like that converts an optical image into an electrical signal. Reference numeral 104 denotes an A / D converter that converts an analog image signal into a digital signal. The A / D converter 104 is used to convert an analog signal output from the imaging unit 103 into a digital signal.

108は画像処理部であり、A/D変換器104からのデータ、又は、メモリ制御部107からのデータに対し所定の画素補間と縮小といったリサイズ処理及び色変換処理を行う。また、画像処理部108では、撮像した画像データを用いて所定の演算処理が行われ、得られた演算結果に基づいてシステム制御部112が露光制御、測距制御を行う。これにより、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理及びAE(自動露出)処理、が行われる。画像処理部108は更に、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理も行っている。   An image processing unit 108 performs resizing processing and color conversion processing such as predetermined pixel interpolation and reduction on the data from the A / D converter 104 or the data from the memory control unit 107. The image processing unit 108 performs predetermined calculation processing using the captured image data, and the system control unit 112 performs exposure control and distance measurement control based on the obtained calculation result. Thereby, TTL (through the lens) AF (autofocus) processing and AE (automatic exposure) processing are performed. The image processing unit 108 further performs predetermined calculation processing using the captured image data, and also performs TTL AWB (auto white balance) processing based on the obtained calculation result.

A/D変換器104からの出力データは、画像処理部108及びメモリ制御部107を介して、又はメモリ制御部107を介して、メモリ109に書き込まれる。メモリ109は、撮像部103によって得られA/D変換器104によりデジタルデータに変換された画像データ、及び、表示部106に表示するための画像データを格納する。メモリ109は、所定枚数の静止画像や所定時間の動画像および音声を格納するのに十分な記憶容量を備えている。   Output data from the A / D converter 104 is written into the memory 109 via the image processing unit 108 and the memory control unit 107 or via the memory control unit 107. The memory 109 stores image data obtained by the imaging unit 103 and converted to digital data by the A / D converter 104 and image data to be displayed on the display unit 106. The memory 109 has a storage capacity sufficient to store a predetermined number of still images, a moving image and sound for a predetermined time.

また、メモリ109は、画像表示用のメモリ(ビデオメモリ)を兼ねている。D/A変換器105は、メモリ109に格納されている表示用画像データをアナログ信号に変換して表示部106に供給する。こうして、メモリ109に書き込まれた表示用画像データはD/A変換器105を介して表示部106に供給され、表示部106により画像として表示される。表示部106は、LCD等の表示器上に、D/A変換器105からのアナログ信号に応じた表示を行う。   The memory 109 also serves as an image display memory (video memory). The D / A converter 105 converts the display image data stored in the memory 109 into an analog signal and supplies the analog signal to the display unit 106. Thus, the display image data written in the memory 109 is supplied to the display unit 106 via the D / A converter 105 and displayed as an image by the display unit 106. The display unit 106 performs display in accordance with an analog signal from the D / A converter 105 on a display device such as an LCD.

不揮発性メモリ118は、電気的に消去・記録可能なメモリであり、例えばEEPROM等が用いられる。不揮発性メモリ118には、システム制御部112の動作用の定数及びプログラム等が記憶される。ここでいう、プログラムとは、後述する各種フローチャートを実行するためのプログラムである。   The nonvolatile memory 118 is an electrically erasable / recordable memory, and for example, an EEPROM or the like is used. The nonvolatile memory 118 stores constants and programs for operating the system control unit 112. Here, the program is a program for executing various flowcharts described later.

112はシステム制御部であり、デジタルカメラ全体を制御する。不揮発性メモリ118に記録されたプログラムを実行することで、後述する各処理を実現する。119はシステムメモリであり、RAMが用いられる。システムメモリ119には、システム制御部112の動作用の定数及び変数が一時的に書き込まれ、並びに不揮発性メモリ118から読み出したプログラム等が展開される。また、システム制御部112は、メモリ109、D/A変換器105及び表示部106等を制御することにより表示制御も行う。   A system control unit 112 controls the entire digital camera. By executing the program recorded in the non-volatile memory 118, each process described later is realized. A system memory 119 uses a RAM. Constants and variables for the operation of the system control unit 112 are temporarily written in the system memory 119, and a program read from the nonvolatile memory 118 is developed. The system control unit 112 also performs display control by controlling the memory 109, the D / A converter 105, the display unit 106, and the like.

113は操作部であり、システム制御部112に各種の動作指示を入力するための操作手段である。操作部113はシャッタボタン、電源ボタン、モード切り替えボタン(動作モードを静止画像記録モード、動画像記録モード、再生モード等のいずれかに切り替えるボタン)及びタッチパネルなどからなる。操作部113は、ユーザがデジタルカメラの操作に使用される。   Reference numeral 113 denotes an operation unit, which is an operation unit for inputting various operation instructions to the system control unit 112. The operation unit 113 includes a shutter button, a power button, a mode switching button (a button for switching an operation mode to any one of a still image recording mode, a moving image recording mode, a reproduction mode, and the like), a touch panel, and the like. The operation unit 113 is used by a user to operate a digital camera.

117は圧縮伸長部であり、動画像データを記録再生のために圧縮伸長する手段であり、例えば、MPEG(Moving Picture Experts Group)方式を使用する。動画像を再生する場合、メモリ109または記録媒体111に格納されている圧縮済みの動画像データを圧縮伸長部117で圧縮前の動画像データに伸長し、表示部106で画像として表示する。動画像データは一定レートの複数のフレームからなる。   Reference numeral 117 denotes a compression / decompression unit, which is a means for compressing / decompressing moving image data for recording / reproduction, and uses, for example, an MPEG (Moving Picture Experts Group) system. When playing back a moving image, the compressed moving image data stored in the memory 109 or the recording medium 111 is decompressed to the uncompressed moving image data by the compression / decompression unit 117 and displayed as an image on the display unit 106. The moving image data consists of a plurality of frames at a constant rate.

被写体認識部114、検索範囲決定部115及び画像検索部116は、動画像の再生中または一時停止状態で利用される。被写体認識部114は、ユーザが操作部113により選択した被写体の形状を認識する。認識方法として例えば、ユーザが選択した座標点から上下左右に色情報が変化する座標点を4点検出し、検出された座標点からユーザが選択した被写体の形状を認識する。検索範囲決定部115は、被写体認識部114により認識された被写体の特徴を参照し、画像を検索する範囲を決定する。画像検索部116は、検索範囲決定部115により決定された検索範囲内で、被写体認識部114で認識された被写体が検索条件を満たしているフレームを検索する。   The subject recognition unit 114, the search range determination unit 115, and the image search unit 116 are used while a moving image is being reproduced or paused. The subject recognition unit 114 recognizes the shape of the subject selected by the user using the operation unit 113. As a recognition method, for example, four coordinate points whose color information changes vertically and horizontally from the coordinate point selected by the user are inspected, and the shape of the subject selected by the user is recognized from the detected coordinate points. The search range determination unit 115 refers to the characteristics of the subject recognized by the subject recognition unit 114 and determines a range for searching for an image. The image search unit 116 searches for a frame in which the subject recognized by the subject recognition unit 114 satisfies the search condition within the search range determined by the search range determination unit 115.

インターフェース(I/F)110は、メモリカードやハードディスク等の記録媒体111とのインターフェースである。記録媒体111は、メモリカード等の記録媒体であり、半導体メモリ又は磁気ディスク等から構成される。   An interface (I / F) 110 is an interface with a recording medium 111 such as a memory card or a hard disk. The recording medium 111 is a recording medium such as a memory card, and includes a semiconductor memory or a magnetic disk.

図2は、本実施例の全体動作を示すフローチャートである。図2を参照して、本実施例の処理手順を説明する。なお、ステップS205で行う検索範囲の変更処理は、シーンをまたいで変化させることができるものとする。シーンとは、1回の記録開始から記録終了までを1シーンとする。   FIG. 2 is a flowchart showing the overall operation of this embodiment. With reference to FIG. 2, the processing procedure of the present embodiment will be described. Note that the search range changing process performed in step S205 can be changed across scenes. A scene is one scene from the start of recording to the end of recording.

ステップS201で、ユーザは、フレーム検索条件を操作部113によりシステム制御部112に入力する。システム制御部112は、ユーザが設定したフレーム検索条件をメモリ109に保持する。検索条件には、例えば合焦度(フォーカスが合っている程度)、色合い、被写体の大きさ又は被写体の位置等が挙げられる。ここでは、被写体のフォーカスが最も合っていることをフレーム検索条件とする。   In step S <b> 201, the user inputs frame search conditions to the system control unit 112 through the operation unit 113. The system control unit 112 holds the frame search condition set by the user in the memory 109. Search conditions include, for example, the degree of focus (the degree of focus), the color, the size of the subject, the position of the subject, and the like. Here, the frame search condition is that the subject is most focused.

ステップS202で、撮影済みの動画像を再生する。具体的には、ユーザは、撮影済みの動画像データを操作部113により選択し、再生をシステム制御部112に指示する。システム制御部112は、ユーザが選択した動画像の圧縮済み動画像データを記録媒体111から圧縮伸長部117に読み出して伸長させ、表示部106に再生表示する。   In step S202, the captured moving image is reproduced. Specifically, the user selects captured moving image data using the operation unit 113 and instructs the system control unit 112 to perform reproduction. The system control unit 112 reads the compressed moving image data of the moving image selected by the user from the recording medium 111 to the compression / decompression unit 117, expands it, and reproduces and displays it on the display unit 106.

ステップS203で、システム制御部112は、ユーザが動画像内の被写体を選択するのを待機する。ユーザが動画像内の何れかの被写体を選択すると、システム制御部112は、ステップS204に進む。   In step S203, the system control unit 112 waits for the user to select a subject in the moving image. When the user selects any subject in the moving image, the system control unit 112 proceeds to step S204.

図3(a)は、ユーザが動画像データの被写体を選択する様子を示す模式図である。フレーム301、302、303、304、305は動画像を構成する。フレーム301からフレーム305に向かって時間が流れているとする。ユーザは動画像再生中に気にったフレーム303を見つけたら、フレーム303内の複数の被写体から検索対象とする被写体を選択する。   FIG. 3A is a schematic diagram showing how the user selects a subject of moving image data. Frames 301, 302, 303, 304, and 305 constitute a moving image. Assume that time flows from the frame 301 toward the frame 305. When the user finds a frame 303 he / she likes during moving image reproduction, the user selects a subject to be searched from a plurality of subjects in the frame 303.

ステップS204で、システム制御部112は、ユーザが選択した被写体の形状を被写体認識部114に指示して認識させる。被写体認識部114は、認識した被写体の特徴をシステム制御部112に通知する。   In step S204, the system control unit 112 instructs the subject recognition unit 114 to recognize the shape of the subject selected by the user. The subject recognition unit 114 notifies the system control unit 112 of the characteristics of the recognized subject.

ステップS205で、システム制御部112は、選択された被写体の特徴に従い、検索範囲決定部115に画像検索範囲を決定させる。本実施例では、検索範囲決定部115は、ステップS204で認識された被写体の動き量に応じて画像検索範囲を変更する。画像検索範囲は、例えば、図3(b)に示すように、ユーザが選択したフレーム303を中心として、時間的に前方のn1フレームと後方のn2フレームで指定されるとする。被写体の動き量は、フレーム間で被写体が移動した量を意味する。例えば、システム制御部112は、被写体認識部114で認識される被写体のフレーム間での動きベクトルを算出し、フレーム間での被写体移動量を決定する。なお、フレーム間の移動距離と時間から被写体の移動速度を算出できる。   In step S205, the system control unit 112 causes the search range determination unit 115 to determine the image search range according to the characteristics of the selected subject. In the present embodiment, the search range determination unit 115 changes the image search range according to the amount of movement of the subject recognized in step S204. For example, as shown in FIG. 3B, the image search range is designated by temporally forward n1 frames and backward n2 frames centering on a frame 303 selected by the user. The amount of movement of the subject means the amount of movement of the subject between frames. For example, the system control unit 112 calculates a motion vector between frames of the subject recognized by the subject recognition unit 114, and determines a subject movement amount between frames. The moving speed of the subject can be calculated from the moving distance between frames and the time.

システム制御部112は、ユーザが選択したフレーム303を基準に、ユーザが選択した被写体311と同一の被写体が存在するフレームとの間で動きベクトルを算出する。図3(b)に示す例では、システム制御部112は、フレーム303の被写体311に対して、フレーム302、304、305に写っている被写体310、312、313の動きベクトルを算出する。   Based on the frame 303 selected by the user, the system control unit 112 calculates a motion vector between the subject 311 selected by the user and a frame in which the same subject exists. In the example illustrated in FIG. 3B, the system control unit 112 calculates the motion vectors of the subjects 310, 312, and 313 shown in the frames 302, 304, and 305 with respect to the subject 311 of the frame 303.

システム制御部112は、被写体310、311、312、313の動きベクトルから被写体の移動速度を算出し、検索範囲決定部115に通知する。検索範囲決定部115は、システム制御部112からの移動速度情報に従い画像検索範囲を決定する。具体的には、検索範囲決定部115は、被写体移動速度が速い程、画像検索範囲を狭く決定し、被写体移動速度が遅い程、画像検索範囲を広く決定する。被写体の動き量が多いと、フレーム間で構図の変化が大きく、被写体の動き量が少ないとフレーム間で構図の変化が小さいことが考えられるからである。   The system control unit 112 calculates the moving speed of the subject from the motion vectors of the subjects 310, 311, 312, and 313, and notifies the search range determination unit 115 of it. The search range determination unit 115 determines the image search range according to the moving speed information from the system control unit 112. Specifically, the search range determination unit 115 determines the image search range narrower as the subject moving speed is faster, and determines the image search range wider as the subject moving speed is slower. This is because it is conceivable that when the amount of movement of the subject is large, the composition changes greatly between the frames, and when the amount of movement of the subject is small, the composition changes between the frames is small.

図3(b)は、ユーザが選択した被写体の動き量が多い例を示す。図3(b)に示す例に対し、本実施例では、ユーザが選択した被写体311の動き量が多い場合に、画像検索範囲を規定するn1,n2を小さくする。極端な例として、n1とn2をともに1に決定する。これにより、ユーザが選択した被写体311の構図と大きく異なるフレーム305が画像検索範囲に含まれる可能性が低くなる。   FIG. 3B shows an example in which the amount of movement of the subject selected by the user is large. In contrast to the example shown in FIG. 3B, in this embodiment, when the amount of motion of the subject 311 selected by the user is large, n1 and n2 that define the image search range are reduced. As an extreme example, both n1 and n2 are determined to be 1. As a result, the possibility that the frame 305 greatly different from the composition of the subject 311 selected by the user is included in the image search range is reduced.

図4は、ユーザが選択した被写体の動き量が少ない例を示す。図4に示す例では、ユーザが選択した被写体412に対して、被写体410、411、413、414の動き量に変化が少ない。そこで、この例では、検索範囲決定部115は、画像検索範囲を示すフレーム数n1,n2を大きく決定する。これにより、ユーザが選択した被写体412の構図と同じようなフレームが画像検索範囲に含まれる可能性が高くなる。   FIG. 4 shows an example in which the amount of movement of the subject selected by the user is small. In the example illustrated in FIG. 4, the amount of motion of the subjects 410, 411, 413, and 414 is small with respect to the subject 412 selected by the user. Therefore, in this example, the search range determination unit 115 largely determines the frame numbers n1 and n2 indicating the image search range. Accordingly, there is a high possibility that a frame similar to the composition of the subject 412 selected by the user is included in the image search range.

ステップS206で、画像検索部116が、ステップS204で認識された被写体がステップS201で設定した検索条件に合うフレームを、ステップS205で決定した画像検索範囲内で検索する。即ち、システム制御部112は、ステップS201,S204,S205で設定又は決定した情報をもとに、画像検索部116を制御して検索条件に一致するフレームを検索させる。   In step S206, the image search unit 116 searches the image search range determined in step S205 for a frame in which the subject recognized in step S204 meets the search condition set in step S201. That is, the system control unit 112 controls the image search unit 116 based on the information set or determined in steps S201, S204, and S205 to search for a frame that matches the search condition.

図3(b)に示す例では、画像検索部116は、ステップS205で決定した画像検索範囲であるフレーム302,303,304の中から、ステップS201で設定した検索条件(被写体のフォーカスが最も合っているフレーム)を検索する。例えば、被写体310が最もフォーカスの合っている場合は、検索結果として、フレーム302が検出される。画像検索部116は、検索条件に一致したフレーム又は検索条件に最も近いフレームをシステム制御部112に通知する。   In the example shown in FIG. 3B, the image search unit 116 selects the search condition (subject focus best) set in step S201 from the frames 302, 303, and 304 that are the image search range determined in step S205. Frame). For example, when the subject 310 is most focused, the frame 302 is detected as a search result. The image search unit 116 notifies the system control unit 112 of a frame that matches the search condition or a frame that is closest to the search condition.

ステップS207で、システム制御部112は、ステップS206での検索結果であるフレームの画像を表示部106に表示する。即ち、システム制御部112は、画像検索部116から検索結果として通知されたフレームの画像データを記録媒体111から読み出し、その画像を表示部106に表示する。図3(b)では、フレーム302が表示部106で表示される。   In step S207, the system control unit 112 displays an image of the frame that is the search result in step S206 on the display unit 106. That is, the system control unit 112 reads the image data of the frame notified as the search result from the image search unit 116 from the recording medium 111 and displays the image on the display unit 106. In FIG. 3B, the frame 302 is displayed on the display unit 106.

本実施例では、ユーザが選択した被写体の動き量に応じて画像検索範囲を変更するので、ユーザが選択したフレームより好ましいフレームを発見する確率を高めつつ、効率的な検索を実現できる。ユーザは気軽に検索の指標又は基準となる被写体を選択すれば良くなり、検索作業の容易化につながる。   In this embodiment, since the image search range is changed according to the amount of movement of the subject selected by the user, an efficient search can be realized while increasing the probability of finding a frame preferable to the frame selected by the user. The user can easily select a subject to be used as a search index or reference, which facilitates the search operation.

被写体認識部114、検索範囲決定部115及び画像検索部116をシステム制御部112とは別の構成要素として図示しているが、これらの手段114,115,116をシステム制御部112の機能として実装しても良い。   Although the subject recognition unit 114, the search range determination unit 115, and the image search unit 116 are illustrated as separate components from the system control unit 112, these means 114, 115, and 116 are implemented as functions of the system control unit 112. You may do it.

ユーザが選択した被写体の大きさの変化に応じて画像検索範囲を変更するようにした変更実施例を説明する。   A modified embodiment in which the image search range is changed in accordance with the change in the size of the subject selected by the user will be described.

このために、図2のステップS205を次のように変更する。即ち、ユーザが選択した被写体の大きさが、時系列にみて後方に向かって大きくなるような動画像の場合、検索範囲決定部115は、後方の検索範囲をより広く決定する。逆に前方に向かって大きくなるような動画像の場合、検索範囲決定部115は、前方の検索範囲をより広く決定する。   For this purpose, step S205 in FIG. 2 is changed as follows. That is, in the case of a moving image in which the size of the subject selected by the user increases rearward in time series, the search range determination unit 115 determines the rear search range wider. Conversely, in the case of a moving image that increases toward the front, the search range determination unit 115 determines a wider search range in the front.

図5は、ユーザが選択した被写体が時間的に後方に向かって大きくなる例の模式図を示す。フレーム501,502,503,504,505は動画像を構成する。フレーム501からフレーム505に向かって時間が流れているとする。   FIG. 5 shows a schematic diagram of an example in which the subject selected by the user becomes larger backward in time. Frames 501, 502, 503, 504, and 505 form a moving image. Assume that time flows from the frame 501 toward the frame 505.

ステップS205で、システム制御部112は、ユーザが選択した被写体512の形状を被写体認識部114に認識させる。被写体認識部114は、図5に示す例では、フレーム503の前後の所定範囲内で、被写体512と類似する被写体とその形状を認識する。図5では、被写体認識部114は、フレーム501,502,504,505で被写体512に類似する被写体510,511,513,514を検出する。   In step S205, the system control unit 112 causes the subject recognition unit 114 to recognize the shape of the subject 512 selected by the user. In the example shown in FIG. 5, the subject recognition unit 114 recognizes a subject similar to the subject 512 and its shape within a predetermined range before and after the frame 503. In FIG. 5, the subject recognition unit 114 detects subjects 510, 511, 513, and 514 similar to the subject 512 in the frames 501, 502, 504, and 505.

次に、システム制御部112は、ユーザが選択した被写体512の形状を基準に、被写体510,511,513,514の形状と大きさを互いに比較する。そして、検索範囲決定部115が、システム制御部112による形状と大きさの比較の結果に従い画像検索範囲を決定する。   Next, the system control unit 112 compares the shapes and sizes of the subjects 510, 511, 513, and 514 with each other based on the shape of the subject 512 selected by the user. Then, the search range determination unit 115 determines the image search range according to the result of comparison of the shape and size by the system control unit 112.

例えば、検索範囲決定部115は、フレーム503を基準に、時間的に後方に向かって被写体512に対する被写体513,514の相対的大きさを算出する。同様に、検索範囲決定部115は、フレーム503を基準に時間的に前方に向かって被写体512に対する被写体511,510の相対的大きさを算出する。そして、検索範囲決定部115は、被写体512より大きな被写体が多く含まれているのが、ユーザが選択したフレーム503より前方なのか後方なのかを判断する。   For example, the search range determination unit 115 calculates the relative sizes of the subjects 513 and 514 with respect to the subject 512 in the backward direction with respect to the frame 503. Similarly, the search range determination unit 115 calculates the relative sizes of the subjects 511 and 510 with respect to the subject 512 in terms of time in the forward direction with reference to the frame 503. Then, the search range determination unit 115 determines whether a large subject larger than the subject 512 is included in front of or behind the frame 503 selected by the user.

図5に示す例では、フレーム503より時間的に後方に向かって被写体が大きくなっているので、検索範囲決定部115は、画像検索範囲の後方のフレーム数n2をより大きく決定する。これにより、ユーザが選択した被写体512がより大きく写っているフレームをより多く画像検索範囲に含めることができる。   In the example illustrated in FIG. 5, the subject is larger in the backward direction than the frame 503, so the search range determination unit 115 determines the number of frames n2 behind the image search range to be larger. As a result, more frames in which the subject 512 selected by the user is larger can be included in the image search range.

図6は、ユーザが選択した被写体が時間的に後方に向かって小さくなる例の模式図を示す。図6に示す例では、ユーザが選択した被写体612に対して、被写体613,614と時間的に後方に向かっていくほど被写体の大きさが小さくなる。逆に被写体611,610と時間的に前方に向かっていくほど、被写体が大きくなる。このような場合、検索範囲決定部115は、画像検索範囲の前方のフレーム数n1をより大きく決定する。これにより、ユーザが選択した被写体612がより大きく写っているフレームをより多く検索範囲に含めることができる。   FIG. 6 shows a schematic diagram of an example in which the subject selected by the user becomes smaller backward in time. In the example illustrated in FIG. 6, the size of the subject decreases as the subject 612 selected by the user moves backward with respect to the subjects 613 and 614 in time. On the contrary, the subject becomes larger as it moves forward in time with the subjects 611 and 610. In such a case, the search range determination unit 115 determines the number of frames n1 ahead of the image search range to be larger. Thereby, more frames in which the subject 612 selected by the user is shown larger can be included in the search range.

本実施例では、ユーザが選択した被写体の大きさに応じて画像検索範囲を変更するので、ユーザが選択した被写体をより大きなサイズで含む同フレームを発見でき、効率的な検索を実現できる。ユーザは気軽に検索の指標又は基準となる被写体を選択すれば良くなり、検索作業の容易化につながる。   In this embodiment, since the image search range is changed according to the size of the subject selected by the user, the same frame including the subject selected by the user in a larger size can be found, and an efficient search can be realized. The user can easily select a subject to be used as a search index or reference, which facilitates the search operation.

ユーザが選択した被写体が検出され続けている間を画像検索範囲とする変更実施例を説明する。このために、図2のステップS205を、ユーザが選択した被写体がフレーム内に検出され続けている期間を画像検索範囲に決定するように変更する。   A description will be given of a modified embodiment in which the image search range is set while the subject selected by the user is continuously detected. For this purpose, step S205 in FIG. 2 is changed so that the period during which the subject selected by the user is continuously detected in the frame is determined as the image search range.

図7は、本実施例の説明例を示す模式図である。フレーム701,702,703,704が動画像を構成する。フレーム701からフレーム704に向かって時間が流れているとする。   FIG. 7 is a schematic diagram illustrating an example of the present embodiment. Frames 701, 702, 703, and 704 form a moving image. Assume that time flows from the frame 701 toward the frame 704.

ステップS205で、システム制御部112は、ユーザが選択した被写体712と同じ被写体を、時間的に前方と後方に向かい同被写体が認識されなくなるまで被写体認識部114に認識させる。図7に示す例では、フレーム703より時間的に前方にあるフレーム702でユーザが選択した被写体712と同一の被写体711が検出される。しかし、前方にあるフレーム701と後方にあるフレーム704では、被写体712と同一の被写体は検出されない。   In step S <b> 205, the system control unit 112 causes the subject recognition unit 114 to recognize the same subject as the subject 712 selected by the user until the subject is no longer recognized in time and forward. In the example illustrated in FIG. 7, the same subject 711 as the subject 712 selected by the user in the frame 702 that is temporally ahead of the frame 703 is detected. However, the same subject as the subject 712 is not detected in the front frame 701 and the rear frame 704.

システム制御部112は被写体認識部114の認識結果を検索範囲決定部115に転送し、検索範囲決定部115は、ユーザが選択した被写体712と同じ被写体が検出され続けている範囲を画像検索範囲として決定する。図7に示す例では、フレーム703より前方の、画像検索範囲を示すフレーム数n1は1となり、結局、フレーム702のみを画像検索範囲に含めることになる。他方、フレーム703より時間的に後方の、画像検索範囲を示すフレーム数n2は0となる。なぜなら、フレーム703の直後のフレーム704において、ユーザが選択した被写体712と同一の被写体が検出されなかったからである。   The system control unit 112 transfers the recognition result of the subject recognition unit 114 to the search range determination unit 115, and the search range determination unit 115 sets a range in which the same subject as the subject 712 selected by the user is continuously detected as an image search range. decide. In the example shown in FIG. 7, the number n1 of frames indicating the image search range ahead of the frame 703 is 1, and only the frame 702 is included in the image search range after all. On the other hand, the frame number n2 indicating the image search range that is temporally behind the frame 703 is zero. This is because the same subject as the subject 712 selected by the user was not detected in the frame 704 immediately after the frame 703.

本実施例では、ユーザが選択した被写体と同じ被写体を含む範囲を画像検索範囲として決定するので、ユーザが選択した被写体を含むフレーム中から好ましいフレームを検索することになり、効率的な検索を実現できる。ユーザは気軽に検索の指標又は基準となる被写体を選択すれば良くなり、検索作業の容易化につながる。   In this embodiment, since a range including the same subject as the subject selected by the user is determined as the image search range, a preferable frame is searched from the frames including the subject selected by the user, and an efficient search is realized. it can. The user can easily select a subject to be used as a search index or reference, which facilitates the search operation.

上述した各実施例1〜3では、シーンを越えて画像検索範囲を決定するとしたが、1シーン内に限定しても良い。例えば、プレイリストなどで編集した1ファイルを1シーンとしてもよい。実施例1〜3で、時間的に前方での画像検索範囲をシーン開始フレームに制限し、時間的に後方での画像検索範囲をシーン終了フレームに制限することになる。   In each of the first to third embodiments described above, the image search range is determined beyond the scene, but may be limited to one scene. For example, one file edited with a playlist or the like may be set as one scene. In the first to third embodiments, the temporal image search range is limited to the scene start frame, and the temporal image search range is limited to the scene end frame.

このように画像検索範囲を同一シーン内に限定することで、検索を効率化できる。   By limiting the image search range to the same scene in this way, the search can be made efficient.

Claims (7)

複数のフレームからなる動画像から静止画を検索する検索条件を設定する設定手段と、
前記動画像に含まれる被写体を選択する選択手段と、
前記選択手段で前記被写体を選択したフレームを中心に、前記被写体の状態に応じて前記動画像の画像検索範囲を決定する検索範囲決定手段と、
前記選択手段により選択される被写体と同じ被写体であって前記検索条件に合う被写体を含むフレームを前記画像検索範囲内で検索する検索手段
とを具備することを特徴とする画像検索装置。
Setting means for setting a search condition for searching for a still image from a moving image consisting of a plurality of frames;
Selecting means for selecting a subject included in the moving image;
Search range determining means for determining an image search range of the moving image according to the state of the subject around the frame where the subject is selected by the selection means;
An image search apparatus comprising: search means for searching within the image search range for a frame that includes the same subject as the subject selected by the selection means and includes a subject that satisfies the search condition.
前記被写体の状態が前記被写体のフレーム間での動き量であることを特徴とする請求項1に記載の画像検索装置。   The image search apparatus according to claim 1, wherein the state of the subject is a movement amount between frames of the subject. 前記検索範囲決定手段は、前記動き量が多い場合に前記画像検索範囲を狭く決定することを特徴とする請求項2に記載の画像検索装置。   The image search apparatus according to claim 2, wherein the search range determination unit determines the image search range to be narrow when the amount of motion is large. 前記検索範囲決定手段は、前記動き量が少ない場合に前記画像検索範囲を広く決定することを特徴とする請求項2に記載の画像検索装置。   The image search apparatus according to claim 2, wherein the search range determination unit determines the image search range widely when the amount of motion is small. 前記被写体の状態が前記被写体のフレーム内での大きさの変化であることを特徴とする請求項1に記載の画像検索装置。   The image search apparatus according to claim 1, wherein the state of the subject is a change in size of the subject within a frame. 前記検索範囲決定手段は、前記選択手段により選択される被写体と同じ被写体がフレーム内に検出され続けている期間を前記画像検索範囲として決定することを特徴とする請求項1に記載の画像検索装置。   2. The image search apparatus according to claim 1, wherein the search range determination unit determines, as the image search range, a period during which the same subject as the subject selected by the selection unit is continuously detected in a frame. . 前記検索範囲決定手段は、同じシーン内で前記画像検索範囲を決定することを特徴とする請求項1乃至請求項6のいずれか1項に記載の画像検索装置。   The image search apparatus according to claim 1, wherein the search range determination unit determines the image search range within the same scene.
JP2013001342A 2013-01-08 2013-01-08 Image search apparatus Pending JP2014134898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013001342A JP2014134898A (en) 2013-01-08 2013-01-08 Image search apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013001342A JP2014134898A (en) 2013-01-08 2013-01-08 Image search apparatus

Publications (1)

Publication Number Publication Date
JP2014134898A true JP2014134898A (en) 2014-07-24

Family

ID=51413127

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013001342A Pending JP2014134898A (en) 2013-01-08 2013-01-08 Image search apparatus

Country Status (1)

Country Link
JP (1) JP2014134898A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112016004086T5 (en) 2015-09-09 2018-06-14 Sumitomo Electric Industries, Ltd. Semiconductor device
JP2019036921A (en) * 2017-08-21 2019-03-07 キヤノン株式会社 Image processing apparatus and image processing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007281858A (en) * 2006-04-06 2007-10-25 Omron Corp Animation editing device
JP2010041247A (en) * 2008-08-01 2010-02-18 Canon Inc Image processor, method and program
JP2011103641A (en) * 2009-10-14 2011-05-26 Nikon Corp Imaging apparatus and image processing device
JP2012123460A (en) * 2010-12-06 2012-06-28 Toshiba Corp Video retrieval device and video retrieval method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007281858A (en) * 2006-04-06 2007-10-25 Omron Corp Animation editing device
JP2010041247A (en) * 2008-08-01 2010-02-18 Canon Inc Image processor, method and program
JP2011103641A (en) * 2009-10-14 2011-05-26 Nikon Corp Imaging apparatus and image processing device
JP2012123460A (en) * 2010-12-06 2012-06-28 Toshiba Corp Video retrieval device and video retrieval method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112016004086T5 (en) 2015-09-09 2018-06-14 Sumitomo Electric Industries, Ltd. Semiconductor device
JP2019036921A (en) * 2017-08-21 2019-03-07 キヤノン株式会社 Image processing apparatus and image processing method
JP7022534B2 (en) 2017-08-21 2022-02-18 キヤノン株式会社 Image processing device and image processing method

Similar Documents

Publication Publication Date Title
US8319859B2 (en) Digital camera having a variable frame rate and method of controlling the digital camera
JP5267149B2 (en) Display control apparatus, display control method, and program
JP2010171815A (en) Imaging apparatus, subject tracking method, and program
JP2011248159A (en) Imaging apparatus, imaging system, imaging apparatus control method and program
KR101948692B1 (en) Phtographing apparatus and method for blending images
JP2009246558A (en) Imaging apparatus, and method for controlling the same
JP4561475B2 (en) Digital camera device and program thereof
US9601158B2 (en) Moving image selection apparatus for selecting moving image to be combined, moving image selection method, and storage medium
US10148861B2 (en) Image pickup apparatus generating focus changeable image, control method for image pickup apparatus, and storage medium
JP5266701B2 (en) Imaging apparatus, subject separation method, and program
JP5367129B2 (en) Imaging apparatus, control apparatus, and control method thereof
JP2014168147A (en) Image processing program and digital camera
JP2014134898A (en) Image search apparatus
JP2009038478A (en) Program, image processing apparatus, imaging apparatus, and image processing method
JP4797847B2 (en) Image processing apparatus, image processing procedure and program
JP5635546B2 (en) Imaging device and method for controlling imaging device
JP5217709B2 (en) Image processing apparatus and imaging apparatus
US9955135B2 (en) Image processing apparatus, image processing method, and program wherein a RAW image to be subjected to special processing is preferentially subjected to development
JP6427859B2 (en) Image processing apparatus, image processing method, and program
JP6274779B2 (en) Focus adjustment device, imaging device, and focus adjustment method
JP6512208B2 (en) Image processing apparatus, image processing method and program
US10410674B2 (en) Imaging apparatus and control method for combining related video images with different frame rates
JP2009071857A (en) Image processing apparatus, image processing method and program
JP2009049457A (en) Imaging device and program
US20140002696A1 (en) Image generating apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161005

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161018

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170523