JPH0549022A - Picture coder - Google Patents

Picture coder

Info

Publication number
JPH0549022A
JPH0549022A JP19955291A JP19955291A JPH0549022A JP H0549022 A JPH0549022 A JP H0549022A JP 19955291 A JP19955291 A JP 19955291A JP 19955291 A JP19955291 A JP 19955291A JP H0549022 A JPH0549022 A JP H0549022A
Authority
JP
Japan
Prior art keywords
image
unit
image signal
signal
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
JP19955291A
Other languages
Japanese (ja)
Other versions
JP2792760B2 (en
Inventor
Jiro Nakabayashi
次郎 仲林
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP19955291A priority Critical patent/JP2792760B2/en
Publication of JPH0549022A publication Critical patent/JPH0549022A/en
Application granted granted Critical
Publication of JP2792760B2 publication Critical patent/JP2792760B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To provide the picture coder in which no remarkable deterioration in picture quality is caused even when information is missing on the way of transmission by eliminating block distortion and deterioration in the picture quality. CONSTITUTION:The picture coder having a frame memory 22 storing a picture signal is provided with a delay section 10 delaying an inputted picture signal by a prescribed time, a pre-processing section 11 pre-processing the picture signal delayed by the delay section 10, a pre-processing section 12 pre-processing the picture signal read by the pre-processing section 11, a comparison section 13 comparing the picture signal pre-processed by the pre-processing section 11 and the picture signal pre-processed by the pre-processing section 12 and outputting a picture error signal, and an error coding section 14 coding the picture error signal outputted from the comparison section 13.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、動画像に含まれる情報
量を削減し、通信回線で伝送するのに適した形に画像を
圧縮符号化する画像符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image coding apparatus for reducing the amount of information contained in a moving image and compressing and coding the image in a form suitable for transmission through a communication line.

【0002】[0002]

【従来の技術】近年、ディジタル公衆網(以下、ISD
Nと称する)の普及と画像符号化技術の進歩により、新
しい通信サービスとして画像通信サービスに対する要求
が高まってきており、一部ではテレビ電話、テレビ会議
システムなどで実用化されつつある。また、さらに高度
なサービスの提供を目指し、広帯域ISDNに代表され
る新たな通信ネットワークの検討も活発に行われてい
る。
2. Description of the Related Art In recent years, digital public networks (hereinafter referred to as ISD
The demand for an image communication service as a new communication service is increasing due to the popularization of (N.) and the progress of image coding technology, and it is being put to practical use in some parts such as videophones and videoconference systems. In addition, new communication networks represented by broadband ISDN are being actively studied with the aim of providing more advanced services.

【0003】一般に画像に含まれる情報量は膨大であ
り、画像信号をそのまま通信回線を使って伝送しようと
すると大容量の伝送路が必要となり、通信コストなどを
考えるとそのような画像伝送は非現実的である。そこで
画像信号に含まれている冗長性を効果的に利用して情報
量の削減を行うことが検討されている。
Generally, the amount of information contained in an image is enormous, and a large-capacity transmission line is required to transmit an image signal as it is through a communication line. Considering communication costs, such image transmission is not possible. It is realistic. Therefore, it is considered to effectively use the redundancy included in the image signal to reduce the amount of information.

【0004】画像の符号化方法としては様々なものが検
討されてきたが、現在最もよく用いられているのは動き
補償フレーム間予測直交変換符号化方法である。図4に
動き補償フレーム間予測直交変換符号化方法を用いた画
像符号化装置の概略構成を示す。
Although various methods have been studied as image coding methods, the motion compensation interframe predictive orthogonal transform coding method is currently most widely used. FIG. 4 shows a schematic configuration of an image coding apparatus using the motion compensation inter-frame prediction orthogonal transform coding method.

【0005】図4の画像符号化装置は、差分演算部30、
直交変換部31、符号化制御部32、量子化部33、逆量子化
部34、逆直交変換部35、加算部36、フレ−ムメモリ部37
及び動き補償フレ−ム間予測部38によって構成されてい
る。
The image coding apparatus shown in FIG.
Orthogonal transformation unit 31, coding control unit 32, quantization unit 33, dequantization unit 34, inverse orthogonal transformation unit 35, addition unit 36, frame memory unit 37.
And a motion compensation inter-frame prediction unit 38.

【0006】動き補償フレーム間予測部(以下、予測部
と称する)38及び差分演算部30は、入力画像信号に基づ
いて画像フレームごとに動き補償フレーム間予測を行
う。
The motion-compensated inter-frame prediction unit (hereinafter referred to as the prediction unit) 38 and the difference calculation unit 30 perform motion-compensated inter-frame prediction for each image frame based on the input image signal.

【0007】予測部38は、動き補償における動きの検出
として、フレームメモリ部(以下、メモリ部と称する)
37に記憶された1フレーム前の画像信号と入力画像信号
とをある大きさのブロックに分割し、入力画像信号のブ
ロックが1フレーム前の画像信号のどの部分から動いて
きたものかを検出する。そして、その検出結果に基づい
て、メモリ部37に記憶されている1フレーム前に符号化
された画像信号を予測値として出力する。
The prediction unit 38 uses a frame memory unit (hereinafter referred to as a memory unit) to detect motion in motion compensation.
The image signal of one frame before stored in 37 and the input image signal are divided into blocks of a certain size, and it is detected from which part of the image signal of one frame before the block of the input image signal has moved. .. Then, based on the detection result, the image signal encoded one frame before stored in the memory unit 37 is output as a prediction value.

【0008】差分演算部30は、このメモリ部37から出力
された予測値と入力画像信号との差を算出してフレーム
間予測符号化の結果として予測誤差信号を出力する。
The difference calculation section 30 calculates the difference between the predicted value output from the memory section 37 and the input image signal, and outputs a prediction error signal as a result of interframe predictive coding.

【0009】直交変換部31は予測誤差信号を直交変換
し、量子化部33は得られた直交変換係数を符号化制御部
32の制御に基づいて所定の量子化ステップサイズで量子
化して情報圧縮する。
The orthogonal transformation unit 31 orthogonally transforms the prediction error signal, and the quantization unit 33 uses the obtained orthogonal transformation coefficient to the coding control unit.
Information is compressed by quantization with a predetermined quantization step size under the control of 32.

【0010】量子化部33は量子化された変換係数を符号
化の結果として外部に出力すると共に、逆量子化部34に
も出力する。
The quantizer 33 outputs the quantized transform coefficient to the outside as a result of encoding, and also outputs it to the inverse quantizer 34.

【0011】逆量子化部34は、量子化部33で量子化され
た変換係数を逆量子化して変換係数を出力し、逆直交変
換部35は、変換係数を逆直交変換して予測誤差信号を算
出する。
The inverse quantizing unit 34 inversely quantizes the transform coefficient quantized by the quantizing unit 33 and outputs the transform coefficient, and the inverse orthogonal transform unit 35 performs inverse orthogonal transform on the transform coefficient to obtain a prediction error signal. To calculate.

【0012】加算部36は、逆直交変換部35から出力され
た予測誤差信号にメモリ部37から読み出された予測値を
加算して画像信号を生成する。生成された画像信号は、
メモリ部37に格納されて次のフレームの画像信号のフレ
ーム間予測に使われる。
The adder unit 36 adds the prediction value read from the memory unit 37 to the prediction error signal output from the inverse orthogonal transform unit 35 to generate an image signal. The generated image signal is
It is stored in the memory unit 37 and used for inter-frame prediction of the image signal of the next frame.

【0013】入力画像信号は、このようにループ状の構
成により符号化され通信回線に送られる。
The input image signal is coded by such a loop structure and sent to the communication line.

【0014】[0014]

【発明が解決しようとする課題】上述した従来の画像符
号化装置では、動き補償予測の動き検出あるいは直交変
換のための演算を効率よく行うために、画面をいくつか
のブロックに分割して処理を行っており、直交変換の結
果を量子化するときに、量子化ステップサイズは、発生
する符号量及び伝送容量に基づいて制御されるので、分
割されたブロックごとに量子化の条件が異なり、その結
果、符号化された画像を画面全体で見た場合にブロック
歪みや画面の粗さがブロックごとにばらついて画像品質
が劣化するという問題点がある。また、直交変換の結果
を量子化するときに、情報量の削減のためにある程度の
誤差を許容しており、その誤差に伴う画像品質の劣化が
生じるという問題点がある。更に、量子化部33のすべて
の出力に対して逆量子化及び逆直交変換を行い、局部復
号してメモリ部37に記憶させてフレーム間予測符号化に
使用しているので通信回線で情報の紛失が発生したとき
には、フレーム間予測符号化が正常に機能せず画像品質
が著しく低下するという問題点がある。
In the above-described conventional image coding apparatus, the screen is divided into several blocks and processed in order to efficiently perform the operation for motion detection or orthogonal transform of motion compensation prediction. When quantizing the result of the orthogonal transformation, the quantization step size is controlled based on the generated code amount and transmission capacity, so the quantization condition differs for each divided block, As a result, when a coded image is viewed on the entire screen, there is a problem that block distortion and screen roughness vary from block to block and the image quality deteriorates. Further, when quantizing the result of the orthogonal transformation, a certain degree of error is allowed to reduce the amount of information, and there is a problem that the image quality is deteriorated due to the error. Further, since all the outputs of the quantizing unit 33 are subjected to inverse quantization and inverse orthogonal transform, locally decoded and stored in the memory unit 37 and used for interframe predictive coding, the information on the communication line is When the loss occurs, there is a problem that the inter-frame predictive coding does not function normally and the image quality deteriorates remarkably.

【0015】本発明は、上述した従来の画像符号化装置
における問題点に鑑み、伝送途中で画像情報が紛失して
も画像のブロック歪みや劣化を回避できるように画像信
号を符号化する画像符号化装置を提供する。
In view of the above-mentioned problems in the conventional image coding apparatus, the present invention is an image code for coding an image signal so that block distortion and deterioration of the image can be avoided even if the image information is lost during transmission. To provide a rectification device.

【0016】[0016]

【課題を解決するための手段】本発明は、第1画像信号
を記憶するメモリを有する画像符号化装置であって、入
力された第2画像信号を所定の時間だけ遅延させる遅延
手段と、遅延手段により遅延された第2画像信号を前処
理する第1処理手段と、メモリから読み出された第1画
像信号を前処理する第2処理手段と、第1処理手段によ
り前処理された第1画像信号及び第2処理手段により前
処理された第2画像信号を比較して画像誤差信号を出力
する比較手段と、比較手段から出力された画像誤差信号
を符号化する符号化手段とを備えている画像符号化装置
によって達成される。
SUMMARY OF THE INVENTION The present invention is an image coding apparatus having a memory for storing a first image signal, the delay unit delaying an input second image signal by a predetermined time, and a delay unit. First processing means for preprocessing the second image signal delayed by the means, second processing means for preprocessing the first image signal read from the memory, and first processing preprocessed by the first processing means. Comparing the image signal and the second image signal pre-processed by the second processing means to output an image error signal, and encoding means for encoding the image error signal output from the comparing means. Image coding apparatus.

【0017】[0017]

【作用】遅延手段は入力された画像信号を所定の時間遅
延させ、第1処理手段は遅延手段によって遅延された第
2画像信号を前処理し、第2処理手段はメモリから読み
出された第1画像信号を前処理し、比較手段は第1処理
手段で前処理された第2画像信号及び第2処理手段で前
処理された第1画像信号を比較して画像誤差信号を出力
し、符号化手段は比較手段から出力された画像誤差信号
を符号化する。
The delay means delays the input image signal by a predetermined time, the first processing means pre-processes the second image signal delayed by the delay means, and the second processing means reads the second image signal from the memory. One image signal is pre-processed, and the comparison means outputs the image error signal by comparing the second image signal pre-processed by the first processing means and the first image signal pre-processed by the second processing means, and outputs the code. The encoding means encodes the image error signal output from the comparing means.

【0018】[0018]

【実施例】以下、図面を参照して本発明の画像符号化装
置における実施例を詳述する。
Embodiments of the image coding apparatus of the present invention will be described below in detail with reference to the drawings.

【0019】図1は、本発明の画像符号化装置における
一実施例の構成を示す。
FIG. 1 shows the configuration of an embodiment of the image coding apparatus of the present invention.

【0020】図1の画像符号化装置は、遅延手段である
遅延部10、第1前処理手段である前処理部11、第2前処
理手段である前処理部12、比較手段である比較部13及び
符号化手段である誤差符号化部14、差分演算部15、直交
変換部16、符号化制御部17、量子化部18、逆量子化部1
9、逆直交変換部20、加算部21、フレ−ムメモリ部22及
び動き補償フレ−ム間予測部23によって構成されてい
る。
The image coding apparatus shown in FIG. 1 includes a delay unit 10 which is a delay unit, a preprocessing unit 11 which is a first preprocessing unit, a preprocessing unit 12 which is a second preprocessing unit, and a comparison unit which is a comparison unit. 13 and an error encoding unit 14, which is an encoding unit, a difference calculation unit 15, an orthogonal transformation unit 16, an encoding control unit 17, a quantization unit 18, and an inverse quantization unit 1.
9, an inverse orthogonal transformation unit 20, an addition unit 21, a frame memory unit 22, and a motion compensation inter-frame prediction unit 23.

【0021】次に、上記各構成部分の動作を説明する。Next, the operation of each of the above components will be described.

【0022】図1の画像符号化装置の主要部は、遅延部
10、前処理部11、前処理部12、比較部13及び誤差符号化
部14によって構成されている。
The main part of the image coding apparatus shown in FIG. 1 is a delay part.
It includes a preprocessing unit 11, a preprocessing unit 11, a preprocessing unit 12, a comparison unit 13, and an error coding unit 14.

【0023】遅延部10は、符号化処理の過程で生じる遅
延に相当する時間だけ第2画像信号である入力画像信号
を遅延させてその結果を前処理部11に出力する。
The delay unit 10 delays the input image signal, which is the second image signal, by the time corresponding to the delay caused in the process of the encoding process, and outputs the result to the preprocessing unit 11.

【0024】前処理部11は、遅延部10により遅延された
第2画像信号である画像信号の全部または一部に対して
前処理であるフィルタ処理や強調処理を行う。
The pre-processing unit 11 performs pre-processing such as filter processing and enhancement processing on all or part of the image signal which is the second image signal delayed by the delay unit 10.

【0025】前処理部12は、フレームメモリ部22から読
み出された第1画像信号である画像信号の全部または一
部に対して前処理であるフィルタ処理や強調処理を行
う。例えば、ブロック歪みは発生する箇所がブロックの
境界付近であるため、局所的な強調処理を行う。
The pre-processing unit 12 performs pre-processing such as filter processing and enhancement processing on all or part of the image signal which is the first image signal read from the frame memory unit 22. For example, since block distortion occurs near the block boundary, local enhancement processing is performed.

【0026】比較部13は、前処理部11,12で前処理され
た画像信号を比較して、符号化画像がどの程度劣化して
いるかを検出する。より具体的には、ブロック歪みが発
生する境界付近では前処理後の入力画像信号と、符号化
画像信号との差分演算を行い、その結果を量子化するこ
とにより、発生するブロック歪みに伴う劣化を検出す
る。また、量子化の際の量子化ステップサイズの違いに
よるブロックごとの画面の粗さの差による画像品質の劣
化や、量子化誤差に伴う画像品質の劣化に対しては、入
力画像信号と符号化画像信号との差分演算を画素単位で
行ってその誤差をブロック単位で累算し、どのブロック
の誤差が大きいかを検出する。
The comparison unit 13 compares the image signals preprocessed by the preprocessing units 11 and 12 to detect how much the coded image is deteriorated. More specifically, near the boundary where block distortion occurs, the difference between the pre-processed input image signal and the coded image signal is calculated, and the result is quantized. To detect. For the deterioration of the image quality due to the difference in the screen roughness of each block due to the difference in the quantization step size at the time of quantization and the deterioration of the image quality due to the quantization error, the input image signal and the encoding The difference calculation from the image signal is performed in pixel units, and the error is accumulated in block units to detect which block has a large error.

【0027】誤差符号化部14は上述した検出結果を変換
符号化した後、画像誤差信号として外部に出力する。
The error coding unit 14 transform-codes the above-mentioned detection result and then outputs it as an image error signal to the outside.

【0028】動き補償フレーム間予測部23及び差分演算
部15は、入力画像信号に基づいて画像フレームごとに動
き補償フレーム間予測を行う。
The motion-compensated inter-frame prediction unit 23 and the difference calculation unit 15 perform motion-compensated inter-frame prediction for each image frame based on the input image signal.

【0029】動き補償フレーム間予測部23は、動き補償
における動きの検出として、フレームメモリ部22に記憶
された1フレーム前の画像信号と入力画像信号とを所定
の大きさのブロックに分割し、入力画像信号のブロック
が1フレーム前の画像信号のどの部分から動いてきたも
のかを検出する。そして、その検出結果に基づいて、フ
レームメモリ部22に記憶されている1フレーム前に符号
化された画像信号を予測値として出力する。
The motion-compensated inter-frame prediction unit 23 divides the image signal of one frame before stored in the frame memory unit 22 and the input image signal into blocks of a predetermined size as motion detection in motion compensation, It is detected from which part of the image signal of the preceding frame the block of the input image signal has moved. Then, based on the detection result, the image signal coded one frame before stored in the frame memory unit 22 is output as a prediction value.

【0030】差分演算部15は、フレームメモリ部22から
出力された予測値と入力画像信号との差を算出してフレ
ーム間予測符号化の結果として予測誤差信号を出力す
る。
The difference calculator 15 calculates the difference between the predicted value output from the frame memory 22 and the input image signal, and outputs a prediction error signal as a result of interframe predictive coding.

【0031】直交変換部16は、差分演算部15から出力さ
れた予測誤差信号を直交変換し、量子化部18は直交変換
部16で直交変換して得られた直交変換係数を符号化制御
部17の制御に基づいて所定の量子化ステップサイズに量
子化して情報圧縮する。
The orthogonal transformation unit 16 orthogonally transforms the prediction error signal output from the difference calculation unit 15, and the quantization unit 18 encodes the orthogonal transformation coefficient obtained by the orthogonal transformation in the orthogonal transformation unit 16 into the coding control unit. Under the control of 17, the information is compressed by quantizing it into a predetermined quantization step size.

【0032】量子化部18は、量子化された変換係数を符
号化の結果として外部に出力すると共に、逆量子化部19
にも送る。
The quantizer 18 outputs the quantized transform coefficient to the outside as a result of encoding, and also the inverse quantizer 19
Also send.

【0033】逆量子化部19は、量子化部18で量子化され
た変換係数を逆量子化して変換係数を出力し、逆直交変
換部20は逆量子化部19から出力された変換係数を逆直交
変換して予測誤差信号を出力する。
The inverse quantizing unit 19 inversely quantizes the transform coefficient quantized by the quantizing unit 18 and outputs the transform coefficient, and the inverse orthogonal transform unit 20 outputs the transform coefficient output from the inverse quantizing unit 19. Inverse orthogonal transformation is performed and a prediction error signal is output.

【0034】加算部21は、逆直交変換部20から出力され
た予測誤差信号にフレ−ムメモリ部22から読み出された
予測値を加算して画像信号を生成する。生成された画像
信号は、フレ−ムメモリ部22に格納されて次のフレーム
の画像信号のフレーム間予測に使われる。
The adder 21 adds the prediction value read from the frame memory 22 to the prediction error signal output from the inverse orthogonal transformer 20 to generate an image signal. The generated image signal is stored in the frame memory unit 22 and used for inter-frame prediction of the image signal of the next frame.

【0035】次に、図2を参照して上述の処理を説明す
る。
Next, the above processing will be described with reference to FIG.

【0036】入力画像信号24はブロック25に分割され、
符号化ループで符号化されて、量子化部18(図1参照)
から外部に出力されると共に、符号化画像信号26として
フレームメモリ部22(図1参照)に格納される。この符
号化画像信号26は、伝送路での情報紛失が無い限り相手
側の装置で復元される画像信号と同じものでり、ブロッ
ク歪みなどが発生している。
The input image signal 24 is divided into blocks 25,
Encoded in the encoding loop, quantizer 18 (see FIG. 1)
Is output to the outside and is stored in the frame memory unit 22 (see FIG. 1) as the encoded image signal 26. The encoded image signal 26 is the same as the image signal restored by the device on the other side unless information is lost on the transmission path, and block distortion or the like has occurred.

【0037】符号化画像信号26は、前処理部12(図1参
照)によってブロック歪みなどが強調された画像信号27
となり、比較部13(図1参照)はこの画像信号27を入力
画像信号24と比較する。その比較結果によって、ブロッ
ク歪みの検出結果28が得られ、また、ブロックごとの誤
差の累算結果29が得られる。なお、累算結果29の斜線部
はそれぞれ異なる誤差を表す。これらの比較結果は、誤
差符号化部14(図1参照)で符号化されて外部に出力さ
れる。
The encoded image signal 26 is an image signal 27 in which block distortion and the like are emphasized by the preprocessing unit 12 (see FIG. 1).
Therefore, the comparison unit 13 (see FIG. 1) compares the image signal 27 with the input image signal 24. A block distortion detection result 28 is obtained from the comparison result, and an error accumulation result 29 for each block is obtained. The shaded areas of the accumulated result 29 represent different errors. These comparison results are encoded by the error encoding unit 14 (see FIG. 1) and output to the outside.

【0038】図3のフロ−チャ−トを参照して図2の処
理動作を詳述する。
The processing operation of FIG. 2 will be described in detail with reference to the flowchart of FIG.

【0039】まず、非優先セルに関して動作を説明す
る。
First, the operation of the non-priority cell will be described.

【0040】画像が入力され(ステップS1)、符号化
処理の過程で生じる遅延に相当する時間だけ入力画像信
号を遅延させ(ステップS2)、遅延された画像信号及
びフレームメモリ部22から読み出された画像信号の全部
または一部に対して、それぞれフィルタ処理や強調処理
などの前処理を行って(ステップS3)、ブロック歪み
の発生を検出し(ステップS4)、前処理された画像信
号の極性比較を行い(ステップS5)、同極性か否かを
検出し(ステップS6)、上記ステップS6でYESの
場合には、ブロック歪みがしきい値Vth(1)に等しいか
または小さいかを判断し(ステップS7)、上記ステッ
プS7でYESの場合には符号化を行わない。また、上
記ステップS7でNOの場合には境界誤差を量子化して
(ステップS8)、非優先セルを送信する。
An image is input (step S1), the input image signal is delayed by a time corresponding to the delay caused in the process of encoding (step S2), and the delayed image signal and the frame memory unit 22 are read. The pre-processing such as filter processing and enhancement processing is performed on all or part of the processed image signal (step S3) to detect the occurrence of block distortion (step S4), and the polarity of the pre-processed image signal is detected. Comparison is performed (step S5), it is detected whether or not the polarities are the same (step S6), and if YES in step S6, it is determined whether the block distortion is equal to or smaller than the threshold value V th (1). (Step S7), and if YES in step S7, the encoding is not performed. If NO in step S7, the boundary error is quantized (step S8), and the non-priority cell is transmitted.

【0041】他方、上記ステップS6でNOの場合に
は、ブロック歪みがしきい値Vth(2) に等しいかまたは
小さいかを判断し(ステップS9)、上記ステップS9
でYESの場合には符号化を行わない。また、上記ステ
ップS9でNOの場合には境界誤差を量子化して(ステ
ップS10)、非優先セルを送信する。
On the other hand, if NO in step S6, it is determined whether the block distortion is equal to or smaller than the threshold value V th (2) (step S9), and the step S9 is executed.
If YES at step, encoding is not performed. If NO in step S9, the boundary error is quantized (step S10), and the non-priority cell is transmitted.

【0042】上記巣ステップS3で、量子化の際の量子
化ステップサイズの違いによるブロックごとの画面の粗
さの差による画像品質の劣化や、量子化誤差に伴う画像
品質の劣化に対しては、入力画像信号と符号化画像信号
との差分演算を画素単位で行ってその誤差をブロック単
位で累算し(ステップS11)、どのブロックの誤差が大
きいかを検出し(ステップS12)、最大誤差がしきい値
th(3) に等しいかまたは小さいかを判断し(ステップ
S13)、上記ステップS13でYESの場合には符号化を
行わない。また、上記ステップS13でNOの場合には各
ブロックの累算誤差を量子化して(ステップS14)、符
号化するブロックを決定して(ステップS15)、非優先
セルを送信する。
In the nest step S3, with respect to the deterioration of the image quality due to the difference in the screen roughness for each block due to the difference in the quantization step size at the time of quantization and the deterioration in the image quality due to the quantization error, , The difference calculation between the input image signal and the encoded image signal is performed in pixel units, the error is accumulated in block units (step S11), which block has a large error is detected (step S12), and the maximum error is detected. Is equal to or smaller than the threshold value V th (3) (step S13), and if YES in step S13, the encoding is not performed. If NO in step S13, the accumulated error of each block is quantized (step S14), the block to be encoded is determined (step S15), and the non-priority cell is transmitted.

【0043】次に、優先セルに関する動作を説明する。Next, the operation related to the priority cell will be described.

【0044】入力画像信号に基づいて画像フレームごと
に動き補償フレーム間予測を行って(ステップS16)、
予測誤差信号を直交変換し(ステップS17)、直交変換
して得られた直交変換係数を所定の量子化ステップサイ
ズに量子化して情報圧縮して(ステップS18)、優先セ
ルとして外部に出力する。また、上記ステップS18で量
子化された変換係数を逆量子化して変換係数を出力し
(ステップS19)、変換係数を逆直交変換して予測誤差
信号を出力し(ステップS20)、予測誤差信号にフレ−
ムメモリ部22から読み出された予測値を加算して画像信
号を生成する(ステップS21)。
Motion-compensated interframe prediction is performed for each image frame based on the input image signal (step S16),
The prediction error signal is orthogonally transformed (step S17), the orthogonal transformation coefficient obtained by the orthogonal transformation is quantized into a predetermined quantization step size and information is compressed (step S18), and is output to the outside as a priority cell. Further, the transform coefficient quantized in the above step S18 is inversely quantized and the transform coefficient is output (step S19), the transform coefficient is subjected to inverse orthogonal transform and a prediction error signal is output (step S20), and the prediction error signal Frame
The prediction value read from the memory unit 22 is added to generate an image signal (step S21).

【0045】生成された画像信号は、上述したステップ
S4〜S8,S10のプロセスを経ると共に、上述したス
テップS11〜ステップS15のプロセスを経て、非優先セ
ルが出力される。
The generated image signal goes through the processes of steps S4 to S8 and S10 described above, and also goes through the processes of steps S11 to S15 described above to output non-priority cells.

【0046】上述したように本実施例の画像符号化装置
では、符号化された画像信号を出力するだけでなく、符
号化された画像の歪や劣化に関連した情報を含む画像誤
差信号をも出力する。従って、画像伝送後に画像信号を
復号するときに、画像誤差信号を用いることによってブ
ロック歪みや画像品質の劣化のない、元の信号(入力画
像信号)により忠実な画像信号を復元することができ
る。
As described above, the image coding apparatus according to the present embodiment not only outputs the coded image signal but also outputs the image error signal including the information related to the distortion and deterioration of the coded image. Output. Therefore, when the image signal is decoded after the image transmission, by using the image error signal, it is possible to restore a faithful image signal to the original signal (input image signal) without block distortion and deterioration of image quality.

【0047】また、上述した画像符号化装置によって符
号化された情報は、符号化された画像信号と、画像誤差
信号との2段階に階層化することができ、符号化された
画像信号を優先的に伝送すれば、情報の紛失が起こった
場合でも画像誤差信号だけが紛失することになり、情報
の紛失によってフレーム間予測が影響されない。
Further, the information coded by the above-mentioned image coding apparatus can be hierarchized in two stages of the coded image signal and the image error signal, and the coded image signal has priority. If the information is lost, only the image error signal is lost even if the information is lost, and the loss of information does not affect the inter-frame prediction.

【0048】[0048]

【発明の効果】本発明の画像符号化装置は、入力された
第2画像信号を所定の時間だけ遅延させる遅延手段と、
遅延手段により遅延された第2画像信号を前処理する第
1処理手段と、メモリから読み出された第1画像信号を
前処理する第2処理手段と、第1処理手段により前処理
された第1画像信号及び第2処理手段により前処理され
た第2画像信号を比較して画像誤差信号を出力する比較
手段と、比較手段から出力された画像誤差信号を符号化
する符号化手段とを備えているので、画像のブロック歪
や劣化が発生していない画像信号を伝送できかつ画像信
号を符号化された画像信号と画像誤差信号とに階層化し
て符号化された画像信号を優先的に出力でき、その結
果、情報の紛失が起こった場合でも画像誤差信号だけが
紛失してフレ−ム間予測に与える影響を無くすことがで
きる。
The image coding apparatus of the present invention comprises delay means for delaying the input second image signal by a predetermined time,
First processing means for preprocessing the second image signal delayed by the delay means, second processing means for preprocessing the first image signal read from the memory, and first processing means preprocessed by the first processing means. Comparing means for comparing the one image signal and the second image signal preprocessed by the second processing means to output an image error signal, and encoding means for encoding the image error signal output from the comparing means. Therefore, it is possible to transmit an image signal without image block distortion or deterioration, and the image signal is layered into an encoded image signal and an image error signal to output the encoded image signal with priority. As a result, even when information is lost, it is possible to eliminate the influence of only the image error signal on the inter-frame prediction.

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

【図1】本発明による画像符号化装置の一例を示すブロ
ック図である。
FIG. 1 is a block diagram showing an example of an image encoding device according to the present invention.

【図2】図1の画像符号化装置における処理を説明する
ための図である。
FIG. 2 is a diagram for explaining processing in the image encoding device in FIG.

【図3】図1の画像符号化装置の動作を説明するための
フロ−チャ−トである。
FIG. 3 is a flowchart for explaining the operation of the image coding apparatus in FIG.

【図4】従来の画像符号化装置の一例を示すブロック図
である。
FIG. 4 is a block diagram showing an example of a conventional image encoding device.

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

10 遅延部 11,12 前処理部 13 比較部 14 誤差符号化部 15 差分演算部 16 直交変換部 17 符号化制御部 18 量子化部 19 逆量子化部 20 逆直交変換部 21 加算部 22 フレームメモリ部 23 動き補償フレーム間予測部 10 Delay unit 11, 12 Pre-processing unit 13 Comparison unit 14 Error coding unit 15 Difference calculation unit 16 Orthogonal transformation unit 17 Coding control unit 18 Quantization unit 19 Inverse quantization unit 20 Inverse orthogonal transformation unit 21 Addition unit 22 Frame memory Part 23 Motion compensation interframe prediction unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 第1画像信号を記憶するメモリを有する
画像符号化装置であって、入力された第2画像信号を所
定の時間だけ遅延させる遅延手段と、前記遅延手段によ
り遅延された前記第2画像信号を前処理する第1処理手
段と、前記メモリから読み出された前記第1画像信号を
前処理する第2処理手段と、前記第1処理手段により前
処理された前記第1画像信号及び前記第2処理手段によ
り前処理された前記第2画像信号を比較して画像誤差信
号を出力する比較手段と、前記比較手段から出力された
前記画像誤差信号を符号化する符号化手段とを備えてい
ることを特徴とする画像符号化装置。
1. An image encoding apparatus having a memory for storing a first image signal, comprising: delay means for delaying an input second image signal by a predetermined time; and the delay means delayed by the delay means. First processing means for preprocessing two image signals, second processing means for preprocessing the first image signal read from the memory, and first image signal preprocessed by the first processing means And comparing means for comparing the second image signal preprocessed by the second processing means and outputting an image error signal, and encoding means for encoding the image error signal output from the comparing means. An image encoding device characterized by being provided.
JP19955291A 1991-08-08 1991-08-08 Image coding device Expired - Fee Related JP2792760B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19955291A JP2792760B2 (en) 1991-08-08 1991-08-08 Image coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19955291A JP2792760B2 (en) 1991-08-08 1991-08-08 Image coding device

Publications (2)

Publication Number Publication Date
JPH0549022A true JPH0549022A (en) 1993-02-26
JP2792760B2 JP2792760B2 (en) 1998-09-03

Family

ID=16409729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19955291A Expired - Fee Related JP2792760B2 (en) 1991-08-08 1991-08-08 Image coding device

Country Status (1)

Country Link
JP (1) JP2792760B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010140308A1 (en) * 2009-06-02 2010-12-09 株式会社日立製作所 Image encoding device, image decoding device, image encoding method, and image decoding method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010140308A1 (en) * 2009-06-02 2010-12-09 株式会社日立製作所 Image encoding device, image decoding device, image encoding method, and image decoding method
JP5181059B2 (en) * 2009-06-02 2013-04-10 株式会社日立製作所 Image encoding device, image decoding device, image encoding method, and image decoding method

Also Published As

Publication number Publication date
JP2792760B2 (en) 1998-09-03

Similar Documents

Publication Publication Date Title
US5418569A (en) Method and apparatus for predictive coding of moving images while adaptively changing the method in accordance with them
US6859558B2 (en) Method for eliminating blocking effect in compressed video signal
JP3025610B2 (en) Encoding method and apparatus
US7751631B2 (en) Bypass using sum of absolute transformed differences value (SATD) in a video coding process
JPH0556275A (en) Image coder and image decoder
JPH0379182A (en) Image encoding control system
JP2001519988A (en) System for extracting coding parameters from video data
EP0558259B1 (en) Video signal transmission
US5508745A (en) Apparatus for controlling a quantization level to be modified by a motion vector
JPH0468988A (en) High efficient coder for moving picture signal
JPH01228384A (en) Moving image coding system using area division
WO2000001158A1 (en) Encoder and encoding method
JP2792760B2 (en) Image coding device
JP2914607B2 (en) Image signal decoding device
JP3497664B2 (en) Stereoscopic image coding device
JPH04326690A (en) Moving image encoder/decoder
JP2916027B2 (en) Image coding device
US20060181650A1 (en) Encoding method and device
KR100234239B1 (en) Method and apparatus of quantizing for decreasing blocking effect
KR100595144B1 (en) An adaptive quantization algorithm for video coding
JPH02222388A (en) Moving picture encoding method
JPH07203442A (en) Digital transmitter
KR20040054749A (en) Compression
JP3168723B2 (en) Video signal encoding device
JP2620431B2 (en) Image coding device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees