JPH1141605A - Image coder and image detector - Google Patents

Image coder and image detector

Info

Publication number
JPH1141605A
JPH1141605A JP9191695A JP19169597A JPH1141605A JP H1141605 A JPH1141605 A JP H1141605A JP 9191695 A JP9191695 A JP 9191695A JP 19169597 A JP19169597 A JP 19169597A JP H1141605 A JPH1141605 A JP H1141605A
Authority
JP
Japan
Prior art keywords
memory
reference image
image
frame memory
input
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.)
Pending
Application number
JP9191695A
Other languages
Japanese (ja)
Inventor
Tsukasa Kimura
司 木村
Yasuhiro Tomita
靖浩 富田
Hideaki Kimata
英明 木全
Tadatsugu Ichikawa
忠嗣 市川
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP9191695A priority Critical patent/JPH1141605A/en
Publication of JPH1141605A publication Critical patent/JPH1141605A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image coder and image decode in which undesired consumption of memory capacity is prevented in the case of not using a reference image. SOLUTION: In the case that a memory output means 104 outputs a reference image, a coding section 101 substrates an input image from a reference image to generate a bit row and it is fed to an image decoder and also to a local decoding part 102. The local decoding part 102 adds the bit row to the reference image to generate the reference image. On the contrary, in the case that the memory output means 104 outputs no reference image, the input image and the reference image are not substrated but a bit row is generated and outputted, but no reference image is generated. In the case of processing a succeeding input image and the memory output means 104 outputs a reference image, the frame memory 103 stores the reference image in precedence over the output. In the case that no reference image is outputted on the contrary, a memory delete means 106 deletes contents of the frame memory 103. The above control is conducted by a coding control section 107.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像を符号化しビ
ット列を生成する画像符号化装置、およびその画像を符
号化して生成したビット列を入力し復号して復号画像を
生成する画像復号装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding device for encoding an image to generate a bit sequence, and an image decoding device for inputting and decoding a bit sequence generated by encoding the image to generate a decoded image. It is.

【0002】[0002]

【従来の技術】画像を符号化するための代表的な方式
に、フレーム間差分符号化方式がある。これは、一般的
に入力画像に対し直前の画像との間で減算を行い、その
差分情報のみを符号化してビット列を生成するものであ
る。このようなフレーム間差分符号化方式を用いる一般
的な従来の画像符号化装置では、現在の入力画像を符号
化した後、次の入力画像を符号化する際に、現在の画像
と減算を行うことを可能にするために、現在の入力画像
を符号化して生成したビット列に、直前の画像との間で
加算を行い局所復号することにより、参照画像を生成
し、フレームメモリに記憶しておき、次の入力画像を符
号化する際に出力するようにしていた。
2. Description of the Related Art A typical method for encoding an image is an inter-frame difference encoding method. This generally involves subtracting an input image from the immediately preceding image and encoding only the difference information to generate a bit string. In a general conventional image encoding device using such an inter-frame differential encoding method, after encoding a current input image, when encoding the next input image, subtraction from the current image is performed. In order to make this possible, a reference image is generated by adding a bit sequence generated by encoding the current input image to the immediately preceding image and performing local decoding, thereby storing the reference image in the frame memory. , When encoding the next input image.

【0003】また、入力画像に対し直前の画像またはそ
れ以前の画像との間で減算を行うようなフレーム間差分
符号化方式もある。このようなフレーム間差分符号化方
式を用いる従来の画像符号化装置では、現在の入力画像
を符号化した後、次の入力画像を符号化する際に、任意
の参照画像と減算を行うことを可能にするために、現在
または現在以前に生成した複数の参照画像をフレームメ
モリに記憶しておき、次の入力画像を符号化する際に使
用する参照画像を一つ選択して出力するようにしてい
た。
[0003] There is also an inter-frame difference encoding system in which an input image is subtracted from an immediately preceding image or an earlier image. In a conventional image encoding apparatus using such an inter-frame differential encoding method, after encoding a current input image, when encoding the next input image, subtraction from an arbitrary reference image is performed. In order to enable this, a plurality of reference images currently or previously generated are stored in the frame memory, and one reference image to be used when encoding the next input image is selected and output. I was

【0004】一方、上記したように、入力画像に対し直
前の画像との間で減算を行い、その差分情報のみを符号
化してビット列を生成する代表的なフレーム間差分符号
化方式を用いて画像を符号化して生成したビット列に対
し、復号して復号画像を生成するために、フレーム間差
分復号方式がある。これは、一般的に入力ビット列を復
号して生成した差分情報に対し、直前の画像との間で加
算を行い復号画像を生成するものである。このようなフ
レーム間差分復号方式を用いる一般的な従来の画像復号
装置では、現在の入力ビット列を復号した後、次の入力
ビット列を復号する際に、参照画像と加算を行うことを
可能にするために、現在の入力ビット列を復号すること
により参照画像を生成し、フレームメモリに記憶してお
き、次の入力ビット列を復号する際に出力するようにし
ていた。
[0004] On the other hand, as described above, an input image is subtracted from the immediately preceding image, and only the difference information is coded to generate a bit string, and the image is formed using a typical inter-frame difference coding method. There is an inter-frame difference decoding method for decoding a bit sequence generated by encoding a coded image to generate a decoded image. In general, a difference image generated by decoding an input bit string is added to the immediately preceding image to generate a decoded image. In a general conventional image decoding apparatus using such an inter-frame differential decoding method, after decoding a current input bit sequence, it is possible to perform addition with a reference image when decoding a next input bit sequence. For this purpose, a reference image is generated by decoding a current input bit sequence, stored in a frame memory, and output when a next input bit sequence is decoded.

【0005】また、上記したような、入力画像に対し直
前の画像またはそれ以前の画像との間で減算を行うよう
なフレーム間差分符号化方式を用いて画像を符号化して
生成したビット列に対し、復号して復号画像を生成する
ために、入力ビット列を復号して生成した差分情報に対
し、直前の画像またはそれ以前の画像との間で加算を行
うようなフレーム間差分復号方式がある。このようなフ
レーム間差分復号方式を用いる従来の画像復号装置で
は、現在の入力ビット列を復号した後、次の入力ビット
列を復号する際に、任意の参照画像と加算を行うことを
可能にするために、現在または現在以前に生成した複数
の参照画像をフレームメモリに記憶しておき、次の入力
ビット列を復号する際に使用する参照画像を一つ選択し
て出力するようにしていた。
[0005] In addition, as described above, a bit string generated by encoding an image using an inter-frame differential encoding method in which an input image is subtracted from an immediately preceding image or an earlier image is encoded. In order to generate a decoded image by decoding, there is an inter-frame difference decoding method in which the difference information generated by decoding the input bit string is added to the immediately preceding image or the previous image. In a conventional image decoding apparatus using such an inter-frame differential decoding method, after decoding a current input bit sequence, it is possible to perform addition with an arbitrary reference image when decoding a next input bit sequence. Then, a plurality of reference images generated at present or before are stored in a frame memory, and one reference image used when decoding the next input bit string is selected and output.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、一般的
な従来の画像符号化装置では、次の入力画像を処理する
際に参照画像を使用しない場合がある。それにも関わら
ず、従来の画像符号化装置では、現在の入力画像を処理
する際に現在の入力画像から参照画像を生成しフレーム
メモリに記憶しているので、メモリを不必要に消費して
いるという欠点を有していた。
However, a general conventional image coding apparatus may not use a reference image when processing the next input image. Nevertheless, in the conventional image encoding device, when processing the current input image, the reference image is generated from the current input image and stored in the frame memory, so that the memory is unnecessarily consumed. Had the disadvantage that

【0007】また、入力画像に対し直前の画像またはそ
れ以前の画像との間で減算を行うような従来の画像符号
化装置では、次の入力画像を処理する際に、現在の入力
画像を処理する際に使用した参照画像またはそれ以後の
参照画像のみを使用する場合がある。それにも関わら
ず、従来の画像符号化装置では、現在の入力画像を処理
する際に使用した参照画像より前の参照画像をフレーム
メモリに記憶している場合があるので、メモリを不必要
に消費しているという欠点を有していた。
Further, in a conventional image encoding apparatus which performs subtraction between an input image and an immediately preceding image or an earlier image, a current input image is processed when a next input image is processed. In some cases, only the reference image used at that time or a reference image after that is used. Nevertheless, in the conventional image encoding device, the reference image before the reference image used when processing the current input image may be stored in the frame memory, so that the memory is unnecessarily consumed. Had the disadvantage of doing so.

【0008】一方、一般的な従来の画像復号装置では、
入力ビット列が入力画像に対し直前の画像との間で減算
を行わずに生成されている場合、同様に、次の入力ビッ
ト列を処理する際に参照画像を使用しない。それにも関
わらず、該従来の画像復号装置では、現在の入力ビット
列を処理する際に現在の入力ビット列から参照画像を生
成しフレームメモリに記憶しているので、メモリを不必
要に消費しているという欠点を有していた。
On the other hand, in a general conventional image decoding apparatus,
If the input bit sequence is generated without subtracting the input image from the immediately preceding image, similarly, the reference image is not used when processing the next input bit sequence. Nevertheless, in the conventional image decoding apparatus, when processing the current input bit string, the reference image is generated from the current input bit string and stored in the frame memory, so that the memory is unnecessarily consumed. Had the disadvantage that

【0009】また、入力ビット列が、現在の入力ビット
列を処理する際に使用した参照画像またはそれ以後の参
照画像のみを使用して生成されている場合がある。その
ような場合、入力ビット列を復号して生成した差分情報
に対し、直前の画像またはそれ以前の画像との間で加算
を行うような従来の画像復号装置では、同様に、次の入
力ビット列を処理する際に、現在の入力ビット列を処理
する際に使用した参照画像またはそれ以後の参照画像の
みを使用する。それにも関わらず、従来の画像復号装置
では、現在の入力ビット列を処理する際に使用した参照
画像より前の参照画像をフレームメモリに記憶している
場合があるので、メモリを不必要に消費しているという
欠点を有していた。
In some cases, the input bit sequence is generated using only the reference image used in processing the current input bit sequence or a reference image thereafter. In such a case, in a conventional image decoding device that adds the difference information generated by decoding the input bit sequence to the immediately preceding image or the previous image, the next input bit sequence is similarly generated. At the time of processing, only the reference image used at the time of processing the current input bit string or a reference image thereafter is used. Nevertheless, in a conventional image decoding apparatus, a reference image prior to a reference image used in processing a current input bit string may be stored in a frame memory. Had the disadvantage of being

【0010】本発明は上記の欠点に鑑みてなされたもの
で、参照画像を使用しない場合にメモリを不必要に消費
するのを防ぐことを可能とした画像符号化装置および画
像復号装置を提供することを課題とする。
The present invention has been made in view of the above-mentioned drawbacks, and provides an image encoding apparatus and an image decoding apparatus capable of preventing unnecessary consumption of memory when a reference image is not used. That is the task.

【0011】[0011]

【課題を解決するための手段】前記の課題を解決するた
めに、本発明による第一の発明では、入力画像に対し参
照画像と減算を行いビット列を生成する符号化部と、前
記ビット列に対し前記参照画像と加算を行い参照画像を
新たに生成する局所復号部と、前記参照画像を記憶して
おくフレームメモリと、前記フレームメモリからの前記
参照画像の出力の有無を切り換えるメモリ出力手段と、
を有する画像符号化装置であって、前記フレームメモリ
への参照画像の入力の有無を切り換えるメモリ入力手段
と、前記フレームメモリの消去を行うメモリ消去手段
と、前記メモリ出力手段の参照画像の有無の切り換えに
基づいて前記メモリ入力手段およびメモリ消去手段を制
御する制御部と、を有することを手段とする。
According to a first aspect of the present invention, there is provided an encoding section for subtracting an input image from a reference image to generate a bit string, A local decoding unit that newly adds the reference image to generate a reference image, a frame memory that stores the reference image, and a memory output unit that switches whether to output the reference image from the frame memory.
A memory input unit that switches the presence or absence of input of a reference image to the frame memory, a memory erasing unit that erases the frame memory, and a presence or absence of a reference image of the memory output unit. A control unit for controlling the memory input means and the memory erasing means based on the switching.

【0012】また、本発明による第二の発明では、入力
画像に対し参照画像と減算を行いビット列を生成する符
号化部と、前記ビット列に対し前記参照画像と加算を行
い参照画像を新たに生成する局所復号部と、複数の参照
画像を記憶しておくフレームメモリと、前記フレームメ
モリからの前記参照画像の出力を、前記フレームメモリ
に記憶している各々の参照画像から高々一つ選択するメ
モリ出力手段と、を有する画像符号化装置であって、前
記フレームメモリへの参照画像の入力の有無を切り換え
るメモリ入力手段と、前記フレームメモリの消去を前記
各々の参照画像について独立して行うメモリ消去手段
と、前記メモリ出力手段の参照画像の選択に基づいて前
記メモリ入力手段およびメモリ消去手段を制御する制御
部と、を有することを手段とする。
Further, in the second invention according to the present invention, an encoding unit for subtracting an input image from a reference image to generate a bit sequence, and adding a reference image to the bit sequence to newly generate a reference image A local decoding unit, a frame memory for storing a plurality of reference images, and a memory for selecting at most one output of the reference image from the frame memory from each reference image stored in the frame memory An image encoding device comprising: an output unit; a memory input unit that switches whether or not a reference image is input to the frame memory; and a memory erasure that erases the frame memory independently for each of the reference images. Means, and a control unit for controlling the memory input means and the memory erasing means based on selection of a reference image by the memory output means. And means.

【0013】上記第一の発明および上記第二の発明にお
けるメモリ入力手段としては、メモリ出力手段でフレー
ムメモリからの該参照画像の出力をする場合、該出力に
先行し、フレームメモリへの参照画像の入力をし、反対
にメモリ出力手段でフレームメモリからの該参照画像の
出力をしない場合、フレームメモリへの参照画像の入力
をしないのが好適である。
As the memory input means in the first invention and the second invention, when the memory output means outputs the reference image from the frame memory, the reference image is output to the frame memory prior to the output. When the reference image is not output from the frame memory by the memory output means, it is preferable not to input the reference image to the frame memory.

【0014】上記第一の発明におけるメモリ消去手段と
しては、メモリ出力手段でフレームメモリからの該参照
画像の出力をしない場合、フレームメモリを消去するよ
うに制御部にて制御するのが好適である。また、上記第
二の発明におけるメモリ消去手段としては、メモリ出力
手段でフレームメモリからの参照画像の出力をする場
合、該出力する参照画像より前の参照画像を記憶してい
るフレームメモリの部分を消去し、反対にメモリ出力手
段でフレームメモリから参照画像の出力をしない場合、
フレームメモリの全ての部分を消去するように、制御部
にて制御するのが好適である。
As the memory erasing means in the first invention, it is preferable that when the memory output means does not output the reference image from the frame memory, the control section controls to erase the frame memory. . Further, as the memory erasing means in the second invention, when the memory output means outputs a reference image from the frame memory, a part of the frame memory storing the reference image preceding the output reference image is used. If the image is deleted and the reference image is not output from the frame memory by the memory output means,
It is preferable to control the control unit so that all parts of the frame memory are erased.

【0015】なお、本発明における画像の処理単位はフ
レーム単位が代表的な例であるが、フレームを構成する
画像の小領域やその小領域を構成する画素の集まりの単
位を処理単位とする等任意である。
The image processing unit in the present invention is typically a frame unit. However, a processing unit is a unit of a small area of an image forming a frame or a group of pixels forming the small area. Optional.

【0016】上記第一の発明の画像符号化装置では、フ
レームメモリへの参照画像の入力の有無をメモリ入力手
段が切り換え、かつフレームメモリの消去をメモリ消去
手段が行うので、フレームメモリからの参照画像の出力
をしない場合、フレームメモリへの参照画像の入力をし
ないで、フレームメモリを消去することが可能となり、
メモリを不必要に消費するのを防ぐ。
In the image encoding apparatus according to the first aspect of the present invention, the memory input means switches whether or not a reference image is input to the frame memory, and the memory erasing means performs erasing of the frame memory. If the image is not output, the frame memory can be erased without inputting the reference image to the frame memory.
Prevent unnecessary consumption of memory.

【0017】また、上記第二の発明の画像符号化装置で
は、フレームメモリへの参照画像の入力の有無をメモリ
入力手段が切り換え、かつフレームメモリの消去を各々
の参照画像について独立してメモリ消去手段が行うの
で、フレームメモリからの参照画像の出力をする場合、
該出力する参照画像より前の参照画像を記憶しているフ
レームメモリの部分を消去することが可能となり、反対
にフレームメモリからの参照画像の出力をしない場合、
フレームメモリへの参照画像の入力をしないで、全ての
フレームメモリの部分を消去することが可能となり、メ
モリを不必要に消費するのを防ぐ。
In the image encoding apparatus according to the second aspect of the present invention, the memory input means switches whether or not a reference image is input to the frame memory, and erases the frame memory independently for each reference image. Means to output the reference image from the frame memory,
When the portion of the frame memory storing the reference image before the output reference image can be deleted, and when the reference image is not output from the frame memory,
Without inputting the reference image to the frame memory, it is possible to erase all the frame memory portions, thereby preventing unnecessary consumption of the memory.

【0018】一方、上記課題を解決するために、本発明
による第三の発明では、入力ビット列に対し参照画像と
加算を行い復号画像を生成すると共に参照画像を新たに
生成する復号部と、前記参照画像を記憶しておくフレー
ムメモリと、前記フレームメモリからの前記参照画像の
出力の有無を切り換えるメモリ出力手段と、を有する画
像復号装置であって、前記フレームメモリへの参照画像
の入力の有無を切り換えるメモリ入力手段と、前記フレ
ームメモリの消去を行うメモリ消去手段と、前記メモリ
出力手段の参照画像の有無の切り換えに基づいて前記メ
モリ入力手段およびメモリ消去手段を制御する制御部
と、を有することを手段とする。
On the other hand, in order to solve the above-mentioned problem, in a third invention according to the present invention, a decoding unit which adds a reference image to an input bit string to generate a decoded image and newly generates a reference image, What is claimed is: 1. An image decoding apparatus comprising: a frame memory for storing a reference image; and memory output means for switching whether or not the reference image is output from the frame memory. A memory input unit for switching the memory input unit, a memory erasing unit for erasing the frame memory, and a control unit for controlling the memory input unit and the memory erasing unit based on switching of the presence or absence of a reference image of the memory output unit. Means.

【0019】また、本発明による第四の発明では、入力
ビット列に対し参照画像と加算を行い復号画像を生成す
ると共に参照画像を新たに生成する復号部と、複数の参
照画像を記憶しておくフレームメモリと、前記フレーム
メモリからの前記参照画像の出力を、前記フレームメモ
リに記憶している各々の参照画像から高々一つ選択する
メモリ出力手段と、を有する画像復号装置であって、前
記フレームメモリへの参照画像の入力の有無を切り換え
るメモリ入力手段と、前記フレームメモリの消去を前記
各々の参照画像について独立して行うメモリ消去手段
と、前記メモリ出力手段の参照画像の選択に基づいて前
記メモリ入力手段およびメモリ消去手段を制御する制御
部と、を有することを手段とする。
Further, in the fourth invention according to the present invention, a decoding unit which adds a reference image to an input bit string to generate a decoded image and newly generates a reference image, and stores a plurality of reference images. An image decoding apparatus comprising: a frame memory; and memory output means for selecting at most one output of the reference image from the frame memory from each reference image stored in the frame memory. Memory input means for switching the presence or absence of input of a reference image to a memory; memory erasing means for independently erasing the frame memory for each of the reference images; and A control unit for controlling the memory input means and the memory erasing means.

【0020】上記第三の発明および上記第四の発明にお
けるメモリ入力手段としては、メモリ出力手段でフレー
ムメモリからの該参照画像の出力をする場合、該出力に
先行し、フレームメモリへの参照画像の入力をし、反対
にメモリ出力手段でフレームメモリからの該参照画像の
出力をしない場合、フレームメモリへの参照画像の入力
をしないように制御部にて制御するのが好適である。
The memory input means in the third invention and the fourth invention may be arranged such that when the memory output means outputs the reference image from the frame memory, the reference image is output to the frame memory prior to the output. When the reference image is not output from the frame memory by the memory output means, it is preferable to control the control unit so as not to input the reference image to the frame memory.

【0021】上記第三の発明におけるメモリ消去手段と
しては、メモリ出力手段でフレームメモリからの該参照
画像の出力をしない場合、フレームメモリを消去するの
が好適である。また、上記第四の発明におけるメモリ消
去手段としては、メモリ出力手段でフレームメモリから
の参照画像の出力をする場合、該出力する参照画像より
前の参照画像を記憶しているフレームメモリの部分を消
去し、反対にメモリ出力手段でフレームメモリから参照
画像の出力をしない場合、フレームメモリの全ての部分
を消去するように制御部にて制御するのが好適である。
As the memory erasing means in the third invention, it is preferable to erase the frame memory when the memory output means does not output the reference image from the frame memory. Further, as the memory erasing means in the fourth invention, when the memory output means outputs the reference image from the frame memory, a part of the frame memory storing the reference image preceding the output reference image is used. If the reference image is not output from the frame memory by the memory output means on the contrary, it is preferable to control the control unit so as to delete all parts of the frame memory.

【0022】なお、本発明における画像の処理単位はフ
レーム単位が代表的な例であるが、フレームを構成する
画像の小領域やその小領域を構成する画素の集まりの単
位を処理単位とする等任意である。
The image processing unit in the present invention is typically a frame unit. However, a processing unit is a unit of a small area of an image forming a frame or a group of pixels forming the small area. Optional.

【0023】上記第三の発明の画像復号装置では、フレ
ームメモリへの参照画像の入力の有無をメモリ入力手段
が切り換え、かつフレームメモリの消去をメモリ消去手
段が行うので、フレームメモリからの参照画像の出力を
しない場合、フレームメモリへの参照画像の入力をしな
いで、フレームメモリを消去することが可能となり、メ
モリを不必要に消費するのを防ぐ。
In the image decoding apparatus according to the third aspect of the present invention, the memory input means switches whether or not a reference image is input to the frame memory, and the memory erasing means performs erasing of the frame memory. Is not output, the frame memory can be erased without inputting the reference image to the frame memory, thereby preventing unnecessary consumption of the memory.

【0024】また、上記第四の発明の画像復号装置で
は、フレームメモリへの参照画像の入力の有無をメモリ
入力手段が切り換え、かつフレームメモリの消去を各々
の参照画像について独立してメモリ消去手段が行うの
で、フレームメモリからの参照画像の出力をする場合、
該出力する参照画像より前の参照画像を記憶しているフ
レームメモリの部分を消去することが可能となり、反対
にフレームメモリからの参照画像の出力をしない場合、
フレームメモリへの参照画像の入力をしないで、全ての
フレームメモリの部分を消去することが可能となり、メ
モリを不必要に消費するのを防ぐ。
In the image decoding apparatus according to the fourth aspect of the present invention, the memory input means switches whether or not a reference image is input to the frame memory, and erases the frame memory independently for each reference image. When outputting the reference image from the frame memory,
When the portion of the frame memory storing the reference image before the output reference image can be deleted, and when the reference image is not output from the frame memory,
Without inputting the reference image to the frame memory, it is possible to erase all the frame memory portions, thereby preventing unnecessary consumption of the memory.

【0025】[0025]

【発明の実施の形態】以下、本発明の実施形態例につい
て図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0026】図1は、本発明による第一の発明の実施形
態例の構成を示す図である。
FIG. 1 is a diagram showing the configuration of an embodiment of the first invention according to the present invention.

【0027】図中、101は入力画像に対し参照画像と
減算を行いビット列を生成する符号化部、102は該ビ
ット列に対し該参照画像と加算を行い参照画像を新たに
生成する局所復号部、103は該参照画像を記憶してお
くフレームメモリ、104はフレームメモリ103から
の該参照画像の出力の有無を切り換えるメモリ出力手
段、105はフレームメモリ103への参照画像の入力
の有無を切り換えるメモリ入力手段、106はフレーム
メモリ103の消去を行うメモリ消去手段、107はフ
レームメモリ103からの該参照画像の出力の有無をメ
モリ出力手段104に指示すると共に、フレームメモリ
103への参照画像の入力の有無をメモリ入力手段10
5に指示し、フレームメモリの消去をメモリ消去手段1
06に指示する符号化制御部、108は該ビット列を受
信する画像復号装置である。
In the figure, reference numeral 101 denotes an encoding unit which subtracts an input image from a reference image to generate a bit sequence, 102 denotes a local decoding unit which adds the bit sequence to the reference image and newly generates a reference image, 103, a frame memory for storing the reference image; 104, a memory output unit for switching whether or not the reference image is output from the frame memory 103; 105, a memory input for switching whether or not a reference image is input to the frame memory 103; Means 106, a memory erasing means for erasing the frame memory 103; 107, an instruction to the memory output means 104 as to whether or not the reference image is output from the frame memory 103, and whether or not the reference image is input to the frame memory 103. To the memory input means 10
5 to delete the frame memory from the memory erasing means 1
An encoding control unit 108 instructed at 06 is an image decoding device that receives the bit string.

【0028】図1を用いて、本発明による第一の発明の
実施形態例の動作について説明する。
The operation of the first embodiment of the present invention will be described with reference to FIG.

【0029】符号化制御部107は、現在の入力画像を
処理する際に、フレームメモリ103からの参照画像の
出力の有無を、メモリ出力手段104に指示すると共
に、フレームメモリ103への参照画像の入力の有無も
連動するよう、メモリ入力手段105に指示し、またフ
レームメモリ103からの参照画像の出力をしないのと
連動してフレームメモリ103を消去するよう、メモリ
消去手段106に指示する。
When processing the current input image, the encoding control unit 107 instructs the memory output unit 104 whether or not a reference image is to be output from the frame memory 103, and outputs the reference image to the frame memory 103. It instructs the memory input means 105 to link the presence or absence of the input, and instructs the memory deletion means 106 to delete the frame memory 103 in conjunction with not outputting the reference image from the frame memory 103.

【0030】現在の入力画像に対し、符号化部101
は、符号化制御部107の指示によりメモリ出力手段1
04で参照画像の出力をする場合、該参照画像との間で
画素信号の減算を行う。反対に符号化制御部107の指
示によりメモリ出力手段104で参照画像の出力をしな
い場合、何もしない。このようにしてビット列を生成す
る。
The current input image is encoded by
Is output from the memory output unit 1 according to an instruction from the encoding control unit 107.
When the reference image is output at 04, the pixel signal is subtracted from the reference image. Conversely, when the reference image is not output by the memory output unit 104 according to the instruction of the encoding control unit 107, nothing is performed. In this way, a bit string is generated.

【0031】生成したビット列は、画像復号装置108
へ送信すると共に、局所復号部102へ入力する。局所
復号部102は、符号化制御部107の指示によりメモ
リ出力手段104で参照画像の出力をする場合、該参照
画像との間で画素信号の加算を行う。反対に符号化制御
部107の指示によりメモリ出力手段104で参照画像
の出力をしない場合、何もしない。このようにして新た
に参照画像を生成する。
The generated bit string is transmitted to the image decoding device 108
And input to the local decoding unit 102. When the memory output unit 104 outputs a reference image according to an instruction from the encoding control unit 107, the local decoding unit 102 adds a pixel signal to the reference image. Conversely, when the reference image is not output by the memory output unit 104 according to the instruction of the encoding control unit 107, nothing is performed. In this way, a new reference image is generated.

【0032】フレームメモリ103は、次の入力画像を
処理する際に、符号化制御部107の指示によりメモリ
出力手段104で参照画像の出力をしない場合、符号化
制御部107の指示によりメモリ消去手段106で消去
される。反対に符号化制御部107の指示によりメモリ
出力手段104で参照画像の出力をする場合、該出力に
先行し、符号化制御部107の指示によりメモリ入力手
段105で参照画像を入力し記憶しておく。
When processing the next input image, the frame memory 103 does not output the reference image by the memory output unit 104 according to the instruction of the encoding control unit 107, and the memory erasing unit according to the instruction of the encoding control unit 107. It is erased at 106. Conversely, when the reference image is output by the memory output unit 104 according to the instruction of the encoding control unit 107, the reference image is input and stored by the memory input unit 105 according to the instruction of the encoding control unit 107 prior to the output. deep.

【0033】このように、次の入力画像を処理する際
に、メモリ出力手段104でフレームメモリ103から
の参照画像の出力をしない場合、メモリ入力手段105
でフレームメモリ103への参照画像の入力をしない
で、メモリ消去手段106でフレームメモリ103を消
去することにより、画像符号化装置において、メモリを
不必要に消費するのを防ぐという本発明の課題を解決す
ることが可能となる。
As described above, when the memory output means 104 does not output the reference image from the frame memory 103 when processing the next input image, the memory input means 105
Thus, the present invention eliminates unnecessary consumption of memory in the image encoding apparatus by deleting the frame memory 103 by the memory erasing means 106 without inputting the reference image to the frame memory 103. It is possible to solve.

【0034】図2は、本発明による第二の発明の実施形
態例の構成を示す図である。
FIG. 2 is a diagram showing the configuration of an embodiment of the second invention according to the present invention.

【0035】図中、201は入力画像に対し参照画像と
減算を行いビット列を生成する符号化部、202は該ビ
ット列に対し該参照画像と加算を行い参照画像を新たに
生成する局所復号部、203は複数の参照画像を記憶し
ておくフレームメモリ、204はフレームメモリ203
からの該参照画像の出力を、フレームメモリ203に記
憶している各々の参照画像から高々一つ選択するメモリ
出力手段、205はフレームメモリ203への参照画像
の入力の有無を切り換えるメモリ入力手段、206はフ
レームメモリ203の消去を該各々の参照画像について
独立して行うメモリ消去手段、207はフレームメモリ
203からの該参照画像の出力の、各々の参照画像から
の高々一つの選択を、メモリ出力手段204に指示する
と共に、フレームメモリ203への参照画像の入力の有
無をメモリ入力手段205に指示し、フレームメモリ2
03の部分の消去を該各々の参照画像について独立して
メモリ消去手段206に指示する符号化制御部、208
は該ビット列を受信する画像復号装置である。
In the figure, reference numeral 201 denotes an encoding unit for subtracting an input image from a reference image to generate a bit sequence, 202 denotes a local decoding unit for adding the bit sequence to the reference image and newly generating a reference image, 203 is a frame memory for storing a plurality of reference images, and 204 is a frame memory 203
A memory output unit that selects at most one of the reference images output from each of the reference images stored in the frame memory 203, a memory input unit 205 that switches whether or not the reference image is input to the frame memory 203, Reference numeral 206 denotes memory erasing means for independently erasing the frame memory 203 for each of the reference images. Reference numeral 207 denotes a memory output which selects at most one of the output of the reference image from the frame memory 203 from each of the reference images. Means 204 and whether or not a reference image has been input to the frame memory 203 to the memory input means 205.
The coding control unit 208 instructs the memory erasing unit 206 to independently erase the portion 03 for each of the reference images.
Is an image decoding device that receives the bit string.

【0036】図2を用いて、本発明による第二の発明の
実施形態例の動作について説明する。
The operation of the second embodiment of the present invention will be described with reference to FIG.

【0037】符号化制御部207は、現在の入力画像を
処理する際に、フレームメモリ203からの参照画像の
出力の、各々の参照画像からの高々一つの選択を、メモ
リ出力手段204に指示すると共に、フレームメモリ2
03からの参照画像の出力の有無にフレームメモリ20
3への参照画像の入力の有無も連動するよう、メモリ入
力手段205に指示し、またフレームメモリ203から
の参照画像の出力をしないのと連動してフレームメモリ
203を消去するよう、メモリ消去手段206に指示す
る。
When processing the current input image, the encoding control unit 207 instructs the memory output unit 204 to select at most one of the reference images output from the frame memory 203 from each reference image. Together with the frame memory 2
03 determines whether or not the reference image is output from the frame memory 20.
The memory erasing unit 205 instructs the memory input unit 205 to interlock the presence or absence of the input of the reference image into the memory 3 and deletes the frame memory 203 in conjunction with not outputting the reference image from the frame memory 203. Instruct 206.

【0038】現在の入力画像に対し、符号化部201
は、符号化制御部207の指示によりメモリ出力手段2
04で参照画像の出力をする場合、該参照画像との間で
画素信号の減算を行う。反対に符号化制御部207の指
示によりメモリ出力手段204で参照画像の出力をしな
い場合、何もしない。このようにしてビット列を生成す
る。
The current input image is encoded by the encoding unit 201
Is output from the memory output unit 2 in accordance with an instruction from the encoding control unit 207.
When the reference image is output at 04, the pixel signal is subtracted from the reference image. Conversely, if the memory output unit 204 does not output a reference image according to an instruction from the encoding control unit 207, nothing is performed. In this way, a bit string is generated.

【0039】生成したビット列は、画像復号装置208
へ送信すると共に、局所復号部202へ入力する。局所
復号部202は、符号化制御部207の指示によりメモ
リ出力手段204で参照画像の出力をする場合、該参照
画像との間で画素信号の加算を行う。反対に符号化制御
部207の指示によりメモリ出力手段204で参照画像
の出力をしない場合、何もしない。このようにして新た
に参照画像を生成する。
The generated bit string is transmitted to the image decoding device 208
To the local decoding unit 202. When the memory output unit 204 outputs a reference image according to an instruction from the encoding control unit 207, the local decoding unit 202 adds a pixel signal to the reference image. Conversely, if the memory output unit 204 does not output a reference image according to an instruction from the encoding control unit 207, nothing is performed. In this way, a new reference image is generated.

【0040】フレームメモリ203は、次の入力画像を
処理する際に、符号化制御部207の指示によりメモリ
出力手段204で参照画像の出力をする場合、該出力す
る参照画像より前の参照画像を記憶しているフレームメ
モリ203の部分が、符号化制御部207の指示により
メモリ消去手段206で消去され、符号化制御部207
の指示によりメモリ入力手段205で参照画像を入力し
記憶しておくようにする。反対に符号化制御部207の
指示によりメモリ出力手段204で参照画像の出力をし
ない場合、全ての部分が符号化制御部207の指示によ
りメモリ消去手段206で消去される。フレームメモリ
203に記憶している複数の参照画像は、次または次以
後の入力画像を処理する際に、符号化制御部207の指
示によりメモリ出力手段204で参照画像の出力をする
のに使用される。
When processing the next input image, the frame memory 203 outputs a reference image prior to the output reference image when the memory output unit 204 outputs a reference image in accordance with an instruction of the encoding control unit 207. The stored part of the frame memory 203 is erased by the memory erasing means 206 in accordance with the instruction of the encoding control unit 207,
The reference image is inputted and stored by the memory input means 205 in accordance with the instruction of (1). Conversely, when the memory output unit 204 does not output a reference image according to an instruction from the encoding control unit 207, all parts are erased by the memory erasing unit 206 according to an instruction from the encoding control unit 207. The plurality of reference images stored in the frame memory 203 are used to output the reference image by the memory output unit 204 according to an instruction from the encoding control unit 207 when processing the next or subsequent input image. You.

【0041】ここで、複数の参照画像をフレームメモリ
203の各々の部分に記憶しておく構成としてFIFO
メモリを使用する場合の、実施形態例の動作について説
明する。
Here, as a configuration for storing a plurality of reference images in respective portions of the frame memory 203, a FIFO is used.
An operation of the embodiment when a memory is used will be described.

【0042】符号化制御部207の指示によりメモリ入
力手段205で参照画像の入力をする場合、まず、消去
されているフレームメモリ203の部分に、フレームメ
モリ203に記憶している最も前の参照画像を記憶し、
次に、該最も前の参照画像を記憶していたフレームメモ
リ203の部分に、該最も前の参照画像の次の参照画像
を記憶し、以下同様に繰り返し、最後に、FIFOメモ
リの入力の先頭となるフレームメモリ203の部分に、
新たに生成した参照画像を入力して記憶するようにす
る。
When a reference image is input by the memory input unit 205 in accordance with an instruction from the encoding control unit 207, first, the earliest reference image stored in the frame memory 203 is stored in the deleted frame memory 203. Remember
Next, a reference image next to the earliest reference image is stored in a portion of the frame memory 203 that stores the earliest reference image, and the same operation is repeated in the same manner. In the portion of the frame memory 203 that becomes
The newly generated reference image is input and stored.

【0043】また、出力する参照画像より前の参照画像
を記憶しているフレームメモリ203の部分を、符号化
制御部207の指示によりメモリ消去手段206で消去
する場合、該出力する参照画像を記憶しているフレーム
メモリ203の部分を、FIFOメモリの出力の先頭と
し、FIFOメモリ以外のフレームメモリ203の部分
を消去するようにする。
When the portion of the frame memory 203 which stores the reference image preceding the output reference image is erased by the memory erasing means 206 in accordance with the instruction of the encoding control unit 207, the output reference image is stored. The portion of the frame memory 203 that is being used is set as the head of the output of the FIFO memory, and the portion of the frame memory 203 other than the FIFO memory is erased.

【0044】なお、参照画像の入力をする場合の前記F
IFOメモリの動作方法としては、フレームメモリ20
3に記憶している各々の参照画像を再び記憶するのでな
く、該各々の参照画像に対して、記憶しているフレーム
メモリ203の各部分を指し示すポインタを移動する等
の、動作方法でも可能である。
The above F when inputting a reference image is used.
As an operation method of the IFO memory, the frame memory 20 is used.
Rather than storing each reference image stored in 3 again, an operation method such as moving a pointer indicating each part of the stored frame memory 203 with respect to each reference image is also possible. is there.

【0045】また、消去するフレームメモリ203の部
分が、出力する参照画像より前でない参照画像である場
合も一般的には有り得る。そのような場合、該部分を消
去する場合の前記FIFOメモリの動作方法としては、
該出力する参照画像の次の参照画像を記憶しているフレ
ームメモリ203の部分に対して、記憶している参照画
像の前の参照画像を記憶しているフレームメモリ203
の部分を指し示すポインタを移動し、該出力する参照画
像を記憶しているフレームメモリ203の部分をFIF
Oメモリ以外とするようにしてから、該部分を消去する
等の、動作方法にて可能である。
It is also generally possible for the portion of the frame memory 203 to be erased to be a reference image that is not before the output reference image. In such a case, the operation method of the FIFO memory when erasing the portion is as follows.
For the portion of the frame memory 203 storing the reference image next to the output reference image, the frame memory 203 storing the reference image before the stored reference image is stored.
Is moved, and the part of the frame memory 203 storing the reference image to be output is
An operation method such as erasing the portion after setting the memory to something other than the O memory is possible.

【0046】このように、次の入力画像を処理する際
に、メモリ出力手段204でフレームメモリ203から
の参照画像の出力をする場合、該出力する参照画像より
前の参照画像を記憶しているフレームメモリ203の部
分をメモリ消去手段206で消去し、反対にメモリ出力
手段204でフレームメモリ203からの参照画像の出
力をしない場合、メモリ入力手段205でフレームメモ
リ203への参照画像の入力をしないで、全てのフレー
ムメモリ203の部分をメモリ消去手段206で消去す
ることにより、画像符号化装置において、メモリを不必
要に消費するのを防ぐという本発明の課題を解決するこ
とが可能となる。
As described above, when the memory output means 204 outputs the reference image from the frame memory 203 when processing the next input image, the reference image preceding the output reference image is stored. When the portion of the frame memory 203 is erased by the memory erasing means 206 and the memory output means 204 does not output the reference image from the frame memory 203, the memory input means 205 does not input the reference image to the frame memory 203. Thus, by erasing all the frames in the frame memory 203 by the memory erasing means 206, it is possible to solve the problem of the present invention of preventing the memory from being unnecessarily consumed in the image encoding device.

【0047】図3は、本発明による第三の発明の実施形
態例の構成を示す図である。
FIG. 3 is a diagram showing a configuration of an embodiment of the third invention according to the present invention.

【0048】図中、301はビット列を送信する画像符
号化装置、302は入力ビット列に対し参照画像と加算
を行い復号画像を生成すると共に参照画像を新たに生成
する復号部、303は該参照画像を記憶しておくフレー
ムメモリ、304は前記フレームメモリからの該参照画
像の出力の有無を切り換えるメモリ出力手段、305は
前記フレームメモリへの参照画像の入力の有無を切り換
えるメモリ入力手段、306は前記フレームメモリの消
去を行うメモリ消去手段、307はフレームメモリ30
3からの該参照画像の出力の有無をメモリ出力手段30
4に指示すると共に、フレームメモリ303への参照画
像の入力の有無をメモリ入力手段305に指示し、フレ
ームメモリ303の消去をメモリ消去手段306に指示
する復号制御部である。
In the figure, reference numeral 301 denotes an image coding apparatus for transmitting a bit sequence, 302 denotes a decoding unit which adds a reference image to an input bit sequence to generate a decoded image and newly generates a reference image, and 303 denotes a reference image. , A memory output unit for switching whether or not the reference image is output from the frame memory; a memory input unit for switching whether or not a reference image is input to the frame memory; Memory erasing means for erasing the frame memory;
3 to determine whether or not the reference image is output from the memory output means 30.
4, a decoding control unit that instructs the memory input unit 305 whether or not a reference image has been input to the frame memory 303, and instructs the memory erasure unit 306 to erase the frame memory 303.

【0049】図3を用いて、本発明による第三の発明の
実施形態例の動作について説明する。
The operation of the third embodiment of the present invention will be described with reference to FIG.

【0050】復号制御部307は、現在の入力ビット列
を処理する際に、フレームメモリ303からの参照画像
の出力の有無を、メモリ出力手段304に指示すると共
に、フレームメモリ303への参照画像の入力の有無も
連動するよう、メモリ入力手段305に指示し、またフ
レームメモリ303からの参照画像の出力をしないのと
連動してフレームメモリ303を消去するよう、メモリ
消去手段306に指示する。
When processing the current input bit sequence, the decoding control unit 307 instructs the memory output unit 304 whether or not a reference image is to be output from the frame memory 303, and inputs the reference image to the frame memory 303. The memory input means 305 is instructed so that the presence / absence of the frame memory 303 is also linked, and the memory erasing means 306 is deleted so that the frame memory 303 is deleted in conjunction with not outputting the reference image from the frame memory 303.

【0051】画像符号化装置301から受信した入力ビ
ット列に対し、復号部302は、復号制御部307の指
示によりメモリ出力手段304で参照画像の出力をする
場合、該参照画像との間で画素信号の加算を行う。反対
に復号制御部307の指示によりメモリ出力手段304
で参照画像の出力をしない場合、何もしない。このよう
にして、復号画像を生成すると共に新たに参照画像を生
成する。
When the decoding unit 302 outputs a reference image by the memory output unit 304 in accordance with an instruction from the decoding control unit 307 with respect to the input bit sequence received from the image encoding device 301, the decoding unit 302 outputs a pixel signal between the input image and the reference image. Is added. On the contrary, the memory output means 304 is operated by the instruction of the decoding control unit 307.
If the reference image is not output, nothing is done. In this way, a decoded image is generated and a new reference image is generated.

【0052】フレームメモリ303は、次の入力ビット
列を処理する際に、復号制御部307の指示によりメモ
リ出力手段304で参照画像の出力をしない場合、復号
制御部307の指示によりメモリ消去手段306で消去
される。反対に復号制御部307の指示によりメモリ出
力手段304で参照画像の出力をする場合、該出力に先
行し、復号制御部307の指示によりメモリ入力手段3
05で参照画像を入力し記憶しておく。
When the frame memory 303 does not output the reference image by the memory output means 304 according to the instruction of the decoding control unit 307 when processing the next input bit string, the frame memory 303 performs the processing by the memory erasing means 306 according to the instruction of the decoding control unit 307. Will be erased. Conversely, when the reference image is output by the memory output unit 304 in accordance with the instruction of the decoding control unit 307, the memory input unit 3 is preceded by the output and is output in accordance with the instruction of the decoding control unit 307.
At step 05, a reference image is input and stored.

【0053】このように、次の入力ビット列を処理する
際に、メモリ出力手段304でフレームメモリ303か
らの参照画像の出力をしない場合、メモリ入力手段30
5でフレームメモリ303への参照画像の入力をしない
で、メモリ消去手段306でフレームメモリ303を消
去することにより、画像復号装置において、メモリを不
必要に消費するのを防ぐという本発明の課題を解決する
ことが可能となる。
As described above, when the memory output unit 304 does not output the reference image from the frame memory 303 when processing the next input bit string, the memory input unit 30
5 does not input the reference image to the frame memory 303, and erases the frame memory 303 by the memory erasing means 306, thereby preventing the image decoding apparatus from unnecessarily consuming the memory. It is possible to solve.

【0054】図4は、本発明による第四の発明の実施形
態例の構成を示す図である。
FIG. 4 is a diagram showing a configuration of an embodiment of the fourth invention according to the present invention.

【0055】図中、401はビット列を送信する画像符
号化装置、402は入力ビット列に対し参照画像と加算
を行い復号画像を生成すると共に参照画像を新たに生成
する復号部、403は複数の参照画像を記憶しておくフ
レームメモリ、404は前記フレームメモリ403から
の該参照画像の出力を、前記フレームメモリ403に記
憶している各々の参照画像から高々一つ選択するメモリ
出力手段、405は前記フレームメモリ403への参照
画像の入力の有無を切り換えるメモリ入力手段、406
は前記フレームメモリ403の消去を該各々の参照画像
について独立して行うメモリ消去手段、407はフレー
ムメモリ403からの該参照画像の出力の、各々の参照
画像からの高々一つの選択を、メモリ出力手段404に
指示すると共に、フレームメモリ403への参照画像の
入力の有無をメモリ入力手段405に指示し、フレーム
メモリ403の部分の消去を該各々の参照画像について
独立してメモリ消去手段406に指示する復号制御部で
ある。
In the figure, reference numeral 401 denotes an image coding apparatus for transmitting a bit string; 402, a decoding unit which adds a reference image to an input bit string to generate a decoded image and newly generates a reference image; A frame memory for storing an image; 404, a memory output unit for selecting at most one output of the reference image from the frame memory 403 from each of the reference images stored in the frame memory 403; A memory input unit 406 for switching whether or not a reference image is input to the frame memory 403;
Is a memory erasing means for independently erasing the frame memory 403 for each of the reference images. 407 is a memory output unit that selects at most one of the output of the reference image from the frame memory 403 from each of the reference images. Means 404, and instructs the memory input means 405 whether or not a reference image has been input to the frame memory 403, and instructs the memory erasing means 406 to delete portions of the frame memory 403 independently for each reference image. This is a decoding control unit.

【0056】図4を用いて、本発明による第四の発明の
実施形態例の動作について説明する。
The operation of the fourth embodiment according to the present invention will be described with reference to FIG.

【0057】復号制御部407は、現在の入力ビット列
を処理する際に、フレームメモリ403からの参照画像
の出力の、各々の参照画像からの高々一つの選択を、メ
モリ出力手段404に指示すると共に、フレームメモリ
403からの参照画像の出力の有無にフレームメモリ4
03への参照画像の入力の有無も連動するよう、メモリ
入力手段405に指示し、またフレームメモリ403か
らの参照画像の出力をしないのと連動してフレームメモ
リ403を消去するよう、メモリ消去手段406に指示
する。
When processing the current input bit string, the decoding control unit 407 instructs the memory output means 404 to select at most one reference image output from the frame memory 403 from each reference image. , The presence or absence of the output of the reference image from the frame memory 403
The memory erasing unit 405 instructs the memory input unit 405 to interlock the presence or absence of the input of the reference image to the memory 03, and erases the frame memory 403 in conjunction with not outputting the reference image from the frame memory 403. Instruct 406.

【0058】画像符号化装置401から受信した入力ビ
ット列に対し、復号部402は、復号制御部407の指
示によりメモリ出力手段404で参照画像の出力をする
場合、該参照画像との間で画素信号の加算を行う。反対
に復号制御部407の指示によりメモリ出力手段404
で参照画像の出力をしない場合、何もしない。このよう
にして、復号画像を生成すると共に新たに参照画像を生
成する。
When the memory output means 404 outputs a reference image to the input bit sequence received from the image encoding device 401 in accordance with the instruction of the decoding control unit 407, the decoding unit 402 Is added. Conversely, the memory output means 404 is operated in response to an instruction from the decoding control
If the reference image is not output, nothing is done. In this way, a decoded image is generated and a new reference image is generated.

【0059】フレームメモリ403は、次の入力ビット
列を処理する際に、復号制御部407の指示によりメモ
リ出力手段404で参照画像の出力をする場合、該出力
する参照画像より前の参照画像を記憶しているフレーム
メモリ403の部分が、復号制御部407の指示により
メモリ消去手段406で消去され、復号制御部407の
指示によりメモリ入力手段405で参照画像を入力し記
憶しておくようにする。反対に復号制御部407の指示
によりメモリ出力手段404で参照画像の出力をしない
場合、全ての部分が復号制御部407の指示によりメモ
リ消去手段406で消去される。フレームメモリ403
に記憶している複数の参照画像は、次または次以後の入
力ビット列を処理する際に、復号制御部407の指示に
よりメモリ出力手段404で参照画像の出力をするのに
使用される。
When the memory output means 404 outputs a reference image in accordance with an instruction from the decoding control unit 407 when processing the next input bit string, the frame memory 403 stores a reference image preceding the output reference image. The part of the frame memory 403 that has been erased is erased by the memory erasing unit 406 in accordance with the instruction of the decoding control unit 407, and the reference image is input and stored in the memory input unit 405 in accordance with the instruction of the decoding control unit 407. Conversely, when the memory output unit 404 does not output the reference image according to the instruction of the decoding control unit 407, all parts are erased by the memory erasing unit 406 according to the instruction of the decoding control unit 407. Frame memory 403
Are used for outputting the reference image by the memory output unit 404 in accordance with the instruction of the decoding control unit 407 when processing the next or subsequent input bit string.

【0060】ここで、複数の参照画像をフレームメモリ
403の各々の部分に記憶しておく構成としてFIFO
メモリを使用する場合の、実施形態例の動作について説
明する。
Here, as a configuration for storing a plurality of reference images in respective portions of the frame memory 403, a FIFO is used.
An operation of the embodiment when a memory is used will be described.

【0061】復号制御部407の指示によりメモリ入力
手段405で参照画像の入力をする場合、まず、消去さ
れているフレームメモリ403の部分に、フレームメモ
リ403に記憶している最も前の参照画像を記憶し、次
に、該最も前の参照画像を記憶していたフレームメモリ
403の部分に、該最も前の参照画像の次の参照画像を
記憶し、以下同様に繰り返し、最後に、FIFOメモリ
の入力の先頭となるフレームメモリ403の部分に、新
たに生成した参照画像を入力して記憶するようにする。
When a reference image is input by the memory input unit 405 in accordance with an instruction from the decoding control unit 407, first, the earliest reference image stored in the frame memory 403 is stored in the deleted frame memory 403. Then, the reference image next to the earliest reference image is stored in the portion of the frame memory 403 in which the earliest reference image is stored, and so on. A newly generated reference image is input and stored in a portion of the frame memory 403 which is the head of the input.

【0062】また、出力する参照画像より前の参照画像
を記憶しているフレームメモリ403の部分を、復号制
御部407の指示によりメモリ消去手段406で消去す
る場合、該出力する参照画像を記憶しているフレームメ
モリ403の部分を、FIFOメモリの出力の先頭と
し、FIFOメモリ以外のフレームメモリ403の部分
を消去するようにする。
When the portion of the frame memory 403 storing the reference image preceding the output reference image is deleted by the memory deletion unit 406 in accordance with the instruction of the decoding control unit 407, the output reference image is stored. The portion of the frame memory 403 that is being used is set as the head of the output of the FIFO memory, and the portion of the frame memory 403 other than the FIFO memory is deleted.

【0063】なお、参照画像の入力をする場合の前記F
IFOメモリの動作方法としては、フレームメモリ40
3に記憶している各々の参照画像を再び記憶するのでな
く、該各々の参照画像に対して、記憶しているフレーム
メモリ403の各部分を指し示すポインタを移動する等
の、動作方法でも可能である。
The above F when inputting a reference image is used.
As an operation method of the IFO memory, the frame memory 40
Rather than storing each reference image stored in the reference image 3 again, an operation method such as moving a pointer indicating each part of the stored frame memory 403 with respect to each reference image is also possible. is there.

【0064】また、消去するフレームメモリ403の部
分が、出力する参照画像より前でない参照画像である場
合も一般的には有り得る。そのような場合、該部分を消
去する場合の前記FIFOメモリの動作方法としては、
該出力する参照画像の次の参照画像を記憶しているフレ
ームメモリ403の部分に対して、記憶している参照画
像の前の参照画像を記憶しているフレームメモリ403
の部分を指し示すポインタを移動し、該出力する参照画
像を記憶しているフレームメモリ403の部分をFIF
Oメモリ以外とするようにしてから、該部分を消去する
等の、動作方法にて可能である。
It is generally possible that the portion of the frame memory 403 to be erased is a reference image that is not before the output reference image. In such a case, the operation method of the FIFO memory when erasing the portion is as follows.
For a portion of the frame memory 403 storing the reference image next to the output reference image, the frame memory 403 storing the reference image before the stored reference image is stored.
Is moved, and the portion of the frame memory 403 that stores the output reference image is
An operation method such as erasing the portion after setting the memory to something other than the O memory is possible.

【0065】このように、次の入力ビット列を処理する
際に、メモリ出力手段404でフレームメモリ403か
らの参照画像の出力をする場合、該出力する参照画像よ
り前の参照画像を記憶しているフレームメモリ403の
部分をメモリ消去手段406で消去し、反対にメモリ出
力手段404でフレームメモリ403からの参照画像の
出力をしない場合、メモリ入力手段405でフレームメ
モリ403への参照画像の入力をしないで、全てのフレ
ームメモリ403の部分をメモリ消去手段406で消去
することにより、画像復号装置において、メモリを不必
要に消費するのを防ぐという本発明の課題を解決するこ
とが可能となる。
As described above, when outputting the reference image from the frame memory 403 by the memory output means 404 when processing the next input bit string, the reference image preceding the output reference image is stored. When the portion of the frame memory 403 is erased by the memory erasing unit 406 and the memory output unit 404 does not output the reference image from the frame memory 403, the memory input unit 405 does not input the reference image to the frame memory 403. Then, by erasing all the frame memory 403 by the memory erasing unit 406, it is possible to solve the problem of the present invention of preventing the memory from being unnecessarily consumed in the image decoding apparatus.

【0066】[0066]

【発明の効果】以上説明したように、本発明による第一
の発明の画像符号化装置によれば、フレームメモリへの
参照画像の入力の有無をメモリ入力手段が切り換え、か
つフレームメモリの消去をメモリ消去手段が行うので、
フレームメモリからの参照画像の出力をしない場合、フ
レームメモリへの参照画像の入力をしないで、フレーム
メモリを消去することが可能となり、メモリを不必要に
消費するのを防ぐことが可能となる。
As described above, according to the image encoding apparatus of the first aspect of the present invention, the memory input means switches whether or not a reference image is input to the frame memory, and erases the frame memory. Since the memory erasing means performs,
When the reference image is not output from the frame memory, the frame memory can be erased without inputting the reference image to the frame memory, so that unnecessary consumption of the memory can be prevented.

【0067】また、本発明による第二の発明の画像符号
化装置によれば、フレームメモリへの参照画像の入力の
有無をメモリ入力手段が切り換え、かつフレームメモリ
の消去を各々の参照画像について独立してメモリ消去手
段が行うので、フレームメモリからの参照画像の出力を
する場合、該出力する参照画像より前の参照画像を記憶
しているフレームメモリの部分を消去することが可能と
なり、反対にフレームメモリからの参照画像の出力をし
ない場合、フレームメモリへの参照画像の入力をしない
で、全てのフレームメモリの部分を消去することが可能
となり、メモリを不必要に消費するのを防ぐことが可能
となる。
According to the image encoding apparatus of the second invention, the memory input means switches whether or not to input a reference image to the frame memory, and erases the frame memory independently for each reference image. When the reference image is output from the frame memory, the portion of the frame memory that stores the reference image preceding the output reference image can be deleted. When the reference image is not output from the frame memory, it is possible to delete all the frame memory portions without inputting the reference image to the frame memory, thereby preventing unnecessary consumption of the memory. It becomes possible.

【0068】一方、以上説明したように、本発明による
第三の発明の画像復号装置によれば、フレームメモリへ
の参照画像の入力の有無をメモリ入力手段が切り換え、
かつフレームメモリの消去をメモリ消去手段が行うの
で、フレームメモリからの参照画像の出力をしない場
合、フレームメモリへの参照画像の入力をしないで、フ
レームメモリを消去することが可能となり、メモリを不
必要に消費するのを防ぐことが可能となる。
On the other hand, as described above, according to the image decoding apparatus of the third aspect of the present invention, the memory input means switches whether or not to input a reference image to the frame memory.
In addition, since the memory erasing means performs erasing of the frame memory, when the reference image is not output from the frame memory, the frame memory can be erased without inputting the reference image to the frame memory. It is possible to prevent unnecessary consumption.

【0069】また、本発明による第四の発明の画像復号
装置によれば、フレームメモリへの参照画像の入力の有
無をメモリ入力手段が切り換え、かつフレームメモリの
消去を各々の参照画像について独立してメモリ消去手段
が行うので、フレームメモリからの参照画像の出力をす
る場合、該出力する参照画像より前の参照画像を記憶し
ているフレームメモリの部分を消去することが可能とな
り、反対にフレームメモリからの参照画像の出力をしな
い場合、フレームメモリへの参照画像の入力をしない
で、全てのフレームメモリの部分を消去することが可能
となり、メモリを不必要に消費するのを防ぐことが可能
となる。
According to the image decoding apparatus of the fourth aspect of the present invention, the memory input means switches whether or not a reference image is input to the frame memory, and erases the frame memory independently for each reference image. When the reference image is output from the frame memory, the portion of the frame memory storing the reference image preceding the output reference image can be deleted. When the reference image is not output from the memory, it is possible to delete all the frame memory portions without inputting the reference image to the frame memory, thereby preventing unnecessary consumption of the memory. Becomes

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

【図1】本発明による第一の発明の実施形態例の画像符
号化装置の構成を示す図である。
FIG. 1 is a diagram showing a configuration of an image encoding device according to an embodiment of the first invention according to the present invention.

【図2】本発明による第二の発明の実施形態例の画像符
号化装置の構成を示す図である。
FIG. 2 is a diagram illustrating a configuration of an image encoding device according to a second embodiment of the present invention;

【図3】本発明による第三の発明の実施形態例の画像復
号装置の構成を示す図である。
FIG. 3 is a diagram illustrating a configuration of an image decoding device according to a third embodiment of the present invention;

【図4】本発明による第四の発明の実施形態例の画像復
号装置の構成を示す図である。
FIG. 4 is a diagram illustrating a configuration of an image decoding device according to a fourth embodiment of the present invention;

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

101…符号化部 102…局所復号部 103…フレームメモリ 104…メモリ出力手段 105…メモリ入力手段 106…メモリ消去手段 107…符号化制御部 108…画像復号装置 201…符号化部 202…局所復号部 203…フレームメモリ 204…メモリ出力手段 205…メモリ入力手段 206…メモリ消去手段 207…符号化制御部 208…画像復号装置 301…画像符号化装置 302…復号部 303…フレームメモリ 304…メモリ出力手段 305…メモリ入力手段 306…メモリ消去手段 307…復号制御部 401…画像符号化装置 402…復号部 403…フレームメモリ 404…メモリ出力手段 405…メモリ入力手段 406…メモリ消去手段 407…復号制御部 Reference Signs List 101 encoding unit 102 local decoding unit 103 frame memory 104 memory output unit 105 memory input unit 106 memory erasing unit 107 encoding control unit 108 image decoding device 201 encoding unit 202 local decoding unit 203 ... Frame memory 204 ... Memory output means 205 ... Memory input means 206 ... Memory erasing means 207 ... Encoding control section 208 ... Image decoding apparatus 301 ... Image encoding apparatus 302 ... Decoding section 303 ... Frame memory 304 ... Memory output means 305 ... memory input means 306 ... memory erasing means 307 ... decoding control unit 401 ... image encoding device 402 ... decoding unit 403 ... frame memory 404 ... memory output means 405 ... memory input means 406 ... memory erasing means 407 ... decoding control unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 市川 忠嗣 東京都新宿区西新宿3丁目19番2号 日本 電信電話株式会社内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Tadashi Ichikawa 3-19-2 Nishi-Shinjuku, Shinjuku-ku, Tokyo Nippon Telegraph and Telephone Corporation

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 入力画像に対し参照画像と減算を行いビ
ット列を生成する符号化部と、 前記ビット列に対し前記参照画像と加算を行い参照画像
を新たに生成する局所復号部と、 前記参照画像を記憶しておくフレームメモリと、 前記フレームメモリからの前記参照画像の出力の有無を
切り換えるメモリ出力手段と、 を有する画像符号化装置であって、 前記フレームメモリへの参照画像の入力の有無を切り換
えるメモリ入力手段と、 前記フレームメモリの消去を行うメモリ消去手段と、 前記メモリ出力手段の参照画像の有無の切り換えに基づ
いて前記メモリ入力手段およびメモリ消去手段を制御す
る制御部と、 を有することを特徴とする画像符号化装置。
An encoding unit configured to subtract a reference image from an input image to generate a bit sequence; a local decoding unit configured to add the reference image to the bit sequence to generate a new reference image; And a memory output unit that switches the presence or absence of the output of the reference image from the frame memory. A memory input unit for switching, a memory erasing unit for erasing the frame memory, and a control unit for controlling the memory input unit and the memory erasing unit based on switching of the presence or absence of a reference image of the memory output unit. An image encoding device characterized by the above-mentioned.
【請求項2】 入力画像に対し参照画像と減算を行いビ
ット列を生成する符号化部と、 前記ビット列に対し前記参照画像と加算を行い参照画像
を新たに生成する局所復号部と、 複数の参照画像を記憶しておくフレームメモリと、 前記フレームメモリからの前記参照画像の出力を、前記
フレームメモリに記憶している各々の参照画像から高々
一つ選択するメモリ出力手段と、 を有する画像符号化装置であって、 前記フレームメモリへの参照画像の入力の有無を切り換
えるメモリ入力手段と、 前記フレームメモリの消去を前記各々の参照画像につい
て独立して行うメモリ消去手段と、 前記メモリ出力手段の参照画像の選択に基づいて前記メ
モリ入力手段およびメモリ消去手段を制御する制御部
と、 を有することを特徴とする画像符号化装置。
2. An encoding unit that subtracts a reference image from an input image to generate a bit sequence, a local decoding unit that adds the reference image to the bit sequence and newly generates a reference image, A frame memory for storing an image; and memory output means for selecting at most one output of the reference image from the frame memory from each of the reference images stored in the frame memory. An apparatus, comprising: memory input means for switching whether or not a reference image is input to the frame memory; memory erasing means for independently erasing the frame memory for each of the reference images; and reference to the memory output means. An image encoding device, comprising: a control unit that controls the memory input unit and the memory erasing unit based on selection of an image.
【請求項3】 入力ビット列に対し参照画像と加算を行
い復号画像を生成すると共に参照画像を新たに生成する
復号部と、 前記参照画像を記憶しておくフレームメモリと、 前記フレームメモリからの前記参照画像の出力の有無を
切り換えるメモリ出力手段と、 を有する画像復号装置であって、 前記フレームメモリへの参照画像の入力の有無を切り換
えるメモリ入力手段と、 前記フレームメモリの消去を行うメモリ消去手段と、 前記メモリ出力手段の参照画像の有無の切り換えに基づ
いて前記メモリ入力手段およびメモリ消去手段を制御す
る制御部と、 を有することを特徴とする画像復号装置。
3. A decoding unit that adds a reference image to an input bit string to generate a decoded image and newly generates a reference image; a frame memory that stores the reference image; An image decoding device comprising: a memory output unit that switches whether to output a reference image; and a memory input unit that switches whether to input a reference image to the frame memory; and a memory erasing unit that erases the frame memory. An image decoding apparatus comprising: a control unit configured to control the memory input unit and the memory erasing unit based on switching of the presence or absence of a reference image of the memory output unit.
【請求項4】 入力ビット列に対し参照画像と加算を行
い復号画像を生成すると共に参照画像を新たに生成する
復号部と、 複数の参照画像を記憶しておくフレームメモリと、 前記フレームメモリからの前記参照画像の出力を、前記
フレームメモリに記憶している各々の参照画像から高々
一つ選択するメモリ出力手段と、 を有する画像復号装置であって、 前記フレームメモリへの参照画像の入力の有無を切り換
えるメモリ入力手段と、 前記フレームメモリの消去を前記各々の参照画像につい
て独立して行うメモリ消去手段と、 前記メモリ出力手段の参照画像の選択に基づいて前記メ
モリ入力手段およびメモリ消去手段を制御する制御部
と、 を有することを特徴とする画像復号装置。
4. A decoding unit for adding a reference image to an input bit string to generate a decoded image and newly generating a reference image; a frame memory for storing a plurality of reference images; A memory output unit that selects at most one output of the reference image from each of the reference images stored in the frame memory, wherein the presence or absence of input of the reference image to the frame memory is provided. A memory input means for switching the frame memory independently for each of the reference images; and controlling the memory input means and the memory erasing means based on the selection of the reference image by the memory output means. An image decoding device, comprising:
JP9191695A 1997-07-17 1997-07-17 Image coder and image detector Pending JPH1141605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9191695A JPH1141605A (en) 1997-07-17 1997-07-17 Image coder and image detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9191695A JPH1141605A (en) 1997-07-17 1997-07-17 Image coder and image detector

Publications (1)

Publication Number Publication Date
JPH1141605A true JPH1141605A (en) 1999-02-12

Family

ID=16278939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9191695A Pending JPH1141605A (en) 1997-07-17 1997-07-17 Image coder and image detector

Country Status (1)

Country Link
JP (1) JPH1141605A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009153175A (en) * 2002-07-11 2009-07-09 Panasonic Corp Picture decoding method and picture decoding device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009153175A (en) * 2002-07-11 2009-07-09 Panasonic Corp Picture decoding method and picture decoding device
JP2010283878A (en) * 2002-07-11 2010-12-16 Panasonic Corp Image decoding method, and image decoding device
JP2010283880A (en) * 2002-07-11 2010-12-16 Panasonic Corp Image decoding method, and image encoding signal
US8155206B2 (en) 2002-07-11 2012-04-10 Panasonic Corporation Picture encoding method and picture decoding method
US8189680B2 (en) 2002-07-11 2012-05-29 Panasonic Corporation Picture encoding method and picture decoding method
JP2012124949A (en) * 2002-07-11 2012-06-28 Panasonic Corp Image encoding method, image encoder and image encoding signal
JP2014014142A (en) * 2002-07-11 2014-01-23 Panasonic Corp Image coding and decoding method and image coding and decoding device
JP2014014144A (en) * 2002-07-11 2014-01-23 Panasonic Corp Image coding and decoding method and image coding and decoding device
JP2014014143A (en) * 2002-07-11 2014-01-23 Panasonic Corp Image coding and decoding method and image coding and decoding device
US8660192B2 (en) 2002-07-11 2014-02-25 Panasonic Corporation Picture encoding method and picture decoding method
US9088781B2 (en) 2002-07-11 2015-07-21 Panasonic Intellectual Proeprty Corporation Of America Picture encoding method and picture decoding method
US9088782B2 (en) 2002-07-11 2015-07-21 Panasonic Intellectual Property Corporation Of America Picture encoding method and picture decoding method
US9088783B2 (en) 2002-07-11 2015-07-21 Panasonic Intellectual Property Corporation Of America Picture encoding method and picture decoding method
US9094666B2 (en) 2002-07-11 2015-07-28 Panasonic Intellectual Property Corporation Of America Picture encoding method and picture decoding method
US9390512B2 (en) 2002-07-11 2016-07-12 Panasonic Intellectual Property Corporation Of America Picture encoding method and picture decoding method
US9412177B2 (en) 2002-07-11 2016-08-09 Panasonic Intellectual Property Corporation Of America Picture encoding method and picture decoding method

Similar Documents

Publication Publication Date Title
JP3513148B1 (en) Moving picture coding method, moving picture decoding method, moving picture coding apparatus, moving picture decoding apparatus, moving picture coding program, and moving picture decoding program
JP3377677B2 (en) Video editing device
JP5332773B2 (en) Image processing apparatus and method
US20030052909A1 (en) Real-time rendering of edited video stream
CN112184856A (en) Multimedia processing device supporting multi-layer special effect and animation mixing
KR102336179B1 (en) Video data processing system
US20050212799A1 (en) Rendering images containing video
JP2004180266A (en) Video decoding method, video decoding apparatus, and video decoding program
JP3179623B2 (en) Video movie
CN114979753A (en) Screen recording method, device, equipment and medium
JPH1141605A (en) Image coder and image detector
US5510846A (en) Process for synchronizing the scanning circuit of an image display device
US8063916B2 (en) Graphics layer reduction for video composition
JPH1155674A (en) Image coder and image decoder
JP2000217000A (en) Image processor, image processing method and recording medium
JP3416034B2 (en) Coded signal processing device
JP3129092B2 (en) Encoded data editing device
JP3939273B2 (en) Moving picture encoding method, moving picture decoding method, moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding program, and moving picture decoding program
JP2004328391A (en) Moving image decoding method and its device
JP4672561B2 (en) Image processing apparatus, receiving apparatus, broadcast system, image processing method, image processing program, and recording medium
JP4169436B2 (en) Mail data processing apparatus, mail data processing method and recording medium
JP2006157363A (en) Contents edit system, contents edit method, edit server apparatus, program, and edit client apparatus, and program
JP2007068218A (en) Method of video-encoding, method of video-decoding, video-encoding apparatus, video-decoding apparatus, video-encoding program, and video-decoding program
JP2008147814A (en) Digital broadcast receiving device and operating method thereof, and computer program
JP3084388B2 (en) Data processing method

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20090502

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

Free format text: PAYMENT UNTIL: 20120502

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130502

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees