JP2007028331A - Image generating apparatus and program thereof - Google Patents
Image generating apparatus and program thereof Download PDFInfo
- Publication number
- JP2007028331A JP2007028331A JP2005209069A JP2005209069A JP2007028331A JP 2007028331 A JP2007028331 A JP 2007028331A JP 2005209069 A JP2005209069 A JP 2005209069A JP 2005209069 A JP2005209069 A JP 2005209069A JP 2007028331 A JP2007028331 A JP 2007028331A
- Authority
- JP
- Japan
- Prior art keywords
- frame
- image
- trimming
- generated
- generating
- 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
- Studio Devices (AREA)
- Image Processing (AREA)
- Television Signal Processing For Recording (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
本発明は、画像生成装置及びそのプログラムに係り、詳しくは、動画中のフレームを静止画像として抽出することができる画像生成装置及びそのプログラムに関する。 The present invention relates to an image generation device and a program thereof, and more particularly to an image generation device and a program thereof that can extract a frame in a moving image as a still image.
従来の画像生成装置、例えば、デジタルカメラにおいては、被写体の静止画を撮影する機能のみならず動画を撮影する機能を有したものが普及してきている。
また、デジタルカメラを直接プリンタに接続することにより、撮影した静止画を簡単にプリントアウトすることができる機能を備えるデジタルカメラも登場してきている。
このような技術の発展に伴い、動画のある特定のフレームから静止画を作成して記録するという技術が登場してきている。これにより、動画のある特定のフレームの画像を簡単にプリントアウトすることができる。
また、直接プリンタと接続し、動画のある特定のフレームから静止画を作成し、その静止画をプリンタに送ることにより該フレームの画像を印刷することができるデジタルカメラも登場してきている(特許文献1)。
2. Description of the Related Art Conventional image generation apparatuses, such as digital cameras, have become widespread that have a function of shooting a moving image as well as a function of shooting a still image of a subject.
In addition, digital cameras having a function of easily printing out a photographed still image by connecting the digital camera directly to a printer have also appeared.
Along with the development of such technology, a technology for creating and recording a still image from a specific frame of a moving image has appeared. Thereby, it is possible to easily print out an image of a specific frame of the moving image.
In addition, digital cameras that can be directly connected to a printer, create a still image from a specific frame of a moving image, and send the still image to the printer to print the image of the frame have appeared (Patent Literature). 1).
しかしながら、従来のデジタルカメラにあっては、動画のある特定のフレーム画像のある部分の画像だけを欲しいと思っても、該フレームを静止画ファイルとして記録し、その後、該記録した静止画ファイルを読み出してトリミング画像を生成するため、手間がかかり面倒であるという問題点があった。
また、フレームのある部分の画像を切り出すためには、該フレームを静止画ファイルとして記録するため、必要のないデータまで記録してしまい、メモリの有効活用ができないという問題点もあった。また、メモリの空き容量を確保するためには、該記録した必要のないデータをわざわざ消去しなければならず手間がかかり面倒であるという問題点もあった。
However, in a conventional digital camera, even if you want only an image of a certain part of a certain frame image of a moving image, record the frame as a still image file, and then record the recorded still image file. Since a trimmed image is generated by reading out, there is a problem that it is troublesome and troublesome.
In addition, in order to cut out an image of a portion of a frame, since the frame is recorded as a still image file, unnecessary data is recorded, and the memory cannot be effectively used. Further, in order to secure the free space of the memory, there is a problem that it is troublesome and cumbersome because the recorded unnecessary data has to be erased.
そこで本発明は、かかる従来の問題点に鑑みてなされたものであり、簡易に動画中のフレームの中から必要な部分の画像データを得ることができる画像生成装置及びそのプログラムを提供することを目的とする。 Therefore, the present invention has been made in view of such conventional problems, and provides an image generation apparatus and a program thereof that can easily obtain image data of a necessary part from a frame in a moving image. Objective.
上記目的達成のため、請求項1記載の発明による画像生成装置は、動画データを取得する取得手段と、
前記取得手段により取得された動画データの中のフレームを選択する第1の選択手段と、
前記第1の選択手段により選択されたフレームから静止画ファイルを生成する生成手段と、
を備え、
前記生成手段は、
前記静止画ファイルを生成する前に前記第1の選択手段により選択されたフレームからトリミング画像を生成する手段を含み、生成されたトリミング画像から静止画ファイルを生成することを特徴とする。
In order to achieve the above object, an image generation apparatus according to the invention described in
First selection means for selecting a frame in the moving image data acquired by the acquisition means;
Generating means for generating a still image file from the frame selected by the first selecting means;
With
The generating means includes
It includes means for generating a trimming image from the frame selected by the first selection means before generating the still image file, and the still image file is generated from the generated trimming image.
また、例えば、請求項2に記載されているように、前記生成手段により生成された静止画ファイルを記録手段に記録する記録制御手段を備えるようにしてもよい。
Further, for example, as described in
また、例えば、請求項3に記載されているように、前記生成手段により生成された静止画ファイルを外部機器に出力する外部出力手段を備えるようにしてもよい。
Further, for example, as described in
また、例えば、請求項4に記載されているように、前記第1の選択手段は、
前記取得手段により取得された動画データの中から、所定の情報により指定されるフレーム又はブレ量の少ないフレーム又は被写体の変化の大きいフレーム又は録画開始時のフレーム又は録画終了時のフレームを選択するようにしてもよい。
For example, as described in
From the moving image data acquired by the acquisition means, a frame specified by predetermined information, a frame with a small amount of blur, a frame with a large change in the subject, a frame at the start of recording or a frame at the end of recording is selected. It may be.
また、例えば、請求項5に記載されているように、ユーザが前記動画データ中の任意のフレームを指定するための第1のフレーム指定手段を備え、
前記第1の選択手段は、
前記第1のフレーム指定手段により指定されたフレームを選択するようにしてもよい。
Further, for example, as described in
The first selection means includes
The frame specified by the first frame specifying means may be selected.
また、例えば、請求項6に記載されているように、前記第1の選択手段により選択されたフレームの画像を表示手段に表示させる表示制御手段を備えるようにしてもよい。
Further, for example, as described in
また、例えば、請求項7に記載されているように、トリミングするエリアを示すトリミング情報を記憶する第1の記憶手段を備え、
前記生成手段は、
前記第1の記憶手段に記憶されているトリミング情報に基づいて、前記第1の選択手段により選択されたフレームからトリミング画像を生成するようにしてもよい。
Further, for example, as described in
The generating means includes
A trimming image may be generated from the frame selected by the first selection unit based on the trimming information stored in the first storage unit.
また、例えば、請求項8に記載されているように、前記第1の選択手段により選択されたフレーム中の被写体を認識する第1の画像認識手段と、
前記第1の画像認識手段により認識された被写体の位置に基づいてトリミングエリアを決定して前記第1の記憶手段にトリミング情報を記憶させる第1の記憶制御手段と、
を備えるようにしてもよい。
Further, for example, as described in
First storage control means for determining a trimming area based on the position of the subject recognized by the first image recognition means and storing the trimming information in the first storage means;
You may make it provide.
また、例えば、請求項9に記載されているように、ユーザがトリミングエリアを指定するための第1のエリア指定手段と、
前記第1のエリア指定手段により指定されたトリミングエリアに基づいてトリミング情報を前記第1の記憶手段に記憶させる第1の記憶制御手段と、
を備えるようにしてもよい。
Further, for example, as described in
First storage control means for storing trimming information in the first storage means based on the trimming area designated by the first area designating means;
You may make it provide.
また、例えば、請求項10に記載されているように、前記トリミング情報は、
トリミングする位置を示すトリミング位置情報、トリミングする大きさを示すトリミングサイズ情報のうち、少なくとも1つ以上の情報を有するようにしてもよい。
For example, as described in
You may make it have at least 1 or more information among the trimming position information which shows the position to trim, and the trimming size information which shows the magnitude | size to trim.
また、例えば、請求項11に記載されているように、前記表示制御手段は、
前記第1の記憶手段に記憶されているトリミング情報にしたがって、トリミングエリアを示すトリミング枠を前記表示手段に表示されている画像上に表示させるようにしてもよい。
For example, as described in claim 11, the display control unit includes:
In accordance with the trimming information stored in the first storage unit, a trimming frame indicating a trimming area may be displayed on the image displayed on the display unit.
また、例えば、請求項12に記載されているように、前記取得手段により取得された動画データのうち、前記第1の選択手段により選択されたフレーム以外のフレームを複数選択する第2の選択手段を備え、
前記生成手段は、
前記静止画ファイルを生成する前に前記第2の選択手段により選択された各フレームからトリミング画像を生成するようにしてもよい。
Further, for example, as described in
The generating means includes
A trimming image may be generated from each frame selected by the second selection means before generating the still image file.
また、例えば、請求項13に記載されているように、前記第2の選択手段は、
前記第1の選択手段により選択されたフレームの前後のフレームを選択するようにしてもよい。
Further, for example, as described in
You may make it select the flame | frame before and behind the flame | frame selected by the said 1st selection means.
また、例えば、請求項14に記載されているように、前記第2の選択手段は、
前記第1の選択手段により選択されたフレーム以外のフレームのうち、ブレ量の少ないフレーム又は変化の大きいフレームを選択するようにしてもよい。
Further, for example, as described in
Of the frames other than the frame selected by the first selection means, a frame with a small amount of shake or a frame with a large change may be selected.
また、例えば、請求項15に記載されているように、ユーザが複数のフレームを指定するための第2のフレーム指定手段を備え、
前記第2の選択手段は、
前記第2のフレーム指定手段により指定された複数のフレームを選択するようにしてもよい。
Further, for example, as described in
The second selection means includes
A plurality of frames specified by the second frame specifying means may be selected.
また、例えば、請求項16に記載されているように、前記生成手段は、
前記第1の記憶手段に記憶されているトリミング情報に基づいて、前記第2の選択手段により選択された各フレームからトリミング画像を生成するようにしてもよい。
For example, as described in
A trimming image may be generated from each frame selected by the second selection unit based on the trimming information stored in the first storage unit.
また、例えば、請求項17に記載されているように、前記第2の選択手段により選択された各フレームに対応するトリミング情報を記憶する第2の記憶手段を備え、
前記生成手段は、
前記2の記憶手段に記憶されている前記第2の選択手段により選択されたフレーム毎のトリミング情報にしたがって、該選択された各フレームからトリミング画像を生成するようにしてもよい。
Further, for example, as described in
The generating means includes
A trimming image may be generated from each selected frame according to the trimming information for each frame selected by the second selection means stored in the second storage means.
また、例えば、請求項18に記載されているように、前記第2の選択手段により選択されたフレーム毎に被写体の画像を認識し、該フレーム毎に、前記第1の画像認識手段により認識された被写体のある位置に基づいてトリミングエリアを決定して前記第2の記憶手段に各フレームのトリミング情報を記憶させる第2の記憶制御手段を備えるようにしてもよい。
Further, for example, as described in
また、例えば、請求項19に記載されているように、前記第2の選択手段により選択された各フレーム毎の被写体を認識する第2の画像認識手段と、
前記第2の画像認識手段により認識された被写体に基づいて、前記第2の選択手段により選択された各フレームのトリミングエリアを決定して前記第2の記憶手段にトリミング情報を記憶させる第2の記憶制御手段と、
を備えるようにしてもよい。
Further, for example, as described in
Based on the subject recognized by the second image recognition means, a second trimming area of each frame selected by the second selection means is determined and trimming information is stored in the second storage means Memory control means;
You may make it provide.
また、例えば、請求項20に記載されているように、ユーザが前記第2の選択手段により選択された各フレームのトリミングエリアを指定するための第2のエリア指定手段と、
前記第2のエリア指定手段により指定されたトリミングエリアに基づいて各フレームのトリミング情報を前記第2の記憶手段に記憶させる第2の記憶制御手段と、
を備えるようにしてもよい。
Further, for example, as described in
Second storage control means for storing trimming information of each frame in the second storage means based on the trimming area designated by the second area designating means;
You may make it provide.
また、例えば、請求項21に記載されているように、前記生成手段は、
複数のトリミング画像を生成する場合には、該生成された複数のトリミング画像各々の静止画ファイルを生成するようにしてもよい。
For example, as described in
When generating a plurality of trimmed images, a still image file of each of the generated trimmed images may be generated.
また、例えば、請求項22に記載されているように、前記生成手段は、
複数のトリミング画像を生成する場合には、該生成された複数のトリミング画像から1枚の組画像データを生成し、該生成した組画像データから静止画ファイルを生成するようにしてもよい。
For example, as described in
When generating a plurality of trimmed images, one set of image data may be generated from the generated plurality of trimmed images, and a still image file may be generated from the generated set image data.
上記目的達成のため、請求項23記載の発明によるプログラムは、動画データを取得する取得処理と、
この取得処理により取得された動画データの中のフレームを選択する選択処理と、
この選択処理により選択されたフレームから静止画ファイルを生成する生成処理とを含み、
更に、前記生成処理は、前記静止画ファイルを生成する前に前記選択処理により選択されたフレームからトリミング画像を生成し、該生成されたトリミング画像から静止画ファイルを生成する処理
を含み、上記各処理をコンピュータで実行させることを特徴とする。
In order to achieve the above object, a program according to the invention of claim 23 is an acquisition process for acquiring moving image data;
A selection process for selecting a frame in the video data acquired by the acquisition process;
Including a generation process for generating a still image file from the frame selected by the selection process,
Further, the generation process includes a process of generating a trimmed image from the frame selected by the selection process before generating the still image file, and generating a still image file from the generated trimmed image, The processing is executed by a computer.
請求項1記載の発明によれば、動画データを取得する取得手段と、前記取得手段により取得された動画データの中のフレームを選択する第1の選択手段と、前記第1の選択手段により選択されたフレームから静止画ファイルを生成する生成手段と、を備え、前記生成手段は、前記静止画ファイルを生成する前に前記第1の選択手段により選択されたフレームからトリミング画像を生成する手段を含み、生成されたトリミング画像から静止画ファイルを生成するようにしたので、簡単、且つ、迅速に動画データの中のフレームからトリミング画像を生成することができる。 According to the first aspect of the present invention, the acquisition means for acquiring moving image data, the first selection means for selecting a frame in the moving image data acquired by the acquisition means, and the selection by the first selection means Generating means for generating a still image file from the generated frames, wherein the generating means generates means for generating a trimmed image from the frame selected by the first selection means before generating the still image file. In addition, since the still image file is generated from the generated trimmed image, the trimmed image can be generated easily and quickly from the frame in the moving image data.
請求項2記載の発明によれば、前記生成手段により生成された静止画ファイルを記録手段に記録する記録制御手段を備えるようにしたので、動画データのフレームを静止画ファイルとして記録せずに、該フレームから生成されたトリミング画像のみを記録することができ、無駄なデータを記録することがなく、メモリ容量を有効活用することができる。また、無駄なデータを消去する必要もないので手間もかからない。 According to the second aspect of the present invention, since the recording control means for recording the still image file generated by the generating means in the recording means is provided, without recording the frame of the moving image data as the still image file, Only the trimmed image generated from the frame can be recorded, and unnecessary data is not recorded, so that the memory capacity can be effectively utilized. In addition, there is no need to erase useless data, so there is no need for trouble.
請求項3記載の発明によれば、前記生成手段により生成された静止画ファイルを外部機器に出力する外部出力手段を備えるようにしたので、簡単、且つ、迅速に動画データの中のフレームから生成されたトリミング画像の静止画ファイルだけを外部機器に出力することができる。 According to the third aspect of the invention, since the external image output unit that outputs the still image file generated by the generating unit to the external device is provided, the image can be generated easily and quickly from the frame in the moving image data. Only the trimmed still image file can be output to an external device.
請求項4記載の発明によれば、前記第1の選択手段は、前記取得手段により取得された動画データの中から、所定の情報により指定されるフレーム又はブレ量の少ないフレーム又は被写体の変化の大きいフレーム又は録画開始時のフレーム又は録画終了時のフレームを選択するようにしたので、ブレの少ないフレームを選択した場合には綺麗なトリミング画像のみを静止画ファイルとして生成することができる。また、変化の大きいフレームを選択した場合にはシーンの変り目となる画像や決定的瞬間となるトリミング画像を静止画ファイルとして生成することができる。 According to a fourth aspect of the present invention, the first selection unit is configured to change a frame specified by predetermined information, a frame with a small amount of blur, or a subject change from the moving image data acquired by the acquisition unit. Since a large frame, a frame at the start of recording, or a frame at the end of recording is selected, only a beautiful trimmed image can be generated as a still image file when a frame with less blur is selected. In addition, when a frame with a large change is selected, an image that becomes a scene change or a trimmed image that becomes a decisive moment can be generated as a still image file.
請求項5記載の発明によれば、ユーザが前記動画データ中の任意のフレームを指定するための第1のフレーム指定手段を備え、前記第1の選択手段は、前記第1のフレーム指定手段により指定されたフレームを選択するようにしたので、ユーザが静止画ファイルを生成したいと思うトリミング画像の基となるフレームを選択することができる。
According to the invention of
請求項6記載の発明によれば、前記第1の選択手段により選択されたフレームの画像を表示手段に表示させる表示制御手段を備えるようにしたので、トリミング画像の生成の基となるフレームの画像をユーザは視認することができ、ユーザが記録したいと思うトリミング画像を記録することができる。 According to the sixth aspect of the invention, since the display control means for displaying the image of the frame selected by the first selection means on the display means is provided, the image of the frame that is the basis for generating the trimmed image Can be visually recognized, and a trimmed image that the user wants to record can be recorded.
請求項7記載の発明によれば、トトリミングするエリアを示すトリミング情報を記憶する第1の記憶手段を備え、前記生成手段は、前記第1の記憶手段に記憶されているトリミング情報に基づいて、前記第1の選択手段により選択されたフレームからトリミング画像を生成するようにしたので、トリミングエリア内の画像をトリミングすることができる。 According to the seventh aspect of the present invention, the first storage means for storing the trimming information indicating the area to be trimmed is provided, and the generation means is based on the trimming information stored in the first storage means. Since the trimming image is generated from the frame selected by the first selection means, the image in the trimming area can be trimmed.
請求項8記載の発明によれば、前記第1の選択手段により選択されたフレーム中の被写体を認識する第1の画像認識手段と、前記第1の画像認識手段により認識された被写体の位置に基づいてトリミングエリアを決定して前記第1の記憶手段にトリミング情報を記憶させる第1の記憶制御手段と、を備えるようにしたので、自動的に画像認識により認識された被写体(人物や動物や自動車などの被写体)の画像データをトリミングすることができる。 According to the eighth aspect of the present invention, the first image recognition means for recognizing the subject in the frame selected by the first selection means, and the position of the subject recognized by the first image recognition means. And a first storage control unit that determines a trimming area based on the first storage unit and stores the trimming information in the first storage unit. Image data of a subject such as a car) can be trimmed.
請求項9記載の発明によれば、ユーザがトリミングエリアを指定するための第1のエリア指定手段と、前記第1のエリア指定手段により指定されたトリミングエリアに基づいてトリミング情報を前記第1の記憶手段に記憶させる第1の記憶制御手段と、を備えるようにしたので、ユーザがトリミングしたいエリアをトリミングすることができる。 According to the ninth aspect of the present invention, the first area designating means for the user to designate the trimming area and the trimming information based on the trimming area designated by the first area designating means Since the first storage control means to be stored in the storage means is provided, the area that the user wants to trim can be trimmed.
請求項10記載の発明によれば、前記トリミング情報は、トリミングする位置を示すトリミング位置情報、トリミングする大きさを示すトリミングサイズ情報のうち、少なくとも1つ以上の情報を有するようにしたので、トリミング位置情報、トリミングサイズ情報に対応するトリミング画像を得ることができる。 According to the tenth aspect of the present invention, the trimming information includes at least one of trimming position information indicating a trimming position and trimming size information indicating a size to be trimmed. A trimmed image corresponding to position information and trimming size information can be obtained.
請求項11記載の発明によれば、前記表示制御手段は、前記第1の記憶手段に記憶されているトリミング情報にしたがって、トリミングエリアを示すトリミング枠を前記表示手段に表示されている画像上に表示させるようにしたので、ユーザはトリミングされる画像の範囲を認識することができる。 According to the invention of claim 11, the display control means has a trimming frame indicating a trimming area on the image displayed on the display means in accordance with the trimming information stored in the first storage means. Since the image is displayed, the user can recognize the range of the trimmed image.
請求項12記載の発明によれば、前記取得手段により取得された動画データのうち、前記第1の選択手段により選択されたフレーム以外のフレームを複数選択する第2の選択手段を備え、前記生成手段は、前記静止画ファイルを生成する前に前記第2の選択手段により選択された各フレームからトリミング画像を生成するようにしたので、一度に複数のトリミング画像を生成するので、ユーザの手間がかからずに複数のトリミング画像を得ることができる。 According to a twelfth aspect of the present invention, the moving image data acquired by the acquiring unit includes a second selecting unit that selects a plurality of frames other than the frame selected by the first selecting unit, and the generation Since the means generates the trimming image from each frame selected by the second selection means before generating the still image file, a plurality of trimming images are generated at a time, so that the user's trouble is reduced. A plurality of trimmed images can be obtained without taking this.
請求項13記載の発明によれば、前記第2の選択手段は、前記第1の選択手段により選択されたフレームの前後のフレームを選択するようにしたので、第1の選択手段により選択されたフレームからトリミング画像を生成するときに、選択された前後のフレームからトリミング画像を生成するので、ユーザの手間がかからずに複数のトリミング画像を得ることができる。 According to a thirteenth aspect of the present invention, since the second selection unit selects a frame before and after the frame selected by the first selection unit, the second selection unit is selected by the first selection unit. When generating a trimmed image from a frame, the trimmed image is generated from the selected previous and subsequent frames, so that a plurality of trimmed images can be obtained without the user's effort.
請求項14記載の発明によれば、前記第2の選択手段は、前記第1の選択手段により選択されたフレーム以外のフレームのうち、ブレ量の少ないフレーム又は変化の大きいフレームを選択するようにしたので、ブレの少ないフレームを選択した場合には綺麗なトリミング画像を静止画ファイルとして記録することができる。また、変化の大きいフレームを選択した場合にはシーンの変り目となる画像や決定的瞬間となるフレームを静止画ファイルとして記録することができる。 According to the fourteenth aspect of the present invention, the second selection unit selects a frame with a small amount of blurring or a frame with a large change among frames other than the frame selected by the first selection unit. Therefore, when a frame with less blur is selected, a beautiful trimmed image can be recorded as a still image file. When a frame with a large change is selected, an image that becomes a scene change or a frame that becomes a decisive moment can be recorded as a still image file.
請求項15記載の発明によれば、ユーザが複数のフレームを指定するための第2のフレーム指定手段を備え、前記第2の選択手段は、前記第2のフレーム指定手段により指定された複数のフレームを選択するようにしたので、トリミング画像を生成したいと思う基となる複数のフレームをユーザが自由に選択することができる。 According to the fifteenth aspect of the present invention, the apparatus further comprises second frame designating means for the user to designate a plurality of frames, wherein the second selection means includes a plurality of frames designated by the second frame designating means. Since the frame is selected, the user can freely select a plurality of frames from which a trimmed image is desired to be generated.
請求項16記載の発明によれば、前記生成手段は、第1の記憶手段に記憶手段に記憶されているトリミング情報に基づいて、前記第2の選択手段により選択された各フレームからトリミング画像を生成するようにしたので、第2の選択手段により選択されたフレーム毎にトリミング情報を決める必要はなく、該選択された各フレームから迅速にトリミング画像を生成することができる。 According to a sixteenth aspect of the present invention, the generation means generates a trimmed image from each frame selected by the second selection means based on the trimming information stored in the storage means in the first storage means. Since it is generated, it is not necessary to determine trimming information for each frame selected by the second selection means, and a trimmed image can be quickly generated from each selected frame.
請求項17記載の発明によれば、前記第2の選択手段により選択された各フレームに対応するトリミング情報を記憶する第2の記憶手段を備え、前記生成手段は、前記第2の記憶手段に記憶されている前記第2の選択手段により選択されたフレーム毎のトリミング情報にしたがって、該選択された各フレームからトリミング画像を生成するようにしたので、フレーム毎に異なったトリミング情報でトリミング画像を生成することができる。 According to a seventeenth aspect of the present invention, there is provided second storage means for storing trimming information corresponding to each frame selected by the second selection means, and the generation means is stored in the second storage means. According to the stored trimming information for each frame selected by the second selection means, a trimmed image is generated from each selected frame. Can be generated.
請求項18記載の発明によれば、前記第2の選択手段により選択されたフレーム毎に被写体の画像を認識し、該フレーム毎に、前記第1の画像認識手段により認識された被写体のある位置に基づいてトリミングエリアを決定して前記第2の記憶手段に各フレームのトリミング情報を記憶させる第2の記憶制御手段を備えるようにしたので、選択されたフレームから同一の被写体が写ったトリミング画像を生成することができる。
According to the invention of
請求項19記載の発明によれば、前記第2の選択手段により選択された各フレーム毎の被写体を認識する第2の画像認識手段と、前記第2の画像認識手段により認識された被写体に基づいて、前記第2の選択手段により選択された各フレームのトリミングエリアを決定して前記第2の記憶手段にトリミング情報を記憶させる第2の記憶制御手段と、を備えるようにしたので、各フレーム毎に自動的に認識された被写体(人物や動物や自動車などの被写体)の画像データをトリミングすることができる。 According to the nineteenth aspect of the present invention, the second image recognition unit for recognizing the subject for each frame selected by the second selection unit, and the subject recognized by the second image recognition unit. And second storage control means for determining the trimming area of each frame selected by the second selection means and storing the trimming information in the second storage means. Image data of a subject (a subject such as a person, an animal, or a car) that is automatically recognized every time can be trimmed.
請求項20記載の発明によれば、ユーザが前記第2の選択手段により選択された各フレームのトリミングエリアを指定するための第2のエリア指定手段と、前記第2のエリア指定手段により指定されたトリミングエリアに基づいて各フレームのトリミング情報を前記第2の記憶手段に記憶させる第2の記憶制御手段と、を備えるようにしたので、各フレーム毎にユーザがトリミングしたいエリアをトリミングすることができる。 According to the twentieth aspect, the user designates the trimming area of each frame selected by the second selection means, and the second area designation means designates the trimming area of each frame. The second storage control means for storing the trimming information of each frame in the second storage means based on the trimming area, so that the user can trim the area to be trimmed for each frame. it can.
請求項21記載の発明によれば、前記生成手段は、複数のトリミング画像を生成する場合には、該生成された複数のトリミング画像各々の静止画ファイルを生成するようにしたので、生成されたトリミング画像を個々に静止画ファイルとして保存することができる。 According to a twenty-first aspect of the present invention, when generating a plurality of trimmed images, the generating means generates a still image file for each of the generated plurality of trimmed images. Trimmed images can be saved individually as still image files.
請求項22記載の発明によれば、前記生成手段は、複数のトリミング画像を生成する場合には、該生成された複数のトリミング画像から1枚の組画像データを生成し、該生成した組画像データから静止画ファイルを生成するようにしたので、洒落た写真を得ることができ、ユーザの興趣を高めることができる。
また、複数のトリミング画像から1枚の組画像データを生成するので、1枚の組画像データの画像を見ることにより、一度に複数のトリミング画像を見ることができ、また、動画データの内容の概略を瞬時に思い出すこともできる。
According to a twenty-second aspect of the present invention, when generating a plurality of trimmed images, the generating unit generates one set of image data from the generated plurality of trimmed images, and the generated set image Since the still image file is generated from the data, a stylish photograph can be obtained and the user's interest can be enhanced.
In addition, since one set of image data is generated from a plurality of trimmed images, a plurality of trimmed images can be viewed at a time by viewing an image of one set of image data. You can also remember the outline instantly.
請求項23記載の発明によれば、デジタルカメラ、パソコン等に読み込ませることにより、本発明の画像生成装置を実現することができる。 According to the twenty-third aspect of the present invention, the image generating apparatus of the present invention can be realized by being read by a digital camera, a personal computer or the like.
以下、本実施の形態について、デジタルカメラを適用した一例として図面を参照して詳細に説明する。
[第1の実施の形態]
A.デジタルカメラの構成
図1は、本発明の画像生成装置を実現するデジタルカメラ1の電気的な概略構成を示すブロック図である。
デジタルカメラ1は、撮影レンズ2、レンズ駆動ブロック3、絞り兼用シャッタ4、CCD5、TG(timing generator)6、ユニット回路7、DRAM8、メモリ9、CPU10、フラッシュメモリ11、画像表示部12、キー入力部13、音声処理部14、ストロボ駆動部15、ストロボ発光部16を備えている。
Hereinafter, the present embodiment will be described in detail with reference to the drawings as an example to which a digital camera is applied.
[First embodiment]
A. Configuration of Digital Camera FIG. 1 is a block diagram showing an electrical schematic configuration of a
The
撮影レンズ2は、図示しないフォーカスレンズ、ズームレンズを含み、レンズ駆動ブロック3が接続されている。レンズ駆動ブロック3は、図示しないフォーカスレンズ、ズームレンズをそれぞれ光軸方向に駆動させるフォーカスモータ、ズームモータと、CPU10からの制御信号にしたがってフォーカスモータ、ズームモータをそれぞれ光軸方向に駆動させるフォーカスモータドライバ、ズームモータドライバから構成されている。
The photographing
絞り兼用シャッタ4は、図示しない駆動回路を含み、駆動回路はCPU10から送られてくる制御信号にしたがって絞り兼用シャッタを動作させる。この絞り兼用シャッタは、絞りとシャッタとして機能する。
絞りとは、撮影レンズ2から入ってくる光の量を制御する機構のことをいい、シャッタとは、CCD5に光を当てる時間を制御する機構のことをいい、CCD5に光を当てる時間は、シャッタの開閉の速度(シャッタ速度)によって変わってくる。露出は、この絞りとシャッタ速度によって定めることができる。
The aperture /
The diaphragm is a mechanism that controls the amount of light that enters from the
CCD5は、撮影レンズ2、絞り兼用シャッタ4を介して投影された被写体の光を電気信号に変換し、撮像信号としてユニット回路7に出力する。また、CCD5は、TG6によって生成された所定周波数のタイミング信号にしたがって駆動する。TG6にはユニット回路7が接続されている。
ユニット回路7は、CCD5から出力される撮像信号を相関二重サンプリングして保持するCDS(Correlated Double Sampling)回路、そのサンプリング後の撮像信号の自動利得調整を行うAGC(Automatic Gain Control)回路、その自動利得調整後のアナログの撮像信号をデジタル信号に変換するA/D変換器から構成されており、CCD5の撮像信号は、ユニット回路7を経てデジタル信号としてCPU10に送られる。
The
The
CPU10は、ユニット回路7から送られてきた画像データの画像処理(画素補間処理、γ補正、輝度色差信号の生成、ホワイトバランス処理、露出補正処理等)、画像データの圧縮・伸張(例えば、JPEG形式やMPEG形式の圧縮・伸張)の処理、AF処理(コントラスト検出方式によるAF処理やパンフォーカスによるAF処理)、トリミング画像の生成、画像認識処理などを行う機能を有するとともに、デジタルカメラ1の各部を制御するワンチップマイコンである。
The
メモリ9には、CPU10の各部に必要な制御プログラム、つまり、AEやAF等を含む各種の制御に必要なプログラム、及び必要なデータが記録されており、CPU10は、前記プログラムに従い動作する。
また、メモリ9には、トリミング枠の表示位置、サイズを示すデフォルト値(トリミング位置情報、トリミングサイズ情報)が格納されており、トリミング位置情報、トリミングサイズ情報を一時記憶するトリミング情報記憶領域も有する。このメモリ9は、本発明の第1の記憶手段、第2の記憶手段として機能する。
The
The
DRAM8は、CCD5によって撮像された後、CPU10に送られてきた画像データを一時記憶するバッファメモリとして使用されるとともに、CPU10のワーキングメモリとして使用される。
フラッシュメモリ11は、CCD5によって撮像された静止画データ、動画データ等の画像データなどを静止画ファイル、動画ファイル等の形態で保存しておく記録媒体である。フラッシュメモリ11は、本発明の記録手段に相当する。
The
The flash memory 11 is a recording medium for storing image data such as still image data and moving image data captured by the
画像表示部12は、カラーLCDとその駆動回路を含み、撮影待機状態にあるときには、CCD5によって撮像された被写体をスルー画像として表示し、記録画像の再生時には、保存用フラッシュメモリ11から読み出され、伸張された記録画像を表示させる。この画像表示部12は、本発明の表示手段として機能する。
キー入力部13は、シャッタボタン、ズーム連写キー、十字キー、SETキー、モード切替キー等の複数の操作キーを含み、ユーザのキー操作に応じた操作信号をCPU10に出力する。このキー入力部13は、本発明の第1のフレーム指定手段、第1のエリア指定手段、第2のフレーム指定手段、第2のエリア指定手段として機能する。
The
The
音声処理部14は、内蔵マイク、アンプ、A/D変換器、D/A変換器、アンプ、内蔵スピーカ等を含み、音声付画像の撮影時には、内蔵マイクに入力された音声をデジタル信号に変換してCPU10に送る。CPU10は、送られてきた音声データは、バッファメモリ(DRAM8)に順次記憶され、CCD5によって撮像された画像データとともにフラッシュメモリ11に記録される。
また、音声処理部14は、音声付画像の再生時には、各画像データに付属する音声データに基づく音声等を内蔵スピーカから放音する。
The
In addition, the
ストロボ駆動部15は、CPU10の制御信号にしたがって、ストロボ発光部16を閃光駆動させ、ストロボ発光部16はストロボを閃光させる。CPU10は、図示しない測光回路又はCCD5から出力される画像データの輝度成分によって撮影シーンが暗いか否かを判断し、撮影シーンが暗いと判断し、且つ、撮影を行うと判断した場合(シャッタボタン押下時)には、ストロボ駆動部15に制御信号を送る。
The
B.デジタルカメラ1の動作
実施の形態におけるデジタルカメラ1の動作を図2及び図3のフローチャートにしたがって説明する。
ユーザのキー入力部13のモード切替キーの操作により再生モードにされ、ユーザのキー入力部13の十字キーやSETキー等の操作によりフラッシュメモリ11に既に記録されている複数の動画ファイルの中から所望の動画ファイルが選択されると(ステップS1)、CPU10は、ユーザのキー入力部13の操作によりモーションプリントが選択されたか否かを判断する(ステップS2)。この判断は、モーションプリントの選択に対応する操作信号がキー入力部13から送られてきたか否かにより判断する。モーションプリントとは、動画ファイルの動画データから静止画データを生成することをいう。
B. Operation of
The playback mode is set by the user's operation of the mode switching key of the
ステップS2で、モーションプリントが選択されていないと判断すると、CPU10は、ユーザのキー入力部13の操作により、該選択された動画ファイルの再生の指示が行われたか否かの判断を行う(ステップS3)。
ステップS3で、再生の指示が行われていないと判断するとステップS2に戻り、再生の指示が行われたと判断すると、CPU10は、該選択されている動画ファイルの再生処理へと移行する。
If it is determined in step S2 that no motion print has been selected, the
If it is determined in step S3 that a playback instruction has not been issued, the process returns to step S2. If it is determined that a playback instruction has been issued, the
ステップS2で、モーションプリントの選択が行なわれたと判断すると、CPU10は、1コマ切り出し、9コマ切り出しのどちらがユーザによって選択されたか否かを判断する(ステップS4)。この判断は、1コマ切り出しの選択に対応する操作信号、9コマ切り出しの選択に対応する操作信号のうち、どちらの操作信号がキー入力部13から送られてきたか否かにより判断する。
ステップS4で、1コマ切り出しが選択されたと判断すると、CPU10は該選択した動画ファイル(ステップS1で選択した動画ファイル)の最初のフレームを選択し(第1の選択手段)、該選択したフレームの画像を画像表示部12に表示させる(ステップS5)。
If it is determined in step S2 that the motion print has been selected, the
If it is determined in step S4 that one frame cutout has been selected, the
次いで、CPU10は、現在選択している(表示している)フレームをハイライトシーンとして決定するか否かの判断を行う(ステップS6)。この判断は、セットキー操作に対応する操作信号がキー入力部13から送られてきたか否かにより判断し、セットキー操作に対応する操作信号が送られてきた場合には、表示しているフレームをハイライトシーンとして決定する。ハイライトシーンは、静止画ファイルとして記録したいフレームのことをいい、ユーザは画像表示部12に表示されているフレームの画像から静止画ファイルを生成したい場合にはセットキーの操作を行なう。
Next, the
ステップS6でハイライトシーンとして決定しないと判断すると、CPU10は、ユーザによって十字キーの操作が行なわれたか否かを判断する(ステップS7)。この判断は、十字キーの操作に対応する操作信号がキー入力部13から送られてきたか否かにより判断する。
ステップS7で、十字キーの操作が行われていないと判断するとステップS6に戻り、ステップS7で、十字キーの操作が行なわれたと判断すると、CPU10は、ユーザの操作にしたがって(送られてきた操作信号にしたがって)、フレームを選択し(第1の選択手段)、該選択したフレームの画像を画像表示部12に表示させて(ステップS8)、ステップS6に戻る。この第1の選択手段により選択されたフレームを表示させる機能は、本発明の表示制御手段に相当する。
つまり、ユーザは、ステップS6〜ステップS8のループの間に、静止画ファイルの生成の基となるハイライトシーン、つまり、フレームを十字キーの操作により選択することができる。
If it is determined in step S6 that the highlight scene is not determined, the
If it is determined in step S7 that the operation of the cross key has not been performed, the process returns to step S6. If it is determined in step S7 that the operation of the cross key has been performed, the
That is, the user can select a highlight scene, that is, a frame that is a basis for generating a still image file, by operating the cross key during the loop of Step S6 to Step S8.
図4は、選択した動画ファイルの各フレームの画像の様子を示すものである。
最初は、1枚目のフレームの画像が表示されるが、十字キーの「↓」キー、若しくは、十字キーの「→」キーを操作していくと、選択されるフレーム、つまり、画像表示部12に表示される画像のフレームは、2枚目のフレームの画像、3枚目のフレームの画像、4枚目のフレーム画像というように、表示される画像のフレームが降順していく。また、ユーザが十字キーの「↑」キー、若しくは、十字キーの「←」キーを操作していくと、選択されるフレーム、つまり、画像表示部12に表示される画像のフレームは、5枚目のフレーム画像、4枚目のフレーム画像、3枚目のフレーム画像というように、表示される画像のフレームが昇順していく。
FIG. 4 shows an image of each frame of the selected moving image file.
Initially, the image of the first frame is displayed, but if the “↓” key of the cross key or the “→” key of the cross key is operated, the selected frame, that is, the image display section is displayed. The frames of the displayed image are in descending order, such as the second frame image, the third frame image, and the fourth frame image. When the user operates the “↑” key of the cross key or the “←” key of the cross key, the selected frame, that is, the frame of the image displayed on the
そして、ユーザは十字キーの操作をすることにより、静止画ファイルを生成したいフレームを選択し、SETキーを押すことにより、該選択しているフレームをハイライトシーンとして確定することができる。ここでは、5枚目のフレームを選択しているときに(5枚目のフレーム画像を表示しているときに)、ユーザがSETキーの操作を行なったものとする。
なお、1枚目のフレーム画像を表示している場合に、「↑」キー、若しくは、「←」キーを操作した場合には、それ以上、上のフレーム画像はないので、そのまま1枚目のフレーム画像を表示させるようにしてもよいし、最後のフレーム画像を表示させるようにしてもよい。
Then, the user can select a frame for which a still image file is to be generated by operating the cross key, and press the SET key to determine the selected frame as a highlight scene. Here, it is assumed that the user has operated the SET key when the fifth frame is selected (when the fifth frame image is displayed).
When the first frame image is displayed and the “↑” key or “←” key is operated, there is no further frame image, so the first frame image is displayed as it is. A frame image may be displayed, or the last frame image may be displayed.
ステップS6で、ハイライトシーンとして決定すると判断すると、CPU10は、メモリ9に格納されているトリミング位置情報及びトリミングサイズ情報(デフォルト値)を読み出して、メモリ9のトリミング情報記憶領域に記憶させ、該記憶させたトリミング情報にしたがってトリミング枠を該表示しているフレーム画像の上に重ねて表示させる(ステップS9)。ここで、メモリ9に格納されているデフォルト値(トリミング位置情報、トリミングサイズ情報)は、トリミング枠が画像表示部12の中央部に所定の大きさで表示されるようなデフォルト値であるとする。また、トリミング枠とは、画像を切り出す範囲を示す枠のことをいう。このトリミング枠を表示させる機能は、本発明の表示制御手段に相当する。
図5は、そのときの様子を示すものであり、5枚目のフレーム画像とともにトリミング枠20が表示されている。なお、トリミング枠20を表示させずにトリミング枠20内の画像を全画面表示させることによりトリミング指定範囲を示すようにしてもよい。
If it is determined in step S6 that the scene is determined as the highlight scene, the
FIG. 5 shows a state at that time, and a
次いで、CPU10は、ユーザによってトリミング位置の変更が行なわれたか否かの判断を行う(ステップS10)。この判断は、十字キーの操作に対応する操作信号がキー入力部13から送られてきたか否かにより判断する。このトリミング位置とは、切り出す画像の中心位置のことをいう。
ステップS10で、トリミング位置の変更が行なわれたと判断すると、CPU10は、該変更されたトリミング位置をメモリ9のトリミング情報記憶領域に記憶させ(第1の記憶制御手段)、該記憶させたトリミング位置にトリミング枠20を表示させて(ステップS11)、ステップS12に進む。一方、ステップS10で、トリミング位置の変更が行なわれていないと判断すると、そのままステップS12に進む。
Next, the
When it is determined in step S10 that the trimming position has been changed, the
ステップS12に進むと、CPU10は、ユーザによってトリミングサイズの変更が行なわれたか否かの判断を行う。この判断は、キー入力部13のズームキー(「W」キー、「T」キー)の操作に対応する操作信号がキー入力部13から送られてきたか否かにより判断する。このトリミングサイズとは、切り出す画像の画角の大きさのことをいう。
In step S12, the
ステップS12で、トリミングサイズの変更が行なわれたと判断すると、CPU10は、該変更されたトリミングサイズをメモリ9のトリミング情報記憶領域に記憶させ(第1の記憶制御手段)、該記憶させたトリミングサイズにしたがってトリミング枠20を表示させて(ステップS13)、ステップS14に進む。一方、ステップS12で、トリミングサイズの変更が行なわれていないと判断すると、そのままステップS14に進む。
When determining in step S12 that the trimming size has been changed, the
ステップS14に進むと、現在トリミング情報記憶領域に記憶しているトリミング位置、トリミングサイズ、つまり、表示しているトリミング枠20をトリミングエリアとして決定するか否かの判断を行う。この判断は、ユーザによってSETキーの操作が行なわれたか否かにより判断する。
ステップS14で、現在トリミング情報記憶領域に記憶しているトリミング位置、トリミングサイズをトリミングエリアとして決定しないと判断すると、ステップS10に戻る。
In step S14, it is determined whether or not the trimming position and the trimming size currently stored in the trimming information storage area, that is, the displayed trimming
If it is determined in step S14 that the trimming position and trimming size currently stored in the trimming information storage area are not determined as the trimming area, the process returns to step S10.
このステップS10〜ステップS14のループ中にユーザはトリミング枠20を切り出したい画像に合わすことができる。
例えば、図6(a)に示すような状態で、犬の画像を切り出したいと思う場合には、図6(b)に示すようにユーザは十字キーの操作によりトリミング枠20のトリミング位置を切り出したい犬の画像に合わせてから、図6(c)に示すようにズームキーの「T」キーを操作することにより、トリミング枠20のトリミングサイズを大きくさせて、トリミング枠20内に切り出したい犬の画像が納まるように調整することができる。
During the loop from step S10 to step S14, the user can adjust the trimming
For example, when it is desired to cut out a dog image in the state shown in FIG. 6A, the user cuts out the trimming position of the trimming
一方、ステップS14で、現在トリミング情報記憶領域に記憶しているトリミング位置、トリミングサイズをトリミングエリアとして決定すると判断すると、CPU10は、ハイライトシーンとして決定したフレーム(表示されているフレーム)のトリミング枠20内の画像データを切り出し(コピー)する(ステップS15)。つまり、トリミング画像を生成する(生成手段)。
ここでは、図6(c)に示すような状態でユーザがSETキーの操作を行なったものとする。
On the other hand, if it is determined in step S14 that the trimming position and trimming size currently stored in the trimming information storage area are determined as the trimming area, the
Here, it is assumed that the user has operated the SET key in a state as shown in FIG.
そして、CPU10は、該切り出した画像データ(トリミング画像データ)から静止画ファイルを生成して、フラッシュメモリ11に記録させる(記録制御手段)。図7(a)は、フラッシュメモリ11に記録されたフレームから生成された静止画ファイルの静止画像データの様子を示すものである。
これにより、簡単に撮影した動画ファイルの中の任意のフレームから静止画ファイルとして記録したい被写体の画像を切り出して記録することができる。
Then, the
Thereby, it is possible to cut out and record an image of a subject to be recorded as a still image file from an arbitrary frame in a moving image file that has been easily photographed.
一方、ステップS4で、9コマ切り出しと判断すると、CPU10は、該選択した動画ファイルの最初のフレームを選択し(第1の選択手段)、該選択したフレームの画像を画像表示部12に表示させる(図3のステップS17)。
次いで、CPU10は、現在選択している(表示している)フレームをハイライトシーンとして決定するか否かの判断を行う(ステップS18)。
On the other hand, if it is determined in step S4 that 9 frames have been cut out, the
Next, the
ステップS18でハイライトシーンとして決定しないと判断すると、CPU10は、ユーザによって十字キーの操作が行なわれたか否かを判断する(ステップS19)。この判断は、十字キーの操作に対応する操作信号がキー入力部13から送られてきたか否かにより判断する。
ステップS19で、十字キーの操作が行われていないと判断するとステップS18に戻り、ステップS19で、十字キーの操作が行われたと判断すると、CPU10は、ユーザの操作にしたがって(送られてきた操作信号にしたがって)、フレームを選択し(第1の選択手段)、該選択したフレームの画像を画像表示部12に表示させて(ステップS20)、ステップS18に戻る。
If it is determined in step S18 that the scene is not to be determined as a highlight scene, the
If it is determined in step S19 that the operation of the cross key has not been performed, the process returns to step S18. If it is determined in step S19 that the operation of the cross key has been performed, the
このステップS18〜ステップS20のループの間に、静止画ファイルの生成の基となるハイライトシーン、つまり、フレームをユーザが選択することができる。ここでは、1コマ切り出しの場合と同様に、5枚目のフレームを選択しているときに(5枚目のフレームを表示しているときに)、ユーザがSETキーの操作を行なったものとする。 During the loop from step S18 to step S20, the user can select a highlight scene, that is, a frame that is a basis for generating a still image file. Here, it is assumed that the user has operated the SET key when the fifth frame is selected (when the fifth frame is displayed), as in the case of single frame cutout. To do.
一方、ステップS18で、ハイライトシーンとして決定すると判断すると、CPU10は、メモリ9に格納されているトリミング位置情報及びトリミングサイズ情報(デフォルト値)を読み出して、メモリ9のトリミング情報記憶領域に記憶させ(第1の記憶制御手段)、該記憶させたトリミング情報にしたがってトリミング枠20を該表示しているフレーム画像の上に重ねて表示させる(ステップS21)。このときも、図2のステップS5のときと同様、図5に示すような画像が画像表示部12に表示される。
On the other hand, if it is determined in step S18 that the scene is determined as the highlight scene, the
次いで、CPU10は、ユーザによってトリミング位置の変更が行なわれたか否かの判断を行う(ステップS22)。
ステップS22で、トリミング位置の変更が行なわれたと判断すると、CPU10は、該変更されたトリミング位置をメモリ9のトリミング情報記憶領域に記憶させ(第1の記憶制御手段)、該記憶させたトリミング位置にトリミング枠20を表示させて(ステップS23)、ステップS24に進む。一方、ステップS22で、トリミング位置の変更が行なわれていないと判断すると、そのままステップS24に進む。
Next, the
When determining in step S22 that the trimming position has been changed, the
ステップS24に進むと、CPU10は、ユーザによってトリミングサイズの変更が行なわれたか否かの判断を行う。
ステップS24で、トリミングサイズの変更が行なわれたと判断すると、CPU10は、該変更されたトリミングサイズをメモリ9のトリミング情報記憶領域に記憶させ(第1の記憶制御手段)、該記憶させたトリミングサイズにしたがってトリミング枠20を表示させて(ステップS25)、ステップS26に進む。一方、ステップS24で、トリミングサイズの変更が行なわれていないと判断すると、そのままステップS26に進む。
In step S24, the
If it is determined in step S24 that the trimming size has been changed, the
ステップS26に進むと、現在トリミング情報記憶領域に記憶しているトリミング位置、トリミングサイズ、つまり、表示しているトリミング枠20をトリミングエリアとして決定するか否かの判断を行う。
ステップS26で、現在トリミング情報記憶領域に記憶しているトリミング位置、トリミングサイズをトリミングエリアとして決定しないと判断すると、ステップS22に戻る。
このステップS22〜ステップS26のループ中にユーザはトリミング枠20を切り出したい画像に合わせることができる。
In step S26, it is determined whether or not the trimming position and trimming size currently stored in the trimming information storage area, that is, the trimming
If it is determined in step S26 that the trimming position and trimming size currently stored in the trimming information storage area are not determined as the trimming area, the process returns to step S22.
During the loop from step S22 to step S26, the user can adjust the trimming
一方、ステップS26で、現在トリミング情報記憶領域に記憶しているトリミング位置、トリミングサイズをトリミングエリアとして決定すると判断すると、CPU10は、メモリ9のトリミング情報記憶領域に記憶されているトリミング位置及びトリミングサイズに基づいて、ハイライトシーンとして決定したフレーム(表示しているフレーム)からトリミング枠20内の画像データを切り出す(コピー)とともに(生成手段)、ハイライトシーンとして決定したフレームの前後4枚のフレームを選択し(第2の選択手段)、該選択した8枚のフレームからも、メモリ9のトリミング情報記憶領域に記憶されているトリミング位置及びトリミング情報に基づいて画像データを切り出し(コピー)する(生成手段)(ステップS27)。つまり、ハイライトシーンとして決定したフレームのみならず、そのフレームの前後4枚のフレームからもトリミング画像を生成することになり、全て同じトリミングエリアの画像が切り出される。なお、そのフレームの前後4枚のフレーム各々について、ハイライトシーンとして決定したフレームと同様にトリミング範囲の設定動作(ステップS10〜S14)を行なうようにしてもよい。
On the other hand, if it is determined in step S26 that the trimming position and trimming size currently stored in the trimming information storage area are determined as the trimming area, the
次いで、CPU10は、9枚のトリミング画像データ(切り出した9枚の画像データ)から1枚の組画像データを生成して、静止画ファイルとして記録させる(記録制御手段)(ステップS28)。このとき生成される1枚の組画像データは、ハイライトシーンとして決定したフレームから生成されたトリミング画像がメインとなるような画像になるように生成される。
Next, the
図7(b)は、9枚のトリミング画像データから生成された一枚の組画像の様子の一例を示すものである。図7(b)の中央に大きくある画像は、ハイライトシーンとして決定したフレームから生成されたトリミング画像であり、その上には選択したフレームの前の各4枚から生成されたトリミング画像が小さく表示されており、その下には選択したフレームの後の各4枚から生成されたトリミング画像が小さく表示されている。 FIG. 7B shows an example of a state of one combined image generated from nine pieces of trimmed image data. The large image in the center of FIG. 7B is a trimmed image generated from the frame determined as the highlight scene, and the trimmed image generated from each of the four frames before the selected frame is small above it. Below that, a trimmed image generated from each of the four frames after the selected frame is displayed in a small size.
ここでは、5枚目のフレームを選択したので、中央に大きく表された画像は、5枚目のフレームから生成されたトリミング画像であり、上の4枚の小さな画像は、5枚目のフレームの前の4枚、つまり、1枚目、2枚目、3枚目、4枚目のフレームから生成されたトリミング画像であり、下の4枚の小さな画像は、6枚目、7枚目、8枚目、9枚目のフレームから生成されたトリミング画像である。
これにより、撮影した動画ファイルの中の任意のフレームからメインの被写体の画像が切り出された組画像データを生成することができ、洒落た写真としても楽しむことができ、ユーザの興趣を高めることができる。
In this case, since the fifth frame is selected, the image that is largely displayed in the center is a trimmed image generated from the fifth frame, and the upper four small images are the fifth frame. Are the trimmed images generated from the first four frames, that is, the first, second, third, and fourth frames. The lower four small images are the sixth and seventh images. These are trimmed images generated from the eighth and ninth frames.
As a result, it is possible to generate combined image data in which the image of the main subject is cut out from an arbitrary frame in the captured moving image file, which can be enjoyed as a stylish photo, and enhance the interest of the user. it can.
C.以上のように、第1の実施の形態においては、1コマ切り出しのモーションプリントがユーザによって選択されると、ユーザが動画ファイルのフレームの中からハイライトシーンとなるフレームを選択すると、該フレームとともにトリミング枠20を表示させ、該表示されたトリミング枠20内の画像データを切り出して、静止画ファイルとして記録するようにしたので、簡単に撮影した動画ファイルの中の任意のフレームから静止画ファイルとして記録したい被写体の画像を切り出して記録することができる。
C. As described above, in the first embodiment, when a user selects a frame-cut motion print, when the user selects a frame to be a highlight scene from among the frames of a video file, Since the trimming
また、9コマ切り出しのモーションプリントがユーザによって選択され、ユーザが動画ファイルのフレームの中からハイライトシーンとなるフレームを選択すると、該フレームとともにトリミング枠20を表示させ、該表示されたトリミング枠20内の画像データを切り出すとともに、ハイライトシーンとして選択されたフレームの前後4枚のフレームを選択し、該選択した8のフレームからもトリミング枠20に対応する範囲の画像データを切り出すので、一度に9枚のトリミング画像を生成することができ、1枚毎にトリミング範囲の設定をユーザが行うといった手間を省くことができる。
When the user selects a nine-frame motion print and the user selects a frame to be a highlight scene from the frames of the moving image file, the trimming
また、生成した9枚のトリミング画像を1枚の組画像データとして記録するようにしたので、洒落た写真としても楽しむことができ、ユーザの興趣を高めることができる。また、1枚の組画像データの画像を見ることにより、一度に複数のトリミング画像を見ることができ、また、動画データの内容の概略を瞬時に思い出すこともできる。
また、表示されたトリミング枠20の表示位置、表示範囲をユーザが変更することができるので、ユーザが記録したい画像をトリミングして記録することができる。
Further, since the generated nine trimmed images are recorded as one set of image data, it can be enjoyed as a stylish photo, and the user's interest can be enhanced. Also, by looking at the image of one piece of image data, a plurality of trimmed images can be seen at once, and the outline of the contents of the moving image data can be instantly recalled.
Further, since the user can change the display position and display range of the displayed trimming
[第2の実施の形態]
次に第2の実施の形態について説明する。
第1の実施の形態においては、9コマ切り出しの場合においては、決定したトリミングエリアで、ハイライトシーンとして決定したフレームの前後のフレームから画像を切り出すようにしたが、第2の実施の形態においては、ハイライトシーンとして決定したフレームから、決定したトリミングエリアの画像データを切り出し、該切り出した画像データの被写体を画像認識により認識し、ハイライトシーンとして決定したフレームの前後のそれぞれフレームから該認識した被写体がある位置の画像データを切り出すというものである。
[Second Embodiment]
Next, a second embodiment will be described.
In the first embodiment, in the case of nine-frame cutout, an image is cut out from the frames before and after the frame determined as the highlight scene in the determined trimming area. In the second embodiment, Cuts out the image data of the determined trimming area from the frame determined as the highlight scene, recognizes the subject of the cut out image data by image recognition, and recognizes the recognition from each frame before and after the frame determined as the highlight scene. The image data at the position where the subject is located is cut out.
D.デジタルカメラ1の動作
第2の実施の形態も、図1に示したものと同様の構成を有するデジタルカメラ1を用いることにより本発明の画像生成装置を実現する。
以下、第2の実施の形態のデジタルカメラ1の9コマ切り出しが選択されたときの動作を図8のフローチャートにしたがって説明する。
D. Operation of
Hereinafter, the operation when the nine-frame cutout of the
図3のステップS26でYに分岐すると、CPU10は、決定されたトリミングエリア、つまり、トリミング位置、トリミングサイズで、該ハイライトシーンとして決定したフレーム(表示しているフレーム)からトリミング枠20内の画像データを切り出す(ステップS51)。
次いで、CPU10は、該切り出した画像データの被写体(人物や動物、自動車などの被写体)を画像認識処理により認識する(ステップS52)。この機能は、本発明の第1の画像認識手段に相当する。
When branching to Y in step S26 of FIG. 3, the
Next, the
次いで、CPU10は、ハイライトシーンとして決定したフレームの前後4枚のフレームを選択し、該選択したそれぞれのフレームのトリミング位置を、該画像認識処理の結果に基づいて決定して、メモリ9のトリミング情報記憶領域に記憶させる(ステップS53)。つまリ、ハイライトシーンとして決定したフレームの前後4枚のフレームのそれぞれに対して画像認識処理を行い、ステップS52の画像認識処理により認識した被写体がフレームのどの位置にあるか否かを判定し、該判定した位置をトリミング位置としてフレーム毎に決定してメモリ9のトリミング情報記憶領域に記憶させる。このとき、トリミングサイズは、ステップS26で、決定したトリミングサイズをそのまま用いてもよいし、フレーム毎に認識された被写体の大きさに応じてトリミングサイズを変更するようにしてもよい。
このフレーム毎に決定されたトリミング位置をメモリ9のトリミング情報記憶領域に記憶させる機能は、本発明の第2の記憶制御手段に相当する。
Next, the
The function of storing the trimming position determined for each frame in the trimming information storage area of the
なお、第2の実施の形態においては、ハイライトシーンとして決定したフレームと、その前後4枚のフレームは必ずしも連続するフレームである必要はない。この前後4枚のフレームの選択は、手動あるいはランダムに選択してもよいし、一定の基準(例えば、被写体の動きの大きいフレーム、ブレの少ないフレームなど)にしたがって選択するようにしてもよい。 In the second embodiment, the frame determined as the highlight scene and the four frames before and after the frame need not necessarily be continuous frames. The selection of the four frames before and after may be performed manually or randomly, or may be performed according to a certain standard (for example, a frame with a large movement of the subject, a frame with little blurring, etc.).
次いで、CPU10は、ハイライトシーンとして決定した前後4枚のフレームから、該決定したそれぞれのトリミング位置に基づいて画像データを切り出す(生成手段)(ステップS54)。このときトリミングサイズは、ステップS26で決定されたトリミングサイズであってもよいし、フレーム毎に認識された被写体の大きさに応じてトリミングサイズを変更するようにしてもよい。
次いで、CPU10は、該切り出した9枚の画像データから1枚の組画像データを生成し、該生成した組画像データをフラッシュメモリ11に記録する(記録制御手段)(ステップS55)。
Next, the
Next, the
E.以上のように、第2の実施の形態においては、ハイライトシーンとして決定した前後4枚のフレームのそれぞれに対して画像認識処理を行い、ハイライトシーンとして決定した画像のトリミング枠20の被写体がどの位置にあるかを判定し、該判定した位置をトリミング位置情報としてフレーム毎に記憶するようにしたので、ハイライトシーンとして決定したフレーム及びそのフレームの前後4枚のフレームから、トリミングエリアとして決定したトリミング枠20内に写っている被写体をそれぞれトリミングすることができ、トリミングしたい被写体の画像を全てのフレームからトリミングすることができる。
E. As described above, in the second embodiment, image recognition processing is performed on each of the four frames before and after the highlight scene is determined, and the subject of the trimming
なお、第2の実施の形態においては、図8のステップS51では、図3のステップS26で決定したトリミング範囲(つまり、決定したときのトリミング枠20)内の被写体を認識するようにしたが、ハイライトシーンとして決定したフレームの全画像の被写体を認識するようにしてもよい。この画像認識により認識した被写体(例えば、人物)がハイライトシーンとして決定したフレームのどの位置にあるかを判定し、該判定した位置をトリミング位置情報として記憶するとともに、ハイライトシーンとして決定したフレームに対する画像認識により認識した被写体(例えば、人物)がそのフレームの前後4枚のそれぞれのフレームのどの位置にあるかを判定し、該判定した位置をトリミング位置情報としてフレーム毎に記憶するようにしてもよい。この場合には、図3のステップS21〜ステップS26の処理は必要なく、図3のステップS18でハイライトシーンが決定すると、そのまま図8のステップS51に進む。
In the second embodiment, in step S51 in FIG. 8, the subject within the trimming range determined in step S26 in FIG. 3 (that is, the trimming
この場合、ハイライトシーンとして決定したフレームのトリミング位置情報を、そのフレームの前後4枚のそれぞれのフレームのトリミング位置情報として利用するようにしてもよい。このときトリミングサイズは、予め決定されているトリミングサイズであってもよいし、ユーザが設定したトリミングサイズであってもよいし(ステップS24、S25)、フレーム(ハイライトシーンとして決定したフレームを含む)毎に認識された被写体の大きさに応じてトリミングサイズを変更するようにしてもよい。この手法は、9コマ切り出しの場合に限定されず、1コマ切り出しの場合にも有効である。 In this case, the trimming position information of the frame determined as the highlight scene may be used as the trimming position information of the four frames before and after the frame. At this time, the trimming size may be a predetermined trimming size, a trimming size set by the user (steps S24 and S25), or a frame (including a frame determined as a highlight scene). The trimming size may be changed according to the size of the subject recognized every time. This method is not limited to the case of nine-frame cutout, and is also effective in the case of one-frame cutout.
また、第2の実施の形態においては、図8のステップS51では、図3のステップS26で決定したトリミング範囲(つまり、決定したときのトリミング枠20)内の被写体を認識したり、ハイライトシーンとして決定したフレームの全画像の被写体を認識するようにしたが、トリミング範囲内又はフレームの全画像内に複数の被写体が含まれている場合には認識すべき被写体の特定が困難になるので、ユーザが認識させたい被写体位置をピンポイントで指定できるようにし、この指定された位置の被写体を認識するようにしてもよい。この手法も、9コマ切り出しの場合に限定されず、1コマ切り出しの場合にも有効である。
Further, in the second embodiment, in step S51 of FIG. 8, a subject in the trimming range determined in step S26 of FIG. 3 (that is, the trimming
[変形例]
F.上記各実施の形態は以下のような変形例も可能である。
(1)上記第1、第2の実施の形態においては、図2のステップS5、図3のステップS17で、最初のフレームを選択して画像表示部12に表示させるようにしたが、動画ファイルのフレームの中から自動的にフレームを選択し、該選択したフレームの画像を画像表示部12に表示させるようにしてもよい。これにより、自動的に選択されたフレームに基づいてトリミング画像を生成したくないと思ったときに、ユーザが手動で所望するフレームを選択することができる。
なお、このフレームの自動選択は、例えば、動画ファイルのフレームの中で一番ブレ量の少ないフレームを自動的に選択するようにしたり、画像認識処理により一番被写体の動きなどの変化のあるフレームを自動的に選択するようにしたり、シャッタボタン操作の前後数秒間の動画を撮影記録する機能が備えられている場合にはシャッタボタン操作時点のフレームを特定する情報を動画ファイル内に記憶させておくことによりシャッタボタン操作時点のフレームを自動的に選択するようにしたり、動画撮影中に静止画撮影が実行された時点のフレームを特定する情報を動画ファイル内に記憶させておくことにより静止画撮影時点のフレームを自動的に選択するようにしたり、録画開始時のフレーム又は録画終了時のフレームを自動的に選択するようにする。
[Modification]
F. Each of the above embodiments can be modified as follows.
(1) In the first and second embodiments, the first frame is selected and displayed on the
Note that this automatic frame selection is performed, for example, by automatically selecting the frame with the smallest amount of blur among the frames of the moving image file, or the frame having the most change in subject movement or the like by image recognition processing. If a function for shooting and recording a movie for several seconds before and after the shutter button operation is provided, information for specifying a frame at the time when the shutter button is operated is stored in the movie file. This allows you to automatically select the frame at the time when the shutter button is operated, or to store information specifying the frame at the time when still image shooting was executed during movie shooting in the movie file. The frame at the time of shooting is automatically selected, or the frame at the start of recording or the frame at the end of recording is automatically selected. So as to.
(2)また、上記(1)では、自動的にフレームを選択した後、ユーザがフレームの選択を変更したり、ハイライトシーンを決定したりするようにしたが、自動的に選択されたフレームを強制的にハイライトシーンとして決定するようにしてもよい。つまり、図2のステップS6〜ステップS8の処理を無くすようにしてもよい。 (2) In (1) above, after the frame is automatically selected, the user changes the frame selection or determines the highlight scene. May be forcibly determined as a highlight scene. That is, the processing in steps S6 to S8 in FIG. 2 may be eliminated.
(3)また、トリミングする範囲をユーザが手動で変更することができるようにしたが、変更することができないようにしてもよい。つまり、図2のステップS10〜ステップS14、図3のステップS22〜ステップS26の処理を無くすようにしてもよい。つまり、予め決められた位置、サイズでトリミングされることとなる。
また、トリミングする位置のみ、又は、トリミングする大きさのみを手動で変更することができるようにしてもよい。
(3) Although the user can manually change the trimming range, the trimming range may not be changed. That is, the processing in steps S10 to S14 in FIG. 2 and steps S22 to S26 in FIG. 3 may be eliminated. That is, trimming is performed at a predetermined position and size.
Further, only the trimming position or only the trimming size may be manually changed.
(4)また、図2のステップS9、図3のステップS21では、予め決められた位置、大きさでトリミング枠20を表示させるようにしたが、画像認識処理等により自動的に定められた位置、大きさで表示させるようにしてもよい。このときは、画像認識処理等により自動的に定められた位置、大きさをトリミング位置情報、トリミングサイズ情報としてトリミング情報記憶領域に記憶させる。この画像認識処理により定められた位置、大きさとは、例えば、画像認識により人の顔を認識した場合にはその位置をトリミング位置として記憶させたり、人の顔の大きさに基づいてトリミングサイズを決定して記憶させるようにする。また、トリミングサイズは予め定められた大きさであってもよい。
(4) In step S9 in FIG. 2 and step S21 in FIG. 3, the trimming
(5)また、上記(4)では、画像認識処理等により自動的に定められた位置、大きさでトリミング枠20を表示させた後、ユーザがトリミングする位置、大きさを変更したり、決定したりすることができるようにしたが、画像認識処理等により自動的に定められたトリミング位置、トリミングサイズを強制的に決定するようにしてもよい。つまり、図2のステップS10〜ステップS14、図3のステップS22〜ステップS26の処理を無くすようにしてもよい。
(5) In the above (4), after the
(6)また、図3のステップS27では、ハイライトシーンとして決定したフレームと連続する前後4枚のフレームを選択し、該選択した8枚のフレームからもトリミング画像を生成するようにしたが、ハイライトシーンとして決定したフレームと、その前後4枚のそれぞれのフレームは必ずしも連続するフレームである必要はない。つまり、トリミング画像を生成する基となる各フレームが連続する必要はない。また、この前後4枚のフレームの選択は、手動あるいはランダムに選択するようにしてもよいし、所定枚数間隔でフレームを選択するようにしてもよい。更に、ブレ量の少ないフレームを自動的に選択するようにしてもよいし、画像認識処理により被写体の動きなどの変化のあるフレームを自動的に選択するようにしてもよい。 (6) Also, in step S27 of FIG. 3, four frames before and after the frame determined as the highlight scene are selected and a trimming image is generated from the selected eight frames. The frame determined as the highlight scene and the four frames before and after the frame need not necessarily be continuous frames. That is, it is not necessary for each frame that is a basis for generating a trimmed image to be continuous. Further, the selection of the four frames before and after this may be performed manually or randomly, or the frames may be selected at predetermined intervals. Further, a frame with a small amount of blur may be automatically selected, or a frame with a change such as movement of the subject may be automatically selected by image recognition processing.
(7)また、図3のステップS27や、図8のステップS53及びステップ54では、9枚のトリミング画像を生成するようにしたが、何枚であってもよい。
(8)また、図3のステップS27や、図8のステップS53及びステップS54では、ハイライトシーンとして決定したフレームと、その前後4枚のフレームとからそれぞれトリミング画像を生成するようにしたが、決定したフレームと、該決定したフレーム以外の8枚のフレームとからトリミング画像を生成するようにしてもよい。つまり、決定したフレームの前後4枚に限る必要はなく、例えば、決定したフレームの前2枚のフレームと、決定したフレームの後6枚のフレームであってもよい。
(7) Although nine trimmed images are generated in step S27 of FIG. 3 and steps S53 and 54 of FIG. 8, any number of trimmed images may be used.
(8) In step S27 in FIG. 3, and in steps S53 and S54 in FIG. 8, trimming images are generated from the frame determined as the highlight scene and the four frames before and after the frame. A trimmed image may be generated from the determined frame and eight frames other than the determined frame. That is, it is not necessary to limit the number of frames before and after the determined frame to, for example, two frames before the determined frame and six frames after the determined frame.
(9)また、図3のステップS27では、ステップS26で決定したトリミング位置情報、トリミングサイズ情報に基づいて、決定したフレームと、その前後4枚のフレームとからトリミング画像を生成するようにしたが、決定したトリミング位置情報に基づいて決定したフレームからトリミング画像を生成し、決定したフレームの前後4枚のフレームに関しては、該決定したトリミング情報に基づいてトリミング位置、トリミングサイズを変えてトリミング画像を生成するようにしてもよい。
例えば、決定したトリミング位置を中心に前後のフレームのトリミング位置を徐々に右にしたり、左にしたり、上にしたり、下にしたりするようにしてもよい。また、決定したトリミングサイズを中心に前後のフレームのトリミングサイズを徐々に大きくしたり、小さくしたりするようにしてもよい。
(9) Also, in step S27 of FIG. 3, a trimmed image is generated from the determined frame and the four frames before and after it based on the trimming position information and trimming size information determined in step S26. Then, a trimming image is generated from the frame determined based on the determined trimming position information, and for the four frames before and after the determined frame, the trimming position and the trimming size are changed based on the determined trimming information. You may make it produce | generate.
For example, the trimming position of the preceding and following frames may be gradually made to the right, left, up, or down with the determined trimming position as the center. Further, the trimming size of the preceding and following frames may be gradually increased or decreased with the determined trimming size as the center.
(10)また、図3のステップS27では、ステップS26で決定したトリミング位置情報、トリミングサイズ情報に基づいてステップS18で決定したフレームの前後のフレームからもトリミング画像を生成するようにしたが、それぞれのフレームに対してトリミング位置、トリミングサイズをユーザが変更することができるようにしてもよいし、画像認識処理などを用いて自動的にそれぞれのフレームに対してトリミング位置、トリミングサイズを決定するようにしてもよい。 (10) In step S27 of FIG. 3, the trimming image is generated from the frames before and after the frame determined in step S18 based on the trimming position information and trimming size information determined in step S26. The user may be able to change the trimming position and trimming size for each frame, and the trimming position and trimming size for each frame may be automatically determined using image recognition processing or the like. It may be.
(11)また、図3のステップS27では、ステップS26で決定したトリミング位置、トリミングサイズに基づいてハイライトシーンとして決定したフレームの前後のフレームからもトリミング画像を生成するようにしたが、ステップS18で決定したフレームのみからトリミング画像を生成するようにし、ハイライトシーンとして決定したフレームの前後のフレームからはトリミング画像を生成しないようにしてもよい。この場合は、ステップS28では、ハイライトシーンとして決定したフレームから生成されたトリミング画像と、該決定したフレームの前後のフレームとから1枚の組画像データを生成することとなる。
(11) In step S27 of FIG. 3, a trimmed image is also generated from frames before and after the frame determined as the highlight scene based on the trimming position and trimming size determined in step S26. The trimming image may be generated only from the frame determined in
(12)また、図3のステップS28や図8のステップS55では、生成された9枚のトリミング画像から1枚の組画像データを生成して記録するようにしたが、組画像データを生成せずに、生成された9枚のトリミング画像をそれぞれ静止画ファイルとして記録するようにしてもよい。また、生成された9枚のトリミング画像から1枚の組画像データを生成して記録するとともに、生成された9枚のトリミング画像をそれぞれ静止画ファイルとして記録するようにしてもよい。 (12) In step S28 in FIG. 3 and step S55 in FIG. 8, one set of image data is generated and recorded from the nine trimmed images generated, but the set image data is generated. Instead, the generated nine trimmed images may be recorded as still image files. Further, one set of image data may be generated and recorded from the generated nine trimmed images, and each of the nine generated trimmed images may be recorded as a still image file.
(13)また、図2のステップS16、図3のステップS28、及び図8のステップS55では、トリミング画像から静止画ファイルを生成して記録するようにしたが、静止画ファイルを生成せずに、あるいは静止画ファイルは生成するが記録せずに、例えば、デジタルカメラ1とプリンタとがUSBケーブル等によりダイレクトに接続されている場合には、図2のステップS15、図3のステップS27、及び図8のステップS54で得られたトリミング画像(図2のステップS16、図3のステップS28、及び図8のステップS55で生成された静止画ファイル)をプリンタに出力してプリントアウトするようにしてもよい。勿論、記録済みの静止画ファイルを読み出してプリンタに出力してプリントアウトすることも可能である。
(13) In step S16 in FIG. 2, step S28 in FIG. 3, and step S55 in FIG. 8, a still image file is generated and recorded from the trimmed image. However, the still image file is not generated. Alternatively, when a still image file is generated but not recorded, for example, when the
(14)更に、上記各実施の形態におけるデジタルカメラ1は、上記の実施の形態に限定されるものではなく、携帯電話、PDA、パソコン、ICレコーダ、又はデジタルビデオカメラ等でもよく、要は画像を処理することができる機器であれば何でもよい。
(14) Furthermore, the
1 デジタルカメラ
2 撮影レンズ
3 レンズ駆動ブロック
4 絞り兼用シャッタ
5 CCD
6 TG
7 ユニット回路
8 DRAM
9 メモリ
10 CPU
11 フラッシュメモリ
12 画像表示部
13 キー入力部
14 音声処理部
15 ストロボ駆動部
16 ストロボ発光部
1
6 TG
7
9
11
Claims (23)
前記取得手段により取得された動画データの中のフレームを選択する第1の選択手段と、
前記第1の選択手段により選択されたフレームから静止画ファイルを生成する生成手段と、
を備え、
前記生成手段は、
前記静止画ファイルを生成する前に前記第1の選択手段により選択されたフレームからトリミング画像を生成する手段を含み、生成されたトリミング画像から静止画ファイルを生成することを特徴とする画像生成装置。 An acquisition means for acquiring video data;
First selection means for selecting a frame in the moving image data acquired by the acquisition means;
Generating means for generating a still image file from the frame selected by the first selecting means;
With
The generating means includes
An image generating apparatus comprising: means for generating a trimmed image from a frame selected by the first selecting means before generating the still image file; and generating a still image file from the generated trimmed image .
前記取得手段により取得された動画データの中から、所定の情報により指定されるフレーム又はブレ量の少ないフレーム又は被写体の変化の大きいフレーム又は録画開始時のフレーム又は録画終了時のフレームを選択することを特徴とする請求項1乃至3の何れかに記載の画像生成装置。 The first selection means includes
Selecting a frame specified by predetermined information, a frame with a small amount of blurring, a frame with a large change in subject, a frame at the start of recording, or a frame at the end of recording from the moving image data acquired by the acquisition unit The image generation apparatus according to claim 1, wherein the image generation apparatus is an image generation apparatus.
前記第1の選択手段は、
前記第1のフレーム指定手段により指定されたフレームを選択することを特徴とする請求項1乃至4の何れかに記載の画像生成装置。 A first frame specifying means for a user to specify an arbitrary frame in the moving image data;
The first selection means includes
5. The image generation apparatus according to claim 1, wherein a frame designated by the first frame designation means is selected.
前記生成手段は、
前記第1の記憶手段に記憶されているトリミング情報に基づいて、前記第1の選択手段により選択されたフレームからトリミング画像を生成することを特徴とする請求項1乃至6の何れかに記載の画像生成装置。 First storage means for storing trimming information indicating an area to be trimmed,
The generating means includes
The trimming image is generated from the frame selected by the first selection unit based on the trimming information stored in the first storage unit. Image generation device.
前記第1の画像認識手段により認識された被写体の位置に基づいてトリミングエリアを決定して前記第1の記憶手段にトリミング情報を記憶させる第1の記憶制御手段と、
を備えたことを特徴とする請求項7記載の画像生成装置。 First image recognition means for recognizing a subject in the frame selected by the first selection means;
First storage control means for determining a trimming area based on the position of the subject recognized by the first image recognition means and storing the trimming information in the first storage means;
The image generation apparatus according to claim 7, further comprising:
前記第1のエリア指定手段により指定されたトリミングエリアに基づいてトリミング情報を前記第1の記憶手段に記憶させる第1の記憶制御手段と、
を備えたことを特徴とする請求項7記載の画像生成装置。 First area designating means for the user to designate a trimming area;
First storage control means for storing trimming information in the first storage means based on the trimming area designated by the first area designating means;
The image generation apparatus according to claim 7, further comprising:
トリミングする位置を示すトリミング位置情報、トリミングする大きさを示すトリミングサイズ情報のうち、少なくとも1つ以上の情報を有することを特徴とする請求項7乃至9の何れかに記載の画像生成装置。 The trimming information is
The image generating apparatus according to claim 7, comprising at least one piece of information among trimming position information indicating a trimming position and trimming size information indicating a size to be trimmed.
前記第1の記憶手段に記憶されているトリミング情報にしたがって、トリミングエリアを示すトリミング枠を前記表示手段に表示されている画像上に表示させることを特徴とする請求項7乃至10の何れかに記載の画像生成装置。 The display control means includes
11. A trimming frame indicating a trimming area is displayed on an image displayed on the display unit according to trimming information stored in the first storage unit. The image generating apparatus described.
前記生成手段は、
前記静止画ファイルを生成する前に前記第2の選択手段により選択された各フレームからトリミング画像を生成することを特徴とする請求項1乃至11の何れかに画像生成装置。 A second selection unit that selects a plurality of frames other than the frame selected by the first selection unit from the moving image data acquired by the acquisition unit;
The generating means includes
12. The image generation apparatus according to claim 1, wherein a trimming image is generated from each frame selected by the second selection unit before the still image file is generated.
前記第1の選択手段により選択されたフレームの前後のフレームを選択することを特徴とする請求項12記載の画像生成装置。 The second selection means includes
13. The image generation apparatus according to claim 12, wherein frames before and after the frame selected by the first selection unit are selected.
前記第1の選択手段により選択されたフレーム以外のフレームのうち、ブレ量の少ないフレーム又は変化の大きいフレームを選択することを特徴とする12記載の画像生成装置。 The second selection means includes
13. The image generation apparatus according to claim 12, wherein a frame with a small amount of blur or a frame with a large change is selected from frames other than the frame selected by the first selection unit.
前記第2の選択手段は、
前記第2のフレーム指定手段により指定された複数のフレームを選択することを特徴とする請求項12記載の画像生成装置。 A second frame specifying means for the user to specify a plurality of frames;
The second selection means includes
13. The image generation apparatus according to claim 12, wherein a plurality of frames designated by the second frame designation means are selected.
前記第1の記憶手段に記憶されているトリミング情報に基づいて、前記第2の選択手段により選択された各フレームからトリミング画像を生成することを特徴とする請求項12乃至15の何れかに記載の画像生成装置。 The generating means includes
The trimming image is generated from each frame selected by the second selection unit based on the trimming information stored in the first storage unit. Image generation device.
前記生成手段は、
前記2の記憶手段に記憶されている前記第2の選択手段により選択されたフレーム毎のトリミング情報にしたがって、該選択された各フレームからトリミング画像を生成することを特徴とする請求項12乃至15の何れかに記載の画像生成装置。 Second storage means for storing trimming information corresponding to each frame selected by the second selection means;
The generating means includes
16. The trimming image is generated from each selected frame according to the trimming information for each frame selected by the second selection means stored in the second storage means. An image generation apparatus according to any one of the above.
前記第2の画像認識手段により認識された被写体に基づいて、前記第2の選択手段により選択された各フレームのトリミングエリアを決定して前記第2の記憶手段にトリミング情報を記憶させる第2の記憶制御手段と、
を備えたことを特徴とする請求項17記載の画像生成装置。 Second image recognition means for recognizing a subject for each frame selected by the second selection means;
Based on the subject recognized by the second image recognition means, a second trimming area of each frame selected by the second selection means is determined and trimming information is stored in the second storage means Memory control means;
The image generation apparatus according to claim 17, further comprising:
前記第2のエリア指定手段により指定されたトリミングエリアに基づいて各フレームのトリミング情報を前記第2の記憶手段に記憶させる第2の記憶制御手段と、
を備えたことを特徴とする請求項17記載の画像生成装置。 Second area designating means for designating a trimming area of each frame selected by the second selecting means by the user;
Second storage control means for storing trimming information of each frame in the second storage means based on the trimming area designated by the second area designating means;
The image generation apparatus according to claim 17, further comprising:
複数のトリミング画像を生成する場合には、該生成された複数のトリミング画像各々の静止画ファイルを生成することを特徴とする請求項1乃至20の何れかに記載の画像生成装置。 The generating means includes
21. The image generating apparatus according to claim 1, wherein when a plurality of trimmed images are generated, a still image file of each of the generated trimmed images is generated.
複数のトリミング画像を生成する場合には、該生成された複数のトリミング画像から1枚の組画像データを生成し、該生成した組画像データから静止画ファイルを生成することを特徴とする請求項1乃至20の何れかに記載の画像生成装置。 The generating means includes
The plurality of trimmed images are generated by generating one set of image data from the generated plurality of trimmed images, and generating a still image file from the generated set of image data. 21. The image generation device according to any one of 1 to 20.
この取得処理により取得された動画データの中のフレームを選択する選択処理と、
この選択処理により選択されたフレームから静止画ファイルを生成する生成処理とを含み、
更に、前記生成処理は、前記静止画ファイルを生成する前に前記選択処理により選択されたフレームからトリミング画像を生成し、該生成されたトリミング画像から静止画ファイルを生成する処理
を含み、上記各処理をコンピュータで実行させることを特徴とするプログラム。
Acquisition processing to acquire video data;
A selection process for selecting a frame in the video data acquired by the acquisition process;
Including a generation process for generating a still image file from the frame selected by the selection process,
Further, the generation process includes a process of generating a trimmed image from the frame selected by the selection process before generating the still image file, and generating a still image file from the generated trimmed image, A program that causes a computer to execute processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005209069A JP4553134B2 (en) | 2005-07-19 | 2005-07-19 | Image generating apparatus and program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005209069A JP4553134B2 (en) | 2005-07-19 | 2005-07-19 | Image generating apparatus and program thereof |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2007028331A true JP2007028331A (en) | 2007-02-01 |
JP2007028331A5 JP2007028331A5 (en) | 2008-08-21 |
JP4553134B2 JP4553134B2 (en) | 2010-09-29 |
Family
ID=37788477
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005209069A Expired - Fee Related JP4553134B2 (en) | 2005-07-19 | 2005-07-19 | Image generating apparatus and program thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4553134B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009044504A (en) * | 2007-08-09 | 2009-02-26 | Hitachi Ltd | Imaging apparatus and control method thereof |
JP2011015061A (en) * | 2009-06-30 | 2011-01-20 | Canon Inc | Image processing device, and image processing method |
JP2011077758A (en) * | 2009-09-30 | 2011-04-14 | Nec Personal Products Co Ltd | Reproducing device, method for reproducing content |
WO2013065642A1 (en) * | 2011-11-02 | 2013-05-10 | 株式会社ニコン | Image processing device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004207936A (en) * | 2002-12-25 | 2004-07-22 | Fuji Photo Film Co Ltd | Image processing apparatus |
JP2004297305A (en) * | 2003-03-26 | 2004-10-21 | Sharp Corp | System and program for configuring data base, system and program for retrieving image, and image recorder/reproducer |
JP2005094527A (en) * | 2003-09-19 | 2005-04-07 | Seiko Epson Corp | Generation process of static picture data based on a plurality of frame image data |
WO2005050986A1 (en) * | 2003-11-19 | 2005-06-02 | National Institute Of Information And Communications Technology, Independent Administrative Agency | Method and device for presenting video content |
-
2005
- 2005-07-19 JP JP2005209069A patent/JP4553134B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004207936A (en) * | 2002-12-25 | 2004-07-22 | Fuji Photo Film Co Ltd | Image processing apparatus |
JP2004297305A (en) * | 2003-03-26 | 2004-10-21 | Sharp Corp | System and program for configuring data base, system and program for retrieving image, and image recorder/reproducer |
JP2005094527A (en) * | 2003-09-19 | 2005-04-07 | Seiko Epson Corp | Generation process of static picture data based on a plurality of frame image data |
WO2005050986A1 (en) * | 2003-11-19 | 2005-06-02 | National Institute Of Information And Communications Technology, Independent Administrative Agency | Method and device for presenting video content |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009044504A (en) * | 2007-08-09 | 2009-02-26 | Hitachi Ltd | Imaging apparatus and control method thereof |
JP2011015061A (en) * | 2009-06-30 | 2011-01-20 | Canon Inc | Image processing device, and image processing method |
JP2011077758A (en) * | 2009-09-30 | 2011-04-14 | Nec Personal Products Co Ltd | Reproducing device, method for reproducing content |
WO2013065642A1 (en) * | 2011-11-02 | 2013-05-10 | 株式会社ニコン | Image processing device |
Also Published As
Publication number | Publication date |
---|---|
JP4553134B2 (en) | 2010-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4395619B2 (en) | Imaging apparatus, imaging condition setting method, and program | |
JP4379728B2 (en) | Imaging apparatus and program thereof | |
JP4761146B2 (en) | Imaging apparatus and program thereof | |
JP4562182B2 (en) | Image processing apparatus, image processing method, and program | |
JP4534249B2 (en) | Imaging apparatus and program thereof | |
JP4697078B2 (en) | Imaging apparatus and program thereof | |
JP2006025238A (en) | Imaging device | |
JP2009098351A (en) | Photographing method and apparatus | |
JP2006345317A (en) | Image pickup device, control method thereof, program, and storage medium | |
JP2009058834A (en) | Imaging apparatus | |
US7515816B2 (en) | Imaging apparatus having a focus function | |
JP2009267831A (en) | Image recording device and method | |
JP2007159095A (en) | Imaging apparatus | |
JP4748442B2 (en) | Imaging apparatus and program thereof | |
JP4553134B2 (en) | Image generating apparatus and program thereof | |
JP4379921B2 (en) | Imaging apparatus and program thereof | |
JP2006287828A (en) | Moving picture imaging apparatus and program thereof | |
JP2007142639A (en) | Imaging apparatus and program therefor | |
JP5157528B2 (en) | Imaging device | |
JP3913046B2 (en) | Imaging device | |
JP6357922B2 (en) | Image processing apparatus, image processing method, and program | |
JP6610713B2 (en) | Image processing apparatus, image processing method, and program | |
JP4883135B2 (en) | Imaging apparatus and program thereof | |
JP5224951B2 (en) | Image processing apparatus, method, and program | |
JP2008129703A (en) | Image pickup device, method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080703 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080703 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100316 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100405 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100604 |
|
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: 20100623 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130723 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4553134 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100706 |
|
LAPS | Cancellation because of no payment of annual fees |