JPH05316465A - Digital recorder - Google Patents

Digital recorder

Info

Publication number
JPH05316465A
JPH05316465A JP4120282A JP12028292A JPH05316465A JP H05316465 A JPH05316465 A JP H05316465A JP 4120282 A JP4120282 A JP 4120282A JP 12028292 A JP12028292 A JP 12028292A JP H05316465 A JPH05316465 A JP H05316465A
Authority
JP
Japan
Prior art keywords
moving area
output
block
data
area
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
JP4120282A
Other languages
Japanese (ja)
Inventor
Takashi Shinohara
隆 篠原
Tadashi Kasezawa
正 加瀬沢
Takahiro Nakai
隆洋 中井
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4120282A priority Critical patent/JPH05316465A/en
Publication of JPH05316465A publication Critical patent/JPH05316465A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)

Abstract

PURPOSE:To record a video with a few number of bits by dividing one frame into plural blocks, judging each block to be a moving area or a still area and executing optimum encoding at each area. CONSTITUTION:The error detector 81 of a moving area judgement device 43 accumulates the error of the unit of the picture element of inputted two blocks. A threshold value selection device 82 judges the block to be the moving area when the sum of error being the output of the error detector 81 is larger and judges the block to be the still area when the threshold value is larger. Then, concerning the block of the still area, namely an area which is judged to be a background in an actual video, only address information of the block and information of being the still area are needed to be recorded to that large scale compression can be expected in comparison with an original data volume. Besides, also concerning an area which is judged that an object such as a human body, etc., is in it, data obtained by high-efficient-encoding video data within the block is recorded and an information volume is sharply compressed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、監視カメラなどの固
定した撮像管から得られた動画像をディジタル記録する
記録装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording device for digitally recording a moving image obtained from a fixed image pickup tube such as a surveillance camera.

【0002】[0002]

【従来の技術】従来、監視カメラの映像を、連続的、も
しくは間欠的に記録する手段として、FM変調を用いた
アナログ記録方式がよく用いられている。一方、DAT
(Digital Audio Tape Recor
der)のテープなどのディジタル記録媒体に映像信号
を記録する場合には、映像信号をA/D変換し、ディジ
タルデータとして記録する必要がある。この場合、例え
ば、約200Mbpsの情報量をもつNTSCディジタ
ル信号をそのまま記録することは、DATなどの蓄積系
記録メディアにおける記録レート(1.5Mbps)の
見地から不可能である。このため、ディジタル映像信号
を1/100以下に圧縮して記録する必要が生じる。
2. Description of the Related Art Conventionally, an analog recording method using FM modulation has been often used as a means for continuously or intermittently recording images from a surveillance camera. On the other hand, DAT
(Digital Audio Tape Record
When a video signal is recorded on a digital recording medium such as a der tape, it is necessary to A / D convert the video signal and record it as digital data. In this case, for example, it is impossible to record the NTSC digital signal having the information amount of about 200 Mbps as it is from the viewpoint of the recording rate (1.5 Mbps) in the storage type recording medium such as DAT. Therefore, it becomes necessary to compress the digital video signal to 1/100 or less and record it.

【0003】映像信号の高能率符号化方式の1つとし
て、CCITT SG XVにおいて国際標準化され
た、テレビ会議/電話用符号化H.261がある。図1
3にH.261のフレーム間符号器のブロック回路図を
示す。図13において、21はディジタルデータの入力
端子、22,23は加算器、24はDCT演算装置、2
5は量子化器、26は逆量子化器、27は逆DCT演算
装置、28は動き補償可変遅延フレームメモリ、29は
ループ内フィルタ、30は符号化制御装置、31は出力
端子、46は多重化手段である。
As one of the high-efficiency coding methods for video signals, a video conference / telephone coding H.264 standard internationally standardized in CCITT SG XV is used. There is 261. Figure 1
H.3. 261 shows a block circuit diagram of a 261 interframe encoder. In FIG. 13, 21 is an input terminal for digital data, 22 and 23 are adders, 24 is a DCT arithmetic unit, 2
5 is a quantizer, 26 is an inverse quantizer, 27 is an inverse DCT operation device, 28 is a motion compensation variable delay frame memory, 29 is an in-loop filter, 30 is an encoding control device, 31 is an output terminal, and 46 is a multiplex device. It is a means of conversion.

【0004】次に動作について説明する。入力端子21
より入力された画像データは、加算器22,フレームメ
モリ28にそれぞれ入力される。加算器22では、入力
された画像データから動きを考慮した1フレーム前の画
像データを減算することによって予測誤差データを生成
する。予測誤差データはDCT演算装置24でDCT変
換を施され、更に量子化器25において量子化を施され
て多重化手段46に入力される。量子化器25における
量子化特性は、符号化制御装置30によって制御され、
その特性も多重化手段46に入力される。
Next, the operation will be described. Input terminal 21
The input image data is input to the adder 22 and the frame memory 28, respectively. The adder 22 generates prediction error data by subtracting the image data of one frame before considering the motion from the input image data. The prediction error data is DCT-transformed by the DCT arithmetic unit 24, further quantized by the quantizer 25, and input to the multiplexing means 46. The quantization characteristic in the quantizer 25 is controlled by the encoding control device 30,
The characteristic is also input to the multiplexing means 46.

【0005】量子化されたDCT係数は、逆量子化器2
6,逆DCT演算装置27によって復号され、加算器2
3に入力される。加算器23では、復号された予測誤差
と動きを考慮した1フレーム前の画像データを加算する
ことによって復号器の出力と同じ画像データを得る。こ
のデータは動き補償可変遅延フレームメモリ28に入力
される。動き補償可変遅延フレームメモリ28では、加
算器23の出力である、復号器の出力と同じ画像データ
を記憶しておき、次のフレームの画像データと比較して
動きの量を検出し、動き量を補償した画像データを出力
する。ループフィルタ29はループの系を安定させるた
めのフィルタである。
The quantized DCT coefficient is converted to the inverse quantizer 2
6, the inverse DCT operation device 27 decodes the adder 2
Input to 3. In the adder 23, the same image data as the output of the decoder is obtained by adding the decoded prediction error and the image data of one frame before which the motion is taken into consideration. This data is input to the motion compensation variable delay frame memory 28. In the motion compensation variable delay frame memory 28, the same image data as the output of the decoder, which is the output of the adder 23, is stored, and the amount of motion is detected by comparing with the image data of the next frame. The image data with the compensation is output. The loop filter 29 is a filter for stabilizing the loop system.

【0006】上記の構成では、画像の時間方向の冗長性
を利用して動き補償した予測誤差を用いるため、画像の
もつパワーを小さくして情報量を圧縮することができ
る。また、符号器内に局部復号器を構成してあるので符
号器側で発生した量子化雑音が復号器側で累積すること
を防いでいる。
In the above configuration, since the motion-compensated prediction error is utilized by utilizing the redundancy of the image in the time direction, the power of the image can be reduced to compress the information amount. Further, since the local decoder is formed in the encoder, the quantization noise generated on the encoder side is prevented from accumulating on the decoder side.

【0007】[0007]

【発明が解決しようとする課題】従来のディジタル記録
装置は以上のように構成されているので、例えば、1秒
間に1フレームだけ記録するという、いわゆる間欠記録
の場合に、動物体の移動距離が大きいと動き補償のサー
チ範囲を超えてしまい、動き補償フレーム予測による圧
縮効率が高くない。更に、動物体の背後にある背景画像
を、動物体が動く度ごとに予測誤差として符号化しなけ
ればならなかった。また、動き補償フレーム予測の演算
装置の規模が大きく、コストが大きいといった問題点が
あった。
Since the conventional digital recording apparatus is configured as described above, in the case of so-called intermittent recording in which only one frame is recorded per second, the moving distance of the moving body is reduced. If it is large, the search range for motion compensation is exceeded, and the compression efficiency by motion compensation frame prediction is not high. Furthermore, the background image behind the moving object had to be coded as a prediction error each time the moving object moved. In addition, there is a problem that the scale of the motion compensation frame prediction calculation device is large and the cost is high.

【0008】[0008]

【課題を解決するための手段】この発明に係るディジタ
ル記録装置は、膨大な量の映像データの中から動領域の
みを取り出して符号化し記録するとともに、静止領域に
関しては一旦フレームメモリに蓄えた背景画像を呼び出
す符号のみを記録する。
A digital recording apparatus according to the present invention takes out only a moving area from a huge amount of video data, encodes and records the moving area, and stores a still area once in a frame memory. Only the code that calls the image is recorded.

【0009】また、再生する際には、静止領域に関して
はフレームメモリ内のデータを呼出し、動領域に関して
は記録されたデータを復号化して、それぞれを合成す
る。
When reproducing, the data in the frame memory is called for the static area, the recorded data is decoded for the moving area, and the respective data are combined.

【0010】また、動領域、および静止領域の判定は、
画像1フレームをいくつかのブロックに区切り、入力画
像とフレームメモリ内の画像とのそれぞれ対応するブロ
ックごとの誤差の総和を基準にして行なう。
The determination of the moving area and the stationary area is
One image frame is divided into several blocks, and the sum of the errors of the corresponding blocks of the input image and the image in the frame memory is used as a reference.

【0011】更に、動領域の指定にブロックのアドレス
そのものを送信する。または、あるスキャン順に指定コ
ードを圧縮しながら送信する。もしくは、前記2つの手
段を動領域の大きさに従って適応的に切り替える。
Further, the address of the block itself is transmitted to specify the moving area. Alternatively, the designated code is transmitted while being compressed in a certain scan order. Alternatively, the two means are adaptively switched according to the size of the moving area.

【0012】また、フレームメモリ内の背景データは、
ある一定時間ごと、もしくはある制御手段によってリフ
レッシユされる。
The background data in the frame memory is
It is refreshed at regular intervals or by some control means.

【0013】また、動領域と見なされたブロックと隣接
する静止領域と見なされたブロックを、動領域として処
理する。
Further, a block regarded as a still area adjacent to a block regarded as a moving area is processed as a moving area.

【0014】[0014]

【作用】この発明に係るディジタル記録装置は、冗長な
背景部分は動領域検出手段によって1ブロック当たりア
ドレスビットと判定ビットの数ビットで符号化を完了す
る。
In the digital recording apparatus according to the present invention, the redundant background portion is completely encoded by the moving area detecting means with several bits of the address bits and the judgment bits per block.

【0015】[0015]

【実施例】実施例1.以下、この発明の第1の実施例を
図について説明する。図1はこの実施例1の符号器のブ
ロック回路図で、11は撮像装置、12は撮像装置11
の後段に配されたA/Dコンバータ、47aはA/Dコ
ンバータ12の後段に配された第1のフレームメモリ、
48はA/Dコンバータ12の後段で、フレームメモリ
47aと並列に配されたリフレッシュ手段、47bはリ
フレッシュ手段48の後段に配された第2のフレームメ
モリ、42a,42bはそれぞれ第1のフレームメモリ
47a,第2のフレームメモリ47bの後段に配された
第1のブロック分割手段,および第2のブロック分割手
段、43は第1および第2のブロック分割手段42a,
42bの出力データを入力とする動領域判定手段、45
は第1のブロック分割手段42aの後段で、動領域判定
手段43と並列に配された符号化手段、44は符号化手
段45の出力と第2のブロック分割手段42bとの出力
とを、動領域判定手段43の出力によって選択する選択
手段、41は第1のブロック分割手段42aおよび第2
のブロック分割手段42bのブロック番地を制御するア
ドレス制御手段、46は選択手段44,動領域判定手段
43,第2のフレームメモリ47bおよびアドレス制御
手段41の出力を多重する多重化手段、13は例えばD
ATなどの記録手段である。
EXAMPLES Example 1. Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block circuit diagram of an encoder according to the first embodiment, in which 11 is an image pickup device and 12 is an image pickup device 11.
A / D converter arranged in the latter part of the A / D converter 47a is a first frame memory arranged in the latter part of the A / D converter 12,
48 is a rear stage of the A / D converter 12 and is a refresh means arranged in parallel with the frame memory 47a, 47b is a second frame memory arranged after the refresh means 48, and 42a and 42b are first frame memories respectively. 47a, a first block dividing means and a second block dividing means arranged in the subsequent stage of the second frame memory 47b, and 43 is a first and second block dividing means 42a,
A moving area determination means for receiving the output data of 42b as an input, 45
Is an encoding means arranged in parallel with the moving area determination means 43 in the subsequent stage of the first block dividing means 42a, and 44 is an output of the encoding means 45 and an output of the second block dividing means 42b. Selection means for selecting by the output of the area determination means 43, 41 is a first block division means 42a and a second block division means 42a.
Address control means for controlling the block address of the block dividing means 42b, 46 is a multiplexing means for multiplexing the outputs of the selecting means 44, the moving area judging means 43, the second frame memory 47b and the address controlling means 41, and 13 is, for example, D
A recording means such as an AT.

【0016】次に動作について説明する。撮像装置11
から出力された映像信号は、A/Dコンバータ12によ
ってフィルタリング,標本化,量子化されてディジタル
データに変換され、第1のフレームメモリ47aおよび
リフレッシュ手段48を介して第2のフレームメモリ4
7bに入力される。リフレッシュ手段48は、例えばタ
イマーやスイッチなどによって構成されており、ある一
定時間ごとに第2のフレームメモリ47bの内容を更新
する。また、第2のフレームメモリ47bの内容が更新
される度に第2のフレームメモリ47bの内容であるリ
ファレンスデータは多重化手段46に入力される。
Next, the operation will be described. Imaging device 11
The video signal output from the second frame memory 4 is filtered, sampled, and quantized by the A / D converter 12 to be converted into digital data, and the second frame memory 4 is passed through the first frame memory 47a and the refresh means 48.
7b is input. The refreshing means 48 is composed of, for example, a timer and a switch, and updates the contents of the second frame memory 47b at certain intervals. The reference data, which is the content of the second frame memory 47b, is input to the multiplexing means 46 every time the content of the second frame memory 47b is updated.

【0017】ブロック分割手段42a,42bは、それ
ぞれフレームメモリ47a,47bに記憶された1フレ
ームの映像データのなかから、アドレス制御手段41に
よって制御される番地のブロックのデータを取り出す。
ブロックの大きさは、例えば16画素×16ラインであ
る。
The block dividing means 42a and 42b take out the data of the block at the address controlled by the address control means 41 from the one frame of video data stored in the frame memories 47a and 47b, respectively.
The block size is, for example, 16 pixels × 16 lines.

【0018】動領域判定手段43は、例えば図3に示す
ように誤差検出手段81およびしきい値選択手段82な
どで構成される。誤差検出手段81は入力された2つの
ブロックの画素単位の誤差を累計する。しきい値選択手
段82は誤差検出手段81の出力である誤差の和とあら
かじめ定めてあるしきい値とを比較し、誤差の和のほう
が大きければそのブロックは動領域と判断し、しきい値
のほうが大きければそのブロックは静止領域と判断す
る。
The moving area judging means 43 is composed of, for example, an error detecting means 81 and a threshold selecting means 82 as shown in FIG. The error detection means 81 accumulates the error in pixel units of the two input blocks. The threshold value selecting means 82 compares the sum of the errors output from the error detecting means 81 with a predetermined threshold value. If the sum of the errors is larger, the block is determined to be a moving area, and the threshold value is set. Is larger, it is determined that the block is a static area.

【0019】符号化手段45は、例えば離散コサイン変
換などの変換符号化器や、差分PCMなどの予測符号化
器、量子化器、およびハフマン符号化器や算術符号化器
などのエントロピー符号化器などによって構成されてお
り、1ブロック内の映像信号情報を視覚特性に合わせて
効率よく情報量を減らして符号化する。
The encoding means 45 is, for example, a transform encoder such as a discrete cosine transform, a predictive encoder such as a differential PCM, a quantizer, and an entropy encoder such as a Huffman encoder and an arithmetic encoder. The video signal information in one block is efficiently encoded according to the visual characteristics while reducing the information amount.

【0020】選択手段44は動領域判定手段43の出力
結果に合わせて記録するデータを選択して多重化手段4
6に送る。例えば、動領域判定手段43によって動領域
と判定されたブロックは符号化手段45の出力データ
を、静止領域と判定されたブロックは何も送らないよう
にする。
The selecting means 44 selects the data to be recorded according to the output result of the moving area judging means 43, and the multiplexing means 4
Send to 6. For example, the block determined to be the moving region by the moving region determination unit 43 does not send the output data of the encoding unit 45, and the block determined to be the still region does not send anything.

【0021】多重化手段46は、選択手段44,動領域
判定手段43,第2のフレームメモリ47bおよびアド
レス制御手段41の出力を多重する。このうち、選択手
段44の出力は動領域判定手段43において動領域と判
断されたときのみ多重される。また、第2のフレームメ
モリ47bは、リフレッシュ手段48によって第2のフ
レームメモリ47bの内容であるリファレンスデータが
更新されたときのみ、1フレーム分だけ多重される。多
重化手段46によって多重されたデータは、ディジタル
記録装置13に入力されて磁気テープなどに記録され
る。
The multiplexing means 46 multiplexes the outputs of the selection means 44, the moving area determination means 43, the second frame memory 47b and the address control means 41. Of these, the output of the selecting means 44 is multiplexed only when the moving area determining means 43 determines that the moving area is a moving area. Further, the second frame memory 47b is multiplexed by one frame only when the refresh means 48 updates the reference data which is the content of the second frame memory 47b. The data multiplexed by the multiplexing means 46 is input to the digital recording device 13 and recorded on a magnetic tape or the like.

【0022】以上の動作によって、静止領域のブロッ
ク、すなわち実際の映像の中では背景であると判断され
る領域については、ブロックのアドレス情報と静止領域
であるという情報のみを記録すればよく、元のデータ量
に比べて大幅な圧縮が期待できる。また、動領域のブロ
ック、すなわち実際の映像の中では人物などの対象物が
映っていると判断される領域についても、ブロックのア
ドレス情報と動領域であるという情報、それにブロック
内の映像データを高能率符号化したデータが記録され
る。この高能率符号化したデータは、視覚特性を利用し
てもとの映像データに比べて情報量が約1/2〜1/1
0程に圧縮が可能である。
By the above operation, for the block of the still area, that is, the area judged to be the background in the actual video, only the address information of the block and the information indicating the still area need be recorded. Significant compression can be expected compared to the amount of data. In addition, regarding the block of the moving area, that is, the area in which it is determined that an object such as a person is reflected in the actual video, the address information of the block, the information that the area is the moving area, and the video data in the block High efficiency coded data is recorded. This high-efficiency coded data has an information amount of about 1/2 to 1/1 as compared with the original video data by utilizing the visual characteristics.
It can be compressed to about 0.

【0023】例えば、入力データが図4(a)のようで
あり、リファレンスデータが図4(b)のようであると
き、それぞれのデータはブロック分割手段42a,42
bによってそれぞれ図5(a),図5(b)のように分
割され、対応するブロックどうし誤差が比較され、誤差
の総和があるしきい値を越えた場合は動領域と見なさ
れ、ブロック内で符号化される。また、誤差の総和がし
きい値内の場合には静止領域と見なされ、そのブロック
はリファレンスデータをコピーする。その判定の様子を
図6に示す。図6において、*は静止領域と判定されリ
ファレンスデータをコピーしたブロックを表わし、#は
動領域と判定され符号化された領域を表わす。
For example, when the input data is as shown in FIG. 4A and the reference data is as shown in FIG. 4B, the respective data are block dividing means 42a, 42.
5 (a) and 5 (b) respectively, the corresponding blocks are compared with each other, and when the sum of the errors exceeds a certain threshold value, it is regarded as a moving area, Is encoded with. If the sum of the errors is within the threshold value, it is regarded as a static area, and the block copies the reference data. The state of the determination is shown in FIG. In FIG. 6, * represents a block in which the reference data is copied, which is determined to be a still area, and # represents an area which is determined to be a moving area and is encoded.

【0024】図7(a),図7(b)に、それぞれ動領
域のとき、および静止領域のときに符号化されるデータ
フォーマットの一例を示す。図7(a)において動領域
と判断された場合は、そのブロックのアドレス情報を先
頭に送信し、ついで領域指定情報と付加情報とブロック
終了コード(EOB)を送信する。また、図7(b)に
おいて静止領域と判断された場合は、そのブロックのア
ドレス情報を先頭に送信し、ついで領域指定情報を送信
する。このうち、アドレス情報は固定ビットの情報で、
1フレーム内のブロックの位置を示す。また、領域指定
情報はアドレス情報で示されたブロックが動領域である
か、それとも静止領域であるかを指定する1ビットの情
報である。付加情報はそのブロック内の映像データを高
能率符号化したデータである。
7 (a) and 7 (b) show an example of a data format coded in the moving area and in the stationary area, respectively. If it is determined to be a moving area in FIG. 7A, the address information of the block is transmitted first, and then the area designation information, the additional information, and the block end code (EOB) are transmitted. Further, when it is determined to be the still area in FIG. 7B, the address information of the block is transmitted first, and then the area designation information is transmitted. Of these, the address information is fixed bit information,
The position of a block in one frame is shown. The area designation information is 1-bit information that designates whether the block indicated by the address information is a moving area or a still area. The additional information is high-efficiency coded video data in the block.

【0025】このようにして、以降のフレームも符号化
される。長時間この方法で記録すると、日差しによる輝
度変化などによって背景の変化が起こってくる。そこ
で、ある一定時間ごと、もしくは一定時間内の動領域の
ブロックの数がある値を越えたときに、リフレッシュ手
段48によって第2のフレームメモリ47bの内容を更
新する。以上でこの実施例1の説明を終る。
In this way, the subsequent frames are also coded. When recording with this method for a long time, the background changes due to changes in brightness due to sunlight. Therefore, the content of the second frame memory 47b is updated by the refreshing unit 48 every certain fixed time or when the number of blocks in the moving area within a fixed time exceeds a certain value. This is the end of the description of the first embodiment.

【0026】実施例2.以下、この発明に係る第2の実
施例について説明する。本実施例2の符号器の構成は実
施例1と同一であるので説明は省略する。実施例1と異
なる点は、多重化手段46において、アドレス情報と動
領域/静止領域指定情報、および付加情報を多重するさ
いに、図8に示すように、1フレーム内の動領域のアド
レスと、そのアドレスの付加情報(高能率符号化された
映像データ)と、EOBと、フレーム終了コード(EO
F)のみを送信して、静止領域については何も送らない
ことである。このフォーマットでは、完全な静止画像に
対しては1フレームの情報としてEOFのみ送ればよい
ので、高い圧縮率が期待される。
Example 2. The second embodiment according to the present invention will be described below. Since the configuration of the encoder of the second embodiment is the same as that of the first embodiment, the description thereof will be omitted. The difference from the first embodiment is that, when the address information, the moving area / still area designating information, and the additional information are multiplexed by the multiplexing means 46, as shown in FIG. , Additional information of the address (high-efficiency coded video data), EOB, and frame end code (EO
F) only is sent, nothing is sent for the static area. In this format, since only EOF needs to be sent as one frame of information for a complete still image, a high compression rate is expected.

【0027】また、実施例2の変形例として、図9のよ
うに、領域指定情報と、動領域のブロックのみの付加情
報と、EOBとを送信することも出来る。この場合は、
ブロックのスキャン順序をあらかじめ決めておき、その
スキャン順でブロックの情報を送信するため、アドレス
情報が不要になる。以上でこの実施例2の説明を終る。
Further, as a modification of the second embodiment, as shown in FIG. 9, the area designation information, the additional information only on the blocks of the moving area, and the EOB can be transmitted. in this case,
Since the block scan order is determined in advance and the block information is transmitted in that scan order, address information is not required. This is the end of the description of the second embodiment.

【0028】実施例3.以下、この発明に係る第3の実
施例について説明する。本実施例3においては、符号器
の構成は実施例1,2と同一であるので説明は省略す
る。実施例1と異なる点は、多重化手段46において、
アドレス情報と動領域/静止領域指定情報、および付加
情報を多重するさいに、図10に示すように、1フレー
ム分の動領域/静止領域指定情報を先に送り、その後、
動領域のブロックについて付加情報とEOBを送るとこ
ろである。この場合は、ブロックのスキャン順序をあら
かじめ決めておき、そのスキャン順でブロックの情報を
送信する。1フレーム内の画像の動領域は、ある集団
(クラスタ)で存在することが多く、動領域/静止領域
指定情報をまとめて送信することによって、ランレング
ス符号化などのエントロピー符号化を効率的に使うこと
ができる。以上でこの実施例3の説明を終る。
Example 3. The third embodiment of the present invention will be described below. In the third embodiment, the configuration of the encoder is the same as that of the first and second embodiments, and the description thereof will be omitted. The difference from the first embodiment is that in the multiplexing means 46,
When the address information, the moving area / still area specifying information, and the additional information are multiplexed, as shown in FIG. 10, the moving area / still area specifying information for one frame is sent first, and then,
It is about to send additional information and EOB for the blocks in the moving area. In this case, the scan order of the blocks is determined in advance, and the block information is transmitted in the scan order. The moving area of the image in one frame often exists in a certain group (cluster), and by transmitting the moving area / still area specifying information collectively, entropy coding such as run length coding can be performed efficiently. Can be used. This is the end of the description of the third embodiment.

【0029】実施例4.以下、この発明に係る第4の実
施例について説明する。本実施例4においては、符号器
の構成は実施例1〜3と同一であるので説明は省略す
る。実施例1と異なる点は、動領域判定手段43におい
て静止領域と動領域のブロックを選択するさいに、図1
1(a)または(b)のように、動領域のクラスタと4
連結、または8連結で接している静止領域のブロックを
動領域とみなすことである。図11(a),(b)にお
いて、*は静止領域と判断されてリファレンスデータを
コピーするブロック、#は動領域と判断されて入力デー
タを符号化するブロック、※は静止領域と判断される
が、入力データを符号化するブロックを示す。
Example 4. The fourth embodiment of the present invention will be described below. In the fourth embodiment, the configuration of the encoder is the same as that of the first to third embodiments, and the description thereof will be omitted. The difference from the first embodiment is that when the moving area determination means 43 selects blocks of a still area and a moving area,
As in 1 (a) or (b), 4 and 4
That is, a block in a still area that is in contact with a connection or an eight connection is regarded as a moving area. In FIGS. 11A and 11B, * is a block in which reference data is copied and is determined to be a still region, # is a block in which input data is encoded and is determined to be a moving region, and * is determined to be a still region. Shows the block that encodes the input data.

【0030】この実施例4によると、動領域判定手段4
3の中のしきい値選択手段82によって、ゆっくりと移
動をしている物体が、今まで静止領域であったブロック
に入ってしばらくの間静止領域とみなされて、それによ
って物体の動きがぎくしゃくしたものとなってしまった
り、動物体のエッジの部分がなくなってしまったりする
ことを防ぐことが期待できる。以上でこの実施例4の説
明を終る。
According to the fourth embodiment, the moving area determining means 4
By the threshold selection means 82 in No. 3, the slowly moving object is regarded as the stationary area for a while after entering the block which was the stationary area until now, and the movement of the object is jerky. It can be expected that it will not be lost or that the edge part of the animal body is lost. This is the end of the description of the fourth embodiment.

【0031】実施例5.以下、この発明に係る第5の実
施例を図について説明する。図2はこの実施例5の復号
器のブロック回路図で、61はディジタル記録装置13
の後段に配された動領域指定コード検出手段、62は符
号データ検出手段、64はアドレス検出手段、65はリ
ファレンスデータ検出手段、63は符号データ検出手段
62の後段に配された復号化手段、66はリファレンス
データ検出手段65の後段に配されたフレームメモリ、
67はフレームメモリ66の出力データからアドレス検
出手段64の出力によって定められた番地のブロックデ
ータを生成するブロック分割手段、68は復号化手段6
3とブロック分割手段67との出力を動領域指定コード
検出手段61の出力信号によって選択する選択手段、6
9は選択手段68の出力であるブロック化されたデータ
とアドレス検出手段64の出力信号より1フレームの映
像データを再構成するフレーミング手段、14はフレー
ミング手段69の後段に配されたD/Aコンバータ、1
5はD/Aコンバータ14の後段に配された、例えばモ
ニタなどの受像装置である。
Example 5. Hereinafter, a fifth embodiment according to the present invention will be described with reference to the drawings. FIG. 2 is a block circuit diagram of the decoder of the fifth embodiment, and 61 is the digital recording device 13.
, 62 is a code data detecting means, 64 is an address detecting means, 65 is a reference data detecting means, 63 is a decoding means arranged in the latter stage of the code data detecting means 62, Reference numeral 66 denotes a frame memory arranged at the subsequent stage of the reference data detection means 65,
67 is a block dividing means for generating block data at an address determined by the output of the address detecting means 64 from the output data of the frame memory 66, and 68 is a decoding means 6.
Selecting means 6 for selecting the output of 3 and the block dividing means 67 by the output signal of the moving area designation code detecting means 61;
Reference numeral 9 is a framing means for reconstructing one frame of video data from the blocked data output from the selection means 68 and the output signal from the address detection means 64, and 14 is a D / A converter arranged after the framing means 69. 1
Reference numeral 5 denotes an image receiving device, such as a monitor, which is arranged in the subsequent stage of the D / A converter 14.

【0032】次に動作について説明する。磁気テープな
どに記録されたディジタルデータは、記録手段13によ
って再生される。
Next, the operation will be described. The digital data recorded on the magnetic tape or the like is reproduced by the recording means 13.

【0033】再生されたディジタルデータは、アドレス
検出手段64によって現在のブロックのアドレスが検出
される。
The address of the current block of the reproduced digital data is detected by the address detecting means 64.

【0034】また、動領域指定コード検出手段61によ
って、そのブロックが動領域と判定されていたのか、そ
れとも静止領域と判定されていたのかを検出する。
Further, the moving area designation code detecting means 61 detects whether the block is judged to be a moving area or a still area.

【0035】また、動領域指定コード検出手段61によ
ってそのブロックが動領域として判定されていた場合に
は、符号データ検出手段62によって符号化された映像
データを検出する。符号データ検出手段62によって検
出された符号化データは、復号化手段63に入力され
る。復号化手段63は、ちょうど実施例1の符号化手段
45と逆の構成をとっており、圧縮されたデータを伸長
し、元の映像データ(例えば16画素×16ライン)に
復元する。
If the moving area designation code detecting means 61 determines that the block is a moving area, the coded data detecting means 62 detects the encoded video data. The coded data detected by the coded data detection means 62 is input to the decoding means 63. The decoding unit 63 has a configuration reverse to that of the encoding unit 45 of the first embodiment, and decompresses the compressed data to restore the original video data (for example, 16 pixels × 16 lines).

【0036】更に、フレームの始めに1フレーム分のリ
ファレンスデータがある場合には、リファレンスデータ
検出手段65によってリファレンスデータが検出され、
フレームメモリ66に記憶される。ブロック分割手段6
7は実施例1のブロック分割手段42bと同じ構成であ
り、フレームメモリ66に記憶されたリファレンスデー
タのなかから、アドレス検出手段64の出力によって指
定されるアドレスのブロック(例えば16画素×16ラ
イン)を取り出す。
Further, when there is one frame of reference data at the beginning of the frame, the reference data detection means 65 detects the reference data,
It is stored in the frame memory 66. Block dividing means 6
7 has the same configuration as the block dividing means 42b of the first embodiment, and a block of an address designated by the output of the address detecting means 64 from the reference data stored in the frame memory 66 (for example, 16 pixels × 16 lines). Take out.

【0037】選択手段68は、動領域指定コード検出手
段61の出力に基づき、復号化手段63の出力データと
ブロック分割手段67の出力データとを選択する。すな
わち、動領域指定コード検出手段61の出力が動領域を
指定しているときは復号化手段63の出力のデータを選
択し、動領域指定コード検出手段61の出力が静止領域
を指定しているときはブロック分割手段67の出力の背
景などのリファレンスデータを選択する。
The selecting means 68 selects the output data of the decoding means 63 and the output data of the block dividing means 67 based on the output of the moving area designation code detecting means 61. That is, when the output of the moving area specifying code detecting means 61 specifies the moving area, the data of the output of the decoding means 63 is selected, and the output of the moving area specifying code detecting means 61 specifies the stationary area. At this time, reference data such as the background of the output of the block dividing means 67 is selected.

【0038】選択手段68で選択されたブロックのデー
タは、フレーミング手段69へ入力される。このフレー
ミング手段69は、フレームメモリなどで構成され、ア
ドレス検出手段64によって指定されたアドレスへ選択
手段68で選択されたブロックのデータを記憶させ、1
フレームの完全な映像データを構成し、更に、同期信号
などの情報を付加する。
The data of the block selected by the selection means 68 is input to the framing means 69. The framing means 69 is composed of a frame memory or the like, and stores the data of the block selected by the selection means 68 at the address specified by the address detection means 64, and
The complete video data of the frame is constructed, and further information such as a sync signal is added.

【0039】フレーミング手段69によって作成された
映像信号データは、D/Aコンバータ14によりアナロ
グ信号に変換されて、モニタなどの出力装置15に出力
される。
The video signal data created by the framing means 69 is converted into an analog signal by the D / A converter 14 and output to the output device 15 such as a monitor.

【0040】実施例6.なお、実施例5では、動領域指
定コード検出手段61,符号データ検出手段62,アド
レス検出手段64,リファレンスデータ検出手段65を
図2のようにそれぞれ記録手段13の後段に並列に配置
したが、図12のように直列に配置しても差し支えな
い。図12において、各構成要素および動作は、実施例
5と同一であるので説明は省略する。以上で実施例6の
説明を終る。
Example 6. In the fifth embodiment, the moving area designation code detecting means 61, the code data detecting means 62, the address detecting means 64, and the reference data detecting means 65 are arranged in parallel after the recording means 13 as shown in FIG. It may be arranged in series as shown in FIG. In FIG. 12, each constituent element and operation are the same as those in the fifth embodiment, and therefore description thereof will be omitted. This is the end of the description of the sixth embodiment.

【0041】[0041]

【発明の効果】この発明によれば、1フレームをいくつ
かのブロックに分割してそれぞれのブロックごとに動領
域と静止領域とを判断し、それぞれの領域において最適
な符号化を施すため、少ないビット数で映像を記録でき
る効果が得られる。
According to the present invention, one frame is divided into several blocks, a moving area and a still area are determined for each block, and optimal coding is performed in each area. The effect that video can be recorded with the number of bits is obtained.

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

【図1】この発明の実施例1であるディジタル記録装置
の符号器の構成を示すブロック回路図である。
FIG. 1 is a block circuit diagram showing a configuration of an encoder of a digital recording apparatus that is Embodiment 1 of the present invention.

【図2】この発明の実施例5である復号器の構成を示す
ブロック回路図である。
FIG. 2 is a block circuit diagram showing a configuration of a decoder that is Embodiment 5 of the present invention.

【図3】実施例1の動領域検出手段の構成を示すブロッ
ク回路図である。
FIG. 3 is a block circuit diagram showing a configuration of a moving area detecting unit according to the first exemplary embodiment.

【図4】実施例1の動作を説明するための入力画像の一
例およびそのリファレンス画像を示す図である。
FIG. 4 is a diagram showing an example of an input image and a reference image thereof for explaining the operation of the first embodiment.

【図5】実施例1のブロック分割手段の動作を説明する
ための図である。
FIG. 5 is a diagram for explaining the operation of the block dividing means according to the first embodiment.

【図6】実施例1における図4の入力画像の動領域と静
止領域を示す図である。
FIG. 6 is a diagram showing a moving area and a still area of the input image of FIG. 4 in the first embodiment.

【図7】実施例1の記録フォーマットの一例を示す図で
ある。
FIG. 7 is a diagram showing an example of a recording format according to the first embodiment.

【図8】この発明の実施例2の記録フォーマットの一例
を示す図である。
FIG. 8 is a diagram showing an example of a recording format according to a second embodiment of the present invention.

【図9】実施例2の変形例によるディジタル記録装置の
記録フォーマットの一例を示す図である。
FIG. 9 is a diagram showing an example of a recording format of a digital recording device according to a modification of the second embodiment.

【図10】この発明の実施例3の記録フォーマットの一
例を示す図である。
FIG. 10 is a diagram showing an example of a recording format according to a third embodiment of the present invention.

【図11】この発明の実施例4の動領域と静止領域の一
例を示す図である。
FIG. 11 is a diagram showing an example of a moving area and a stationary area according to a fourth embodiment of the present invention.

【図12】この発明の実施例6によるディジタル記録装
置の復号器の構成を示すブロック回路図である。
FIG. 12 is a block circuit diagram showing a configuration of a decoder of a digital recording device according to a sixth embodiment of the present invention.

【図13】従来のディジタル記録装置の符号器の構成を
示すブロック回路図である。
FIG. 13 is a block circuit diagram showing a configuration of an encoder of a conventional digital recording device.

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

11 撮像装置 12 A/Dコンバータ 13 記録手段 14 D/Aコンバータ 15 受像装置 41 アドレス制御手段 42 ブロック分割手段 43 動領域判定手段 44 選択手段 45 符号化手段 46 多重化手段 47 フレームメモリ 48 リフレッシュ手段 61 動領域指定コード検出手段 62 符号データ検出手段 63 復号化手段 64 アドレス検出手段 65 リファレンスデータ検出手段 66 フレームメモリ 67 ブロック分割手段 68 選択手段 69 フレーミング手段 11 image pickup apparatus 12 A / D converter 13 recording means 14 D / A converter 15 image receiving apparatus 41 address control means 42 block dividing means 43 moving area determining means 44 selecting means 45 encoding means 46 multiplexing means 47 frame memory 48 refreshing means 61 Moving area designation code detecting means 62 Code data detecting means 63 Decoding means 64 Address detecting means 65 Reference data detecting means 66 Frame memory 67 Block dividing means 68 Selecting means 69 Framing means

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 画像情報を電気信号に光電変換する撮像
装置と、該電気信号をディジタル信号に変換するA/D
コンバータと、該ディジタル信号を記憶する第1のフレ
ームメモリと、該ディジタル信号を記憶する第2のフレ
ームメモリと、該第2のフレームメモリの前段に接続さ
れ該第2のフレームメモリの内容の更新を制御するリフ
レッシュ手段と、前記2系統のフレームメモリの後段に
それぞれ接続された2系統のブロック分割手段と、該2
系統のブロック分割手段のアドレスを制御する制御手段
と、前記2系統のブロック分割されたデータに応じて前
記アドレスのブロックが動領域か静止領域かを判断する
動領域検出手段と、前記第1のフレームメモリに接続さ
れたブロック分割手段の後段に接続された符号化手段
と、前記動領域検出手段の出力結果によって前記符号化
手段の出力を出力するかを選択する選択手段と、該選択
手段と前記動領域検出手段と前記アドレス制御手段と前
記第2のフレームメモリの内容などを時分割多重する多
重化手段と、該多重化手段によって多重化されたディジ
タル信号を記録するディジタル記録手段とを備えたディ
ジタル記録装置。
1. An imaging device for photoelectrically converting image information into an electric signal, and an A / D for converting the electric signal into a digital signal.
A converter, a first frame memory for storing the digital signal, a second frame memory for storing the digital signal, and an update of the contents of the second frame memory connected to the preceding stage of the second frame memory Refreshing means for controlling the above, and two systems of block dividing means respectively connected to the latter stages of the two systems of frame memories;
Control means for controlling the address of the block dividing means of the system, moving area detecting means for judging whether the block of the address is the moving area or the still area according to the data of the two-system block division, and the first An encoding means connected to a subsequent stage of the block dividing means connected to the frame memory; a selecting means for selecting whether to output the output of the encoding means according to the output result of the moving area detecting means; and the selecting means. The moving area detecting means, the address control means, a multiplexing means for time-division multiplexing the contents of the second frame memory, etc., and a digital recording means for recording the digital signal multiplexed by the multiplexing means. Digital recording device.
【請求項2】 ディジタル記録手段と、該記録手段の後
段に配された動領域指定コード検出手段、符号データ検
出手段、アドレス検出手段、およびリファレンスデータ
検出手段と、前記符号データ検出手段の後段に配された
復号化手段と、前記リファレンスデータ検出手段の後段
に配されたフレームメモリと、該フレームメモリの出力
データから前記アドレス検出手段の出力によって定めら
れた番地のブロックデータを生成するブロック分割手段
と、該ブロック分割手段および前記復号化手段の出力を
前記動領域指定コード検出手段の出力信号によって選択
する選択手段と、該選択手段の出力であるブロック化さ
れたデータと前記アドレス検出手段の出力信号より1フ
レームの映像データを再構成するフレーミング手段と、
該フレーミング手段の後段に配されたD/Aコンバータ
と、該D/Aコンバータの後段に配された出力装置とを
備えたディジタル記録装置。
2. A digital recording means, a moving area designation code detecting means, a code data detecting means, an address detecting means, and a reference data detecting means, which are arranged in the latter stage of the recording means, and in the latter stage of the code data detecting means. Decoding means provided, a frame memory provided after the reference data detecting means, and block dividing means for generating block data at an address determined by the output of the address detecting means from output data of the frame memory. Selecting means for selecting the output of the block dividing means and the decoding means according to the output signal of the moving area designation code detecting means, the blocked data output from the selecting means and the output of the address detecting means Framing means for reconstructing one frame of video data from a signal,
A digital recording device comprising a D / A converter arranged in the latter stage of the framing means, and an output device arranged in the latter stage of the D / A converter.
【請求項3】 動領域検出手段に入力される入力信号デ
ータとリファレンスデータの誤差の総和をあるしきい値
を比較して動領域と静止領域とを判断する手段を備えた
ことを特徴とする請求項1記載のディジタル記録装置。
3. A means for determining a moving area and a stationary area by comparing a sum of errors of input signal data input to the moving area detecting means and reference data with a certain threshold value. The digital recording device according to claim 1.
【請求項4】 動領域検出手段の出力結果を多重する
際、あるアドレス順に動領域指定情報と符号化手段の出
力などの付加データを多重する多重化手段を備えたこと
を特徴とする請求項1記載のディジタル記録装置。
4. A multiplexing means for multiplexing moving area designation information and additional data such as output of the encoding means in order of address when multiplexing the output result of the moving area detecting means. 1. The digital recording device according to 1.
【請求項5】 動領域検出手段の出力結果を多重する
際、動領域と判断されたブロックのアドレスと符号化手
段の出力などの付加データを多重する多重化手段を備え
たことを特徴とする請求項1記載のディジタル記録装
置。
5. When multiplexing the output result of the moving area detecting means, there is provided a multiplexing means for multiplexing the address of the block judged as the moving area and the additional data such as the output of the encoding means. The digital recording device according to claim 1.
【請求項6】 符号化手段の出力とリファレンスデータ
を動領域検出手段の出力結果によって選択する際、動領
域のブロックの集団の近傍にある静止領域を動領域と見
なして選択する選択手段を備えたことを特徴とする請求
項1記載のディジタル記録装置。
6. When selecting the output of the encoding means and the reference data according to the output result of the moving area detecting means, a selecting means for selecting a still area in the vicinity of a group of blocks of the moving area as a moving area is provided. The digital recording apparatus according to claim 1, wherein the digital recording apparatus is a digital recording apparatus.
JP4120282A 1992-05-13 1992-05-13 Digital recorder Pending JPH05316465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4120282A JPH05316465A (en) 1992-05-13 1992-05-13 Digital recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4120282A JPH05316465A (en) 1992-05-13 1992-05-13 Digital recorder

Publications (1)

Publication Number Publication Date
JPH05316465A true JPH05316465A (en) 1993-11-26

Family

ID=14782387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4120282A Pending JPH05316465A (en) 1992-05-13 1992-05-13 Digital recorder

Country Status (1)

Country Link
JP (1) JPH05316465A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007166245A (en) * 2005-12-14 2007-06-28 Tokyo Institute Of Technology Image processing apparatus, image processing program, and image processing method
JP2013131831A (en) * 2011-12-20 2013-07-04 Aiphone Co Ltd Intercom system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007166245A (en) * 2005-12-14 2007-06-28 Tokyo Institute Of Technology Image processing apparatus, image processing program, and image processing method
JP2013131831A (en) * 2011-12-20 2013-07-04 Aiphone Co Ltd Intercom system

Similar Documents

Publication Publication Date Title
KR0166716B1 (en) Encoding and decoding method and apparatus by using block dpcm
US6493466B1 (en) Image data compression or expansion method and apparatus, and image transmission system and monitoring system using the method and device
US6493384B1 (en) Video data compression apparatus and method of same
US6801574B2 (en) Apparatus of layered picture coding, apparatus of picture decoding, methods of picture decoding, apparatus of recording for digital broadcasting signal, and apparatus of picture and audio decoding
US5469212A (en) Apparatus for compression-encoding and decoding video signals
KR19990051887A (en) Digital recording and reproducing apparatus employing MPEG compression encoder and decoder and method thereof
JP3531186B2 (en) Video signal encoding method and apparatus
US6819713B1 (en) Image processing apparatus and method for correcting a detected luminance and encoding or decoding
JPH08256308A (en) Method for arranging / restoring bit stream of digital video tape recorder and data compression apparatus and decompression apparatus suitable for the method
JPH10506505A (en) Synchronization method for continuous digital video
JPH05316465A (en) Digital recorder
JP2001352524A (en) Reproduction device and reproduction method
US6754272B2 (en) Picture signal processing method and apparatus, picture signal recording method and apparatus and recording medium
JP3501521B2 (en) Digital video signal reproducing apparatus and reproducing method
JPH0951538A (en) Image signal encoding method
US5905840A (en) Method and apparatus for recording and playing back digital video signal
JP2001028755A (en) Image encoding apparatus and image encoding method
JP3307367B2 (en) Variable transfer rate coding device
EP0927954B1 (en) Image signal compression coding method and apparatus
JP3384910B2 (en) Imaging device and image reproducing device
JP3952926B2 (en) Video encoding apparatus and video encoding method
JP2897585B2 (en) Image coding recording and playback device
JP3232750B2 (en) Digital video signal coding and framing apparatus
JP3309474B2 (en) Digital video signal encoding device
JP2922155B2 (en) Image encoding method, image encoding device, and image processing system