JPS63111768A - Image data quantizer - Google Patents

Image data quantizer

Info

Publication number
JPS63111768A
JPS63111768A JP61256898A JP25689886A JPS63111768A JP S63111768 A JPS63111768 A JP S63111768A JP 61256898 A JP61256898 A JP 61256898A JP 25689886 A JP25689886 A JP 25689886A JP S63111768 A JPS63111768 A JP S63111768A
Authority
JP
Japan
Prior art keywords
value
step value
dynamic range
smax
image data
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
JP61256898A
Other languages
Japanese (ja)
Inventor
Shinichi Okada
真一 岡田
Soichi Yamazaki
宗一 山崎
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP61256898A priority Critical patent/JPS63111768A/en
Publication of JPS63111768A publication Critical patent/JPS63111768A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To realize efficient picture data compression regardless of a dynamic range of a picture signal by varying a quantized step dynamically in response to the varying state of data and designating the maximum and minimum steps optionally. CONSTITUTION:An input signal eliminated with a DC by a DC component eliminating device 41 is fed to an absolute difference calculator 42, where a difference alphaof an absolute value is calculated. On the other hand, when a dynamic range input device 43 gives a value beta to decide the dynamic range of the input signal, a step calculator 44 applies arithmetic operation to obtain a tentative value 2<n>. The step 2<n> is limited by a step range limiter 45 so that it comes between the maximum step Smax and the minimum step Smin inputted externally. In case of the relation of 2<n>>Smax and 2<nSmin, the step is decided respectively to be the Smax, Smin and the step values decided in this way are quantized by a quantization executing device 46.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は画像データを量子化する画像データ量子化装
置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image data quantization device for quantizing image data.

〔従来の技術〕[Conventional technology]

従来、画像データを伝送する場合、そのまま伝送すると
ひずみが多くなるため、量子化して伝送することが行な
われている。
Conventionally, when transmitting image data, it has been quantized and then transmitted, because if it is transmitted as is, there will be a lot of distortion.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら従来の装置は量子化を行なうためのステッ
プ値が固定であるため、ダイナミックレンジの広い入力
信号に対して全範囲にわたり量子化を行なうにはステッ
プ数を大きくしなければならず、ダイナミックレンジの
狭い入力信号に対しては細かいところまで量子化できな
いという問題を有していた。
However, in conventional devices, the step value for quantization is fixed, so in order to quantize an input signal with a wide dynamic range over the entire range, the number of steps must be increased. There is a problem in that it is not possible to quantize fine details for narrow input signals.

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

このような問題を解決するためにこの発明は、仮のステ
ップ値を決めるステップ値計算装置と、ステップ値の上
限値、下限値、仮のステップ値との関係から最終的なス
テップ値を決定するステップ値範囲制限装置を設けたも
のである。
In order to solve such problems, the present invention provides a step value calculation device that determines a temporary step value, and a step value that determines the final step value from the relationship between the upper limit value, the lower limit value, and the temporary step value. A step value range limiting device is provided.

〔作用〕[Effect]

絶対値の差分から仮のステップ値が決められ、この仮の
ステップ値が上限値よシ大きいときは上限値が、上限値
と下限値の範囲内にあるときは仮のステップ値が、下限
値以下のときは下限値が最終的にステップ値として決め
られる。
A temporary step value is determined from the difference in absolute values, and when this temporary step value is larger than the upper limit, the upper limit is used, and when it is within the range between the upper and lower limits, the temporary step value is used as the lower limit. In the following cases, the lower limit value is finally determined as the step value.

〔実施例〕〔Example〕

第2図はこの発明が適用された画像送信装置および画像
受信装置の一例を示すブロック図である。
FIG. 2 is a block diagram showing an example of an image transmitting device and an image receiving device to which the present invention is applied.

図において二次元離散的コサイン変換装置1で信号変換
された入力データ2は足切り装置3で低レベル部分が足
切りされ、量子化装置4で量子化されたうえ、符号化装
置5で符号化され、伝送路6に送出される。伝送された
信号は復号化装置7で復号化され、逆量子化装置8で元
の信号に戻され、足切と値加算装置9によって送信側で
足切りされた値が加算され、二次元離散的コサイン逆変
換装置10によって逆変換され、出力信号11が取出さ
れる。
In the figure, input data 2 signal-converted by a two-dimensional discrete cosine transform device 1 has its low level portion cut off by a cutter 3, quantized by a quantizer 4, and encoded by an encoder 5. and sent to the transmission line 6. The transmitted signal is decoded by the decoding device 7, returned to the original signal by the inverse quantization device 8, and the values cut off at the transmitting side are added by the cutoff and value addition device 9, resulting in a two-dimensional discrete The signal is inversely transformed by a cosine inverse transformer 10, and an output signal 11 is taken out.

第1図はこの発明の要部である量子化装置4の一実施例
を示すブロック図である。図において、直流分除去装置
41で直流分の除去された入力信号は絶対値の差分計算
装置42によって絶対値の差分αが計算される。一方、
ダイナミックレンジ入力装置43から入力された入力信
号のダイナミックレンジをある値に抑えるための値をβ
とすると、ステップ値計算装置44は次の演算を行ない
、仮のステップ値として、2 を求める。ここでnは負
でない整数のうち、最小の値をとる。
FIG. 1 is a block diagram showing an embodiment of a quantization device 4, which is a main part of the present invention. In the figure, the absolute value difference α of the input signal from which the DC component has been removed by the DC component removing device 41 is calculated by the absolute value difference calculating device 42 . on the other hand,
β is a value for suppressing the dynamic range of the input signal input from the dynamic range input device 43 to a certain value.
Then, the step value calculation device 44 performs the following calculation to obtain 2 as a temporary step value. Here, n takes the smallest value among non-negative integers.

仮のステップ値2 はステップ値範囲制限装置45によ
って次のようにその値が制限される。ステップ値範囲制
限装置45には外部より最大のステップ値Smaxと、
最小のステップ値Sm1nが供給される。このとき最大
のステップ値Sm!Icは画像データの最大値が大きい
ときは大きな値とし、原画像データと量子化データとの
誤差を生じないように決められる。最小のステップ値S
□inは画像データの低レベル部分の変化が大きいとき
は小さな値に設定する。そして、仮のステップ値2nが
次の関係にあるときは、その仮のステップ値2nをステ
ップ値Sとして決める。
The temporary step value 2 is limited in value by the step value range limiting device 45 as follows. The step value range limiting device 45 receives the maximum step value Smax from the outside,
A minimum step value Sm1n is provided. At this time, the maximum step value Sm! Ic is set to a large value when the maximum value of the image data is large, and is determined so as not to cause an error between the original image data and the quantized data. minimum step value S
□in is set to a small value when the change in the low level portion of the image data is large. Then, when the temporary step value 2n has the following relationship, the temporary step value 2n is determined as the step value S.

Sm1n≦2≦5nla! もしこの関係が成立しないときは、2 <Smtnであ
ればステップ値SはSm1nとし、2n>Sm、工でお
ればステップ値SはSmaX と定める。このようにし
て定められたステップ値Sによって量子化実行装置46
によって量子化が行なわれる。
Sm1n≦2≦5nla! If this relationship does not hold, the step value S is set to Sm1n if 2<Smtn, and the step value S is set to SmaX if 2n>Sm. The quantization execution device 46 uses the step value S determined in this way.
Quantization is performed by

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明は任意に指定できるダイ
ナミックレンジ値内に収まるようにデータの変化状況に
応じて動的に量子化ステップ値を変化させることと、任
意にステップ値の最小値と最大値とを指定することとに
よって、画像信号のダイナミックレンジにかかわらず画
像データ圧縮を効率的に実行する事ができる効果がある
As explained above, the present invention is capable of dynamically changing the quantization step value according to the changing situation of data so as to fall within an arbitrarily specified dynamic range value, and of changing the minimum and maximum step values arbitrarily. By specifying the value, image data compression can be efficiently executed regardless of the dynamic range of the image signal.

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

第1図はこの発明の一実施例を示すブロック図、第2図
はこの発明を適用して構成した装置のブロック図である
。 4・・・・量子化装置、41・・番―直流分除去装置、
42・・・・絶対値の差分計算装置、43・争・・ダイ
ナミックレンジ入力装置、44・0・・ステップ値計算
装置、45−・・・ステップ値範囲制限装置、46・・
・・量子化実行装置。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram of an apparatus constructed to which the present invention is applied. 4...Quantization device, 41...-DC component removal device,
42... Absolute value difference calculation device, 43. Dynamic range input device, 44. 0. Step value calculation device, 45-... Step value range limiting device, 46.
...Quantization execution device.

Claims (2)

【特許請求の範囲】[Claims] (1)画像データを所定のステップ値によつて量子化す
る画像データ量子化装置において、絶対値の差分から仮
のステップ値を決めるステップ値計算装置と、この仮の
ステップ値が上限値より大きいときは上限値を、上限値
と下限値の範囲内にあるときは仮のステップ値を、下限
値以下のときは下限値をステップ値として用いるステッ
プ値範囲制限装置とを備えたことを特徴とする画像デー
タ量子化装置。
(1) In an image data quantization device that quantizes image data using a predetermined step value, a step value calculation device that determines a temporary step value from the difference in absolute values, and a step value calculation device that determines a temporary step value, and this temporary step value is larger than the upper limit value. and a step value range limiting device that uses the upper limit value as the step value when the step value is within the range between the upper limit value and the lower limit value, and uses the lower limit value as the step value when it is below the lower limit value. Image data quantization device.
(2)上限値、下限値は、外部から制御できることを特
徴とする特許請求の範囲第1項記載の画像データ量子化
装置。
(2) The image data quantization device according to claim 1, wherein the upper limit value and the lower limit value can be controlled from the outside.
JP61256898A 1986-10-30 1986-10-30 Image data quantizer Pending JPS63111768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61256898A JPS63111768A (en) 1986-10-30 1986-10-30 Image data quantizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61256898A JPS63111768A (en) 1986-10-30 1986-10-30 Image data quantizer

Publications (1)

Publication Number Publication Date
JPS63111768A true JPS63111768A (en) 1988-05-17

Family

ID=17298926

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61256898A Pending JPS63111768A (en) 1986-10-30 1986-10-30 Image data quantizer

Country Status (1)

Country Link
JP (1) JPS63111768A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7408985B2 (en) 2001-08-28 2008-08-05 Nec Corporation Moving picture coding apparatus and method
CN112085184A (en) * 2019-06-12 2020-12-15 上海寒武纪信息科技有限公司 Quantization parameter adjusting method and device and related product

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7408985B2 (en) 2001-08-28 2008-08-05 Nec Corporation Moving picture coding apparatus and method
CN112085184A (en) * 2019-06-12 2020-12-15 上海寒武纪信息科技有限公司 Quantization parameter adjusting method and device and related product
CN112085184B (en) * 2019-06-12 2024-03-29 上海寒武纪信息科技有限公司 Quantization parameter adjustment method and device and related product

Similar Documents

Publication Publication Date Title
CN101261619B (en) Implementation of a transform and of a subsequent quantizatiion
JPH0485621A (en) Rounding device
JPH0379182A (en) Image encoding control system
KR100438856B1 (en) By lively table quantum/requantum making for method and status
JP2664223B2 (en) Orthogonal transform coefficient quantization circuit
KR940009117B1 (en) Method and apparatus for recovery of image data
JPH07170517A (en) Picture compression coder
JP2795300B2 (en) Image coding method
JPH06334986A (en) Weighted cosine transform method
JPS63111768A (en) Image data quantizer
JP2532588B2 (en) Orthogonal inverse transformation device
JPH0366228A (en) Block encoder and decoder
JPH02272889A (en) Orthogonal transform encoder for image
Hsiau et al. Real-time PC-based software implementation of H. 261 video codec
JPH06338802A (en) Re-compression device
JPS63198420A (en) Picture compressing device
KR960010193B1 (en) Quantization control method for image compression apparatus
JPS63280576A (en) Compression coding method
US8203618B2 (en) Image processing device and method
KR100298448B1 (en) Proceessing apparatus for moving image
JPH1188884A (en) Image conversion encoding device
JPH0583568A (en) Encoder for image
JPS63111769A (en) Image data processing device
JPH06284402A (en) High definition picture coding method
JPH1063591A (en) Terminal equipment and its communication method