JP2625674B2 - Image signal encoding method and encoding device - Google Patents

Image signal encoding method and encoding device

Info

Publication number
JP2625674B2
JP2625674B2 JP60197030A JP19703085A JP2625674B2 JP 2625674 B2 JP2625674 B2 JP 2625674B2 JP 60197030 A JP60197030 A JP 60197030A JP 19703085 A JP19703085 A JP 19703085A JP 2625674 B2 JP2625674 B2 JP 2625674B2
Authority
JP
Japan
Prior art keywords
compression
image
unit
error
compression parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60197030A
Other languages
Japanese (ja)
Other versions
JPS6257367A (en
Inventor
隆夫 大町
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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

Landscapes

  • Image Processing (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、利用者がデータ圧縮後の再生画像の画品質
を確認したうえで圧縮方式を選択しうる画像信号のデー
タ圧縮符号化方法および装置に関する。
Description: BACKGROUND OF THE INVENTION The present invention relates to a data compression encoding method for an image signal which allows a user to select a compression method after confirming the image quality of a reproduced image after data compression. Related to the device.

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

画像信号のデータ圧縮方法には大きく分けて原画像を
完全に再生する事のできる情報量保存型の圧縮方法と、
圧縮・伸張後の再生画像が原画像に対して何らかの劣化
をともなう情報量非保存型の圧縮方法とがあるが、一般
に1画素が多くのレベル(例えば8bit256レベル等)で
表現される多値画像に対して高い圧縮率でデータ圧縮す
るためには情報量非保存型が用いられる。この情報量非
保存型のデータ圧縮方式においては、画品質を一部劣化
させる事によって圧縮率をあげているため、圧縮率を上
げるに従って画品質は劣化していく。画像を圧縮して伝
送あるいは蓄積する際には許せる範囲内の劣化で最大限
圧縮率が高いデータ圧縮方式を使いたいという要求があ
る。特にX線等の医療画像を圧縮の対象とした場合に
は、そのデータ圧縮による画品質劣化の程度は、データ
圧縮後の再生画像がその画像を用いた診断あるいは患部
の記録として使用できるかどうかを決める大きな要因と
なり基準以上の画品質を確保する圧縮方式の選択が重要
となる。ただし同じデータ圧縮方式を用いても再生画像
の劣化の程度は入力画像により大きく異なる。このため
従来の符号化方式においては最悪の場合でも基準以上の
画品質を保つように圧縮率を低く抑えた圧縮方式を用い
るか、一部の画像が基準以下の画品質になる事を覚悟で
平均的な画像が基準以上の画品質を保持できるような圧
縮方式を設定していた。前者の場合には十分な圧縮率が
得られないという欠点を有し、後者の場合にはデータ圧
縮による再生画像の信頼性に欠け、特に医療画像に対し
ては致命的な問題となる。
The data compression method of the image signal can be roughly divided into an information amount preserving compression method that can completely reproduce the original image,
There is an information amount non-conservation type compression method in which a reproduced image after compression / expansion has some degradation with respect to the original image. Generally, a multi-valued image in which one pixel is represented by many levels (for example, 8 bits and 256 levels) is used. In order to compress data at a high compression rate, an information amount non-conservation type is used. In the data compression method of the information amount non-conservation type, the compression rate is increased by partially deteriorating the image quality, so that the image quality is degraded as the compression rate is increased. When compressing an image for transmission or storage, there is a demand to use a data compression method that has a maximum compression ratio due to deterioration within an allowable range. In particular, when a medical image such as an X-ray is to be compressed, the degree of image quality deterioration due to the data compression depends on whether the reproduced image after the data compression can be used as a diagnosis using the image or as a record of an affected part. Therefore, it is important to select a compression method that can achieve image quality that is higher than the standard. However, even if the same data compression method is used, the degree of deterioration of the reproduced image greatly differs depending on the input image. For this reason, in the conventional encoding method, use a compression method that keeps the compression rate low so that the image quality is kept above the standard even in the worst case, or be prepared for the fact that some images will have the image quality below the standard A compression method has been set so that an average image can maintain image quality above a standard. The former case has a drawback that a sufficient compression ratio cannot be obtained, and the latter case lacks the reliability of a reproduced image by data compression, and is a fatal problem particularly for a medical image.

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

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

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

本発明の画像信号の符号化方法は、圧縮パラメータを
変える事により複数段階の圧縮率に対応する再生画像と
原画像との誤差画像を表示し、利用者の指示により、少
なくとも複数の該誤差画像から1つを選択する事により
その選択された誤差画像に対応する圧縮パラメータを用
いて原画像を圧縮し、あらかじめ該圧縮パラメータによ
って定められた符号を用いて符号化した符号化データと
圧縮に用いられた該圧縮パラメータとを出力することを
特徴とする。
An image signal encoding method according to the present invention displays an error image between a reproduced image and an original image corresponding to a plurality of stages of compression ratios by changing a compression parameter, and according to a user instruction, displays at least a plurality of error images. The original image is compressed using a compression parameter corresponding to the selected error image by selecting one from the above, and is used for compression with coded data coded using a code determined in advance by the compression parameter. And outputting the obtained compression parameter.

また本発明の画像信号の符号化装置は、圧縮パラメー
タを変える事により複数段階の圧縮率に対応する再生画
像を生成する手段と、該再生画像と原画像との誤差画像
を生成する手段と、前記生成された誤差画像を表示する
手段と、指定された該圧縮パラメータを用いて原画像を
圧縮し圧縮データを生成する手段と、該圧縮データをあ
らかじめ圧縮パラメータによって定められた符号を用い
て符号化し符号化データを生成する手段と、利用者の指
示により、少なくとも複数の該誤差画像から1つを選択
する事によりその選択された誤差画像に対応する該圧縮
パラメータとこの圧縮パラメータを用いて得られた該符
号化データとを出力する手段とを備えたことを特徴とす
る。
Further, the image signal encoding apparatus of the present invention is a means for generating a reproduced image corresponding to a multi-stage compression ratio by changing a compression parameter, a means for generating an error image between the reproduced image and the original image, Means for displaying the generated error image, means for compressing the original image using the specified compression parameter to generate compressed data, and coding the compressed data using a code predetermined by the compression parameter. Means for generating encoded data, and selecting at least one of the plurality of error images according to a user's instruction to obtain the compression parameter corresponding to the selected error image and the compression parameter. Means for outputting the encoded data thus obtained.

〔実施例〕〔Example〕

次に本発明の画像信号の符号化方法および符号化装置
を図面を参照して詳細に説明する。
Next, an image signal encoding method and an encoding apparatus according to the present invention will be described 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. The control unit 4 controls the entire operation according to the control signal A. First, the compression / reproduction unit 1 switches and specifies a compression parameter P corresponding to a plurality of stages of compression ratios as the control signal A, and the compression / reproduction unit 1 reproduces the image signal X by compressing / expanding it using the specified compression parameter P. An image signal X 'is generated, an error image generation unit 5 generates an error image Y including a difference component between the reproduced image signal X' and the original image signal X, and the display unit 2 displays the error image. A plurality of reproduced error images are displayed while switching the compression parameter P, and one of the error images is visually judged from these error images, and one error image is selected and instructed to the control unit to correspond to the selected error image. The original image is compressed using the compression parameters, and the encoded data C is output together with the compression parameter P used for compression. The process of compressing the image signal X of the original image using the specified compression parameter P is performed by the compression / reproduction unit 1, and compressed data D is generated.
The encoding unit 3 encodes the compressed data D using a code determined in advance by a compression parameter P to generate encoded data C. Since the reproduced image generated by the compression / reproduction unit 1 can also be displayed on the display unit, an appropriate compression parameter can be selected from both the reproduced image and the error image.

全体の処理の流れを制御する手順としては複数考えら
れるが、その代表的3つの手順を次に示す。
There are a plurality of procedures for controlling the flow of the entire processing, and three typical procedures are shown below.

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

(b) 誤差画像を表示する段階では圧縮/再生部1へ
指定された圧縮パラメータPを用いて画像信号Xをデー
タ圧縮し、これを内部に蓄積するとともに、対応する再
生画像を生成し、誤差画像生成部で誤差画像を生成し表
示部2で表示する。複数の誤差画像の中からひとつが選
択されると圧縮/再生部1の中に蓄積された複数の圧縮
データPの中から、選択された誤差画像に対応する圧縮
パラメータPを用いたものが読み出され、符号化部3で
符号化される。
(B) At the stage of displaying the error image, the image signal X is data-compressed using the compression parameter P designated to the compression / reproduction unit 1 and stored therein, and a corresponding reproduction image is generated. An error image is generated by the image generation unit and displayed on the display unit 2. When one of the plurality of error images is selected, the one using the compression parameter P corresponding to the selected error image is read out of the plurality of compressed data P stored in the compression / reproduction unit 1. And encoded by the encoding unit 3.

(c) 誤差画像を表示する段階では、圧縮/再生部1
は指定された圧縮パラメータPを用いて画像信号Xをデ
ータ圧縮し、圧縮データPを符号化部3にわたすととも
に、対応する再生画像を生成して誤差画像生成部5にわ
たす。誤差画像生成部5で生成された誤差画像は表示部
2で表示する。また符号化部3では圧縮/再生部1から
受け取った圧縮データDを符号化し、この符号化データ
Cを内部に蓄積する。複数の誤差画像の中からひとつが
選択されると符号化部3の中に蓄積された複数の符号化
データCの中から、選択された誤差画像に対応する圧縮
パラメータPを用いて圧縮・符号化された符号化データ
Cを読み出し出力する。
(C) At the stage of displaying the error image, the compression / reproduction unit 1
Compresses the image signal X using the designated compression parameter P, passes the compressed data P to the encoding unit 3, generates a corresponding reproduced image, and passes it to the error image generation unit 5. The error image generated by the error image generation unit 5 is displayed on the display unit 2. The encoding unit 3 encodes the compressed data D received from the compression / reproduction unit 1 and stores the encoded data C therein. When one of the plurality of error images is selected, compression / encoding is performed using a compression parameter P corresponding to the selected error image from among a plurality of pieces of encoded data C stored in the encoding unit 3. The encoded data C is read and output.

次に、この3つの制御手順のうち(a)の手順を用い
た符号化装置について詳細に説明する。
Next, an encoding device using the procedure (a) of the 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 apparatus of the present invention using the procedure (a). Input signals to the control unit 21 include a compression parameter selection signal S and a mode switching signal M
And can be arbitrarily set 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 based on these input signals as follows.

表示モードの場合には画像信号Xを、選択された圧縮
パラメータで圧縮した時の誤差画像を表示部24に表示さ
せ、符号化モードの場合には複数の誤差画像から視覚的
に選択したひとつの誤差画像に対応した圧縮パラメータ
で原画像を圧縮し、符号化した符号化データを圧縮に用
いた圧縮パラメータと共に出力する。表示部24には再生
画像と誤差画像の両方が表示できるため、この両方の画
像から適当な圧縮パラメータを決める事もできる。
In the case of the display mode, an error image when the image signal X is compressed by the selected compression parameter is displayed on the display unit 24. In the case of the encoding mode, one visually selected one from a plurality of error images is displayed. The original image is compressed using the 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 unit 24, an appropriate compression parameter can be determined from both images.

表示モードの場合についてまず説明する。圧縮部22に
おいては画像信号Xが制御部から指定された圧縮パラメ
ータP(圧縮パラメータ選択信号Sによって選択された
パラメータ)を用いてデータ圧縮され、圧縮データDが
出力される。データ圧縮の一例としてDCT(Djscrete Co
sine Transform)等の直交変換符号化を用いる場合の圧
縮部の構成を第3図に、また予測符号化を用いる場合の
圧縮部の構成を第4図に示す。第3図の直交変換符号化
方式を採用した圧縮部は直交変換器31と量子化器32から
構成される。画像信号Xは直交変換器31によって変換係
数に変換され、変換係数は量子化器32によって量子化さ
れて、圧縮データDとして量子化された係数が出力さ
れ、この圧縮部において圧縮率は主に量子化器32の量子
化ビット数(量子化後のビット数)と量子化特性(線計
量子化ら非線計量子化等)によって定まるため、制御部
より指定される圧縮パラメータPとしてはこの量子化ビ
ット数と量子化特性が用いられる。第4図の予測符号化
の方式を採用した圧縮部は予測器42,量子化器41,減算回
路43,加算回路44で構成される。画像信号Xと予測器42
から出力される予測値との差成分である予測誤差値が
減算回路43で求められ、量子化器41で量子化されて、圧
縮データDとして量子化された予測誤差値が出力され
る。加算回路44においては予測値に量子化された予測
誤差値が加えられて局部復号信号が求められ、この信号
が予測器42において予測値を求めるために使われる。こ
の予測符号化における圧縮部においても直交変換符号化
の圧縮部と同様に圧縮パラメータとしては量子化器41の
量子化ビット数と量子化特性が用いられる。
The display mode will be described first. The compression unit 22 compresses the image signal X using a compression parameter P (a parameter selected by the compression parameter selection signal S) specified by the control unit, and outputs compressed data D. As an example of data compression, DCT (Djscrete Co
FIG. 3 shows the configuration of the compression unit when orthogonal transform coding such as sine transform is used, and FIG. 4 shows the configuration of the compression unit when prediction coding is used. The compression unit adopting the orthogonal transform coding system shown in FIG. 3 includes an orthogonal transformer 31 and a quantizer 32. The image signal X is converted into a transform coefficient by an orthogonal transformer 31, and the transform coefficient is quantized by a quantizer 32 to output a quantized coefficient as compressed data D. The compression parameter P specified by the control unit is determined by the number of quantization bits (the number of bits after quantization) of the quantizer 32 and the quantization characteristics (such as line meter quantization and non-line meter quantization). The number of quantization bits and quantization characteristics are used. The compression unit employing the predictive coding method shown in FIG. 4 includes a predictor 42, a quantizer 41, a subtractor 43, and an adder 44. Image signal X and predictor 42
The prediction error value, which is a difference component from the prediction value output from, is obtained by the subtraction circuit 43, quantized by the quantizer 41, and the quantized prediction error value is output as compressed data D. The addition circuit 44 adds the quantized prediction error value to the prediction value to obtain a local decoded signal, and this signal is used by the predictor 42 to obtain the prediction value. In the compression unit in this predictive coding, the number of quantization bits and the quantization characteristics of the quantizer 41 are used as the compression parameters as in the compression unit in the orthogonal transform coding.

以上のようにして求められた圧縮データDは第2図の
伸張部23で伸張され再生画像信号X′が生成される。さ
らにこの再生画像信号Xと原画像信号Xとの差成分から
なる誤差画像信号Yが誤差画像生成部27で生成される。
この誤差画像信号Yはディスプレイあるいはハードコピ
ー等の表示部24に出力され表示される。表示部24には再
生画像信号X′も表示できる。直交変換符号化における
伸張部は直交逆変換部51によって構成され、圧縮データ
D(量子化された変換係数)から再生画像信号X′が生
成される。予測符号化における伸張部は第5図に示すよ
うに予測部61と加算回路62から構成され、圧縮データD
(量子化された予測誤差値)から再生画像信号X′が生
成される。この予測器61,加算回路62は第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 unit 23 in FIG. 2 to generate a reproduced image signal X '. Further, an error image signal Y composed of a difference component between the reproduced image signal X and the original image signal X is generated by the error image generation unit 27.
The error image signal Y is output and displayed on the display unit 24 such as a display or a hard copy. The display section 24 can also display the reproduced image signal X '. A decompression unit in the orthogonal transform coding is constituted by an orthogonal inverse transform unit 51, and a reproduced image signal X 'is generated from the compressed data D (quantized transform coefficient). The decompression unit in the predictive coding includes a predicting unit 61 and an adding circuit 62 as shown in FIG.
The reproduced image signal X 'is generated from the (quantized prediction error value). The predictor 61 and the adder 62 are the same as the predictor 42 and the adder 44 in FIG. In the case of predictive coding, an adding circuit is used in the compression unit shown in FIG.
Since a reproduced image signal is already required as a local decoded signal at the output of the display 44, this signal is directly extracted and
2 is not required. As the configuration of the error image generation unit 27, the difference between the two signals X 'and X may be calculated simply by using a subtraction circuit, and may be set as Y. May be easier to see.

表示モードにおいては以上説明したように、圧縮パラ
メータ選択信号Sを切りかえて圧縮パラメータPを変え
る事により異なった圧出率で圧縮した場合の誤差画像と
再生画像が表示部に表示される。利用者はこの表示モー
ドを用いる事によって許容範囲内の画品質を保ち、最も
圧縮効率の高い圧縮パラメータをみつける事ができる。
In the display mode, as described above, by switching the compression parameter selection signal S and changing the compression parameter P, an error image and a reproduced image when the compression is performed at different extrusion rates are displayed on the display unit. By using this display mode, the user can maintain image quality within an allowable range and find a compression parameter 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 performing the most compression. Images can be encoded and transmitted or stored in a highly efficient state.

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

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

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

次に本発明の符号化装置で符号化した符号化データを
復号する復号化装置の構成を第6図のブロック図を用い
て説明する。伝送路又は蓄積装置から受け取った符号は
パラメータ分離部71で画像の符号化データCと選択され
た圧縮パラメータPを示す符号とに分離され、復号化部
72にわたされる。復号化部72は符号化装置の符号化部25
と同様に、各圧縮パラメータ毎に決められた符号語と圧
縮データの対応テーブルをもっており、パラメータ分離
部で分離された圧縮パラメータPに対応したテーブルを
用いる事により符号語Cを元の圧縮データDに復号す
る。伸張部73では圧縮データDを伸張して再生画像信号
X′を生成する。伸張部73は符号化装置における伸張部
23と同じものであり、予測符号化における構成は第5図
に示すものと同じである。
Next, the configuration of a decoding device for decoding the encoded data encoded by the encoding device of the present invention will be described with reference to the block diagram of FIG. The code received from the transmission path or the storage device is separated into coded data C of the image and a code indicating the selected compression parameter P by the parameter separation unit 71,
Sent to 72. The decoding unit 72 is the encoding unit 25 of the encoding device.
In the same manner as described above, a code word and compression data correspondence table determined for each compression parameter is provided, and the code word C is converted into the original compressed data D by using a table corresponding to the compression parameter P separated by the parameter separation unit. To decrypt. The expansion section 73 expands the compressed data D to generate a reproduced image signal X '. The decompression unit 73 is a decompression unit in the encoding device.
23, and the configuration in predictive coding is the same as that shown in FIG.

〔発明の効果〕〔The invention's effect〕

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

【図面の簡単な説明】[Brief description of the 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……復号化部、73……伸張部。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a block diagram showing a configuration of an embodiment of an encoding device of the present invention,
FIG. 3 is a block diagram showing an example of a configuration of a compression unit in FIG. 2 in orthogonal transform coding, FIG. 4 is a block diagram showing an example of a configuration of a compression unit in FIG. FIG. 5 is a block diagram showing an example of the configuration of the decompression unit in FIG. 2 in predictive coding, 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. 1 ... compression / reproduction unit, 2 ... display unit, 3 ... encoding unit,
4 ... Control unit, 5 ... Error image generation unit, 21 ... Control unit,
22 compression unit, 23 expansion unit, 24 display unit, 25 encoding unit, 26 parameter addition unit, 27 error image generation unit, 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 73 Decompression unit

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】圧縮パラメータを変える事により複数段階
の圧縮率に対応する再生画像と原画像との誤差画像を表
示し、利用者の指示により、少なくとも複数の該誤差画
像から1つを選択する事によりその選択された誤差画像
に対応する圧縮パラメータを用いて原画像を圧縮し、あ
らかじめ該圧縮パラメータによって定められた符号を用
いて符号化した符号化データと圧縮に用いられた該圧縮
パラメータとを出力することを特徴とする画像信号の符
号化方法。
1. An error image between a reproduced image and an original image corresponding to a plurality of stages of compression ratios is displayed by changing a compression parameter, and one of at least a plurality of error images is selected by a user's instruction. By compressing the original image by using the compression parameter corresponding to the selected error image, the encoded data and the compression parameter used for the compression are encoded using a code determined in advance by the compression parameter. And a method for encoding an image signal.
【請求項2】圧縮パラメータを変える事により複数段階
の圧縮率に対応する再生画像を生成する手段と、該再生
画像と原画像との誤差画像を生成する手段と、前記生成
された誤差画像を表示する手段と、指定された該圧縮パ
ラメータを用いて原画像を圧縮し圧縮データを生成する
手段と、該圧縮データをあらかじめ圧縮パラメータによ
って定められた符号を用いて符号化し符号化データを生
成する手段と、利用者の指示により、少なくとも複数の
該誤差画像から1つを選択する事によりその選択された
誤差画像に対応する該圧縮パラメータとこの圧縮パラメ
ータを用いて得られた該符号化データとを出力する手段
とを備えたことを特徴とする画像信号の符号化装置。
2. A means for generating a reproduced image corresponding to a plurality of compression ratios by changing a compression parameter; a means for generating an error image between the reproduced image and an original image; Means for displaying, means for compressing the original image using the specified compression parameter to generate compressed data, and coding the compressed data using a code predetermined by the compression parameter to generate coded data A compression parameter corresponding to the selected error image by selecting at least one from the plurality of error images, and the encoded data obtained by using the compression parameter. Means for outputting an image signal.
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 JPS6257367A (en) 1987-03-13
JP2625674B2 true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0720228B2 (en) * 1987-04-30 1995-03-06 日本電気株式会社 Image compression recording system
JP2806287B2 (en) * 1995-01-13 1998-09-30 日本電気株式会社 Image quality evaluation 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
JPS6257367A (en) 1987-03-13

Similar Documents

Publication Publication Date Title
RU2158057C1 (en) Device for encoding and decoding without errors
US6215421B1 (en) Coding apparatus and method, decoding apparatus and method, data processing system, and storage medium
US6020923A (en) Method and apparatus for coding and recording an image signal and recording medium for storing an image signal
JPH02172389A (en) High efficient coding system for animated picture signal
JP3348612B2 (en) Inter-block prediction coding device, inter-block prediction decoding device, inter-block prediction coding method, inter-block prediction decoding method, and inter-block prediction coding / decoding device
US5291283A (en) Decoding apparatus of a compressed digital video signal
JP2625674B2 (en) Image signal encoding method and encoding device
KR100329091B1 (en) Image Compressor, Image Reproducing Device and Drawing Device
JP3416034B2 (en) Coded signal processing device
JPH0691615B2 (en) Image signal encoding device
JPH06105303A (en) Method and device for encoding image data
KR100209879B1 (en) Apparatus for emphasizing image quality partially using variable quantization
JP2527353B2 (en) Image data compression device by vector quantization
JPH07146927A (en) Image file device
JPH09331528A (en) Decoder with image coding function
JPH02234586A (en) High efficient coding system
JP3446056B2 (en) Data division device
JPH07184198A (en) Video signal compression/expansion processing unit
KR0123092B1 (en) Method and apparatus for coding a code indicating picture starting location
JPH04211573A (en) Orthogonal conversion encoding/decoding system
JPH1056613A (en) Compressed image decoder
JPH08181999A (en) Moving image processing unit
JPH05130580A (en) Variable length encoding and decoding device
JPH0965332A (en) Image coder and method therefor
JPH0798944A (en) Video signal reproducing device