JP2007164894A - Image processor and image processing method - Google Patents

Image processor and image processing method Download PDF

Info

Publication number
JP2007164894A
JP2007164894A JP2005359482A JP2005359482A JP2007164894A JP 2007164894 A JP2007164894 A JP 2007164894A JP 2005359482 A JP2005359482 A JP 2005359482A JP 2005359482 A JP2005359482 A JP 2005359482A JP 2007164894 A JP2007164894 A JP 2007164894A
Authority
JP
Japan
Prior art keywords
recording
image data
file
recording medium
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
JP2005359482A
Other languages
Japanese (ja)
Inventor
Kurumi Mochida
くる美 餅田
Yutaka Yamashita
裕 山下
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 JP2005359482A priority Critical patent/JP2007164894A/en
Publication of JP2007164894A publication Critical patent/JP2007164894A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To easily and properly erase image data when erasing the image data according to a remaining capacity of a recording medium. <P>SOLUTION: An image processor is provided which can record the image data in the recording medium using two or more recording modes. The image processor includes: a detection means for detecting a current recording mode; a retrieval means for retrieving image recording files recorded in the same recording mode as the current mode from the recording medium; a presentation means for presenting the retrieved files as erasure file candidates; a user interface for selecting an erasure file from among the presented erasure file candidates; and an erasure means for erasing the selected erasure file when the remaining capacity of the recording medium becomes small during a process of recording a new image data on the recording medium. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像処理装置及び方法に関する。   The present invention relates to an image processing apparatus and method.

近年、磁気テープに代わる新たな映像記録用の媒体として、デジタルビデオディスク(以降DVD)やハードディスクを使用することが可能となって来ている。このような映像記録装置には、DVDドライブに加えて取り外し不可能な大容量のハードディスクを組み込んだ据え置き型のハードディスクレコーダーや、記録容量は少ないが取り外しが可能な小型ハードディスクを使用したハードディスクカムコーダーなどがある。どちらのタイプの記録装置でも、記録された番組や映像はファイル形式でDVDまたはハードディスクに記憶されており、再生する場合には、画面表示されたリストを選択することで、ユーザーが見たいシーンや番組を瞬時に呼び出すことが可能である。特にハードディスクを使用する場合には前記特徴以外にも、一度見たシーンや番組など不必要となったファイルを瞬時に消去したり、番組の記録中であっても再生可能であったり、これまでの装置と比較して多くのメリットを備えている。以上説明したように、多くの長所を備えるハードディスクレコーダーは、ユーザーにとって非常に使い勝手の良い次世代映像記録装置として急速に広まりつつある。   In recent years, it has become possible to use a digital video disc (hereinafter referred to as a DVD) or a hard disk as a new video recording medium replacing the magnetic tape. Such video recording devices include a stationary hard disk recorder that incorporates a large hard disk that cannot be removed in addition to a DVD drive, and a hard disk camcorder that uses a small hard disk that has a small recording capacity but can be removed. is there. In both types of recording devices, recorded programs and videos are stored in a file format on a DVD or hard disk. When playing back, select a list displayed on the screen so that the user can view It is possible to call a program instantly. Especially when using a hard disk, in addition to the above features, unnecessary files such as scenes and programs that have been viewed once can be erased instantly, can be played even while recording a program, It has many advantages compared to the device. As described above, hard disk recorders having many advantages are rapidly spreading as next-generation video recording devices that are very user-friendly.

しかしながら、記録媒体であるハードディスクは取り外しが不可能な組み込み式であり、また、取り外し可能であったとしてもその値段が磁気テープ等に比べると非常に高価である。そのために、ハードディスクの残り容量が少なくなった場合には、記録容量を確保するために、ユーザーが不必要となったデータを消去したり、別のメディアにコピーする必要があるという短所があった。   However, a hard disk as a recording medium is a built-in type that cannot be removed, and even if it is removable, its price is very high compared to a magnetic tape or the like. Therefore, when the remaining capacity of the hard disk is reduced, there is a disadvantage that the user needs to erase unnecessary data or copy it to another media in order to secure the recording capacity. .

このような問題を解決するために、ハードディスクの残り容量が少なくなった場合には一度見た番組や、記録された日付が古い番組を記録中に自動的に消去して容量を確保する方法が、以前から提案されている(特許文献1、2、3)。   In order to solve such problems, there is a method to ensure the capacity by automatically erasing a program that has been viewed once or a program with an older recorded date when recording when the remaining capacity of the hard disk is low. Have been proposed (Patent Documents 1, 2, and 3).

また、残り記録容量が無くなっても現在行っている記録を継続するために、予め上書き可能なファイルを指定しておき、記録容量が無くなった時点で上書き指定ファイルの記録エリアでの上書きを行って記録を続行する画像記録装置が提案されている。   Also, in order to continue the current recording even if there is no remaining recording capacity, a file that can be overwritten is designated in advance, and when the recording capacity runs out, overwriting is performed in the recording area of the overwriting specified file. An image recording apparatus for continuing recording has been proposed.

しかし、記録媒体へ記録された膨大な記録ファイル数の中から上書き指定ファイルを選択するのは大変煩雑な作業となる。   However, selecting an overwrite designation file from the enormous number of recording files recorded on the recording medium is a very complicated task.

特開2002−305706号公報JP 2002-305706 A 特開平11−66694号公報Japanese Patent Application Laid-Open No. 11-66694 特開2002−112150号公報JP 2002-112150 A

しかしながら、これらの提案はいずれも、記録時にハードディスクの残り容量が少なかった場合には、自動的に古い映像や一度見た番組を消去するというものである。ユーザが記録中に止むを得ず消去した場合に、ユーザが容量として必要な容量以上に容量を消去してしまう不具合が生じることがある。   However, all of these proposals are to automatically delete old videos and programs once viewed when the remaining capacity of the hard disk is small at the time of recording. When the user inevitably erases during recording, there may be a problem that the user erases the capacity more than necessary.

本発明の目的は、記録媒体の残容量に応じて画像データを消去する場合に、簡便かつ適切に画像データを消去することである。   An object of the present invention is to easily and appropriately erase image data when erasing image data according to the remaining capacity of a recording medium.

本発明の画像処理装置は、複数の記録モードを用いて画像データを記録媒体へ記録することが可能な画像処理装置であって、現在の記録モードを検出する検出手段と、現在の記録モードと同じ記録モードで記録されている画像記録ファイルを前記記録媒体内から検索する検索手段と、前記検索されたファイルを消去ファイル候補として提示する提示手段と、前記提示された消去ファイル候補から消去ファイルを選択するユーザーインターフェースと、前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量が少なくなった場合、前記選択された消去ファイルを消去する消去手段とを有することを特徴とする。
また、本発明の画像処理装置は、複数の記録フォーマットを用いて画像データを記録媒体へ記録することが可能な画像処理装置であって、現在の記録フォーマットを検出する検出手段と、現在の記録フォーマットと同じ記録フォーマットで記録されている画像記録ファイルを前記記録媒体内から検索する検索手段と、前記検索されたファイルを消去ファイル候補として提示する提示手段と、前記提示された消去ファイル候補から消去ファイルを選択するユーザーインターフェースと、前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量が少なくなった場合、前記選択された消去ファイルを消去する消去手段とを有することを特徴とする。
また、本発明の画像処理装置は、記録媒体に記録されている画像データの中から消去されてもかまわない画像データを選択する画像データ選択手段と、前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量に応じて前記選択された画像データを消去する消去手段と、前記記録処理終了後に、前記記録媒体中の前記消去した画像データの位置に新しい画像データが上書きされているかどうか判定する上書き判定手段と、前記新しい画像データが上書きされていない場合は、前記消去した画像データを復元する復元手段とを有することを特徴とする。
また、本発明の画像処理方法は、複数の記録モードを用いて画像データを記録媒体へ記録することが可能な画像処理方法であって、現在の記録モードを検出する検出ステップと、現在の記録モードと同じ記録モードで記録されている画像記録ファイルを前記記録媒体内から検索する検索ステップと、前記検索されたファイルを消去ファイル候補として提示する提示ステップと、前記提示された消去ファイル候補から消去ファイルをユーザーインターフェースにより選択する選択ステップと、前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量が少なくなった場合、前記選択された消去ファイルを消去する消去ステップとを有することを特徴とする。
また、本発明の画像処理方法は、複数の記録フォーマットを用いて画像データを記録媒体へ記録することが可能な画像処理方法であって、現在の記録フォーマットを検出する検出ステップと、現在の記録フォーマットと同じ記録フォーマットで記録されている画像記録ファイルを前記記録媒体内から検索する検索ステップと、前記検索されたファイルを消去ファイル候補として提示する提示ステップと、前記提示された消去ファイル候補から消去ファイルをユーザーインターフェースにより選択する選択ステップと、前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量が少なくなった場合、前記選択された消去ファイルを消去する消去ステップとを有することを特徴とする。
また、本発明の画像処理方法は、記録媒体に記録されている画像データの中から消去されてもかまわない画像データを選択する画像データ選択ステップと、前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量に応じて前記選択された画像データを消去する消去ステップと、前記記録処理終了後に、前記記録媒体中の前記消去した画像データの位置に新しい画像データが上書きされているかどうか判定する上書き判定ステップと、前記新しい画像データが上書きされていない場合は、前記消去した画像データを復元する復元ステップとを有することを特徴とする。
An image processing apparatus according to the present invention is an image processing apparatus capable of recording image data on a recording medium using a plurality of recording modes, a detection means for detecting a current recording mode, a current recording mode, Search means for searching for an image recording file recorded in the same recording mode from within the recording medium, presentation means for presenting the searched file as an erasure file candidate, and an erasure file from the presented erasure file candidate A user interface to select; and erasing means for erasing the selected erasure file when the remaining capacity of the recording medium is reduced during the recording process of new image data on the recording medium. To do.
The image processing apparatus of the present invention is an image processing apparatus capable of recording image data on a recording medium using a plurality of recording formats, and includes a detecting means for detecting a current recording format, a current recording Search means for searching for an image recording file recorded in the same recording format as the format from within the recording medium, presentation means for presenting the searched file as an erased file candidate, and erasing from the presented erased file candidate A user interface for selecting a file, and an erasing unit for erasing the selected erasure file when the remaining capacity of the recording medium is reduced during the process of recording new image data on the recording medium. Features.
Further, the image processing apparatus of the present invention records image data selection means for selecting image data that may be erased from image data recorded on a recording medium, and records new image data on the recording medium. An erasure unit for erasing the selected image data according to the remaining capacity of the recording medium during processing, and new image data is overwritten at the position of the erased image data in the recording medium after the recording process is completed. Overwriting determining means for determining whether or not the image data is overwritten, and restoring means for restoring the erased image data when the new image data is not overwritten.
The image processing method of the present invention is an image processing method capable of recording image data on a recording medium using a plurality of recording modes, the detection step for detecting the current recording mode, and the current recording A search step for searching an image recording file recorded in the same recording mode as the recording mode from within the recording medium, a presentation step for presenting the searched file as an erasure file candidate, and an erasure from the presented erasure file candidate A selection step of selecting a file by a user interface, and an erasure step of erasing the selected erasure file when the remaining capacity of the recording medium is reduced during the process of recording new image data on the recording medium. It is characterized by having.
The image processing method of the present invention is an image processing method capable of recording image data on a recording medium using a plurality of recording formats, the detection step for detecting the current recording format, and the current recording A search step for searching an image recording file recorded in the same recording format as the recording format from the recording medium, a presentation step for presenting the searched file as an erasure file candidate, and an erasure from the presented erasure file candidate A selection step of selecting a file by a user interface, and an erasure step of erasing the selected erasure file when the remaining capacity of the recording medium is reduced during the process of recording new image data on the recording medium. It is characterized by having.
The image processing method of the present invention also includes an image data selection step for selecting image data that may be erased from image data recorded on a recording medium, and recording new image data on the recording medium. An erasing step of erasing the selected image data according to the remaining capacity of the recording medium during processing, and new image data is overwritten at the position of the erased image data in the recording medium after the recording process is completed. An overwriting determination step for determining whether or not the image data is overwritten, and a restoration step for restoring the erased image data when the new image data is not overwritten.

記録媒体の残容量に応じて画像データを消去する場合に、簡便かつ適切に画像データを消去することができる。   When erasing image data according to the remaining capacity of the recording medium, the image data can be easily and appropriately erased.

(第1の実施形態)
図1に、本発明の第1の実施形態によるカメラ一体型ハードディスクレコーダ(画像処理装置)のブロック図を示す。101はレンズから入力された光を電気的なデジタル映像(画像)信号に変換するカメラブロックである。102はカメラブロック101から出力されたデジタル映像信号を受けて、SDRAM103に書き込み、且つ同時にLCD110に対して出力を行う映像インターフェース回路である。103は前記デジタル映像信号を記憶(信号処理)するためのSDRAMである。104は前記デジタル信号をSDRAM103から読み出し、MPEG方式によって圧縮して再びSDRAM103に書き戻すMPEGコーデック回路である。105はハードディスク、106はMPEG圧縮された映像データをハードディスク105に書き込むためのハードディスクインターフェース回路である。107はこれらのブロック全体を制御するCPUである。108はCPU107によって画面表示のビットマップ(Bitmap)パターン及び色の設定が書き込まれ、画像Mix回路109に出力することで様々なユーザーインターフェースを表示するBitmap表示回路である。109は前記Bitmap表示回路108から出力される文字やグラフィック情報と、映像インターフェース回路102から出力されるカメラ映像信号を混合(Mix)する画像Mix回路である。110は映像Mix回路109から出力された映像信号を表示するLCD、111はカメラの操作を行うための操作キーブロックである。
(First embodiment)
FIG. 1 is a block diagram of a camera-integrated hard disk recorder (image processing apparatus) according to the first embodiment of the present invention. A camera block 101 converts light input from the lens into an electrical digital video (image) signal. Reference numeral 102 denotes a video interface circuit that receives a digital video signal output from the camera block 101, writes it in the SDRAM 103, and outputs it to the LCD 110 at the same time. Reference numeral 103 denotes an SDRAM for storing (signal processing) the digital video signal. Reference numeral 104 denotes an MPEG codec circuit which reads the digital signal from the SDRAM 103, compresses it according to the MPEG system, and writes it back to the SDRAM 103 again. Reference numeral 105 denotes a hard disk, and 106 denotes a hard disk interface circuit for writing MPEG-compressed video data to the hard disk 105. Reference numeral 107 denotes a CPU that controls the entire blocks. A bitmap display circuit 108 displays various user interfaces by writing a bitmap (bitmap) pattern and color setting of the screen display by the CPU 107 and outputting them to the image mix circuit 109. An image Mix circuit 109 mixes (mixes) characters and graphic information output from the Bitmap display circuit 108 and a camera video signal output from the video interface circuit 102. Reference numeral 110 denotes an LCD for displaying a video signal output from the video Mix circuit 109, and 111 denotes an operation key block for operating the camera.

図示はしないが、操作キーブロック111には、以下の操作キーなどがある。第1の操作キーは、カメラ/オフ(OFF)/再生の3ポジションを持つ電源スイッチである。第2の操作キーは、映像の記録/終了を行うためのスタート(Start)/ストップ(Stop)スイッチである。第3の操作キーは、ハードディスクに記録されている映像を再生するためのレコーダーキー群である。第4の操作キーは、GUI操作を行うための十字キーと確定キーである。第5の操作キーは、GUI操作の取り消しを行うための取り消しキーである。第6の操作キーは、メニュー設定画面を呼び出すためのメニューキーである。   Although not shown, the operation key block 111 includes the following operation keys. The first operation key is a power switch having three positions of camera / off (OFF) / playback. The second operation key is a start / stop switch for recording / ending video. The third operation key is a group of recorder keys for reproducing video recorded on the hard disk. The fourth operation key is a cross key and a confirmation key for performing a GUI operation. The fifth operation key is a cancel key for canceling the GUI operation. The sixth operation key is a menu key for calling a menu setting screen.

次に、SDRAM103のマッピング構造を図2を用いて説明する。201はビデオメモリで、前記映像インターフェース回路102によってカメラブロック101から出力されたデジタル映像信号(Y/Cr/Cb形式)が書き込まれる。このビデオメモリ201は2バンク構成となっており、映像インターフェースブロック102からの書き込みと、次に説明するMPEGコーデック104による読み出しが、それぞれ別のバンクをアクセスする構造となっている。202はMPEGバッファで、前記MPEGコーデック104が映像信号の圧縮を行うために使用する領域である。MPEG方式によるフレーム間圧縮は、本MPEGバッファ202を用いて3フレーム画像の単位で行われるが、ここで圧縮されたデータは次にVROバッファ204にストリームデータとして書き込まれる。VROバッファ204はリング状の構成となっており、書き込みアドレスが所定の番地に達すると再び元のアドレスに戻って前記データを上書きしていくように動作する。次に、VROバッファ204に書き込まれたストリームデータはハードディスクドライブインターフェース回路106によって順次読み出され、ハードディスクドライブ105に書き込まれることとなる。203はIFOバッファで、後述するハードディスクの管理情報301及び自動消去ファイル情報307をCPU107が編集するための領域である。   Next, the mapping structure of the SDRAM 103 will be described with reference to FIG. Reference numeral 201 denotes a video memory in which a digital video signal (Y / Cr / Cb format) output from the camera block 101 by the video interface circuit 102 is written. The video memory 201 has a structure of two banks, and has a structure in which writing from the video interface block 102 and reading by the MPEG codec 104 described below access different banks. An MPEG buffer 202 is an area used by the MPEG codec 104 to compress a video signal. Interframe compression by the MPEG method is performed in units of three frame images using the MPEG buffer 202, and the data compressed here is then written as stream data in the VRO buffer 204. The VRO buffer 204 has a ring-like configuration, and when the write address reaches a predetermined address, the VRO buffer 204 returns to the original address and operates to overwrite the data. Next, the stream data written to the VRO buffer 204 is sequentially read by the hard disk drive interface circuit 106 and written to the hard disk drive 105. An IFO buffer 203 is an area for the CPU 107 to edit hard disk management information 301 and automatic erasure file information 307, which will be described later.

図3にハードディスク105のデータ構造を示す。ハードディスク105には、管理情報301、映像ストリームデータ302、及び自動消去ファイル情報307の3種類のデータが書き込まれている。3種類のデータ301、302、307は、それぞれVR_MOVIE.IFO、VR_MOVIE.VRO、AUTO_DEL.IFOと名づけられたファイル構成となっている。映像ストリームデータファイル(VR_MOVIE.VRO)302には、撮影された映像データが前記説明したようにMPEG方式にて圧縮され順次追記されて行く。ストリーム303〜306が順次記録されていく。このデータ構造を管理しているのが管理情報(VR_MOVIE.IFO)301である。管理情報301は、それぞれの映像ストリームデータに対して、データ先頭のアドレス情報と映像名、撮影された日付情報、画像のリスト表示等に使用するための代表的な画面のアドレス情報、ユーザーが映像を整理・格納するためのフォルダ情報等が記録される。自動消去ファイル情報(AUTO_DEL.IFO)307には、後述するユーザーインターフェース画面を用いてユーザーが選択した、自動消去候補映像に対応したストリーム番号が書き込まれている。この情報は、ハードディスクの残り容量が少なくなって自動消去が実行されるときに参照され、消去映像が決定されることとなる。   FIG. 3 shows the data structure of the hard disk 105. Three types of data, management information 301, video stream data 302, and automatic deletion file information 307, are written in the hard disk 105. The three types of data 301, 302, and 307 are VR_MOVIE. IFO, VR_MOVIE. VRO, AUTO_DEL. The file structure is named IFO. In the video stream data file (VR_MOVIE.VRO) 302, the captured video data is compressed by the MPEG method and added sequentially as described above. Streams 303 to 306 are sequentially recorded. Management information (VR_MOVIE.IFO) 301 manages this data structure. The management information 301 includes, for each video stream data, address information and video name at the head of the data, date information of the captured images, address information of a typical screen for use in displaying a list of images, etc. Folder information for organizing and storing files is recorded. In the automatic erasure file information (AUTO_DEL.IFO) 307, the stream number corresponding to the automatic erasure candidate video selected by the user using the user interface screen described later is written. This information is referred to when automatic deletion is executed when the remaining capacity of the hard disk is reduced, and an erasure video is determined.

図4に、自動消去候補となる映像の登録を行うことを促すためのメッセージを表示するウィンドウの画面を示す。401は現在カメラで撮影している映像で、402は前記自動消去候補登録ウィンドウを表示するか否かの選択をユーザーに行わせるためのメッセージウィンドウである。このウィンドウ内で「する」を選択した場合には、次に説明する図5の消去候補選択ウィンドウを引き続き表示することで、ユーザーが自動消去されても構わない映像データを登録する操作を行うことができる。該メッセージウィンドウにて「しない」を選択した場合にはこのメッセージが消えて、元の状態(この表示例の場合は記録一時停止状態403)に戻る。以上説明したようなユーザー操作は、全て操作キーブロック111を用いて行うことが可能である。引き続き図5に、自動消去候補映像を選択するウィンドウを示す。501はカーソルで、ユーザーが自動消去されても構わない映像をリストの中から選択するために使用する。502はチェックボックス、503はリストアップされた映像の代表的な画面、504は映像名、505はガイド表示である。ユーザーはまずカーソル501によって映像を選択した状態で「確定」キーを押下すると、その映像のチェックボックス502内にチェックマークが表示され、自動消去されても構わない映像として登録される。また、チェックマークが表示されている映像をカーソル501により選択して「確定」キーを押下すると、チェックマークが消えて、登録をキャンセルすることも可能である。リストアップされた映像が多数ある場合には、カーソル501を下方向に移動すればページが切り換わり、次の映像を確認・登録することが可能である。全ての映像の登録が終了した後に「戻る」キーを押下すると、この画面にて登録された映像の管理情報(VR_MOVIE.IFO)301に記憶されている映像番号を、自動消去ファイル情報(AUTO_DEL.IFO)307に書き込む。そして、元の記録一時停止状態に戻る。   FIG. 4 shows a window screen that displays a message for prompting registration of a video to be an automatic erasure candidate. Reference numeral 401 denotes an image currently captured by the camera, and reference numeral 402 denotes a message window for allowing the user to select whether or not to display the automatic deletion candidate registration window. When “Yes” is selected in this window, the user can perform an operation of registering video data that may be automatically deleted by continuously displaying the deletion candidate selection window shown in FIG. Can do. If “NO” is selected in the message window, this message disappears and the original state (the recording pause state 403 in this display example) is restored. All user operations as described above can be performed using the operation key block 111. FIG. 5 shows a window for selecting an automatic deletion candidate video. Reference numeral 501 denotes a cursor, which is used to select a video from the list that may be automatically deleted by the user. Reference numeral 502 denotes a check box, reference numeral 503 denotes a representative screen of listed videos, reference numeral 504 denotes a video name, and reference numeral 505 denotes a guide display. When the user first presses the “determine” key while selecting a video with the cursor 501, a check mark is displayed in the check box 502 of the video, and the video is registered as a video that may be automatically deleted. In addition, when a video with a check mark displayed is selected with the cursor 501 and the “OK” key is pressed, the check mark disappears and registration can be canceled. If there are a large number of videos listed, the page can be switched by moving the cursor 501 downward, and the next video can be confirmed and registered. When the “return” key is pressed after registration of all the videos is completed, the video number stored in the video management information (VR_MOVIE.IFO) 301 registered on this screen is changed to the automatic deletion file information (AUTO_DEL. IFO) 307 is written. Then, the original recording pause state is restored.

次に図6のフローチャートを用いて、本実施形態のカメラ一体型ハードディスクレコーダーの、電源投入時から消去候補映像の登録及び映像データの自動消去までの手順を説明する。本フローチャートによる手順は全てCPU107の制御により実行されるものである。   Next, with reference to the flowchart of FIG. 6, the procedure from the time of power-on to the registration of the erasure candidate video and the automatic erasure of the video data of the camera-integrated hard disk recorder of this embodiment will be described. All procedures according to this flowchart are executed under the control of the CPU 107.

最初に前述した電源スイッチの操作によりカメラモードで電源オンされると、装置は記録一時停止状態となる。この状態で、ステップ601においてハードディスクの残り容量をチェックする。これは、あらかじめ設定されている第一の残容量比較値R1と、実際のハードディスクの残容量Rcの比較を行うものである。比較値よりも実容量の方が少なかった(R1>Rc)場合で、且つ、自動消去フィル情報(AUTO_DEL.IFO)307内に、自動消去候補映像が一つも登録されていない場合には、前述したように、ステップ602の処理を行う。すなわち、自動消去候補となる映像の登録を行うことを促すためのメッセージウィンドウ(図4参照)を表示する(ステップ602)。次にステップ603にて、前記ウィンドウ操作でユーザーが「しない」を選択した場合には、ステップ604にてメッセージウィンドウ表示を消して、元の記録一時停止状態に戻る。またステップ603にて「する」を選択した場合には、ステップ605にてあらかじめ決められた条件によって自動消去候補リストを作成した後、ステップ606にて前述したような自動消去候補映像を選択するウィンドウ(図5参照)を表示する。次にステップ607において、ユーザーはこのウィンドウで前述したような操作を行うことで自動的に消去されても構わない映像を選択した後に、ステップ608にてウィンドウを閉じると、ステップ609の処理を行う。ステップ609で前記選択された映像の番号が、自動消去ファイル情報(AUTO_DEL.IFO)307に記憶され、元の記録一時停止状態に戻る。記録の一時停止状態では、ステップ610にて電源オフするかどうか、またステップ611にて記録を開始するかどうかのチェックを行っている。電源スイッチが電源オフ状態となった場合には、そのまま電源オフとなる。また、前記スタート/ストップキーにより記録が開始された場合には、ステップ612にて記録が実行される(電気的な記録動作に関しては、図1及び図2を用いて既に説明済)。記録を実行している最中は、ステップ613にてハードディスク(HDD)の残量のチェックを行う。これは、あらかじめ設定されている第二の残容量比較値R2と、実際のハードディスクの残容量Rcの比較を行うもので、比較値よりも実容量の方が少なかった(R2>Rc)場合には、ステップ614にて映像データの消去を実行する。その際には、自動消去ファイル情報(AUTO_DEL.IFO)307を参照し、どの映像を消去するのかを確定する。その後、管理情報(VR_MOVIE.IFO)301から前記確定された映像データに関する情報を消去することで、映像データの消去が実行される。このような一連の消去処理は、ステップ612にて開始された記録動作を行っている最中に自動的に実行される。記録中にスタート/ストップキーが押下されると、記録一時停止状態となるが、ステップ615にてそのチェックを行っている。その場合、記録終了でなければ、ハードディスク残量チェック(ステップ613)に再び戻る。記録終了ならば、ステップ616にて消去ファイルに上書きされたかどうかのチェックを行い、消去されていない映像を表示し、ユーザに復元するかどうかのウィンドウ表示を行う(ステップ617)。復元が選択された場合(ステップ618)は、選択された映像の復元を行い、VR_MOVIE.IFO、VR_MOVIE.VRO、AUTO_DEL.IFOのファイルを元の状態に戻し(ステップ619)、記録終了処理を行う(ステップ620)。   When the power is first turned on in the camera mode by the operation of the power switch described above, the apparatus enters a recording pause state. In this state, in step 601, the remaining capacity of the hard disk is checked. This compares the first remaining capacity comparison value R1 set in advance with the actual remaining capacity Rc of the hard disk. When the actual capacity is smaller than the comparison value (R1> Rc) and no auto-erase candidate video is registered in the auto-erase fill information (AUTO_DEL.IFO) 307, the aforementioned As described above, the process of step 602 is performed. That is, a message window (see FIG. 4) for prompting registration of a video to be an automatic deletion candidate is displayed (step 602). In step 603, if the user selects “NO” in the window operation, the message window display is cleared in step 604, and the original recording pause state is restored. If “Yes” is selected in step 603, an automatic deletion candidate list is created in accordance with predetermined conditions in step 605, and then a window for selecting the automatic deletion candidate video as described above in step 606 is displayed. (See FIG. 5) is displayed. Next, in step 607, after the user selects an image that may be automatically deleted by performing the operation described above in this window, when the window is closed in step 608, the process of step 609 is performed. . In step 609, the number of the selected video is stored in the automatic deletion file information (AUTO_DEL.IFO) 307, and the original recording pause state is restored. In the recording pause state, it is checked in step 610 whether the power is turned off or in step 611 whether the recording is started. When the power switch is turned off, the power is turned off as it is. When recording is started by the start / stop key, recording is performed in step 612 (the electrical recording operation has already been described with reference to FIGS. 1 and 2). While recording is in progress, the remaining capacity of the hard disk (HDD) is checked in step 613. This is a comparison between the preset second remaining capacity comparison value R2 and the actual remaining capacity Rc of the hard disk, and when the actual capacity is smaller than the comparison value (R2> Rc). In step 614, the video data is erased. At that time, the automatic deletion file information (AUTO_DEL.IFO) 307 is referred to determine which video is to be deleted. Thereafter, by deleting the information regarding the determined video data from the management information (VR_MOVIE.IFO) 301, the video data is deleted. Such a series of erasing processes is automatically executed during the recording operation started in step 612. If the start / stop key is pressed during recording, the recording is temporarily stopped. In step 615, the check is performed. In this case, if the recording is not completed, the process returns to the hard disk remaining capacity check (step 613). If the recording is completed, it is checked in step 616 whether or not the erased file has been overwritten, a video that has not been erased is displayed, and a window is displayed to determine whether to restore to the user (step 617). If restoration is selected (step 618), the selected video is restored, and VR_MOVIE. IFO, VR_MOVIE. VRO, AUTO_DEL. The IFO file is returned to the original state (step 619), and the recording end process is performed (step 620).

以上説明した例はファイル単位の消去の復元に関してであるが、ステップ614のデータの消去をファイルではなくデータ量で消去した場合の実施形態を図7を用い以下に説明する。   The example described above relates to restoration of erasure in units of files, but an embodiment in which erasure of data in step 614 is erased not with a file but with a data amount will be described below with reference to FIG.

ステップ601から613までは図6と同じフローである。ステップ613のハードディスク残量チェックで容量が少ない場合に、現在消去中のファイルデータがあるかどうかのチェックを行う(ステップ701)。消去中のファイルがなければ、消去可能なファイルから消去ファイルを選択する(ステップ702)。消去中のファイルがあれば、消去可能なデータ量があるかどうかをチェックする(ステップ703)。消去可能なデータがなければ消去可能なファイルより消去ファイルを選択し、消去するデータ量を確保し単位データ量分だけデータを消去する(ステップ704)。このデータ消去には、消去されたデータのアドレスを管理情報(VR_MOVIE.IFO)301として記録していおく。そして、データが消去された場所にデータを記録する(ステップ705)。このデータ記録には映像データの他に、新しく記録されたデータのアドレスも管理情報(VR_MOVIE.IFO)301として記録しておく。これを記録終了まで繰り返す。記録終了が選択されると(ステップ615)、ステップ616で記録されたデータは消去ファイルに上書きされたかどうかの判定を行う。消去ファイルに上書きされていなければ、記録終了処理(ステップ620)を行い処理を終える。消去ファイルに上書きされていた場合は、ユーザにメッセージを出し(ステップ617)、ファイルを復元するかどうかの選択をさせる(ステップ618)。ファイル復元が選択された場合は、消去されたデータ量を計算する(ステップ706)。そして、消去分のデータ量より、消去ファイルより復元可能なデータを復元し、管理情報(VR_MOVIE.IFO)301、およびストリームデータファイル(VR_MOVIE.VRO)302を変更する(ステップ707)。記録終了処理において、上書きされたデータが存在した場合、単位データ量で記録されたデータを記録されたアドレス情報を元に、連続データに書き戻す処理を入れてもよい。   Steps 601 to 613 are the same flow as in FIG. If the capacity of the hard disk remaining amount check in step 613 is small, it is checked whether there is currently deleted file data (step 701). If there is no file being erased, an erase file is selected from the erasable files (step 702). If there is a file being erased, it is checked whether there is an erasable data amount (step 703). If there is no erasable data, an erasure file is selected from the erasable files, the amount of data to be erased is secured, and data is erased by the unit data amount (step 704). For this data erasure, the address of the erased data is recorded as management information (VR_MOVIE.IFO) 301. Then, the data is recorded at the place where the data is erased (step 705). In this data recording, the address of the newly recorded data is recorded as management information (VR_MOVIE.IFO) 301 in addition to the video data. This is repeated until the end of recording. When the end of recording is selected (step 615), it is determined whether or not the data recorded in step 616 has been overwritten on the erased file. If the erase file is not overwritten, a recording end process (step 620) is performed and the process ends. If the erased file has been overwritten, a message is issued to the user (step 617), and the user is asked to select whether to restore the file (step 618). If file restoration is selected, the erased data amount is calculated (step 706). Then, data that can be restored from the erased file is restored from the erased data amount, and the management information (VR_MOVIE.IFO) 301 and the stream data file (VR_MOVIE.VRO) 302 are changed (step 707). In the recording end process, when there is overwritten data, a process of rewriting the data recorded in the unit data amount to the continuous data based on the recorded address information may be included.

図8は記録終了後にファイルが削除されたかった場合に表示する一例を示す。801はプレビュー画像で、802はファイルを復元するか否かの選択をユーザーに行わせるためのメッセージウィンドウである。803には復元可能な映像の代表画像を表示している。複数の映像がある場合はリスト表示でまとめて復元や、1つの映像ごとに復元するか否かを選択していもよい。このウィンドウ内で「する」を選択した場合には、代表画像803に表示される映像が復元される。該メッセージウィンドウにて「しない」を選択した場合にはこのメッセージが消えて、元の状態(この表示例の場合は記録一時停止状態)に戻る。あるいは、ファイルを消去する処理を行ってもよい。   FIG. 8 shows an example displayed when a file is not desired to be deleted after the recording is completed. Reference numeral 801 denotes a preview image, and reference numeral 802 denotes a message window for allowing the user to select whether to restore a file. Reference numeral 803 displays a representative image of a video that can be restored. When there are a plurality of videos, it is possible to select whether to restore all in a list display or to restore each video. When “Yes” is selected in this window, the video displayed in the representative image 803 is restored. If “NO” is selected in the message window, this message disappears and the original state (recording paused state in this display example) is restored. Alternatively, a process for deleting a file may be performed.

以上のように、本実施形態では、まず、ステップ605で、記録媒体中に記録された複数の画像データの中から消去の候補となる画像データを選び出す。次に、ステップ606で、前記選び出された画像データを表示する。次に、ステップ607で、前記記録媒体の残容量が少なくなった場合に、前記表示された画像データの中から消去されてもかまわないデータをユーザーインターフェースにより選択する。次に、ステップ614で、前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量に応じて前記選択された画像データを消去する。次に、ステップ616で、前記記録処理終了後に、前記記録媒体中の前記消去した画像データの位置に新しい画像データが上書きされているかどうか判定する。次に、ステップ619で、前記新しい画像データが上書きされていない場合は、前記消去した画像データを復元する。前記記録媒体はハードディスクであり、前記画像データはファイル形式で記録されている。   As described above, in the present embodiment, first, in step 605, image data that is a candidate for erasure is selected from a plurality of image data recorded on the recording medium. In step 606, the selected image data is displayed. Next, in step 607, when the remaining capacity of the recording medium is reduced, data that may be deleted from the displayed image data is selected by the user interface. Next, in step 614, the selected image data is erased according to the remaining capacity of the recording medium during the process of recording new image data on the recording medium. Next, in step 616, it is determined whether new image data is overwritten at the position of the erased image data in the recording medium after the recording process is completed. In step 619, if the new image data is not overwritten, the erased image data is restored. The recording medium is a hard disk, and the image data is recorded in a file format.

図7では、前記記録媒体に記録する際に、指定された単位データ量ごとに上書きする。ステップ706では、前記記録終了後に上書きされた画像データ量を計算する。ステップ707では、前記消去された画像データと前記計算されたデータ量に応じて、画像データを復元する。   In FIG. 7, when recording on the recording medium, overwriting is performed for each designated unit data amount. In step 706, the amount of image data overwritten after the end of recording is calculated. In step 707, the image data is restored in accordance with the erased image data and the calculated data amount.

また、前記記録中には、前記消去される画像データの末尾より単位データを順次上書きする。前記上書きされた画像データは、ステップ607の選択に応じて、連続データとしてデータが並び替えられる。前記並び替えられた情報は前記記録媒体に記録される。   During the recording, unit data is sequentially overwritten from the end of the erased image data. The overwritten image data is rearranged as continuous data according to the selection in step 607. The rearranged information is recorded on the recording medium.

以上のように、本実施形態によれば、ハードディスクの残容量が少なくなった場合に、ハードディスク中に記録された複数の映像ファイルの中から、自動消去の候補となるいくつかの映像ファイルを自動的に選び出す。そして、選び出された映像ファイルの代表的な画面をファイル名と共にリスト表示し、ユーザーが、表示された映像リストの中から自動的に消去されてもかまわないファイルを選択する。選択されたファイルは、その後記録を行っている最中に自動的に消去される。消去ファイルにデータが上書きされていなければ、ファイルを復元させる。   As described above, according to the present embodiment, when the remaining capacity of the hard disk decreases, several video files that are candidates for automatic erasure are automatically selected from a plurality of video files recorded on the hard disk. Pick out. Then, a representative screen of the selected video file is displayed in a list together with the file name, and the user selects a file that may be automatically deleted from the displayed video list. The selected file is automatically deleted during recording thereafter. If the erased file is not overwritten, restore the file.

ハードディスク(HDD)カムコーダーにおいて、ハードディスクの残りの容量が少なくなった場合でも、不必要な映像を自動消去することで記録を継続させることができる。その際、消去ファイルにデータが上書きされていなければファイルを復元する。これにより、ユーザが止むを得ず映像や番組を消去する場合に、必要な容量だけデータを消去するハードディスク記録装置を提供することが可能となる。   In a hard disk (HDD) camcorder, even when the remaining capacity of the hard disk decreases, recording can be continued by automatically erasing unnecessary video. At this time, if the erased file is not overwritten with data, the file is restored. As a result, it is possible to provide a hard disk recording device that erases data by a necessary capacity when a user inevitably erases a video or a program.

(第2の実施形態)
図9に、本発明の第2の実施形態によるカメラ一体型ハードディスクレコーダ(画像処理装置)のブロック図を示す。図9は、図1に対して、SDフォーマットコーデック回路112を追加したものである。
(Second Embodiment)
FIG. 9 shows a block diagram of a camera-integrated hard disk recorder (image processing apparatus) according to the second embodiment of the present invention. FIG. 9 is obtained by adding an SD format codec circuit 112 to FIG.

101はレンズから入力された光を電気的なデジタル映像信号に変換するカメラブロックである。102はカメラブロック101から出力されたデジタル映像信号を受けて、SDRAM103に書き込み、且つ同時にLCD110に対して出力を行う映像インターフェース回路である。103は前記デジタル映像信号を記憶(信号処理)するためのSDRAMである。104は前記デジタル信号をSDRAM103から読み出し、MPEG方式によって圧縮して再びSDRAM103に書き戻すMPEGコーデック回路である。112はMPEGコーデック回路104と同様に前記デジタル信号をSDRAM103から読み出し、SDフォーマットとして圧縮し、再びSDRAM103へ書き戻すSDフォーマットコーデック回路である。105はハードディスク、106はMPEG圧縮された映像データやSDフォーマットへ変換された映像データをハードディスク105に書き込むためのハードディスクインターフェース回路である。107はこれらのブロック全体を制御するCPUである。108はCPU107によって画面表示のビットマップ(Bitmap)パターン及び色の設定が書き込まれ、画像Mix回路109に出力することで様々なユーザーインターフェースを表示するBitmap表示回路である。109は前記Bitmap表示回路108から出力される文字やグラフィック情報と、映像インターフェース回路102から出力されるカメラ映像信号を混合(Mix)する画像Mix回路である。110は映像Mix回路109から出力された映像信号を表示するLCD、111はカメラの操作を行うための操作キーブロックである。   A camera block 101 converts light input from the lens into an electrical digital video signal. Reference numeral 102 denotes a video interface circuit that receives a digital video signal output from the camera block 101, writes it in the SDRAM 103, and outputs it to the LCD 110 at the same time. Reference numeral 103 denotes an SDRAM for storing (signal processing) the digital video signal. Reference numeral 104 denotes an MPEG codec circuit which reads the digital signal from the SDRAM 103, compresses it according to the MPEG system, and writes it back to the SDRAM 103 again. Similarly to the MPEG codec circuit 104, an SD format codec circuit 112 reads the digital signal from the SDRAM 103, compresses it as an SD format, and writes it back to the SDRAM 103 again. Reference numeral 105 denotes a hard disk, and reference numeral 106 denotes a hard disk interface circuit for writing MPEG-compressed video data or video data converted into the SD format to the hard disk 105. Reference numeral 107 denotes a CPU that controls the entire blocks. A bitmap display circuit 108 displays various user interfaces by writing a bitmap (bitmap) pattern and color setting of the screen display by the CPU 107 and outputting them to the image mix circuit 109. An image Mix circuit 109 mixes (mixes) characters and graphic information output from the Bitmap display circuit 108 and a camera video signal output from the video interface circuit 102. Reference numeral 110 denotes an LCD for displaying a video signal output from the video Mix circuit 109, and 111 denotes an operation key block for operating the camera.

図示はしないが、操作キーブロック111には、以下の操作キーなどがある。第1の操作キーは、カメラ/オフ(OFF)/再生の3ポジションを持つ電源スイッチである。第2の操作キーは、映像の記録/終了を行うためのスタート(Start)/ストップ(Stop)スイッチである。第3の操作キーは、ハードディスクに記録されている映像を再生するためのレコーダーキー群である。第4の操作キーは、GUI操作を行うための十字キーと確定キーである。第5の操作キーは、GUI操作の取り消しを行うための取り消しキーである。第6の操作キーは、メニュー設定画面を呼び出すためのメニューキーである。   Although not shown, the operation key block 111 includes the following operation keys. The first operation key is a power switch having three positions of camera / off (OFF) / playback. The second operation key is a start / stop switch for recording / ending video. The third operation key is a group of recorder keys for reproducing video recorded on the hard disk. The fourth operation key is a cross key and a confirmation key for performing a GUI operation. The fifth operation key is a cancel key for canceling the GUI operation. The sixth operation key is a menu key for calling a menu setting screen.

次に、SDRAM103のマッピング構造を図10を用いて説明する。図10は、図2に対して、SDフォーマットバッファ205を追加したものである。   Next, the mapping structure of the SDRAM 103 will be described with reference to FIG. FIG. 10 is obtained by adding an SD format buffer 205 to FIG.

201はビデオメモリで、前記映像インターフェース回路102によってカメラブロック101から出力されたデジタル映像信号(Y/Cr/Cb形式)が書き込まれる。このビデオメモリ201は2バンク構成となっている。ビデオメモリ201は、映像インターフェースブロック102からの書き込みと、次に説明するMPEGコーデック104やSDフォーマットコーデック112による読み出しが、それぞれ別のバンクをアクセスする構造となっている。202はMPEGバッファで、前記MPEGコーデック104が映像信号の圧縮を行うために使用する領域である。MPEG方式によるフレーム間圧縮は、本MPEGバッファ202を用いて3フレーム画像の単位で行われるが、ここで圧縮されたデータは次にVROバッファ204にストリームデータとして書き込まれる。VROバッファ204はリング状の構成となっており、書き込みアドレスが所定の番地に達すると再び元のアドレスに戻って前記データを上書きしていくように動作する。次に、VROバッファ204に書き込まれたストリームデータはハードディスクドライブインターフェース回路106によって順次読み出され、ハードディスクドライブ105に書き込まれることとなる。205はSDフォーマットバッファで、前記SDフォーマットコーデック112が映像信号の圧縮を行うための領域である。前記SDフォーマットによる圧縮変換は、ビデオセグメント単位で行われ、この圧縮された情報へパリティ情報等が付加された後、VROバッファ204へストリームデータとして書き込みが行われる。その後のハードディスクへの書き込み処理はMPEG時と同様である。   Reference numeral 201 denotes a video memory in which a digital video signal (Y / Cr / Cb format) output from the camera block 101 by the video interface circuit 102 is written. This video memory 201 has a two-bank configuration. The video memory 201 has a structure in which writing from the video interface block 102 and reading by the MPEG codec 104 and the SD format codec 112 described below access different banks. An MPEG buffer 202 is an area used by the MPEG codec 104 to compress a video signal. Interframe compression by the MPEG method is performed in units of three frame images using the MPEG buffer 202, and the data compressed here is then written as stream data in the VRO buffer 204. The VRO buffer 204 has a ring-like configuration, and when the write address reaches a predetermined address, the VRO buffer 204 returns to the original address and operates to overwrite the data. Next, the stream data written to the VRO buffer 204 is sequentially read by the hard disk drive interface circuit 106 and written to the hard disk drive 105. Reference numeral 205 denotes an SD format buffer, which is an area for the SD format codec 112 to compress the video signal. The compression conversion by the SD format is performed in units of video segments, and parity information or the like is added to the compressed information, and then written to the VRO buffer 204 as stream data. The subsequent writing process to the hard disk is the same as in MPEG.

203はIFOバッファで、後述するハードディスクの管理情報301及び自動消去ファイル情報307をCPU107が編集するための領域である。   An IFO buffer 203 is an area for the CPU 107 to edit hard disk management information 301 and automatic erasure file information 307, which will be described later.

図3に、ハードディスク105のデータ構造を示す。第1の実施形態と同様に、ハードディスク105には、管理情報301、映像データ302、及び自動消去ファイル情報307の3種類のデータが書き込まれている。3種類のデータ301、301、307は、それぞれVR_FILE.IFO、VR_FILE.VRO、AUTO_DEL.IFOと名づけられたファイル構成となっている。ファイル名が第1の実施形態と異なる。映像データファイル(VR_FILE.VRO)302には、撮影された映像データが前記説明したようにMPEG方式等にて圧縮され順次追記されて行く。このデータ構造を管理しているのが管理情報(VR_FILE.IFO)301である。管理情報301は、以下の情報などが記録されている。それぞれの映像データに対して、データ先頭のアドレス情報と映像名、撮影された日付情報、画像のリスト表示等に使用するための代表的な画面のアドレス情報、記録モード情報、記録フォーマット情報、ユーザーが映像を整理・格納するためのフォルダ情報である。自動消去ファイル情報(AUTO_DEL.IFO)307には、後述するユーザーインターフェース画面を用いてユーザーが選択した、自動消去候補映像に対応したストリーム番号が書き込まれている。この情報は、ハードディスクの残り容量が少なくなって自動消去が実行されるときに参照され、消去映像が決定されることとなる。   FIG. 3 shows the data structure of the hard disk 105. As in the first embodiment, the hard disk 105 has three types of data written therein: management information 301, video data 302, and automatic deletion file information 307. The three types of data 301, 301, and 307 are VR_FILE. IFO, VR_FILE. VRO, AUTO_DEL. The file structure is named IFO. The file name is different from that of the first embodiment. In the video data file (VR_FILE.VRO) 302, the captured video data is compressed by the MPEG method or the like as described above and sequentially added. Management information (VR_FILE.IFO) 301 manages this data structure. In the management information 301, the following information is recorded. For each video data, the address information and video name at the beginning of the data, the date information of the image taken, the address information of a typical screen for use in displaying a list of images, recording mode information, recording format information, user, etc. Is folder information for organizing and storing videos. In the automatic erasure file information (AUTO_DEL.IFO) 307, the stream number corresponding to the automatic erasure candidate video selected by the user using the user interface screen described later is written. This information is referred to when automatic deletion is executed when the remaining capacity of the hard disk is reduced, and an erasure video is determined.

図11は自動消去候補ファイルを選択するためのユーザーインターフェース画面である。この画面は前記したCPU107によって起動されたBitmap表示データ制御部108によって液晶画面110に表示される。   FIG. 11 is a user interface screen for selecting an automatic deletion candidate file. This screen is displayed on the liquid crystal screen 110 by the Bitmap display data control unit 108 activated by the CPU 107 described above.

1101は自動消去候補として選択するかしないかを示すマーカー部分である。1102はリストとして提示されているファイルの代表的な画像を表示しており、ファイル内容を確認しやすくしている。1103は各ファイルの記録モード(動画)を示しており、1104は記録フォーマット(SD)を示している。1105はファイル名(記録時間)、1106はリストのスクロールバー、1107はファイルを選択したりリストをスクロールするためのガイド表示である。1108は、次回記録可能時間合計を表示する。また、1109は現在選択されている記録モード、記録フォーマットを示している。リストの最初に提示されるファイルはこの記録モードと記録フォーマットに一致するファイルとなっており、各ファイルを消去することで得られる記録時間との互換が取り易くなっている。また、その他の記録モードや記録フォーマットのファイルは、リストを下へスクロールすると画面上に表示され、選択することができる。   Reference numeral 1101 denotes a marker portion indicating whether or not to select as an automatic deletion candidate. Reference numeral 1102 displays a representative image of a file presented as a list, making it easy to check the file contents. 1103 indicates the recording mode (moving image) of each file, and 1104 indicates the recording format (SD). Reference numeral 1105 denotes a file name (recording time), 1106 denotes a list scroll bar, and 1107 denotes a guide display for selecting a file or scrolling the list. 1108 displays the total recordable time next time. Reference numeral 1109 denotes the currently selected recording mode and recording format. The file presented at the beginning of the list is a file that matches the recording mode and the recording format, and is easily compatible with the recording time obtained by deleting each file. Files in other recording modes and recording formats are displayed on the screen when the list is scrolled down and can be selected.

図12は、図11で示されたユーザーインターフェース画面を表示するためのフローチャートを示している。   FIG. 12 shows a flowchart for displaying the user interface screen shown in FIG.

消去候補リストウィンドウ表示要求があると、上書き候補ファイルの検索を開始する。まず、現在の録画モード情報を取得し(ステップ1201)、さらに録画フォーマット情報も取得(ステップ1202)した後、ハードディスク内に記録されている画像ファイル情報を検索する(ステップ1203)。この検索結果が現在の録画モード、フォーマットと同じか否かを判定する(ステップ1204)。同じであった場合、上書き指定候補リストへそのファイルを追加し(ステップ1205)、ハードディスクへ記録されたファイルがそれで終わりかどうかを確認する(ステップ1207)。その後、他の記録ファイルの情報を再び取得する動作を繰り返す。一方、現在の記録モードやフォーマットと異なるファイルであった場合は、その他のファイルリストへファイル情報が追加される(ステップ1206)。こうして、全記録ファイルを上書き指定候補リストとその他のファイルリストへ分類し終わってから、上書き指定選択画面の描画処理を行い(ステップ1208)、処理を終了する。   When there is a deletion candidate list window display request, the search for an overwrite candidate file is started. First, the current recording mode information is acquired (step 1201), the recording format information is also acquired (step 1202), and the image file information recorded in the hard disk is searched (step 1203). It is determined whether or not the search result is the same as the current recording mode and format (step 1204). If they are the same, the file is added to the overwrite designation candidate list (step 1205), and it is confirmed whether or not the file recorded on the hard disk ends there (step 1207). Thereafter, the operation of acquiring the information of the other recording file is repeated. On the other hand, if the file is different from the current recording mode and format, the file information is added to the other file list (step 1206). In this way, after all the recording files are classified into the overwrite designation candidate list and the other file list, the drawing process of the overwrite designation selection screen is performed (step 1208), and the process is terminated.

上書き指定選択画面の描画処理を行う際には、先程上書き指定候補リストにリストアップされたファイルから順番に表示され、その後にその他のファイルリストへ分類されたファイルが表示される。   When drawing processing on the overwrite designation selection screen is performed, the files listed in the overwrite designation candidate list are displayed in order, and then the files classified into other file lists are displayed.

以上のように、本実施形態の画像処理装置は、複数の記録モードを用いて画像データを記録媒体へ記録することが可能である。ステップ1201で、現在の記録モードを検出する。次に、ステップ1203及び1204で、現在の記録モードと同じ記録モードで記録されている画像記録ファイルを前記記録媒体内から検索する。これらの処理は、図6のステップ605に対応する。次に、ステップ607(ステップ1208)で、前記検索されたファイルを消去ファイル候補として提示する。次に、ステップ607で、前記提示された消去ファイル候補から消去ファイルをユーザーインターフェースにより選択する。次に、ステップ614では、前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量が少なくなった場合、前記選択された消去ファイルを消去する。前記記録モードは、静止画を記録するモード、動画を記録するモード、記録する画像の画質を決定するモード、又は記録する画像のサイズを決定するモードである。前記記録媒体は、ハードディスク(HDD)又はデジタルビデオディスク(HDD))である。   As described above, the image processing apparatus of this embodiment can record image data on a recording medium using a plurality of recording modes. In step 1201, the current recording mode is detected. Next, in steps 1203 and 1204, an image recording file recorded in the same recording mode as the current recording mode is searched from the recording medium. These processes correspond to step 605 in FIG. Next, in step 607 (step 1208), the searched file is presented as an erasure file candidate. Next, in step 607, an erase file is selected from the presented erase file candidates by the user interface. Next, in step 614, if the remaining capacity of the recording medium is reduced during the process of recording new image data on the recording medium, the selected erasure file is erased. The recording mode is a mode for recording a still image, a mode for recording a moving image, a mode for determining the image quality of an image to be recorded, or a mode for determining the size of an image to be recorded. The recording medium is a hard disk (HDD) or a digital video disk (HDD).

また、本実施形態の画像処理装置は、複数の記録フォーマットを用いて画像データを記録媒体へ記録することが可能である。ステップ1202では、現在の記録フォーマットを検出する。次に、ステップ1203及び1204で、現在の記録フォーマットと同じ記録フォーマットで記録されている画像記録ファイルを前記記録媒体内から検索する。これらの処理は、図6のステップ605に対応する。次に、ステップ607(ステップ1208)で、前記検索されたファイルを消去ファイル候補として提示する。次に、ステップ607で、前記提示された消去ファイル候補から消去ファイルをユーザーインターフェースにより選択する。次に、ステップ614で、前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量が少なくなった場合、前記選択された消去ファイルを消去する。前記記録フォーマットは、ビデオ記録フォーマットであるSDフォーマット、又はビデオ記録フォーマットであるHDVフォーマットである。前記記録媒体は、ハードディスク(HDD)又はデジタルビデオディスク(HDD))である。   Further, the image processing apparatus according to the present embodiment can record image data on a recording medium using a plurality of recording formats. In step 1202, the current recording format is detected. Next, in steps 1203 and 1204, an image recording file recorded in the same recording format as the current recording format is searched from the recording medium. These processes correspond to step 605 in FIG. Next, in step 607 (step 1208), the searched file is presented as an erasure file candidate. Next, in step 607, an erase file is selected from the presented erase file candidates by the user interface. Next, in step 614, if the remaining capacity of the recording medium is reduced during the process of recording new image data on the recording medium, the selected erasure file is erased. The recording format is an SD format that is a video recording format or an HDV format that is a video recording format. The recording medium is a hard disk (HDD) or a digital video disk (HDD).

以上のように、本実施形態によれば、現在の記録モード、記録フォーマットと同じ記録様式で記録されている画像ファイルを消去候補ファイルとして優先的にリストアップする。これにより、そのファイルを消去することで得られる記録時間や静止画記録枚数などの互換を取り易くし、消去候補ファイルの選択を簡便にする。   As described above, according to the present embodiment, image files recorded in the same recording format as the current recording mode and recording format are preferentially listed as erasure candidate files. This facilitates the compatibility of the recording time and the number of recorded still images obtained by deleting the file, and simplifies the selection of the deletion candidate file.

ハードディスク(HDD)カムコーダーにおいて、ハードディスクの残りの容量が少なくなった場合でも、不必要な映像を自動消去することで記録を継続させる際に、予め消去候補ファイルを決定しておくことが考えられる。そのときに膨大な記録ファイルの中から簡便に消去候補ファイルを選択できる。   In a hard disk (HDD) camcorder, even when the remaining capacity of the hard disk is reduced, it is conceivable that an erasure candidate file is determined in advance when recording is continued by automatically erasing unnecessary video. At that time, an erasure candidate file can be easily selected from a large number of recorded files.

現在記録しようとしている記録モード、あるいは記録フォーマットと同じファイルを優先的にユーザーへ提示することで、上書き指定ファイルによって得られる記録時間、記録枚数の互換がとり易くなり、上書き指定ファイルの選択が簡易になる。   By preferentially presenting the same file as the recording mode or recording format you are currently recording to the user, it is easy to make compatible the recording time and number of recordings obtained by the overwriting specification file, and it is easy to select the overwriting specification file. become.

なお、上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

本発明の第1の実施形態によるカメラ一体型ハードディスクレコーダのブロック図である。1 is a block diagram of a camera-integrated hard disk recorder according to a first embodiment of the present invention. FIG. SDRAMの構造例を示す図である。It is a figure which shows the structural example of SDRAM. ハードディスクのデータ構造例を示す図である。It is a figure which shows the example of a data structure of a hard disk. メッセージウィンドウを示す図である。It is a figure which shows a message window. 自動消去候補選択ウィンドウを示す図である。It is a figure which shows an automatic deletion candidate selection window. 第1の実施形態のフローチャートである。It is a flowchart of a 1st embodiment. 単位データ消去のファイル復元のフローチャートである。It is a flowchart of file restoration of unit data erasure. ファイル復元選択ウィンドウを示す図である。It is a figure which shows a file restoration selection window. 本発明の第2の実施形態によるカメラ一体型ハードディスクレコーダのブロック図である。It is a block diagram of the camera integrated hard disk recorder by the 2nd Embodiment of this invention. SDRAMの構造例を示す図である。It is a figure which shows the structural example of SDRAM. 消去候補選択ウィンドウを示す図である。It is a figure which shows the deletion candidate selection window. 消去候補ウィンドウ生成処理を示すフローチャートである。It is a flowchart which shows an erasure candidate window generation process.

符号の説明Explanation of symbols

101 カメラ
102 映像インターフェース回路
103 SDRAM
104 MPEGコーデック回路
105 ハードディスクドライブ
106 ハードディスクドライブインターフェース
107 CPU
108 Bitmap表示回路
109 画像Mix回路
110 LCD
111 操作入力スイッチ
112 SDフォーマットコーデック回路
101 Camera 102 Video Interface Circuit 103 SDRAM
104 MPEG codec circuit 105 Hard disk drive 106 Hard disk drive interface 107 CPU
108 Bitmap display circuit 109 Image Mix circuit 110 LCD
111 Operation Input Switch 112 SD Format Codec Circuit

Claims (19)

複数の記録モードを用いて画像データを記録媒体へ記録することが可能な画像処理装置であって、
現在の記録モードを検出する検出手段と、
現在の記録モードと同じ記録モードで記録されている画像記録ファイルを前記記録媒体内から検索する検索手段と、
前記検索されたファイルを消去ファイル候補として提示する提示手段と、
前記提示された消去ファイル候補から消去ファイルを選択するユーザーインターフェースと、
前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量が少なくなった場合、前記選択された消去ファイルを消去する消去手段と
を有することを特徴とする画像処理装置。
An image processing apparatus capable of recording image data on a recording medium using a plurality of recording modes,
Detection means for detecting the current recording mode;
Search means for searching for an image recording file recorded in the same recording mode as the current recording mode from within the recording medium;
Presenting means for presenting the searched file as an erasure file candidate;
A user interface for selecting an erase file from the proposed erase file candidates;
An image processing apparatus comprising: an erasing unit for erasing the selected erasure file when the remaining capacity of the recording medium is reduced during the recording process of new image data on the recording medium.
前記記録モードのうち、少なくとも一つは静止画を記録するモードであることを特徴とする請求項1記載の画像処理装置。   The image processing apparatus according to claim 1, wherein at least one of the recording modes is a mode for recording a still image. 前記記録モードのうち、少なくとも一つは動画を記録するモードであることを特徴とする請求項1又は2記載の画像処理装置。   The image processing apparatus according to claim 1, wherein at least one of the recording modes is a mode for recording a moving image. 前記記録モードには記録する画像の画質を決定するモードが含まれることを特徴とする請求項1〜3のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the recording mode includes a mode for determining an image quality of an image to be recorded. 前記記録モードには記録する画像のサイズを決定するモードが含まれることを特徴とする請求項1〜4のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the recording mode includes a mode for determining a size of an image to be recorded. 前記記録媒体はハードディスクであることを特徴とする請求項1〜5のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the recording medium is a hard disk. 前記記録媒体はデジタルビデオディスクであることを特徴とする請求項1〜5のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the recording medium is a digital video disc. 複数の記録フォーマットを用いて画像データを記録媒体へ記録することが可能な画像処理装置であって、
現在の記録フォーマットを検出する検出手段と、
現在の記録フォーマットと同じ記録フォーマットで記録されている画像記録ファイルを前記記録媒体内から検索する検索手段と、
前記検索されたファイルを消去ファイル候補として提示する提示手段と、
前記提示された消去ファイル候補から消去ファイルを選択するユーザーインターフェースと、
前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量が少なくなった場合、前記選択された消去ファイルを消去する消去手段と
を有することを特徴とする画像処理装置。
An image processing apparatus capable of recording image data on a recording medium using a plurality of recording formats,
Detection means for detecting the current recording format;
Search means for searching for an image recording file recorded in the same recording format as the current recording format from within the recording medium;
Presenting means for presenting the searched file as an erasure file candidate;
A user interface for selecting an erase file from the proposed erase file candidates;
An image processing apparatus comprising: an erasing unit for erasing the selected erasure file when the remaining capacity of the recording medium is reduced during the recording process of new image data on the recording medium.
前記記録フォーマットには、ビデオ記録フォーマットであるSDフォーマットが含まれることを特徴とする請求項8記載の画像処理装置。   9. The image processing apparatus according to claim 8, wherein the recording format includes an SD format that is a video recording format. 前記記録フォーマットには、ビデオ記録フォーマットであるHDVフォーマットが含まれることを特徴とする請求項8又は9記載の画像処理装置。   10. The image processing apparatus according to claim 8, wherein the recording format includes an HDV format that is a video recording format. 前記記録媒体はハードディスクであることを特徴とする請求項8〜10のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 8, wherein the recording medium is a hard disk. 前記記録媒体はデジタルビデオディスクであることを特徴とする請求項8〜10のいずれか1項に記載の画像処理装置。   The image processing apparatus according to claim 8, wherein the recording medium is a digital video disc. 記録媒体に記録されている画像データの中から消去されてもかまわない画像データを選択する画像データ選択手段と、
前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量に応じて前記選択された画像データを消去する消去手段と、
前記記録処理終了後に、前記記録媒体中の前記消去した画像データの位置に新しい画像データが上書きされているかどうか判定する上書き判定手段と、
前記新しい画像データが上書きされていない場合は、前記消去した画像データを復元する復元手段と
を有することを特徴とする画像処理装置。
Image data selection means for selecting image data that may be erased from the image data recorded on the recording medium;
Erasing means for erasing the selected image data according to the remaining capacity of the recording medium during the recording process of new image data on the recording medium;
An overwrite determination means for determining whether new image data is overwritten at the position of the erased image data in the recording medium after the recording process is completed;
An image processing apparatus comprising: a restoring unit that restores the erased image data when the new image data is not overwritten.
前記記録媒体はハードディスクであり、前記画像データはファイル形式で記録されていることを特徴とする請求項13記載の画像処理装置。   The image processing apparatus according to claim 13, wherein the recording medium is a hard disk, and the image data is recorded in a file format. さらに、前記記録媒体に記録する際に、指定された単位データ量ごとに上書きする単位データ量上書き手段と、
前記記録終了後に上書きされた画像データ量を計算する上書きデータ計算手段とを有し、
前記復元手段は、前記消去手段により消去された画像データと前記上書きデータ計算手段により計算されたデータ量に応じて、画像データを復元することを特徴とする請求項13又は14記載の画像処理装置。
Furthermore, when recording on the recording medium, unit data amount overwriting means for overwriting for each specified unit data amount,
Overwriting data calculation means for calculating the amount of image data overwritten after the recording is completed,
15. The image processing apparatus according to claim 13, wherein the restoration unit restores the image data in accordance with the image data erased by the erasing unit and the data amount calculated by the overwrite data calculation unit. .
前記画像データ選択手段は、
前記記録媒体中に記録された複数の画像データの中から消去の候補となる画像データを選び出す選択手段と、
前記選び出された画像データを表示する表示手段と、
前記記録媒体の残容量が少なくなった場合に、前記表示手段により表示された画像データの中から消去されてもかまわないデータを選択するためのユーザーインターフェースとを有することを特徴とする請求項13〜15のいずれか1項に記載の画像処理装置。
The image data selection means includes
Selecting means for selecting image data that is a candidate for erasure from among a plurality of image data recorded in the recording medium;
Display means for displaying the selected image data;
14. A user interface for selecting data that may be deleted from the image data displayed by the display means when the remaining capacity of the recording medium is reduced. The image processing apparatus according to any one of -15.
複数の記録モードを用いて画像データを記録媒体へ記録することが可能な画像処理方法であって、
現在の記録モードを検出する検出ステップと、
現在の記録モードと同じ記録モードで記録されている画像記録ファイルを前記記録媒体内から検索する検索ステップと、
前記検索されたファイルを消去ファイル候補として提示する提示ステップと、
前記提示された消去ファイル候補から消去ファイルをユーザーインターフェースにより選択する選択ステップと、
前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量が少なくなった場合、前記選択された消去ファイルを消去する消去ステップと
を有することを特徴とする画像処理方法。
An image processing method capable of recording image data on a recording medium using a plurality of recording modes,
A detection step for detecting the current recording mode;
A search step for searching an image recording file recorded in the same recording mode as the current recording mode from within the recording medium;
A presenting step of presenting the searched file as an erasure file candidate;
A selection step of selecting an erase file from the presented erase file candidates by a user interface;
An image processing method comprising: an erasing step of erasing the selected erasure file when the remaining capacity of the recording medium decreases during recording processing of new image data on the recording medium.
複数の記録フォーマットを用いて画像データを記録媒体へ記録することが可能な画像処理方法であって、
現在の記録フォーマットを検出する検出ステップと、
現在の記録フォーマットと同じ記録フォーマットで記録されている画像記録ファイルを前記記録媒体内から検索する検索ステップと、
前記検索されたファイルを消去ファイル候補として提示する提示ステップと、
前記提示された消去ファイル候補から消去ファイルをユーザーインターフェースにより選択する選択ステップと、
前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量が少なくなった場合、前記選択された消去ファイルを消去する消去ステップと
を有することを特徴とする画像処理方法。
An image processing method capable of recording image data on a recording medium using a plurality of recording formats,
A detection step for detecting the current recording format;
A search step for searching an image recording file recorded in the same recording format as the current recording format from within the recording medium;
A presenting step of presenting the searched file as an erasure file candidate;
A selection step of selecting an erase file from the presented erase file candidates by a user interface;
An image processing method comprising: an erasing step of erasing the selected erasure file when the remaining capacity of the recording medium decreases during recording processing of new image data on the recording medium.
記録媒体に記録されている画像データの中から消去されてもかまわない画像データを選択する画像データ選択ステップと、
前記記録媒体に対して新しい画像データを記録処理中に前記記録媒体の残容量に応じて前記選択された画像データを消去する消去ステップと、
前記記録処理終了後に、前記記録媒体中の前記消去した画像データの位置に新しい画像データが上書きされているかどうか判定する上書き判定ステップと、
前記新しい画像データが上書きされていない場合は、前記消去した画像データを復元する復元ステップと
を有することを特徴とする画像処理方法。
An image data selection step for selecting image data that may be erased from the image data recorded on the recording medium;
An erasing step of erasing the selected image data according to a remaining capacity of the recording medium during a process of recording new image data on the recording medium;
An overwrite determination step for determining whether new image data is overwritten at the position of the erased image data in the recording medium after the recording process is completed;
An image processing method comprising: a restoring step of restoring the erased image data when the new image data is not overwritten.
JP2005359482A 2005-12-13 2005-12-13 Image processor and image processing method Pending JP2007164894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005359482A JP2007164894A (en) 2005-12-13 2005-12-13 Image processor and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005359482A JP2007164894A (en) 2005-12-13 2005-12-13 Image processor and image processing method

Publications (1)

Publication Number Publication Date
JP2007164894A true JP2007164894A (en) 2007-06-28

Family

ID=38247631

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005359482A Pending JP2007164894A (en) 2005-12-13 2005-12-13 Image processor and image processing method

Country Status (1)

Country Link
JP (1) JP2007164894A (en)

Similar Documents

Publication Publication Date Title
US8437623B2 (en) Recording apparatus and method
US20040008970A1 (en) Enhanced bookmarks for digital video playback
KR20070039469A (en) Image information recording device and image information display device
JP2006025007A (en) Image processor and image processing program
JP2004062957A (en) Method and device for recording, method and device for reproducing, and method and device for erasing
JP2012065087A (en) Video recording and reproducing apparatus, recording and reproducing method of the same, program of the same, and memory storing program
JP5814739B2 (en) Recording device
JP2008010074A (en) Information recording and reproducing device, and information recording and reproducing method
JP2005341391A (en) Image-reproducing device and method, and program
US20080166104A1 (en) Information recording and reproducing apparatus
JP5762014B2 (en) REPRODUCTION DEVICE AND REPRODUCTION DEVICE CONTROL METHOD
JP2006066015A (en) Picture information recording device and picture information display device
JP5556828B2 (en) Information recording / reproducing apparatus, information recording / reproducing method, and program
JP2008077695A (en) Video sound recording and reproducing device
JP2007164894A (en) Image processor and image processing method
JP4406094B2 (en) Image reproducing apparatus and image recording apparatus
JP2005158151A (en) Information recording and reproducing device
JP2007074433A (en) Image sensing device
JP4957498B2 (en) Recording apparatus, recording method, and program
JP4418737B2 (en) Recording device
JP5448671B2 (en) Image playback device
JP5258419B2 (en) Image processing device
JP2008244659A (en) Video erasing method
KR100639297B1 (en) Hard disk search Digital Video Recorder apparatus and method using by logical block address
JP2005149544A (en) Data recording and reproducing device