[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JPS63155889A - Picture data compressing device - Google Patents

Picture data compressing device

Info

Publication number
JPS63155889A
JPS63155889A JP61302909A JP30290986A JPS63155889A JP S63155889 A JPS63155889 A JP S63155889A JP 61302909 A JP61302909 A JP 61302909A JP 30290986 A JP30290986 A JP 30290986A JP S63155889 A JPS63155889 A JP S63155889A
Authority
JP
Japan
Prior art keywords
value
code
register
difference
boundary line
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
JP61302909A
Other languages
Japanese (ja)
Other versions
JPH0551237B2 (en
Inventor
Nobuhiko Mori
森 宣彦
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 JP61302909A priority Critical patent/JPS63155889A/en
Publication of JPS63155889A publication Critical patent/JPS63155889A/en
Publication of JPH0551237B2 publication Critical patent/JPH0551237B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To improve the clearness of a boundary line by providing an input picture memory, plural coding picture element registers, a predicting value calculator, plural data compressors, a comparator and a selector so as to decrease the section of fog near the picture boundary line. CONSTITUTION:An input picture stored in a memory 1 is extracted sequentially, stored in a register 3 as a coded picture element B, when a new value is stored in the register 3, the picture is transferred to a register 2. Then a data compressor 5 obtains a difference between outputs of the register 2 and the predicting value calculator 4, converts it into a transmission value, coded and outputted as a code A. Moreover, a data compressor 6 obtains a difference of outputs of the register 3 and the calculator 4, converts the result into a transmission value and coded and outputted as a code B. The value A is inputted to a comparator 7, compared with a fixed value from a signal line 9, the signal being the result of comparison is outputted to a selector 8, the selector 8 selects either the value A or the value B and gives an output to a signal line 10 as the code output. Thus, the section of fog near the boundary line is decreased to improve the clearness of the boundary line.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は情報損失のある予測符号化方式を用いた画像デ
ータ圧m装蓋に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an image data compression system using a predictive coding method with information loss.

(従来の技術) データ圧縮方式の代表的なものとして予測値と標本値と
の差を符号化する予測符号化方式と、信号電力の集中し
ている成分にビット数を多く、電力の小さい部分にビッ
ト数を少なく配分する直交変換符号化方式がある。
(Prior art) Typical data compression methods include a predictive encoding method that encodes the difference between a predicted value and a sample value, and a predictive encoding method that encodes the difference between a predicted value and a sample value, and a predictive encoding method that encodes the difference between a predicted value and a sample value. There is an orthogonal transform coding method that allocates fewer bits.

両者を比較すると予測符号化方式の方が簡単な装置で実
現できる特徴があり、また、この予測符号化方式の中で
も部分的な情報の損失を許容すると大幅なデータ圧縮が
可能となる。
Comparing the two, the predictive encoding method has the feature that it can be implemented with a simpler device, and even in this predictive encoding method, if partial loss of information is allowed, significant data compression is possible.

予測符号化方式を用いた装置では近傍の画素より求めた
予測値とフード化画素の画素値の差を求め、その差の値
を伝送値に変換し、その伝送値をコード化してデータ圧
縮し、伝送、記憶等を行うのが一般的である。
In devices using predictive coding, the difference between the predicted value obtained from neighboring pixels and the pixel value of the hooded pixel is calculated, the difference value is converted into a transmission value, and the transmission value is encoded and data compressed. , transmission, storage, etc.

第2図および第3図は上記差の値を伝送値に変換する場
合のグラフの一例である。
FIGS. 2 and 3 are examples of graphs for converting the difference value into a transmission value.

これらの図において、横軸は差の値、縦軸は伝送値であ
、す、小数点以下は切り捨てて変換されろ。
In these figures, the horizontal axis is the difference value, and the vertical axis is the transmission value.The fractions below the decimal point are rounded down during conversion.

第2図は差の絶対値がaよジ大きい場合、伝送値がaま
たは−aで固定される変換方式の例であV、第3図は差
の絶対値がaより大きいところで差の値の近似が行われ
る変換方式の例である。
Figure 2 shows an example of a conversion method in which the transmission value is fixed at a or -a when the absolute value of the difference is larger than a, and Figure 3 shows the value of the difference when the absolute value of the difference is larger than a. This is an example of a conversion method in which approximation is performed.

このように差の値を伝送値に変換するとき0付近の値は
正確に変換するtζ出現率の少ない絶対値の大きな値は
近似するか、または一定値の切捨てを行なっているのが
通常である。
When converting a difference value into a transmission value in this way, values near 0 are usually converted accurately, and values with large absolute values with a low tζ occurrence rate are approximated or truncated at a certain value. be.

(発明が解決しようとする問題点) 従来の予測符号化方式は画素値の大きな変化がある境界
線付近で画像がぼけるという欠点がある。そして画素値
の変化が太きければ大きい程、また、データ圧縮率を上
げれば上げろ程、このぼけの範囲が広がる傾向がある。
(Problems to be Solved by the Invention) Conventional predictive encoding methods have the disadvantage that images become blurred near boundaries where there is a large change in pixel values. The wider the change in pixel value, or the higher the data compression rate, the wider the range of blur.

本発明の目的は画像の境界線付近のぼけている区間を短
縮して、境界線の明瞭度を向上させることができろ画像
データ圧縮装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an image data compression device capable of shortening blurred sections near image boundaries and improving the clarity of the boundaries.

(問題点を解決するための手段) 前記目的を達成するために本発明による画像データ圧縮
装置はデータ圧縮を行なうべき入力画像から連続した2
画素を第1符号化画素と第2符号化画素として1画素づ
つ層成取り出す手段と、当該データ圧縮装置の出力であ
る符号出力を復号し、前記第1符号化画素および第2符
号化画素の符号化時に予測値を計算する予測値計算器と
、前記予測値と前記第1符号化画素との差である第1符
号値を出力する第1データ圧縮器と、前記予測値と前記
第2符号化画素との差である第2符号値を出力する第2
データ圧縮器と、前記第1符号値が所定値より小か否か
を判定する比較器と、前記比較器が所定値より小と判定
したときは前記第1符号値を選近し、他の場合は第2符
号値を選択する選択器とから構成しである。
(Means for Solving the Problems) In order to achieve the above object, the image data compression device according to the present invention has two consecutive input images to be subjected to data compression.
means for layering and extracting pixels one by one as first encoded pixels and second encoded pixels; and means for decoding the code output that is the output of the data compression device, and a predicted value calculator that calculates a predicted value during encoding; a first data compressor that outputs a first code value that is the difference between the predicted value and the first coded pixel; a second code value that is the difference between the encoded pixel and the encoded pixel;
a data compressor; a comparator that determines whether the first code value is smaller than a predetermined value; and a selector for selecting the second code value.

(実施 例) 以下、図面を参照して本発明をさらに詳しく説明する。(Example) Hereinafter, the present invention will be explained in more detail with reference to the drawings.

第1図は本発明による画像データ圧縮装置の実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of an image data compression apparatus according to the present invention.

メモリ1にはデータ圧縮すべき入力画像が記憶されてお
、す、その画素値が横方向または縦方向に屓次取り出さ
れ、符号化画素Bとしてレジスタ3に格納されろ。そし
てレジスタ3に次の新しい値が記憶されろとき、それま
で格納されていた画素は符号化画素Bとしてレジスタ2
に移されろ。
An input image to be data compressed is stored in the memory 1, and its pixel values are successively extracted in the horizontal or vertical direction and stored in the register 3 as encoded pixels B. Then, when the next new value is stored in register 3, the pixel stored until then is stored in register 2 as encoded pixel B.
Be moved to.

これら符号比重素人と符号化画素Bは予測符号化方式で
符号化されるが、そのときに必要な予測値は予測値計算
器4でそれ以前に処理された画素の符号出力を用いて計
算される。
These code weighted amateurs and coded pixels B are coded using a predictive coding method, and the predicted values necessary at this time are calculated by the predicted value calculator 4 using the code outputs of pixels previously processed. Ru.

最も簡単な例としては直前の符号出力を復号して予測値
とする前置予測が用いられろ。
The simplest example is pre-prediction, in which the immediately preceding code output is decoded and used as a predicted value.

データ圧縮器5はレジスタ2と予測値計算器4の出力の
差を求め、その差を例えば第3図で示したようなグラフ
で伝送値に変換し、その伝送値を符号化して符号値Aと
して出方する。
The data compressor 5 calculates the difference between the outputs of the register 2 and the predicted value calculator 4, converts the difference into a transmission value using the graph shown in FIG. Appear as a.

データ圧縮器6はレジスタ3と予測値計算器4の出力と
の差を求め、その差を例えば第3図で示したようなグラ
フで伝送値に変換し、伝送値Bとして出力する。
The data compressor 6 calculates the difference between the output of the register 3 and the predicted value calculator 4, converts the difference into a transmission value using a graph as shown in FIG. 3, and outputs it as a transmission value B.

符号値人は比較器7に入力され、ここで別途信号線9を
通じて入力される固定値(例えば第3図のa〕と比較さ
れる。その結果、符号値Aの絶対値が固定値aより小さ
いか否かの信号が出力される。
The code value A is input to a comparator 7, where it is compared with a fixed value (for example, a in FIG. A signal indicating whether it is small or not is output.

選択器8では比較器7の出力に従い、符号値Aまたは符
号値Bのいずれかを選択して、それを符号出力として信
号線lOに出力する。
The selector 8 selects either the code value A or the code value B according to the output of the comparator 7, and outputs it to the signal line 10 as a code output.

符号型Aの絶対値がaより小さければ符号値Aを選択し
、他の場合は符号値Bを選択する。
If the absolute value of code type A is smaller than a, code value A is selected; otherwise, code value B is selected.

符号出力は伝送または記憶されるだけでなく。The code output is not only transmitted or stored.

予測値計算器4にも入力される。It is also input to the predicted value calculator 4.

(発明の効果) 以上、説明したように本発明は予測値と実際の画素値と
の間に大きな差がある場合はこれを用いず、同じ予測値
と次の画素値での差を用い符号化するように構成されて
いるので、境界線付近のぼけている区間を短縮化できる
(Effects of the Invention) As explained above, the present invention does not use this when there is a large difference between the predicted value and the actual pixel value, but uses the difference between the same predicted value and the next pixel value to code Since it is configured so that the boundary line is blurred, the blurred section near the boundary line can be shortened.

特に境界線付近のぼけている区間が観測時に発生する境
界線上の画素l−素だけの場せ、本発明による装置を用
いると中間値を持つ境界線上の画素が無視されるので差
のコード北方式として第3図のものを用い、かつ絶対値
が大きいところでの近似をたとえば誤差がa以下になる
ように抑えるというよりにすると、復元画像として境界
線が明瞭な画像が得られる。
In particular, if the blurred section near the boundary line is only the pixel l-element on the boundary line that occurs during observation, if the device according to the present invention is used, pixels on the boundary line with intermediate values are ignored, so the difference code If the method shown in FIG. 3 is used and the approximation where the absolute value is large is suppressed, for example, so that the error is less than a, an image with clear boundary lines can be obtained as a restored image.

また、この場0.1画素長の特異な値が無視されるので
、画像上の雑音除去にも効果がある。
Furthermore, since the unique value of 0.1 pixel length is ignored in this case, it is also effective in removing noise on the image.

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

第1図は本発明による画晴データ圧縮装置の実施例を示
す図、第2図および第3図はデータ圧mを行なり画素の
予測値と実際の値との差を伝送値に変換するグラフであ
る。 1・・・メモリ   2.3・・・レジスタ4・・・予
測賃計算器  5.6・・・データ圧縮器7・・・比較
器    8・・・選択器9.10・・・償号線
FIG. 1 shows an embodiment of the image data compression device according to the present invention, and FIGS. 2 and 3 show data compression m and converting the difference between the predicted value and the actual value of a pixel into a transmitted value. It is a graph. 1...Memory 2.3...Register 4...Predicted wage calculator 5.6...Data compressor 7...Comparator 8...Selector 9.10...Compensation line

Claims (1)

【特許請求の範囲】[Claims] データ圧縮を行なうべき入力画像から連続した2画素を
第1符号化画素と第2符号化画素として1画素づつ順次
取り出す手段と、当該データ圧縮装置の出力である符号
出力を復号し、前記第1符号化画素および第2符号化画
素の符号化時に予測値を計算する予測値計算器と、前記
予測値と前記第1符号化画素との差である第1符号値を
出力する第1データ圧縮器と、前記予測値と前記第2符
号化画素との差である第2符号値を出力する第2データ
圧縮器と、前記第1符号値が所定値より小か否かを判定
する比較器と、前記比較器が所定値より小と判定したと
きは前記第1符号値を選択し、他の場合は第2符号値を
選択する選択器とから構成した画像データ圧縮装置。
means for sequentially extracting two consecutive pixels from an input image to be data compressed as a first encoded pixel and a second encoded pixel; a predicted value calculator that calculates a predicted value when encoding a coded pixel and a second coded pixel; and a first data compressor that outputs a first code value that is a difference between the predicted value and the first coded pixel. a second data compressor that outputs a second code value that is the difference between the predicted value and the second encoded pixel; and a comparator that determines whether the first code value is smaller than a predetermined value. and a selector that selects the first code value when the comparator determines that the code value is smaller than a predetermined value, and selects the second code value in other cases.
JP61302909A 1986-12-19 1986-12-19 Picture data compressing device Granted JPS63155889A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61302909A JPS63155889A (en) 1986-12-19 1986-12-19 Picture data compressing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61302909A JPS63155889A (en) 1986-12-19 1986-12-19 Picture data compressing device

Publications (2)

Publication Number Publication Date
JPS63155889A true JPS63155889A (en) 1988-06-29
JPH0551237B2 JPH0551237B2 (en) 1993-08-02

Family

ID=17914568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61302909A Granted JPS63155889A (en) 1986-12-19 1986-12-19 Picture data compressing device

Country Status (1)

Country Link
JP (1) JPS63155889A (en)

Also Published As

Publication number Publication date
JPH0551237B2 (en) 1993-08-02

Similar Documents

Publication Publication Date Title
EP0272505B1 (en) Adaptive graylevel image compression system
JP4493215B2 (en) Image compression using directional prediction coding method of wavelet coefficients
US6798833B2 (en) Video frame compression/decompression hardware system
US8908982B2 (en) Image encoding device and image encoding method
US9641850B2 (en) Video compression device
KR100209132B1 (en) Method for coding contour in block based object coding system
EP0482180A1 (en) Block adaptive linear predictive coding with adaptive gain and bias.
US4885636A (en) Block adaptive linear predictive coding with adaptive gain and bias
US10785493B2 (en) Method of compressing and decompressing image data
JP4801778B2 (en) Video compression / encoding device, video restoration device, video compression program, and video restoration program
JP2001519988A (en) System for extracting coding parameters from video data
KR100314098B1 (en) An interpolation method of binary shape data using an adaptive threshold by neighboring pixel values
JP4831547B2 (en) Method for image compression and decompression acceleration
CN116582689A (en) Lossless compression for low-latency video transmission in resource-constrained coding environments
JPS63155889A (en) Picture data compressing device
US6539061B1 (en) Efficient method for decompressing difference coded signals
KR900004962B1 (en) Picture image transmiting system of telephone
JP2009038740A (en) Image encoding device
KR900004963B1 (en) Receive picture image decoding method
JP2615215B2 (en) Image data compression method
JP3859786B2 (en) Coding method for contour line of object in video signal
JPH08336139A (en) Image data processor and quantizing method
JPH04294685A (en) Method and device for encoding color image signal
JP2000138933A (en) Image coder
JP2584854B2 (en) Image coding method