JPH10257422A - Image recording and reproducing device - Google Patents

Image recording and reproducing device

Info

Publication number
JPH10257422A
JPH10257422A JP5942397A JP5942397A JPH10257422A JP H10257422 A JPH10257422 A JP H10257422A JP 5942397 A JP5942397 A JP 5942397A JP 5942397 A JP5942397 A JP 5942397A JP H10257422 A JPH10257422 A JP H10257422A
Authority
JP
Japan
Prior art keywords
circuit
image
recording
data
semiconductor memory
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.)
Withdrawn
Application number
JP5942397A
Other languages
Japanese (ja)
Inventor
Takuma Mikawa
拓馬 三河
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 JP5942397A priority Critical patent/JPH10257422A/en
Publication of JPH10257422A publication Critical patent/JPH10257422A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

PROBLEM TO BE SOLVED: To expand an idle capacity even during image recording. SOLUTION: An inputted moving image is compressed and encoded by a block circuit 10, an orthogonal transforming circuit 12, a quantizing circuit 16, and a variable length encoding circuit 20, and the result is written through a formatting circuit 22 into a semiconductor memory 24. When the idle capacity of memory 24 is reduced, recorded image data are read out and restored up to orthogonal transform coefficient data by a variable length decoding circuit 30 and an inverse quantizing circuit 32. A quantizing step control circuit 18 sets the quantizing step of recompressibility to the quantizing circuit 16. A switch 14 is connected to a contact (b) during idle time in the recording processing of the input image. The quantizing circuit 16 quantizes both the input image and the recompressed image through the same quantizing step.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像を記録再生す
る画像記録再生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recording and reproducing apparatus for recording and reproducing an image.

【0002】[0002]

【従来の技術】従来の画像記録再生装置の記録媒体は、
一般的には、磁気テープであり、画像圧縮技術と記録容
量の増大により、ハードディスクも使用されるようにな
ってきている。また、光ディスクや光磁気ディスク、更
には半導体メモリも、記録容量が増大してきており、画
像情報、特に動画像の記録媒体としての利用が検討され
るようになってきている。
2. Description of the Related Art A recording medium of a conventional image recording / reproducing apparatus is:
Generally, a magnetic tape is used, and a hard disk is also used due to an increase in image compression technology and an increase in recording capacity. Also, the recording capacity of optical disks, magneto-optical disks, and even semiconductor memories has been increasing, and their use as recording media for image information, particularly moving images, has been studied.

【0003】半導体メモリは、電力消費量が少ないこと
や小型化が容易なことから、携帯機器、例えば、ビデオ
・カメラへの利用が期待されている。半導体メモリは他
に、アクセスが高速であること、ランダム・アクセスが
可能であること、振動に強い、といった多くの利点があ
る。
[0003] Semiconductor memories are expected to be used in portable devices, for example, video cameras because of their low power consumption and easy downsizing. Semiconductor memories have many other advantages, such as high speed access, random access, and resistance to vibration.

【0004】画像圧縮技術には種々あるが、直交変換、
量子化及び可変長符号化を併用するものが、周知であ
り、JPEG方式及びMPEG方式などとして知られて
いる。図3は、直交変換、量子化及び可変長符号化を併
用する画像圧縮技術を使用する画像記録再生装置の概略
構成ブロック図を示す。
There are various image compression techniques.
A method using both quantization and variable-length coding is well known, and is known as a JPEG method, an MPEG method, or the like. FIG. 3 is a schematic block diagram of an image recording / reproducing apparatus that uses an image compression technique that uses orthogonal transform, quantization, and variable-length coding in combination.

【0005】ブロック化回路110は、入力する画像デ
ータを8×8画素又は16×16画素などのブロックに
分割し、ブロック単位で出力する。直交変換回路112
は、ブロック化回路110から出力される画像データを
所定のブロック単位で直交変換(例えば、離散コサイン
変換)し、量子化回路114は、直交変換回路112の
出力を量子化する。量子化ステップ制御回路116は、
直交変換回路112の出力に従い量子化回路114の量
子化ステップを制御する。これにより、圧縮率を調整で
きる。可変長符号化回路118は量子化回路114の出
力データを可変長符号化し、符号データをフォーマット
化回路120に供給する。フォーマット化回路120に
は更に、量子化ステップ制御回路116から量子化回路
114で適用した量子化ステップに関する情報が印加さ
れ、フォーマット化回路120はこれらの入力情報を所
定のフォーマットに整形して、半導体メモリ122に書
き込む。
The blocking circuit 110 divides input image data into blocks of 8 × 8 pixels or 16 × 16 pixels, and outputs the blocks in units of blocks. Orthogonal transform circuit 112
Performs orthogonal transformation (for example, discrete cosine transformation) on image data output from the blocking circuit 110 in units of predetermined blocks, and a quantization circuit 114 quantizes the output of the orthogonal transformation circuit 112. The quantization step control circuit 116
The quantization step of the quantization circuit 114 is controlled according to the output of the orthogonal transformation circuit 112. Thereby, the compression ratio can be adjusted. The variable length coding circuit 118 performs variable length coding on the output data of the quantization circuit 114 and supplies the code data to the formatting circuit 120. The formatting circuit 120 is further supplied with information on the quantization step applied by the quantization circuit 114 from the quantization step control circuit 116. The formatting circuit 120 shapes the input information into a predetermined format, and Write to memory 122.

【0006】データ分離回路124は半導体メモリ12
2から読み出されたデータから符号データと量子化ステ
ップに関する情報を取り出し、符号データを可変長復号
化回路126に、量子化ステップに関する情報を逆量子
化回路128に印加する。可変長復号化回路126はデ
ータ分離回路124からの符号データを可変長復号化し
て逆量子化回路128に印加する。逆量子化回路128
は、データ分離回路124からの量子化ステップに関す
る情報に従い、可変長復号化回路126の出力データを
逆量子化する。逆直交変換回路130は逆量子化回路1
28の出力を逆直交変換し、ラスタスキャン処理回路1
32は逆直交変換回路130の出力をラスタ・データに
変換する。
The data separation circuit 124 is a semiconductor memory 12
The code data and the information about the quantization step are extracted from the data read out from the data 2, and the code data is applied to the variable length decoding circuit 126 and the information about the quantization step is applied to the inverse quantization circuit 128. The variable length decoding circuit 126 performs variable length decoding on the code data from the data separation circuit 124 and applies the decoded data to the inverse quantization circuit 128. Inverse quantization circuit 128
Dequantizes the output data of the variable length decoding circuit 126 according to the information on the quantization step from the data separation circuit 124. The inverse orthogonal transform circuit 130 is an inverse quantization circuit 1
Orthogonally transforms the output of the raster-scan processing circuit 28 into a raster scan processing circuit 1
32 converts the output of the inverse orthogonal transform circuit 130 into raster data.

【0007】[0007]

【発明が解決しようとする課題】しかし、半導体メモリ
は記録容量が磁気テープに比べると格段に少ないので、
動画を記録できる時間(又は、記録できる静止画像数)
が磁気テープに比べて非常に短い(少ない)。この結
果、記録媒体を利用しきって、記録媒体を交換しなけれ
ばならない周期も、磁気テープに比べて格段に短くな
る。
However, since the recording capacity of a semiconductor memory is much smaller than that of a magnetic tape,
Movie recording time (or number of recordable still images)
Is much shorter (less) than magnetic tape. As a result, the period in which the recording medium has to be used and the recording medium must be replaced is significantly shorter than that of the magnetic tape.

【0008】勿論、手元に新しい記録媒体がない等の理
由で記録媒体を交換できないときには、既に記録した画
像を消して上書きするか、又は新たな画像の記録を諦め
なければならない。
Of course, if the recording medium cannot be replaced because there is no new recording medium at hand, the already recorded image must be erased and overwritten, or the recording of a new image must be abandoned.

【0009】本発明は、このような問題点を解決する画
像記録再生装置を提示することを目的とする。
An object of the present invention is to provide an image recording / reproducing apparatus which solves such a problem.

【0010】即ち、本発明は、記録媒体の交換周期を長
くできる画像記録再生装置を提示することを目的とす
る。
[0010] That is, an object of the present invention is to provide an image recording / reproducing apparatus which can lengthen the exchange period of a recording medium.

【0011】本発明はまた、1つの記録媒体をより長期
に使用できる画像記録再生装置を提示することを目的と
する。
Another object of the present invention is to provide an image recording / reproducing apparatus which can use one recording medium for a longer period of time.

【0012】[0012]

【課題を解決するための手段】本発明では、画像の記録
中に記録媒体の残量が不足する場合、動画像の記録を中
断することなく、既に記録された画像データを復号し、
異なる圧縮特性で再符号化を行ない、同一の記録媒体に
再記録する。これにより、使用者に余分な手間をかけさ
せずに、記録媒体の残量を増加させることができる。
According to the present invention, when the remaining amount of a recording medium becomes insufficient during recording of an image, the already recorded image data is decoded without interrupting the recording of the moving image.
Re-encoding is performed with different compression characteristics and re-recorded on the same recording medium. Thus, the remaining amount of the recording medium can be increased without requiring the user to take extra time.

【0013】[0013]

【発明の実施の形態】以下、図面を参照して、本発明の
実施の形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0014】図1は、本発明の一実施例の概略構成ブロ
ック図を示す。10は入力する画像データを8×8画素
又は16×16画素などのブロックに分割し、ブロック
単位で出力するブロック化回路、12は、ブロック化回
路10から出力される画像データを所定のブロック単位
で直交変換(例えば、離散コサイン変換)する直交変換
回路、14は、画像記録時にはa接点(直交変換回路1
2の出力)を選択し、再圧縮時にはb接点を選択するス
イッチ、16はスイッチ14により選択された直交変換
データを量子化する量子化回路、18は、スイッチ14
により選択された直交変換データに従い量子化回路16
の量子化ステップを制御する量子化ステップ制御回路、
20は量子化回路16の出力データを可変長符号化する
可変長符号化回路、22は、可変長符号化回路20から
の符号データと量子化ステップ制御回路18からの、量
子化回路114で適用した量子化ステップに関する情報
を半導体メモリ24の記録フォーマットに整形するフォ
ーマット化回路、26は半導体メモリ24のデータ書き
込み及び読み出しを制御するメモリ制御回路である。
FIG. 1 is a schematic block diagram showing an embodiment of the present invention. Reference numeral 10 denotes a blocking circuit that divides input image data into blocks of 8 × 8 pixels or 16 × 16 pixels and outputs the blocks in units of blocks. An orthogonal transformation circuit 14 that performs an orthogonal transformation (for example, a discrete cosine transformation) at a contact point a (orthogonal transformation circuit 1) during image recording.
2) and a switch for selecting the b-contact at the time of recompression, 16 is a quantization circuit for quantizing the orthogonal transform data selected by the switch 14, and 18 is a switch 14
Quantization circuit 16 in accordance with the orthogonal transformation data selected by
Quantization step control circuit for controlling the quantization step of
Reference numeral 20 denotes a variable length coding circuit for performing variable length coding on output data of the quantization circuit 16, and reference numeral 22 denotes a code data from the variable length coding circuit 20 and a quantization circuit 114 from the quantization step control circuit 18. A formatting circuit for shaping the information on the quantized step into a recording format of the semiconductor memory 24, and a memory control circuit 26 for controlling data writing and reading of the semiconductor memory 24.

【0015】28は半導体メモリ24から読み出された
データから、符号データと量子化ステップに関する情報
を分離するデータ分離回路、30は、データ分離回路2
8からの符号データを可変長復号化する可変長復号化回
路、32は、データ分離回路からの量子化ステップに関
する情報に従い、可変長復号化回路30の出力データを
逆量子化する逆量子化回路、34は、逆量子化回路32
の出力を記録時にはa接点に接続し、再圧縮時にはb接
点に接続するスイッチ、36は、スイッチ34のa接点
からのデータを逆直交変換する逆直交変換回路、38
は、逆直交変換回路36の出力データをラスタ順に変換
するラスタ・スキャン処理回路である。
Reference numeral 28 denotes a data separation circuit for separating code data and information relating to a quantization step from data read from the semiconductor memory 24, and 30 denotes a data separation circuit 2
A variable-length decoding circuit for performing variable-length decoding on the code data from No. 8 and an inverse quantization circuit for performing inverse quantization on the output data of the variable-length decoding circuit 30 in accordance with information on the quantization step from the data separation circuit; , 34 are the inverse quantization circuit 32
Is connected to the contact a during recording, and connected to the contact b during recompression. 36 is an inverse orthogonal transform circuit for performing inverse orthogonal transform of data from the contact a of the switch 34;
Is a raster scan processing circuit for converting the output data of the inverse orthogonal transform circuit 36 in raster order.

【0016】40は全体、特にスイッチ14,34、量
子化ステップ制御回路18及びメモリ制御回路26を制
御するシステム制御回路である。
Reference numeral 40 denotes a system control circuit for controlling the whole, especially the switches 14, 34, the quantization step control circuit 18 and the memory control circuit 26.

【0017】スイッチ34のb接点はスイッチ14のb
接点に接続する。データ分離回路28から出力される記
録時の量子化ステップに関する情報は、量子化ステップ
制御回路18にも供給される。
The b contact of the switch 34 is connected to the b
Connect to contacts. Information on the quantization step at the time of recording output from the data separation circuit 28 is also supplied to the quantization step control circuit 18.

【0018】次に、本実施例の画像記録時の動作を説明
する。このとき、システム制御回路40はスイッチ14
をa接点に接続する。ブロック化回路10は、入力する
1フレームの画像データを8×8画素の2次元ブロック
に分割し、各ブロックごとに直交変換回路12に出力す
る。直交変換回路12はブロック化回路10からの画像
データを直交変換し、その直交変換係数データはスイッ
チ14を介して量子化回路16及び量子化ステップ制御
回路18に印加される。量子化ステップ制御回路18
は、スイッチ14からの直交変換係数データのレンジに
従い、量子化回路16で適用すべき量子化ステップを決
定し、量子化回路16は、量子化ステップ制御回路18
で決定された量子化ステップに従いスイッチ14からの
直交変換係数データを量子化する。可変長符号化回路2
0は量子化回路16の出力データを可変長符号化する。
Next, the operation of this embodiment when recording an image will be described. At this time, the system control circuit 40
To the a contact. The blocking circuit 10 divides the input image data of one frame into two-dimensional blocks of 8 × 8 pixels, and outputs the two-dimensional blocks to the orthogonal transformation circuit 12 for each block. The orthogonal transformation circuit 12 orthogonally transforms the image data from the blocking circuit 10, and the orthogonal transformation coefficient data is applied to the quantization circuit 16 and the quantization step control circuit 18 via the switch 14. Quantization step control circuit 18
Determines the quantization step to be applied by the quantization circuit 16 in accordance with the range of the orthogonal transform coefficient data from the switch 14, and the quantization circuit 16
Quantizes the orthogonal transform coefficient data from the switch 14 in accordance with the quantization step determined in (1). Variable length coding circuit 2
0 performs variable length coding on the output data of the quantization circuit 16.

【0019】フォーマット化回路22は、可変長符号化
回路20からの符号データと、量子化ステップ制御回路
18からの量子化ステップに関する情報を所定の記録フ
ォーマットに整形して、半導体メモリ24に書き込む。
メモリ制御回路26が、半導体メモリ24の書き込みア
ドレスなどを制御する。半導体メモリ24では、画像デ
ータはメモリ制御回路26によって1フレームごとに管
理されている。
The formatting circuit 22 shapes the code data from the variable length coding circuit 20 and the information on the quantization step from the quantization step control circuit 18 into a predetermined recording format, and writes it into the semiconductor memory 24.
The memory control circuit 26 controls a write address of the semiconductor memory 24 and the like. In the semiconductor memory 24, the image data is managed by the memory control circuit 26 for each frame.

【0020】半導体メモリ24に記録された画像を読み
出して再生する動作は、従来例と同じである。この再生
モードでは、スイッチ34はa接点に接続する。
The operation of reading and reproducing an image recorded in the semiconductor memory 24 is the same as in the conventional example. In this reproduction mode, the switch 34 is connected to the contact a.

【0021】半導体メモリ24に記録される1フレーム
のデータの構造を図4に示す。1フレームのデータは、
前フレームのデータのアドレス、次フレームのデータの
アドレス、及び画像データからなる。次フレーム及び前
フレームのデータへのアドレス(又はポインタ)を持つ
ことにより、各フレームのデータを順番に連続に半導体
メモリ24に書き込む必要が無くなる。このような技術
自体は周知である。
FIG. 4 shows the structure of one frame of data recorded in the semiconductor memory 24. One frame of data is
It consists of the address of the data of the previous frame, the address of the data of the next frame, and the image data. By having addresses (or pointers) to the data of the next frame and the previous frame, it is not necessary to write the data of each frame to the semiconductor memory 24 in sequence. Such techniques are known per se.

【0022】システム制御回路40は、記録、再生、検
索及び自動圧縮等の命令が入力されると、それに応じて
スイッチ14,34、量子化ステップ制御回路18及び
メモリ制御回路26を制御する。システム制御回路40
はまた、メモリ制御回路26を通して半導体メモリ24
の残量を常に監視している。
The system control circuit 40 controls the switches 14, 34, the quantization step control circuit 18 and the memory control circuit 26 in response to commands such as recording, reproduction, retrieval and automatic compression. System control circuit 40
Is also transmitted through the memory control circuit 26 to the semiconductor memory 24.
Is constantly monitoring the remaining amount.

【0023】システム制御回路40は、自動圧縮命令が
設定又は入力されている場合、半導体メモリ24の残量
が設定量以下になると、記録済みの画像データを自動的
に再圧縮する。自動圧縮命令が設定されていない場合、
システム制御回路40は、半導体メモリ24の残量に関
わらず、再圧縮処理を自動的には実行しない。自動圧縮
命令によって、既に記録された画像データの再圧縮処理
が行なわれる場合、画像記録処理と再圧縮処理は、シス
テム制御回路40によって時分割で実行される。
When the automatic compression command is set or input, the system control circuit 40 automatically recompresses the recorded image data when the remaining amount of the semiconductor memory 24 becomes equal to or less than the set amount. If the automatic compression instruction is not set,
The system control circuit 40 does not automatically execute the recompression processing regardless of the remaining amount of the semiconductor memory 24. When the recompression processing of the already recorded image data is performed by the automatic compression instruction, the image recording processing and the recompression processing are executed by the system control circuit 40 in a time division manner.

【0024】動画像の記録中に半導体メモリ24の残量
が少なくなり、画像の記録を継続しつつ、半導体メモリ
24の記録画像を再圧縮する場合の動作を詳細に説明す
る。
The operation in the case where the remaining amount of the semiconductor memory 24 becomes small during recording of a moving image and the recording image of the semiconductor memory 24 is re-compressed while continuing to record the image will be described in detail.

【0025】システム制御回路40は、メモリ制御回路
26を介して半導体メモリ24の残容量を常時、監視し
ており、半導体メモリ24の残容量が、例えば全体の3
割に減少したとき、量子化ステップ制御回路18及びス
イッチ14,34を再圧縮モードにセットする。入力画
像の記録処理が実行されていないときには、記録画像の
再圧縮処理が優先実行され、入力画像の記録処理が実行
されているときには、入力画像の記録処理の合間をぬっ
て、記録画像の再圧縮処理を実行する。
The system control circuit 40 constantly monitors the remaining capacity of the semiconductor memory 24 via the memory control circuit 26, and the remaining capacity of the semiconductor memory 24 is, for example, 3
When the number decreases, the quantization step control circuit 18 and the switches 14 and 34 are set to the recompression mode. When the recording process of the input image is not executed, the recompression process of the recorded image is preferentially executed. When the recording process of the input image is executed, the recompression process of the recorded image is skipped between the recording processes of the input image. Perform compression processing.

【0026】量子化ステップ制御回路18は、再圧縮モ
ードでは、現在記録しようとしている画像の量子化ステ
ップの値を通常の記録のときより大きくし、記録画像の
再圧縮の際の圧縮率と同程度の圧縮率になるようにす
る。
In the recompression mode, the quantization step control circuit 18 increases the value of the quantization step of the image to be recorded at the time of normal recording, and sets the same value as the compression ratio at the time of recompression of the recorded image. The compression ratio should be about the same.

【0027】再圧縮モードに入ると、システム制御回路
40はメモリ制御回路26に指令して、半導体メモリ2
4から記録画像データを読み出させる。データ分離回路
28は、半導体メモリ24から読み出されたデータから
量子化ステップに関する情報と符号データを分離し、前
者を量子化ステップ制御回路18及び逆量子化回路32
に印加し、後者を可変長復号化回路30に印加する。可
変長復号化回路30はデータ分離回路28からの符号デ
ータを可変長復号化し、逆量子化回路32は、データ分
離回路28からの記録時の量子化ステップに関する情報
を参照して、可変長復号化回路30の出力を逆量子化す
る。逆量子化回路32の出力は、直交変換係数データに
なっている。
In the recompression mode, the system control circuit 40 instructs the memory control circuit 26 to
4 to read the recorded image data. The data separation circuit 28 separates information relating to the quantization step and code data from the data read from the semiconductor memory 24, and replaces the former with the quantization step control circuit 18 and the inverse quantization circuit 32.
And the latter is applied to the variable length decoding circuit 30. The variable length decoding circuit 30 performs variable length decoding on the code data from the data separation circuit 28, and the inverse quantization circuit 32 refers to the information on the quantization step at the time of recording from the data separation circuit 28 and performs variable length decoding. The output of the quantization circuit 30 is inversely quantized. The output of the inverse quantization circuit 32 is orthogonal transform coefficient data.

【0028】半導体メモリ24から読み出された1フレ
ームの記録画像データが直交変換係数データまで再生さ
れると、メモリ制御回路26は、読み出された記録画像
が記録されていた半導体メモリ24の記録領域のデータ
を消去して、空き領域とする。
When one frame of recorded image data read from the semiconductor memory 24 is reproduced up to the orthogonal transform coefficient data, the memory control circuit 26 records the read recorded image on the semiconductor memory 24 where the recorded image was recorded. The data in the area is deleted to make it a free area.

【0029】逆量子化回路32の出力はスイッチ34を
介してスイッチ14のb接点に印加され、スイッチ14
がb接点に接続している間に、量子化回路16及び量子
化ステップ制御回路18に供給される。
The output of the inverse quantization circuit 32 is applied to the contact "b" of the switch 14 via the switch 34.
Is supplied to the quantization circuit 16 and the quantization step control circuit 18 during the connection to the b contact.

【0030】量子化ステップ制御回路18は、再圧縮す
べきデータに対しては、データ分離回路28から供給さ
れる量子化ステップに関する情報を参照し、最初の記録
時の量子化ステップよりも大きな量子化ステップを適用
するように量子化回路16を制御する。例えば、量子化
ステップ制御回路18は、データ分離回路28から供給
される量子化ステップに関する情報で指定される量子化
ステップの2倍の量子化ステップを量子化回路16に設
定する。これにより、圧縮率を大幅に高め、半導体メモ
リ24の占有容量を削減できる。
For the data to be recompressed, the quantization step control circuit 18 refers to the information on the quantization step supplied from the data separation circuit 28, and determines a larger quantization step than the quantization step in the first recording. The quantization circuit 16 is controlled to apply the quantization step. For example, the quantization step control circuit 18 sets a quantization step twice as large as the quantization step specified by the information on the quantization step supplied from the data separation circuit 28 in the quantization circuit 16. As a result, the compression ratio can be greatly increased, and the occupied capacity of the semiconductor memory 24 can be reduced.

【0031】量子化ステップ制御回路18はまた、再圧
縮の圧縮率と、現在、記録処理している画像の圧縮率と
を同じにするために、通常よりも大きな量子化ステップ
(例えば、通常の2倍の量子化ステップ)を適用する。
勿論、本発明は、量子化ステップを2倍にする場合に限
定されず、量子化ステップを大きくするのであれば、2
倍以外でも良い。
The quantization step control circuit 18 also sets a larger quantization step (for example, a normal quantization step) than the normal one in order to make the compression rate of the recompression equal to the compression rate of the image currently being recorded. 2 times quantization step) is applied.
Of course, the present invention is not limited to the case where the quantization step is doubled.
Other than double may be used.

【0032】現在記録処理している画像データと、再圧
縮される画像データは、このように時分割処理で、量子
化回路16により量子化され、且つ、可変長符号化回路
20及びフォーマット化回路22を介して半導体メモリ
24に書き込まれる。
The image data currently being recorded and the image data to be recompressed are quantized by the quantization circuit 16 in the time-division processing as described above, and the variable-length encoding circuit 20 and the formatting circuit The data is written to the semiconductor memory 24 through the memory 22.

【0033】再圧縮処理によって半導体メモリ24の空
き容量が増加する様子の概念図を図5に示す。図5
(1)は再圧縮前、同(2)は再圧縮後である。Aは再
圧縮処理前の画像データ、Bは再圧縮処理後の画像デー
タである。再圧縮処理によって、データ量が減り、空き
容量が増加している。Cは、再圧縮処理と並行して行な
われた記録処理によって記録された画像データである。
画像データCの圧縮率は、再圧縮された画像データBの
圧縮率と同じである。
FIG. 5 is a conceptual diagram showing how the free space of the semiconductor memory 24 is increased by the recompression process. FIG.
(1) is before recompression, and (2) is after recompression. A is the image data before the recompression processing, and B is the image data after the recompression processing. Due to the recompression process, the data amount is reduced, and the free space is increased. C is image data recorded by a recording process performed in parallel with the recompression process.
The compression ratio of the image data C is the same as the compression ratio of the recompressed image data B.

【0034】画像データは、1フレーム単位又はこれよ
り小さい単位でメモリ制御回路26によって管理されて
いるので、画像データB,Cが半導体メモリ24上で連
続して配置されている必要は無い。
Since the image data is managed by the memory control circuit 26 in units of one frame or smaller, it is not necessary for the image data B and C to be continuously arranged on the semiconductor memory 24.

【0035】このようにして入力画像の記録処理中に
も、既に記録されている画像をより高い圧縮率で再圧縮
して同一記録媒体に再記録するので、使用者に煩わしい
手間を掛けさせること無しに、より多くの画像、又はよ
り長い時間の動画を、記録できるようになる。即ち、記
録媒体の残量を増やすことが可能となる。
As described above, even during the recording processing of the input image, the already recorded image is recompressed at a higher compression rate and rerecorded on the same recording medium, so that the user is troublesome. Without them, more images or longer moving images can be recorded. That is, it is possible to increase the remaining amount of the recording medium.

【0036】また、再符号化された画像データと、現在
記録中の画像データの圧縮率が同じになり、画像全体が
同じ圧縮率となる。
The compression rate of the re-encoded image data is the same as that of the currently recorded image data, and the entire image has the same compression rate.

【0037】図2は、本発明の第2実施例の概略構成ブ
ロック図を示す。撮像回路52は撮影レンズ50による
光学像を電気信号に変換し、アナログ映像信号を出力す
る。A/D変換器54は撮像回路52から出力されるア
ナログ映像信号をディジタル信号に変換する。スイッチ
56は通常、a接点に接続しており、A/D変換器54
の出力データはスイッチ56を介してビデオ圧縮回路5
8に印加され、周知の画像圧縮方式により圧縮符号化さ
れる。例えば、予測符号化方式、直交変換符号化方式及
び可変長符号化方式などが適用される。
FIG. 2 is a schematic block diagram showing the configuration of a second embodiment of the present invention. The imaging circuit 52 converts an optical image from the photographing lens 50 into an electric signal and outputs an analog video signal. The A / D converter 54 converts an analog video signal output from the imaging circuit 52 into a digital signal. The switch 56 is normally connected to the a contact, and the A / D converter 54
Output data from the video compression circuit 5 via the switch 56.
8 and compression-coded by a well-known image compression method. For example, a predictive coding method, an orthogonal transform coding method, a variable length coding method, and the like are applied.

【0038】ビデオ圧縮回路58により圧縮された映像
データは、半導体メモリ60に印加され、書き込まれ
る。メモリ制御回路62が、半導体メモリ60の書き込
みと読み出しを制御する。半導体メモリ60に記録され
る映像データをフレーム単位で管理する。1フレームの
データ構造は、例えば、図4に示すようになっており、
次フレーム及び前フレームのデータへのアドレス(又は
ポインタ)を持つことにより、各フレームが順番に並ん
で記憶されている必要はなくなる。
The video data compressed by the video compression circuit 58 is applied to the semiconductor memory 60 and written. The memory control circuit 62 controls writing and reading of the semiconductor memory 60. The video data recorded in the semiconductor memory 60 is managed in frame units. The data structure of one frame is, for example, as shown in FIG.
By having addresses (or pointers) to the data of the next frame and the previous frame, each frame does not need to be stored in order.

【0039】再生時には、次のように動作する。即ち、
半導体メモリ60から読み出されたデータはビデオ伸長
回路66に印加され、ここで伸長される。ビデオ伸長回
路66の出力は、D/A変換器68によりアナログ信号
に変換され、電子ビュー・ファインダ70に印加され
る。これにより、再生映像が電子ビュー・ファインダ7
0の画面上に表示される。
At the time of reproduction, the operation is as follows. That is,
The data read from the semiconductor memory 60 is applied to a video expansion circuit 66, where the data is expanded. The output of the video decompression circuit 66 is converted into an analog signal by a D / A converter 68 and applied to an electronic view finder 70. As a result, the reproduced video is displayed on the electronic view finder 7.
0 is displayed on the screen.

【0040】システム制御回路72は、操作装置74か
らの、記録/再生/検索/自動間引き等の指示入力に応
じて、メモリ制御回路62、画像データ加工処理回路6
4、及びスイッチ56を制御する。システム制御回路7
2はまた、メモリ制御回路62を介して半導体メモリ6
0の残量を常時、監視している。
The system control circuit 72 responds to an instruction input such as recording / reproducing / searching / automatic thinning out from the operating device 74, and the memory control circuit 62 and the image data processing circuit 6
4 and the switch 56 are controlled. System control circuit 7
2 is also connected to the semiconductor memory 6 via the memory control circuit 62.
The remaining amount of 0 is constantly monitored.

【0041】システム制御回路72に自動間引き命令が
入力された場合に、半導体メモリ60の残量が一定値未
満になると、既に記録された画像データを間引く処理が
自動実行される。自動間引き命令が入力されていない場
合は、半導体メモリ60の残量が少なくなっても、間引
き処理は実行されない。
When the automatic thinning-out instruction is input to the system control circuit 72 and the remaining amount of the semiconductor memory 60 becomes less than a predetermined value, the processing for thinning out the already recorded image data is automatically executed. When the automatic thinning-out instruction has not been input, the thinning-out processing is not executed even if the remaining amount of the semiconductor memory 60 is low.

【0042】自動間引き命令によって、既に記録された
画像データの間引き処理が行なわれる場合、システム制
御回路72は、画像記録処理と間引き処理を時分割で実
行する。この点は、図1に示す実施例と基本的に同じで
ある。
When the thinning process of the already recorded image data is performed by the automatic thinning command, the system control circuit 72 executes the image recording process and the thinning process in a time sharing manner. This is basically the same as the embodiment shown in FIG.

【0043】動画像の記録中に半導体メモリ60の残量
が少なくなった場合に、既に半導体メモリ60に記録さ
れた画像データを復号し、間引きを行なって半導体メモ
リ60に再記録する動作を説明する。
The operation of decoding image data already recorded in the semiconductor memory 60, thinning it out, and re-recording it in the semiconductor memory 60 when the remaining amount of the semiconductor memory 60 becomes small during recording of a moving image will be described. I do.

【0044】半導体メモリ60の残容量が、例えば全体
の3割になった場合、システム制御回路72は、スイッ
チ56、メモリ制御回路62及び画像加工処理回路64
に間引き命令を出力する。
When the remaining capacity of the semiconductor memory 60 becomes, for example, 30% of the whole, the system control circuit 72 includes the switch 56, the memory control circuit 62, and the image processing circuit 64.
Output a thinning command to

【0045】スイッチ56は間引き命令に対しb接点に
接続する。これにより、撮影画像データ(A/D変換器
54の出力)は、スイッチ56を介して画像加工処理回
路64に印加される。例えば、通常記録時に30フレー
ム/秒で画像データを記録するならば、1/30秒ごと
に画像加工処理回路64に画像データが印加される。画
像加工処理回路64は、スイッチ56からの画像データ
に、既に記録されている画像データの間引き処理と同じ
間引き処理を施してビデオ圧縮回路58に供給する。
The switch 56 is connected to the contact b in response to the thinning command. As a result, the captured image data (output of the A / D converter 54) is applied to the image processing circuit 64 via the switch 56. For example, if image data is recorded at 30 frames / second during normal recording, the image data is applied to the image processing circuit 64 every 1/30 second. The image processing circuit 64 subjects the image data from the switch 56 to the same thinning-out processing as the thinning-out processing of the already recorded image data, and supplies it to the video compression circuit 58.

【0046】メモリ制御回路62は、システム制御回路
72からの間引き命令に対し、半導体メモリ60に既に
記録されている画像データをビデオ伸長回路66に読み
出す。ビデオ伸長回路66は、半導体メモリ60からの
データを伸長して画像加工処理回路64に供給する。読
み出された画像データが記録されていた半導体メモリ6
0の記録領域は、画像データを消去され、空き領域に設
定される。
The memory control circuit 62 reads out the image data already recorded in the semiconductor memory 60 to the video decompression circuit 66 in response to the thinning command from the system control circuit 72. The video expansion circuit 66 expands data from the semiconductor memory 60 and supplies the data to the image processing circuit 64. The semiconductor memory 6 in which the read image data has been recorded
In the recording area of 0, the image data is erased and set to a free area.

【0047】画像加工処理回路64は、ビデオ伸長回路
66からの画像データに間引き処理(例えば、画素の間
引き及びフレームの間引きなど)を行なって、画像デー
タのデータ量を削減する。フレームの間引きにより動画
の動きがぎこちなくなるが、画像データ量を大幅に削減
できる。そのままでは、再生したときに高速再生と同じ
になってしまうので、フレームが間引かれていることを
示す情報を埋め込んでおく。これにより、再生時に再生
速度を調整できる。例えば、フレーム数を1/2にした
場合には、各フレームを2回表示すればよく、そのため
の制御情報を間引いたフレームの代わりに埋め込んでお
けばよい。
The image processing circuit 64 performs a thinning process (for example, thinning out pixels and thinning out frames) on the image data from the video decompression circuit 66 to reduce the amount of image data. Although the motion of the moving image becomes awkward due to the frame thinning, the amount of image data can be significantly reduced. If it is played back as it is, it will be the same as high-speed playback, so information indicating that frames are thinned out is embedded. Thereby, the reproduction speed can be adjusted during reproduction. For example, when the number of frames is reduced to 1 /, each frame may be displayed twice, and control information for that may be embedded instead of the thinned frame.

【0048】画素データを間引く処理は、画像の解像度
を落とすことを意味し、これも、さほど目立たせずに画
像データ量を削減できる。図6は、解像度変更の一例を
示す。図6(1)は元になる画像であり、640×48
0画素からなる。図6(2)は画素の間引き後の画像で
あり、320×240画素からなる。2×2の4ピクセ
ルのデータを1セットと考え、その4ピクセルのデータ
を1ピクセルのデータに変更する処理に相当する。具体
的には、2×2の4ピクセルの左上の1ピクセルだけを
残して、他の3ピクセルを捨てる方法がある。この概念
図を図7に示す。この他にも、2×2の4ピクセルの平
均値を代表値として1ピクセルのデータとする方法など
がある。
The process of thinning out the pixel data means lowering the resolution of the image, and this can also reduce the amount of image data without being noticeable. FIG. 6 shows an example of the resolution change. FIG. 6A shows the original image, 640 × 48.
It consists of 0 pixels. FIG. 6 (2) shows an image after the pixels are thinned out, and is composed of 320 × 240 pixels. Considering 2 × 2 4-pixel data as one set, this corresponds to a process of changing the 4-pixel data to 1-pixel data. Specifically, there is a method in which only the upper left one pixel of the 2 × 2 four pixels is left and the other three pixels are discarded. This conceptual diagram is shown in FIG. In addition to this, there is a method in which an average value of 2 × 2 4 pixels is used as a representative value to generate 1-pixel data.

【0049】このような間引き処理を施した画像データ
は、ビデオ圧縮回路58により圧縮符号化され、半導体
メモリ60に再記録される。
The image data subjected to such thinning processing is compression-encoded by the video compression circuit 58 and re-recorded in the semiconductor memory 60.

【0050】このようにして新たな画像の記録中であっ
ても、既に記録されている画像データの情報量を減らし
て同一記録媒体に再記録でき、記録媒体の残量を増やす
ことが可能となる。また、再記録された画像の画質と現
在記録中の画像の画質が同じになる。
In this way, even while a new image is being recorded, the information amount of the image data already recorded can be reduced and re-recorded on the same recording medium, and the remaining amount of the recording medium can be increased. Become. In addition, the image quality of the re-recorded image is the same as the image quality of the image currently being recorded.

【0051】[0051]

【発明の効果】以上の説明から容易に理解できるよう
に、本発明によれば、動画像の記録中に、動画像の記録
を中断することなく、既に記録媒体に記録された画像デ
ータを異なる圧縮特性で再圧縮し、同一記録媒体に再記
録でき、利用者に余分な手間を掛けさせずに、より多く
の画像を記録媒体に記録できるようになる。
As can be easily understood from the above description, according to the present invention, during recording of a moving image, the image data already recorded on the recording medium can be changed without interrupting the recording of the moving image. The image can be recompressed with the compression characteristic and re-recorded on the same recording medium, and more images can be recorded on the recording medium without extra work for the user.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の第1実施例の概略構成ブロック図で
ある。
FIG. 1 is a schematic block diagram of a first embodiment of the present invention.

【図2】 本発明の第2実施例の概略構成ブロック図で
ある。
FIG. 2 is a schematic configuration block diagram of a second embodiment of the present invention.

【図3】 従来例の概略構成ブロック図である。FIG. 3 is a schematic configuration block diagram of a conventional example.

【図4】 本実施例の、1フレームの画像のデータ構成
を示す図である。
FIG. 4 is a diagram illustrating a data configuration of an image of one frame according to the present embodiment.

【図5】 本実施例の、記録媒体の記録内容の変化を示
す模式図である。
FIG. 5 is a schematic diagram illustrating a change in recorded content of a recording medium according to the present embodiment.

【図6】 第2実施例の、解像度変更の模式図である。FIG. 6 is a schematic diagram of a resolution change in the second embodiment.

【図7】 解像度変更処理の一例の模式図である。FIG. 7 is a schematic diagram illustrating an example of a resolution changing process.

【符号の説明】[Explanation of symbols]

10:ブロック化回路 12:直交変換回路 14:スイッチ 16:量子化回路 18:量子化ステップ制御回路 20:可変長符号化回路 22:フォーマット化回路 24:半導体メモリ 26:メモリ制御回路 28:データ分離回路 30:可変長復号化回路 32:逆量子化回路 34:スイッチ 36:逆直交変換回路 38:ラスタ・スキャン処理回路 40:システム制御回路 50:撮影レンズ 52:撮像回路 54:A/D変換器 56:スイッチ 58:ビデオ圧縮回路 60:半導体メモリ 62:メモリ制御回路 64;画像加工処理回路 66:ビデオ伸長回路 68: D/A変換器 70:ビュー・ファインダ 72:システム制御回路 74:操作装置 110:ブロック化回路 112:直交変換回路 114:量子化回路 116:量子化ステップ制御回路 118:可変長符号化回路 120:フォーマット化回路 122:半導体メモリ 124:データ分離回路 126:可変長復号化回路 128:逆量子化回路 130:逆直交変換回路 132:ラスタスキャン処理回路 10: Blocking circuit 12: Orthogonal transformation circuit 14: Switch 16: Quantization circuit 18: Quantization step control circuit 20: Variable length coding circuit 22: Formatting circuit 24: Semiconductor memory 26: Memory control circuit 28: Data separation Circuit 30: Variable length decoding circuit 32: Inverse quantization circuit 34: Switch 36: Inverse orthogonal transformation circuit 38: Raster scan processing circuit 40: System control circuit 50: Photographing lens 52: Imaging circuit 54: A / D converter 56: Switch 58: Video compression circuit 60: Semiconductor memory 62: Memory control circuit 64; Image processing circuit 66: Video expansion circuit 68: D / A converter 70: View finder 72: System control circuit 74: Operating device 110 : Blocking circuit 112: Orthogonal transformation circuit 114: Quantization circuit 116: Quantization step Loop control circuit 118: variable length encoder 120: formatting circuit 122: a semiconductor memory 124: data separation circuit 126: a variable length decoding circuit 128: inverse quantizer 130: inverse orthogonal transform circuit 132: raster scan processing circuit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 動画像の記録中に、動画像の記録を中断
することなく、既に記録された画像データを復号し、異
なる圧縮特性で再符号化し、同一の記録媒体に再記録す
ることを特徴とする画像記録再生装置。
1. A method for decoding already recorded image data, re-encoding it with different compression characteristics, and re-recording the same recording medium without interrupting the recording of the moving image during recording of the moving image. Characteristic image recording / reproducing device.
【請求項2】 当該記録媒体が半導体メモリである請求
項1に記載の画像記録再生装置。
2. The image recording and reproducing apparatus according to claim 1, wherein said recording medium is a semiconductor memory.
【請求項3】 再記録の圧縮率が以前の圧縮率より大き
い請求項1に記載の画像記録再生装置。
3. The image recording / reproducing apparatus according to claim 1, wherein a compression rate of re-recording is higher than a previous compression rate.
【請求項4】 再符号化することによって当該記録媒体
に生じた空きエリアに、現在記録している画像データを
記録する請求項3に記載の画像記録再生装置。
4. The image recording / reproducing apparatus according to claim 3, wherein the currently recorded image data is recorded in a free area created in the recording medium by re-encoding.
【請求項5】 当該記録媒体上の記録可能残量に応じ
て、圧縮率を制御する手段を備える請求項3に記載の画
像記録再生装置。
5. The image recording / reproducing apparatus according to claim 3, further comprising means for controlling a compression ratio according to a recordable remaining amount on the recording medium.
【請求項6】 再記録時の圧縮率と、現在記録している
画像の圧縮率を同じにする請求項3に記載の画像記録再
生装置。
6. The image recording / reproducing apparatus according to claim 3, wherein the compression rate at the time of re-recording and the compression rate of the currently recorded image are the same.
JP5942397A 1997-03-13 1997-03-13 Image recording and reproducing device Withdrawn JPH10257422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5942397A JPH10257422A (en) 1997-03-13 1997-03-13 Image recording and reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5942397A JPH10257422A (en) 1997-03-13 1997-03-13 Image recording and reproducing device

Publications (1)

Publication Number Publication Date
JPH10257422A true JPH10257422A (en) 1998-09-25

Family

ID=13112851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5942397A Withdrawn JPH10257422A (en) 1997-03-13 1997-03-13 Image recording and reproducing device

Country Status (1)

Country Link
JP (1) JPH10257422A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000155677A (en) * 1998-11-19 2000-06-06 Nec Corp Method for preventing runaway of program and computer system for the method and recording medium for recording program for preventing runaway
JP2007520836A (en) * 2003-06-17 2007-07-26 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Recording device management
US7668441B2 (en) 2003-08-20 2010-02-23 Samsung Electronics Co., Ltd Image recording and reproducing apparatus capable of re-compressing and re-recording recorded data and a method thereof
JP2013065343A (en) * 2006-10-26 2013-04-11 Lsi Corp System for interleaved storage of video data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000155677A (en) * 1998-11-19 2000-06-06 Nec Corp Method for preventing runaway of program and computer system for the method and recording medium for recording program for preventing runaway
JP2007520836A (en) * 2003-06-17 2007-07-26 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Recording device management
US7668441B2 (en) 2003-08-20 2010-02-23 Samsung Electronics Co., Ltd Image recording and reproducing apparatus capable of re-compressing and re-recording recorded data and a method thereof
EP1519381B1 (en) * 2003-08-20 2011-10-12 Samsung Electronics Co., Ltd. Apparatus and method for recording digital image data
JP2013065343A (en) * 2006-10-26 2013-04-11 Lsi Corp System for interleaved storage of video data

Similar Documents

Publication Publication Date Title
JP3787398B2 (en) Image processing apparatus and method
US8073271B2 (en) Method and device for condensed image recording and reproduction
US20020003573A1 (en) Processing apparatus, image recording apparatus and image reproduction apparatus
US7639920B2 (en) Recorder
KR100497913B1 (en) Data recording apparatus, reproducing apparatus, recording/reproducing method, and imaging apparatus
JPH10257422A (en) Image recording and reproducing device
JP3922490B2 (en) Video signal re-encoding device and method and video signal recording and re-encoding device and method
JPH10276402A (en) Image recorder
JPH10271498A (en) Compression data conversion method, information quantity conversion method for image compression data, and image recorder adopting the method
JPH11205739A (en) Image reproduction method and system
JPH10200859A (en) Processor and method for image processing
JP3134672B2 (en) Frame-by-frame playback processor for video signals
JP3964563B2 (en) Video server device
JP4001946B2 (en) Playback device
JP2000023081A (en) Image reproducing device
JP4487196B2 (en) Recording apparatus and control method thereof
JPH0378380A (en) Recordor for picture signal
JPH07236110A (en) Digital still camera
KR100203265B1 (en) Image data decoder
JP3100793B2 (en) Video playback device
JPH0556397A (en) Picture signal recording and reproducing system
JPH0564144A (en) Picture memory device
JPH0795586A (en) Method for managing compressed moving picture data
JPH04301986A (en) Device and method for recording/reproducing picture
JPH10191251A (en) Video signal recording and reproducing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040601