[go: up one dir, main page]

JP2018074360A - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP2018074360A
JP2018074360A JP2016211519A JP2016211519A JP2018074360A JP 2018074360 A JP2018074360 A JP 2018074360A JP 2016211519 A JP2016211519 A JP 2016211519A JP 2016211519 A JP2016211519 A JP 2016211519A JP 2018074360 A JP2018074360 A JP 2018074360A
Authority
JP
Japan
Prior art keywords
marker information
still image
image data
recording
moving image
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
JP2016211519A
Other languages
Japanese (ja)
Inventor
智実 千葉
Tomomi Chiba
智実 千葉
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2016211519A priority Critical patent/JP2018074360A/en
Publication of JP2018074360A publication Critical patent/JP2018074360A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

【課題】 動画から静止画を生成する前に、静止画に対する編集を行う。【解決手段】 動画の記録中にマーカ情報の指示があるとマーカ情報の指示に対応したフレームに関するマーカ情報を生成する。動画の記録停止後に、マーカ情報に基づいて、記録された動画におけるマーカ情報に対応したフレームから静止画を生成して記録する。静止画を生成する前にマーカ情報に対応したフレームの静止画に対する編集指示があった場合に、編集指示による編集の内容に応じてマーカ情報を更新し、更新されたマーカ情報に基づいて、編集指示による編集の内容に対応した処理が施された静止画を生成する。【選択図】 図1PROBLEM TO BE SOLVED: To edit a still image before generating the still image from the moving image. When marker information is instructed during recording of a moving image, marker information relating to a frame corresponding to the marker information is generated. After stopping the recording of the moving image, a still image is generated and recorded from a frame corresponding to the marker information in the recorded moving image based on the marker information. If there is an editing instruction for the still image of the frame corresponding to the marker information before generating the still image, the marker information is updated according to the editing contents by the editing instruction, and the editing is performed based on the updated marker information. A still image that has been subjected to processing corresponding to the contents of editing by an instruction is generated. [Selection] Figure 1

Description

本発明は撮像装置に関する。   The present invention relates to an imaging apparatus.

従来、動画や静止画を撮影し、メモリカードなどに記録する撮像装置が知られている。また、動画の記録中に静止画の撮影指示があった場合に、動画を記録しながら静止画を撮影、記録する装置も登場している。   2. Description of the Related Art Conventionally, an imaging device that captures a moving image or a still image and records it on a memory card or the like is known. In addition, there is an apparatus that captures and records a still image while recording a moving image when an instruction to shoot a still image is given during recording of the moving image.

更に、動画の記録中に指示があると、静止画の記録指示があった時点での経過時間を記録しておき、動画の記録終了後に、この経過時間に対応した画面を動画から取り出し、静止画として記録する構成も提案されている(特許文献1参照)。   Furthermore, if there is an instruction during video recording, the elapsed time at the time of the still image recording instruction is recorded, and after the video recording ends, the screen corresponding to this elapsed time is taken out from the video and A configuration for recording as an image has also been proposed (see Patent Document 1).

特開2012−182730号公報JP 2012-182730 A

しかしながら、特許文献1では、動画から静止画として取り出されるまで、この静止画に対して編集処理を行うことができない。そのため、撮影直後に、静止画に対してレーティングの付加等の操作ができない。   However, in Patent Document 1, editing processing cannot be performed on a still image until the still image is extracted from the moving image. Therefore, an operation such as adding a rating to a still image cannot be performed immediately after shooting.

そこで、本発明は、動画から静止画を生成する前に、静止画に対する編集を行うことができる装置を提供することを目的とする。   Therefore, an object of the present invention is to provide an apparatus capable of editing a still image before generating the still image from the moving image.

撮像手段と、前記撮像手段により得られた動画データを記録媒体に記録する記録手段と、ユーザからの指示を受ける操作手段と、前記動画データの記録中における、前記操作手段からのマーカ情報の指示に応じて、前記記録中の動画データにおける前記マーカ情報の指示に対応したフレームに関するマーカ情報を生成する生成手段と、画像処理手段と、前記動画データの記録の停止後に、前記マーカ情報に基づいて、前記記録媒体に記録された動画データにおける前記マーカ情報に対応したフレームから静止画データを生成するように前記画像処理手段を制御するとともに、前記画像処理手段により生成された前記静止画データを前記記録媒体に記録するように前記記録手段を制御する制御手段とを有し、前記制御手段は、前記画像処理手段により前記静止画データを生成する前に、前記マーカ情報に対応したフレームの静止画に対する編集指示があった場合に、前記編集指示による編集の内容に応じて前記マーカ情報を更新し、前記更新されたマーカ情報に基づいて、前記編集指示による編集の内容に対応した処理が施された前記静止画データを生成するように前記画像処理手段を制御する。   Imaging means, recording means for recording moving image data obtained by the imaging means on a recording medium, operating means for receiving an instruction from a user, and indication of marker information from the operating means during recording of the moving image data And generating means for generating marker information relating to a frame corresponding to the indication of the marker information in the moving image data being recorded, an image processing means, and after stopping the recording of the moving image data, based on the marker information Controlling the image processing means to generate still image data from a frame corresponding to the marker information in the moving image data recorded on the recording medium, and the still image data generated by the image processing means Control means for controlling the recording means to record on a recording medium, the control means comprising the image processing means If there is an editing instruction for a still image of a frame corresponding to the marker information before generating the still image data, the marker information is updated according to the content of editing by the editing instruction, and the updated On the basis of the marker information, the image processing means is controlled to generate the still image data that has been subjected to processing corresponding to the content of editing by the editing instruction.

動画から静止画を生成する前に、静止画に対する編集を行うことが可能となる。   Before a still image is generated from a moving image, it is possible to edit the still image.

撮像装置の構成を示す図である。It is a figure which shows the structure of an imaging device. 記録動作を示すフローチャートである。It is a flowchart which shows recording operation. 再生動作を示すフローチャートである。It is a flowchart which shows reproduction | regeneration operation | movement. 静止画の切り出しの動作を示すフローチャートである。It is a flowchart which shows the operation | movement of cutting out a still image. マーカ情報の例を示す図である。It is a figure which shows the example of marker information. 再生動作を示すフローチャートである。It is a flowchart which shows reproduction | regeneration operation | movement. マーカ情報の例を示す図である。It is a figure which shows the example of marker information.

以下、添付図面を参照して、本発明の実施形態を説明する。なお、本発明の技術的範囲は、特許請求の範囲によって確定されるのであって、以下の個別の実施形態によって限定されるわけではない。また、実施形態の中で説明されている特徴の組み合わせすべてが、本発明に必須とは限らない。   Embodiments of the present invention will be described below with reference to the accompanying drawings. The technical scope of the present invention is determined by the claims, and is not limited by the following individual embodiments. In addition, not all combinations of features described in the embodiments are essential to the present invention.

図1は、本発明の第1の実施形態に係る撮像装置100の構成を示すブロック図である。図1において、撮像部101は被写体を撮影して、動画データ、或いは、静止画データを出力する。画像処理部102は、撮像部101からの動画信号や静止画信号、或いは、再生された動画データや静止画データに対して所定の処理を行う。また、画像処理部102は、マーカ情報に基づいて静止画データを生成する。更に、画像処理部102は、マーカ情報が示す編集処理を静止画に施す。   FIG. 1 is a block diagram illustrating a configuration of an imaging apparatus 100 according to the first embodiment of the present invention. In FIG. 1, an imaging unit 101 captures a subject and outputs moving image data or still image data. The image processing unit 102 performs predetermined processing on the moving image signal and the still image signal from the imaging unit 101 or the reproduced moving image data and still image data. Further, the image processing unit 102 generates still image data based on the marker information. Further, the image processing unit 102 performs an editing process indicated by the marker information on the still image.

メモリ103は、記録時、或いは、再生時に、動画信号や静止画信号を記憶する。表示制御部104は、撮影された動画や静止画、或いは、再生された動画や静止画、その他必要な情報を表示部105に表示する。表示部105は、液晶パネル等を含む表示装置である。   The memory 103 stores a moving image signal and a still image signal during recording or reproduction. The display control unit 104 displays the captured moving image or still image, the reproduced moving image or still image, and other necessary information on the display unit 105. The display unit 105 is a display device including a liquid crystal panel and the like.

符号化処理部106は、動画データや静止画データに対し、公知の符号化処理を施して圧縮する。また、再生された動画や静止画を復号する。制御部107は、操作部108からの指示に応じて撮像装置100の各部を制御する。操作部108は、電源スイッチやモード切り換えのスイッチ等を含み、ユーザからの指示を受ける。操作部108はこの他、動画の記録開始、停止を指示するスイッチ、静止画の記録を指示するスイッチ、動画記録中に静止画のマーカを指示するスイッチ、動画からの静止画の切り出しを指示するスイッチ、編集を指示するスイッチ等を含む。   The encoding processing unit 106 compresses the moving image data and still image data by performing a known encoding process. In addition, the reproduced moving image or still image is decoded. The control unit 107 controls each unit of the imaging apparatus 100 according to an instruction from the operation unit 108. The operation unit 108 includes a power switch, a mode switching switch, and the like, and receives instructions from the user. In addition, the operation unit 108 switches for instructing start and stop of moving image recording, a switch for instructing recording of a still image, a switch for instructing a marker of a still image during recording of the moving image, and instructing to cut out a still image from the moving image Includes switches and switches for instructing editing.

記録再生部109は、動画データや静止画データを記録媒体110に記録し、再生する。記録媒体110は、メモリカード等のランダムアクセスの記録媒体である。出力部111は、再生された動画や静止画を外部に出力する。バス112は各部の間で画像データやその他必要な情報を転送する。   The recording / reproducing unit 109 records and reproduces moving image data and still image data on the recording medium 110. The recording medium 110 is a random access recording medium such as a memory card. The output unit 111 outputs the reproduced moving image or still image to the outside. The bus 112 transfers image data and other necessary information between the units.

次に、撮像装置100の動作について説明する。撮像装置100は、撮影モード、再生モード、切り出しモードを有し、ユーザは操作部108を操作することによりこれらのモードを切り換える。まず、撮影モードについて説明する。   Next, the operation of the imaging apparatus 100 will be described. The imaging apparatus 100 has a shooting mode, a playback mode, and a cutout mode, and the user switches between these modes by operating the operation unit 108. First, the shooting mode will be described.

ユーザが撮影モードを設定すると、制御部107は撮像装置100を撮影待機状態に設定する。撮影待機状態において、撮像部101により得られた動画がライブビュー画像として表示部105に表示される。撮影待機状態において、操作部108から静止画の記録指示があった場合、制御部107は、静止画の記録指示に応じた1画面の静止画データを出力するように撮像部101に指示する。撮像部101から出力された静止画データは、符号化処理部106により静止画の符号化処理が行われ、記録再生部109により静止画ファイルとして記録媒体110に記録される。   When the user sets the shooting mode, the control unit 107 sets the imaging apparatus 100 to a shooting standby state. In the shooting standby state, the moving image obtained by the imaging unit 101 is displayed on the display unit 105 as a live view image. When there is a still image recording instruction from the operation unit 108 in the shooting standby state, the control unit 107 instructs the imaging unit 101 to output still image data of one screen corresponding to the still image recording instruction. The still image data output from the imaging unit 101 is subjected to still image encoding processing by the encoding processing unit 106, and is recorded on the recording medium 110 as a still image file by the recording / reproducing unit 109.

また、撮影待機状態において、操作部108から動画の記録開始の指示があった場合、撮像部101からの動画データが符号化処理部106により符号化され、記録再生部109により記録媒体110に記録される。また、動画の記録停止の指示があった場合、制御部107は、動画の記録を停止させる。   Also, in the shooting standby state, when there is an instruction to start moving image recording from the operation unit 108, the moving image data from the imaging unit 101 is encoded by the encoding processing unit 106 and recorded on the recording medium 110 by the recording / reproducing unit 109. Is done. When there is an instruction to stop recording a moving image, the control unit 107 stops recording the moving image.

本実施形態では、動画の記録中に、ユーザが操作部108を操作し、後で静止画として取り出したいフレームに対してマーカ情報を付加することができる。このような、マーカ情報の付加に関連した、動画の撮影時の処理について説明する。   In the present embodiment, the marker information can be added to a frame that the user wants to extract later as a still image by operating the operation unit 108 while recording a moving image. A process at the time of shooting a moving image related to the addition of the marker information will be described.

図2は、動画の記録時の処理を説明するフローチャートである。図2の処理は、制御部107が各部を制御することにより実現される。前述のように、撮影待機状態において、動画の記録開始の指示があると、図2の処理が開示される。まず、制御部107は、撮像部101により得られた動画データを記録媒体110に記録するように制御する(S201)。   FIG. 2 is a flowchart for explaining processing at the time of recording a moving image. The processing in FIG. 2 is realized by the control unit 107 controlling each unit. As described above, when there is an instruction to start recording a moving image in the shooting standby state, the processing in FIG. 2 is disclosed. First, the control unit 107 controls to record the moving image data obtained by the imaging unit 101 on the recording medium 110 (S201).

次に、制御部107は、操作部108よりマーカの付加の指示があったか否かを判別する(S202)。マーカの付加が指示された場合、制御部107は、記録開始からのフレーム数を示すフレーム番号の情報を取得し(S203)、このフレーム番号を含むマーカ情報を生成する(S204)。マーカ情報は、例えば、図5(a)に示すように、プロテクト状態、回転状態、レーティング、トリミング位置、リサイズ位置のような項目を含む。また、制御部107は、生成したマーカ情報を一旦メモリ103に記憶しておく。そして、動画の記録が停止した後、動画データを含む動画ファイルの付加情報として記録媒体110に記録する。なお、マーカ情報を動画ファイルのヘッダに格納して記録してもよいし、或いは、メモリ103に保持しておいてもよい。   Next, the control unit 107 determines whether or not there has been an instruction to add a marker from the operation unit 108 (S202). When the addition of the marker is instructed, the control unit 107 acquires frame number information indicating the number of frames from the start of recording (S203), and generates marker information including the frame number (S204). The marker information includes items such as a protection state, a rotation state, a rating, a trimming position, and a resize position, as shown in FIG. In addition, the control unit 107 temporarily stores the generated marker information in the memory 103. Then, after the recording of the moving image is stopped, it is recorded on the recording medium 110 as additional information of the moving image file including the moving image data. The marker information may be stored and recorded in the header of the moving image file, or may be held in the memory 103.

また、本実施形態では、マーカの付加の指示がある度に、図5(a)に示す一つのマーカ情報を生成する構成とするが、複数のマーカ付加の指示に応じたマーカ情報を一つにまとめて記録する構成としてもよい。   Further, in the present embodiment, each marker information shown in FIG. 5A is generated every time there is a marker addition instruction. However, one marker information corresponding to a plurality of marker addition instructions is generated. It is good also as a structure recorded collectively.

次に、制御部107は、操作部108より動画の記録停止の指示があったか否かを判別し、記録停止の指示が無い場合にはS202に戻り動画の記録を続ける。また、動画の記録停止の指示があった場合、制御部107は、動画の記録を停止するように制御する(S206)。   Next, the control unit 107 determines whether or not an instruction to stop moving image recording has been given from the operation unit 108. If there is no instruction to stop recording, the control unit 107 returns to S202 and continues recording the moving image. Further, when there is an instruction to stop moving image recording, the control unit 107 controls to stop moving image recording (S206).

次に、再生モードの処理を説明する。本実施形態では、再生モードにおいて、記録媒体110に記録された動画データや静止画データに加え、動画の記録中に生成されたマーカ情報に対応したフレームの静止画の代表画像を表示する。そして、このマーカ情報に対応したフレームの静止画に対して回転やトリミングなどの編集を行うことができるようにしている。   Next, processing in the playback mode will be described. In the present embodiment, in the playback mode, in addition to moving image data and still image data recorded on the recording medium 110, a representative image of a still image of a frame corresponding to marker information generated during recording of a moving image is displayed. Then, editing such as rotation and trimming can be performed on the still image of the frame corresponding to the marker information.

図3は、再生モードにおける、マーカ情報に対応したフレームの表示、及び編集処理を示すフローチャートである。図3の処理は制御部107が各部を制御することにより行われる。   FIG. 3 is a flowchart showing frame display and editing processing corresponding to marker information in the playback mode. The processing in FIG. 3 is performed by the control unit 107 controlling each unit.

まず、制御部107は、記録媒体110に記録された各動画ファイルに対応するマーカ情報を確認する(S301)。マーカ情報を含む動画ファイルがある場合(S302)、このマーカ情報を記録媒体110から読み出し、マーカ情報に含まれているフレーム番号を取得する(S303)。次に、制御部107は、記録再生部109と符号化処理部106を制御し、対応する動画ファイルから、マーカ情報に含まれるフレーム番号のフレームを読み出して復号し、その縮小画像を表示部105に表示する(S304)。このとき、一つの動画ファイルに対して複数のマーカ情報が記録されていた場合には、各マーカ情報によるフレームに対応した静止画を表示部105に表示する。   First, the control unit 107 confirms marker information corresponding to each moving image file recorded on the recording medium 110 (S301). When there is a moving image file including marker information (S302), the marker information is read from the recording medium 110, and the frame number included in the marker information is acquired (S303). Next, the control unit 107 controls the recording / playback unit 109 and the encoding processing unit 106 to read out and decode the frame of the frame number included in the marker information from the corresponding moving image file, and display the reduced image. (S304). At this time, when a plurality of marker information is recorded for one moving image file, a still image corresponding to a frame based on each marker information is displayed on the display unit 105.

そして、制御部107は、記録媒体110に次の動画ファイルがあるか否かを判別し、まだ動画ファイルが残されている場合にはS301に戻る(S305)。全ての動画ファイルについて、マーカ情報の確認とマーカ情報に対応したフレームの処理が終わると、表示された静止画に対し、操作部108より編集の指示があったか否かを判別する(S306)。ここでは、編集処理の内容として、例えば、トリミングや回転、レーティングの付加、プロテクトの付加などの処理を含む。   Then, the control unit 107 determines whether or not there is a next moving image file on the recording medium 110. If there is still a moving image file, the control unit 107 returns to S301 (S305). When the confirmation of the marker information and the processing of the frame corresponding to the marker information are completed for all the moving image files, it is determined whether or not there is an instruction to edit the displayed still image from the operation unit 108 (S306). Here, the contents of the editing process include, for example, processes such as trimming, rotation, rating addition, and protection addition.

編集の指示があった場合、制御部107は、編集指示による編集の内容に応じて、対応するマーカ情報を更新する(S307)。なお、制御部107は、S303でマーカ情報のフレーム番号を取得する際、記録媒体110から読み出したマーカ情報をメモリ103に記憶しておく。そして、このメモリ103に記憶されたマーカ情報を編集内容に応じて更新し、記録媒体110に記録する。   When there is an editing instruction, the control unit 107 updates the corresponding marker information in accordance with the editing content based on the editing instruction (S307). The control unit 107 stores the marker information read from the recording medium 110 in the memory 103 when acquiring the frame number of the marker information in S303. Then, the marker information stored in the memory 103 is updated according to the editing content and recorded in the recording medium 110.

図5(a)に示すマーカ情報に対応するフレームに対してプロテクトを付加する指示があった場合、図5(b)のように、プロテクト状態をありに更新する。また、図5(a)に示すマーカ情報に対応するフレームに対して180度の画像回転の指示があった場合、図5(c)に示すように、回転状態を180度回転に更新する。また、図5(a)に示すマーカ情報に対応するフレームに対してレーティング付加の指示があった場合、図5(d)に示すように、レーティングの値を更新する。   When there is an instruction to add protection to the frame corresponding to the marker information shown in FIG. 5A, the protection state is updated as shown in FIG. 5B. Also, when an image rotation instruction of 180 degrees is given to the frame corresponding to the marker information shown in FIG. 5A, the rotation state is updated to 180 degree rotation as shown in FIG. 5C. When there is an instruction to add a rating to the frame corresponding to the marker information shown in FIG. 5A, the rating value is updated as shown in FIG.

次に、制御部107は、再生モードから他のモードへの変更指示があったか否かを判別し(S308)、他のモードへの変更の指示があった場合は処理を終了する。   Next, the control unit 107 determines whether or not there is an instruction to change from the playback mode to another mode (S308), and if there is an instruction to change to another mode, the process ends.

次に、切り出しモードの処理について説明する。本実施形態では、動画データの記録の停止後に、マーカ情報に基づいて、マーカ情報が付加された動画から、マーカ情報に対応するフレームを自動的に切り出して、静止画として記録する。図4は切り出しモードにおける処理を説明するフローチャートである。図4の処理は制御部107が各部を制御することにより実現される。   Next, the cut-out mode process will be described. In the present embodiment, after the recording of the moving image data is stopped, a frame corresponding to the marker information is automatically cut out from the moving image to which the marker information is added based on the marker information, and recorded as a still image. FIG. 4 is a flowchart for explaining processing in the cut-out mode. The processing in FIG. 4 is realized by the control unit 107 controlling each unit.

ユーザが操作部108を操作して切り出しモードに設定した後、静止画の切り出しを指示した場合に図4の処理が開始する。まず、制御部107は、記録媒体110に記録された動画ファイルのうち、マーカ情報が付加されている動画ファイルを選択し(S401)、そのマーカ情報を読みだしてメモリ103に記憶する。そして、マーカ情報のフレーム番号を取得して(S402)、記録媒体110に記録された動画データのうち、このマーカ情報に対応したフレームを読みだして復号する(S403)。ここで、マーカ情報が示すフレーム番号は、動画データにおいて、動画の記録中に静止画の記録指示があったフレームである。   After the user operates the operation unit 108 to set the cut-out mode and then instructs to cut out a still image, the processing in FIG. 4 starts. First, the control unit 107 selects a moving image file to which marker information is added from among moving image files recorded on the recording medium 110 (S401), reads the marker information, and stores it in the memory 103. Then, the frame number of the marker information is acquired (S402), and the frame corresponding to the marker information is read out from the moving image data recorded on the recording medium 110 and decoded (S403). Here, the frame number indicated by the marker information is a frame in the moving image data for which a still image recording instruction was issued during recording of the moving image.

次に、制御部107は、復号したフレームの静止画データに対し、マーカ情報に記載された編集内容に対応した編集処理を行うように画像処理部103を制御する。そして、編集処理された静止画データを符号化処理部106により符号化し、記録再生部109により記録媒体110に記録する(S404)。   Next, the control unit 107 controls the image processing unit 103 so as to perform editing processing corresponding to the editing content described in the marker information on the still image data of the decoded frame. Then, the edited still image data is encoded by the encoding processing unit 106 and recorded on the recording medium 110 by the recording / reproducing unit 109 (S404).

例えば、プロテクト状態がありになっていれば生成した静止画ファイルにプロテクト属性を付加して記録する。また、回転状態が180度回転になっていれば生成した静止画ファイルのヘッダに回転情報を記録する。また、レーティング情報が3になっていれば生成した静止画ファイルのヘッダのレーティング情報を3にして記録する。   For example, if the protected state is present, the generated still image file is recorded with the protect attribute added. If the rotation state is 180 degrees, the rotation information is recorded in the header of the generated still image file. If the rating information is 3, the rating information in the header of the generated still image file is set to 3 and recorded.

このようにマーカ情報に基づいて静止画の切り出し、及び記録が終了すると、制御部107は、記録媒体110からこのマーカ情報を消去する(S405)。次に、制御部107は、同じ動画ファイルに対して別のマーカ情報が付加されているか否かを判別する(S406)。別のマーカ情報が付加されていた場合、S402に戻り、次のマーカ情報に対して同じ処理を繰り返す。また、別のマーカ情報が付加されていない場合、制御部107は、マーカ情報が付加されている別の動画ファイルが記録媒体110に記録されているか否かを判別し、別の動画ファイルがある場合はS401に戻って処理を繰り返す(S407)。また、全てのマーカ情報に対する処理が終了した場合、切り出し処理を終了する。   As described above, when the clipping and recording of the still image is completed based on the marker information, the control unit 107 deletes the marker information from the recording medium 110 (S405). Next, the control unit 107 determines whether another marker information is added to the same moving image file (S406). If another marker information has been added, the process returns to S402 and the same processing is repeated for the next marker information. If another marker information is not added, the control unit 107 determines whether another moving image file to which the marker information is added is recorded on the recording medium 110, and there is another moving image file. In this case, the process returns to S401 and is repeated (S407). In addition, when the processing for all marker information is completed, the cutout processing is ended.

以上説明したように、本実施形態によれば、マーカ情報が付加された状態で、まだ静止画が生成される前に、その静止画に対して編集することが可能となる。   As described above, according to the present embodiment, the still image can be edited before the still image is generated with the marker information added.

なお、本実施形態では、切り出しモードにおいて、静止画の切り出し、記録が終了した後、マーカ情報を自動的に記録媒体110から消去したが、消去せずに、切り出し済みであることをマーカ情報に追加するようにしてもよい。   In the present embodiment, in the cut-out mode, the marker information is automatically deleted from the recording medium 110 after the still image has been cut out and recorded. However, the marker information indicates that the marker information has been cut out without being deleted. You may make it add.

次に、第2の実施形態を説明する。第2の実施形態においても、撮像装置における基本的な処理は第1の実施形態と同じである。第2の実施形態では、再生モードにおいて、マーカ情報に対応するフレームに対する編集処理の際、編集後の静止画を新規に保存することをユーザが指定できるようにする。   Next, a second embodiment will be described. Also in the second embodiment, the basic processing in the imaging apparatus is the same as that in the first embodiment. In the second embodiment, in the playback mode, the user can specify that a still image after editing is newly saved when editing a frame corresponding to marker information.

図6は、第2の実施形態における、再生モードでのマーカ情報に対応したフレームの表示、及び編集処理を示すフローチャートである。図6の処理は制御部107が各部を制御することにより行われる。   FIG. 6 is a flowchart showing frame display and editing processing corresponding to marker information in the playback mode in the second embodiment. The processing in FIG. 6 is performed by the control unit 107 controlling each unit.

まず、制御部107は、記録媒体110に記録された各動画ファイルに対応するマーカ情報を確認する(S601)。マーカ情報を含む動画ファイルがある場合(S602)、このマーカ情報を記録媒体110から読み出し、マーカ情報に含まれているフレーム番号を取得する(S603)。次に、制御部107は、記録再生部109と符号化処理部106を制御し、対応する動画ファイルから、マーカ情報に含まれるフレーム番号のフレームを読み出して復号し、その縮小画像を表示部105に表示する(S604)。このとき、一つの動画ファイルに対して複数のマーカ情報が記録されていた場合には、各マーカ情報によるフレームに対応した静止画を表示部105に表示する。   First, the control unit 107 confirms marker information corresponding to each moving image file recorded on the recording medium 110 (S601). When there is a moving image file including marker information (S602), the marker information is read from the recording medium 110, and the frame number included in the marker information is acquired (S603). Next, the control unit 107 controls the recording / playback unit 109 and the encoding processing unit 106 to read out and decode the frame of the frame number included in the marker information from the corresponding moving image file, and display the reduced image. (S604). At this time, when a plurality of marker information is recorded for one moving image file, a still image corresponding to a frame based on each marker information is displayed on the display unit 105.

そして、制御部107は、記録媒体110に次の動画ファイルがあるか否かを判別し、まだ動画ファイルが残されている場合にはS301に戻る(S605)。全ての動画ファイルについて、マーカ情報の確認とマーカ情報に対応したフレームの処理が終わると、表示された静止画に対し、操作部108より編集の指示があったか否かを判別する(S606)。ここでは、編集処理の内容として、例えば、トリミングや回転、レーティングの付加、プロテクトの付加などの処理を含む。   Then, the control unit 107 determines whether or not there is a next moving image file on the recording medium 110. If there is still a moving image file, the control unit 107 returns to S301 (S605). When the confirmation of the marker information and the processing of the frame corresponding to the marker information are completed for all the moving image files, it is determined whether or not there is an instruction to edit the displayed still image from the operation unit 108 (S606). Here, the contents of the editing process include, for example, processes such as trimming, rotation, rating addition, and protection addition.

編集処理の後、制御部107は、操作部108より、編集後の静止画を新規保存する指示があったか否かを判別する(S607)。新規保存の指示があった場合、制御部107は、メモリ103に記憶されているマーカ情報をメモリ103内でコピーし、このコピーされたマーカ情報を、指定された編集内容に応じて更新して新たにマーカ情報を生成する。このとき、新たに生成するマーカ情報が示すフレーム番号は、元のマーカ情報のフレーム番号と同じである。そして、新たに生成したマーカ情報を、更新される前の元のマーカ情報とは別に、動画データに付加して記録媒体110に記録する(S608)。   After the editing process, the control unit 107 determines whether or not there is an instruction to newly save the edited still image from the operation unit 108 (S607). When there is an instruction to newly save, the control unit 107 copies the marker information stored in the memory 103 in the memory 103, and updates the copied marker information according to the designated editing content. New marker information is generated. At this time, the frame number indicated by the newly generated marker information is the same as the frame number of the original marker information. Then, the newly generated marker information is added to the moving image data and recorded on the recording medium 110 separately from the original marker information before being updated (S608).

例えば、図7(a)のマーカ情報に対応したフレームに対してトリミング処理をして新規保存の指示があった場合、元のマーカ情報をコピーしてトリミング位置を更新し、新たに図7(c)のマーカ情報を生成して記録する。また、図7(b)に示すように、図7(a)の元のマーカ情報はそのまま保存される。   For example, when a trimming process is performed on a frame corresponding to the marker information in FIG. 7A and a new storage instruction is given, the original marker information is copied to update the trimming position, and a new FIG. c) Marker information is generated and recorded. Further, as shown in FIG. 7B, the original marker information in FIG. 7A is stored as it is.

また、新規保存の指示がない場合、制御部107は、指定された編集内容に応じて、対応するマーカ情報を更新する(S609)。そして、更新されたマーカ情報をメモリ103から読み出して記録媒体110に記録する。次に、制御部107は、再生モードから他のモードへの変更指示があったか否かを判別し(S610)、他のモードへの変更の指示があった場合は処理を終了する。   On the other hand, when there is no instruction for new saving, the control unit 107 updates the corresponding marker information in accordance with the designated editing content (S609). Then, the updated marker information is read from the memory 103 and recorded on the recording medium 110. Next, the control unit 107 determines whether or not there is an instruction to change from the playback mode to another mode (S610), and when there is an instruction to change to another mode, the process ends.

このように、編集後に新規保存の指示があると、編集内容に応じて更新されたマーカ情報が新たに生成され、動画ファイルに付加されて記録される。そして、切り出しモードにおいては、元のマーカ情報に基づく静止画に加え、新規保存の指示により記録されたマーカ情報に基づく静止画が、動画データから切り出されて生成される。   As described above, when there is an instruction to newly save after editing, marker information updated according to the editing content is newly generated, added to the moving image file, and recorded. In the cutout mode, in addition to the still image based on the original marker information, a still image based on the marker information recorded by the new storage instruction is cut out and generated from the moving image data.

このように、第2の実施形態によれば、マーカが付加された状態でまだ画像の切り出しがされていない状態でも、その画像に対して編集して新規保存することが可能となる。   As described above, according to the second embodiment, even when a marker is added and an image is not yet cut out, the image can be edited and newly saved.

Claims (5)

撮像手段と、
前記撮像手段により得られた動画データを記録媒体に記録する記録手段と、
ユーザからの指示を受ける操作手段と、
前記動画データの記録中における、前記操作手段からのマーカの付加の指示に応じて、前記記録中の動画データにおける前記付加の指示に対応したフレームに関するマーカ情報を生成する生成手段と、
画像処理手段と、
前記動画データの記録の停止後に、前記マーカ情報に基づいて、前記記録媒体に記録された動画データにおける、前記マーカ情報に対応したフレームから静止画データを生成するように前記画像処理手段を制御するとともに、前記画像処理手段により生成された前記静止画データを前記記録媒体に記録するように前記記録手段を制御する制御手段とを有し、
前記制御手段は、前記画像処理手段により前記静止画データを生成する前に、前記マーカ情報に対応したフレームの静止画に対する編集指示があった場合に、前記編集指示による編集の内容に応じて前記マーカ情報を更新し、前記更新されたマーカ情報に基づいて、前記編集指示による編集の内容に対応した処理が施された前記静止画データを生成するように前記画像処理手段を制御することを特徴とする撮像装置。
Imaging means;
Recording means for recording the moving image data obtained by the imaging means on a recording medium;
An operation means for receiving an instruction from the user;
Generating means for generating marker information relating to a frame corresponding to the addition instruction in the moving image data being recorded in response to an instruction to add a marker from the operation means during recording of the moving image data;
Image processing means;
After stopping the recording of the moving image data, the image processing means is controlled to generate still image data from a frame corresponding to the marker information in the moving image data recorded on the recording medium based on the marker information. And control means for controlling the recording means so as to record the still image data generated by the image processing means on the recording medium,
The control means, when generating an edit instruction for a still image of a frame corresponding to the marker information before generating the still image data by the image processing means, according to the content of editing by the edit instruction Updating the marker information, and controlling the image processing means so as to generate the still image data subjected to the processing corresponding to the content of the editing by the editing instruction based on the updated marker information. An imaging device.
前記制御手段は、前記マーカ情報に基づいて生成された前記静止画データを前記記録媒体に記録するように前記記録手段を制御することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the control unit controls the recording unit to record the still image data generated based on the marker information on the recording medium. 前記記録手段は、前記生成手段により生成された前記マーカ情報を前記動画データに付加して前記記録媒体に記録し、
前記制御手段は、前記マーカ情報に対応したフレームの静止画に対する編集指示があった場合に、前記記録媒体に記録された前記マーカ情報を更新することを特徴とする請求項2に記載の撮像装置。
The recording means adds the marker information generated by the generating means to the moving image data and records it on the recording medium,
The imaging apparatus according to claim 2, wherein the control unit updates the marker information recorded on the recording medium when there is an editing instruction for a still image of a frame corresponding to the marker information. .
前記制御手段は、前記動画データの記録の停止後における、前記操作手段からの、静止画の切り出しの指示に応じて、前記マーカ情報に対応した静止画データを生成するように前記画像処理手段を制御することを特徴とする請求項1に記載の撮像装置。   The control means controls the image processing means to generate still image data corresponding to the marker information in response to an instruction to cut out a still image from the operation means after the recording of the moving image data is stopped. The imaging apparatus according to claim 1, wherein the imaging apparatus is controlled. 前記記録手段は、前記生成手段により生成された前記マーカ情報を前記動画データに付加して前記記録媒体に記録し、
前記制御手段は、前記マーカ情報に対応したフレームの静止画に対する編集後の静止画の新規保存が指示された場合、前記編集指示による編集の内容に応じて前記マーカ情報を更新することにより新たにマーカ情報を生成し、前記新たに生成したマーカ情報を、更新される前のマーカ情報とは別に前記記録媒体に記録することを特徴とする請求項1に記載の撮像装置。
The recording means adds the marker information generated by the generating means to the moving image data and records it on the recording medium,
When the control unit is instructed to newly save a still image after editing with respect to a still image of a frame corresponding to the marker information, the control unit newly updates the marker information according to the content of editing by the editing instruction. The imaging apparatus according to claim 1, wherein marker information is generated, and the newly generated marker information is recorded on the recording medium separately from the marker information before being updated.
JP2016211519A 2016-10-28 2016-10-28 Imaging device Pending JP2018074360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016211519A JP2018074360A (en) 2016-10-28 2016-10-28 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016211519A JP2018074360A (en) 2016-10-28 2016-10-28 Imaging device

Publications (1)

Publication Number Publication Date
JP2018074360A true JP2018074360A (en) 2018-05-10

Family

ID=62115838

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016211519A Pending JP2018074360A (en) 2016-10-28 2016-10-28 Imaging device

Country Status (1)

Country Link
JP (1) JP2018074360A (en)

Similar Documents

Publication Publication Date Title
JP2005197913A (en) Image processing apparatus and image processing method
JP5498064B2 (en) Imaging apparatus and control method thereof
JP2009118215A (en) Imaging device
US9786317B2 (en) Recording apparatus and method of controlling recording apparatus
JP4330968B2 (en) REPRODUCTION DEVICE, RECORDING DEVICE, REPRODUCTION PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE REPRODUCTION PROGRAM
JP2016167788A (en) Video recording device
JP6161402B2 (en) Editing apparatus, control method therefor, program, and storage medium
JP5814739B2 (en) Recording device
JP2006101076A (en) Movie editing method, movie editing apparatus and program
JP6220160B2 (en) Reproducing apparatus and control method thereof
JP2018074360A (en) Imaging device
US9263090B2 (en) Image processing apparatus, image processing method, and program
JP2005012256A (en) Data processing device
KR100652763B1 (en) Method and device for editing a video file of a mobile terminal
JP5414844B2 (en) Imaging device
JP2006092681A (en) Image management method, image management apparatus, and image management system
JP6112852B2 (en) Recording apparatus, recording method, and program
JP5511739B2 (en) Recording apparatus and recording method
JP5451203B2 (en) Image recording apparatus and image recording method
JP3917329B2 (en) Movie editing device
JP2004159082A (en) Program and apparatus for editing image
JPH07154740A (en) Recording medium, recording method, recording device, and editing method
JP4418737B2 (en) Recording device
JP4654161B2 (en) Recording apparatus and recording method
JP4697273B2 (en) Recording apparatus, recording method, reproducing apparatus, reproducing method, and recording medium