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 PDFInfo
- 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
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.
ここで、iは、予測ブロックの番号を示す指数である。cは、クラス番号であり、1からCまでとりうる。^xi=(^xi 1,・・・,^xi l,・・・,^xi Mi)T(^は、後に続く文字の上に付く。以下同様)は、参照画素を要素とするMi次元の列ベクトルである。Miは、予測に用いる参照画素数である。^yi cは、予測ブロックにおける予測画素値である。非特許文献1では、予測ブロックの大きさが(1×1)であるため、^yi cは、1次元の実数である。bcは、クラス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.
各クラスの予測係数bcに対し予測誤差を最小化する係数を定める方法では、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).
ここで、iは、予測ブロックの番号を示す指数である。cは、クラス番号であり、1からCまでとりうる。^xi=(^xi 1,・・・,^xi l,・・・,^xi Mi)Tは正規化処理を施した参照画素を要素とするMi次元の列ベクトルである。Miは予測に用いる参照画素数である。^xiは、式(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).
ここで、 ̄xi=( ̄xi 1;,・・・, ̄xi l,・・・, ̄xi Mi)T( ̄は、後に続く文字の上に付く。以下同様)は、正規化処理を施していない参照画素を要素とするMi次元の列ベクトルである.Scは、クラス番号cを選択する予測ブロック番号の集合である.μx lは、クラスcに属するl番目の参照画素値 ̄xi lの平均値である.σx lは、クラス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.
^yi c=(^yi c[1],・・・,^yi c[j],・・・,^yi c[Mi])Tは、正規化処理を施した予測ブロック内の画素値を要素とするMo次元の列ベクトルである。^yi cは、式(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).
ここで、 ̄yi c=( ̄yi c[1],・・・, ̄yi c[l],・・・, ̄yi c[Mo])Tは、正規化処理を施していない予測ブロック内の画素値を要素とするMi次元の列ベクトルである.μi c[j]は、クラスcに属するl番目の被予測画素値 ̄xi lの平均値である。Moは、予測ブロックの画素数である。jは、予測ブロック内の画素位置を示す指数である。Acは、クラス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.
正規化されていない実際の予測画素値〜yi c(〜は、後に続く文字の上に付く。以下同様)は、式(5)を用いて表される。 The actual prediction pixel value ~y i c unnormalized (~ is attached. Similarly above the letter followed) is expressed using equation (5).
以下では、正規化処理は、参照画素及び予測ブロックに対して施される。画像ごとに線形予測に用いる係数方法では、予測係数が付加情報となる。このため、画像ごとに線形予測に用いる係数方法では、予測係数の発生符号量の抑制が課題となる。予測係数の発生符号量を抑制する方法として、予測係数の多くが零値であるスパースの状態にする制約条件の下で予測誤差を低減することが可能である予測係数を定める方法がある。 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).
ここで、Scは、クラス番号cを選択する予測ブロック番号の集合である。以下の文中では、式中における双柱は「||」を用いて表す。||Ac||0は、行列Acにおける非零値である係数の個数である。予測係数の符号量は、非零値である予測係数の個数に依存する。このため、非零値の係数の個数に関する制約条件は、予測係数に要する符号量を調整する役割を持つ。θ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.
ここで、||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番目の画素値は、予測係数Acのj行目の係数を用いて予測される。すなわち、Ac=(ac[1]T,・・・,ac[j]T,・・・,ac[Mo]T)Tと表記すると、ac[j]は、クラスcに属する予測ブロックのj番目の画素値を予測するための係数であり、Mi次元の行ベクトルである。以下では、ac[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番目の画素値は、単画素予測係数ac[j]及び参照画素xiを用いて、ac[j]xiと予測される。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.
しかしながら、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.
本発明の実施形態について、図面を参照して詳細に説明する。
まず、線形予測係数を出力する原理について説明する。式(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).
ここで、θc[j]は、各単画素予測係数に対して定める係数の絶対値和の上限値である。以下では、θc[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
上記の最適化問題を求解するために、全てのクラスと予測ブロック内の画素値とに対する単一上限θc[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度の最適化処理によって出力できる。上記の最適化の結果、各θc[j]に対応する単画素予測係数ac[j]∈RMoが、RMoの空間内における複数の連結した線分の集合として与えられる。以下では、上記の線分の集合を「パス」という。パス上の各点は、θc[j]=||ac[j]||1と設定した際の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個の係数が零値から非零値になること、のいずれかが生じる。θc[j]を設定する際にパスが求まっていれば、θc[j]を変更した際の単画素予測係数ac[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)ように予測誤差削減効率ec[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).
ここで、fc[j]は、取得された単画素予測係数ac[j]を使用した際の予測誤差の総和を返す関数である。ac[j]は、現在の単画素予測係数である。dc[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
また、図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
図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
以上の基本的な考え方に基づいて、本発明の実施形態の線形予測係数出力装置を適用した動画像符号化装置及び動画像復号装置を説明する。 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
動画像符号化装置100は、符号化対象の映像信号を取得し、符号化された映像を符号化ストリームとして出力する。以下では、符号化対象となる映像信号を単に「映像信号」という。
The moving
動画像符号化装置100は、フレームメモリ101と、イントラ予測部102と、インター予測部103と、予測残差信号生成部104と、エントロピー符号化処理部105とを備える。動画像符号化装置100は、磁気ハードディスク装置や半導体記憶装置等の不揮発性の記録媒体(非一時的な記録媒体)を有する記憶装置を更に備えてもよい。
The moving
フレームメモリ101とイントラ予測部102とインター予測部103と予測残差信号生成部104とエントロピー符号化処理部105とのうち一部又は全部は、例えば、CPU(Central Processing Unit)等のプロセッサが、記憶部に記憶されたプログラムを実行することにより実現されてもよいし、LSI(Large Scale Integration)やASIC(Application Specific Integrated Circuit)等のハードウェアを用いて実現されてもよい。
Some or all of the
フレームメモリ101は、映像信号を取得する。フレームメモリ101は、インター予測部103がインター予測を実行する際に、映像信号をインター予測部103に参照画像として出力する。
The
イントラ予測部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
イントラ予測部102は、予測対象の画素集合の信号として、符号化の際に参照される画素集合の信号と予測対象の画素集合の信号を線形予測するための予測係数との行列積を算出する。イントラ予測部102は、予測対象の画素集合の信号を線形予測するための予測係数の一部であり単画素の信号(1次元の信号)の予測係数である単画素予測係数(単信号予測係数)の集合のうち制約条件を満たす単画素予測係数の集合を、予測対象の画素集合の信号を線形予測するための予測係数として出力する。イントラ予測部102は、伝送の必要がある全ての予測係数と予測ブロックごとに定めるクラス番号等のイントラ予測情報とを、エントロピー符号化処理部105に出力する。イントラ予測部102は、本発明の実施形態における特徴的な処理部である。イントラ予測部102の詳細については、図9以降の図等を用いて説明する。
The
インター予測部103は、フレームメモリ101から映像信号を取得し、インター予測によって導出した予測映像信号を予測残差信号生成部104に出力する。インター予測部103は、動きベクトル等のインター予測に必要でありかつ伝送の必要があるインター予測情報を、エントロピー符号化処理部105に出力する。予測残差信号生成部104は、映像信号と、イントラ予測部102又はインター予測部103が出力した予測映像信号とを取得し、映像信号と予測映像信号の差分をエントロピー符号化処理部105に出力する。エントロピー符号化処理部105は、インター予測部103、イントラ予測部102からインター予測情報及びイントラ予測係数をそれぞれ取得し、予測残差、インター予測情報、イントラ予測情報及びイントラ予測係数に基づいて符号化ストリームを生成し、生成された符号化ストリームを出力する。
The
次に、実施形態の線形予測係数出力装置を適用した動画像復号装置について説明する。
図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
動画像復号装置200は、エントロピー復号処理部201と、イントラ予測部202と、インター予測部203と、復号信号生成部204と、フレームメモリ205とを備える。動画像復号装置200は、磁気ハードディスク装置や半導体記憶装置等の不揮発性の記録媒体(非一時的な記録媒体)を有する記憶装置を更に備えてもよい。
The
エントロピー復号処理部201とイントラ予測部202とインター予測部203と復号信号生成部204とのうち一部又は全部は、例えば、CPU等のプロセッサが、記憶部に記憶されたプログラムを実行することにより実現されてもよいし、LSIやASIC等のハードウェアを用いて実現されてもよい。
A part of or all of the entropy
エントロピー復号処理部201は、図7に示すエントロピー符号化処理部105が出力した符号化ストリームを取得し、予測残差、インター予測情報、イントラ予測情報及びイントラ予測係数の計4個の情報を符号化ストリームから復号し、計4個の情報を出力する。イントラ予測部202は、フレームメモリ205から復号映像信号を取得し、エントロピー復号処理部201からイントラ予測情報及びイントラ予測係数を取得し、イントラ予測処理によって生成された予測画像を出力する。
The entropy
インター予測部203は、復号映像信号をフレームメモリ205から取得し、インター予測情報をエントロピー復号処理部201から取得し、インター予測処理により生成された予測画像を出力する。復号信号生成部204は、インター予測部203又はイントラ予測部202が出力した予測画像と、エントロピー復号処理部201が出力した予測残差とを取得し、予測画像及び予測残差を加算することで生成される復号映像信号を出力する。
The
フレームメモリ205は、復号信号生成部204が出力した復号映像信号を取得し、フレームメモリ205の記憶領域に復号映像信号を記憶する。復号映像信号は、インター予測部203及びイントラ予測部202によって、参照画素として利用される。
The
次に、図9を参照して、動画像符号化装置100に関して、図7に示すイントラ予測部102の構成を説明する。
図9は、図7に示すイントラ予測部102の詳細な構成の例を示すブロック図である。イントラ予測部102は、イントラ予測係数初期化部301と、イントラ予測係数生成部302と、イントラ予測係数記憶部303と、イントラ予測処理部304と、イントラ予測情報記憶部305とを備える。
Next, with reference to FIG. 9, the configuration of the
FIG. 9 is a block diagram showing an example of a detailed configuration of the
イントラ予測係数初期化部301は、動画像符号化装置100に記録されたイントラ予測係数を取得し、イントラ予測係数記憶部303に出力する。図9では、イントラ予測係数生成部302の動作が、従来の動作とは異なる。すなわち、イントラ予測係数生成部302は、符号化対象の映像信号と、予測係数全体のL1ノルムの上限を示す閾値であるL1ノルム総和上限と、各予測対象ブロックが属するクラス情報を表すイントラ予測情報とを取得し、予測係数全体のL1ノルムの総和がL1ノルム総和上限以下であるという制約条件の下で予測誤差の二乗和を最小化する予測係数を、イントラ予測係数記憶部303に出力する。
The intra prediction
イントラ予測係数記憶部303は、イントラ予測係数初期化部301及びイントラ予測係数生成部302からイントラ予測係数を取得し、予測映像信号を生成するイントラ予測処理部304にイントラ予測係数を出力する。イントラ予測係数記憶部303は、エントロピー符号化処理部105にイントラ予測係数を出力する。
The intra prediction
イントラ予測処理部304は、符号化対象となる映像信号と、イントラ予測係数記憶部303から予測係数とを取得し、生成されたイントラ予測信号を予測残差信号生成部104に出力する。イントラ予測処理部304は、予測されたブロックが属するクラス番号を、イントラ予測情報としてイントラ予測情報記憶部305に出力する。
The intra
イントラ予測情報記憶部305は、イントラ予測処理部304により選択されたイントラ予測情報を取得し、予測係数を決定するためにイントラ予測係数生成部302へイントラ予測係数を出力する。イントラ予測情報記憶部305は、イントラ予測情報を伝送する必要があるため、イントラ予測情報をエントロピー符号化処理部105に出力する。
The intra prediction
次に、図10を参照して、動画像符号化装置100に関して、図9に示すイントラ予測部102における動作を説明する。
図10は、図9に示すイントラ予測部102の詳細な動作の例を説明するフローチャートである。イントラ予測係数初期化部301は、エンコーダに記録されたイントラ予測係数を取得し、イントラ予測係数記憶部303に記録する(ステップS101)。
Next, with reference to FIG. 10, the operation of the
FIG. 10 is a flowchart illustrating an example of detailed operation of the
イントラ予測処理部304は、矩形状に分割された全てのブロックに対して、ステップS103からステップS105までの処理を実行する。イントラ予測処理部304は、全ての予測ブロックに関するイントラ予測処理が終了したか否かを判定する(ステップS102)。いずれかの予測ブロックに関するイントラ予測処理が終了してない場合(ステップS102:NO)、イントラ予測処理部304は、各予測対象ブロックがいずれのクラスに属せば符号量が最小化されるかを、逐次的に決定する。すなわち、イントラ予測処理部304は、予測ブロックごとにイントラ予測情報を決定する(ステップS103)。
The intra
イントラ予測処理部304は、ステップS103において決定されたクラスに属するイントラ予測係数を用いて、予測映像信号を出力する(ステップS104)。イントラ予測処理部304は、ステップS103において決定されたクラス番号を、イントラ予測情報記憶部305に記録する(ステップS105)。全ての予測ブロックに関するイントラ予測処理が終了した場合(ステップS102:YES)、イントラ予測処理部304は、映像信号、イントラ予測情報及び単一上限に基づいて、イントラ予測係数を最適化する(ステップS106)。イントラ予測処理部304は、イントラ予測係数をイントラ予測係数記憶部303に記録する(ステップS107)。
The intra
次に、図11を参照して、動画像復号装置200に関して、図8に示すイントラ予測部202における構成を説明する。
図11は、図8に示すイントラ予測部202の詳細な構成を示すブロック図である。イントラ予測部202は、イントラ予測係数記憶部401と、イントラ予測情報記憶部402と、イントラ予測処理部403とを備える。イントラ予測係数記憶部401は、エントロピー復号処理部201からイントラ予測係数を取得し、イントラ予測係数記憶部401の記憶領域にイントラ予測係数を記憶する。
Next, with reference to FIG. 11, the configuration of the
FIG. 11 is a block diagram showing a detailed configuration of the
イントラ予測情報記憶部402は、エントロピー復号処理部201からイントラ予測情報を取得し、イントラ予測情報記憶部402の記憶領域にイントラ予測情報を記憶する。イントラ予測処理部403は、符号化対象である映像信号と、イントラ予測係数記憶部401からイントラ予測係数と、イントラ予測情報記憶部402からイントラ予測情報とを取得し、イントラ予測を実行した結果として予測映像信号を出力する。
The intra prediction
次に、図12を参照して、図11に示すイントラ予測部202における動作を説明する。
図12は、図11に示すイントラ予測部202の詳細な動作の例を示すフローチャートである。イントラ予測係数記憶部401は、エントロピー復号処理部201からイントラ予測係数を取得し、イントラ予測係数記憶部401の記憶領域にイントラ予測係数を記憶する(ステップS201)。
Next, the operation of the
FIG. 12 is a flowchart showing an example of detailed operation of the
イントラ予測処理部403は、矩形状に分割された全てのブロックに対して、ステップS203からステップS204までの処理を実行する。イントラ予測処理部403は、全ての予測ブロックに関するイントラ予測処理が終了したか否かを判定する(ステップS202)。いずれかの予測ブロックに関するイントラ予測処理が終了していない場合(ステップS202:NO)、イントラ予測処理部403は、各予測対象となるブロックが属するクラス番号をイントラ予測係数記憶部401から取得し、使用する予測係数を定める。すなわち、イントラ予測処理部403は、予測ブロックごとにイントラ予測情報を取得する(ステップS203)。
The
イントラ予測処理部403は、ステップS203において決定された予測ブロックに対してイントラ予測処理を実行し、予測映像信号を出力する(ステップS204)。全ての予測ブロックに関するイントラ予測処理が終了している場合(ステップS202:YES)、イントラ予測処理部403は、処理を終了する。
The intra
次に、図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
FIG. 13 is a block diagram showing an example of a detailed configuration of the intra prediction
LASSO解算出部502は、単画素予測係数ごとに分割された予測ブロックとイントラ予測情報とをイントラ予測情報分割部501から取得し、設定すべき予測誤差削減率を候補算出部504から取得し、単画素予測係数のL1ノルムが単一上限以下であるという制約条件の下で予測誤差を最小化する最適化問題を求解する。
The LASSO
予測誤差を最小化する最適化問題は、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
継続判定部503は、全ての単画素予測係数をLASSO解算出部502から取得し、L1ノルム総和上限を外部パラメータとして取得し、全ての単画素予測係数のL1ノルムの総和がL1ノルム総和上限以下であるか否かを判定する。継続判定部503は、全ての単画素予測係数のL1ノルムの総和がL1ノルム総和上限以下であり、かつ、総和と総和上限との差が微少量ε未満である場合、取得した全ての単画素予測係数(単画素予測係数の集合)を最終的な予測係数として出力する。継続判定部503は、全ての単画素予測係数のL1ノルムの総和がL1ノルム総和上限を超えている場合、又は、総和と総和上限との差が微少量ε以上である場合、各単画素予測係数に設定すべき単一上限を定めるために予測誤差削減率を再設定(更新)する。
The
すなわち、継続判定部503は、全ての単画素予測係数に対して均一に予測誤差の削減率を設定するため、全ての予測係数のL1ノルムの総和が総和上限以下であるという制約条件を満たし、かつ、最適な予測誤差の削減率から所定の微少量だけ離れている予測誤差の削減率が設定されたか否かを判定する。継続判定部503は、予測誤差削減率を再設定するため、予測誤差削減率の探索継続を表す探索継続フラグを候補算出部504に出力する。
That is, the
候補算出部504は、設定されるべき予測誤差の削減率の上限値及び下限値を保持する。候補算出部504は、予測誤差削減率の探索継続を表すフラグを継続判定部503から取得した場合、次に設定すべき予測誤差削減率を二分探索法によって算出する。例えば、候補算出部504は、各単画素予測係数に対して、予測誤差の削減率の上限値及び下限値の平均値に、予測誤差の削減率を設定する。候補算出部504は、設定された予測誤差の削減率が制約条件を満たす場合には、予測誤差の削減率の上限値を平均値に更新する。候補算出部504は、設定された予測誤差の削減率が制約条件を満たさない場合には、予測誤差の削減率の下限値を平均値に更新する。候補算出部504は、これらの処理を所定の回数だけ反復することで、最適な予測誤差の削減率を算出する。候補算出部504は、予測誤差の削減率を再設定するために、予測誤差の削減率をLASSO解算出部502に出力する。
The
次に、図14を参照して、動画像符号化装置100のイントラ予測部102に関して、図9に示すイントラ予測係数生成部302の動作を説明する。
図14は、図9に示すイントラ予測係数生成部302の詳細な動作の例を示すフローチャートである。イントラ予測情報分割部501は、イントラ予測情報と映像信号とを取得し、各単画素予測係数の最適化問題の定式化に必要な情報に分割する(ステップS301)。
Next, with reference to FIG. 14, an operation of the intra prediction
FIG. 14 is a flowchart showing an example of detailed operation of the intra prediction
イントラ予測情報分割部501は、LARS等の最適化問題の求解方法を用いて、単一上限、予測誤差削減率及び単画素予測係数の関係を、単画素予測係数ごとに全て出力する(ステップS302)。イントラ予測情報分割部501は、全ての単画素予測係数に対して予測誤差削減率をいずれの値に定めるかを、二分探索法によって求める。
The intra-prediction
イントラ予測情報分割部501は、予測誤差削減率の上限を表す上限削減率Uと、下限を表す下限削減率Lと、二分探索法の一時変数として必要な中間削減率Mとを初期化する。Uは、十分大きな値である。Lは0である(ステップS303)。
The intra-prediction
イントラ予測情報分割部501は、予測誤差削減率をUとした場合における全ての単画素予測係数におけるL1ノルムの総和と、L1ノルム総和上限との差分の絶対値が微少量ε未満になるまで、ステップS305からステップS309までを反復する。イントラ予測情報分割部501は、予測誤差削減率をUとした場合における全ての単画素予測係数におけるL1ノルムの総和と、L1ノルム総和上限との差分の絶対値が微少量ε未満であるか否かを判定する(ステップS304)。
The intra-prediction
予測誤差削減率を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
イントラ予測情報分割部501は、ステップS306で出力された全ての単画素予測係数のL1ノルムの総和を算出し、全ての単画素予測係数のL1ノルムの総和がL1ノルム総和上限以下であるか否か判定する(ステップS307)。いずれかの単画素予測係数のL1ノルムの総和がL1ノルム総和上限を超えている場合(ステップS307:NO)、イントラ予測情報分割部501は、L=Mと設定する(ステップS308)。
The intra prediction
全ての単画素予測係数の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
本発明の実施形態では、イントラ予測部102がイントラ予測係数生成部302を有している点が、従来技術にない特徴である。イントラ予測部102とイントラ予測部102aとの比較のため、従来技術におけるイントラ予測部102aの詳細な構成及び動作を示す。
In the embodiment of the present invention, the
次に、比較のため、従来技術における動画像符号化装置のイントラ予測部102aの詳細な構成を図15に示す。
図15は、従来技術における、イントラ予測部102aの詳細な構成の例を示すブロック図である。イントラ予測部102aは、イントラ予測処理部601と、イントラ予測情報記憶部602と、イントラ予測係数記憶部603とを備える。イントラ予測処理部601は、イントラ予測係数記憶部603から予測係数を取得し、符号化対象の映像信号を取得し、イントラ予測を実行することで予測映像信号を出力する。また、イントラ予測処理部601は、各予測ブロックが属するクラス番号を選択し、イントラ予測情報記憶部602に出力する。
Next, for comparison, FIG. 15 shows a detailed configuration of the
FIG. 15 is a block diagram showing an example of a detailed configuration of the
イントラ予測情報記憶部602は、イントラ予測処理部601から出力されたイントラ予測情報を取得する。イントラ予測情報記憶部602は、伝送が必要であるイントラ予測情報を、エントロピー符号化処理部105に出力する。イントラ予測係数記憶部603は、イントラ予測係数記憶部603の記憶領域に記憶されているイントラ予測係数を、イントラ予測処理部601に出力する。
The intra prediction
次に、従来技術における動画像符号化装置に関して、図15に示すイントラ予測部102aの処理動作を図16に示す。
図16は、従来技術における、図15に示すイントラ予測部102aの詳細な動作の例を示すフローチャートである。イントラ予測処理部601は、イントラ予測係数記憶部603の記憶領域に記憶されているイントラ予測係数を取得する(ステップS401)。イントラ予測処理部601は、全ての予測ブロックに対する処理が終わるまで、ステップS403からステップS405までの処理を反復する。イントラ予測処理部601は、全ての予測ブロックに関するイントラ予測処理が終了したか否かを判定する(ステップS402)。
Next, FIG. 16 shows the processing operation of the
FIG. 16 is a flowchart showing a detailed operation example of the
いずれかの予測ブロックに関するイントラ予測処理が終了していない場合(ステップS402:NO)、イントラ予測処理部601は、各予測ブロックが属するクラス番号であるイントラ予測情報を、符号量が最小となるよう決定する(ステップS403)。イントラ予測処理部601は、決定されたクラス番号に属するイントラ予測係数を用いて、イントラ予測を実行し、予測映像信号を出力する。すなわち、イントラ予測処理部601は、予測ブロックごとにイントラ予測処理を実行する(ステップS404)。
When the intra prediction process regarding any prediction block is not completed (step S402: NO), the intra
イントラ予測処理部601は、ステップS403において定められたイントラ予測情報を伝送するため、イントラ予測情報をイントラ予測情報記憶部602へ記録する(ステップS405)。全ての予測ブロックに関するイントラ予測処理が終了していない場合(ステップS402:YES)、イントラ予測処理部601は、処理を終了する。
The intra
以上のように、実施形態の線形予測係数出力装置は、予測対象のデジタル信号と予測されたデジタル信号との差分である予測誤差について、空間的な相関を利用する線形予測に用いられる係数である予測係数の絶対値和の総和が上限値を満たすという制約条件の下で予測誤差の二乗和を最小化する線形予測器を用いて予測対象のデジタル信号を線形予測するための予測係数を出力する。線形予測係数出力装置のイントラ予測部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
これによって、実施形態の線形予測係数出力装置は、イントラ予測においてクラス数と予測ブロック内の画素数とが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.
前記予測対象のデジタル信号を線形予測するための予測係数の一部であり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次元のデジタル信号の予測係数である単信号予測係数の集合のうち前記制約条件を満たす前記単信号予測係数の集合を、前記予測対象のデジタル信号を線形予測するための予測係数として出力する予測係数出力部
を備え、
前記予測係数出力部は、前記単信号予測係数の絶対値和の総和が前記上限値以下であり、かつ、前記総和と前記上限値との差が所定の微少量未満である場合、前記制約条件を満たす前記単信号予測係数の集合を、前記予測対象のデジタル信号を線形予測するための予測係数として出力する、
線形予測係数出力装置。 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.
前記予測対象のデジタル信号を線形予測するための予測係数の一部であり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.
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)
| 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 |
-
2016
- 2016-12-09 JP JP2016239880A patent/JP6737700B2/en active Active
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 |