JP2006133290A - Computer readable recording medium - Google Patents
Computer readable recording medium Download PDFInfo
- Publication number
- JP2006133290A JP2006133290A JP2004319173A JP2004319173A JP2006133290A JP 2006133290 A JP2006133290 A JP 2006133290A JP 2004319173 A JP2004319173 A JP 2004319173A JP 2004319173 A JP2004319173 A JP 2004319173A JP 2006133290 A JP2006133290 A JP 2006133290A
- Authority
- JP
- Japan
- Prior art keywords
- image
- data
- file
- still
- information
- 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.)
- Granted
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
本発明は、データファイルを記憶したコンピュータ読み取り可能な記録媒体に関する。 The present invention relates to a computer-readable recording medium storing a data file.
表示する静止画像の一部に時間的に変化する動画像部分を加えて視覚的な効果を付けることは、電子アルバムや電子メール、プレゼンテーションなどに有効であるが、従来、静止画に動画像を合成すると、表示画像サイズの動画像になってしまい、合成後のファイルのサイズは、合成前の静止画のファイルサイズに較べて非常に大きなものになってしまう。 Adding a visual effect by adding a moving image part that changes over time to a part of the still image to be displayed is effective for electronic albums, e-mails, presentations, etc. When the images are combined, a moving image having a display image size is obtained, and the size of the file after combining is very large compared to the file size of the still image before combining.
これに対して、特許文献1には、静止画像に動きのある静止画を合成する技術が開示されている。この技術では、表示対象の静止画像の名前と、効果をつけるための複数の静止画像と、この複数の画像を表示対象画像上での動きを指定する情報の3種類の情報を一つのグループとして記憶するようになっている。
特許文献1の技術では、表示対象の静止画像は上記の3種類の情報とは別に記憶しているので、電子メールなどで送信する場合には1つの動画効果の付いた静止画像を送信する場合には、静止画像そのものを含む画像情報ファイルと、上記3種類の情報を含むファイルを別々に送信する必要があり、また、情報を管理する上でもそれら2つの情報ファイルを管理する必要があった。このため、それら情報ファイルの管理が煩雑していた。
In the technique of
本発明は、かかる事情に鑑みてなされたものであり、動画効果の付いた画像を生成すると共に、容量の少ない1つの静止画像ファイルとして記憶でき、静止画用のビューアでもその画像ファイルを静止画像として閲覧できる、データファイルを記憶したコンピュータ読み取り可能な記録媒体を提供することを目的とする。 The present invention has been made in view of such circumstances, and can generate an image with a moving image effect and store it as a single still image file with a small capacity. The still image viewer can also store the image file as a still image. It is an object of the present invention to provide a computer-readable recording medium storing a data file that can be viewed as a computer.
上記課題を解決するための、本発明に係る請求項1に記載の記録媒体は、データファイルを記憶したコンピュータ読み取り可能な記録媒体であって、当該データファイルは、静止画像を表示するソフトウエアで静止画像ファイルとして認識可能であり、第1の静止画像の画像データを格納する領域と、前記第1の静止画像に合成され、スタンプ動画として表示される少なくとも1つの画像オブジェクトのデータを格納する領域と、前記画像オブジェクトと前記第1の静止画像とを合成する合成方法を指定する制御データを格納する領域とを有する。
In order to solve the above problems, a recording medium according to
また本発明に係る請求項2に記載の記録媒体は、上記記載の発明である記録媒体において、前記画像オブジェクトは、第2の静止画像であり、前記制御データは該第1の静止画像上で前記第2の静止画像が移動又は変形又は色・明るさの変化する態様を指定するデータを含むものである。 A recording medium according to a second aspect of the present invention is the recording medium according to the above-described invention, wherein the image object is a second still image, and the control data is on the first still image. The second still image includes data designating a manner in which the second still image is moved or deformed or changes in color / brightness.
また本発明に係る請求項3に記載の記録媒体は、上記記載の発明である記録媒体において、前記移動を指定するデータは、平行移動又は回転移動の少なくとも1つの態様を指定し、前記変形を指定するデータは、前記画像オブジェクトのサイズ、向き、色、明るさ、透明の少なくとも1つの態様を指定する。 According to a third aspect of the present invention, there is provided a recording medium according to the third aspect, wherein the data specifying the movement specifies at least one aspect of parallel movement or rotational movement, and the deformation is performed. The designated data designates at least one aspect of the size, orientation, color, brightness, and transparency of the image object.
また本発明に係る請求項4に記載の記録媒体は、上記記載の発明である記録媒体において、前記画像オブジェクトは、複数の第3の静止画像であり、前記制御データは該第3の静止画像から擬似的に動画像を生成する方法を指定するデータである。 According to a fourth aspect of the present invention, there is provided the recording medium according to the fourth aspect, wherein the image object is a plurality of third still images, and the control data is the third still image. This is data for designating a method for generating a moving image in a pseudo manner.
また本発明に係る請求項5に記載の記録媒体は、上記記載の発明である記録媒体において、前記擬似的な動画像を生成する方法を指定するデータは、前記複数の第3の静止画像の各画像を表示するタイミングデータまたは、次の第3の静止画像への遷移方法を指定するデータである。 According to a fifth aspect of the present invention, there is provided a recording medium according to the fifth aspect, wherein the data specifying the method for generating the pseudo moving image is the data of the plurality of third still images. This is timing data for displaying each image or data for designating a transition method to the next third still image.
また本発明に係る請求項6に記載の記録媒体は、上記記載の発明である記録媒体において、前記画像オブジェクトは、動画像であり、前記制御データは該動画像の前記第1の画像上での再生態様を指定するデータである。 A recording medium according to a sixth aspect of the present invention is the recording medium according to the above-described invention, wherein the image object is a moving image, and the control data is on the first image of the moving image. This is data for designating the reproduction mode.
また本発明に係る請求項7に記載の記録媒体は、上記記載の発明である記録媒体において、前記制御データは、前記画像オブジェクトを前記第1の静止画像に合成する位置又はサイズ、前記画像オブジェクトを動画像として再生する時間、該再生の繰り返し回数の少なくとも一つをさらに含む。 According to a seventh aspect of the present invention, there is provided a recording medium according to the seventh aspect, wherein the control data includes a position or size at which the image object is combined with the first still image, and the image object. And at least one of the number of repetitions of the reproduction.
また本発明に係る請求項8に記載の記録媒体は、上記記載の発明である記録媒体において、前記ファイルはExifフォーマットのファイルであり、前記第1の静止画像データはExifフォーマットのファイルのベース画像として格納され、前記画像オブジェクトデータ及び前記制御データは、Exifフォーマットのファイルのベース画像ヘッダ情報領域に格納される。 The recording medium according to an eighth aspect of the present invention is the recording medium according to the above-described invention, wherein the file is an Exif format file, and the first still image data is an Exif format file base image. The image object data and the control data are stored in a base image header information area of an Exif format file.
本発明によれば、動画効果の付いた画像を生成すると共に、容量の少ない1つの静止画像ファイルとして記憶でき、そのファイルを静止画用のビューアでも閲覧できる。 According to the present invention, an image with a moving image effect can be generated and stored as a single still image file with a small capacity, and the file can be viewed with a still image viewer.
本発明の実施の形態に係る画像合成方法の概念について説明する。本画像合成方法では、静止画像とスタンプ動画とで構成される動画を対象とする。ここで、スタンプ動画とは、静止画像を背景画像としてその上で再生表示される動画像のことをいう。 The concept of the image composition method according to the embodiment of the present invention will be described. In this image composition method, a moving image composed of a still image and a stamp moving image is targeted. Here, the stamp moving image refers to a moving image reproduced and displayed on a still image as a background image.
図1は、本発明の実施の形態に係る画像合成方法の概念を示す図である。 FIG. 1 is a diagram showing a concept of an image composition method according to an embodiment of the present invention.
木の枝に止まっている鳥の画像を背景として、クラッカが弾けている動画を表現する場合、鳥の画像である静止画像と、弾けているクラッカを表すスタンプ動画とに要素を分解する。そして、これらの合成方法を定義した定義ファイルを設け、この定義ファイルの記載に基づいて表示動作を実行させる。 When a moving image of a cracker playing is represented using a bird image stopped on a tree branch as a background, the elements are decomposed into a still image that is a bird image and a stamp moving image that represents a cracking cracker. A definition file defining these synthesis methods is provided, and a display operation is executed based on the description of the definition file.
この考えに基づいて動画を構成すれば、従来の技術で生成される動画像データのファイルよりも小さいサイズのファイルとして保存することが可能となる。本発明では、この基本的な考え方に立脚して、さらに、スタンプ動画のファイル容量を低減できる方法、あるいはスタンプ動画を多彩な態様で表現する方法を提案する。 If a moving image is configured based on this idea, it can be stored as a file having a smaller size than the moving image data file generated by the conventional technique. Based on this basic concept, the present invention proposes a method that can further reduce the file size of a stamp video or a method that expresses a stamp video in various ways.
なお、以下の記載では、背景画像として使用する静止画像をベース画像と称する。 In the following description, a still image used as a background image is referred to as a base image.
図2は、本実施の形態に係る動画ファイルの基本構成を示す図である。 FIG. 2 is a diagram showing a basic configuration of a moving image file according to the present embodiment.
動画ファイル1は、画像ヘッダ領域2と画像データ領域3で構成されている。そして、画像ヘッダ領域2には、画像ヘッダ情報2aと画像オブジェクト情報2bとが格納され、画像データ領域3には、画像データ情報3aが格納されている。
The moving
画像データ情報3aには、ベース画像のデータが格納されている。画像ヘッダ情報2aには、ベース画像に関する属性情報が含まれている。そして、画像オブジェクト情報2bには、スタンプ動画のデータの他に合成方法を定義する情報、例えば、スタンプ動画を移動、変形させるための情報等が含まれている。
The
この動画ファイル1の構成では、画像ヘッダ情報2aと画像データ情報3とからなる通常の静止画像ファイルにおいて、画像ヘッダ領域内にスタンプ動画に関する情報を更に設けている点に特徴がある。従って、特別の動画ファイルを新たに創設することなく、従来の静止画ファイルを共用することができるため、ファイル容量を低減することが可能となる。
The structure of the moving
また、この動画ファイルの構成によれば、デジタルカメラの標準的なExifフォーマットのファイルのユーザ領域にスタンプ動画に関する情報を格納することができるため、動画ファイルとして構成しても通常の画像ビューアを用いてベース画像を表示することができる。 Also, according to the structure of the moving image file, information related to the stamp moving image can be stored in the user area of the standard Exif format file of the digital camera. Therefore, even if the moving image file is configured, a normal image viewer is used. The base image can be displayed.
[第1の実施の形態]
次に、第1の実施の形態の画像合成方法に係る、スタンプ動画と画像オブジェクト情報2bについて説明する。第1の実施の形態では、スタンプ動画として擬似動画を用いる。以下、擬似動画を用いたスタンプ動画を擬似動画スタンプという。
[First Embodiment]
Next, the stamp moving image and the
図3は、擬似動画の一例を示す図である。図3は、クラッカが弾ける様子が、4枚の静止画像によって表されている。従って、この4枚の静止画像を、所定の時間間隔で切り替えて順次表示することにより、擬似的な動画を表現することができる。 FIG. 3 is a diagram illustrating an example of a pseudo moving image. In FIG. 3, the manner in which the cracker can be played is represented by four still images. Therefore, a pseudo moving image can be expressed by switching and displaying these four still images at predetermined time intervals.
図4は、擬似動画の他の一例を示す図である。図4には、雪が降る様子が、3枚の静止画によって表されている。従って、この3枚の静止画像を、所定の時間間隔で切り替えて順次表示することにより、擬似的な動画を表現することができる。しかし、雪が降る場合は、吹雪いている場合、巻き上げられている場合など、単に静止画像を切り替えるだけでなく、静止画像に何らかの効果を付与することでより多彩な動画として表示することができる。 FIG. 4 is a diagram illustrating another example of the pseudo moving image. In FIG. 4, how snow falls is represented by three still images. Therefore, a pseudo moving image can be expressed by switching and displaying these three still images at predetermined time intervals. However, when it snows, it can be displayed as a variety of moving images by adding some effect to the still image, as well as simply switching the still image, such as when it is snowing or rolled up.
図5は、擬似動画を用いた場合の画像ヘッダ領域2内の画像オブジェクト情報2bの構成を示す図である。以下、この画像オブジェクト情報2bの内容について詳細に説明する。
FIG. 5 is a diagram showing a configuration of the
画像オブジェクト情報2bには、画像オブジェクトに関する情報10が複数記載されている。ここで、画像オブジェクトに関する情報10には、上述の擬似動画を構成する静止画を用いてどのように擬似動画スタンプを表現するかが記載されている。そして、本実施の形態では、1つのベース画像に対して複数の擬似動画スタンプを定義することができる。例えば、ベース画像上にクラッカと雪の擬似動画スタンプを表示することも可能である。従って、「オブジェクト総数」は、画像オブジェクトに関する情報10の総数、即ち1つのベース画像に対して定義された複数の擬似動画スタンプの数を表している。
The
画像オブジェクトに関する情報10には、複数のオブジェクト移動情報11、複数の静止画情報12及びその他の表示定義データが記載されている。
In the
複数の静止画情報12には、例えば、図4に示す雪の画像を何時切り替えて表示するかが記載されている。複数のオブジェクト移動情報11には、例えば、雪の画像をどのように移動させ、またどのような視覚効果を付与するかが記載されている。
The plurality of
図5に示す画像オブジェクトに関する情報10の記載順序に従って、その内容を説明する。
The contents will be described according to the description order of the
「オブジェクトインデックス」は、この画像オブジェクトに関する情報10を特定するための識別情報、例えば、オブジェクト固有の識別子が記載されている。「オブジェクトタイプ」は、オブジェクト種類を表している。例えば、オブジェクト種類が、静止画(後で詳しく述べる)の場合は1、動画(後で詳しく述べる)の場合は2、本実施の形態の擬似動画の場合は3が記載される。「オブジェクト領域」は、オブジェクトを表示する領域のサイズを現している。例えば、縦、横のサイズをpixel単位で表現する。
The “object index” describes identification information for specifying the
「オブジェクト移動情報総数」は、オブジェクトをベース画像上でどのように移動させるか等のオブジェクト移動情報11の総数が記載されている。ここで、オブジェクト移動情報11を複数記載することにより、オブジェクトをベース画像上で矩形状に移動させるような移動パターンにも対応させることができる。
“Total number of object movement information” describes the total number of
オブジェクト移動情報11には、次のような情報が記載されている。
The
「オブジェクト表示開始位置」には、オブジェクトの最初の表示位置が、ベース画像上の座標値としてpixel単位で表されている。「オブジェクト移動方向」には、現在位置から角度にして何度の方向に移動するかを指定する値が記載されている。「オブジェクト表示時間」には、このオブジェクト移動情報11に従って表示する時間が記載されている。「オブジェクト移動速度」には、オブジェクトを移動させる速度がpixel/秒単位で記載されている。
In the “object display start position”, the initial display position of the object is represented in pixel units as coordinate values on the base image. The “object moving direction” describes a value that specifies how many directions the object moves in an angle from the current position. In the “object display time”, the display time according to the
「オブジェクト移動中の効果ID」には、移動方法が、例えば、数値で表されている。ID=0のときは、オブジェクトは移動方向に直進する。ID=1のときは、オブジェクトは移動方向に蛇行しながら移動する。ID=2のときは、オブジェクトは移動方向に連続的ではなく、間欠的に移動する。ID=3のときは、オブジェクトは円弧を描いて移動する。「オブジェクト移動中の効果データサイズ」は、移動後におけるデータの大きさを表している。「オブジェクト移動中の効果データ」には、上述の移動方法に対応して必要なデータがあれば記載される。例えば、蛇行の場合の蛇行幅、円弧の場合の中心座標、半径などである。 In “effect ID during object movement”, the movement method is represented by a numerical value, for example. When ID = 0, the object goes straight in the moving direction. When ID = 1, the object moves while meandering in the movement direction. When ID = 2, the object moves intermittently rather than continuously in the movement direction. When ID = 3, the object moves while drawing an arc. “Effect data size during object movement” represents the size of data after movement. “Effect data during object movement” describes any necessary data corresponding to the movement method described above. For example, the meandering width in the case of meandering, the center coordinates in the case of an arc, and the radius.
このオブジェクト移動情報11に関連する、その他の表示定義データとして次のものが記載されている。
The following is described as other display definition data related to the
「オブジェクト表示中の効果ID」には、オブジェクトが移動中の動作が、例えば、数値で表されている。ID=0のときは、移動中にオブジェクトは変化しない。ID=1のときは、オブジェクトが拡大しながら移動する。ID=2のときは、オブジェクトが縮小しながら移動する。ID=3のときは、オブジェクトが回転しながら移動する。ID=4のときは、オブジェクトが色を変化させながら移動する。ID=5のときは、オブジェクトが明るさを変化させながら移動する。ID=6のときは、オブジェクトが透明度を変更させながら移動する。 In the “effect ID during object display”, an operation while the object is moving is represented by a numerical value, for example. When ID = 0, the object does not change during movement. When ID = 1, the object moves while expanding. When ID = 2, the object moves while shrinking. When ID = 3, the object moves while rotating. When ID = 4, the object moves while changing its color. When ID = 5, the object moves while changing the brightness. When ID = 6, the object moves while changing the transparency.
「オブジェクト表示中の効果データサイズ」は、移動後におけるデータの大きさを表している。「オブジェクト表示中の効果データ」には、移動中の動作に対応して必要なデータがあれば記載される。例えば、拡大または縮小の場合の拡大/縮小率、色の変更の場合の変更される色データなどである。 “Effect data size during object display” represents the size of data after movement. “Effect data during object display” describes any necessary data corresponding to the movement operation. For example, an enlargement / reduction ratio in the case of enlargement or reduction, color data to be changed in the case of a color change, and the like.
「オブジェクト表示終了時の効果ID」には、終了時の動作が、例えば、数値で表されている。ID=0のときは、終了時に特別な動作は行わない。ID=1のときは、最初に戻って動作を繰り返す。ID=2のときは、動作を逆に辿りながら繰り返す。ID=3のときは、終了時に特定の画像を表示する。ID=4のときは、この画像を徐々に消滅(フェードアウト)させる。ID=5のときは、この画像を徐々に分解(ディゾルブ)させる。「オブジェクト表示終了時の効果データサイズ」は、終了時におけるデータの大きさを表している。「オブジェクト表示終了時の効果データ」には、終了時の動作に対応して必要なデータがあれば記載される。例えば、表示したい特定画像の所在を占めすデータ等である。 In the “effect ID at the end of object display”, the operation at the end is represented by a numerical value, for example. When ID = 0, no special operation is performed at the end. When ID = 1, return to the beginning and repeat the operation. When ID = 2, the operation is repeated in reverse. When ID = 3, a specific image is displayed at the end. When ID = 4, this image is gradually disappeared (fade out). When ID = 5, the image is gradually decomposed (dissolved). The “effect data size at the end of object display” represents the size of data at the end. “Effect data at the end of object display” describes any data necessary for the operation at the end. For example, data that occupies the location of a specific image to be displayed.
「静止画情報総数」は、擬似動画を構成する静止画をベース画像上で何時まで表示するか等の情報が記載されている。ここで、静止画情報12を複数記載することにより、擬似的な動画を実現することができる。
The “total number of still image information” describes information such as how long to display still images constituting the pseudo moving image on the base image. Here, a pseudo moving image can be realized by describing a plurality of the
静止画情報12には、次のような情報が記載されている。
The
「静止画の表示開始時間」には、この静止画の表示を開始する時間が記載されている。「静止画のデータサイズ」には、この静止画のサイズが記載されている。「静止画のデータ」は、静止画を表すデータそのものが記載されている。 “Still image display start time” describes the time to start displaying the still image. “Still image data size” describes the size of the still image. “Still image data” describes data representing a still image itself.
続いて、上述の第1の実施の形態の画像合成方法を実現するための画像合成装置の構成と、その主な処理手順について説明する。 Subsequently, a configuration of an image composition apparatus for realizing the image composition method of the first embodiment described above and a main processing procedure thereof will be described.
図6は、画像合成装置20の構成を示す図である。画像合成装置20は、動画ファイル1、画像制御部21、作業メモリ22、保存ファイル23、ディスプレイ部24で構成されている。
FIG. 6 is a diagram illustrating a configuration of the
動画ファイル1は、図2に示すようにベース画像と動画を表示するための情報を保存する。画像制御部21は、これらの情報に基づいて動画を合成して表示する。作業メモリ22は、画像合成作業に使用するバッファメモリである。保存ファイル23は、合成した画像を静止画として保存する場合のファイルである。ディスプレイ部24は、合成された動画を表示する。
The moving
次に、画像合成処理の概略の手順を図7、図8を参照しつつ説明する。なお、以下に説明する処理は、画像合成処理機能の内主な機能に関する処理である。従って、以下の説明に記載されていない機能であっても、図1乃至図6の説明に記載された機能は画像合成処理機能に含まれる。 Next, an outline procedure of the image composition processing will be described with reference to FIGS. The process described below is a process related to the main function of the image composition processing function. Therefore, even if the function is not described in the following description, the function described in the description of FIGS. 1 to 6 is included in the image composition processing function.
図7のステップS01〜S02において、画像制御部21は、画像ファイルからユーザが指定するデータを取得して、それらのデータを作業メモリ22に保存する。以下、画像制御部21は、作業メモリ22との間のデータの読み出し書き込みを行いながら画像の合成処理を実行する。
In steps S01 to S02 of FIG. 7, the
ステップS03において、画像制御部21は、画像オブジェクト情報2bからオブジェクト総数を取得する。そしてステップS04において、画像オブジェクトに関する情報10からオブジェクトインデックスの取得を試みる。ステップS05でYesの場合、即ち、オブジェクトインデックスが取得できた場合は、そのオブジェクトについての情報取得を開始する。
In step S03, the
まず、ステップS06において、オブジェクトタイプを取得する。ステップS07においてYesの場合、即ち、取得したオブジェクトタイプが正しい場合は、ステップS10〜S13において、オブジェクト移動情報総数を取得して、その数だけオブジェクト移動情報11を読み出す。また、その他の表示定義データからオブジェクト表示中の情報とオブジェクト表示終了時の情報を読み出す。
First, in step S06, an object type is acquired. If Yes in step S07, that is, if the acquired object type is correct, the total object movement information is acquired in steps S10 to S13, and the
ステップS14において、静止画の総数を取得する。そして、ステップS15〜S18において、その数だけ静止画の表示時間、静止画のデータサイズ、静止画の画像データの取得を繰り返す。 In step S14, the total number of still images is acquired. In steps S15 to S18, the display of the still image, the data size of the still image, and the acquisition of the image data of the still image are repeated by that number.
以上のステップS04〜S19の処理を、オブジェクト総数だけ繰り返して、画像合成のためのデータ読み込みを行い、次の表示処理を実行する。 The processes in steps S04 to S19 are repeated for the total number of objects, data for image composition is read, and the next display process is executed.
図8のステップS25〜S26において、表示開始時間のカウントを0に初期化して、表示開始時間のカウントを開始する。ステップS27において、静止画表示開始時間が記載されているかどうかを調べる。 In steps S25 to S26 in FIG. 8, the display start time count is initialized to 0, and the display start time count is started. In step S27, it is checked whether a still image display start time is described.
ステップS27でNoの場合、即ち、静止画情報12に表示開始時間が指定されていない場合は、ステップS28において、ベース画像のみをディスプレイ部24に表示して終了する。
If No in step S27, that is, if the display start time is not specified in the
ステップS27でYesの場合、即ち、静止画情報12に表示開始時間が指定されている場合は、ステップS31において、ベース画像をメモリから取得する。そして、ステップS32〜S35において、静止画像のデータを静止画情報12より取り出し、静止画情報12とオブジェクト移動情報11とを元に動画像を合成する。そして、設定された表示時間が経過するまで合成した動画像をディスプレイ部24に表示する。
If Yes in step S27, that is, if the display start time is specified in the
所定の表示時間が経過したときは、次に表示する静止画があるかどうかを調べて、ステップS36でYesの場合、即ち、次に表示する静止画像がある場合は、上記ステップS32〜S35の処理を繰り返す。一方、ステップS36でNoの場合、即ち、次に表示する静止画像がない場合は、ステップS37において、オブジェクト終了時の動作を実行する。 When a predetermined display time has elapsed, it is checked whether or not there is a still image to be displayed next. If YES in step S36, that is, if there is a still image to be displayed next, the above steps S32 to S35 are performed. Repeat the process. On the other hand, if No in step S36, that is, if there is no still image to be displayed next, the operation at the end of the object is executed in step S37.
例えば、繰り返しが指定されていた場合(ID=1)は、ステップS25〜S37を繰り返して実行する。特定画像の表示が指定されていた場合(ID=3)は、ステップS38において、指定された合成画像を保存ファイル23に保存するとともにディスプレイ部24に表示する。なしの場合(ID=0)は、ステップS28において、ベース画像のみをディスプレイ部24に表示して終了する。
For example, if repeat is specified (ID = 1), steps S25 to S37 are repeated. If display of the specific image is designated (ID = 3), the designated composite image is saved in the
なお、この画像制御部21の動作は、ユーザの操作部(不図示)からの入力操作によって適宜のタイミングで停止、終了することができる。
The operation of the
[第2の実施の形態]
次に、第2の実施の形態の画像合成方法に係る、スタンプ動画と画像オブジェクト情報2bについて説明する。第2の実施の形態では、スタンプ動画として静止画像を用いる点が第1の実施の形態と異なっている。従って、第1の実施の形態と同一の部位には同一の符号を付してその詳細の説明は省略する。以下、静止画を用いたスタンプ動画を静止画スタンプという。
[Second Embodiment]
Next, the stamp moving image and the
図9は、静止画スタンプの一例を示す図である。図9は、サンタクロースが移動している状態を示している。このように、静止画スタンプとは、1つの静止画像を移動(平行移動、回転など)または変形(縮小拡大、色変化、透明度の変化など)して動画像のように表示することをいう。 FIG. 9 is a diagram illustrating an example of a still image stamp. FIG. 9 shows a state where Santa Claus is moving. As described above, the still image stamp means that a single still image is moved (parallel movement, rotation, etc.) or deformed (reduction / enlargement, color change, transparency change, etc.) and displayed like a moving image.
図10は、静止画スタンプを用いた場合の画像ヘッダ領域2内の画像オブジェクト情報2bの構成を示す図である。
FIG. 10 is a diagram showing the configuration of the
画像オブジェクト情報2bは、図5に示す画像オブジェクト情報2bと同様の構成であるが、静止画情報12が設けられていない点、およびその他表示定義データとして、静止画のデータサイズである「オブジェクトデータサイズ」15a、静止画のデータである「オブジェクトデータ」15bが新たに設けられている点が第1の実施の形態と異なっている。これ以外の点は、第1の実施の形態と同一であるためその詳細の説明は省略する。
The
続いて、上述の第2の実施の形態の画像合成方法を実現するための画像合成装置の構成と、その主な処理手順について説明する。 Next, the configuration of the image composition apparatus for realizing the image composition method of the second embodiment described above and the main processing procedure thereof will be described.
第2の実施の形態の画像合成装置20は、第1の実施の形態の画像合成装置20と同一であるため、同一の部位には同一の符号を付してその詳細の説明は省略する。
Since the
次に、第2の実施の形態にかかる画像合成処理の概略の手順を図11、図12を参照しつつ説明する。なお、以下に説明する処理は、画像合成処理機能の内主な機能に関する処理である。従って、以下の説明に記載されていない機能であっても、図1乃至図6の説明に記載された機能は画像合成処理機能に含まれる。 Next, an outline procedure of the image composition processing according to the second embodiment will be described with reference to FIGS. The process described below is a process related to the main function of the image composition processing function. Therefore, even if the function is not described in the following description, the function described in the description of FIGS. 1 to 6 is included in the image composition processing function.
図11のステップS41〜S42において、画像制御部21は、画像ファイルからユーザが指定するデータを取得して、それらのデータを作業メモリ22に保存する。以下、画像制御部21は、作業メモリ22との間でデータの読み出し書き込みを行いながら画像の合成処理を実行する。
In steps S <b> 41 to S <b> 42 of FIG. 11, the
ステップS43において、画像制御部21は、画像オブジェクト情報2bからオブジェクト総数を取得する。そしてステップS44において、画像オブジェクトに関する情報10からオブジェクトインデックスの取得を試みる。ステップS45でYesの場合、即ち、オブジェクトインデックスが取得できた場合は、そのオブジェクトについての情報取得を開始する。
In step S43, the
まず、ステップS46において、オブジェクトタイプを取得する。ステップS47においてYesの場合、即ち、取得したオブジェクトタイプが正しい場合は、ステップS50〜S53において、オブジェクト移動情報総数を取得して、その数だけオブジェクト移動情報11を読み出す。また、その他の表示定義データからオブジェクト表示中の情報とオブジェクト表示終了時の情報を読み出す。そして、ステップS56〜S58において、の他の表示定義データから、更にオブジェクトデータサイズ、オブジェクトデータを読み出す。
First, in step S46, an object type is acquired. If Yes in step S47, that is, if the acquired object type is correct, the total object movement information is acquired in steps S50 to S53, and the
以上のステップS44〜S58の処理を、オブジェクト総数だけ繰り返して、画像合成のためのデータ読み込みを行い、次の表示処理を実行する。 The above steps S44 to S58 are repeated for the total number of objects, data for image composition is read, and the next display process is executed.
図12のステップS65〜S66において、表示開始時間のカウントを0に初期化して、表示開始時間のカウントを開始する。ステップS67において、オブジェクト表示時間があるかどうかを調べる。 In steps S65 to S66 in FIG. 12, the display start time count is initialized to 0, and the display start time count is started. In step S67, it is checked whether there is an object display time.
ステップS67でNoの場合、即ち、オブジェクト移動情報に表示時間が指定されていない場合は、ステップS68において、ベース画像のみをディスプレイ部24に表示して終了する。
If No in step S67, that is, if the display time is not specified in the object movement information, only the base image is displayed on the
ステップS27でYesの場合、即ち、オブジェクト移動情報に表示時間が指定されている場合は、ステップS71において、ベース画像をメモリから取得する。そして、ステップS72〜S75において、位置情報とオブジェクト移動情報11とを元にベース画像と静止画スタンプを合成した動画像を生成する。そして、指定された表示時間が経過するまで合成した動画像をディスプレイ部24に表示する。
If Yes in step S27, that is, if the display time is specified in the object movement information, the base image is acquired from the memory in step S71. In steps S72 to S75, a moving image is generated by combining the base image and the still image stamp based on the position information and the
所定の表示時間が経過したときは、次に表示するオブジェクト移動情報11があるかどうかを調べて、ステップS76でYesの場合、即ち、次に表示するオブジェクト移動情報11がある場合は、上記ステップS72〜S75の処理を繰り返す。一方、ステップS76でNoの場合、即ち、次に表示する静止画像がない場合は、ステップS77において、オブジェクト終了時の動作を実行する。
When the predetermined display time has elapsed, it is checked whether or not there is
例えば、繰り返しが指定されていた場合(ID=1)は、ステップS65〜S77を繰り返して実行する。特定画像の表示が指定されていた場合(ID=3)は、ステップS78において、指定された合成画像を保存ファイル23に保存するとともにディスプレイ部24に表示する。なしの場合(ID=0)は、ステップS68において、ベース画像のみをディスプレイ部24に表示して終了する。
For example, when repetition is designated (ID = 1), steps S65 to S77 are repeated. If display of the specific image is specified (ID = 3), the specified composite image is stored in the
なお、この画像制御部21の動作は、ユーザの操作部(不図示)からの入力操作によって適宜のタイミングで停止、終了することができる。
The operation of the
[第3の実施の形態]
次に、第3の実施の形態の画像合成方法に係る、スタンプ動画と画像オブジェクト情報2bについて説明する。第3の実施の形態では、スタンプ動画として動画像を用いる点が第2の実施の形態と異なっている。従って、第2の実施の形態と同一の部位には同一の符号を付してその詳細の説明は省略する。以下、動画を用いたスタンプ動画を動画スタンプという。
[Third Embodiment]
Next, the stamp moving image and the
第2の実施の形態で説明した静止画スタンプでは、サンタクロースの静止画が移動していたが、第3の実施の形態では、このサンタクロースは動画で構成されている。このように、動画スタンプとは、1つの動画像を移動(平行移動、回転など)または変形(縮小拡大、色変化、透明度の変化など)して動画表示することをいう。 In the still image stamp described in the second embodiment, the Santa Claus still image has moved. In the third embodiment, this Santa Claus is composed of a moving image. As described above, the moving image stamp refers to displaying a moving image by moving (translating, rotating, etc.) or transforming (reducing / enlarging, changing color, changing transparency, etc.) one moving image.
図13は、動画スタンプを用いた場合の画像ヘッダ領域2内の画像オブジェクト情報2bの構成を示す図である。
FIG. 13 is a diagram showing a configuration of the
画像オブジェクト情報2bは、図10に示す画像オブジェクト情報2bと同様の構成であるが、オブジェクト移動情報11の「オブジェクト移動方向」、「オブジェクト表示時間」に代えて「オブジェクト表示終了位置」16を設けている点のみが異なっている。これ以外の点は、第2の実施の形態と同一であるためその詳細の説明は省略する。
The
なお、上述の第3の実施の形態の画像合成方法を実現するための画像合成装置の構成と、その主な処理手順については、第2の実施の形態と同一であるためその詳細の説明を省略する。 The configuration of the image composition apparatus for realizing the image composition method of the above-described third embodiment and the main processing procedure thereof are the same as those in the second embodiment, so that the details thereof will be described. Omitted.
この第3の実施の形態によれば、オブジェクト移動情報11に「オブジェクト表示終了位置」16を設けていることにより、第2の実施の形態における「オブジェクト移動方向」、「オブジェクト表示時間」が省略可能となる。
According to the third embodiment, by providing the “object display end position” 16 in the
なお、図10と図13に示す画像オブジェクト情報2bの構成は、上述の実施の形態に限ることなく、静止画スタンプ、動画スタンプのいずれの場合にも適用することが可能である。
Note that the configuration of the
[実施の形態の効果]
以上説明した実施の形態では、ベース画像の画像ファイルのヘッダ情報領域内に、必要なスタンプ動画の情報を挿入することにより、ベース画像とスタンプ画像を合成してできる動画像データのファイルよりも小さいサイズのファイルとして保存、管理することができる。
[Effect of the embodiment]
In the above-described embodiment, the necessary stamp moving picture information is inserted into the header information area of the base image file, so that it is smaller than the moving image data file formed by combining the base image and the stamp image. Can be saved and managed as a size file.
またデジタルカメラなどで通常用いられているヘッダ領域を有する画像ファイルにおいて、スタンプ動画の情報をそのヘッダ情報領域内のユーザ定義可能な領域に格納することによって、動画スタンプを取り扱うことができない一般の画像表示ソフトウエアであっても、その画像ファイルを通常の静止画ファイルとして取り扱うことができる。 In addition, in an image file having a header area normally used in a digital camera or the like, a general image that cannot handle a moving picture stamp by storing stamp moving picture information in a user-definable area in the header information area Even display software can handle the image file as a normal still image file.
また、本実施の形態によれば、スタンプ画像が移動、変形、色・明るさの変化の多彩な動作を行う動画を生成することができる。そして、この動作はわずかな情報を付加するだけで可能であるため、画像ファイルの容量増はわずかである。 Further, according to the present embodiment, it is possible to generate a moving image in which the stamp image performs various operations such as movement, deformation, and change in color / brightness. Since this operation can be performed by adding a small amount of information, an increase in the capacity of the image file is slight.
更に、本実施の形態によれば、スタンプ画像を平行移動、回転移動、拡大縮小、色の変化、明るさの変化、透明度の変化などを組み合わせて複雑に変化させることができる。そして、この動作はわずかな情報を付加するだけで可能であるため、画像ファイルの容量増はわずかである。 Furthermore, according to the present embodiment, it is possible to change the stamp image in a complex manner by combining translation, rotation, enlargement / reduction, color change, brightness change, transparency change, and the like. Since this operation can be performed by adding a small amount of information, an increase in the capacity of the image file is slight.
また、ベース画像は従来通りの解像度で保存される。従って、本画像合成処理によりベース画像の解像度が下がることがない。さらにベース画像は、この動画表示と切り離して取り扱うことも可能である。 Further, the base image is stored at the conventional resolution. Therefore, the resolution of the base image is not lowered by this image composition processing. Furthermore, the base image can be handled separately from the moving image display.
なお、上述の実施の形態で説明した各機能は、ハードウエアを用いて構成しても良く、また、ソフトウエアを用いて各機能を記載したプログラムをコンピュータに読み込ませて実現しても良い。また、各機能は、適宜ソフトウエア、ハードウエアのいずれかを選択して構成するものであっても良い。 Each function described in the above embodiment may be configured using hardware, or may be realized by reading a program describing each function into a computer using software. Each function may be configured by appropriately selecting either software or hardware.
更に、各機能は図示しない記録媒体に格納したプログラムをコンピュータに読み込ませることで実現させることもできる。ここで本実施の形態における記録媒体は、プログラムを記録でき、かつコンピュータが読み取り可能な記録媒体であれば、その記録形式は何れの形態であってもよい。 Furthermore, each function can be realized by causing a computer to read a program stored in a recording medium (not shown). Here, as long as the recording medium in the present embodiment can record a program and can be read by a computer, the recording format may be any form.
なお、この発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組み合せてもよい。 Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Further, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine suitably the component covering different embodiment.
1…動画ファイル、2…画像ヘッダ領域、2a…画像ヘッダ情報、2b…画像オブジェクト情報、3…画像データ領域、3a…画像データ情報、10…画像オブジェクトに関する情報、11…オブジェクト移動情報、12…静止画情報、20…画像合成装置、21…画像制御部、24…ディスプレイ部。
DESCRIPTION OF
Claims (8)
当該データファイルは、
静止画像を表示するソフトウエアで静止画像ファイルとして認識可能であり、
第1の静止画像の画像データを格納する領域と、
前記第1の静止画像に合成され、スタンプ動画として表示される少なくとも1つの画像オブジェクトのデータを格納する領域と、
前記画像オブジェクトと前記第1の静止画像とを合成する合成方法を指定する制御データを格納する領域と
を有することを特徴とするコンピュータ読み取り可能な記録媒体。 A computer-readable recording medium storing a data file,
The data file is
It can be recognized as a still image file by software that displays still images,
An area for storing image data of the first still image;
An area for storing data of at least one image object that is combined with the first still image and displayed as a stamp video;
A computer-readable recording medium comprising: an area for storing control data for specifying a synthesis method for synthesizing the image object and the first still image.
前記制御データは該第1の静止画像上で前記第2の静止画像が移動又は変形又は色・明るさの変化する態様を指定するデータを含むものであることを特徴とする請求項1に記載の記録媒体。 The image object is a second still image;
2. The recording according to claim 1, wherein the control data includes data designating a mode in which the second still image moves or deforms or changes in color and brightness on the first still image. Medium.
前記変形を指定するデータは、前記画像オブジェクトのサイズ、向き、色、明るさ、透明の少なくとも1つの態様を指定することを特徴とする請求項2に記載の記録媒体。 The data specifying the movement specifies at least one aspect of parallel movement or rotational movement,
The recording medium according to claim 2, wherein the data specifying the deformation specifies at least one aspect of a size, orientation, color, brightness, and transparency of the image object.
前記制御データは該第3の静止画像から擬似的に動画像を生成する方法を指定するデータであることを特徴とする請求項1に記載の記録媒体。 The image object is a plurality of third still images,
The recording medium according to claim 1, wherein the control data is data designating a method for generating a pseudo moving image from the third still image.
前記第1の静止画像データはExifフォーマットのファイルのベース画像として格納され、
前記画像オブジェクトデータ及び前記制御データは、Exifフォーマットのファイルのベース画像ヘッダ情報領域に格納されることを特徴とする請求項1乃至7の内いずれか1項に記載の記録媒体。 The file is an Exif format file,
The first still image data is stored as a base image of an Exif format file;
8. The recording medium according to claim 1, wherein the image object data and the control data are stored in a base image header information area of an Exif format file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004319173A JP4664650B2 (en) | 2004-11-02 | 2004-11-02 | Computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004319173A JP4664650B2 (en) | 2004-11-02 | 2004-11-02 | Computer-readable recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006133290A true JP2006133290A (en) | 2006-05-25 |
JP4664650B2 JP4664650B2 (en) | 2011-04-06 |
Family
ID=36726922
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004319173A Expired - Fee Related JP4664650B2 (en) | 2004-11-02 | 2004-11-02 | Computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4664650B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010153947A (en) * | 2008-12-24 | 2010-07-08 | Casio Computer Co Ltd | Image generating apparatus, image generating program and image display method |
JP2013093863A (en) * | 2012-12-06 | 2013-05-16 | Casio Comput Co Ltd | Recording controller, recording control method and program |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05120400A (en) * | 1991-10-30 | 1993-05-18 | Fujitsu Ltd | Electronic illustrated book display device |
JPH1027082A (en) * | 1996-07-09 | 1998-01-27 | Nec Home Electron Ltd | Image display device |
JPH1115993A (en) * | 1997-06-19 | 1999-01-22 | Minolta Co Ltd | Device for image information processing and storage medium |
JP2002223389A (en) * | 2001-01-25 | 2002-08-09 | Sony Corp | Device and method for compositing moving images |
JP2004229021A (en) * | 2003-01-23 | 2004-08-12 | Ricoh Co Ltd | Method for additionally writing metadata and information processing unit |
-
2004
- 2004-11-02 JP JP2004319173A patent/JP4664650B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05120400A (en) * | 1991-10-30 | 1993-05-18 | Fujitsu Ltd | Electronic illustrated book display device |
JPH1027082A (en) * | 1996-07-09 | 1998-01-27 | Nec Home Electron Ltd | Image display device |
JPH1115993A (en) * | 1997-06-19 | 1999-01-22 | Minolta Co Ltd | Device for image information processing and storage medium |
JP2002223389A (en) * | 2001-01-25 | 2002-08-09 | Sony Corp | Device and method for compositing moving images |
JP2004229021A (en) * | 2003-01-23 | 2004-08-12 | Ricoh Co Ltd | Method for additionally writing metadata and information processing unit |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010153947A (en) * | 2008-12-24 | 2010-07-08 | Casio Computer Co Ltd | Image generating apparatus, image generating program and image display method |
JP2013093863A (en) * | 2012-12-06 | 2013-05-16 | Casio Comput Co Ltd | Recording controller, recording control method and program |
Also Published As
Publication number | Publication date |
---|---|
JP4664650B2 (en) | 2011-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7974492B2 (en) | Image data reproducing apparatus with changing proportions of combined enlarged images, method of controlling same and control program therefor | |
JP4591576B2 (en) | Image processing apparatus, image processing method, and program | |
US5982350A (en) | Compositer interface for arranging the components of special effects for a motion picture production | |
JP4850278B2 (en) | Content creation support device, content creation support method, and scenario file generation method | |
CN102656610B (en) | Device and method for image generation | |
EP0915471A3 (en) | Video searching, video information production, and storage medium for storing processing program therefor | |
RU2000116340A (en) | RECORDING MEDIA, DEVICE AND METHOD FOR PROCESSING IMAGES | |
JP2007271908A (en) | Multi-image creating device | |
JP4701598B2 (en) | Still image generating apparatus, still image generating method, still image generating program, and recording medium on which still image generating program is recorded | |
JP3616241B2 (en) | Animation display method and computer-readable recording medium recording animation display program | |
JP4664650B2 (en) | Computer-readable recording medium | |
US6122069A (en) | Efficient method of modifying an image | |
KR100633893B1 (en) | Displaying images | |
JP5441349B2 (en) | Image projection apparatus and control method thereof | |
JP4493470B2 (en) | Image processing program, image processing method, and image processing apparatus | |
JP5093317B2 (en) | Image processing apparatus, image processing method, and program | |
US7355610B2 (en) | Method and apparatus for expanding image data to create enlarged images for display | |
CN111460770B (en) | Method, device, equipment and storage medium for synchronizing element attributes in document | |
JP4489661B2 (en) | Slide show generating apparatus, control method therefor, and control program therefor | |
JP3321402B2 (en) | Video data editing method and device | |
JP2003087553A (en) | Device and method for compositing images and program | |
KR100460081B1 (en) | A moving picture virtual reality image construction system and a method thereof | |
JP3255270B2 (en) | Video display device | |
WO2007073010A1 (en) | Media making method and storage medium | |
JP2005115011A (en) | Image display apparatus, image display method, image display program and recording medium recording the program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070731 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101117 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101124 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101208 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110104 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110107 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4664650 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140114 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |