JP3200108B2 - Image processing method and apparatus - Google Patents

Image processing method and apparatus

Info

Publication number
JP3200108B2
JP3200108B2 JP25778391A JP25778391A JP3200108B2 JP 3200108 B2 JP3200108 B2 JP 3200108B2 JP 25778391 A JP25778391 A JP 25778391A JP 25778391 A JP25778391 A JP 25778391A JP 3200108 B2 JP3200108 B2 JP 3200108B2
Authority
JP
Japan
Prior art keywords
block
error
screen
component
scene change
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 - Fee Related
Application number
JP25778391A
Other languages
Japanese (ja)
Other versions
JPH05103313A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP25778391A priority Critical patent/JP3200108B2/en
Publication of JPH05103313A publication Critical patent/JPH05103313A/en
Application granted granted Critical
Publication of JP3200108B2 publication Critical patent/JP3200108B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は画像情報処理方法及び装
置、特に各画面が夫々複数の画素よりなる複数のブロッ
クに分割された画像情報を処理する方法及び装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for processing image information, and more particularly to a method and apparatus for processing image information in which each screen is divided into a plurality of blocks each having a plurality of pixels.

【0002】[0002]

【従来の技術】従来より、映像信号の各画面を夫々複数
の画素よりなる複数のブロックに分割し、分割されたブ
ロック単位で画像を圧縮符号化する手法が知られてい
る。このような手法の中で、近年離散コサイン変換(以
下、DCTを記す)を用いて、各ブロックの各画素の振
幅値を2次元周波数成分に変換し、この2次元周波数成
分を可変長符号化する手法が注目されている。
2. Description of the Related Art Conventionally, there has been known a method of dividing each screen of a video signal into a plurality of blocks each including a plurality of pixels, and compressing and encoding an image in units of the divided blocks. Among such techniques, in recent years, the discrete cosine transform (hereinafter referred to as DCT) is used to convert the amplitude value of each pixel of each block into a two-dimensional frequency component, and the two-dimensional frequency component is subjected to variable-length coding. Attention is being paid to the method of doing so.

【0003】ところで、このようにブロック単位で符号
化を行なう装置において、符号誤りが発生した場合には
誤り訂正回路によってできる限りその訂正を行うが、も
し、訂正不能の符号誤りが発生した場合にはこの符号誤
りの発生した部分の画像を他の部分の画像に置き換える
誤り修正(補間)処理を行なわなければならない。
[0003] By the way, in such a device that performs encoding in units of blocks, when a code error occurs, the error is corrected as much as possible by an error correction circuit. Must perform an error correction (interpolation) process for replacing the image of the part where the code error has occurred with the image of another part.

【0004】このような補間処理としては、誤りの発生
した画素(ブロック)と同一の画面の他の画素(ブロッ
ク)にて、この誤りの発生した画素(ブロック)を置換
する、所謂フィールドもしくはフレーム内補間処理と、
誤りの発生した画素(ブロック)の前後の画面の他の画
素(ブロック)にて誤りの発生した画素(ブロック)を
置換する、所謂フィールドもしくはフレーム間補間処理
とが知られている。
[0004] As such interpolation processing, a so-called field or frame is used in which another pixel (block) on the same screen as the pixel (block) in which the error has occurred replaces the pixel (block) in which the error has occurred. Internal interpolation processing,
There is known a so-called field or inter-frame interpolation process in which a pixel (block) in which an error occurs is replaced with another pixel (block) in the screen before and after the pixel (block) in which the error occurs.

【0005】そして、これらのフィールドもしくはフレ
ーム間補間処理とフィールドもしくはフレーム内補間処
理とを適応的に使い分ける処理の従来より知られてい
る。
[0005] Processing for adaptively using these field or interframe interpolation processing and field or intraframe interpolation processing is conventionally known.

【0006】[0006]

【発明が解決しようとしている課題】ところで、上述の
如くブロック単位で符号化を行なう場合、各ブロック内
に誤り訂正不能な符号が発生した場合、当該ブロック全
体が復元不可能となる。ここで、一般に圧縮符号化を行
なうブロックは2次元に拡がりをもつので、隣接するブ
ロック間では画像の相関が薄くなりがちであり、フィー
ルドもしくはフレーム内での補間のみではある程度の画
質劣化を免れない。
When coding is performed in units of blocks as described above, if an error-correctable code occurs in each block, the entire block cannot be restored. Here, since a block to be subjected to compression coding generally has a two-dimensional spread, the correlation of an image tends to be weak between adjacent blocks, and a certain degree of image quality deterioration is inevitable only by interpolation within a field or a frame. .

【0007】一方、逆に例えば前画面の同一ブロックに
置換する、フィールドもしくはフレーム間補間では、あ
る程度の画質は期待できるが、画像に大きな動きがあっ
た場合、特にシーンチェンジの部分において、大きな画
質劣化が発生する。
On the other hand, in the case of field or inter-frame interpolation, for example, where the same block in the previous screen is replaced, a certain image quality can be expected. Deterioration occurs.

【0008】そこで、主にフィールドもしくはフレーム
間補間を行ない、画像に大きな動きがあった場合にのみ
フィールドもしくはフレーム内補間を行なう適応補間を
用いることが考えられる。
[0008] Therefore, it is conceivable to use adaptive interpolation which mainly performs field or inter-frame interpolation and performs field or intra-frame interpolation only when there is a large motion in an image.

【0009】しかしながら、上述のごとくブロック単位
での圧縮符号化を行なった場合に、各ブロックにおける
画像の動きを検出しようとすると、ブロック内の全ての
画素について画面間での比較を行なわねばならず、演算
に要する時間もしくはハードウエアを大きくせざるをえ
ない。
However, in the case where the compression encoding is performed in units of blocks as described above, if the motion of an image in each block is to be detected, all pixels in the block must be compared between screens. However, the time required for the operation or the hardware must be increased.

【0010】特に、上述の如きDCT変換を用いた可変
長圧縮を行ない画像情報を伝送した場合においては、そ
の復号に多くの処理過程を必要とし、その後にDCT逆
変換を施した後でないと上述の画像の動きが検出できな
い。したがって、画像に大きな動きがあったか否か検出
されるまでには非常に長い時間を要し、上述の如き適応
的な補間を行なう場合に障害となっていた。
In particular, when image information is transmitted by performing variable-length compression using the DCT transform as described above, a large number of processing steps are required for the decoding, and the above-described process must be performed after the DCT inverse transform is performed. The motion of the image cannot be detected. Therefore, it takes a very long time until it is detected whether or not a large motion has occurred in the image, which has been an obstacle to performing the adaptive interpolation as described above.

【0011】本発明は上述の如き背景下に、各画面が夫
々複数の画素よりなる複数のブロックに分割された画像
情報を処理する際に、画像の動きを検出する場合、その
処理時間を大幅に短縮し得る画像情報処理方法及び装置
を提供することを目的とする。
Under the above-described background, the present invention significantly reduces the processing time when detecting image motion when processing image information in which each screen is divided into a plurality of blocks each including a plurality of pixels. It is an object of the present invention to provide an image information processing method and apparatus which can be shortened.

【0012】[0012]

【課題を解決するための手段】かかる目的下において、
本発明の画像処理方法によれば、各画面がそれぞれ複数
の画素よりなる複数のブロックに分割された画像データ
を処理する方法であって、前記画像データ中の誤りを訂
正する誤り訂正処理と、前記誤り訂正処理が施された画
像データ中の各ブロックの直流成分の値とその前画面の
同一位置のブロックの直流成分との差分値を一画面分累
算し、この累算結果を所定の閾値と比較することにより
シーンチェンジの有無を判別する判別処理と、前記判別
処理によりシーンチェンジありと判断した場合に前記画
像データ中の訂正不能な誤りを含む誤りブロックを同一
画面の他のブロックにより補間すると共に、前記判別処
理によりシーンチェンジなしと判断した場合に前記誤り
ブロックを前画面のブロックにより補間する補間処理と
を行う。
Means for Solving the Problems Under such a purpose,
According to the image processing method of the present invention, a method of processing image data in which each screen is divided into a plurality of blocks each including a plurality of pixels, wherein an error correction process for correcting an error in the image data, The difference value between the DC component value of each block in the image data subjected to the error correction processing and the DC component of the block at the same position on the previous screen is accumulated for one screen, and this accumulation result is calculated as a predetermined value. A determination process of determining the presence or absence of a scene change by comparing with a threshold value, and an error block including an uncorrectable error in the image data when another scene change is determined by the determination process, using another block of the same screen. In addition to the interpolation, when it is determined that there is no scene change in the determination process, an interpolation process of interpolating the error block by a block on the previous screen is performed.

【0013】また、本発明の画像処理装置によれば、各
画面がそれぞれ複数の画素よりなる複数のブロックに分
割された画像データを処理する装置であって、前記画像
データを入力する入力手段と、前記入力データ中の誤り
を訂正する誤り訂正手段と、前記誤り訂正手段より出力
された画像データ中の各ブロックの直流成分の値とその
前画面の同一位置のブロックの直流成分との差分値を一
画面分累算し、この累算結果を所定の閾値と比較するこ
とによりシーンチェンジの有無を判別する判別手段と、
前記判別手段によりシーンチェンジありと判断された場
合に前記誤り訂正手段により訂正不能な誤りを含む誤り
ブロックを同一画面の他のブロックにより補間すると共
に、前記判別手段によりシーンチェンジなしと判断され
た場合に前記誤りブロックを前画面のブロックにより補
間する補間手段とを備える。
According to the image processing apparatus of the present invention, there is provided an apparatus for processing image data in which each screen is divided into a plurality of blocks each including a plurality of pixels, and an input means for inputting the image data. Error correction means for correcting an error in the input data; and a difference value between a DC component value of each block in the image data output from the error correction means and a DC component of a block at the same position on the previous screen. For one screen, and comparing the accumulation result with a predetermined threshold value to determine the presence or absence of a scene change;
An error block containing an uncorrectable error is interpolated by another block on the same screen when the scene change is judged by the judgment unit and another scene change is judged by the judgment unit; And interpolating means for interpolating the erroneous block with the block of the previous screen.

【0014】[0014]

【0015】[0015]

【作用】上述の如き画像情報処理方法においては、各ブ
ロックの直流成分の値(平均値)のみから画像の動きを
認識し得るので、ブロック単位での動き検出に係わるハ
ード量もしくは処理時間を軽減できる。また、特に処理
中に直流成分が抽出されるような変換を行なう処理にお
いては、ハードウエアの追加も殆どなく、且、処理時間
も大幅に短縮できる。
In the image information processing method as described above, since the motion of an image can be recognized only from the DC component value (average value) of each block, the amount of hardware or processing time involved in motion detection in block units is reduced. it can. In particular, in a process for performing a conversion such that a DC component is extracted during the process, hardware is hardly added, and the processing time can be greatly reduced.

【0016】[0016]

【実施例】以下、本発明の実施例について詳細に説明す
る。
Embodiments of the present invention will be described below in detail.

【0017】図1は本発明を適用した動画送受信装置の
構成を示すブロック図である。図中、11は動画像情報
を発生するビデオカメラ、12は送信側の入力端子、1
3はアナログ−デジタル(AD)変換器、14はDCT
変換器、15はDCT変換されたデータをDC成分とA
C成分に分離するスイッチ、26はランレングス符号
器、17はハフマン符号器、18はDPCM符号器、1
9はAC成分とDC成分を選択的に出力するスイッチ、
20は誤り訂正符号を形成付加する誤り訂正符号符号
器、21は送信側の出力端子である。
FIG. 1 is a block diagram showing a configuration of a moving picture transmitting / receiving apparatus to which the present invention is applied. In the figure, reference numeral 11 denotes a video camera for generating moving image information, 12 denotes an input terminal on the transmission side, 1
3 is an analog-digital (AD) converter, 14 is a DCT
A converter 15 converts the DCT-converted data into a DC component and A
A switch for separating into C components, 26 is a run-length encoder, 17 is a Huffman encoder, 18 is a DPCM encoder, 1
9 is a switch for selectively outputting an AC component and a DC component,
Reference numeral 20 denotes an error correction code encoder for forming and adding an error correction code, and reference numeral 21 denotes an output terminal on the transmission side.

【0018】22は衛星、電話線等の伝送路であり、こ
の伝送路22を介したデータが受信側の入力端子23に
入力される。
Reference numeral 22 denotes a transmission line such as a satellite or a telephone line. Data transmitted through the transmission line 22 is input to an input terminal 23 on the receiving side.

【0019】受信側において、24は上述の誤り訂正符
号を用いて符号誤りの訂正を行なう誤り訂正符号復号
器、25は伝送されてきたデータをDC成分とAC成分
とに分離するスイッチ、26はハフマン復号器、27は
ランレングス復号器、28はDPCM復号器、29はA
C成分とDC成分を選択的に出力するスイッチ、30は
1フレーム期間の遅延回路、31は減算回路、32は累
算回路、33は累算回路33の出力に応じて切り換えら
れるスイッチ、34は画面の垂直方向に1DCTブロッ
ク分(8水平走査線分)の期間の遅延回路、35は誤り
訂正符号復号器24からのエラーフラグにより切り換え
られるスイッチ、36は1フレーム期間の遅延回路、3
8はDCT復号器、39はデジタル−アナログ(DA)
変換器、40は受信側の出力端子、41は受信側端末と
してのモニタである。
On the receiving side, reference numeral 24 denotes an error correction code decoder for correcting a code error using the above-described error correction code; 25, a switch for separating transmitted data into a DC component and an AC component; Huffman decoder, 27 is a run-length decoder, 28 is a DPCM decoder, 29 is A
A switch for selectively outputting the C component and the DC component, 30 is a delay circuit for one frame period, 31 is a subtraction circuit, 32 is an accumulation circuit, 33 is a switch that can be switched according to the output of the accumulation circuit 33, and 34 is A delay circuit for one DCT block (eight horizontal scanning lines) in the vertical direction of the screen; 35, a switch that can be switched by an error flag from the error correction code decoder 24;
8 is a DCT decoder, 39 is a digital-analog (DA)
A converter, 40 is an output terminal on the receiving side, and 41 is a monitor as a receiving terminal.

【0020】以下、図1の装置の動作について説明す
る。
The operation of the apparatus shown in FIG. 1 will be described below.

【0021】ビデオカメラ11からの動画像信号は送信
機側の入力端子12を介して送信機に入力され、AD変
換器13にてデジタル信号に変換された後、DCT変換
器14に入力される。
A moving image signal from the video camera 11 is input to the transmitter via the input terminal 12 on the transmitter side, is converted into a digital signal by the AD converter 13, and then is input to the DCT converter 14. .

【0022】DCT変換器14では、AD変換器13か
らのデジタル動画情報の各画面を(8×8)の画素より
なるブロックに分割し、分割された各ブロックについて
DCT変換を施す。DCT変換は周知の様に(8×8)
の画素よりなるブロックに付いて、各画素の振幅値を
(8×8)の2次元周波数成分に変換するものであり、
可逆変換である。
The DCT converter 14 divides each screen of the digital moving image information from the AD converter 13 into blocks of (8 × 8) pixels, and performs DCT conversion on each of the divided blocks. DCT transform is known (8 × 8)
Is to convert the amplitude value of each pixel into a (8 × 8) two-dimensional frequency component for a block of pixels
It is a reversible transformation.

【0023】こうしてDCT変換されたデータ中、1つ
の周波数成分は所謂直流(DC)成分であり、各ブロッ
クの画素の振幅の平均値である。ここで、このDC成分
以外の周波数成分をAC成分とよぶことにすると、スイ
ッチ15はAC成分をA側端子を介してランレングス符
号器16に、DC成分をDPCM符号器18に夫々供給
する。
In the DCT-transformed data, one frequency component is a so-called direct current (DC) component, which is an average value of the amplitude of the pixels in each block. If the frequency components other than the DC component are referred to as AC components, the switch 15 supplies the AC component to the run-length encoder 16 and the DC component to the DPCM encoder 18 via the A-side terminal.

【0024】AC成分については、ランレングス符号器
16にて周知の如くジグザグスキャンによって0ラン長
が長くなる様配列変換され、適宜量子化された後ランレ
ングス符号化される。そして、ハフマン符号器17にお
いて、ハフマン符号化が施され、スイッチ19のA端子
に導かれる。
As is well known, the AC component is subjected to zigzag scan by the run-length encoder 16 to perform array conversion so that the 0-run length becomes longer, quantized as appropriate, and then run-length encoded. Then, in the Huffman encoder 17, Huffman encoding is performed, and the signal is guided to the A terminal of the switch 19.

【0025】一方、DC成分はDPCM符号化器18に
より隣接ブロック間の差分値が符号化され、スイッチ1
9のD端子に導かれる。
On the other hand, for the DC component, the difference value between adjacent blocks is encoded by the DPCM encoder 18 and the switch 1
9 to the D terminal.

【0026】ここで、スイッチ15及びスイッチ19の
動作について、図2、図3を用いて説明する。
Here, the operation of the switches 15 and 19 will be described with reference to FIGS.

【0027】図2は図1中のDCT変換器14からスイ
ッチ15に供給されるデータ列を時系列的に示す摸式図
であり、図中矢印55の部分にてスイッチ15が反転
し、DC成分をDPCM符号器18に、AC成分をA側
端子を介してランレングス符号器16に供給する。
FIG. 2 is a schematic diagram showing, in chronological order, a data sequence supplied from the DCT converter 14 to the switch 15 in FIG. 1. The switch 15 is inverted at the arrow 55 in FIG. The component is supplied to the DPCM encoder 18 and the AC component is supplied to the run-length encoder 16 via the A-side terminal.

【0028】一方、図3は図1中のスイッチ19から誤
り訂正符号符号器20に供給されるデータ列を時系列的
に示す摸式図であり、図中矢印56の部分にてスイッチ
19が反転する。図2と図3とで、DC成分に対するA
C成分の比が異なるのはAC成分のほうが圧縮率が高い
からである。
On the other hand, FIG. 3 is a schematic diagram showing the data sequence supplied from the switch 19 in FIG. 1 to the error correction encoder 20 in a time-series manner. Invert. FIGS. 2 and 3 show that A
The ratio of the C component is different because the AC component has a higher compression ratio.

【0029】スイッチ19により時系列化されたデータ
は、長い伝送路にて外乱により符号誤りが生じた場合に
もその復元が可能な様に、誤り訂正符号符号器20にて
誤り訂正符号が形成付加され、この誤り訂正符号単位で
出力端子21に導かれ、送信出力として伝送路22に送
出される。
An error correction code is formed by an error correction code encoder 20 so that the data serialized by the switch 19 can be restored even if a code error occurs due to disturbance in a long transmission path. The signal is added to the output terminal 21 in error correction code units, and sent to the transmission line 22 as a transmission output.

【0030】送信機の出力端子21から受信機の入力端
子23には伝送路を介して信号が授受されることになる
が、この伝送路としては、衛星、光ファイバーケーブ
ル、電話回線等様々なものが考えられる。
Signals are transmitted and received from the output terminal 21 of the transmitter to the input terminal 23 of the receiver via a transmission line. The transmission line may be any of various types such as a satellite, an optical fiber cable, and a telephone line. Can be considered.

【0031】受信機の入力端子23を介して入力された
伝送データ列は誤り訂正符号復号器24において、誤り
訂正符号符号器20にて形成付加された誤り訂正符号を
用いて、符号誤りの訂正が行われる。この、誤り訂正符
号復号器24において訂正符号な誤りが発生した場合に
は、エラーフラグEFが「1」とされる。このエラーフ
ラグEFは誤りのない場合及び誤りが訂正された場合に
は「0」であり、後述するスイッチ35の制御信号とし
て利用される。
The transmission data string input through the input terminal 23 of the receiver is corrected by an error correction code decoder 24 using an error correction code formed by the error correction code encoder 20 to correct a code error. Is performed. When a correction code error occurs in the error correction code decoder 24, the error flag EF is set to "1". The error flag EF is “0” when there is no error or when the error is corrected, and is used as a control signal of the switch 35 described later.

【0032】誤り訂正符号復号器24から出力されたデ
ータ列は、スイッチ25によりDC成分と、AC成分に
分離される。この、スイッチ25を切り換えるタイミン
グは図3の矢印56に対応しており、スイッチ19の動
作と対応する。
The data string output from the error correction code decoder 24 is separated by a switch 25 into a DC component and an AC component. The timing of switching the switch 25 corresponds to the arrow 56 in FIG. 3 and corresponds to the operation of the switch 19.

【0033】このスイッチ25にて抽出されたAC成分
は、ハフマン復号器26にてハフマン復号が施され、更
にランレングス復号器27にてランレングス復号され、
逆量子化、前述のジグザグスキャンに対応する配列の逆
変換等が施された後、スイッチ29のA端子に供給され
る。
The AC component extracted by the switch 25 is subjected to Huffman decoding by a Huffman decoder 26, and is further run-length decoded by a run-length decoder 27.
After being subjected to inverse quantization, inverse transformation of an array corresponding to the above-described zigzag scan, and the like, the resultant signal is supplied to the A terminal of the switch 29.

【0034】一方、スイッチ25にて抽出されたDC成
分はDPCM復号器28にてDPCM復号が施され、ス
イッチ29のB端子に供給される。スイッチ29は図2
の矢印55のタイミングでスイッチングされ、時系列化
されて図2に示すようなデータ列に戻される。
On the other hand, the DC component extracted by the switch 25 is subjected to DPCM decoding by the DPCM decoder 28 and supplied to the B terminal of the switch 29. The switch 29 is shown in FIG.
Are switched at the timing indicated by the arrow 55, and are chronologically returned to a data string as shown in FIG.

【0035】DPCM復号器28から出力されたDC成
分は減算器31及び1フレーム期間の遅延線(1FD
L)30に供給され、時間的に隣接するフレームの同一
ブロックのDC成分の差分値が減算器30から得られ
る。そして、この差分値は累算器32に供給され、1フ
レーム分合計される。
The DC component output from the DPCM decoder 28 is supplied to a subtracter 31 and a delay line (1FD) for one frame period.
L) 30 and the difference value of the DC component of the same block in the temporally adjacent frame is obtained from the subtractor 30. Then, this difference value is supplied to the accumulator 32 and is summed up for one frame.

【0036】DCT変換されて得たDC成分は各ブロッ
ク内の全画素の振幅値の平均値であるため、各フレーム
における画像の概略はこのDC成分によって知ることが
できる。従って、上述の減算器30の出力するDC成分
の差分値が大きい場合には、2つのフレーム間でシーン
チェンジがなされているか、画像の動きが大であるかの
何れかであると考えられる。この2通りの場合の内画像
の動きが大である場合には主に背景が変化せず、主被写
体のみが変化する場合が殆どであり、フレーム間でDC
成分の差分が大となるブロックは少ない。これに対し、
シーンチェンジの場合には画面全体が直前の画面と無関
係な別の画面に変化してしまうので、殆どのブロックに
ついてフレーム間でDC成分の差分が大となる。
Since the DC component obtained by the DCT conversion is an average value of the amplitude values of all the pixels in each block, an outline of an image in each frame can be known from the DC component. Therefore, when the difference value of the DC component output from the subtracter 30 is large, it is considered that either a scene change has been made between two frames or the motion of the image is large. When the movement of the inner image in these two cases is large, the background does not change mainly and only the main subject changes in most cases.
There are few blocks in which the difference between components is large. In contrast,
In the case of a scene change, the entire screen changes to another screen irrelevant to the immediately preceding screen, so that the DC component difference between frames becomes large for most blocks.

【0037】従って、画面上の全ブロックの合計値が所
定の閾値より大きい場合にはシーンチェンジが発生した
と判断することができる。この原則を利用するならば、
累算器32で演算された合計値が所定の閾値以下か否か
によって、シーンチェンジの発生が検出できる。
Therefore, when the total value of all blocks on the screen is larger than the predetermined threshold value, it can be determined that a scene change has occurred. If you use this principle,
The occurrence of a scene change can be detected based on whether or not the total value calculated by the accumulator 32 is equal to or less than a predetermined threshold.

【0038】ここで、この1FDL30,減算器31,
累算器32にて行われる演算を数式で表現すると、Y=
Σ{D(X)−X}となる。ここで、XはDCTブロッ
クのDC成分、Dは1フレームの遅延を表現したもの、
Σは1フレーム分の合計を取ることを示す。
Here, the 1FDL 30, the subtractor 31,
When the operation performed by the accumulator 32 is expressed by a mathematical expression, Y =
{D (X) -X}. Here, X is the DC component of the DCT block, D is the delay of one frame,
Σ indicates that a total of one frame is taken.

【0039】累算器32では、上記閾値との比較結果で
ある2値信号が出力され、スイッチ33の制御信号とさ
れる。即ち、この累算器32の出力がシーンチェンジで
あることを示すバイナリ値である場合にはスイッチ33
により8水平走査期間遅延線(8HDL)34を用いた
フレーム内補間信号がスイッチ35に供給され、累算器
32の出力がシーンチェンジではないことを示すバイナ
リ値である場合にはスイッチ33により1FDL36を
用いたフレーム間補間信号がスイッチ35に供給される
ことになる。
The accumulator 32 outputs a binary signal, which is a result of comparison with the threshold, and serves as a control signal for the switch 33. That is, if the output of the accumulator 32 is a binary value indicating a scene change, the switch 33
, An intra-frame interpolation signal using an 8 horizontal scanning period delay line (8HDL) 34 is supplied to a switch 35, and if the output of the accumulator 32 is a binary value indicating that it is not a scene change, the switch 33 outputs a 1FDL 36. Is supplied to the switch 35.

【0040】フレーム内の補間方法としては種々の方法
が考えられるが、本実施例では図4に示すように、画面
の垂直方向について隣接するブロックにより、訂正不能
な誤りの発生したブロック(図中斜線で示す)を補間す
る。図4は1枚の画面上におけるDCTブロックの配置
を模式的に示している。DCTブロックの大きさは(8
×8)画素分であるので、画面上で横一列分のブロック
が伝送される期間は8水平走査期間であり、スイッチ3
5にスイッチ29の出力から直接供給されているブロッ
クに対して、8HDL34を介して供給されるブロック
は画面上で1つ上に位置するブロックである。従って、
スイッチ33が8HDL34側に接続され、スイッチ3
5がスイッチ33側に接続されることによってフレーム
内補間がなされることになる。
Various methods are conceivable as an interpolation method in a frame. In this embodiment, as shown in FIG. 4, a block in which an uncorrectable error has occurred due to an adjacent block in the vertical direction of the screen (see FIG. 4). (Indicated by diagonal lines). FIG. 4 schematically shows the arrangement of DCT blocks on one screen. The size of the DCT block is (8
× 8) Since pixels are used, the period during which one horizontal row of blocks is transmitted on the screen is eight horizontal scanning periods.
The block supplied via 8HDL 34 to the block directly supplied from the output of the switch 29 to the block 5 is the block located one level higher on the screen. Therefore,
The switch 33 is connected to the 8HDL 34 side, and the switch 3
5 is connected to the switch 33 side, so that intra-frame interpolation is performed.

【0041】フレーム間の補間方法として、本実施例で
は図3に示すように訂正不能な誤りの発生したブロック
(図中斜線で示す)を直前の画面の同一位置のブロック
により補間する。図5は時間的に連続する複数枚の画面
上におけるDCTブロックの配置を模式的に示してい
る。ここで、スイッチ35にスイッチ29の出力から直
接供給されているブロックに対して、1FDL36を介
して供給されるブロックは直前の画面上で同一位置にあ
るブロックである。従って、スイッチ33が1FDL3
4側に接続され、スイッチ35がスイッチ33側に接続
されることによってフレーム間補間がなされることにな
る。
As a method of inter-frame interpolation, in this embodiment, as shown in FIG. 3, a block in which an uncorrectable error has occurred (shown by hatching in the figure) is interpolated by a block at the same position on the immediately preceding screen. FIG. 5 schematically shows the arrangement of DCT blocks on a plurality of temporally continuous screens. Here, the block supplied via the 1FDL 36 to the block directly supplied from the output of the switch 29 to the switch 35 is the block located at the same position on the immediately preceding screen. Therefore, the switch 33 is set to 1FDL3
4 and the switch 35 is connected to the switch 33, so that inter-frame interpolation is performed.

【0042】このように、訂正不能な誤りの発生したブ
ロックが発生した場合、その画面でシーンチェンジがな
されている時にはフレーム内補間、そうでない場合には
フレーム間補間がそれぞれ施されることになる。
As described above, when a block in which an uncorrectable error occurs occurs, intra-frame interpolation is performed when a scene change is made on the screen, and inter-frame interpolation is performed otherwise. .

【0043】このように適応的に補間が施されたデータ
列は、スイッチ35からDCT逆変換器38の供給さ
れ、DCT逆変換により周波数成分の値から振幅値に戻
され、DA変換器39にてアナログ信号に変換されて、
受信側の出力端子40に出力され、受信機側の端末であ
るモニタ41に供給されることになる。
The data string adaptively interpolated in this way is supplied from the switch 35 to the DCT inverse converter 38, and is converted from the frequency component value to the amplitude value by the DCT inverse transform. Is converted to an analog signal
The signal is output to the output terminal 40 on the receiving side and supplied to the monitor 41 which is the terminal on the receiver side.

【0044】以上のように、本実施例においては各ブロ
ックのDC成分の値のみからシーンチェンジであるか否
かの判定を行い、フレーム間補間とフレーム内補間とを
適応的に用いるようにしているので、DCT逆変換を行
う前の少ないデータによって確実にシーンチェンジの判
定ができ、演算処理に要する時間が短縮でき、ハード規
模も小さくできると共に良好な補間を可能としている。
また、このDC成分は符号化の際に得られるものである
ので、このDC成分の算出に別途回路や処理時間を費や
すことはない。特に、本実施例ではAC成分については
処理時間の長いランレングス符号化やハフマン符号化を
行い、DC成分について比較的簡単なDPCM符号化を
行っているのでこれらの処理時間の差を有効に用いるこ
とができ、実質的には上記シーンチェンジに必要な処理
時間は0とすることができている。
As described above, in the present embodiment, it is determined whether or not a scene change has occurred from only the DC component value of each block, and inter-frame interpolation and intra-frame interpolation are adaptively used. Therefore, a scene change can be reliably determined with a small amount of data before performing the DCT inverse transform, the time required for the arithmetic processing can be reduced, the hardware scale can be reduced, and good interpolation can be performed.
Further, since this DC component is obtained at the time of encoding, no additional circuit or processing time is required for calculating this DC component. In particular, in the present embodiment, run-length coding or Huffman coding with a long processing time is performed for the AC component, and relatively simple DPCM coding is performed for the DC component. Therefore, the difference between these processing times is effectively used. The processing time required for the scene change can be substantially reduced to zero.

【0045】次に、本発明の他の実施例である動画送受
信装置について説明する。
Next, a moving image transmitting / receiving apparatus according to another embodiment of the present invention will be described.

【0046】図6はこの本発明の他の実施例の動画送受
信装置の構成を示すブロック図であり、図中図1と同様
の構成要件については同一番号を付し、詳細な説明は省
略する。
FIG. 6 is a block diagram showing the configuration of a moving picture transmitting / receiving apparatus according to another embodiment of the present invention. In the drawing, the same components as those in FIG. 1 are denoted by the same reference numerals, and detailed description is omitted. .

【0047】図6の装置においては、送信側にてシーン
チェンジを検出する。即ち、スイッチ15により分離さ
れたAC成分とDC成分のうち、DC成分を1FDL5
4及び減算器52の供給することによって、この減算器
52から隣接フレームで同一位置にあるブロックのDC
成分の差を算出する。そして、この減算器52の出力を
累算器53にて1フレーム分合計し、所定の閾値と比較
することによりシーンチェンジの発生の有無を検出し、
2値データとして出力している。
In the apparatus shown in FIG. 6, a scene change is detected on the transmitting side. That is, of the AC component and the DC component separated by the switch 15, the DC component is
4 and the subtractor 52, the DC of the block located at the same position in the adjacent frame is supplied from the subtractor 52.
Calculate the difference between the components. Then, the output of the subtracter 52 is summed for one frame by the accumulator 53, and is compared with a predetermined threshold to detect the presence or absence of a scene change.
It is output as binary data.

【0048】累算器53から出力された2値データは動
き情報付加回路50に供給され、シーンチェンジの有無
を示す動き情報をデータ列中の所定の位置、例えば各フ
レームの先頭位置に付加する。
The binary data output from the accumulator 53 is supplied to a motion information adding circuit 50, and motion information indicating the presence or absence of a scene change is added to a predetermined position in the data string, for example, a head position of each frame. .

【0049】受信側には、動き情報抽出回路51を設
け、該回路51にて誤り訂正符号復号器24の出力する
データ列から上記動き情報を抽出する。該回路51はこ
の動き情報に従う2値データをスイッチ33に供給し、
前述の実施例と同様にシーンチェンジの部分においては
フレーム内補間が行われ、それ以外の部分ではフレーム
間補間が行われるように構成している。
On the receiving side, a motion information extraction circuit 51 is provided. The circuit 51 extracts the motion information from the data string output from the error correction code decoder 24. The circuit 51 supplies binary data according to the motion information to the switch 33,
As in the above-described embodiment, the configuration is such that intra-frame interpolation is performed in a scene change portion, and inter-frame interpolation is performed in other portions.

【0050】図6の実施例においても、図1の実施例と
同様の動画像の復元が可能である。
In the embodiment shown in FIG. 6, it is possible to restore a moving image as in the embodiment shown in FIG.

【0051】また、この図6の実施例においても、送信
側で処理時間を必要としないDC成分を用いて動き情報
を形成しているので、処理時間やハード規模の点で有利
である。更に、送信側での動き情報の形成は、AC成分
をランレングス符号化したりハフマン符号化したりする
間に行えるので、実質的に処理時間が全く増加すること
はない。
Also, in the embodiment of FIG. 6, since the motion information is formed by using the DC component which does not require the processing time on the transmitting side, it is advantageous in terms of the processing time and the hardware scale. Furthermore, since the formation of motion information on the transmission side can be performed during run-length coding or Huffman coding of the AC component, the processing time does not substantially increase at all.

【0052】更に、本実施例においてはこの種のシステ
ムを普及するに際し、多数の装置が製造される可能性の
高い受信機側の構成を簡略化でき、この点で図1の実施
例に比べて有利である。
Further, in this embodiment, when this type of system is popularized, the configuration of the receiver side where a large number of devices are likely to be manufactured can be simplified, and in this respect, compared with the embodiment of FIG. It is advantageous.

【0053】[0053]

【発明の効果】以上説明したように、本発明によれば、
各ブロックの直流成分の画面間の差分値を一画面分累算
し、この累算結果に基づいてシーンチェンジの有無を判
別しているので、シーンチェンジの判別にかかわるバー
ド量もしくは処理時間を軽減できる。
As described above, according to the present invention,
The difference value between the DC component screens of each block is accumulated for one screen, and the presence / absence of a scene change is determined based on the result of this accumulation, reducing the amount of birds or processing time involved in determining a scene change. it can.

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

【図1】本発明の一実施例としての動画像送受信装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a moving image transmitting / receiving apparatus as one embodiment of the present invention.

【図2】図1中のDCT変換器から出力給されるデータ
列を時系列的に示す摸式図である。
FIG. 2 is a schematic diagram showing a data sequence output and supplied from a DCT converter in FIG. 1 in a time-series manner.

【図3】図1中の誤り訂正符号符号器に供給されるデー
タ列を時系列的に示す摸式図である。
FIG. 3 is a schematic diagram showing a data sequence supplied to the error correction code encoder in FIG. 1 in time series.

【図4】図1の装置におけるフレーム内の補間方法を説
明するための模式図である。
FIG. 4 is a schematic diagram for explaining an interpolation method in a frame in the apparatus of FIG. 1;

【図5】図1の装置におけるフレーム間の補間方法を説
明するための模式図である。
FIG. 5 is a schematic diagram for explaining an inter-frame interpolation method in the apparatus of FIG. 1;

【図6】本発明の他の実施例としての動画像送受信装置
の構成を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of a moving image transmitting / receiving apparatus as another embodiment of the present invention.

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

14 DCT変換器 15,19,25,29,33,35 スイッチ 16 ランレングス符号器 17 ハフマン符号器 18 DPCM符号器 20 誤り訂正符号符号器 24 誤り訂正符号復号器 26 ハフマン復号器 27 ランレングス復号器 28 DPCM復号器 30,36,54 1フレーム期間遅延線 31,52 減算器 32,53 累算器 34 8水平走査期間遅延線 38 DCT逆変換器 14 DCT Transformer 15, 19, 25, 29, 33, 35 Switch 16 Run Length Encoder 17 Huffman Encoder 18 DPCM Encoder 20 Error Correction Encoder 24 Error Correction Encoder Decoder 26 Huffman Decoder 27 Run Length Decoder 28 DPCM decoder 30, 36, 54 One frame period delay line 31, 52 Subtractor 32, 53 Accumulator 34 8 Horizontal scanning period delay line 38 DCT inverse transformer

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 H04N 1/41 - 1/419 G06T 9/00 Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 7/ 24-7/68 H04N 1/41-1/419 G06T 9/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 各画面がそれぞれ複数の画素よりなる複
数のブロックに分割された画像データを処理する方法で
あって、 前記画像データ中の誤りを訂正する誤り訂正処理と、 前記誤り訂正処理が施された画像データ中の各ブロック
の直流成分の値とその前画面の同一位置のブロックの直
流成分との差分値を一画面分累算し、この累算結果を所
定の閾値と比較することによりシーンチェンジの有無を
判別する判別処理と、 前記判別処理によりシーンチェンジありと判断した場合
に前記画像データ中の訂正不能な誤りを含む誤りブロッ
クを同一画面の他のブロックにより補間すると共に、前
記判別処理によりシーンチェンジなしと判断した場合に
前記誤りブロックを前画面のブロックにより補間する補
間処理とを備える画像処理方法。
1. A method for processing image data in which each screen is divided into a plurality of blocks each including a plurality of pixels, wherein: an error correction process for correcting an error in the image data; The difference value between the DC component value of each block in the applied image data and the DC component of the block at the same position on the previous screen is accumulated for one screen, and the accumulation result is compared with a predetermined threshold value. A discriminating process for discriminating the presence or absence of a scene change, and interpolating an error block including an uncorrectable error in the image data with another block on the same screen when it is determined that a scene change is detected by the discriminating process, An interpolation process for interpolating the error block with a block on the previous screen when it is determined by the determination process that there is no scene change.
【請求項2】 各画面がそれぞれ複数の画素よりなる複
数のブロックに分割された画像データを処理する装置で
あって、 前記画像データを入力する入力手段と、 前記入力データ中の誤りを訂正する誤り訂正手段と、 前記誤り訂正手段より出力された画像データ中の各ブロ
ックの直流成分の値とその前画面の同一位置のブロック
の直流成分との差分値を一画面分累算し、この累算結果
を所定の閾値と比較することによりシーンチェンジの有
無を判別する判別手段と、 前記判別手段によりシーンチェンジありと判断された場
合に前記誤り訂正手段により訂正不能な誤りを含む誤り
ブロックを同一画面の他のブロックにより補間すると共
に、前記判別手段によりシーンチェンジなしと判断され
た場合に前記誤りブロックを前画面のブロックにより補
間する補間手段とを備える画像処理装置。
2. An apparatus for processing image data in which each screen is divided into a plurality of blocks each including a plurality of pixels, comprising: input means for inputting the image data; and correcting an error in the input data. Error correction means, and accumulates a difference value between a DC component value of each block in the image data output from the error correction means and a DC component of a block at the same position on the previous screen for one screen, and A determination unit that determines the presence or absence of a scene change by comparing the calculation result with a predetermined threshold; and an error block including an error that cannot be corrected by the error correction unit when the determination unit determines that a scene change has occurred. Interpolation is performed by other blocks on the screen, and when the determination unit determines that there is no scene change, the error block is replaced by the block on the previous screen. Image processing apparatus comprising an interpolation means for between.
JP25778391A 1991-10-04 1991-10-04 Image processing method and apparatus Expired - Fee Related JP3200108B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25778391A JP3200108B2 (en) 1991-10-04 1991-10-04 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25778391A JP3200108B2 (en) 1991-10-04 1991-10-04 Image processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH05103313A JPH05103313A (en) 1993-04-23
JP3200108B2 true JP3200108B2 (en) 2001-08-20

Family

ID=17311045

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25778391A Expired - Fee Related JP3200108B2 (en) 1991-10-04 1991-10-04 Image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3200108B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6128339A (en) * 1997-02-13 2000-10-03 Samsung Electronics Co., Ltd. Apparatus and method for masking video data errors
US6160918A (en) * 1997-10-02 2000-12-12 At&T Corp. Method and apparatus for fast image compression
GB2362533A (en) * 2000-05-15 2001-11-21 Nokia Mobile Phones Ltd Encoding a video signal with an indicator of the type of error concealment used
JP2003009155A (en) 2001-06-19 2003-01-10 Sanyo Electric Co Ltd Image coding and decoding method and apparatus therefor
JP4531058B2 (en) * 2004-10-29 2010-08-25 シャープ株式会社 Video decoding device
JP4756594B2 (en) * 2006-03-23 2011-08-24 パイオニア株式会社 Image decoding apparatus and method, and computer program

Also Published As

Publication number Publication date
JPH05103313A (en) 1993-04-23

Similar Documents

Publication Publication Date Title
JP3933718B2 (en) System for processing signals representing images
US5886743A (en) Object-by information coding apparatus and method thereof for MPEG-4 picture instrument
US6052814A (en) Coding/decoding apparatus
JP3302939B2 (en) Video signal decompressor for independently compressed even and odd field data
JP2624087B2 (en) Video signal decoding method
US5589884A (en) Adaptive quantization controlled by scene change detection
US6748114B1 (en) Moving picture encoding method and moving picture encoding apparatus
WO1999063747A2 (en) System for detecting redundant images in a video sequence
JP3200108B2 (en) Image processing method and apparatus
JPH03167985A (en) High efficiency coding device
JP4004597B2 (en) Video signal error concealment device
KR100198986B1 (en) Motion compensation apparatus for improving a blocking effect
JP2840678B2 (en) High efficiency coding device
JP2629409B2 (en) Motion compensated prediction interframe coding device
JPH07154825A (en) Image transmitter
JPH047152B2 (en)
JP2830112B2 (en) High efficiency coding device
KR100229794B1 (en) Image decoder having function for restructuring error of motion vector
JP3507042B2 (en) Video compression device
JP2832949B2 (en) High-efficiency code decoding device
JP2629997B2 (en) Motion compensated interframe coding device
JP3168723B2 (en) Video signal encoding device
JP2961828B2 (en) Image data decoding apparatus and decoding method
JPH06105299A (en) Dynamic image compressor
JPH0461582A (en) Transmission code error check system in inter-frame coding

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010605

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080615

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090615

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090615

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100615

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110615

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees