JP2005318618A - Moving image management apparatus and method - Google Patents
Moving image management apparatus and method Download PDFInfo
- Publication number
- JP2005318618A JP2005318618A JP2005130482A JP2005130482A JP2005318618A JP 2005318618 A JP2005318618 A JP 2005318618A JP 2005130482 A JP2005130482 A JP 2005130482A JP 2005130482 A JP2005130482 A JP 2005130482A JP 2005318618 A JP2005318618 A JP 2005318618A
- Authority
- JP
- Japan
- Prior art keywords
- thumbnail
- moving image
- image
- representative
- section
- 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
Links
Images
Abstract
Description
本発明は、記憶媒体上に記憶された動画像データを一つ又は複数の代表画像によって管理する動画データ管理装置及び方法に関するものである。 The present invention relates to a moving image data management apparatus and method for managing moving image data stored on a storage medium using one or more representative images.
従来より、記憶媒体上に記録された動画像を代表画像によって管理する方法が提案されている。特許第03081304号(特許文献1)では、一般的な動画や静止画の再生機における代表画像の利用方法が開示されており、特に静止画や動画などの選択を行う際の簡易表示などに代表画像を用いることが記載されている。また、特開平11−176137号(特許文献2)、特開2000−322875号(特許文献3)では、動画の区間に対して代表画像を割り当てておき、代表画像を用いて再生指示の対象となる区間を選択する方法が開示されている。 Conventionally, a method for managing a moving image recorded on a storage medium using a representative image has been proposed. Japanese Patent No. 03081304 (Patent Document 1) discloses a method of using a representative image in a general moving image or still image playback device, and is particularly representative of a simple display when selecting a still image or a moving image. The use of images is described. In JP-A-11-176137 (Patent Document 2) and JP-A-2000-322875 (Patent Document 3), a representative image is assigned to a section of a moving image, and a target of a reproduction instruction is used using the representative image. A method for selecting a certain section is disclosed.
このような代表画像の利用形態が一般的になるにつれて、その利用形態も多様化してきている。たとえば、代表画像を用いた画像管理を上記のような再生装置だけでなく、編集装置にも適用することが考えられる。
しかしながら、例えば、同じ動画像の区間に対する代表画像であっても、再生する際のユーザ・インターフェースに適した代表画像と、編集時のユーザ・インターフェースに適した代表画像とはそれぞれ異なる。従って、編集装置をはじめとした様々な機種において代表画像を用いようとすると以下のような問題が生じる。 However, for example, even for representative images for the same moving image section, a representative image suitable for a user interface at the time of reproduction is different from a representative image suitable for a user interface at the time of editing. Therefore, when the representative image is used in various models including the editing apparatus, the following problems occur.
例えば、図1において、11は一連の動画像を示す。この動画像11のうち、区間(a)には、バッターが構えてヒットを放つ一連の動作が撮影されているものとする。代表画像12と代表画像13は同じ区間(a)に関する代表画像である。代表画像12は区間(a)の先頭のフレームから作成されており、バッターが構えた時の画像である。また、代表画像13は、中間のフレームから作成されており、バッターがヒットを放った時の画像であり、区間(a)の内容を把握するのには最も適した代表画像であるといえる。
For example, in FIG. 1, 11 indicates a series of moving images. In the moving
一般に一つの区間に対しては一つの代表画像が割り当てられて登録される。従って、実際には代表画像12か13のいずれかが区間(a)の代表画像として登録されることになる。こうして登録された代表画像は例えば再生装置用のインデックス画像として用いることができる。しかしながら、代表画像13が登録された場合は、再生装置において代表画像選択時に時間的に前の状態から再生が始まる(区間(a)の先頭から再生が始まるため)ことになり、ユーザは違和感を覚えてしまう。一方、代表画像12が登録された場合には、編集装置においてこれを使用した際に、区間(a)の内容をその画像だけでは正確に把握できず、不便である。図1の例で言えば、バッターがヒットをした場面なのか、空振りしてしまった場面なのか、代表画像12からでは判別することができないからである。このように、動画中の同一区間に対する適切な代表画像は、使用される機器の目的によって異なるものとなる。
In general, one representative image is assigned to one section and registered. Therefore, in practice, either the
従来は、再生用や編集用など、動画データの用途や利用形態ごとに、このような代表画像の割り当てや管理を行う必要があった。そのため、例えば編集或は再生といった使用目的ごとに、または動画や静止画ごとに、または機器や方式ごとに、代表画像の情報を冗長に保有する必要があり、また、その代表画像などの情報を利用するための工程のプログラムコードや方式を別々に保有する必要があるという問題点があった。すなわち、種々の動画データ処理において代表画像を用いた動画データを利用する場合に、その利用する装置やプログラムごとに、代表画像などの情報を個別に管理することになっていた。このため、管理を行う装置やプログラムが複数存在しているだけでも無駄なのに、代表画像のデータなども個別に格納されるという無駄が生じていた。このように、代表画像を用いた動画データの操作性を維持しようとすれば、代表画像の管理が繁雑となってしまうという問題がある。 Conventionally, it has been necessary to assign and manage such representative images for each use and usage of moving image data, such as for reproduction and editing. Therefore, it is necessary to have representative image information redundantly for each purpose of use, such as editing or playback, for each moving image or still image, or for each device or method. There is a problem in that it is necessary to separately hold program codes and methods for the processes to be used. That is, when moving image data using representative images is used in various moving image data processing, information such as representative images is individually managed for each device or program to be used. For this reason, although there are only a plurality of devices and programs for management, there is a waste that representative image data and the like are individually stored. Thus, if the operability of the moving image data using the representative image is to be maintained, there is a problem that management of the representative image becomes complicated.
本発明は上記の課題に鑑みてなされたものであり、代表画像の選定に関る情報をその代表画像の属性として持たせることにより、代表画像を用いた種々の動画データ操作の操作性を向上することを目的とする。 The present invention has been made in view of the above-described problems, and improves the operability of various moving image data operations using representative images by providing information on selection of representative images as attributes of the representative images. The purpose is to do.
上記の目的を達成するための本発明による動画像管理装置は以下の構成を備える。すなわち、
記憶媒体上に記録された動画像に対して1つもしくは複数の代表画像を対応付けて管理する装置であって、
動画像に対応付けて代表画像を記憶するとともに、該代表画像の選択基準情報を該代表画像に対応付けて格納した格納手段へアクセスし、所望の動画像に対応して記憶された代表画像の中から処理目的に応じた代表画像を前記選択基準情報に基いて選び出す選択手段と、
前記選択手段で選択された代表画像の一つが指定された場合、その指定された代表画像に対応する区間情報が示す区間の動画像について、前記処理目的に応じた処理を適用する適用手段とを備える。
なお、本明細書において、代表画像とは区間中のフレームの一つ基づいて生成される静止画像(例えばサムネイル)である。また、代表画像とは1区間に一つである必要はなく、同一区間に複数の代表が像が設定されてもかまわないことは言うまでもない。
In order to achieve the above object, a moving image management apparatus according to the present invention comprises the following arrangement. That is,
An apparatus for managing one or a plurality of representative images in association with a moving image recorded on a storage medium,
The representative image is stored in association with the moving image, and the storage unit storing the selection reference information of the representative image in association with the representative image is accessed, and the representative image stored in correspondence with the desired moving image is stored. Selecting means for selecting a representative image according to the processing purpose from among the selection criteria information;
When one of the representative images selected by the selection unit is designated, an application unit that applies a process according to the processing purpose to a moving image in a section indicated by the section information corresponding to the designated representative image; Prepare.
In this specification, the representative image is a still image (for example, a thumbnail) generated based on one of the frames in the section. It is needless to say that one representative image does not have to be one in one section, and a plurality of representative images may be set in the same section.
また、上記の目的を達成する本発明の他の態様による動画像管理方法は、
記憶媒体上に記録された動画像に対して1つもしくは複数の代表画像を対応付けて管理する方法であって、
動画像に対応付けて代表画像を記憶するとともに、該代表画像の選択基準情報を該代表画像に対応付けて格納した格納手段へアクセスし、所望の動画像に対応して記憶された代表画像の中から処理目的に応じた代表画像を前記選択基準情報に基いて選び出す選択工程と、
前記選択工程で選択された代表画像の一つが指定された場合、その指定された代表画像に対応する区間情報が示す区間の動画像について、前記処理目的に応じた処理を適用する適用工程とを備える。
In addition, a moving image management method according to another aspect of the present invention that achieves the above object is
A method for managing one or a plurality of representative images in association with a moving image recorded on a storage medium,
The representative image is stored in association with the moving image, and the storage unit storing the selection reference information of the representative image in association with the representative image is accessed, and the representative image stored in correspondence with the desired moving image is stored. A selection step of selecting a representative image according to the processing purpose from among the selection criteria information;
When one of the representative images selected in the selection step is designated, an application step of applying a process according to the processing purpose to a moving image in a section indicated by the section information corresponding to the designated representative image; Prepare.
本発明によれば、代表画像の選択に関わる情報をその代表画像の属性として持たせるので、種々の動画データ処理の実行において代表画像を用いた操作性が向上する。 According to the present invention, since information related to selection of a representative image is provided as an attribute of the representative image, operability using the representative image is improved in executing various moving image data processing.
以下、添付の図面を参照して本発明の好適な一実施形態を詳細に説明する。 Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.
本実施形態では、代表画像を利用する方式において、代表画像関連の情報を一括して管理/利用できるようにするために、その情報を共有可能とすると共に、その利用形態などに応じて、その代表画像関連の情報の区別もしくは共有ができるように、代表画像作成時の情報を持たせることに特徴がある。ここで、代表画像作成時の情報とは代表画像を対応する動画区間中のどの部分の画像をもとに生成したかを示す、或は対応する動画区間中のどのようなタイプの画像(動きの激しい部分等)を基に生成したかを示すものである。ここで、代表画像作成時の情報には、代表画像の下となるフレームの選定に関する情報(以下、選択基準)が含まれている。 In the present embodiment, in the method of using a representative image, in order to be able to manage / use information related to the representative image collectively, the information can be shared, and the information can be shared depending on the usage form. It is characterized by having information at the time of creating a representative image so that information related to the representative image can be distinguished or shared. Here, the information at the time of creating the representative image indicates which part of the image in the corresponding video segment is generated based on the representative image, or what type of image (motion) in the corresponding video segment. It is shown whether it was produced | generated based on the intense part etc.). Here, the information at the time of creation of the representative image includes information (hereinafter referred to as a selection criterion) relating to selection of a frame below the representative image.
本実施形態によれば、代表画像作成時の情報を持たせるという特徴により、複数の代表画像を一元化して記録・保存でき、無駄が省かれるようになる(例えば、複数種類の使用目的に対応した複数の代表画像を一つのファイルとして管理することができる)。また、個々の装置やプログラムで独特な機能の実現のために適した代表画像を、代表画像の選択基準を参照することで選択できるので、その機能の操作性を向上させることができる。また、同様に、情報の格納時にその配置方式などを、その代表画像関連の情報の利用形態や方式に応じて、異ならせることができる。すなわち、重要なサムネイル(ヘッダ)、インデックス領域、サムネイル領域(フッタ)それぞれの記憶媒体上の配置場所を、アクセスが容易な場所に配置することも可能である。 According to the present embodiment, the characteristic of providing information at the time of creating a representative image allows a plurality of representative images to be recorded and stored in a unified manner, thereby eliminating waste (for example, corresponding to a plurality of types of usage purposes). A plurality of representative images can be managed as one file). In addition, since a representative image suitable for realizing a unique function in each apparatus or program can be selected by referring to a selection criterion for the representative image, the operability of the function can be improved. Similarly, at the time of storing information, the arrangement method and the like can be varied according to the use form and method of the information related to the representative image. In other words, it is possible to arrange the locations of important thumbnails (headers), index regions, and thumbnail regions (footers) on the storage medium so that they can be easily accessed.
以下、本実施形態の動画像処理装置を詳細に説明する。 Hereinafter, the moving image processing apparatus of this embodiment will be described in detail.
図2は、本実施形態における動画像処理装置の制御構成を示すブロック図である。図2において、201はCPUであり、本実施形態の動画像処理装置における各種制御を実行する。202はROMであり、本装置の立ち上げ時に実行されるブートプログラムや各種データを格納する。203はRAMであり、CPU201が処理するための制御プログラムを格納するとともに、CPU201が各種制御を実行する際の作業領域を提供する。204はキーボード、205はマウスであり、ユーザによる各種入力操作環境を提供する。
FIG. 2 is a block diagram illustrating a control configuration of the moving image processing apparatus according to the present embodiment. In FIG. 2, 201 is a CPU that executes various controls in the moving image processing apparatus of the present embodiment.
206は外部記憶装置であり、ハードディスクやフロッピー(登録商標)ディスク、光ディスク、磁気ディスク、光磁気ディスク、磁気テープ等で構成される。207は表示器であり、ディスプレイなどで構成され、結果等をユーザに対して表示する。208はネットワークインターフェースであり、ネットワーク上の各機器との通信を可能とする。209はビデオインターフェースであり、ビデオカメラ210や、VTR212からの動画の取り込みを可能とする。また、211は上記の各構成を接続するバスである。
なお、上記の構成においてビデオカメラ210、VTR212や外部記憶装置206はネットワーク上に配置されたもので代用してもよい。
In the above configuration, the video camera 210,
図3は、本実施形態における動画像処理装置の機能構成を示すブロック図である。300はユーザ操作部であり、ユーザによる指示や入力を、キーボード204及びマウス205などを介して、取得するものである。301は動画入力部であり、ビデオI/F209を介してビデオカメラ210、VTR212などの動画像を読み出し、本実施形態の動画像処理装置に入力するものである。302は動画ファイル蓄積部であり、外部記憶装置206で構成され、動画入力部301によって入力された動画像をファイルの形式で蓄積するものである。
FIG. 3 is a block diagram illustrating a functional configuration of the moving image processing apparatus according to the present embodiment.
303はサムネイル作成部であり、動画ファイル蓄積部302に蓄積されている動画像を表示器207に提示し、ユーザに所望の区間と当該区間中のフレーム画像を指定させ、指定されたフレーム画像を元に、その区間の代表画像としての縮小画像(以下、サムネイル画像)を作成し、指定された区間等の情報とともに動画ファイルとして動画ファイル蓄積部302に蓄積させる。すなわち、サムネイル作成部303により、ユーザは表示器207に提示された動画像を参照して動画像中の区間とその区間を代表するフレームをユーザ操作部300を介して指定することができる。そして、指定されたフレーム画像に基づくサムネイル画像が指定された区間などの情報と共に動画ファイル蓄積部302中により格納される。なお、指定区間として動画全体を指定することも可能である。
A
304は、ブラウズ部であり、動画ファイル蓄積部302よりサムネイルを読み出して、表示器207によりサムネイルを表示するとともに、ユーザによって選択されたサムネイルに対応した動画像を再生する。この場合の動画像の再生では、例えば、選択されたサムネイルが代表している区間のみを再生したり、選択されたサムネイルが代表している区間とそれ以降の動画を再生する。305は編集部であり、動画ファイル蓄積部302中の動画像の編集を行う。また、その編集の途中経過や結果は、表示器207を介して表示される。
A
なお、上述の各部の機能は、CPU201がROM202に格納された制御プログラムを実行することにより実現される。或いは、外部記憶装置206より適宜RAM203に制御プログラムをロードして、CPU201がこれを実行するようにしてもよい。
Note that the function of each unit described above is realized by the
<1.サムネイル格納方法>
図4は、本実施形態における動画ファイル中のサムネイル格納形態の一例を示す概略図である。
<1. Thumbnail storage method>
FIG. 4 is a schematic diagram showing an example of a thumbnail storage form in the moving image file in the present embodiment.
400は動画ファイル蓄積部302によって記憶媒体上に記録された動画ファイルである。なお、動画像の1ファイルとする単位は特に限定されるものではなく、例えば、撮像装置の録画ボタンを押してから停止させるまでのショットを単位としてもよいし、TV放送における番組を1つの単位としてもかまわない。動画像ファイル400は、管理情報などが記録されるヘッダ401、動画像データそのものが記録される動画像402、主にサムネイルが記録されるフッタ403の3つの部分からなる。
ヘッダ401には、動画ファイルのデータサイズ・動画像データの形式・作成された日時などの情報が記録される動画ファイル管理情報404と、1枚のサムネイル405が記録される。フッタ403は、サムネイルを複数枚記録が可能なサムネイル領域407と、各サムネイルのインデックス情報が記録されるインデックス領域406とを具備する。
The
図5は、図4のフッタ403中のインデックス領域406における1インデックス分のデータ構造例を示した図である。
FIG. 5 shows an example of the data structure for one index in the
Start PointとEnd Pointは、それぞれ、当該サムネイルが代表している動画像中の区間の開始点と終了点である。開始点及び終了点は動画の区間を特定できればその形態は特に限定されるものではないが、例えば、タイムコードまたはフレームIDなどで記述するのが好ましいであろう。なお、区間として当該動画像全体が指定された場合、Start Pointは当該動画像の先頭フレームを、End Pointは当該動画像の最終フレームをさすことになる。 Start Point and End Point are the start point and end point of the section in the moving image represented by the thumbnail, respectively. The form of the start point and the end point is not particularly limited as long as the section of the moving image can be specified. However, it is preferable that the start point and the end point are described by, for example, a time code or a frame ID. When the entire moving image is designated as a section, Start Point indicates the first frame of the moving image, and End Point indicates the last frame of the moving image.
Thumbnail Type IDには、サムネイルの作成時における、画像の選択基準毎にIDが定められており、例えば以下のように定義される。 The Thumbnail Type ID is defined for each image selection criterion when creating a thumbnail, and is defined as follows, for example.
Thumbnail Type ID=1:区間の先頭のフレーム
Thumbnail Type ID=2:区間の中間のフレーム
Thumbnail Type ID=3:区間の終了のフレーム
Thumbnail Type ID=4:区間中で動きの激しいフレーム
Thumbnail Type ID=5:区間中で動きの穏やかなフレーム
Thumbnail Type ID=6:区間中でオブジェクトが出現したフレーム
Thumbnail Type ID=7:区間中でオブジェクトが消失したフレーム
Thumbnail Type ID=8:区間中で画質のよいフレーム
Thumbnail Type ID=9:区間中にない画像
上記例は、サムネイルを区間のどのようなフレームから作成されたか、そのタイプごとにIDを規定したものである。これらのIDは、サムネイルの基となる動画中のフレームの選択基準を表すものである。
Thumbnail Type ID = 1: First frame of the section
Thumbnail Type ID = 2: Frame in the middle of the section
Thumbnail Type ID = 3: Frame at the end of the section
Thumbnail Type ID = 4
Thumbnail Type ID = 5: A frame with gentle movement in the section
Thumbnail Type ID = 6: Frame in which the object appears in the section
Thumbnail Type ID = 7: Frame in which the object disappeared in the section
Thumbnail Type ID = 8: Frame with good image quality in the section
Thumbnail Type ID = 9: Image not in the section The above example defines the ID for each type of frame from which the thumbnail was created. These IDs represent selection criteria for frames in the moving image that is the basis of the thumbnail.
また、図5に示されるThumbnail Offsetには、インデックスが指し示すサムネイルへのオフセット(サムネイル領域中の、当該インデックスに対応するサムネイルの位置)が記述される。なお、Thumbnail Type ID=9の区間中にない画像の場合は、未使用となるので、何も記述しないか、最大値などの特別な値を記述するようにしておけばよい。 Further, Thumbnail Offset shown in FIG. 5 describes an offset to the thumbnail indicated by the index (the position of the thumbnail corresponding to the index in the thumbnail area). In the case of an image that is not in the section of Thumbnail Type ID = 9, it is unused, so that nothing is described or a special value such as a maximum value may be described.
図6は図4のヘッダ401中のサムネイル405、及び、フッタ403中のサムネイル領域407における1つのサムネイルのデータ構造例を示した図である。図6の(a)において、Thumbnail Headerにはサムネイル画像の管理情報などが記述される。また、Thumbnail Imageには、サムネイル画像データそのものが記述される。また、図6の(b)には、上記Thumbnail Headerのデータ構造例が示されている。Thumbnail Image Offsetには、サムネイル画像(Thumbnail Image)の格納位置へのオフセット値が記述される。Thumbnail Image Sizeには、サムネイル画像のサイズが記述される。Thumbnail Key Relative Pointには、サムネイルの基になった動画像中のフレームの位置がインデックスに登録されている上記Start Pointからの相対位置によって記述される。
FIG. 6 is a diagram showing an example of the data structure of one thumbnail in the
<サムネイルの登録処理>
図7は、本実施形態によるサムネイル登録の動作例を示したフローチャートである。
<Thumbnail registration process>
FIG. 7 is a flowchart showing an example of thumbnail registration operation according to this embodiment.
まず、ステップS100において、動画入力部301は動画を入力し、動画ファイル蓄積部302へ図4に示した動画ファイルの形式で記録する。このとき、ヘッダ401中のサムネイルを格納する領域とフッタ403のための領域を予約領域として確保しておく。次に、ステップS101において、ユーザによってサムネイルの指定がなされたかを判定する。ここでいうサムネイルの指定とは、サムネイルの基となる動画中の任意のフレームの指定、そのサムネイルが代表することになる動画像中の区間の指定、サムネイルの基となる動画フレームを選択するための選択基準の指定、重要なサムネイルかどうかの指定、などを行なうことである。ここで、選択基準は上述のThumbnail Type IDに対応する。また、重要なサムネイルとは、動画ファイルを代表するものであり、サムネイル405として登録されるものである。
First, in step S100, the moving
サムネイルの指定は、装置の機能を用いて利用者が行なう。例えば、利用者がマニュアルで設定を行う場合は、(1)この装置をサムネイルを指定するための所定のモードに設定し、(2)設定対象の動画中の所望の区間を指定し、(3)この区間を再生させ、(4)その再生中にサムネイルにしたい映像が表示された時点で装置に所定の指示を入力する、ことにより、その時点の画像を基にサムネイルを生成する方式が挙げられる。この場合、指定された動画中の区間により上記Start PointとEnd Pointが決定される。また、所望区間の指定や、サムネイルにしたい画像の指示は、キーボードやマウスを用いて行なう。 The user designates the thumbnail by using the function of the apparatus. For example, when the user performs manual setting, (1) this apparatus is set to a predetermined mode for specifying a thumbnail, (2) a desired section in the moving image to be set is specified, and (3 (4) A method of generating a thumbnail based on the image at that time by playing this section and (4) inputting a predetermined instruction to the device when a video to be made into a thumbnail is displayed during the playback. It is done. In this case, the Start Point and End Point are determined by the section in the designated moving image. Also, the designation of a desired section and the designation of an image to be used as a thumbnail are performed using a keyboard and a mouse.
或は、ユーザによって指定された区間の中から、変化の激しい画像や、変化の少ない画像といった、ユーザによって指定された選択基準を基に自動的に選択してサムネイルを生成するようにしてもよい。 Alternatively, thumbnails may be generated by automatically selecting from a section designated by the user based on a selection criterion designated by the user, such as a rapidly changing image or an image having little change. .
更に、選択基準として、区間中の先頭、中間、終了のいずれかを指定可能とし、「先頭」が指定された場合は当該区間の先頭フレームを、「終了」が指定された場合は当該区間の末尾のフレームを、「中間」が指定された場合は上記(1)〜(4)の手順で指定されたフレームをサムネイルの基の画像として採用するようにしてもよい。 Furthermore, as the selection criterion, any one of the beginning, middle, and end of the section can be specified. When “Start” is specified, the head frame of the section is specified, and when “End” is specified, the section of the section is specified. When “intermediate” is designated as the last frame, the frame designated in the procedures (1) to (4) may be adopted as the base image of the thumbnail.
以上のように、サムネイルの基となる動画フレームの指定の方式には利用者が指定するものや、自動的に装置が指定するものなど、種々の方式が適用可能であり、本発明では、そのいずれの方法であってもかまわない。但し、図7のフローチャートでは、選択基準として先頭、中間、終了を用いた手順を採用するものとして以下の説明を行なう。 As described above, various methods such as those designated by the user and those automatically designated by the device can be applied to the method of designating the video frame that is the basis of the thumbnail. Either method is acceptable. However, in the flowchart of FIG. 7, the following description will be given on the assumption that the procedure using the top, middle, and end is adopted as the selection criterion.
次に、ステップS102において、ステップS101で指定されたサムネイルが重要なサムネイルであるとの指定があるかを判定する。なお、本実施形態では、重要なサムネイルとは、動画ファイル全体を表わすためのサムネイルであることを意味する。ユーザによって重要なサムネイルであると指定がなされている場合は、ステップS103へ進み、サムネイルに採用すべく指定されたフレームの位置を動画ファイルの先頭からの相対位置に直し、Thumbnail Key Relative Pointを得る。次に、ステップS104において、ステップS103で算出したThumbnail Key Relative Pointとサムネイルの画像サイズ(Thumbnail Image Size)、サムネイル画像の格納位置までの相対距離の情報(Thumbnail Image Offset)をヘッダとしたサムネイルをヘッダ401中に記録する。このとき、ヘッダ401を記憶媒体上のアクセスが比較的容易で高速に行える位置、例えば、光ディスクの場合、内周部分に格納してもよい。こうすることにより、動画ファイル選択用のインデックス表示の高速化を実現できる。そして、ステップS101の判断へ戻る。なお、重要なサムネイルの登録は、後の操作で動画ファイルを選択する際に必要となるので、重要なサムネイルの登録が完了するまでは本処理を終了できないようにしてもよい。もちろん、重要なサムネイルが格納されていない場合は、フッタ中のサムネイルの内のいずれかで代用する、例えば最初に格納されたサムネイルで代用するようにしてもよいことは当業者には明らかであろう。また、その場合に、上記処理の終了時に重要なサムネイルの登録完了をチェックする必要がなくなることはいうまでもない。
Next, in step S102, it is determined whether there is a designation that the thumbnail designated in step S101 is an important thumbnail. In the present embodiment, the important thumbnail means a thumbnail for representing the entire moving image file. If the user designates that the thumbnail is important, the process proceeds to step S103, where the position of the frame designated to be adopted for the thumbnail is corrected to the relative position from the top of the moving image file, and the Thumbnail Key Relative Point is obtained. . Next, in step S104, the header is a thumbnail with the Thumbnail Key Relative Point calculated in step S103, the thumbnail image size (Thumbnail Image Size), and the information on the relative distance to the thumbnail image storage position (Thumbnail Image Offset) as a header. Record in 401. At this time, the
一方、ステップS102において重要なサムネイルであると指定されていない場合はステップS105へ進む。ステップS105において、動画ファイル400中のフッタ403のインデックス領域406の未使用領域に新たなインデックスを確保する。次に、ステップS106において、サムネイル領域407の未使用領域に新たなサムネイルを確保する。次に、ステップS107において、ステップS106で確保されたサムネイルへのオフセット値を算出する。
On the other hand, if it is not designated as an important thumbnail in step S102, the process proceeds to step S105. In step S105, a new index is secured in the unused area of the
次に、ステップS108において、指定されているサムネイルのタイプを判定する。ここでは、ユーザによって指定された選択基準(本例では、サムネイルの基となる画像の位置が代表する区間の先頭、中間、終了のいずれであるか)によって分類する処理が示されている。 Next, in step S108, the type of the designated thumbnail is determined. Here, a process of classification according to selection criteria designated by the user (in this example, whether the position of the image that is the basis of the thumbnail is the beginning, middle, or end of the section represented) is shown.
ステップS108によって判定されたタイプに従って処理をステップS109〜S111のいずれかに分岐し、対応するThumbnail Type IDを設定する。これは、上述したThumbnail Type IDをテーブルとして保持しておき、これを参照することで設定することが可能である。本実施形態では、選択基準が、区間の先頭のフレームであれば、Thumbnail Type ID=1(S109)、区間の中間のフレームであれば、Thumbnail Type ID=2(S110)、区間の終了のフレームであれば、Thumbnail Type ID=3(S111)が設定される。ここでは、Typeは3つのみを示したが、一例であって、もちろんこれらに限定されるものではない。 The process branches to any of steps S109 to S111 according to the type determined in step S108, and a corresponding Thumbnail Type ID is set. This can be set by referring to the above-mentioned Thumbnail Type ID as a table. In this embodiment, Thumbnail Type ID = 1 (S109) if the selection criterion is the first frame of the section, Thumbnail Type ID = 2 (S110) if the frame is in the middle of the section, and the end frame of the section. If so, Thumbnail Type ID = 3 (S111) is set. Here, only three types are shown, but this is an example and of course not limited to these.
次に、ステップS112において、ステップS107で算出したオフセット(Thumbnail Offset)、ステップS108からS111において設定したThumbnail Type ID、ユーザにより指定された区間を示す開始点(Start Point)と終了点(End Point)からなるインデックスを生成し、フッタ403に格納する。このとき、フッタ403のインデックス領域406を記憶媒体上のアクセスが比較的容易で高速に行える位置、例えば、光ディスクの場合、内周部分に格納してもよい。こうすることにより、フッタ内のサムネイル選択の高速化を実現できる。
Next, in Step S112, the offset calculated in Step S107 (Thumbnail Offset), the Thumbnail Type ID set in Steps S108 to S111, and the start point (Start Point) and end point (End Point) indicating the section specified by the user. Is generated and stored in the
次に、ステップS113において、サムネイルに採用したフレームの位置を、区間の先頭からの相対位置に直し、Thumbnail Key Relative Pointを得る。そして、ステップS114において、ステップS113で算出したThumbnail Key Relative Pointとサムネイルの画像サイズ(Thumbnail Image Size)をヘッダとして、指定されたフレームを縮小して得られたサムネイル画像とともに、フッタ403に格納し、サムネイル画像の格納位置までの相対距離の情報をThumbnail Image Offsetに格納する。このとき、フッタ403のサムネイル領域407を記憶媒体上のアクセスが比較的容易で高速に行える位置、例えば、光ディスクの場合、内周部分に格納してもよい。こうすることにより、フッタ内のサムネイル表示の高速化を実現できる。次に、ステップS101へ戻り、再びサムネイルの指定がなされれば、ステップS102からステップS114を繰り返す。
Next, in step S113, the position of the frame adopted for the thumbnail is corrected to the relative position from the beginning of the section, and a Thumbnail Key Relative Point is obtained. In step S114, the Thumbnail Key Relative Point calculated in step S113 and the thumbnail image size (Thumbnail Image Size) are stored in the
また、ステップS101において、サムネイルの指定がなされていなければステップS115へ進み、ここで登録処理の終了が指示されていれば本処理を終了する。登録処理の終了が指示されていなければ、ステップS101に戻り、上記処理が繰り返されることになる。 In step S101, if a thumbnail is not designated, the process proceeds to step S115, and if the end of the registration process is instructed here, the process ends. If the end of the registration process is not instructed, the process returns to step S101 and the above process is repeated.
以上の処理によって、重要なサムネイル、インデックス、サムネイル画像のいずれかを記憶媒体上でアクセスが容易な位置に格納することができ、また、使用目的の異なるサムネイルはその選択基準、すなわちThumbnail Type IDによって区別できるので、これらサムネイルを同一ファイルに格納することが可能となり、管理が容易となる。 Through the above processing, any one of the important thumbnails, indexes, and thumbnail images can be stored in a location that can be easily accessed on the storage medium, and thumbnails with different purposes of use can be stored according to their selection criteria, namely Thumbnail Type ID. Since they can be distinguished, these thumbnails can be stored in the same file, and management becomes easy.
<サムネイル活用処理>
次に、上述のサムネイル登録処理によって登録されたサムネイルを活用する際の処理について説明する。
<Thumbnail utilization process>
Next, processing when using the thumbnail registered by the above-described thumbnail registration processing will be described.
[ブラウザによる活用処理]
まず、ブラウザで活用される場合について述べる。図8は、ブラウザのユーザ・インターフェースの一例を示す図である。なお、図8(a)は、ブラウズすべき動画ファイルが所定の選択操作によって選択された後の表示状態を示している。よって、図8(a)に示される各サムネイルは選択されたファイルのフッタに登録されているサムネイルである。ここで、所定の選択操作とは、重要なサムネイルとして各動画ファイルのヘッダに登録されたサムネイルの一覧を図8(a)のように表示し、所望のサムネイルを指定することで動画ファイルを選択することが挙げられる。図8の(a)において、801はブラウザの表示領域全体である。802はサムネイルを並べて表示する領域であり、サムネイルは順番に最上列から始まって、左から右へと列ごとに表示されている。803はスクロールバーであり、これをスクロールすることでサムネイル表示領域802に一度に表示し切れないサムネイルを、順に表示させることができる。804はポインタであり、ユーザはユーザ操作部300の操作によってポインタ804を動かし、サムネイル表示領域802中の所望のサムネイルを指定することができる。ポインタ804でサムネイルが選択されると、図8(b)に示すような動画再生画面805に切り替わり、動画の再生が始まる。
[Utilization by browser]
First, a case where it is used in a browser is described. FIG. 8 is a diagram illustrating an example of a user interface of a browser. FIG. 8A shows a display state after a moving image file to be browsed is selected by a predetermined selection operation. Therefore, each thumbnail shown in FIG. 8A is a thumbnail registered in the footer of the selected file. Here, the predetermined selection operation is to display a list of thumbnails registered in the header of each video file as important thumbnails as shown in FIG. 8A, and select a video file by specifying a desired thumbnail. To do. In FIG. 8A,
以上のブラウザでのサムネイルの活用を実現するための処理について、以下に説明する。図9A、図9Bは本実施形態の動画像処理装置のブラウザ動作時における処理を示すフローチャートである。なお図9A、図9Bで示される処理は、当該動画像処理装置においてブラウザ処理が起動され、ブラウズすべき動画ファイルが指定された場合に実行される。なお、ブラウズすべき動画ファイルの指定に際しては、図8のサムネイル表示領域に各動画ファイルの全体を代表するサムネイル(各動画ファイルのヘッダに格納されているサムネイル)を並べて表示する。そして、ポインタ804によって所望のサムネイルを指示することで、所望の動画ファイルを選択できる。所望の動画ファイルが選択されると図9A、Bに示す処理が起動される。
Processing for realizing the use of thumbnails in the above browser will be described below. 9A and 9B are flowcharts showing processing during browser operation of the moving image processing apparatus of the present embodiment. The processing shown in FIGS. 9A and 9B is executed when browser processing is activated in the moving image processing apparatus and a moving image file to be browsed is designated. When designating a moving image file to be browsed, thumbnails representative of the entire moving image file (thumbnail stored in the header of each moving image file) are displayed side by side in the thumbnail display area of FIG. A desired moving image file can be selected by designating a desired thumbnail with the
まず、ステップS201において、ブラウズ部304は、動画ファイル蓄積部302によって蓄積された動画ファイルのうち、上記操作によって選択された動画ファイル400中のヘッダ401を読み込む。そして、その動画ファイル管理情報404からファイルサイズなどの各種の基本的な管理情報を得て、これをメモリ(RAM203)中に保持する。次に、ステップS202において、フッタ403中のインデックス領域406を読み込み、メモリ(RAM203)中に保持する。次にステップS203において、上記ステップS202で保持したインデックス領域406に含まれるインデックスを開始位置(図5に示したStart Point)で昇順にソートする。これは、後述するサムネイル表示を時系列順に並べるためである。
First, in step S <b> 201, the
次に、ステップS204において、スクロールバー803のバーの現在位置から、サムネイルの表示開始枚数N(N枚目のサムネイルが最上列の左端にあることを示す)を得る。例えば、スクロールバー803が上端にあれば(図8に示した状態)、表示開始枚数N=1となる。従って1枚目のサムネイルから表示が開始されることになる。
In step S204, the display start number N of thumbnails (indicating that the Nth thumbnail is at the left end of the top row) is obtained from the current position of the
次に、先頭のインデックスから順に以下のステップS205〜S212を実行することにより、N枚目以降のブラウズ用のサムネイルをサムネイル表示領域802に表示する。
Next, the following thumbnails for browsing are displayed in the
まず、ステップS205において、ブラウズ部304はブラウズに適したサムネイルか否かをサムネイル登録時の選択基準に基づいて判断する。どのようなサムネイルがブラウズ操作におけるインデックスとして最適であるか、その基準は同じブラウザという利用形態であっても、機器によって異なっていることがある。本実施形態では、ブラウズ部304は、区間の先頭のフレームがインデックスのサムネイルとして適していると判断するものとする。ここで、区間の先頭のフレームかどうかをチェックするには、Thumbnail Type ID=1であるかどうかを確認すればよい。なお、処理の開始時はソート後の先頭のインデックスからチェックをはじめる。
First, in step S205, the
ステップS205でブラウザ用のサムネイルであると判定されたならば、次のステップS206に進む。ステップS206において枚数C(ブラウザ用のサムネイルのうちの何番目か)をカウントする。そして、ステップS207において、カウントされた枚数Cが表示開始枚数N未満であるかどうか(C<N)をチェックする。これは、N枚目未満のサムネイルは表示せず、読み飛ばすための処理である。 If it is determined in step S205 that the thumbnail is for the browser, the process proceeds to the next step S206. In step S206, the number C (the number of thumbnails for browsers) is counted. In step S207, it is checked whether the counted number C is less than the display start number N (C <N). This is a process for skipping without displaying thumbnails less than the Nth.
ここで、Cが表示開始枚数N以上であれば、次のステップS208において、サムネイル表示のためサムネイル画像を読み込む。次にステップS209において、サムネイル画像をサムネイル表示領域802に表示し、ステップS210へ進む。一方、ステップS205において、ブラウジング用のサムネイルでないと判定された場合、または、ステップS207においてN枚目未満であると判定された場合は、そのままステップS210へ進む。
If C is equal to or greater than the display start number N, a thumbnail image is read for thumbnail display in the next step S208. In step S209, the thumbnail image is displayed in the
ステップS210では、次のサムネイルを処理すべく、次のインデックスへ処理対象を移す。ここで、直前の処理が最終のインデックスに対するものであって、次のインデックスが存在しない場合は、処理をステップS213へ進める。次のインデックスが存在する場合は、ステップS212に進み、サムネイル表示領域802で表示可能なサムネイルの枚数を超えたかどうかをチェックする。例えば、図8の(a)に示した例では、サムネイルの表示可能枚数は9枚である。従って、C≧N+9であれば、表示可能なサムネイルを表示し終えたと判断できる。
In step S210, the processing target is moved to the next index in order to process the next thumbnail. Here, if the immediately preceding process is for the final index and there is no next index, the process proceeds to step S213. If the next index exists, the process advances to step S212 to check whether the number of thumbnails that can be displayed in the
ここで、表示可能枚数を超えていなければステップS205へ処理を戻す。すなわち、処理すべきインデックスがなくなるか表示可能枚数を越えるまで、ステップS205〜S210の処理を行って、インデックスを順にチェックしていく。 If the displayable number is not exceeded, the process returns to step S205. That is, the processes in steps S205 to S210 are performed to check the indexes in order until there are no more indexes to be processed or the number of displayable sheets is exceeded.
処理すべきインデックスがなくなった場合、或いはサムネイルの表示枚数がサムネイル表示領域802の表示可能枚数を超えた場合は、ステップS213へ進む。ステップS213では、ユーザによってスクロールバーが操作されたかどうかをチェックし、操作されていれば、ステップS204からステップS212の処理を繰り返すことによって、操作後のスクロールバーの位置に相当するサムネイルを表示する。操作されていなければ、ステップS214に進む。
If there are no more indexes to be processed, or if the number of thumbnails displayed exceeds the number of thumbnails that can be displayed in the
次にステップS214において、ユーザによってサムネイル表示領域802に表示されたサムネイルのうちの一つが選択されたかどうかを判定する。サムネイルが選択されていれば、ステップS215に進み、選択されたサムネイルに対応するインデックスからStart Pointを読み出す。次に、ステップS216において、Start Pointから動画の再生を開始し、動画再生画面805に動画を表示する。その後、処理をステップS217に進める。一方、ステップS214でサムネイルが選択されていない場合は、そのままステップS217へ進む。
In step S214, it is determined whether one of the thumbnails displayed in the
ステップS217では、ブラウズ部304によるブラウジングを終了する指示がなされたかどうかを判定し、終了が指示されていなければステップS213に戻る。終了が指示されていれば本処理を終了する。
In step S217, it is determined whether or not an instruction to end browsing is given by the
なお、上記の例では、サムネイルが選択された場合に、対応するインデックスからStart Pointを取得して、当該位置より再生を開始し、動画像データの最後まで再生を続行するものとするが、これに限らない。選択されたサムネイルに対応するインデックスからStart Point及びEnd Pointを取得して、当該区間を再生するようにしてもよい。なお、停止或はポーズボタンを設けて、任意の位置で動画再生を停止可能にしてもよい。 In the above example, when a thumbnail is selected, the Start Point is acquired from the corresponding index, playback is started from that position, and playback is continued until the end of the moving image data. Not limited to. The start point and end point may be acquired from the index corresponding to the selected thumbnail, and the corresponding section may be reproduced. It should be noted that a stop or pause button may be provided so that moving image playback can be stopped at an arbitrary position.
以上、説明を簡単にするために1つの動画ファイル内をブラウジングする例で説明したが、複数の動画ファイルに対して、サムネイルの選択を行う場合であっても、同様に各動画ファイルに対してサムネイルを表示する処理を繰り返すことで実現可能である。 In the above, for simplification of explanation, the example of browsing within one video file has been described. However, even when selecting thumbnails for a plurality of video files, each video file is similarly selected. This can be realized by repeating the process of displaying thumbnails.
以上の処理により、ブラウザ部304は、サムネイル領域407からブラウジングに適したサムネイルのみを取り出して活用することが可能となる。
Through the above processing, the
[動画編集による活用処理]
次に、動画編集で活用される場合について述べる。図10は、編集部305による動画編集時のユーザ・インターフェースの例である。1000は編集作業ウィンドウであり、編集作業を行う領域である。1001は再生ウィンドウであり、選択した動画ファイルまたは、編集結果を再生して確認するものである。1002は動画ファイルウィンドウであり、各動画ファイルのヘッダにあるサムネイル(重要なサムネイル)の一覧で表示するものである。1003は、再生ウィンドウ1001で再生させる動画を操作するものであり、左の操作ボタンより「再生・一時停止・停止・巻き戻し・早送り」の操作が可能である。
[Utilization processing by video editing]
Next, a case where it is used in moving image editing will be described. FIG. 10 shows an example of a user interface when the
1004はシーン指定ウィンドウであり、選択した動画ファイルを並べ、各動画の採用する区間を指定するための領域である。図では、「太陽」と「野球選手」のサムネイルで代表されるファイルが並べられている。なお、各動画ファイルの領域には、ユーザが認識できるようにサムネイル画像が重ねて表示してある。1005はシーン指定バーであり、これを操作することによって、選択したクリップ(斜線部分)の開始点と終了点を指定することが可能である。
1006はポインタであり、ユーザはユーザ操作部300を操作することによってポインタ1006を動かし、各種ボタンの選択や動作の指定を行うことができる。操作の手順としては、動画ファイルウィンドウ1002から動画ファイルを選択して、再生したい順番にシーン指定ウィンドウ1004へドラッグ&ドロップする。そして、シーン指定バー1005を用いて、開始点と終了点の修正を行う。このとき、ユーザは必要に応じて操作部1003を操作することにより再生ウィンドウ1001で動画を再生させて、確認を随時行うことができる。
図11は、編集部305による動画編集時のサムネイル表示の動作を示すフローチャートである。なお、図11の処理は、当該動画像処理装置において動画像編集処理が実行された際に起動される。
FIG. 11 is a flowchart showing the thumbnail display operation when the
まず、ステップS300において、編集部305は動画ファイル蓄積部302より、全動画ファイルのヘッダ401を読み込む。次に、ステップS301において、各ファイルのヘッダ401中のサムネイル405を読み込む。そして、ステップS302において、ヘッダ中のサムネイル(即ち、重要なサムネイル)を各動画ファイルの代表画像として、動画ファイルウィンドウ1002に表示する。
First, in step S300, the
次に、ステップS303において動画ファイルが選択さたかどうかを判定する。本実施形態では、ポインタ1006の操作により動画ファイルウィンドウ1002から動画ファイルがシーン指定ウィンドウ1004へドラッグ&ドロップされたかを判定する。動画ファイルが選択された場合は、ステップS304に進み、ユーザによって選択された動画ファイル中のフッタのインデックス領域406を読み込む。一方、ステップS303において動画ファイルの選択がなされていないと判断されたときは、ステップS304をスキップする。
In step S303, it is determined whether a moving image file has been selected. In this embodiment, it is determined whether a moving image file has been dragged and dropped from the moving
次に、ステップS305において、ユーザが、その動画ファイルに関してシーン指定ウィンドウ1004においてシーン指定バー1005によるシーンの範囲指定が行われたかをチェックする。指定されていれば、ステップS306〜ステップS311により、ユーザが指定した範囲内に存在する編集用のサムネイルを抽出し、シーン指定ウインドウ1004内に表示する。
Next, in step S305, the user checks whether or not the scene range is designated by the
まず、ステップS306において、(処理の開始時であれば先頭の)インデックス中のStart PointとEnd Pointを参照して、Start PointとEnd Pointによって示される区間がユーザ指定範囲内であるかどうかを判定する。範囲内であれば、ステップS307へ進み、当該インデックスに対応するサムネイルが編集に適したサムネイルかどうかを当該サムネイルの選択基準に基づいて判定する。どのようなサムネイルが編集に適したサムネイルであるか、その基準は同じ編集という利用形態であっても、機器によって異なることがある。本実施形態の編集部305は、区間の中間のフレームを編集に適したサムネイルと判断するものとする。区間の中間のフレームかどうかをチェックするには、Thumbnail Type ID = 2であるかどうかを確認すればよい。編集に適したサムネイルであれば、処理はステップS310へ進む。
First, in step S306, it is determined whether or not the section indicated by the Start Point and End Point is within the user-specified range with reference to the Start Point and End Point in the index (at the beginning if processing is started). To do. If it is within the range, the process proceeds to step S307, and it is determined based on the selection criterion of the thumbnail whether the thumbnail corresponding to the index is a thumbnail suitable for editing. The kind of thumbnail that is suitable for editing may be different depending on the device even if the same editing mode is used. It is assumed that the
一方、ステップS306において当該インデックスの対応する区間がユーザ指定範囲内でないと判定されたとき、または、ステップS307において編集用のサムネイルではないと判定されたときは、ステップS308へ進み、次のインデックスを対象とする。ステップS309で次のインデックスが存在するか否かを判定し、存在するのであればステップS306とステップS307の処理を繰り返す。 On the other hand, if it is determined in step S306 that the corresponding section of the index is not within the user-specified range, or if it is determined in step S307 that it is not a thumbnail for editing, the process proceeds to step S308, and the next index is set. set to target. In step S309, it is determined whether or not the next index exists. If there is, the processes in steps S306 and S307 are repeated.
さて、ステップS307の条件を満たしたとき、処理はステップS310へ進み、当該インデックスに対応するサムネイル画像の読み込みを行う。そして、次のステップS311において、サムネイル画像の表示を行う。例えば、図10に示したようにシーン指定ウィンドウ1004中で、シーンを示すバーに対応するサムネイルを重ねて表示させる。これによって、範囲指定されたシーンがどのようなシーンであるか、ユーザに認識しやすくする。その後、ステップS308へ進み、次のインデックスを対象として上述の処理を繰り返す。
When the condition of step S307 is satisfied, the process proceeds to step S310, and the thumbnail image corresponding to the index is read. In the next step S311, a thumbnail image is displayed. For example, as shown in FIG. 10, in the
以上のような処理により、ユーザから指示された範囲に含まれる全ての区間の編集用サムネイルがシーンを示すバーに重ねて表示される。なお、この場合のサムネイルの表示範囲は2つのシーン指定バー1005によって挟まれた領域であり、サムネイルの表示に対してその挟まれた領域の大きさが不足する場合は、サムネイルの一部を重ねて表示させる、或いはスクロールバーを表示してスクロール可能とする等すればよい。 Through the processing as described above, the thumbnails for editing in all sections included in the range instructed by the user are displayed so as to overlap the bar indicating the scene. In this case, the display range of the thumbnail is an area sandwiched between two scene designation bars 1005. If the size of the sandwiched area is insufficient with respect to the thumbnail display, a part of the thumbnail is overlapped. The display may be made possible, or a scroll bar may be displayed to enable scrolling.
ステップS305においてユーザからのシーン範囲指示が行われなかった場合、或いはステップS309において処理対象とすべきインデックスがなくなった場合は、ステップS312へ進む。ステップS312では、動画編集作業の終了が指示されたかどうかを判定する。終了の指示がなければ(作業中であれば)ステップS303へ戻り、上記の処理を繰り返す。一方、編集作業の終了が指示されれば、本処理を終える。 If no scene range instruction is given from the user in step S305, or if there are no more indexes to be processed in step S309, the process proceeds to step S312. In step S312, it is determined whether or not an instruction to end moving image editing work has been issued. If there is no instruction to end (if work is in progress), the process returns to step S303 and the above processing is repeated. On the other hand, if the end of the editing work is instructed, the process is finished.
以上の処理により、編集部305は、ファイル選択用には、ヘッダに格納されている重要なサムネイルを用いることができ、サムネイル領域407から選択された範囲に対応した動画編集用のサムネイルのみを取り出して、活用することが可能となる。
With the above processing, the
なお、上記実施形態においては、サムネイルの活用方法としてブラウズ、動画編集の2つを例としてあげたが、もちろん、この2つに限定されるものではなく、例えば、選択されたサムネイルに対応するフレーム画像を印刷する等、さまざまな活用方法に利用可能である。 In the above embodiment, two examples of thumbnail use are browse and movie editing. However, the present invention is not limited to these two. For example, a frame corresponding to the selected thumbnail is used. It can be used for various usage methods such as printing images.
例えば、選択されたサムネイルに対応するフレーム画像を印刷する場合は、指定された画像データに対応するサムネイル(フッタに記録されたサムネイル)のうち、印刷に適したサムネイルを抽出して印刷フレーム候補として表示し、それらのうちから選択されたサムネイルの基となったフレームを印刷する。印刷に適したサムネイルの基準は、同じ印刷という利用形態であっても、機器によって異なるとこがある。例えば、区間中で動きの穏やかなフレームと区間中で画質のよいフレームであったならば、Thumbnail Type ID=5とThumbnail Type ID=8であるかどうかを確認すればよい。フレームが指定されたら、指定されたサムネイルの図6に示したThumbnail Key Relative Pointによって特定されるフレームの画像を取得し、これを印刷することになる。よって、図3の動画像処理装置に印刷部など他の機能を追加することも可能である。 For example, when printing a frame image corresponding to the selected thumbnail, a thumbnail suitable for printing is extracted from thumbnails corresponding to the specified image data (thumbnail recorded in the footer) as print frame candidates. Display and print the frame on which the thumbnail selected from them is based. The standard of thumbnails suitable for printing may differ depending on the device even if the usage form is the same printing. For example, if the frame has a gentle motion in the section and the frame has a good image quality in the section, it may be confirmed whether Thumbnail Type ID = 5 and Thumbnail Type ID = 8. When a frame is designated, an image of the frame specified by the Thumbnail Key Relative Point shown in FIG. 6 of the designated thumbnail is acquired and printed. Therefore, it is possible to add other functions such as a printing unit to the moving image processing apparatus of FIG.
なお、上記実施形態においては、サムネイルを活用する機能としてブラウズ部、編集部の2つを有しているが、上記の印刷部などの他の機能も含め、それら機能のうちのどれかひとつでのみであっても構わないし、或はいくつかの機能を有しても構わない。 In the above embodiment, the browse unit and the edit unit have two functions that utilize thumbnails. However, any one of these functions including the above-described print unit and the like may be used. May have only some functions, or may have some functions.
なお、上記実施形態においては、図3に示した動画像処理装置は一つの装置の中に、動画入力部301、サムネイル作成部303、ブラウズ部304、編集部305の全てが含まれていたが、上記の印刷部などの他の機能も含め、それぞれの機能ごと、或いは、いくつかの機能の組み合わせごとに、別の装置として構成されても構わない。このときは、記憶媒体を介して、或いは、IEEE1394などの通信手段を介して、サムネイルを含んだ動画ファイルを各装置間でやり取りすればよい。
In the above embodiment, the moving image processing apparatus shown in FIG. 3 includes all of the moving
なお、上記実施形態においては、ヘッダのサムネイルについては、インデックスが存在しないために、Start Point、End Point、Thumbnail Type IDを保有しないが、これらを管理情報として保有するようにしても構わない。 In the above-described embodiment, since there is no index for the header thumbnail, the Start Point, End Point, and Thumbnail Type ID are not held, but these may be held as management information.
なお、上記実施形態においては、ヘッダに記録されたサムネイル(ファイルを代表するサムネイル)は、フッタには記録されないが、これをヘッダとフッタに重複して記録するようにしても構わない。 In the above embodiment, the thumbnail (thumbnail representing the file) recorded in the header is not recorded in the footer, but it may be recorded in the header and footer.
なお、複数の作成基準から同じサムネイルが作成された場合(例えば、区間の中間のフレームと区間中で動きのはげしいフレームが同一であった場合)、同じサムネイルを別々のThumbnail Type IDを付与して重複して登録してもよいし、対応するThumbnail Type ID(例えば、Thumbnail Type ID = 10:区間の中間でかつ、区間中で動きの激しいフレーム)を用意しておいてもよい。後者の場合は、同じサムネイル画像を重複して登録する必要がなくなるので、データの利用効率が向上する。なお、1つのサムネイルに複数の選択基準(Thumbnail Type ID)を登録可能にしてもよい。 If the same thumbnail is created from multiple creation criteria (for example, if the middle frame of the section and the frame that moves rapidly in the section are the same), assign the same thumbnail to a different Thumbnail Type ID. It may be registered redundantly, or a corresponding Thumbnail Type ID (for example, Thumbnail Type ID = 10: a frame that is in the middle of the section and has a strong motion in the section) may be prepared. In the latter case, it is not necessary to register the same thumbnail image repeatedly, so that the data use efficiency is improved. A plurality of selection criteria (Thumbnail Type ID) may be registered in one thumbnail.
なお、上記実施形態においては、サムネイル登録はユーザの指示によって決定していたが、これを自動化しても、もちろん構わない。例えば、区間中で動きの激しいフレームを自動抽出するには、前のフレームと現在のフレームに対して、夫々のフレームを図12に示すように縦横に複数のブロック分割を行ない、それぞれのブロックに関してRGBの平均値を算出しておき、前のフレームと現在のフレームの対応するブロック同士のRGB各チャンネルの差の二乗和を求め、これをフレーム間類似性距離とする。その計算式の一例を以下に示す。 In the above embodiment, the thumbnail registration is determined by the user's instruction, but it is of course possible to automate this. For example, in order to automatically extract frames with intense motion in a section, a plurality of blocks are divided vertically and horizontally into the previous frame and the current frame as shown in FIG. An average value of RGB is calculated, and a sum of squares of differences between RGB channels of corresponding blocks of the previous frame and the current frame is obtained, and this is used as an interframe similarity distance. An example of the calculation formula is shown below.
但し、
i :処理中のブロックをあらわす
K :分割ブロック数
P1iR :直前のフレームの i番目のブロックのRチャンネルの平均値
P1iG :直前のフレームの i番目のブロックのGチャンネルの平均値
P1iB :直前のフレームの i番目のブロックのBチャンネルの平均値
P2iR :現在のフレームの i番目のブロックのRチャンネルの平均値
P2iG :現在のフレームの i番目のブロックのGチャンネルの平均値
P2iB :現在のフレームの i番目のブロックのBチャンネルの平均値
である。
However,
i: Indicates the block being processed
K: Number of divided blocks
P1 iR : Average value of the R channel of the i-th block of the previous frame
P1 iG : Average value of the G channel of the i-th block of the previous frame
P1 iB : Average value of the B channel of the i-th block of the previous frame
P2 iR : Average value of R channel of i-th block of current frame
P2 iG : Average value of the G channel of the i-th block of the current frame
P2 iB : Average value of the B channel of the i-th block of the current frame.
上記のフレーム間類似性距離が小さいほど類似しており、大きいほど類似していない。動きが激しいほど、前後のフレーム間で類似しなくなるので、ある閾値以上のフレーム間距離を持つときのフレームを、動きの激しいフレームとする方法がある。 The smaller the similarity distance between the frames, the more similar, and the larger the similarity distance, the less similar. As the motion becomes more intense, the frames before and after become less similar. Therefore, there is a method in which a frame having a distance between frames equal to or greater than a certain threshold is used as a frame with intense motion.
以上説明したように本実施形態によれば、利用目的や、選択基準の異なるサムネイルを1つのファイルに格納することが可能となるのでその管理が容易となる。また、使用時には、サムネイルに付与された作成時の選択基準(Thumbnail Type ID)を参照することにより、その目的、及び、サムネイルを利用する機器の特性に応じたサムネイルのみを利用することが可能となる。 As described above, according to the present embodiment, thumbnails having different usage purposes and selection criteria can be stored in one file, and management thereof is facilitated. In addition, by referring to the selection criteria (Thumbnail Type ID) given to the thumbnail when using it, it is possible to use only the thumbnail according to its purpose and the characteristics of the device that uses the thumbnail. Become.
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。 Another object of the present invention is to supply a storage medium storing software program codes for implementing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in.
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.
プログラムコードを供給するための記憶媒体としては、例えば、フロッピィディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発生のメモリカード、ROMなどを用いることができる。 As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile raw memory card, a ROM, or the like can be used.
また、コンピュータが読み出したプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer is actually executed based on an instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing a part or all of the process and the process is included.
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
Claims (2)
動画像に対応付けて代表画像を記憶するとともに、該代表画像の選択基準情報を該代表画像に対応付けて格納した格納手段へアクセスし、所望の動画像に対応して記憶された代表画像の中から処理目的に応じた代表画像を前記選択基準情報に基いて選び出す選択手段と、
前記選択手段で選択された代表画像の一つが指定された場合、その指定された代表画像に対応する区間情報が示す区間の動画像について、前記処理目的に応じた処理を適用する適用手段とを備えることを特徴とする動画像管理装置。 An apparatus for managing one or a plurality of representative images in association with a moving image recorded on a storage medium,
The representative image is stored in association with the moving image, and the storage unit storing the selection reference information of the representative image in association with the representative image is accessed, and the representative image stored in correspondence with the desired moving image is stored. Selecting means for selecting a representative image according to the processing purpose from among the selection criteria information;
When one of the representative images selected by the selection unit is designated, an application unit that applies a process according to the processing purpose to a moving image in a section indicated by the section information corresponding to the designated representative image; A moving image management apparatus comprising:
動画像に対応付けて代表画像を記憶するとともに、該代表画像の選択基準情報を該代表画像に対応付けて格納した格納手段へアクセスし、所望の動画像に対応して記憶された代表画像の中から処理目的に応じた代表画像を前記選択基準情報に基いて選び出す選択工程と、
前記選択工程で選択された代表画像の一つが指定された場合、その指定された代表画像に対応する区間情報が示す区間の動画像について、前記処理目的に応じた処理を適用する適用工程とを備えることを特徴とする動画像管理方法。 A method for managing one or a plurality of representative images in association with a moving image recorded on a storage medium,
The representative image is stored in association with the moving image, and the storage unit storing the selection reference information of the representative image in association with the representative image is accessed, and the representative image stored in correspondence with the desired moving image is stored. A selection step of selecting a representative image according to the processing purpose from among the selection criteria information;
When one of the representative images selected in the selection step is designated, an application step of applying a process according to the processing purpose to a moving image in a section indicated by the section information corresponding to the designated representative image; A moving image management method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005130482A JP2005318618A (en) | 2005-04-27 | 2005-04-27 | Moving image management apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005130482A JP2005318618A (en) | 2005-04-27 | 2005-04-27 | Moving image management apparatus and method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001401351A Division JP4194272B2 (en) | 2001-12-28 | 2001-12-28 | Moving image management apparatus and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005318618A true JP2005318618A (en) | 2005-11-10 |
Family
ID=35445472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005130482A Pending JP2005318618A (en) | 2005-04-27 | 2005-04-27 | Moving image management apparatus and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005318618A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009246722A (en) * | 2008-03-31 | 2009-10-22 | Hitachi Ltd | Content information display method |
JP2015153140A (en) * | 2014-02-14 | 2015-08-24 | Necパーソナルコンピュータ株式会社 | information processing apparatus, information processing method, and program |
JP2022545800A (en) * | 2019-08-22 | 2022-10-31 | 華為技術有限公司 | Intelligent video recording method and apparatus |
-
2005
- 2005-04-27 JP JP2005130482A patent/JP2005318618A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009246722A (en) * | 2008-03-31 | 2009-10-22 | Hitachi Ltd | Content information display method |
JP2015153140A (en) * | 2014-02-14 | 2015-08-24 | Necパーソナルコンピュータ株式会社 | information processing apparatus, information processing method, and program |
JP2022545800A (en) * | 2019-08-22 | 2022-10-31 | 華為技術有限公司 | Intelligent video recording method and apparatus |
JP7371227B2 (en) | 2019-08-22 | 2023-10-30 | 華為技術有限公司 | Intelligent video recording method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4194272B2 (en) | Moving image management apparatus and method | |
JP4354806B2 (en) | Moving image management apparatus and method | |
JP4065142B2 (en) | Authoring apparatus and authoring method | |
US8009961B2 (en) | Electronic apparatus, playback management method, display control apparatus, and display control method | |
KR100704631B1 (en) | Apparatus and method for creating audio annotation | |
US20040146275A1 (en) | Information processing method, information processor, and control program | |
JP2010063182A (en) | System and method for efficiently managing video file | |
JP5701017B2 (en) | Movie playback apparatus, movie playback method, computer program, and storage medium | |
US8750685B2 (en) | Image processing apparatus | |
JP2006166208A (en) | Coma classification information imparting apparatus, and program | |
JPH1051733A (en) | Dynamic image edit method, dynamic image edit device, and recording medium recording program code having dynamic image edit procedure | |
US7844163B2 (en) | Information editing device, information editing method, and computer product | |
JP2005318618A (en) | Moving image management apparatus and method | |
JP2008311847A (en) | Display controller, display controlling method, and program | |
JP2006074406A (en) | Edit function-attached video photographing apparatus | |
JP2007164585A (en) | Manual preparation tool | |
JP2001283570A (en) | Media contents managing device, media contents control device, media contents managing system, and recording medium | |
JP4682024B2 (en) | Image processing apparatus, control method therefor, program, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080414 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080808 |