JP2015179944A - Method and program for determining intra-prediction direction - Google Patents

Method and program for determining intra-prediction direction Download PDF

Info

Publication number
JP2015179944A
JP2015179944A JP2014056241A JP2014056241A JP2015179944A JP 2015179944 A JP2015179944 A JP 2015179944A JP 2014056241 A JP2014056241 A JP 2014056241A JP 2014056241 A JP2014056241 A JP 2014056241A JP 2015179944 A JP2015179944 A JP 2015179944A
Authority
JP
Japan
Prior art keywords
intra prediction
prediction direction
cost
encoding target
directions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014056241A
Other languages
Japanese (ja)
Other versions
JP5759588B1 (en
Inventor
真由子 渡邊
Mayuko Watanabe
真由子 渡邊
正樹 北原
Masaki Kitahara
正樹 北原
清水 淳
Atsushi Shimizu
淳 清水
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 JP2014056241A priority Critical patent/JP5759588B1/en
Application granted granted Critical
Publication of JP5759588B1 publication Critical patent/JP5759588B1/en
Publication of JP2015179944A publication Critical patent/JP2015179944A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce an amount of arithmetic operation in intra-prediction.SOLUTION: This method for determining an intra-prediction direction has :a step for selecting an encoding object pixel group and a reference pixel group respectively from reference pixels based on a relative positional relationship between the encoding object pixel of an encoding object block and the reference pixels on a memory, and selecting two or more directions based on a relative positional relationship between the encoding object pixel group and the reference pixel group on the memory; a step for computing costs for two or more selected directions and selecting a direction to minimize the cost; and a step for determining which correlation is higher as to correlation between the direction to minimize the cost and each intra-prediction direction and correlation between the direction which is not selected and each intra-prediction direction, computing a cost as to intra-prediction directions in which correlation with the direction to minimize the cost is determined to be relatively high, and selecting the intra-prediction direction to minimize the cost among them.

Description

本発明は、イントラ予測方向決定方法及びイントラ予測方向決定プログラムに関する。   The present invention relates to an intra prediction direction determination method and an intra prediction direction determination program.

H.264の次の映像符号化標準方式として策定されたHEVCは、H.264を上回る符号化効率を実現する符号化方式であるが、処理が複雑化し演算量が莫大であるため、実際に製品に利用するためにはその符号化演算コストを大幅に削減しなければならないという問題を抱えている。特に、イントラ予測においてはその予測モードの選択肢が増大しており、適切な予測モードをより高速に判定することが必要となっている。ここで、図18を参照して、映像の符号化を行う装置の標準的な構成を説明する。   H. HEVC formulated as the next video encoding standard system of H.264 is H.264. It is a coding method that realizes coding efficiency exceeding H.264. However, since the processing is complicated and the amount of calculation is enormous, it is necessary to significantly reduce the coding calculation cost in order to actually use the product. Have a problem. In particular, in intra prediction, the choices of the prediction mode are increasing, and it is necessary to determine an appropriate prediction mode at a higher speed. Here, with reference to FIG. 18, a standard configuration of an apparatus for encoding video will be described.

図18は、映像の符号化を行う装置の標準的な構成を示すブロック図である。符号化を行う装置は、符号化対象の入力画像を入力し、入力画像のピクチャをブロックに分割してブロックごとに符号化し、そのビットストリームを符号化ストリームとして出力する。この符号化のため、イントラ予測部1は、イントラ予測を行った予測信号を出力する。動き補償部2は、動き補償の予測信号を出力する。減算部3は、入力画像と、イントラ予測部1あるいは動き補償2の出力である予測信号との差分を求め、それを予測残差信号として出力する。DCT/量子化部4は、予測残差信号に対して離散コサイン変換等の直交変換を行い、変換係数を量子化し、その量子化された変換係数を出力する。エントロピー符号化処理部5は、量子化された変換係数をエントロピー符号化し、符号化ストリームとして出力する。   FIG. 18 is a block diagram showing a standard configuration of an apparatus for encoding video. An encoding apparatus receives an input image to be encoded, divides a picture of the input image into blocks, encodes each block, and outputs the bit stream as an encoded stream. For this encoding, the intra prediction unit 1 outputs a prediction signal subjected to intra prediction. The motion compensation unit 2 outputs a motion compensation prediction signal. The subtraction unit 3 obtains a difference between the input image and the prediction signal that is the output of the intra prediction unit 1 or the motion compensation 2 and outputs it as a prediction residual signal. The DCT / quantization unit 4 performs orthogonal transform such as discrete cosine transform on the prediction residual signal, quantizes the transform coefficient, and outputs the quantized transform coefficient. The entropy encoding processing unit 5 performs entropy encoding on the quantized transform coefficient and outputs it as an encoded stream.

一方、量子化された変換係数は、逆量子化/逆DCT部6にも入力され、ここで逆量子化と逆直交変換され、予測残差信号を出力する。加算部7では、予測残差信号とイントラ予測部1あるいは動き補償部2の出力である予測信号とを加算し、符号化した符号化対象ブロックの復号映像信号を生成する。この復号映像信号は、動き補償部2で参照画像として用いるために、ループフィルタ8に対して出力される。ループフィルタ8では符号化歪みを低減するフィルタリング処理を行い、このフィルタリング処理後の画像を復号映像信号として動き補償部2に対して出力する。動きベクトル予測部9は、入力画像とループフィルタの出力を入力し、動きベクトルを予測し、その結果を動き補償部2とエントロピー符号化部5に対して出力する。符号化制御部10は、入力画像を入力し、イントラ予測部1、DCT/量子化部4、エントロピー符号化部5の処理動作を制御する。   On the other hand, the quantized transform coefficient is also input to the inverse quantization / inverse DCT unit 6, where inverse quantization and inverse orthogonal transform are performed, and a prediction residual signal is output. The adder 7 adds the prediction residual signal and the prediction signal output from the intra prediction unit 1 or the motion compensation unit 2 to generate a decoded video signal of the encoding target block. The decoded video signal is output to the loop filter 8 for use as a reference image in the motion compensation unit 2. The loop filter 8 performs a filtering process for reducing coding distortion, and outputs the image after the filtering process to the motion compensation unit 2 as a decoded video signal. The motion vector prediction unit 9 receives the input image and the output of the loop filter, predicts a motion vector, and outputs the result to the motion compensation unit 2 and the entropy encoding unit 5. The encoding control unit 10 inputs an input image and controls processing operations of the intra prediction unit 1, the DCT / quantization unit 4, and the entropy encoding unit 5.

このように、映像符号化においては、ブロック単位で予測の方法を決定しており、その予測方法は大きく分けて2つある。1つ目はイントラ予測と呼ばれる1画面の符号化情報のみを用いた予測手法、2つ目は、インター予測(動き補償)、スキップなどの複数画面の符号化情報を用いた予測手法である。以下、本発明に関係するイントラ予測についてのみ説明する。   As described above, in video coding, a prediction method is determined in units of blocks, and there are roughly two prediction methods. The first is a prediction method using only one-screen encoded information called intra prediction, and the second is a prediction method using multiple-screen encoded information such as inter prediction (motion compensation) and skip. Hereinafter, only intra prediction related to the present invention will be described.

イントラ予測は、符号化対象ブロックに隣接する符号化済み画素を用いた予測であり、その予測モードの選択肢は全部で35モード存在する。図19は、イントラ予測のモードを示す説明図である。このうち、33モードは周囲の符号化済み画素を参照し、その画素が一定方向に続くものとして予測を行うものである。例えば、予測モードの番号が26のときは垂直方向の予測となり、符号化対象ブロックの真上に隣接する符号化済み画素を、それぞれ縦に一列ずつコピーし、その差分を符号化する。一方、予測モードの番号が25のように斜め方向の予測を行う際には、その角度により隣接する符号化済み画素が存在しない可能性がある。この場合、H.264やHEVCにおいては符号化済み画素にフィルタ処理を行い、画素間位置の画素を生成して補間を行っている。この処理は、イントラスムージング処理と呼ばれている。   Intra prediction is prediction using encoded pixels adjacent to the block to be encoded, and there are 35 modes for the selection of prediction modes. FIG. 19 is an explanatory diagram illustrating an intra prediction mode. Of these, the 33 mode refers to surrounding encoded pixels and predicts that the pixels continue in a certain direction. For example, when the prediction mode number is 26, the prediction is in the vertical direction, and the encoded pixels adjacent immediately above the encoding target block are copied one by one in the vertical direction, and the difference is encoded. On the other hand, when prediction in an oblique direction is performed such that the prediction mode number is 25, there is a possibility that adjacent encoded pixels do not exist depending on the angle. In this case, H.C. In H.264 and HEVC, filter processing is performed on encoded pixels to generate pixels at inter-pixel positions and perform interpolation. This process is called an intra smoothing process.

イントラ予測方向決定では通常各予測方向のコストを計算し、コストが最小となるものを最適なイントラ予測モードとして決定している。そのため、イントラ予測方向決定における演算量削減には、各予測モードのコストの大小をより少ない演算量で判定することが必要となる。   In the intra prediction direction determination, the cost of each prediction direction is usually calculated, and the one with the lowest cost is determined as the optimum intra prediction mode. Therefore, in order to reduce the amount of calculation in determining the intra prediction direction, it is necessary to determine the size of the cost of each prediction mode with a smaller amount of calculation.

次に、イントラ予測を高速に行うための従来手法について説明する。始めに、SSE(Streaming SIMD Extensions)について説明する。CPUの高速処理を可能にする命令として、マイクロプロセッサに搭載されているSSEと呼ばれるマルチメディア拡張命令セットがある。これには、複数の浮動小数点数演算を同時に実行する機能や、マルチメディア処理に頻繁に使う命令が追加されている。この命令を用いた高速化は、メモリ上の一定範囲内に配置されたデータの処理において有効となる。図20は、メモリの構成の一例を示す説明図である。図20に示すように、メモリAとメモリB上にそれぞれ、データA,B(i=0,1,2)が順番に格納されている場合について説明する。 Next, a conventional method for performing intra prediction at high speed will be described. First, SSE (Streaming SIMD Extensions) will be described. As an instruction that enables high-speed processing of the CPU, there is a multimedia extension instruction set called SSE installed in a microprocessor. To this, a function for executing a plurality of floating point number operations simultaneously and an instruction frequently used for multimedia processing are added. Speeding up using this command is effective in processing data arranged within a certain range on the memory. FIG. 20 is an explanatory diagram illustrating an example of a memory configuration. As shown in FIG. 20, a case where data A i and B i (i = 0, 1, 2) are sequentially stored in the memory A and the memory B will be described.

とBの各データの差分の絶対値Sを求める場合、
=abs(A−B
=abs(A−B
=abs(A−B
によって求めることができる。
上記では、S,S,Sの演算処理を順番に行う。この場合、処理回数は3回としてカウントされる。
When obtaining the absolute value S i of the difference between the data of A i and B i ,
S 0 = abs (A 0 −B 0 )
S 1 = abs (A 1 −B 1 )
S 2 = abs (A 2 -B 2)
Can be obtained.
In the above, the calculation processing of S 0 , S 1 , S 2 is performed in order. In this case, the number of processes is counted as 3.

一方、SSEでは、以下のように行う。

Figure 2015179944
上記では、S,S,Sの演算処理を一括して行う。この場合、処理回数は1回としてカウントされる。 On the other hand, in SSE, it carries out as follows.
Figure 2015179944
In the above, the calculation processing of S 0 , S 1 , S 2 is performed at once. In this case, the number of processes is counted as one.

このように、SSEを用いることで、メモリ上の一定範囲内に配列されたデータに対して同一処理を行う場合、それらを一括して処理することが可能となる。しかし、SSE利用による高速化には、扱うデータがメモリ上の一定範囲内に存在しなければならないという問題がある。これは、SSEにおける次の2つの特性によるものである。   In this way, by using SSE, when the same processing is performed on data arranged in a certain range on the memory, it is possible to process them collectively. However, speeding up by using SSE has a problem that data to be handled must exist within a certain range on the memory. This is due to the following two characteristics in SSE.

一つ目は、高速化命令用レジスタに一度に格納できるデータは、メモリ内の一定範囲内に限られるという点である。高速化命令用の各レジスタでは、一度に読み込めるメモリの容量が決まっているため、それを超える範囲に格納されるデータを同時に読み込むことができない。   The first is that the data that can be stored in the high-speed instruction register at a time is limited to a certain range in the memory. In each register for high-speed instructions, since the memory capacity that can be read at a time is determined, it is not possible to simultaneously read data stored in a range exceeding that.

二つ目は、高速化命令用レジスタへのデータ格納には、比較的処理時間がかかる点である。高速化命令用のレジスタは、前述したように容量が限られるが、その長さが大きいため、そのメモリデータ格納にも処理時間がかかる。この処理時間は、その範囲内のデータのうち、実際に演算に用いるデータが全てでも、一つのみでも同じである。このため、特にデータがメモリ上の様々な場所に点在するような場合、レジスタへのデータ格納に時間が増加してしまうため、その後のSSE処理における高速化処理の効果が得られない可能性がある。   Second, it takes a relatively long processing time to store data in the high-speed instruction register. The speed-up instruction register has a limited capacity as described above, but it takes a long time to store the memory data because of its large length. This processing time is the same even if all or only one of the data within the range is actually used for the calculation. For this reason, especially when data is scattered in various places on the memory, the time for storing data in the register increases, and therefore there is a possibility that the effect of the high-speed processing in the subsequent SSE processing cannot be obtained. There is.

上記2点により、SSE利用においては、演算対象のデータが、メモリ上で一定範囲内に存在する必要がある。なお、複数のデータの組み合わせ(上記例のA,B)に対しても、それぞれのデータがメモリ上の一定範囲内に配列されていれば(上記例のA,A,A,・・・)、同様のことが言える。上記では、1回の計算でS,S,Sを一度に算出できる。この場合、Aのみメモリの一定範囲内に並んでいても、Bの配置がメモリの一定範囲内に配置されていない場合、上記の問題点に述べたように逐一Bのデータを読み込む必要が発生するため、SSEによる高速化が有効でない可能性があると考えられる。 Due to the above two points, when using SSE, the data to be calculated needs to be within a certain range on the memory. It should be noted that even for a plurality of combinations of data (A i , B i in the above example), if each data is arranged within a certain range on the memory (A 0 , A 1 , A 2 in the above example) ), The same can be said. In the above, S 0 , S 1 and S 2 can be calculated at one time by one calculation. In this case, even if only A i is arranged in a certain range of the memory, if the arrangement of B i is not arranged in the certain range of the memory, the data of B i is read one by one as described in the above problem. Since the necessity arises, it is considered that the speeding up by SSE may not be effective.

イントラ予測の各コスト算出に前述したSSEを用いることによるイントラ予測の高速化が考えられる。しかし、一般に、符号化対象ブロック内の画素と予測に用いる符号化済み画素の、各々のメモリ上の配列が異なるため、コスト算出にSSEを用いただけでは十分な高速化ができない。以下、高速演算とは、SIMD化のような、プログラム実装において用いることが可能な高速演算手法を指すものとする。   It is conceivable to increase the speed of intra prediction by using the SSE described above for calculating each cost of intra prediction. However, in general, since the arrangement of the pixels in the block to be encoded and the encoded pixels used for prediction on each memory is different, the speed cannot be sufficiently increased only by using SSE for cost calculation. Hereinafter, the high-speed calculation refers to a high-speed calculation method that can be used in program implementation, such as SIMD.

次に、イントラ高速探索手法について説明する。イントラ予測の予測モード決定においては、通常各予測モードに対する予測画像の算出が必要であり、その予測モード数が増えるほど予測モード決定のための演算量も増加する。イントラ予測の演算量を削減する手法として、以下のように周辺画素の符号化情報あるいは符号化対象画素などを用いて予測モードの候補を予め絞り込むことにより演算量を削減する技術がある(例えば、特許文献1参照)。   Next, the intra fast search method will be described. In prediction mode determination of intra prediction, it is usually necessary to calculate a prediction image for each prediction mode, and the amount of calculation for determining the prediction mode increases as the number of prediction modes increases. As a technique for reducing the amount of computation of intra prediction, there is a technique for reducing the amount of computation by narrowing down prediction mode candidates in advance using encoding information of peripheral pixels or encoding target pixels as follows (for example, Patent Document 1).

特開2009−89267号公報JP 2009-89267 A

ところで、イントラ予測方向のコスト算出では、符号化対象ブロック内の画素すべてについて縦横斜めの全33方向に対する誤差算出の必要があるが、その各方向に対応する形でSSEによる高速演算を行うことは適切でない。その理由について説明する。一般に、符号化対象ブロック内画素は通常画面全体で横方向に一列ずつ順番にメモリに配置されている。高速化命令用レジスタではメモリの配列に沿ってデータを読み込むため、画素のデータはそれぞれ横方向一列に沿ってのみ同一レジスタ内への取り込みが可能である。   By the way, in the cost calculation in the intra prediction direction, it is necessary to calculate errors in all 33 pixels in the vertical and horizontal directions for all the pixels in the encoding target block. However, it is possible to perform high-speed calculation by SSE in a form corresponding to each direction. not appropriate. The reason will be described. In general, the pixels in the encoding target block are arranged in the memory one by one in the horizontal direction on the entire normal screen. Since the high-speed instruction register reads data along the memory array, pixel data can be taken into the same register only along one horizontal row.

しかし、イントラ予測方向絞り込みでは縦横斜めの33方向に対する演算が発生し、誤差算出の処理においては同一の演算処理を行うデータ群が、別々のレジスタ内に取り込まれている可能性がある。このように、同一レジスタ内画素に対して同一演算処理を実行できる状況が限られ、高速化命令用レジスタへの取り込みに必要な演算量に対して、高速化命令実行可能な処理が少ないことから、符号化処理全体としての演算量削減につながりにくいと考えられる。   However, in the intra prediction direction narrowing down, calculations in 33 vertical and horizontal diagonal directions occur, and in the error calculation process, there is a possibility that data groups for performing the same calculation process are captured in different registers. In this way, the situation in which the same arithmetic processing can be executed on the pixels in the same register is limited, and there are few processes that can execute the high-speed instruction for the amount of calculation necessary for loading into the high-speed instruction register. Therefore, it is considered that it is difficult to reduce the calculation amount as the entire encoding process.

一方、特許文献1によると、予測方向を絞り込む段階での手法及び絞り込みの候補となる予測方向に対して特に規定がないことから、候補となる予測方向の選択方法や絞り込み手法によっては演算量が増加、または符号化効率が悪化する可能性がある。   On the other hand, according to Patent Document 1, since there is no particular rule for the method at the stage of narrowing down the prediction direction and the prediction direction that becomes a candidate for narrowing down, the amount of calculation depends on the selection method and the narrowing down method of candidate prediction directions. There is a possibility that the increase or the encoding efficiency is deteriorated.

また、SSEと特許文献1の技術を組み合わせることにより、メモリ上のデータの配列順に基づき、高速演算を実行しにくい予測方向を選択し、特許文献1の予測モード絞り込み時に探索方向から除いて絞り込むという方法が考えられる。これは、予測モードを高速演算により絞り込み可能になることからより高速なイントラ予測ができると考えられるが、単純に高速演算しにくい方向を探索方向から除くと、符号化効率が悪化する可能性があるという問題がある。   Further, by combining SSE and the technique of Patent Document 1, a prediction direction in which high-speed calculation is difficult to execute is selected based on the order of arrangement of data on the memory, and is narrowed down from the search direction when narrowing down the prediction mode of Patent Document 1. A method is conceivable. This is because prediction modes can be narrowed down by high-speed computation, so it is thought that faster intra prediction can be performed. However, if the direction that is difficult to perform high-speed computation is simply excluded from the search direction, coding efficiency may deteriorate. There is a problem that there is.

本発明は、このような事情に鑑みてなされたもので、イントラ予測における演算量を削減することができるイントラ予測方向決定方法及びイントラ予測方向決定プログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, and an object thereof is to provide an intra prediction direction determination method and an intra prediction direction determination program capable of reducing the amount of calculation in intra prediction.

本発明は、隣接する符号化済みブロックの画素である参照画素を用いて符号化対象ブロックをイントラ予測する際のイントラ予測方向を決定するイントラ予測方向決定方法であって、前記符号化対象ブロックの符号化対象画素と前記参照画素のメモリ上での相対的な位置関係に基づいて前記符号化対象ブロックと隣接する前記符号化済みブロックの画素である参照画素からそれぞれ符号化対象画素群と参照画素群を選択し、該符号化対象画素群と該参照画素群のメモリ上での相対的な位置関係に基づき、すべてのイントラ予測方向から2つ以上の方向を選択する第1のイントラ予測方向選択ステップと、選択した2つ以上の前記方向についてコストを算出し、該コストが最小となる方向を選択する第2のイントラ予測方向選択ステップと、前記コストが最小となる方向と各イントラ予測方向との間の相関と、前記第2のイントラ予測方向選択ステップにおいて選択されなかった方向と各イントラ予測方向との間の相関とのいずれに対する相関が相対的に高いかを判定し、前記コストが最小となる方向との相関が相対的に高いと判定されたイントラ予測方向についてコストを算出し、その中でコストが最小となるイントラ予測方向を選択する第3のイントラ予測方向選択ステップとを有することを特徴とする。   The present invention is an intra prediction direction determination method for determining an intra prediction direction when performing intra prediction of a block to be encoded using reference pixels that are pixels of adjacent encoded blocks, and includes: An encoding target pixel group and a reference pixel from a reference pixel that is a pixel of the encoded block adjacent to the encoding target block based on a relative positional relationship between the encoding target pixel and the reference pixel on a memory. 1st intra prediction direction selection which selects a group and selects two or more directions from all the intra prediction directions based on the relative positional relationship on the memory of this encoding object pixel group and this reference pixel group A second intra prediction direction selection step of calculating a cost for the two or more selected directions and selecting a direction with the lowest cost; The correlation between the correlation between the direction in which the cost is minimum and each intra prediction direction and the correlation between the direction not selected in the second intra prediction direction selection step and each intra prediction direction is relative. The cost is calculated for the intra prediction direction determined to have a relatively high correlation with the direction in which the cost is minimized, and the intra prediction direction in which the cost is minimized is selected. And a third intra prediction direction selection step.

本発明は、隣接する符号化済みブロックの画素である参照画素を用いて符号化対象ブロックをイントラ予測する際のイントラ予測方向を決定するイントラ予測方向決定方法であって、前記符号化対象ブロックの符号化対象画素と前記参照画素のメモリ上での相対的な位置関係に基づき、前記符号化対象ブロックと前記隣接する符号化済みブロックの画素である参照画素からそれぞれ符号化対象画素群と参照画素群を選択し、該符号化対象画素群と該参照画素群のメモリ上での相対的な位置関係に基づき、すべてのイントラ予測方向及びイントラ予測方向ではない所定の方向から2つ以上の方向を選択する第1のイントラ予測方向選択ステップと、選択した2つ以上の前記方向についてコストを算出し、該コストが最小となる方向を選択する第2のイントラ予測方向選択ステップと、前記コストが最小となる方向と各イントラ予測方向との間の相関と、前記第2のイントラ予測方向選択ステップにおいて選択されなかった方向と各イントラ予測方向との間の相関とのいずれに対する相関が相対的に高いかを判定し、前記コストが最小となる方向との相関が相対的に高いと判定されたイントラ予測方向についてコストを算出し、その中でコストが最小となるイントラ予測方向を選択する第3のイントラ予測方向選択ステップとを有することを特徴とする。   The present invention is an intra prediction direction determination method for determining an intra prediction direction when performing intra prediction of a block to be encoded using reference pixels that are pixels of adjacent encoded blocks, and includes: Based on the relative positional relationship between the encoding target pixel and the reference pixel on the memory, the encoding target pixel group and the reference pixel are respectively referred to from the reference pixel that is a pixel of the encoding target block and the adjacent encoded block. A group is selected, and based on the relative positional relationship between the encoding target pixel group and the reference pixel group on the memory, all the intra prediction directions and two or more directions from a predetermined direction that is not the intra prediction direction are selected. A first intra prediction direction selection step to be selected, a cost for the two or more selected directions, and a direction in which the cost is minimized. Between the intra prediction direction selection step, the correlation between the direction in which the cost is minimized and each intra prediction direction, and the direction not selected in the second intra prediction direction selection step and each intra prediction direction. It is determined whether the correlation is relatively high, and the cost is calculated for the intra prediction direction in which the correlation with the direction in which the cost is minimized is determined to be relatively high. And a third intra prediction direction selection step for selecting a minimum intra prediction direction.

本発明は、前記第1のイントラ予測方向選択ステップで選択する2つ以上の方向は、互いの相関が低くなる関係にあることを特徴とする。   The present invention is characterized in that two or more directions selected in the first intra prediction direction selection step are in a relationship in which the mutual correlation becomes low.

本発明は、前記第2のイントラ予測方向選択ステップは、前記選択した2つ以上の方向についてコストを算出し、該コストが小さいものから複数の方向を選択し、前記第3のイントラ予測方向選択ステップは、前記第2のイントラ予測方向選択ステップで選択された方向のうちコストが最小となる方向を中心とする、前記第2のイントラ予測方向選択ステップで選択された方向のうちコストが最小となる方向を除いた方向を用いて定まる所定の範囲を決定し、該所定の範囲に含まれるイントラ予測方向についてコストを算出し、その中でコストが最小となるイントラ予測方向を選択することを特徴とする。   In the present invention, the second intra prediction direction selection step calculates a cost for the two or more selected directions, selects a plurality of directions from the smallest cost, and selects the third intra prediction direction. The step is centered on the direction in which the cost is the smallest among the directions selected in the second intra prediction direction selection step, and the cost is the smallest in the directions selected in the second intra prediction direction selection step. Determining a predetermined range determined using a direction excluding the predetermined direction, calculating a cost for an intra prediction direction included in the predetermined range, and selecting an intra prediction direction in which the cost is minimum And

本発明は、前記第1のイントラ予測方向選択ステップは、前記符号化対象ブロックの符号化対象画素と前記参照画素のメモリ上での相対的な位置関係に加えて前記符号化対象ブロックのブロックサイズに基づき、前記符号化対象画素群と前記参照画素群を選択することを特徴とする。   In the present invention, in the first intra prediction direction selection step, the block size of the encoding target block in addition to the relative positional relationship between the encoding target pixel of the encoding target block and the reference pixel on the memory. Based on the above, the encoding target pixel group and the reference pixel group are selected.

本発明は、前記第1のイントラ予測方向選択ステップは、参照すべき位置に前記隣接する符号化済みブロックの画素である参照画素がない場合には、前記隣接する符号化済みブロックの画素である参照画素から小数画素を生成し、生成した小数画素を前記参照画素群に含めて前記参照画素群を選択することを特徴とする。   In the present invention, the first intra prediction direction selection step is a pixel of the adjacent encoded block when there is no reference pixel which is a pixel of the adjacent encoded block at a position to be referred to. A decimal pixel is generated from a reference pixel, the generated decimal pixel is included in the reference pixel group, and the reference pixel group is selected.

本発明は、前記符号化対象ブロックの符号化対象画素と前記参照画素のメモリ上での相対的な位置関係は、前記符号化対象画素が横方向または縦方向に一列ずつメモリに格納されており、前記隣接する符号化済みブロックの画素である参照画素はその1つ上に横方向にまたはその1つ左に縦方向に1列にメモリに格納されている位置関係であり、前記符号化対象画素群は、前記符号化対象ブロックの上から1段目または左から1列目であり、前記参照画素群は、前記符号化対象画素群の1つ上または1つ左の参照画素であることを特徴とする。   In the present invention, the relative positional relationship between the encoding target pixel of the encoding target block and the reference pixel on the memory is such that the encoding target pixel is stored in the memory one by one in the horizontal direction or the vertical direction. The reference pixel which is a pixel of the adjacent encoded block is a positional relationship stored in the memory in one column in the horizontal direction on the one side or in the vertical direction on the left side, and The pixel group is the first row from the top or the first column from the left of the encoding target block, and the reference pixel group is a reference pixel one above or one left from the encoding target pixel group. It is characterized by.

本発明は、コンピュータに、前記イントラ予測方向決定方法を実行させるためのイントラ予測方向決定プログラムである。   The present invention is an intra prediction direction determination program for causing a computer to execute the intra prediction direction determination method.

本発明によれば、イントラ予測における演算量削減を削減することができるため、符号化処理の演算量の削減を図ることができるという効果が得られる。   According to the present invention, since it is possible to reduce the amount of calculation in intra prediction, it is possible to reduce the amount of calculation in the encoding process.

本発明の実施形態によるイントラ予測部1の基本処理動作を示すフローチャートである。It is a flowchart which shows the basic processing operation | movement of the intra estimation part 1 by embodiment of this invention. 図1に示すステップS1の処理の詳細動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the process of step S1 shown in FIG. 図1に示すステップS3の処理の詳細動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the process of step S3 shown in FIG. 図1に示すステップS1の処理の詳細動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the process of step S1 shown in FIG. イントラ予測のモードを示す説明図である。It is explanatory drawing which shows the mode of intra prediction. 図1に示すステップS1の処理の詳細動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the process of step S1 shown in FIG. 図1に示すステップS3の処理の詳細動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the process of step S3 shown in FIG. 図1に示すステップS1の処理の詳細動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the process of step S1 shown in FIG. 図1に示すステップS2の処理の詳細動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the process of step S2 shown in FIG. 図9に示す処理動作を示す説明図である。It is explanatory drawing which shows the processing operation shown in FIG. 図1に示すステップS1の処理の詳細動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the process of step S1 shown in FIG. 図1に示すステップS2の処理の詳細動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the process of step S2 shown in FIG. メモリの構成の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of memory. メモリの構成の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of memory. メモリの構成の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of memory. 予測モード番号の範囲を示す説明図である。It is explanatory drawing which shows the range of a prediction mode number. 予測モード番号の範囲を示す説明図である。It is explanatory drawing which shows the range of a prediction mode number. 映像の符号化を行う装置の標準的な構成を示すブロック図である。It is a block diagram which shows the standard structure of the apparatus which encodes an image | video. イントラ予測のモードを示す説明図である。It is explanatory drawing which shows the mode of intra prediction. メモリの構成の一例を示す説明図である。It is explanatory drawing which shows an example of a structure of memory.

以下、図面を参照して、本発明の実施形態によるイントラ予測方向決定方法を説明する。イントラ予測方向決定方法は、図18に示す装置におけるイントラ予測部1において実行されるものであるため、ここでは、装置構成の説明を省略する。図1は、本発明の実施形態によるイントラ予測部1の基本処理動作を示すフローチャートである。図1を参照して、本発明の実施形態によるイントラ予測部1の基本処理動作を説明する。まず、イントラ予測部1は、イントラ予測方向絞り込み処理を行う(ステップS1)。続いて、イントラ予測部1は、コスト計算を行うことによりコスト推定を行う(ステップS2)。次に、イントラ予測部1は、全ての候補のコスト計算を行ったか否かを判定し、全ての候補についてコスト計算を行う。そして、イントラ予測部1は、イントラ予測方向の決定処理を行う(ステップS3)。このような処理動作によって、イントラ予測方向を決定する。   Hereinafter, an intra prediction direction determination method according to an embodiment of the present invention will be described with reference to the drawings. Since the intra prediction direction determination method is executed in the intra prediction unit 1 in the apparatus shown in FIG. 18, the description of the apparatus configuration is omitted here. FIG. 1 is a flowchart showing the basic processing operation of the intra prediction unit 1 according to the embodiment of the present invention. With reference to FIG. 1, the basic processing operation of the intra prediction unit 1 according to the embodiment of the present invention will be described. First, the intra prediction unit 1 performs an intra prediction direction narrowing process (step S1). Subsequently, the intra prediction unit 1 performs cost estimation by performing cost calculation (step S2). Next, the intra prediction unit 1 determines whether or not all candidates have been cost-calculated, and performs cost calculation for all candidates. And the intra estimation part 1 performs the determination process of an intra prediction direction (step S3). The intra prediction direction is determined by such processing operation.

以下、特に定義しない場合、コストとは符号化対象画像と符号化済み画像(参照画像)との誤差またはRDコスト等発生符号量及び上述の誤差の両方またはどちらかを変数として含むという特徴を有するコストを意味するものとする。   Hereinafter, unless otherwise defined, the cost is characterized by including, as a variable, an error between an encoding target image and an encoded image (reference image) or a generated code amount such as an RD cost and / or the above-described error. It means cost.

<第1実施形態>
次に、本発明の第1実施形態によるイントラ予測方向決定方法を説明する。第1実施形態では、イントラ予測方向決定において、符号化済み画素及びそれらと相関が高い座標上の符号化対象画素を用いて、選択した2つ以上のイントラ予測方向のコストを算出する。そして、コストが最小のイントラ予測方向に基づいて決定されるイントラ予測方向の候補に絞り込み、さらに絞り込まれたイントラ予測方向の候補の中からイントラ予測方向を決定する。
<First Embodiment>
Next, an intra prediction direction determination method according to the first embodiment of the present invention will be described. In the first embodiment, in the intra prediction direction determination, the costs of two or more selected intra prediction directions are calculated using the encoded pixels and the encoding target pixels on the coordinates having high correlation with them. Then, the intra prediction direction candidates determined based on the intra prediction direction with the lowest cost are narrowed down, and the intra prediction direction is determined from the narrowed down intra prediction direction candidates.

次に、図2を参照して、第1実施形態による図1に示すステップS1の処理の詳細動作を説明する。図2は、図1に示すステップS1の処理の詳細動作を示すフローチャートである。まず、イントラ予測部1は、符号化済み画素(参照画素)と符号化対象画素のメモリ上での配列及び座標から定まる相対的な位置関係に応じて、符号化対象画素からイントラ予測方向絞り込みに用いる符号化対象画素群を選択する(ステップS111)。参照画素と符号化対象画素のメモリ上での配列及び座標から定まる相対的な位置関係に応じて、参照画素から予測絞り込みに用いる参照画素群を選択する(ステップS112)。イントラ予測方向の候補から選択した符号化対象画素群と参照画素群の相対的な位置関係を考慮してイントラ予測方向絞り込みに用いる予測方向を2つ以上選択する(ステップS113)。イントラ予測方向の候補とは、HEVCの場合先述の35個のイントラ予測方向になる。   Next, with reference to FIG. 2, the detailed operation of the processing in step S1 shown in FIG. 1 according to the first embodiment will be described. FIG. 2 is a flowchart showing a detailed operation of the process of step S1 shown in FIG. First, the intra prediction unit 1 narrows down the intra prediction direction from the encoding target pixel according to the relative positional relationship determined from the arrangement and coordinates of the encoded pixel (reference pixel) and the encoding target pixel on the memory. The encoding target pixel group to be used is selected (step S111). A reference pixel group used for predictive narrowing is selected from the reference pixels according to the relative positional relationship determined from the arrangement and coordinates of the reference pixels and the encoding target pixel on the memory (step S112). In consideration of the relative positional relationship between the encoding target pixel group selected from the intra prediction direction candidates and the reference pixel group, two or more prediction directions used for narrowing down the intra prediction direction are selected (step S113). In the case of HEVC, the 35 intra prediction directions are the intra prediction direction candidates.

第1実施形態におけるステップS2の処理は、図1示す処理動作と同様である。すなわち、図2に示す処理動作によって選択した予測方向に対して、選択した符号化対象画素群を用いて各予測方向のコスト推定を行う。   The processing in step S2 in the first embodiment is the same as the processing operation shown in FIG. That is, for each prediction direction selected by the processing operation illustrated in FIG. 2, cost estimation for each prediction direction is performed using the selected encoding target pixel group.

次に、図3を参照して、第1実施形態による図1に示すステップS3の詳細動作を説明する。図3は、図1に示すステップS3の処理の詳細動作を示すフローチャートである。まず、イントラ予測部1は、コスト推定結果が最小となる予測方向Aを決定する(ステップ131)。次に、イントラ予測部1は、予測方向Aと相関が高い全てのイントラ予測方向N個(N>0)を候補として絞り込む(ステップS132)。そして、イントラ予測部1は、N個のイントラ予測方向に対してコスト計算を行い、コストが最小となる予測方向を決定する(ステップS133)。   Next, the detailed operation of step S3 shown in FIG. 1 according to the first embodiment will be described with reference to FIG. FIG. 3 is a flowchart showing a detailed operation of the process of step S3 shown in FIG. First, the intra prediction unit 1 determines the prediction direction A that minimizes the cost estimation result (step 131). Next, the intra prediction unit 1 narrows down all N intra prediction directions (N> 0) having high correlation with the prediction direction A as candidates (step S132). Then, the intra prediction unit 1 performs cost calculation on the N intra prediction directions, and determines a prediction direction that minimizes the cost (step S133).

ここで、相関が高いとは、例えば図2に示す処理によって選択された2つ以上のイントラ予測方向同士の中間位置までの領域を指し、もしその領域を180度回転した領域に絞り込み候補がない場合には、その領域も合わせて指すものとする。   Here, high correlation means, for example, an area up to an intermediate position between two or more intra prediction directions selected by the processing shown in FIG. 2, and there is no narrowing candidate in an area rotated by 180 degrees. In that case, the area is also indicated.

このように、符号化対象画素と参照画素との相関が高い(すなわち、符号化対象画素と参照画素のメモリ上での配列及び座標から定まる相対的な位置関係がSIMDによる高速演算に適するような配置になっている)ことから、絞り込み時のコスト推定において、各予測方向への相関の大小を正しく比較できる可能性が高い。また、その結果を用いて適切な予測方向に絞り込みできることにより、符号化効率の劣化を抑えつつ演算量削減ができる。さらにメモリ上での配列が近い画素を用いてコスト推定することにより、高速演算しやすくなる。   Thus, the correlation between the encoding target pixel and the reference pixel is high (that is, the relative positional relationship determined from the arrangement and coordinates of the encoding target pixel and the reference pixel on the memory is suitable for high-speed calculation by SIMD. Therefore, in the cost estimation at the time of narrowing down, there is a high possibility that the magnitude of the correlation in each prediction direction can be correctly compared. Moreover, since the result can be narrowed down to an appropriate prediction direction, the amount of calculation can be reduced while suppressing deterioration in encoding efficiency. Furthermore, high-speed calculation is facilitated by estimating the cost using pixels that are close in arrangement on the memory.

<第2実施形態>
次に、本発明の第2実施形態によるイントラ予測方向決定方法を説明する。第2実施形態では、イントラ予測方向絞り込みにおいて、予測方向として、本来のイントラ予測方向として候補にあるものに加え、予測方向として使用可能である任意の方向を候補として用いることを可能とする。
Second Embodiment
Next, an intra prediction direction determination method according to the second embodiment of the present invention will be described. In the second embodiment, in narrowing down the intra prediction direction, it is possible to use any direction that can be used as a prediction direction as a candidate, in addition to those that are candidates for the original intra prediction direction.

次に、図4を参照して、第2実施形態による図1に示すステップS1の処理の詳細動作を説明する。図4は、図1に示すステップS1の処理の詳細動作を示すフローチャートである。まず、イントラ予測部1は、符号化済み画素と符号化対象画素のメモリ上での配列及び座標から定まる相対的な位置関係に応じて、符号化対象画素からイントラ予測方向絞り込みに用いる符号化対象画素群を選択する(ステップS211)。次に、イントラ予測部1は、符号化済み画素と符号化対象画素のメモリ上での配列及び座標から定まる相対的な位置関係に応じて、参照画素から予測絞り込みに用いる参照画素群を選択する(ステップS212)。そして、イントラ予測部1は、イントラ予測方向またはそれ以外の方向(予測方向として使用可能である任意の方向)から絞り込みに用いる予測方向を2つ以上選択する(ステップS213)。   Next, with reference to FIG. 4, the detailed operation of the processing in step S1 shown in FIG. 1 according to the second embodiment will be described. FIG. 4 is a flowchart showing the detailed operation of the process in step S1 shown in FIG. First, the intra prediction unit 1 uses the encoding target pixel to narrow down the intra prediction direction from the encoding target pixel according to the relative positional relationship determined from the arrangement and coordinates of the encoded pixel and the encoding target pixel in the memory. A pixel group is selected (step S211). Next, the intra prediction unit 1 selects a reference pixel group used for prediction narrowing from the reference pixels according to the relative positional relationship determined from the arrangement and coordinates of the encoded pixel and the encoding target pixel on the memory. (Step S212). Then, the intra prediction unit 1 selects two or more prediction directions used for narrowing down from the intra prediction direction or other directions (an arbitrary direction that can be used as the prediction direction) (step S213).

ここで、それ以外の方向とは、図5のAのように、イントラ予測モードのある方向と隣接する方向の間への予測方向(Aの場合は21と22の間への予測方向となっている)や、Bのように180度回転すると、イントラ予測モードの存在する範囲内にあるもの(Bの場合は5を180度回転した予測方向となっている)を意味する。   Here, the other direction is a prediction direction between a direction in which the intra prediction mode is present and an adjacent direction as in A of FIG. 5 (in the case of A, a prediction direction between 21 and 22). If it is rotated 180 degrees like B, it means that it is within the range where the intra prediction mode exists (in the case of B, the prediction direction is obtained by rotating 5 by 180 degrees).

第2実施形態におけるステップS2の処理は、図1示す処理動作と同様である。すなわち、選択した予測方向に対して、選択した符号化対象画素群を用いて各予測方向のコスト推定を行う。また、第2実施形態におけるステップS3の処理についても図1に示す処理動作と同様である。すなわち、コスト推定結果が最小となる予測方向と相関が高くなる全てのイントラ予測方向から候補を絞り込み、その中からイントラ予測方向を決定する。   The processing in step S2 in the second embodiment is the same as the processing operation shown in FIG. That is, for each selected prediction direction, cost estimation in each prediction direction is performed using the selected encoding target pixel group. Further, the processing in step S3 in the second embodiment is the same as the processing operation shown in FIG. That is, candidates are narrowed down from all intra prediction directions that have a high correlation with the prediction direction in which the cost estimation result is minimum, and the intra prediction direction is determined from the candidates.

このように、第2実施形態は、第1実施形態に比べ、絞り込みに用いる予測方向の範囲が拡大されるため、より適切な予測方向を絞り込むことが期待できる。一方、演算量は第1実施形態と変わらないため、演算量削減を維持しつつ符号化効率向上が期待できる。   Thus, since the range of the prediction direction used for narrowing down is expanded compared with 1st Embodiment, 2nd Embodiment can anticipate narrowing down a more suitable prediction direction. On the other hand, since the calculation amount is not different from that in the first embodiment, it is possible to expect an improvement in encoding efficiency while maintaining a reduction in calculation amount.

<第3実施形態>
次に、本発明の第3実施形態によるイントラ予測方向決定方法を説明する。第3実施形態では、イントラ予測方向絞り込み処理(ステップS1)において、予測方向として互いの相関が低くなるような2つ以上の予測方向を選択することを可能とする。
<Third Embodiment>
Next, an intra prediction direction determination method according to the third embodiment of the present invention will be described. In the third embodiment, in the intra prediction direction narrowing process (step S1), it is possible to select two or more prediction directions such that the correlation between the prediction directions becomes low.

次に、図6を参照して、第3実施形態による図1に示すステップS1の処理の詳細動作を説明する。図6は、図1に示すステップS1の処理の詳細動作を示すフローチャートである。まず、イントラ予測部1は、符号化済み画素と符号化対象画素のメモリ上での配列及び座標から定まる相対的な位置関係に応じて、符号化対象画素からイントラ予測方向絞り込みに用いる符号化対象画素群を選択する(ステップS311)。次に、イントラ予測部1は、符号化済み画素と符号化対象画素のメモリ上での配列及び座標から定まる相対的な位置関係に応じて、参照画素から予測絞り込みに用いる参照画素群を選択する(ステップS312)。そして、イントラ予測部1は、イントラ予測方向またはそれ以外の方向から絞り込みに用いる予測方向を互いの相関が低くなるように2つ以上選択する(ステップS313)。   Next, with reference to FIG. 6, the detailed operation of the processing in step S1 shown in FIG. 1 according to the third embodiment will be described. FIG. 6 is a flowchart showing the detailed operation of the process in step S1 shown in FIG. First, the intra prediction unit 1 uses the encoding target pixel to narrow down the intra prediction direction from the encoding target pixel according to the relative positional relationship determined from the arrangement and coordinates of the encoded pixel and the encoding target pixel in the memory. A pixel group is selected (step S311). Next, the intra prediction unit 1 selects a reference pixel group used for prediction narrowing from the reference pixels according to the relative positional relationship determined from the arrangement and coordinates of the encoded pixel and the encoding target pixel on the memory. (Step S312). Then, the intra prediction unit 1 selects two or more prediction directions used for narrowing down from the intra prediction direction or other directions so that the correlation between them becomes low (step S313).

ここで、予測方向を互いの相関が低くなるように2つ以上選択するとは絞り込む個数がN個(Nは正の整数)、イントラ予測方向として選択可能な全方向の両端のなす角度がα(0<α)であるとき、実際に選択される予測方向のうち、互いに隣接するもの同士のなす角βが、{(α÷N)−δ}<β<{(α÷N)+δ}(但し、δは、隣接するすべてのイントラ予測方向同士のなす角の最大値(δ<180度))となるように選択するものである。   Here, when two or more prediction directions are selected so that the correlation between them becomes low, the number of narrowing down is N (N is a positive integer), and the angle between both ends of all directions that can be selected as the intra prediction direction is α ( When 0 <α), among the prediction directions actually selected, the angle β formed by those adjacent to each other becomes {(α ÷ N) −δ} <β <{(α ÷ N) + δ} ( However, δ is selected so as to be the maximum value (δ <180 degrees) between the angles between all adjacent intra prediction directions.

第3実施形態におけるステップS2の処理は、図1示す処理動作と同様である。すなわち、選択した予測方向に対して、上記で選択した符号化対象画素群を用いて各予測方向のコスト推定を行う。また、第3実施形態におけるステップS3の処理についても図1に示す処理動作と同様である。すなわち、コスト推定結果が最小となる予測方向と相関が高くなる全てのイントラ予測方向から候補を絞り込み、その中からイントラ予測方向を決定する。   The processing in step S2 in the third embodiment is the same as the processing operation shown in FIG. That is, for each selected prediction direction, cost estimation in each prediction direction is performed using the encoding target pixel group selected above. Further, the processing in step S3 in the third embodiment is the same as the processing operation shown in FIG. That is, candidates are narrowed down from all intra prediction directions that have a high correlation with the prediction direction in which the cost estimation result is minimum, and the intra prediction direction is determined from the candidates.

このように、絞り込みに用いられる方向が近い場合、相関が高く適切なコスト推定ができない場合があると考えられる。一方、図6に示す処理により、絞り込み処理における予測方向を互いの相関が低くなるように選択することで、よりコスト推定時に相関の判定がしやすくなり、より適切な予測方向を絞り込むことが期待できる。一方、演算量は第1、第2実施形態と変わらないため、演算量削減を維持しつつ符号化効率向上が期待できる。   Thus, when the directions used for narrowing down are close, it is considered that there is a case where the correlation is high and appropriate cost estimation cannot be performed. On the other hand, by selecting the prediction directions in the narrowing-down process so that the correlation between them becomes low by the process shown in FIG. 6, it is easier to determine the correlation at the time of cost estimation, and it is expected to narrow down the more appropriate prediction direction. it can. On the other hand, since the calculation amount is not different from that in the first and second embodiments, it is possible to expect improvement in coding efficiency while maintaining a reduction in calculation amount.

<第4実施形態>
次に、本発明の第4実施形態によるイントラ予測方向決定方法を説明する。第4実施形態では、イントラ予測方向の選択に応じてイントラ予測方向に対して相関が高い予測方向の範囲をそれぞれ設定し、コスト推定結果に対してコスト最小となるイントラ予測方向と相関が高いと考えられる範囲からイントラ予測方向を決定する。
<Fourth embodiment>
Next, an intra prediction direction determination method according to the fourth embodiment of the present invention will be described. In the fourth embodiment, when the range of the prediction direction having a high correlation with the intra prediction direction is set in accordance with the selection of the intra prediction direction, and the correlation with the intra prediction direction that minimizes the cost is high with respect to the cost estimation result, The intra prediction direction is determined from a possible range.

第4実施形態におけるステップS1の処理は、図1示す処理動作と同様である。すなわち、符号化済み画素と符号化対象画素のメモリ上での配列及び座標から定まる相対的な位置関係に応じて、符号化対象画素からイントラ予測方向絞り込みに用いる符号化対象画素群を選択する。続いて、符号化済み画素と符号化対象画素のメモリ上での配列及び座標から定まる相対的な位置関係に応じて、参照画素から予測絞り込みに用いる参照画素群を選択する。そして、イントラ予測方向の候補からイントラ予測方向絞り込みに用いる予測方向を2つ以上選択する。   The processing in step S1 in the fourth embodiment is the same as the processing operation shown in FIG. In other words, the encoding target pixel group used for narrowing down the intra prediction direction is selected from the encoding target pixel according to the relative positional relationship determined from the arrangement and coordinates of the encoded pixel and the encoding target pixel in the memory. Subsequently, a reference pixel group used for predictive narrowing is selected from the reference pixels according to the relative positional relationship determined from the arrangement and coordinates of the encoded pixel and the encoding target pixel on the memory. Then, two or more prediction directions used for narrowing down the intra prediction direction are selected from the intra prediction direction candidates.

第4実施形態におけるステップS2の処理は、図1示す処理動作と同様である。すなわち、選択した予測方向に対して、選択した符号化対象画素群を用いて各予測方向のコスト推定を行う。   The processing in step S2 in the fourth embodiment is the same as the processing operation shown in FIG. That is, for each selected prediction direction, cost estimation in each prediction direction is performed using the selected encoding target pixel group.

次に、図7を参照して、第4実施形態による図1に示すステップS3の処理の詳細動作を説明する。図7は、図1に示すステップS3の処理の詳細動作を示すフローチャートである。まず、イントラ予測部1は、ステップS1で選択した予測方向の種類とステップS2のコスト推定の結果に応じて、コストが小さい順に予測方向を並び替える(ステップS431)。続いて、イントラ予測部1は、並び替えた予測方向から、コスト最小となる可能性が高いイントラ予測方向をN個(N>0)絞り込む(ステップS432)。そして、イントラ予測部1は、絞り込まれたイントラ予測方向に対してコスト算出を行い、最小となるものをイントラ予測方向として決定する(ステップS433)。   Next, with reference to FIG. 7, the detailed operation of the processing in step S3 shown in FIG. 1 according to the fourth embodiment will be described. FIG. 7 is a flowchart showing a detailed operation of the process in step S3 shown in FIG. First, the intra prediction unit 1 rearranges the prediction directions in ascending order of cost according to the type of prediction direction selected in step S1 and the result of cost estimation in step S2 (step S431). Subsequently, the intra prediction unit 1 narrows down N (N> 0) intra prediction directions that are likely to be the lowest cost from the rearranged prediction directions (step S432). And the intra estimation part 1 calculates cost with respect to the narrowed down intra prediction direction, and determines the thing which becomes the minimum as an intra prediction direction (step S433).

ここでの予測方向の決定は、例えば下記のようなものである。ステップS2のコストが最小となる方向から順に、各方向をX0、X1、X2、X3、・・・、また、X0とXiのなす角をαi(i=1、2、3、・・・)(αi>0)とする。このとき、方向Xiが全てイントラ予測方向の領域内にある場合、X0を中心として、
X1の方向に{(α1×2)÷3±δ1}度
X2の方向に{(α2)÷3±δ2}度
(X1、X2がX0から見て同一方向にある場合、X1と逆方向に設定)
(但しδiは、0<δi<{(αi)÷3}となる角度)
のどちらかを満たす領域内のイントラ予測方向に対してコスト算出を行い、最小となるものを決定する。ここで、イントラ予測方向の領域内であるとは、例えばHEVCのイントラ予測では、方向2から35までの各方向が規定される180度分の領域を指し、その反対側の領域(図5のBのような方向)をイントラ予測方向の領域内でないとする。
The determination of the prediction direction here is as follows, for example. In order from the direction in which the cost of step S2 is minimized, each direction is X0, X1, X2, X3,..., And the angle formed by X0 and Xi is αi (i = 1, 2, 3,...). (Αi> 0). At this time, when all the directions Xi are within the region of the intra prediction direction,
{(Α1 × 2) ÷ 3 ± δ1} degrees in the direction of X1 {(α2) ÷ 3 ± δ2} degrees in the direction of X2 (when X1 and X2 are in the same direction as viewed from X0, in the opposite direction to X1 Configuration)
(Where δi is an angle satisfying 0 <δi <{(αi) ÷ 3})
The cost is calculated with respect to the intra prediction direction in the region satisfying either of the above, and the minimum is determined. Here, in the intra prediction direction area, for example, in HEVC intra prediction, refers to an area of 180 degrees in which each direction from directions 2 to 35 is defined, and the opposite area (in FIG. 5). (Direction B) is not within the intra prediction direction area.

また、1番目のコストと2番目のコストの方向の間に3番目の方向がある場合、かつ1番目か2番目どちらかの方向が領域外である場合、その方向を180度回転させて探索範囲を設定する。さらに、設定された探索範囲内に領域外の方向があれば、その部分だけ180度回転したものを合わせて探索範囲とする。   Also, if there is a third direction between the direction of the first cost and the second cost, and if either the first or second direction is out of the area, the direction is rotated 180 degrees and searched. Set the range. Furthermore, if there is a direction outside the region within the set search range, the portion rotated by 180 degrees only that portion is taken as the search range.

これ以外に、次のような手法により予測方向を決定してもよい。ステップS2のコストが最小となる方向から順に、各方向をX0、X1、X2、X3、・・・、また、X0とXiのなす角をαi(i=1、2、3、・・・)(αi>0)、またXiのコストをSiとする。このとき、X0から時計回り方向にある方向Xki(i=1、2、・・・)、反時計回り方向にある方向Xlj(j=1、2、・・・)の、それぞれのコストの平均値の逆数の比を用いて予測方向を決定する。ここで、時計回りとはX0から時計回りに180度以内、反時計回りとはX0から反時計回りに180度以内の回転を指す。ここで、kiは、k1、k2、・・・の順に、X0から時計回りで近い順にXiを並べ替えた時の並べ替えた順番を意味し、ljは、l1、l2、・・・の順に、X0から反時計回りで近い順にXiを並べ替えた順番を意味する。任意のi、jに対してki≠ljである。   In addition to this, the prediction direction may be determined by the following method. In order from the direction in which the cost of step S2 is minimized, each direction is X0, X1, X2, X3,..., And the angle formed by X0 and Xi is αi (i = 1, 2, 3,...). (Αi> 0) and the cost of Xi is Si. At this time, the average of the costs in the direction Xki (i = 1, 2,...) In the clockwise direction from X0 and in the direction Xlj (j = 1, 2,...) In the counterclockwise direction. The prediction direction is determined using the ratio of the reciprocal values. Here, clockwise refers to rotation within 180 degrees clockwise from X0, and counterclockwise refers to rotation within 180 degrees counterclockwise from X0. Here, ki means the rearranged order when Xi is rearranged in the order of k1, k2,... In the clockwise order from X0, and lj is the order of l1, l2,. , Xi is rearranged in the order counterclockwise from X0. For any i, j, ki ≠ lj.

このとき、例えば、
X0から時計回り方向にある方向のコスト和の平均Sk(Nkは、時計回り方向にあるXiの個数)

Figure 2015179944
X0から反時計回り方向にある方向のコスト和の平均Sl(Nlは、反時計回り方向にあるXiの個数)
Figure 2015179944
であるときの予測方向は、以下のようになる。
X0から時計回り方向に
Figure 2015179944
X0から反時計回り方向に
Figure 2015179944
但し、αk1,αl1は、X0から時計回り方向、反時計回り方向に回転させるとき、最もX0に近いXki、Xljの方向までの角度とする。 At this time, for example,
Average cost sum Sk in the clockwise direction from X0 (Nk is the number of Xi in the clockwise direction)
Figure 2015179944
Average cost sum S1 in the counterclockwise direction from X0 (Nl is the number of Xi in the counterclockwise direction)
Figure 2015179944
The prediction direction when is is as follows.
Clockwise from X0
Figure 2015179944
Counterclockwise from X0
Figure 2015179944
However, αk1 and αl1 are angles from X0 to the directions of Xki and Xlj that are closest to X0 when rotating clockwise and counterclockwise.

第1〜第3実施形態では、絞り込んだ予測方向と相関が高いイントラ予測方向を最終的なイントラ予測を行う候補としているが、第4実施形態では、コスト推定の結果すべてを用いて、その大小の分布に応じてコスト最小となる領域を推定している。コスト推定の結果からコスト最小となる領域推定を行うための演算は発生するが、その増加量はイントラ予測における演算量に比べれば非常に小さく、これにより第1〜第3実施形態とほぼ同等の演算量を保ちながらより精度よくイントラ予測を行うことが可能となる。   In the first to third embodiments, the intra prediction direction having a high correlation with the narrowed prediction direction is set as a candidate for performing the final intra prediction. However, in the fourth embodiment, all the cost estimation results are used, The region where the cost is minimum is estimated according to the distribution of. The calculation for performing the region estimation that minimizes the cost is generated from the cost estimation result, but the increase amount is very small compared to the calculation amount in the intra prediction, which is almost the same as the first to third embodiments. Intra prediction can be performed with higher accuracy while maintaining the amount of calculation.

<第5実施形態>
次に、本発明の第5実施形態によるイントラ予測方向決定方法を説明する。第5実施形態では、イントラ予測方向決定において、符号化済み画素、及びそれらと相関が高い座標上の符号化対象画素のうちブロックのサイズに応じて制限されたサイズ内の画素を用いる。そして、予め選択した2つ以上の予測方向のコストを高速演算により推定してイントラ予測方向の候補を絞り込み、さらに絞り込まれた方向の中からイントラ予測方向を決定する。
<Fifth Embodiment>
Next, an intra prediction direction determination method according to a fifth embodiment of the present invention will be described. In the fifth embodiment, in the intra prediction direction determination, encoded pixels and pixels within a size limited according to the block size among the encoding target pixels on the coordinates having high correlation with the encoded pixels are used. Then, the cost of two or more preselected prediction directions is estimated by high-speed calculation to narrow down intra prediction direction candidates, and the intra prediction direction is determined from the narrowed down directions.

次に、図8を参照して、第5実施形態による図1に示すステップS1の処理の詳細動作を説明する。図8は、図1に示すステップS1の処理の詳細動作を示すフローチャートである。まず、イントラ予測部1は、符号化済み画素と符号化対象画素のメモリ上での配列及び座標から定まる相対的な位置関係及び符号化対象画素の属するブロックサイズに応じて、符号化対象画素からイントラ予測方向絞り込みに用いる符号化対象画素群を選択する(ステップS511)。続いて、イントラ予測部1は、符号化済み画素と符号化対象画素のメモリ上での配列及び座標から定まる相対的な位置関係及び符号化対象画素の属するブロックサイズに応じて、参照画素から予測絞り込みに用いる参照画素群を選択する(ステップS512)。そして、イントラ予測部1は、イントラ予測方向の候補からイントラ予測方向絞り込みに用いる予測方向を2つ以上選択する(ステップS513)。   Next, with reference to FIG. 8, the detailed operation of the processing in step S1 shown in FIG. 1 according to the fifth embodiment will be described. FIG. 8 is a flowchart showing the detailed operation of the process in step S1 shown in FIG. First, the intra prediction unit 1 determines whether the encoding target pixel is based on the relative positional relationship determined from the arrangement and coordinates of the encoded pixel and the encoding target pixel on the memory and the block size to which the encoding target pixel belongs. The encoding target pixel group used for narrowing down the intra prediction direction is selected (step S511). Subsequently, the intra prediction unit 1 predicts from the reference pixel according to the relative positional relationship determined from the arrangement and coordinates of the encoded pixel and the encoding target pixel on the memory and the block size to which the encoding target pixel belongs. A reference pixel group used for narrowing down is selected (step S512). Then, the intra prediction unit 1 selects two or more prediction directions to be used for narrowing down the intra prediction direction from the candidates for the intra prediction direction (step S513).

第5実施形態におけるステップS2の処理は、図1示す処理動作と同様である。すなわち、選択した予測方向に対して、選択した符号化対象画素群を用いて各予測方向のコスト推定を行う。また、第5実施形態におけるステップS3の処理についても図1に示す処理動作と同様である。すなわち、コスト推定結果が最小となる予測方向と相関が高くなる全てのイントラ予測方向から候補を絞り込み、その中からイントラ予測方向を決定する。   The processing in step S2 in the fifth embodiment is the same as the processing operation shown in FIG. That is, for each selected prediction direction, cost estimation in each prediction direction is performed using the selected encoding target pixel group. Also, the processing in step S3 in the fifth embodiment is the same as the processing operation shown in FIG. That is, candidates are narrowed down from all intra prediction directions that have a high correlation with the prediction direction in which the cost estimation result is minimum, and the intra prediction direction is determined from the candidates.

このように、符号化対象画素の属するブロックサイズに基づいて絞り込みに用いる画素数を制限することで、符号化効率の悪化を抑えつつ演算量の上限を設定することができる。   Thus, by limiting the number of pixels used for narrowing down based on the block size to which the encoding target pixel belongs, the upper limit of the calculation amount can be set while suppressing the deterioration of the encoding efficiency.

<第6実施形態>
次に、本発明の第6実施形態によるイントラ予測方向決定方法を説明する。第6実施形態では、イントラ予測方向決定において、予め選択した2つ以上の予測方向のコストを算出する際、その参照位置が画素間になりその位置に画素が存在しない場合、周囲の画素から小数画素を生成し、イントラ予測方向の候補を絞り込む。ここでの小数画素生成には、符号化方式上で用いられるイントラスムージング処理の他、アップサンプリングによる生成、または周囲の画素をそのまま引用するなど、演算量が膨大にならない手法であれば、どのような手法を用いてもよい。
<Sixth Embodiment>
Next, an intra prediction direction determination method according to the sixth embodiment of the present invention will be described. In the sixth embodiment, when calculating the cost of two or more preselected prediction directions in determining the intra prediction direction, if the reference position is between pixels and there is no pixel at that position, decimals are calculated from the surrounding pixels. Generate pixels and narrow down intra prediction direction candidates. For the fractional pixel generation here, in addition to the intra-smoothing process used in the encoding method, any method that does not require an enormous amount of computation, such as generation by upsampling or quoting surrounding pixels as they are, can be used. Various methods may be used.

第6実施形態におけるステップS1の処理は、図1示す処理動作と同様である。すなわち、符号化済み画素と符号化対象画素のメモリ上での配列及び座標から定まる相対的な位置関係に応じて、符号化対象画素からイントラ予測方向絞り込みに用いる符号化対象画素群を選択する。続いて、符号化済み画素と符号化対象画素のメモリ上での配列及び座標から定まる相対的な位置関係に応じて、参照画素から予測絞り込みに用いる参照画素群を選択する。そして、イントラ予測方向の候補からイントラ予測方向絞り込みに用いる予測方向を2つ以上選択する。   The processing in step S1 in the sixth embodiment is the same as the processing operation shown in FIG. In other words, the encoding target pixel group used for narrowing down the intra prediction direction is selected from the encoding target pixel according to the relative positional relationship determined from the arrangement and coordinates of the encoded pixel and the encoding target pixel in the memory. Subsequently, a reference pixel group used for predictive narrowing is selected from the reference pixels according to the relative positional relationship determined from the arrangement and coordinates of the encoded pixel and the encoding target pixel on the memory. Then, two or more prediction directions used for narrowing down the intra prediction direction are selected from the intra prediction direction candidates.

次に、図9を参照して、第6実施形態による図1に示すステップS2の処理の詳細動作を説明する。図9は、図1に示すステップS2の処理の詳細動作を示すフローチャートである。まず、イントラ予測部1は、予測方向Bの参照座標が画素間になっているか否かを判定する(ステップS621)。すなわち、選択した予測方向に対して、図10のようにその参照位置が画素間になりその位置に画素が存在するか否かを判定する。この判定の結果、参照位置が画素間になりその位置に画素が存在しない場合、周囲の画素から小数位置画素を生成する(ステップS622)。一方、参照位置が画素間でない場合は、ステップS622の処理をスキップする。そして、設定した符号化対象画素群を用いて各予測方向のコスト推定を行う(ステップS623)。   Next, with reference to FIG. 9, the detailed operation of the process in step S2 shown in FIG. 1 according to the sixth embodiment will be described. FIG. 9 is a flowchart showing the detailed operation of the process in step S2 shown in FIG. First, the intra prediction unit 1 determines whether or not the reference coordinates in the prediction direction B are between pixels (step S621). That is, for the selected prediction direction, it is determined whether the reference position is between pixels as shown in FIG. If the result of this determination is that the reference position is between pixels and no pixel exists at that position, a decimal position pixel is generated from the surrounding pixels (step S622). On the other hand, if the reference position is not between pixels, the process of step S622 is skipped. Then, cost estimation in each prediction direction is performed using the set encoding target pixel group (step S623).

第6実施形態におけるステップS3の処理は、図1示す処理動作と同様である。すなわち、コスト推定結果が最小となる予測方向と相関が高くなる全てのイントラ予測方向から候補を絞り込み、その中からイントラ予測方向を決定する。   The processing in step S3 in the sixth embodiment is the same as the processing operation shown in FIG. That is, candidates are narrowed down from all intra prediction directions that have a high correlation with the prediction direction in which the cost estimation result is minimum, and the intra prediction direction is determined from the candidates.

このように、各絞り込みに用いるイントラ予測方向に小数位置画素が必要となる場合、演算量を抑えつつ周囲の画素から小数位置画素を生成することで、演算量の増大を抑えつつ符号化効率を向上することができる。   In this way, when decimal position pixels are required in the intra prediction direction used for each narrowing down, by generating the decimal position pixels from the surrounding pixels while suppressing the calculation amount, it is possible to improve the coding efficiency while suppressing an increase in the calculation amount. Can be improved.

<第7実施形態>
次に、本発明の第7実施形態によるイントラ予測方向決定方法を説明する。第7実施形態では、イントラ予測方向絞り込み処理において、コストを参照画素に隣接する符号化対象画素1ラインと参照画素との絶対値や二乗誤差などの差分和により求めて比較する。但し、ここで1ラインとは、メモリ上で一定範囲内に配置される画素のラインを指す。
<Seventh embodiment>
Next, an intra prediction direction determination method according to a seventh embodiment of the present invention will be described. In the seventh embodiment, in the intra prediction direction narrowing-down process, the cost is obtained and compared based on a sum of differences such as an absolute value or a square error between the encoding target pixel 1 line adjacent to the reference pixel and the reference pixel. Here, one line refers to a line of pixels arranged in a certain range on the memory.

次に、図11を参照して、第7実施形態による図1に示すステップS1の処理の詳細動作を説明する。図11は、図1に示すステップS1の処理の詳細動作を示すフローチャートである。まず、イントラ予測部1は、符号化ブロックの上一段目(左一列目)を符号化対象画素群として選択する(ステップS711)。続いて、イントラ予測部1は、その1ライン上(または1ライン左)の画素を予測絞り込みに用いる参照画素群として選択する(ステップS712)。そして、イントラ予測部1は、イントラ予測方向の候補から、絞り込みに用いる予測方向を2つ以上選択する(ステップS713)。   Next, with reference to FIG. 11, the detailed operation of the processing in step S1 shown in FIG. 1 according to the seventh embodiment will be described. FIG. 11 is a flowchart showing a detailed operation of the process in step S1 shown in FIG. First, the intra prediction unit 1 selects the upper first stage (first left column) of the encoding block as an encoding target pixel group (step S711). Subsequently, the intra prediction unit 1 selects the pixel on one line (or one line left) as a reference pixel group used for prediction narrowing (step S712). And the intra estimation part 1 selects two or more prediction directions used for narrowing down from the candidate of an intra prediction direction (step S713).

次に、図12を参照して、第7実施形態による図1に示すステップS2の処理の詳細動作を説明する。図12は、図1に示すステップS2の処理の詳細動作を示すフローチャートである。まず、イントラ予測部1は、選択した予測方向に対して、設定した符号化対象画素群を用いて各予測方向のコストを符号化対象画素と参照画素との絶対値や二乗誤差などの差分和により求める(ステップS721)。   Next, with reference to FIG. 12, the detailed operation of the process in step S2 shown in FIG. 1 according to the seventh embodiment will be described. FIG. 12 is a flowchart showing a detailed operation of the process in step S2 shown in FIG. First, the intra prediction unit 1 uses the set encoding target pixel group for the selected prediction direction to calculate the cost of each prediction direction as a difference sum such as an absolute value or a square error between the encoding target pixel and the reference pixel. (Step S721).

第7実施形態におけるステップS3の処理は、図1示す処理動作と同様である。すなわち、コスト推定結果が最小となる予測方向と相関が高くなる全てのイントラ予測方向から候補を絞り込み、その中からイントラ予測方向を決定する。   The processing in step S3 in the seventh embodiment is the same as the processing operation shown in FIG. That is, candidates are narrowed down from all intra prediction directions that have a high correlation with the prediction direction in which the cost estimation result is minimum, and the intra prediction direction is determined from the candidates.

このように、イントラ予測方向絞り込みにかかる演算量を最小限に抑えつつ高速演算による実行を可能とし、また参照画素として隣接画素を用いることにより符号化効率の悪化を抑えることができる。   As described above, it is possible to execute by high-speed calculation while minimizing the amount of calculation required for narrowing down the intra prediction direction, and it is possible to suppress deterioration in encoding efficiency by using adjacent pixels as reference pixels.

<第8実施形態>
次に、本発明の第8実施形態によるイントラ予測方向決定方法を説明する。第8実施形態は、HEVCイントラ予測に対する高速な予測方向決定のための手法である。本実施形態では、参照画素には復号画素としてメモリ上に格納されている符号化対象画素の1行上のラインの画素を用いるものとし、符号化対象画素はメモリに横方向に一列ずつ格納されているものとする(図13上図参照)。
<Eighth Embodiment>
Next, an intra prediction direction determination method according to the eighth embodiment of the present invention will be described. The eighth embodiment is a technique for fast prediction direction determination for HEVC intra prediction. In the present embodiment, as reference pixels, pixels on a line on one row of encoding target pixels stored in the memory as decoding pixels are used, and the encoding target pixels are stored in the memory one by one in the horizontal direction. (See the upper diagram in FIG. 13).

まず、隣接画素1ラインA(k=0、1、・・・、w+1)と符号化対象画素の上から1段目までの画素B(j=1、・・・、w)を用い、イントラ予測の予測方向(予測モード)のうち、18と34の方向に対して、下記計算式のようにSSEにより画素同士の誤差の絶対値和(或いは二乗和などでもよい)をコストとして算出する(図13下図参照)。ここで、wは、イントラ予測を行うブロックの横方向の画素数を表す。

Figure 2015179944
Figure 2015179944
First, an adjacent pixel 1 line A k (k = 0, 1,..., W + 1) and pixels B j (j = 1,..., W) from the top of the encoding target pixel to the first stage are used. Of the prediction directions (prediction modes) of intra prediction, the absolute value sum (or the sum of squares, etc.) of errors between pixels is calculated as a cost by SSE for the directions 18 and 34 as shown in the following calculation formula. (See the lower diagram in FIG. 13). Here, w represents the number of pixels in the horizontal direction of the block on which intra prediction is performed.
Figure 2015179944
Figure 2015179944

なお、A,Bがそれぞれイントラ予測方向絞り込みに用いる参照画素群、イントラ予測方向絞り込みに用いる符号化対象画素群であり、18と34の予測方向がイントラ予測方向絞り込みに用いる予測方向である。ここで、予測方向(予測モード)の18と34は、上述のようなメモリ上でのデータ配列においては高速化演算が可能である。さらに、共に一般に選択されやすい垂直・水平方向の予測モードである10、26の双方に対し、ちょうど中間の位置にあたる。このため、18と34どちらを選択しても10、26を予測候補として持つことで選択を誤った場合も符号化効率が悪化するリスクを抑えることが期待できる。 A k and B j are a reference pixel group used for narrowing down the intra prediction direction and an encoding target pixel group used for narrowing down the intra prediction direction, and the prediction directions 18 and 34 are prediction directions used for narrowing down the intra prediction direction. . Here, the prediction directions (prediction modes) 18 and 34 can be accelerated in the data arrangement on the memory as described above. Further, both of the vertical and horizontal prediction modes 10 and 26 which are generally easy to select are in the middle positions. For this reason, even if either 18 or 34 is selected, it can be expected that the risk that the coding efficiency is deteriorated can be suppressed even if the selection is wrong by having 10 and 26 as prediction candidates.

次に、コストが最小となる方向を最適な予測方向とする。続いて、決定した最適な予測方向毎に処理を行う。最適な予測方向が18の場合は、予測モード番号0、1、10〜26(最小となる予測方向と相関が高くなる全てのイントラ予測方向の候補に相当)に対してイントラ予測のコスト算出を行い、最小コストとなるものを最適なイントラ予測方向とする。   Next, the direction that minimizes the cost is set as the optimum prediction direction. Subsequently, processing is performed for each determined optimum prediction direction. When the optimal prediction direction is 18, the cost of intra prediction is calculated for prediction mode numbers 0, 1, 10 to 26 (corresponding to all intra prediction direction candidates that are highly correlated with the minimum prediction direction). The minimum intra cost is set as the optimal intra prediction direction.

一方、最適な予測方向が34の場合は、予測モード番号0、1、2〜9、27〜34(最小となる予測方向と相関が高くなる全てのイントラ予測方向の候補に相当)に対してイントラ予測のコスト算出を行い、最小コストとなるものを最適なイントラ予測方向とする。   On the other hand, when the optimal prediction direction is 34, for prediction mode numbers 0, 1, 2 to 9, and 27 to 34 (corresponding to all intra prediction direction candidates that have a high correlation with the minimum prediction direction). The cost of intra prediction is calculated, and the one with the lowest cost is set as the optimal intra prediction direction.

<第9実施形態>
次に、本発明の第9実施形態によるイントラ予測方向決定方法を説明する。第9実施形態は、HEVCイントラ予測に対する高速な予測方向決定のための手法である。本実施形態では、参照画素としてイントラスムージング用にメモリ上に1列に格納されている隣接画素を用いるものとし、符号化対象画素はメモリに横方向に一列ずつ格納されているものとする(図14上図参照)。
<Ninth Embodiment>
Next, an intra prediction direction determination method according to a ninth embodiment of the present invention will be described. The ninth embodiment is a technique for determining a high-speed prediction direction for HEVC intra prediction. In the present embodiment, it is assumed that adjacent pixels stored in one column on the memory are used as the reference pixels for intra smoothing, and the encoding target pixels are stored in the memory one by one in the horizontal direction (see FIG. 14 See top diagram).

まず、隣接画素1ラインA(k=−1、0、1、・・・、w+2)と符号化対象画素の上から1段目の画素B(j=1、・・・、w)を用い、イントラ予測の予測方向(予測モード)のうち、−6(6を180度回転した方向とする)、14と26の方向に対して、下記計算式のようにSSEにより画素同士の誤差の絶対値和(或いは二乗和などでもよい)をコストとして算出する(図14下図参照)。ここで、wは、イントラ予測を行うブロックの横方向の画素数を表す。

Figure 2015179944
Figure 2015179944
Figure 2015179944
First, the adjacent pixels of one line A k (k = -1,0,1, ··· , w + 2) and the coding from the top of the target pixel in the first stage pixel B j (j = 1, ··· , w) For the prediction direction (prediction mode) of intra prediction, −6 (6 is assumed to be a direction rotated by 180 degrees), 14 and 26 directions, the error between pixels by SSE as in the following calculation formula Is calculated as a cost (see the lower diagram of FIG. 14). Here, w represents the number of pixels in the horizontal direction of the block on which intra prediction is performed.
Figure 2015179944
Figure 2015179944
Figure 2015179944

なお、A,Bがそれぞれイントラ予測方向絞り込みに用いる参照画素群、イントラ予測方向絞り込みに用いる符号化対象画素群であり、−6、14と26の予測方向がイントラ予測方向絞り込みに用いる予測方向である。ここで、予測方向(予測モード)の数が3つに増えることでその分演算量は増加するが、後の処理において絞り込む予測方向(予測モード)の候補数が削減され、また適切に絞り込める可能性が向上する。さらに、予測方向の−6、14と26は、前述のようなメモリ上でのデータ配列においては高速化演算が可能である。 A k and B j are a reference pixel group used for narrowing down the intra prediction direction and a coding target pixel group used for narrowing down the intra prediction direction, and prediction directions of −6, 14 and 26 are used for narrowing down the intra prediction direction. Direction. Here, when the number of prediction directions (prediction modes) increases to three, the amount of calculation increases correspondingly. However, the number of candidates for prediction directions (prediction modes) to be narrowed down in later processing is reduced, and can be appropriately narrowed down. The possibility increases. Further, the prediction directions of −6, 14 and 26 can be accelerated in the data arrangement on the memory as described above.

本実施形態では、メモリが横方向に一列ずつ格納されている場合、垂直方向のコスト演算は高速化演算により容易に行うことができるが、水平方向のコスト演算は高速化演算を用いても処理速度の高速化が難しい。そのため、より水平方向に近く、かつ高速化演算可能な14と垂直方向に対して線対象な−6を予測方向として選択すると、水平・垂直方向どちらかを必ず予測候補として含むため、符号化効率が悪化するリスクを抑えることが期待できる。   In the present embodiment, when the memory is stored in the horizontal direction one column at a time, the cost calculation in the vertical direction can be easily performed by the high-speed calculation, but the cost calculation in the horizontal direction can be processed even by using the high-speed calculation. It is difficult to increase the speed. Therefore, when selecting -6, which is closer to the horizontal direction and capable of high-speed calculation and -6, which is a line target with respect to the vertical direction, as the prediction direction, it always includes either the horizontal or vertical direction as a prediction candidate. Can be expected to reduce the risk of worsening.

次に、コストが最小となる方向を最適な予測方向とする。続いて、決定した最適な予測方向毎に処理を行う。最適な予測方向が−6の場合は、予測モード番号0、1、2〜10、32〜34(最小となる予測方向と相関が高くなる全てのイントラ予測方向の候補に相当)に対してイントラ予測のコスト算出を行い、最小コストとなるものを最適なイントラ予測方向とする。   Next, the direction that minimizes the cost is set as the optimum prediction direction. Subsequently, processing is performed for each determined optimum prediction direction. When the optimal prediction direction is −6, intra prediction is performed for prediction mode numbers 0, 1, 2, 10 and 32 to 34 (corresponding to all intra prediction direction candidates that are highly correlated with the minimum prediction direction). The cost of prediction is calculated, and the one with the lowest cost is set as the optimal intra prediction direction.

また、最適な予測方向が14の場合は、予測モード番号0、1、10〜20(最小となる予測方向と相関が高くなる全てのイントラ予測方向の候補に相当)に対してイントラ予測のコスト算出を行い、最小コストとなるものを最適なイントラ予測方向とする。   In addition, when the optimal prediction direction is 14, the cost of intra prediction for prediction mode numbers 0, 1, 10 to 20 (corresponding to all intra prediction direction candidates having a high correlation with the minimum prediction direction). Calculation is performed, and the one with the lowest cost is set as the optimum intra prediction direction.

また、最適な予測方向が26の場合は、予測モード番号0、1、20〜32(最小となる予測方向と相関が高くなる全てのイントラ予測方向の候補に相当)に対してイントラ予測のコスト算出を行い、最小コストとなるものを最適なイントラ予測方向とする。   In the case where the optimal prediction direction is 26, the cost of intra prediction for prediction mode numbers 0, 20, 20 to 32 (corresponding to all intra prediction direction candidates having a high correlation with the minimum prediction direction). Calculation is performed, and the one with the lowest cost is set as the optimum intra prediction direction.

<第10実施形態>
次に、本発明の第10実施形態によるイントラ予測方向決定方法を説明する。第10実施形態は、HEVCイントラ予測に対する高速な予測方向決定のための手法である。本実施形態では、参照画素としてイントラスムージング用にメモリ上に1列に格納されている隣接画素を用いるものとし、符号化対象画素はメモリに横方向に一列ずつ格納されているものとする(図15上図参照)。
<Tenth Embodiment>
Next, an intra prediction direction determination method according to the tenth embodiment of the present invention will be described. The tenth embodiment is a technique for fast prediction direction determination for HEVC intra prediction. In the present embodiment, it is assumed that adjacent pixels stored in one column on the memory are used as the reference pixels for intra smoothing, and the encoding target pixels are stored in the memory one by one in the horizontal direction (see FIG. 15 (see upper figure).

まず、隣接画素1ラインA(k=−1、1、・・・、w+2)と符号化対象画素の上から1段目の画素B(j=1、・・・、w)を用い、イントラ予測の予測方向(予測モード)のうち、−6(6を180度回転した方向とする)、14と26の方向に対して、下記計算式のようにSSEにより画素同士の誤差の絶対値和(或いは二乗和などでもよい)をコストとして算出する(図15下図参照)。ここで、wは、イントラ予測を行うブロックの横方向の画素数を表す。

Figure 2015179944
Figure 2015179944
Figure 2015179944
First, the adjacent pixel 1 line A k (k = −1, 1,..., W + 2) and the first-stage pixel B j (j = 1,..., W) from the top of the encoding target pixel are used. In the prediction direction (prediction mode) of intra prediction, for the directions of −6 (6 is a direction rotated by 180 degrees), 14 and 26, the absolute error between pixels by SSE as in the following calculation formula A sum of values (or a sum of squares or the like) is calculated as a cost (see the lower diagram of FIG. 15). Here, w represents the number of pixels in the horizontal direction of the block on which intra prediction is performed.
Figure 2015179944
Figure 2015179944
Figure 2015179944

なお、A,Bがそれぞれイントラ予測方向絞り込みに用いる参照画素群、イントラ予測方向絞り込みに用いる符号化対象画素群であり、−6、14と26の予測方向がイントラ予測方向絞り込みに用いる予測方向である。 A k and B j are a reference pixel group used for narrowing down the intra prediction direction and a coding target pixel group used for narrowing down the intra prediction direction, and prediction directions of −6, 14 and 26 are used for narrowing down the intra prediction direction. Direction.

次に、算出したコストの大小毎に、下記の条件1〜3に沿って探索範囲の予測モード番号を決定する。
(条件1)1番目のコストから2番目のコストの方向に8方向、3番目の方向に2方向分探索範囲をもつ。
(条件2)1番目のコストと2番目のコストの方向の間に3番目の方向がある場合、かつ1番目か2番目どちらかがイントラ予測方向の領域外の方向である場合、領域外になっている方向を180度回転させて探索範囲を設定する。
(条件3)上記で設定された探索範囲内で領域外になる方向があれば、その方向だけ180度回転したものを合わせて探索範囲とする。
Next, the prediction mode number of the search range is determined according to the following conditions 1 to 3 for each calculated cost.
(Condition 1) The search range includes eight directions in the direction from the first cost to the second cost, and two directions in the third direction.
(Condition 2) If there is a third direction between the direction of the first cost and the second cost, and if either the first or second direction is outside the intra prediction direction region, The search range is set by rotating the current direction 180 degrees.
(Condition 3) If there is a direction outside the region within the search range set above, the direction rotated by 180 degrees in that direction is combined to be used as the search range.

具体的には、図16に示すようになる。図16に示すA〜Fでそれぞれ選択された予測モード番号の範囲を図示すると、図17のようになる。   Specifically, it is as shown in FIG. A range of prediction mode numbers selected in A to F shown in FIG. 16 is shown in FIG.

以上説明したように、符号化対象ブロックと隣接する符号化済みブロックの画素である参照画素の相対的位置関係に基づき、コストを算出するイントラ予測方向を絞り込むことにより、符号化効率の劣化を抑えつつ演算量の削減を実現することができる。   As described above, the degradation of coding efficiency is suppressed by narrowing down the intra prediction direction for calculating the cost based on the relative positional relationship between the reference pixel that is the pixel of the coded block adjacent to the coding target block. However, the amount of calculation can be reduced.

前述した実施形態におけるイントラ予測方向決定方法をコンピュータで実現するようにしてもよい。その場合、この機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよく、PLD(Programmable Logic Device)やFPGA(Field Programmable Gate Array)等のハードウェアを用いて実現されるものであってもよい。   You may make it implement | achieve the intra prediction direction determination method in embodiment mentioned above with a computer. In that case, a program for realizing this function may be recorded on a computer-readable recording medium, and the program recorded on this recording medium may be read into a computer system and executed. Here, the “computer system” includes an OS and hardware such as peripheral devices. The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory inside a computer system serving as a server or a client in that case may be included and a program held for a certain period of time. Further, the program may be for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in the computer system. It may be realized using hardware such as PLD (Programmable Logic Device) or FPGA (Field Programmable Gate Array).

以上、図面を参照して本発明の実施の形態を説明してきたが、上記実施の形態は本発明の例示に過ぎず、本発明が上記実施の形態に限定されるものではないことは明らかである。したがって、本発明の技術思想及び範囲を逸脱しない範囲で構成要素の追加、省略、置換、その他の変更を行ってもよい。   As mentioned above, although embodiment of this invention has been described with reference to drawings, the said embodiment is only the illustration of this invention, and it is clear that this invention is not limited to the said embodiment. is there. Therefore, additions, omissions, substitutions, and other modifications of the components may be made without departing from the technical idea and scope of the present invention.

映像符号化のイントラ予測における演算量を削減することが不可欠な用途に適用できる。   The present invention can be applied to applications where it is essential to reduce the amount of calculation in intra prediction of video coding.

1・・・イントラ予測部、2・・・動き補償部、3・・・減算部、4・・・DCT/量子化部、5・・・エントロピー符号化部、6・・・逆量子化/逆DCT部、7・・・加算部、8・・・ループフィルタ、9・・・動きベクトル予測部、10・・・符号化制御部   DESCRIPTION OF SYMBOLS 1 ... Intra prediction part, 2 ... Motion compensation part, 3 ... Subtraction part, 4 ... DCT / quantization part, 5 ... Entropy encoding part, 6 ... Inverse quantization / Inverse DCT unit, 7 ... adder, 8 ... loop filter, 9 ... motion vector predictor, 10 ... encoding control unit

Claims (8)

隣接する符号化済みブロックの画素である参照画素を用いて符号化対象ブロックをイントラ予測する際のイントラ予測方向を決定するイントラ予測方向決定方法であって、
前記符号化対象ブロックの符号化対象画素と前記参照画素のメモリ上での相対的な位置関係に基づいて前記符号化対象ブロックと隣接する前記符号化済みブロックの画素である参照画素からそれぞれ符号化対象画素群と参照画素群を選択し、該符号化対象画素群と該参照画素群のメモリ上での相対的な位置関係に基づき、すべてのイントラ予測方向から2つ以上の方向を選択する第1のイントラ予測方向選択ステップと、
選択した2つ以上の前記方向についてコストを算出し、該コストが最小となる方向を選択する第2のイントラ予測方向選択ステップと、
前記コストが最小となる方向と各イントラ予測方向との間の相関と、前記第2のイントラ予測方向選択ステップにおいて選択されなかった方向と各イントラ予測方向との間の相関とのいずれに対する相関が相対的に高いかを判定し、前記コストが最小となる方向との相関が相対的に高いと判定されたイントラ予測方向についてコストを算出し、その中でコストが最小となるイントラ予測方向を選択する第3のイントラ予測方向選択ステップと
を有することを特徴とするイントラ予測方向決定方法。
An intra-prediction direction determination method for determining an intra-prediction direction when performing intra-prediction on an encoding target block using a reference pixel that is a pixel of an adjacent encoded block,
Encoding is performed from reference pixels that are pixels of the encoded block adjacent to the encoding target block based on a relative positional relationship between the encoding target pixel of the encoding target block and the reference pixel on the memory. A target pixel group and a reference pixel group are selected, and two or more directions are selected from all intra prediction directions based on a relative positional relationship between the encoding target pixel group and the reference pixel group on a memory. 1 intra prediction direction selection step;
Calculating a cost for two or more selected directions, and selecting a direction in which the cost is minimized;
Correlation with respect to any of the correlation between the direction in which the cost is minimum and each intra prediction direction and the correlation between the direction not selected in the second intra prediction direction selection step and each intra prediction direction Determine whether the cost is relatively high, calculate the cost for the intra prediction direction determined to have a relatively high correlation with the direction in which the cost is minimum, and select the intra prediction direction in which the cost is minimum And a third intra prediction direction selection step. An intra prediction direction determination method comprising:
隣接する符号化済みブロックの画素である参照画素を用いて符号化対象ブロックをイントラ予測する際のイントラ予測方向を決定するイントラ予測方向決定方法であって、
前記符号化対象ブロックの符号化対象画素と前記参照画素のメモリ上での相対的な位置関係に基づき、前記符号化対象ブロックと前記隣接する符号化済みブロックの画素である参照画素からそれぞれ符号化対象画素群と参照画素群を選択し、該符号化対象画素群と該参照画素群のメモリ上での相対的な位置関係に基づき、すべてのイントラ予測方向及びイントラ予測方向ではない所定の方向から2つ以上の方向を選択する第1のイントラ予測方向選択ステップと、
選択した2つ以上の前記方向についてコストを算出し、該コストが最小となる方向を選択する第2のイントラ予測方向選択ステップと、
前記コストが最小となる方向と各イントラ予測方向との間の相関と、前記第2のイントラ予測方向選択ステップにおいて選択されなかった方向と各イントラ予測方向との間の相関とのいずれに対する相関が相対的に高いかを判定し、前記コストが最小となる方向との相関が相対的に高いと判定されたイントラ予測方向についてコストを算出し、その中でコストが最小となるイントラ予測方向を選択する第3のイントラ予測方向選択ステップと
を有することを特徴とするイントラ予測方向決定方法。
An intra-prediction direction determination method for determining an intra-prediction direction when performing intra-prediction on an encoding target block using a reference pixel that is a pixel of an adjacent encoded block,
Based on the relative positional relationship between the encoding target pixel of the encoding target block and the reference pixel on the memory, encoding is performed from the reference pixel that is a pixel of the encoding target block and the adjacent encoded block, respectively. Select the target pixel group and the reference pixel group, and based on the relative positional relationship between the encoding target pixel group and the reference pixel group on the memory, all the intra prediction directions and the predetermined directions that are not the intra prediction directions A first intra prediction direction selection step of selecting two or more directions;
Calculating a cost for two or more selected directions, and selecting a direction in which the cost is minimized;
Correlation with respect to any of the correlation between the direction in which the cost is minimum and each intra prediction direction and the correlation between the direction not selected in the second intra prediction direction selection step and each intra prediction direction Determine whether the cost is relatively high, calculate the cost for the intra prediction direction determined to have a relatively high correlation with the direction in which the cost is minimum, and select the intra prediction direction in which the cost is minimum And a third intra prediction direction selection step that performs the intra prediction direction determination method.
前記第1のイントラ予測方向選択ステップで選択する2つ以上の方向は、互いの相関が低くなる関係にあることを特徴とする請求項1または2に記載のイントラ予測方向決定方法。   3. The intra prediction direction determination method according to claim 1, wherein two or more directions selected in the first intra prediction direction selection step are in a relationship in which mutual correlation becomes low. 前記第2のイントラ予測方向選択ステップは、前記選択した2つ以上の方向についてコストを算出し、該コストが小さいものから複数の方向を選択し、
前記第3のイントラ予測方向選択ステップは、前記第2のイントラ予測方向選択ステップで選択された方向のうちコストが最小となる方向を中心とする、前記第2のイントラ予測方向選択ステップで選択された方向のうちコストが最小となる方向を除いた方向を用いて定まる所定の範囲を決定し、該所定の範囲に含まれるイントラ予測方向についてコストを算出し、その中でコストが最小となるイントラ予測方向を選択することを特徴とする請求項1から3のいずれか1項に記載のイントラ予測方向決定方法。
The second intra prediction direction selection step calculates a cost for the two or more selected directions, and selects a plurality of directions from the smallest cost,
The third intra prediction direction selection step is selected in the second intra prediction direction selection step centering on the direction with the lowest cost among the directions selected in the second intra prediction direction selection step. A predetermined range determined using a direction excluding the direction with the lowest cost among the determined directions, the cost is calculated for the intra prediction directions included in the predetermined range, and the intra with the lowest cost among them is calculated. The intra prediction direction determination method according to claim 1, wherein a prediction direction is selected.
前記第1のイントラ予測方向選択ステップは、前記符号化対象ブロックの符号化対象画素と前記参照画素のメモリ上での相対的な位置関係に加えて前記符号化対象ブロックのブロックサイズに基づき、前記符号化対象画素群と前記参照画素群を選択することを特徴とする請求項1から4のいずれか1項に記載のイントラ予測方向決定方法。   The first intra prediction direction selection step is based on the block size of the encoding target block in addition to the relative positional relationship of the encoding target pixel of the encoding target block and the reference pixel on the memory, The intra prediction direction determination method according to any one of claims 1 to 4, wherein an encoding target pixel group and the reference pixel group are selected. 前記第1のイントラ予測方向選択ステップは、参照すべき位置に前記隣接する符号化済みブロックの画素である参照画素がない場合には、前記隣接する符号化済みブロックの画素である参照画素から小数画素を生成し、生成した小数画素を前記参照画素群に含めて前記参照画素群を選択することを特徴とする請求項1から5のいずれか1項に記載のイントラ予測方向決定方法。   When there is no reference pixel that is a pixel of the adjacent encoded block at a position to be referred to, the first intra prediction direction selection step calculates a decimal number from the reference pixel that is a pixel of the adjacent encoded block. 6. The intra prediction direction determination method according to claim 1, wherein a pixel is generated, the generated decimal pixel is included in the reference pixel group, and the reference pixel group is selected. 前記符号化対象ブロックの符号化対象画素と前記参照画素のメモリ上での相対的な位置関係は、前記符号化対象画素が横方向または縦方向に一列ずつメモリに格納されており、前記隣接する符号化済みブロックの画素である参照画素はその1つ上に横方向にまたはその1つ左に縦方向に1列にメモリに格納されている位置関係であり、
前記符号化対象画素群は、前記符号化対象ブロックの上から1段目または左から1列目であり、
前記参照画素群は、前記符号化対象画素群の1つ上または1つ左の参照画素であることを特徴とする請求項1から6のいずれか1項に記載のイントラ予測方向決定方法。
The relative positional relationship between the encoding target pixel of the encoding target block and the reference pixel on the memory is such that the encoding target pixels are stored in the memory one by one in the horizontal direction or the vertical direction, and are adjacent to each other. A reference pixel that is a pixel of an encoded block is a positional relationship that is stored in the memory in one column in the horizontal direction on one of them or in the vertical direction on the left one of them.
The encoding target pixel group is the first row from the top or the first column from the left of the encoding target block,
The intra prediction direction determination method according to claim 1, wherein the reference pixel group is a reference pixel that is one pixel above or one pixel left of the encoding target pixel group.
コンピュータに、請求項1から7のいずれか1項に記載のイントラ予測方向決定方法を実行させるためのイントラ予測方向決定プログラム。   The intra prediction direction determination program for making a computer perform the intra prediction direction determination method of any one of Claim 1 to 7.
JP2014056241A 2014-03-19 2014-03-19 Intra prediction direction determination method and intra prediction direction determination program Active JP5759588B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014056241A JP5759588B1 (en) 2014-03-19 2014-03-19 Intra prediction direction determination method and intra prediction direction determination program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014056241A JP5759588B1 (en) 2014-03-19 2014-03-19 Intra prediction direction determination method and intra prediction direction determination program

Publications (2)

Publication Number Publication Date
JP5759588B1 JP5759588B1 (en) 2015-08-05
JP2015179944A true JP2015179944A (en) 2015-10-08

Family

ID=53887586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014056241A Active JP5759588B1 (en) 2014-03-19 2014-03-19 Intra prediction direction determination method and intra prediction direction determination program

Country Status (1)

Country Link
JP (1) JP5759588B1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006005438A (en) * 2004-06-15 2006-01-05 Sony Corp Image processor and method thereof
JP2006014342A (en) * 2004-06-27 2006-01-12 Apple Computer Inc Selection of coding type for coding video data and of predictive mode
JP2006246431A (en) * 2005-02-07 2006-09-14 Matsushita Electric Ind Co Ltd Image coding apparatus and method
JP2007251923A (en) * 2006-02-15 2007-09-27 Mitsubishi Electric Corp Image encoding device and image coding method
JP2008283481A (en) * 2007-05-10 2008-11-20 Canon Inc Image processor, and method thereof
JP2010263301A (en) * 2009-04-30 2010-11-18 Mega Chips Corp Method of generating image data
US20130107957A1 (en) * 2011-10-31 2013-05-02 Alexander Rabinovitch Intra-prediction mode selection while encoding a picture
WO2013175732A1 (en) * 2012-05-24 2013-11-28 パナソニック株式会社 Image coding device, image coding method, and integrated circuit

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006005438A (en) * 2004-06-15 2006-01-05 Sony Corp Image processor and method thereof
JP2006014342A (en) * 2004-06-27 2006-01-12 Apple Computer Inc Selection of coding type for coding video data and of predictive mode
JP2006246431A (en) * 2005-02-07 2006-09-14 Matsushita Electric Ind Co Ltd Image coding apparatus and method
JP2007251923A (en) * 2006-02-15 2007-09-27 Mitsubishi Electric Corp Image encoding device and image coding method
JP2008283481A (en) * 2007-05-10 2008-11-20 Canon Inc Image processor, and method thereof
JP2010263301A (en) * 2009-04-30 2010-11-18 Mega Chips Corp Method of generating image data
US20130107957A1 (en) * 2011-10-31 2013-05-02 Alexander Rabinovitch Intra-prediction mode selection while encoding a picture
WO2013175732A1 (en) * 2012-05-24 2013-11-28 パナソニック株式会社 Image coding device, image coding method, and integrated circuit

Also Published As

Publication number Publication date
JP5759588B1 (en) 2015-08-05

Similar Documents

Publication Publication Date Title
JP7004782B2 (en) Image prediction method and related equipment
TWI478586B (en) Motion vector predictive coding method, motion vector predictive decoding method, moving picture coding apparatus, moving picture decoding apparatus, and programs thereof
CN107959856B (en) Method and apparatus for encoding and decoding image by intra prediction
JP6404487B2 (en) Image prediction method and related apparatus
JP5277257B2 (en) Video decoding method and video encoding method
ES2875926T3 (en) Procedure and device for encoding a sequence of images and procedure and device for decoding a sequence of images
JP7261275B2 (en) Method and apparatus for encoding or decoding video data in FRUC mode with reduced memory access
US9497481B2 (en) Motion vector predictive encoding method, motion vector predictive decoding method, moving picture encoding apparatus, moving picture decoding apparatus, and programs thereof
JP2008227702A (en) Motion vector search device, motion vector search method, and motion vector search program
CN101682775A (en) Motion vector searching method and device, program therefor, and record medium having recorded the program
JPWO2012121234A1 (en) Video encoding apparatus, video encoding method, and video encoding program
US10237561B2 (en) Video coding apparatus and video coding method
JP5759588B1 (en) Intra prediction direction determination method and intra prediction direction determination program
CN103688542A (en) Image coding method, image decoding method, image coding device, image decoding device, image coding program, and image decoding program
JP2015111774A (en) Video coding device and video coding program
JP5281596B2 (en) Motion vector prediction method, motion vector prediction apparatus, and motion vector prediction program
JP2018056699A (en) Encoder, encoding method, decoder and decoding method
JP5281597B2 (en) Motion vector prediction method, motion vector prediction apparatus, and motion vector prediction program
JP2016187134A (en) Prediction mode determination method and prediction mode determination program
JP6080077B2 (en) Image encoding method and image encoding apparatus
JP6680796B2 (en) Efficient low complexity video compression
JP2016187171A (en) Video encoding device, video encoding method, and video encoding program
JP2004364333A (en) Image encoding apparatus
JP2018186456A (en) Image encoding apparatus, image encoding method, and program
JP2019537328A5 (en)

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150602

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150605

R150 Certificate of patent or registration of utility model

Ref document number: 5759588

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150