JPH04239272A - Compressing and extending device - Google Patents

Compressing and extending device

Info

Publication number
JPH04239272A
JPH04239272A JP3012529A JP1252991A JPH04239272A JP H04239272 A JPH04239272 A JP H04239272A JP 3012529 A JP3012529 A JP 3012529A JP 1252991 A JP1252991 A JP 1252991A JP H04239272 A JPH04239272 A JP H04239272A
Authority
JP
Japan
Prior art keywords
data
compression
bit
bits
compressed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3012529A
Other languages
Japanese (ja)
Inventor
Atsushi Miyashita
敦 宮下
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 Denshi KK
Original Assignee
Hitachi Denshi KK
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 Denshi KK filed Critical Hitachi Denshi KK
Priority to JP3012529A priority Critical patent/JPH04239272A/en
Publication of JPH04239272A publication Critical patent/JPH04239272A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a compressing and extending device at a low cost by dividing data such as a picture signal into a high-order one and a differential low- order one in order to be in the number of bits capable of being used by an LSI at a low cost. CONSTITUTION:The high-order bit of digital data such as the picture signal is turned into a compressed signal by a first compressor 2 at a compression side, and decoded by a decoder 3. Then, a difference between the decoded signal and the original signal is searched by a differential equipment 6, the low-order bit of the difference is compression-encoded by a second compressor 7, the output of the first compressor 2 is switched to the compression-encoded data by a switcher 8, and the data are outputted as compressed data.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は,画像等のディジタル信
号を圧縮,伸長する装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for compressing and expanding digital signals such as images.

【0002】0002

【従来の技術】従来,8bit階調の入力信号を国際規
格に則り圧縮処理できるLSIが各社で開発されている
。通常のテレビ画像であれば8bitの階調で十分であ
る。しかし,一部の医用画像,例えば,レントゲンフィ
ルムなどからの画像は,ごくわずかなレベル変化をも表
示する必要があるため,8bit階調の入出力では不足
する用途もある。この対策には,10bitまたは12
bit階調の入出力が可能なように,内部の演算精度ビ
ット数を増加させた,新LSIを製作する必要がある。 しかし,10bitまたは12bit用LSIの使用は
,限定されるため,量産効果によるLSI価格の低下は
望み薄である。また,LSI搭載ゲート数の増加により
,LSI規模は,より大きなものとなる。一方,TTL
素子等にて,LSIと同等な回路を構成することも可能
であるが,規模,電力等は非現実的なものとなってしま
う。
2. Description of the Related Art Conventionally, various companies have developed LSIs that can compress 8-bit gradation input signals in accordance with international standards. For normal television images, 8-bit gradation is sufficient. However, for some medical images, such as images from X-ray films, it is necessary to display even the slightest level change, so there are some applications where 8-bit gradation input/output is insufficient. This countermeasure requires 10bit or 12bit
In order to enable bit gradation input/output, it is necessary to manufacture a new LSI with an increased number of internal bits of arithmetic precision. However, since the use of 10-bit or 12-bit LSIs is limited, there is little hope that LSI prices will decrease due to mass production effects. Furthermore, as the number of gates mounted on the LSI increases, the scale of the LSI becomes larger. On the other hand, TTL
Although it is possible to construct a circuit equivalent to an LSI using elements, etc., the scale, power, etc. would be unrealistic.

【0003】0003

【発明が解決しようとする課題】前述の従来技術には,
取扱う画像信号の階調ビット数が8bitを越える場合
,安価なLSIを使用できず,高価な装置となる欠点が
ある。本発明は,安価なLSIが利用可能なビット数に
なるよう,画像信号のデータを,上位と差分下位の複数
に分割し,処理するようにし,上記欠点を解決すること
を目的とする。
[Problem to be solved by the invention] The above-mentioned prior art includes:
If the number of gradation bits of the image signal to be handled exceeds 8 bits, there is a drawback that inexpensive LSI cannot be used and the device becomes expensive. An object of the present invention is to solve the above-mentioned drawbacks by dividing image signal data into a plurality of upper and differential lower parts and processing the data so that the number of bits can be used by an inexpensive LSI.

【0004】0004

【課題を解決するための手段】本発明は上記目的を達成
するため,上位画像データを圧縮符号化する第1の圧縮
器と復号器を設け,復号信号と原信号との差分をとり,
その差分の下位ビットを第2の圧縮器で符号化するもの
であ。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a first compressor and a decoder for compressing and encoding upper-level image data, and calculates the difference between the decoded signal and the original signal.
The lower bits of the difference are encoded by the second compressor.

【0005】[0005]

【作用】説明の都合上,原画像データを12bitと仮
定し,上位,中位,下位の各4bitを各々L,M,S
と呼ぶ。また圧縮器は8bit入出力のものと仮定する
。第1の圧縮器は,下位4bitのSを除いた上位L,
中位Mの計8bitを圧縮し,上位圧縮データCHを作
成する。次に復号器は,CHを伸長し,上位より8bi
tの復号データを作成する。そして差分器により,原画
データL,M,S12bitと復号した上位より8bi
tデータL′,M′の差分ΔL,ΔM,ΔSを求める。 ところで,通常はΔLは”0”となり,差分は下位より
のΔM,ΔSの計8bitのみとなる。第2の圧縮器は
差分下位の8bitを圧縮し,差分下位の圧縮データC
ΔLを作成する。つまり最初に上位よりビットの符号化
(CHの作成),次に,対象から外れた下位を含めた量
子化誤差分を再符号化(CΔLの作成)する。以上は圧
縮符号化側の説明であるが,復号側はCHとCΔLを各
々伸長して得たデータL′,M′の上位より8bitと
ΔM,ΔSの下位よりの差分8bitを加算することで
,計12bitのデータを復号できる。
[Operation] For convenience of explanation, it is assumed that the original image data is 12 bits, and the upper, middle, and lower 4 bits are L, M, and S, respectively.
It is called. It is also assumed that the compressor has 8-bit input and output. The first compressor uses the upper L, excluding the lower 4 bits S,
A total of 8 bits of medium M are compressed to create upper compressed data CH. Next, the decoder expands the CH and 8 bits from the upper
Create decoded data of t. Then, using a subtractor, the original image data L, M, S 12 bits and the upper 8 bits are decoded.
Differences ΔL, ΔM, and ΔS between t data L' and M' are determined. By the way, normally ΔL is "0", and the difference is only 8 bits in total, ΔM and ΔS from the lower order. The second compressor compresses the lower 8 bits of the difference, and compresses the lower differential compressed data C.
Create ΔL. In other words, bits are first encoded from the higher order bits (creation of CH), and then quantization errors including the lower order bits that are excluded from the target are re-encoded (creation of CΔL). The above is an explanation on the compression encoding side, but on the decoding side, by adding the upper 8 bits of data L', M' obtained by expanding CH and CΔL, and the lower 8 bits of ΔM, ΔS, , a total of 12 bits of data can be decoded.

【0006】[0006]

【実施例】図1は本発明の第1の実施例の全体構成を示
すブロック図である。図において1は原画像の入力端子
,ビット構成は上位,中位,下位のL,M,Sからなる
。L,Mは圧縮器2の入力へ接続される。圧縮器2の出
力CHは復号器3の入力及びdelay5に接続される
。delay5の出力CHdは切換器8のA入力へ接続
される。復号器3の出力L′,M′は,差分器6のA入
力へ,端子1からL,M,Sをdelay17にて遅延
させたLd,Md,Sdは差分器6のB入力へ接続され
る。差分器6の出力ΔM,ΔSは,圧縮器7の入力へ接
続される。圧縮器7の出力CΔLは切換器8のB入力へ
接続される。切換器8の出力CHd・CΔLは符号の出
力端子9へ接続される。端子9の出力CHd・CΔLは
,伝送路もしくは記録装置へ入力される。また,取り出
されたCHd・CΔLは符号の入力端子10へ印加され
る。端子10は,delay11,及び復号器13へ接
続される。delay11の出力は復号器12へ接続さ
れる。 復号器12の出力LR′,MR′,は,加算器15の入
力Aへ接続される。復号器13の出力ΔMR,ΔSRは
,加算器15の入力Bへ接続される。加算器15の出力
LR,MR,SRは,復号信号の出力端子16へ接続さ
れる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing the overall configuration of a first embodiment of the present invention. In the figure, 1 is an input terminal for the original image, and the bit configuration consists of upper, middle, and lower L, M, and S bits. L, M are connected to the input of compressor 2. The output CH of the compressor 2 is connected to the input of the decoder 3 and delay5. The output CHd of delay 5 is connected to the A input of switch 8. The outputs L' and M' of the decoder 3 are connected to the A input of the differentiator 6, and the Ld, Md, and Sd obtained by delaying L, M, and S from the terminal 1 with delay 17 are connected to the B input of the differentiator 6. Ru. The outputs ΔM and ΔS of the differentiator 6 are connected to the input of the compressor 7. The output CΔL of the compressor 7 is connected to the B input of the switch 8. The outputs CHd and CΔL of the switch 8 are connected to the output terminal 9 of the code. The output CHd and CΔL of the terminal 9 are input to a transmission line or a recording device. Further, the extracted CHd·CΔL is applied to the code input terminal 10. Terminal 10 is connected to delay 11 and decoder 13. The output of delay 11 is connected to decoder 12. The outputs LR', MR' of the decoder 12 are connected to the input A of the adder 15. The outputs ΔMR and ΔSR of the decoder 13 are connected to the input B of the adder 15. Outputs LR, MR, and SR of the adder 15 are connected to an output terminal 16 for the decoded signal.

【0007】次に本発明の動作について説明するが,以
下の説明を簡略化するため原画像データがD11〜D0
の12bitで,D11〜D8をL,D7〜D4をM,
D3〜D0をSと表現し各々は4bitと仮定する。圧
縮器2は,入力されるL,Mの合計8bitの上位,中
位ビットからなる画像信号に対して圧縮処理を行い上位
圧縮データCHを作成する。このCHは,復号器3に入
力され,L′,M′からなる8bitの復号画像信号が
再現される。差分器6はこの復号器3にて作成された値
L′,M′からなる上位より8bit信号と,原信号L
,M,Sからなる12bit信号との差を求める。L′
,M′も大まかには,原信号を表現しているため,前述
の差は,ほとんどの場合8bit以下となる。このよう
にして得られた8bitの差分下位データΔM,ΔSは
,圧縮器7にてCΔLと呼ぶ,差分下位圧縮データが作
成される。切換器8は,上位の圧縮データCHdと差分
下位の圧縮データCΔLを時間軸方向に並べて出力させ
る。以上のようにして圧縮側のデータCHd・CΔLが
作成される。
Next, the operation of the present invention will be explained. To simplify the explanation below, the original image data is D11 to D0.
With 12 bits, D11 to D8 are L, D7 to D4 are M,
It is assumed that D3 to D0 are expressed as S and each has 4 bits. The compressor 2 performs compression processing on the input image signal consisting of upper and middle bits of a total of 8 bits of L and M to create upper compressed data CH. This CH is input to the decoder 3, and an 8-bit decoded image signal consisting of L' and M' is reproduced. The difference unit 6 receives the upper 8-bit signal consisting of the values L' and M' created by the decoder 3, and the original signal L.
, M, and S. L'
, M' also roughly represent the original signal, so the above-mentioned difference is 8 bits or less in most cases. The 8-bit differential lower-order data ΔM and ΔS obtained in this manner are used in the compressor 7 to create differential lower-order compressed data called CΔL. The switch 8 outputs the upper compressed data CHd and the differentially lower compressed data CΔL in line with each other in the time axis direction. The compression side data CHd and CΔL are created in the above manner.

【0008】以下に,復号側の処理について述べる。d
elay11は,圧縮データCΔLが復号器13に入力
され始める時刻まで,CHdを遅延させる。その結果C
ΔLとCHdは復号器13と12へ同時に印加される。 復号器12は上位,中位のLR′,MR′の8bitの
データを伸長処理により出力する。なお,図中のLR′
,MR′は符号化側のL′,M′と同データとなる。復
号器13は,差分の中位,下位ΔMR・ΔSRを伸長処
理により出力する。加算器15は,入力A,Bにそれぞ
れ印加された上位より8bitのLR′・MR′と下位
より8bitのΔMR・ΔSRを加算処理して12bi
tのLR,MR,SRを出力する。
The processing on the decoding side will be described below. d
elay11 delays CHd until the time when compressed data CΔL begins to be input to the decoder 13. The result C
ΔL and CHd are applied to decoders 13 and 12 simultaneously. The decoder 12 outputs 8-bit data of upper and middle LR' and MR' by decompression processing. In addition, LR' in the figure
, MR' are the same data as L' and M' on the encoding side. The decoder 13 outputs the middle and lower ΔMR and ΔSR of the difference through expansion processing. The adder 15 adds 8 bits of LR' and MR' from the higher order and 8 bits of ΔMR and ΔSR from the lower order applied to inputs A and B, respectively, to generate 12 bits.
Outputs LR, MR, and SR of t.

【0009】以上述べた動作を,一例として入力信号が
図2の波形(1)の場合について述べる。上位,中位か
らの8bitを圧縮,復号伸長したL′,M′からなる
波形は(2)のようになる。つまり,ゆるやかな立上り
部分は,下位ビットを切り捨てたため,偽輪郭を発生し
た状態となる。ここで(1)−(2)を行い差分の波形
(3)を差分器6より得る。なお,差分は正,負を持っ
て生じるため,オフセット値として80H等を加算して
差分が,正の80Hを中心に生じるようにする必要があ
る。圧縮側は(2),(3)の波形に対して圧縮符号化
したCH,及びCΔLを作成する。伝送路等を通過した
CH・CΔLは,復号側の伸長処理にて復号器12,1
3から各々(2),(3)の波形を作成し加算処理を行
い(1)に近い波形を得る。ここで,近いと表現した理
由は,圧伸処理により,必ずしも(3)と同一な波形が
作成できるとは限らないからである。(3)と同一な波
形が作成できるとは限らないからである。
The above-mentioned operation will be described for the case where the input signal has waveform (1) in FIG. 2 as an example. The waveform consisting of L' and M' obtained by compressing, decoding and expanding the upper and middle 8 bits is as shown in (2). In other words, in the gradual rising portion, the lower bits are truncated, resulting in a false contour. Here, (1)-(2) are performed to obtain a difference waveform (3) from the subtractor 6. Note that since the difference occurs with positive and negative values, it is necessary to add 80H or the like as an offset value so that the difference occurs around the positive 80H. On the compression side, the waveforms (2) and (3) are compressed and encoded to create CH and CΔL. The CH/CΔL that has passed through the transmission path etc. is decompressed by the decoders 12 and 1 in decompression processing on the decoding side.
Waveforms (2) and (3) are created from 3, respectively, and addition processing is performed to obtain a waveform close to (1). Here, the reason why it is expressed as "close" is that it is not necessarily possible to create a waveform identical to (3) through companding processing. This is because it is not always possible to create a waveform identical to (3).

【0010】図3に本発明の第2の実施例の全体構成を
示す。第1図と異なる点は,圧縮側では復号器3を差分
器6の間にフィルタ4が,また,復号側では復号器12
と加算器15の間にフイルタ14がそれぞれ挿入されて
いることである。すなわち,復号器3の出力L′,M′
はフイルタ4の入力へ,その出力L″,M″,S″は差
分器6のA入力へ接続される。また,復号器12の出力
LR′,MR′はフィルタ14の入力へ接続され,その
出力LR″,MR″,SR″は加算器15のA入力へ接
続される。この動作を主として図1と異なる部分につい
て説明すると,第1の実施例と同様に復号器3の出力L
′,M′からなる8bitの信号は,処理精度として1
2bit分を持つフィルタ4にて下位に相当するS″を
含むL″,M″,S″を上位,中位の計8bitの変化
から演算算出する。なお,フイルタの基本的性質は2次
元のLPFが望ましい。差分器6はこのフィルタ4にて
作成された予想値L″,M″,S″からなる12bit
信号と,原信号L,M,Sからなる12bit信号との
差を求める。L″,M″,S″も大まかには,原信号を
表現しているため,前述の差は,ほとんどの場合8bi
t以下となる。なお,まれに8bitをこえる差も生じ
る可能性があるためこのような信号は8bitに制限し
て出力する。これは,圧縮器7が8bit対応のためで
ある。また,差がほとんど7bit以下であるなら,あ
らかじめ差分をビットシフト等にて拡大後,8bit制
限を行い出力すれば,より僅かな階調変化も正確に表現
できる。このようにして8bitの差分下位データΔM
,ΔSが得られる。他は第1の実施例と同様にして圧縮
側のデータCHd・CΔLが作成される。
FIG. 3 shows the overall configuration of a second embodiment of the present invention. The difference from FIG. 1 is that on the compression side there is a filter 4 between the decoder 3 and the subtractor 6, and on the decoding side there is a filter 4 between the decoder 3 and the subtractor 6.
The filter 14 is inserted between the adder 15 and the adder 15, respectively. That is, the outputs L', M' of the decoder 3
is connected to the input of the filter 4, and its outputs L'', M'', S'' are connected to the A input of the differentiator 6. Also, the outputs LR', MR' of the decoder 12 are connected to the input of the filter 14, Its outputs LR'', MR'', SR'' are connected to the A input of adder 15. This operation will be explained mainly with respect to the parts that are different from those in FIG. 1. As in the first embodiment, the output L of the decoder 3
The 8-bit signal consisting of ', M' has a processing accuracy of 1
A filter 4 having 2 bits calculates L'', M'', and S'' including S'' corresponding to the lower rank from changes in a total of 8 bits of the upper and middle ranks. Note that the basic properties of the filter are preferably two-dimensional LPF. The differentiator 6 has 12 bits consisting of the predicted values L″, M″, and S″ created by this filter 4.
The difference between the signal and the 12-bit signal consisting of the original signals L, M, and S is determined. Since L″, M″, and S″ also roughly represent the original signal, the above-mentioned difference is mostly due to the 8bit
t or less. Incidentally, since there is a possibility that a difference exceeding 8 bits may occur in rare cases, such a signal is limited to 8 bits and output. This is because the compressor 7 supports 8 bits. Furthermore, if the difference is mostly 7 bits or less, if the difference is enlarged by bit shifting or the like beforehand, and then outputted after being limited to 8 bits, it is possible to more accurately represent even a slight gradation change. In this way, the 8-bit differential lower-order data ΔM
, ΔS are obtained. The other data CHd and CΔL on the compression side are created in the same manner as in the first embodiment.

【0011】復号側の処理について述べると,復号器1
2から伸長処理により出力された上位,中位のLR′,
MR′の8bitのデータは,フィルタ4と同一構成の
フイルタ14によりLR″,MR″,SR″の12bi
tデータに変換される。なお図中のLR″,MR″,S
R″は圧縮側のL″,M″,S″と同データとなる。復
号器13は,差分の中位,下位ΔMR・ΔSRを伸長処
理により出力する。加算器15は,入力A,Bに印加さ
れた12bitのLR″・MR″・SR″と下位側8b
itのΔMR・ΔSRと加算処理して12bitのLR
,MR,SRを出力する。以上述べた動作を,入力信号
が図4の波形(1)の場合について述べる。上位,中位
からの8bitを圧縮,復号伸長したL′,M′からな
る波形は(2)のようになる。つまり,ゆるやかな立上
り部分は,下位ビットを切り捨てたため,偽輪郭を発生
した状態となる。これを,フィルタ処理することで(3
)に示すように(1)へ多少近い特性の波形となる。こ
こで(1)−(3)を行い差分の波形(4)を差分器6
より得る。なお,差分は正,負を持って生じるため,オ
フセット値として80H等を加算して差分が正の80H
を中心に生じるようにする必要がある。圧縮側は(2)
,(4)の波形に対して圧縮符号化したCH及びCΔL
を作成する。伝送路等を通過したCH・CΔLは,復号
側の伸長処理にて復号器12,13から各々(2),(
4)の波形を作成し(2)はフィルタ14にて(3)の
波形とした後,加算処理を行い(1)に近い波形を得る
。ここで,近いと表現した理由は,圧伸処理により,必
ずしも(4)と同一な波形が作成できるとは限らないか
らである。
[0011] Regarding the processing on the decoding side, the decoder 1
The upper and middle LR′ output from 2 by decompression processing,
The 8-bit data of MR' is converted into 12-bit data of LR'', MR'', and SR'' by a filter 14 having the same configuration as the filter 4.
t data. In addition, LR″, MR″, S in the figure
R'' is the same data as L'', M'', and S'' on the compression side. The decoder 13 outputs the middle and lower ΔMR and ΔSR of the difference through expansion processing. The adder 15 receives the 12 bits LR'', MR'' and SR'' applied to inputs A and B and the lower side 8b.
12-bit LR by adding it to ΔMR and ΔSR
, MR, and SR are output. The above-described operation will be described for the case where the input signal has waveform (1) in FIG. 4. The waveform consisting of L' and M' obtained by compressing, decoding and expanding the upper and middle 8 bits is as shown in (2). In other words, in the gradual rising portion, the lower bits are truncated, resulting in a false contour. By filtering this (3
), the waveform has characteristics somewhat similar to (1). Here, perform (1)-(3) and convert the difference waveform (4) to the difference filter 6.
Get more. Note that the difference occurs as positive and negative, so add 80H etc. as an offset value to calculate the positive 80H difference.
It is necessary to make sure that this occurs mainly. The compression side is (2)
, (4) compression-encoded CH and CΔL
Create. The CH/CΔL that has passed through the transmission path etc. is output from the decoders 12 and 13 (2) and (
The waveform of (4) is created, and after (2) is converted into the waveform of (3) by the filter 14, addition processing is performed to obtain a waveform close to (1). Here, the reason why it is expressed as "close" is that it is not necessarily possible to create a waveform identical to (4) through companding processing.

【0012】delay17は,圧縮器2,復号器3の
処理時間分,元データL,M,Sを遅延させるものであ
る。具体的には,日本プレジション社のSM5828等
を用いれば,容易に実現できる。フィルタ4は,富士通
社のMB86281と同等な構成の12bit対応品を
用いれば良い。なお,差分を取った結果の出力が,8b
it以内の範囲に収まらない場合,出力を8bitにク
リップしてΔMCP・ΔSCPを信号に変換する必要が
ある。これを実現する簡略な手段は,ROMテーブルル
ックアップ方法があり,差分器6は,このようなROM
を出力段に内蔵したものとして,以上の説明を行った。 上記においては,画像データの圧縮,伸長について説明
したが,その他のデータ例えば音声データについても適
用できることは明らかである。
The delay 17 delays the original data L, M, and S by the processing time of the compressor 2 and decoder 3. Specifically, this can be easily achieved by using Nippon Precision's SM5828 or the like. As the filter 4, a 12-bit compatible product with a configuration equivalent to Fujitsu's MB86281 may be used. Note that the output of the difference is 8b
If it does not fall within the range of .it, it is necessary to clip the output to 8 bits and convert ΔMCP and ΔSCP into signals. A simple means to achieve this is the ROM table lookup method, and the differentiator 6 uses such a ROM table lookup method.
The above explanation assumes that the output stage has a built-in output stage. In the above, the compression and expansion of image data have been described, but it is clear that the invention can also be applied to other data such as audio data.

【0013】[0013]

【発明の効果】本発明によれば,圧伸器が,取扱い不能
な,多階調の画像または音声でも,高精度な階調の伸長
処理が可能となる。
According to the present invention, it is possible to perform highly accurate gradation expansion processing even for multi-gradation images or audio that cannot be handled by a compandor.

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

【図1】本発明の第1の実施例の全体構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing the overall configuration of a first embodiment of the present invention.

【図2】図1の動作を説明するための波形図である。FIG. 2 is a waveform diagram for explaining the operation of FIG. 1;

【図3】本発明の第2の実施例の全体構成を示すブロッ
ク図である。
FIG. 3 is a block diagram showing the overall configuration of a second embodiment of the present invention.

【図4】図3の動作を説明するための波形図である。FIG. 4 is a waveform diagram for explaining the operation of FIG. 3;

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

2  圧縮器 3  復号器 4  フィルタ 5  遅延器 6  振幅制限付の差分器 7  圧縮器 8  切換器 11  遅延器 12  復号器 13  復号器 14  フィルタ 15  加算器 17  遅延器 2 Compressor 3 Decoder 4 Filter 5 Delay device 6 Differentiator with amplitude limit 7 Compressor 8 Switcher 11 Delay device 12 Decoder 13 Decoder 14 Filter 15 Adder 17 Delay device

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】  上位ビット群L,中位ビット群M,下
位ビット群Sからなる原画データの圧縮伸長装置におい
て,圧縮側では第1にビット群L,Mからなるデータを
圧縮,符号化して上位圧縮データCHを算出し,第2に
このデータCHを復号して作成したL′,M′と原画デ
ータの各ビット群L,M,Sとの差分ΔL,ΔM,ΔS
を求め,圧縮符号化器の対象ビット幅以内にビット制限
を施した差分下位データΔMCP,ΔSCPを作成し,
第3にこのΔMCP,ΔSCPを圧縮符号化し,差分下
位圧縮データCΔLを算出し,第4にこれらのCH,C
ΔLを圧縮符号データとする構成とし,一方,復号側は
第1に上位圧縮データCHを伸長してビット群LR′,
MR′を得,第2に差分下位データCΔLを伸長してビ
ット群ΔMCP・R,ΔSCP・Rを得,第3にこれら
ビット群LR′,MR′とΔMCP・R,ΔSCP・R
を加算してビット群LR,MR,SRからなる復号画像
データを得る構成としたことを特徴とする圧縮伸長装置
Claim 1: In a compression/expansion device for original image data consisting of an upper bit group L, a middle bit group M, and a lower bit group S, the compression side first compresses and encodes the data consisting of the bit groups L and M. The upper compressed data CH is calculated, and secondly, the differences ΔL, ΔM, ΔS between L', M' created by decoding this data CH and each bit group L, M, S of the original image data are calculated.
, create differential lower-order data ΔMCP and ΔSCP with bit restrictions within the target bit width of the compression encoder,
Thirdly, these ΔMCP and ΔSCP are compressed and encoded to calculate differential lower compressed data CΔL, and fourthly, these CH and C
The configuration is such that ΔL is compressed code data, and on the other hand, the decoding side first decompresses the upper compressed data CH to obtain bit groups LR',
MR' is obtained, secondly, the differential lower data CΔL is expanded to obtain bit groups ΔMCP・R, ΔSCP・R, and thirdly, these bit groups LR′, MR′ and ΔMCP・R, ΔSCP・R are obtained.
1. A compression/expansion device characterized in that the compression/expansion device is configured to obtain decoded image data consisting of bit groups LR, MR, and SR by adding the bit groups LR, MR, and SR.
【請求項2】  請求項1において,圧縮側では上位圧
縮データCHから復号作成したビット群L′,M′から
元データ群相当以上のビット数を持つフィルタにてビッ
ト群L″,M″,S″を得た上で,差分下位データΔM
CP,ΔSCPを作成し,一方復号側では上位圧縮デー
タCHを伸長して得たLR′,MR′から元データ群相
当以上のビット数を持つフィルタにてビット群LR″,
MR″,SR″を得た上で,ビット群ΔMCP・R,Δ
SCP・Rとの加算を行うようにしたことを特徴とする
圧縮伸長装置。
[Claim 2] In claim 1, on the compression side, bit groups L'', M'', After obtaining S″, the differential lower-order data ΔM
CP, ΔSCP are created, and on the decoding side, from LR', MR' obtained by expanding the upper compressed data CH, a bit group LR'',
After obtaining MR″, SR″, bit group ΔMCP・R, Δ
A compression/expansion device characterized in that it performs addition with SCP/R.
【請求項3】  請求項1または2において,圧縮側で
は原画データとの差分ΔL,ΔM,ΔSをN倍に増幅後
,ビット制限を施して得たΔN・MCP,ΔN・SCP
を圧縮符号化してCΔN・Lを算出しこれを差分下位圧
縮データとし,復号側では,CΔN・Lを伸長して得た
ΔN・MCP・RとΔN・SCP・Rを1/N倍したう
えで,LR′,MR′との加算を行うようにしたことを
特徴とする圧縮伸長装置。
[Claim 3] In claim 1 or 2, on the compression side, after amplifying the differences ΔL, ΔM, and ΔS from the original image data by N times, bit restriction is applied to obtain ΔN・MCP, ΔN・SCP.
is compressed and encoded to calculate CΔN・L, which is used as differential lower compressed data. On the decoding side, ΔN・MCP・R obtained by expanding CΔN・L and ΔN・SCP・R are multiplied by 1/N and then A compression/expansion device characterized in that addition of LR' and MR' is performed.
【請求項4】  請求項1,2または3において,原画
データ,復号画像データをそれぞれ原音声データ,復号
音声データとしたことを特徴とする圧縮伸長装置。
4. The compression/expansion apparatus according to claim 1, wherein the original image data and the decoded image data are used as original audio data and decoded audio data, respectively.
JP3012529A 1991-01-11 1991-01-11 Compressing and extending device Pending JPH04239272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3012529A JPH04239272A (en) 1991-01-11 1991-01-11 Compressing and extending device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3012529A JPH04239272A (en) 1991-01-11 1991-01-11 Compressing and extending device

Publications (1)

Publication Number Publication Date
JPH04239272A true JPH04239272A (en) 1992-08-27

Family

ID=11807863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3012529A Pending JPH04239272A (en) 1991-01-11 1991-01-11 Compressing and extending device

Country Status (1)

Country Link
JP (1) JPH04239272A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996023359A1 (en) * 1995-01-26 1996-08-01 Sega Enterprises Ltd. Device and method for encoding data and device and method for decoding data
JP2007060206A (en) * 2005-08-24 2007-03-08 Fujifilm Corp Data compression apparatus and data compression program
JP2009031377A (en) * 2007-07-25 2009-02-12 Nec Electronics Corp Audio data processor, bit width conversion method and bit width conversion device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996023359A1 (en) * 1995-01-26 1996-08-01 Sega Enterprises Ltd. Device and method for encoding data and device and method for decoding data
US5856797A (en) * 1995-01-26 1999-01-05 Sega Enterprises Ltd. Data encoding device, data decoding device, data encoding method and data decoding method
JP2007060206A (en) * 2005-08-24 2007-03-08 Fujifilm Corp Data compression apparatus and data compression program
JP4579793B2 (en) * 2005-08-24 2010-11-10 富士フイルム株式会社 Data compression apparatus and data compression program
JP2009031377A (en) * 2007-07-25 2009-02-12 Nec Electronics Corp Audio data processor, bit width conversion method and bit width conversion device

Similar Documents

Publication Publication Date Title
US5751232A (en) High-efficiency encoding apparatus and high-efficiency decoding apparatus
JPH0810935B2 (en) Image signal compression encoding device and decompression reproducing device
US6687410B1 (en) Method and apparatus for compression and decompression of data
JPH04239272A (en) Compressing and extending device
JP3179588B2 (en) Data encoding apparatus and method
US7190884B2 (en) Signal recording apparatus and method, signal reproducing apparatus and method, medium, and information assembly
JP2841362B2 (en) High efficiency coding device
US6169820B1 (en) Data compression process and system for compressing data
JP2794842B2 (en) Encoding method and decoding method
JP2004226742A (en) Quantization device and inverse quantization device, and encoding device and decoding device for audio and image that can use those devices
JPH08275153A (en) Image compressor and image decoder
JP4649764B2 (en) Image data decompression method and image data decompression apparatus
JP2002300042A (en) Signal decoding method, signal decoder, and recording medium having signal decoding processing program recorded thereon
JPH0414529B2 (en)
JP3791793B2 (en) Digital signal encoding method, decoding method, encoder, decoder, encoding program, and decoding program
KR950008914B1 (en) Transformation method by section of ac coefficient
JP3446056B2 (en) Data division device
JPH05235778A (en) High efficiency coding method
JPH0786955A (en) Encoder
JP2894122B2 (en) Recording / reproducing apparatus and recording / reproducing method
JP3521487B2 (en) Signal processing device
JPH0294923A (en) 9/10 nrzi code converting system
KR0176491B1 (en) Method and apparatus for a variable length encoding in the apparatus for digital imaging
JPH0974358A (en) Method and device for compressing/expanding digital signal
JPH06296275A (en) Method and device for encoding image signal