JP2004289601A - Dynamic image encoder, dynamic image encoding method and program - Google Patents

Dynamic image encoder, dynamic image encoding method and program Download PDF

Info

Publication number
JP2004289601A
JP2004289601A JP2003080399A JP2003080399A JP2004289601A JP 2004289601 A JP2004289601 A JP 2004289601A JP 2003080399 A JP2003080399 A JP 2003080399A JP 2003080399 A JP2003080399 A JP 2003080399A JP 2004289601 A JP2004289601 A JP 2004289601A
Authority
JP
Japan
Prior art keywords
block
encoding
coding
interest
intra
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.)
Withdrawn
Application number
JP2003080399A
Other languages
Japanese (ja)
Inventor
Kaname Tomiyasu
要 富安
Katsumi Otsuka
克己 大塚
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 JP2003080399A priority Critical patent/JP2004289601A/en
Publication of JP2004289601A publication Critical patent/JP2004289601A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a dynamic image encoder, a dynamic image encoding method and a program for encoding a dynamic image in a processing time shorter than before. <P>SOLUTION: When a motion detecting section 102 is detecting a reference block having a high correlation with a noticed block from an encoded reference image, a discrete cosine transform section 106 begins intra-encoding by receiving the noticed block and an inter/intra deciding section 103 makes a decision which of inter-encoding and intra-encoding is selected for the noticed block from correlation of the noticed block and the reference block. When a decision is made that the intra-encoding is selected, the noticed block is encoded and outputted as processing data. When a decision is made that the inter-encoding is selected, the discrete cosine transform section 106 performs inter-encoding by receiving the difference between the noticed block and the reference block. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、動画像を画面内でm×nごとのブロックに分割し、インター符号化とイントラ符号化とを適応的に選択する動画像符号化装置、動画符号化方法及びプログラムに関するものである。
【0002】
【従来の技術】
動画像の符号化方式として、例えば国際標準規格であるMPEG (Moving Picture Experts Group)がある。このような動画像の符号化方式では、動画像をフレームまたはフィールド画面内でm×nごとのブロックに分割し、この分割されたブロックごとに符号化を行なう。
【0003】
符号化すべき注目ブロックに対して適用する符号化には、注目ブロックと符号化済みの参照画像から検出された参照ブロックとの相関を利用したインター符号化と、原画像内の相関を利用したイントラ符号化がある。
【0004】
符号化すべき注目ブロックに対してインター符号化とイントラ符号化のどちらを適用するかを適応的に選択して動画像の符号化を行なう従来の手法を図4、図5、図6を用いて説明する。図4は、従来手法における動画像符号化装置を示している。図5は、従来手法における動画像を符号化する際のフローを示している。また、図6は、従来手法における動画像を符号化する際の各処理の順序関係を示している。
【0005】
まず、動き検出部102に注目ブロック101と後述するフレームメモリ112に蓄えられている符号化済み参照画像を入力して、図5の動き検出S201を行なう。この処理によって入力された注目ブロック101と最も相関の高いブロックである参照ブロックが符号化済み参照画像から検出される。
【0006】
次に、注目ブロック101と動き検出部102によって検出された参照ブロックをインター/イントラ判定部103に入力して、図5のインター/イントラ判定S202を行なう。この処理によって注目ブロック101に対してインター符号化とイントラ符号化のどちらを適用するかを判定する。
【0007】
インター/イントラ判定部103において注目ブロック101に対してインター符号化を適用すると判定された場合には、選択器105で注目ブロック101と参照ブロックの差分(図4、B)を選択して離散コサイン変換部106の入力とする。
【0008】
一方、インター/イントラ判定部103において注目ブロック101に対してイントラ符号化を適用すると判定された場合には、選択器105で注目ブロック101(図4、A)を選択して離散コサイン変換部106の入力とする。
【0009】
離散コサイン変換部106は与えられた入力に対して図5の離散コサイン変換S206を行ない、その結果を量子化部107に入力する。
【0010】
量子化部107は与えられた入力に対して図5の量子化S207を行ない、その結果をエントロピー符号化部109に入力する。
【0011】
エントロピー符号化部109は与えられた入力に対して図5のエントロピー符号化S208を行ない、その結果として符号語列を得る。
【0012】
また、動き検出部102で必要となる符号化済み参照画像を得るために次の処理を行なう。まず、量子化部107で得られた結果を逆量子化部110に入力して逆量子化処理を行なう。次に、逆量子化部110で得られた結果を逆離散コサイン変換部111に入力して逆離散コサイン変換処理を行ない、その結果得られた画像を符号化済み参照画像としてフレームメモリ112に蓄えておく。
【0013】
従来手法では、図6に示すように動き検出処理が終わり、符号化すべき注目ブロックに対してインター符号化とイントラ符号化のどちらを適用するかを判定した後でないと、その後に続く離散コサイン変換処理、量子化処理、エントロピー符号化処理を行なえない。
【0014】
【発明が解決しようとする課題】
以上説明したように従来手法では、動き検出の処理が終わり、符号化すべき注目ブロックに対してインター符号化とイントラ符号化のどちらを適用するかを判定した後でないと、その後に続く離散コサイン変換処理、量子化処理、エントロピー符号化処理を行なえなかった。動き検出の処理時間が短い場合には離散コサイン変換処理、量子化処理、エントロピー符号化処理が待たされても問題にならないが、実際には動き検出の処理時間は他の処理に比べて非常に長いために、動画像の符号化の処理時間も長くなってしまう。
【0015】
本発明は、係る問題点を解決するためになされたもので、従来より短い処理時間で動画像を符号化する動画符号化装置、動画符号化方法及びプログラムを提供することを目的とする。
【0016】
【課題を解決するための手段】
係る課題を解決するために、本発明の動画像符号化装置は、動画像を画面内でm×nごとのブロックに分割し、符号化すべき原画面内の注目ブロックに対して符号化済みの参照画像から検出された参照ブロックとの相関を用いるインター符号化と、原画像内の相関を用いるイントラ符号化とを選択的に行う動画像符号化装置であって、前記注目ブロックと相関の高い参照ブロックを前記符号化済みの参照画像から検出する動き検出手段と、前記注目ブロックと前記参照ブロックとの相関から、前記注目ブロックに対してインター符号化とイントラ符号化のどちらを選択するかを判定する判定手段と、前記注目ブロックと前記参照ブロックとの差分、または前記注目ブロックを入力して符号化処理をする符号化処理手段と、前記動き検出手段が前記参照ブロックを検出している間に、前記符号化処理手段は前記注目ブロックの符号化処理を開始し、前記判定手段でイントラ符号化を選択すると判定された場合、前記符号化処理手段は前記注目ブロックを符号化処理した処理データを出力し、前記判定手段でインター符号化を選択すると判定された場合、前記符号化処理手段は前記注目ブロックと前記参照ブロックとの差分の符号化処理することを特徴とする。
【0017】
また、係る課題を解決するために、本発明の動画像符号化方法装置は、動画像を画面内でm×nごとのブロックに分割し、符号化すべき原画面内の注目ブロックに対して、符号化済みの参照画像から検出された参照ブロックと差分処理して符号化するインター符号化と前記差分処理することなく符号化するイントラ符号化とを選択的に用いて符号化する動画像符号化方法であって、前記注目ブロックと相関の高い参照ブロックを前記符号化済みの参照画像から検出する動き検出処理と、前記注目ブロックと前記参照ブロックとの相関から、前記注目ブロックに対してインター符号化とイントラ符号化のどちらを選択するかを判定する判定処理と、前記注目ブロックを符号化処理する符号化処理とを有し、前記符号化処理では、前記動き検出処理の動作している間に、前記注目ブロックのイントラ符号化処理を開始し、前記判定処理でイントラ符号化を選択すると判定された場合、判定前に開始されたイントラ符号化処理の処理データを出力し、前記判定処理でインター符号化を選択すると判定された場合、前記注目ブロックのインター符号化処理を開始することを特徴とする。
【0018】
【発明の実施の形態】
以下、本発明に係る実施形態を詳細に説明する。
【0019】
(実施例1)
本発明の動画像符号化装置は従来の技術と同様に、動画像をフレームまたはフィールド画面内でm×nごとのブロックに分割し、この分割されたブロックごとに符号化を行なう。そして、注目ブロックに対して適用する符号化をインター符号化とイントラ符号化から適応的に選択して動画像の符号化を行なう。
【0020】
本発明の動画像符号化装置を用いて動画像を符号化する手法を図1、図2、図3を用いて説明する。図1は、本発明の手法における動画像符号化装置を示している。図2は、本発明の手法における動画像を符号化する際のフローを示している。また、図3は、本発明の手法における動画像を符号化する際の各処理の順序関係を示している。なお、図1において従来の動画像符号化装置と同じものについては図4と同一の符号をつけている。
【0021】
まず、動き検出部102に注目ブロック101とフレームメモリ112に蓄えられている符号化済み参照画像を入力して、図2の動き検出S101を行なう。
この処理によって入力された注目ブロック101と最も相関の高いブロックである参照ブロックが符号化済み参照画像から検出される。
【0022】
動き検出部102が参照ブロックの検出を行なっている間に、注目ブロック101に対してイントラ符号化を適用すると判断されたものとして選択器105は図2のS103で注目ブロック101(図1、A)を選択して、離散コサイン変換部106の入力とする。そして、離散コサイン変換部106によって図2の離散コサイン変換S104を、量子化部107によって図2の量子化S105を行なっておき、その結果をバッファ部108に蓄えておく。
【0023】
動き検出部102での処理が終わって参照ブロックが検出されると、注目ブロック101と検出された参照ブロックをインター/イントラ判定部103に入力して、図2のインター/イントラ判定S102を行なう。この処理によって注目ブロック101に対してインター符号化とイントラ符号化のどちらを適用するかを判定する。
【0024】
インター/イントラ判定部103が注目ブロック101に対してインター符号化を適用すると判定した場合には、選択器105は図2のS108で注目ブロック101と参照ブロックとの差分(図1、B)を選択して、あらためて離散コサイン変換部106の入力とする。そして、離散コサイン変換部106によって図2の離散コサイン変換S109を、量子化部107によって図2の量子化S110を行ない、その結果をバッファ部108に入力する。
【0025】
また、インター/イントラ判定部103は、注目ブロック101に対してインター符号化を適用すると判定したことを起動部104に伝える。そして、離散コサイン変換部106による図2の離散コサイン変換S109と量子化部107による図2の量子化S110が終了すると、起動部104はバッファ部108とエントロピー符号化部109にエントロピー符号化処理を開始してもよいことを伝える。インター符号化を行なう場合にはバッファ部108は量子化部107からの入力を蓄えることなくエントロピー符号化部109への入力とする。
【0026】
一方、インター/イントラ判定部103が注目ブロック101に対してイントラ符号化を適用すると判定した場合には、それを起動部104に伝える。このとき、離散コサイン変換部106による図2の離散コサイン変換S104と量子化部107による図2の量子化S105は既に行なっているので、直ちに起動部104はバッファ部108とエントロピー符号化部109にエントロピー符号化処理を開始してもよいことを伝える。イントラ符号化を行なう場合にはバッファ部108が蓄えている結果をエントロピー符号化部109への入力とする。
【0027】
エントロピー符号化部109は起動部104から処理開始が伝えられると、バッファ部108から与えられた入力に対して、図2のエントロピー符号化S112を行ない、その結果として符号語列を得る。
【0028】
また、動き検出部102で必要となる符号化済み参照画像を従来手法と同様にして得る。ただし、起動部104から処理の開始が伝えられてから、逆量子化部110はバッファ部108に蓄えられている結果を入力として逆量子化処理を行なう。
【0029】
本実施例では、動き検出処理の間に、注目ブロックの離散コサイン変換処理と量子化処理を行って、バッファ部に蓄えておいたが、その他の実施例として、注目ブロックの離散コサイン変換処理と量子化処理後、エントロピー符号化処理を行って、バッファ部に蓄えておいてもよい。その際、動き検出処理が終了するまでにエントロピー符号化処理が終了しないときは、イントラ符号化を行う場合にはバッファ部に蓄えることなく、エントロピー符号化処理後、その処理データを出力する。
【0030】
また、本実施例では、直交変換処理は離散コサイン変換処理で説明したが、これに限定されない。また、符号化はエントロピー符号化で説明したが、これに限定されない。
【0031】
本発明では、動き検出処理の間に、注目ブロックの符号化処理を開始しておくと、インター/イントラ判定で注目ブロックにイントラ符号化を適用すると判定された場合には、判定前にイントラ符号化処理が開始されているので、従来の手法より短い処理時間で注目ブロックに対して符号化処理を行なうことができる。一方、インター/イントラ判定で注目ブロックにインター符号化を適用すると判定された場合には、従来手法で符号化を行なったときと同程度の処理時間となる。
【0032】
<その他の実施形態>
また、上記実施形態では、ネットワークを構成するハードウェア等が含まれるものの、各処理部は実際はソフトウェアで実現できるものである。即ち、本発明の目的は、上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または、記録媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(または、CPUやMPU)が、記憶媒体に格納されたプログラムコードを読み出し、実行することによっても達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が、上述した実施の形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体が本発明を構成することになる。
【0033】
また、コンピュータが読み出したプログラムコードを実行することにより、上述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)等が、実際の処理の一部または全部を行い、その処理によって、上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。
【0034】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPU等が、実際の処理の一部または全部を行い、その処理によって、上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。
【0035】
【発明の効果】
以上説明したように本発明によれば、動き検出処理の間に注目ブロックのイントラ符号化処理を開始しておくので、イントラ符号化を選択された際の処理時間が短縮され、結果として、動画像の符号化にかかる処理時間が短縮できる。
【図面の簡単な説明】
【図1】本発明における動画像符号化装置を示す図である。
【図2】本発明における動画像を符号化する際のフローを示す図である。
【図3】本発明における動画像を符号化する際の各処理の順序関係を示す図である。
【図4】従来手法における動画像符号化装置を示す図である。
【図5】従来手法における動画像を符号化する際のフローを示す図である。
【図6】従来手法における動画像を符号化する際の各処理の順序関係を示す図である。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a moving image encoding apparatus, a moving image encoding method, and a program that divide a moving image into blocks of m × n in a screen and adaptively select inter-coding or intra-coding. .
[0002]
[Prior art]
As a moving image encoding method, for example, there is an MPEG (Moving Picture Experts Group) which is an international standard. In such a moving picture coding method, a moving picture is divided into m × n blocks in a frame or a field screen, and coding is performed for each of the divided blocks.
[0003]
The coding applied to the target block to be coded includes inter coding using the correlation between the target block and a reference block detected from the coded reference image, and intra coding using the correlation in the original image. There is encoding.
[0004]
A conventional technique of adaptively selecting whether to apply inter-coding or intra-coding to a target block to be encoded and encoding a moving image will be described with reference to FIGS. 4, 5, and 6. explain. FIG. 4 shows a moving picture coding apparatus according to a conventional method. FIG. 5 shows a flow when encoding a moving image in the conventional method. FIG. 6 shows an order relationship of each processing when encoding a moving image in the conventional method.
[0005]
First, the target block 101 and an encoded reference image stored in a frame memory 112 described later are input to the motion detection unit 102, and motion detection S201 in FIG. 5 is performed. By this processing, a reference block that is the block having the highest correlation with the input block of interest 101 is detected from the encoded reference image.
[0006]
Next, the target block 101 and the reference block detected by the motion detection unit 102 are input to the inter / intra determination unit 103, and the inter / intra determination S202 in FIG. 5 is performed. By this processing, it is determined whether to apply the inter coding or the intra coding to the block of interest 101.
[0007]
If the inter / intra determination unit 103 determines that inter coding is to be applied to the block of interest 101, the selector 105 selects the difference between the block of interest 101 and the reference block (FIG. 4B) and sets the discrete cosine It is input to the conversion unit 106.
[0008]
On the other hand, if the inter / intra determination unit 103 determines that intra coding is to be applied to the block of interest 101, the selector 105 selects the block of interest 101 (A in FIG. 4), and the discrete cosine transform unit 106 Input.
[0009]
The discrete cosine transform unit 106 performs the discrete cosine transform S206 of FIG. 5 on the given input, and inputs the result to the quantization unit 107.
[0010]
The quantization unit 107 performs the quantization S207 of FIG. 5 on the given input, and inputs the result to the entropy encoding unit 109.
[0011]
The entropy coding unit 109 performs the entropy coding S208 of FIG. 5 on the given input, and obtains a codeword string as a result.
[0012]
Further, the following processing is performed to obtain an encoded reference image required by the motion detection unit 102. First, the result obtained by the quantization unit 107 is input to the inverse quantization unit 110 to perform an inverse quantization process. Next, the result obtained by the inverse quantization unit 110 is input to the inverse discrete cosine transform unit 111 to perform an inverse discrete cosine transform process, and the resulting image is stored in the frame memory 112 as an encoded reference image. Keep it.
[0013]
In the conventional method, as shown in FIG. 6, the motion detection processing is completed, and it is not after determining whether to apply the inter-encoding or the intra-encoding to the target block to be encoded. Processing, quantization processing and entropy coding processing cannot be performed.
[0014]
[Problems to be solved by the invention]
As described above, in the conventional method, the motion detection processing is completed, and it is not after determining whether to apply the inter-encoding or the intra-encoding to the target block to be encoded. Processing, quantization processing and entropy coding processing could not be performed. If the processing time for motion detection is short, it does not matter if the discrete cosine transform processing, quantization processing, and entropy coding processing are awaited, but in actuality, the processing time for motion detection is much shorter than other processing. Because of the long length, the processing time of moving image encoding also becomes long.
[0015]
SUMMARY An advantage of some aspects of the invention is to provide a moving image encoding device, a moving image encoding method, and a program that encode a moving image in a shorter processing time than a related art.
[0016]
[Means for Solving the Problems]
In order to solve such a problem, the moving image encoding apparatus of the present invention divides a moving image into blocks of m × n in a screen, and encodes a block of interest in a target block in an original screen to be encoded. A moving image encoding apparatus that selectively performs inter-encoding using a correlation with a reference block detected from a reference image and intra-encoding using a correlation in an original image, and has a high correlation with the block of interest. A motion detection unit that detects a reference block from the encoded reference image; and, based on a correlation between the block of interest and the reference block, which of inter-coding and intra-coding is selected for the block of interest. Determining means for determining, a difference between the block of interest and the reference block, or encoding processing means for inputting the block of interest and performing encoding processing; While detecting the reference block, the encoding processing unit starts encoding processing of the target block, and when it is determined that the intra-coding is to be selected by the determination unit, the encoding processing unit Outputting processing data obtained by encoding the block of interest, and determining that the inter-encoding is to be selected by the determination unit, the encoding processing unit encodes the difference between the block of interest and the reference block. It is characterized by.
[0017]
In order to solve such a problem, a moving image encoding method apparatus according to the present invention divides a moving image into blocks of m × n in a screen, and, for a target block in an original screen to be encoded, Moving image coding for selectively using inter-coding for performing differential processing on a reference block detected from a coded reference image and intra-coding for performing coding without performing the differential processing A motion detection process for detecting a reference block having a high correlation with the block of interest from the encoded reference image; and inter-coding the block of interest with a correlation between the block of interest and the reference block. And a coding process for coding the block of interest. In the coding process, the motion detection process is performed. During the operation of, the intra-encoding processing of the block of interest is started, and when it is determined that the intra-encoding is to be selected in the determination processing, the processing data of the intra-encoding processing started before the determination is output. If it is determined in the determination process that inter-coding is to be selected, the inter-coding process of the target block is started.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments according to the present invention will be described in detail.
[0019]
(Example 1)
The moving picture coding apparatus of the present invention divides a moving picture into blocks of m × n in a frame or a field screen and performs coding for each of the divided blocks as in the conventional technique. Then, the coding to be applied to the block of interest is adaptively selected from inter-coding and intra-coding, and the moving picture is coded.
[0020]
A method for encoding a moving image using the moving image encoding device of the present invention will be described with reference to FIGS. 1, 2, and 3. FIG. FIG. 1 shows a moving picture coding apparatus according to the method of the present invention. FIG. 2 shows a flow when encoding a moving image in the method of the present invention. FIG. 3 shows an order relation of each processing when encoding a moving image in the method of the present invention. In FIG. 1, the same components as those of the conventional video encoding device are denoted by the same reference numerals as those in FIG.
[0021]
First, the block of interest 101 and the encoded reference image stored in the frame memory 112 are input to the motion detection unit 102, and motion detection S101 in FIG. 2 is performed.
By this processing, a reference block that is the block having the highest correlation with the input block of interest 101 is detected from the encoded reference image.
[0022]
While it is determined that intra-coding is to be applied to the block of interest 101 while the motion detection unit 102 is detecting the reference block, the selector 105 determines that the block of interest 101 (FIG. 1, A ) Is selected as an input to the discrete cosine transform unit 106. Then, the discrete cosine transform unit 106 performs the discrete cosine transform S104 in FIG. 2, and the quantization unit 107 performs the quantization S105 in FIG. 2, and stores the result in the buffer unit 108.
[0023]
When the reference block is detected after the processing in the motion detection unit 102 is completed, the target block 101 and the detected reference block are input to the inter / intra determination unit 103, and the inter / intra determination S102 in FIG. 2 is performed. By this processing, it is determined whether to apply the inter coding or the intra coding to the block of interest 101.
[0024]
When the inter / intra determination unit 103 determines that the inter coding is applied to the block of interest 101, the selector 105 determines the difference between the block of interest 101 and the reference block (FIG. 1, B) in S108 of FIG. The selected cosine transform is input to the discrete cosine transform unit 106 again. Then, the discrete cosine transform unit 106 performs the discrete cosine transform S109 in FIG. 2, and the quantization unit 107 performs the quantization S110 in FIG. 2, and inputs the result to the buffer unit 108.
[0025]
In addition, the inter / intra determination unit 103 notifies the activation unit 104 that it has determined that the inter coding is to be applied to the block of interest 101. Then, when the discrete cosine transform S109 of FIG. 2 by the discrete cosine transform unit 106 and the quantization S110 of FIG. 2 by the quantizer 107 are completed, the activation unit 104 performs entropy encoding processing on the buffer unit 108 and entropy encoding unit 109. Tell them you can start. When performing inter-coding, the buffer unit 108 does not store the input from the quantization unit 107 but inputs the input to the entropy coding unit 109.
[0026]
On the other hand, when the inter / intra determination unit 103 determines that intra coding is to be applied to the block of interest 101, the fact is transmitted to the activation unit 104. At this time, since the discrete cosine transform S104 of FIG. 2 by the discrete cosine transformer 106 and the quantization S105 of FIG. 2 by the quantizer 107 have already been performed, the activation unit 104 immediately sends the buffer 108 and the entropy encoder 109 to Informs that entropy coding may be started. When performing intra coding, the result stored in the buffer unit 108 is input to the entropy coding unit 109.
[0027]
When the start of processing is transmitted from the activation unit 104, the entropy encoding unit 109 performs entropy encoding S112 in FIG. 2 on the input provided from the buffer unit 108, and obtains a codeword string as a result.
[0028]
Also, an encoded reference image required by the motion detection unit 102 is obtained in the same manner as in the conventional method. However, after the start of the process is notified from the activation unit 104, the inverse quantization unit 110 performs the inverse quantization process using the result stored in the buffer unit 108 as an input.
[0029]
In the present embodiment, the discrete cosine transform process and the quantization process of the block of interest are performed and stored in the buffer unit during the motion detection process. However, as another embodiment, the discrete cosine transform process of the block of interest is performed. After the quantization process, an entropy coding process may be performed and stored in the buffer unit. At this time, if the entropy encoding process is not completed before the motion detection process is completed, the process data is output after the entropy encoding process without storing the data in the buffer unit when performing intra encoding.
[0030]
Further, in the present embodiment, the orthogonal transform processing has been described as the discrete cosine transform processing, but the present invention is not limited to this. Also, the encoding has been described with entropy encoding, but is not limited to this.
[0031]
According to the present invention, if the coding process of the block of interest is started during the motion detection process, if it is determined in the inter / intra determination that intra coding is to be applied to the block of interest, the intra-coding is performed before the determination. Since the encoding process has been started, the encoding process can be performed on the block of interest in a shorter processing time than the conventional method. On the other hand, when it is determined in the inter / intra determination that inter coding is to be applied to the block of interest, the processing time is approximately the same as when coding is performed by the conventional method.
[0032]
<Other embodiments>
Further, in the above embodiment, although the hardware and the like configuring the network are included, each processing unit can be actually realized by software. That is, an object of the present invention is to supply a storage medium (or a recording medium) in which software program codes for realizing the functions of the above-described embodiments are recorded to a system or an apparatus, and to provide a computer (or a computer) of the system or the apparatus. , CPU and MPU) read out and execute the program code stored in the storage medium. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
[0033]
When the computer executes the readout program codes, not only the functions of the above-described embodiments are realized, but also an operating system (OS) or the like running on the computer based on the instructions of the program codes. However, it goes without saying that a case is also included in which a part or all of the actual processing is performed, and the processing realizes the functions of the above-described embodiments.
[0034]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0035]
【The invention's effect】
As described above, according to the present invention, since the intra-encoding process of the block of interest is started during the motion detection process, the processing time when intra-encoding is selected is reduced, and as a result, The processing time required for encoding an image can be reduced.
[Brief description of the drawings]
FIG. 1 is a diagram showing a moving picture coding apparatus according to the present invention.
FIG. 2 is a diagram showing a flow when encoding a moving image in the present invention.
FIG. 3 is a diagram showing an order relation of each processing when encoding a moving image in the present invention.
FIG. 4 is a diagram illustrating a moving image encoding device according to a conventional method.
FIG. 5 is a diagram showing a flow when encoding a moving image in the conventional method.
FIG. 6 is a diagram showing an order relation of each processing when encoding a moving image in a conventional method.

Claims (5)

動画像を画面内でm×nごとのブロックに分割し、符号化すべき原画面内の注目ブロックに対して符号化済みの参照画像から検出された参照ブロックとの相関を用いるインター符号化と、原画像内の相関を用いるイントラ符号化とを選択的に行う動画像符号化装置であって、
前記注目ブロックと相関の高い参照ブロックを前記符号化済みの参照画像から検出する動き検出手段と、
前記注目ブロックと前記参照ブロックとの相関から、前記注目ブロックに対してインター符号化とイントラ符号化のどちらを選択するかを判定する判定手段と、
前記注目ブロックと前記参照ブロックとの差分、または前記注目ブロックを入力して符号化処理をする符号化処理手段と、
前記動き検出手段が前記参照ブロックを検出している間に、前記符号化処理手段は前記注目ブロックの符号化処理を開始し、
前記判定手段でイントラ符号化を選択すると判定された場合、前記符号化処理手段は前記注目ブロックを符号化処理した処理データを出力し、
前記判定手段でインター符号化を選択すると判定された場合、前記符号化処理手段は前記注目ブロックと前記参照ブロックとの差分の符号化処理することを特徴とする動画像符号化装置。
Inter-coding, in which a moving image is divided into m × n blocks in a screen, and a block of interest in the original screen to be coded is used for correlation with a reference block detected from a coded reference image; A moving image encoding device that selectively performs intra encoding using correlation in an original image,
Motion detection means for detecting a reference block having a high correlation with the target block from the encoded reference image,
Judging means for judging whether to select inter-coding or intra-coding for the target block from the correlation between the target block and the reference block,
Encoding processing means for inputting the difference between the block of interest and the reference block, or the block of interest, and performing an encoding process;
While the motion detection means is detecting the reference block, the encoding processing means starts encoding processing of the block of interest,
When it is determined that the intra-encoding is selected by the determination unit, the encoding processing unit outputs processing data obtained by encoding the block of interest,
The moving picture coding apparatus according to claim 1, wherein the coding processing means performs coding processing of a difference between the target block and the reference block when the determination means determines that the inter coding is to be selected.
前記符号化処理手段は、直交変換手段及び量子化手段を含むことを特徴とする請求項1に記載の動画像符号化装置。The moving picture coding apparatus according to claim 1, wherein said coding processing means includes an orthogonal transform means and a quantization means. 前記符号化処理手段は、直交変換手段、量子化手段及び符号化手段を含むことを特徴とする請求項1に記載の動画像符号化装置。The moving picture coding apparatus according to claim 1, wherein the coding processing means includes an orthogonal transform means, a quantization means, and a coding means. 動画像を画面内でm×nごとのブロックに分割し、符号化すべき原画面内の注目ブロックに対して、符号化済みの参照画像から検出された参照ブロックと差分処理して符号化するインター符号化と前記差分処理することなく符号化するイントラ符号化とを選択的に用いて符号化する動画像符号化方法であって、
前記注目ブロックと相関の高い参照ブロックを前記符号化済みの参照画像から検出する動き検出処理と、
前記注目ブロックと前記参照ブロックとの相関から、前記注目ブロックに対してインター符号化とイントラ符号化のどちらを選択するかを判定する判定処理と、
前記注目ブロックを符号化処理する符号化処理とを有し、
前記符号化処理では、前記動き検出処理の動作している間に、前記注目ブロックのイントラ符号化処理を開始し、前記判定処理でイントラ符号化を選択すると判定された場合、判定前に開始されたイントラ符号化処理の処理データを出力し、前記判定処理でインター符号化を選択すると判定された場合、前記注目ブロックのインター符号化処理を開始することを特徴とする動画像符号化方法。
The moving image is divided into m × n blocks on the screen, and the target block in the original screen to be coded is subjected to difference processing with the reference block detected from the coded reference image to perform coding. A moving image encoding method for encoding by selectively using encoding and intra encoding to perform encoding without performing the difference processing,
A motion detection process for detecting a reference block having a high correlation with the target block from the encoded reference image,
From the correlation between the block of interest and the reference block, a determination process of determining whether to select inter-coding or intra-coding for the block of interest,
Encoding processing for encoding the block of interest,
In the encoding process, during the operation of the motion detection process, the intra-coding process of the block of interest is started, and when it is determined that intra-coding is to be selected in the determination process, the process is started before the determination. A moving image coding method, wherein the processing data of the intra coding process is output, and if it is determined in the determining process that the inter coding is to be selected, the inter coding process of the block of interest is started.
請求項4に記載の動画符号化方法を実行するコンピュータプログラム。A computer program for executing the moving picture encoding method according to claim 4.
JP2003080399A 2003-03-24 2003-03-24 Dynamic image encoder, dynamic image encoding method and program Withdrawn JP2004289601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003080399A JP2004289601A (en) 2003-03-24 2003-03-24 Dynamic image encoder, dynamic image encoding method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003080399A JP2004289601A (en) 2003-03-24 2003-03-24 Dynamic image encoder, dynamic image encoding method and program

Publications (1)

Publication Number Publication Date
JP2004289601A true JP2004289601A (en) 2004-10-14

Family

ID=33294263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003080399A Withdrawn JP2004289601A (en) 2003-03-24 2003-03-24 Dynamic image encoder, dynamic image encoding method and program

Country Status (1)

Country Link
JP (1) JP2004289601A (en)

Similar Documents

Publication Publication Date Title
RU2512130C2 (en) Device and method for high-resolution imaging at built-in device
US6870883B2 (en) Parallel encoding and decoding processor system and method
JP4682102B2 (en) Image coding apparatus and image coding method
JP2008283560A (en) Information processing apparatus and method thereof
WO2007129508A1 (en) Dynamic image processing method, program for the dynamic image processing method, recording medium containing the program for the dynamic image processing method, dynamic image processing device
JP6415016B2 (en) Image coding apparatus, image coding method, and program
JPH10271516A (en) Compression coder, coding method, decoder and decoding method
US8111753B2 (en) Video encoding method and video encoder for improving performance
WO2014167609A1 (en) Information processing device, control method, program, and recording medium
JP2020184702A (en) Decoding device and method for controlling decoding device
JP2004289601A (en) Dynamic image encoder, dynamic image encoding method and program
JPH10111792A (en) Picture processor
JP4034793B2 (en) Video compression apparatus and method for generating complementary video and using it for deblocking processing
JP4415186B2 (en) Moving picture coding apparatus, moving picture decoding apparatus, codec apparatus, and program
JP2003102007A (en) Signal processing apparatus
JP4706567B2 (en) Image processing method, image processing method program, recording medium storing image processing method program, and image processing apparatus
JP4880868B2 (en) Video compression method and apparatus for improving performance
WO2010095181A1 (en) Variable-length decoding device
JP3861317B2 (en) Variable length decoder
JP2009060536A (en) Image encoding apparatus, and image encoding method
JP2009272948A (en) Moving image decoding apparatus and moving image decoding method
JP4447903B2 (en) Signal processing apparatus, signal processing method, recording medium, and program
JP2003179929A (en) Image decoding apparatus
TWI418220B (en) Video processing methods and systems with software and hardware integration, and computer program products thereof
JP6223012B2 (en) Image coding apparatus and image coding method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060606