Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6737700B2 - Linear prediction coefficient output method, linear prediction coefficient output device, and linear prediction coefficient output program - Google Patents
[go: Go Back, main page]

JP6737700B2 - Linear prediction coefficient output method, linear prediction coefficient output device, and linear prediction coefficient output program - Google Patents

Linear prediction coefficient output method, linear prediction coefficient output device, and linear prediction coefficient output program Download PDF

Info

Publication number
JP6737700B2
JP6737700B2 JP2016239880A JP2016239880A JP6737700B2 JP 6737700 B2 JP6737700 B2 JP 6737700B2 JP 2016239880 A JP2016239880 A JP 2016239880A JP 2016239880 A JP2016239880 A JP 2016239880A JP 6737700 B2 JP6737700 B2 JP 6737700B2
Authority
JP
Japan
Prior art keywords
prediction
digital signal
coefficients
prediction coefficient
linear
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.)
Active
Application number
JP2016239880A
Other languages
Japanese (ja)
Other versions
JP2018098589A (en
Inventor
雄一 佐山
雄一 佐山
幸浩 坂東
幸浩 坂東
誠之 高村
誠之 高村
清水 淳
淳 清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Inc
NTT Inc USA
Original Assignee
Nippon Telegraph and Telephone Corp
NTT Inc USA
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, NTT Inc USA filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2016239880A priority Critical patent/JP6737700B2/en
Publication of JP2018098589A publication Critical patent/JP2018098589A/en
Application granted granted Critical
Publication of JP6737700B2 publication Critical patent/JP6737700B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

本発明は、線形予測係数出力方法、線形予測係数出力装置及び線形予測係数出力プログラムに関する。 The present invention relates to a linear prediction coefficient output method, a linear prediction coefficient output device, and a linear prediction coefficient output program.

高能率な映像符号化を実現するには、イントラ予測の予測誤差の低減が重要な課題となる。以下では、映像とは、動画像、すなわち、一連の画像の集合である。画像とは、動画像を構成する1フレーム又は静止画像である。動画圧縮方式の規格の一つであるH.263では、同一フレーム内における隣接画素値間の相関除去を目的として、周辺画素値を用いた画素値予測処理が導入された。H.263では、DC(Direct Current)成分に対する予測のみが行われる。動画圧縮方式の規格の一つであるH.264/AVCでは、Plane予測や9通りの方向性予測が追加された。 In order to realize highly efficient video coding, reducing the prediction error of intra prediction is an important issue. In the following, a video is a moving image, that is, a set of a series of images. The image is one frame or a still image forming a moving image. H.264, which is one of the video compression standard. In H.263, a pixel value prediction process using peripheral pixel values is introduced for the purpose of removing the correlation between adjacent pixel values in the same frame. H. At 263, only the prediction for the DC (Direct Current) component is performed. H.264, which is one of the video compression standard. In H.264/AVC, Plane prediction and nine directional predictions are added.

動画圧縮方式の規格の一つであるH.265/HEVC(High Efficiency Video Coding)では、Plane予測を改善したPlanar予測が導入されると共に、方向性予測の方向数が33通りに増加された。しかし、H.265/HEVCでは、予測誤差を低減する余地が残されている。 H.264, which is one of the video compression standard. In 265/HEVC (High Efficiency Video Coding), Planar prediction that improves Plane prediction is introduced, and the number of directions of directional prediction is increased to 33 ways. However, H. With the H.265/HEVC, there is room for reducing the prediction error.

HEVCのイントラ予測は、画素値変化の方向が直線的であると仮定している。また、H.265/HEVCでは、予測器の数や種類は、映像によらずに固定されている。従って、画素値変化の方向が直線的でない場合、予測誤差は増大する。また、特定の予測器が使用されない場合、予測情報の表現に要する符号量が増大する。従って、予測誤差を低減するには、映像ごとに適切な予測器を構築する必要がある。 The HEVC intra prediction assumes that the direction of the pixel value change is linear. In addition, H. In H.265/HEVC, the number and types of predictors are fixed regardless of the image. Therefore, when the direction of the pixel value change is not linear, the prediction error increases. Moreover, when a specific predictor is not used, the code amount required to express the prediction information increases. Therefore, in order to reduce the prediction error, it is necessary to construct an appropriate predictor for each video.

映像ごとに予測器を定める方法として、複数の線形予測器を画像ごとに定める方法がある(非特許文献1参照)。非特許文献1では、1枚の画像を矩形ブロックに分割し、矩形ブロックごとに予測が実行される。また、非特許文献1では、各矩形ブロックを複数種類のクラスに分類し、適応的な予測器がクラスごとに定められる。以下では、予測処理の単位となる矩形ブロックを「予測ブロック」という。 As a method of determining a predictor for each video, there is a method of determining a plurality of linear predictors for each image (see Non-Patent Document 1). In Non-Patent Document 1, one image is divided into rectangular blocks, and prediction is executed for each rectangular block. Also, in Non-Patent Document 1, each rectangular block is classified into a plurality of types of classes, and an adaptive predictor is determined for each class. Hereinafter, a rectangular block that is a unit of prediction processing is referred to as a “prediction block”.

図17は、複数の予測ブロックに分割された符号化対象フレームにおける、予測に用いられる参照画素及び被予測画素の関係の例を示す図である。図17では、一例として、符号化対象フレームである画像を(5×3)に分割し、13個の参照画素から16個の被予測画素を予測する。参照画素の数及び形と被予測画素の数とは、自由に変更できる。 FIG. 17 is a diagram illustrating an example of the relationship between the reference pixel and the predicted pixel used for prediction in the encoding target frame divided into a plurality of prediction blocks. In FIG. 17, as an example, the image that is the encoding target frame is divided into (5×3), and 16 predicted pixels are predicted from 13 reference pixels. The number and shape of reference pixels and the number of predicted pixels can be freely changed.

図18は、予測ブロックを複数のクラスに分類する方法の例を示す図である。図18では、一例として、15個の予測ブロックが3個のクラスに分類され、予測に必要となる係数がクラスごとに用意される。クラス数は、1以上の整数であればどのように設定してもよい。予測係数の導出方法については後述する。 FIG. 18 is a diagram showing an example of a method of classifying prediction blocks into a plurality of classes. In FIG. 18, as an example, 15 prediction blocks are classified into 3 classes, and the coefficients required for prediction are prepared for each class. The number of classes may be set in any way as long as it is an integer of 1 or more. The method of deriving the prediction coefficient will be described later.

非特許文献1では、最小単位である単画素の予測ブロック(予測対象)が定められている。予測ブロック内の画素値と原画像の画素値との誤差である予測誤差は、低く抑えることが望ましい。一方、同一画像内の各予測ブロックは、信号特性がそれぞれ異なる。そこで、類似した信号特性を持つ予測ブロックを1個のクラスにまとめ、まとめられたクラスにおいて予測誤差の少ない予測器が設計される。非特許文献1には、クラス分類の方法として、付加情報を用いずに予測ブロック周辺の近傍画素値の分散を用いる分類の方法が開示されている。非特許文献1では、予測ブロック内の画素値の予測に、式(1)に示す線形予測が用いられる。 In Non-Patent Document 1, a single pixel prediction block (prediction target) that is the minimum unit is defined. It is desirable that the prediction error, which is the error between the pixel value in the prediction block and the pixel value in the original image, be kept low. On the other hand, the prediction blocks in the same image have different signal characteristics. Therefore, prediction blocks having similar signal characteristics are grouped into one class, and a predictor with a small prediction error in the grouped classes is designed. Non-Patent Document 1 discloses, as a class classification method, a classification method that uses the variance of neighboring pixel values around a prediction block without using additional information. In Non-Patent Document 1, linear prediction shown in Expression (1) is used for prediction of pixel values in a prediction block.

Figure 0006737700
Figure 0006737700

ここで、iは、予測ブロックの番号を示す指数である。cは、クラス番号であり、1からCまでとりうる。^x=(^x ,・・・,^x ,・・・,^x Mi(^は、後に続く文字の上に付く。以下同様)は、参照画素を要素とするMi次元の列ベクトルである。Miは、予測に用いる参照画素数である。^y は、予測ブロックにおける予測画素値である。非特許文献1では、予測ブロックの大きさが(1×1)であるため、^y は、1次元の実数である。bは、クラスcにおける予測係数であり、Mi次元行ベクトルである。 Here, i is an index indicating the number of the prediction block. c is a class number and can be 1 to C. ^x i =(^x i 1 ,..., ^x i l ,..., ^x i Mi ) T (^ is attached to the character that follows, the same applies below) is the element Is a Mi-dimensional column vector. Mi is the number of reference pixels used for prediction. ^ Y i c is a prediction pixel value in a prediction block. In Non-Patent Document 1, since the size of the prediction block is (1×1), ^y i c is a one-dimensional real number. bc is a prediction coefficient in class c and is a Mi-dimensional row vector.

各クラスの予測係数bに対し予測誤差を最小化する係数を定める方法では、Wiener−Hopt方程式と呼ばれる線形連立方程式を解くことが知られている。以上に説明した事項は、非特許文献1に詳述されている。非特許文献1の線形予測を拡張し、画素単位でない予測ブロック内の正規化された画素値に対する線形予測は、式(2)のように記述できる。 In the method of determining the coefficient that minimizes the prediction error to the prediction coefficient b c of each class, it is known to solve the linear equations called Wiener-Hopt equation. The matters described above are detailed in Non-Patent Document 1. The linear prediction of Non-Patent Document 1 is expanded, and linear prediction for a normalized pixel value in a prediction block that is not a pixel unit can be described as Expression (2).

Figure 0006737700
Figure 0006737700

ここで、iは、予測ブロックの番号を示す指数である。cは、クラス番号であり、1からCまでとりうる。^x=(^x ,・・・,^x ,・・・,^x Miは正規化処理を施した参照画素を要素とするMi次元の列ベクトルである。Miは予測に用いる参照画素数である。^xは、式(3)のように正規化されている。 Here, i is an index indicating the number of the prediction block. c is a class number and can be 1 to C. ^x i =(^x i 1 ,..., ^x i l ,..., ^x i Mi ) T is a Mi-dimensional column vector whose elements are reference pixels subjected to the normalization process. Mi is the number of reference pixels used for prediction. ^x i is normalized as in Expression (3).

Figure 0006737700
Figure 0006737700

ここで、 ̄x=( ̄x ;,・・・, ̄x ,・・・, ̄x Mi( ̄は、後に続く文字の上に付く。以下同様)は、正規化処理を施していない参照画素を要素とするMi次元の列ベクトルである.Sは、クラス番号cを選択する予測ブロック番号の集合である.μ は、クラスcに属するl番目の参照画素値 ̄x の平均値である.σ は、クラスcに属するl番目の参照画素値の標準偏差である。 Here,  ̄ x i = ( ̄ x i 1 ;,...,  ̄ x i l ,...,  ̄ x i Mi ) T ( ̄ is attached to the following character. The same applies below) is This is a Mi-dimensional column vector whose elements are reference pixels that have not been normalized. S c is a set of prediction block numbers that selects the class number c. μ x l is the average value of the l-th reference pixel value −x i l belonging to the class c. σ x l is the standard deviation of the l-th reference pixel value belonging to the class c.

^y =(^y [1],・・・,^y [j],・・・,^y [Mi])は、正規化処理を施した予測ブロック内の画素値を要素とするMo次元の列ベクトルである。^y は、式(4)のように正規化されている。 ^ Y i c =(^ y i c [1],..., ^ y i c [j],..., ^ y i c [Mi]) T is in the prediction block subjected to the normalization process. Is a Mo-dimensional column vector whose elements are pixel values of. ^ Y i c is normalized as in Expression (4).

Figure 0006737700
Figure 0006737700

ここで、 ̄y =( ̄y [1],・・・, ̄y [l],・・・, ̄y [Mo])は、正規化処理を施していない予測ブロック内の画素値を要素とするMi次元の列ベクトルである.μ [j]は、クラスcに属するl番目の被予測画素値 ̄x の平均値である。Moは、予測ブロックの画素数である。jは、予測ブロック内の画素位置を示す指数である。Aは、クラスcにおける予測係数であり、列数がMiであり、行数がMoである実数値行列である。j行目の予測係数により、j番目の予測ブロック内画素値が予測される。 Here, ¯y i c = (¯y i c [1], ···, ¯y i c [l], ···, ¯y i c [Mo]) T is not subjected to a normalization process This is a Mi-dimensional column vector whose elements are the pixel values in a non-predicted block. μ i c [j] is the average value of the l-th predicted pixel value −x i l belonging to the class c. Mo is the number of pixels of the prediction block. j is an index indicating the pixel position in the prediction block. A c is a prediction coefficient in class c, and is a real-valued matrix having Mi in the number of columns and Mo in the number of rows. The pixel value in the j-th prediction block is predicted by the prediction coefficient in the j-th row.

正規化されていない実際の予測画素値〜y (〜は、後に続く文字の上に付く。以下同様)は、式(5)を用いて表される。 The actual prediction pixel value ~y i c unnormalized (~ is attached. Similarly above the letter followed) is expressed using equation (5).

Figure 0006737700
Figure 0006737700

以下では、正規化処理は、参照画素及び予測ブロックに対して施される。画像ごとに線形予測に用いる係数方法では、予測係数が付加情報となる。このため、画像ごとに線形予測に用いる係数方法では、予測係数の発生符号量の抑制が課題となる。予測係数の発生符号量を抑制する方法として、予測係数の多くが零値であるスパースの状態にする制約条件の下で予測誤差を低減することが可能である予測係数を定める方法がある。 In the following, the normalization process is performed on the reference pixel and the prediction block. In the coefficient method used for the linear prediction for each image, the prediction coefficient becomes the additional information. Therefore, in the coefficient method used for the linear prediction for each image, it is a problem to suppress the generated code amount of the prediction coefficient. As a method of suppressing the generated code amount of the prediction coefficient, there is a method of determining the prediction coefficient that can reduce the prediction error under the constraint condition that most of the prediction coefficients are in a sparse state where the value is zero.

予測係数の多くが零値である場合、予測係数の表現に要する符号量を削減できるため、付加情報として送信する予測係数の符号量の削減が見込まれる。一方、零値の予測係数が多すぎる場合、予測誤差が増大してしまうため、予測誤差の表現に要する符号量の増大や復号画像の画質劣化が見込まれる。 When many of the prediction coefficients have a zero value, the code amount required to express the prediction coefficient can be reduced, so that the code amount of the prediction coefficient transmitted as additional information can be reduced. On the other hand, if there are too many zero-valued prediction coefficients, the prediction error will increase, so it is expected that the code amount required to express the prediction error will increase and the image quality of the decoded image will deteriorate.

予測係数の多くが零値であるというスパース性を課した制約条件の下で予測誤差を最小化する方法の一つとして、L0ノルムの二乗誤差の最小化問題がある。L0ノルムの二乗誤差の最小化問題は、式(6)を用いて表される。 There is a problem of minimizing the square error of the L0 norm as one of the methods for minimizing the prediction error under the constraint condition that imposes sparsity that most of the prediction coefficients are zero values. The L0 norm squared error minimization problem is expressed using equation (6).

Figure 0006737700
Figure 0006737700

ここで、Sは、クラス番号cを選択する予測ブロック番号の集合である。以下の文中では、式中における双柱は「||」を用いて表す。||A||は、行列Aにおける非零値である係数の個数である。予測係数の符号量は、非零値である予測係数の個数に依存する。このため、非零値の係数の個数に関する制約条件は、予測係数に要する符号量を調整する役割を持つ。θ0は、予測係数におけるL0ノルムの総和の上限値を表す。以下では、θ0を「L0ノルム総和上限」という。 Here, S c is a set of prediction block numbers for selecting the class number c. In the following text, the twin columns in the formula are represented by "||". ||A c || 0 is the number of nonzero-valued coefficients in the matrix A c . The code amount of the prediction coefficient depends on the number of prediction coefficients that are non-zero values. Therefore, the constraint condition regarding the number of nonzero-valued coefficients has a role of adjusting the code amount required for the prediction coefficient. θ0 represents the upper limit value of the sum of L0 norms in the prediction coefficient. Hereinafter, θ0 is referred to as “L0 norm sum upper limit”.

しかし、式(6)における最適解の求解は困難である。このため、式(7)に示す条件に制約条件を緩和して求解する方法が考えられる。 However, it is difficult to find the optimum solution in Expression (6). Therefore, a method of solving the constraint condition by solving the condition shown in Expression (7) can be considered.

Figure 0006737700
Figure 0006737700

ここで、||Ac||1は、行列Acにおける非零値である係数の絶対値の総和である。θ1は、線形予測に用いる全てのクラスにおける予測係数Acの絶対値和の総和の上限値である。以下では、θ1を「L1ノルム総和上限」という。L1ノルム総和上限を定める制約条件を課すことで、スパース性を有する予測係数が得られる。L1ノルム総和上限によって、全てのクラスに亘った行列内における零値の係数を含む割合が調整される。 Here, ||Ac||1 is the total sum of the absolute values of the coefficients that are non-zero values in the matrix Ac. θ1 is the upper limit of the sum of absolute value sums of the prediction coefficients Ac in all classes used for linear prediction. Hereinafter, θ1 is referred to as “L1 norm summation upper limit”. By imposing a constraint condition that defines the upper limit of the L1 norm summation, a prediction coefficient having sparsity can be obtained. The L1 norm summation bounds adjust the proportion of zero-valued coefficients in the matrix across all classes.

式(2)に示された予測係数は、予測ブロック内の各画素が独立であるとして予測される。予測ブロック内のj番目の画素値は、予測係数Aのj行目の係数を用いて予測される。すなわち、A=(a[1],・・・,a[j],・・・,a[Mo]と表記すると、a[j]は、クラスcに属する予測ブロックのj番目の画素値を予測するための係数であり、Mi次元の行ベクトルである。以下では、a[j]を「単画素予測係数」という。 The prediction coefficient shown in Formula (2) is predicted as each pixel in a prediction block being independent. The j-th pixel value in the prediction block is predicted using the coefficient on the j-th row of the prediction coefficient A c . That is, when A c =(a c [1] T ,..., a c [j] T ,..., a c [Mo] T ) T is written, a c [j] becomes a class c. It is a coefficient for predicting the j-th pixel value of the prediction block to which it belongs, and is a Mi-dimensional row vector. Hereinafter, a c [j] is referred to as a “single pixel prediction coefficient”.

クラスcに属するi番目の予測ブロック内のj番目の画素値は、単画素予測係数a[j]及び参照画素xを用いて、a[j]xと予測される。L1ノルムによる制約条件の下での最適化問題においてクラス数Cが1種類であり予測ブロック内の画素数Moが1個である場合、予測係数を定める最適化問題は、線形回帰を実行するための正則化手法であるLASSOと同一の問題として定義され、最適化問題の様々な解法が知られている。 J-th pixel value of the i-th prediction block belonging to the class c, using a single-pixel prediction coefficients a c [j] and the reference pixel x i, is expected to a c [j] x i. When the number of classes C is one and the number of pixels Mo in the prediction block is one in the optimization problem under the constraint condition by the L1 norm, the optimization problem that determines the prediction coefficient executes linear regression. It is defined as the same problem as LASSO, which is a regularization method of, and various solution methods of optimization problems are known.

松田一朗、森弘史、前田譲治、伊東晋、可逆符号化のためのレートを最小とする予測器の設計と評価、電子情報通信学会論文誌D−II、Vol.J85、No.3、pp.448−456、2002.Ichiro Matsuda, Hiroshi Mori, Joji Maeda, Shin Ito, Design and evaluation of predictor with minimum rate for lossless coding, IEICE Transactions D-II, Vol. J85, No. 3, pp. 448-456, 2002.

しかしながら、LASSOの求解アルゴリズムでは、クラス数C及び画素数Moを1に限定した定式化及び制約条件が必要である。クラス数C及び画素数Moが1よりも大きな値である場合には、式(7)に示す条件に制約条件を緩和した最適化問題を効率的に求解することができない、という問題があった。式(7)に示す条件に制約条件を緩和した最適化問題を効率的に求解することができないので、式(5)における予測誤差の削減には改善の余地がある。 However, the LASSO solution algorithm requires a formulation and constraint conditions in which the number of classes C and the number of pixels Mo are limited to 1. When the number of classes C and the number of pixels Mo are larger than 1, there is a problem that it is not possible to efficiently solve the optimization problem in which the constraint condition is relaxed in the condition shown in Expression (7). .. Since it is not possible to efficiently solve the optimization problem in which the constraint condition is relaxed to the condition shown in Expression (7), there is room for improvement in reducing the prediction error in Expression (5).

上記事情に鑑み、本発明は、イントラ予測においてクラス数と予測ブロック内の画素数とが1よりも大きな値であるという制約条件の下でも最適化問題を効率的に求解することが可能である線形予測係数出力方法、線形予測係数出力装置及び線形予測係数出力プログラムを提供することを目的としている。 In view of the above circumstances, the present invention can efficiently solve an optimization problem even under the constraint that the number of classes and the number of pixels in a prediction block are values greater than 1 in intra prediction. It is an object to provide a linear prediction coefficient output method, a linear prediction coefficient output device, and a linear prediction coefficient output program.

本発明の一態様は、予測対象のデジタル信号と予測されたデジタル信号との差分である予測誤差について、線形予測に用いられる係数である予測係数の絶対値和の総和が上限値を満たすという制約条件の下で前記予測誤差の二乗和を最小化する線形予測器を用いて前記予測対象のデジタル信号を線形予測するための予測係数を出力する線形予測係数出力装置が実行する線形予測係数出力方法であって、前記予測対象のデジタル信号を線形予測するための予測係数の一部であり1次元のデジタル信号の予測係数である単信号予測係数の集合のうち前記制約条件を満たす前記単信号予測係数の集合を、前記予測対象のデジタル信号を線形予測するための予測係数として出力するステップを含む線形予測係数出力方法である。 One aspect of the present invention is a constraint that a sum of absolute value sums of prediction coefficients, which are coefficients used for linear prediction, satisfies an upper limit value with respect to a prediction error that is a difference between a prediction target digital signal and a predicted digital signal. A linear prediction coefficient output method executed by a linear prediction coefficient output device that outputs a prediction coefficient for linearly predicting the digital signal to be predicted using a linear predictor that minimizes the sum of squares of the prediction error under a condition The single-signal prediction satisfying the constraint condition in a set of single-signal prediction coefficients that are part of the prediction coefficients for linearly predicting the prediction target digital signal and are prediction coefficients of a one-dimensional digital signal A linear prediction coefficient output method including a step of outputting a set of coefficients as prediction coefficients for linearly predicting the digital signal to be predicted.

本発明の一態様は、上記の線形予測係数出力方法であって、前記予測対象のデジタル信号は、前記予測対象のデジタル信号を線形予測するための予測係数と符号化の際に参照されるデジタル信号との行列積である。 One aspect of the present invention is the above linear prediction coefficient output method, wherein the prediction target digital signal is a prediction coefficient for linearly predicting the prediction target digital signal, and a digital referred to at the time of encoding. It is the matrix product with the signal.

本発明の一態様は、上記の線形予測係数出力方法であって、前記ステップでは、前記線形予測係数出力装置が、前記単信号予測係数の絶対値和の総和が前記上限値以下であり、かつ、前記総和と前記上限値との差が所定の微少量未満である場合、前記制約条件を満たす前記単信号予測係数の集合を、前記予測対象のデジタル信号を線形予測するための予測係数として出力する。 One aspect of the present invention is the above linear prediction coefficient output method, wherein in the step, the linear prediction coefficient output device has a sum of absolute value sums of the single signal prediction coefficients that is equal to or less than the upper limit value, and If the difference between the sum and the upper limit value is less than a predetermined minute amount, the set of single-signal prediction coefficients satisfying the constraint condition is output as a prediction coefficient for linearly predicting the digital signal to be predicted. To do.

本発明の一態様は、上記の線形予測係数出力方法であって、前記ステップでは、前記線形予測係数出力装置が、前記総和が前記上限値を超えている場合、又は、前記総和と前記上限値との差が微少量以上である場合、更新された前記予測誤差の削減率に基づいて、前記予測対象のデジタル信号を線形予測するための予測係数を算出する。 One aspect of the present invention is the linear prediction coefficient output method described above, wherein in the step, the linear prediction coefficient output device, when the sum exceeds the upper limit, or the sum and the upper limit. If the difference between and is a small amount or more, a prediction coefficient for linearly predicting the prediction target digital signal is calculated based on the updated reduction rate of the prediction error.

本発明の一態様は、予測対象のデジタル信号と予測されたデジタル信号との差分である予測誤差について、空間的な相関を利用する線形予測に用いられる係数である予測係数の絶対値和の総和が上限値を満たすという制約条件の下で前記予測誤差の二乗和を最小化する線形予測器を用いて前記予測対象のデジタル信号を線形予測するための予測係数を出力する線形予測係数出力装置であって、前記予測対象のデジタル信号を線形予測するための予測係数の一部であり1次元のデジタル信号の予測係数である単信号予測係数の集合のうち前記制約条件を満たす前記単信号予測係数の集合を、前記予測対象のデジタル信号を線形予測するための予測係数として出力する予測係数出力部を備える線形予測係数出力装置である。 One aspect of the present invention is a sum of absolute value sums of prediction coefficients, which are coefficients used for linear prediction using spatial correlation, with respect to a prediction error that is a difference between a prediction target digital signal and a predicted digital signal. In a linear prediction coefficient output device that outputs a prediction coefficient for linearly predicting the digital signal to be predicted using a linear predictor that minimizes the sum of squares of the prediction errors under the constraint that The single-signal prediction coefficient satisfying the constraint condition in a set of single-signal prediction coefficients that is a part of the prediction coefficients for linearly predicting the digital signal to be predicted and is a prediction coefficient of a one-dimensional digital signal. Is a linear prediction coefficient output device including a prediction coefficient output unit that outputs the set of as a prediction coefficient for linearly predicting the digital signal to be predicted.

本発明の一態様は、上記の線形予測係数出力方法をコンピュータに実行させるための線形予測係数出力プログラム。 One aspect of the present invention is a linear prediction coefficient output program for causing a computer to execute the above linear prediction coefficient output method.

本発明により、イントラ予測においてクラス数と予測ブロック内の画素数とが1よりも大きな値であるという制約条件の下でも最適化問題を効率的に求解することが可能である。 According to the present invention, it is possible to efficiently solve an optimization problem even under the constraint that the number of classes and the number of pixels in a prediction block are larger than 1 in intra prediction.

実施形態における、エンコード処理の入出力とデコード処理の入出力を示す図である。FIG. 6 is a diagram showing input/output of encoding processing and input/output of decoding processing in the embodiment. 実施形態における、最適化問題の構造及び入力を示す図である。It is a figure which shows the structure and input of an optimization problem in embodiment. 実施形態における、2個のLASSOについて、単一上限と予測誤差削減率との対応関係を示した図である。FIG. 6 is a diagram showing a correspondence relationship between a single upper limit and a prediction error reduction rate for two LASSOs in the embodiment. 実施形態における、LASSO解算出部における入出力の例を示す図である。It is a figure which shows the example of the input/output in a LASSO solution calculation part in embodiment. 実施形態における、二分探索を実行するにあたり、LARS等により算出された各LASSOの対応関係を全て有する全てのLASSO解算出部に関係する入出力の例を示す図である。FIG. 6 is a diagram showing an example of input/output related to all LASSO solution calculation units having all correspondences of each LASSO calculated by LARS or the like when executing a binary search in the embodiment. 実施形態における、LARS等のLASSO解算出部ごとに、単画素予測係数を算出する例を示す図である。FIG. 6 is a diagram showing an example of calculating a single pixel prediction coefficient for each LASSO solution calculation unit such as LARS in the embodiment. 実施形態における、ロスレス符号化を実行する動画像符号化装置の構成の例を示すブロック図である。FIG. 3 is a block diagram showing an example of a configuration of a moving image encoding device that executes lossless encoding in the embodiment. 実施形態における、動画像復号装置の構成の例を示すブロック図である。FIG. 3 is a block diagram showing an example of a configuration of a moving image decoding device in the embodiment. 実施形態における、図7に示すイントラ予測部の詳細な構成の例を示すブロック図である。FIG. 8 is a block diagram showing an example of a detailed configuration of an intra prediction unit shown in FIG. 7 in the embodiment. 実施形態における、図9に示すイントラ予測部の詳細な動作の例を説明するフローチャートである。10 is a flowchart illustrating an example of a detailed operation of the intra prediction unit illustrated in FIG. 9 in the embodiment. 実施形態における、図8に示すイントラ予測部の詳細な構成の例を示すブロック図である。FIG. 9 is a block diagram showing an example of a detailed configuration of the intra prediction unit shown in FIG. 8 in the embodiment. 実施形態における、図11に示すイントラ予測部の詳細な動作の例を示すフローチャートである。12 is a flowchart showing an example of detailed operation of the intra prediction unit shown in FIG. 11 in the embodiment. 実施形態における、図9に示すイントラ予測係数生成部の詳細な構成の例を示すブロック図である。FIG. 10 is a block diagram showing an example of a detailed configuration of an intra prediction coefficient generation unit shown in FIG. 9 in the embodiment. 実施形態における、図9に示すイントラ予測係数生成部の詳細な動作の例を示すフローチャートである。10 is a flowchart showing an example of detailed operation of the intra prediction coefficient generation unit shown in FIG. 9 in the embodiment. 従来技術における、イントラ予測部の詳細な構成の例を示すブロック図である。It is a block diagram which shows the example of a detailed structure of the intra prediction part in a prior art. 従来技術における、図15に示すイントラ予測部の詳細な動作の例を示すフローチャートである。16 is a flowchart showing an example of a detailed operation of the intra prediction unit shown in FIG. 15 in the related art. 複数の予測ブロックに分割された符号化対象フレームにおける、予測に用いられる参照画素及び被予測画素の関係の例を示す図である。It is a figure which shows the example of the relationship of the reference pixel and prediction pixel used for prediction in the encoding object frame divided into the some prediction block. 予測ブロックを複数のクラスに分類する方法の例を示す図である。It is a figure which shows the example of the method of classifying a prediction block into a some class.

本発明の実施形態について、図面を参照して詳細に説明する。
まず、線形予測係数を出力する原理について説明する。式(7)に示される最適化問題を求解するため、式(7)は、式(8)に示される単画素予測係数(単信号予測係数)の設計問題に書き換えられる。
Embodiments of the present invention will be described in detail with reference to the drawings.
First, the principle of outputting a linear prediction coefficient will be described. In order to solve the optimization problem shown in Expression (7), Expression (7) can be rewritten as the design problem of the single pixel prediction coefficient (single signal prediction coefficient) shown in Expression (8).

Figure 0006737700
Figure 0006737700

ここで、θ[j]は、各単画素予測係数に対して定める係数の絶対値和の上限値である。以下では、θ[j]を「単一上限」という。式(8)に示される最適化問題は、複数のLASSOを含んでいる。式(8)に示される最適化問題では、全てのクラスと予測ブロック内の画素値とに関する単一上限の総和が総和上限となるという制約条件が課せられる。 Here, θ c [j] is the upper limit value of the sum of absolute values of the coefficients determined for each single pixel prediction coefficient. Hereinafter, θ c [j] is referred to as “single upper limit”. The optimization problem shown in Expression (8) includes a plurality of LASSOs. In the optimization problem shown in Expression (8), a constraint condition is imposed that the sum of the single upper limits for all classes and pixel values in the prediction block becomes the total upper limit.

図1は、実施形態における、エンコード処理の入出力とデコード処理の入出力を示す図である。本発明の実施形態を用いた予測方式を用いたエンコード処理及びデコード処理における入出力の例として、図1に示す入出力が想定される。 FIG. 1 is a diagram showing input/output of an encoding process and input/output of a decoding process in the embodiment. The input/output shown in FIG. 1 is assumed as an example of the input/output in the encoding process and the decoding process using the prediction method using the embodiment of the present invention.

動画像符号化装置(エンコーダ)は、符号化対象となる原画像と、スパース性を制御するためのL1ノルム総和上限とを取得する。動画像符号化装置は、予測係数全体のL1ノルムがL1ノルム総和上限以下になるという制約条件を満たす予測係数の中から、本発明の実施形態で想定される予測方式によって出力された予測画像と原画像との差分の二乗和が最小となる全ての予測係数を、動画像復号装置(デコーダ)に出力する。動画像符号化装置は、動画像符号化装置及び動画像復号装置の間で予測係数が共有されていないため、全ての予測係数を動画像復号装置に伝送する必要がある。デコード処理では、動画像復号装置は、定められた予測係数と予測係数以外の符号化パラメータとを取得し、圧縮した復号画像を出力する。 The moving image encoding device (encoder) acquires an original image to be encoded and an L1 norm sum total upper limit for controlling sparsity. The moving image encoding apparatus selects a prediction image output by the prediction method assumed in the embodiment of the present invention from among prediction coefficients that satisfy the constraint condition that the L1 norm of all prediction coefficients is equal to or less than the L1 norm sum upper limit. All the prediction coefficients that minimize the sum of squares of the differences from the original image are output to the moving image decoding device (decoder). Since the moving picture coding apparatus does not share prediction coefficients between the moving picture coding apparatus and the moving picture decoding apparatus, it is necessary to transmit all the prediction coefficients to the moving picture decoding apparatus. In the decoding process, the moving image decoding apparatus acquires the determined prediction coefficient and the coding parameter other than the prediction coefficient, and outputs the compressed decoded image.

図2は、式(8)で示された最適化問題の構造及び入力を示す図である。式(8)で表される最適化問題を「P」と表す。最適化問題Pのソルバは、全ての予測係数に亘るL1ノルムの総和の上限値(単一上限)を取得する。最適化問題Pのソルバは、全ての予測係数のL1ノルムの総和がL1ノルム総和上限以下となるという制約条件を満たす全ての予測係数の中から、映像信号と予測映像信号との差分である予測誤差の二乗和を最小化する全ての予測係数を、式(8)に基づいて出力する。 FIG. 2 is a diagram showing the structure and input of the optimization problem expressed by the equation (8). The optimization problem represented by Expression (8) is represented as “P”. The solver of the optimization problem P acquires the upper limit value (single upper limit) of the sum of L1 norms over all prediction coefficients. The solver of the optimization problem P is a prediction that is a difference between a video signal and a prediction video signal from all prediction coefficients that satisfy the constraint condition that the sum of L1 norms of all prediction coefficients is equal to or less than the L1 norm sum total upper limit. All prediction coefficients that minimize the sum of squared errors are output based on equation (8).

最適化問題Pを求解するためには、複数のLASSOを求解する必要がある。LASSOを求解する各LASSO解算出部502は、各LASSO解算出部502で最適化対象となる単画素予測係数で設定可能な単一上限を取得する。各LASSO解算出部502は、単画素予測係数のL1ノルムが単一上限以下であるという制約条件を満たす単画素予測係数の中から、各単画素予測係数を予測すべき映像信号(予測対象)において、映像信号と予測映像信号の差分の二乗和を最小化する単画素予測係数を出力する。 In order to solve the optimization problem P, it is necessary to solve a plurality of LASSOs. Each LASSO solution calculation unit 502 that solves LASSO acquires a single upper limit that can be set by the single pixel prediction coefficient to be optimized by each LASSO solution calculation unit 502. Each LASSO solution calculation unit 502 is a video signal (prediction target) for which each single-pixel prediction coefficient should be predicted from among the single-pixel prediction coefficients that satisfy the constraint condition that the L1 norm of the single-pixel prediction coefficient is equal to or less than the single upper limit In, a single pixel prediction coefficient that minimizes the sum of squares of the difference between the video signal and the predicted video signal is output.

上記の最適化問題を求解するために、全てのクラスと予測ブロック内の画素値とに対する単一上限θ[j]を決定する必要がある。複数のLASSOにおけるc[j]の設定を実行する際、計算量の低減を目的として、LARS(Least Angle Regression)(参考文献1参照)を拡張する。 In order to solve the above optimization problem, it is necessary to determine a single upper bound θ c [j] for all classes and pixel values in the prediction block. When setting c[j] in a plurality of LASSOs, LARS (Least Angle Regression) (see Reference 1) is expanded for the purpose of reducing the amount of calculation.

参考文献1:Bradley Efron, Trevor Hastie, Iain Johnstone, and Robert Tibshirani.Least Angle Regression. The Annals of Statistics, Vol. 32, No. 2, pp.407-499、2004. Reference 1: Bradley Efron, Trevor Hastie, Iain Johnstone, and Robert Tibshirani. Least Angle Regression. The Annals of Statistics, Vol. 32, No. 2, pp.407-499, 2004.

LARSは、LASSOにおけるあらゆる単一上限に対応する単画素予測係数を、1度の最適化処理によって出力できる。上記の最適化の結果、各θ[j]に対応する単画素予測係数a[j]∈RMoが、RMoの空間内における複数の連結した線分の集合として与えられる。以下では、上記の線分の集合を「パス」という。パス上の各点は、θ[j]=||a[j]||と設定した際のLASSOの解と対応付けられる。 LARS can output a single pixel prediction coefficient corresponding to any single upper limit in LASSO by one optimization process. As a result of the above optimization, the single pixel prediction coefficient a c [j]εR Mo corresponding to each θ c [j] is given as a set of a plurality of connected line segments in the space of R Mo. Hereinafter, the above set of line segments is referred to as a "path". Each point on the path is associated with the LASSO solution when θ c [j]=||a c [j]|| 1 is set.

また、パスにおける線分同士の連結箇所でのみ、(1)1個の係数が非零値から零値になること、(2)1個の係数が零値から非零値になること、のいずれかが生じる。θ[j]を設定する際にパスが求まっていれば、θ[j]を変更した際の単画素予測係数a[j]を求めるための計算時間は削減される。 Further, only at the connecting points between the line segments in the path, (1) one coefficient changes from non-zero value to zero value, and (2) one coefficient changes from zero value to non-zero value. Either happens. If been determined path when setting the θ c [j], the computation time for obtaining the theta c single pixel prediction coefficient when changing a [j] a c [j] is reduced.

従って、式(8)に示す最適化問題は、LARSを拡張することによって求解される。LARSを拡張する準備として、各単画素予測係数に対して、式(9)ように予測誤差削減効率e[j]が定義される。 Therefore, the optimization problem shown in Expression (8) is solved by expanding LARS. As a preparation for expanding LARS, the prediction error reduction efficiency e c [j] is defined for each single pixel prediction coefficient as in Expression (9).

Figure 0006737700
Figure 0006737700

ここで、f[j]は、取得された単画素予測係数a[j]を使用した際の予測誤差の総和を返す関数である。a[j]は、現在の単画素予測係数である。d[j]は、現在の単画素予測係数を更新する際の差分を表すベクトルである。予測誤差削減効率の式(9)は、単画素予測係数の絶対値和の増加量に対する予測誤差の低減量を表す。 Here, f c [j] is a function that returns the sum of prediction errors when the acquired single-pixel prediction coefficient a c [j] is used. a c [j] is the current single pixel prediction coefficient. d c [j] is a vector representing the difference when updating the current single pixel prediction coefficient. The prediction error reduction efficiency equation (9) represents the reduction amount of the prediction error with respect to the increase amount of the sum of absolute values of the single pixel prediction coefficients.

LARSでは、パスを辿ることで予測誤差削減効率が常に最大となるように係数が設定される。以下では、予測誤差削減効率は、式(9)を用いて表される(参考文献1参照)。 In LARS, the coefficient is set so that the prediction error reduction efficiency is always maximized by tracing the path. In the following, the prediction error reduction efficiency is expressed using equation (9) (see Reference 1).

図3は、2個のLASSOについて、単一上限と予測誤差削減率との対応関係を示した図である。図3に示すように、全ての単一上限と予測誤差削減率との対応関係は、LASSOごとに定まる。求解するLASSOが異なれば単一上限と予測誤差削減率との対応関係が異なるので、図3では、単一上限と予測誤差削減率との対応関係がLASSOごとに異なっている。また、領域1000の面積は、予測を全く行わない状態と比較して削減できた予測誤差の量を表す。すなわち、領域1000の面積は、予測信号値が0である状態と比較して削減できた予測誤差の量を表す。領域1000の面積が大きくなるほど、予測誤差の小さい予測信号を生成できる。従って、式(8)では、図3における領域1100の面積を最大化する問題を求解している。 FIG. 3 is a diagram showing a correspondence relationship between a single upper limit and a prediction error reduction rate for two LASSOs. As shown in FIG. 3, the correspondence relationship between all the single upper limits and the prediction error reduction rate is determined for each LASSO. If the LASSO to be solved differs, the correspondence between the single upper limit and the prediction error reduction rate differs, so in FIG. 3, the correspondence between the single upper limit and the prediction error reduction rate differs for each LASSO. Further, the area of the region 1000 represents the amount of prediction error that can be reduced as compared with the state in which no prediction is performed. That is, the area of the region 1000 represents the amount of prediction error that can be reduced compared to the state where the prediction signal value is 0. As the area of the region 1000 increases, a prediction signal with a smaller prediction error can be generated. Therefore, the equation (8) solves the problem of maximizing the area of the region 1100 in FIG.

図4は、LASSO解算出部502における入出力の例を示す図である。LARSでは予測誤差削減率と単画素予測係数と単一上限との3要素に関する全ての対応関係を有しているため、LARSに代表される全てのLASSO解を算出するLASSO解算出部502は、予測誤差削減率、予測係数及び単一上限の全ての対応関係を保持しているので、上記の3要素のいずれも入力及び出力とすることができる。図3で示すような予測誤差削減率と単一上限との対応関係を知る場合、図4に示された入出力を与えることができる。 FIG. 4 is a diagram showing an example of input/output in the LASSO solution calculation unit 502. Since LARS has all correspondences regarding the three elements of the prediction error reduction rate, the single pixel prediction coefficient, and the single upper limit, the LASSO solution calculation unit 502 that calculates all the LASSO solutions represented by LARS, Since all the correspondence relations of the prediction error reduction rate, the prediction coefficient, and the single upper limit are held, any of the above three elements can be an input and an output. When knowing the correspondence between the prediction error reduction rate and the single upper limit as shown in FIG. 3, the input/output shown in FIG. 4 can be given.

また、図3は、それぞれのLASSO求解で取得する必要がある単一上限θc[j]の最適な設定方法の例を示す図でもある。最適化問題Pにおいて最適解が得られた場合、図3に示すように、全てのLASSOにおいて単一上限に対応する予測誤差削減率が等しいという性質が成り立つ。ただし、単一上限の値が0に設定されたLASSOについては、予測誤差削減率が等しく設定される必要はない。これは、予測誤差削減率が低いLASSOにはL1ノルムを割り振る必要がないことを意味する。 Further, FIG. 3 is also a diagram showing an example of an optimal setting method of the single upper limit θc[j] that needs to be acquired in each LASSO solution. When the optimal solution is obtained in the optimization problem P, the property that the prediction error reduction rates corresponding to the single upper limits are equal holds in all LASSOs, as shown in FIG. However, the prediction error reduction rates do not have to be set equally for LASSOs in which the single upper limit value is set to 0. This means that it is not necessary to allocate the L1 norm to LASSO having a low prediction error reduction rate.

2個の単画素予測係数ベクトル問題における予測誤差削減率が等しくなるように、L1ノルム上限θc,j1,θc,j2を設定すればよい。その理由は以下の通りである。まず、予測誤差削減率は以下の性質を持つ。 The L1 norm upper limits θ c,j1 , θ c,j2 may be set so that the prediction error reduction rates in the two single-pixel prediction coefficient vector problems are equal. The reason is as follows. First, the prediction error reduction rate has the following properties.

・L1ノルム上限の増加に応じて、予測誤差は減少する。図3では、予測誤差削減率が非負であることに対応する。 -The prediction error decreases as the upper limit of the L1 norm increases. In FIG. 3, it corresponds to that the prediction error reduction rate is non-negative.

・L1ノルム上限の増加に応じて、予測誤差削減率は減少する。図3では、予測誤差削減率が単調減少であることに対応する。 The prediction error reduction rate decreases as the upper limit of the L1 norm increases. In FIG. 3, the prediction error reduction rate corresponds to a monotonous decrease.

仮に、あるcについて(ec,j1<ec,j2)となるような(θc,j1,θc,j2)の設定が与えられた場合を考える。θc,j2を微小量Δだけ増加させ、θc,j1を微小量Δだけ減少させることで、L1ノルム上限の変更前と比較して(ec,j2−ec,j1)Δだけ予測誤差の二乗和を削減できるため、L1ノルム上限は最適でない。対称性より、(ec,j1>ec,j2)に対応するL1ノルム上限も最適でない。従って、(ec,j1=ec,j2)に対応するL1ノルム上限が最適である。 Let us consider a case where a setting of (θ c,j1 , θ c,j2 ) such that (e c,j1 <e c,j2 ) is given for a certain c . By increasing θ c,j2 by a small amount Δ and decreasing θ c,j1 by a small amount Δ, a prediction of (e c,j2 −e c,j1 ) Δ is made compared with before the change of the L1 norm upper limit. The L1 norm upper bound is not optimal because it can reduce the sum of squared errors. Due to symmetry, the L1 norm upper bound corresponding to (e c,j1 >e c,j2 ) is also not optimal. Therefore, the L1 norm upper bound corresponding to (e c,j1 =e c,j2 ) is optimal.

しかしながら、予測誤差削減率の等しい揃え方では、予測誤差削減率をいずれの値に定めるかに応じて、候補が無数に存在する。そこで、本発明の実施形態では、単調性を利用して、最適な予測誤差削減率の設定方法を二分探索法によって定める。単一上限が高いほど予測誤差削減率は小さくなる。また、単一上限が高いほど、図3における領域1100の面積が大きくなるため、予測誤差は小さくなる。しかし、各単画素予測係数のL1ノルムの総和がL1ノルム総和上限以下である必要がある。すなわち、単一上限の総和がL1ノルム総和上限以下である必要がある。従って、単一上限の総和がL1ノルム総和上限以下であるという制約条件を満たすように、予測誤差削減率は可能な限り低く設定される必要がある。 However, in the method of arranging the prediction error reduction rates to be equal, there are innumerable candidates depending on which value the prediction error reduction rate is set to. Therefore, in the embodiment of the present invention, by utilizing monotonicity, the optimal prediction error reduction rate setting method is determined by the binary search method. The higher the single upper limit, the smaller the prediction error reduction rate. Further, the higher the single upper limit is, the larger the area of the region 1100 in FIG. 3 is, and thus the prediction error becomes smaller. However, the sum of the L1 norms of each single pixel prediction coefficient needs to be equal to or less than the L1 norm sum total upper limit. That is, the sum of the single upper limits needs to be less than or equal to the L1 norm sum upper limit. Therefore, the prediction error reduction rate needs to be set as low as possible so that the constraint condition that the sum of the single upper limits is less than or equal to the L1 norm sum upper limit is satisfied.

各LASSO解が単調性を有しているため、(3)ある一定値未満の予測誤差削減率を取得すると、単一上限の総和がL1ノルム総和上限より大きくなる。また、(4)一定値以上の予測誤差削減率を取得すると、単一上限の総和がL1ノルム総和上限以下になる。従って、単一上限の総和がL1ノルム総和上限より僅かに小さくなるような予測誤差削減率を、二分探索により効率的に導出できる。 Since each LASSO solution has monotonicity, (3) when a prediction error reduction rate less than a certain fixed value is acquired, the sum of the single upper limits becomes larger than the L1 norm sum upper limit. (4) When the prediction error reduction rate of a certain value or more is acquired, the sum of the single upper limits becomes less than or equal to the L1 norm sum upper limit. Therefore, the prediction error reduction rate such that the sum of the single upper limits is slightly smaller than the L1 norm sum upper limit can be efficiently derived by the binary search.

図5は、二分探索を実行するにあたり、LARS等により算出された各LASSOの対応関係を全て有する全てのLASSO解算出部502に関係する入出力の例を示す図である。全てのLASSO解に対して、設定する予測誤差削減率を「E」と表記する。各LASSO解における対応関係を有するLASSO解算出部502は、予測誤差削減率Eを取得し、対応する単一上限又は単画素予測係数からL1ノルム値を算出し、L1ノルム値の総和に基づいて単画素予測係数のL1ノルムの総和が算出できる。 FIG. 5 is a diagram showing an example of input/output related to all LASSO solution calculation units 502 having all correspondences of each LASSO calculated by LARS or the like when executing the binary search. The prediction error reduction rate to be set for all LASSO solutions is denoted by “E”. The LASSO solution calculation unit 502 having the correspondence relationship in each LASSO solution acquires the prediction error reduction rate E, calculates the L1 norm value from the corresponding single upper limit or single pixel prediction coefficient, and based on the sum of the L1 norm values. The sum of L1 norms of single pixel prediction coefficients can be calculated.

図6は、LARS等のLASSO解算出部502ごとに、単画素予測係数を算出する例を示す図である。二分探索により予測誤差削減率が導出できた場合、図6に示すように、各LASSO解算出部502は、求まった予測誤差削減率を取得し、対応する単画素予測係数を出力する。これによって、LASSO解算出部502を有する線形予測係数出力装置は、最適化問題Pにおける最適解、すなわち全ての予測係数を求めることができる。 FIG. 6 is a diagram illustrating an example of calculating a single pixel prediction coefficient for each LASSO solution calculation unit 502 such as LARS. When the prediction error reduction rate can be derived by the binary search, each LASSO solution calculation unit 502 acquires the obtained prediction error reduction rate and outputs the corresponding single pixel prediction coefficient, as illustrated in FIG. 6. Accordingly, the linear prediction coefficient output device having the LASSO solution calculation unit 502 can obtain the optimum solution in the optimization problem P, that is, all the prediction coefficients.

以上の基本的な考え方に基づいて、本発明の実施形態の線形予測係数出力装置を適用した動画像符号化装置及び動画像復号装置を説明する。 Based on the above basic idea, a moving image coding device and a moving image decoding device to which the linear prediction coefficient output device of the embodiment of the present invention is applied will be described.

まず、実施形態の線形予測係数出力装置を適用した動画像符号化装置について説明する。
図7は、実施形態における、ロスレス符号化(可逆符号化)を実行する動画像符号化装置100の構成の例を示すブロック図である。線形予測係数出力装置は、ロッシー符号化(非可逆符号化)を実行してもよい。
First, a moving picture coding device to which the linear prediction coefficient output device of the embodiment is applied will be described.
FIG. 7 is a block diagram showing an example of the configuration of the moving picture coding apparatus 100 that executes lossless coding (reversible coding) in the embodiment. The linear prediction coefficient output device may perform lossy coding (lossy coding).

動画像符号化装置100は、符号化対象の映像信号を取得し、符号化された映像を符号化ストリームとして出力する。以下では、符号化対象となる映像信号を単に「映像信号」という。 The moving picture coding apparatus 100 acquires a video signal to be coded and outputs the coded video as a coded stream. Hereinafter, the video signal to be encoded is simply referred to as "video signal".

動画像符号化装置100は、フレームメモリ101と、イントラ予測部102と、インター予測部103と、予測残差信号生成部104と、エントロピー符号化処理部105とを備える。動画像符号化装置100は、磁気ハードディスク装置や半導体記憶装置等の不揮発性の記録媒体(非一時的な記録媒体)を有する記憶装置を更に備えてもよい。 The moving image coding apparatus 100 includes a frame memory 101, an intra prediction unit 102, an inter prediction unit 103, a prediction residual signal generation unit 104, and an entropy coding processing unit 105. The moving image coding apparatus 100 may further include a storage device having a non-volatile recording medium (non-transitory recording medium) such as a magnetic hard disk device or a semiconductor storage device.

フレームメモリ101とイントラ予測部102とインター予測部103と予測残差信号生成部104とエントロピー符号化処理部105とのうち一部又は全部は、例えば、CPU(Central Processing Unit)等のプロセッサが、記憶部に記憶されたプログラムを実行することにより実現されてもよいし、LSI(Large Scale Integration)やASIC(Application Specific Integrated Circuit)等のハードウェアを用いて実現されてもよい。 Some or all of the frame memory 101, the intra prediction unit 102, the inter prediction unit 103, the prediction residual signal generation unit 104, and the entropy coding processing unit 105 are, for example, a processor such as a CPU (Central Processing Unit), It may be realized by executing the program stored in the storage unit, or may be realized using hardware such as an LSI (Large Scale Integration) or an ASIC (Application Specific Integrated Circuit).

フレームメモリ101は、映像信号を取得する。フレームメモリ101は、インター予測部103がインター予測を実行する際に、映像信号をインター予測部103に参照画像として出力する。 The frame memory 101 acquires a video signal. The frame memory 101 outputs the video signal to the inter prediction unit 103 as a reference image when the inter prediction unit 103 executes the inter prediction.

イントラ予測部102(予測係数出力部)は、映像信号を取得し、予測係数を映像信号ごとに最適化する。イントラ予測部102は、最適化された予測係数を利用してイントラ予測を実行し、予測映像信号を予測残差信号生成部104に出力する。 The intra prediction unit 102 (prediction coefficient output unit) acquires a video signal and optimizes the prediction coefficient for each video signal. The intra prediction unit 102 executes intra prediction using the optimized prediction coefficient, and outputs the predicted video signal to the prediction residual signal generation unit 104.

イントラ予測部102は、予測対象の画素集合の信号として、符号化の際に参照される画素集合の信号と予測対象の画素集合の信号を線形予測するための予測係数との行列積を算出する。イントラ予測部102は、予測対象の画素集合の信号を線形予測するための予測係数の一部であり単画素の信号(1次元の信号)の予測係数である単画素予測係数(単信号予測係数)の集合のうち制約条件を満たす単画素予測係数の集合を、予測対象の画素集合の信号を線形予測するための予測係数として出力する。イントラ予測部102は、伝送の必要がある全ての予測係数と予測ブロックごとに定めるクラス番号等のイントラ予測情報とを、エントロピー符号化処理部105に出力する。イントラ予測部102は、本発明の実施形態における特徴的な処理部である。イントラ予測部102の詳細については、図9以降の図等を用いて説明する。 The intra prediction unit 102 calculates, as a signal of the pixel set of the prediction target, a matrix product of a signal of the pixel set referred to at the time of encoding and a prediction coefficient for linearly predicting the signal of the pixel set of the prediction target. .. The intra prediction unit 102 is a single pixel prediction coefficient (single signal prediction coefficient) that is a part of prediction coefficients for linearly predicting a signal of a pixel set to be predicted and is a prediction coefficient of a single pixel signal (one-dimensional signal). ), a set of single pixel prediction coefficients that satisfy the constraint condition is output as a prediction coefficient for linearly predicting the signal of the pixel set to be predicted. The intra prediction unit 102 outputs all prediction coefficients that need to be transmitted and intra prediction information such as a class number defined for each prediction block to the entropy coding processing unit 105. The intra prediction unit 102 is a characteristic processing unit in the embodiment of the present invention. Details of the intra prediction unit 102 will be described with reference to FIG. 9 and subsequent drawings.

インター予測部103は、フレームメモリ101から映像信号を取得し、インター予測によって導出した予測映像信号を予測残差信号生成部104に出力する。インター予測部103は、動きベクトル等のインター予測に必要でありかつ伝送の必要があるインター予測情報を、エントロピー符号化処理部105に出力する。予測残差信号生成部104は、映像信号と、イントラ予測部102又はインター予測部103が出力した予測映像信号とを取得し、映像信号と予測映像信号の差分をエントロピー符号化処理部105に出力する。エントロピー符号化処理部105は、インター予測部103、イントラ予測部102からインター予測情報及びイントラ予測係数をそれぞれ取得し、予測残差、インター予測情報、イントラ予測情報及びイントラ予測係数に基づいて符号化ストリームを生成し、生成された符号化ストリームを出力する。 The inter prediction unit 103 acquires the video signal from the frame memory 101 and outputs the predicted video signal derived by the inter prediction to the prediction residual signal generation unit 104. The inter prediction unit 103 outputs to the entropy coding processing unit 105 the inter prediction information that is necessary for inter prediction such as a motion vector and that needs to be transmitted. The prediction residual signal generation unit 104 acquires the video signal and the predicted video signal output by the intra prediction unit 102 or the inter prediction unit 103, and outputs the difference between the video signal and the predicted video signal to the entropy coding processing unit 105. To do. The entropy coding processing unit 105 acquires the inter prediction information and the intra prediction coefficient from the inter prediction unit 103 and the intra prediction unit 102, respectively, and codes based on the prediction residual, the inter prediction information, the intra prediction information, and the intra prediction coefficient. Generates a stream and outputs the generated encoded stream.

次に、実施形態の線形予測係数出力装置を適用した動画像復号装置について説明する。
図8は、実施形態における、動画像復号装置200の構成の例を示すブロック図である。動画像復号装置200は、図7に示されたエントロピー符号化処理部105が出力した符号化ストリームを取得し、予測残差、インター予測情報、イントラ予測情報及びイントラ予測係数の計4個の情報を符号化ストリームから復号し、計4個の情報に基づく復号映像信号を出力する。なお、動画像符号化装置100がロスレス符号化(可逆符号化)を実行している場合、符号化前の映像信号と復号映像信号とは同一である。
Next, a moving image decoding device to which the linear prediction coefficient output device of the embodiment is applied will be described.
FIG. 8 is a block diagram showing an example of the configuration of the moving image decoding apparatus 200 in the embodiment. The moving image decoding apparatus 200 acquires the encoded stream output by the entropy encoding processing unit 105 illustrated in FIG. 7, and obtains four pieces of information including prediction residual, inter prediction information, intra prediction information, and intra prediction coefficient. Is decoded from the encoded stream and a decoded video signal based on a total of four pieces of information is output. When the moving picture coding apparatus 100 is performing lossless coding (reversible coding), the video signal before coding and the decoded video signal are the same.

動画像復号装置200は、エントロピー復号処理部201と、イントラ予測部202と、インター予測部203と、復号信号生成部204と、フレームメモリ205とを備える。動画像復号装置200は、磁気ハードディスク装置や半導体記憶装置等の不揮発性の記録媒体(非一時的な記録媒体)を有する記憶装置を更に備えてもよい。 The video decoding device 200 includes an entropy decoding processing unit 201, an intra prediction unit 202, an inter prediction unit 203, a decoded signal generation unit 204, and a frame memory 205. The moving image decoding apparatus 200 may further include a storage device having a non-volatile recording medium (non-transitory recording medium) such as a magnetic hard disk device or a semiconductor storage device.

エントロピー復号処理部201とイントラ予測部202とインター予測部203と復号信号生成部204とのうち一部又は全部は、例えば、CPU等のプロセッサが、記憶部に記憶されたプログラムを実行することにより実現されてもよいし、LSIやASIC等のハードウェアを用いて実現されてもよい。 A part of or all of the entropy decoding processing unit 201, the intra prediction unit 202, the inter prediction unit 203, and the decoded signal generation unit 204 is, for example, a processor such as a CPU executing a program stored in a storage unit. It may be realized, or may be realized by using hardware such as LSI and ASIC.

エントロピー復号処理部201は、図7に示すエントロピー符号化処理部105が出力した符号化ストリームを取得し、予測残差、インター予測情報、イントラ予測情報及びイントラ予測係数の計4個の情報を符号化ストリームから復号し、計4個の情報を出力する。イントラ予測部202は、フレームメモリ205から復号映像信号を取得し、エントロピー復号処理部201からイントラ予測情報及びイントラ予測係数を取得し、イントラ予測処理によって生成された予測画像を出力する。 The entropy decoding processing unit 201 acquires the encoded stream output by the entropy encoding processing unit 105 illustrated in FIG. 7, and encodes a total of four pieces of information of prediction residual, inter prediction information, intra prediction information, and intra prediction coefficient. It is decoded from the encoded stream and a total of 4 pieces of information are output. The intra prediction unit 202 acquires the decoded video signal from the frame memory 205, acquires the intra prediction information and the intra prediction coefficient from the entropy decoding processing unit 201, and outputs the prediction image generated by the intra prediction process.

インター予測部203は、復号映像信号をフレームメモリ205から取得し、インター予測情報をエントロピー復号処理部201から取得し、インター予測処理により生成された予測画像を出力する。復号信号生成部204は、インター予測部203又はイントラ予測部202が出力した予測画像と、エントロピー復号処理部201が出力した予測残差とを取得し、予測画像及び予測残差を加算することで生成される復号映像信号を出力する。 The inter prediction unit 203 acquires the decoded video signal from the frame memory 205, acquires the inter prediction information from the entropy decoding processing unit 201, and outputs the predicted image generated by the inter prediction process. The decoded signal generation unit 204 acquires the prediction image output by the inter prediction unit 203 or the intra prediction unit 202 and the prediction residual output by the entropy decoding processing unit 201, and adds the prediction image and the prediction residual. The generated decoded video signal is output.

フレームメモリ205は、復号信号生成部204が出力した復号映像信号を取得し、フレームメモリ205の記憶領域に復号映像信号を記憶する。復号映像信号は、インター予測部203及びイントラ予測部202によって、参照画素として利用される。 The frame memory 205 acquires the decoded video signal output by the decoded signal generation unit 204, and stores the decoded video signal in the storage area of the frame memory 205. The decoded video signal is used as a reference pixel by the inter prediction unit 203 and the intra prediction unit 202.

次に、図9を参照して、動画像符号化装置100に関して、図7に示すイントラ予測部102の構成を説明する。
図9は、図7に示すイントラ予測部102の詳細な構成の例を示すブロック図である。イントラ予測部102は、イントラ予測係数初期化部301と、イントラ予測係数生成部302と、イントラ予測係数記憶部303と、イントラ予測処理部304と、イントラ予測情報記憶部305とを備える。
Next, with reference to FIG. 9, the configuration of the intra prediction unit 102 illustrated in FIG. 7 regarding the moving image encoding device 100 will be described.
FIG. 9 is a block diagram showing an example of a detailed configuration of the intra prediction unit 102 shown in FIG. The intra prediction unit 102 includes an intra prediction coefficient initialization unit 301, an intra prediction coefficient generation unit 302, an intra prediction coefficient storage unit 303, an intra prediction processing unit 304, and an intra prediction information storage unit 305.

イントラ予測係数初期化部301は、動画像符号化装置100に記録されたイントラ予測係数を取得し、イントラ予測係数記憶部303に出力する。図9では、イントラ予測係数生成部302の動作が、従来の動作とは異なる。すなわち、イントラ予測係数生成部302は、符号化対象の映像信号と、予測係数全体のL1ノルムの上限を示す閾値であるL1ノルム総和上限と、各予測対象ブロックが属するクラス情報を表すイントラ予測情報とを取得し、予測係数全体のL1ノルムの総和がL1ノルム総和上限以下であるという制約条件の下で予測誤差の二乗和を最小化する予測係数を、イントラ予測係数記憶部303に出力する。 The intra prediction coefficient initialization unit 301 acquires the intra prediction coefficient recorded in the moving image coding apparatus 100, and outputs the intra prediction coefficient storage unit 303. In FIG. 9, the operation of the intra prediction coefficient generation unit 302 is different from the conventional operation. That is, the intra prediction coefficient generation unit 302 includes the video signal to be encoded, the L1 norm sum total upper limit that is a threshold value indicating the upper limit of the L1 norm of the entire prediction coefficient, and the intra prediction information indicating the class information to which each prediction target block belongs. And the prediction coefficient that minimizes the sum of squares of prediction errors is output to the intra prediction coefficient storage unit 303 under the constraint that the sum of the L1 norms of all the prediction coefficients is less than or equal to the L1 norm sum total upper limit.

イントラ予測係数記憶部303は、イントラ予測係数初期化部301及びイントラ予測係数生成部302からイントラ予測係数を取得し、予測映像信号を生成するイントラ予測処理部304にイントラ予測係数を出力する。イントラ予測係数記憶部303は、エントロピー符号化処理部105にイントラ予測係数を出力する。 The intra prediction coefficient storage unit 303 acquires the intra prediction coefficient from the intra prediction coefficient initialization unit 301 and the intra prediction coefficient generation unit 302, and outputs the intra prediction coefficient to the intra prediction processing unit 304 that generates a predicted video signal. The intra prediction coefficient storage unit 303 outputs the intra prediction coefficient to the entropy coding processing unit 105.

イントラ予測処理部304は、符号化対象となる映像信号と、イントラ予測係数記憶部303から予測係数とを取得し、生成されたイントラ予測信号を予測残差信号生成部104に出力する。イントラ予測処理部304は、予測されたブロックが属するクラス番号を、イントラ予測情報としてイントラ予測情報記憶部305に出力する。 The intra prediction processing unit 304 acquires the video signal to be encoded and the prediction coefficient from the intra prediction coefficient storage unit 303, and outputs the generated intra prediction signal to the prediction residual signal generation unit 104. The intra prediction processing unit 304 outputs the class number to which the predicted block belongs to the intra prediction information storage unit 305 as intra prediction information.

イントラ予測情報記憶部305は、イントラ予測処理部304により選択されたイントラ予測情報を取得し、予測係数を決定するためにイントラ予測係数生成部302へイントラ予測係数を出力する。イントラ予測情報記憶部305は、イントラ予測情報を伝送する必要があるため、イントラ予測情報をエントロピー符号化処理部105に出力する。 The intra prediction information storage unit 305 acquires the intra prediction information selected by the intra prediction processing unit 304, and outputs the intra prediction coefficient to the intra prediction coefficient generation unit 302 to determine the prediction coefficient. Since the intra prediction information storage unit 305 needs to transmit the intra prediction information, the intra prediction information storage unit 305 outputs the intra prediction information to the entropy coding processing unit 105.

次に、図10を参照して、動画像符号化装置100に関して、図9に示すイントラ予測部102における動作を説明する。
図10は、図9に示すイントラ予測部102の詳細な動作の例を説明するフローチャートである。イントラ予測係数初期化部301は、エンコーダに記録されたイントラ予測係数を取得し、イントラ予測係数記憶部303に記録する(ステップS101)。
Next, with reference to FIG. 10, the operation of the intra prediction unit 102 shown in FIG. 9 in the moving picture coding device 100 will be described.
FIG. 10 is a flowchart illustrating an example of detailed operation of the intra prediction unit 102 illustrated in FIG. The intra prediction coefficient initialization unit 301 acquires the intra prediction coefficient recorded in the encoder and records it in the intra prediction coefficient storage unit 303 (step S101).

イントラ予測処理部304は、矩形状に分割された全てのブロックに対して、ステップS103からステップS105までの処理を実行する。イントラ予測処理部304は、全ての予測ブロックに関するイントラ予測処理が終了したか否かを判定する(ステップS102)。いずれかの予測ブロックに関するイントラ予測処理が終了してない場合(ステップS102:NO)、イントラ予測処理部304は、各予測対象ブロックがいずれのクラスに属せば符号量が最小化されるかを、逐次的に決定する。すなわち、イントラ予測処理部304は、予測ブロックごとにイントラ予測情報を決定する(ステップS103)。 The intra prediction processing unit 304 executes the processing from step S103 to step S105 for all blocks divided into a rectangular shape. The intra-prediction processing unit 304 determines whether or not the intra-prediction processing has been completed for all the prediction blocks (step S102). When the intra prediction process regarding any of the prediction blocks has not been completed (step S102: NO), the intra prediction processing unit 304 determines which class each prediction target block belongs to and which code amount is minimized. , Determined sequentially. That is, the intra prediction processing unit 304 determines intra prediction information for each prediction block (step S103).

イントラ予測処理部304は、ステップS103において決定されたクラスに属するイントラ予測係数を用いて、予測映像信号を出力する(ステップS104)。イントラ予測処理部304は、ステップS103において決定されたクラス番号を、イントラ予測情報記憶部305に記録する(ステップS105)。全ての予測ブロックに関するイントラ予測処理が終了した場合(ステップS102:YES)、イントラ予測処理部304は、映像信号、イントラ予測情報及び単一上限に基づいて、イントラ予測係数を最適化する(ステップS106)。イントラ予測処理部304は、イントラ予測係数をイントラ予測係数記憶部303に記録する(ステップS107)。 The intra prediction processing unit 304 outputs the predicted video signal using the intra prediction coefficient belonging to the class determined in step S103 (step S104). The intra prediction processing unit 304 records the class number determined in step S103 in the intra prediction information storage unit 305 (step S105). When the intra prediction process regarding all the prediction blocks is completed (step S102: YES), the intra prediction processing unit 304 optimizes the intra prediction coefficient based on the video signal, the intra prediction information, and the single upper limit (step S106). ). The intra prediction processing unit 304 records the intra prediction coefficient in the intra prediction coefficient storage unit 303 (step S107).

次に、図11を参照して、動画像復号装置200に関して、図8に示すイントラ予測部202における構成を説明する。
図11は、図8に示すイントラ予測部202の詳細な構成を示すブロック図である。イントラ予測部202は、イントラ予測係数記憶部401と、イントラ予測情報記憶部402と、イントラ予測処理部403とを備える。イントラ予測係数記憶部401は、エントロピー復号処理部201からイントラ予測係数を取得し、イントラ予測係数記憶部401の記憶領域にイントラ予測係数を記憶する。
Next, with reference to FIG. 11, the configuration of the intra prediction unit 202 illustrated in FIG. 8 regarding the moving image decoding device 200 will be described.
FIG. 11 is a block diagram showing a detailed configuration of the intra prediction unit 202 shown in FIG. The intra prediction unit 202 includes an intra prediction coefficient storage unit 401, an intra prediction information storage unit 402, and an intra prediction processing unit 403. The intra prediction coefficient storage unit 401 acquires the intra prediction coefficient from the entropy decoding processing unit 201, and stores the intra prediction coefficient in the storage area of the intra prediction coefficient storage unit 401.

イントラ予測情報記憶部402は、エントロピー復号処理部201からイントラ予測情報を取得し、イントラ予測情報記憶部402の記憶領域にイントラ予測情報を記憶する。イントラ予測処理部403は、符号化対象である映像信号と、イントラ予測係数記憶部401からイントラ予測係数と、イントラ予測情報記憶部402からイントラ予測情報とを取得し、イントラ予測を実行した結果として予測映像信号を出力する。 The intra prediction information storage unit 402 acquires the intra prediction information from the entropy decoding processing unit 201, and stores the intra prediction information in the storage area of the intra prediction information storage unit 402. The intra prediction processing unit 403 acquires the video signal to be encoded, the intra prediction coefficient from the intra prediction coefficient storage unit 401, and the intra prediction information from the intra prediction information storage unit 402, and as a result of executing the intra prediction. Output the predicted video signal.

次に、図12を参照して、図11に示すイントラ予測部202における動作を説明する。
図12は、図11に示すイントラ予測部202の詳細な動作の例を示すフローチャートである。イントラ予測係数記憶部401は、エントロピー復号処理部201からイントラ予測係数を取得し、イントラ予測係数記憶部401の記憶領域にイントラ予測係数を記憶する(ステップS201)。
Next, the operation of the intra prediction unit 202 shown in FIG. 11 will be described with reference to FIG.
FIG. 12 is a flowchart showing an example of detailed operation of the intra prediction unit 202 shown in FIG. The intra prediction coefficient storage unit 401 acquires the intra prediction coefficient from the entropy decoding processing unit 201, and stores the intra prediction coefficient in the storage area of the intra prediction coefficient storage unit 401 (step S201).

イントラ予測処理部403は、矩形状に分割された全てのブロックに対して、ステップS203からステップS204までの処理を実行する。イントラ予測処理部403は、全ての予測ブロックに関するイントラ予測処理が終了したか否かを判定する(ステップS202)。いずれかの予測ブロックに関するイントラ予測処理が終了していない場合(ステップS202:NO)、イントラ予測処理部403は、各予測対象となるブロックが属するクラス番号をイントラ予測係数記憶部401から取得し、使用する予測係数を定める。すなわち、イントラ予測処理部403は、予測ブロックごとにイントラ予測情報を取得する(ステップS203)。 The intra-prediction processing unit 403 executes the processing from step S203 to step S204 for all blocks divided into a rectangular shape. The intra-prediction processing unit 403 determines whether or not the intra-prediction processing has been completed for all prediction blocks (step S202). When the intra prediction process regarding any of the prediction blocks is not completed (step S202: NO), the intra prediction processing unit 403 acquires the class number to which each prediction target block belongs from the intra prediction coefficient storage unit 401, Determine the prediction coefficient to use. That is, the intra prediction processing unit 403 acquires intra prediction information for each prediction block (step S203).

イントラ予測処理部403は、ステップS203において決定された予測ブロックに対してイントラ予測処理を実行し、予測映像信号を出力する(ステップS204)。全ての予測ブロックに関するイントラ予測処理が終了している場合(ステップS202:YES)、イントラ予測処理部403は、処理を終了する。 The intra prediction processing unit 403 executes the intra prediction process on the prediction block determined in step S203, and outputs a predicted video signal (step S204). When the intra prediction process regarding all the prediction blocks has been completed (step S202: YES), the intra prediction processing unit 403 ends the process.

次に、図13を参照して、動画像符号化装置100のイントラ予測部102に関して、図9に示すイントラ予測係数生成部302の構成を説明する。
図13は、図9に示すイントラ予測係数生成部302の詳細な構成の例を示すブロック図である。イントラ予測係数生成部302は、イントラ予測情報分割部501と、LASSO解算出部502と、継続判定部503と、候補算出部504とを備える。イントラ予測情報分割部501は、圧縮対象の映像信号と、各予測ブロックが属するクラス番号であるイントラ予測情報とを取得し、各単画素予測係数の最適化に必要な情報ごとに分割(分類)し、予測ブロック及びイントラ予測情報をLASSO解算出部502に出力する。
Next, with reference to FIG. 13, the configuration of the intra prediction coefficient generation unit 302 illustrated in FIG. 9 will be described with respect to the intra prediction unit 102 of the moving image encoding device 100.
FIG. 13 is a block diagram showing an example of a detailed configuration of the intra prediction coefficient generation unit 302 shown in FIG. The intra prediction coefficient generation unit 302 includes an intra prediction information division unit 501, a LASSO solution calculation unit 502, a continuation determination unit 503, and a candidate calculation unit 504. The intra-prediction information division unit 501 acquires the video signal to be compressed and the intra-prediction information that is the class number to which each prediction block belongs, and divides (classifies) each piece of information required for optimization of each single-pixel prediction coefficient. Then, the prediction block and the intra prediction information are output to the LASSO solution calculation unit 502.

LASSO解算出部502は、単画素予測係数ごとに分割された予測ブロックとイントラ予測情報とをイントラ予測情報分割部501から取得し、設定すべき予測誤差削減率を候補算出部504から取得し、単画素予測係数のL1ノルムが単一上限以下であるという制約条件の下で予測誤差を最小化する最適化問題を求解する。 The LASSO solution calculation unit 502 acquires the prediction block divided for each single pixel prediction coefficient and the intra prediction information from the intra prediction information division unit 501, acquires the prediction error reduction rate to be set from the candidate calculation unit 504, An optimization problem that minimizes the prediction error is solved under the constraint that the L1 norm of the single pixel prediction coefficient is less than or equal to the single upper limit.

予測誤差を最小化する最適化問題は、LASSOと同一の問題として、予測ブロック及びイントラ予測情報に基づいて定式化できる。定式化によって得られる単画素予測係数は、単一上限に応じて異なる。従って、LASSO解算出部502は、単一上限を変化させることによって得られた単一上限と予測誤差削減率と単画素予測係数との組を、単画素予測器ごとに継続判定部503に出力する。 The optimization problem that minimizes the prediction error can be formulated as the same problem as LASSO based on the prediction block and the intra prediction information. The single pixel prediction coefficient obtained by the formulation depends on the single upper bound. Therefore, the LASSO solution calculation unit 502 outputs the combination of the single upper limit, the prediction error reduction rate, and the single pixel prediction coefficient obtained by changing the single upper limit to the continuation determination unit 503 for each single pixel predictor. To do.

継続判定部503は、全ての単画素予測係数をLASSO解算出部502から取得し、L1ノルム総和上限を外部パラメータとして取得し、全ての単画素予測係数のL1ノルムの総和がL1ノルム総和上限以下であるか否かを判定する。継続判定部503は、全ての単画素予測係数のL1ノルムの総和がL1ノルム総和上限以下であり、かつ、総和と総和上限との差が微少量ε未満である場合、取得した全ての単画素予測係数(単画素予測係数の集合)を最終的な予測係数として出力する。継続判定部503は、全ての単画素予測係数のL1ノルムの総和がL1ノルム総和上限を超えている場合、又は、総和と総和上限との差が微少量ε以上である場合、各単画素予測係数に設定すべき単一上限を定めるために予測誤差削減率を再設定(更新)する。 The continuation determination unit 503 acquires all the single pixel prediction coefficients from the LASSO solution calculation unit 502, acquires the L1 norm sum total upper limit as an external parameter, and the sum of the L1 norm of all single pixel prediction coefficients is equal to or less than the L1 norm total upper limit. Or not. When the sum of the L1 norms of all the single pixel prediction coefficients is less than or equal to the L1 norm sum total upper limit, and the difference between the sum and the sum total upper limit is less than the minute amount ε, the continuation determination unit 503 acquires all single pixels The prediction coefficient (set of single pixel prediction coefficients) is output as the final prediction coefficient. The continuation determination unit 503 predicts each single pixel when the sum of the L1 norms of all the single pixel prediction coefficients exceeds the upper limit of the L1 norm sum, or when the difference between the sum and the upper limit of sum is a small amount ε or more. The prediction error reduction rate is reset (updated) to determine the single upper limit that should be set for the coefficient.

すなわち、継続判定部503は、全ての単画素予測係数に対して均一に予測誤差の削減率を設定するため、全ての予測係数のL1ノルムの総和が総和上限以下であるという制約条件を満たし、かつ、最適な予測誤差の削減率から所定の微少量だけ離れている予測誤差の削減率が設定されたか否かを判定する。継続判定部503は、予測誤差削減率を再設定するため、予測誤差削減率の探索継続を表す探索継続フラグを候補算出部504に出力する。 That is, the continuation determination unit 503 sets the prediction error reduction rate uniformly for all single-pixel prediction coefficients, and thus satisfies the constraint condition that the sum of L1 norms of all prediction coefficients is equal to or less than the sum total upper limit, Further, it is determined whether or not a prediction error reduction rate that is apart from the optimum prediction error reduction rate by a predetermined minute amount is set. In order to reset the prediction error reduction rate, the continuation determination unit 503 outputs the search continuation flag indicating the search continuation of the prediction error reduction rate to the candidate calculation unit 504.

候補算出部504は、設定されるべき予測誤差の削減率の上限値及び下限値を保持する。候補算出部504は、予測誤差削減率の探索継続を表すフラグを継続判定部503から取得した場合、次に設定すべき予測誤差削減率を二分探索法によって算出する。例えば、候補算出部504は、各単画素予測係数に対して、予測誤差の削減率の上限値及び下限値の平均値に、予測誤差の削減率を設定する。候補算出部504は、設定された予測誤差の削減率が制約条件を満たす場合には、予測誤差の削減率の上限値を平均値に更新する。候補算出部504は、設定された予測誤差の削減率が制約条件を満たさない場合には、予測誤差の削減率の下限値を平均値に更新する。候補算出部504は、これらの処理を所定の回数だけ反復することで、最適な予測誤差の削減率を算出する。候補算出部504は、予測誤差の削減率を再設定するために、予測誤差の削減率をLASSO解算出部502に出力する。 The candidate calculation unit 504 holds the upper limit value and the lower limit value of the prediction error reduction rate to be set. When the candidate calculation unit 504 acquires from the continuation determination unit 503 a flag indicating search continuation of the prediction error reduction rate, the candidate calculation unit 504 calculates the prediction error reduction rate to be set next by the binary search method. For example, the candidate calculation unit 504 sets the reduction rate of the prediction error to the average value of the upper limit value and the lower limit value of the reduction rate of the prediction error for each single pixel prediction coefficient. The candidate calculation unit 504 updates the upper limit value of the prediction error reduction rate to the average value when the set prediction error reduction rate satisfies the constraint condition. The candidate calculation unit 504 updates the lower limit value of the prediction error reduction rate to the average value when the set prediction error reduction rate does not satisfy the constraint condition. The candidate calculation unit 504 calculates the optimum prediction error reduction rate by repeating these processes a predetermined number of times. The candidate calculation unit 504 outputs the prediction error reduction rate to the LASSO solution calculation unit 502 in order to reset the prediction error reduction rate.

次に、図14を参照して、動画像符号化装置100のイントラ予測部102に関して、図9に示すイントラ予測係数生成部302の動作を説明する。
図14は、図9に示すイントラ予測係数生成部302の詳細な動作の例を示すフローチャートである。イントラ予測情報分割部501は、イントラ予測情報と映像信号とを取得し、各単画素予測係数の最適化問題の定式化に必要な情報に分割する(ステップS301)。
Next, with reference to FIG. 14, an operation of the intra prediction coefficient generation unit 302 illustrated in FIG. 9 will be described with respect to the intra prediction unit 102 of the moving image encoding device 100.
FIG. 14 is a flowchart showing an example of detailed operation of the intra prediction coefficient generation unit 302 shown in FIG. The intra-prediction information division unit 501 acquires the intra-prediction information and the video signal, and divides the intra-prediction information into information necessary for formulating the optimization problem of each single-pixel prediction coefficient (step S301).

イントラ予測情報分割部501は、LARS等の最適化問題の求解方法を用いて、単一上限、予測誤差削減率及び単画素予測係数の関係を、単画素予測係数ごとに全て出力する(ステップS302)。イントラ予測情報分割部501は、全ての単画素予測係数に対して予測誤差削減率をいずれの値に定めるかを、二分探索法によって求める。 The intra-prediction information dividing unit 501 outputs all the relationships among the single upper limit, the prediction error reduction rate, and the single-pixel prediction coefficient for each single-pixel prediction coefficient by using the solution method for the optimization problem such as LARS (step S302). ). The intra-prediction information division unit 501 obtains which value to set the prediction error reduction rate for all the single pixel prediction coefficients by the binary search method.

イントラ予測情報分割部501は、予測誤差削減率の上限を表す上限削減率Uと、下限を表す下限削減率Lと、二分探索法の一時変数として必要な中間削減率Mとを初期化する。Uは、十分大きな値である。Lは0である(ステップS303)。 The intra-prediction information division unit 501 initializes an upper limit reduction rate U representing the upper limit of the prediction error reduction rate, a lower limit reduction rate L representing the lower limit, and an intermediate reduction rate M required as a temporary variable for the binary search method. U is a sufficiently large value. L is 0 (step S303).

イントラ予測情報分割部501は、予測誤差削減率をUとした場合における全ての単画素予測係数におけるL1ノルムの総和と、L1ノルム総和上限との差分の絶対値が微少量ε未満になるまで、ステップS305からステップS309までを反復する。イントラ予測情報分割部501は、予測誤差削減率をUとした場合における全ての単画素予測係数におけるL1ノルムの総和と、L1ノルム総和上限との差分の絶対値が微少量ε未満であるか否かを判定する(ステップS304)。 The intra-prediction information dividing unit 501, until the absolute value of the difference between the sum of the L1 norms of all the single-pixel prediction coefficients and the upper limit of the sum of the L1 norms when the prediction error reduction rate is U is less than a small amount ε, Steps S305 to S309 are repeated. The intra-prediction information division unit 501 determines whether or not the absolute value of the difference between the sum of the L1 norms of all the single-pixel prediction coefficients and the upper limit of the sum of the L1 norms when the prediction error reduction rate is U is less than the minute amount ε. It is determined (step S304).

予測誤差削減率をUとした場合における全ての単画素予測係数におけるL1ノルムの総和と、L1ノルム総和上限との差分の絶対値が微少量ε以上である場合(ステップS304:NO)、イントラ予測情報分割部501は、中間削減率Mを(U+L)=2と設定する(ステップS305)。イントラ予測情報分割部501は、全ての単画素予測係数における予測誤差削減率がMとなるよう、各単一上限を設定し、それぞれの単画素予測係数を出力する(ステップS306)。 When the absolute value of the difference between the sum of the L1 norms of all the single pixel prediction coefficients and the upper limit of the sum of the L1 norms when the prediction error reduction rate is U is a small amount ε or more (step S304: NO), intra prediction The information dividing unit 501 sets the intermediate reduction rate M to (U+L)=2 (step S305). The intra prediction information division unit 501 sets each single upper limit so that the prediction error reduction rate for all single pixel prediction coefficients becomes M, and outputs each single pixel prediction coefficient (step S306).

イントラ予測情報分割部501は、ステップS306で出力された全ての単画素予測係数のL1ノルムの総和を算出し、全ての単画素予測係数のL1ノルムの総和がL1ノルム総和上限以下であるか否か判定する(ステップS307)。いずれかの単画素予測係数のL1ノルムの総和がL1ノルム総和上限を超えている場合(ステップS307:NO)、イントラ予測情報分割部501は、L=Mと設定する(ステップS308)。 The intra prediction information division unit 501 calculates the sum of the L1 norms of all the single pixel prediction coefficients output in step S306, and determines whether the sum of the L1 norms of all the single pixel prediction coefficients is less than or equal to the L1 norm sum upper limit. It is determined whether or not (step S307). When the sum of the L1 norms of any of the single pixel prediction coefficients exceeds the L1 norm sum total upper limit (step S307: NO), the intra prediction information division unit 501 sets L=M (step S308).

全ての単画素予測係数のL1ノルムの総和がL1ノルム総和上限以下である場合(ステップS307:YES)、イントラ予測情報分割部501は、U=Mと設定する(ステップS309)。予測誤差削減率をUとした場合における全ての単画素予測係数におけるL1ノルムの総和と、L1ノルム総和上限との差分の絶対値が微少量ε未満である場合(ステップS304:YES)、イントラ予測情報分割部501は、処理を終了する。 If the sum of the L1 norms of all the single pixel prediction coefficients is equal to or less than the L1 norm sum total upper limit (step S307: YES), the intra prediction information division unit 501 sets U=M (step S309). When the absolute value of the difference between the sum of the L1 norms of all the single pixel prediction coefficients and the upper limit of the sum of the L1 norms in the case where the prediction error reduction rate is U is less than the minute amount ε (step S304: YES), intra prediction The information division unit 501 ends the process.

本発明の実施形態では、イントラ予測部102がイントラ予測係数生成部302を有している点が、従来技術にない特徴である。イントラ予測部102とイントラ予測部102aとの比較のため、従来技術におけるイントラ予測部102aの詳細な構成及び動作を示す。 In the embodiment of the present invention, the intra-prediction unit 102 has the intra-prediction coefficient generation unit 302, which is a characteristic that the prior art does not have. For comparison between the intra prediction unit 102 and the intra prediction unit 102a, a detailed configuration and operation of the intra prediction unit 102a in the related art will be shown.

次に、比較のため、従来技術における動画像符号化装置のイントラ予測部102aの詳細な構成を図15に示す。
図15は、従来技術における、イントラ予測部102aの詳細な構成の例を示すブロック図である。イントラ予測部102aは、イントラ予測処理部601と、イントラ予測情報記憶部602と、イントラ予測係数記憶部603とを備える。イントラ予測処理部601は、イントラ予測係数記憶部603から予測係数を取得し、符号化対象の映像信号を取得し、イントラ予測を実行することで予測映像信号を出力する。また、イントラ予測処理部601は、各予測ブロックが属するクラス番号を選択し、イントラ予測情報記憶部602に出力する。
Next, for comparison, FIG. 15 shows a detailed configuration of the intra prediction unit 102a of the moving image encoding apparatus in the conventional technique.
FIG. 15 is a block diagram showing an example of a detailed configuration of the intra prediction unit 102a in the conventional technique. The intra prediction unit 102a includes an intra prediction processing unit 601, an intra prediction information storage unit 602, and an intra prediction coefficient storage unit 603. The intra-prediction processing unit 601 acquires the prediction coefficient from the intra-prediction coefficient storage unit 603, acquires the video signal to be encoded, and outputs the predicted video signal by executing intra prediction. Further, the intra prediction processing unit 601 selects the class number to which each prediction block belongs, and outputs it to the intra prediction information storage unit 602.

イントラ予測情報記憶部602は、イントラ予測処理部601から出力されたイントラ予測情報を取得する。イントラ予測情報記憶部602は、伝送が必要であるイントラ予測情報を、エントロピー符号化処理部105に出力する。イントラ予測係数記憶部603は、イントラ予測係数記憶部603の記憶領域に記憶されているイントラ予測係数を、イントラ予測処理部601に出力する。 The intra prediction information storage unit 602 acquires the intra prediction information output from the intra prediction processing unit 601. The intra prediction information storage unit 602 outputs the intra prediction information that needs to be transmitted to the entropy coding processing unit 105. The intra prediction coefficient storage unit 603 outputs the intra prediction coefficient stored in the storage area of the intra prediction coefficient storage unit 603 to the intra prediction processing unit 601.

次に、従来技術における動画像符号化装置に関して、図15に示すイントラ予測部102aの処理動作を図16に示す。
図16は、従来技術における、図15に示すイントラ予測部102aの詳細な動作の例を示すフローチャートである。イントラ予測処理部601は、イントラ予測係数記憶部603の記憶領域に記憶されているイントラ予測係数を取得する(ステップS401)。イントラ予測処理部601は、全ての予測ブロックに対する処理が終わるまで、ステップS403からステップS405までの処理を反復する。イントラ予測処理部601は、全ての予測ブロックに関するイントラ予測処理が終了したか否かを判定する(ステップS402)。
Next, FIG. 16 shows the processing operation of the intra prediction unit 102a shown in FIG. 15 regarding the moving image encoding apparatus in the conventional technique.
FIG. 16 is a flowchart showing a detailed operation example of the intra prediction unit 102a shown in FIG. 15 in the conventional technique. The intra prediction processing unit 601 acquires the intra prediction coefficient stored in the storage area of the intra prediction coefficient storage unit 603 (step S401). The intra prediction processing unit 601 repeats the processing from step S403 to step S405 until the processing for all the prediction blocks is completed. The intra-prediction processing unit 601 determines whether or not the intra-prediction processing has been completed for all prediction blocks (step S402).

いずれかの予測ブロックに関するイントラ予測処理が終了していない場合(ステップS402:NO)、イントラ予測処理部601は、各予測ブロックが属するクラス番号であるイントラ予測情報を、符号量が最小となるよう決定する(ステップS403)。イントラ予測処理部601は、決定されたクラス番号に属するイントラ予測係数を用いて、イントラ予測を実行し、予測映像信号を出力する。すなわち、イントラ予測処理部601は、予測ブロックごとにイントラ予測処理を実行する(ステップS404)。 When the intra prediction process regarding any prediction block is not completed (step S402: NO), the intra prediction processing unit 601 sets the intra prediction information, which is the class number to which each prediction block belongs, so that the code amount becomes the minimum. It is determined (step S403). The intra-prediction processing unit 601 executes intra-prediction using the intra-prediction coefficient belonging to the determined class number, and outputs a predicted video signal. That is, the intra prediction processing unit 601 executes intra prediction processing for each prediction block (step S404).

イントラ予測処理部601は、ステップS403において定められたイントラ予測情報を伝送するため、イントラ予測情報をイントラ予測情報記憶部602へ記録する(ステップS405)。全ての予測ブロックに関するイントラ予測処理が終了していない場合(ステップS402:YES)、イントラ予測処理部601は、処理を終了する。 The intra prediction processing unit 601 records the intra prediction information in the intra prediction information storage unit 602 in order to transmit the intra prediction information determined in step S403 (step S405). When the intra prediction process regarding all the prediction blocks is not completed (step S402: YES), the intra prediction processing unit 601 ends the process.

以上のように、実施形態の線形予測係数出力装置は、予測対象のデジタル信号と予測されたデジタル信号との差分である予測誤差について、空間的な相関を利用する線形予測に用いられる係数である予測係数の絶対値和の総和が上限値を満たすという制約条件の下で予測誤差の二乗和を最小化する線形予測器を用いて予測対象のデジタル信号を線形予測するための予測係数を出力する。線形予測係数出力装置のイントラ予測部102は、予測対象のデジタル信号を線形予測するための予測係数の一部であり1次元のデジタル信号の予測係数である単信号予測係数の集合のうち制約条件を満たす単信号予測係数の集合を、予測対象のデジタル信号を線形予測するための予測係数として出力する。 As described above, the linear prediction coefficient output device according to the embodiment is a coefficient used for linear prediction that utilizes spatial correlation for a prediction error that is a difference between a prediction target digital signal and a predicted digital signal. Output the prediction coefficient for linearly predicting the digital signal to be predicted using a linear predictor that minimizes the sum of squared prediction errors under the constraint that the sum of the absolute sums of prediction coefficients satisfies the upper limit .. The intra-prediction unit 102 of the linear prediction coefficient output device is a part of the prediction coefficients for linearly predicting the digital signal to be predicted, and is a constraint condition among a set of single-signal prediction coefficients that are prediction coefficients of a one-dimensional digital signal. A set of single-signal prediction coefficients that satisfy the above is output as prediction coefficients for linearly predicting a digital signal to be predicted.

これによって、実施形態の線形予測係数出力装置は、イントラ予測においてクラス数と予測ブロック内の画素数とが1よりも大きな値であるという制約条件の下でも、式(7)に示す条件に制約条件を緩和した最適化問題を効率的に求解することが可能である。実施形態の線形予測係数出力装置は、式(7)に示す条件に制約条件を緩和した最適化問題を効率的に求解することで、信号特性に適合したイントラ予測を実行することが可能である。 As a result, the linear prediction coefficient output device according to the embodiment constrains the condition shown in Expression (7) even under the constraint condition that the number of classes and the number of pixels in the prediction block are values greater than 1 in intra prediction. It is possible to efficiently solve an optimization problem with relaxed conditions. The linear prediction coefficient output device of the embodiment can efficiently solve the optimization problem in which the constraint condition is relaxed in the condition shown in Expression (7), and thereby perform the intra prediction adapted to the signal characteristic. ..

また、実施形態の線形予測係数出力装置は、デジタル信号に対する線形予測を実行するためのスパース性(非零値の係数がまばらに存在すること)を有する予測係数を、効率的に出力することが可能である。実施形態では、デジタル信号とは、映像符号化の場合、画素集合の信号である。単信号(1次元の信号)は、映像符号化の場合、単画素の信号である。なお、映像符号化の場合、デジタル信号を分割するとは、ブロック分割することである。 Further, the linear prediction coefficient output device according to the embodiment can efficiently output a prediction coefficient having sparseness (non-zero-valued coefficients exist sparsely) for performing linear prediction on a digital signal. It is possible. In the embodiment, the digital signal is a signal of a pixel set in the case of video coding. A single signal (one-dimensional signal) is a single pixel signal in the case of video coding. In the case of video coding, dividing a digital signal means dividing into blocks.

なお、本発明の実施形態における0でない係数を少なくするというのは手段の一つにすぎず、係る予測器に限定するものではない。本発明の実施形態による線形予測係数出力装置は音声など他のメディアの符号化や、工数や稼働の管理システム等様々な分野に適用可能である。その際0でない係数を少なくする、という条件は適用する分野に応じて設定すればよい。 It should be noted that reducing the non-zero coefficient in the embodiment of the present invention is only one of the means, and is not limited to such a predictor. The linear prediction coefficient output device according to the embodiment of the present invention can be applied to various fields such as encoding of other media such as voice, management system of man-hours and operation. At this time, the condition that the number of non-zero coefficients is reduced may be set according to the field to which it is applied.

上述した実施形態における線形予測係数出力装置の少なくとも一部をコンピュータで実現するようにしてもよい。その場合、この機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよく、FPGA(Field Programmable Gate Array)等のプログラマブルロジックデバイスを用いて実現されるものであってもよい。 You may make it implement|achieve at least one part of the linear prediction coefficient output device in the above-mentioned embodiment with a computer. In that case, the program for realizing this function may be recorded in a computer-readable recording medium, and the program recorded in this recording medium may be read by a computer system and executed. The “computer system” mentioned here includes an OS and hardware such as peripheral devices. The "computer-readable recording medium" refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, a CD-ROM, or a storage device such as a hard disk built in a computer system. Further, the "computer-readable recording medium" means to hold a program dynamically for a short time like a communication line when transmitting the program through 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 that serves as a server or a client in that case may hold a program for a certain period of time. Further, the program may be for realizing some of the functions described above, or may be one that can realize the functions described above in combination with a program already recorded in a computer system, It may be realized using a programmable logic device such as FPGA (Field Programmable Gate Array).

以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 Although the embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to this embodiment, and includes a design and the like within a range not departing from the gist of the present invention.

本発明は、イントラ予測においてクラス数と予測ブロック内の画素数とが1よりも大きな値であるという制約条件の下でも最適化問題を効率的に求解することで、信号特性に適合したイントラ予測を可能にすることが不可欠な用途に適用できる。 The present invention efficiently solves an optimization problem even under the constraint that the number of classes and the number of pixels in a prediction block are larger than 1 in intra prediction, and thus intra prediction adapted to signal characteristics is performed. It can be applied to applications in which it is essential.

100…動画像符号化装置、101…フレームメモリ、102…イントラ予測部、102a…イントラ予測部、103…インター予測部、104…予測残差信号生成部、105…エントロピー符号化処理部、200…動画像復号装置、201…エントロピー復号処理部、202…イントラ予測部、203…インター予測部、204…復号信号生成部、205…フレームメモリ、301…イントラ予測係数初期化部、302…イントラ予測係数生成部、303…イントラ予測係数記憶部、304…イントラ予測処理部、305…イントラ予測情報記憶部、401…イントラ予測係数記憶部、402…イントラ予測情報記憶部、403…イントラ予測処理部、501…イントラ予測情報分割部、502…LASSO解算出部、503…継続判定部、601…イントラ予測処理部、602…イントラ予測情報記憶部、603…イントラ予測係数記憶部、1000…領域、1100…領域 100... Moving picture coding device, 101... Frame memory, 102... Intra prediction unit, 102a... Intra prediction unit, 103... Inter prediction unit, 104... Prediction residual signal generation unit, 105... Entropy coding processing unit, 200... Moving image decoding device, 201... Entropy decoding processing unit, 202... Intra prediction unit, 203... Inter prediction unit, 204... Decoded signal generation unit, 205... Frame memory, 301... Intra prediction coefficient initialization unit, 302... Intra prediction coefficient Generation unit, 303... Intra prediction coefficient storage unit, 304... Intra prediction processing unit, 305... Intra prediction information storage unit, 401... Intra prediction coefficient storage unit, 402... Intra prediction information storage unit, 403... Intra prediction processing unit, 501 Intra prediction information division unit, 502... LASSO solution calculation unit, 503... Continuation determination unit, 601... Intra prediction processing unit, 602... Intra prediction information storage unit, 603... Intra prediction coefficient storage unit, 1000... Region, 1100... Region

Claims (6)

予測対象のデジタル信号と予測されたデジタル信号との差分である予測誤差について、線形予測に用いられる係数である予測係数の絶対値和の総和が上限値を満たすという制約条件の下で前記予測誤差の二乗和を最小化する線形予測器を用いて前記予測対象のデジタル信号を線形予測するための予測係数を出力する線形予測係数出力装置が実行する線形予測係数出力方法であって、
前記予測対象のデジタル信号を線形予測するための予測係数の一部であり1次元のデジタル信号の予測係数である単信号予測係数の集合のうち前記制約条件を満たす前記単信号予測係数の集合を、前記予測対象のデジタル信号を線形予測するための予測係数として出力するステップ
を含み、
前記ステップでは、前記線形予測係数出力装置が、前記単信号予測係数の絶対値和の総和が前記上限値以下であり、かつ、前記総和と前記上限値との差が所定の微少量未満である場合、前記制約条件を満たす前記単信号予測係数の集合を、前記予測対象のデジタル信号を線形予測するための予測係数として出力する、
形予測係数出力方法。
Regarding the prediction error that is the difference between the prediction target digital signal and the predicted digital signal, the prediction error is under the constraint that the sum of the absolute value sums of the prediction coefficients that are coefficients used for linear prediction satisfies the upper limit value. A linear prediction coefficient output method executed by a linear prediction coefficient output device that outputs a prediction coefficient for linearly predicting the digital signal to be predicted using a linear predictor that minimizes the sum of squares of
A set of single-signal prediction coefficients satisfying the constraint condition among a set of single-signal prediction coefficients that are a part of prediction coefficients for linearly predicting the digital signal to be predicted and are prediction coefficients of a one-dimensional digital signal. , it looks including the step of outputting a digital signal of the prediction target as a prediction coefficient for linear prediction,
In the step, in the linear prediction coefficient output device, the sum of absolute value sums of the single signal prediction coefficients is equal to or less than the upper limit value, and the difference between the total sum and the upper limit value is less than a predetermined minute amount. In this case, the set of single-signal prediction coefficients satisfying the constraint is output as a prediction coefficient for linearly predicting the digital signal to be predicted,
Linear prediction coefficients output method.
予測対象のデジタル信号と予測されたデジタル信号との差分である予測誤差について、線形予測に用いられる係数である予測係数の絶対値和の総和が上限値を満たすという制約条件の下で前記予測誤差の二乗和を最小化する線形予測器を用いて前記予測対象のデジタル信号を線形予測するための予測係数を出力する線形予測係数出力装置が実行する線形予測係数出力方法であって、Regarding the prediction error that is the difference between the prediction target digital signal and the predicted digital signal, the prediction error is under the constraint that the sum of the absolute value sums of the prediction coefficients that are coefficients used for linear prediction satisfies the upper limit value. A linear prediction coefficient output method executed by a linear prediction coefficient output device that outputs a prediction coefficient for linearly predicting the digital signal to be predicted using a linear predictor that minimizes the sum of squares of
前記予測対象のデジタル信号を線形予測するための予測係数の一部であり1次元のデジタル信号の予測係数である単信号予測係数の集合のうち前記制約条件を満たす前記単信号予測係数の集合を、前記予測対象のデジタル信号を線形予測するための予測係数として出力するステップA set of single-signal prediction coefficients satisfying the constraint condition among a set of single-signal prediction coefficients that are a part of prediction coefficients for linearly predicting the digital signal to be predicted and are prediction coefficients of a one-dimensional digital signal. Outputting the prediction target digital signal as a prediction coefficient for linear prediction
を含み、Including
前記ステップでは、前記線形予測係数出力装置が、前記総和が前記上限値を超えている場合、又は、前記総和と前記上限値との差が微少量以上である場合、更新された前記予測誤差の削減率に基づいて、前記予測対象のデジタル信号を線形予測するための予測係数を算出する、In the step, the linear prediction coefficient output device, if the sum exceeds the upper limit, or, if the difference between the sum and the upper limit is a small amount or more, of the updated prediction error Calculate a prediction coefficient for linearly predicting the digital signal to be predicted, based on the reduction rate,
線形予測係数出力方法。Linear prediction coefficient output method.
前記予測されたデジタル信号は、前記予測対象のデジタル信号を線形予測するための予測係数と符号化の際に参照されるデジタル信号との行列積である、請求項1又は請求項2に記載の線形予測係数出力方法。 The predicted digital signal is a digital signal of the prediction target is the matrix product of the digital signal is referred to when the prediction coefficients and coding for linear prediction, according to claim 1 or claim 2 Linear prediction coefficient output method. 予測対象のデジタル信号と予測されたデジタル信号との差分である予測誤差について、空間的な相関を利用する線形予測に用いられる係数である予測係数の絶対値和の総和が上限値を満たすという制約条件の下で前記予測誤差の二乗和を最小化する線形予測器を用いて前記予測対象のデジタル信号を線形予測するための予測係数を出力する線形予測係数出力装置であって、
前記予測対象のデジタル信号を線形予測するための予測係数の一部であり1次元のデジタル信号の予測係数である単信号予測係数の集合のうち前記制約条件を満たす前記単信号予測係数の集合を、前記予測対象のデジタル信号を線形予測するための予測係数として出力する予測係数出力部
を備え
前記予測係数出力部は、前記単信号予測係数の絶対値和の総和が前記上限値以下であり、かつ、前記総和と前記上限値との差が所定の微少量未満である場合、前記制約条件を満たす前記単信号予測係数の集合を、前記予測対象のデジタル信号を線形予測するための予測係数として出力する、
形予測係数出力装置。
Regarding the prediction error, which is the difference between the digital signal to be predicted and the predicted digital signal, the constraint that the sum of the absolute value sums of the prediction coefficients, which are the coefficients used for linear prediction using spatial correlation, satisfies the upper limit value. A linear prediction coefficient output device that outputs a prediction coefficient for linearly predicting the digital signal of the prediction target using a linear predictor that minimizes the sum of squares of the prediction error under a condition,
A set of single-signal prediction coefficients satisfying the constraint condition among a set of single-signal prediction coefficients that are a part of prediction coefficients for linearly predicting the digital signal to be predicted and are prediction coefficients of a one-dimensional digital signal. A prediction coefficient output unit that outputs as a prediction coefficient for linearly predicting the digital signal to be predicted ,
The prediction coefficient output unit, if the sum of absolute value sums of the single-signal prediction coefficients is less than or equal to the upper limit value, and if the difference between the sum and the upper limit value is less than a predetermined minute amount, the constraint condition Outputting a set of the single signal prediction coefficients that satisfy the following as prediction coefficients for linearly predicting the digital signal to be predicted,
Linear prediction coefficient output device.
予測対象のデジタル信号と予測されたデジタル信号との差分である予測誤差について、空間的な相関を利用する線形予測に用いられる係数である予測係数の絶対値和の総和が上限値を満たすという制約条件の下で前記予測誤差の二乗和を最小化する線形予測器を用いて前記予測対象のデジタル信号を線形予測するための予測係数を出力する線形予測係数出力装置であって、Regarding the prediction error, which is the difference between the digital signal to be predicted and the predicted digital signal, the constraint that the sum of the absolute value sums of the prediction coefficients, which are the coefficients used for linear prediction using spatial correlation, satisfies the upper limit value. A linear prediction coefficient output device that outputs a prediction coefficient for linearly predicting the digital signal of the prediction target using a linear predictor that minimizes the sum of squares of the prediction error under a condition,
前記予測対象のデジタル信号を線形予測するための予測係数の一部であり1次元のデジタル信号の予測係数である単信号予測係数の集合のうち前記制約条件を満たす前記単信号予測係数の集合を、前記予測対象のデジタル信号を線形予測するための予測係数として出力する予測係数出力部A set of single-signal prediction coefficients satisfying the constraint condition among a set of single-signal prediction coefficients that are a part of prediction coefficients for linearly predicting the digital signal to be predicted and are prediction coefficients of a one-dimensional digital signal. , A prediction coefficient output unit for outputting as a prediction coefficient for linearly predicting the digital signal to be predicted
を備え、Equipped with
前記予測係数出力部は、前記総和が前記上限値を超えている場合、又は、前記総和と前記上限値との差が微少量以上である場合、更新された前記予測誤差の削減率に基づいて、前記予測対象のデジタル信号を線形予測するための予測係数を算出する、The prediction coefficient output unit, when the total sum exceeds the upper limit value, or when the difference between the total sum and the upper limit value is a small amount or more, based on the updated reduction rate of the prediction error Calculating a prediction coefficient for linearly predicting the prediction target digital signal,
線形予測係数出力装置。Linear prediction coefficient output device.
請求項1から請求項のいずれか一項に記載の線形予測係数出力方法をコンピュータに実行させるための線形予測係数出力プログラム。 A linear prediction coefficient output program for causing a computer to execute the linear prediction coefficient output method according to any one of claims 1 to 3 .
JP2016239880A 2016-12-09 2016-12-09 Linear prediction coefficient output method, linear prediction coefficient output device, and linear prediction coefficient output program Active JP6737700B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016239880A JP6737700B2 (en) 2016-12-09 2016-12-09 Linear prediction coefficient output method, linear prediction coefficient output device, and linear prediction coefficient output program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016239880A JP6737700B2 (en) 2016-12-09 2016-12-09 Linear prediction coefficient output method, linear prediction coefficient output device, and linear prediction coefficient output program

Publications (2)

Publication Number Publication Date
JP2018098589A JP2018098589A (en) 2018-06-21
JP6737700B2 true JP6737700B2 (en) 2020-08-12

Family

ID=62634780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016239880A Active JP6737700B2 (en) 2016-12-09 2016-12-09 Linear prediction coefficient output method, linear prediction coefficient output device, and linear prediction coefficient output program

Country Status (1)

Country Link
JP (1) JP6737700B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3918790A4 (en) 2019-03-24 2022-04-13 Huawei Technologies Co., Ltd. METHOD AND APPARATUS FOR QUANTIFYING COEFFICIENTS FOR A MATRIX-BASED INTRA PREDICTION (MIP) TECHNIQUE
CN121486575A (en) 2019-09-24 2026-02-06 Oppo广东移动通信有限公司 Image encoding and decoding methods, encoders, decoders, and storage media

Also Published As

Publication number Publication date
JP2018098589A (en) 2018-06-21

Similar Documents

Publication Publication Date Title
US11743495B2 (en) Video signal processing method and apparatus
CN113424547B (en) Point cloud attribute encoding and decoding methods and devices
US10666937B2 (en) Low-complexity sign prediction for video coding
KR102800978B1 (en) A method and an apparatus for processing a video signal using subblock-based motion compensation
CN110800299B (en) Scan order adaptation for entropy coding blocks of image data
CN112425164B (en) Transform variants of multiple separable transform choices
KR102503760B1 (en) Method and apparatus for video encoding/decoding using image analysis
US20210021821A1 (en) Video encoding and decoding method and apparatus
CN112369035A (en) Image encoding/decoding method and apparatus
JP2018182531A (en) Division shape determination device, learning device, division shape determination method, and division shape determination program
JP6737700B2 (en) Linear prediction coefficient output method, linear prediction coefficient output device, and linear prediction coefficient output program
JP6649184B2 (en) Linear prediction coefficient output device, linear prediction coefficient output method, and linear prediction coefficient output program
JP5702820B2 (en) Prediction mode determination method, video encoding apparatus, and prediction mode determination program
JP2022103284A (en) Video coding device, video decoding device, and their programs
JP2016535382A (en) Method and apparatus for constructing an original image estimate from a low quality version and epitome of the original image
JP6737699B2 (en) Linear prediction coefficient output method, linear prediction coefficient output device, and linear prediction coefficient output program
JP2015035788A (en) Image encoder, image encoding method, and program
KR20220024020A (en) Motion compensation processing methods, encoders, decoders and storage media
JP6188344B2 (en) Scanning order generation apparatus, moving picture encoding apparatus, moving picture decoding apparatus, scanning order generation method, and program
CN120883604A (en) Reference sample selection in block vector-guided cross-component prediction
Rosário Lucas et al. Generalised Optimal Sparse Predictors
JP6323185B2 (en) Moving picture coding apparatus, moving picture coding method, and moving picture coding computer program
JP6101067B2 (en) Image processing apparatus and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200128

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200225

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: 20200714

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200716

R150 Certificate of patent or registration of utility model

Ref document number: 6737700

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350