JP2015149621A - Information processing unit, control method of the same, and control program - Google Patents

Information processing unit, control method of the same, and control program Download PDF

Info

Publication number
JP2015149621A
JP2015149621A JP2014021640A JP2014021640A JP2015149621A JP 2015149621 A JP2015149621 A JP 2015149621A JP 2014021640 A JP2014021640 A JP 2014021640A JP 2014021640 A JP2014021640 A JP 2014021640A JP 2015149621 A JP2015149621 A JP 2015149621A
Authority
JP
Japan
Prior art keywords
moving image
camera
information processing
encoder
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014021640A
Other languages
Japanese (ja)
Inventor
海二 鍋谷
Kaiji Nabetani
海二 鍋谷
和章 嶋岡
Kazuaki Shimaoka
和章 嶋岡
竹内 雅人
Masato Takeuchi
雅人 竹内
裕紀 田中
Hironori Tanaka
裕紀 田中
倫由 占部
Tomoyoshi Urabe
倫由 占部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2014021640A priority Critical patent/JP2015149621A/en
Publication of JP2015149621A publication Critical patent/JP2015149621A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To generate a dynamic picture image in a short period of time from a time when photographing of a series of still images for generating the dynamic picture image is completed.SOLUTION: An information processing unit (10) provides a dynamic picture encoder (4) with photographed still images and adds to a dynamic picture file (72) every time when a shutter is pressed.

Description

本発明は、撮像された複数の静止画を用いて動画を生成する情報処理装置、および情報処理装置の制御方法に関する。   The present invention relates to an information processing apparatus that generates a moving image using a plurality of captured still images, and a control method for the information processing apparatus.

静止している物体を1コマ毎に少しずつ動かしてカメラで撮影し、該物体があたかも連続して動いているように見せるコマ撮りというアニメーション技法がある。このコマ撮りに関し、動画を構成する1コマ1コマの静止画を撮影して保存しておき、すべてのコマに対応する静止画の撮影が終了した後に、一連の静止画をアニメーション動画に変換するという方式が従来技術として知られている。   There is an animation technique called time-lapse photography in which a stationary object is moved little by little for each frame and photographed with a camera, and the object appears to move continuously. With regard to this time-lapse shooting, a still image of each frame constituting a movie is shot and stored, and after the shooting of still images corresponding to all the frames is completed, the series of still images are converted into animation movies. This method is known as the prior art.

特許文献1には、静止画を撮影する撮像手段と、撮像手段を介して任意のタイミングで1コマずつ撮影された複数の静止画データを動画生成用データとして格納する記憶手段と、記憶手段に格納された複数の静止画データを合成して一の動画データに変換する動画変換手段とを備える撮像装置が開示されている。   Japanese Patent Application Laid-Open No. 2004-133826 includes an imaging unit that captures a still image, a storage unit that stores a plurality of still image data captured one frame at a time through the imaging unit as moving image generation data, and a storage unit. An imaging apparatus is disclosed that includes a moving image conversion unit that combines a plurality of stored still image data and converts the combined still image data into one moving image data.

特開2005−109648号公報(2005年 4月21日公開)JP 2005-109648 A (published April 21, 2005)

しかしながら、上記従来の構成では、すべての撮影が終了した後に、複数の静止画データを合成して一の動画データに変換するため、撮影終了後、動画データを視聴することができるようになるまでに時間を要する、という問題がある。また、撮影した静止画像から動画データを生成するため、中間段階において大量の静止画像ファイルを保存するためのRAMまたはその他の保存媒体などのメモリを要する、という問題がある。   However, in the above-described conventional configuration, after all shooting is completed, a plurality of still image data is combined and converted into one moving image data, so that the moving image data can be viewed after the shooting is completed. There is a problem that it takes time. In addition, since moving image data is generated from a captured still image, there is a problem that a memory such as a RAM or other storage medium for storing a large amount of still image files is required in an intermediate stage.

上記の課題を解決するために、本発明の一態様に係る情報処理装置は、静止画像を撮像するカメラと、撮像した複数の静止画像から1つの動画ファイルを生成する動画エンコーダとを備える情報処理装置であって、上記カメラが撮像する度に、上記カメラから1フレーム分の撮像データを取得し、該撮像データを1または複数フレーム分の動画像データに変換して、該動画像データを動画ファイルに追加する処理を、上記動画エンコーダに実行させるエンコーダ制御手段を備えることを特徴とする。   In order to solve the above-described problem, an information processing apparatus according to one embodiment of the present invention includes an information processing apparatus including a camera that captures a still image and a moving image encoder that generates one moving image file from the plurality of captured still images. Each time the camera captures an image, the image data for one frame is acquired from the camera, the image data is converted into moving image data for one or more frames, and the moving image data is converted into a moving image. An encoder control means for causing the moving image encoder to execute processing to be added to a file is provided.

また、上記の課題を解決するために、本発明の一態様に係る情報処理装置の制御方法は、静止画像を撮像するカメラと、撮像した複数の静止画像から1つの動画ファイルを生成する動画エンコーダとを備える情報処理装置の制御方法であって、上記カメラが撮像する度に、上記カメラから1フレーム分の撮像データを取得し、該撮像データを1または複数フレーム分の動画像データに変換して、該動画像データを動画ファイルに追加する処理を、上記動画エンコーダに実行させることを特徴とする。   In order to solve the above problems, a method for controlling an information processing device according to one embodiment of the present invention includes a camera that captures a still image, and a moving image encoder that generates one moving image file from the plurality of captured still images. Each time an image is captured by the camera, the image data for one frame is acquired from the camera, and the image data is converted into moving image data for one or more frames. Then, the moving image encoder is caused to execute the process of adding the moving image data to the moving image file.

本発明の一態様によれば、従来必要であった、静止画像の撮像後の動画生成に要する時間が不要になる。また、従来、中間段階で行っていた大量の静止画像ファイルの保存が不要となるため、静止画像ファイルを格納するためのRAM、またはその他の保存媒体などのメモリが不要となり、メモリ使用量の削減を実現することができる。   According to one embodiment of the present invention, the time required for generating a moving image after capturing a still image, which has been necessary in the past, is not necessary. In addition, since it is no longer necessary to store a large amount of still image files, which is conventionally performed at an intermediate stage, a memory such as a RAM or other storage medium for storing still image files is unnecessary, and the memory usage is reduced. Can be realized.

本発明の実施形態1に係る情報処理装置の概略構成の例を示すブロック図である。It is a block diagram which shows the example of schematic structure of the information processing apparatus which concerns on Embodiment 1 of this invention. 図1に示す情報処理装置が行う動画生成処理の流れの一例を示すフローチャートである。3 is a flowchart illustrating an example of a flow of a moving image generation process performed by the information processing apparatus illustrated in FIG. 1. 2枚目の静止画像が撮影された場合における動画生成処理の例を具体的に説明する説明図である。It is explanatory drawing explaining the example of the moving image production | generation process in the case where the 2nd still image was image | photographed concretely. 3枚目の静止画像が撮影された場合における動画生成処理の例を具体的に説明する説明図である。It is explanatory drawing explaining the example of the moving image production | generation process in case the 3rd still image is image | photographed concretely. 6枚目の静止画像が撮影された場合における動画生成処理の例を具体的に説明する説明図である。It is explanatory drawing which demonstrates the example of the moving image production | generation process in the case where the 6th still image was image | photographed. 実施形態2に係る情報処理装置の概略構成の例を示すブロック図である。6 is a block diagram illustrating an example of a schematic configuration of an information processing apparatus according to a second embodiment. FIG.

〔実施形態1〕
以下、本発明の実施の形態について、詳細に説明する。
Embodiment 1
Hereinafter, embodiments of the present invention will be described in detail.

(情報処理装置10の構成)
まず、図1に基づいて、本実施形態に係る情報処理装置10の構成について説明する。図1は、本発明の実施形態1に係る情報処理装置10の概略構成の例を示すブロック図である。情報処理装置10は、静止画像を撮像するとともに、撮像した複数の静止画像を動画エンコーダ4に供給して動画像を生成させる。
(Configuration of information processing apparatus 10)
First, based on FIG. 1, the structure of the information processing apparatus 10 which concerns on this embodiment is demonstrated. FIG. 1 is a block diagram illustrating an example of a schematic configuration of an information processing apparatus 10 according to the first embodiment of the present invention. The information processing apparatus 10 captures a still image and supplies the captured still images to the moving image encoder 4 to generate a moving image.

なお、本実施形態では、情報処理装置10を、動画像の生成のための静止画の撮像を行うコマ撮り撮影に利用する場合について説明する。なお、情報処理装置10は、撮像機能を備えるものであればよく、カメラであってもよいし、カメラ機能を備える携帯電話、タブレット、およびスマートフォンなどの携帯通信端末であってもよい。また、「撮像」は、カメラ1によって写真を撮影することの他に、スキャナ装置などを用いて画像をスキャンすることによる静止画像の取得なども含んでいる。つまり、情報処理装置10は、スキャナなどの機器であってもよい。また、「フレーム」という用語は、「コマ」とも呼ばれ、動画像ファイルを構成する動画像データの1単位を指すために用いられる。そして、「コマ撮り」とは、動画像ファイルを生成する技法の1つであり、撮像対象を撮像することにより取得された静止画像が、動画像ファイルの1フレーム分に相当する撮像データとして用いられる。   In the present embodiment, a case will be described in which the information processing apparatus 10 is used for time-lapse shooting for capturing a still image for generating a moving image. The information processing device 10 may be any device that has an imaging function, and may be a camera, or may be a mobile communication terminal such as a mobile phone, a tablet, or a smartphone that has a camera function. The “imaging” includes not only taking a picture with the camera 1 but also acquiring a still image by scanning an image using a scanner device or the like. That is, the information processing apparatus 10 may be a device such as a scanner. The term “frame” is also called “frame” and is used to indicate one unit of moving image data constituting a moving image file. “Time-lapse photography” is one of the techniques for generating a moving image file, and a still image acquired by imaging an imaging target is used as imaging data corresponding to one frame of the moving image file. It is done.

本発明の一実施形態において、情報処理装置10はカメラ(撮像手段)1、操作入力部2、動画生成制御部3、動画エンコーダ4、表示制御部5、表示部6、および記憶部7を備えている。   In one embodiment of the present invention, the information processing apparatus 10 includes a camera (imaging means) 1, an operation input unit 2, a moving image generation control unit 3, a moving image encoder 4, a display control unit 5, a display unit 6, and a storage unit 7. ing.

カメラ1は、デジタルカメラであり、CCDセンサ、CMOSセンサなどを用いて、撮像対象物の撮像を行うカメラモジュールである。カメラ1を通して光学的に入力している画像であるカメラビュー画像、および撮像によって得られた撮像データを表示制御部5へと出力する。ここで、「撮像データ」とは、撮像された静止画像のデータ(静止画データ)である。なお、撮像される静止画像は2次元画像に限定されず、3次元画像であってもよい。静止画像が3次元画像である場合、3次元画像の動画像も生成可能となる。   The camera 1 is a digital camera, and is a camera module that images an object to be imaged using a CCD sensor, a CMOS sensor, or the like. A camera view image that is an image optically input through the camera 1 and imaging data obtained by imaging are output to the display control unit 5. Here, “imaging data” is captured still image data (still image data). Note that the captured still image is not limited to a two-dimensional image, and may be a three-dimensional image. When the still image is a three-dimensional image, a moving image of the three-dimensional image can also be generated.

操作入力部2は、ユーザが情報処理装置10に対して、各種の設定および指示を入力するためのものであり、電源スイッチ、シャッター、および撮像モード(コマ撮り撮影モード、通常撮影モード、およびビデオモードなど)の切り替えボタンなどを含む。操作入力部2は、様々な形態によって実現され得る。例えば、表示部6の表示画面にタッチパネルを重畳することにより、上記の設定および指示の一部またはすべてを、表示画面へのタッチ操作によって入力できるように構成してもよい。また、情報処理装置10に音声解析機能を備えることで、音声による操作入力を可能にしてもよい。   The operation input unit 2 is for a user to input various settings and instructions to the information processing apparatus 10, and includes a power switch, a shutter, and an imaging mode (time-lapse shooting mode, normal shooting mode, and video). Mode switching buttons). The operation input unit 2 can be realized in various forms. For example, a part or all of the above settings and instructions may be input by a touch operation on the display screen by superimposing a touch panel on the display screen of the display unit 6. Further, the information processing apparatus 10 may be provided with a voice analysis function to enable voice operation input.

動画生成制御部3は、コマ撮り撮影によって撮像された静止画像から動画像を生成するための制御を行う。動画生成制御部3は、フレーム情報演算部31および動画エンコーダ制御部(エンコーダ制御手段)32を含んで構成される。動画生成制御部3は、動画像の生成のための一連の静止画像の撮像が終了するまで、以下に記載する処理を繰り返し行う。   The moving image generation control unit 3 performs control for generating a moving image from a still image captured by time-lapse shooting. The moving image generation control unit 3 includes a frame information calculation unit 31 and a moving image encoder control unit (encoder control means) 32. The moving image generation control unit 3 repeatedly performs the processing described below until the imaging of a series of still images for generating a moving image is completed.

動画生成制御部3のフレーム情報演算部31は、ユーザによって設定された動画像のフレームレート(FPS)などのフレーム情報設定71に基づいて、動画像の再生時における当該静止画像に対応するフレームの表示時間を規定する情報であるフレーム表示時間(タイムスタンプ)Δt(フレーム情報)を演算する。フレーム表示時間Δtは、静止画像毎に対応付けられる情報であって、各撮像データを動画エンコーダ4に供給して生成された1フレーム分の動画像のおのおのが、上記動画像の再生時において表示される時間の長さを規定する。例えば、生成される動画像が、毎秒25フレーム(25fps)というフレームレートで再生されるように、ユーザによって設定された場合、フレーム情報演算部31は、フレーム表示時間Δtを40msecと算出する(1000msec/25fpm=40msec)。算出されたフレーム表示時間Δtは、動画エンコーダ制御部32へと送られる。なお、ユーザによって入力され得るフレーム情報は、フレームレートに限定されず、例えば、撮像する静止画像の総枚数、記憶部7に格納されている各動画ファイル72を特定するための情報を含んでもよい。また、撮像される各静止画像に異なるフレーム表示時間Δtを対応付けてもよい。   The frame information calculation unit 31 of the moving image generation control unit 3 uses a frame information setting 71 such as a frame rate (FPS) of the moving image set by the user to determine the frame corresponding to the still image at the time of reproducing the moving image. A frame display time (time stamp) Δt (frame information), which is information defining the display time, is calculated. The frame display time Δt is information associated with each still image, and each moving image for one frame generated by supplying each imaging data to the moving image encoder 4 is displayed when the moving image is reproduced. Specifies the length of time to be played. For example, when the user sets the moving image to be played back at a frame rate of 25 frames per second (25 fps), the frame information calculation unit 31 calculates the frame display time Δt as 40 msec (1000 msec). / 25 fpm = 40 msec). The calculated frame display time Δt is sent to the moving image encoder control unit 32. Note that the frame information that can be input by the user is not limited to the frame rate, and may include, for example, the total number of still images to be captured and information for specifying each moving image file 72 stored in the storage unit 7. . Further, a different frame display time Δt may be associated with each captured still image.

動画エンコーダ制御部32は、カメラ1が撮像する度に、カメラ1から1フレーム分の撮像データを取得し、該撮像データを1または複数フレーム分の動画像データに変換して、該動画像データを動画ファイル72に追加する処理を、動画エンコーダ4に実行させる。また、動画エンコーダ制御部32は、動画像の生成のための静止画像の撮像を開始する操作に応じて、動画エンコーダ4に動画ファイル72を生成させる。動画エンコーダ制御部32は、1つの静止画像が撮像される度に、撮像された該静止画像を動画エンコーダ4に直接供給し、動画ファイル72に追加させる。すなわち、動画エンコーダ制御部32は、撮像データを記憶部7などの記憶装置に格納することなく、動画エンコーダ4に供給して該撮像データを動画像データとして動画ファイル72に追加させる。   Each time the camera 1 captures an image, the moving image encoder control unit 32 acquires image data for one frame from the camera 1, converts the image data into moving image data for one or a plurality of frames, and the moving image data Is added to the moving image file 72, and the moving image encoder 4 is caused to execute. In addition, the moving image encoder control unit 32 causes the moving image encoder 4 to generate a moving image file 72 in response to an operation for starting capturing a still image for generating a moving image. The moving image encoder control unit 32 supplies the captured still image directly to the moving image encoder 4 and adds it to the moving image file 72 every time one still image is captured. That is, the moving image encoder control unit 32 supplies the moving image data to the moving image file 72 as moving image data by supplying the moving image encoder 4 without storing the captured image data in a storage device such as the storage unit 7.

さらに、動画エンコーダ制御部32は、カメラ1がコマ撮り撮影モードに設定されている状態において、シャッター操作が入力されたことを契機として、フレーム表示時間Δtを静止画像とともに動画エンコーダ4に供給し、フレーム情報が規定する時間だけ表示される動画像を、上記動画ファイル72に追加させる。なお、動画ファイル72を生成させるタイミングはこれに限られず、例えばコマ撮り撮影モードに遷移したときに生成させてもよい。そして、シャッター操作が入力された瞬間の静止画像の撮像データをカメラ1から取得するとともに、フレーム情報演算部31からフレーム表示時間Δtを取得し、両者を動画エンコーダ4へと供給する。   Further, the moving image encoder control unit 32 supplies the frame display time Δt together with the still image to the moving image encoder 4 when the shutter operation is input in the state where the camera 1 is set to the time-lapse shooting mode. A moving image that is displayed for a time specified by the frame information is added to the moving image file 72. Note that the timing for generating the moving image file 72 is not limited to this. Then, the image data of the still image at the moment when the shutter operation is input is acquired from the camera 1, the frame display time Δt is acquired from the frame information calculation unit 31, and both are supplied to the moving image encoder 4.

動画エンコーダ4は、シャッター操作に応じて、動画ファイル72を記憶部7に生成する。また、動画エンコーダ4は、1つの静止画が撮像される度に、動画エンコーダ制御部32から、撮像された静止画像と該静止画像に対応するフレーム表示時間Δtとを取得する。そして、撮像された静止画像を符号化(エンコード)し、動画像を構成する1または複数フレーム分の動画像を生成して動画ファイル72に追加する。このとき、動画エンコーダ4は、各1フレーム分の動画像が、再生された時にフレーム表示時間Δtに規定された時間にわたって表示されるように、動画ファイル72に追加する。すなわち、動画エンコーダ4は、カメラ1によって撮像された静止画像から動画像を生成するための符号化を行うとともに、生成した動画像を動画ファイル72に追加して1つの動画像とするマルチプレクサ(MUX)装置としても機能する。   The moving image encoder 4 generates a moving image file 72 in the storage unit 7 in response to the shutter operation. Further, every time one still image is captured, the moving image encoder 4 acquires the captured still image and the frame display time Δt corresponding to the still image from the moving image encoder control unit 32. Then, the captured still image is encoded, and a moving image for one or a plurality of frames constituting the moving image is generated and added to the moving image file 72. At this time, the moving image encoder 4 adds the moving image for each frame to the moving image file 72 so that the moving image is displayed over the time defined by the frame display time Δt when reproduced. That is, the moving image encoder 4 performs encoding for generating a moving image from a still image captured by the camera 1, and adds the generated moving image to the moving image file 72 to form a moving image (MUX). It also functions as a device.

表示制御部5は、カメラ1から出力されるカメラビュー画像、ユーザによるタッチ操作による入力を支援するための各種ボタン/アイコンまたはキーボード表示、撮像された静止画像、および生成された動画像(動画)を表示するように表示部6を制御する。   The display control unit 5 displays a camera view image output from the camera 1, various buttons / icons or a keyboard display for assisting an input by a touch operation by the user, a captured still image, and a generated moving image (moving image). The display unit 6 is controlled to display.

表示部6は、画像などを表示するLCD(液晶ディスプレイ:Liquid Crystal Display)、PDP(プラズマディスプレイ:Plasma Display Panel)、または有機EL(Organic LED)などの、薄型フラットパネルディスプレイ(Flat Panel Display)である。上述のように、表示部6の表示画面にタッチパネルを重畳して構成されていてもよく、その場合、表示状態の表示部6はユーザの操作入力を受け付ける操作入力部としての機能も備える。なお、表示部10は撮像した画像の確認のために便利であり、搭載されていることが好ましいが、情報処理装置10の必須の構成ではない。   The display unit 6 is a flat panel display such as an LCD (Liquid Crystal Display), a PDP (Plasma Display Panel), or an organic EL (Organic LED). is there. As described above, a touch panel may be superimposed on the display screen of the display unit 6, and in this case, the display unit 6 in the display state also has a function as an operation input unit that receives a user's operation input. The display unit 10 is convenient for confirming the captured image and is preferably mounted, but is not an essential component of the information processing apparatus 10.

記憶部7は、フレーム情報設定71のようにユーザによって入力された各種設定、および動画エンコーダ4が生成した動画ファイル72などを記憶するメモリである。例えば、記憶部7は、フラッシュメモリ、RAM、SDカードなどの記憶媒体であってもよい。   The storage unit 7 is a memory that stores various settings input by the user, such as the frame information setting 71, and the moving image file 72 generated by the moving image encoder 4. For example, the storage unit 7 may be a storage medium such as a flash memory, a RAM, or an SD card.

上記の構成の情報処理装置10によれば、動画ファイルの生成のための一連の静止画像の撮像が終了した時点から短時間で動画ファイルを生成することができる。また、従来中間段階で保存していた大量の静止画像ファイルを格納するためのRAM、またはその他の保存媒体などのメモリが不要となる。よって、メモリの削減を実現することができる。   According to the information processing apparatus 10 having the above-described configuration, a moving image file can be generated in a short time from the end of imaging of a series of still images for generating a moving image file. In addition, a RAM such as a RAM for storing a large amount of still image files that have been stored in an intermediate stage or a memory such as another storage medium becomes unnecessary. Therefore, memory reduction can be realized.

なお、ここでは、該動画像の生成のための静止画像を、カメラ1を用いてコマ撮りする例について説明したが、情報処理装置10はこれに限定されない。すなわち、情報処理装置10は、動画像の各フレームとして利用可能な任意の静止画像から動画像を生成してもよい。例えば、カメラ1の代わりに、またはカメラ1に加えて、スキャナ装置等を備える構成であってもよい。このような場合、静止画像の撮像を開始する指示であるスキャン開始ボタンが押下されることにより撮像される静止画像が、動画像を生成するために利用される。また、例えば情報処理装置10に有線または無線接続されたカメラやスキャナ装置から撮像データを読み込んで動画像を生成してもよい。この場合、シャッター操作、スキャン開始ボタンの操作等が情報処理装置10にも伝達されるように構成することにより、本実施形態の情報処理装置10と同等の機能を実現可能である。   Here, although an example in which the still image for generating the moving image is shot using the camera 1 has been described, the information processing apparatus 10 is not limited to this. That is, the information processing apparatus 10 may generate a moving image from an arbitrary still image that can be used as each frame of the moving image. For example, a configuration including a scanner device or the like instead of the camera 1 or in addition to the camera 1 may be employed. In such a case, a still image captured by pressing a scan start button that is an instruction to start capturing a still image is used to generate a moving image. Further, for example, image data may be read from a camera or scanner device wired or wirelessly connected to the information processing apparatus 10 to generate a moving image. In this case, by configuring so that the shutter operation, the operation of the scan start button, and the like are also transmitted to the information processing apparatus 10, it is possible to realize a function equivalent to that of the information processing apparatus 10 of the present embodiment.

次に、情報処理装置10を用いてコマ撮り撮影を行い、動画像を生成する処理の流れについて図2を用いて説明する。図2は、図1に示す情報処理装置10が行う動画生成処理の流れの一例を示すフローチャートである。   Next, a flow of processing for performing time-lapse shooting using the information processing apparatus 10 and generating a moving image will be described with reference to FIG. FIG. 2 is a flowchart illustrating an exemplary flow of a moving image generation process performed by the information processing apparatus 10 illustrated in FIG.

ユーザによって、コマ撮り撮影のモードが選択されると、情報処理装置10は、これから開始される撮像によって取得される撮像データから動画像を生成する処理を開始する。表示部6における画面表示などにより、ユーザに対して、動画像のフレームレート(FPS)、撮像する静止画像の総枚数、および記憶部7に格納されている各動画ファイル72を特定するための情報などのフレーム情報を設定するように要求し、設定されたFPS値を取得する(S1)。なお、ユーザへの設定要求は必須ではなく、デフォルトで設定されたFPS値を取得してもよい。ただし、ユーザの意図する動画が生成できるように、FPS値をユーザが設定できるようにすることが好ましい。ユーザによって入力されたFPSは、フレーム情報設定71に格納される。フレーム情報演算部31は、フレーム情報設定71に格納されているFPS値に基づいて、フレーム表示時間Δt(フレーム情報)を演算する(S2)。   When the time-lapse shooting mode is selected by the user, the information processing apparatus 10 starts a process of generating a moving image from imaging data acquired by imaging to be started. Information for specifying the moving image frame rate (FPS), the total number of still images to be captured, and each moving image file 72 stored in the storage unit 7 by screen display on the display unit 6 or the like. To set the frame information, and the set FPS value is acquired (S1). Note that a setting request to the user is not essential, and an FPS value set by default may be acquired. However, it is preferable that the user can set the FPS value so that a moving image intended by the user can be generated. The FPS input by the user is stored in the frame information setting 71. The frame information calculation unit 31 calculates the frame display time Δt (frame information) based on the FPS value stored in the frame information setting 71 (S2).

次に、S3において、動画エンコーダ制御部32は、動画エンコーダ4を起動(START)させ、動画ファイルを生成するように指示する。これにより、S4において、起動した動画エンコーダ4は、記憶部7に、動画ファイル72を新規生成する。なお、最初の静止画を用いて生成した動画像を記憶部7に格納するときに、新規の動画ファイル72を生成してもよい。   Next, in S3, the moving image encoder control unit 32 starts the moving image encoder 4 (START) and instructs to generate a moving image file. Thereby, in S <b> 4, the activated moving image encoder 4 newly generates a moving image file 72 in the storage unit 7. Note that a new moving image file 72 may be generated when the moving image generated using the first still image is stored in the storage unit 7.

また、S5において、カメラ1はカメラビュー画像を表示制御部5に出力し、表示部6においてカメラビュー画像の表示を開始する。ユーザは、このカメラビュー画像を参照しながら情報処理装置10の姿勢、および光学系(レンズなど)の設定を行うことで、撮像される静止画像が所望の画角、および構図となるように調整することができる。   In S <b> 5, the camera 1 outputs the camera view image to the display control unit 5 and starts displaying the camera view image on the display unit 6. The user adjusts the captured still image to have a desired angle of view and composition by setting the posture of the information processing apparatus 10 and the optical system (such as a lens) while referring to the camera view image. can do.

次に、撮像を指示する操作(シャッター押下)が入力されると(S6においてYES)、動画エンコーダ制御部32は、シャッターが押下された瞬間の撮像データ(カメラビュー画像と同じ静止画像のデータ)と、S2において算出されたフレーム表示時間Δtとを動画エンコーダ4に供給する(S7)。動画エンコーダ4は、供給された撮像データをエンコードし、動画像を構成する1フレーム分の動画像を生成して動画ファイル72に追加する。一方、撮像を指示する操作(シャッター押下)の入力がない場合(S6においてNO)、以下のS8の処理を行う。   Next, when an operation for instructing imaging (shutter pressing) is input (YES in S6), the moving image encoder control unit 32 captures imaging data at the moment when the shutter is pressed (the same still image data as the camera view image). Then, the frame display time Δt calculated in S2 is supplied to the moving image encoder 4 (S7). The moving image encoder 4 encodes the supplied imaging data, generates a moving image for one frame constituting the moving image, and adds it to the moving image file 72. On the other hand, when there is no input of an operation for instructing imaging (shutter pressing) (NO in S6), the following processing of S8 is performed.

コマ撮り撮影が終了していない場合(S8においてNO)、S5に戻り、撮像が続行される。すなわち、動画生成制御部3は、動画像の生成のための一連の静止画像の撮像が終了するまで、上記S5〜S7の処理を繰り返し行う。   If the time-lapse shooting has not been completed (NO in S8), the process returns to S5 and the imaging is continued. That is, the moving image generation control unit 3 repeats the processes of S5 to S7 until the series of still images for moving image generation is completed.

コマ撮り撮影が終了した場合(S8においてYES)、S9において、動画エンコーダ制御部32は、動画エンコーダ4を停止(STOP)する。なお、コマ撮り撮影は、所定の終了操作がなされたときに終了すると判定すればよい。また、例えば、各撮像の度に、ユーザに対して終了したか否かを尋ねる表示を行い、この表示に対して終了する旨の入力操作がなされたときに終了すると判定ようにしてもよい。または、ユーザがフレーム情報として予め設定した枚数の静止画像の撮像が終了したことを契機として撮影が終了したと判定してもよい。そして、S10において、動画ファイル72をクローズして、動画像の生成が終了する。   When the time-lapse shooting is finished (YES in S8), the moving image encoder control unit 32 stops (STOP) the moving image encoder 4 in S9. Note that the time-lapse shooting may be determined to end when a predetermined end operation is performed. Further, for example, for each imaging, a display asking whether or not the user has ended may be performed, and it may be determined that the display is ended when an input operation is performed to end the display. Alternatively, it may be determined that shooting has been completed when shooting of a still number of still images set in advance as frame information by the user has ended. In step S10, the moving image file 72 is closed, and the generation of the moving image ends.

次に、情報処理装置10が撮像した静止画像から動画像を生成する処理について、図3を用いて説明する。ここでは、蛸壺からタコが出てきてスミを吐くまでの様子を、撮像した6フレーム分の静止画像から動画像を生成する場合を例に挙げて説明する。なお、動画像を生成するための一連の撮像において、フレーム表示時間Δt(フレーム情報)が一定(40msec)である場合を例にして説明するが、これに限定されない。フレーム情報は生成する動画像に応じて任意に設定することが可能であり、また、撮像される静止画像毎に異なるフレーム表示時間Δtを対応付けることも可能である。   Next, processing for generating a moving image from a still image captured by the information processing apparatus 10 will be described with reference to FIG. Here, the state from when the octopus comes out from the cocoon to the time when the smear is spouted will be described by taking as an example the case where a moving image is generated from the captured still images of six frames. In addition, although a case where the frame display time Δt (frame information) is constant (40 msec) in a series of imaging for generating a moving image will be described as an example, the present invention is not limited to this. The frame information can be arbitrarily set according to the moving image to be generated, and a different frame display time Δt can be associated with each captured still image.

図3は、動画生成処理の例を具体的に説明する説明図であり、(a)は、2枚目の静止画像P2が撮影された場合、(b)は3枚目の静止画像P3が撮影された場合、(c)は6枚目の静止画像P6が撮影された場合、のそれぞれにおける処理の例を示している。   FIGS. 3A and 3B are explanatory diagrams for specifically explaining an example of the moving image generation process. FIG. 3A illustrates a case where the second still image P2 is captured, and FIG. 3B illustrates a case where the third still image P3 is captured. (C) shows an example of processing in each case where the sixth still image P6 is taken.

なお、図3の(a)〜(c)では、撮像するときの時間の経過を示す矢印を最左部に示している。静止画像を取得するタイミング、すなわちシャッターを押下するタイミングは任意であり、各撮影の間隔は一定でなくてもよい。   In FIGS. 3A to 3C, an arrow indicating the passage of time when imaging is shown on the leftmost portion. The timing of acquiring a still image, that is, the timing of pressing the shutter is arbitrary, and the interval between each shooting may not be constant.

また、動画エンコーダ4を表す長方形、および該長方形を通過する左から右への矢印は、静止画像(カメラビュー画像)がエンコードされて動画像を生成する処理を模式的に表現している。すなわち、左側に描かれたカメラビュー画像を動画エンコーダ4に供給して、動画像が生成され、動画ファイル72に追加された結果の動画像を動画エンコーダ4の右側に描いている。   A rectangle representing the moving image encoder 4 and a left-to-right arrow passing through the rectangle schematically represent a process of generating a moving image by encoding a still image (camera view image). That is, the camera view image drawn on the left side is supplied to the moving image encoder 4 to generate a moving image, and the moving image as a result added to the moving image file 72 is drawn on the right side of the moving image encoder 4.

図3の(a)において、まず、カメラ1によって1回目のシャッター押下が行われたとき、1枚目のカメラビューの静止画像P1が取得される。静止画像P1は、フレーム表示時間Δt=40msecとともに、動画エンコーダ制御部32から動画エンコーダ4へと供給されて、表示時間が40msecの動画像V1が生成され、該動画像V1は、動画ファイル72に追加される。次に、しばらく後にカメラ1によって2回目のシャッター押下が行われると、2枚目のカメラビューの静止画像P2が取得される。静止画像P2は、フレーム表示時間Δt=40msecとともに、動画エンコーダ制御部32から動画エンコーダ4へと供給されて、表示時間が40msecの動画像V2が生成される。動画エンコーダ4は、動画ファイル72に動画像V2を追加する。その結果、動画ファイル72は、動画像V1および動画像V2を含み、総表示時間が80msecの動画像となる。   In FIG. 3A, first, when the first shutter pressing is performed by the camera 1, a still image P1 of the first camera view is acquired. The still image P1 is supplied from the moving image encoder control unit 32 to the moving image encoder 4 together with the frame display time Δt = 40 msec, and a moving image V1 having a display time of 40 msec is generated. The moving image V1 is stored in the moving image file 72. Added. Next, when a second shutter press is performed by the camera 1 after a while, a still image P2 of the second camera view is acquired. The still image P2 is supplied from the moving image encoder control unit 32 to the moving image encoder 4 together with the frame display time Δt = 40 msec, and a moving image V2 having a display time of 40 msec is generated. The moving image encoder 4 adds the moving image V2 to the moving image file 72. As a result, the moving image file 72 includes a moving image V1 and a moving image V2, and becomes a moving image having a total display time of 80 msec.

次に、図3の(b)において、3回目のシャッター押下が行われると、3枚目のカメラビューの静止画像P3が取得される。静止画像P3から生成された動画像V3が生成され、動画エンコーダ4は、該動画像V3を動画ファイル72に追加する。その結果、動画ファイル72の総表示時間は120msecの動画像となる。   Next, in FIG. 3B, when the third shutter pressing is performed, a still image P3 of the third camera view is acquired. A moving image V3 generated from the still image P3 is generated, and the moving image encoder 4 adds the moving image V3 to the moving image file 72. As a result, the total display time of the moving image file 72 is a moving image of 120 msec.

以下同様に、動画像の生成のための一連の静止画像の撮像が終了する6枚目のカメラビューの静止画像P6が撮像されるまで繰り返し、図3の(c)に示すように、動画像V1〜V6を含む総時間240msecの動画ファイル72が完成する。   Similarly, until a still image P6 of the sixth camera view for which a series of still images for capturing a moving image has been captured is repeatedly captured, as shown in FIG. A moving image file 72 having a total time of 240 msec including V1 to V6 is completed.

なお、図3の最右部には、動画ファイル72を再生したときに表示される時間の長さを表す矢印を示しているが、この矢印の長さは、図3の最左部に示した時間の経過を示す矢印の長さとは無関係である。   In the rightmost part of FIG. 3, an arrow indicating the length of time displayed when the moving image file 72 is reproduced is shown. The length of this arrow is shown in the leftmost part of FIG. It is independent of the length of the arrow indicating the passage of time.

〔実施形態2〕
本発明の他の実施形態について説明すれば、以下のとおりである。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 2]
The following will describe another embodiment of the present invention. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.

まず、この情報処理装置20の構成について、図4を用いて説明する。図4は、実施形態2に係る情報処理装置20の概略構成の例を示すブロック図である。本実施形態に係る情報処理装置20は、静止画データバッファ(バッファ記憶部)8、およびバッファ制御部(バッファ制御手段)33をさらに備える点で、前述の実施形態1に係る情報処理装置10と異なっている。   First, the configuration of the information processing apparatus 20 will be described with reference to FIG. FIG. 4 is a block diagram illustrating an example of a schematic configuration of the information processing apparatus 20 according to the second embodiment. The information processing apparatus 20 according to the present embodiment is further provided with a still image data buffer (buffer storage unit) 8 and a buffer control unit (buffer control unit) 33, and the information processing apparatus 10 according to the first embodiment described above. Is different.

静止画データバッファ(バッファ記憶部)8は、カメラ1からの撮像データを1フレーム分だけ記憶する。そして、バッファ制御部33は、静止画データバッファ8に記憶されている撮像データを、上記カメラ1が撮像する度に更新する。静止画データバッファ8は、通常、撮像データの格納と取り出しとを円滑に実行することができるように、ダブルバッファとなっている。また、バッファ制御部33は、静止画データバッファ8に保存する撮像データを、カメラ1から新たに取得した撮像データへと更新した場合、動画エンコーダ制御部32に対して、静止画データバッファ8に保存されている撮像データが更新されたことを通知する。この通知を受け取った動画エンコーダ制御部32は、静止画データバッファ8に記憶されている1フレーム分の撮像データと、フレーム表示時間Δtとを動画エンコーダ4に供給する。   The still image data buffer (buffer storage unit) 8 stores image data from the camera 1 for one frame. The buffer control unit 33 updates the image data stored in the still image data buffer 8 every time the camera 1 captures an image. The still image data buffer 8 is normally a double buffer so that image data can be stored and retrieved smoothly. In addition, when the image data stored in the still image data buffer 8 is updated to the image data newly acquired from the camera 1, the buffer control unit 33 stores the image data stored in the still image data buffer 8 in the still image data buffer 8 with respect to the moving image encoder control unit 32. Notifies that the stored imaging data has been updated. Upon receiving this notification, the moving image encoder control unit 32 supplies the image data for one frame stored in the still image data buffer 8 and the frame display time Δt to the moving image encoder 4.

前述の実施形態1に係る情報処理装置10は、撮像を指示する操作(シャッター押下)が入力されると、動画エンコーダ制御部32は、カメラ1から取得した、シャッターが押下された瞬間の静止画像の撮像データと、フレーム表示時間Δtとを動画エンコーダ4に供給する。これに対し、本実施形態に係る情報処理装置20は、撮像を指示する操作(シャッター押下)が入力されると、バッファ制御部33は、シャッターが押下された瞬間の1フレーム分の静止画像をカメラ1から取得し、該静止画像の撮像データを静止画データバッファ8に一時記憶する。この時、静止画データバッファ8に既に撮像データが記憶されている場合には、バッファ制御部33は、静止画データバッファ8に保存する撮像データを、カメラ1から新たに取得した静止画像の撮像データへと更新する。すなわち、バッファ制御部33は、カメラ1から新たに取得した撮像データを静止画データバッファ8に上書き保存する。   In the information processing apparatus 10 according to the first embodiment, when an operation for instructing imaging (shutter pressing) is input, the moving image encoder control unit 32 acquires a still image obtained from the camera 1 at the moment when the shutter is pressed. And the frame display time Δt are supplied to the moving image encoder 4. In contrast, when the information processing apparatus 20 according to the present embodiment receives an operation for instructing imaging (shutter pressing), the buffer control unit 33 displays a still image for one frame at the moment when the shutter is pressed. Obtained from the camera 1, the image data of the still image is temporarily stored in the still image data buffer 8. At this time, if the captured image data is already stored in the still image data buffer 8, the buffer control unit 33 captures the still image newly acquired from the camera 1 as the captured data to be stored in the still image data buffer 8. Update to data. That is, the buffer control unit 33 overwrites and saves the image data newly acquired from the camera 1 in the still image data buffer 8.

このように、情報処理装置20は、1フレーム分の静止画像を記憶する静止画データバッファ8と、静止画データバッファ8に記憶されている撮像データを、カメラ1が撮像する度に更新するバッファ制御部33とを備えている。そして、動画エンコーダ制御部32は、静止画データバッファ8の撮像データが更新される度に、静止画データバッファ8から1フレーム分の撮像データを取得するとともに、フレーム情報演算部31からフレーム表示時間Δtを取得し、両者を動画エンコーダ4へと供給する。これにより、従来中間段階で保存していた大量の静止画像ファイルを格納するためのRAM、またはその他の保存媒体などのメモリが不要となり、メモリの削減を実現することができる。   As described above, the information processing device 20 stores the still image data buffer 8 that stores a still image for one frame, and the buffer that updates the imaging data stored in the still image data buffer 8 every time the camera 1 captures an image. And a control unit 33. The moving image encoder control unit 32 acquires the image data for one frame from the still image data buffer 8 and updates the frame display time from the frame information calculation unit 31 every time the image data in the still image data buffer 8 is updated. Δt is acquired, and both are supplied to the moving image encoder 4. This eliminates the need for a memory such as a RAM or other storage medium for storing a large amount of still image files that have been stored in the intermediate stage, and can reduce the memory.

〔実施形態3〕
本発明のさらに別の実施形態について説明すれば、以下のとおりである。なお、説明の便宜上、前記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、その説明を省略する。
[Embodiment 3]
The following will describe still another embodiment of the present invention. For convenience of explanation, members having the same functions as those described in the embodiment are given the same reference numerals, and descriptions thereof are omitted.

コマ撮り撮影された複数の静止画像から動画像を生成するために、大量の静止画像の撮像が要求される場合、一連の撮像は中断されるかもしれない。   In order to generate a moving image from a plurality of still images taken by time-lapse shooting, when a large number of still images are required to be captured, a series of imaging may be interrupted.

そこで、本発明の実施形態2に係る情報処理装置10では、FPS値に加えて、記憶部7に格納されている各動画ファイル72を特定するための情報がユーザによって入力される。これにより、これから撮像される静止画像から生成される動画像を、どの動画ファイル72に追加するのか指定することができる。   Therefore, in the information processing apparatus 10 according to the second embodiment of the present invention, in addition to the FPS value, information for specifying each moving image file 72 stored in the storage unit 7 is input by the user. Thereby, it is possible to specify to which moving image file 72 a moving image generated from a still image to be captured is added.

すなわち、記憶部7に未完成の複数の動画ファイル72(例えば、動画ファイル72aおよび動画ファイル72b)(図示せず)が格納されている場合、動画エンコーダ制御部32は、動画ファイル72a(または動画ファイル72b)を指定する情報を、撮像された静止画像と共に動画エンコーダ4に供給する。これにより、これから撮像される静止画像から生成される動画像を所望の動画ファイル72に追加させることができる。   That is, when a plurality of unfinished moving image files 72 (for example, moving image file 72a and moving image file 72b) (not shown) are stored in the storage unit 7, the moving image encoder control unit 32 selects the moving image file 72a (or moving image file 72a). Information specifying the file 72b) is supplied to the moving image encoder 4 together with the captured still image. Thereby, a moving image generated from a still image to be captured can be added to a desired moving image file 72.

〔ソフトウェアによる実現例〕
情報処理装置10、および20の制御ブロック(特に、動画生成制御部3のフレーム情報演算部31、動画エンコーダ制御部32、およびバッファ制御部33)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、CPU(Central Processing Unit)を用いてソフトウェアによって実現してもよい。
[Example of software implementation]
The control blocks of the information processing apparatuses 10 and 20 (in particular, the frame information calculation unit 31, the moving image encoder control unit 32, and the buffer control unit 33 of the moving image generation control unit 3) are formed in an integrated circuit (IC chip) or the like. It may be realized by a logic circuit (hardware), or may be realized by software using a CPU (Central Processing Unit).

後者の場合、情報処理装置10、および20は、各機能を実現するソフトウェアであるプログラムの命令を実行するCPU、上記プログラムおよび各種データがコンピュータ(またはCPU)で読み取り可能に記録されたROM(Read Only Memory)または記憶装置(これらを「記録媒体」と称する)、上記プログラムを展開するRAM(Random Access Memory)などを備えている。そして、コンピュータ(またはCPU)が上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記記録媒体としては、「一時的でない有形の媒体」、例えば、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。   In the latter case, the information processing apparatuses 10 and 20 include a CPU that executes instructions of a program that is software that realizes each function, and a ROM (Read that records the above program and various data so that the computer (or CPU) can read them. Only Memory) or a storage device (these are referred to as “recording media”), a RAM (Random Access Memory) for expanding the program, and the like. And the objective of this invention is achieved when a computer (or CPU) reads the said program from the said recording medium and runs it. As the recording medium, a “non-temporary tangible medium” such as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used. The program may be supplied to the computer via an arbitrary transmission medium (such as a communication network or a broadcast wave) that can transmit the program. The present invention can also be realized in the form of a data signal embedded in a carrier wave in which the program is embodied by electronic transmission.

〔まとめ〕
本発明の態様1に係る情報処理装置10および20は、静止画像を撮像するカメラ1と、撮像した複数の静止画像から1つの動画ファイル72を生成する動画エンコーダ4とを備える情報処理装置であって、上記カメラが撮像する度に、上記カメラから1フレーム分の撮像データを取得し、該撮像データを1または複数フレーム分の動画像データに変換して、該動画像データを動画ファイルに追加する処理を、上記動画エンコーダに実行させるエンコーダ制御手段(動画エンコーダ制御部32)を備えている。
[Summary]
The information processing apparatuses 10 and 20 according to the first aspect of the present invention are information processing apparatuses including a camera 1 that captures still images and a moving image encoder 4 that generates one moving image file 72 from a plurality of captured still images. Each time the camera captures an image, it acquires one frame of image data from the camera, converts the image data into one or more frames of moving image data, and adds the moving image data to the moving image file. Encoder control means (moving image encoder control unit 32) for causing the moving image encoder to execute the processing to be performed.

上記の構成によれば、静止画像が撮像される度に、カメラから1フレーム分の撮像データを動画エンコーダに供給し、該撮像データから生成した動画像データを動画ファイルに追加する。これにより、従来必要であった、静止画像の撮像後の動画生成に要する時間が不要になる。また、従来中間段階で保存していた大量の静止画像ファイルを格納するためのRAM、またはその他の保存媒体などのメモリが不要となる。よって、メモリの削減を実現することができる。   According to the above configuration, every time a still image is captured, imaging data for one frame is supplied from the camera to the moving image encoder, and moving image data generated from the captured data is added to the moving image file. This eliminates the time required for generating a moving image after capturing a still image, which has been necessary in the past. In addition, a RAM such as a RAM for storing a large amount of still image files that have been stored in an intermediate stage or a memory such as another storage medium becomes unnecessary. Therefore, memory reduction can be realized.

本発明の態様2に係る情報処理装置は、上記態様1において、上記エンコーダ制御手段は、上記カメラが生成した上記撮像データをそのまま上記動画エンコーダに取得させてもよい。   In the information processing apparatus according to aspect 2 of the present invention, in the aspect 1, the encoder control unit may cause the moving image encoder to directly acquire the imaging data generated by the camera.

これにより、カメラから撮像データをそのまま動画エンコーダに取得させるので、動画ファイルの生成のために静止画像ファイルを格納しなくてよい。よって、RAM、またはその他の保存媒体などのメモリが不要となる。   As a result, since the image data is directly acquired from the camera by the moving image encoder, it is not necessary to store the still image file for generating the moving image file. Therefore, a memory such as a RAM or other storage medium becomes unnecessary.

本発明の態様3に係る情報処理装置は、上記態様1において、1フレーム分の上記撮像データを記憶するバッファ記憶部(静止画データバッファ8)と、上記バッファ記憶部に記憶されている上記撮像データを、上記カメラが撮像する度に、更新するバッファ制御手段(バッファ制御部33)とをさらに備え、上記エンコーダ制御手段は、上記バッファ制御手段によって上記バッファ記憶部の上記撮像データが更新される度に、上記バッファ記憶部から1フレーム分の上記撮像データを上記動画エンコーダに取得させてもよい。   The information processing apparatus according to aspect 3 of the present invention is the information processing apparatus according to aspect 1, in which the buffer storage unit (still image data buffer 8) that stores the imaging data for one frame and the imaging stored in the buffer storage unit are provided. Buffer control means (buffer control section 33) that updates data every time the camera captures data, and the encoder control means updates the imaging data in the buffer storage section by the buffer control means. Each time, the moving image encoder may acquire the imaging data for one frame from the buffer storage unit.

上記の構成によれば、1フレーム分の撮像データを記憶するバッファ記憶部に記憶されている撮像データを、カメラが撮像する度に更新するとともに、バッファ記憶部から1フレーム分の撮像データを取得させる。これにより、撮像データを一時的に1フレーム分だけ保存するメモリがあればよく、従来、中間段階で行っていた大量の静止画像ファイルの保存が不要となる。よって、必要となるメモリを削減することができる。   According to the above configuration, the imaging data stored in the buffer storage unit that stores the imaging data for one frame is updated each time the camera takes an image, and the imaging data for one frame is acquired from the buffer storage unit. Let As a result, it is sufficient if there is a memory for temporarily storing image data for one frame, and it is not necessary to store a large amount of still image files, which is conventionally performed at an intermediate stage. Therefore, the required memory can be reduced.

本発明の態様4に係る情報処理装置の制御方法は、静止画像を撮像するカメラと、撮像した複数の静止画像から1つの動画ファイルを生成する動画エンコーダとを備える情報処理装置の制御方法であって、上記カメラが撮像する度に、上記カメラから1フレーム分の撮像データを取得し、該撮像データを1または複数フレーム分の動画像データに変換して、該動画像データを動画ファイルに追加する処理を、上記動画エンコーダに実行させる。   A control method for an information processing device according to aspect 4 of the present invention is a control method for an information processing device including a camera that captures a still image and a moving image encoder that generates a single moving image file from the plurality of captured still images. Each time the camera captures an image, it acquires one frame of image data from the camera, converts the image data into one or more frames of moving image data, and adds the moving image data to the moving image file. The moving image encoder is caused to execute the processing to be performed.

上記の方法によれば、上記態様1に記載の構成と同様の効果を奏する。   According to said method, there exists an effect similar to the structure as described in the said aspect 1. FIG.

本発明の各態様に係る情報処理装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記情報処理装置が備える各手段として動作させることにより上記情報処理装置をコンピュータにて実現させる情報処理装置の制御プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。   The information processing apparatus according to each aspect of the present invention may be realized by a computer. In this case, the information processing apparatus is realized by the computer by causing the computer to operate as each unit included in the information processing apparatus. A control program for the information processing apparatus and a computer-readable recording medium on which the control program is recorded also fall within the scope of the present invention.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。さらに、各実施形態にそれぞれ開示された技術的手段を組み合わせることにより、新しい技術的特徴を形成することができる。   The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention. Furthermore, a new technical feature can be formed by combining the technical means disclosed in each embodiment.

本発明は、デジタルカメラ、スマートフォンなどカメラ機能を備える機器、および画像をデジタルデータとして取り込むスキャナ、機能を備える複合機などに利用することができる。   The present invention can be used for a device having a camera function such as a digital camera or a smartphone, a scanner for taking an image as digital data, a multifunction device having a function, and the like.

1 カメラ(撮像手段)
2 操作入力部
3 動画生成制御部
4 動画エンコーダ
5 表示制御部
6 表示部
7 記憶部
8 静止画データバッファ(バッファ記憶部)
10、20 情報処理装置
31 フレーム情報演算部
32 動画エンコーダ制御部(エンコーダ制御手段)
33 バッファ制御部(バッファ制御手段)
71 フレーム情報設定
72 動画ファイル
1 Camera (imaging means)
2 Operation Input Unit 3 Video Generation Control Unit 4 Video Encoder 5 Display Control Unit 6 Display Unit 7 Storage Unit 8 Still Image Data Buffer (Buffer Storage Unit)
10, 20 Information processing device 31 Frame information calculation unit 32 Movie encoder control unit (encoder control means)
33 Buffer control unit (buffer control means)
71 Frame information setting 72 Movie file

Claims (5)

静止画像を撮像するカメラと、撮像した複数の静止画像から1つの動画ファイルを生成する動画エンコーダとを備える情報処理装置であって、
上記カメラが撮像する度に、上記カメラから1フレーム分の撮像データを取得し、該撮像データを1または複数フレーム分の動画像データに変換して、該動画像データを動画ファイルに追加する処理を、上記動画エンコーダに実行させるエンコーダ制御手段を備えることを特徴とする情報処理装置。
An information processing apparatus comprising: a camera that captures a still image; and a moving image encoder that generates one moving image file from a plurality of captured still images,
Processing for acquiring imaging data for one frame from the camera, converting the imaging data into moving image data for one or a plurality of frames, and adding the moving image data to a moving image file each time the camera captures an image An information processing apparatus comprising encoder control means for causing the moving image encoder to execute.
上記エンコーダ制御手段は、上記カメラが生成した上記撮像データをそのまま上記動画エンコーダに取得させることを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the encoder control unit causes the moving image encoder to directly acquire the imaging data generated by the camera. 1フレーム分の上記撮像データを記憶するバッファ記憶部と、
上記バッファ記憶部に記憶されている上記撮像データを、上記カメラが撮像する度に、更新するバッファ制御手段とをさらに備え、
上記エンコーダ制御手段は、上記バッファ制御手段によって上記バッファ記憶部の上記撮像データが更新される度に、上記バッファ記憶部から1フレーム分の上記撮像データを上記動画エンコーダに取得させることを特徴とする請求項1に記載の情報処理装置。
A buffer storage unit for storing the imaging data for one frame;
Buffer control means for updating the imaging data stored in the buffer storage unit every time the camera captures an image;
The encoder control unit causes the moving image encoder to acquire the imaging data for one frame from the buffer storage unit every time the imaging data of the buffer storage unit is updated by the buffer control unit. The information processing apparatus according to claim 1.
静止画像を撮像するカメラと、撮像した複数の静止画像から1つの動画ファイルを生成する動画エンコーダとを備える情報処理装置の制御方法であって、
上記カメラが撮像する度に、上記カメラから1フレーム分の撮像データを取得し、該撮像データを1または複数フレーム分の動画像データに変換して、該動画像データを動画ファイルに追加する処理を、上記動画エンコーダに実行させることを特徴とする情報処理装置の制御方法。
A method for controlling an information processing apparatus, comprising: a camera that captures a still image; and a moving image encoder that generates one moving image file from a plurality of captured still images,
Processing for acquiring imaging data for one frame from the camera, converting the imaging data into moving image data for one or a plurality of frames, and adding the moving image data to a moving image file each time the camera captures an image Is executed by the moving image encoder.
請求項1から3のいずれか1項に記載の情報処理装置としてコンピュータを機能させるための制御プログラムであって、コンピュータを上記各手段として機能させるための制御プログラム。   A control program for causing a computer to function as the information processing apparatus according to claim 1, wherein the control program causes the computer to function as each of the means.
JP2014021640A 2014-02-06 2014-02-06 Information processing unit, control method of the same, and control program Pending JP2015149621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014021640A JP2015149621A (en) 2014-02-06 2014-02-06 Information processing unit, control method of the same, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014021640A JP2015149621A (en) 2014-02-06 2014-02-06 Information processing unit, control method of the same, and control program

Publications (1)

Publication Number Publication Date
JP2015149621A true JP2015149621A (en) 2015-08-20

Family

ID=53892677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014021640A Pending JP2015149621A (en) 2014-02-06 2014-02-06 Information processing unit, control method of the same, and control program

Country Status (1)

Country Link
JP (1) JP2015149621A (en)

Similar Documents

Publication Publication Date Title
JP6238184B2 (en) Imaging device
US10082723B2 (en) Image capturing apparatus for generating a high dynamic range video frame from multiple image frames with different characteristics
US20190098246A1 (en) Electronic Apparatus And Method For Conditionally Providing Image Processing By An External Apparatus
JP2009031979A (en) Image processing device and digital camera
US20180338091A1 (en) Display control apparatus displaying image, control method therefor, and storage medium storing control program therefor
JP4369263B2 (en) Digital camera and image signal generation method
JP6728010B2 (en) Imaging device and method for controlling imaging device
JP2016082398A (en) Imaging apparatus, method for controlling the same, and program
JP2018074523A (en) Imaging device, control method thereof, program, and recording medium
JP2004072229A (en) Digital camera
JP2015149621A (en) Information processing unit, control method of the same, and control program
JP6283989B2 (en) Image scaling processor
JP2005244907A (en) Imaging device and function selecting method thereof
JP2013145983A (en) Imaging system, imaging apparatus, imaging method, and imaging program
JP6739030B2 (en) Imaging device, electronic device, and imaging system
JP2022138535A (en) Image processing device, image processing method, imaging apparatus, program, and recording medium
JP2021034879A (en) Imaging system, imaging apparatus, and program
JP2019110423A (en) Imaging device, control method, and program
JP2008244899A (en) Digital camera, its continuous shooting function setting method, continuous shooting functional setting program
JP2020048167A (en) Imaging device, image recording method, and program
JP2013102385A (en) Imaging apparatus
JP2011044818A (en) Electronic camera
JP2015015622A (en) Imaging apparatus, and control method therefor
JP2018182666A (en) Imaging device and control method thereof
JP2017152910A (en) Image processing system and image processing method