JP5678775B2 - Image processing apparatus and image processing method - Google Patents
Image processing apparatus and image processing method Download PDFInfo
- Publication number
- JP5678775B2 JP5678775B2 JP2011078635A JP2011078635A JP5678775B2 JP 5678775 B2 JP5678775 B2 JP 5678775B2 JP 2011078635 A JP2011078635 A JP 2011078635A JP 2011078635 A JP2011078635 A JP 2011078635A JP 5678775 B2 JP5678775 B2 JP 5678775B2
- Authority
- JP
- Japan
- Prior art keywords
- still image
- image
- optimum
- spatial information
- unit
- 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.)
- Active
Links
Images
Landscapes
- Management Or Editing Of Information On Record Carriers (AREA)
- Television Signal Processing For Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
本発明はビデオカメラ及びデジタルビデオカメラ等の画像処理装置及び画像処理方法に関し、特に、動画像又は連写若しくは連続取得された静止画データ内から最適な静止画を抽出する画像処理装置及び画像処理方法に関する。 The present invention relates to an image processing apparatus and an image processing method such as a video camera and a digital video camera, and more particularly to an image processing apparatus and image processing for extracting an optimal still image from moving images or still image data continuously or continuously acquired. Regarding the method.
従来のビデオカメラ等の動画記録再生装置では、再生動画に対して、再生中又は再生一時停止中にシャッタボタンを押すことによって、そのピクチャを静止画として記録する(抽出する)ことができる。動画は静止画の連続体であり、大量の静止画の中からその動画の特徴的な静止画を選び出す作業は困難であった。そこで、動画データの中から、その動画を代表するような静止画を自動的に選び出し、静止画として抽出するような技術が存在する。 In a moving image recording / playback apparatus such as a conventional video camera, a picture can be recorded (extracted) as a still image by pressing a shutter button during playback or playback pause for the playback video. A moving image is a continuum of still images, and it is difficult to select a characteristic still image of the moving image from a large number of still images. Therefore, there is a technique for automatically selecting a still image representative of the moving image from the moving image data and extracting it as a still image.
例えば、特許文献1には、動画像から代表画像を抽出する際に、動画像中のシーンの数に応じて代表画像の枚数が決まってしまうことで動画像内容の一括参照の作業が非効率的になってしまうような状況を回避したり、あるいは,動画像内容を一括把握するための情報としては不十分な代表画像が抽出されることを回避したりすることを目的とした動画像中の代表画像の抽出方法が開示されている。 For example, in Patent Document 1, when a representative image is extracted from a moving image, the number of representative images is determined according to the number of scenes in the moving image, so that the operation of batch reference of moving image contents is inefficient. In moving images for the purpose of avoiding a situation that would be difficult, or extracting representative images that are insufficient as information for collectively grasping the contents of moving images A representative image extraction method is disclosed.
また、特許文献2には、静止画像抽出手段は、撮像した画像を処理して得られた画像処理情報に含まれるフレーム間差分値がしきい値以上である期間を除いた中から静止画像を抽出するか、またはフレーム間差分値が小さいほど高い評価値を出力する静止画像抽出知識にもとづいて各画像についての評価値を求め、評価値が高い画像を抽出する静止画像抽出装置が開示されている。 Further, in Patent Document 2, the still image extraction unit extracts a still image from a period excluding a period in which the interframe difference value included in the image processing information obtained by processing the captured image is equal to or greater than a threshold value. A still image extraction device is disclosed that extracts an image having a high evaluation value by extracting an image having a high evaluation value based on knowledge of still image extraction that extracts or outputs a higher evaluation value as the inter-frame difference value is smaller Yes.
さらに、特許文献3には、動画像を撮影する際に撮影者がカメラを操作したカメラ操作情報を取り込むカメラ操作情報獲得手段と、撮像した画像を処理して得られた画像処理情報を取り込む画像処理情報獲得手段と、センサからの信号を処理して得られた撮影中の撮影状態情報を取り込む撮影状態情報獲得手段と、撮影者が撮影開始操作をしてから撮影終了操作をするまでの間に撮影された動画像の中から少なくとも1枚の静止画像を抽出する静止画像抽出手段を備え、画像処理情報獲得手段からの画像処理情報と撮影状態情報獲得手段からの撮影状態情報の少なくとも一つの情報とカメラ操作情報獲得手段からのカメラ操作情報をもとにして静止画像抽出手段で静止画像を抽出する静止画像抽出装置について開示されている。 Further, Patent Document 3 discloses a camera operation information acquisition unit that captures camera operation information obtained when a photographer operates a camera when capturing a moving image, and an image that captures image processing information obtained by processing the captured image. Processing information acquisition means, shooting state information acquisition means for capturing shooting state information during shooting obtained by processing a signal from the sensor, and from when the photographer performs a shooting start operation until the shooting end operation A still image extracting means for extracting at least one still image from the captured moving images, and at least one of image processing information from the image processing information acquiring means and shooting state information from the shooting state information acquiring means. There is disclosed a still image extraction device that extracts a still image by a still image extraction unit based on information and camera operation information from a camera operation information acquisition unit.
しかしながら、従来の動画から最適な静止画を選び出す機能は、いずれも動画ファイル1つに対して、条件に適した1乃至複数の最適な静止画を切り出すものであり、例えば同一箇所で断続的に動画を撮影した場合、同じ場面で撮影した動画ファイルが複数個存在することになり、前述の従来の最適静止画選択機能を使っても、同じ場面の同じような静止画が複数個生成されてしまうことになる。このような静止画選択は、ユーザの希望に沿っているとは言い切れず、結局ユーザ自身の手でさらに選択し直す必要が生るという問題点がある。 However, the conventional function for selecting the optimum still image from the moving image is to cut out one or more optimum still images suitable for the conditions for one moving image file, for example, intermittently at the same location. When shooting a movie, there will be multiple movie files shot in the same scene, and even if you use the above-mentioned conventional optimum still image selection function, multiple similar still images of the same scene will be generated. It will end up. Such still image selection cannot be said to be in line with the user's wishes, and there is a problem in that it is necessary to make further selection again by the user's own hands.
本発明は、このような問題点を解決するためになされたものであり、動画又は静止画群から、位置情報を考慮に入れつつ最適な静止画を抽出することが可能な画像処理装置、画像処理方法及びプログラムを提供することを目的とする。 The present invention has been made to solve such problems, and is an image processing apparatus and image that can extract an optimum still image from a moving image or a group of still images while taking position information into consideration. It is an object to provide a processing method and a program.
本発明に係る画像処理装置は、動画又は連写若しくは連続取得された静止画群の何れかから成る撮影ファイルを複数記憶する記憶部と、前記記憶部が記憶した前記複数の撮影ファイルそれぞれから、所定の基準又はアルゴリズムにしたがって最適静止画を抽出する最適静止画抽出部と、前記最適静止画抽出部が抽出した複数の各最適静止画から、当該最適静止画が撮影された際の撮影位置又は撮影方向の少なくとも何れか一方の情報を含む空間情報を抽出する空間情報抽出部と、前記空間情報抽出部が抽出した前記空間情報に基づいて、前記複数の最適静止画を1以上のグループにグループ化するグループ化部とを備え、前記最適静止画抽出部は、前記グループ化部がグループ化したグループに複数枚の最適静止画が含まれる場合は、当該グループ毎に一の最適静止画を再度抽出することを特徴とするものである。 The image processing apparatus according to the present invention includes a storage unit that stores a plurality of shooting files consisting of either moving images, continuous shots, or continuously acquired still image groups, and each of the plurality of shooting files stored in the storage unit, An optimal still image extracting unit that extracts an optimal still image according to a predetermined standard or algorithm, and a shooting position when the optimal still image is captured from each of the plurality of optimal still images extracted by the optimal still image extracting unit, or A spatial information extraction unit that extracts spatial information including information on at least one of the shooting directions, and the plurality of optimum still images are grouped into one or more groups based on the spatial information extracted by the spatial information extraction unit A grouping unit configured to generate a group, and the optimum still image extracting unit includes a grouping unit that includes the grouping unit when the grouping unit includes a plurality of optimum still images. Per-loop is characterized in that to extract an optimal still image again.
さらに、前記記憶部は、N(Nは2以上の自然数)以上の撮影ファイルを記憶するものであって、前記グループ化部は、前記最適静止画抽出部が抽出した第n(nは、2以上、(N−1)以下の自然数)番目の撮影ファイルから抽出した最適静止画の空間情報と、第(n+1)番目の撮影ファイルから抽出した最適静止画の空間情報とに基づき、両最適静止画が同一グループに含まれるか否か判断することができ、各撮影ファイルの空間情報を順次比較していくことで、確実にグループ化を行うことができる。 Further, the storage unit stores N (N is a natural number of 2 or more) or more shooting files, and the grouping unit is the nth (n is 2) extracted by the optimum still image extraction unit. As described above, based on the spatial information of the optimal still image extracted from the (N-1) or less natural number) shooting file and the spatial information of the optimal still image extracted from the (n + 1) th shooting file, both optimal still images It is possible to determine whether or not the images are included in the same group, and it is possible to reliably perform grouping by sequentially comparing the spatial information of each captured file.
さらにまた、前記最適静止画抽出部は、前記グループ化部がグループを複数生成し、当該グループ毎に最適な静止画を再度抽出する際は、空間情報からなる第1の情報、及び前記所定の基準又はアルゴリズムで使用した基準値又は特徴量からなる第2の情報のいずれか1以上を使用して最適静止画を抽出することができ、最適静止画抽出部は、再度最適静止画を抽出する際には、既に算出する等している情報から最適静止画抽出処理を実施することができる。 Still further, the optimum still image extracting unit generates a plurality of groups by the grouping unit, and when the optimum still image is extracted again for each group, the first information consisting of spatial information and the predetermined information The optimum still image can be extracted using any one or more of the second information including the reference value or the feature value used in the reference or algorithm, and the optimum still image extraction unit extracts the optimum still image again. In this case, the optimum still image extraction process can be performed from information already calculated.
また、前記各撮影ファイルに含まれるフレーム画像又は静止画の少なくとも一部の前記空間情報の変化量を抽出し、当該空間情報の変化量の大きさに基づき、モードを判定するモード判定部を備え、前記空間情報の変化量が所定の閾値より大きい場合は、前記最適静止画抽出部より最適静止画を抽出した後前記グループ化部でグループ化し、必要に応じて前記最適静止画抽出部により再度最適静止画を抽出する第1のモードを選択し、前記空間情報の変化量が所定の閾値より小さい場合は、前記グループ化部によりグループ化した後前記最適静止画抽出部により最適静止画を抽出する第2のモードを選択することができ、空間情報の変化量の大きさに基づきモードを判定することで、特に変化量の大きさに適したモードに設定することができる。 In addition, a mode determination unit that extracts a change amount of the spatial information of at least a part of a frame image or a still image included in each shooting file and determines a mode based on the magnitude of the change amount of the spatial information is provided. When the amount of change in the spatial information is larger than a predetermined threshold, the optimum still images are extracted from the optimum still image extracting unit and then grouped by the grouping unit, and again by the optimum still image extracting unit as necessary. When the first mode for extracting the optimum still image is selected and the amount of change in the spatial information is smaller than a predetermined threshold, the optimum still image is extracted by the optimum still image extracting unit after grouping by the grouping unit The second mode can be selected, and by determining the mode based on the amount of change in the spatial information, a mode suitable for the amount of change can be set. .
さらに、前記モード判定部は、前記空間情報の変化量の大きさに換えて、又は加えて、前記撮影ファイルの数及び全撮影ファイルに含まれるフレーム画像又は静止画の枚数のいずれか1以上の情報に基づき、前記第1又は第2のモードを選択することができ、モードの設定は、変化量の大きさだけでなく、全体の処理速度を考慮して設定することも可能である。 Further, the mode determination unit may change or add to the magnitude of the amount of change in the spatial information, and may be any one or more of the number of shooting files and the number of frame images or still images included in all shooting files. Based on the information, the first or second mode can be selected, and the mode can be set in consideration of not only the amount of change but also the overall processing speed.
さらにまた、前記モード判定部は、各撮影ファイル毎に、各撮影ファイルに含まれる各フレーム画像又は静止画における前記空間情報の変化量の平均値、最大値、及び最小値をそれぞれ算出し、当該平均値と最大値又は最小値との差のうち大きい方を代表値として求め、各撮影ファイル毎に算出された前記代表値が所定の閾値より大きい場合は、前記第1のモードを選択し、各撮影ファイル毎に算出された前記代表値が所定の閾値より小さい場合は、前記第2のモードを選択することができ、平均値と、最大値・最小値とからその撮影ファイルを代表する位置情報となる代表値を決定し、これに応じてモードを判定することができる。 Furthermore, the mode determination unit calculates an average value, a maximum value, and a minimum value of the amount of change in the spatial information in each frame image or still image included in each shooting file for each shooting file, The larger one of the difference between the average value and the maximum value or the minimum value is obtained as a representative value, and when the representative value calculated for each shooting file is larger than a predetermined threshold, the first mode is selected, When the representative value calculated for each shooting file is smaller than a predetermined threshold, the second mode can be selected, and the position representing the shooting file from the average value and the maximum and minimum values. A representative value as information can be determined, and the mode can be determined accordingly.
また、前記最適静止画抽出部は、前記動画を構成するフレーム画像、又は前記連写若しくは連続取得された静止画群を構成する静止画から得られる特徴量に基づき最適静止画を抽出することができ、最適静止画抽出処理は、特徴慮に基づく実施することができる。 The optimum still image extraction unit may extract an optimum still image based on a feature value obtained from a frame image constituting the moving image or a still image constituting the group of still images continuously or continuously acquired. The optimum still image extraction process can be performed based on feature considerations.
さらに、前記最適静止画抽出部は、前記所定の基準又はアルゴリズムにしたがって一のフレーム画像を抽出して前記最適静止画とするか、2以上のフレーム画像を抽出しこれらを合成して前記最適静止画を生成することができ、2以上のフレーム画像を合成して1枚の静止画を生成することで、フレーム画像に含まれる各種ノイズを低減することができる。 Further, the optimum still image extraction unit extracts one frame image according to the predetermined standard or algorithm to make the optimum still image, or extracts two or more frame images and synthesizes them to combine the optimum still image. An image can be generated, and two or more frame images are combined to generate a single still image, whereby various noises included in the frame image can be reduced.
本発明に係る画像処理方法は、動画又は連写若しくは連続取得された静止画群の何れかから成る撮影ファイルを複数記憶する記憶部が記憶した前記複数の撮影ファイルそれぞれから、所定の基準又はアルゴリズムにしたがって最適静止画を抽出する最適静止画抽出工程と、前記最適静止画抽出工程にて抽出された複数の各最適静止画から、当該最適静止画が撮影された際の撮影位置又は撮影方向の少なくとも何れか一方の情報を含む空間情報を抽出する空間情報抽出工程と、前記空間情報抽出工程にて抽出された前記空間情報に基づいて、前記複数の最適静止画を1以上のグループにグループ化するグループ化工程とを有し、前記最適静止画抽出工程では、前記グループ化工程にてグループ化されたグループに複数枚の最適静止画が含まれる場合は、当該グループ毎に一の最適静止画を再度抽出することを特徴とするものである。 An image processing method according to the present invention includes a predetermined reference or algorithm from each of the plurality of shooting files stored in a storage unit that stores a plurality of shooting files consisting of moving images, continuous shooting, or continuously acquired still image groups. The optimum still image extracting step for extracting the optimum still image according to the method, and from the plurality of optimum still images extracted in the optimum still image extracting step, the shooting position or shooting direction when the optimum still image is shot is selected. A plurality of optimum still images are grouped into one or more groups based on a spatial information extraction step for extracting spatial information including at least one of the information and the spatial information extracted in the spatial information extraction step In the optimum still image extraction step, a plurality of optimum still images are included in the group grouped in the grouping step. If it is characterized in that to extract an optimal still image for each said group again.
本発明に係るプログラムは、上述の画像処理を、コンピュータに実行させるためのものである。 A program according to the present invention is for causing a computer to execute the above-described image processing.
本発明によれば、動画又は静止画群から、位置情報を考慮に入れつつ最適な静止画を抽出することが可能な画像処理装置、画像処理方法及びプログラムを提供することができる。 According to the present invention, it is possible to provide an image processing apparatus, an image processing method, and a program capable of extracting an optimal still image from a moving image or a group of still images while taking position information into consideration.
以下に図面を参照しながら、本発明に係る撮像装置及び撮像システムの好適な実施の形態について説明する。かかる実施の形態に示す寸法、材料、その他具体的な数値等は、発明の理解を容易とするための例示にすぎず、特に断る場合を除き、本発明を限定するものではない。なお、本明細書及び図面において、実質的に同一の機能、構成を有する要素については、同一の符号を付することにより重複説明を省略し、また本発明に直接関係のない要素は図示を省略する。 DESCRIPTION OF EMBODIMENTS Preferred embodiments of an imaging apparatus and an imaging system according to the present invention will be described below with reference to the drawings. The dimensions, materials, and other specific numerical values shown in the embodiments are merely examples for facilitating understanding of the invention, and do not limit the present invention unless otherwise specified. In the present specification and drawings, elements having substantially the same function and configuration are denoted by the same reference numerals, and redundant description is omitted, and elements not directly related to the present invention are not illustrated. To do.
本実施の形態にかかる撮像装置は、例えば、ビデオカメラやデジタルスチルカメラ等の画像処理装置であって、動画又は連写若しくは連続取得された静止画群から最適静止画を切り出す機能を有するものである。そして、動画又は静止画群1ファイルから単純に最適な静止画を切り出すのではなく、GPS機能等から取得した位置又は撮影方向等を含む空間情報を使用し、同一場面かつ同一方向で撮影している動画又は静止画群を1つの動画静止画群と判別してグループ化し、各グループの中から既存の方法、つまり所定の基準又はアルゴリズムにしたがって最適な静止画を選び出す。または、先ず、既存の方法でフィル毎に最適静止画を抽出し、抽出した最適静止画の空間情報を得て、一のファイルから得た最適静止画の空間情報と、他のファイルから同様に得た最適静止画の空間情報とを比較し、同一と判断できる場合は、いずれか一方を最適静止画として選び出す。以上の処理により、同じような状況(位置・方角)で取得された静止画を複数切り出してしまうようなことを防止し、特徴的な静止画だけを抽出させるものである。以下、本発明の実施の形態について説明する。 The imaging device according to the present embodiment is an image processing device such as a video camera or a digital still camera, for example, and has a function of cutting out an optimal still image from a moving image or a group of still images acquired continuously or continuously. is there. Then, instead of simply cutting out an optimal still image from a movie or still image group 1 file, use spatial information including the position or shooting direction obtained from the GPS function, etc., and shoot in the same scene and in the same direction. A moving image or still image group is discriminated as one moving image still image group and grouped, and an optimal still image is selected from each group according to an existing method, that is, a predetermined standard or algorithm. Or, first, the optimal still image is extracted for each file by the existing method, the spatial information of the extracted optimal still image is obtained, the spatial information of the optimal still image obtained from one file and the other files in the same manner When the spatial information of the obtained optimum still image is compared and it can be determined that they are the same, either one is selected as the optimum still image. By the above processing, it is possible to prevent a plurality of still images acquired in the same situation (position / direction) from being cut out, and to extract only characteristic still images. Embodiments of the present invention will be described below.
<1>本発明の実施の形態1.
上述したように、本発明は、動画又は静止画群から同じような状況(位置・方角)で取得された静止画を複数抽出することを防止するものであり、空間的にも特徴ある静止画を抽出する点に特徴を有するものであるが、本発明の理解を容易とするため、ここでは、先ず、本発明の実施の形態にかかる撮像装置の全体構成について説明する。
<1> Embodiment 1 of the present invention
As described above, the present invention prevents the extraction of a plurality of still images acquired in the same situation (position / direction) from a moving image or a group of still images, and still images having spatial characteristics. In order to facilitate understanding of the present invention, first, the overall configuration of the imaging apparatus according to the embodiment of the present invention will be described.
図1は、本発明の実施の形態1に係る撮像装置1aの全体構成を示すブロック図である。本実施の形態にかかる撮像装置1aは、動画及び静止画像を撮影することができる。なお、本発明は、動画を撮像できるものであれば、デジタルスチルカメラをはじめ、携帯電話、PHS(Personal Handyphone System)、PDA(Personal Digital Assistant)等、その他の電子機器においても採用することができる。
FIG. 1 is a block diagram showing an overall configuration of an
撮像装置1aは、ズームレンズ101、フォーカスレンズ102、絞り103、及び撮像素子104を有する撮像部120を備える。ズームレンズ101は図示しないズームアクチュエータによって光軸LAに沿って移動する。同様に、フォーカスレンズ102は、図示しないフォーカスアクチュエータによって光軸LAに沿って移動する。絞り103は、図示しない絞りアクチュエータに駆動されて動作する。
The
撮像装置1aを用いた撮影は以下の手順で行われる。撮像素子104はズームレンズ101、フォーカスレンズ102、及び絞り103を通過した光を光電変換して、被写体のアナログ画像信号を生成する。
Photographing using the
アナログ画像信号処理部105が、このアナログ画像信号を増幅した後、A/D変換部106が、その増幅された信号を画像デジタルデータに変換する。画像入力コントローラ107は、A/D変換部106から出力された画像デジタルデータを取り込んで、バス200を介してラインメモリ203及びメインメモリ204に格納する。
After the analog image
動画像を撮像する場合は、A/D変換部106から出力されたデジタル画像データはバス200を介して、メインメモリ204に格納される。
When capturing a moving image, the digital image data output from the A /
静止画を取得する場合は、撮像素子104で取得された動画から任意のタイミングで静止画フレーム(フレーム画像)を取得し、ラインメモリ203にそのフレーム画像の一部であるフレームデータを格納する。なお、例えば1秒間に60フレームからなる動画の60フレーム全部を静止画として取得する場合は、画像入力コントローラ107からの動画を順次ラインメモリ203に格納すればよく、静止画を任意のタイミングで取得するための構成(例えば静止画取得部)は不要である。また、ユーザの指示により任意のタイミングで静止画を取得する場合は、例えばユーザが撮像装置1aの図示しないシャッタボタンを押下したタイミングに基づき、動画像から所定枚数のフレーム画像を取得しそのフレームデータをラインメモリ203に入力できるようにスイッチ動作するスイッチ等により、静止画取得部を構成することができる。
When acquiring a still image, a still image frame (frame image) is acquired from the moving image acquired by the
上記のように処理することで、撮像装置1が動画像と静止画像を同時に撮像する場合等に、静止画データが直接ラインメモリ203により圧縮処理されたのち、その圧縮後の静止画データがメインメモリ204に格納されるよう構成できるため、メインメモリ204へのデータの格納量を削減することができる。これにより、メインメモリ204のバス帯域を確保することができ、例えば、毎秒60枚取得される静止画フレーム等の圧縮後の静止画データのメインメモリ204への書き込みが可能となるのである。
By processing as described above, when the imaging apparatus 1 captures a moving image and a still image at the same time, after the still image data is directly compressed by the
デジタル信号処理部108は、バス200を介して中央制御部100からの指令に基づき、メインメモリ204に格納された画像デジタルデータを取り込み、所定の信号処理を施して輝度信号と色差信号とからなるデータを生成する。
The digital
デジタル信号処理部108はまた、オフセット処理、ホワイトバランス調整処理、ガンマ補正処理、RGB補完処理、ノイズ低減処理、輪郭補正処理、色調補正処理、光源種別判定処理等の各種デジタル補正を行う。
The digital
多重化部112は、メインメモリ204に格納された画像デジタルデータ及び音声デジタルデータを多重化しストリームデータを生成する。
The multiplexing unit 112 multiplexes the image digital data and audio digital data stored in the
圧縮・伸長処理部201は、バス200を介して中央制御部100からの指示に従い、メインメモリ204に格納されたデータに所定の圧縮処理を施し、圧縮データを生成する。また、中央制御部100からの指令に従い、カード型記録媒体302等に格納された圧縮データに所定形式の伸張処理を施し、非圧縮データを生成する。
The compression /
なお、本実施の形態の撮像装置1aでは、静止画に対してはJPEG規格に準拠した圧縮方式が、動画に対してはMPEG2規格やAVC/H.264規格に準拠した圧縮方式が採用される。
Note that in the
音声・画像処理部202は、バス200を介して中央制御部100の指示に従い、メインメモリ204から読み出したデジタルデータに所定の画像処理を施す。例えばメニュー画像やOSD画像等、各種処理のための画像データを生成し、その画像データをメインメモリ204から読み出されたオリジナルの画像デジタルデータに重畳させて液晶モニタ304に出力する。この出力によって、液晶モニタ304に表示される画像は各種画像データが合成されたものとなる。
The sound /
フラッシュROM206は、ユーザの設定情報等、撮像装置1aの動作に関する各種設定情報を格納している。メインメモリ204は、中央制御部100の演算作業領域として使用されるとともに、画像データの一時記憶領域としても使用される。VRAM205は、表示用の画像データの一時記憶領域として使用される。
The
メディア制御部207は、中央制御部100の指令に従い、カードI/F301を通じてカード型記録媒体302へのデータの書き込みやデータの読み出しを制御する。
The
位置センサ208は、3以上のGPS(Global Positioning System)衛星(図示せず)が発信するGPS信号を復調して、発信元のGPS衛星がGPS信号を発信した時刻(発信時刻)と、それぞれのGPS衛星の位置とを取得する。そして、位置センサ208は、時計部210が取得した時刻情報に基づいて、GPS信号を受信した時刻(受信時刻)を抽出し、抽出した受信時刻と、取得した発信時刻とからそれぞれのGPS衛星と当該撮像装置1aとの相対距離を算出し、さらに、三点測位法に基づいて、GPS衛星のそれぞれの位置から算出した相対距離にある当該撮像装置1aの平面位置(緯度、経度情報)を導出する。
The
ここで、本実施の形態にかかる位置センサ208はGPS信号を用いて撮像装置1aの平面位置を導出しているが、位置導出の方法としてはGPS信号を用いるものに限定されない。例えば、平面位置が固定されている少なくとも3つの電波塔からの距離を用い三点測位法に基づいて平面位置を導出したり、撮像装置1aに方位計と3軸の加速度計を搭載し加速度計の積分値を用いて内部的に平面位置を導出したり、既存の様々な平面位置の導出方法を適用することができる。
Here, the
方位角センサ209は、地磁気センサや複数のGPS素子等を用いて構成され、水平面上で撮像部120の光軸が向いている光軸方位角を検出する。
The
位置センサ208が検出した平面位置及び方位センサ209が検出した光軸方位角に関する情報は、多重化部109が生成するストリーム内に付加的な情報として付与される。例えば、H.264/AVCでは、SEI(Supplemental Enhancement Information)内に当該情報を付与することができる。SEI内に当該情報を付与することで、各ピクチャ毎に当該情報を保有することができる。一方、当該情報はストリームとは別にメタデータとして付与してもよい。メタデータとして付与した場合は、ストリームをデコードしなくとも、各ピクチャ毎の情報を得られるというメリットがある。
Information regarding the plane position detected by the
液晶モニタ304、スピーカ305、操作部306及び入出力端子307は入出力I/F303に接続されている。液晶モニタ304は、例えばメインメモリ204に一時記録された撮影画像や各種メニュー画像等、各種画像を表示する。スピーカ305は、例えばメインメモリ204に一時記録された音声を出力する。操作部306は、図示しないリレーズ・スイッチや電源スイッチを含む操作キー、十字キー、ジョイスティック、又は液晶モニタ304上に重畳されたタッチパネル等から構成されており、ユーザの撮像装置1aへの操作入力を受け付ける。
The
入出力端子307は、図示しないテレビモニタやPC(Personal Computer)等に接続される。
The input /
中央制御部100は、CPU(Central Processing Unit)、各種プログラムが格納されたROM、及びワークエリアとしてのRAM等を含む半導体集積回路により構成され、撮影、各種画像の表示、記録、及び後述する最適静止画の抽出処理等、撮像装置1a全体の動作を統括的に制御する。
The
<1−1>最適静止画抽出装置の構成
次に、本実施の形態にかかる撮像装置1aにおける中央制御部100について詳細に説明する。本実施の形態にかかる中央制御部100は、最適静止画抽出部401、空間情報抽出部402、及びグループ化部403を有する。また、中央制御部100には、顔画像情報が登録された顔画像情報登録部404に接続されている。
<1-1> Configuration of Optimal Still Image Extracting Device Next, the
中央制御部100は、メインメモリ204やカードI/F301を介してカード型記録媒体302等に記憶されている複数の動画を撮影ファイルとして取得する。なお、本明細書においては、ユーザが一のファイルとして保存している動画データを動画ファイルといい、後述する、ユーザが一のファイルとして保存している連写若しくは連続取得された静止画群を静止画群ファイルといい、また、動画ファイル及び静止画群ファイルを総称して撮影ファイルという。本実施の形態においては、複数の撮影ファイル、特に動画ファイルから任意の枚数の最適静止画を抽出する方法について説明する。
The
本実施の形態においては、先ず、最適静止画抽出部401は、上記のように取得した複数の撮影ファイルそれぞれから、所定の基準又はアルゴリズムにしたがって最適静止画を抽出する。最適静止画の抽出方法は、特に限定されない。例えば、ユーザが家族や友人の顔画像を顔画像情報登録部404に登録し、動画データを構成する各フレーム画像において、登録した顔画像に一致する顔画像が検出された場合はそれを抽出し、さらに複数抽出された場合は、検出された登録顔画像の数、当該顔画像の大きさ・画面における位置、画像のピント情報・明るさ情報、笑顔のレベル等の各情報の一部又は全部を使用し、最適と判断されるフレーム画像を、1ファイルにつき、1枚、最適静止画として抽出する。この場合、一のフレーム画像を抽出して最適静止画としてもよいし、2以上のフレーム画像を抽出しこれらを合成して最適静止画を生成するようにしてもよい。複数のフレーム画像から1枚の静止画を生成することで、フレーム画像に含まれる各種ノイズを取り除くことができる。
In the present embodiment, first, the optimum still
また、本実施の形態においては、中央制御部100が顔画像検出を実施するものとして説明するが、図1に示すように、図示せぬ顔画像情報登録部を内蔵した顔画像検出部410を別途設け、この顔画像検出部410にて顔画像検出処理を実施し、検出結果を中央制御部100の最適静止画抽出部401に送るようにしてもよい。また、顔画像の検出のみならず、例えばペット等、他の対象物を登録して検出対象に加えるようにしてもよい。
In the present embodiment, the
空間情報抽出部402は、最適静止画抽出部401が抽出した複数の各最適静止画から、当該最適静止画が撮影された際の撮影位置又は撮影方向の少なくとも何れか一方の情報を含む空間情報を抽出する。上述したように、本実施の形態にかかる撮像装置1aは、位置センサ208及び方位センサ209を有する。本実施の形態においては、位置センサ208により取得された位置情報及び方位センサ209により取得された方角情報を合わせて空間情報ということとする。
The spatial
ここで、本実施の形態においては、動画データを撮影する際に、各フレーム画像に対し、位置センサ208により取得された位置情報及び方位センサ209により取得された方角情報を付与するようにしておく。空間情報抽出部402は、これら付与された空間情報を読み出す。
Here, in the present embodiment, when shooting moving image data, the position information acquired by the
また、空間情報は、各フレーム毎ではなく、位置情報や方角情報を取得するタイミングで、1乃至複数枚のフレーム画像毎、又は1乃至複数のGOP毎等に付与するようにしてもよい。例えば各GOPの先頭フレーム画像に空間情報を付与した場合は、1番目のGOPに含まれる各フレーム画像の空間情報は、1番目及び2番目の先頭フレーム画像に付与された空間情報から変化分を時間平均するなどして求めればよい。また、最適静止画を抽出する際には、空間情報が付与されているフレーム画像のみを使用するようにしてもよい。 In addition, the spatial information may be provided not for each frame but for each of one to a plurality of frame images or one to a plurality of GOPs at a timing at which position information and direction information are acquired. For example, when spatial information is given to the first frame image of each GOP, the spatial information of each frame image included in the first GOP is changed from the spatial information given to the first and second first frame images. It may be obtained by averaging the time. Further, when extracting the optimum still image, only the frame image to which the spatial information is added may be used.
次に、グループ化部403は、空間情報抽出部402が抽出した空間情報に基づいて、複数の動画ファイルから各1枚ずつ抽出した複数の最適静止画を1以上のグループにグループ化する。この場合、例えばグループ化部403は、空間情報として、緯度、経度、方角(角度)を取得していた場合、ある一定のエリア内に緯度・経度が存在し、かつ方角が所定角以内である場合に、同一のグループと判断する等とすることができる。ある一定のエリアは、得られる位置情報の精度に応じて単純に1〜数m2毎に位置を区画してもよく、またエリアは長方形の区域であってもよい。
Next, the
方角に関しても、例えばある対象物を、角度を変えて撮影し、どのくらいの角度が異なれば、異なる静止画と判別してよいかの基準値を予め測定しておくかユーザが決定する等してもよい。また、例えば、動画ファイルが20個あり、そこから5枚の最適静止画を得たい場合は、20個の最適静止画を5つのグループにグループ化する必要があるが、ユーザが5枚の最適静止画を得たいという設定をすることで、グループ化部403が動的に上記エリアや角度の基準値を大きくし、又は小さくするなどして、所望の数のグループにグループ化するようにしてもよい。この場合、5つにグループ化された各グループの1以上には、複数のフレーム画像(最適静止画)が含まれることになる。
Regarding the direction, for example, a certain object is photographed by changing the angle, and the user decides in advance whether to measure a reference value of how much the angle is different from that of a different still image. Also good. Also, for example, if there are 20 video files and you want to obtain 5 optimal still images from them, 20 optimal still images need to be grouped into 5 groups. By setting to obtain a still image, the
グループ化部403は、具体的には、撮像装置1aに、N(Nは2以上の自然数)以上の撮影ファイルが記憶されている場合において、最適静止画抽出部401が抽出した第n(nは、2以上、かつ(N−1)以下の自然数)番目の撮影ファイルから抽出した最適静止像の空間情報と、第(n+1)番目の撮影ファイルから抽出した最適静止画の空間情報とに基づき、両最適静止画が同一グループに含まれるか否か判断することにより、全N個の撮影ファイルをグループ化することができる。
Specifically, the
そして、グループ化部403がグループ化したグループに複数枚の最適静止画が含まれる場合は、最適静止画抽出部401は、当該グループ毎に一の最適静止画を再度抽出する。この場合、最適静止画抽出部401は、上述と同様又は異なる既存の基準又はアルゴリズムにしたがって最適静止画を再抽出してもよい。この場合は、最適静止画抽出部401が最初の最適静止画抽出の際に求めた各フレーム画像の特徴量や基準値等(第2の情報)を使用することができる。又は、空間情報抽出部402により抽出された空間情報(第1の情報)を使用し、より最適と判断されるものを抽出するようにしてもよい。又は、これら第1及び第2の情報を合わせて使用し、最適静止画を再抽出するようにしてもよい。
When a plurality of optimum still images are included in the group grouped by the
<1−2>最適静止画抽出方法
次に、本実施の形態にかかる撮像装置1aにおける最適静止画抽出方法について説明する。図2は、本実施の形態にかかる最適静止画抽出方法を示すフローチャートである。図2に示すように、先ず、中央制御部100は、メインメモリ204やカードI/F301を介してカード型記録媒体302等に記憶されている動画ファイルを読み込む(ステップS101)。この場合の動画ファイルは、通常は単一の動画ファイルであるが、ユーザによって1つのファイルとして指定されている複数の動画ファイルから成るものであってもよい。次に、最適静止画抽出部401により、対象物の検出等、既存の方法により、一の動画ファイルから一の最適静止画の抽出を行う(ステップS102)。上述したように、顔画像情報登録部404の登録情報を使用して、登録された顔画像の有無に応じて最適静止画か否かを判断するようにしてもよい。
<1-2> Optimal Still Image Extraction Method Next, an optimal still image extraction method in the
次に、空間情報抽出部402は、各動画ファイルにつき1枚抽出されたフレーム画像(最適静止画)の空間情報を取得する(ステップS103)。このとき、抽出された各最適静止画は、最適静止画抽出処理により使用した特徴量の情報を有する。この特徴量の情報と空間情報抽出部402が取得した空間情報とを合わせて、当該最適静止画の画像情報とする。これら最適静止画の画像情報は空間情報抽出部402に送られる。
Next, the spatial
次に、中央制御部100内の図示せぬ記憶領域に、別動画ファイルからステップS101〜S103により抽出した最適静止画があるか否かをグループ化部403が判断する(ステップS104)。既に抽出されている最適静止画(以下、既存最適静止画ともいう。)が存在する場合(ステップS104:Yes)、グループ化部403は、既存最適静止画の画像情報と、現在の最適静止画の画像情報、すなわち、位置・方角情報(空間情報)、及び特徴量を比較する(ステップS105)。空間情報を比較する場合、先ず、位置情報を抽出して比較し、位置情報が同一とみなせる範囲(同一のグループ)内と見なせない場合は、他の空間情報を比較する必要がない。位置情報が一致した場合、次に方角情報を比較し、方角が同一のグループ内と見なせるか否かを判断すればよい。
Next, the
以上のようにし、既存最適静止画のいずれか1以上と現在の最適静止画との空間情報が同一のグループ内と判断される場合(ステップS106:Yes)、両者の特徴量を比較し、現在の最適静止画の方が特徴量が既存最適静止画の特徴量より大きい場合(ステップS108:Yes)、当該現在の最適静止画で、記憶領域にある既存最適静止画を上書きする(ステップS110)。 As described above, when it is determined that any one or more of the existing optimum still images and the current optimum still image are in the same group (step S106: Yes), the feature amounts of both are compared, If the feature amount of the optimum still image is larger than the feature amount of the existing optimum still image (step S108: Yes), the existing optimum still image in the storage area is overwritten with the current optimum still image (step S110). .
なお、この場合、2以上の既存最適静止画より特徴量が大きいと判断されれば、2以上の既存最適静止画のデータを削除し、現在の最適静止画のデータで置き換える。そして、中央制御部100は、次の動画ファイルがあるか否かを判断し(ステップS111)、動画ファイルがある場合は、ステップS101からの処理を繰り返す。
In this case, if it is determined that the feature amount is larger than that of two or more existing optimum still images, the data of two or more existing optimum still images are deleted and replaced with the data of the current optimum still image. Then, the
一方、記憶領域に別動画ファイルから抽出した最適静止画がない場合は次の動画ファイルの処理を実施する(ステップS111)。また、ステップS106で、比較した最適静止画において、両者の空間情報が同一の範囲内にあると判断されなかった場合は、新たに抽出した最適静止画も最適静止画として保存し(ステップS107)、新たな動画ファイルがある場合はステップS101からの処理を繰り返す(ステップS111)。また、ステップS108で特徴量を比較した結果、もともと記憶されていた最適静止画の方が特徴量が大きい場合は、現在処理中の最適静止画は不敵として削除す(ステップS109)、同様に新たな動画ファイルがある場合は、ステップS101からの処理を繰り返す(ステップS111)。 On the other hand, if there is no optimum still image extracted from another moving image file in the storage area, the processing of the next moving image file is performed (step S111). If it is not determined in step S106 that the spatial information of both of them is within the same range in the compared optimal still images, the newly extracted optimal still image is also stored as the optimal still image (step S107). If there is a new moving image file, the processing from step S101 is repeated (step S111). As a result of comparing the feature values in step S108, if the optimum still image stored originally has a larger feature value, the optimum still image currently being processed is deleted as invincible (step S109). If there is a new moving image file, the processing from step S101 is repeated (step S111).
以上、本発明の実施の形態1においては、既存の最適画像抽出方法により抽出した最適静止画について、空間情報抽出部402が空間情報を取得して、空間的に最適静止画が同様な状況で撮影されているか否かを判定する。したがって、同じようなアングルで動画ファイルを複数個作成した場合には、抽出した空間情報が所定の範囲で一致することとなり、これらはグループ化され、再度最適画像抽出処理によりより最適な静止画を抽出することができ、上述したような、同じような状況(位置・方角)で取得された静止画を複数切り出してしまうことを防止することができる。
As described above, in the first embodiment of the present invention, the spatial
また、動画ファイル内で各フレーム画像の位置や方角情報が大きく変化している場合でも、最適静止画抽出部401により最適静止画を抜き出すため、最適静止画の位置情報は1つに決定される。このため、グループ化部403の空間情報の比較により確実に位置・方向が異なる最適静止画を抽出することができる。
Also, even when the position and direction information of each frame image in the moving image file has changed greatly, the optimum still image is extracted by the optimum still
<2>本発明の実施の形態2.
次に、本発明の実施の形態2について説明する。上述の実施の形態1では、既存の方法で最適静止画を一旦抽出した後、空間情報でグループ化して再度最適静止画を抽出するものであったが、本実施の形態においては、最初に空間情報でグループ化してから最適静止画を抽出するものである。
<2> Embodiment 2 of the present invention
Next, a second embodiment of the present invention will be described. In the first embodiment described above, the optimum still image is once extracted by the existing method, and then grouped by the spatial information to extract the optimum still image again. However, in this embodiment, first, the space is extracted. The optimum still image is extracted after grouping by information.
本実施の形態にかかる撮像装置の構成は、図1に示す撮像装置1aと同様であり、中央制御部100には、最適静止画抽出部401、空間情報抽出部402、及びグループ化部403を備える。詳細な説明は、実施の形態1と同様であり省略する。
The configuration of the imaging apparatus according to the present embodiment is the same as that of the
次に、本実施の形態にかかる静止画抽出方法について説明する。図3は、本実施の形態にかかる最適静止画抽出方法を示すフローチャートである。図3に示すように、先ず、ステップS101と同様に、中央制御部100は、メインメモリ204やカードI/F301を介してカード型記録媒体302等に記憶されている動画ファイルを1つ読み込む(ステップS201)。次に、空間情報抽出部402は、動画ファイルの位置情報及び方角情報を取得し、そこから特徴量Mを算出する(ステップS202)。
Next, the still image extraction method according to this embodiment will be described. FIG. 3 is a flowchart showing the optimum still image extraction method according to this embodiment. As shown in FIG. 3, first, as in step S101, the
ここで、各動画ファイルにおける空間情報については後述するが、簡単には、各動画ファイルの先頭、中央、又は最終フレーム画像における空間情報又はこれらの平均値などを使用することができる。もしくは、全フレーム画像の空間情報の平均値を算出してもよいし、上述のように、空間情報が特定の位置(特定のフレーム画像)にのみ付与されている場合は、それらのうちの1つ又は平均値等を使用してもよい。 Here, although the spatial information in each moving image file will be described later, simply, the spatial information in the head, center, or last frame image of each moving image file, or an average value thereof can be used. Alternatively, the average value of the spatial information of all the frame images may be calculated. As described above, when the spatial information is given only to a specific position (specific frame image), one of them is used. One or an average value may be used.
さらに、ここでの特徴量Mの決め方は特に規定しないが、特徴量Mとは、計算値が一定の範囲内にあるとき、その範囲内にある結果すべてがMとなるような値である。例えば、算出された計算値が1.5から2.4の範囲内にあるとき、四捨五入により得られる特徴量Mは2となる。すなわち、フレーム画像から算出された特徴量の値が1.5から2.4の範囲内にあれば、それらのフレーム画像の特徴量M=2と求まる。この特徴量に基づきグループ化する場合は、例えば特徴量Mの値毎にグループ化することもできるし、特徴量M=0〜5、6〜10、・・等というように、ある範囲毎にグループ化することも可能である。 Further, the method of determining the feature value M here is not particularly defined, but the feature value M is a value such that when the calculated value is within a certain range, all the results within that range become M. For example, when the calculated value is in the range of 1.5 to 2.4, the feature value M obtained by rounding off is 2. That is, if the value of the feature amount calculated from the frame image is within the range of 1.5 to 2.4, the feature amount M = 2 of the frame image is obtained. When grouping based on this feature amount, for example, it can be grouped for each value of the feature amount M, or for every certain range such as feature amount M = 0 to 5, 6 to 10,. Grouping is also possible.
ここで特徴量Mの算出方法の一例について説明する。
(1)
特徴量Mは、5つの要素からなる配列m[5]とし、m[0]は緯度、m[1]は経度、m[2]は標高、m[3]は方角情報、m[4]は顔特徴量とする。緯度、経度、標高は、一般的なGPSで用いられるGPX形式で得られるものとし、精度は全て1/1000000単位まで得られる。方角は内蔵コンパスで得られるものとし、360度単位で得られるものとする。顔特徴量は、顔画像検出部410又は中央制御部100内に設けられた図示せぬ顔画像検出部から得られるものとし、各フレーム画像内で検出された顔の特徴量を現す。
Here, an example of a method for calculating the feature amount M will be described.
(1)
The feature quantity M is an array m [5] consisting of five elements, where m [0] is latitude, m [1] is longitude, m [2] is altitude, m [3] is direction information, m [4] Is a face feature amount. The latitude, longitude, and altitude are obtained in the GPX format used in general GPS, and the accuracy can be obtained up to 1/1000000 units. The direction shall be obtained with a built-in compass, and shall be obtained in units of 360 degrees. The face feature amount is obtained from a face image detection unit (not shown) provided in the face
(2)
それぞれの値に対し、どこまでの誤差を同一の値とするかを規定する設定値をm'[5]とする。説明の簡単のため、緯度のみに対して数値例を示す。
(2)
For each value, a setting value that defines how far the error is set to the same value is m ′ [5]. For ease of explanation, numerical examples are given only for latitude.
(3)
m'[5]にしたがってm[5]を丸めた値をM[5]とする。
m[0]とm'[0]から、M[0]を求める場合について説明する。
m[0]=35.427441
m'[0]=1/10000の場合、1/1000000の桁を四捨五入することでM[0]が得られる。すなわちM[0]=35.42744と求まる。
(3)
A value obtained by rounding m [5] according to m ′ [5] is defined as M [5].
A case where M [0] is obtained from m [0] and m ′ [0] will be described.
m [0] = 35.427441
When m ′ [0] = 1/10000, M [0] is obtained by rounding off 1 / 1000th place. That is, M [0] = 35.44274 is obtained.
(4)
同様に他の要素についてもMを求め、最終的に配列M[5]を出力する。
(4)
Similarly, M is obtained for other elements, and finally an array M [5] is output.
以上により、特徴量Mを算出したら、この特徴量Mの値に応じてグループを決定する(ステップS203)。ここで、グループ化するグループの個数はユーザがその個数、又は個数の下限若しくは上限を指定してもよいし、特徴量Mの変化量が予め定められた範囲を超えた場合は別グループにするなどの基準を設けてもよい。特徴量Mの値に応じては、例えば10個の動画ファイルがそのまま10のグループとされることもあり、10未満のグループにグループ化されることもある。 After the feature amount M is calculated as described above, a group is determined according to the value of the feature amount M (step S203). Here, the number of groups to be grouped may be specified by the user, or the lower limit or upper limit of the number may be designated. If the amount of change in the feature amount M exceeds a predetermined range, the number of groups is set to another group. Such a standard may be provided. Depending on the value of the feature value M, for example, 10 moving image files may be grouped as 10 groups as they are, or may be grouped into groups of less than 10.
次に、グループ登録していない動画ファイルが存在する場合は(ステップS204:Yes)、ステップS201からの処理を繰り返す。すべての動画ファイルをグループ登録し終わったら、各グループを1つの動画ファイルとみなして、ステップS102と同様に、最適静止画抽出部401により、既存の最適静止画抽出方法にしたがって最適静止画抽出処理を行い、各グループにつき1つの最適静止画を抽出する(ステップS205)。上述したように、最適静止画抽出部401は、一のフレーム画像を抽出して最適静止画としてもよいし、2以上のフレーム画像を抽出しこれらを合成して最適静止画を生成するようにしてもよい。複数のフレーム画像から1枚の静止画を生成することで、フレーム画像に含まれる各種ノイズを取り除くことができる。
Next, when there is a moving image file not registered in the group (step S204: Yes), the processing from step S201 is repeated. When all the moving image files have been registered as a group, each group is regarded as one moving image file, and the optimum still image extracting process is performed by the optimum still
以上、本発明の実施の形態2においては、空間情報抽出部402が空間情報を使用して、動画ファイルをグループ化する。つまり、従来は、単純に例えば10個の動画ファイルを10個のファイルとみなして最適静止画を抽出したいたのに対し、本実施の形態においては、10個の動画ファイルが空間的にも異なるファイルであるか否かを空間情報に応じて再度判定し、空間的にも異なる10個のファイルであるか否かを判定する。この結果、空間的に同一のファイルであると判定された場合は、それらをグループ化して1つのファイルとみなすため、実施の形態1と同様に、同じような状況(位置・方角)で取得された静止画を複数切り出してしまうことを防止することができる。
As described above, in the second embodiment of the present invention, the spatial
また、実施の形態1においては、最適静止画抽出、グループ化、再度最適静止画抽出という3段階の処理であるのに対し、本実施の形態においては、グループ化して最適静止画抽出という2段階の処理となるため、実施の形態1と比べて、動画ファイルの個数、動画ファイルを構成するフレーム画像の枚数等にもよるが、最適静止画抽出処理全体の処理量が軽くなる場合がある。ただし、後述するように、移動しながら撮影した場合など、1つの動画ファイル内で空間情報が大きく変化している場合は、抽出された最適静止画の空間情報と、動画ファイルの代表的な空間情報とが異なる可能性があり、その場合は実施の形態1の方法により最適静止画を抽出する方がユーザにとって好ましい場合がありうる。 In the first embodiment, the process is a three-stage process of optimum still image extraction, grouping, and optimum still image extraction. In the present embodiment, the two-stage process of grouping and optimum still picture extraction is performed. Therefore, compared with the first embodiment, the entire processing amount of the optimum still image extraction process may be reduced depending on the number of moving image files, the number of frame images constituting the moving image file, and the like. However, as will be described later, when the spatial information changes significantly in one moving image file, such as when shooting while moving, the extracted information about the optimum still image space and the representative space of the moving image file The information may be different, and in that case, it may be preferable for the user to extract the optimum still image by the method of the first embodiment.
<3>本発明の実施の形態3.
次に、本発明の実施の形態3について説明する。上述の実施の形態1及び2については、動画ファイルから最適な静止画を抽出する方法について説明したが、本実施の形態においては、動画ファイルではなく、高速で連写若しくは連続取得された静止画群を1つのファイルとみなして処理する場合について説明する。
<3> Embodiment 3 of the present invention
Next, a third embodiment of the present invention will be described. In the first and second embodiments described above, the method for extracting an optimal still image from a moving image file has been described. However, in this embodiment, a still image that is not a moving image file but is continuously shot or continuously acquired at high speed. A case will be described in which a group is regarded as one file for processing.
本実施の形態にかかる撮像装置の構成は、図1に示す撮像装置1aと同様であり、中央制御部100には、最適静止画抽出部401、空間情報抽出部402、及びグループ化部403を備える。詳細な説明は、実施の形態1と同様であり省略する。
The configuration of the imaging apparatus according to the present embodiment is the same as that of the
次に、本実施の形態にかかる静止画抽出方法について説明する。図4は、本実施の形態にかかる最適静止画抽出方法を示すフローチャートである。図4に示すように、先ず、ステップS101と同様に、中央制御部100は、メインメモリ204やカードI/F301を介してカード型記録媒体302等に記憶されている、1つのファイルとして保存されている、連写若しくは連続取得された静止画群を1つ読み込む(ステップS201)。
Next, the still image extraction method according to this embodiment will be described. FIG. 4 is a flowchart showing the optimum still image extraction method according to the present embodiment. As shown in FIG. 4, first, as in step S101, the
次に、読みこんだ静止画群ファイルに対して、既存の最適静止画抽出処理を行って最適静止画を抽出する(ステップS302)。一の静止画群ファイルについて処理が終わったら、別の静止画群ファイルから抽出された最適静止画があるかどうかを判定する。 Next, an existing optimum still image extraction process is performed on the read still image group file to extract an optimum still image (step S302). When the processing is completed for one still image group file, it is determined whether there is an optimum still image extracted from another still image group file.
次に、中央制御部100内の図示せぬ記憶領域に、別動画ファイルからステップS301、S302により抽出された最適静止画があるか否かをグループ化部403が判断する(ステップS303)。既に抽出されている最適静止画(以下、既存最適静止画ともいう。)が存在する場合(ステップS303:Yes)、グループ化部403は、既存最適静止画の画像情報と、現在の最適静止画の画像情報、すなわち、位置・方角情報(空間情報)、及び特徴量を比較する(ステップS304)。そして、既存最適静止画のいずれか1以上と現在の最適静止画との空間情報が同一の範囲内と判断される場合(ステップS305:Yes)、両者の特徴量を比較し、現在の最適静止画の方が、特徴量が既存最適静止画の特徴量より大きい場合(ステップS306:Yes)、当該現在の最適静止画で、記憶領域にある既存最適静止画を上書きする(ステップS307)。そして、中央制御部100は、次の静止画群ファイルがあるか否かを判断し(ステップS310)、静止画群ファイルがある場合は、ステップS301からの処理を繰り返す。
Next, the
また、記憶領域に別動画ファイルから抽出した最適静止画がない場合は次の静止画群ファイルの処理を実施する(ステップS310)。また、ステップS305で、比較した最適静止画において、両者の空間情報が同一の範囲内にあると判断されなかった場合は、新たに抽出した最適静止画も最適静止画として保存し(ステップS308)、新たな静止画群ファイルがある場合はステップS301からの処理を繰り返す(ステップS310)。さらに、ステップS306で特徴量を比較した結果、元々記憶されていた最適静止画の方が特徴量が大きい場合は、現在処理中の最適静止画は不敵として削除し(ステップS309)、同様に新たな静止画群ファイルがある場合は、ステップS301からの処理を繰り返す(ステップS310)。 If there is no optimum still image extracted from another moving image file in the storage area, the next still image group file is processed (step S310). In step S305, if it is determined that the spatial information of the two is not within the same range in the compared optimal still images, the newly extracted optimal still image is also stored as the optimal still image (step S308). If there is a new still image group file, the processing from step S301 is repeated (step S310). Further, as a result of comparing the feature amounts in step S306, if the optimum still image stored originally has a larger feature amount, the optimum still image currently being processed is deleted as invincible (step S309), and similarly If there is a new still image group file, the processing from step S301 is repeated (step S310).
以上のステップS303〜ステップS310の処理は、図2に示す実施の形態1のステップS101〜ステップS111に対応する。最適静止画を抽出する撮影ファイルが動画か静止画群かが異なる点である。 The processes in steps S303 to S310 described above correspond to steps S101 to S111 in the first embodiment shown in FIG. The difference is whether the shooting file from which the optimum still image is extracted is a moving image or a still image group.
ここで、撮影ファイルが、本実施の形態のように、高速連写された連続静止画群の場合、動画から抽出する静止画(フレーム画像)とは異なり、静止画1枚毎に、予め位置情報や方角情報等の空間情報を付与することが可能である。本実施の形態においては、例えば、撮像部120が撮影したデータを圧縮・伸張処理部201により圧縮してメインメモリ204に保存する際に、位置センサ208から位置情報、方位センサ209から方角情報を取得し、各静止画1枚毎に付与しておく。これにより、動画の場合は、例えば空間情報が所定のフレーム間隔で付与される場合は、抽出した静止画(フレーム画像)の空間情報をそれらの空間情報に基づき算出して付与する必要が生じるが、撮影時に予め空間情報を付与しておくことで、抽出した静止画の空間情報を計算する必要がなくなる。
Here, in the case where the shooting file is a continuous still image group that is continuously shot at high speed as in the present embodiment, unlike a still image (frame image) extracted from a moving image, a position is previously stored for each still image. It is possible to add spatial information such as information and direction information. In the present embodiment, for example, when the data captured by the
なお、例えば撮影時には位置情報のみを付与しておき、必要に応じて、すなわち位置情報が一致した場合にその方向情報を取得し、比較するようにしてもよい。これにより、各静止画全てに方角情報を付与する処理が削減される。 For example, only position information may be given at the time of shooting, and the direction information may be acquired and compared as necessary, that is, when the position information matches. As a result, the process of giving direction information to all the still images is reduced.
以上のように、本発明の実施の形態3においては、実施の形態1及び2と同様に、空間情報をも用いて最適静止画を抽出するため、同じような状況(位置・方角)で取得された静止画を複数切り出してしまうことを防止することができると共に、実施の形態1と同様に、連続静止画群ファイル内で各静止画の位置や方角情報が大きく変化している場合でも、確実に位置・方向が異なる最適静止画を抽出することができる。 As described above, in the third embodiment of the present invention, as in the first and second embodiments, since the optimum still image is extracted using the spatial information, it is acquired in the same situation (position / direction). In the same manner as in the first embodiment, even when the position and direction information of each still image are greatly changed in the continuous still image group file, it is possible to prevent a plurality of still images that have been cut out. Optimal still images with different positions and directions can be extracted with certainty.
更に、静止画群に含まれる各静止画に空間情報が予め付与されているので、ステップS103のように、空間情報を取得し付与する処理が不要となり、ステップS304で空間情報を比較する際、空間情報抽出部402は、各静止画に付与されている空間情報を読み出し比較するのみでよく、空間情報抽出部402における処理を軽減することが可能となる。
Furthermore, since the spatial information is preliminarily assigned to each still image included in the still image group, the processing for acquiring and giving the spatial information as in step S103 is unnecessary, and when comparing the spatial information in step S304, The spatial
<4>本発明の実施の形態4.
次に、本発明の実施の形態4について説明する。上述の実施の形態1乃至3においては、基本的には、実施の形態1及び3のように、撮影ファイルから既存の最適静止画抽出処理により最適静止画を抽出してから空間情報でグループ化し、その後最適静止画を抽出する方法と、実施の形態2のように、撮影ファイルを空間情報で先ずグループ化し、その後既存の最適静止画抽出処理により最適静止画を抽出する方法との2つの方法を説明した。以下、この実施の形態1及び3の方法で最適静止画を抽出するモードを第1のモードといい、実施の形態2の方法で最適静止画を抽出する方法を第2のモードという。
<4> Embodiment 4 of the present invention.
Next, a fourth embodiment of the present invention will be described. In Embodiments 1 to 3 described above, basically, as in Embodiments 1 and 3, the optimum still images are extracted from the captured file by the existing optimum still image extraction process, and then grouped by spatial information. Then, there are two methods: a method of extracting an optimum still image, and a method of first grouping the shooting files by spatial information and then extracting the optimum still image by an existing optimum still image extraction process as in the second embodiment. Explained. Hereinafter, the mode for extracting the optimum still image by the methods of the first and third embodiments is referred to as a first mode, and the method for extracting the optimum still image by the method of the second embodiment is referred to as a second mode.
本実施の形態においては、この第1のモード又は第2のモードのいずれの方法を使用して最適静止画抽出を行うかを自動で判断するようにするものである。例えば、上述の実施の形態、特に実施の形態1及び2に示す動画ファイルから最適静止画を抽出する場合には、第1及び第2のモードのいずれのモードを使用して最適静止画抽出を行うかの判断のために、撮影ファイルの空間情報が一意に決定されるか否かの基準を用いることができる。 In this embodiment, it is automatically determined which method of the first mode or the second mode is used to perform the optimum still image extraction. For example, when the optimum still image is extracted from the above-described embodiment, particularly the moving image file shown in the first and second embodiments, the optimum still image extraction is performed using any of the first and second modes. In order to determine whether to perform the determination, a criterion as to whether or not the spatial information of the shooting file is uniquely determined can be used.
<4−1>最適静止画抽出装置の構成
図5は、本発明の実施の形態4に係る撮像装置1bの構成を示すブロック図である。図5に示すように、本実施の形態にかかる撮像装置1bは、第1及び第2のモードのいずれのモードを使用するかを判断するために、中央制御部100に、新たにモード判定部405を有している点が実施の形態1と異なる点である。
<4-1> Configuration of Optimal Still Image Extracting Device FIG. 5 is a block diagram showing a configuration of an
このモード判定部405は、各撮影ファイルに含まれるフレーム画像又は静止画の少なくとも一部の空間情報の変化量を抽出し、その空間情報の変化量が所定の閾値より大きい場合は、第1のモードを選択し、空間情報の変化量が所定の閾値より小さい場合は、第2のモードを選択する。
The
このモード判定部405は、具体的には、各撮影ファイル毎に、各撮影ファイルに含まれる各フレーム画像又は静止画における空間情報の変化量の平均値、最大値、及び最小値をそれぞれ算出し、当該平均値と最大値又は最小値との差のうち大きい方を代表値Aとして求め、各撮影ファイル毎に算出された代表値Aが所定の閾値Tより大きい場合は、第1のモードを選択し、各撮影ファイル毎に算出された代表値Aが所定の閾値Tより小さい場合は、第2のモードを選択するものとすることができる。
Specifically, the
ここで、本実施の形態においては、モード判定部405は、空間情報の変化量の大きさに応じてモードを選択するものとして説明するが、この空間情報の変化量の大きさに換えて、又は加えて、撮影ファイルの数及び全撮影ファイルに含まれるフレーム画像又は静止画の総枚数のいずれか1以上の情報に基づき、第1又は第2のモードを選択ことも可能である。すなわち、第1のモードでは、抽出処理、グループ化、及び抽出処理の3段階の処理からなり、第2のモードでは、グループ化及び抽出処理の2段階の処理からなる。いずれの処理の総処理時間は、抽出処理においては抽出処理するフレーム画像又は静止画の枚数による。グループ化においては、グルーピングする対象のファイル数又はフレーム画像若しくは静止画の枚数による。これらの条件に応じて、処理時間の速さを判断し、これに基づき第1のモードか第2のモードかを選択するようにすることも可能である。
Here, in the present embodiment, the
<4−2>最適静止画抽出方法
次に、本実施の形態にかかる撮像装置1bにおける最適静止画抽出方法について説明する。図6は、本実施の形態にかかる最適静止画抽出方法を示すフローチャートである。本例においては、撮影ファイルが動画からなるものとして説明する。例えばGPS付撮像装置で動画を撮影した場合、単位時間あたりにGPS情報が更新され、動画ストリーム内に埋め込まれる。移動しながら動画を撮影した場合、GPS情報は同一動画(一の動画ファイル)内でも大きく変化することがある。そこで、図6に示すように、先ず、任意の空間情報変化量閾値Tを設定する(ステップS401)。この閾値Tは、予め実験等などして所望の値を求めておいてもよいし、第1のモードが推奨されるような場合は、閾値Tを小さくし、第2のモードが推奨されるような場合は閾値Tを大きくするなど動的に変化させてもよい。
<4-2> Optimal Still Image Extraction Method Next, an optimal still image extraction method in the
次に、全ての動画ファイルについて、各動画ファイルに含まれる全フレーム画像の一部又は全部の空間情報を全て参照し(ステップS402)、各動画ファイルについて、平均値と、最大値及び最小値とを求める。そして、平均値と、最大値及び最小値との差をそれぞれ求め、それらのうち大きい方の値を動画の代表位置情報を示す代表値Aとして決定する(ステップS403)。 Next, for all moving image files, all or part of the spatial information of all frame images included in each moving image file is referred to (step S402), and for each moving image file, the average value, maximum value, Ask for. Then, the difference between the average value and the maximum value and the minimum value is obtained, and the larger one of them is determined as the representative value A indicating the representative position information of the moving image (step S403).
そして、全ての動画ファイルの代表値Aと閾値Tを比較する(ステップS404)。そして、全ての動画ファイルのうち、1つでも代表値A>閾値Tの場合、動画の代表値Aではグループ化できないと判断し、図2に示す第1のモード、すなわち、各動画ファイルから最適静止画を抽出した上で位置情報等の空間情報を使用してグループ化するモードにより最適静止画を抽出する(ステップS405)。一方、全ての動画ファイルの代表値A<閾値Tの場合、各動画ファイルの代表値Aとする(ステップS406)。そして、図3に示す第2のモードで最適静止画抽出を行う。すなわち、各動画ファイルの代表値Aでグループ化した後、最適静止画抽出を行うモードで最適静止画抽出を実施する(ステップS407)。 Then, the representative value A and the threshold value T of all moving image files are compared (step S404). If at least one representative value A> threshold value T among all the moving image files, it is determined that the representative value A of the moving images cannot be grouped, and the first mode shown in FIG. After extracting the still image, the optimum still image is extracted by a mode for grouping using spatial information such as position information (step S405). On the other hand, if the representative value A <threshold value T of all moving image files, the representative value A of each moving image file is set (step S406). Then, optimum still image extraction is performed in the second mode shown in FIG. That is, after grouping with the representative value A of each moving image file, the optimum still image extraction is performed in the mode for performing the optimum still image extraction (step S407).
以上、本発明の実施の形態4においては、各動画ファイルの位置情報の変化量の大きさに応じて、最適静止画を抽出するモードを動的に変更することができる。また、位置情報の変化量の情報として、代表値Aを算出するため、第2のモードと判断した場合には、そのままその代表値Aを使用してグルーピングすることができる。例えば、一動画ファイル内で位置情報が大きく変化している場合は、最適静止画の位置情報とその動画ファイルの代表的な位置情報とが異なる場合があり、同じような状況(位置・方角)で撮影されたか否かを正確に判断できない場合が起こりうるが、このように、位置情報の変化量を基準とすることで、最適静止画と動画ファイルの代表的な位置情報とを一致させることができ、同様な状況で撮影されてるか否かを正確に判断することができる。以上により、ユーザは任意の動画ファイル群内から自動的に場面毎の最適な静止画を抽出することができる。 As described above, in the fourth embodiment of the present invention, the mode for extracting the optimum still image can be dynamically changed according to the amount of change in the position information of each moving image file. In addition, since the representative value A is calculated as the information on the amount of change in the position information, when the second mode is determined, the representative value A can be used for grouping as it is. For example, if the position information has changed significantly in one video file, the position information of the optimum still image may differ from the representative position information of the video file, and the same situation (position / direction) In this way, it may not be possible to accurately determine whether or not the image has been shot, but in this way, it is possible to match the optimal still image with the representative position information of the video file by using the amount of change in the position information Therefore, it is possible to accurately determine whether or not the image is taken in the same situation. As described above, the user can automatically extract an optimum still image for each scene from an arbitrary moving image file group.
なお、本発明は上述した実施の形態のみに限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能であることは勿論である。 It should be noted that the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present invention.
例えば、上述の最適静止画抽出処理、空間情報抽出処理、グループ化処理、及びモード判定処理は、CPUにコンピュータプログラムを実行させることにより実現することが可能である。この場合、コンピュータプログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD−ROM(Read Only Memory)、CD−R、CD−R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(random access memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。 For example, the above-described optimum still image extraction processing, spatial information extraction processing, grouping processing, and mode determination processing can be realized by causing a CPU to execute a computer program. In this case, the computer program can be stored using various types of non-transitory computer readable media and supplied to the computer. Non-transitory computer readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (for example, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (for example, magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W and semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (random access memory)) are included. The program may also be supplied to the computer by various types of transitory computer readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
1a 撮像装置
1b 撮像装置
100 中央制御部
120 撮像部
201 圧縮・伸張処理部
203 ラインメモリ
204 メインメモリ
206 フラッシュROM
208 位置センサ
209 方位センサ
301 カードI/F
302 カード型記録媒体
401 最適静止画抽出部
402 空間情報抽出部
403 グループ化部
404 顔画像情報登録部
405 モード判定部
410 顔画像検出部
DESCRIPTION OF
208
302 Card
Claims (8)
前記記憶部が記憶した前記複数の撮影ファイルそれぞれから、所定の基準又はアルゴリズムにしたがって最適静止画を抽出する最適静止画抽出部と、
前記最適静止画抽出部が抽出した複数の各最適静止画から、それら各最適静止画が撮影された際の撮影位置又は撮影方向の少なくとも何れか一方の情報を含む空間情報を抽出する空間情報抽出部と、
前記空間情報抽出部が抽出した前記空間情報に基づいて、前記複数の最適静止画を1以上のグループにグループ化するグループ化部とを備え、
前記最適静止画抽出部は、前記グループ化部がグループ化したグループに複数枚の最適静止画が含まれる場合は、当該グループ毎に一の最適静止画を再度抽出する
ことを特徴とする画像処理装置。 A storage unit for storing a plurality of shooting files consisting of either a moving image or a series of still images acquired continuously or continuously;
An optimal still image extraction unit that extracts an optimal still image from each of the plurality of shooting files stored in the storage unit according to a predetermined standard or algorithm;
Spatial information extraction for extracting, from each of the plurality of optimum still images extracted by the optimum still image extraction unit, spatial information including information on at least one of a photographing position and a photographing direction when each optimum still image is photographed. And
A grouping unit that groups the plurality of optimum still images into one or more groups based on the spatial information extracted by the spatial information extraction unit;
The optimum still image extraction unit, when a plurality of optimum still images are included in the group grouped by the grouping unit, extracts one optimum still image for each group again. apparatus.
前記グループ化部は、前記最適静止画抽出部が抽出した第n(nは、2以上、(N−1)以下の自然数)番目の撮影ファイルから抽出した最適静止画の空間情報と、第(n+1)番目の撮影ファイルから抽出した最適静止画の空間情報とに基づき、両最適静止画が同一グループに含まれるか否か判断する
ことを特徴とする請求項1に記載の画像処理装置。 The storage unit stores N (N is a natural number greater than or equal to 2) or more shooting files,
The grouping unit includes spatial information of the optimal still image extracted from the nth (n is a natural number of 2 or more and (N−1) or less) imaging file extracted by the optimal still image extraction unit, The image processing apparatus according to claim 1, wherein it is determined whether or not both optimal still images are included in the same group based on the spatial information of the optimal still image extracted from the (n + 1) th shooting file.
ことを特徴とする請求項1記載の画像処理装置。 The optimal still image extracting unit generates a plurality of groups by the grouping unit, and re-extracts an optimal still image for each group, the first information including spatial information, and the predetermined reference or algorithm The image processing apparatus according to claim 1, wherein the optimum still image is extracted using at least one of the second information including the reference value and the feature amount used in step 1.
前記空間情報の変化量が所定の閾値より大きい場合は、前記最適静止画抽出部より最適静止画を抽出した後前記グループ化部でグループ化し、必要に応じて前記最適静止画抽出部により再度最適静止画を抽出する第1のモードを選択し、
前記空間情報の変化量が所定の閾値より小さい場合は、前記グループ化部によりグループ化した後前記最適静止画抽出部により最適静止画を抽出する第2のモードを選択する
ことを特徴とする請求項1に記載の画像処理装置。 A mode determining unit that extracts a change amount of the spatial information of at least a part of a frame image or a still image included in each shooting file, and determines a mode based on a magnitude of the change amount of the spatial information;
When the amount of change in the spatial information is larger than a predetermined threshold, the optimum still images are extracted from the optimum still image extracting unit, then grouped by the grouping unit, and optimized again by the optimum still image extracting unit as necessary. Select the first mode for extracting still images,
When the amount of change in the spatial information is smaller than a predetermined threshold value, the second mode in which the optimum still image is extracted by the optimum still image extracting unit after being grouped by the grouping unit is selected. Item 8. The image processing apparatus according to Item 1 .
ことを特徴とする請求項4記載の画像処理装置。 In addition to or in addition to the amount of change in the spatial information, the mode determination unit may include information on one or more of the number of shooting files and the number of frame images or still images included in all shooting files. The image processing apparatus according to claim 4 , wherein the first mode or the second mode is selected based on the first mode.
ことを特徴とする請求項4記載の画像処理装置。 The mode determination unit calculates, for each shooting file, an average value, a maximum value, and a minimum value of the amount of change in the spatial information in each frame image or still image included in each shooting file, and the average value and The larger one of the differences from the maximum value or the minimum value is obtained as a representative value, and when the representative value calculated for each shooting file is larger than a predetermined threshold, the first mode is selected and each shooting file is selected. The image processing apparatus according to claim 4 , wherein the second mode is selected when the representative value calculated every time is smaller than a predetermined threshold.
前記最適静止画抽出工程にて抽出された複数の各最適静止画から、当該最適静止画が撮影された際の撮影位置又は撮影方向の少なくとも何れか一方の情報を含む空間情報を抽出する空間情報抽出工程と、
前記空間情報抽出工程にて抽出された前記空間情報に基づいて、前記複数の最適静止画を1以上のグループにグループ化するグループ化工程とを有し、
前記最適静止画抽出工程では、前記グループ化工程にてグループ化されたグループに複数枚の最適静止画が含まれる場合は、当該グループ毎に一の最適静止画を再度抽出する
ことを特徴とする画像処理方法。 Optimal to extract the optimum still image from each of the plurality of shooting files stored in the storage unit storing a plurality of shooting files consisting of moving images, continuous shooting or a group of still images acquired continuously. A still image extraction process;
Spatial information for extracting, from each of the plurality of optimum still images extracted in the optimum still image extraction step, spatial information including information on at least one of a photographing position and a photographing direction when the optimum still image is photographed. An extraction process;
A grouping step of grouping the plurality of optimum still images into one or more groups based on the spatial information extracted in the spatial information extraction step;
In the optimum still image extracting step, when a plurality of optimum still images are included in the group grouped in the grouping step, one optimum still image is extracted again for each group. Image processing method.
前記最適静止画抽出処理にて抽出された複数の各最適静止画から、当該最適静止画が撮影された際の撮影位置又は撮影方向の少なくとも何れか一方の情報を含む空間情報を抽出する空間情報抽出処理と、
前記空間情報抽出処理にて抽出された前記空間情報に基づいて、前記複数の最適静止画を1以上のグループにグループ化するグループ化処理とをコンピュータに実行させるプログラムであって、
前記最適静止画抽出処理では、前記グループ化処理にてグループ化されたグループに複数枚の最適静止画が含まれる場合は、当該グループ毎に一の最適静止画を再度抽出する
ことを特徴とするプログラム。 Optimal to extract the optimum still image from each of the plurality of shooting files stored in the storage unit storing a plurality of shooting files consisting of moving images, continuous shooting or a group of still images acquired continuously. Still image extraction processing,
Spatial information for extracting, from each of the plurality of optimum still images extracted in the optimum still image extraction process, spatial information including information on at least one of a photographing position and a photographing direction when the optimum still image is photographed. Extraction process,
A program for causing a computer to execute a grouping process for grouping the plurality of optimum still images into one or more groups based on the spatial information extracted in the spatial information extraction process,
In the optimum still image extraction process, when a plurality of optimum still images are included in the group grouped by the grouping process, one optimum still image is extracted again for each group. program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011078635A JP5678775B2 (en) | 2011-03-31 | 2011-03-31 | Image processing apparatus and image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011078635A JP5678775B2 (en) | 2011-03-31 | 2011-03-31 | Image processing apparatus and image processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012213117A JP2012213117A (en) | 2012-11-01 |
JP5678775B2 true JP5678775B2 (en) | 2015-03-04 |
Family
ID=47266711
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011078635A Active JP5678775B2 (en) | 2011-03-31 | 2011-03-31 | Image processing apparatus and image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5678775B2 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3773090B2 (en) * | 1998-11-18 | 2006-05-10 | カシオ計算機株式会社 | Captured image search device, electronic camera device, and captured image search method |
JP4305079B2 (en) * | 2003-07-30 | 2009-07-29 | セイコーエプソン株式会社 | Image management device |
JP5034661B2 (en) * | 2007-05-07 | 2012-09-26 | ソニー株式会社 | Image management apparatus, image display apparatus, imaging apparatus, processing method in these, and program causing computer to execute the method |
JP5289211B2 (en) * | 2009-06-29 | 2013-09-11 | Kddi株式会社 | Image search system, image search program, and server device |
JP2011015161A (en) * | 2009-07-01 | 2011-01-20 | Sharp Corp | Still image acquisition device, still image acquisition method and still image acquisition program |
-
2011
- 2011-03-31 JP JP2011078635A patent/JP5678775B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012213117A (en) | 2012-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2016066978A (en) | Imaging device, and control method and program for the same | |
KR20130098074A (en) | Apparatus and method for shooting a moving picture of camera device | |
KR102386385B1 (en) | Electronic device and method for compressing image thereof | |
JP5838852B2 (en) | Imaging system, imaging apparatus, imaging method, and program | |
EP3596940A1 (en) | Sound recording apparatus, sound system, sound recording method, and carrier means | |
JP2009159559A (en) | Image capturing device and program thereof | |
JP2014146989A (en) | Image pickup device, image pickup method, and image pickup program | |
JPWO2015098110A1 (en) | Imaging apparatus, imaging system, and imaging method | |
WO2018168902A1 (en) | Sound recording apparatus, sound system, sound recording method, and carrier means | |
US11831995B2 (en) | Image capturing apparatus, image capturing method, and carrier means | |
JP2014123908A (en) | Image processing system, image clipping method, and program | |
US20120249840A1 (en) | Electronic camera | |
JP5678775B2 (en) | Image processing apparatus and image processing method | |
KR20140115974A (en) | Photographing device, photographing method and computer readable medium for storing program | |
US20110205396A1 (en) | Apparatus and method, and computer readable recording medium for processing, reproducing, or storing image file including map data | |
JP6256298B2 (en) | IMAGING DEVICE, ITS CONTROL METHOD AND PROGRAM | |
JP2017103753A (en) | Imaging apparatus and recording method | |
JP2014180036A (en) | Photographing device, control method thereof, and program | |
JP6551496B2 (en) | Image pickup apparatus, control method thereof and program | |
JP5687480B2 (en) | Imaging apparatus, imaging method, and imaging program | |
WO2015052959A1 (en) | Imaging device, imaging system, imaging method and imaging program | |
JP6331562B2 (en) | Identification device, identification method, and program | |
JP6375114B2 (en) | Image reproducing apparatus and method for controlling image reproducing apparatus | |
WO2017006772A1 (en) | Image processing device and method | |
KR101784234B1 (en) | A photographing apparatus, a method for controlling the same, and a computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20131001 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140724 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140805 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140929 |
|
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: 20141209 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20141222 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5678775 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |