JPH06326992A - Video signal correcting device - Google Patents
Video signal correcting deviceInfo
- Publication number
- JPH06326992A JPH06326992A JP11286593A JP11286593A JPH06326992A JP H06326992 A JPH06326992 A JP H06326992A JP 11286593 A JP11286593 A JP 11286593A JP 11286593 A JP11286593 A JP 11286593A JP H06326992 A JPH06326992 A JP H06326992A
- Authority
- JP
- Japan
- Prior art keywords
- error
- block
- code
- signal
- recording
- 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.)
- Granted
Links
Landscapes
- Television Signal Processing For Recording (AREA)
- Facsimile Scanning Arrangements (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
(57)【要約】
【目的】 直交変換後、可変長符号化された映像信号に
おいて訂正不可能な誤りが発生した場合の修整回路の回
路規模を削減可能にする。
【構成】 記録再生器1で訂正不可能な誤りが発生した
場合、誤り訂正器2はエラーコード挿入器3にその誤り
位置情報ENを供給する。エラーコード挿入器3は誤り
は存在するDCTブロックのDC信号(9ビット)を通
常発生しない"-256"に置き換えると共に、DC信号に続
く最初に可変長符号語をブロック終了符号に置き換え
る。修整部9は逆直交変換器6の出力信号(8ビット)
内で通常発生しない"-128"の標本値を検出し、この標本
値に対し修整を行う。
(57) [Abstract] [Purpose] It is possible to reduce the circuit scale of a retouching circuit when an uncorrectable error occurs in a variable length coded video signal after orthogonal transformation. [Configuration] When an uncorrectable error occurs in the recording / reproducing device 1, the error correcting device 2 supplies the error position information EN to the error code inserting device 3. The error code inserter 3 replaces the DC signal (9 bits) of the DCT block in which an error exists with "-256" which does not normally occur, and replaces the variable length code word with the block end code first after the DC signal. The modifying unit 9 outputs the output signal of the inverse orthogonal transformer 6 (8 bits).
Detect a sample value of "-128" that does not usually occur in and modify the sample value.
Description
【0001】[0001]
【産業上の利用分野】本発明は、映像信号を高能率符号
化して記録再生または伝送受信する際に用いる映像信号
の修整装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video signal retouching device used for high efficiency coding of a video signal for recording / reproduction or transmission / reception.
【0002】[0002]
【従来の技術】近年、映像信号をディジタル化して記録
再生するD1,D2及びD3ビデオテープレコーダ(以
下、VTRと略す)等が開発されている。また、民生用
機器として、ディジタル静止画を記録再生できるビデオ
フロッピーや、ディジタル動画を記録できるVTRの開
発が進んでいる。民生用ディジタルVTRの開発例とし
てはテレビジョン学会誌(Vol.45 No.7 p
p813〜819 1991)記載の数例がある。この
民生用ディジタルVTRは映像信号の持つ冗度を高能率
符号化を用い、データ量を1/5程度に圧縮して記録し
ている。2. Description of the Related Art In recent years, D1, D2 and D3 video tape recorders (hereinafter abbreviated as VTR) for digitizing and recording and reproducing video signals have been developed. Further, as a consumer device, a video floppy capable of recording and reproducing a digital still image and a VTR capable of recording a digital moving image are being developed. An example of the development of a consumer digital VTR is the Journal of the Television Society (Vol. 45 No. 7 p.
p813 to 819 1991). In this consumer digital VTR, the redundancy of a video signal is recorded by compressing the data amount to about ⅕ using high efficiency coding.
【0003】以下に、従来の映像信号修整装置について
説明する。図5は映像信号記録装置のブロック図であ
る。図2は従来の映像信号修整装置のブロック図であ
る。図7は図1内のブロック化器の動作を説明する図、
図8は図1内の直交変換器の出力信号を説明する図、図
9及び図10は図5内の配列器の動作を説明する図であ
る。A conventional video signal modifying device will be described below. FIG. 5 is a block diagram of a video signal recording device. FIG. 2 is a block diagram of a conventional video signal adjusting device. FIG. 7 is a diagram for explaining the operation of the blocker in FIG.
8 is a diagram for explaining the output signal of the orthogonal transformer in FIG. 1, and FIGS. 9 and 10 are diagrams for explaining the operation of the arrayer in FIG.
【0004】図5において、50はディジタル化された
映像信号が入力される入力端子、51は入力端子50に
入力された映像信号をメモリ52に一時格納し、1フレ
ームの映像信号の異なる5箇所から6DCTブロック
(1DCTブロックは隣接する8×8画素で構成)づつ
集め1ビデオセグメントを構成するブロック化器であ
る。53はブロック化器51の出力信号を2次元離散コ
サイン変換(以下DCTと略す)する直交変換器、54
は直交変換器53から出力された63個のAC成分のゼ
ロラン数とそれに続く振幅値を予め定めた可変長符号語
に割り当てる可変長符号器、55は1ビデオセグメント
毎の可変長符号器の出力信号を規定のシンクブロックフ
ォーマットに格納し直す配列器、56は配列器の出力信
号に誤り訂正符号を付加する誤り訂正符号演算器、57
は記録再生器である。In FIG. 5, reference numeral 50 denotes an input terminal to which a digitized video signal is input, 51 denotes a video signal input to the input terminal 50 temporarily stored in a memory 52, and five locations where the video signal of one frame is different. To 6 DCT blocks (1 DCT block is composed of adjacent 8 × 8 pixels) to form one video segment. Reference numeral 53 is an orthogonal transformer for performing a two-dimensional discrete cosine transform (hereinafter abbreviated as DCT) on the output signal of the blocker 51, 54
Is a variable-length encoder that assigns the zero-run number of 63 AC components output from the orthogonal transformer 53 and the subsequent amplitude value to a predetermined variable-length codeword, and 55 is the output of the variable-length encoder for each video segment An arrayer for re-storing the signal in the prescribed sync block format, 56 is an error correction code calculator for adding an error correction code to the output signal of the arrayer, 57
Is a recording and reproducing device.
【0005】図6において、58は記録再生器57から
出力された信号中に存在する記録再生系で発生した誤り
を訂正する誤り訂正器で、訂正能力を越えた誤りである
場合(訂正不可能な場合)は誤り位置を出力する。59
は訂正不可能な誤りが発生した場合、ブロック終了符号
(以下EOBと略す)を挿入するEOB挿入器で、60
はシンクブロックフォーマットで格納された1ビデオセ
グメントの可変長符号をDCTブロック毎の可変長符号
語に整理する逆配列器である。逆配列器60の出力信号
は可変長復号器61で元のゼロランと振幅値に変換され
る。62は2次元逆DCTを行う逆直交変換器で、63
は誤り訂正器58の示す誤りが存在するDCTブロック
の標本値を修整する修整器である。64は修整器63か
ら供給された標本値をメモリ65に格納した後、映像信
号の並び変えを行う逆ブロック化器で、逆ブロック化器
64で元の映像信号に復元された信号は出力端子66に
出力される。In FIG. 6, reference numeral 58 denotes an error corrector for correcting an error occurring in the recording / reproducing system existing in the signal output from the recording / reproducing device 57. When the error exceeds the correction capability (uncorrectable). If not), the error position is output. 59
Is an EOB inserter that inserts a block end code (hereinafter abbreviated as EOB) when an uncorrectable error occurs.
Is an inverse arrayer for organizing the variable length code of one video segment stored in the sync block format into variable length code words for each DCT block. The output signal of the inverse array device 60 is converted into the original zero run and amplitude value by the variable length decoder 61. 62 is an inverse orthogonal transformer that performs two-dimensional inverse DCT, and 63
Is a modifier that modifies the sample value of the DCT block in which the error indicated by the error corrector 58 exists. Reference numeral 64 denotes an inverse blocker that stores the sample values supplied from the modifier 63 in the memory 65 and then rearranges the video signals. The signal restored to the original video signal by the deblocker 64 is an output terminal. It is output to 66.
【0006】以上のように構成された従来の映像信号修
整装置について、以下その動作を説明する。The operation of the conventional video signal modifying device constructed as described above will be described below.
【0007】初めに記録時の動作について説明する。入
力端子50に入力された映像信号はメモリ52に格納さ
れる。メモリ52に格納される信号は8ビットでサンプ
リング周波数が13.5MHzでサンプリングされた輝
度信号(Y信号)、及び同じく8ビットでサンプリング
周波数が3.375MHzでサンプリングされた2種類
の式差信号(CR及びCB信号)である。量子化値は2の
補数で示され-127(2進数で10000001)〜126(0111111
0)の範囲の値である。ブロック化器51はメモリ52
に格納された映像信号を隣接する8×8画素のDCTブ
ロックにブロック化する。そして図7に示す様に水平7
20画素×垂直480画素で構成された1フレームの映
像信号の異なる5箇所から6DCTブロック(Y信号が
4DCTブロックとCR信号及びCB信号が各1DCTブ
ロック)づつ集め1ビデオセグメント(30DCTブロ
ック)を構成する。ブロック化器51は1ビデオセグメ
ント単位の映像信号をY→Y→Y→Y→C R→CBのDC
Tブロックの順番に直交変換器53に出力する。直交変
換器53は入力されたDCTブロックに対し水平方向及
び垂直方向に2次元DCTを行う。直交変換器53は2
次元DCT結果を水平及び垂直周波数成分の低いDC信
号(2の補数で示され、9ビット値で-255〜254の範囲
の値)から周波数の高いAC成分(極性1ビットと振幅
値8ビットの計9ビット値)の順番で可変長符号器54
に出力する。図8に2次元DCT結果の出力順番を示
す。First, the recording operation will be described. Entering
The video signal input to the input terminal 50 is stored in the memory 52.
Be done. The signal stored in the memory 52 is an 8-bit sample
Luminance sampled at a ring frequency of 13.5 MHz
Degree signal (Y signal) and also sampling with 8 bits
Two types of frequencies sampled at 3.375 MHz
Difference signal (CRAnd CBSignal). Quantization value is 2
Shown in complement -127 (binary 10000001) to 126 (0111111
It is a value in the range of 0). The blocker 51 has a memory 52
The video signal stored in the
Block into locks. And horizontal 7 as shown in FIG.
One frame image composed of 20 pixels x 480 vertical pixels
6 DCT blocks (Y signal is
4DCT block and CRSignal and CBSignal is 1 DCT each
1 video segment (30DCT block)
)). The blocker 51 is one video segment
Video signal in increments of Y → Y → Y → Y → C R→ CBDC
It outputs to the orthogonal transformer 53 in order of T block. Orthogonal transformation
The converter 53 extends horizontally to the input DCT block.
And two-dimensional DCT in the vertical direction. The orthogonal transformer 53 is 2
Dimensional DCT result is a DC signal with low horizontal and vertical frequency components
No. (Indicated in 2's complement, 9-bit value in the range -255 to 254
Value) to high frequency AC component (polarity 1 bit and amplitude)
Variable length encoder 54 in the order of 8 bits (total 9 bits)
Output to. Figure 8 shows the output order of the two-dimensional DCT results.
You
【0008】可変長符号器54に供給されたAC成分は
DCTブロック毎に入力信号の連続するゼロラン数をカ
ウントし、そのゼロラン数とその後ろの非ゼロ値(振幅
値)を組み合わせて可変長符号語に変換される。この可
変長符号語はゼロラン数と振幅値を発生確率の高い組み
合わせ程短い符号語に割り当てた符号である。この可変
長符号を用いることで伝送信号のエントロピーを下げる
ことが可能となる。可変長符号語は最小3ビット、最大
16ビットで、DCTブロックの最後を示すEOBは4
ビットの符号語である。各可変長符号語はLSBから見
た場合一意的に復元可能な符号になっている。EOBは
DCTブロックの値が残り全てゼロ値である場合または
最後のAC値(非ゼロ値)を可変長符号語に変換した後
の符号語につなげて付加される。可変長符号化された符
号語は配列器55に出力される。The AC component supplied to the variable length coder 54 counts the number of consecutive zero runs of the input signal for each DCT block, and combines the number of zero runs and the non-zero value (amplitude value) after that to the variable length code. Converted to words. This variable-length code word is a code in which a zero-run number and an amplitude value are assigned to shorter code words for combinations with higher occurrence probabilities. By using this variable length code, it is possible to reduce the entropy of the transmission signal. The variable-length codeword has a minimum of 3 bits and a maximum of 16 bits, and the EOB indicating the end of the DCT block is 4
It is a code word of bits. Each variable-length codeword is a code that can be uniquely restored when viewed from the LSB. The EOB is added when the values of the DCT block are all zero, or after the last AC value (non-zero value) is converted into a variable length codeword and is connected to the codeword. The variable-length coded codeword is output to the arrayer 55.
【0009】配列器55に入力された信号は1ビデオセ
グメント単位で規定のシンクブロックフォーマットの信
号配置に並び換えられる。このシンクブロックフォーマ
ットについて詳細に説明する。配列器55に供給された
No.0〜No.29の30個のDCTブロックは6DC
Tブロック毎にシンクブロックを構成する。図9にその
様子を示す。5つのシンクブロックは8ビットのデータ
幅を持ち、各シンクブロックは14バイトのY信号領域
4個と10バイトの色差信号(CR,CB信号)領域2個
の76バイトの領域からなる。可変長符号器54で符号
化された可変長符号語はこの5つのシンクブロック(sy
ncblock0〜syncblock4)に分けて書き込まれる。シンク
ブロックは図9に示すように番号が付され、ブロック
4,5,10,11,16,17,22,23,28,
29が10バイトのブロック(固定領域)で、その他が
14バイトのブロック(固定領域)である。このブロッ
クにはその番号に対応したDCTブロックの符号語デー
タを優先的に書き込むフォーマットになっている。図1
0はそれぞれのブロックの構成図である。それぞれのブ
ロックの先頭にはその番号に対応したDCTブロックの
DC信号のデータ(10ビット)が書き込まれ、それに
続いてAC成分の可変長符号語がLSBから順に書き込
まれる。図10の例ではAC成分の可変長符号語データ
量がDCT0及びDCT2では102ビット以上である
為固定領域から溢れる。シンクブロックへの書き込み手
順はまず、DCT0のDC信号をブロック0に書き込
み、続いてDCT0のAC成分の可変長符号語データを
順に書き込む。このとき、ブロック0の領域が一杯にな
ると、DCT0のデータの書き込みを一時中断し、次に
DCT1のデータをブロック1に書き込む。DCT1の
符号語データ全てが書き込まれて、まだブロック1に空
き領域が有っても、この空き領域を飛ばして、次のDC
T2のデータをブロック2の先頭から書き始める。この
ようにして、まずそのシンクブロックに属する全てのブ
ロックをその番号に対応したDCTブロックの可変長符
号語データで埋める。そして、次にDCT0のデータが
まだ全て書き込まれていないので、ブロック1の空いた
領域に残りの符号語データ(高域データ)を書き込む。
DCT0のデータを全て書き込んだら、次にまだ全ての
符号語データを書き込んでいないDCT2のデータ処理
に移る。図10のようにブロック1にまだ空き領域が有
れば、そこから残りの符号語データを書き込み、ブロッ
ク1の領域が一杯になると、次に空いているシンクブロ
ックの空き領域に残りの符号語データを書き込む。これ
らの動作を繰り返して、各DCTブロックのデータをシ
ンクブロックに書き込んでいく(DCT番号順に、番号
の小さいブロックの空いた領域から順にデータを書き込
む)。各シンクブロックには同一マクロブロックの高域
データを優先的に書き込む。そして、まだ書き込む領域
がある場合、他のシンクブロックの高域データを書き込
んでいく。図10に示すように、ブロックの番号と同一
番号のDCTブロックの符号語データを低域データ(L
AC)、他の番号のブロックに書き込まれた符号語デー
タを高域データ(HAC)と呼んでいる。The signals input to the array unit 55 are rearranged in a signal arrangement of a prescribed sync block format in units of one video segment. This sync block format will be described in detail. The 30 DCT blocks No. 0 to No. 29 supplied to the array unit 55 are 6DC.
A sync block is formed for each T block. This is shown in FIG. 5 sync blocks have a data width of eight bits, each sync block consists of the region of 14 bytes of Y signal area 4 and 10 bytes of color difference signals (C R, C B signals) region two 76 bytes. The variable-length codeword encoded by the variable-length encoder 54 is the five sync blocks (sy
It is written separately in ncblock0 to syncblock4). The sync blocks are numbered as shown in FIG. 9, and the blocks 4, 5, 10, 11, 16, 17, 22, 23, 28,
29 is a 10-byte block (fixed area), and the other is a 14-byte block (fixed area). In this block, the code word data of the DCT block corresponding to the number is written preferentially. Figure 1
Reference numeral 0 is a block diagram of each block. Data (10 bits) of the DC signal of the DCT block corresponding to the number is written at the beginning of each block, and subsequently, variable length codewords of AC components are written in order from the LSB. In the example of FIG. 10, the variable-length codeword data amount of the AC component is 102 bits or more in DCT0 and DCT2, and therefore overflows from the fixed area. In the write procedure to the sync block, first, the DC signal of DCT0 is written in the block 0, and subsequently the variable length codeword data of the AC component of DCT0 is written in order. At this time, when the area of the block 0 is full, the writing of the data of DCT0 is temporarily suspended, and then the data of the DCT1 is written in the block 1. Even if all the code word data of DCT1 is written and there is still an empty area in block 1, this empty area is skipped and the next DC
The data of T2 is written from the beginning of block 2. In this way, first, all blocks belonging to the sync block are filled with the variable length code word data of the DCT block corresponding to the number. Then, since all the data of DCT0 has not yet been written, the remaining codeword data (high-frequency data) is written in the empty area of block 1.
When all the data of DCT0 has been written, the data processing of DCT2 in which all the codeword data has not been written yet is started. As shown in FIG. 10, if the block 1 still has an empty area, the remaining codeword data is written from that area. Write the data. By repeating these operations, the data of each DCT block is written in the sync block (in the order of DCT numbers, the data is written in order from the vacant area of the block with the smallest number). High frequency data of the same macroblock is preferentially written in each sync block. Then, if there is still an area to be written, the high frequency data of another sync block is written. As shown in FIG. 10, the code word data of the DCT block having the same number as the block number is converted into the low-frequency data (L
AC), codeword data written in blocks of other numbers are called high frequency data (HAC).
【0010】配列器55で所定のシンクブロックフォー
マットの信号配列にされた信号は誤り訂正符号演算器5
6で誤り訂正符号を付加される。誤り訂正符号演算器5
6は135syncblockを1単位(訂正ブロック)として
誤り訂正符号を付加する。水平76バイトの信号に対し
8バイトに誤り訂正符号を付加し、更に垂直135バイ
トの信号に対し11バイトの誤り訂正符号を付加する。
また誤り訂正演算器56は供給された1シンクブロック
(77バイト)の信号に誤りが無いが否かを示すフラグ
を1バイト付加する。通常このフラグは記録時、誤りが
無いことを示す全て"0"で記録される。但し、圧縮され
た状態で直接誤り訂正符号演算器56に入力される場合
(図不記載)、伝送系で誤りが発生することがある。こ
の場合フラグは誤りが存在することを示す値で記録され
ることになる。誤り訂正演算器56の出力信号は記録再
生器57に記録される。The signal arranged in the signal array of the predetermined sync block format by the array unit 55 is the error correction code calculator 5
At 6, an error correction code is added. Error correction code calculator 5
In 6, the error correction code is added with 135 sync blocks as one unit (correction block). An error correction code is added to 8 bytes for a horizontal 76 byte signal, and an 11 byte error correction code is added to a vertical 135 byte signal.
Further, the error correction calculator 56 adds 1 byte of a flag indicating whether or not there is an error in the supplied signal of 1 sync block (77 bytes). Normally, this flag is recorded with all "0" indicating that there is no error during recording. However, when the data is directly input to the error correction code calculator 56 in a compressed state (not shown in the figure), an error may occur in the transmission system. In this case, the flag is recorded with a value indicating that an error exists. The output signal of the error correction calculator 56 is recorded in the recording / reproducing device 57.
【0011】次に再生時の動作について述べる。記録再
生器57から再生された信号は、誤り訂正器58に供給
される。誤り訂正器58は記録時に付加した誤り訂正符
号から記録再生系で生じた誤り箇所を検出して、その誤
りを訂正する。誤り数が訂正能力以内の場合は、記録再
生系で発生した全ての誤りを訂正しEOB挿入器59に
出力する。このときフラグは誤りが存在しないことを示
す全て"0"の状態で出力される。誤り発生頻度が誤り訂
正能力を越えている為訂正不可能の場合は、誤りが発生
しているシンクブロックでの位置及び画像信号のフレー
ムに於ける位置を演算しEOB挿入器59及び修整器6
3に出力する。またこのとき、フラグは誤りが存在する
ことを示す内容に書き換えられる。Next, the operation during reproduction will be described. The signal reproduced from the recording / reproducing device 57 is supplied to the error corrector 58. The error corrector 58 detects an error portion generated in the recording / reproducing system from the error correction code added at the time of recording and corrects the error. If the number of errors is within the correction capability, all the errors generated in the recording / reproducing system are corrected and output to the EOB inserter 59. At this time, the flags are all output as "0" indicating that no error exists. If the error occurrence frequency exceeds the error correction capability and cannot be corrected, the position in the sync block in which the error occurs and the position in the frame of the image signal are calculated, and the EOB inserter 59 and the modifier 6
Output to 3. At this time, the flag is rewritten to the content indicating that an error exists.
【0012】EOB挿入器59は訂正出来ない誤りが存
在する場合、誤り訂正器58から供給された誤り位置情
報を用いて以下の処理を行う。 (1)誤りが存在するDCTブロックの誤っていない最
後の可変長符号語にEOBを付加する。但し誤りがDC
信号の位置にある場合は無処理とする。 (2)誤りが存在しないDCTブロックの低域データに
EOBを付加する。If there is an uncorrectable error, the EOB inserter 59 performs the following processing using the error position information supplied from the error corrector 58. (1) EOB is added to the last variable length codeword in the DCT block in which an error exists. However, the error is DC
If it is at the signal position, no processing is performed. (2) EOB is added to the low frequency band data of the DCT block in which no error exists.
【0013】EOB挿入器59は誤りが存在しない場
合、入力信号をそのまま逆配列器60に出力する。When there is no error, the EOB inserter 59 outputs the input signal as it is to the inverse arrayer 60.
【0014】可変長符号語は1ビットでも誤りが存在す
ると誤り以降の可変長符号の復号が不可能になる。しか
し上記の処理により高域データを破棄(映像信号の高周
波成分失われる)されることになるが全てのDCTブロ
ックの可変長符号語の復号が可能になる。EOB挿入器
59の出力信号は逆配列器60に供給される。逆配列器
60は5個のシンクブロックに格納された30DCTブ
ロック分のDC信号及びAC成分の可変長符号語を属す
るDCTブロック毎につなぎ合わせ、可変長復号器61
に出力する。可変長復号器61はこの信号を元のゼロ値
と振幅値に変換し、逆直交変換器62に出力する。逆直
交変換器62は入力信号を2次元逆DCTし、修整器6
3に出力する。修整器63は誤り訂正器58から供給さ
れた訂正不可能な誤り位置情報を元にその誤りが存在す
るDCTブロックの標本値を1フレーム前の同一位置の
標本値で置き換えることで修整を実現する。そして修整
結果を逆ブロック化器64に出力する。逆ブロック化器
64は入力信号をメモリ65に格納し1フレームの映像
信号を再合成し、出力端子66に出力する。If there is an error even with one bit in the variable length code word, it becomes impossible to decode the variable length code after the error. However, although the high frequency data is discarded (the high frequency component of the video signal is lost) by the above processing, the variable length codewords of all DCT blocks can be decoded. The output signal of the EOB inserter 59 is supplied to the reverse arrayer 60. The inverse arrayer 60 connects the DC signals of 30 DCT blocks stored in the five sync blocks and the variable length codewords of the AC components for each DCT block to which the variable length decoder 61 is connected.
Output to. The variable length decoder 61 converts this signal into the original zero value and the amplitude value, and outputs it to the inverse orthogonal converter 62. The inverse orthogonal transformer 62 performs a two-dimensional inverse DCT on the input signal, and the modifier 6
Output to 3. Based on the uncorrectable error position information supplied from the error corrector 58, the modifying unit 63 replaces the sample value of the DCT block in which the error exists with the sample value of the same position one frame before to realize the modification. . Then, the modification result is output to the deblocking unit 64. The deblocking unit 64 stores the input signal in the memory 65, resynthesizes the video signal of one frame, and outputs it to the output terminal 66.
【0015】[0015]
【発明が解決しようとする課題】しかしながら上記の構
成では、誤り訂正器で検出した訂正不可能な誤り位置情
報を修整器に供給し、修整を実現していた。そのため、
訂正不可能な誤りが発生したDCTブロックの映像信号
の位置を求め、更にその位置情報を間に挟まれた逆配列
器,可変長復号器,逆直交変換器の処理遅延を計算して
修整器に伝送する必要があった。その結果修整器の回路
構成を複雑にし、強いては回路規模の増加を招いてしま
う問題点を有していた。However, in the above configuration, the uncorrectable error position information detected by the error corrector is supplied to the retouching device to realize the retouching. for that reason,
The position of the video signal of the DCT block in which an uncorrectable error has occurred is obtained, and further, the processing delay of the inverse array device, variable length decoder, and inverse orthogonal transform device sandwiched by the position information is calculated and the correction device Had to be transmitted to. As a result, there has been a problem that the circuit configuration of the modifier is complicated, and eventually the circuit scale is increased.
【0016】本発明は上記従来の問題点を解決するもの
で、訂正不可能な誤りが発生したDCTブロックの位置
情報を後段の修整器に新たに信号線を増設して伝送する
必要をなくし簡単な回路で修整を実現可能な構成を有す
る映像信号修整装置を提供することを目的とする。The present invention solves the above-mentioned problems of the prior art, and it is easy to eliminate the need to newly add a signal line to a post-stage reconditioner to transmit the position information of the DCT block in which an uncorrectable error has occurred, and it is simple. It is an object of the present invention to provide a video signal modification device having a configuration capable of realizing modification with various circuits.
【0017】[0017]
【課題を解決するための手段】この目的を達成するため
に本発明の映像信号修整装置は、記録再生器から再生さ
れた信号に付加された誤り訂正符号から記録領域毎に訂
正不能誤り位置を検出し誤り位置情報を出力し、同時に
誤りが残留したことを示す符号にフラグを変更する誤り
訂正器と、訂正不能誤りが存在する場合、その訂正不能
な誤りが存在する記録領域の直流成分を通常発生しない
値の符号語に置き換え、同時に最初の交流成分に対応可
変長符号語をブロック終了符号語に置き換えるエラーコ
ード挿入器と、誤り訂正器から出力されたフラグが記録
領域に誤りが存在することを示す場合は記録領域内で最
初に現れるブロック終了符号語までの交流成分を用いて
可変長復号を行い、または記録領域内にブロック終了符
号語が存在しない場合には記録領域内に含まれる交流成
分に対する符号語のみを用いて可変長復号し、誤りが存
在しないことを示す場合は他のブロックに対応する記録
領域の隙間に格納された符号語も用いて可変長復号する
可変長復号器と、可変長復号器の出力信号を標本値に変
換する逆直交変換器と、逆直交変換器の出力信号が通常
発生しない値であるか否かを検出するエラー符号検出器
と、エラー符号検出器で標本値が通常発生しない値であ
ると検出された場合、過去または未来の隣接する標本値
で置き換えることで標本値を修整する修整器と持つ構成
を有している。To achieve this object, a video signal adjusting device of the present invention determines an uncorrectable error position for each recording area from an error correction code added to a signal reproduced from a recording / reproducing device. An error corrector that detects and outputs error position information, and at the same time changes the flag to a code indicating that an error remains, and if an uncorrectable error exists, the DC component of the recording area where the uncorrectable error exists is detected. The error code inserter that replaces the code word with a value that does not normally occur and at the same time corresponds to the first AC component the variable length code word to the block end code word, and the flag output from the error corrector has an error in the recording area. If this is the case, variable length decoding is performed using the AC component up to the first block end codeword that appears in the recording area, or there is no block end codeword in the recording area. In case of variable length decoding using only the code word for the AC component contained in the recording area, if the error does not exist, the code word stored in the gap of the recording area corresponding to another block is also used. Variable-length decoder for variable-length decoding, an inverse orthogonal transformer for converting the output signal of the variable-length decoder into a sample value, and detection of whether the output signal of the inverse orthogonal transformer has a value that does not normally occur It has a configuration with an error code detector and a modifier that corrects the sample value by replacing it with an adjacent sample value in the past or in the future when the error code detector detects that the sample value does not normally occur. is doing.
【0018】[0018]
【作用】本発明は上記した構成により、訂正不可能な信
号が含まれるDCTブロックのDC信号を通常発生しな
い値に、同時にそのDC信号に続く最初に可変長符号語
をブロック終了符号に置き換える。また他DCTブロッ
クは低域データにブロック終了符号を付加する。その結
果、逆直交変換の出力信号では訂正不可能な誤りが含ま
れたDCTブロックの標本値全てが通常発生しない標本
値になる。つまりこの値を検出することで誤り訂正器か
ら誤り位置情報を直接伝達する必要が無くなり、回路規
模の削減が可能になる。With the above-described structure, the present invention replaces the DC signal of the DCT block containing the uncorrectable signal with a value that does not normally occur, and at the same time, first replaces the variable length code word with the block end code following the DC signal. The other DCT blocks add a block end code to the low frequency data. As a result, in the output signal of the inverse orthogonal transform, all the sample values of the DCT block containing uncorrectable errors become sample values that do not normally occur. That is, by detecting this value, it is not necessary to directly transmit the error position information from the error corrector, and the circuit scale can be reduced.
【0019】[0019]
【実施例】以下、本発明の実施例について、図面を参照
しながら説明する。図1は本発明の実施例における映像
信号修整装置のブロック図である。図2はエラーコード
挿入器の動作説明図である。図3及び図4は修整部のブ
ロック図である。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a video signal modifying device according to an embodiment of the present invention. FIG. 2 is a diagram for explaining the operation of the error code inserter. 3 and 4 are block diagrams of the modifying unit.
【0020】図1において、2は記録再生器1から出力
された信号に付加された誤り訂正符号を用いて記録再生
系で生じた誤りを訂正する誤り訂正器で、誤りが訂正不
可能な場合はその誤り位置情報を出力する。3は訂正不
可能な誤りが発生した場合、エラーコード及びEOBを
挿入するエラーコード挿入器で、4はシンクブロックフ
ォーマットに格納された1ビデオセグメントの可変長符
号をDCTブロック毎に整理する逆配列器で、逆配列器
4の出力信号は可変長復号器5で元のゼロランと振幅値
に変換される。6は2次元逆DCTを行う逆直交変換器
で、7はエラー符号検出器、8は修整器である。9はエ
ラー符号検出器7と修整器8で構成された修整部であ
る。10は修整部9で修整された信号をメモリ11に格
納し、1フレーム単位の映像信号に並び換える逆ブロッ
ク化器である。逆ブロック化器10の出力信号は出力端
子12に供給される。In FIG. 1, reference numeral 2 denotes an error corrector for correcting an error generated in a recording / reproducing system by using an error correction code added to a signal output from the recording / reproducing device 1. When the error cannot be corrected. Outputs the error position information. Reference numeral 3 is an error code inserter for inserting an error code and EOB when an uncorrectable error occurs, and 4 is an inverse array for rearranging the variable length code of one video segment stored in the sync block format for each DCT block. The output signal of the inverse array unit 4 is converted into the original zero run and amplitude value by the variable length decoder 5. Reference numeral 6 is an inverse orthogonal transformer that performs two-dimensional inverse DCT, 7 is an error code detector, and 8 is a modifier. Reference numeral 9 is a correction unit composed of the error code detector 7 and the correction unit 8. An inverse blocker 10 stores the signal modified by the modifying unit 9 in the memory 11 and rearranges it into a video signal in units of one frame. The output signal of the deblocker 10 is supplied to the output terminal 12.
【0021】図3において20は修整部の入力端子、2
1はエラーフラグ検出器、22はエラーフラグ検出器2
1の出力信号で切り替わるスイッチ、23は1画素メモ
リ、24は修整部の出力端子である。In FIG. 3, reference numeral 20 designates an input terminal of the modifying section, 2
1 is an error flag detector, 22 is an error flag detector 2
A switch that is switched by the output signal of 1, a pixel memory 23, and an output terminal of the retouching unit.
【0022】図4において30は修整部の入力端子、3
1はエラーフラグ検出器、32はエラーフラグ検出器3
1の出力信号で切り替わるスイッチ、33は1フレーム
メモリ、34は修整部の出力端子である。In FIG. 4, reference numeral 30 denotes an input terminal of the modification section, 3
1 is an error flag detector, 32 is an error flag detector 3
A switch that is switched by the output signal of 1, 33 is a one-frame memory, and 34 is an output terminal of the modifying unit.
【0023】以上のように構成された本実施例における
映像信号修整装置の動作について以下説明する。The operation of the video signal modifying device of this embodiment having the above-mentioned structure will be described below.
【0024】記録時の動作は従来例と同一であるのでこ
こでは省略する。再生時の動作について詳細に述べる。Since the operation at the time of recording is the same as the conventional example, it is omitted here. The operation during reproduction will be described in detail.
【0025】記録再生器1から再生された信号は、誤り
訂正器2に供給される。誤り訂正器2は記録時に付加し
た誤り訂正符号から記録再生系で生じた誤り箇所を検出
して、その誤りを訂正する。誤りが訂正能力以内の場合
は、記録再生系で発生した全ての誤りを訂正しエラ−コ
−ド挿入器3に出力する。このときフラグは誤りが存在
しないことを示す全て"0"の状態で出力される。誤りの
数が誤り訂正能力を越えている為訂正不可能の場合は、
誤りが発生しているシンクブロックでの位置情報ENを
エラ−コ−ド挿入器3に出力する。またこのとき、フラ
グを誤りが存在することを示す内容に書き換えて出力す
る。The signal reproduced from the recording / reproducing device 1 is supplied to the error correcting device 2. The error corrector 2 detects an error portion generated in the recording / reproducing system from the error correction code added at the time of recording and corrects the error. If the errors are within the correction capability, all errors occurring in the recording / reproducing system are corrected and output to the error code inserter 3. At this time, the flags are all output as "0" indicating that no error exists. If the number of errors exceeds the error correction ability and cannot be corrected,
The position information EN in the sync block in which the error has occurred is output to the error code inserter 3. At this time, the flag is rewritten to the content indicating that an error exists and is output.
【0026】エラーコード挿入器3はフラグが誤りが残
留していることを示す場合、誤り訂正器2から供給され
た誤り位置情報ENを用いて以下の処理を行う。 (1)誤りが存在するDCTブロックのDC信号を"-25
6"(2進数で100000000)に置き換え、同時にDC信号
に続く最初の可変長符号語をEOBに置き換える。 (2)誤りが存在しないDCTブロックの低域データに
EOBを付加する。When the flag indicates that an error remains, the error code inserter 3 performs the following processing using the error position information EN supplied from the error corrector 2. (1) Set the DC signal of the DCT block in which an error is present to "-25
6 "(binary number 100000000) and at the same time replace the first variable length codeword following the DC signal with EOB. (2) EOB is added to the low band data of the DCT block in which no error exists.
【0027】可変長符号語は1ビットでも誤りが存在す
ると復号が不可能になるが以上の処理により誤りの存在
しないDCTブロックの高域データを破棄(映像信号の
高周波成分失われる)されることになるが30DCTブ
ロック全ての可変長符号語の復号が可能になる。エラー
コード挿入器3の出力信号は逆配列器4に供給される。
逆配列器4は5個のシンクブロックに格納された30D
CTブロック分のDC信号及びAC成分の可変長符号語
を属するDCTブロック毎につなぎ合わせ、可変長復号
器5に出力する。可変長復号器5はこの信号を元のゼロ
値と振幅値に変換し、逆直交変換器6に出力する。逆直
交変換器6は入力信号を2次元逆DCTし、修整部9に
出力する。The variable-length code word cannot be decoded if there is an error even with one bit, but the above processing discards the high-frequency data of the DCT block in which no error exists (the high-frequency component of the video signal is lost). However, it becomes possible to decode variable length code words of all 30 DCT blocks. The output signal of the error code inserter 3 is supplied to the reverse arrayer 4.
Inverse arrayer 4 stores 30D stored in 5 sync blocks
The DC signals for the CT blocks and the variable length codewords of the AC components are connected to each other for each DCT block and output to the variable length decoder 5. The variable length decoder 5 converts this signal into the original zero value and amplitude value, and outputs it to the inverse orthogonal converter 6. The inverse orthogonal transformer 6 performs a two-dimensional inverse DCT on the input signal and outputs it to the modifying unit 9.
【0028】以上の結果、フラグが誤りが存在している
ことを示す場合は誤りが存在するDCTブロックはDC
信号(エラ−コ−ド)だけが復号され、その他のDCT
ブロックはLACだけを用いた復号を行う。フラグが誤
りが存在しないことを示す場合は、他のDCTブロック
に割り当てられたHACも用いた可変長符号の復号が行
われる。As a result of the above, if the flag indicates that an error exists, the DCT block in which the error exists is DC.
Only the signal (error code) is decoded and the other DCT
The block performs decoding using LAC only. If the flag indicates that there is no error, the variable length code is also decoded using the HACs assigned to other DCT blocks.
【0029】誤りが訂正不能であったDCTブロックの
逆直交変換器6への入力信号はDC信号が"-256"で63
個のAC成分は全て"0"である。よって逆直交変換器6
の出力信号は8×8画素全て"-128"になる。何故ならば
水平及び垂直の高周波成分が存在しない為、DC信号の
成分が全ての標本値の値になる。直交変換後のDC信号
は9ビットであるが映像信号の標本値は8ビットである
為、逆直交変換器6の入力信号"-256"は、逆直交変換器
6の出力値"-128"に相当する。この"-128"の値は記録時
の標本値には割り当てられていない値である。The input signal to the inverse orthogonal transformer 6 of the DCT block whose error cannot be corrected is 63 when the DC signal is "-256".
All AC components are "0". Therefore, the inverse orthogonal transformer 6
The output signal of is all "-128" in 8x8 pixels. Because there are no horizontal and vertical high frequency components, the DC signal components are all sampled values. The DC signal after orthogonal transformation is 9 bits, but the sample value of the video signal is 8 bits, so the input signal "-256" of the inverse orthogonal transformer 6 is the output value "-128" of the inverse orthogonal transformer 6. Equivalent to. This "-128" value is not assigned to the sample value at the time of recording.
【0030】修整部9の第1の構成例を図3に示す。修
整部9に入力された信号はエラーコード検出器21とス
イッチ22に供給される。エラーコード検出器21は"-
128"(2進数10000000)を検出する回路である。映像信
号の標本値には負の最大値"-128"は割り当てられない
為、再生時に修整部9に供給された信号中で値が"-128"
の信号は修整すべきDCTブロックの信号と判断でき
る。エラーコード検出器21で"-128"を検出したとき、
スイッ22はN側に切り替わる。この結果、出力端子2
4を介して逆ブロック化器12には誤った標本値の代わ
りに同一ライン上の1画素前の標本値が供給されること
になる。なお誤りが連続した場合は、スイッチ22はエ
ラーコード(-128)が検出され続ける間、N側に切り替
わったままになる為、出力した中で最も新しい誤りでな
い標本値が出力され続けることになる。FIG. 3 shows a first configuration example of the modifying unit 9. The signal input to the correction unit 9 is supplied to the error code detector 21 and the switch 22. The error code detector 21 is "-
This is a circuit that detects 128 "(binary number 10000000). Since the negative maximum value" -128 "is not assigned to the sample value of the video signal, the value in the signal supplied to the retouching unit 9 during reproduction is" -128 "
Can be judged as the signal of the DCT block to be modified. When "-128" is detected by the error code detector 21,
The switch 22 is switched to the N side. As a result, output terminal 2
Through 4, the deblocking unit 12 is supplied with the sample value one pixel before on the same line instead of the incorrect sample value. If the error is continuous, the switch 22 remains switched to the N side while the error code (-128) is continuously detected, so that the latest sample value that is not an error is continuously output. .
【0031】修整部9の第2の構成例を図4に示す。修
整部9に入力された信号はエラーコード検出器31とス
イッチ32に供給される。エラーコート検出器31で"-
128"を検出したとき、スイッ32はN側に切り替わる。
この結果、出力端子34を介して逆ブロック化器12に
は誤った標本値の代わりに1フレーム前の同一位置の標
本値が供給されることになる。誤りでない標本値は出力
端子34を介し逆ブロック化器10に供給される。また
同時にフレームメモリ33の同一位置の標本値が格納さ
れているアドレスに上書きされる。この処理により同一
位置で誤りが連続して起こる場合は、過去に出力した誤
りでない標本値が出力されることになる。フレームメモ
リ33を用いた修整の方が静止画では1画素メモリ23
を用いた修整よりも劣化が少ない特徴を有するが、回路
規模が増加する。FIG. 4 shows a second configuration example of the modifying section 9. The signal input to the correction unit 9 is supplied to the error code detector 31 and the switch 32. Error coat detector 31
When 128 "is detected, the switch 32 switches to the N side.
As a result, the sample value at the same position one frame before is supplied to the deblocking unit 12 via the output terminal 34, instead of the incorrect sample value. Non-erroneous sample values are supplied to the deblocker 10 via the output terminal 34. At the same time, the sample value at the same position in the frame memory 33 is overwritten in the stored address. When errors occur successively at the same position by this processing, sample values that have not been output in the past are output. One pixel memory 23 for still images is better to modify using frame memory 33.
It has the characteristic of less deterioration than the modification using, but the circuit scale increases.
【0032】逆ブロック化器10は入力信号をメモリ1
1に格納し信号を並び換えることでもとの1フレームの
映像信号を再構成し、出力端子12に出力する。The deblocker 10 stores the input signal in the memory 1
The original 1-frame video signal is reconstructed by storing in 1 and rearranging the signals, and output to the output terminal 12.
【0033】以上のように本発明の映像信号修整装置
は、記録再生器から再生された信号に付加された誤り訂
正符号から記録領域毎に訂正不能誤り位置を検出し誤り
位置情報を出力し、同時に誤りが残留したことを示す符
号にフラグを変更する誤り訂正器と、訂正不能誤りが存
在する場合、その訂正不能な誤りが存在する記録領域の
直流成分を通常発生しない値の符号語に置き換え、同時
に最初の交流成分に対応可変長符号語をブロック終了符
号語に置き換えるエラーコード挿入器と、誤り訂正器か
ら出力されたフラグが記録領域に誤りが存在することを
示す場合は記録領域内で最初に現れるブロック終了符号
語までの交流成分を用いて可変長復号を行い、または記
録領域内にブロック終了符号語が存在しない場合には記
録領域内に含まれる交流成分に対する符号語のみを用い
て可変長復号し、誤りが存在しないことを示す場合は他
のブロックに対応する記録領域の隙間に格納された符号
語も用いて可変長復号する可変長復号器と、可変長復号
器の出力信号を標本値に変換する逆直交変換器と、逆直
交変換器の出力信号が通常発生しない値であるか否かを
検出するエラー符号検出器と、エラー符号検出器で標本
値が通常発生しない値であると検出された場合、過去ま
たは未来の隣接する標本値で置き換えることで標本値を
修整する修整器を設けることで修整する位置情報を新た
に信号線を増設し誤り訂正器から修整器に伝送する必要
をなくすことを可能にする。その結果、修整回路の構成
を大幅に簡易化可能にする。また、誤り位置情報に基づ
いて修整標本点を修整するタイミング制御回路を非常に
簡単にすることも可能になる。As described above, the video signal modifying apparatus of the present invention detects the uncorrectable error position for each recording area from the error correction code added to the signal reproduced from the recording / reproducing device, and outputs the error position information, At the same time, an error corrector that changes the flag to a code indicating that an error remains, and if there is an uncorrectable error, replaces the DC component of the recording area where the uncorrectable error exists with a code word of a value that does not normally occur. At the same time, the error code inserter that replaces the variable length code word with the block end code word corresponding to the first AC component and the flag output from the error corrector indicates that an error exists in the recording area. Variable length decoding is performed using the AC component up to the first appearing block end codeword, or if the block end codeword does not exist in the recording area, it is included in the recording area. A variable-length decoder that performs variable-length decoding using only the codewords for the stream components, and also performs variable-length decoding using the codewords stored in the gaps in the recording areas corresponding to other blocks if it indicates that no error exists. , An inverse orthogonal transformer that converts the output signal of the variable length decoder into a sample value, an error code detector that detects whether the output signal of the inverse orthogonal transformer has a value that does not normally occur, and an error code detection If the sampler detects that the sampled value is a value that does not normally occur, replace the adjacent sampled value in the past or in the future to adjust the sampled value. It is possible to increase the number and eliminate the need for transmission from the error corrector to the modifier. As a result, the configuration of the modifying circuit can be greatly simplified. Further, it becomes possible to make the timing control circuit for modifying the modified sample points based on the error position information very simple.
【0034】なお、本実施例において訂正不可能な信号
を含むDCTブロックのDC信号を"-256"に置き換えた
が、実際にDC信号に使われない他の信号、例えば"25
6"等を用いても良い。また修整器の構成も1フレーム前
の標本値の置き換えでなく、1フレーム後や1フィール
ド後の標本値の置き換えや前後のフレームやフィールド
の標本値の平均値等であって良い。Although the DC signal of the DCT block including the uncorrectable signal is replaced with "-256" in this embodiment, another signal not actually used as the DC signal, for example, "25" is used.
6 ", etc. may be used. Also, the modifier configuration does not replace the sample value one frame before, but replaces the sample value one frame after or one field after, or the average value of sample values before and after the frame or field. And so on.
【0035】[0035]
【発明の効果】以上のように本発明は、訂正不可能なD
CTブロックの位置情報を修整器に直接伝送することな
く、誤りDCTブロックを検出可能にする。その結果、
修整器のタイミング生成回路が非常に簡単になり、修整
回路の回路規模縮小が可能になる。その実用的効果は大
きい。As described above, according to the present invention, the uncorrectable D
The error DCT block can be detected without directly transmitting the position information of the CT block to the modifier. as a result,
The timing generator circuit of the modifier is very simple, and the circuit scale of the modifier circuit can be reduced. Its practical effect is great.
【図1】本発明の実施例における映像信号修整装置の構
成を示すブロック図FIG. 1 is a block diagram showing a configuration of a video signal modifying device according to an embodiment of the present invention.
【図2】同実施例のエラーコード挿入器の動作説明図FIG. 2 is an operation explanatory diagram of the error code inserter of the embodiment.
【図3】同実施例における修整器8の第1の内部構成例
を示すブロック図FIG. 3 is a block diagram showing a first internal configuration example of a modifier 8 in the same embodiment.
【図4】同実施例における修整器8の第2の内部構成例
を示すブロック図FIG. 4 is a block diagram showing a second internal configuration example of the reconditioner 8 in the same embodiment.
【図5】従来の映像信号記録装置の構成を示すブロック
図FIG. 5 is a block diagram showing a configuration of a conventional video signal recording device.
【図6】従来の映像信号修整装置の構成を示すブロック
図FIG. 6 is a block diagram showing a configuration of a conventional video signal modifying device.
【図7】図5におけるブロック化器51の動作説明図FIG. 7 is an operation explanatory diagram of the blocker 51 in FIG.
【図8】図5における直交変換器53の出力信号の順番
を示す説明図8 is an explanatory diagram showing the order of output signals of the orthogonal transformer 53 in FIG.
【図9】シンクブロックの構成を示す説明図FIG. 9 is an explanatory diagram showing the structure of a sync block.
【図10】シンクブロックフォーマットを示す説明図FIG. 10 is an explanatory diagram showing a sync block format.
1 記録再生器 2 誤り訂正器 3 エラーコード挿入器 4 逆配列器 5 可変長復号器 6 逆直交変換器 7 エラーコード検出器 8 修整器 9 修整部 10 逆ブロック化器 11 メモリ 12 出力端子 1 Recorder / Reproducer 2 Error Corrector 3 Error Code Inserter 4 Inverse Aligner 5 Variable Length Decoder 6 Inverse Orthogonal Transformer 7 Error Code Detector 8 Modifying Device 9 Modifying Unit 10 Inverse Blocking Device 11 Memory 12 Output Terminal
Claims (3)
標本値を集めてブロックを構成するブロック化器と、 前記ブロック毎に直交変換して直交成分に変換する直交
変換器と、 前記直交変換されたブロック内の信号を固定長の直流成
分と可変長符号化された交流成分とブロックの終了を示
す終了符号語とに変換する可変長符号器と、 前記可変長符号器から出力された前記ブロック毎の信号
に所定の大きさの記録領域を設定し、その記録領域の予
め定められた位置に前記各記録領域に対応するブロック
の直流成分を格納し、かつ記録領域に対応する交流成分
の可変長符号語とブロック終了符号語を前記記録領域が
満たされるまで記録し、前記記録領域に対応するブロッ
クの全ての可変長符号語及び終了符号語を記録できなか
った場合には、その記録できなった符号語または符号語
の一部を他のブロックの記録領域の隙間に格納する配列
器と、 前記配列器から供給された複数の記録領域毎に誤り訂正
符号を付加し、更にこの訂正領域毎に訂正不能誤りが存
在するか否かを示すフラグを付加する誤り訂正符号演算
器と、 前記誤り訂正符号演算器の出力信号を記録及び再生する
記録再生器と、 前記記録再生器から再生された信号に付加された誤り訂
正符号から記録領域毎に訂正不能誤り位置を検出し誤り
位置情報を出力し、同時に誤りが残留したことを示す符
号にフラグを変更する誤り訂正器と、 前記訂正不能誤りが存在する場合、その訂正不能な誤り
が存在する記録領域の直流成分を通常発生しない値の符
号語に置き換え、同時に最初の交流成分に対応可変長符
号語をブロック終了符号語に置き換えるエラーコード挿
入器と、 前記誤り訂正器から出力されたフラグが記録領域に誤り
が存在することを示す場合は記録領域内で最初に現れる
ブロック終了符号語までの交流成分を用いて可変長復号
を行い、または記録領域内にブロック終了符号語が存在
しない場合には記録領域内に含まれる交流成分に対する
符号語のみを用いて可変長復号し、誤りが存在しないこ
とを示す場合は他のブロックに対応する記録領域の隙間
に格納された符号語も用いて可変長復号する可変長復号
器と、 前記可変長復号器の出力信号を標本値に変換する逆直交
変換器と、 前記逆直交変換器の出力信号が通常発生しない値である
か否かを検出するエラー符号検出器と、 前記エラー符号検出器で標本値が通常発生しない値であ
ると検出された場合、過去または未来の隣接する標本値
で置き換えることで標本値を修整する修整器とを有する
ことを特徴とする映像信号修整装置。1. A blocker that collects a plurality of adjacent sample values of an input video signal to form a block, an orthogonal transformer that orthogonally transforms each block to transform it into an orthogonal component, and the orthogonal. A variable-length encoder for converting the converted signal in the block into a fixed-length DC component, a variable-length encoded AC component, and an end codeword indicating the end of the block, and an output from the variable-length encoder. A recording area of a predetermined size is set in the signal for each block, the DC component of the block corresponding to each recording area is stored at a predetermined position of the recording area, and the AC component corresponding to the recording area is stored. Variable length code words and block end code words are recorded until the recording area is filled, and if all variable length code words and end code words of the block corresponding to the recording area cannot be recorded, An arrayer that stores a codeword that cannot be recorded or a part of the codeword in a gap between recording areas of other blocks, and an error correction code is added to each of the plurality of recording areas supplied from the arrayer. An error correction code calculator that adds a flag indicating whether or not an uncorrectable error exists for each correction area, a recording and reproducing device that records and reproduces an output signal of the error correction code calculator, and the recording and reproducing device. An error corrector that detects an uncorrectable error position for each recording area from the error correction code added to the reproduced signal, outputs error position information, and simultaneously changes the flag to a code indicating that an error remains, When an uncorrectable error exists, the DC component of the recording area in which the uncorrectable error exists is replaced with a code word of a value that does not normally occur, and at the same time, the variable length code word corresponding to the first AC component is used as the block end code. When the flag output from the error corrector indicates that there is an error in the recording area, the error code inserter that replaces the word is used to change the AC component up to the first block end code word that appears in the recording area. If long block decoding is performed, or if there is no block end codeword in the recording area, variable length decoding is performed using only the codeword for the AC component included in the recording area. Variable-length decoder that performs variable-length decoding also using the codewords stored in the gaps of the recording areas corresponding to the blocks, an inverse orthogonal transformer that converts the output signal of the variable-length decoder into a sample value, and the inverse An error code detector that detects whether or not the output signal of the orthogonal transformer has a value that does not normally occur, and if the sample value is detected by the error code detector as a value that does not normally occur, Or a video signal retouching device having a retouching device that retouches a sampled value by replacing it with an adjacent sampled value in the future.
当てられた標本点に対し、検出されたエラー符号と同一
ライン上の誤りでない標本値への置き換え処理で行われ
ることを特徴とする請求項1記載の記録信号修整装置。2. A modification process is performed by replacing a sample point to which a sample value, which does not normally occur, is assigned with a sample value which is not an error on the same line as the detected error code. 1. The recording signal adjusting device according to 1.
当てられた標本点に対し、画面上で同一位置の誤りでな
い数フレームもしくは数フィールド前または後の標本値
への置き換え処理で行われることを特徴とする請求項1
記載の記録修整装置。3. The retouching process is performed by replacing sample points to which sample values are not normally generated, with sample values before or after several frames or fields that are not in error at the same position on the screen. Claim 1 characterized by
Record modification device described.
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11286593A JP3070336B2 (en) | 1993-05-14 | 1993-05-14 | Video signal modification device |
DE69417471T DE69417471T2 (en) | 1993-05-12 | 1994-05-04 | Device for recording and playing back video signals |
EP94106941A EP0624990B1 (en) | 1993-05-12 | 1994-05-04 | Video recording and reproducing apparatus |
KR1019940010195A KR0145160B1 (en) | 1993-05-12 | 1994-05-10 | Video signal recording apparatus and reproducing apparatus |
US08/241,002 US5574568A (en) | 1993-05-12 | 1994-05-11 | Video recording and reproducing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11286593A JP3070336B2 (en) | 1993-05-14 | 1993-05-14 | Video signal modification device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH06326992A true JPH06326992A (en) | 1994-11-25 |
JP3070336B2 JP3070336B2 (en) | 2000-07-31 |
Family
ID=14597470
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11286593A Expired - Lifetime JP3070336B2 (en) | 1993-05-12 | 1993-05-14 | Video signal modification device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3070336B2 (en) |
-
1993
- 1993-05-14 JP JP11286593A patent/JP3070336B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP3070336B2 (en) | 2000-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3215952B2 (en) | Encoding device and decoding device | |
JPH04326255A (en) | Method and device for encoding image | |
US5532837A (en) | Digital video signal processing apparatus | |
JPH0614294A (en) | Signal processor | |
KR100272120B1 (en) | Quantization control circuit | |
JPH05115010A (en) | Picture decoder | |
US5581360A (en) | Methods and systems for dubbing a variable-length encoded digital video signal on a record medium | |
JPH08214309A (en) | Image signal encoder | |
JP3213387B2 (en) | Image encoding method and image decoding method | |
JPH05260438A (en) | Digital magnetic tape recording / reproducing method for variable speed reproduction | |
JP3561962B2 (en) | Quantization control device and method | |
JP3070336B2 (en) | Video signal modification device | |
JP2720717B2 (en) | Video signal processing device | |
JP3321878B2 (en) | Dubbing method of digital video signal | |
JP3139242B2 (en) | Video signal processing device | |
JP3127629B2 (en) | Error correction device for digital image signal | |
JP3216277B2 (en) | High-efficiency coding device and decoding device | |
JP3546439B2 (en) | Digital image signal encoding apparatus and encoding method | |
JP3063675B2 (en) | Video signal playback device | |
JPH08125967A (en) | Image data recording and reproducing device | |
JP3158603B2 (en) | Digital image signal transmission equipment | |
JP2003006986A (en) | Recording device and playback device | |
JP3262341B2 (en) | Image processing apparatus and method | |
JP2697290B2 (en) | Video signal recording device and playback device, recording method and processing device | |
JPH09307855A (en) | Recording and reproducing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090526 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100526 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110526 Year of fee payment: 11 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120526 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120526 Year of fee payment: 12 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130526 Year of fee payment: 13 |
|
EXPY | Cancellation because of completion of term |