JPH0813139B2 - Encoder - Google Patents

Encoder

Info

Publication number
JPH0813139B2
JPH0813139B2 JP61094490A JP9449086A JPH0813139B2 JP H0813139 B2 JPH0813139 B2 JP H0813139B2 JP 61094490 A JP61094490 A JP 61094490A JP 9449086 A JP9449086 A JP 9449086A JP H0813139 B2 JPH0813139 B2 JP H0813139B2
Authority
JP
Japan
Prior art keywords
data
bit
bit number
bits
signal
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.)
Expired - Lifetime
Application number
JP61094490A
Other languages
Japanese (ja)
Other versions
JPS62252288A (en
Inventor
富二男 岡村
恵造 西村
仁朗 尾鷲
隆 降旗
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61094490A priority Critical patent/JPH0813139B2/en
Publication of JPS62252288A publication Critical patent/JPS62252288A/en
Publication of JPH0813139B2 publication Critical patent/JPH0813139B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、伝送すべき情報信号を時間軸方向にサンプ
リング量子化してディジタル信号に変換して伝送する装
置に係り、特に復号化時での情報信号の反転現象を防止
した符号化装置に関する。
Description: TECHNICAL FIELD The present invention relates to an apparatus for sampling and quantizing an information signal to be transmitted in the time axis direction, converting the information signal into a digital signal and transmitting the signal, and particularly to a device for decoding. The present invention relates to an encoding device that prevents the inversion phenomenon of an information signal.

〔従来の技術〕[Conventional technology]

伝送信号として画像信号をディジタル信号に変換して
伝送する装置において、その1標本値(以下これを画素
と称する。)当りの量子化ビット数は、直線量子化の場
合で通常7〜8ビットが必要とされている。この直線量
子化で画像信号をそのままディジタル化すると、そのデ
ィジタル信号の伝送レートは、標準テレビ方式の場合
で、100Mbit/sec程度が必要とあり、一部で提案されて
いる高品位テレビ方式にいたっては、上記標準方式の2
倍以上の伝送レートが要求される。
In a device that converts an image signal into a digital signal as a transmission signal and transmits the signal, the number of quantization bits per one sample value (hereinafter, referred to as a pixel) is usually 7 to 8 bits in the case of linear quantization. is required. If the image signal is digitized as it is by this linear quantization, the transmission rate of the digital signal is required to be about 100 Mbit / sec in the case of the standard TV system, which leads to the high-definition TV system proposed by some. 2 of the above standard method
Transmission rate more than double is required.

この画像信号をディジタル信号で磁気記録再生する装
置(以下これをディジタルVTRと称する。)では、上記
の様に伝送レートが著しく高いため、従来のアナログ記
録方式VTRと比べて、テープの記録密度が実質低下し
て、充分な記録時間が得られず、また扱う信号も非常に
広帯域となって、ディジタル信号処理回路の動作速度も
問題となり、技術的にも困難が伴い、このディジタルVT
Rを家庭用としてなど広く普及させるための大きな障害
となっている。
In a device that magnetically records and reproduces this image signal with a digital signal (hereinafter referred to as a digital VTR), since the transmission rate is extremely high as described above, the recording density of the tape is higher than that of the conventional analog recording system VTR. Since the recording time is substantially reduced, a sufficient recording time cannot be obtained, and the signal to be handled becomes a very wide band, the operation speed of the digital signal processing circuit becomes a problem, and technically difficult.
This is a major obstacle to the widespread use of R for home use.

こうした問題を改善するために、いわゆる高能率符号
化の検討が従来から行なわれており、その例が文献(吹
抜敬彦著“画像のディジタル信号処理”日刊工業新聞
社)に詳述されている。この文献(の第9章)にも記載
されているように、1標本値当りのビット数を低減する
方法として、すでに符号化した画素の値から現在の値を
予測し、それとの誤差を符号化するいわゆる予測符号化
方式(DPCM)がよく知られている。
In order to improve such a problem, so-called high-efficiency coding has been studied in the past, and an example thereof is described in detail in the literature (Takahiko Fukibe, "Digital Signal Processing of Images", Nikkan Kogyo Shimbun). As described in this document (Chapter 9), as a method of reducing the number of bits per sampled value, the current value is predicted from the already coded pixel value, and the error from that is predicted. The so-called predictive coding method (DPCM) for encoding is well known.

以下、従来技術を図面を用いて説明する。第2図は前
値予測を用いた予測符号化方式での符号器の一従来例を
示すブロック図、第4図は上記予測符号化方式での復号
器の一例を示すブロック図、第6図は第2図、第4図で
の符号特性・復号特性の一例を示す特性図である。
Hereinafter, a conventional technique will be described with reference to the drawings. FIG. 2 is a block diagram showing an example of a conventional encoder in a predictive coding system using a priori prediction, FIG. 4 is a block diagram showing an example of a decoder in the predictive coding system, and FIG. FIG. 6 is a characteristic diagram showing an example of the coding characteristic / decoding characteristic in FIGS. 2 and 4.

第2図において、端子50から、A/D変換器により量子
化ビット数nビットのディジタル信号Aに変換された画
像信号が供給されている。
In FIG. 2, an image signal converted into a digital signal A having a quantization bit number n bits by an A / D converter is supplied from a terminal 50.

ここで、上記量子化ビット数nは、その量子化誤差が
無視できる程度の大きな値であり、画像信号を取り扱う
本例では、例えばn=7と定められる。
Here, the number of quantization bits n is a large value such that the quantization error can be ignored, and in this example in which an image signal is handled, for example, n = 7 is set.

このn=7ビットのディジタル信号Aは減算器51にお
いて、減算器51、加算器52及び画素間隔に等しい遅延時
間を持つ遅延器53により得られる1サンプル(1画素)
前のディジタル信号が減算され、減算器51からの8ビッ
トの差分信号Cは第6図に示す変換特性を持つ読み取り
専用メモリROM54により変換され、m=4ビットの圧縮
差分信号Eが出力される。この4ビットの圧縮差分信号
Eは端子55を介して伝送、或いは記録される。
This n = 7-bit digital signal A is one sample (one pixel) obtained by the subtracter 51 by the subtractor 51, the adder 52 and the delay device 53 having a delay time equal to the pixel interval.
The previous digital signal is subtracted, the 8-bit differential signal C from the subtractor 51 is converted by the read-only memory ROM 54 having the conversion characteristic shown in FIG. 6, and the m = 4 bit compressed differential signal E is output. . The 4-bit compressed differential signal E is transmitted or recorded via the terminal 55.

そして受信、或いは再生時には第4図において、圧縮
差分信号Eと同等のm=4ビットの圧縮差分信号I′が
端子32を介して入力され、第6図に示す変換特性を持つ
ROM33により変換され、8ビットの差分信号C″が出力
される。
Then, at the time of reception or reproduction, in FIG. 4, a compression differential signal I ′ of m = 4 bits equivalent to the compression differential signal E is input through the terminal 32 and has the conversion characteristic shown in FIG.
The 8-bit difference signal C ″ is output after being converted by the ROM 33.

この差分信号C″は、加算器34において、画素間隔に
等しい遅延時間を持つ遅延器35からの1サンプル(1画
素)前のディジタル信号が加算され、上記ディジタル信
号Aと同様なディジタル信号A′が出力される。このデ
ィジタル信号A′は端子36を介して出力され、D/A変換
器によりアナログ信号に変換された後、画像信号として
出力される。
The difference signal C ″ is added by the adder 34 to the digital signal of one sample (one pixel) before from the delay device 35 having a delay time equal to the pixel interval, and the digital signal A ′ similar to the digital signal A is added. The digital signal A'is output through the terminal 36, converted into an analog signal by the D / A converter, and then output as an image signal.

上記したような予測符号化方式によれば、1画素当り
のビット数を4ビット程度に低減可能で、上記した直線
量子化方式と比べてビット数を4/7に低減することが可
能である。
According to the predictive coding method as described above, the number of bits per pixel can be reduced to about 4 bits, and the number of bits can be reduced to 4/7 as compared with the linear quantization method described above. .

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上記前値予測を用いた予測符号化及び復号化装置にお
ける入出力信号の量子化レベルの範囲は、量子化ビット
数を7ビットとしたことにより、−64〜+63である。
The range of the quantization level of the input / output signal in the predictive coding and decoding apparatus using the previous value prediction is -64 to +63 by setting the quantization bit number to 7 bits.

この時、n=7ビットの入力ディジタル信号Aが例え
ば、−31→62→25→10→→35…と変化する場合には、減
算器51からの8ビットの差分信号Cは、−31→93→−37
→−15→25…となり、ROM54からの圧縮差分信号Eは、
−5→7→−5→−4→4…それぞれに対応するm=4
ビットのデータとなって伝送或いは記録される。そして
受信或いは再生時には、圧縮差分信号Eと同等の4ビッ
トの圧縮差分信号I′が端子32を介して入力され、ROM3
3からの8ビットの差分信号C″は、−31→110→−31→
−17→31…そして加算器34からの出力ディジタル信号
A′は、−31→79(−49)→48→31→62………となり、
ビット数n=7の量子化レベルの範囲(−64〜+63)を
超えたレベルのデータ79により逆極性のレベルに反転し
たデータ−49が出力されてしまう。
At this time, if the input digital signal A of n = 7 bits changes, for example, −31 → 62 → 25 → 10 →→ 35 ..., the 8-bit difference signal C from the subtractor 51 is −31 → 93 → −37
→ −15 → 25 ... and the compression difference signal E from the ROM 54 is
-5 → 7 → -5 → -4 → 4 ... m = 4 corresponding to each
It is transmitted or recorded as bit data. At the time of reception or reproduction, a 4-bit compressed differential signal I ′ equivalent to the compressed differential signal E is input via the terminal 32 and the ROM3
The 8-bit difference signal C ″ from 3 is −31 → 110 → −31 →
-17 → 31 ... And the output digital signal A ′ from the adder 34 becomes −31 → 79 (−49) → 48 → 31 → 62 ...
Due to the data 79 having a level exceeding the quantization level range (-64 to +63) of the bit number n = 7, the data -49 inverted to the opposite polarity level is output.

このため、情報信号の反転現象が発生してしまう。 Therefore, the inversion phenomenon of the information signal occurs.

上記したように、従来の予測符号化装置では、復号化
時にビット数nの量子化レベルの範囲を超えたレベルの
データにより逆極性のレベルに反転したデータを出力し
てしまい、情報信号の反転現象が発生するなどの問題が
あった。
As described above, in the conventional predictive coding apparatus, the data inverted to the opposite polarity level is output due to the data of the level exceeding the quantization level range of the bit number n at the time of decoding, and the information signal is inverted. There was a problem such as the phenomenon.

本発明の目的は、上記した従来技術に鑑み、復号化時
に情報信号の反転現象が発生しないような符号化装置を
提供することにある。
In view of the above-mentioned conventional technique, it is an object of the present invention to provide an encoding device in which an inversion phenomenon of an information signal does not occur during decoding.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記目的を達成するため、伝送すべき情報信
号をその量子化誤差が無視できる程度に充分な量子化ビ
ット数nで符号化し、上記符号化した標本に対応する予
測値を算出して、上記nビットの標本値を上記予測値と
の差分データの最上位ビットを除いたビット数nのデー
タに基づいて上記nより少ないビット数mのデータに変
換する。そして、上記ビット数mのデータに基づいて復
号化時と同等の変換手段により得たビット数nのデータ
に上記差分データの最上位ビットと同じ符号を最上位ビ
ットとし1ビット追加し、この1ビット追加したビット
数n+1のデータと、ビット数n+1で表現されたビッ
ト数nの上記予測値の量子化レベルを示すデータとを加
算し、この加算データの最上位ビットを除いたビット数
n+1のデータと、ビット数n+1で表現されたビット
数nの最大或いは最小の量子化レベルを示すデータとの
レベル比較結果により、上記ビット数mのデータを、同
じ極性で絶対値が1ステップ下の別のビット数mのデー
タに切替えて伝送するように構成する。
In order to achieve the above object, the present invention encodes an information signal to be transmitted with a sufficient number of quantization bits n such that its quantization error can be ignored, and calculates a prediction value corresponding to the encoded sample. , The n-bit sample value is converted into the data of the bit number m smaller than n based on the data of the bit number n excluding the most significant bit of the difference data from the predicted value. Then, one bit is added to the data of the bit number n obtained by the conversion means equivalent to that at the time of decoding based on the data of the bit number m as the most significant bit as the most significant bit. The data of the number of bits n + 1 with added bits and the data showing the quantization level of the above-mentioned prediction value of the number of bits n expressed by the number of bits n + 1 are added, and the number of bits n + 1 excluding the most significant bit of the added data is added. According to the level comparison result of the data and the data indicating the maximum or minimum quantization level of the bit number n expressed by the bit number n + 1, the data of the bit number m is discriminated with the same polarity and an absolute value one step lower. The data is configured to be switched and transmitted to the data having the number of bits m.

〔作用〕[Action]

復号化時における反転現象は、上記比較結果により符
号化時に検出することができる。
The inversion phenomenon at the time of decoding can be detected at the time of encoding based on the comparison result.

それによって、伝送すべきビットmのデータを、同じ
極性で絶対値が1ステップ下の別のビット数mのデータ
に切替えて伝送するので、復号化時に出力データがビッ
ト数nの量子化レベルの範囲を超えるレベルとはなら
ず、反転現象が生じることはない。
As a result, the data of the bit m to be transmitted is switched to the data of another bit number m having the same polarity and an absolute value one step lower, and the data is transmitted. The level does not exceed the range, and the inversion phenomenon does not occur.

〔実施例〕〔Example〕

一般に、予測符号化方式はビット数nのデータ同士の
減算によるビット数n+1の差分データをnより少ない
ビット数mのデータに変換する方式であり、その変換に
よる誤差は大きい。
In general, the predictive coding method is a method of converting difference data having a bit number n + 1 by subtracting data having a bit number n into data having a bit number m smaller than n, and the error due to the conversion is large.

そこで、上記差分データの最上位ビットを除いたビッ
ト数nのデータすなわち上記差分データの絶対値に相当
するデータをビット数mのデータに変換する方式が考え
られる。
Therefore, a method is conceivable in which the data of the bit number n excluding the most significant bit of the difference data, that is, the data corresponding to the absolute value of the difference data is converted into the data of the bit number m.

この方式によれば、上記したビット数n+1のデータ
を変換する場合に比べて、上記変換による誤差を約1/2
にすることができる。
According to this method, compared with the case of converting the data of the number of bits n + 1, the error due to the conversion is about 1/2.
Can be

以下、上記した最上位ビットを除いたビット数nのデ
ータをビット数mのデータに変換する方式を例にとり、
本発明の実施例を図面により詳細に説明する。
In the following, the method of converting the data of the bit number n excluding the above-mentioned most significant bit into the data of the bit number m is taken as an example,
Embodiments of the present invention will be described in detail with reference to the drawings.

第1図は、本発明をVTRなどの磁気記録再生装置に適
用した場合の一実施例を示すブロック図、第3図は本発
明に係わる符号器3の一実施例を示すブロック図、第4
図は本発明に係わる復号器12の一実施例を示すブロック
図、第5図は第3図・第4図の符号器・復号器の動作説
明用の各部波形図、第6図はその符号特性・復号特性の
一実施例を示す特性図である。
FIG. 1 is a block diagram showing an embodiment in which the present invention is applied to a magnetic recording / reproducing apparatus such as a VTR, and FIG. 3 is a block diagram showing an embodiment of an encoder 3 according to the present invention.
FIG. 6 is a block diagram showing an embodiment of the decoder 12 according to the present invention, FIG. 5 is a waveform diagram of each part for explaining the operation of the encoder / decoder in FIGS. 3 and 4, and FIG. It is a characteristic view which shows one Example of a characteristic and a decoding characteristic.

第1図において、1は記録すべき画像信号の入力端
子、2はA/D変換器、3は符号器、4はPCMプロセッサ、
5はメモリ、6は変調器、7は記録増幅器、8は磁気ヘ
ッド、9は磁気テープ、10は再生イコライザ、11は復調
器、12は復号器、13はD/Aコンバータ、14は再生された
画像信号の出力端子である。
In FIG. 1, 1 is an input terminal of an image signal to be recorded, 2 is an A / D converter, 3 is an encoder, 4 is a PCM processor,
5 is a memory, 6 is a modulator, 7 is a recording amplifier, 8 is a magnetic head, 9 is a magnetic tape, 10 is a reproduction equalizer, 11 is a demodulator, 12 is a decoder, 13 is a D / A converter, and 14 is reproduced. It is an output terminal for the image signal.

端子1からの画像信号VはA/D変換器2により量子化
ビット数nビットでディジタル信号Aに変換される。こ
のnビットのディジタル信号Aは本発明に係る符号器3
によって後述するように適宜ビット圧縮される。
The image signal V from the terminal 1 is converted by the A / D converter 2 into the digital signal A with the quantization bit number n bits. This n-bit digital signal A is the encoder 3 according to the present invention.
Bit compression is appropriately performed as described later.

この符号器3の出力I(以下、これをデータIと略記
する。)はPCMプロセッサ4を介して、メモリ5に逐次
書き込まれる。メモリ5への書き込みのときに、データ
Iの所定のビット数からなるブロック毎にそのアドレス
を示すアドレス符号と符号訂正のためのいわゆるパリテ
ィ符号が追加されてメモリ5への逐次書き込まれる。
The output I of the encoder 3 (hereinafter, abbreviated as data I) is sequentially written in the memory 5 via the PCM processor 4. At the time of writing to the memory 5, an address code indicating the address and a so-called parity code for code correction are added to each block having a predetermined number of bits of the data I and sequentially written to the memory 5.

メモリ5への書き込み終了後、引き続いて読み取ら
れ、読み取られたデータI及びアドレス符号とパリティ
符号は、PCMプロセッサ4にて並列データから直列デー
タに変換されるとともに、ブロックの頭出しのための誤
り検出符号や、或いはこれらデータ列の前後に、適宜調
歩符号などが追加されて出力される。
After the writing to the memory 5 is completed, the data I, the address code, and the parity code that are read subsequently are converted by the PCM processor 4 from parallel data to serial data, and an error for locating the block is found. A start code and the like are appropriately added before and after the detection code or these data strings and output.

このPCMプロセッサ4からの出力データ列Lは、変調
器6によって磁気記録に適した符号に変調されてのち、
その出力は記録増幅器7を介して磁気ヘッド8により逐
次磁気テープ9に記録される。
The output data string L from the PCM processor 4 is modulated by the modulator 6 into a code suitable for magnetic recording.
The output is sequentially recorded on the magnetic tape 9 by the magnetic head 8 via the recording amplifier 7.

次に再生系において、磁気テープ9から磁気ヘッド8
により再生された信号は、再生イコライザ10で適宜再生
等化されてのち、復調器11で復調され、上記変調器6に
入力されたデータ列Lと同様の信号L′が出力される。
この復調器11からの出力データ列L′は、PCMプロセッ
サ4にて、そのブロック毎に同期符号に基づき、データ
の頭出しや、前記誤り検出符号に基づき符号誤り検出な
どが行なわれてのち、直列データから並列データに変換
されてからメモリ5に逐次書き込まれる。
Next, in the reproducing system, from the magnetic tape 9 to the magnetic head 8
The signal reproduced by is reproduced and equalized by the reproduction equalizer 10 as appropriate, and then demodulated by the demodulator 11 to output a signal L ′ similar to the data string L input to the modulator 6.
The output data string L'from the demodulator 11 is subjected to data cueing for each block in the PCM processor 4 based on the synchronization code, and code error detection based on the error detection code. The serial data is converted into parallel data and then sequentially written in the memory 5.

メモリ5に書き込まれたデータは、PCMプロセッサ4
により上記パリティ符号に基づいて逐次符号訂正されて
から、冗長の符号は逐次解除され、上記符号器3からの
出力データIと同様のデータI′が出力されて、復号器
12に供給される。
The data written in the memory 5 is the PCM processor 4
After that, the redundant code is sequentially canceled based on the parity code, the redundant code is sequentially canceled, and the same data I ′ as the output data I from the encoder 3 is output to the decoder.
Supplied to 12.

復号器12にて復号されてnビットのディジタル信号
A′が出力され、このディジタル信号A′はD/A変換器1
3にてアナログ信号に変換されて元の画像信号V′が復
元されて端子14に出力される。
The n-bit digital signal A'is decoded by the decoder 12 and this digital signal A'is output by the D / A converter 1.
The original image signal V'is converted into an analog signal at 3 and is restored to the terminal 14 for output.

次に、本発明に係る符号器3の動作を第3図に示す一
実施例により第5図の波形図を用いて説明する。
Next, the operation of the encoder 3 according to the present invention will be described with reference to the waveform diagram of FIG. 5 according to an embodiment shown in FIG.

第3図において、15は上記A/D変換器2から出力され
るnビットのディジタル信号Aの入力端子である。第5
図の(1)に示すように、A/D変換器2で端子1から入
力される画像信号Vがサンプリング周期τ毎に逐次サン
プリングされ、各標本値のレベルに応じてnビットのデ
ィジタル信号Aiに逐次変換されて出力される。
In FIG. 3, reference numeral 15 is an input terminal for the n-bit digital signal A output from the A / D converter 2. Fifth
As shown in (1) of the figure, the image signal V input from the terminal 1 is sequentially sampled by the A / D converter 2 at every sampling period τ, and an n-bit digital signal Ai corresponding to the level of each sample value is obtained. Are sequentially converted to and output.

ここで、上記量子化ビット数nは、その量子化誤差が
無視できる程度の大きな値であり、画像信号を取り扱う
本実施例では、例えばn=8と定められる。
Here, the number of quantization bits n is a large value such that the quantization error can be ignored, and in the present embodiment that handles image signals, for example, n = 8 is set.

本発明は、記録すべき画像信号をその量子化誤差が無
視できる程度に充分な量子化ビット数nで符号化し、上
記符号化した標本値に対応する予測値を求め、上記標本
値を上記予測値に関連する差分データの最上位ビットを
除いたnビットのデータに基づき上記値nより小さなビ
ット数mで符号化している。
According to the present invention, an image signal to be recorded is encoded with a sufficient number of quantization bits n so that its quantization error can be ignored, a predicted value corresponding to the encoded sample value is obtained, and the sample value is predicted. The difference data associated with the value is encoded with the number of bits m smaller than the value n based on the n-bit data excluding the most significant bit.

この第3図及び第5図は、n=8ビット、m=4ビッ
トとし、また標本値に対応する予測値を1サンプル前の
標本値とした場合の一実施例を示すものである。
FIGS. 3 and 5 show an embodiment in which n = 8 bits, m = 4 bits, and the predicted value corresponding to the sample value is the sample value one sample before.

そして、ビット数n+1で表現されたビット数nの最
大の量子化レベル(例えば+127)を示すデータ、及
び、ビット数n+1で表現されたビット数nの最小の量
子化レベル(例えば−128)と、復号化時と同等のビッ
ト伸張手段により上記ビット数m(=4)のデータをビ
ット伸張して得たビット数n(=8)のデータに上記差
分データの最上位ビットと同じ符号を最上位ビットとし
て1ビット追加したビット数n+1のデータとのレベル
比較により復号化した時に画像信号の反転現象が生じる
か否か判定する。
Then, data indicating the maximum quantization level (for example, +127) of the bit number n expressed by the bit number n + 1, and the minimum quantization level (for example, −128) of the bit number n expressed by the bit number n + 1. , The data having the bit number n (= 8) obtained by bit-expanding the data having the bit number m (= 4) by the bit expanding means equivalent to that at the time of decoding is assigned the same code as the most significant bit of the difference data. It is determined whether or not the inversion phenomenon of the image signal occurs at the time of decoding by level comparison with the data of the number n + 1 of bits added by 1 bit as the upper bit.

そして、この判定結果に基づいて、上記ビット数m
(=4)のデータを同じ極性で、絶対値が1ステップ下
の別のビット数m(=4)のデータに切替えて符号器3
からの出力信号Iとして出力させることにより、復号化
した時に画像信号の反転現象を生じさせないようにする
ことが可能となる。
Then, based on this determination result, the bit number m
The data of (= 4) is switched to the data of the same polarity with the absolute value one step lower and the number of bits m (= 4) is changed to the encoder 3
It is possible to prevent the inversion phenomenon of the image signal from occurring at the time of decoding by outputting as the output signal I from the.

以上の原理に基づく符号化方式は次のようにして行な
われる。
The encoding method based on the above principle is performed as follows.

第3図において、端子15より入力されるn(=8)ビ
ットのディジタル信号A(第5図(2)のa)は、減算
器16にて、遅延回路18からの予測値B(第5図(2)の
b)が減算される。
In FIG. 3, an n (= 8) -bit digital signal A (a in FIG. 5 (2)) input from the terminal 15 is supplied to the subtractor 16 and the predicted value B (fifth value) from the delay circuit 18 is input. B) of FIG. 2B is subtracted.

この遅延回路18からの予測値Bは、減算器16からの出
力信号C2(第5図(2)のc)と、遅延回路18からの1
ステップ(1画素)前の出力信号Bとを加算器17にて加
算し、この加算器17からの出力信号D(第5図(2)の
d)を遅延回路18にて、1サンプル(1画素)間隔に等
しい時間τだけ遅延した信号であり、上記ディジタル信
号Aに対し、1サンプル前のディジタル信号Aに相当す
る信号である。
The predicted value B from the delay circuit 18 is the output signal C2 from the subtracter 16 (c in FIG. 5 (2)) and 1 from the delay circuit 18.
The output signal B before the step (1 pixel) is added by the adder 17, and the output signal D (d in FIG. 5 (2)) from the adder 17 is output by the delay circuit 18 for 1 sample (1 This signal is delayed by a time τ equal to the (pixel) interval and is a signal corresponding to the digital signal A one sample before the digital signal A.

したがって、減算器16からの出力信号C1,C2は、ディ
ジタル信号Aと1サンプル前のディジタル信号Aとの差
分信号(第5図(2)のc)となる。この出力信号C1
は、差分信号の最上位ビットの符号を示す1ビットの信
号でありまた出力信号C2は最上位ビットを除いたn(=
8)ビットの差分信号であり、読み取り専用メモリROM1
9のアドレス信号として供給される。
Therefore, the output signals C1 and C2 from the subtractor 16 are difference signals (c in FIG. 5 (2)) between the digital signal A and the digital signal A one sample before. This output signal C1
Is a 1-bit signal indicating the sign of the most significant bit of the difference signal, and the output signal C2 is n (=
8) Bit difference signal, read-only memory ROM1
Supplied as 9 address signals.

ROM19は減算器16からのn(=8)ビットの差分信号C
2をm(=4)ビットに変換する機能を有する。
ROM 19 is the difference signal C of n (= 8) bits from the subtracter 16.
It has a function of converting 2 into m (= 4) bits.

n=8,m=4の場合についてROM19における変換特性の
一例を第6図に示す。ROM19には、第6図に示す−8〜
+7に対応する全部で16(すなわち4ビット相当)のデ
ータが書き込まれており、これらデータは減算器16から
のn(=8)ビットの差分信号C2に応じてアドレス指定
されて読み取られる。
FIG. 6 shows an example of conversion characteristics in the ROM 19 when n = 8 and m = 4. In ROM19, -8 ~ shown in FIG.
A total of 16 (ie 4 bit equivalents) data corresponding to +7 has been written and these data are addressed and read according to the n (= 8) bit difference signal C2 from the subtractor 16.

その一例として、第6図に示すように、差分信号C2の
値が77のときは6に対応するm(=4)ビットの信号E
(第5図(2)のe)がROM19より出力される。かくし
て、ROM19にて、減算器16からのn(=8)ビットの差
分信号C2は、m(=4)ビットに変換される。
As an example, as shown in FIG. 6, when the value of the difference signal C2 is 77, the signal E of m (= 4) bits corresponding to 6 is obtained.
(E in FIG. 5 (2)) is output from the ROM 19. Thus, in the ROM 19, the n (= 8) -bit difference signal C2 from the subtractor 16 is converted into m (= 4) bits.

このm(=4)ビットに変換されたROM19からの出力
信号Eは加算器23、減算器24及びデータセレクタ29の一
方に供給されるとともに、読み取り専用メモリROM20に
供給される。ROM20は復号化時のROM(第4図のROM33)
と同等の機能を有し、ROM19からのm(=4)ビットの
出力信号Eを第6図に示す変換特性に準じて、n(=
8)ビットに変換する機能を有する。
The output signal E from the ROM 19 converted into m (= 4) bits is supplied to one of the adder 23, the subtractor 24 and the data selector 29, and is also supplied to the read-only memory ROM 20. ROM20 is the ROM for decryption (ROM33 in Figure 4)
The output signal E of the m (= 4) bits from the ROM 19 has the same function as that of the n (=
8) It has the function of converting to bits.

その一例として、第6図に示すように、m(=4)ビ
ットの出力信号Eが、6に対応するデータのときは、77
の値を有するデータが、4に対応するデータのときは31
の値を有するデータが、信号C2′としてROM20より出力
される。このn(=8)ビットに変換されたROM20から
の出力信号C2′は、データ合成器21にて減算器16からの
差分データの最上位ビットの符号を示す1ビット信号C1
が最上位ビットとして1ビット追加され、ビット数n+
1(=9)のデータC′(第5図(2)のc′)が出力
される。このデータ合成器21からの出力データC′は、
加算器22にて、遅延器18からの予測値Bが加算される。
ここで、予測値Bは、ビット数n+1で表現されたビッ
ト数nの予測値の量子化レベルを示すデータである。
(例えば、ビット数nの予測値の最上位ビットと同じ符
号をビット数nの予測値に、最上位ビットとして1ビッ
ト追加することにより得る)この加算器22からの加算デ
ータは、最上位ビットを除いたのち、ビット数n+1
(=9)の加算信号F(第5図(2)のf)として比較
器27,28それぞれの一方に供給される。ここで、この加
算信号Fは、復号化することにより得られる元の標本値
Aに対応するデータに相当する。比較器27の他の一方に
は、ビット数n+1で表現されたビット数nの最大の量
子化レベル(n=8の場合には例えば+127)を示すデ
ータを出力する最大レベル発生回路25からの出力信号MA
Xが、また、比較器28の他の一方にはビット数n+1で
表現されたビット数nの最小の量子化レベル(n=8の
場合には例えば−128)を示すデータを出力する最小レ
ベル発生回路26からの出力信号MINが、供給されてい
る。
As an example, as shown in FIG. 6, when the output signal E of m (= 4) bits is data corresponding to 6,
31 when the data with the value of is the data corresponding to 4
The data having the value of is output from the ROM 20 as the signal C2 '. The output signal C2 'from the ROM 20 converted into n (= 8) bits is a 1-bit signal C1 indicating the sign of the most significant bit of the difference data from the subtracter 16 in the data synthesizer 21.
Is added as the most significant bit, and the number of bits n +
Data C'of 1 (= 9) (c 'in FIG. 5 (2)) is output. The output data C'from this data synthesizer 21 is
In the adder 22, the predicted value B from the delay device 18 is added.
Here, the prediction value B is data indicating the quantization level of the prediction value of the bit number n expressed by the bit number n + 1.
(For example, the same sign as the most significant bit of the prediction value of the number of bits n is obtained by adding 1 bit as the most significant bit to the prediction value of the number of bits n). The addition data from the adder 22 is the most significant bit. , Then the number of bits n + 1
The added signal F (= 9) (f in FIG. 5 (2)) is supplied to one of the comparators 27 and 28. Here, the addition signal F corresponds to the data corresponding to the original sample value A obtained by decoding. The other level of the comparator 27 is output from the maximum level generation circuit 25 that outputs data indicating the maximum quantization level of the bit number n expressed by the bit number n + 1 (for example, +127 when n = 8). Output signal MA
X is the minimum level that outputs the data indicating the minimum quantization level of the number of bits n expressed by the number of bits n + 1 (eg, −128 when n = 8) to the other side of the comparator 28. The output signal MIN from the generating circuit 26 is supplied.

一方、データセレクタ29の他の一方には減算器24にて
得たROM19からのm(=4)ビットの出力信号Eから1
ステップすなわち1LSBだけ減算したデータが供給されて
いる。例えば、出力信号Eが6に対応するデータのとき
は、5に対応するデータ、出力信号Eが3に対応するデ
ータのときは2に対応するデータが加算器24より出力さ
れる。この時、n=8,m=4とした本実施例で、ROM19か
らのm(=4)ビットの出力信号Eが、データセレクタ
29,30を介してそのまま記録され、復号化時に、再生さ
れたm(=4)ビットのデータを変換して得たn(=
8)ビットのデータに、後述する算出手段により得た予
測値を加算したときのレベルが、ビット数n(=8)の
最大の量子化レベル(+127)を超えてしまい、最小の
量子化レベル方向に反転したデータが出力される場合に
おいても、減算器24にて得たROM19からの出力信号Eか
ら1ステップ(1LSB)だけ減算した差分データをROM19
からの出力信号Eの代わりに記録した場合には、復号化
時に再生信号を変換して得たn(=8)ビットのデータ
に上記予測値を加算したデータのレベルが、上記最大の
量子化レベル(+127)を超えることはない。
On the other hand, the other one of the data selectors 29 has 1 (1) from the m (= 4) -bit output signal E from the ROM 19 obtained by the subtractor 24.
Data is supplied in steps, that is, by subtracting 1 LSB. For example, when the output signal E is data corresponding to 6, the adder 24 outputs data corresponding to 5 and when the output signal E is data corresponding to 3, data corresponding to 2 is output. At this time, in the present embodiment in which n = 8 and m = 4, the output signal E of m (= 4) bits from the ROM 19 is the data selector.
It is recorded as it is via 29,30, and at the time of decoding, the reproduced n (= 4) -bit data is converted into n (=
8) The level when the predicted value obtained by the calculating means described later is added to the bit data exceeds the maximum quantization level (+127) of the number of bits n (= 8), and the minimum quantization level. Even when the data inverted in the direction is output, the difference data obtained by subtracting one step (1 LSB) from the output signal E from the ROM 19 obtained by the subtractor 24 is added to the ROM 19
In the case of recording in place of the output signal E from, the level of the data obtained by adding the prediction value to the n (= 8) -bit data obtained by converting the reproduction signal at the time of decoding is the maximum quantization. It does not exceed the level (+127).

そこでデータセレクタ29にて、ROM19からの出力信号
Eと、減算器24からの差分データが、比較器27からの、
出力信号により選択出力される。すなわち、(最大レベ
ル発生回路25からの出力信号MAX)>(加算器22からの
出力信号F)の場合にはROM19からの出力信号Eが選択
出力され、逆に(最大レベル発生回路25からの出力信号
MAX)<(加算器22からの出力信号F)の場合には、減
算器24からの差分データが選択出力される。
Therefore, in the data selector 29, the output signal E from the ROM 19 and the difference data from the subtractor 24 are
It is selectively output according to the output signal. That is, when (the output signal MAX from the maximum level generating circuit 25)> (the output signal F from the adder 22), the output signal E from the ROM 19 is selectively output, and conversely (from the maximum level generating circuit 25 Output signal
When MAX) <(output signal F from the adder 22), the difference data from the subtractor 24 is selectively output.

このデータセレクタ29からの出力信号はデータセレク
タ30の一方に供給されており、他の一方には、加算器23
にて得たROM19からのm(=4)ビットの出力信号Eに
1ステップすなわち1LSBだけ加算したデータが供給され
ている。例えば、出力信号Eが−7に対応するデータの
ときは−6に対応するデータが、出力信号Eが−5に対
応するデータのときは−4に対応するデータが加算器23
より出力される。
The output signal from the data selector 29 is supplied to one side of the data selector 30, and the other side has an adder 23
Data obtained by adding 1 step, that is, 1 LSB, is supplied to the m (= 4) -bit output signal E from the ROM 19 obtained in. For example, when the output signal E is the data corresponding to -7, the data corresponding to -6 is, and when the output signal E is the data corresponding to -5, the data corresponding to -4 is the adder 23.
Will be output.

この時、n=8,m=4とした本実施例で、ROM19からの
m(=4)ビットの出力信号Eが、データセレクタ29,3
0を介してそのまま記録され、復号化時に再生されたm
(=4)ビットのデータを変換して得たn(=8)ビッ
トのデータに、後述する算出手段により得た予測値を加
算したときのレベルが、ビット数n(=8)の最小の量
子化レベル(−128)以下となり、最大の量子化レベル
方向に反転したデータが出力される場合においても、加
算器23にて得たROM19からの出力信号Eに1ステップ(1
LSB)だけ加算した加算データをROM19からの出力信号E
の代わりに記録した場合には、復号化時に再生信号を変
換して得たn(=8)ビットのデータに上記予測値を加
算したデータのレベルが上記最小の量子化レベル(−12
8)以下となることはない。
At this time, in the present embodiment in which n = 8 and m = 4, the output signal E of m (= 4) bits from the ROM 19 is the data selector 29,3.
M directly recorded via 0 and replayed during decoding
The level obtained by adding the prediction value obtained by the calculating means described later to the n (= 8) -bit data obtained by converting the (= 4) -bit data is the minimum of the number of bits n (= 8). Even when the data becomes less than the quantization level (-128) and the data inverted in the maximum quantization level direction is output, the output signal E from the ROM 19 obtained by the adder 23 has one step (1
Output signal E from ROM19
In the case of recording instead of, the data level obtained by adding the predicted value to the n (= 8) -bit data obtained by converting the reproduction signal at the time of decoding is the minimum quantization level (-12
8) Not less than

したがって、データセレクタ30にて、データセレクタ
29からの出力信号と、加算器23からの加算データが比較
器28からの出力信号により選択出力される。すなわち、
(最小レベル発生回路26からの出力信号MIN)<(加算
器22からの出力信号F)の場合には、データセレクタ29
からの出力信号が選択出力され逆に(最小レベル発生回
路26からの出力信号MIN)>(加算器22からの出力信号
F)の場合には、加算器23からの加算データが選択出力
される。
Therefore, the data selector 30
The output signal from 29 and the addition data from the adder 23 are selectively output by the output signal from the comparator 28. That is,
If (the output signal MIN from the minimum level generation circuit 26) <(the output signal F from the adder 22), the data selector 29
If the output signal from the adder 23 is selectively output and conversely (the output signal MIN from the minimum level generating circuit 26)> (the output signal F from the adder 22), the addition data from the adder 23 is selectively output. .

かくして、第3図に示した符号器にて符号化して得た
出力Iは端子31より、前記第1図のPCMプロセッサ4を
介してメモリ5に1/2にビット圧縮して書き込まれる。
Thus, the output I obtained by encoding with the encoder shown in FIG. 3 is written from the terminal 31 to the memory 5 via the PCM processor 4 of FIG.

そして、メモリ5に1/2にビット圧縮されて書き込ま
れたデータは前記したようにPCMプロセッサ4を介して
読み取られ、かつ読み取られた並列のデータは逐次ワー
ドごとに直列に変換されて出力され、直列データLとし
てPCMプロセッサ4より出力される。
Then, the data bit-compressed and written in the memory 5 is read through the PCM processor 4 as described above, and the read parallel data is serially converted word by word and output. , Serial data L is output from the PCM processor 4.

この直列データ出力Lは変調器6、記録増幅器7を介
して磁気ヘッド8により磁気テープ9に記録される。
The serial data output L is recorded on the magnetic tape 9 by the magnetic head 8 via the modulator 6 and the recording amplifier 7.

次に本発明に係わる復号器12の一実施例を第4図に、
その動作説明用の各部波形図を第5図に示す。
Next, one embodiment of the decoder 12 according to the present invention is shown in FIG.
FIG. 5 shows a waveform chart of each part for explaining the operation.

再生時においては、上記により記録されたデータは、
磁気テープ9より磁気ヘッド8により再生されて、再生
イコライザ10と復調器11にて適宜再生等化、復調され
て、復調器11からは上記のデータ出力Lと同等の直列デ
ータ出力L′が得られる。
During playback, the data recorded above is
The data is reproduced from the magnetic tape 9 by the magnetic head 8 and appropriately reproduced and equalized and demodulated by the reproduction equalizer 10 and the demodulator 11, and the demodulator 11 obtains a serial data output L ′ equivalent to the above data output L. To be

この直列データ出力L′はPCMプロセッサ4を介して
ワード毎に並列データに変換されてから逐次メモリ5に
書き込まれる。そして、PCMプロセッサ4からは、上記
符号器3からの出力Iと同様の出力I′(第5図(2)
のi)が得られ、この出力I′は第4図に示す復号器12
の端子32に供給される。この第4図に示す復号器12は従
来の前値予測符号化方式での復号器と同様な構成となっ
ている。
This serial data output L'is converted into parallel data word by word via the PCM processor 4 and then written to the memory 5 sequentially. Then, from the PCM processor 4, an output I ′ similar to the output I from the encoder 3 (see FIG. 5 (2)).
I) is obtained, and this output I'is the decoder 12 shown in FIG.
Is supplied to the terminal 32 of. The decoder 12 shown in FIG. 4 has the same structure as that of the conventional predictive predictive coding system.

すなわち、第4図において、端子32より入力されるPC
Mプロセッサ4からの出力I′は、ROM33にm(=4)ビ
ットのアドレス信号として供給される。ROM33にて、上
記m(=4)ビットのデータI′は前記第6図に示した
特性に準じてn(=8)ビットのデータC″(第5図
(2)のc″)に変換される。
That is, in FIG. 4, the PC input from the terminal 32
The output I'from the M processor 4 is supplied to the ROM 33 as an address signal of m (= 4) bits. In the ROM 33, the m (= 4) -bit data I ′ is converted into the n (= 8) -bit data C ″ (c ″ in FIG. 5 (2)) according to the characteristics shown in FIG. To be done.

その一例として、第6図に示すように、m(=4)ビ
ットのデータIが6に対応するデータのときは77の値を
有するデータが、4に対応するデータのときは31の値を
有するデータが、信号C″(第5図(2)のc″)とし
てROM33より出力される。
As an example thereof, as shown in FIG. 6, when m (= 4) -bit data I is data corresponding to 6, data having a value of 77 and data corresponding to 4 are values of 31. The possessed data is output from the ROM 33 as a signal C ″ (c ″ in FIG. 5 (2)).

このROM33によりn(=8)ビットに変換された信号
C″は、加算器34にて遅延回路35からの予測値K(第5
図(2)のk)が加算される。この遅延回路35からの予
測値Kは、加算器34からの出力信号A′を遅延回路35に
て、1サンプル(1画素)間隔に等しい時間τだけ遅延
した信号である。
The signal C ″ converted into n (= 8) bits by the ROM 33 is added to the predicted value K (fifth value) from the delay circuit 35 by the adder 34.
K) in FIG. 2B is added. The predicted value K from the delay circuit 35 is a signal obtained by delaying the output signal A ′ from the adder 34 by the delay circuit 35 by a time τ equal to one sample (one pixel) interval.

したがって、この加算器34にて、元の標本値Aに対応
するデータA′(第5図(2)のa′)が復元されて端
子36に出力される。
Therefore, the adder 34 restores the data A '(a' in FIG. 5 (2)) corresponding to the original sample value A and outputs it to the terminal 36.

以上述べたように本発明は、記録時に再生時の反転現
象を検出して、記録すべきm(=4)ビットの信号のレ
ベルを1ステップだけ変化させて記録することを特徴と
し、これにより再生時に画像信号の反転現象が生じるこ
とはない。
As described above, the present invention is characterized by detecting the reversal phenomenon at the time of reproduction at the time of recording and changing the level of the signal of m (= 4) bits to be recorded by one step and recording. The inversion phenomenon of the image signal does not occur during reproduction.

以上の実施例は、VTRなどの磁気記録再生装置に本発
明を適用した場合を示したが、本発明はこれに限るもの
ではなく、画像信号以外の音声信号など任意の情報信号
を記録再生するにとどまらず、任意の伝送媒体にディジ
タル信号として伝送する場合に適用できるものであり、
本発明の主旨をそれるものではない。
The above embodiment shows the case where the present invention is applied to a magnetic recording / reproducing apparatus such as a VTR, but the present invention is not limited to this, and an arbitrary information signal such as an audio signal other than an image signal is recorded / reproduced. It is applicable not only when transmitting as a digital signal to any transmission medium,
It does not deviate from the gist of the present invention.

また、以上の実施例は、前値予測符号化方式の場合を
示したが、本発明はこれに限るものではなく、一般にN
次曲線予測符号化方式においても、更には、予測値或い
は基準値との差分をビット圧縮して符号化する他の差分
符号化方式においても本発明が適用できることは明らか
である。
Further, although the above-mentioned embodiment shows the case of the predictive predictive coding method, the present invention is not limited to this, and in general, N
It is obvious that the present invention can be applied to the following curve predictive coding system and further to other differential coding systems in which the difference between the predicted value and the reference value is bit-compressed and coded.

また、以上の実施例は、加算器23及び減算器24により
ROM19からのビット数m(=4)の出力データEと同じ
極性で、絶対値が1ステップ下の別のビット数m(=
4)のデータを得る場合を示したが、本発明はこれに限
るものではなく、ビット数n(=8)のデータにおける
2進数表示したときの大小関係と、該データをビット数
m(=4)のデータに変換したときのビット数m(=
4)のデータにおける2進数表示したときの大小関係が
異なる場合があるような変換特性を有するROMをROM19と
して用いた場合においても、ROM20或いはROM33のアドレ
ス信号として供給したときに、ROM19からのm(=4)
ビットの所定データを供給したときよりも1ステップ上
のn(=8)ビットのデータが出力されるようなビット
数m(=4)のデータがROM19からのビット数m(=
4)の所定データを供給したときに出力されるROM、及
びROM20或いはROM33のアドレス信号として供給したとき
に、ROM19からのm(=4)ビットの所定データを供給
したときよりも1ステップ下のn(=8)ビットのデー
タが出力されるようなビット数m(=4)のデータがRO
M19からのビット数m(=4)の所定データを供給した
ときに出力されるROM、により得ることができ、本発明
の主旨をそれるものではない。
In addition, in the above embodiment, the adder 23 and the subtractor 24
Another bit number m (= the same polarity as the output data E of the bit number m (= 4) from the ROM 19 and an absolute value one step lower
Although the case where the data of 4) is obtained is shown, the present invention is not limited to this, and the magnitude relation when the data of the bit number n (= 8) is displayed in binary and the bit number m (= The number of bits m (=
Even when a ROM having a conversion characteristic such that the magnitude relation in the case of binary display in the data of 4) is different is used as ROM19, when supplied as an address signal of ROM20 or ROM33, m from ROM19 (= 4)
The bit number m (= 4) of data that outputs n (= 8) bit data one step higher than when the predetermined bit data is supplied is the bit number m (=
When supplied as the address signal of the ROM and ROM20 or ROM33 which is output when the predetermined data of 4) is supplied, it is one step lower than when the predetermined data of m (= 4) bits from the ROM19 is supplied. The data of bit number m (= 4) that outputs n (= 8) bit data is RO
It can be obtained by the ROM output when the predetermined number of bits m (= 4) of data from M19 is supplied, and does not deviate from the gist of the present invention.

また、以上の実施例では、ビット数n+1の差分デー
タの最上位ビットを除いたnビットのデータをビット数
mのデータに変換する場合での画像信号の反転現象を検
出し防止する手段について示したが、本発明はこれに限
るものではなく、ビット数n+1の差分データをそのま
まビット数mのデータに変換する場合においても、本発
明が適用できることは明らかである。
Further, in the above embodiments, the means for detecting and preventing the inversion phenomenon of the image signal in the case of converting the n-bit data excluding the most significant bit of the differential data of the bit number n + 1 into the data of the bit number m is shown. However, the present invention is not limited to this, and it is obvious that the present invention can be applied to the case where the differential data of the bit number n + 1 is directly converted to the data of the bit number m.

〔発明の効果〕〔The invention's effect〕

以上述べたように本発明によれば、再生時すなわち復
号化時に情報信号の反転現象を生じさせることなく情報
信号を伝送することができるので、ディジタルVTRのよ
うな磁気記録再生装置においては画質劣化を抑えること
ができるなどの効果がある。
As described above, according to the present invention, the information signal can be transmitted without causing the inversion phenomenon of the information signal at the time of reproduction, that is, at the time of decoding, so that the image quality is deteriorated in the magnetic recording / reproducing apparatus such as a digital VTR. There is an effect that can be suppressed.

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

第1図は本発明の一実施例を示すブロック図、第2図は
従来技術に係わる符号器の一例を示すブロック図、第3
図は本発明に係わる符号器の一実施例を示すブロック
図、第4図は本発明に係わる復号器の一実施例を示すブ
ロック図、第5図は第3図、第4図の符号器・復号器の
動作説明用の各部波形図、第6図はその符号特性・復号
特性の一実施例を示す特性図である。 3……符号器、 12……復号器、 16,24,51……減算器、 17,22,23,34,52……加算器、 27,28……比較器、 29,30……データセレクタ、 18,35,53……遅延回路、 19,20,33,54……ROM。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram showing an example of a conventional encoder, and FIG.
FIG. 4 is a block diagram showing an embodiment of an encoder according to the present invention, FIG. 4 is a block diagram showing an embodiment of a decoder according to the present invention, FIG. 5 is an encoder of FIG. 3 and FIG. Waveform diagrams of respective parts for explaining the operation of the decoder, and FIG. 6 is a characteristic diagram showing an embodiment of the code characteristics and decoding characteristics thereof. 3 …… Encoder, 12 …… Decoder, 16,24,51 …… Subtractor, 17,22,23,34,52 …… Adder, 27,28 …… Comparator, 29,30 …… Data Selector, 18, 35, 53 …… Delay circuit, 19, 20, 33, 54 …… ROM.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】情報信号をサンプリング量子化してディジ
タル信号に変換して伝送、或いは記録する装置におい
て、 上記情報信号を逐次標本化する手段と、 標本化した標本値をビット数nで量子化する手段と、 上記ビット数nの標本のうちの少なくとも一部のビット
数nの標本に対応する所定のビット数nの予測値を算出
する手段と、 上記標本値と上記予測値との差分を演算する手段と、 上記演算手段結果であるビット数n+1の差分データの
最上位ビットを除いたビット数nのデータに基づいて、
上記標本値を上記ビット数nより少ないビット数mのデ
ータに変換する第1の変換手段と、 符号化時に復号化時と同等の変換手段を行い、該変換手
段結果として、ビット数nの量子化レベルの範囲を超え
たデータにより逆極性のレベルに反転したデータが出力
されるか否かを検出する手段、とを有し、 上記検出する手段結果に基づいて、上記第1の変換手段
からのビット数mのデータを、反転しない別のビット数
mのデータに切替えて伝送するようにしたことを特徴と
する符号化装置。
1. An apparatus for sampling and quantizing an information signal to convert it into a digital signal for transmission or recording, and means for sequentially sampling the information signal, and quantizing the sampled sample value with a bit number n. Means, means for calculating a prediction value of a predetermined number of bits n corresponding to at least some of the samples of the number of bits n, and a difference between the sample value and the prediction value And the data of the bit number n excluding the most significant bit of the difference data of the bit number n + 1, which is the result of the calculation means,
A first converting means for converting the sampled value into data having a bit number m smaller than the bit number n and a converting means equivalent to that at the time of decoding are performed at the time of encoding, and as a result of the converting means, a quantum having a bit number of n is obtained. Means for detecting whether data inverted to a reverse polarity level is output by the data exceeding the range of the conversion level, and based on the result of the detecting means, the first converting means The encoding device is characterized in that the data of the number of bits m is switched to another data of the number of bits m which is not inverted and transmitted.
【請求項2】上記検出する手段は、 復号化時での上記ビット数mのデータを該データに基づ
くビット数nのデータに変換する手段と同等な第2の変
換手段と、 上記第2の変換手段からのビット数nのデータに、上記
ビット数n+1の差分データの最上位ビットと同じ符号
を最上位ビットとして1ビット追加する手段と、 上記追加する手段からのビット数n+1のデータと、ビ
ット数N+1で表現されたビット数nの上記予測値の量
子化レベルを示すデータとを加算する手段と、 上記加算する手段からの加算データの最上位ビットを除
いたビット数n+1の加算データと、ビット数n+1で
表現されたビット数nの最大の量子化レベルを示すデー
タとのレベルを比較する手段と、 上記ビット数n+1の加算データとビット数n+1で表
現されたビット数nの最小の量子化レベルを示すデータ
とのレベルを比較する手段、 とで構成したことを特徴とする特許請求の範囲第1項記
載の符号化装置。
2. The detecting means includes a second converting means equivalent to a means for converting the data of the bit number m at the time of decoding into the data of the bit number n based on the data, and the second converting means. Means for adding 1 bit to the data of the bit number n from the converting means, the same code as the most significant bit of the difference data of the bit number n + 1 as the most significant bit, and data of the bit number n + 1 from the adding means, Means for adding data indicating the quantization level of the predicted value of the number of bits n expressed by the number of bits N + 1, and addition data of the number of bits n + 1 excluding the most significant bit of the addition data from the adding means , Means for comparing the level with data indicating the maximum quantization level of the bit number n expressed by the bit number n + 1, and the addition data of the bit number n + 1 and the data expressed by the bit number n + 1. The minimum unit for comparing the level of the data indicating the quantization level, city by being configured by the coding apparatus of Claim 1 wherein the appended claims, wherein the number of bits n have.
【請求項3】上記反転しない別のビット数mのデータ
は、 上記第1の変換手段からのビット数mのデータと同じ極
性で、絶対値が少なくとも1ステップ下のビット数mの
データとするようにしたことを特徴とする特許請求の範
囲第1項記載の符号化装置。
3. The data of another bit number m which is not inverted has the same polarity as the data of the bit number m from the first conversion means, and the absolute value is data of the bit number m which is at least one step lower. The encoding device according to claim 1, wherein the encoding device is configured as described above.
JP61094490A 1986-04-25 1986-04-25 Encoder Expired - Lifetime JPH0813139B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61094490A JPH0813139B2 (en) 1986-04-25 1986-04-25 Encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61094490A JPH0813139B2 (en) 1986-04-25 1986-04-25 Encoder

Publications (2)

Publication Number Publication Date
JPS62252288A JPS62252288A (en) 1987-11-04
JPH0813139B2 true JPH0813139B2 (en) 1996-02-07

Family

ID=14111737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61094490A Expired - Lifetime JPH0813139B2 (en) 1986-04-25 1986-04-25 Encoder

Country Status (1)

Country Link
JP (1) JPH0813139B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01208029A (en) * 1988-02-15 1989-08-22 Hitachi Ltd Encoder and decoder
US6002536A (en) 1990-07-06 1999-12-14 Hitachi Ltd. Digital transmission signal processing system and recording/reproducing system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60210084A (en) * 1984-04-04 1985-10-22 Hitachi Ltd Digital signal processing circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60210084A (en) * 1984-04-04 1985-10-22 Hitachi Ltd Digital signal processing circuit

Also Published As

Publication number Publication date
JPS62252288A (en) 1987-11-04

Similar Documents

Publication Publication Date Title
JPH0793584B2 (en) Encoder
JPS6294090A (en) Encoding device
JP3946812B2 (en) Audio signal conversion apparatus and audio signal conversion method
US5440432A (en) Dubbing system for digital information
JPH046289B2 (en)
JPH0813139B2 (en) Encoder
JPH0664862B2 (en) Digital image recording / reproducing device
JPS63126322A (en) Encoder
JPH073954B2 (en) Encoder
US6208803B1 (en) Recording and/or reproducing apparatus which produces main information and historical information with respect to signal processing performed on the main information
JPH0133993B2 (en)
JP3627256B2 (en) Apparatus and method for receiving / reproducing digital image signal
US5483388A (en) Information recording and reproducing apparatus forming plural kinds of error detection or correction codes
JP2962329B2 (en) Image processing method
JPS63126323A (en) Encoder
JPS594345A (en) Correcting device of data transmission system
JP2860401B2 (en) Encoding device
JPH0553325B2 (en)
JPS6359293B2 (en)
JPH03116586A (en) Recording and reproducing device and recording and reproducing system
JPH0536213A (en) Code conversion system
JP2810362B2 (en) Image information signal encoding device
JPS6036663B2 (en) signal correction device
KR950005153B1 (en) Voice addition suspension picture system
JPH0574253B2 (en)