JPH05114251A - Error correcting method - Google Patents

Error correcting method

Info

Publication number
JPH05114251A
JPH05114251A JP3275160A JP27516091A JPH05114251A JP H05114251 A JPH05114251 A JP H05114251A JP 3275160 A JP3275160 A JP 3275160A JP 27516091 A JP27516091 A JP 27516091A JP H05114251 A JPH05114251 A JP H05114251A
Authority
JP
Japan
Prior art keywords
data
recording
error
page
blocks
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
JP3275160A
Other languages
Japanese (ja)
Inventor
Hideki Otaka
秀樹 大高
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3275160A priority Critical patent/JPH05114251A/en
Priority to US07/840,756 priority patent/US5313471A/en
Priority to EP19920301568 priority patent/EP0501748A3/en
Priority to KR1019920002984A priority patent/KR920017085A/en
Publication of JPH05114251A publication Critical patent/JPH05114251A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide an error correcting method by which the capacity of a memory required for making error correction can be reduced by performing the correction under a highly efficiently encoded state and variable length codes are not much deteriorated so that the codes can be properly decoded even after the codes are corrected. CONSTITUTION:Highly efficiently encoded data A and B which can be decoded independently from each other are inserted into three recording blocks after division. By superimposing the address information indicating the punctuation of the inserted data A and B upon a recording unit constituted of the three recording blocks, an error which is produced at the time of reproduction is corrected at the time of recording. The information indicating the data constitution of the corresponding recording unit on the current or the preceding page is selectively adopted as the information indicating the data constitution after correction in accordance with the position of the error. In addition, by detecting an address difference by comparing the address information of the recording unit on the current page and the address information of the corresponding recording unit on the preceding page, the correcting method of the error is decided in accordance with the detected difference.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル記録再生装
置における再生時の誤り修整方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error correction method during reproduction in a digital recording / reproducing apparatus.

【0002】[0002]

【従来の技術】ディジタル記録再生装置では、記録時に
付加したエラー訂正用の検査記号を基に再生時に発生し
たエラーの訂正を行い、訂正できなかったデータに対し
てエラーの修整を行う。以下に、ディジタル記録再生装
置の構成と動作及び誤り修整の方法について説明する。
2. Description of the Related Art In a digital recording / reproducing apparatus, an error generated during reproduction is corrected based on an error correction check symbol added during recording, and an error is corrected for uncorrectable data. The configuration and operation of the digital recording / reproducing apparatus and the error correction method will be described below.

【0003】図11は従来のディジタル記録再生装置の
構成を示した図であり、図11において1は入力端子、
2は入力信号をディジタルデータに変換するA/D変換
器、3は高能率符号化器、4は誤り訂正用検査記号を付
加するエラー訂正エンコーダ、5は入力データの順番を
並べ変えるインターリーブメモリ、6は記録処理回路、
7は記録ヘッドである。次に、8は再生ヘッド、9は再
生処理回路、10は記録時に並べ変えられたデータの順
番を元に戻すための逆インターリーブメモリ、11は記
録時に付加されたエラー訂正用検査記号に基づいて再生
データのエラーの訂正及び検出を行なうエラー訂正デコ
ーダ、12はエラーの存在を示すためのエラーフラグ、
13はエラーフラグ12に基づいてエラー訂正デコーダ
10で訂正できなかったエラーの修整を行なうエラー修
整回路、13はD/A変換器、14は出力端子である。
以下に動作を説明する。
FIG. 11 is a diagram showing the configuration of a conventional digital recording / reproducing apparatus. In FIG. 11, 1 is an input terminal,
Reference numeral 2 is an A / D converter for converting an input signal into digital data, 3 is a high efficiency encoder, 4 is an error correction encoder for adding a check symbol for error correction, and 5 is an interleave memory for rearranging the order of input data. 6 is a recording processing circuit,
Reference numeral 7 is a recording head. Next, 8 is a reproduction head, 9 is a reproduction processing circuit, 10 is a deinterleave memory for restoring the order of the data rearranged at the time of recording, and 11 is based on the error correction inspection symbol added at the time of recording. An error correction decoder for correcting and detecting an error in the reproduced data, 12 is an error flag for indicating the existence of an error,
Reference numeral 13 is an error correction circuit for correcting an error that cannot be corrected by the error correction decoder 10 based on the error flag 12, 13 is a D / A converter, and 14 is an output terminal.
The operation will be described below.

【0004】まず記録時には、端子1から入力されたア
ナログ信号をA/D変換器2でディジタルデータに変換
し、高能率符号化器3でデータ量を所定のデータ量に削
減した後、エラー訂正エンコーダ4でエラー訂正用検査
記号を付加する。この時、再生時にドロップアウト等に
よって連続的なエラーが発生するのを防ぐために、イン
ターリーブメモリ5で入力されたデータの順番の並べ換
えを行なう。最後に記録処理回路6で記録のために必要
な処理を行なって記録を行なう。
First, at the time of recording, the analog signal input from the terminal 1 is converted into digital data by the A / D converter 2 and the data amount is reduced to a predetermined data amount by the high efficiency encoder 3 and then error correction is performed. The encoder 4 adds a check symbol for error correction. At this time, the order of the data input in the interleave memory 5 is rearranged in order to prevent continuous errors due to dropout during reproduction. Finally, the recording processing circuit 6 performs the necessary processing for recording to perform recording.

【0005】次に再生時には、再生ヘッド8から再生さ
れたデータは再生処理回路9を経てエラー訂正デコーダ
10に入力される。エラー訂正デコーダ10は記録時に
付加されたエラー訂正用検査記号に基づいて再生信号の
エラーを訂正し、訂正能力を越えるようなエラーが発生
した場合にはエラーの存在を示すエラーフラグ11を後
に続くエラー修整回路13に伝送する。この時、記録時
に並べ替えられたデータの順番を基に戻すために逆イン
ターリーブメモリ9によって逆並べ替えの処理を行な
う。次に高能率復号化器12で符号化されたデータを復
号するが、データの中にエラー訂正デコーダ10で訂正
できなかったエラーが存在する場合には、データが誤っ
て復号されるため、誤って復合されたデータについてエ
ラー修整回路13でデータの修整を行なう。以下、高能
率符号化の方法として直交変換と可変長符号化を用いた
場合のエラー修整について説明する。
Next, at the time of reproduction, the data reproduced from the reproducing head 8 is input to the error correction decoder 10 via the reproduction processing circuit 9. The error correction decoder 10 corrects the error of the reproduction signal based on the error correction check symbol added at the time of recording, and when an error exceeding the correction capability occurs, an error flag 11 indicating the existence of the error follows. It is transmitted to the error correction circuit 13. At this time, in order to restore the order of the data rearranged at the time of recording, the reverse interleaving memory 9 performs the reverse rearrangement processing. Next, the data encoded by the high-efficiency decoder 12 is decoded, but if there is an error in the data that cannot be corrected by the error correction decoder 10, the data is erroneously decoded, and therefore, the error is erroneous. Then, the error correction circuit 13 performs data correction on the decoded data. Hereinafter, error correction when orthogonal transform and variable length coding are used as a high efficiency coding method will be described.

【0006】図12は高能率符号化器3と高能率復号化
器12の構成を具体的に示した図であり、100はブロ
ック化器、101は直交変換器、102は符号化器、1
04は復号化器、105は逆直交変換器、106は逆ブ
ロック化器である。まず、符号化時はブロック化器10
0では入力データを所定の個数集めてブロック化し、直
交変換器101で変換を行った符号化器103で符号化
を行う。次に再生時には復号化器104で復号化を行い
逆直交変換器105で逆変換を行った後逆ブロック化器
106でブロック化されたデータを元のデータに戻す。
ここで、再生データにエラーが存在する場合には復号化
によってエラーの影響がブロック全体に広がるためエラ
ー修整回路13では1つのブロック内の全てのデータを
修整しなければならない。この場合、近傍のデータを使
った補間では修整が困難なため通常は1フィールドまた
は複数フィールド(以後1ページと記す)前の対応する
ブロックのデータを用いて置換することにより修整を実
現する。
FIG. 12 is a diagram specifically showing the configurations of the high-efficiency encoder 3 and the high-efficiency decoder 12. 100 is a blocker, 101 is an orthogonal transformer, 102 is an encoder, and 1 is a block diagram.
Reference numeral 04 is a decoder, 105 is an inverse orthogonal transformer, and 106 is an inverse blocker. First, at the time of encoding, the blocker 10
At 0, a predetermined number of input data are collected and divided into blocks, and the encoder 103 which has been transformed by the orthogonal transformer 101 is encoded. Next, at the time of reproduction, decoding is performed by the decoder 104, inverse transformation is performed by the inverse orthogonal transformer 105, and then the blocked data is restored to the original data by the deblocking unit 106.
Here, if there is an error in the reproduced data, the influence of the error spreads over the entire block by decoding, so the error correction circuit 13 must correct all the data in one block. In this case, since it is difficult to perform correction by interpolation using data in the vicinity, the correction is usually realized by substituting using the data of the corresponding block before one field or a plurality of fields (hereinafter referred to as one page).

【0007】[0007]

【発明が解決しようとする課題】しかしながら、前記し
た誤り修整方法においては以下に示す課題を有してい
る。
However, the above-mentioned error correction method has the following problems.

【0008】画像信号の誤り修整は、エラーのデータを
近傍のデータから補間するあるいは1ページ前のデータ
で置換する等の方法で実現される。ここで直交変換等の
ブロック単位での高能率符号化を用いた場合、1つのエ
ラーの影響がブロック全体に広がるため近傍のデータか
らの補間によって修整を行なうことは困難であり、前記
したように1ページ前の対応するブロックのデータで置
換することによって修整を行なう。ところがそのために
は復号化後に修整用に1ページ以上の大規模なメモリが
必要となる。また、符号化の方法として複数のブロック
で完結するような可変長符号化を用いた場合には、復号
化時にエラーによって可変長符号のワード同期がはずれ
るためエラーの影響が複数ブロックに広がり、複数ブロ
ック全てを修整しなければならない。
The error correction of the image signal is realized by a method of interpolating error data from neighboring data or replacing it with data of one page before. When high efficiency coding in block units such as orthogonal transformation is used here, it is difficult to perform correction by interpolation from neighboring data because the influence of one error spreads over the entire block, and as described above. The modification is performed by replacing with the data of the corresponding block one page before. However, for that purpose, a large-scale memory of one page or more is required for modification after decryption. Further, when variable length coding that is completed in a plurality of blocks is used as an encoding method, the word synchronization of the variable length code is lost due to an error at the time of decoding, and the influence of the error spreads to a plurality of blocks. All blocks must be modified.

【0009】一方、高能率符号化された状態で修整を行
う場合には、修整されたデータを復号する場合に可変長
符号が正しく復号できるような形で修整を行う必要があ
った。
On the other hand, when the modification is performed in the high-efficiency coded state, when the modified data is decoded, it is necessary to perform the modification so that the variable length code can be correctly decoded.

【0010】本発明はかかる従来技術の課題を解決する
もので、高能率符号化された状態で修整を行うことによ
り修整に必要なメモリ容量を小さくし、かつ修整による
劣化が小さく、修整後も可変長符号を正しく復号するこ
とが可能な誤り修整方法を提供することを目的とする。
The present invention solves the above-mentioned problems of the prior art by reducing the memory capacity required for the correction by performing the correction in a highly efficient coded state, and the deterioration due to the correction is small, and even after the correction. An object is to provide an error correction method capable of correctly decoding a variable length code.

【0011】[0011]

【課題を解決するための手段】第1の発明は、入力標本
値をブロック化し1フィールドまたは複数フィールドを
単位とする1ページの中から前記ブロックを各々m個集
めて独立に高能率符号化されたデータA、Bを3個の記
録ブロックX、Y、Zに分割して挿入するにあたり、前
記データAのうち前記m個のブロックの主に低域成分に
相当するデータをを前記記録ブロックXに挿入し、前記
データBのうち前記m個のブロックの主に低域成分に相
当するデータを前記記録ブロックYに挿入し、前記デー
タA、Bのうち前記ブロックの主に高域成分に相当する
データを前記記録ブロックZに挿入し、挿入された前記
データA、Bの区切りを示すアドレス情報を前記記録単
位に多重して記録を行う場合の再生時の誤りを修整する
方法であって、現ページの誤り位置に応じて前記現ペー
ジの記録単位のデータの構成を示す情報あるいは前記1
ページ前の対応する記録単位のデータの構成を示す情報
を修整後のデータ構成を示す情報として選択的に採用す
ること特徴とする誤り修整方法。
According to a first aspect of the present invention, an input sampled value is divided into blocks, and m blocks are collected from one page in a unit of one field or a plurality of fields and independently coded with high efficiency. When dividing the data A and B into the three recording blocks X, Y, and Z and inserting them, the data corresponding to mainly the low frequency component of the m blocks of the data A is transferred to the recording block X. Data corresponding to the low frequency component of the m blocks of the data B is inserted into the recording block Y, and data corresponding to the high frequency component of the block of the data A and B corresponds to the high frequency component. Data to be recorded in the recording block Z, and the address information indicating the delimiter of the inserted data A and B is multiplexed in the recording unit to record an error during reproduction, Present Information or the showing the configuration of a data recording unit of the current page in accordance with the error position of the over-di 1
An error correction method characterized in that information indicating a data structure of a corresponding recording unit before a page is selectively adopted as information indicating a data structure after correction.

【0012】第2の発明は、入力標本値をブロック化し
1フィールドまたは複数フィールドを単位とする1ペー
ジの中から前記ブロックを各々m個集めて独立に高能率
符号化されたデータA、Bを3個の記録ブロックX、
Y、Zに分割して挿入するにあたり、前記データAのう
ち前記m個のブロックの主に低域成分に相当するデータ
をを前記記録ブロックXに挿入し、前記データBのうち
前記m個のブロックの主に低域成分に相当するデータを
前記記録ブロックYに挿入し、前記データA、Bのうち
前記ブロックの主に高域成分に相当するデータを前記記
録ブロックZに挿入し、挿入された前記データA、Bの
区切りを示すアドレス情報を前記記録単位に多重して記
録を行う場合の再生時の誤りを修整する方法であって、
現ページの前記記録単位におけるアドレス情報と前記現
ページの1ページ前の対応する記録単位のアドレス情報
を比較してアドレスの差分を検出し、検出された前記差
分に応じて修整方法を決定することを特徴とする誤り修
整方法である。
A second aspect of the present invention is that the input sample values are divided into blocks, and m pieces of each of the blocks are collected from one page having one field or a plurality of fields as a unit, and the data A and B independently coded with high efficiency are obtained. 3 recording blocks X,
When dividing and inserting into Y and Z, data corresponding to mainly low frequency components of the m blocks of the data A are inserted into the recording block X, and the m blocks of the data B are Data corresponding to mainly low-frequency components of a block is inserted into the recording block Y, and data corresponding to mainly high-frequency components of the block of the data A and B is inserted into the recording block Z and inserted. A method of correcting an error at the time of reproduction when the address information indicating the delimiter between the data A and B is multiplexed and recorded in the recording unit,
Comparing address information in the recording unit of the current page with address information of the corresponding recording unit one page before the current page, detecting an address difference, and determining a retouching method according to the detected difference. Is an error correction method characterized by.

【0013】[0013]

【作用】第1の発明は前記した構成により、高能率符号
化された互いに独立に復号可能なデータA、Bを3個の
記録ブロックX、Y、Zに分割して挿入し、挿入された
前記データA、Bの区切りを示すアドレス情報を前記3
個の記録ブロックから構成される記録単位に多重して記
録を行う場合の再生時の誤りを修整する方法であって、
現ページの誤り位置に応じて前記現ページの記録単位の
データの構成を示す情報あるいは前記現ページの1ペー
ジ前の対応する記録単位のデータの構成を示す情報を修
整後のデータ構成を示す情報として選択的に採用し、高
能率復号化で正しく復号可能な形に修整する。
According to the first aspect of the present invention, the highly efficient coded data A and B which can be independently decoded are divided into three recording blocks X, Y and Z and inserted. The address information indicating the delimiter between the data A and B is described in the above 3
A method of correcting an error at the time of reproduction when recording is performed by multiplexing in a recording unit composed of individual recording blocks,
Information indicating the data structure of the recording unit of the current page or the information indicating the data structure of the corresponding recording unit of the preceding page of the current page according to the error position of the current page. Is selectively adopted as and is modified into a form that can be correctly decoded by high-efficiency decoding.

【0014】また、第2の発明は前記した構成により、
同様の方法で記録された前記記録単位の再生時の誤りを
修整する方法であって、現ページの前記記録単位におけ
るアドレス情報と前記現ページの1ページ前の対応する
記録単位のアドレス情報を比較してアドレスの差分を検
出し、検出された前記差分に応じて修整方法を決定す
る。
The second aspect of the present invention has the above-mentioned structure.
A method of correcting an error during reproduction of the recording unit recorded by the same method, wherein address information of the recording unit of the current page is compared with address information of a corresponding recording unit one page before the current page. Then, the address difference is detected, and the retouching method is determined according to the detected difference.

【0015】[0015]

【実施例】以下、本発明の実施例を添付図面を用いて説
明する。
Embodiments of the present invention will be described below with reference to the accompanying drawings.

【0016】最初に3個の記録ブロックからなる一つの
記録単位のデータ構成を示す。図1は3個の記録ブロッ
クX、Y、Zの構成方法及びデータ構成を示した図であ
り、入力画像信号をブロック化し、ブロックをm個づつ
集めて高能率符号化したデータA、Bを3個の記録ブロ
ックX、Y、Zに分割して挿入する。ここで、高能率符
号化の方法としては直交変換と可変長符号化を用いる。
すなわちブロック化したデータを直交変換により周波数
成分に分解し低域成分から順に可変長符号化を行う。し
たがって、各ブロックの情報量に応じてA、Bのデータ
量が異なってくるが、A、Bを合わせたデータ量は3個
の記録ブロック分に相当する一定のデータ量となるよう
に符号化の制御が行われる。
First, the data structure of one recording unit consisting of three recording blocks is shown. FIG. 1 is a diagram showing a method of configuring three recording blocks X, Y, Z and a data configuration. The input image signal is divided into blocks, and the data A and B obtained by collecting m blocks each for high efficiency encoding are shown. It is divided into three recording blocks X, Y and Z and inserted. Here, orthogonal transformation and variable length coding are used as the high-efficiency coding method.
That is, the blocked data is decomposed into frequency components by orthogonal transformation, and variable length coding is performed in order from the low frequency component. Therefore, although the data amount of A and B differs depending on the information amount of each block, the total data amount of A and B is coded so as to be a constant data amount corresponding to three recording blocks. Is controlled.

【0017】実際に記録ブロックにデータを挿入するに
あたっては、まずデータAの中からm個のブロックの低
域成分に相当するデータを記録ブロックXに挿入し、同
様にデータ列Bの中からm個のブロックの低域成分に相
当するデータを記録ブロックYに挿入する。これらを各
々AL、BLとする。次に、データA、Bのうち記録ブ
ロックX、Yに挿入できなかったデータすなわち各ブロ
ックの高域成分に相当するデータAH、BHを各々記録
ブロックZに挿入する。ここで、記録ブロックZはA
H、BHから構成されるため復号時にAH、BHの区切
りの位置がわかるように記録ブロックZの所定の位置に
アドレス情報(AD)を付加する。アドレス情報はA
H、BHの区切りのアドレスを示す。復号化時には記録
ブロックZのADを基にAH、BHを判別し、各々A
L、BLと合わせて複号を行う。
When actually inserting data into a recording block, first, data corresponding to the low frequency components of m blocks from the data A is inserted into the recording block X, and similarly from the data string B, m. Data corresponding to the low-frequency component of each block is inserted into the recording block Y. Let these be AL and BL, respectively. Next, of the data A and B, the data that could not be inserted into the recording blocks X and Y, that is, the data AH and BH corresponding to the high frequency components of each block are inserted into the recording block Z, respectively. Here, the recording block Z is A
Since it is composed of H and BH, address information (AD) is added to a predetermined position of the recording block Z so that the position of the delimiter of AH and BH can be known at the time of decoding. Address information is A
Addresses separated by H and BH are shown. At the time of decoding, AH and BH are discriminated based on the AD of the recording block Z, and
Combine with L and BL to make a double sign.

【0018】次に以上の方法で記録された場合の再生時
の誤り修整方法を説明する。なお、説明にあたってはエ
ラーの発生した現ページをn+1ページとする。
Next, an error correction method at the time of reproduction when recorded by the above method will be described. In the description, it is assumed that the current page in which the error has occurred is n + 1 page.

【0019】図2は、本発明による誤り修整方法の第1
の実施例を示した図である。本実施例において、誤りは
記録ブロックXに存在する。したがって、データAのみ
を修整しデータBに対しては修整を行わない。すなわち
図2に示すように、記録ブロックXn+1のALn+1を記録
ブロックXnのALnで置き換え、記録ブロックZn+1
AHn+1を記録ブロックZnのAHnで置き換える。ここ
で、nページとn+1ページのADが異なるが、修整後
のアドレス情報として、現ページのアドレスADn+1
採用する。この場合、図2に示すように修整後の記録ブ
ロックZにおいて、ADn+1の前にAnとBnが共に存在
することになるが、可変長符号を復号する場合には、E
OB( End Of Block )の個数を数えることによってAn
の終わりを検出することができるため、復号時に問題は
発生しない。
FIG. 2 shows a first error correction method according to the present invention.
It is a figure showing an example of. In this embodiment, the error exists in the recording block X. Therefore, only the data A is modified and the data B is not modified. That is, as shown in FIG. 2, the AL n + 1 of the recording block X n + 1 replaced by AL n recording blocks X n, the AH n + 1 of the recording block Z n + 1 in AH n recording blocks Z n replace. Here, although the ADs of the nth page and the n + 1th page are different, the address ADn + 1 of the current page is adopted as the address information after the modification. In this case, as shown in FIG. 2, both A n and B n exist before AD n + 1 in the modified recording block Z. However, when decoding a variable length code, E n
A n by counting the number of OB (End Of Block)
The end of the can be detected, so no problems occur during decoding.

【0020】図3は、本発明による誤り修整方法の第1
の実施例における別のデータ構成の場合を示した図であ
る。図3において誤りは図2の実施例と同様に記録ブロ
ックXに存在しておりAn+1のみを修整するが、データ
構成が図2の場合と異なる。したがって、記録ブロック
n+1において、現ページのアドレスADn+1までAH n
で置き換えた場合、図3中斜線で示した部分すなわちA
nの高域成分の一部が失われることになる。しかしな
がら、失われる情報は元のブロックの中の高域成分であ
るため、修整後の画質として大きな劣化とはならない。
FIG. 3 shows a first error correction method according to the present invention.
FIG. 6 is a diagram showing a case of another data configuration in the example of FIG.
It In FIG. 3, an error is recorded as in the embodiment of FIG.
Exists in the X and An + 1Modify only but the data
The configuration is different from that of FIG. Therefore, the recording block
Zn + 1At the address AD of the current pagen + 1Up to AH n
When replaced with, the shaded area in FIG. 3, ie, A
HnA part of the high frequency component of will be lost. But
However, the information that is lost is the high-frequency component in the original block.
Therefore, the image quality after modification does not deteriorate significantly.

【0021】以上説明したように本実施例によれば、デ
ータAにエラーが発生した場合に修整後のアドレス情報
として現ページのアドレス情報を採用することにより、
修整後のデータA、Bが各々復号可能であり、かつデー
タA、Bを共に修整する場合と比較して修整されるデー
タ数が少なくなるため、修整による画質劣化が目だちに
くい。
As described above, according to this embodiment, when the error occurs in the data A, the address information of the current page is adopted as the address information after the correction,
Since the data A and B after modification can be respectively decoded, and the number of data modified is smaller than that in the case where both data A and B are modified, deterioration of image quality due to modification is less noticeable.

【0022】図4は、本発明による誤り修整方法の第2
の実施例を示した図である。本実施例において誤りは記
録ブロックYに存在し、第1の実施例とは逆にデータB
のみを修整する。すなわち図4に示すように、記録ブロ
ックYn+1のBLn+1を記録ブロックYnのBLnで置き換
え、記録ブロックZn+1のBHn+1を記録ブロックZn
BHnで置き換える。ここで、nページとn+1ページ
のADが異なるが、修整後のアドレス情報として、1ペ
ージ前のアドレスADnを採用する。この場合、図4に
示すように修整後の記録ブロックZにおいて、修整後の
ADnの前にAn+1とBn+1が共に存在することになる
が、図2の場合と同様に、可変長符号の復号時にEOB
の個数を数えることによってAn+1の終わりを検出する
ことができるため、復号時に問題は発生しない。
FIG. 4 shows a second error correction method according to the present invention.
It is a figure showing an example of. In this embodiment, the error exists in the recording block Y, and the data B is reversed, contrary to the first embodiment.
Modify only. That is, as shown in FIG. 4, the BL n + 1 of the recording block Y n + 1 replaced by BL n recording blocks Y n, the BH n + 1 of the recording block Z n + 1 in BH n recording blocks Z n replace. Here, n pages and n + 1 pages of AD are different, as the address information after modification, employing the addresses AD n before one page. In this case, as shown in FIG. 4, in the recording block Z after modification, both A n + 1 and B n + 1 exist before AD n after modification, but as in the case of FIG. , EOB when decoding variable length code
Since the end of A n + 1 can be detected by counting the number of A, no problem occurs during decoding.

【0023】図5は、本発明による誤り修整方法の第2
の実施例における別のデータ構成の場合を示した図であ
る。図5においてエラーは図3の実施例と同様に記録ブ
ロックYに存在しておりBn+1のみを修整するが、デー
タ構成が図4の場合と異なる。したがって、記録ブロッ
クZn+1において、1ページ前のアドレスADn以降をB
nで置き換えた場合、図5中斜線で示した部分すなわ
ちAHn+1の高域成分の一部が失われることになる。し
かしながら、失われる情報は元のブロックの中の高域成
分であるため、修整後の画質として大きな劣化とはなら
ない。
FIG. 5 shows a second error correction method according to the present invention.
FIG. 7 is a diagram showing a case of another data configuration in the embodiment of FIG. In FIG. 5, the error exists in the recording block Y as in the embodiment of FIG. 3 and only B n + 1 is modified, but the data structure is different from that in FIG. Therefore, in the recording block Z n + 1 , the address AD n after the previous page is B
When it is replaced with H n , a part shown by hatching in FIG. 5, that is, a part of the high frequency component of AH n + 1 is lost. However, since the information to be lost is a high frequency component in the original block, the image quality after modification does not significantly deteriorate.

【0024】以上説明したように本実施例によれば、デ
ータBにエラーが発生した場合に修整後のアドレス情報
として1ページ前のアドレス情報を採用することによ
り、修整後のデータA、Bが各々復号可能であり、かつ
データA、Bを共に修整する場合と比較して修整される
データ数が少なくなるため、修整による画質劣化が目だ
ちにくい。
As described above, according to the present embodiment, when the error occurs in the data B, the address information of the previous page is adopted as the address information after the correction, so that the data A and B after the correction can be obtained. Since the number of data that can be decoded is smaller and the number of data to be modified is smaller than that when both data A and B are modified, deterioration in image quality due to modification is less noticeable.

【0025】図6は、本発明による誤り修整方法の第3
の実施例を示した図である。図6において、エラーは記
録ブロックZに存在しておりエラーの位置は不明であ
る。したがって、エラーがデータA、Bのどちらに存在
しているか不明であり、データA、Bのいずれか一方の
みを修整することは不可能であるため、記録ブロックX
n+1、Yn+1、Zn+1を全て記録ブロックXn、Yn、Zn
置き換える。当然アドレス情報としては1ページ前のも
のを用いる。
FIG. 6 shows a third error correction method according to the present invention.
It is a figure showing an example of. In Figure 6, the error is noted.
It exists in the recording block Z and the position of the error is unknown.
It Therefore, the error exists in either data A or B.
It is unknown whether or not the data A or B
Since it is impossible to modify only the recording block X
n + 1, Yn + 1, Zn + 1All recording blocks Xn, Yn, Znso
replace. Of course, the address information for the previous page
Of is used.

【0026】次に、以上説明した誤り修整方法を実現す
るための具体的構成について説明する。図7は第1の発
明による誤り修整方法を実現するための修整装置のブロ
ック図であり、同図において、200は2ページ分の容
量を持つメモリ、201は各記録ブロックがエラーであ
るか否かを示すフラグ用のフラグメモリ、202は記録
単位のエラーを検出するエラー検出器、203は記録単
位のアドレス情報(AD)を検出するアドレス情報検出
器、204は現ページの記録単位のアドレス情報(AD
n+1)、205は1ページ前の対応する記録単位のアド
レス情報(ADn)、206はエラー検出器202、ア
ドレス情報検出器203の検出結果を基に修整方法を決
定する修整方法決定器、207はメモリ200の読みだ
しを制御する読みだし制御器である。
Next, a specific configuration for realizing the above-described error correction method will be described. FIG. 7 is a block diagram of a retouching device for realizing the error retouching method according to the first invention. In FIG. 7, reference numeral 200 is a memory having a capacity of two pages, and 201 is whether or not each recording block has an error. A flag memory for a flag indicating whether or not, 202 is an error detector that detects an error of a recording unit, 203 is an address information detector that detects address information (AD) of the recording unit, and 204 is address information of the recording unit of the current page. (AD
n + 1 ), 205 is address information (AD n ) of the corresponding recording unit one page before, 206 is a retouching method determiner that determines the retouching method based on the detection results of the error detector 202 and the address information detector 203. , 207 are reading controllers for controlling reading of the memory 200.

【0027】メモリ200は2ページ分の容量を持つた
め、各々1ページ分の2つの領域からなり、一方の領域
にはエラー訂正の終わった現ページのデータが書き込ま
れ、他方の領域には1ページ前のデータが書き込まれて
いる。現ページのデータの修整にあたっては、まずエラ
ー検出器202で現ページの記録単位においてエラーの
存在する記録ブロックを検出する。次にアドレス情報検
出器203で現ページ、1ページ前各々について記録ブ
ロックZに多重されたアドレス情報を検出する。以上各
検出器によって検出されたエラーの位置及びアドレス情
報を修整方法決定器206に入力して修整方法を決定
し、読みだし制御器207の制御により、修整を行わな
い場合には、現ページのメモリ領域からデータを読みだ
し、修整を行う場合には1ページ前のメモリ領域からデ
ータを読みだす。
Since the memory 200 has a capacity of two pages, it is composed of two areas each for one page. One area is written with the data of the current page whose error has been corrected, and the other area is written with 1 area. The data before the page is written. In modifying the data of the current page, the error detector 202 first detects a recording block in which an error exists in the recording unit of the current page. Next, the address information detector 203 detects the address information multiplexed in the recording block Z for each of the current page and the previous page. The position and address information of the error detected by each of the above detectors is input to the retouching method determiner 206 to determine the retouching method, and the retrieving controller 207 controls the current page if retouching is not performed. When data is read from the memory area and correction is performed, the data is read from the memory area one page before.

【0028】図8は、第2の発明による誤り修整方法の
一実施例を示した図である。本実施例において、誤りは
記録ブロックXに存在するが、現ページと1ページ前の
対応する記録単位のアドレス情報を比較して修整方法を
決定する。すなわち、図8(a)に示すように、現ペー
ジのアドレスと1ページ前のアドレスの差が小さい場合
には、図中斜線で示したAHnの高域成分のデータが失
われる量が少ないためデータAのみを修整する。次に、
図8(b)に示すように、現ページのアドレスと1ペー
ジ前のアドレスの差が大きい場合には、データAのみを
修整すると図中斜線で示したAHnの高域成分のデータ
が失われる量が大きくなり、画質劣化が発生する可能性
が高いためデータA、Bを共に修整する。
FIG. 8 is a diagram showing an embodiment of the error correction method according to the second invention. In this embodiment, an error exists in the recording block X, but the correction method is determined by comparing the address information of the corresponding recording unit of the current page and the preceding page. That is, as shown in FIG. 8A, when the difference between the address of the current page and the address of the previous page is small, the amount of loss of the high-frequency component data of AH n indicated by the diagonal lines in the figure is small. Therefore, only data A is modified. next,
As shown in FIG. 8B, when the difference between the address of the current page and the address of the previous page is large, if only the data A is corrected, the data of the high frequency component of AH n indicated by the diagonal line in the figure is lost. Both the data A and B are modified because the amount of exposure is large and there is a high possibility that image quality deterioration will occur.

【0029】図9は第2の発明による誤り修整方法を実
現するための構成を示した図であり、基本的な構成は図
7に示した構成と同様であるが、現ページの記録単位の
アドレス情報と1ページ前の対応する記録単位のアドレ
ス情報を比較するアドレス比較器300が追加されてい
る。アドレス比較器300では現ページの記録単位のア
ドレス情報(ADn+1)204と1ページ前の対応する
記録単位のアドレス情報(ADn)205とを比較し、
アドレスの差分を修整方法決定器207に出力する。修
整方法決定器207では、アドレス比較器300の比較
結果とあらかじめ定められた閾値に基づいて修整方法を
切り換える。
FIG. 9 is a diagram showing a structure for realizing the error correction method according to the second invention. The basic structure is the same as the structure shown in FIG. An address comparator 300 is added to compare the address information with the address information of the corresponding recording unit one page before. The address comparator 300 compares the address information (AD n + 1 ) 204 of the recording unit of the current page with the address information (AD n ) 205 of the corresponding recording unit of the previous page,
The address difference is output to the retouching method determiner 207. The modification method determiner 207 switches the modification method based on the comparison result of the address comparator 300 and a predetermined threshold value.

【0030】以上説明したように本実施例によれば、デ
ータA、データBのどちらか一方のみを修整する場合に
失われる高域成分が少なくなり、修整による画質劣化を
小さく抑えることが可能である。
As described above, according to the present embodiment, the high frequency component lost when only one of the data A and the data B is modified is reduced, and the deterioration of the image quality due to the modification can be suppressed. is there.

【0031】以上修整方法に関して説明したが、着目す
る記録単位が過去に修整されたものか否かを知るため
に、エラー修整を行った場合修整された記録単位に対し
て修整が行われたことを示す情報(修整情報)を各シン
クブロックに対して付加し、修整情報を新たな修整のた
めの判断項目とすることが可能である。
Although the modification method has been described above, in order to know whether or not the recording unit of interest has been modified in the past, when an error modification is performed, the modification is made to the modified recording unit. It is possible to add the information (retouching information) indicating to each sync block and use the retouching information as a judgment item for a new retouching.

【0032】図10は修整情報を利用した修整方法の一
実施例を示した図であり、現ページの記録単位に対し過
去に既に修整が行われている。本実施例において、誤り
は記録ブロックXに存在するため、通常はデータAのみ
を修整しデータBに対しては修整を行わない。ところ
が、現ページの記録単位は過去に修整されているため、
既に記録ブロックZn+1において高域成分が失われてい
る可能性がある。つまり、現ページに対しデータAのみ
の修整を行うと、さらに失われる高域成分が多くなるこ
とになり、視覚できる画質劣化となる可能性がある。し
たがって、現ページあるいは1ページ前が過去に既に修
整されている場合には、図10に示すようにエラーの位
置や記録単位の構成に関係なく1つの記録単位のデータ
を全て修整する。
FIG. 10 is a diagram showing an embodiment of a retouching method using the retouching information, in which the recording unit of the current page has already been retouched. In this embodiment, since the error exists in the recording block X, normally, only the data A is modified and the data B is not modified. However, since the recording unit of the current page has been modified in the past,
There is a possibility that the high frequency component has already been lost in the recording block Z n + 1 . That is, if only the data A is modified for the current page, the high frequency components that are lost further increase, and there is a possibility that the image quality will be deteriorated to be visible. Therefore, when the current page or the previous page is already modified in the past, as shown in FIG. 10, all the data of one recording unit is modified regardless of the position of the error and the structure of the recording unit.

【0033】なお、上記した例では記録ブロックZに
A、Bの両方データによって構成される場合を取り上げ
たが、A、Bのデータ量が著しく異なる場合、例えばB
のデータ量が記録ブロックYに挿入可能なデータ量より
も少ない場合は、記録ブロックYの余った領域にAのデ
ータの一部が挿入され、記録ブロックZは全てAのデー
タで構成されることになる。この場合、データA、Bの
一方のみを修整することは困難であり、1つの記録単位
のデータを全て修整することになる。
In the above example, the case where the recording block Z is composed of both data A and B is taken up, but when the data amount of A and B is significantly different, for example, B
Is smaller than the data amount that can be inserted into the recording block Y, a part of the data of A is inserted into the remaining area of the recording block Y, and the recording block Z is composed of all A data. become. In this case, it is difficult to modify only one of the data A and B, and all the data of one recording unit will be modified.

【0034】[0034]

【発明の効果】以上説明したように本発明によれば、高
能率符号化された状態で誤り修整を行うため修整に必要
なメモリ容量は小さく、かつ常に一つの記録単位全体を
修整するのではなく符号化されたデータの構成に応じて
復号化時に誤りとなるデータのみを修整し、かつ高能率
復号化時に誤って復号されることができるため修整によ
る画質劣化は小さくその実用的効果は大きい。
As described above, according to the present invention, since the error correction is performed in the high-efficiency coded state, the memory capacity required for the correction is small, and one recording unit is not always corrected. Depending on the structure of encoded data, only the data that is erroneous at the time of decoding can be modified, and it can be erroneously decoded at the time of highly efficient decoding, so the image quality deterioration due to modification is small and its practical effect is large. ..

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

【図1】3個の記録ブロックX、Y、Zの構成方法及び
データ構成の説明図である。
FIG. 1 is an explanatory diagram of a configuration method and a data configuration of three recording blocks X, Y, and Z.

【図2】第1の発明による誤り修整方法の第1の実施例
の説明図である。
FIG. 2 is an explanatory diagram of a first embodiment of an error correction method according to the first invention.

【図3】第1の発明による誤り修整方法の第1の実施例
における別のデータ構成の場合の説明図である。
FIG. 3 is an explanatory diagram in the case of another data structure in the first embodiment of the error correction method according to the first invention.

【図4】第1の発明による誤り修整方法の第2の実施例
の説明図である。
FIG. 4 is an explanatory diagram of a second embodiment of the error correction method according to the first invention.

【図5】第1の発明による誤り修整方法の第2の実施例
における別のデータ構成の場合の説明図である。
FIG. 5 is an explanatory diagram in the case of another data structure in the second embodiment of the error correction method according to the first invention.

【図6】第1の発明による誤り修整方法の第3の実施例
の説明図である。
FIG. 6 is an explanatory diagram of a third embodiment of the error correction method according to the first invention.

【図7】第1の発明による誤り修整方法を実現するため
の構成のブロック図である。
FIG. 7 is a block diagram of a configuration for realizing the error correction method according to the first invention.

【図8】第2の発明による誤り修整方法の一実施例の説
明図である。
FIG. 8 is an explanatory diagram of an embodiment of an error correction method according to the second invention.

【図9】第2の発明による誤り修整方法を実現するため
の構成のブロック図である。
FIG. 9 is a block diagram of a configuration for realizing an error correction method according to a second invention.

【図10】修整情報を利用した修整方法の一実施例の説
明図である。
FIG. 10 is an explanatory diagram of an embodiment of a modification method using modification information.

【図11】従来のディジタル記録再生装置のブロック図
である。
FIG. 11 is a block diagram of a conventional digital recording / reproducing apparatus.

【図12】高能率符号化器3と高能率復号化器12の構
成の具体的なブロック図である。
FIG. 12 is a specific block diagram of the configurations of a high-efficiency encoder 3 and a high-efficiency decoder 12.

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

200 メモリ 201 フラグメモリ 202 エラー検出器 203 アドレス情報検出器 206 修整方法決定器 207 読みだし制御器 300 アドレス比較器 200 memory 201 flag memory 202 error detector 203 address information detector 206 retouching method determiner 207 read controller 300 address comparator

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】入力標本値をブロック化し1フィールドま
たは複数フィールドを単位とする1ページの中から前記
ブロックを各々m個集めて独立に高能率符号化されたデ
ータA、Bを3個の記録ブロックX、Y、Zに分割して
挿入するにあたり、前記データAのうち前記m個のブロ
ックの主に低域成分に相当するデータをを前記記録ブロ
ックXに挿入し、前記データBのうち前記m個のブロッ
クの主に低域成分に相当するデータを前記記録ブロック
Yに挿入し、前記データA、Bのうち前記ブロックの主
に高域成分に相当するデータを前記記録ブロックZに挿
入し、挿入された前記データA、Bの区切りを示すアド
レス情報を前記記録単位に多重して記録を行う場合の再
生時の誤りを修整する方法であって、現ページの誤り位
置に応じて前記現ページの記録単位のデータの構成を示
す情報あるいは前記1ページ前の対応する記録単位のデ
ータの構成を示す情報を修整後のデータ構成を示す情報
として選択的に採用すること特徴とする誤り修整方法。
1. An input sample value is divided into blocks, and m pieces of each block are collected from one page of one field or a plurality of fields as a unit, and three data A and B independently independently encoded for high efficiency recording are recorded. When dividing and inserting into blocks X, Y, and Z, data corresponding to mainly low-frequency components of the m blocks of the data A is inserted into the recording block X, and the data of the data B is Data corresponding to mainly low frequency components of m blocks are inserted into the recording block Y, and data corresponding to mainly high frequency components of the blocks of the data A and B are inserted into the recording block Z. , A method of correcting an error at the time of reproduction when the address information indicating the delimiter between the inserted data A and B is multiplexed in the recording unit for recording, and the error is corrected according to the error position of the current page. Error correction characterized by selectively using information indicating the data structure of the recording unit of the page or information indicating the data structure of the corresponding recording unit of the preceding page as the information indicating the data structure after modification Method.
【請求項2】入力標本値をブロック化し1フィールドま
たは複数フィールドを単位とする1ページの中から前記
ブロックを各々m個集めて独立に高能率符号化されたデ
ータA、Bを3個の記録ブロックX、Y、Zに分割して
挿入するにあたり、前記データAのうち前記m個のブロ
ックの主に低域成分に相当するデータをを前記記録ブロ
ックXに挿入し、前記データBのうち前記m個のブロッ
クの主に低域成分に相当するデータを前記記録ブロック
Yに挿入し、前記データA、Bのうち前記ブロックの主
に高域成分に相当するデータを前記記録ブロックZに挿
入し、挿入された前記データA、Bの区切りを示すアド
レス情報を前記記録単位に多重して記録を行う場合の再
生時の誤りを修整する方法であって、現ページの前記記
録単位におけるアドレス情報と前記現ページの1ページ
前の対応する記録単位のアドレス情報を比較してアドレ
スの差分を検出し、検出された前記差分に応じて修整方
法を決定することを特徴とする誤り修整方法。
2. The data A and B independently recorded with high efficiency by collecting m pieces of each block from one page in which the input sample value is divided into blocks and one field or a plurality of fields as a unit are recorded. When dividing and inserting into blocks X, Y, and Z, data corresponding to mainly low-frequency components of the m blocks of the data A is inserted into the recording block X, and the data of the data B is Data corresponding to mainly low frequency components of m blocks are inserted into the recording block Y, and data corresponding to mainly high frequency components of the blocks of the data A and B are inserted into the recording block Z. A method of correcting an error at the time of reproduction when the address information indicating the delimiter between the inserted data A and B is multiplexed in the recording unit and recording is performed. Error correction method, characterized in that the address information is detected by comparing the address information of the corresponding recording unit one page before the current page with the address information, and the correction method is determined according to the detected difference. ..
【請求項3】前期現ページの記録単位のうち前記データ
構成を示す情報を含む記録ブロックに誤りが存在する場
合には、前期現ページの記録単位を全て前記1ページ前
の対応する記録単位で置換することによりデータA、B
を共に修整することを特徴とする請求項1、2記載の誤
り修整方法。
3. If there is an error in a recording block including information indicating the data structure among the recording units of the previous current page, all the recording units of the previous current page are the corresponding recording units of the preceding page. Data A, B by replacing
3. The error correction method according to claim 1, wherein both are corrected.
【請求項4】前期現ページの記録単位あるいは前記現ペ
ージの1ページ前の対応する記録単位が既に修整された
データから構成されている場合には、前期現ページの記
録単位を全て前記1ページ前の対応する記録単位で置換
することによりデータA、Bを共に修整することを特徴
とする請求項1、2記載の誤り修整方法。
4. When the recording unit of the previous current page or the corresponding recording unit of the previous page of the current page is composed of already modified data, all the recording units of the previous current page are set to the one page. 3. The error correction method according to claim 1, wherein the data A and B are both modified by replacing them with the corresponding corresponding recording unit.
JP3275160A 1991-02-26 1991-10-23 Error correcting method Pending JPH05114251A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP3275160A JPH05114251A (en) 1991-10-23 1991-10-23 Error correcting method
US07/840,756 US5313471A (en) 1991-02-26 1992-02-24 Error concealing method
EP19920301568 EP0501748A3 (en) 1991-02-26 1992-02-25 Error concealing method
KR1019920002984A KR920017085A (en) 1991-02-26 1992-02-26 Error correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3275160A JPH05114251A (en) 1991-10-23 1991-10-23 Error correcting method

Publications (1)

Publication Number Publication Date
JPH05114251A true JPH05114251A (en) 1993-05-07

Family

ID=17551514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3275160A Pending JPH05114251A (en) 1991-02-26 1991-10-23 Error correcting method

Country Status (1)

Country Link
JP (1) JPH05114251A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5392129A (en) * 1992-06-25 1995-02-21 Matsushita Electric Industrial Co., Ltd. Digital VCR signal processing apparatus for concealing uncorrectable errors
KR19980066264A (en) * 1997-01-22 1998-10-15 이데이 노부유키 Data decoding apparatus and method and data reproducing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5392129A (en) * 1992-06-25 1995-02-21 Matsushita Electric Industrial Co., Ltd. Digital VCR signal processing apparatus for concealing uncorrectable errors
KR19980066264A (en) * 1997-01-22 1998-10-15 이데이 노부유키 Data decoding apparatus and method and data reproducing apparatus

Similar Documents

Publication Publication Date Title
EP0854483B1 (en) Digital signal reproduction apparatus
US5392129A (en) Digital VCR signal processing apparatus for concealing uncorrectable errors
US4972416A (en) Error detection and correction method
US6031959A (en) Television signal recording and reproducing apparatus
US5313471A (en) Error concealing method
JPH0634313B2 (en) Error correction method
JPH05114251A (en) Error correcting method
US7440503B2 (en) Decoding apparatus and decoding method in an order opposite to the encoding order
KR0165288B1 (en) Data interleave method and device for digital recording system
JPH04271071A (en) Error correcting method
JP4126795B2 (en) Pseudo product code decoding apparatus and method
JP3003460B2 (en) Encoding and decoding device
JPH0628343B2 (en) Product code decoding method
JP3305152B2 (en) Data transmission method
JP3063675B2 (en) Video signal playback device
JP3158603B2 (en) Digital image signal transmission equipment
JP2900386B2 (en) Image playback device
JPH0644701A (en) Recording method and recording and reproducing method
JP2924017B2 (en) Video signal processing circuit
JP2718384B2 (en) Image restoration device
JPH08125549A (en) Error correction decoding circuit, and digital communication device and digital recording device using the circuit
JPS6366097B2 (en)
JPH05128744A (en) Digital recording and reproducing device
JPH08172627A (en) Video signal reproducing device
JPS59224933A (en) Error correction decoding circuit