JP2014086814A - Image recorder - Google Patents
Image recorder Download PDFInfo
- Publication number
- JP2014086814A JP2014086814A JP2012233137A JP2012233137A JP2014086814A JP 2014086814 A JP2014086814 A JP 2014086814A JP 2012233137 A JP2012233137 A JP 2012233137A JP 2012233137 A JP2012233137 A JP 2012233137A JP 2014086814 A JP2014086814 A JP 2014086814A
- Authority
- JP
- Japan
- Prior art keywords
- image
- file
- recording
- data
- size
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Abstract
Description
本発明は、画像記録装置に関する。 The present invention relates to an image recording apparatus.
数年前までは、Hi8、DVC及びVHS−Cなどの磁気テープに映像信号を記録するビデオカメラが主流であり、多数普及した。しかし、現在では、半導体メモリや磁気ディスク等に画像を記録するビデオカメラが主流となり、磁気テープ式のビデオカメラは店頭から完全に又はほぼ消滅した。このため、記録時に利用したビデオカメラが壊れると、その代替となる機器の新規購入が困難であるが故に、磁気テープに記録された映像は、再生が極めて困難となる。 Until several years ago, video cameras that recorded video signals on magnetic tapes such as Hi8, DVC, and VHS-C were the mainstream, and many were popular. At present, however, video cameras that record images on a semiconductor memory or a magnetic disk have become mainstream, and magnetic tape video cameras have completely or almost disappeared from the store. For this reason, if the video camera used at the time of recording is broken, it is difficult to newly purchase a replacement device, and thus it is very difficult to reproduce the video recorded on the magnetic tape.
そこで、磁気テープに記録した映像のデジタルファイル化のための製品も開発及び発売されている(例えば下記非特許文献1参照)。この種の製品では、アナログ映像信号を本体内にてデジタル化してからパーソナルコンピュータに入力し、パーソナルコンピュータにてデジタルファイル化を行うようにしている。
Therefore, a product for converting the video recorded on the magnetic tape into a digital file has been developed and put on the market (for example, see Non-Patent
上記のような製品を利用するユーザは、通常、磁気テープ(例えば60分や120分の磁気テープ)の1本分、磁気テープ式のビデオカメラに映像信号を連続再生させて該映像信号を上記製品に入力する。これにより、基本的には、磁気テープの1本に対して1つの画像ファイル(動画像ファイル)が作成されるが、画像ファイルのファイルサイズが所定の上限サイズに達した場合には、その時点でファイル分割(記録される画像ファイルの分割)が行われる。例えば、FAT32のファイルシステムでは上限サイズは4GBである。従って例えば、磁気テープ1本から6GBに相当する画像データが生成された場合には、最初の4GB分の画像データを格納した第1画像ファイルと、残りの2GB分の画像データを格納した第2画像ファイルが作成され、記録されることになる。ファイル分割は、映像信号の内容に関係なく実行されるため、図8に示す如く、4GBの境界をまたぐ共通シーンの画像データ(例えば運動会の様子の撮影画像データ)が別々の画像ファイルに分かれて記録されることになる。 A user who uses a product such as the above usually reproduces the video signal by continuously reproducing the video signal on a magnetic tape type video camera for one magnetic tape (for example, a magnetic tape of 60 minutes or 120 minutes). Enter in the product. As a result, one image file (moving image file) is basically created for one magnetic tape, but when the file size of the image file reaches a predetermined upper limit size, Then, file division (division of recorded image file) is performed. For example, in the FAT32 file system, the upper limit size is 4 GB. Therefore, for example, when image data corresponding to 6 GB is generated from one magnetic tape, the first image file storing the first 4 GB of image data and the second 2 GB storing the remaining 2 GB of image data. An image file will be created and recorded. Since the file division is executed regardless of the content of the video signal, as shown in FIG. 8, the image data of the common scene (for example, the captured image data of the athletic meet) across the 4 GB boundary is divided into separate image files. Will be recorded.
尚、特許文献1には、視聴者の視聴可能時間が限られている場合に、複数のコンテンツの中から当該時間内に収まるコンテンツを選択し再生する方法が開示されており、その方法の中で、シーンチェンジを利用してコンテンツ分割を行うことが示されている(特に[0006]、[0031]参照)。
Note that
共通シーンの画像データが第1及び第2画像ファイルに分かれて記録(保存)されると、再生時等においてユーザが不便を感じる。例えば、当該共通シーンを鑑賞しようとしたとき、一般的には、第1画像ファイルの再生の後、第2画像ファイルを別途再生する必要があり、手間がかかる。特に、第1及び第2画像ファイルが2つのメディア(例えば、4.7GBの記録容量を持つDVD)に分けて保存された場合などにおいては、再生機器に対してメディアの入れ替えが必要になる。また、ユーザのファイル管理面においても、共通シーンが別々の画像ファイルに分けて記録されている状態は好ましくない。 When the image data of the common scene is divided and recorded (saved) into the first and second image files, the user feels inconvenience during reproduction. For example, when viewing the common scene, it is generally necessary to separately reproduce the second image file after the reproduction of the first image file, which is troublesome. In particular, when the first and second image files are stored separately on two media (for example, a DVD having a recording capacity of 4.7 GB), it is necessary to replace the media with the playback device. Also, in terms of user file management, it is not preferable that the common scene is recorded separately in separate image files.
そこで本発明は、再生時等における利便性の向上に寄与する画像記録装置を提供することを目的とする。 Accordingly, an object of the present invention is to provide an image recording apparatus that contributes to improvement in convenience during reproduction and the like.
本発明に係る画像記録装置は、動画像の画像データを取得するデータ取得部と、記録媒体に画像ファイルを作成して前記画像ファイルに前記画像データを記録する記録制御部と、を備え、前記記録制御部は、前記画像データの第1画像ファイルへの記録開始後、前記第1画像ファイルのファイルサイズが所定の基準サイズに達したとき、前記動画像の時系列上における特異点の有無を監視し、前記特異点が検出されたとき、前記画像データの前記第1画像ファイルへの記録を終了して、以後、前記画像データを前記第1画像ファイルと異なる第2画像ファイルに記録することを特徴とする。 An image recording apparatus according to the present invention includes a data acquisition unit that acquires image data of a moving image, and a recording control unit that creates an image file on a recording medium and records the image data in the image file, The recording control unit determines whether or not there is a singular point on the time series of the moving image when the file size of the first image file reaches a predetermined reference size after the recording of the image data to the first image file is started. Monitoring, when the singular point is detected, ending recording of the image data in the first image file, and thereafter recording the image data in a second image file different from the first image file. It is characterized by.
これにより、特異点(例えばシーンチェンジ点)を境界にファイル分割が行われるようになり、再生時等における利便性向上が期待される。 As a result, file division is performed with a singular point (for example, a scene change point) as a boundary, and an improvement in convenience during reproduction or the like is expected.
具体的には例えば、前記記録制御部は、前記記録媒体において定められた画像ファイルの上限サイズに基づき、前記基準サイズを設定すると良い。 Specifically, for example, the recording control unit may set the reference size based on the upper limit size of the image file defined on the recording medium.
そして例えば、前記記録制御部は、前記動画像の画像データに基づき前記特異点の有無を検出し、前記第1画像ファイルのファイルサイズが前記基準サイズから前記上限サイズに近づくにつれ、前記特異点が有ると検出するための判断基準を緩めても良い。 For example, the recording control unit detects the presence or absence of the singular point based on the image data of the moving image, and the singular point is detected as the file size of the first image file approaches the upper limit size from the reference size. You may loosen the judgment criteria for detecting that it exists.
これにより、過度のファイル分割を抑制しつつ特異点を境界にしたファイル分割が促進される。 This promotes file division with a singularity as a boundary while suppressing excessive file division.
より具体的には例えば、 前記記録制御部は、前記動画像の特徴量のフレーム間における変化量を所定の判定閾値と比較することで前記特異点の有無を検出し、前記第1画像ファイルのファイルサイズが前記基準サイズから前記上限サイズに近づくにつれて前記判定閾値を変化させることで前記判断基準を緩めると良い。 More specifically, for example, the recording control unit detects the presence or absence of the singular point by comparing the amount of change of the feature amount of the moving image between frames with a predetermined determination threshold, and The determination criterion may be relaxed by changing the determination threshold as the file size approaches the upper limit size from the reference size.
また例えば、前記特異点はシーンチェンジ点を含む。 For example, the singular point includes a scene change point.
本発明によれば、再生時等における利便性の向上に寄与する画像記録装置を提供することが可能である。 According to the present invention, it is possible to provide an image recording apparatus that contributes to improvement in convenience during reproduction or the like.
以下、本発明の実施形態の例を、図面を参照して具体的に説明する。参照される各図において、同一の部分には同一の符号を付し、同一の部分に関する重複する説明を原則として省略する。尚、本明細書では、記述の簡略化上、情報、信号、物理量、状態量又は部材等を参照する記号又は符号を記すことによって該記号又は符号に対応する情報、信号、物理量、状態量又は部材等の名称を省略又は略記することがある。 Hereinafter, an example of an embodiment of the present invention will be specifically described with reference to the drawings. In each of the drawings to be referred to, the same part is denoted by the same reference numeral, and redundant description regarding the same part is omitted in principle. In this specification, for simplification of description, a symbol or reference that refers to information, signal, physical quantity, state quantity, member, or the like is written to indicate information, signal, physical quantity, state quantity or Names of members and the like may be omitted or abbreviated.
図1は、本発明の実施形態に係る電子機器1の概略全体ブロック図である。電子機器1は、符号11〜19によって参照される各部位を備える。
FIG. 1 is a schematic overall block diagram of an
入力端子11は、アナログ信号供給源(不図示)からアナログ映像信号及びアナログ音響信号の入力を受ける。入力端子11への入力アナログ映像信号は、任意の規格(例えば、National Television System Committeeの規格)に従ったアナログの映像信号であり、入力端子11への入力アナログ音響信号は、入力端子11への入力アナログ映像信号に同期したアナログの音響信号である。アナログ信号供給源は、例えば、アナログ映像信号及びアナログ音響信号を記録及び再生可能なビデオカメラ、又は、アナログ映像信号及びアナログ音響信号を再生可能な再生機器であり、磁気テープ等に記録されたアナログ映像信号及びアナログ音響信号を再生することでそれらを入力端子11に供給する。 The input terminal 11 receives an analog video signal and an analog audio signal from an analog signal supply source (not shown). The input analog video signal to the input terminal 11 is an analog video signal according to an arbitrary standard (for example, the standard of the National Television System Committee), and the input analog audio signal to the input terminal 11 is to the input terminal 11. It is an analog audio signal synchronized with the input analog video signal. The analog signal supply source is, for example, a video camera capable of recording and playing back analog video signals and analog audio signals, or a playback device capable of playing back analog video signals and analog audio signals. The video signal and the analog audio signal are reproduced and supplied to the input terminal 11.
アナログ信号処理部12は、入力端子11への入力アナログ映像信号及び入力アナログ音響信号をデジタル化するアナログ/デジタル変換処理を実行し、これによって任意の規格に従ったデジタルの映像信号(RGB形式又はYUV形式の映像信号)及び音響信号を生成する。アナログ信号処理部12にて生成されるデジタルの映像信号をデジタル画像データ又は単に画像データと呼び、アナログ信号処理部12にて生成されるデジタルの音響信号をデジタル音響データ又は単に音響データと呼ぶ。アナログ信号処理部12は、入力アナログ映像信号及び音響信号からデジタル画像データ及び音響データを生成する過程において、アナログ/デジタル変換処理以外の所定の信号処理(例えば、ノイズ低減処理、エッジ強調処理)を行うようにしても良い。尚、或る動画像に関し、アナログ映像信号もデジタル画像データも、動画像の画像信号の一種である。
The analog
主制御部13は、電子機器1内の各部位の動作を統括的に制御する。主制御部13を集積回路にて形成することができる。主制御部13は、様々なプログラムを実行可能なCPU(Central Processing Unit)31と、MPEG(Moving Picture Experts Group)等の任意のデータ圧縮規格に従ってデジタル画像データ及び音響データの圧縮を行う圧縮処理部32と、を有する。
The
メモリ部14は、例えば半導体メモリから成り、CPU31で実行される各種プログラムを記憶するプログラムメモリ及び主制御部13で生成及び利用される任意のデータの一時的記憶を行うデータメモリを有する。表示部15は、液晶ディスプレイパネル等の表示画面を有する表示装置であり、主制御部13の制御の下、任意の画像を表示する。記録媒体16は、半導体メモリ、光ディスク、磁気ディスク又は光磁気ディスク等の不揮発性メモリであり、主制御部13の制御の下、画像データを含む任意のデータを記録する。操作部17は、ユーザからの各種操作の入力を受け付ける。操作部17に入力された操作内容は主制御部13に伝達される。表示部15にタッチパネルが設けられる場合、該タッチパネルは操作部17に含まれる。スピーカ部18は、任意の音響データ(例えば、記録媒体16に記録された音響データ)を音として再生出力する。また、主制御部13は、自身が取り扱う任意の画像データ及び音響データを、出力端子19を介して電子機器1の外部機器(例えばテレビ受信機)に出力することができる。
The
図2は、画像データ及び音響データの記録に関わる部位のブロック図である。ファイル作成部33及びシーンチェンジ検出部34を主制御部13に設けておくことができ、作成部33及び検出部34の機能の全部又は一部は、CPU31にて実現されうる。主制御部13に内包され且つ記録媒体16に接続された記録制御部50は、処理部32、作成部33及び検出部34を含んでいると考えることができる。アナログ信号処理部12から供給される一連のデジタル画像データから成る任意の1つの動画像を動画像MVと呼ぶ(但し、動画像MVは一連の入力アナログ映像信号から形成される任意の1つの動画像でもある)。動画像MVは、所定のフレーム周期で時系列上に並ぶ複数のフレーム画像(以下、単にフレームとも言う)から成る。動画像MVにはデジタル音響データ(又はアナログ音響信号)が付随しているため、デジタル音響データ(又はアナログ音響信号)も動画像MVの構成要素であると考える。図3に示す如く、動画像MVの画像データが存在する時間軸上の区間の全体を全区間と呼ぶ。全区間の開始及び終了タイミング間の時間長さが動画像MVの長さに相当する。
FIG. 2 is a block diagram of a part related to recording of image data and sound data. The
圧縮処理部32は、動画像MVのデジタル画像データ及びデジタル音響データの圧縮を行って動画像MVの圧縮画像データ及び圧縮音響データを生成する。
The
ファイル作成部33は、記録媒体16内に画像ファイルFLを作成し、画像ファイルFL内に動画像MVの圧縮画像データ及び圧縮音響データを書き込む(換言すれば、格納、保存、記録)ことで動画像MVの圧縮画像データ及び圧縮音響データを記録媒体16に記録する。図4に1つの画像ファイルFLの構造を示す。画像ファイルFLは、互いに関連付けられた本体領域とヘッダ領域から形成され、本体領域内に動画像MVの圧縮画像データ及び圧縮音響データが格納される。ヘッダ領域には、動画像MVに付随する付加情報(画像ファイルFLのファイル名、サムネイル画像等)が書き込まれる。
The
シーンチェンジ検出部34は、動画像MVの画像データに基づき動画像MVの時系列上の特異点であるシーンチェンジ点を検出する。この検出を行う処理をSC検出処理と呼ぶ。動画像MVは、1以上のシーン(撮影風景)を撮影することで得られるが、シーンチェンジ点とは、動画像MVの中でシーン(撮影風景)が変化している時系列上の点(或るシーンから他のシーンへの切り替わり時点)を指す。時系列上の点をタイミングと考えても良い。尚、動画像MVの開始タイミングはシーンチェンジ点ではない。
The scene
本実施形態では特に、動画像MVの画像データの元となる入力アナログ映像信号及び音響信号が、磁気テープに記録された120分の長さを有するアナログ映像信号及び音響信号であって、且つ、入力アナログ映像信号は、図示されないアナログビデオカメラによる撮影にて生成されて上記磁気テープに記録されていることを想定する。そうすると、120分の長さを有する動画像MVの中には1以上のシーンチェンジ点が内包されることが多い。 In the present embodiment, in particular, the input analog video signal and the audio signal that are the source of the image data of the moving image MV are the analog video signal and the audio signal having a length of 120 minutes recorded on the magnetic tape, and It is assumed that the input analog video signal is generated by photographing with an analog video camera (not shown) and recorded on the magnetic tape. Then, one or more scene change points are often included in the moving image MV having a length of 120 minutes.
図5に、デジタルの動画像MVと、デジタルの動画像MVの元となる120分ぶんの入力アナログ映像信号310との関係を示す。入力アナログ映像信号310は、第1〜第n期間において第1〜第nシーンを上記アナログビデオカメラで撮影することで得られた第1〜第nアナログ映像信号を時系列上に並べて結合したものに相当する(nは2以上の整数)。第(i+1)期間は第i期間よりも後の期間であり、第i期間において第iシーンが撮影されて第iアナログ映像信号が得られる(iは任意の整数)。第1〜第nシーンは互いに異なるシーン(撮影風景)である。従って、第i及び第(i+1)期間の境界タイミングにおいて撮影のシーン(撮影風景)が変化しており、シーンチェンジ検出部34は、動画像MVの画像データを解析し、動画像MV上において上記境界タイミングを検出することで、シーンチェンジ点を検出する。
FIG. 5 shows the relationship between the digital moving image MV and the 120-minute input analog video signal 310 that is the source of the digital moving image MV. The input analog video signal 310 is obtained by arranging the first to nth analog video signals obtained by photographing the first to nth scenes with the analog video camera in the first to nth periods in time series. (N is an integer of 2 or more). The (i + 1) period is a period after the i period, and the i scene is captured in the i period to obtain the i th analog video signal (i is an arbitrary integer). The first to nth scenes are different scenes (landscapes). Accordingly, the shooting scene (shooting scenery) changes at the boundary timing between the i-th and (i + 1) -th periods, and the scene
動画像MVの時系列上において、第(i−1)シーンから第iシーンへの切り替わり直後のタイミングを記号t[i]にて表し、第iシーンの画像データが存在する区間を記号A[i]にて表す。従って、変数iが2以上且つ(n−1)以下の整数であるとした場合、区間A[i]は、タイミングt[i]からタイミングt[i+1]の直前までの区間である。区間A[1]は、動画像MVの開始タイミングからタイミングt[2]の直前までの区間であり、区間A[n]は、タイミングt[n]から動画像MVの終了タイミングまでの区間である。区間A[1]〜A[n]によって動画像MVの全区間が形成される。シーンチェンジ検出部34は、動画像MVに対するSC検出処理により動画像MVの時系列上における各シーンチェンジ点を検出し、これによって各シーンチェンジ点のタイミング(即ちt[2]〜t[n])を検出する。
On the time series of the moving image MV, the timing immediately after switching from the (i-1) th scene to the i-th scene is represented by the symbol t [i], and the section where the image data of the i-th scene exists is represented by the symbol A [ i]. Accordingly, when the variable i is an integer greater than or equal to 2 and less than or equal to (n−1), the section A [i] is the section from the timing t [i] to immediately before the timing t [i + 1]. The section A [1] is a section from the start timing of the moving image MV to immediately before the timing t [2], and the section A [n] is a section from the timing t [n] to the end timing of the moving image MV. is there. All sections of the moving image MV are formed by the sections A [1] to A [n]. The scene
動画像の画像データに基づきシーンチェンジ点を検出する方法として様々な方法が公知となっており、シーンチェンジ検出部34は、それらの公知の方法(例えば、特開2003−283838号公報、特開2010−148053号公報に記載された方法)を用いてシーンチェンジ点を検出することができる。例えば、SC検出処理において、検出部34は、動画像MVの特徴量のフレーム間における変化量VFTを所定の判定閾値THと比較することでシーンチェンジ点(シーンチェンジ点の有無)を検出する。この際、検出部34は、変化量VFTが判定閾値TH以上であればシーンチェンジ点が有ると判断し、変化量VFTが判定閾値TH未満であればシーンチェンジ点が無いと判断することができる。換言すれば、検出部34は、動画像MVの時系列上の各タイミングを注目タイミングとして捉え、注目タイミングにおいて判定閾値TH以上の変化量VFTが観測された場合、注目タイミングはシーンチェンジ点であると判断し、注目タイミングにおける変化量VFTが判定閾値TH未満の場合には、注目タイミングはシーンチェンジ点でないと判断する。
Various methods are known as a method for detecting a scene change point based on image data of a moving image, and the scene
或るフレームの特徴量は、当該フレームと直前フレームとの間の画像の変化、当該フレームの空間周波数成分(換言すればエッジ情報)、色情報若しくは輝度情報に依存する、又は、それらの組み合わせに依存する。例えば、動画像MVの圧縮画像データである符号化データのデータ量(ビットレートを単位とするデータ量)を特徴量として用いても良い。圧縮処理部32では、動画像MVの各フレームを複数のブロックに分割し、ブロックごとに画像データの圧縮を行うことでブロック毎に符号化データを生成する。注目フレームに関する注目ブロックの符号化データのデータ量は、注目フレームと注目フレームの直前フレームとの間における注目ブロック内の画像の変化や、注目フレームにおける注目ブロック内の空間周波数成分に依存する。検出部34は、動画像MVの各タイミングにおいて、符号化データのデータ量のフレーム間変化量が判定閾値TH以上になっているブロックの個数を計数し、計数された個数が所定値以上になっているタイミングをシーンチェンジ点として検出することができる(このような検出を行う場合、検出部34は圧縮処理部32と連動して動作する)。
The feature amount of a certain frame depends on the change of the image between the frame and the immediately preceding frame, the spatial frequency component of the frame (in other words, edge information), color information or luminance information, or a combination thereof. Dependent. For example, the amount of encoded data that is compressed image data of the moving image MV (the amount of data in units of bit rate) may be used as the feature amount. The
ところで、記録媒体16に記録可能な画像ファイルFLのファイルサイズには上限がある。その上限値である所定の上限サイズLIMは、電子機器1及び記録媒体16で採用されるファイルシステムに依存する。電子機器1及び記録媒体16において採用されるファイルシステムは任意であり、従って上限サイズLIMも採用ファイルシステムに応じて変化するが、ここでは、電子機器1及び記録媒体16においてFAT(File Allocation Table)32のファイルシステムが採用されていて、上限サイズLIMが4.0GB(ギガバイト)であるとする。
Incidentally, the file size of the image file FL that can be recorded on the
図6は、電子機器1における記録動作のフローチャートである。図6を参照して、記録動作の流れを説明する。図6の説明において、画像データ及び音響データは動画像MVの画像データ及び音響データを指す。尚、i及びjが互いに異なる任意の整数である場合、第i画像ファイルと第j画像ファイルは互いに異なる画像ファイルである。
FIG. 6 is a flowchart of the recording operation in the
まず、ステップS11において、入力アナログ映像信号310及び入力アナログ音響信号の入力端子11への供給が開始され、入力アナログ映像信号310及び入力アナログ音響信号に基づく画像データ及び音響データの生成が開始される。この際、ステップS12にて変数jに初期値1が代入される。この後、ファイル作成部33は、ステップS13において第j画像ファイルを記録媒体16内に作成し、続くステップS14において第j画像ファイルへの圧縮画像データ及び圧縮音響データの記録(保存)を開始する。
First, in step S11, supply of the input analog video signal 310 and the input analog audio signal to the input terminal 11 is started, and generation of image data and audio data based on the input analog video signal 310 and the input analog audio signal is started. . At this time, the
続いて、ファイル作成部33は、ステップS15及びS16において、操作部17に対し所定の記録終了操作が入力されたか否かを確認しつつ、第j画像ファイルのファイルサイズSZ[j]を監視し、ファイルサイズSZ[j]が所定の基準サイズREFに達した時点でステップS16からステップS21への遷移を発生させる。ファイルサイズSZ[j]が基準サイズREFに達する前に操作部17に対して記録終了操作が入力された場合には、第j画像ファイルのクローズ処理を行って図6の記録動作を終了する。第j画像ファイルのクローズ処理によって、圧縮画像データ及び圧縮音響データの第j画像ファイルへの記録が終了し、ファイル作成部33による第j画像ファイルに対するアクセスが終了する。
Subsequently, the
記録制御部50は、画像ファイルの上限サイズLIMに基づき、上限サイズLIMより小さなファイルサイズ(例えば3.6GB)を基準サイズREFに設定する。例えば、記録制御部50は、上限サイズLIMより所定量だけ小さなサイズを基準サイズREFに設定する、或いは、上限サイズLIMのk倍を基準サイズREFに設定する(kは、0<k<1を満たす任意の係数)。
The
ステップS21において、ファイル作成部33は、シーンチェンジ検出部34のSC検出処理の結果を用いて、シーンチェンジ点の有無を監視する処理であるSC有無監視を開始する。SC有無監視の開始後、ステップS22及びS23において、ファイル作成部33は、SC検出処理によってシーンチェンジ点が検出されたか否かを確認する一方で、ファイルサイズSZ[j]が上限サイズLIMに達したか否かを確認する。SC有無監視の開始後、シーンチェンジ点が検出された場合、又は、ファイルサイズSZ[j]が上限サイズLIMに達した場合には、ステップS22又はS23からステップS26への移行が発生し、ステップS26及びS27の処理を経てステップS13に戻る。
In step S21, the
ステップS26において、ファイル作成部33は、第j画像ファイルのクローズ処理を行うことによって圧縮画像データ及び圧縮音響データの第j画像ファイルへの記録を終了する。続くステップS27では、変数jに1が加算され、その後ステップS13に戻る。
In step S26, the
ステップS22及びS23において、シーンチェンジ点が検出されず且つファイルサイズSZ[j]が上限サイズLIMに達していない場合には、ステップS24の判定閾値調整処理を介して、ステップS25に移行する。ステップS25において、ファイル作成部33は、操作部17に対し所定の記録終了操作が入力されたか否かを確認し、操作部17への記録終了操作の入力が確認された場合には第j画像ファイルのクローズ処理を行って図6の記録動作を終了する。当該入力が確認されない場合にはステップS25からステップS22への移行が発生し、上述のステップS22及びそれ以降の処理を繰り返す。
In step S22 and S23, when the scene change point is not detected and the file size SZ [j] has not reached the upper limit size LIM, the process proceeds to step S25 via the determination threshold value adjustment process in step S24. In step S25, the
シーンチェンジ点の有無を峻別するための上記判定閾値THは、SC有無監視の開始時点において初期値THINITを有している(THINIT>0)。ステップS24の判定閾値調整処理において、記録制御部50(ファイル作成部33又は記録制御部50内の閾値調整部)は、ファイルサイズSZ[j]が基準サイズREFから上限サイズLIMに近づくにつれ、判定閾値THを初期値THINITから徐々に減ずる。判定閾値THが小さくなると、シーンチェンジ点が有ると検出するための判断基準(即ち、シーンチェンジ点が有ると判断されるために必要な条件)が緩くなり、シーンチェンジ点が有ると検出されやすくなる。尚、ステップS27からステップS13に戻る際、ステップS21で開始したSC有無監視は一旦終了せしめられ、且つ、判定閾値THは初期値THINITに戻される。
The determination threshold TH for distinguishing the presence / absence of a scene change point has an initial value TH INIT at the start of SC presence / absence monitoring (TH INIT > 0). In the determination threshold value adjustment process in step S24, the recording control unit 50 (the
具体的な事例を、図6の記録動作に当てはめて考える。図5も参照する。今、動画像MVの区間A[1]における圧縮画像データ及び圧縮音響データのデータ量、動画像MVの区間A[2]における圧縮画像データ及び圧縮音響データのデータ量、動画像MVの区間A[3]における圧縮画像データ及び圧縮音響データのデータ量が、夫々、2.5GB、1.2GB、1.5GBである場合を考え、且つ、基準サイズREFが3.6GBである場合を考える。 A specific example is considered by applying it to the recording operation of FIG. Reference is also made to FIG. Now, the data amounts of the compressed image data and the compressed acoustic data in the section A [1] of the moving image MV, the data amounts of the compressed image data and the compressed acoustic data in the section A [2] of the moving image MV, and the section A of the moving image MV. Consider the case where the data amounts of the compressed image data and the compressed acoustic data in [3] are 2.5 GB, 1.2 GB, and 1.5 GB, respectively, and the reference size REF is 3.6 GB.
そうすると、第1画像ファイルに対する圧縮画像データ及び圧縮音響データの記録の開始後、区間A[2]中の圧縮画像データ及び圧縮音響データを第1画像ファイルに記録している最中において、第1画像ファイルのファイルサイズSZ[1]が基準サイズREFである3.6GBに達するため、その時点でSC有無監視が開始される(ステップS21)。その後、画像データの区間が区間A[2]から区間A[3]から切り替わる部分においてSC検出処理によりタイミングt[3]に相当するシーンチェンジ点が検出される(ステップS22のY)。この検出が成されるときのファイルサイズSZ[1]は“2.5+1.2=3.7”より3.7GBである。ファイル作成部33は、タイミングt[3]に相当するシーンチェンジ点で第1画像ファイルに体する圧縮画像データ及び圧縮音響データの記録を終了し(ステップS26)、当該シーンチェンジ点以降の圧縮画像データ及び圧縮音響データを、第1画像ファイルと異なる第2画像ファイルに記録する(ステップS27、S13及びS14)。
Then, after the recording of the compressed image data and the compressed acoustic data with respect to the first image file is started, the first operation is performed while the compressed image data and the compressed acoustic data in the section A [2] are recorded in the first image file. Since the file size SZ [1] of the image file reaches 3.6 GB, which is the reference size REF, SC presence / absence monitoring is started at that time (step S21). Thereafter, a scene change point corresponding to the timing t [3] is detected by the SC detection process at a portion where the section of the image data is switched from the section A [2] to the section A [3] (Y in step S22). The file size SZ [1] when this detection is performed is 3.7 GB from “2.5 + 1.2 = 3.7”. The
区間A[3]〜A[n]における圧縮画像データ及び圧縮音響データの総データ量が基準サイズREF以下であれば、区間A[3]〜A[n]における圧縮画像データ及び圧縮音響データが第2画像ファイルに記録されて図6の記録動作が終了する(図7参照)。そうでなければ、第2画像ファイルのファイルサイズSZ[2]が基準サイズREFに達した時点でSC有無監視が再び開始され(ステップS21)、第2画像ファイルに対して上述と同様の処理が行われる。結果、区間A[3]〜A[n]の圧縮画像データ及び圧縮音響データが、第2画像ファイルを含む2以上の画像ファイルに分割して記録される(例えば、区間A[3]〜A[n−1]の圧縮画像データ及び圧縮音響データが第2画像ファイルに記録され、区間A[n]の圧縮画像データ及び圧縮音響データが第3画像ファイルに記録される)。 If the total amount of compressed image data and compressed acoustic data in the sections A [3] to A [n] is equal to or smaller than the reference size REF, the compressed image data and compressed acoustic data in the sections A [3] to A [n] Recording is performed on the second image file, and the recording operation of FIG. 6 is completed (see FIG. 7). Otherwise, when the file size SZ [2] of the second image file reaches the reference size REF, the SC presence monitoring is started again (step S21), and the same processing as described above is performed on the second image file. Done. As a result, the compressed image data and the compressed acoustic data in the sections A [3] to A [n] are divided and recorded into two or more image files including the second image file (for example, the sections A [3] to A [N-1] compressed image data and compressed acoustic data are recorded in the second image file, and compressed image data and compressed acoustic data in the section A [n] are recorded in the third image file).
本実施形態によれば、共通シーンの画像データが別々の画像ファイルに分かれて記録(保存)されることが回避される。即ち、シーンと画像ファイルが一致するようになり、再生時等における利便性が向上する(図8の如く共通シーンが別々の画像ファイルに分かれている場合との比較においてメリットがある)。シーンと画像ファイルが一致しておればファイル管理も行いやすい。 According to this embodiment, it is avoided that the image data of the common scene is recorded (saved) separately in separate image files. That is, the scene and the image file coincide with each other, and the convenience during reproduction and the like is improved (the advantage is in comparison with the case where the common scene is divided into separate image files as shown in FIG. 8). If the scene and image file match, file management is easy.
SC有無監視の開始後、ファイルサイズSZ[j]及び上限サイズLIM間の差分サイズが大きいときに、シーンチェンジ点が有ると検出するための判断基準(以下、SC有判断基準という)を緩くすると、真にシーンチェンジが発生していないのにファイル分割が行われる可能性が高まり、好ましくない(不要なファイル分割はファイル数の増大を招き、ファイル管理が煩雑になる)。故に、上記差分サイズが大きいときにはSC有判断基準を比較的高く設定しておいた方が良い。 When the difference between the file size SZ [j] and the upper limit size LIM is large after the start of the SC presence / absence monitoring, the criteria for detecting that there is a scene change point (hereinafter referred to as the SC presence criteria) is relaxed. The possibility of file division is increased even though no scene change has occurred, which is undesirable (unnecessary file division leads to an increase in the number of files and file management becomes complicated). Therefore, when the difference size is large, it is better to set the SC presence criterion relatively high.
一方、上記差分サイズが小さくなってきたときにSC有判断基準を高く設定したままであると、シーンチェンジを見逃す恐れが高まる分、ファイル分割の好機を逸失する可能性が高くなる。SC有判断基準を緩めると真のシーンチェンジ点以外の点をシーンチェンジ点と誤検出してファイル分割を行う可能性が高まるが、遅くともファイルサイズSZ[j]が上限サイズLIMに達した時点でファイル分割を行う必要があるのであるから、上記差分サイズが小さくなってきたときにはSC有判断基準を緩めても弊害は少ない。 On the other hand, if the SC presence criterion is kept high when the difference size becomes small, the possibility of missing a scene change increases, and the possibility of losing the opportunity for file division increases. If the criteria for determining whether or not the SC is relaxed, there is a higher possibility that a file other than the true scene change point will be erroneously detected as a scene change point and the file will be divided. Since it is necessary to divide the file, even if the SC determination criterion is relaxed when the difference size becomes small, there are few harmful effects.
これらを考慮して、ステップS25の判定閾値調整処理が設けられており、当該処理により、過度のファイル分割を抑制しつつシーンチェンジ点でのファイル分割が促進される。但し、ステップS25の判定閾値調整処理を割愛することも可能である。この場合、判定閾値THを一定値に固定しておけば良い。 Considering these, the determination threshold value adjustment process in step S25 is provided, and the process promotes file division at the scene change point while suppressing excessive file division. However, the determination threshold value adjustment process in step S25 can be omitted. In this case, the determination threshold TH may be fixed to a constant value.
<<変形等>>
本発明の実施形態は、特許請求の範囲に示された技術的思想の範囲内において、適宜、種々の変更が可能である。以上の実施形態は、あくまでも、本発明の実施形態の例であって、本発明ないし各構成要件の用語の意義は、以上の実施形態に記載されたものに制限されるものではない。上述の説明文中に示した具体的な数値は、単なる例示であって、当然の如く、それらを様々な数値に変更することができる。上述の実施形態に適用可能な注釈事項として、以下に、注釈1〜注釈5を記す。各注釈に記載した内容は、矛盾なき限り、任意に組み合わせることが可能である。
<< Deformation, etc. >>
The embodiment of the present invention can be appropriately modified in various ways within the scope of the technical idea shown in the claims. The above embodiment is merely an example of the embodiment of the present invention, and the meaning of the term of the present invention or each constituent element is not limited to that described in the above embodiment. The specific numerical values shown in the above description are merely examples, and as a matter of course, they can be changed to various numerical values. As annotations applicable to the above-described embodiment, notes 1 to 5 are described below. The contents described in each comment can be arbitrarily combined as long as there is no contradiction.
[注釈1]
電子機器1に、上述した機能以外の機能が更に設けられていてもよい。例えば、電子機器1に撮影機能が設けられていても良い。この場合、CCD(Charge Coupled Device)又はCMOS(Complementary Metal Oxide Semiconductor)イメージセンサ等の固体撮像素子を有し、撮影によって被写体の画像信号を生成する撮像部が、撮像装置とも言うべき電子機器1に設けられる。撮像部による撮影動画像が上述の動画像MVに相当すると考えても良い。撮像部から出力される被写体の画像信号がアナログ信号(アナログ映像信号)である場合、撮像部の出力画像信号をアナログ信号処理部12に与えることで、撮像部の撮影動画像としての動画像MVの画像データが生成される。
[Note 1]
The
撮像部から出力される被写体の画像信号がデジタル信号である場合においても、撮像部の出力画像信号を信号処理部12に入力することが可能である。この場合には、当然、信号処理部12にて入力画像信号のデジタル化は不要であり、信号処理部12は、アナログ/デジタル変換処理以外の所定の信号処理(例えば、信号増幅、デモザイキング処理、ノイズ低減処理、エッジ強調処理)を撮像部の出力画像信号(出力デジタル画像信号)に施し、これによって得た画像信号(信号処理を経た撮像部の出力画像信号)を、動画像MVの画像データとして出力すれば良い。
Even when the image signal of the subject output from the imaging unit is a digital signal, the output image signal of the imaging unit can be input to the
[注釈2]
上述の実施形態では、圧縮された画像データ及び音響データである圧縮画像データ及び圧縮音響データを記録媒体16(画像ファイル)に記録するようにしているが、画像データ及び音響データを、圧縮することなく記録媒体16(画像ファイル)に記録するようにしても良い。
[Note 2]
In the above-described embodiment, compressed image data and compressed acoustic data, which are compressed image data and acoustic data, are recorded on the recording medium 16 (image file). However, the image data and the acoustic data are compressed. Alternatively, it may be recorded on the recording medium 16 (image file).
[注釈3]
アナログ音響信号の入力端子11への入力、アナログ信号処理部12によるアナログ音響信号のデジタル化、及び、圧縮音響データ等の音響データの記録は、割愛されても良い。
[Note 3]
Input of the analog sound signal to the input terminal 11, digitization of the analog sound signal by the analog
[注釈4]
例えば、以下のように考えることができる。電子機器1を画像記録装置(又は画像変換記録装置)と呼ぶこともできる。或いは、電子機器1は画像記録装置(又は画像変換記録装置)を内包している。画像記録装置(又は画像変換記録装置)の構成要素には、信号処理部12及び記録制御部50が含まれ、更に入力端子11及び/又は記録媒体16も含まれうる。信号処理部12は、アナログ/デジタル変換処理を介して又はアナログ/デジタル変換処理を介さずに(注釈1参照)、動画像MVの画像データを取得するデータ取得部として機能する。
[Note 4]
For example, it can be considered as follows. The
[注釈5]
電子機器1又は画像記録装置である対象装置を、ハードウェア、或いは、ハードウェアとソフトウェアの組み合わせによって構成することができる。対象装置にて実現される機能の全部又は一部である任意の特定の機能をプログラムとして記述して、該プログラムをメモリ部14に保存しておき、該プログラムをプログラム実行装置(例えばCPU31)上で実行することによって、その特定の機能を実現するようにしてもよい。上記プログラムは任意の記録媒体に記憶及び固定されうる。上記プログラムを記憶及び固定する記録媒体は対象装置と異なる機器(サーバ機器等)に搭載又は接続されても良い。
[Note 5]
The target device which is the
1 電子機器
12 アナログ信号処理部
16 記録媒体
50 記録制御部
DESCRIPTION OF
Claims (5)
記録媒体に画像ファイルを作成して前記画像ファイルに前記画像データを記録する記録制御部と、を備え、
前記記録制御部は、前記画像データの第1画像ファイルへの記録開始後、前記第1画像ファイルのファイルサイズが所定の基準サイズに達したとき、前記動画像の時系列上における特異点の有無を監視し、前記特異点が検出されたとき、前記画像データの前記第1画像ファイルへの記録を終了して、以後、前記画像データを前記第1画像ファイルと異なる第2画像ファイルに記録する
ことを特徴とする画像記録装置。 A data acquisition unit for acquiring image data of a moving image;
A recording control unit that creates an image file on a recording medium and records the image data in the image file;
When the file size of the first image file reaches a predetermined reference size after the start of recording of the image data in the first image file, the recording control unit determines whether or not there is a singular point on the time series of the moving image When the singular point is detected, the recording of the image data in the first image file is terminated, and thereafter the image data is recorded in a second image file different from the first image file. An image recording apparatus.
ことを特徴とする請求項1に記載の画像記録装置。 The image recording apparatus according to claim 1, wherein the recording control unit sets the reference size based on an upper limit size of an image file defined on the recording medium.
ことを特徴とする請求項2に記載の画像記録装置。 The recording control unit detects the presence or absence of the singular point based on the image data of the moving image, and detects that the singular point is present as the file size of the first image file approaches the upper limit size from the reference size. The image recording apparatus according to claim 2, wherein a criterion for determination is relaxed.
ことを特徴とする請求項3に記載の画像記録装置。 The recording control unit detects the presence or absence of the singular point by comparing the amount of change of the feature amount of the moving image between frames with a predetermined determination threshold, and the file size of the first image file is determined from the reference size The image recording apparatus according to claim 3, wherein the determination criterion is relaxed by changing the determination threshold as the upper limit size is approached.
ことを特徴とする請求項1〜請求項4の何れかに記載の画像記録装置。 The image recording apparatus according to claim 1, wherein the singular point includes a scene change point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012233137A JP2014086814A (en) | 2012-10-22 | 2012-10-22 | Image recorder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012233137A JP2014086814A (en) | 2012-10-22 | 2012-10-22 | Image recorder |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014086814A true JP2014086814A (en) | 2014-05-12 |
Family
ID=50789522
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012233137A Pending JP2014086814A (en) | 2012-10-22 | 2012-10-22 | Image recorder |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014086814A (en) |
-
2012
- 2012-10-22 JP JP2012233137A patent/JP2014086814A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4904914B2 (en) | STREAM GENERATION DEVICE, IMAGING DEVICE, AND STREAM GENERATION METHOD | |
US20100295966A1 (en) | Digital video camera with high resolution imaging system | |
US7929028B2 (en) | Method and system for facilitating creation of content | |
KR20090012152A (en) | Recording apparatus, reproducing apparatus, recording/reproducing apparatus, image pickup apparatus, recording method and program | |
US11570415B2 (en) | Methods, systems, and media for generating a summarized video using frame rate modification | |
WO2010041576A1 (en) | Content distribution system | |
JP5135733B2 (en) | Information recording apparatus, information recording method, and computer program | |
US7756360B2 (en) | Image processing apparatus, image capturing apparatus, image processing method, and computer program | |
US8571384B2 (en) | Digital video recorder, digital video system, and video playback method thereof | |
RU2518173C2 (en) | Apparatus for recording image data | |
CN101753943A (en) | Image processing apparatus and image processing method | |
JP4991496B2 (en) | Image recording apparatus and method | |
US20100061700A1 (en) | Data processing apparatus and data processing method, and computer program | |
JP2010263374A (en) | Recording and reproducing device and recording and reproducing method | |
JP2014086814A (en) | Image recorder | |
JP2002094939A (en) | Recording apparatus and reproducing apparatus | |
US11089212B2 (en) | Image capture apparatus that records video signal captured at variable frame rate as moving image data, method of controlling same, and storage medium | |
JP7374698B2 (en) | Imaging device, control method and program | |
JP2011101157A (en) | Image generating method and image reproducing method | |
JP2004040518A (en) | Imaging recorder and reproducing device | |
JP2014086815A (en) | Electronic apparatus | |
US20100149375A1 (en) | Apparatus and method for faster recording and reproduction of digital video images | |
JP4540752B2 (en) | Content distribution system | |
JP2021078045A (en) | Output control device, output control method, and program | |
KR20100035535A (en) | Method for generating a thumbnail |