JP2828444B2 - Encoding device - Google Patents

Encoding device

Info

Publication number
JP2828444B2
JP2828444B2 JP17472886A JP17472886A JP2828444B2 JP 2828444 B2 JP2828444 B2 JP 2828444B2 JP 17472886 A JP17472886 A JP 17472886A JP 17472886 A JP17472886 A JP 17472886A JP 2828444 B2 JP2828444 B2 JP 2828444B2
Authority
JP
Japan
Prior art keywords
data
signal
conversion data
dsv
bit
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
JP17472886A
Other languages
Japanese (ja)
Other versions
JPS6333084A (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.)
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

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、例えばテレビジョン信号等の画像信号を符
号化する装置に関し、特に画像信号の特徴を利用して当
該画像信号を高能率に符号化する符号化装置に関する。 [従来の技術] 従来、例えばビデオ信号のような画像信号を符号化す
る際に、まずアナログビデオ信号を例えば1サンプル当
り8ビットのディジタルデータにA/D変換し、得られた
8ビットのビデオデータを例えば前値差分符号化方式等
を適用して予測符号化し、これを例えば4ビットの差分
データに非線形量子化することにより画像信号を圧縮す
る方法がある。 第7図はその非線形量子化特性の一例を表わすもので
あって、横軸は、−255〜+255までの差分レベルΔを示
し、縦軸は例えばミッドトレッド型の非線形量子化を採
用した場合における−7〜+7までの15レベルの代表値
の非線形量子化レベルΔ′を示す。 本願出願人によりすでに上述のように非線形量子化に
よって得られた差分データに関して、例えば、連続する
2つの4ビットの差分データを1組として8ビットのデ
ータとし、これを直流および低周波成分が抑圧されるよ
うなビットパターンを持つ8ビットの変換データに変換
する符号化装置が提案されている。 第8図は上記提案の概念を説明するための図であっ
て、各々4ビットの2つの非線形量子化差分データ値の
うち、時間的に前の差分データ値Δn-1を横軸にとり、
時間的に後の差分データ値Δを縦軸にとっている。こ
こでは、第1象限のみを示しており、実線で示した格子
は第7図で示した非線形量子化特性を横軸および縦軸各
々独立に示したものである。 第8図に示すように各格子によって囲まれた領域内に
存在する点(Δn-1)(−255≦Δn-1≦255,−255
≦Δ≦255)は、非線形量子化により(i,j)(−7≦
i≦7,−7≦j≦7)の領域に対応することになる。従
って、このように2次元上で表わした場合、連続する各
々4ビットの2つの差分データの組は全て15×15=255
個のいずれかの領域に割り当てられる。 上記提案ではこれを利用して、8ビットのコード256
種類のうち、例えばNRZ(Non Return to Zero)変調の
場合にはなるべくCDS(Cordword Digital Sum)の絶対
値が小さいビットパターンを持つ変換データ255個をこ
れら(i,j)の変換データとして対応させている。つま
り残りの31個の変換データにはCDSの絶対値が大きいビ
ットパターンを持つように割当てることができるのでこ
れら31個の変換データも未使用データとし、このように
変換データを割当てることにより変換後のデータ列の直
流および低周波成分を抑圧しようとしている。 なお、該CDSはデータパターンの各ビットにおけるレ
ベル「1」を「+1」とし、レベル「0」を「−1」と
した時単一符号内における各ビットの総和を表わしたも
ので、「1」の数の和と「0」の数の和がそれぞれ等し
い時にはCDSは零となる。 次に256個のビットパターン中より選択された225個の
変換データを(i,j)にどのように対応させるかを説明
する。 基本的な考え方としては、上記非線形量子化を行った
連続する2つの4ビットの量子化差分値データを1組と
して8ビットのデータ対を構成し、各8ビットデータ対
(i,j)の出現頻度の高いところから優先的にCDSの絶対
値が小さい変換データを割り当てる。 第9図は一般的標準画像情報信号における差分値の出
現頻度を示したものであるが、差分値を非線形量子化し
た後の量子化差分値の分布に変換し、上記(i,j)に対
する変換データの割当てを行なう。また、NRZ変調を行
うとして考えた場合には、前記8ビットの未使用データ
としては、なるべく“0"および“1"が連続するビットパ
ターン、すなわち、以下に示すような A,B,CおよびDグループの18個の変換データおよびE
およびFグループ16個の変換データのうちの13個の変換
データの計31個の変換データを採用すれば良い。 さらに、8ビットの使用する変換データのビットパタ
ーンとしては、変換データの全ビット中、“1"および
“0"が各々4ビット存在するもの(CDS=0,8C4=70
個),“1"が3ビット,“0"が5ビットおよび“1"が5
ビット,“0"が3ビット各々存在するもの(CDS=±2,8
C38C5=112個),“1"が2ビット,“0"が6ビットお
よび“1"が6ビット,“0"が2ビット存在するもの(CD
S=±4,8C28C6=56個)の中から、前記EおよびFグ
ループから抽出した13個の変換データを除いたものの計
225コードとすれば良い。 [発明が解決しようとする問題点] しかしながら、上述のような符号化装置においては、
一度出現頻度の低い絶対値の大きなCDSの変換データが
出力された直後に、出現頻度の比較的高いCDSが零の変
換データが連続して出力された場合には、出力された変
換データ列においてDSV(Digital Sum Value)が変動し
たまま、もとの零レベルに落ちつくのに比較的時間を要
してしまい、このような状態が長く続くことにより直流
または低周波成分が発生するため、前記変換データ列を
伝送する場合にはこれら直流または低周波成分は例えば
磁気記録再生のような伝送路においては伝送することが
非常に困難なためデータの伝送誤り等を発生する原因と
なっていた。 本発明の目的は、上記問題点を解決し、簡単な構成に
より、画像信号を高能率に符号化することができる符号
化装置を提供することにある。 [問題点を解決するための手段] 本発明の符号化装置は、画像信号における隣接サンプ
ル点情報間の差分値信号を符号化し、符号化信号を出力
する符号化手段と、符号化手段から連続して出力される
複数の符号化信号を同時に出力する出力手段と、出力手
段からの同時に出力された複数の符号化信号を当該複数
の符号化信号の組合せに応じた複数の符号化信号と同数
ビットの直流および低周波成分の少ない変換信号に変換
し出力する変換手段と、当該複数の符号化信号の一部の
組合せに対応し、複数の符号化信号と同数ビットで、変
換信号と異なるビットパターンを有する補正信号を出力
する補正信号発生手段と、変換手段より出力される変換
信号のDigital Sum Value(DSV)変動を検出し、DSV変
動に応じて補正信号発生手段より補正信号を出力させる
補正信号出力制御手段とを備えたものである。 [作 用] 上記の構成により、連続する複数の隣接サンプル点情
報間の差分値符号化信号の組合せに応じて連続する複数
の符号化信号を冗長ビットを付加しないで直流および低
周波成分の少ない変換信号に変換することができ、更に
該変換信号列においてDSV変動を抑制することができる
ものである。 [実施例] 以下、本発明を本発明の一実施例を用いて説明する。 第1図は本発明を適用した符号化装置の一実施例を示
す。 端子1に入力された例えばビデオ信号のようなアナロ
グ画像信号は、A/D変換器2にて8ビットのデジタルビ
デオデータに変換され、その後、減算器3の正極性入力
端子に入力される。減算器3の負極性入力端子には予測
器7からの8ビットの予測データが入力され、この減算
器3からは、8ビットの予測誤差データが出力される。 減算器3の8ビットの予測誤差データは、非線形量子
化器4によって、前述した特性に従って4ビットの量子
化差分値データに非線形量子化される。この非線形量子
化器4より出力される量子化差分値データは、1データ
期間遅延器8により遅延された量子化差分値データと共
に、8ビットの並列の量子化差分値データ列としてデー
タ変換器9に入力され、そこで前述した考え方に従っ
て、等ビット数(8ビット)の直流および低周波成分が
抑圧されたビットパターンを持つ変換データに変換され
る。 一方、非線形量子化器4より出力される量子化差分値
データは、4ビットの信号を8ビットの信号に非線形量
子化する非線形逆量子化器4と逆の特性を持つ代表値設
定器5にも入力される。この代表値設定器5は、加算器
6,予測器7とともに周知の局部復号器を構成し、予測器
7の8ビット予測誤差データを減算器3の負極性入力端
に入力することによって予測誤差信号の量子化誤差の蓄
積を防止する。 データ変換器9で得られる225種類の変換データは、
スイッチ13の端子A,DSV演算器10およびパターン判別器1
1にそれぞれ入力される。 DSV演算器10では現在までに入力された変換データ信
号の“1"および“0"の数を累積することにより直流成分
の変動を演算し、その結果を示す信号DSV0を演算制御回
路12に入力する。演算制御回路12は第4図に示すような
制御手順により制御を行うものである。 パターン判別器11では、例えば第2図に示すように、
データ変換器9から出力される8ビットの変換データが
8ビットの全変換データ(256種類)のうちの未使用の3
1個の変換データ(前述したようなCDSの絶対値が大きな
ビットパターンを持つ)に該当する変換データであるか
どうかを判別する。ここでは、未使用の変換データが割
り当てられた変換データとして例えば一般的な画像信号
の特性を考慮して、前述した領域(i,j)=(−2〜+
2,−2〜+2),(±3,0),(0,±3),(3,3),
(−3,−3)の31ポイントを選んでいる。未使用の31個
の変換コードのビットパターンは極性が異なるCDS値が
なるべく交互に存在するように第2図の抽出ポイントに
割り当てるようにすれば良い。 また、パターン判別器11において判別される対照とな
る各変換データには1個の変換データに対して1個の未
使用変換データが割当てられるだけでなく複数の未使用
変換データを与えたものでもよい。すなわち、CDSの絶
対値が同じである正と負の2種類の未使用変換データを
対象となる変換データに割り当てることによって、これ
ら未使用変換データの中からDSVが零または最も零に近
くなるものを適宜選択することができる。 第3図は、各々2つの未使用変換データを割り当てる
対象となる変換データの抽出ポイントを示しており、そ
の対象となる変換データはデータ変換器9による変換前
の量子化差分値データ対(i,j)=(−2〜+2,−2〜
+2),(±2,0),(0,±2),(2,2),(−2,−
2)の15個の変換データであって、これらに未使用変換
データのうち30個の未使用変換データを適用することに
なるが、更に残りの未使用変換データ1個を対象となる
15個の変換データの近傍に位置する別の変換データに割
り当てても良い。 第1図のパターン判別器11は1個の変換データに対し
て複数の未使用変換データを割当てるようにしたものと
して以下詳細に説明する。 パターン判別器11に入力された変換データが複数の未
使用変換データが割り当てられる変換データであると判
別されると、その判別結果を示す判別信号Aおよび当該
入力変換データに対応するDSV制御用の2つの未使用変
換データのパターン信号1および2を演算制御回路12に
供給する。演算制御回路12では後述するようなフローチ
ャートに従ってDSV演算器10にDSV補正出力信号B,選択さ
れたDSV制御用の未使用変換データのパターン信号,お
よびラッチ制御パルス信号をそれぞれDSV演算器10,スイ
ッチ回路13の入力端子Bおよびラッチ回路14,15にそれ
ぞれ入力する。 次に第4図に示したフローチャートによって演算制御
回路12における制御動作を説明する。 まず、スイッチ13をA側に接続し(step1)、第5図
aに示すタイミングでラッチ14にラッチ動作パルス信号
を供給し、データ変換器9の出力変換データをラッチす
る(step2)。次にこの時点でのデータ変換器9より出
力される変換データ列におけるDSV値を示す信号DSV0,を
DSV演算回路10から得て(step3)、この信号DSV0の示す
DSV値が“0"またはそれ以外かを判断する(step4)。DS
V値が“0"であればstep11にすすみ、そこで次に発生す
る第5図dに示すタイミングのパルス信号でラッチ回路
15を動作させて、そこにラッチ回路14より出力される変
換データをそのままラッチする。 一方、step4でDSV値が“0"でなければ、step5で、今
ラッチ回路14にラッチされた変換データがパターン判別
器11により得られる判別信号(を示す信号A)からDSV
制御用の未使用変換データが割り当てられる対象の変換
データであるかどうかを判断し、対象の変換データでな
ければstep11にすすみ、そこでラッチ回路15を第5図d
のタイミングで動作させ、対象の変換データであれば、
step6で該当するパターン信号1および2により選択さ
れる未使用変換データをDSV演算器10からの1データ期
間前の信号DSV0より得られるDSV値にそれぞれ加えるこ
とにより、それぞれの未使用変換データを発生した場合
のDSV値(DSV1,DSV2)を演算する。 次に、現在の信号DSV0のDSV値と、これら演算によるD
SV値DSV1およびDSV2とを比較して、これらDSV1またはDS
V2の方が現在のDSV値よりもDSV値を零に近づけるDSV抑
制の効果があるかどうかを判断する(step7)。双方(D
SV1,DSV2)とも効果がなければ、step11にすすみ、効果
がある場合には、step8でスイッチ13をB側に切換え、
ついで効果のあるパターン信号1または2に該当する未
使用変換データをスイッチ13のB側入力端子に供給する
(step9)。 次に第5図cのタイミングでもってラッチ回路14にラ
ッチパルス信号を与えて、スイッチ13からのコードパタ
ーン信号1または2に該当する未使用変換データをラッ
チする。次に、step11で第5図dのタイミングでラッチ
回路15を動作させラッチ回路14より出力される未使用変
換データをラッチする。 なお、第5図bに示すように波形がハイレベルの期間
は演算制御回路12におけるstep3からstep9までの演算お
よび判断動作を行う期間に相当する。 また、本実施例においては連続する2つの4ビット量
子化差分値信号を8ビット符号化信号に変換する場合を
例として示したが、遅延回路を複数設けることにより連
続するm個のnビット量子化差分値信号をm×nビット
符号化信号に変換する場合にも本発明は適用可能で、こ
の場合更に直流および低周波成分の抑圧効果が上がるも
のである。 前記実施例では、未使用変換データをDSV制御用とし
て対象の1個の変換データに対して1個または2個割り
当てるようにしたが、これに限ることはなく3種類以上
割り当てるようにしても良くこの場合DSV抑制効果が更
に上がるものである。 また、第2図,第3図ではDSV制御用の未使用変換デ
ータを比較的発生頻度の高い変換データに割り当て、一
度生じた高DSV値変動の低下制御を積極的に行ったが、
これらのDSV制御用の未使用変換データを事前にDSV値が
変動するのを防ぐという目的で逆に発生頻度がやや低い
変換データに割り当てても同等の効果が得られる。 さらにまた、前記実施例ではNRZ変調を前提とした
が、NRZI変調を行う場合でも同等のことが言える。 更に、第6図に示すように領域(i,j)において絶対
に発生しない部分(図中の斜線部)に割り当てられた変
換コードをもDSV制御用の未使用変換データとして使用
することにより、よりDSV抑制の効果を上げることがで
きる。この図に従えば、第3象限と合わせて計6個の変
換データを未使用変換データとして得ることができる。
さらにこの考え方に従えば、ミッドトレッド型非線形量
子化でなく(i,j),(i=−8,−7,…,−1,1,…,8,j
=−8,−7,…,−1,1,…,8)の計256個の変換データを
使うミッドライザ型の非線形量子化でもこの256個の変
換データのうちの非発生の変換データをDSV制御用の未
使用変換データとして使うようにすることにより本発明
を適用することが可能となる。 [発明の効果] 以上説明したように、本発明によれば、きわめて効果
的にDSVの抑制が行えるように画像信号を符号化するこ
とができ、データ再現を確実に行うことができる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for encoding an image signal such as a television signal, and more particularly, to encoding an image signal with high efficiency by utilizing characteristics of the image signal. The present invention relates to an encoding device for encoding. 2. Description of the Related Art Conventionally, when encoding an image signal such as a video signal, first, an analog video signal is A / D-converted into, for example, 8-bit digital data per sample to obtain an 8-bit video. For example, there is a method of compressing an image signal by predictively encoding data by applying, for example, a previous value difference encoding method or the like, and nonlinearly quantizing the data into, for example, 4-bit difference data. FIG. 7 shows an example of the nonlinear quantization characteristic. The horizontal axis represents the difference level Δ from −255 to +255, and the vertical axis represents the case where, for example, a mid-tread type nonlinear quantization is employed. The non-linear quantization level Δ 'of 15 representative values from -7 to +7 is shown. Regarding the differential data already obtained by the above-mentioned nonlinear quantization by the applicant of the present application, for example, two consecutive 4-bit differential data are set as one set to be 8-bit data, and the DC and low-frequency components are suppressed. There has been proposed an encoding device that converts data into 8-bit conversion data having a bit pattern as described below. FIG. 8 is a diagram for explaining the concept of the above-mentioned proposal, in which, of the two nonlinear quantized difference data values of 4 bits each, the difference data value Δn −1 in time is taken on the horizontal axis,
Taking the difference data value delta n temporally subsequent to the vertical axis. Here, only the first quadrant is shown, and the lattice shown by the solid line shows the nonlinear quantization characteristics shown in FIG. 7 independently on the horizontal axis and the vertical axis. Points existing in a region surrounded by the grid, as shown in FIG. 8 (Δ n-1, Δ n ) (- 255 ≦ Δ n-1 ≦ 255, -255
≦ Δ n ≦ 255) is (i, j) (− 7 ≦
i ≦ 7, −7 ≦ j ≦ 7). Therefore, when represented in two dimensions in this way, all two sets of two difference data of 4 bits each are 15 × 15 = 255.
Assigned to one of the regions. The above proposal makes use of this, and the 8-bit code 256
Among the types, for example, in the case of NRZ (Non Return to Zero) modulation, 255 pieces of conversion data having a bit pattern whose absolute value of a CDS (Cordword Digital Sum) is as small as possible are made to correspond to these (i, j) conversion data. ing. In other words, the remaining 31 converted data can be assigned so as to have a bit pattern with a large absolute value of the CDS. Therefore, these 31 converted data are also used as unused data. Trying to suppress the DC and low frequency components of the data sequence. The CDS represents the sum of each bit in a single code when the level “1” in each bit of the data pattern is “+1” and the level “0” is “−1”. The CDS is zero when the sum of the numbers "" and "0" is equal. Next, how the 225 conversion data selected from the 256 bit patterns correspond to (i, j) will be described. As a basic idea, an 8-bit data pair is formed by combining two consecutive 4-bit quantized difference value data obtained by performing the above non-linear quantization, and an 8-bit data pair (i, j) is formed. Conversion data having a small absolute value of the CDS is assigned preferentially from a place having a high appearance frequency. FIG. 9 shows the appearance frequency of the difference value in the general standard image information signal. The difference value is converted into a distribution of the quantized difference value after nonlinearly quantizing, and the above (i, j) Assign conversion data. When NRZ modulation is considered to be performed, the 8-bit unused data is preferably a bit pattern in which “0” and “1” are continuous, that is, as shown below. 18 conversion data of group A, B, C and D and E
In addition, a total of 31 pieces of conversion data of 13 pieces of conversion data out of the 16 pieces of conversion data of the F group may be adopted. Further, as the bit pattern of the conversion data to be used of 8 bits, there are four bits each of “1” and “0” among all the bits of the conversion data (CDS = 0, 8 C 4 = 70).
), "1" is 3 bits, "0" is 5 bits, and "1" is 5 bits
Bit and “0” each with 3 bits (CDS = ± 2, 8
C 3 + 8 C 5 = 112 pieces), "1" is 2 bits, "0" is 6 bits and "1" is 6 bits, "0" that there are two bits (CD
S = from among ± 4, 8 C 2 + 8 C 6 = 56 pieces), but excluding the 13 pieces of conversion data extracted from the E and F groups in total
225 codes should be used. [Problems to be Solved by the Invention] However, in the encoding device as described above,
Once the conversion data of the CDS with a relatively high appearance frequency is output immediately after the conversion data of the CDS with a low absolute value and a large absolute value is output, the converted data sequence It takes a relatively long time to settle to the original zero level with the DSV (Digital Sum Value) fluctuating, and if such a state continues for a long time, a DC or low-frequency component is generated. When transmitting a data stream, these direct current or low frequency components are very difficult to transmit on a transmission path such as a magnetic recording / reproducing apparatus, and thus cause a data transmission error or the like. An object of the present invention is to solve the above problems and to provide an encoding device capable of encoding an image signal with high efficiency with a simple configuration. [Means for Solving the Problem] An encoding apparatus according to the present invention encodes a difference value signal between adjacent sample point information in an image signal and outputs an encoded signal. Output means for simultaneously outputting a plurality of encoded signals output as the plurality of encoded signals, and the same number of encoded signals simultaneously outputted from the output means as the plurality of encoded signals corresponding to the combination of the plurality of encoded signals. A conversion unit that converts and outputs a converted signal having less DC and low-frequency components of bits, and a bit corresponding to a combination of some of the plurality of encoded signals and having the same number of bits as the plurality of encoded signals and different from the converted signal. A correction signal generating means for outputting a correction signal having a pattern, and detecting a digital sum value (DSV) variation of the converted signal output from the converting means, and outputting the correction signal from the correction signal generating means in accordance with the DSV variation. Is obtained by a that the correction signal output control means. [Operation] With the above configuration, a plurality of continuous encoded signals can be reduced in DC and low frequency components without adding redundant bits according to a combination of differential value encoded signals between a plurality of consecutive adjacent sample point information. It can be converted to a converted signal, and can further suppress DSV fluctuation in the converted signal sequence. EXAMPLES Hereinafter, the present invention will be described using one example of the present invention. FIG. 1 shows an embodiment of an encoding apparatus to which the present invention is applied. An analog image signal such as a video signal input to the terminal 1 is converted into 8-bit digital video data by the A / D converter 2 and then input to the positive input terminal of the subtractor 3. To the negative input terminal of the subtractor 3, 8-bit prediction data from the predictor 7 is input, and the subtracter 3 outputs 8-bit prediction error data. The 8-bit prediction error data of the subtracter 3 is nonlinearly quantized by the nonlinear quantizer 4 into 4-bit quantized difference value data according to the above-described characteristics. The quantized difference value data output from the non-linear quantizer 4 together with the quantized difference value data delayed by the one-data period delay unit 8 is converted into an 8-bit parallel quantized difference value data sequence by the data converter 9. Is converted into converted data having a bit pattern in which DC and low frequency components of the same number of bits (8 bits) are suppressed in accordance with the above-described concept. On the other hand, the quantized difference value data output from the non-linear quantizer 4 is transmitted to a representative value setter 5 having characteristics opposite to those of the non-linear inverse quantizer 4 for non-linearly quantizing a 4-bit signal into an 8-bit signal. Is also entered. This representative value setting device 5 is an adder
6, a well-known local decoder is constructed together with the predictor 7, and the accumulation of quantization errors of the prediction error signal is prevented by inputting the 8-bit prediction error data of the predictor 7 to the negative input terminal of the subtractor 3. . The 225 types of conversion data obtained by the data converter 9 are as follows:
Switch A terminal A, DSV calculator 10 and pattern discriminator 1
Entered into 1 respectively. The DSV calculator 10 calculates the fluctuation of the DC component by accumulating the number of “1” and “0” of the converted data signal input up to the present, and inputs the signal DSV0 indicating the result to the calculation control circuit 12 I do. The arithmetic control circuit 12 performs control according to a control procedure as shown in FIG. In the pattern discriminator 11, for example, as shown in FIG.
The 8-bit conversion data output from the data converter 9 is the unused 3 bits among the 8-bit conversion data (256 types).
It is determined whether or not the converted data corresponds to one piece of converted data (the absolute value of the CDS has a large bit pattern as described above). Here, as the conversion data to which the unused conversion data is assigned, for example, the above-described area (i, j) = (− 2 to +
2, -2 to +2), (± 3,0), (0, ± 3), (3,3),
31 points (-3, -3) are selected. Bit patterns of 31 unused conversion codes may be assigned to the extraction points in FIG. 2 so that CDS values having different polarities alternately exist as much as possible. Further, not only one piece of unused conversion data is assigned to one piece of conversion data but also a plurality of pieces of unused conversion data given to each piece of conversion data to be compared in the pattern discriminator 11. Good. That is, by assigning two types of unused conversion data, positive and negative, having the same absolute value of the CDS to the target conversion data, the unused conversion data having a DSV of zero or the closest to zero is obtained. Can be appropriately selected. FIG. 3 shows conversion data extraction points to which two pieces of unused conversion data are assigned, respectively. The conversion data to be converted is a pair of quantized difference value data (i , j) = (− 2 to + 2, −2 to
+2), (± 2,0), (0, ± 2), (2,2), (−2, −
2) The 15 pieces of converted data, of which 30 pieces of unused converted data are to be applied, and the remaining one piece of unused converted data is also targeted.
It may be assigned to another conversion data located near 15 conversion data. The pattern discriminator 11 shown in FIG. 1 will be described in detail below as assigning a plurality of unused conversion data to one conversion data. When it is determined that the conversion data input to the pattern determiner 11 is conversion data to which a plurality of unused conversion data are assigned, a determination signal A indicating the determination result and a DSV control signal corresponding to the input conversion data are provided. The pattern signals 1 and 2 of the two unused conversion data are supplied to the arithmetic and control circuit 12. The arithmetic control circuit 12 sends the DSV correction output signal B, the pattern signal of the unused conversion data for the selected DSV control, and the latch control pulse signal to the DSV arithmetic unit 10 according to a flowchart described later, The signals are input to the input terminal B of the circuit 13 and the latch circuits 14 and 15, respectively. Next, the control operation of the arithmetic and control circuit 12 will be described with reference to the flowchart shown in FIG. First, the switch 13 is connected to the A side (step 1), 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 DSV0, which indicates the DSV value in the conversion data string output from the data converter 9 at this time, is
Obtained from the DSV operation circuit 10 (step 3), the signal DSV0 indicates
It is determined whether the DSV value is “0” or any other value (step 4). DS
If the V value is "0", the process proceeds to step 11, where the latch circuit generates a pulse signal having the timing shown in FIG.
15 is operated, and the converted data output from the latch circuit 14 is latched as it is. On the other hand, if the DSV value is not “0” at step 4, the conversion data latched by the latch circuit 14 is converted from the discrimination signal (signal A indicating) obtained by the pattern discriminator 11 to DSV at step 5.
It is determined whether or not the unused conversion data for control is the conversion data to be allocated. If the conversion data is not the conversion data to be allocated, the process proceeds to step 11, where the latch circuit 15 is switched to the control circuit in FIG.
Is operated at the timing of
Each unused conversion data is generated by adding the unused conversion data selected by the corresponding pattern signals 1 and 2 in step 6 to the DSV value obtained from the signal DSV0 one data period before from the DSV calculator 10. The DSV value (DSV1, DSV2) is calculated. Next, the DSV value of the current signal DSV0 and D
Compare the SV values DSV1 and DSV2,
It is determined whether V2 has a DSV suppression effect of bringing the DSV value closer to zero as compared with the current DSV value (step 7). Both (D
SV1 and DSV2), if there is no effect, proceed to step 11, and if there is an effect, switch switch 13 to B side in step 8,
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). Next, a latch pulse signal is given to the latch circuit 14 at the timing shown in FIG. 5C to latch unused conversion data corresponding to the code pattern signal 1 or 2 from the switch 13. Next, in step 11, the latch circuit 15 is operated at the timing shown in FIG. 5d to latch unused conversion data output from the latch circuit 14. Note that, as shown in FIG. 5B, the period in which the waveform is at the high level corresponds to the period during which the arithmetic and control operations from step 3 to step 9 in the arithmetic control circuit 12 are performed. Further, in the present embodiment, the case where two consecutive 4-bit quantized difference value signals are converted into an 8-bit coded signal has been described as an example. However, by providing a plurality of delay circuits, m consecutive n-bit The present invention can also be applied to a case where a coded difference value signal is converted to an m × n-bit coded signal, in which case the DC and low-frequency component suppression effect is further improved. In the above embodiment, one or two unused conversion data are assigned to one target conversion data for DSV control. However, the present invention is not limited to this, and three or more types may be assigned. In this case, the DSV suppression effect is further improved. In FIGS. 2 and 3, unused conversion data for DSV control is assigned to conversion data having a relatively high frequency of occurrence, and the control for lowering the once generated high DSV value fluctuation is actively performed.
Conversely, the same effect can be obtained by assigning these unused conversion data for DSV control to conversion data having a slightly lower frequency for the purpose of preventing the DSV value from fluctuating in advance. Furthermore, in the above embodiment, NRZ modulation is premised, but the same can be said for NRZI modulation. Further, as shown in FIG. 6, a conversion code assigned to a portion (hatched portion in the drawing) which never occurs in the area (i, j) is also used as unused conversion data for DSV control. The effect of DSV suppression can be further improved. According to this figure, a total of six pieces of conversion data including the third quadrant can be obtained as unused conversion data.
Further, according to this concept, instead of mid-tread type nonlinear quantization, (i, j), (i = −8, −7,... −1,1,.
= −8, −7,…, −1,1,…, 8) Even in the mid-riser type nonlinear quantization using a total of 256 transformed data, non-occurring transformed data of the 256 transformed data is DSV The present invention can be applied by using it as unused conversion data for control. [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.

【図面の簡単な説明】 第1図は本発明を適用した符号化装置の一実施例を示す
ブロック図、 第2図および第3図は非線形量子化後の連続する2つの
量子化差分値データの組合せのうちの特定の組合せを各
々示す図、 第4図は本実施例の動作を示すフローチャート、 第5図は本実施例における主要部分における動作タイミ
ングチャート、 第6図は非線形量子化後の連続する2つの量子化差分値
データの組合せのうち発生しない組合せを示す図、 第7図は非線形量子化特性の一例を示す図、 第8図は非線形量子化後の連続する2つの量子化差分値
データ対の組合せの例を示す図、 第9図は前記量子化差分値データの出現頻度の一例を示
す図である。 10……DSV演算器、 11……パターン判別器、 12……演算制御回路。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of an encoding apparatus to which the present invention is applied, and FIGS. 2 and 3 are two successive quantized difference value data after nonlinear quantization. FIG. 4 is a flowchart showing an operation of the present embodiment, FIG. 5 is an operation timing chart of main parts in the present embodiment, and FIG. FIG. 7 is a diagram showing combinations that do not occur among combinations of two consecutive quantized difference value data, FIG. 7 is a diagram showing an example of nonlinear quantization characteristics, and FIG. 8 is two successive quantized differences after nonlinear quantization FIG. 9 is a diagram illustrating an example of a combination of value data pairs. FIG. 9 is a diagram illustrating an example of the appearance frequency of the quantized difference value data. 10: DSV calculator, 11: Pattern discriminator, 12: Calculation control circuit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 笹谷 知彦 東京都大田区下丸子3丁目30番2号 キ ヤノン株式会社内 (56)参考文献 特開 昭61−99419(JP,A) (58)調査した分野(Int.Cl.6,DB名) H04N 7/24 - 7/68 H04N 1/41 - 1/419────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tomohiko Sasaya 3-30-2 Shimomaruko, Ota-ku, Tokyo Inside Canon Inc. (56) References JP-A-61-99419 (JP, A) (58) Survey Field (Int.Cl. 6 , DB name) H04N 7/24-7/68 H04N 1/41-1/419

Claims (1)

(57)【特許請求の範囲】 1.画像信号における隣接サンプル点情報間の差分値信
号を符号化し、符号化信号を出力する符号化手段と、該
符号化手段から連続して出力される複数の符号化信号を
同時に出力する出力手段と、該出力手段からの同時に出
力された複数の符号化信号を当該複数の符号化信号の組
合せに応じた該複数の符号化信号と同数ビットの直流お
よび低周波成分の少ない変換信号に変換し出力する変換
手段と、当該複数の符号化信号の一部の組合せに対応
し、該複数の符号化信号と同数ビットで、前記変換信号
と異なるビットパターンを有する補正信号を出力する補
正信号発生手段と、前記変換手段より出力される変換信
号のDigital Sum Value(DSV)変動を検出し、該DSV変
動に応じて前記補正信号発生手段より該補正信号を出力
させる補正信号出力制御手段とを備えたことを特徴とす
る符号化装置。
(57) [Claims] Encoding means for encoding a difference value signal between adjacent sample point information in an image signal and outputting an encoded signal; and output means for simultaneously outputting a plurality of encoded signals continuously output from the encoding means. Converting the plurality of coded signals output simultaneously from the output means into a converted signal having the same number of bits of DC and low frequency components as the plurality of coded signals corresponding to the combination of the plurality of coded signals, and outputting the converted signals; Conversion means, and a correction signal generation means for outputting a correction signal corresponding to a combination of some of the plurality of encoded signals and having the same number of bits as the plurality of encoded signals and having a bit pattern different from that of the converted signal. A correction signal output control means for detecting a Digital Sum Value (DSV) variation of the conversion signal output from the conversion means and outputting the correction signal from the correction signal generation means in accordance with the DSV variation. Encoding device, characterized in that was e.
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 JPS6333084A (en) 1988-02-12
JP2828444B2 true 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)

Families Citing this family (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

Family Cites Families (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

Also Published As

Publication number Publication date
JPS6333084A (en) 1988-02-12

Similar Documents

Publication Publication Date Title
JP2754741B2 (en) Encoding device
US5973629A (en) Differential PCM system with frame word length responsive to magnitude
US4240112A (en) Digital video effect equipment
US5043809A (en) Encoding apparatus
JP2828444B2 (en) Encoding device
JPH0469455B2 (en)
US5166958A (en) Coding apparatus with low-frequency and DC suppression
JP2732565B2 (en) Encoding device
JP2860401B2 (en) Encoding device
JPH0454415B2 (en)
JP2785823B2 (en) High-efficiency television signal encoding apparatus and method, and decoding apparatus and method
JP2505734B2 (en) Transmission data creation device
JP2785209B2 (en) Data transmission equipment
JPS62190997A (en) Digital magnetic recording and reproducing device for composite color video signal
JP2810362B2 (en) Image information signal encoding device
JP2584761B2 (en) Predictive coding transmission system
JPS62243447A (en) Data processing system
JPS63126322A (en) Encoder
SU1570027A2 (en) Differential pulse coder of television signal
JPS5928781A (en) Digital transmission system of television signal
JPS6333085A (en) Encoder
JP3161100B2 (en) High efficiency coding device
JPS62136132A (en) Method and apparatus for modulating digital data
JPH04302868A (en) Magnetic recording and reproducing device
JPH06231545A (en) Method and apparatus for recording and encoding digital signal

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term