JP2005142696A - Still picture data generating apparatus and still picture data generating method - Google Patents
Still picture data generating apparatus and still picture data generating method Download PDFInfo
- Publication number
- JP2005142696A JP2005142696A JP2003375255A JP2003375255A JP2005142696A JP 2005142696 A JP2005142696 A JP 2005142696A JP 2003375255 A JP2003375255 A JP 2003375255A JP 2003375255 A JP2003375255 A JP 2003375255A JP 2005142696 A JP2005142696 A JP 2005142696A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- continuous
- main subject
- still image
- still
- 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 technique for generating (cutting out) still image data from a plurality of image data continuous in time series.
ビデオカメラなどで撮影して得られた動画像データは、時系列に連続する複数のフレーム画像データ(あるいはフィールド画像データ)で構成されている。また、ディジタルスチルカメラ等で連写撮影により得られる連写画像データも、画像ファイルとして互いに独立した、時系列に連続する複数の画像データから構成されている。このような動画像データの所望の場面(シーン)をユーザが指定し、指定されたシーンの画像データを静止画像データとして用いることによって、動画像データや連写画像データなどを構成する時系列に連続する複数の画像データから静止画像データを切り出す技術が知られている。動画像データが複数の画像データから構成されている場合には、指定されたシーンに対応するフレーム画像データが静止画像データとして用いられる。 The moving image data obtained by photographing with a video camera or the like is composed of a plurality of frame image data (or field image data) continuous in time series. The continuous shot image data obtained by continuous shooting with a digital still camera or the like is also composed of a plurality of image data continuous in time series as image files. A user designates a desired scene (scene) of such moving image data, and uses the image data of the designated scene as still image data, so that the moving image data, continuous image data, and the like are configured in time series. A technique for cutting out still image data from a plurality of continuous image data is known. When the moving image data is composed of a plurality of image data, frame image data corresponding to the designated scene is used as still image data.
また、装飾画像データ、例えば、フレームタイプの装飾画像データに対して、画像データを貼り付けて、画像が装飾画像によって囲まれた出力画像を紙媒体上に出力する技術が実用化されている。この技術では、装飾画像データに対して画像データを貼り付ける際に、装飾画像データに対する画像データの配置位置、配置寸法を記述したスクリプトからなるレイアウト制御情報が用いられる。 Also, a technique has been put to practical use in which image data is pasted on decorative image data, for example, frame type decorative image data, and an output image in which the image is surrounded by the decorative image is output on a paper medium. In this technique, when image data is pasted on decoration image data, layout control information including a script describing the arrangement position and arrangement size of the image data with respect to the decoration image data is used.
レイアウト制御情報は個々の装飾画像データと関連付けられており、ユーザは、装飾画像データと、貼り付ける画像データを選択するだけで、装飾画像データの所定位置に所定の寸法にリサイズされた画像データが貼り付けられ、装飾画像に囲まれた画像を出力画像として得ることができる(例えば、特許文献1参照)。 The layout control information is associated with individual decoration image data, and the user simply selects the decoration image data and the image data to be pasted, and the image data resized to a predetermined size is displayed at a predetermined position of the decoration image data. An image pasted and surrounded by a decoration image can be obtained as an output image (see, for example, Patent Document 1).
しかしながら、従来の静止画像データの切り出し技術では、ユーザによって切り出しシーンが決定されるため、必ずしも主要被写体が中心に位置した静止画像データを得ることができず、また、決定されたシーンにおいて主要被写体に動きがある場合には、切り出された静止画像データにおける主要被写体にはぶれが目立つという問題があった。 However, in the conventional still image data cutout technology, since the cutout scene is determined by the user, it is not always possible to obtain still image data in which the main subject is located at the center. When there is a motion, there is a problem that blurring is conspicuous in the main subject in the cut out still image data.
さらに、動画像データが複数のフレーム画像データから構成されるにもかかわらず、ユーザによって指定されたシーンに対応するフレーム画像データしか用いられず、動画像データの特性を十分に活用して静止画像データを生成しているとは言えなかった。 Furthermore, even though the moving image data is composed of a plurality of frame image data, only the frame image data corresponding to the scene specified by the user is used, and the still image is fully utilized by utilizing the characteristics of the moving image data. It could not be said that it was generating data.
したがって、切り出された静止画像データを装飾画像データに貼り付けても、主要被写体を配置位置の中心に配置することができず、また、画質の高い出力結果を得ることができないという問題があった。 Therefore, there is a problem that even if the cut out still image data is pasted on the decoration image data, the main subject cannot be arranged at the center of the arrangement position, and an output result with high image quality cannot be obtained. .
本発明は、上記課題を解決するためになされたものであり、動画像データや連写画像データといった時系列に連続する複数の画像データから画質が高く、主要被写体が中心に位置する静止画像データを生成することを目的とする。 The present invention has been made to solve the above-described problem, and still image data having high image quality from a plurality of time-sequential image data such as moving image data and continuous-shot image data and having a main subject at the center. The purpose is to generate
上記課題を解決するために本発明の第1の態様は、時系列に連続する複数の画像データから静止画像データを生成する静止画像データ生成装置を提供する。本発明の第1の態様に係る静止画像データ生成装置は、前記時系列に連続する複数の画像データから1つの画像データを特定画像データとして特定する特定手段と、前記特定画像データに連続する画像データを、連続画像データとして前記時系列に連続する複数の画像データから取得する連続画像データ取得手段と、前記特定画像データおよび前記連続画像データとを用いて、前記特定画像データ中における主要被写体画像データを特定する主要被写体画像データ特定手段と、前記特定された主要被写体画像データを中心に備える静止画像データを生成する静止画像データ生成手段とを備えることを特徴とする。 In order to solve the above-described problem, a first aspect of the present invention provides a still image data generation device that generates still image data from a plurality of image data continuous in time series. The still image data generation device according to the first aspect of the present invention includes a specifying unit that specifies one image data as specific image data from the plurality of image data continuous in time series, and an image continuous to the specific image data. A main subject image in the specific image data, using continuous image data acquisition means for acquiring data as continuous image data from the plurality of image data continuous in time series, the specific image data, and the continuous image data A main subject image data specifying unit for specifying data and a still image data generating unit for generating still image data having the specified main subject image data as a center.
本発明の第1の態様に係る静止画像データ生成装置によれば、特定画像データおよび連続画像データとを用いて、特定画像データ中における主要被写体画像データを特定し、特定した主要被写体画像データを中心に備える静止画像データを生成することができるので、動画像データまたは連写画像データといった時系列に連続する複数の画像データから画質が高く、主要被写体が中心に位置する静止画像データを生成することができる。 According to the still image data generation device according to the first aspect of the present invention, the main subject image data in the specific image data is specified using the specific image data and the continuous image data, and the specified main subject image data is Since still image data provided at the center can be generated, still image data with high image quality and a main subject located at the center is generated from a plurality of time-sequential image data such as moving image data or continuous shot image data. be able to.
本発明の第1の態様に係る静止画像データ生成装置はさらに、前記主要被写体画像データを装飾すると共に、1または複数の前記主要被写体画像データの配置位置を備える装飾画像データを取得する装飾画像データ取得手段を備え、前記主要被写体画像データの特定は、前記特定画像データおよび前記連続画像データとを用いて、前記特定画像データ中の微変化領域を特定することにより実行され、前記静止画像データの生成は、前記微変化領域を切り出すことによって前記主要被写体画像データを抽出し、その抽出された主要被写体画像データを前記装飾画像データの配置位置に合成することによって実行されても良い The still image data generation device according to the first aspect of the present invention further decorates the main subject image data and obtains decorative image data having an arrangement position of one or a plurality of the main subject image data. An acquisition unit, wherein the main subject image data is specified by specifying a slight change area in the specific image data using the specific image data and the continuous image data; The generation may be performed by extracting the main subject image data by cutting out the fine change region, and combining the extracted main subject image data with the arrangement position of the decoration image data.
本発明の第1の態様に係る静止画像データ生成装置によれば、主要被写体画像データの特定は、特定画像データおよび連続画像データとを用いて、特定画像データ中の微変化領域を特定することにより実行され、静止画像データの生成は、微変化領域を切り出すことによって主要被写体画像データを抽出し、その抽出された主要被写体画像データを装飾画像データの配置位置に合成することにより実行される。したがって、ぶれの少ない主要被写体画像データを抽出し、装飾画像データと合成することが可能となり、画質、見栄えの良い出力画像をえることが可能な静止画像データを生成することができる。なお、微変化領域とは、変化の程度が0または所定値以下の領域を意味する。 According to the still image data generation device according to the first aspect of the present invention, the main subject image data is specified by specifying the slight change region in the specific image data using the specific image data and the continuous image data. The still image data is generated by extracting the main subject image data by cutting out the slightly changed area and combining the extracted main subject image data with the arrangement position of the decoration image data. Therefore, main subject image data with less blur can be extracted and combined with decoration image data, and still image data capable of producing an output image with good image quality and appearance can be generated. The slight change region means a region where the degree of change is 0 or less than a predetermined value.
本発明の第1の態様に係る静止画像データ生成装置において、前記画像データは複数の画素データから構成されており、前記微変化領域の特定は、前記特定画像データを構成する画素データのうち、前記連続静止画像データにおいて対応する画素データの値の変化量が所定値以下である画素データによって構成される領域を前記微変化領域として特定することにより実行されても良い。かかる場合には、微変化領域を画素データの変化量に基づいて特定することが可能となり、主要被写体画像データをより正確に抽出することができる。 In the still image data generation device according to the first aspect of the present invention, the image data is composed of a plurality of pixel data, and the specification of the slight change region is, among the pixel data constituting the specific image data, The continuous still image data may be executed by specifying an area composed of pixel data whose corresponding pixel data value change amount is a predetermined value or less as the fine change area. In such a case, it is possible to specify the slight change region based on the change amount of the pixel data, and the main subject image data can be extracted more accurately.
本発明の第1の態様に係る静止画像データ生成装置はさらに、前記主要被写体画像データを装飾すると共に、1または複数の前記主要被写体画像データの配置位置を備える装飾画像データを取得する装飾画像データ取得手段を備え、
前記主要被写体画像データ特定手段は、
前記特定画像データを複数のブロックに分割する分割手段と、
前記連続画像データにおける、前記分割された各ブロックの移動量を算出する移動量算出手段とを備え、前記複数のブロックの内、前記移動量が所定値より小さいブロックを中心にして前記主要被写体画像データを特定し、
前記静止画像データの生成は、前記微変化領域を切り出すことによって前記主要被写体画像データを抽出し、その抽出された主要被写体画像データを前記装飾画像データの配置位置に合成することによって実行されても良い。かかる場合には、ブロックの移動量に基づいて、微変化領域を特定することが可能となり、主要被写体画像データをより迅速に抽出することができる。
The still image data generation device according to the first aspect of the present invention further decorates the main subject image data and obtains decorative image data having an arrangement position of one or a plurality of the main subject image data. An acquisition means,
The main subject image data specifying means includes
Dividing means for dividing the specific image data into a plurality of blocks;
A moving amount calculating means for calculating a moving amount of each of the divided blocks in the continuous image data, wherein the main subject image is centered on a block having the moving amount smaller than a predetermined value among the plurality of blocks. Identify the data,
The generation of the still image data may be executed by extracting the main subject image data by cutting out the slight change area and combining the extracted main subject image data with the arrangement position of the decoration image data. good. In such a case, it is possible to specify the slightly changed area based on the movement amount of the block, and the main subject image data can be extracted more quickly.
本発明の第2の態様は、時系列に連続する複数の画像データから静止画像データを生成する静止画像データ生成装置を提供する。本発明の第2の態様に係る静止画像データ生成装置は、前記時系列に連続する複数の画像データから1つの場面を特定場面として特定する特定手段と、前記特定場面から所定時間内の他の場面を、連続場面として前記時系列に連続する複数の画像データから取得する連続場面取得手段と、前記特定場面の画像情報および前記連続場面の画像情報とを用いて、前記特定場面中における主要被写体を特定する主要被写体特定手段と、前記特定された主要被写体を中心に備える静止画像データを生成する静止画像データ生成手段とを備えることを特徴とする。 According to a second aspect of the present invention, there is provided a still image data generating device that generates still image data from a plurality of image data continuous in time series. The still image data generation device according to the second aspect of the present invention includes a specifying unit that specifies one scene as a specific scene from the plurality of image data continuous in time series, and another unit within a predetermined time from the specific scene. A main subject in the specific scene, using continuous scene acquisition means for acquiring a scene as a continuous scene from a plurality of image data continuous in time series, image information of the specific scene, and image information of the continuous scene And a still image data generating means for generating still image data centered on the specified main subject.
本発明の第2の態様に係る静止画像データ生成装置によれば、特定場面の画像情報と、特定場面から所定時間内の他の場面の画像情報とを用いて、特定場面中における主要被写体を特定し、特定した主要被写体を中心に備える静止画像データを生成することができる。したがって、動画像データまたは連写画像データといった時系列に連続する複数の画像データから画質が高く、主要被写体が中心に位置する静止画像データを生成することができる。 According to the still image data generation device according to the second aspect of the present invention, the main subject in the specific scene is determined using the image information of the specific scene and the image information of another scene within a predetermined time from the specific scene. It is possible to generate still image data that is identified and includes the identified main subject at the center. Therefore, it is possible to generate still image data with high image quality and centered on the main subject from a plurality of time-sequential image data such as moving image data or continuous shot image data.
本発明の第3の態様は、時系列に連続する複数の画像データから静止画像データを生成する静止画像データ生成方法を提供する。本発明の第3の態様に係る静止画像データ生成方法は、前記時系列に連続する複数の画像データから1つの画像データを特定画像データとして特定し、前記特定画像データに連続する画像データを、連続画像データとして前記時系列に連続する複数の画像データから取得し、前記特定画像データおよび前記連続画像データとを用いて、前記特定画像データ中における主要被写体画像データを特定し、前記特定された主要被写体画像データを中心に備える静止画像データを生成することを特徴とする。 A third aspect of the present invention provides a still image data generation method for generating still image data from a plurality of image data continuous in time series. In the still image data generation method according to the third aspect of the present invention, one image data is specified as specific image data from the plurality of image data continuous in time series, and the image data continuous to the specific image data is Acquired from a plurality of image data continuous in time series as continuous image data, using the specific image data and the continuous image data to identify main subject image data in the specific image data, the specified Still image data mainly including main subject image data is generated.
本発明の第3の態様に係る静止画像データ生成方法によれば、本発明の第1の態様に係る静止画像データ生成装置と同様の作用効果を得ることができると共に、本発明の第3の態様に係る静止画像データ生成方法は、本発明の第1の態様に係る静止画像データ生成装置と同様にして種々の態様にて実現され得る。 According to the still image data generation method according to the third aspect of the present invention, it is possible to obtain the same functions and effects as those of the still image data generation apparatus according to the first aspect of the present invention. The still image data generation method according to the aspect can be realized in various aspects in the same manner as the still image data generation apparatus according to the first aspect of the present invention.
本発明の第4の態様は、時系列に連続する複数の画像データから静止画像データを生成する静止画像データ生成方法を提供する。本発明の第4の態様に係る静止画像データ生成方法は、前記時系列に連続する複数の画像データから1つの場面を特定場面として特定し、前記特定場面から所定時間内の他の場面を、連続場面として前記時系列に連続する複数の画像データから取得し、前記特定場面の画像情報および前記連続場面の画像情報とを用いて、前記特定場面中における主要被写体を特定し、前記特定した主要被写体を中心に備える静止画像データを生成することを特徴とする。 According to a fourth aspect of the present invention, there is provided a still image data generation method for generating still image data from a plurality of image data continuous in time series. In the still image data generation method according to the fourth aspect of the present invention, one scene is specified as a specific scene from a plurality of image data continuous in time series, and another scene within a predetermined time from the specific scene is determined. Acquired from a plurality of image data continuous in time series as a continuous scene, using the image information of the specific scene and the image information of the continuous scene to identify a main subject in the specific scene, the specified main Still image data including a subject at the center is generated.
本発明の第4の態様に係る静止画像データ生成方法によれば、本発明の第2の態様に係る静止画像データ生成装置と同様の作用効果を得ることができると共に、本発明の第4の態様に係る静止画像データ生成方法は、本発明の第2の態様に係る静止画像データ生成装置と同様にして種々の態様にて実現され得る。 According to the still image data generation method according to the fourth aspect of the present invention, it is possible to obtain the same operational effects as those of the still image data generation apparatus according to the second aspect of the present invention, and the fourth aspect of the present invention. The still image data generation method according to the aspect can be realized in various aspects similarly to the still image data generation apparatus according to the second aspect of the present invention.
本発明の第3および第4の態様に係る静止画像データ生成方法は、この他にも、静止画像データ生成処理プログラム、および静止画像データ生成処理プログラムを記録したコンピュータが読み取り可能な記録媒体としても実現され得る。 The still image data generation method according to the third and fourth aspects of the present invention can also be used as a still image data generation processing program and a computer-readable recording medium on which the still image data generation processing program is recorded. Can be realized.
本発明の第1および第2の態様に係る静止画像データ生成装置、並びに本発明の第3および第4の態様に係る静止画像データ生成方法において、前記時系列に連続する複数の画像データは、動画像データであっても良い。 In the still image data generation device according to the first and second aspects of the present invention and the still image data generation method according to the third and fourth aspects of the present invention, the plurality of image data continuous in time series are: It may be moving image data.
以下、本発明に係る画像処理装置および画像処理方法について図面を参照しつつ、実施例に基づいて説明する。 Hereinafter, an image processing apparatus and an image processing method according to the present invention will be described based on examples with reference to the drawings.
図1を参照して本実施例に係る静止画像データ生成装置を含む画像処理システムについて説明する。図1は本実施例に係る静止画像データ生成装置を含む画像処理システムの概略構成を示す説明図である。 An image processing system including a still image data generation device according to the present embodiment will be described with reference to FIG. FIG. 1 is an explanatory diagram illustrating a schematic configuration of an image processing system including a still image data generation device according to the present embodiment.
画像処理システムは、動画像データを生成する入力装置としてのディジタルビデオカメラ11(動画像撮影可能なディジタルスチルカメラを含む)および動画像データを格納するネットワーク上のサーバ12を含む動画像データリソース10、動画像データリソース10から取得した動画像データから静止画像データを生成する静止画像データ生成装置としてのパーソナルコンピュータ20、生成された静止画像データを用いて画像を出力する出力装置としてのカラープリンタ30を備えている。なお、カラープリンタ30は、パーソナルコンピュータ20が備える静止画像データ生成機能を備えていても良く、かかる場合には、スタンドアローンにて静止画像データ生成処理、画像処理、画像出力を実行することができる。また、出力装置としては、プリンタ30の他に、CRTディスプレイ、LCDディスプレイ等のモニタ25、プロジェクタ等が用いられ得る。以下の説明では、パーソナルコンピュータ20と接続されて用いられるカラープリンタ30を出力装置として用いるものとする。
The image processing system includes a digital video camera 11 (including a digital still camera capable of capturing moving images) as an input device for generating moving image data and a moving
パーソナルコンピュータ20は、一般的に用いられているタイプのコンピュータであり、動画像データから静止画像データを生成する静止画像データ生成処理、画像処理を始めとする各処理演算を実行する中央演算装置(CPU)200、入力された動画像データ、生成された静止画像データ、演算結果等の各種データを一時的に格納するランダムアクセスメモリ(RAM)201、動画像データを用いて静止画像データを生成するためのプログラムを始めとする各種制御プログラムを格納するハードディスク(HDD)202(またはリードオンリメモリ(ROM))を備えている。パーソナルコンピュータ20は、この他にも、ディジタルビデオカメラ11等からの接続ケーブルを接続するための入出力端子(ディジタル端子、アナログ端子)203を備え、さらに、メモリカードを装着するためのメモリカードスロットを備えていても良い。
The
本実施例では、パーソナルコンピュータ20はさらに、動画像データから切り出した主要被写体画像データを装飾して静止画像データを生成するための装飾画像データ、およびレイアウト制御情報をHDD202に格納している。装飾画像データは、例えば、枠画像のデータ、複数の主要被写体画像データを貼り付けるアルバム台紙画像のデータであり、ビットマップデータ、ベクトルデータのいずれであっても良い。レイアウト制御情報は、装飾画像データに対する主要被写体画像データの配置位置、配置寸法を規定すると共に装飾画像データに対応付けられており、装飾画像データに対する主要被写体画像データの配置位置および配置寸法を規定するスクリプトによって記述されている。
In this embodiment, the
ディジタルビデオカメラ11は、光の情報をディジタルデバイス(CCDや光電子倍増管といった光電変換素子)に結像させることにより動画像を取得するカメラであり、光情報を電気情報に変換するためのCCD等を備える光電変換回路、光電変換回路を制御してディジタル動画像データを生成するための動画像データ生成回路、生成したディジタル動画像データを加工処理するための画像処理回路等を備えている。ディジタルビデオカメラ11は、取得したディジタル動画像データを記憶装置としての磁気テープ、光記録媒体といった記録媒体に保存する。ディジタルビデオカメラ11における動画像データのデータフォーマットとしては、1秒間に30の画像データ(静止画像データ)から構成されるDVフォーマットが一般的である。この他にも、基準画像データと基準画像データに対する動きベクトル(差分情報)を保存することで高い圧縮性を実現したMPEG2フォーマットが知られている。なお、この他にも、AVI、MPEG1を始めとする様々なデータフォーマットが用いられ得ることは言うまでもない。このように、本実施例において、動画像データMDとは、時系列的に並ぶ複数のフレーム画像データから形成される動画像データ、基準画像データと基準画像データに対する差分情報とから形成される動画像データ、時間情報により特定の場面を切り出すことができる動画像データのいずれをも意味する。すなわち、複数のフレーム画像データから構成される動画像データMDとは、複数のフレーム画像データが時系列的に並ぶものの他、特定場面(時間)の静止画像データを切り出すことができる動画像データを意味する。
The
サーバ12は、ユーザがアップロードした動画像データ、コンテンツプロバイダが提供した動画像データをハードディスクドライブに格納している。サーバ12は、静止画像データ生成装置であるパーソナルコンピュータ20の要求に応じて、ネットワークを介して動画像データを配信する。
The
ディジタルビデオカメラ11において生成された動画像データは、例えば、ケーブルCVを介して、または、メモリカードを介してパーソナルコンピュータ20に転送される。パーソナルコンピュータ20にて生成された静止画像データは、ケーブルCVを介してカラープリンタ30に送出される。あるいは、プリンタ30が静止画像データ生成機能を有する場合には、ディジタルビデオカメラ11にて動画像データが格納されたメモリカードがプリンタ30に対して装着されることによって動画像データがカラープリンタ30に転送される。なお、以下の説明では、画像データに対する画像処理がパーソナルコンピュータ20にて実行され、処理済みの画像データがカラープリンタ30に対して出力される場合について説明する。
The moving image data generated in the
カラープリンタ30は、カラー画像の出力が可能なプリンタであり、例えば、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)の4色の色インクを印刷媒体上に噴射してドットパターンを形成することによって画像を形成するインクジェット方式のプリンタである。あるいは、カラートナーを印刷媒体上に転写・定着させて画像を形成する電子写真方式のプリンタである。色インクには、上記4色に加えて、ライトシアン(薄いシアン、LC)、ライトマゼンタ(薄いマゼンタ、LM)、レッド、ブルーを用いても良い。
The
パーソナルコンピュータ20における静止画像データ生成処理:
図2を参照して、パーソナルコンピュータ20の機能的構成の概要について説明する。図2は本実施例に係るパーソナルコンピュータ20(CPU200)の機能ブロック図である。なお、以下の説明では、時系列に連続する複数の画像データの一例として、動画像データを用いる。時系列に連続する複数の画像データとしては、この他に、連続的に撮影されることによって得られる連写画像データが含まれ得る。
Still image data generation processing in the personal computer 20:
With reference to FIG. 2, an outline of a functional configuration of the
パーソナルコンピュータ20は、複数のフレーム画像データから構成されている動画像データMDを動画像データ取得部21において取得し、取得した動画像データMDから任意の1場面(1つのフレーム画像データ)をフレーム画像データ特定部22において特定する。パーソナルコンピュータ20は、特定されたフレーム画像データに連続するフレーム画像、例えば、1フレーム前後のフレーム画像データを連続フレーム画像データ取得部23において取得する。
The
パーソナルコンピュータ20は、特定したフレーム画像データと取得した連続フレーム画像データとを用いて、特定したフレーム画像データの中心的な被写体に対応する主要被写体画像データを主要被写体画像データ特定部24において特定する。パーソナルコンピュータ20は、特定された主要被写体画像データと、装飾画像データ取得部25において取得された装飾画像データおよびレイアウト制御情報とを用いて、静止画像データ生成部26において静止画像データGDを生成する。
The
図3〜図15を参照して本実施例に係るパーソナルコンピュータ20において実行される静止画像データ生成処理について説明する。図3は本実施例に係るパーソナルコンピュータ20において実行される静止画像データ生成処理の処理ルーチンを示すフローチャートである。図4は主要被写体画像データを特定するために実行される処理ルーチンを示すフローチャートである。図5は画像出力時(イメージバッファ展開時)における装飾画像データの一態様を例示する説明図である。図6は複数のブロックに分割されたフレーム画像データを模式的に示す説明図である。図7は特定されたフレーム(I)に対応するフレーム画像データを模式的に示す説明図である。図8は特定されたフレーム(I)の次のフレーム(I+1)に対応するフレーム画像データを示すと共に、ブロックの移動の様子を示す説明図である。図9はフレーム(I)に相当するフレーム画像データの具体例を示す説明図である。図10はフレーム(I+1)に相当するフレーム画像データの具体例を示す説明図である。図11は図8に示すフレーム(I)および図9に示すフレーム(I+1)から求められた主要被写体画像データ(領域)を模式的に示す説明図である。図12はフレーム(I)に相当するフレーム画像データの他の具体例を示す説明図である。図13はフレーム(I+1)に相当するフレーム画像データの他の具体例を示す説明図である。図14は図11に示すフレーム(I)および図12に示すフレーム(I+1)から求められた主要被写体画像データ(領域)を模式的に示す説明図である。図15は本実施例に係るパーソナルコンピュータ20によって生成された静止画像データGDの一例を示す説明図である。なお、各画像データのイメージ例は、イメージバッファ上に展開された際の状態を概念的に示すものである。
A still image data generation process executed in the
本実施例において実行される静止画像データ生処理は、例えば、パーソナルコンピュータ20にメモリカードが装着されたとき、あるいは、通信ケーブルを介してディジタルビデオカメラ11がパーソナルコンピュータ20に接続されたときに開始されてもよく、あるいは、キーボード等を介してユーザによって静止画像データ生成処理が指示された場合に実行されてもよい。
The still image data raw processing executed in the present embodiment is started, for example, when a memory card is attached to the
パーソナルコンピュータ20(CPU200)は、静止画像データ生成処理を開始すると、ユーザにより選択された装飾画像データSDを取得してRAM201に一時的に格納する(ステップS100)。装飾画像データSDの選択は、例えば、パーソナルコンピュータ20上において、予めHDD202に記憶されている装飾画像データSDをディスプレイ25に選択候補として表示し、キーボード等を介して表示されている選択候補の中から選択されても良く、あるいは、ネットワークを介して選択されても良い。あるいは、ディジタルビデオカメラ11に予め装飾画像データを記憶させておき、ディジタルビデオカメラ11上において行われていても良い。
When starting the still image data generation process, the personal computer 20 (CPU 200) acquires the decoration image data SD selected by the user and temporarily stores it in the RAM 201 (step S100). The decoration image data SD is selected, for example, by displaying the decoration image data SD stored in the
装飾画像データSDは、例えば、画像出力時(イメージバッファ展開時)に図5に示す形態を有し、主要被写体画像データODを貼り付けるための配置位置L1、L2が1または複数用意されている。 The decorative image data SD has, for example, the form shown in FIG. 5 when outputting an image (when developing an image buffer), and one or a plurality of arrangement positions L1 and L2 for pasting the main subject image data OD are prepared. .
装飾画像データSDは、装飾画像データSDとレイアウト制御情報とを備える装飾画像ファイルFFの形態にてやりとりされる。レイアウト制御情報は、主要被写体画像データODを配置すべき配置位置情報(例えば、座標情報)を規定すると共に、配置位置における主要被写体画像データODの配置寸法(リサイズ寸法)を規定する。レイアウト制御情報には更に、αチャネルデータが記述されている。αチャネルデータは、例えば、画像合成時に上側に位置する画像データ(例えば、装飾画像データSD)と下側に位置する画像データ(例えば、主要被写体画像データOD)の各階調値(R、G、Bデータ値)を相対的に調整することで、上側画像データに対する下側に位置する画像データの透過度を決定するためのデータである。例えば、上側画像データのR、G、Bデータに対して係数αの形で適用されれば、下側画像データのR、G、Bデータに対して係数(1−α)の形で適用され、その値が255の場合には下側画像データは合成画像に現れず(不透過)、0の場合には下側画像データは完全に合成画像に現れる(透過)。0〜255の範囲の任意の値を用いることで半透過の装飾効果を得ることができる。 The decoration image data SD is exchanged in the form of a decoration image file FF including the decoration image data SD and layout control information. The layout control information defines arrangement position information (for example, coordinate information) at which the main subject image data OD is to be arranged, and defines the arrangement size (resizing size) of the main subject image data OD at the arrangement position. The layout control information further describes α channel data. The α channel data is, for example, each gradation value (R, G, and R) of image data (for example, decoration image data SD) positioned on the upper side and image data (for example, main subject image data OD) positioned on the lower side during image synthesis. (B data value) is relatively adjusted to determine the transparency of the image data located on the lower side with respect to the upper image data. For example, if the coefficient α is applied to the R, G, B data of the upper image data, the coefficient (1-α) is applied to the R, G, B data of the lower image data. When the value is 255, the lower image data does not appear in the synthesized image (non-transparent), and when it is 0, the lower image data appears completely in the synthesized image (transparent). A semi-transparent decoration effect can be obtained by using an arbitrary value in the range of 0 to 255.
続いて、CPU200は、選択された動画像データMDを取得してRAM201に一時的に格納する(ステップS110)。動画像データMDの選択は、例えば、パーソナルコンピュータ20上においてキーボード等を介して行われ、1または複数の動画像データMDが選択され得る。一般的には、装飾画像データSDが選択(決定され)、続いて、主要被写体画像データODを切り出す動画像データMDが選択される。
Subsequently, the
CPU200は、取得された動画像データMDから切り出しフレーム画像データKDを特定する(ステップS120)。切り出すべきフレーム画像データは、一般的には、キーボード、マウスといった入力デバイスを介してユーザによって指定され、CPU200は、入力された指定情報に基づいて切り出しフレーム画像データKDをフレーム番号、時間によって特定する。ユーザは動画像データMDを再生してモニタ25に表示し、コマ送り、コマ戻し、一時停止等の機能を利用して、静止画像データGDにしたい切り出し位置(フレーム位置、フレーム番号、フレーム時間)、すなわち、切り出しフレーム画像データKDを指定する。なお、本実施例におけるフレーム画像データとは、動画像データMDを構成する複数の静止画像データを意味するほか、基準となる画像データ、差分情報、および時間情報を用いて動的に生成される静止画像データ、連続撮影によって得られた時系列に連続する複数の画像データをも意味する。
動画像データMDが、複数のフレーム画像データ(静止画像データ)から構成されるDVフォーマットを有する場合には、ユーザによるフレーム画像データの指定は、切り出しフレーム画像データKDを直接特定することになる。これに対して、動画像データMDが、基準フレーム(Iピクチャ)とIピクチャに対する差分情報のみを有するPピクチャ、BピクチャからなるMPEG2フォーマットを有する場合には、ユーザによって指定されたフレーム画像データは、動画像データMD中にはフレーム画像データとしては存在しない。そこで、CPU200は、ユーザにより指定されたフレーム画像データに対応する時間情報を用いて、差分情報をもとにして基準フレーム(Iピクチャ)から切り出しフレーム画像データKDを生成する。
When the moving image data MD has a DV format composed of a plurality of frame image data (still image data), the designation of the frame image data by the user directly specifies the cut-out frame image data KD. On the other hand, when the moving image data MD has an MPEG2 format including a P picture and a B picture having only difference information with respect to the reference frame (I picture) and the I picture, the frame image data designated by the user is The moving image data MD does not exist as frame image data. Therefore, the
CPU200は、切り出しフレーム画像データKDを特定すると、切り出しフレーム画像データKDに連続する連続フレーム画像データRDを取得する(ステップS130)。連続フレーム画像データRDは、切り出しフレーム画像データKDのフレーム番号がIである場合、1つ前(I−1)または1つ後(I+1)のフレーム番号に対応するフレーム画像データから取得される。なお、本実施例では、1つ後のフレーム番号に対応するフレーム画像データを連続フレーム画像データRDとして取得する。
When the cut-out frame image data KD is specified, the
CPU200は、切り出しフレーム画像データKDと連続フレーム画像データRDとを用いて、切り出しフレーム画像中における撮影の中心となる被写体画像に対応する主要被写体画像データODを特定する(ステップS140)。この特定処理では、動きベクトルを用いて、連続フレーム画像データRDとの対比において切り出しフレーム画像データKDにおける動きの少ない領域(画素データ、ブロック画素データ)を特定し、特定した領域を主要被写体画像データとして取り扱う。
The
図4を参照して、主要被写体画像データODの特定処理について詳述する。CPU200は、切り出しフレーム画像データKD(フレーム(I))を図6に示すように、m×nの画素データから構成される複数のブロックBLKkに分割する。例えば、フレームとブロックと縦横比がが同じになるように、8×8から16×16程度に縦横同数分割されても良く、縦横が異数分割されても良い。分割ブロック数が多いほど主要被写体画像データの特定精度は上がり、特に、ズーム・ワイドシーン(フレーム)においては、主要被写体の動きがほとんどないため、分割ブロック数は多いことが望ましい。
The main subject image data OD specifying process will be described in detail with reference to FIG. The
CPU200は、ブロック番号(k)を初期化し(ステップS200)、図7に示す切り出しフレーム画像データKD(フレーム(I))におけるブロックBLKkの、図8に示す連続フレーム画像データRD(フレーム(I+1))に対する移動量BVkを算出する(ステップS210)。
The
移動量BVkの算出手法の一例について以下説明する。
・フレーム(I)の座標(x,y)の画素値をP0(x,y)
・フレーム(I+1)の座標(x,y)の画素値をP1(x,y)
・フレーム(I+1)におけるブロックBLKの座標移動量を(dx,dy)
・フレーム(I+1)におけるブロックBLKの移動後の座標(x+dx,y+dy)の画素値をP1(x+dx,y+dy)
・移動しきい値をBVref 切り出しフレーム画像データの縦横寸法のうち長い寸法をCmaxとすると、BVref=Cmax/20
とする。なお、座標(x,y)は、フレーム画像データ全体における座標を示す。
An example of a method for calculating the movement amount BV k will be described below.
-The pixel value of the coordinates (x, y) of the frame (I) is P0 (x, y)
The pixel value of the coordinate (x, y) of the frame (I + 1) is P1 (x, y)
The coordinate movement amount of the block BLK in the frame (I + 1) is (dx, dy)
The pixel value of the coordinate (x + dx, y + dy) after the movement of the block BLK in the frame (I + 1) is P1 (x + dx, y + dy)
BVref = Cmax / 20, where the movement threshold is BVref and the longest dimension of the vertical and horizontal dimensions of the cut-out frame image data is Cmax.
And Note that the coordinates (x, y) indicate coordinates in the entire frame image data.
CPU200は、画素値P0(x,y)と画素値P1(x+dx,y+dy)との画素差分値DIF(dx,dy)を次の式(1)から算出する。
The
DIF(dx,dy)=Σabs(P0(x,y)−P1(x+dx,y+dy)) 式(1)
x,y∈BLKkの全画素の座標
DIF (dx, dy) = Σabs (P0 (x, y) −P1 (x + dx, y + dy)) Equation (1)
coordinates of all pixels of x, y ∈ BLK k
具体的には、CPU200は、式(1)に対して、dxおよびdyを−BVref<dx,dy<BVrefの範囲にて順次当てはめ、DIF(dx,dy)が最小となる最小座標移動量(dxmin,dymin)を求める。したがって、(x+dxmin,y+dymin)が、フレーム(I)におけるブロックBLKk内の座標(x,y)の、フレーム(I+1)における移動先の座標となる。
Specifically, the
CPU200は、以下の式(2)からブロックBLKの移動量BVkを求める。
The
BVk=(dxmin2+dymin2)1/2 式(2) BV k = (dxmin 2 + dymin 2 ) 1/2 formula (2)
CPU200は、算出したブロックBLKkの移動量BVkが判定しきい値BVref以上であるか否かを判定する(ステップS220)。すなわち、対象となっているブロックBLKkの移動量BVkが、移動していないと見なせる範囲内にあるか否かが判定される。すなわち、ブロックBLKkの移動量が0または微変動(微変化)であるか否かが判定される。 CPU200 movement amounts BV k calculated block BLK k is equal to or determined threshold value BVref more (step S220). That is, it is determined whether or not the movement amount BV k of the target block BLK k is within a range that can be regarded as not moving. That is, it is determined whether or not the movement amount of the block BLK k is 0 or slightly fluctuates (fine change).
CPU200は、BVk≧BVrefであると判定した場合には(ステップ220:Yes)、ブロックBLKkに移動マークを付し(ステップS230)、ステップS240に移行する。一方、CPU200は、BVk≧BVrefでないと判定した場合には(ステップ220:No)、移動マークを付すことなくステップS240に移行する。
If the
CPU200は、周辺領域ブロックPBLKを除く全てのブロックについて移動量BVを判定する処理を終えたか否かを判定し(ステップS240)、終えたと判定した場合には(ステップS240:Yes)、本処理ルーチンを終了し、図3のフローチャートの処理にリターンする。周辺領域ブロックPBLKを除くのは、一般的に主要な被写体は画像データの中心に捉えられていることが多く、周辺領域の画像データは主要な被写体の移動に伴い、前後のフレーム画像データにおいては消失している可能性が高いからである。
The
CPU200は、周辺領域ブロックPBLKを除く全てのブロックについて移動量BVを判定する処理を終えていないと判定した場合には(ステップS240:No)、ブロックBLKkの番号kを更新し(ステップS250)、次のブロックBLKk+1についてステップS210〜S240の各処理を実行する。
If the
図3に戻り説明を続けると、CPU200は、特定した主要被写体画像データODを中心にして、切り出しフレーム画像データKDに対するトリミング処理を実行する(ステップS150)。かかるトリミング処理について詳述する。既述のように、切り出しフレーム画像データKD(フレーム(I))の各ブロックBLKkのうち、連続フレーム画像データRD(フレーム(I+1))において移動していると判断されたブロックBLKkには、移動マークが設定されている。したがって、移動マークの付されていないブロックBLKkを中心とする、切り出しフレーム画像データKD(フレーム(I))における、動きの少ない領域を求める。また、切り出しフレーム画像データKD(フレーム(I))における、動きの少ない領域の中心を、例えば、移動マークの付されていないブロックBLKkを含む最小矩形の中心として求める。
Returning to FIG. 3 and continuing the description, the
図9〜図14を参照して具体例に基づいて説明する。図9〜図11は移動する主要被写体を追って撮影が行われた場合の例示であり、図12〜図14は主要被写体に対してズーム撮影が行われた場合の例示である。主要被写体が移動する場合、一般的に、主要被写体が画像の中心に位置するように、すなわち、主要被写体の位置が移動しないように撮影される。この結果、図9および図10に示すように、切り出しフレーム画像データKDにおける主要被写体画像データODの領域位置と、連続フレーム画像データRDにおける主要被写体画像データODの領域位置は、ほぼ同じである。この結果、移動マークが付されていないブロックBLKkは斜線で示すブロックBLK’となり、これらブロックBLK’によって形成される領域の画像データが主要被写体画像データODとしてトリミングされる。また、これらブロックBLK’の中心は中黒丸で示す通りとなる。 A description will be given based on a specific example with reference to FIGS. FIGS. 9 to 11 are examples when the main subject moving is photographed, and FIGS. 12 to 14 are examples when the main subject is zoomed. When the main subject moves, the image is generally taken so that the main subject is located at the center of the image, that is, the position of the main subject does not move. As a result, as shown in FIGS. 9 and 10, the area position of the main subject image data OD in the cut-out frame image data KD and the area position of the main subject image data OD in the continuous frame image data RD are substantially the same. As a result, the block BLK k without the movement mark becomes a block BLK ′ indicated by hatching, and the image data of the area formed by these blocks BLK ′ is trimmed as the main subject image data OD. The centers of these blocks BLK ′ are as indicated by the solid black circles.
主要被写体がズームされる場合には、主要被写体は画像の中心から移動することはなく、画像における主要被写体の専有面積が増大する。この結果、図12および図13に示すように、切り出しフレーム画像データKDにおける主要被写体画像データODの中心位置と、連続フレーム画像データRDにおける主要被写体画像データODの中心位置は同じである。この結果、移動マークが付されていないブロックBLKは斜線で示すブロックBLK’となり、これらブロックBLK’によって形成される領域の画像データが主要被写体画像データODとしてトリミングされる。また、これらブロックBLK’の中心は中黒丸で示す通りとなる。 When the main subject is zoomed, the main subject does not move from the center of the image, and the area occupied by the main subject in the image increases. As a result, as shown in FIGS. 12 and 13, the center position of the main subject image data OD in the cut-out frame image data KD and the center position of the main subject image data OD in the continuous frame image data RD are the same. As a result, the block BLK to which no movement mark is attached becomes a block BLK ′ indicated by diagonal lines, and the image data of the area formed by these blocks BLK ′ is trimmed as the main subject image data OD. The centers of these blocks BLK 'are as indicated by the solid black circles.
CPU200は、所望の(要求された)主要被写体画像データODのトリミングは終了したか否かを判定し(ステップS160)、未だトリミングすべき主要被写体画像データODが存在すると判定した場合には(ステップS160:No)、既に得られた主要被写体画像データODをRAM201に格納し、ステップS120〜S150の処理を実行する。複数の動画像データMDが選択された場合、同一の動画像データMDから複数の主要被写体画像データODをトリミングしたい場合が考えられる。
The
CPU200は、トリミングすべき主要被写体画像データODが存在しないと判定した場合には(ステップS160:Yes)、トリミングにより得られた主要被写体画像データODと装飾画像データSDとから、図15に示す静止画像データGDを生成する(ステップS170)。
When the
静止画像データGDの生成は、例えば、次のように行われる。CPU200は、レイアウト制御情報に記述されている配置位置および配置寸法についてのスクリプトを解釈し、解釈結果に従って装飾画像データSDに対する主要被写体画像データODの配置位置および配置寸法を決定し、また、αチャネルデータに基づいて装飾画像データSDの階調値を決定して両画像データを合成する(重ね合わせる)。装飾画像データSDと主要被写体画像データODとの合成は、装飾画像データSDの配置位置の中心と主要被写体画像データの中心とが一致するように実行されてもよい。また、CPU200は、スクリプトに記述されている配置位置毎の配置寸法に従って、撮像画像データのサイズをリサイズ(縮小または拡大)しても良い。
The generation of the still image data GD is performed as follows, for example. The
CPU200は、生成した静止画像データGDをプリンタドライバ、表示ディスプレイドライバに出力して(ステップS180)、本処理ルーチンを終了する。プリンタドライバでは、ルックアップテーブル等を用いたRGB−CMYK色変換処理、ハーフトーン処理等が実行され、例えば、出力画像データを印刷制御コマンド付きのラスタデータとしてプリンタ30へと出力する。この結果、動画像データMDから切り出された1または複数の主要被写体画像データが配置された静止画像データの出力画像が得られる。
The
以上説明したように、本実施例に係る静止画像データ生成装置としてのパーソナルコンピュータ20によれば、連続する2つのフレーム画像データを用いて動画像データMDから、動きの少ないブロックBLKにより構成される領域の画像データを出力画像の中心となるべき主要被写体画像データODとして切り出し、装飾画像データSDに貼り付けて、静止画像データGDを生成することができる。この結果、ぶれの少ない被写体画像データODを切り出すことが可能となり、装飾画像データSDに貼り付けられることにより生成される静止画像データGDの出力画像も見栄えの良いものとすることができる。
As described above, according to the
また、ユーザは、切り出しを所望する主要被写体が含まれている1つのフレーム画像データを選択するだけで、見栄えの良い静止出力画像を得ることができる。 In addition, the user can obtain a good-looking still output image only by selecting one frame image data including a main subject desired to be cut out.
・その他の実施例:
上記実施例では、切り出しフレーム画像データKDと連続フレーム画像データRDとを用いて主要被写体画像データODを特定するにあたり、フレーム(I)のブロックBLKk内における全ての座標(x,y)を用いているが、ブロックBLKkの縦横を8〜16分割し、64〜256の格子点について既述の移動距離BVkを算出しても良い。かかる場合には、ブロックBLKkの移動量をより少ない計算量にて算出することが可能となり、結果として、主要被写体画像データをより高速にトリミング(ぶれのより少ない主要被写体画像データをトリミング)することができる。
Other examples:
In the above embodiment, all the coordinates (x, y) in the block BLK k of the frame (I) are used to specify the main subject image data OD using the cut-out frame image data KD and the continuous frame image data RD. However, the vertical and horizontal directions of the block BLK k may be divided into 8 to 16, and the above-described movement distance BV k may be calculated for 64 to 256 lattice points. In such a case, the movement amount of the block BLK k can be calculated with a smaller calculation amount, and as a result, the main subject image data is trimmed at a higher speed (trimming main subject image data with less blur). be able to.
上記実施例では、主要被写体画像データODを特定できない場合、すなわち、切り出しフレーム画像データKD中に、動きの少ない領域(微変化領域)が少ない場合、あるいは存在しない場合について詳述していない。かかる場合には、切り出しフレーム画像データKDの中央領域のみをトリミング、あるいは、主要被写体画像データODをトリミングしないこととしても良い。この条件下では、ぶれの少ない主要被写体画像データKDをトリミングすることは困難であるが、ぶれにかかわらず主要被写体画像データODをトリミングしたいという要求があることが考えられる。一方で、微変化領域画ほとんどない場合には、良質な静止画像データGDを生成することができないので、主要被写体画像データODのトリミングを実行しないことが好ましい。 In the above-described embodiment, the case where the main subject image data OD cannot be specified, that is, the case where there are few or no moving regions (slightly changing regions) in the cut-out frame image data KD is not described in detail. In such a case, only the central area of the cut-out frame image data KD may be trimmed, or the main subject image data OD may not be trimmed. Under this condition, it is difficult to trim the main subject image data KD with less blur, but there may be a demand for trimming the main subject image data OD regardless of the blur. On the other hand, when there are few slight change area images, high quality still image data GD cannot be generated, and therefore it is preferable not to perform trimming of main subject image data OD.
上記実施例における、ブロックBLKkの動きベクトルの算出手法は一例であり、この他にも公知の種々の手法にてブロックBLKkの移動量BVkが算出可能であることは言うまでもない。例えば、フレーム(I)におけるブロックBLKkの座標(x,y)の画素値P0(x,y)に最も近い画素値を有する座標をフレーム(I+1)の全画素データから検索しても良い。すなわち、動画像データMDに含まれる連続する2つの画像情報を用いて、主要被写体画像データを特定することができれば良い。 The method for calculating the motion vector of the block BLK k in the above embodiment is merely an example, and it goes without saying that the movement amount BV k of the block BLK k can be calculated by various other known methods. For example, the coordinates having the pixel value closest to the pixel value P0 (x, y) of the coordinates (x, y) of the block BLK k in the frame (I) may be searched from all the pixel data of the frame (I + 1). That is, it is only necessary that the main subject image data can be specified using two pieces of continuous image information included in the moving image data MD.
上記実施例では、1つの装飾画像データSDに対して2つ(複数)の主要被写体画像データODが配置されることを前提として説明がなされているが、1つの装飾画像データSDに対して1つの主要被写体画像データODが配置されても良く、あるいは、複数の装飾画像データSDに1または複数の主要被写体画像データODを配置しても良い。いずれの場合であっても、ぶれが少なく見栄えの良い主要被写体画像を含む静止画像を出力画像として得ることができる。 In the above embodiment, the description has been made on the assumption that two (a plurality of) main subject image data OD is arranged for one decoration image data SD. One main subject image data OD may be arranged, or one or a plurality of main subject image data OD may be arranged in a plurality of decoration image data SD. In any case, it is possible to obtain a still image including a main subject image with less blur and good appearance as an output image.
上記実施例において、装飾画像データSDの各配置位置において、主要被写体画像データODの占める割合が、例えば、面積比で70%以上となるように、主要被写体画像データODを拡大・縮小するようにしても良い。この処理は、予めレイアウト制御情報に記述されていても良く、ユーザの指定によって実行されても良い。 In the above embodiment, the main subject image data OD is enlarged / reduced so that the proportion of the main subject image data OD at each arrangement position of the decoration image data SD is, for example, 70% or more in area ratio. May be. This process may be described in advance in the layout control information, or may be executed by the user's designation.
上記実施例において、主要被写体画像データODと装飾画像データSDとを合成するにあたっては、装飾画像データSDの配置位置における主要被写体画像データODの位置、寸法がユーザによって調整可能であっても良い。たとえば、切り出しフレーム画像データKDにおいて主要被写体画像データGDが端に寄っており、装飾画像データSDに貼り付けた際に空白ができるような場合には、ユーザによって、そのまま、あるいは中心を合わせたまま主要被写体画像データODを拡大可能としても良い。 In the above embodiment, when the main subject image data OD and the decoration image data SD are combined, the position and size of the main subject image data OD at the arrangement position of the decoration image data SD may be adjustable by the user. For example, in the cut-out frame image data KD, when the main subject image data GD is close to the end and a blank is formed when pasted on the decoration image data SD, the user keeps it as it is or keeps the center. The main subject image data OD may be enlarged.
上記実施例では、画像データの生成装置としてディジタルビデオカメラ11を用いているがディジタルスチルカメラを用いてもよい。すなわち、上記実施例では、時系列に連続する複数の画像データとして動画像データを用いているが、この他にも、ディジタルスチルカメラにおいて、いわゆる連写モードで撮影された、時系列に連続する複数の連続静止画像データ(連写画像データ)を用いても良い。かかる場合には、例えば、連写モードにて撮影された複数の画像データを1つのファイルとして扱う等のグループ化を行うことによって、動画像データに代えて、連写画像データを用いることができる。連写画像データを用いる場合にも、時系列に連続しているので、上述した手法を用いて主要被写体を容易にかつ適切に切り出すことができる。なお、連写画像データは、所定の時間間隔未満にて連続していることが好ましい。
In the above embodiment, the
上記実施例では、静止画像データ生成装置として、パーソナルコンピュータ20を用いて静止画像データ生成処理を実行しているが、このほかにも、例えば、静止画像データ生成機能を備えるスタンドアローン型のプリンタ、表示装置を静止画像データ生成装置として用いてもよく、この場合にはプリンタまたは表示装置において上記静止画像データ生成処理が実行される。また、静止画像データ生成装置等のハードウェア構成を伴うことなく、プリンタドライバ、ビデオドライバ、静止画像データ生成処理アプリケーション(プログラム)としても実現され得る。ここで、表示装置には、例えば、CRT、液晶ディスプレイ、プロジェクタ等が含まれる。
In the above embodiment, the still image data generation processing is executed using the
さらに、パーソナルコンピュータ20で実行される静止画像データ生成処理の全て、または、一部をディジタルビデオカメラ11において実行しても良い。この場合には、ディジタルビデオカメラ11のROM等に格納されている、動画編集アプリケーションに本実施例において説明した静止画像データ生成処理機能を持たせることによって実現される。ディジタルビデオカメラ11にて生成された印刷制御コマンドと印刷用の静止画像データとを含む印刷用データは、ケーブルを介して、あるいは、メモリカードを介してプリンタ30に提供される。印刷用データを受けたプリンタ30は、印刷用データに従って、ドットパターンを印刷媒体上に形成して画像を出力する。なお、ディジタルビデオカメラ11は、静止画像データをパーソナルコンピュータ20またはプリンタ30に提供しても良い。かかる場合には、パーソナルコンピュータ20またはプリンタ30において印刷用制御コマンドを含む印刷用データが生成される。
Further, all or part of the still image data generation processing executed by the
上記実施例では、静止画像データ生成処理が静止画像データ生成処理ソフトウェア、すなわちコンピュータプログラムの態様にて実行されているが、上記各処理(ステップ)を実行する論理回路を備えた静止画像データ書影処理ハードウェア回路を用いて実行されてもよい。かかる場合には、CPU200の負荷を軽減することができると共に、より高速な静止画像データ生成処理を実現することができる。静止画像データ生成処理ハードウェア回路は、例えば、ディジタルビデオカメラ11およびプリンタ30に対して実装回路として、パーソナルコンピュータ20に対してアドオンカードとして実装され得る。
In the above embodiment, the still image data generation processing is executed in the form of still image data generation processing software, that is, a computer program, but still image data writing including a logic circuit for executing each processing (step) described above. It may be performed using processing hardware circuitry. In such a case, the load on the
以上、実施例に基づき本発明に係る静止画像データ生成装置、静止画像データ生成方法および静止画像データ生成プログラムを説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることはもちろんである。 As described above, the still image data generation device, the still image data generation method, and the still image data generation program according to the present invention have been described based on the embodiments. However, the embodiments of the present invention described above facilitate the understanding of the present invention. Therefore, the present invention is not limited thereto. The present invention can be changed and improved without departing from the spirit and scope of the claims, and it is needless to say that the present invention includes equivalents thereof.
10…動画像データリソース
11…ディジタルビデオカメラ
12…サーバ
20…パーソナルコンピュータ
25…モニタ
200…中央演算装置(CPU)
201…ランダムアクセスメモリ(RAM)
202…ハードディスク(HDD)
203…入出力端子
30…プリンタ
DESCRIPTION OF
201: Random access memory (RAM)
202: Hard disk (HDD)
203 ... Input /
Claims (9)
前記複数の画像データから1つの画像データを特定画像データとして特定する特定手段と、
前記特定画像データに連続する画像データを、連続画像データとして前記時系列に連続する複数の画像データから取得する連続画像データ取得手段と、
前記特定画像データおよび前記連続画像データとを用いて、前記特定画像データ中における主要被写体画像データを特定する主要被写体画像データ特定手段と、
前記特定された主要被写体画像データを中心に備える静止画像データを生成する静止画像データ生成手段とを備える静止画像データ生成装置。 A still image data generation device for generating still image data from a plurality of image data continuous in time series,
Specifying means for specifying one image data as the specified image data from the plurality of image data;
Continuous image data acquisition means for acquiring image data continuous to the specific image data from a plurality of image data continuous in time series as continuous image data;
Main subject image data specifying means for specifying main subject image data in the specific image data using the specific image data and the continuous image data;
A still image data generating device comprising: still image data generating means for generating still image data centered on the identified main subject image data.
前記主要被写体画像データを装飾すると共に、1または複数の前記主要被写体画像データの配置位置を備える装飾画像データを取得する装飾画像データ取得手段を備え、
前記主要被写体画像データの特定は、前記特定画像データおよび前記連続画像データとを用いて、前記特定画像データ中の微変化領域を特定することにより実行され、
前記静止画像データの生成は、前記微変化領域を切り出すことによって前記主要被写体画像データを抽出し、その抽出された主要被写体画像データを前記装飾画像データの配置位置に合成することによって実行される静止画像データ生成装置。 The still image data generation device according to claim 1 further includes:
Decoration image data acquisition means for acquiring decoration image data including decoration positions of the main subject image data and decorating the main subject image data;
The identification of the main subject image data is executed by identifying a slight change area in the specific image data using the specific image data and the continuous image data.
The generation of the still image data is performed by extracting the main subject image data by cutting out the fine change region, and combining the extracted main subject image data with the arrangement position of the decoration image data. Image data generation device.
前記画像データは複数の画素データから構成されており、
前記微変化領域の特定は、前記特定画像データを構成する画素データのうち、前記連続静止画像データにおいて対応する画素データの値の変化量が所定値以下である画素データによって構成される領域を前記微変化領域として特定することにより実行される静止画像データ生成装置。 The still image data generation device according to claim 2,
The image data is composed of a plurality of pixel data,
The specification of the slight change area is an area constituted by pixel data in which the amount of change in the value of the corresponding pixel data in the continuous still image data is equal to or less than a predetermined value among the pixel data constituting the specific image data. A still image data generation device that is executed by specifying as a slight change region.
前記主要被写体画像データを装飾すると共に、1または複数の前記主要被写体画像データの配置位置を備える装飾画像データを取得する装飾画像データ取得手段を備え、
前記主要被写体画像データ特定手段は、
前記特定画像データを複数のブロックに分割する分割手段と、
前記連続画像データにおける、前記分割された各ブロックの移動量を算出する移動量算出手段とを備え、
前記複数のブロックの内、前記移動量が所定値より小さいブロックを中心にして前記主要被写体画像データを特定し、
前記静止画像データの生成は、前記微変化領域を切り出すことによって前記主要被写体画像データを抽出し、その抽出された主要被写体画像データを前記装飾画像データの配置位置に合成することによって実行される静止画像データ生成装置。 The still image data generation device according to claim 1 further includes:
Decoration image data acquisition means for acquiring decoration image data including decoration positions of the main subject image data and decorating the main subject image data;
The main subject image data specifying means includes
Dividing means for dividing the specific image data into a plurality of blocks;
A moving amount calculating means for calculating a moving amount of each of the divided blocks in the continuous image data;
The main subject image data is identified centering on a block in which the movement amount is smaller than a predetermined value among the plurality of blocks,
The generation of the still image data is performed by extracting the main subject image data by cutting out the fine change region, and combining the extracted main subject image data with the arrangement position of the decoration image data. Image data generation device.
前記時系列に連続する複数の画像データから1つの場面を特定場面として特定する特定手段と、
前記特定場面から所定時間内の他の場面を、連続場面として前記時系列に連続する複数の画像データから取得する連続場面取得手段と、
前記特定場面の画像情報および前記連続場面の画像情報とを用いて、前記特定場面中における主要被写体を特定する主要被写体特定手段と、
前記特定された主要被写体を中心に備える静止画像データを生成する静止画像データ生成手段とを備える静止画像データ生成装置。 A still image data generation device for generating still image data from a plurality of image data continuous in time series,
Specifying means for specifying one scene as a specific scene from a plurality of image data continuous in time series;
Continuous scene acquisition means for acquiring other scenes within a predetermined time from the specific scene from a plurality of image data continuous in the time series as a continuous scene;
Main subject specifying means for specifying a main subject in the specific scene using the image information of the specific scene and the image information of the continuous scene;
A still image data generating device comprising: still image data generating means for generating still image data having the identified main subject as a center.
前記複数の画像データから1つの画像データを特定画像データとして特定し、
前記特定画像データに連続する画像データを、連続画像データとして前記時系列に連続する複数の画像データから取得し、
前記特定画像データおよび前記連続画像データとを用いて、前記特定画像データ中における主要被写体画像データを特定し、
前記特定された主要被写体画像データを中心に備える静止画像データを生成する静止画像データ生成方法。 A still image data generation method for generating still image data from a plurality of image data continuous in time series,
One image data is specified as specific image data from the plurality of image data,
The image data continuous to the specific image data is acquired as a continuous image data from a plurality of image data continuous in the time series,
Using the specific image data and the continuous image data, specify main subject image data in the specific image data,
A still image data generation method for generating still image data mainly including the identified main subject image data.
前記時系列に連続する複数の画像データから1つの場面を特定場面として特定し、
前記特定場面から所定時間内の他の場面を、連続場面として前記時系列に連続する複数の画像データから取得し、
前記特定場面の画像情報および前記連続場面の画像情報とを用いて、前記特定場面中における主要被写体を特定し、
前記特定した主要被写体を中心に備える静止画像データを生成する静止画像データ生成方法。 A still image data generation method for generating still image data from a plurality of image data continuous in time series,
One scene is identified as a specific scene from a plurality of image data continuous in time series,
Other scenes within a predetermined time from the specific scene are acquired from a plurality of image data continuous in the time series as a continuous scene,
Using the image information of the specific scene and the image information of the continuous scene, the main subject in the specific scene is specified,
A still image data generation method for generating still image data having the identified main subject as a center.
前記時系列に連続する複数の画像データは、動画像データである静止画像データ生成装置。 In the still image data generation device according to any one of claims 1 to 5,
The still image data generation device, wherein the plurality of pieces of image data continuous in time series are moving image data.
前記時系列に連続する複数の画像データは、動画像データである静止画像データ生成方法。 In the still image data generation method according to claim 6 or 7,
The still image data generating method, wherein the plurality of pieces of image data continuous in time series are moving image data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003375255A JP2005142696A (en) | 2003-11-05 | 2003-11-05 | Still picture data generating apparatus and still picture data generating method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003375255A JP2005142696A (en) | 2003-11-05 | 2003-11-05 | Still picture data generating apparatus and still picture data generating method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005142696A true JP2005142696A (en) | 2005-06-02 |
Family
ID=34686677
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003375255A Pending JP2005142696A (en) | 2003-11-05 | 2003-11-05 | Still picture data generating apparatus and still picture data generating method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005142696A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008046738A (en) * | 2006-08-11 | 2008-02-28 | Softbank Mobile Corp | Life record creation system and its control method |
JP2013012993A (en) * | 2011-06-30 | 2013-01-17 | Nikon Corp | Image processing device, imaging device, and image processing program |
-
2003
- 2003-11-05 JP JP2003375255A patent/JP2005142696A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008046738A (en) * | 2006-08-11 | 2008-02-28 | Softbank Mobile Corp | Life record creation system and its control method |
JP2013012993A (en) * | 2011-06-30 | 2013-01-17 | Nikon Corp | Image processing device, imaging device, and image processing program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4924264B2 (en) | Image processing apparatus, image processing method, and computer program | |
EP2525561B1 (en) | Data-generating device, data-generating method, data-generating program, and recording medium | |
JP4396638B2 (en) | Output image data generation apparatus and output image data generation method | |
JP2005354124A (en) | Production of high pixel density image from a plurality of low pixel density images | |
JP2005108194A (en) | Creation of image quality adjustment information and adjustment of image quality using this information | |
JP4029636B2 (en) | Object layout device, image layout device, object layout program, image layout program, object layout method, and image layout method | |
US20090231628A1 (en) | Image Processing Apparatus, Image Processing Method, Computer Program for Image Processing | |
US20090303349A1 (en) | Image processing apparatus and method of image processing | |
TWI408945B (en) | A data generating apparatus, a data generating method, and a recording medium | |
JP4877074B2 (en) | Image processing apparatus, image processing method, and computer program | |
JP6311360B2 (en) | Image processing device | |
JP4581999B2 (en) | Image processing apparatus and image processing method | |
JP2007142507A (en) | Imaging apparatus | |
KR100422470B1 (en) | Method and apparatus for replacing a model face of moving image | |
JP2005142696A (en) | Still picture data generating apparatus and still picture data generating method | |
US8340465B2 (en) | Device, method and program for processing image | |
JP2005197910A (en) | Production of still picture of particular scene in animation | |
JP2006059092A (en) | Catchlight synthesis method | |
JP2009027397A (en) | Apparatus, method and program for image processing | |
US20050240860A1 (en) | Printing method and print system | |
JP2005209123A (en) | Election of representative image from image group including a plurality of images | |
JP2006072743A (en) | Catch light composition method and device | |
JP2005094527A (en) | Generation process of static picture data based on a plurality of frame image data | |
JP2010015607A (en) | Image processing apparatus and image processing method | |
JP2005159650A (en) | Image processor, image processing method, storing medium and program |