JPS6257367A - Method and apparatus for coding picture signal - Google Patents

Method and apparatus for coding picture signal

Info

Publication number
JPS6257367A
JPS6257367A JP60197030A JP19703085A JPS6257367A JP S6257367 A JPS6257367 A JP S6257367A JP 60197030 A JP60197030 A JP 60197030A JP 19703085 A JP19703085 A JP 19703085A JP S6257367 A JPS6257367 A JP S6257367A
Authority
JP
Japan
Prior art keywords
compression
image
error
encoding
picture
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
JP60197030A
Other languages
Japanese (ja)
Other versions
JP2625674B2 (en
Inventor
Takao Omachi
大町 隆夫
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 JP60197030A priority Critical patent/JP2625674B2/en
Publication of JPS6257367A publication Critical patent/JPS6257367A/en
Application granted granted Critical
Publication of JP2625674B2 publication Critical patent/JP2625674B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To confirm an error picture after data compression while the user selects a compression parameter corresponding to plural steps of compression rates by outputting the compression parameter and a coded data corresponding to an error picture selected by visual discrimination from plural error pictures. CONSTITUTION:A compression/reproduction section 1 generates a reproduced picture signal X' obtained from a picture signal X with the compression parameter P by designating switchingly the compression parameter P corresponding to plural steps of compression rates as a control signal A, an error picture generating section 5 generates an error picture Y comprising a difference component between the reproduced picture signal X' and the original picture signal X and a display section 2 displays the error picture. While the compression parameter P is being selected, the plural reproduced error pictures are displayed, one error picture is selected by the visual discrimination from the error picture and a command is given to a control section so as to compress the original picture which the compression parameter corresponding to the selected error picture is used, and the coded data C is outputted together with the compression parameter P used for the compression.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、利用者がデータ圧縮後の再生画像の画品質を
確認したうえで圧縮方式を選択しうる画像信号のデータ
圧縮符号化方法および装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a data compression encoding method for image signals, in which a user can select a compression method after confirming the image quality of a reproduced image after data compression; Regarding equipment.

〔従来の技術とその問題点〕[Conventional technology and its problems]

画像信号のデータ圧縮方法には大きく分けて原画像を完
全に再生する事のできる情報量保存型の圧縮方法と、圧
縮・伸張後の再生画像が原画像に対して何らかの劣化を
ともなう情報量非保存型の圧縮方法とがあるが、一般に
1画素が多くのレベル(例えば8bit256レベル等
)で表現される多値画像に対して高い圧縮率でデータ圧
縮するためには情報量非保存型が用いられる。この情報
量非保存型のデータ圧縮方式においては、画品質を一部
劣化させる事によって圧縮率をあげているため、圧縮率
を上げるに従って画品質は劣化していく。画像を圧縮し
て伝送あるいは蓄積する際には許せる範囲内の劣化で最
大限圧縮率が高いデータ圧縮方式を使いたいという要求
がある。特にX線等の医療画像を圧縮の対象とした場合
には、そのデータ圧縮による画品質劣化の程度は、デー
タ圧縮後の再生画像がその画像を用いた診断あるいは患
部の記録として使用できるかどうかを決める大きな要因
となり基準以上の画品質を確保する圧縮方式の選択が重
要となる。ただし同じデータ圧縮方式を用いても再生画
像の劣化の程度は入力画像により大きく異なる。このた
め従来の符号化方式においては最悪の場合でも基準以上
の画品質を保つように圧縮率を低く抑えた圧縮方式を用
いるか、一部の画像が基準以下の画品質になる事を覚悟
で平均的な画像が基準以上の画品質を保持できるような
圧縮方式を設定していた。前者の場合には十分な圧縮率
が得られないという欠点を有し、後者の場合にはデータ
圧縮による再生画像の信頼性に欠け、特に医療画像に対
しては致命的な問題となる。
Data compression methods for image signals can be broadly divided into information-preserving compression methods that can completely reproduce the original image, and information-preserving compression methods that allow the reproduced image after compression/expansion to be degraded in some way compared to the original image. There is a preservation type compression method, but a non-information preservation type is generally used to compress data at a high compression rate for multivalued images in which one pixel is expressed at many levels (for example, 8 bits, 256 levels, etc.). It will be done. In this data compression method that does not preserve the amount of information, the compression rate is increased by partially degrading the image quality, so as the compression rate increases, the image quality deteriorates. When compressing images and transmitting or storing them, there is a demand for using a data compression method that has the highest compression rate possible while keeping deterioration within an acceptable range. In particular, when compressing medical images such as X-rays, the degree of image quality deterioration due to data compression is determined by whether the reproduced image after data compression can be used for diagnosis using the image or as a record of the affected area. It is important to select a compression method that ensures image quality that exceeds the standard. However, even if the same data compression method is used, the degree of deterioration of the reproduced image varies greatly depending on the input image. For this reason, with conventional encoding methods, you must either use a compression method that keeps the compression rate low to maintain image quality above the standard even in the worst case, or be prepared for the image quality of some images to be below the standard. The compression method was set so that the average image could maintain image quality above the standard. The former case has the disadvantage that a sufficient compression rate cannot be obtained, and the latter case lacks reliability of reproduced images due to data compression, which is a fatal problem especially for medical images.

〔発明の目的〕[Purpose of the invention]

本発明の目的は利用者が圧縮方式を切替えながらデータ
圧縮後の再生画像と原画像との差成分から成る誤差画像
を視覚的に確認でき、許容範囲内の画品質で最も高い圧
縮率を実現する圧縮方式を容易に選択する事のできる画
像信号の符号化方法および装置を提供する事にある。誤
差画像を見る事によって圧縮・伸張による画質劣化の程
度を正確に判断する事が可能となる。
The purpose of the present invention is to enable the user to visually check the error image consisting of the difference component between the reproduced image after data compression and the original image while switching the compression method, and to achieve the highest compression rate with image quality within the allowable range. An object of the present invention is to provide a method and apparatus for encoding an image signal, which can easily select a compression method. By looking at the error image, it is possible to accurately judge the degree of image quality deterioration due to compression/expansion.

〔発明の構成〕[Structure of the invention]

本発明の画像信号の符号化方法は、圧縮パラメータを変
える事により複数段階の圧縮率に対応する再生画像と原
画像との誤差画像を表示し、少なくとも複数の該誤差画
像から視覚的な判断で1つを選択する事によりその選択
された誤差画像に対応する圧縮パラメータを用いて原画
像を圧縮し、あらかじめ該圧縮パラメータによって定め
られた符号を用いて符号化した符号化データを圧縮に用
いられた該圧縮パラメータとを出力することを特徴とす
る。
The image signal encoding method of the present invention displays error images between the reproduced image and the original image corresponding to multiple compression ratios by changing compression parameters, and allows visual judgment to be made from at least a plurality of error images. By selecting one, the original image is compressed using the compression parameter corresponding to the selected error image, and the encoded data encoded using the code determined in advance by the compression parameter is used for compression. It is characterized by outputting the compression parameters.

また本発明の符号化装置は、圧縮パラメータを変える事
により複数段階の圧縮率に対応する再生画像を生成する
手段と、該再生画像と原画像との誤差画像を生成する手
段と、前記生成された画像を表示する手段と、指定され
た該圧縮パラメータを用いて原画像を圧縮し圧縮データ
を生成する手段と、該圧縮データをあらかじめ圧縮パラ
メータによって定められた符号を用いて符号化し符号化
データを生成する手段と、少なくとも複数の該誤差画像
から視覚的な判断で1つを選択する事によりその選択さ
れた誤差画像に対応する該圧縮パラメータとこの圧縮パ
ラメータを用いて得られた該符号化データとを出力する
手段とを備えたことを特徴とする。
Further, the encoding device of the present invention includes means for generating a reproduced image corresponding to a plurality of compression ratios by changing compression parameters, means for generating an error image between the reproduced image and the original image, and a means for generating an error image between the reproduced image and the original image. means for displaying a compressed image; means for compressing an original image using the specified compression parameters to generate compressed data; and encoding the compressed data using a code predetermined by the compression parameters to generate encoded data. a compression parameter corresponding to the selected error image by selecting one from at least a plurality of error images by visual judgment; and the encoding obtained using the compression parameter. The present invention is characterized by comprising a means for outputting data.

〔実施例〕〔Example〕

次に本発明の画像信号の符号化方法および符号化装置を
図面を参照して詳細に説明する。
Next, the image signal encoding method and encoding apparatus of the present invention will be explained in detail with reference to the drawings.

第1図は本発明の実施例を示すブロック図である。制御
部4が制御信号Aに従って全体の動作を制御する。まず
制御信号Aとして複数段階の圧縮率に対応する圧縮パラ
メータPを切りがえて指定する事によって圧縮/再生部
1では画像信号Xを指定された圧縮パラメータPを使っ
て圧縮・伸張して得られる再生画像信号X′を生成し、
誤差画像生成部5で再生画像信号X′と原画像信号Xと
の差成分から成る誤差画像Yを生成し、表示部2ではこ
の誤差画像を表示する。圧縮パラメータPを切りかえな
がら、再生した複数の誤差画像を表示し、これらの誤差
画像から視覚的に判断してひとつの誤差画像を選択し制
御部に指示する事により選択された誤差画像に対応する
圧縮パラメータをもちいて原画像を圧縮し、さらに符号
化した符帰化データCが圧縮に用いられた圧縮パラメー
タPとともに出力される。原画像の画像信号Xを指定さ
れた圧縮パラメータPを用いて圧縮する処理は圧縮・再
生部1でおこなわれ、圧縮データDが生成される。符号
化部3では圧縮データDをあらかじめ圧縮パラメータP
によって定められた符号を用いて符号化し符号化データ
Cを生成する。なお圧縮/再生部1で生成された再生画
像も表示部に表示する事ができるので再生画像と誤差画
像の両方から適当な圧縮パラメータを選択する事もでき
る。
FIG. 1 is a block diagram showing an embodiment of the present invention. Control unit 4 controls the overall operation according to control signal A. First, by switching and specifying compression parameters P corresponding to multiple levels of compression ratios as control signal A, compression/reproduction section 1 compresses and expands image signal X using the specified compression parameters P. generate a reproduced image signal X';
The error image generation section 5 generates an error image Y consisting of the difference component between the reproduced image signal X' and the original image signal X, and the display section 2 displays this error image. While changing the compression parameter P, display a plurality of reproduced error images, visually judge from these error images, select one error image, and instruct the control unit to correspond to the selected error image. The original image is compressed using the compression parameters, and encoded data C is output together with the compression parameters P used for compression. The process of compressing the image signal X of the original image using the specified compression parameter P is performed in the compression/reproduction unit 1, and compressed data D is generated. In the encoding unit 3, the compressed data D is set in advance by a compression parameter P.
The encoded data C is generated by encoding using the code defined by the above. Note that since the reproduced image generated by the compression/reproduction unit 1 can also be displayed on the display unit, appropriate compression parameters can be selected from both the reproduced image and the error image.

全体の処理の流れを制御する手順としては複数考えられ
るが、その代表的3つの手順を次に示す。
Although there are several possible procedures for controlling the overall processing flow, three representative procedures are shown below.

(a)  誤差画像を表示する段階では圧縮/再生部1
は指定された圧縮パラメータPを用いて画像信号Xから
再生画像信号X′を生成し、誤差画像生成部5で再生画
像と原画像から誤差画像信号Yを生成し、表示部2で誤
差画像を表示する。複数の誤差画像の中からひとつが選
択されると圧縮/再生部1では画像信号Xを、選択され
た誤差画ff1Yに対応する圧縮パラメータPを用いて
データ圧縮し、圧縮された圧縮データDが符号化部3で
符号化されて符号化データが生成される。
(a) At the stage of displaying the error image, the compression/reproduction unit 1
generates a reproduced image signal X' from the image signal indicate. When one of the plurality of error images is selected, the compression/reproduction unit 1 compresses the image signal X using the compression parameter P corresponding to the selected error image ff1Y, and the compressed data D is The encoder 3 encodes the data to generate encoded data.

(L))  誤差画像を表示する段階では圧縮/再生部
1へ指定された圧縮パラメータPを用いて画像信号Xを
データ圧縮し、これを内部に蓄積するとともに、対応す
る再生画像を生成し、誤差画像生成部で誤差画像を生成
し表示部2で表示する。
(L)) At the stage of displaying the error image, the image signal The error image generation section generates an error image and displays it on the display section 2.

複数の誤差画像の中からひとつが選択されると圧縮/再
生部1の中に蓄積された複数の圧縮データPの中から、
選択された誤差画像に対応する圧縮パラメータPを用い
たものが読み出され、符号化部3で符号化される。
When one of the plurality of error images is selected, it is selected from among the plurality of compressed data P stored in the compression/reproduction unit 1.
The image using the compression parameter P corresponding to the selected error image is read out and encoded by the encoding unit 3.

(C)  誤差画像を表示する段階では、圧縮/再生部
1は指定された圧縮パラメータPを用いて画像信号Xを
データ圧縮し、圧縮データPを符号化部3にわたすとと
もに、対応する再生画像を生成して誤差画像生成部5に
わたす。誤差画像生成部5で生成された誤差画像は表示
部2で表示する。
(C) At the stage of displaying the error image, the compression/reproduction unit 1 data-compresses the image signal X using the specified compression parameter P, passes the compressed data P to the encoding unit 3, and displays the corresponding reproduction image is generated and passed to the error image generation section 5. The error image generated by the error image generation section 5 is displayed on the display section 2.

また符号化部3では圧縮、′再生部1から受は取りた圧
縮データDを符号化し、この符号化データCを内部に蓄
積する。複数の誤差画像の中からひとつが選択されると
符号化部3の中に蓄積された複数の符号化データCの中
から、選択された誤差画像に対応する圧縮パラメータP
を用いて圧縮・符号化された符号化データCを読み出し
出力する。
Further, the encoding section 3 encodes the compressed data D received from the compressed and reproduced section 1, and stores this encoded data C internally. When one of the plurality of error images is selected, the compression parameter P corresponding to the selected error image is selected from among the plurality of encoded data C accumulated in the encoding unit 3.
The encoded data C that has been compressed and encoded using is read out and output.

次に、この3つの制御手順のうち(a)の手順を用いた
符号化装置について詳細に説明する。
Next, an encoding apparatus using procedure (a) of these three control procedures will be described in detail.

第2図は上記(a)の手順を用いた本発明の符号化装置
の実施例を示すブロック図である。制御部21への入力
信号には圧縮パラメータ選択信号Sとモード切替信号M
があり、利用者が任意に設定する事ができる。圧縮パラ
メータ選択信号Sは複数段階の圧縮率に対応する複数の
圧縮パラメータの中からひとつの圧縮パラメータを選択
する信号であり、モード切替信号Mは表示モードと符号
化モードを切替える信号である。制御部21はこれらの
入力信号によって符号化装置全体の動作を次のように制
御する。
FIG. 2 is a block diagram showing an embodiment of the encoding device of the present invention using the procedure (a) above. The input signals to the control unit 21 include a compression parameter selection signal S and a mode switching signal M.
is available and can be set arbitrarily by the user. The compression parameter selection signal S is a signal for selecting one compression parameter from a plurality of compression parameters corresponding to a plurality of compression ratios, and the mode switching signal M is a signal for switching between a display mode and an encoding mode. The control unit 21 controls the operation of the entire encoding device in the following manner using these input signals.

表示モードの場合には画像信号Xを、選択された圧縮パ
ラメータで圧縮した時の誤差画像を表示部24に表示さ
せ、符号化モードの場合には複数の誤差画像から視覚的
に選択したひとつの誤差画像に対応した圧縮パラメータ
で原画像を圧縮し、符号化した符号化データを圧縮に用
いた圧縮パラメータと共に出力する。表示部24には再
生画像と誤差画像の両方が表示できるため、この両方の
画像から適当な圧縮パラメータを決める事もできる。
In the display mode, the error image when the image signal The original image is compressed using compression parameters corresponding to the error image, and the encoded data is output together with the compression parameters used for compression. Since both the reproduced image and the error image can be displayed on the display section 24, appropriate compression parameters can be determined from both images.

表示モードの場合についてまず説明する。圧縮部22に
おいては画像信号Xが制御部から指定された圧縮パラメ
ータP(圧縮パラメータ選択信号Sによって選択された
パラメータ)を用いてデータ圧縮され、圧縮データDが
出力される。データ圧縮の一例としてDCT  (Di
screte Cosige Trans−form 
)等の直交変換符号化を用いる場合の圧縮部の構成を第
3図に、また予測符号化を用いる場合の圧縮部の構成を
第4図に示す。第3図の直交変換符号化方式を採用した
圧縮部は直交変換器31と量子化器32から構成される
。画像信号Xは直交変換器31によって変換係数に変換
され、変換係数は量子化器32によって量子化されて、
圧縮データDとして量子化された係数が出力され、この
圧縮部において圧縮率は主に量子化器32の量子化ビッ
ト数(量子化後のビット数)と量子化特性(謀計量子化
や非線計量子化等)によって定まるため、制御部より指
定される圧縮パラメータPとしてはこの量子化ビット数
と量子化特性が用いられる。第4図の予測符号化の方式
を採用した圧縮部は予測器42.量子化器41.減算回
路43、加算回路44で構成される0画像信号Xと予測
器42から出力される予測値Xとの差成分である予測誤
差値が減算回路43で求められ、量子化器41で量子化
されて、圧縮データDとして量子化された予測誤差値が
出力される。加算回路44においては予測値Xに量子化
された予測誤差値が加えられて局部復号信号が求められ
、この信号が予測器42において予測値を求めるために
使われる。この予測符号化における圧縮部においても直
交変換符号化の圧縮部と同様に圧縮パラメータとしては
量子化器41の量子化ビット数と量子化特性が用いられ
る。
First, the case of display mode will be explained. In the compression section 22, the image signal X is compressed using the compression parameter P specified by the control section (the parameter selected by the compression parameter selection signal S), and compressed data D is output. An example of data compression is DCT (Di
Screte Cosige Trans-form
) etc. is shown in FIG. 3, and FIG. 4 shows the structure of the compression section in the case of predictive coding. The compression section employing the orthogonal transform encoding method shown in FIG. 3 is composed of an orthogonal transformer 31 and a quantizer 32. The image signal X is converted into transform coefficients by an orthogonal transformer 31, the transform coefficients are quantized by a quantizer 32,
The quantized coefficients are output as compressed data D, and the compression rate in this compression section is mainly determined by the number of quantization bits of the quantizer 32 (the number of bits after quantization) and the quantization characteristics (such as deliberate quantization and nonlinear The number of quantization bits and the quantization characteristics are used as the compression parameter P designated by the control unit. The compression unit employing the predictive encoding method shown in FIG. 4 is the predictor 42. Quantizer 41. A prediction error value, which is a difference component between the 0 image signal X configured by a subtraction circuit 43 and an addition circuit 44, and the predicted value Then, a quantized prediction error value is output as compressed data D. In the adding circuit 44, the quantized prediction error value is added to the predicted value X to obtain a locally decoded signal, and this signal is used in the predictor 42 to obtain the predicted value. In the compression unit in predictive encoding, the number of quantization bits and quantization characteristics of the quantizer 41 are used as compression parameters, similarly to the compression unit in orthogonal transform encoding.

以上のようにして求められた圧縮データDは第2図の伸
張部23で伸張され再生画像信号X′が生成される。さ
らにこの再生画像信号Xと原画像信号Xとの差成分から
なる誤差画像信号Yが誤差画像生成部27で生成される
。この誤差画像信号Yはディスプレイあるいはハードコ
ピー等の表示部24に出力され表示される6表示部24
には再生画像信号X′も表示できる。直交変換符号化に
おける伸張部は直交逆変換器51によって構成され、圧
縮データD(量子化された変換係数)から再生画像信号
X′が生成される。予測符号化における伸張部は第5図
に示すように予測部61と加算1回路62から構成され
、圧縮データD(量子化された予測誤差値)から再生画
像信号X′が生成される。この予測器61.加算回路6
2は第4図における予測器42.加算回路44と同じも
のである。なお予測符号化の場合には、第4図に示した
圧縮部において加算回路44の出力に局部復号信号とし
てすでに再生画像信号が求められているため、この信号
を直接引き出して表示部24の人、  力として用いる
事により第2図の伸張部は不要となる。誤差画像生成部
27の構成としては、単純に減算回路を用いてX′とX
の両信号の差を算出してYとしてもよいし、この差成分
にフィルター処理を施した結果をYとして誤差をみやす
くしてもよい。
The compressed data D obtained as described above is expanded by the expansion section 23 shown in FIG. 2 to generate a reproduced image signal X'. Further, an error image signal Y consisting of a difference component between the reproduced image signal X and the original image signal X is generated by the error image generation section 27. This error image signal Y is output to and displayed on a display section 24 such as a display or a hard copy.
The reproduced image signal X' can also be displayed. The decompression unit in orthogonal transform encoding is constituted by an orthogonal inverse transformer 51, and a reproduced image signal X' is generated from compressed data D (quantized transform coefficients). As shown in FIG. 5, the decompression section in predictive encoding is composed of a prediction section 61 and an adder 1 circuit 62, and generates a reproduced image signal X' from compressed data D (quantized prediction error value). This predictor 61. Addition circuit 6
2 is the predictor 42 in FIG. It is the same as the adder circuit 44. In the case of predictive encoding, since the reproduced image signal has already been obtained as a locally decoded signal at the output of the adder circuit 44 in the compression section shown in FIG. , By using it as a force, the extension part shown in Figure 2 becomes unnecessary. The configuration of the error image generation section 27 is to simply use a subtraction circuit to calculate X' and
The difference between both signals may be calculated and set as Y, or the result of filtering this difference component may be set as Y to make it easier to see the error.

表示モードにおいては以上説明したように、圧縮パラメ
ータ選択信号Sを切りかえて圧縮パラメータPを変える
事により異なった圧縮率で圧縮した場合の誤差画像と再
生画像が表示部に表示される。利用者はこの表示モード
を用いる事によって許容範囲内の画品質を保ち、最も圧
縮効率の高い圧縮パラメータをみつける事ができる。
In the display mode, as explained above, by switching the compression parameter selection signal S and changing the compression parameter P, the error image and the reproduced image when compressed at different compression ratios are displayed on the display section. By using this display mode, the user can maintain image quality within an acceptable range and find compression parameters with the highest compression efficiency.

次に利用者はモード切替信号を符号化モードにセットし
、圧縮パラメータ選択信号Sを表示モードにおいて選択
した誤差画像に対応する圧縮パラメータに設定する事に
より、許容範囲内の画品質を保ち最も圧縮効率の高い状
態で画像を符号化して伝送あるいは蓄積する事ができる
Next, the user sets the mode switching signal to the encoding mode, and sets the compression parameter selection signal S to the compression parameter corresponding to the error image selected in the display mode, thereby maintaining the image quality within the allowable range and achieving maximum compression. Images can be encoded and transmitted or stored in a highly efficient manner.

第2図において符号化モードが選択されると、圧縮部2
2の出力である圧縮データDは符号化部25で符号語が
割り当てられ符号化データCに変換される。圧縮データ
Dの各値と符号語との対応テーブルはあらかじめ選択可
能な各圧縮パラメータ毎にあらかじめテスト画像を用い
て統計的に最も圧縮率が高くなるように決められており
、符号化時には選択した圧縮パラメータに対応するテー
ブルが用いられて割り当てられる。このようにして求え
られた符号化データCには、パラメータ付加部26にお
いて、圧縮に用いられた圧縮パラメータに対応する符号
か付加され、伝送路又は蓄積装置に出力される。
In FIG. 2, when the encoding mode is selected, the compression unit 2
The compressed data D, which is the output of step 2, is assigned a code word in the encoding unit 25 and converted into encoded data C. The correspondence table between each value of the compressed data D and the code word is determined in advance using a test image for each preselectable compression parameter so that the compression rate is statistically the highest, and when encoding A table corresponding to the compression parameters is used and allocated. The coded data C obtained in this manner is added with a code corresponding to the compression parameter used for compression in the parameter adding section 26, and is output to a transmission path or storage device.

なお表示モードにおいてすでに圧縮パラメータ選択信号
Sが符号化すべき圧縮パラメータに設定されていればモ
ードを符号化モードに切り替えるだけでこのパラメータ
を用いて圧縮符号化が実現される。
Note that if the compression parameter selection signal S has already been set as the compression parameter to be encoded in the display mode, compression encoding can be realized by simply switching the mode to the encoding mode using this parameter.

以上説明した符号化装置の実施例は、前に説明した制御
手順(a)を用いたものであるが、(b)(C)の手順
を用いた場合の実施例も圧縮部22あるいは符号化部2
5に圧縮データあるいは符号化データを蓄積するメモリ
を付加し、制御部21の制御手順を一部変更するだけで
実現できる。
The embodiment of the encoding device described above uses the previously explained control procedure (a), but the embodiment using the procedures (b) and (C) also uses the compression unit 22 or the encoding device. Part 2
This can be realized by simply adding a memory for storing compressed data or encoded data to 5 and partially changing the control procedure of the control unit 21.

次に本発明の符号化装置で符号化した符号化データを復
号する復号化装置の構成を第6図のブロック図を用いて
説明する。伝送路又は蓄積装置から受は取った符号はパ
ラメータ分離部71で画像の符号化データCと選択され
た圧縮パラメータPを示す符号とに分離され、復号化部
72にわたされる9復号化部72は符号化装置の符号化
部25と同様に、各圧縮パラメータ毎に決められた符号
語と圧縮データの対応テーブルをもっており、パラメー
タ分離部で分離された圧縮パラメータPに対応したテー
ブルを用いる事により符号語Cを元の圧縮データDに復
号する。伸張部73では圧縮データDを伸張して再生画
像信号X′を生成する。
Next, the configuration of a decoding device that decodes encoded data encoded by the encoding device of the present invention will be explained using the block diagram of FIG. 6. The code received from the transmission path or the storage device is separated by a parameter separation unit 71 into encoded image data C and a code indicating the selected compression parameter P, and then passed to a decoding unit 72. Like the encoding unit 25 of the encoding device, has a correspondence table between code words and compressed data determined for each compression parameter, and by using the table corresponding to the compression parameter P separated by the parameter separation unit, The code word C is decoded into the original compressed data D. The decompression unit 73 decompresses the compressed data D to generate a reproduced image signal X'.

伸張部73は符号化装置における伸張部23と同じもの
であり、予測符号化における構成は第5図に示すものと
同じである。
The decompression unit 73 is the same as the decompression unit 23 in the encoding device, and the configuration for predictive encoding is the same as that shown in FIG.

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

以上述べたように本発明の画像信号の符号化方法および
符号化装置を用いる事により、利用者が複数階段の圧縮
率に対応する圧縮パラメータを切替えながらデータ圧縮
後の誤差画像を確認する事ができ、許容範囲内の画品質
を保持したうえで最も高い圧縮率を実現する圧縮パラメ
ータを用いて画像信号を圧縮符号化して伝送路又は蓄積
装置に出力する事ができる。誤差画像を見る事によって
再生画像だけでは判断しにくい圧縮・伸張の程度を正確
に判断する事が可能となる。
As described above, by using the image signal encoding method and encoding device of the present invention, the user can check the error image after data compression while switching the compression parameters corresponding to the compression ratio of multiple steps. The image signal can be compressed and encoded using compression parameters that achieve the highest compression rate while maintaining image quality within an acceptable range, and output to a transmission path or storage device. By looking at the error image, it is possible to accurately judge the degree of compression/expansion, which is difficult to judge from the reproduced image alone.

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

第1図は本発明の実施例を示すブロック図、第2図は本
発明の符号化装置の一実施例の構成を示すブロック図、
第3図は直交変換符号化における第2図中の圧縮部の構
成の一例を示すブロック図、第4図は予測符号化におけ
る第2図中の圧縮部の構成の一例を示すブロック図、第
5図は予測符号化における第2図中の伸張部の構成の一
例を示すブロック図、第6図は本発明の符号化装置に対
応する復号化装置の構成の一例を示すブロック図である
。 1・・・圧縮/再生部、2・・・表示部、3・・・符号
化部、4・・・制御部、5・・・誤差画像生成部、21
・・・制御部、22・・・圧縮部、23・・・伸張部、
24・・・表示部、25・・・符号化部、26・・・パ
ラメータ付加部、27・・・誤差画像生成部、31・・
・直交変換器、32・・・量子化器、41・・・量子化
器、42・・・予測器、43・・・減算回路、44・・
・加算回路、61・・・予測器、62・・・加算回路、
71・・・パラメータ分離部、72・・・復号化部、7
3・・・伸張部。 茅 1 図 第 2vM 芽 3 凹 佛 4 図 第 t 図
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of an embodiment of the encoding device of the present invention,
FIG. 3 is a block diagram showing an example of the configuration of the compression unit in FIG. 2 in orthogonal transform encoding, and FIG. 4 is a block diagram showing an example of the configuration of the compression unit in FIG. 2 in predictive encoding. FIG. 5 is a block diagram showing an example of the configuration of the decompression unit in FIG. 2 in predictive encoding, and FIG. 6 is a block diagram showing an example of the configuration of a decoding device corresponding to the encoding device of the present invention. DESCRIPTION OF SYMBOLS 1... Compression/reproduction part, 2... Display part, 3... Encoding part, 4... Control part, 5... Error image generation part, 21
...control section, 22...compression section, 23...expansion section,
24... Display section, 25... Encoding section, 26... Parameter addition section, 27... Error image generation section, 31...
- Orthogonal transformer, 32... quantizer, 41... quantizer, 42... predictor, 43... subtraction circuit, 44...
- Addition circuit, 61...Predictor, 62...Addition circuit,
71... Parameter separation unit, 72... Decoding unit, 7
3...Extension part. Kaya 1 Figure 2vM Bud 3 Concave Buddha 4 Figure t

Claims (2)

【特許請求の範囲】[Claims] (1)圧縮パラメータを変える事により複数段階の圧縮
率に対応する再生画像と原画像との誤差画像を表示し、
少くとも複数の該誤差画像から視覚的な判断で1つを選
択する事によりその選択された誤差画像に対応する圧縮
パラメータを用いて原画像を圧縮し、あらかじめ該圧縮
パラメータによって定められた符号を用いて符号化した
符号化データと圧縮に用いられた該圧縮パラメータとを
出力することを特徴とする画像信号の符号化方法。
(1) Display error images between the reproduced image and the original image corresponding to multiple levels of compression ratio by changing the compression parameters,
By visually selecting one of at least a plurality of error images, the original image is compressed using a compression parameter corresponding to the selected error image, and a code determined in advance by the compression parameter is compressed. 1. A method for encoding an image signal, the method comprising: outputting encoded data encoded using the encoded data and the compression parameters used for compression.
(2)圧縮パラメータを変える事により複数段階の圧縮
率に対応する再生画像を生成する手段と、該再生画像と
原画像との誤差画像を生成する手段と、前記生成された
画像を表示する手段と、指定された該圧縮パラメータを
用いて原画像を圧縮し圧縮データを生成する手段と、該
圧縮データをあらかじめ圧縮パラメータによって定めら
れた符号を用いて符号化し符号化データを生成する手段
と、少なくとも複数の該誤差画像から視覚的な判断で1
つの選択する事によりその選択された誤差画像に対応す
る該圧縮パラメータとこの圧縮パラメータを用いて得ら
れた該符号化データとを出力する手段とを備えたことを
特徴とする画像信号の符号化装置。
(2) means for generating a reproduced image corresponding to multiple levels of compression ratio by changing compression parameters; means for generating an error image between the reproduced image and the original image; and means for displaying the generated image. a means for compressing an original image to generate compressed data using the specified compression parameter; a means for encoding the compressed data using a code predetermined by the compression parameter to generate encoded data; 1 based on visual judgment from at least a plurality of error images.
encoding of an image signal, comprising: means for outputting the compression parameter corresponding to the selected error image and the encoded data obtained using the compression parameter by selecting one of the selected error images; Device.
JP60197030A 1985-09-05 1985-09-05 Image signal encoding method and encoding device Expired - Lifetime JP2625674B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60197030A JP2625674B2 (en) 1985-09-05 1985-09-05 Image signal encoding method and encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60197030A JP2625674B2 (en) 1985-09-05 1985-09-05 Image signal encoding method and encoding device

Publications (2)

Publication Number Publication Date
JPS6257367A true JPS6257367A (en) 1987-03-13
JP2625674B2 JP2625674B2 (en) 1997-07-02

Family

ID=16367574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60197030A Expired - Lifetime JP2625674B2 (en) 1985-09-05 1985-09-05 Image signal encoding method and encoding device

Country Status (1)

Country Link
JP (1) JP2625674B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63274275A (en) * 1987-04-30 1988-11-11 Nec Corp Compression recording system for picture
JPH08195888A (en) * 1995-01-13 1996-07-30 Nec Corp Picture quality evaluating device
US6583543B1 (en) 2000-03-24 2003-06-24 Matsushita Electric Industrial Co., Ltd Fluorescent lamp with improved productivity, and manufacturing method for the fluorescent lamp

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63274275A (en) * 1987-04-30 1988-11-11 Nec Corp Compression recording system for picture
JPH0720228B2 (en) * 1987-04-30 1995-03-06 日本電気株式会社 Image compression recording system
JPH08195888A (en) * 1995-01-13 1996-07-30 Nec Corp Picture quality evaluating device
US6583543B1 (en) 2000-03-24 2003-06-24 Matsushita Electric Industrial Co., Ltd Fluorescent lamp with improved productivity, and manufacturing method for the fluorescent lamp

Also Published As

Publication number Publication date
JP2625674B2 (en) 1997-07-02

Similar Documents

Publication Publication Date Title
US10250885B2 (en) System and method for intracoding video data
KR100781629B1 (en) A method for reducing the memory required for decompression by storing compressed information using DCT base technology and a decoder for implementing the method
US5875039A (en) Image processing method and apparatus
JP4682102B2 (en) Image coding apparatus and image coding method
US20110206286A1 (en) Image coding apparatus, image decoding apparatus, image display apparatus and image processing apparatus
JPWO2006098226A1 (en) Encoding device and moving image recording system provided with encoding device
US5291283A (en) Decoding apparatus of a compressed digital video signal
JPH08214309A (en) Image signal encoder
JP3285220B2 (en) Television system for transmitting image signals in digital form
JPH10136368A (en) Bidirectional scanner for video coefficient and method therefor
JPS6257367A (en) Method and apparatus for coding picture signal
EP0699003A1 (en) Method and device for encoding image signal
JPS6257368A (en) Method and apparatus for coding picture signal
JPH06105303A (en) Method and device for encoding image data
JPS628658A (en) Area designating data compressing and extending method and its device
JP3184392B2 (en) Data recording method
KR100256648B1 (en) Format for compression information in image coding system
KR100209879B1 (en) Apparatus for emphasizing image quality partially using variable quantization
JPH07146927A (en) Image file device
JPH07222149A (en) Method and device for processing picture
JPH07184198A (en) Video signal compression/expansion processing unit
JP2956525B2 (en) Video compression recording device
JPH0698175A (en) Picture and data multiplex circuit
JP2521359B2 (en) Image coding device
JPH0583569A (en) Image encoder