JPS6333084A - Encoder - Google Patents

Encoder

Info

Publication number
JPS6333084A
JPS6333084A JP61174728A JP17472886A JPS6333084A JP S6333084 A JPS6333084 A JP S6333084A JP 61174728 A JP61174728 A JP 61174728A JP 17472886 A JP17472886 A JP 17472886A JP S6333084 A JPS6333084 A JP S6333084A
Authority
JP
Japan
Prior art keywords
signal
data
dsv
unused
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP61174728A
Other languages
Japanese (ja)
Other versions
JP2828444B2 (en
Inventor
Akisuke Shikakura
明祐 鹿倉
Koji Takahashi
宏爾 高橋
Masahiro Takei
武井 正弘
Tomohiko Sasaya
笹谷 知彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP17472886A priority Critical patent/JP2828444B2/en
Priority to US07/077,335 priority patent/US4885637A/en
Publication of JPS6333084A publication Critical patent/JPS6333084A/en
Application granted granted Critical
Publication of JP2828444B2 publication Critical patent/JP2828444B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To suppress a DSV fluctuation by encoding a difference value signal between information at adjacent sample points and converting into a converting signal having little direct current and low frequency component according to the combination thereof. CONSTITUTION:When converting data inputted to a pattern discrimination device 11 is discriminated to be the converting data to which plural unused converting data is assigned, a discrimination signal A indicating a discrimination result and the pattern signals 1 and 2 of the two unused converting data for controlling a DSV corresponding to the input converting data are supplied to an arithmetic control circuit 12. In the arithmetic control circuit 12, the unused converting data selected by the pattern signals 1 and 2 is respectively added to the DSV value obtained from a signal DSVO before one data period from a DSV computing element 10, thereby, the respective DSV values(DSV1, DSV2) when the respective unused converting data is generated are operated. Thereby, a picture signal can be encoded so as to suppress the DSV.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、例えばテレビジョン信号等の画像信号を符号
化する装置に関し、特に画像信号の特徴を利用して当該
画像信号を高能率に符号化する符号化装置に関する。
Detailed Description of the Invention [Industrial Application Field] The present invention relates to a device for encoding an image signal such as a television signal, and in particular to a device for encoding an image signal with high efficiency by utilizing the characteristics of the image signal. The present invention relates to an encoding device for encoding.

[従来の技術] 従来、例えばビデオ信号のような画像信号を符号化する
際に、まずアナログビデオ信号を例えば1サンプル当り
8ビツトのディジタルデータにA/D変換し、得られた
8ビツトのビデオデータを例えば前値差分符号化方式等
を通用して予測符号化し、これを例えば4ビツトの差分
データに非線形量子化することにより画像信号を圧縮す
る方法がある。
[Prior Art] Conventionally, when encoding an image signal such as a video signal, the analog video signal is first A/D converted into digital data with 8 bits per sample, and the resulting 8-bit video is converted into digital data. There is a method of compressing an image signal by predictively encoding data using, for example, a previous value differential encoding method, and nonlinearly quantizing the data into, for example, 4-bit difference data.

第7図はその非線形量子化特性の一例を表わすものであ
フて、横軸は、−255〜+255までの差分レベルΔ
を示し、縦軸は例えばミツドトレッド型の非線形量子化
を採用した場合における−7〜+7までの15レベルの
代表値の非線形量子化レベルΔ′ を示す。
FIG. 7 shows an example of the nonlinear quantization characteristic, and the horizontal axis is the difference level Δ from −255 to +255.
, and the vertical axis indicates the nonlinear quantization level Δ' of representative values of 15 levels from -7 to +7 when, for example, mid-tread type nonlinear quantization is adopted.

本願出願人によりすでに上述のように非線形量子化によ
って得られた差分データに関して、例えば、連続する2
つの4ビツトの差分データを1組として8ビツトのデー
タとし、これを直流および低周波成分が抑圧されるよう
なビットパターンを持つ8ビツトの変換データに変換す
る符号化装置が提案されている。
Regarding difference data obtained by nonlinear quantization as already described above by the applicant, for example, two consecutive
An encoding device has been proposed that converts a set of 4-bit difference data into 8-bit data and converts this into 8-bit converted data having a bit pattern such that direct current and low frequency components are suppressed.

第8図は上記提案の概念を説明するための図であって、
各々4ビツトの2つの非線形量子化差分データ値のうち
、時間的に前の差分データ値Δ。りを横軸にとり、時間
的に後の差分データ値Δ。を縦軸にとっている。ここで
は、第1象限のみを示しており、実線で示した格子は第
7図で示した非線形量子化特性を横軸および縦軸各々独
立に示したものである。
FIG. 8 is a diagram for explaining the concept of the above proposal,
The temporally previous difference data value Δ of two nonlinear quantized difference data values of 4 bits each. The horizontal axis represents the difference data value Δ later in time. is taken on the vertical axis. Here, only the first quadrant is shown, and the lattice shown by solid lines represents the nonlinear quantization characteristics shown in FIG. 7 independently on the horizontal and vertical axes.

第8図に示すように各格子によって囲まれた領域内に存
在する点(Δn−1.Δn)(−255≦Δ、−!≦2
55、−2s5≦Δ。≦255)は、非線形量子化によ
り(i、j)(−7≦i≦7.−7≦j≦7)の領域に
対応することになる。従って、このように2次元上で表
わした場合、連続する各々4ビツトの2つの差分データ
の組は全て15X 15= 225個のいずれかの領域
に割り当てられる。
As shown in Figure 8, points (Δn-1.Δn) (-255≦Δ, -!≦2
55, -2s5≦Δ. ≦255) corresponds to a region of (i, j) (-7≦i≦7.-7≦j≦7) by nonlinear quantization. Therefore, when expressed two-dimensionally in this way, all two successive sets of difference data of 4 bits each are allocated to any one of 15×15=225 areas.

上記提案ではこれを利用して、8ビツトのコード256
種類のうち、例えばNrlZ (Non l1etur
n t。
The above proposal uses this to create an 8-bit code of 256
Among the types, for example, NrlZ (Non l1etur
nt.

Zero)変調の場合にはなるべ(CDS (Cord
wordDi3ital Sum)の絶対値が小さいビ
ットパターンを持つ変換データ225個をこれら(i、
j)の変換データとして対応させている。つまり残りの
31個の変換データにはCDSの絶対値が大きいビット
パターンを持つように割当てることができるのでこれら
31個の変換データも未使用データとし、このように変
換データを割当てることにより変換後のデータ列の直流
および低周波成分を抑圧しようとしている。
In the case of Zero) modulation, it is
225 pieces of conversion data having a bit pattern with a small absolute value of wordDi3italSum) are converted into these (i,
It corresponds to the conversion data of j). In other words, the remaining 31 converted data can be assigned to have a bit pattern with a large absolute value of CDS, so these 31 converted data are also considered unused data, and by assigning the converted data in this way, the I am trying to suppress the DC and low frequency components of the data string.

なお、該CDSはデータパターンの各ビットにおけるレ
ベル「1」を「+1」とし、レベル「0」を「−1」と
した時車−符号内における各ビットの総和を表わしたも
ので、「1」の数の和と「0」の数の和がそれぞれ等し
い時にはCDSは零となる。
In addition, this CDS represents the sum of each bit in the car code when the level "1" in each bit of the data pattern is "+1" and the level "0" is "-1", and it is "1". When the sum of the numbers of ``'' and the sum of the numbers of ``0'' are equal, the CDS becomes zero.

次に256個のビットパターン中より選択された、22
5個の変換データを(i、j)にどのように対応させる
かを説明する。
Next, 22 bit patterns are selected from among the 256 bit patterns.
How five pieces of conversion data are made to correspond to (i, j) will be explained.

基本的な考え方としては、上記非線形量子化を行りた連
続する2つの4ビツトの差分データを1組として8ビツ
トのデータ対を構成し、各8ビツトデータ対(i、j)
の出現頻度の高いところから優先的にCDSの絶対値が
小さい変換データを割り当てる。
The basic idea is that two successive 4-bit difference data that have been subjected to the nonlinear quantization described above constitute an 8-bit data pair, and each 8-bit data pair (i, j)
Conversion data with a small absolute value of CDS is assigned preferentially from the location where the occurrence frequency is high.

第9図は一般的標準画像情報信号における前記(ij)
の出現頻度を示したものである。また、NRZ変調を行
うとして考えた場合には、前記8ビツトの未使用データ
としては、なるべく°°0”および°1”が連続するビ
ットパターン、すなわち、以下に示すような A; 00000000)    1個B、11111
111)    1個 A、B、CおよびDグループの18個の変換データおよ
びEおよびFグループ16個の変換データのうちの13
個の変換データの計31個の変換データを採用すれば良
い。
FIG. 9 shows the above (ij) in a general standard image information signal.
This shows the frequency of appearance. Furthermore, when considering NRZ modulation, the 8-bit unused data should preferably be a bit pattern in which °°0'' and °1'' are consecutive, that is, A; 00000000) 1 as shown below. Piece B, 11111
111) 1 piece of 18 converted data in groups A, B, C and D and 13 of 16 converted data in groups E and F
It is sufficient to employ a total of 31 pieces of conversion data.

さらに、8ビツトの使用する変換データのビットパター
ンとしては、変換データの全ビット中、” 1 ”およ
びII OI+が各々4ビツト存在するもの(CDS 
= O、ac4=70個)、”1” が3ビツト、”o
”が5ビツトおよび°°1“が5ビツト。
Furthermore, the bit pattern of the 8-bit conversion data used is one in which 4 bits each of "1" and II OI+ exist among all the bits of the conversion data (CDS
= O, ac4 = 70 pieces), “1” is 3 bits, “o”
” is 5 bits and °°1” is 5 bits.

0”が3ビツト各々存在するもの(CDS =±2.8
C3+ac5=112個)、“°1”が2ビツト、“°
0”が6ビツトおよび°°1”が6ビツト、0”が2ビ
ツト存在するもの(CDS =±4,8C2+ 6CG
 =56個)の中から、前記EおよびFグループから抽
出した13個の変換データを除いたものの計225コー
ドとすれば良い。
0” exists in 3 bits (CDS = ±2.8
C3+ac5=112 pieces), “°1” is 2 bits, “°
There are 6 bits of 0", 6 bits of °°1", and 2 bits of 0" (CDS = ±4,8C2+6CG
= 56 codes), excluding the 13 converted data extracted from the E and F groups, resulting in a total of 225 codes.

[発明が解決しようとする問題点] しかしながら、上述のような符号化装置においては、一
度出現頻度の低い絶対値の大きなCDSの変換データが
出力された直後に、出現頻度の比較的高いCDSが零の
変換データが連続して出力された場合には、出力された
変換データ列においてDSV(Digital Sum
 Value)が変動したまま、もとの零レベルに落ち
つくのに比較的時間を要してしまい、このような状態が
長く続くことにより直流または低周波成分が発生するた
め、前記変換データ列を伝送する場合にはこれら直流ま
たは低周波成分は例えば磁気記録再生のような伝送路に
おいては伝送することが非常に困難なためデータの伝送
誤り等を発生する原因となっていた。
[Problems to be Solved by the Invention] However, in the above-mentioned encoding device, immediately after the converted data of a CDS with a low frequency of appearance and a large absolute value is output, a CDS with a relatively high frequency of appearance is output. When zero conversion data is output continuously, DSV (Digital Sum) is applied to the output conversion data string.
It takes a relatively long time to settle down to the original zero level while the value (Value) remains fluctuating, and if this state continues for a long time, direct current or low frequency components are generated, so it is difficult to transmit the converted data string. In this case, it is very difficult to transmit these direct current or low frequency components through a transmission line for magnetic recording and reproducing, for example, causing data transmission errors and the like.

本発明の目的は、上記問題点を解決し、簡単な構成によ
り、画像信号を高能率に符号化することができる符号化
装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems and provide an encoding device that can highly efficiently encode image signals with a simple configuration.

[問題点を解決するための手段] 本発明の符号化装置は、画像信号における隣接サンプル
点情報間の差分値信号を符号化し、符号化信号を出力す
る符号化手段と、符号化手段から連続して出力される複
数の符号化信号を同時に出力する出力手段と、出力手段
からの同時に出力された複数の符号化信号を当該複数の
符号化信号の組合せに応じた複数の符号化信号と同数ビ
ットの直流および低周波成分の少ない変換信号に変換し
出力する変換手段と、当該複数の符号化信号の一部の組
合せに対応し、複数の符号化信号と同数ビットで、変換
信号と異なるビットパターンを有する補正信号を出力す
る補正信号発生手段と、変換手段より出力される変換信
号のDigital SumValue (DSV)変
動を検出し、[lSV変動に応じて補正信号発生手段よ
り補正信号を出力させる補正信号出力制御手段とを備え
たものである。
[Means for Solving the Problems] The encoding device of the present invention includes an encoding means for encoding a difference value signal between adjacent sample point information in an image signal and outputting an encoded signal, and a continuous output signal from the encoding means. an output means for simultaneously outputting a plurality of encoded signals outputted from the output means; Conversion means for converting bits into a converted signal with less DC and low frequency components and outputting the converted signal, and corresponding to a partial combination of the plurality of encoded signals, the same number of bits as the plurality of encoded signals, but different bits from the converted signal. A correction signal generation means for outputting a correction signal having a pattern, and a correction method for detecting Digital Sum Value (DSV) fluctuations of the conversion signal output from the conversion means, and outputting a correction signal from the correction signal generation means in accordance with the SV fluctuation. It is equipped with a signal output control means.

[作 用コ 上記の構成により、連続する複数の隣接サンプル点情報
間の差分値符号化信号の組合せに応じて連続する複数の
符号化信号を冗長ビットを付加しないで直流および低周
波成分の少ない変換信号に変換することができ、更に該
変換信号列においてDSV変動を抑制することができる
ものである。
[Operation] With the above configuration, a plurality of consecutive encoded signals are generated with few DC and low frequency components without adding redundant bits according to the combination of the difference value encoded signals between the plurality of consecutive adjacent sample point information. It can be converted into a converted signal, and furthermore, it is possible to suppress DSV fluctuations in the converted signal sequence.

[実施例] 以下、本発明を本発明の一実施例を用いて説明する。[Example] Hereinafter, the present invention will be explained using one embodiment of the present invention.

第1図は本発明を適用した符号化装置の一実施例を示す
FIG. 1 shows an embodiment of an encoding device to which the present invention is applied.

端子1に入力された例えばビデオ信号のようなアナログ
画像信号は、A/D変換器2にて8ビットのデジタルビ
デオデータに変換され、その後、減算器3の正極性入力
端子に人力される。減算器3の負極性入力端子には予測
器7からの8ビツトの予測データが人力され、この減算
器3からは、8ビツトの予測誤差データが出力される。
An analog image signal such as a video signal inputted to a terminal 1 is converted into 8-bit digital video data by an A/D converter 2, and then inputted to a positive input terminal of a subtracter 3. The 8-bit prediction data from the predictor 7 is input to the negative input terminal of the subtracter 3, and the subtracter 3 outputs 8-bit prediction error data.

減算器3の8ビツトの予測誤差データは、非線形量子化
器4によって、前述した特性に従って4ビツトの差分デ
ータに非線形量子化される。この非線形量子化器4より
出力される差分データは、1デ一タ期間遅延器8により
遅延された差分データと共に、8ビツトの並列の差分デ
ータ列としてデータ変換器9に人力され、そこで前述し
た考え方に従って、等ビット数(8ビツト)の直流およ
び低周波成分が抑圧されたビットパターンを持つ変換デ
ータに変換される。
The 8-bit prediction error data from the subtracter 3 is non-linearly quantized into 4-bit difference data by the non-linear quantizer 4 in accordance with the characteristics described above. The difference data outputted from the nonlinear quantizer 4 is input to the data converter 9 as an 8-bit parallel difference data string together with the difference data delayed by the 1-data period delay device 8, and there, as described above, According to the idea, DC and low frequency components with an equal number of bits (8 bits) are converted into converted data having a suppressed bit pattern.

一方、非線形量子化器4より出力される差分データは、
4ビツトの信号を8ビツトの信号に非線形量子化する非
線形逆量子化器4と逆の特性を持つ代表値設定器5にも
入力される。この代表値設定器5は、加算器6.予測器
7とともに周知の局部復号器を構成し、予測器7の8ビ
ツト予測誤差データを減算器3の負極性入力端に人力す
ることによって予測誤差信号の二子化誤差の蓄積を防止
する。
On the other hand, the difference data output from the nonlinear quantizer 4 is
The signal is also input to a representative value setter 5, which has characteristics opposite to those of the nonlinear inverse quantizer 4, which nonlinearly quantizes a 4-bit signal into an 8-bit signal. This representative value setter 5 includes an adder 6. A well-known local decoder is configured together with the predictor 7, and the 8-bit prediction error data of the predictor 7 is input to the negative input terminal of the subtracter 3, thereby preventing the accumulation of binary errors in the prediction error signal.

データ変換器9で得られる225fi!!類の変換デー
ターは、スイッチ13の端子A、DSV演算器10およ
びパターン判別器11にそれぞれ入力される。
225fi obtained with data converter 9! ! The converted data of the same type is input to the terminal A of the switch 13, the DSV calculator 10, and the pattern discriminator 11, respectively.

DSv演算器lOでは現在までに人力された変換デ=−
>信号の°ビおよび°0′°の数を累積することにより
直流成分の変動を演算し、その結果を示す信号osvo
を演算制御回路12に入力する。演算制御回路12は第
4図に示すような制御手順により制御を行うものである
The DSv calculator 1O has so far been able to manually perform the conversion de=-
> Calculates the fluctuation of the DC component by accumulating the number of °bi and °0'° of the signal, and generates a signal osvo that shows the result.
is input to the arithmetic control circuit 12. The arithmetic control circuit 12 performs control according to a control procedure as shown in FIG.

パターン判別器11では、例えば第2図に示すように、
データ変換器9から出力される8ビツトの変換データが
8ビツトの全変換データ(256種類)のうちの未使用
の31個の変換データ(前述したようなCDSの絶対値
が大きなビットパター夕食つ)に該当する変換データで
あるかどうかを判別する。ここでは、未使用の変換デー
タが割り当てられた変換データとして例えば一般的な画
像信号の特性を考慮して、前述した領域(i、j)  
=(−2〜+2.−2〜+2)、(上3゜0)、(0,
±3 ) 、(3,3)。
In the pattern discriminator 11, for example, as shown in FIG.
The 8-bit conversion data output from the data converter 9 is converted into 31 unused conversion data (a bit pattern with a large absolute value of CDS as described above) out of all 8-bit conversion data (256 types). ) is determined whether the converted data corresponds to the following. Here, for example, considering the characteristics of a general image signal, the above-mentioned area (i, j) is used as the conversion data to which unused conversion data is assigned.
= (-2~+2.-2~+2), (upper 3°0), (0,
±3), (3,3).

(−3,−3)の31ポイントを選んでいる。未使用の
31個の変換コードのビットパターンは極性が異なるC
DS値がなるべく交互に存在するように第2図の抽出ポ
イントに割り当てるようにすれば良い。
We have selected 31 points of (-3, -3). The bit patterns of the 31 unused conversion codes are C with different polarities.
The DS values may be assigned to the extraction points in FIG. 2 so that they exist alternately as much as possible.

また、パターン判別器11において判別されるl対象と
なる各変換データには1個の変換データに対して1個の
未使用変換データが割当てられるだけでなく複数の未使
用変換データを与えたものでもよい。すなわち、CDS
の絶対値が同じである正と負の2種類の未使用変換デー
タを対象となる変換データに割り当てることによりて、
これら未使用変換データの中からDSVが墨または最も
平に近くなるものを適宜遭択することができる。
In addition, for each target conversion data to be discriminated by the pattern discriminator 11, not only one unused conversion data is assigned to one conversion data, but also a plurality of unused conversion data are assigned. But that's fine. That is, CDS
By assigning two types of unused conversion data, positive and negative, with the same absolute value of to the target conversion data,
From among these unused conversion data, one whose DSV is closest to black or flat can be selected as appropriate.

第3図は、各々2つの未使用変換データを割り当てる対
象となる変換データの抽出ポイントを示しており、その
対象となる変換データはデータ変換器9による変換前の
差分データ対(i、j) =(−2〜+2.−2〜+2
)、(上2゜0)、(0,±2) 、 (2,2) 、
 (−2,−2)の15旧の変換データであって、これ
らに未使用変換データのうち30個の未使用変換データ
を適用することになるが、更に残りの未使用変換データ
1個を対象となる15個の変換データの近傍に位置する
別の変換データに割り当てても良い。
FIG. 3 shows extraction points of converted data to which two unused converted data are assigned, and the converted data is the difference data pair (i, j) before conversion by the data converter 9. =(-2~+2.-2~+2
), (upper 2°0), (0, ±2), (2,2),
Of the 15 old conversion data (-2, -2), 30 of the unused conversion data will be applied to these, and the remaining 1 piece of unused conversion data will be applied to these. It may also be assigned to other converted data located near the 15 target converted data.

i1図のパターン判別器11は1個の変換データに対し
て複数の未使用変換データを割当てるようにしたものと
して以下詳細に説明する。
The pattern discriminator 11 shown in FIG. i1 will be described in detail below, assuming that it allocates a plurality of unused conversion data to one piece of conversion data.

パターン判別器11に入力された変換データが複数の未
使用変換データが割り当てられる変換データであると判
別されると、その判別結果を示す判別信号Aおよび当該
入力変換データに対応するDSV制御用の2つの未使用
変換データのパターン信号1および2を演算1MJ御回
路12に供給する。演算制御回路12では後述するよう
なフローチャートに従ってOSV演算器IOにDSV補
正出力信号B1選択されたDSV制御用の未使用変換デ
ータのパターン信号、およびラッチ制御パルス信号をそ
れぞれDSV演算器10.スイッチ回路13の入力端子
Bおよびラッチ回路14.15にそれぞれ入力する。
When the conversion data input to the pattern discriminator 11 is determined to be conversion data to which a plurality of unused conversion data are allocated, a determination signal A indicating the determination result and a DSV control signal corresponding to the input conversion data are transmitted. Two pattern signals 1 and 2 of unused conversion data are supplied to the calculation 1MJ control circuit 12. The arithmetic control circuit 12 sends the DSV correction output signal B1, the pattern signal of unused conversion data selected for DSV control, and the latch control pulse signal to the OSV arithmetic unit IO, respectively, according to a flowchart as described later. It is input to input terminal B of switch circuit 13 and latch circuits 14 and 15, respectively.

次に第4図に示したフローチャートによって演算制御回
路12における制御動作を説明する。
Next, the control operation in the arithmetic control circuit 12 will be explained with reference to the flowchart shown in FIG.

まず、スイッチ13をA側に接続しく5tepl) 、
第5図aに示すタイミングでラッチ14にラッチ動作パ
ルス信号を供給し、データ変換器9の出力変換データを
ラッチする(step2)。次にこの時点でのデータ変
換器9より出力される変換データ列におけるDSV値を
示す信号DSVO+をOSV演算回路lOから得テ(5
tep3)、コノ信号DSVO(7)示すOSV値が°
“O”またはそれ以外かを判断する(step4)。
First, connect the switch 13 to the A side (5tepl),
A latch operation pulse signal is supplied to the latch 14 at the timing shown in FIG. 5a, and the output conversion data of the data converter 9 is latched (step 2). Next, a signal DSVO+ indicating the DSV value in the converted data string output from the data converter 9 at this point is obtained from the OSV calculation circuit IO (5
step 3), the OSV value indicated by the control signal DSVO (7) is
It is determined whether it is “O” or something else (step 4).

DSν値が°°0”であれば5tepHにすすみ、そこ
で次に発生する第5図dに示すタイミングのパルス信号
でラッチ回路15を動作させて、そこにラッチ回路14
より出力される変換データをそのままラッチする。
If the DSν value is °°0'', the process proceeds to 5tepH, and then the latch circuit 15 is operated by the next generated pulse signal with the timing shown in FIG.
Latch the conversion data output as is.

一方、5tep4でDSV値が°“0”でなければ、s
 tep5で、今ラッチ回路14にラッチされた変換デ
ータがパターン判別器11により得られる判別信号(を
示す信号A)からOSV制御用の未使用変換デを判断し
、対象の変換データでなければ5tepHに=l−すみ
、そこでラッチ回路15を第5図dのタイミングで動作
させ、対象の変換データであれば、5tep6で該当す
るパターン信号1および2により選択される未使用変換
データをDSV?i算器10からの1デ一タ期間前の信
号DSVOより得られるDSV値にそれぞれ加えること
により、それぞれの未使用変換データを発生した場合の
DSV値(DSVI 、DSV2 )を演算する。
On the other hand, if the DSV value is not “0” at 5tep4, s
In step 5, the unused conversion data for OSV control is determined from the discrimination signal (signal A indicating) obtained by the pattern discriminator 11, and if the conversion data currently latched in the latch circuit 14 is not the target conversion data, the conversion data is 5 tepH. Then, the latch circuit 15 is operated at the timing shown in FIG. By adding them to the DSV values obtained from the signal DSVO one data period ago from the i-counter 10, the DSV values (DSVI, DSV2) when each unused conversion data is generated are calculated.

次に、現在の信号osvoのDSV値と、これら演算に
よるDSV値DSVIおよびDSV2とを比較して、こ
れらDSV’lまたはl1lSv2ノ方が現在ノDSV
値よりもtlSV値を雫に近づけるDSV抑制の効果が
あるかどうかを判断する(step7)。双方(DSV
I 、DSV2)とも効果がなければ、5tepHにす
すみ、効果がある場合には、5tep8でスイッチ13
をB側に切換え、ついで効果のあるパターン信号1また
は2に該当する未使用変換データをスイッチ13のB側
入力端子に供給する(step9)。
Next, the current DSV value of the signal osvo is compared with the DSV values DSVI and DSV2 obtained by these calculations, and the current DSV value is
It is determined whether there is an effect of DSV suppression that brings the tlSV value closer to the drop than the tlSV value (step 7). Both sides (DSV
If neither I, DSV2) is effective, proceed to 5tepH, and if it is effective, switch 13 at 5tep8.
is switched to the B side, and then unused conversion data corresponding to the effective pattern signal 1 or 2 is supplied to the B side input terminal of the switch 13 (step 9).

次に第5図Cのタイミングでもってラッチ回路14にラ
ッチパルス信号を与えて、スイッチ13からのコードパ
ターン信号1または2に該当する未使用変換データをラ
ッチする。次に、5tepHで第5図dのタイミングで
ラッチ回路15を動作させラッチ回路14より出力され
る未使用変換データをラッチする。
Next, at the timing shown in FIG. 5C, a latch pulse signal is applied to the latch circuit 14 to latch the unused conversion data corresponding to the code pattern signal 1 or 2 from the switch 13. Next, the latch circuit 15 is operated at 5 tepH at the timing shown in FIG. 5d to latch the unused conversion data output from the latch circuit 14.

なお、S5図すに示すように波形がハイレベルの期間は
演算制御回路12おける5tep3から5tep9まで
の演算および判断動作を行う期間に相当する。
Note that, as shown in Figure S5, the period in which the waveform is at a high level corresponds to the period in which the calculation control circuit 12 performs the calculation and judgment operations from 5tep3 to 5tep9.

また、本実施例においては連続する2つの4ビツト量子
化差分値信号を8ビット符号化信号に変換する場合を例
として示したが、遅延回路を複数設けることにより連続
するm個のnビット量子化差分値信号をmxnビット符
号化信号に変換する場合にも本発明は適用可能で、この
場合更に直流および低周波成分の抑圧効果が上がるもの
である。
In addition, in this embodiment, the case where two consecutive 4-bit quantized difference value signals are converted into an 8-bit encoded signal is shown as an example, but by providing a plurality of delay circuits, m consecutive n-bit quantized The present invention can also be applied to the case of converting a coded difference value signal into an mxn bit encoded signal, and in this case, the effect of suppressing direct current and low frequency components is further improved.

前記実施例では、未使用変換データをDSV制御用とし
て対象の1個の変換データに対して1個または2個割り
当てるようにしたが、これに限ることはなく3種類以上
割り当てるようにしても良くこの場合DSv抑制効果が
更に上がるものである。
In the embodiment described above, one or two types of unused conversion data are allocated to one target conversion data for DSV control, but the invention is not limited to this, and three or more types may be allocated. In this case, the DSv suppressing effect is further enhanced.

また、第2図、第3図ではDSV制御用の未使用変換デ
ータを比較的発生頭皮の高い変換データに割り当て、一
度生じた高DSV値変動の低下制御を積極的に行ったが
、これらのDSV制御用の未使用変換データを事前にD
SV値が変動するのを防ぐという目的で逆に発生頻度が
やや低い変換データに割り当てても同等の効果が得られ
る。
In addition, in Figures 2 and 3, unused conversion data for DSV control was assigned to conversion data with a relatively high occurrence scalp, and active control was performed to reduce high DSV value fluctuations that once occurred. D the unused conversion data for DSV control in advance.
On the other hand, the same effect can be obtained by allocating to converted data that occurs with a slightly lower frequency for the purpose of preventing fluctuations in the SV value.

さらにまた、前記実施例ではNnZ変調を前提としたが
、NnZI変調も行う場合でも同等のことが言える。
Furthermore, although the above embodiments were based on NnZ modulation, the same holds true even when NnZI modulation is also performed.

更に、第6図に示すように領域(i、j)  において
−夕として使用することにより、よりDSV抑制の効果
を上げることができる。この図に従えば、第3象限と合
わせて計6個の変換データを未使用変換データとして得
ることができる。さらにこの考え方に従えば、ミツドト
レッド型非線形量子化でなく (i、J)、(i =−
8,−7,・・・、−1,1,・・・、a、j=−8,
−7,・・・、−1,1,・・・、8)の計256個の
変換データを使うミツドライザ型の非線形量子化でもこ
の256個の変換データのうちの非発生の変換データを
DSV制御用の未使用変換データとして使うようにする
ことにより本発明を適用することが可能となる。
Furthermore, as shown in FIG. 6, by using it in the region (i, j) as a negative signal, the effect of suppressing DSV can be further improved. According to this diagram, a total of six pieces of conversion data including the third quadrant can be obtained as unused conversion data. Furthermore, if we follow this idea, instead of the mid-tread type nonlinear quantization, (i, J), (i = -
8,-7,...,-1,1,...,a,j=-8,
-7, . The present invention can be applied by using it as unused conversion data for control.

[発明の効果〕 以上説明したように、本発明によれば、きわめて効果的
にDSVの抑制が行えるように画像信号を符号化するこ
とができ、データ再現を確実に行うことができる。
[Effects of the Invention] As described above, according to the present invention, an image signal can be encoded so that DSV can be suppressed very effectively, and data can be reliably reproduced.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明を適用した符号化装置の一実施例を示す
ブロック図、 第2図および第3図は非線形量子化後の連続する2つの
差分データの組合せのうちの特定の組合せを各々示す図
、 第4図は本実施例の動作を示すフローチャート、 第5図は本実施例における主要部分における動作タイミ
ングチャート、 第6図は非線形量子化後の連続する2つの差分データの
組合せのうち発生しない組合せを示す図、 第7図は非線形量子化特性の一例を示す図、第8図は非
線形量子化後の連続する2つの差分データ対の組合せの
例を示す図、 第9図は前記差分データの出現頭度の一例を示す図であ
る。 10・I)SV ffi算器、 11・・・パターン判別器、 12・・・演算制御回路。 第5図 Δn 手続補正書 1、事件の表示 特願昭Ei 1−174728号 2、発明の名称 符号化装置 3、補正をする者 事件との関係 特許出願人 (100)キャノン株式会社 4、代理人 〒107 東京都港区赤坂5丁目1番31号 第6セイコービル3階 7、補正の内容 (1)明細書第6頁第7行目、第11頁第8行目。 第11頁第9行目、第11頁第10行目、第11頁第1
1行目、第11頁第16行目、第13頁第20行目、第
19頁第20行目、第20頁第6行目、第20頁第10
行目および第20頁第12行目のr差分」をそれぞれ「
量子化差分値」に補正する。 (2)同第6頁第12行目の「前記」を削除する。 (3)同頁第13行目を次の通り補正する。 「差分値の出現頻度を示したものであるが、差分値を非
線形量子化した後の量子化差分値の分布に変換し、上記
(i、j) に対する変換データの割当てを行なう。ま
た、」 (4)同第18頁第14行目のrNRZI変調も行う」
をrNRZI変調を行う」に補正する。 (5)図面の第2図を別紙の通り補正する。 C補正図面)
FIG. 1 is a block diagram showing an embodiment of an encoding device to which the present invention is applied. Figure 4 is a flowchart showing the operation of this embodiment, Figure 5 is an operation timing chart of the main parts of this embodiment, and Figure 6 is a diagram showing a combination of two consecutive difference data after non-linear quantization. FIG. 7 is a diagram showing an example of nonlinear quantization characteristics; FIG. 8 is a diagram showing an example of a combination of two consecutive difference data pairs after nonlinear quantization; FIG. 9 is a diagram showing an example of the combination of two consecutive difference data pairs after nonlinear quantization; FIG. 7 is a diagram illustrating an example of the frequency of appearance of difference data. 10.I) SV ffi calculator, 11... Pattern discriminator, 12... Arithmetic control circuit. Figure 5 Δn Procedural amendment 1, case display Patent application Sho Ei 1-174728 No. 2, invention title encoding device 3, person making the amendment Relationship with the case Patent applicant (100) Canon Co., Ltd. 4, agent 6th Seiko Building, 3rd floor 7, 5-1-31 Akasaka, Minato-ku, Tokyo 107, Japan Contents of amendment (1) Page 6, line 7, page 11, line 8 of the specification. Page 11, line 9, page 11, line 10, page 11, line 1
Line 1, page 11, line 16, page 13, line 20, page 19, line 20, page 20, line 6, page 20, line 10
line and page 20, page 20, line 12 r difference” respectively.
Quantized difference value”. (2) Delete "the above" on page 6, line 12. (3) Correct the 13th line of the same page as follows. "This shows the frequency of appearance of the difference value, but the difference value is converted to a distribution of quantized difference values after nonlinear quantization, and the converted data is assigned to the above (i, j). Also," (4) Also perform rNRZI modulation on page 18, line 14.
"perform rNRZI modulation". (5) Amend Figure 2 of the drawings as shown in the attached sheet. C correction drawing)

Claims (1)

【特許請求の範囲】[Claims] 画像信号における隣接サンプル点情報間の差分値信号を
符号化し、符号化信号を出力する符号化手段と、該符号
化手段から連続して出力される複数の符号化信号を同時
に出力する出力手段と、該出力手段からの同時に出力さ
れた複数の符号化信号を当該複数の符号化信号の組合せ
に応じた該複数の符号化信号と同数ビットの直流および
低周波成分の少ない変換信号に変換し出力する変換手段
と、当該複数の符号化信号の一部の組合せに対応し、該
複数の符号化信号と同数ビットで、前記変換信号と異な
るビットパターンを有する補正信号を出力する補正信号
発生手段と、前記変換手段より出力される変換信号のD
igitalSumValue(DSV)変動を検出し
、該DSV変動に応じて前記補正信号発生手段より該補
正信号を出力させる補正信号出力制御手段とを備えたこ
とを特徴とする符号化装置。
An encoding means for encoding a difference value signal between adjacent sample point information in an image signal and outputting an encoded signal; and an output means for simultaneously outputting a plurality of encoded signals successively output from the encoding means. , converting a plurality of encoded signals simultaneously output from the output means into a converted signal having the same number of bits as the plurality of encoded signals and having fewer DC and low frequency components according to the combination of the plurality of encoded signals, and outputting the converted signal. and a correction signal generating means for outputting a correction signal corresponding to a partial combination of the plurality of encoded signals and having the same number of bits as the plurality of encoded signals and a bit pattern different from the converted signal. , D of the conversion signal output from the conversion means
An encoding device comprising: correction signal output control means for detecting a change in digital sum value (DSV) and causing the correction signal generation means to output the correction signal in accordance with the DSV change.
JP17472886A 1986-07-26 1986-07-26 Encoding device Expired - Lifetime JP2828444B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP17472886A JP2828444B2 (en) 1986-07-26 1986-07-26 Encoding device
US07/077,335 US4885637A (en) 1986-07-26 1987-07-24 Encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17472886A JP2828444B2 (en) 1986-07-26 1986-07-26 Encoding device

Publications (2)

Publication Number Publication Date
JPS6333084A true JPS6333084A (en) 1988-02-12
JP2828444B2 JP2828444B2 (en) 1998-11-25

Family

ID=15983617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17472886A Expired - Lifetime JP2828444B2 (en) 1986-07-26 1986-07-26 Encoding device

Country Status (1)

Country Link
JP (1) JP2828444B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024052959A1 (en) * 2022-09-05 2024-03-14 株式会社Fuji Image coding device, image processing system, and component mounting machine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6199419A (en) * 1984-10-20 1986-05-17 Canon Inc Predictive encoding system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6199419A (en) * 1984-10-20 1986-05-17 Canon Inc Predictive encoding system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024052959A1 (en) * 2022-09-05 2024-03-14 株式会社Fuji Image coding device, image processing system, and component mounting machine

Also Published As

Publication number Publication date
JP2828444B2 (en) 1998-11-25

Similar Documents

Publication Publication Date Title
US4200886A (en) Method for transmitting video signals with the aid of DPC modulation and controlled quantizer
JPH0813151B2 (en) Color video signal encoding method and encoding circuit
US5973629A (en) Differential PCM system with frame word length responsive to magnitude
JP2754741B2 (en) Encoding device
EP0105604B1 (en) A dual mode encoding/decoding technique for use in a digital transmission system
EP0788282B1 (en) Quantization method
CA2163178C (en) Tv signal codec with amplitude limitation and a shift
JPS5887987A (en) Difference digital data encoding and decoding method and device
JPS6333084A (en) Encoder
JPH01256278A (en) Prediction coding system
JP4415651B2 (en) Image encoding apparatus and image decoding apparatus
JPH01272326A (en) Method and system of delta modulation encoder/decoder
US5166958A (en) Coding apparatus with low-frequency and DC suppression
JP2584761B2 (en) Predictive coding transmission system
JP2785823B2 (en) High-efficiency television signal encoding apparatus and method, and decoding apparatus and method
JPH0454415B2 (en)
JP2785209B2 (en) Data transmission equipment
JP2860401B2 (en) Encoding device
JP2794688B2 (en) Encoding method
JP3052334B2 (en) Data processing device
JPS63126322A (en) Encoder
JP2732565B2 (en) Encoding device
SU1290531A2 (en) Differential pulse coder of television signal
JP2633143B2 (en) Predictive decoding device
JP3161100B2 (en) High efficiency coding device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term