JP4847460B2 - Image interpolation method and pixel interpolation device - Google Patents

Image interpolation method and pixel interpolation device Download PDF

Info

Publication number
JP4847460B2
JP4847460B2 JP2007535161A JP2007535161A JP4847460B2 JP 4847460 B2 JP4847460 B2 JP 4847460B2 JP 2007535161 A JP2007535161 A JP 2007535161A JP 2007535161 A JP2007535161 A JP 2007535161A JP 4847460 B2 JP4847460 B2 JP 4847460B2
Authority
JP
Japan
Prior art keywords
pixel
value
difference
interpolation
pixel values
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.)
Expired - Fee Related
Application number
JP2007535161A
Other languages
Japanese (ja)
Other versions
JP2008532335A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2007535161A priority Critical patent/JP4847460B2/en
Publication of JP2008532335A publication Critical patent/JP2008532335A/en
Application granted granted Critical
Publication of JP4847460B2 publication Critical patent/JP4847460B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4007Interpolation-based scaling, e.g. bilinear interpolation

Description

本発明は、デジタル画像の内挿画素値を求めるタップフィルタ処理に関するものであり、特に、ピクチャ間予測符号化による動画像符号化処理・復号処理に用いられる画素内挿方法に関するものである。   The present invention relates to a tap filter process for obtaining an interpolated pixel value of a digital image, and more particularly to a pixel interpolation method used for a moving picture encoding process / decoding process by inter-picture predictive encoding.

動画像の高能率圧縮符号化において、ピクチャ間の相関を利用するピクチャ間予測符号化が用いられ、MPEG−2、MPEG−4(パート2)、H.264|MPEG−4(パート10)AVC(以下、単に、H.264と参照する)等の符号化規格に組み込まれている。これらの符号化規格では、現ピクチャは、複数の画素からなる矩形の画素ブロックに分割され、そのブロック毎に処理が行われる。ピクチャ間予測符号化は、現ピクチャ上のブロックと参照対象となる参照ピクチャ上のブロックとの間の動きを示す動きベクトルと、その参照ピクチャ上のブロックを基に動き補償された予測ブロックとを生成し、予測ブロックと現ピクチャ上のブロックとの画素値の差分に対して符号化を行う。   In high-efficiency compression coding of moving images, inter-picture predictive coding using correlation between pictures is used, and MPEG-2, MPEG-4 (Part 2), H.264, and H.264 are used. H.264 | MPEG-4 (Part 10) AVC (hereinafter simply referred to as H.264). In these encoding standards, the current picture is divided into rectangular pixel blocks made up of a plurality of pixels, and processing is performed for each block. In inter-picture predictive coding, a motion vector indicating motion between a block on a current picture and a block on a reference picture to be referred to and a prediction block that has been motion-compensated based on the block on the reference picture. Generate and encode the difference in pixel values between the prediction block and the block on the current picture.

上述の動き補償により生成される予測ピクチャの精度を増して符号化効率を高めるために、動きベクトルの各成分は、整数精度の画素より細分された単位(1/2精度、1/4精度など)で表される。この様な動き補償においては、参照ピクチャより予測ピクチャを生成するに当たり、画素の内挿処理が必要であり、その算出方法は各符号化規格に定められている。   In order to increase the encoding efficiency by increasing the accuracy of the predicted picture generated by the above-described motion compensation, each component of the motion vector is a unit (1/2 accuracy, 1/4 accuracy, etc.) subdivided from integer accuracy pixels. ). In such motion compensation, when a predicted picture is generated from a reference picture, pixel interpolation processing is required, and the calculation method is defined by each coding standard.

符号化標準の一つであるH.264では、上述した画素の内挿処理の方法として、6タップフィルタ処理が文献1(Joint Video Team (JVT) of ISO/IEC MPEG & ITU−T VCEG; ”Draft ITU−T Recommendation and Final Draft International Standard of Joint Video Specification (ITU−T Rec. H.264|ISO/IEC 14496−10 AVC)”、8.4.2.2節参照)に規定されている。   H. is one of the encoding standards. In H.264, as a method of the above-described pixel interpolation process, the 6-tap filter process is referred to as Reference 1 (Joint Video Team (JVT) of ISO / IEC MPEG & ITU-T VCEG; “Draft ITU-T Recommendation and Final Draft Int. of Joint Video Specification (see ITU-T Rec. H.264 | ISO / IEC 14496-10 AVC) ”, section 8.4.2.2).

これについて簡単に説明すると、この6タップフィルタは、タップ係数{1、−5、20、20、−5、1}を持ち、参照ピクチャ上の水平または垂直方向のあるライン上に並ぶ画素について、i番目(i:整数)の位置における画素の画素値がa[i]と表されるとき、(k+1/2)番目(k:整数)の位置にある内挿画素の画素値を次のように求める。先ず、(数1)に従って、内挿画素の中間画素値「b」を求め、さらに、(数2)に従って規格化と飽和処理を行い、内挿画素の最終的な画素値として、画素値「c」を求める。   Briefly describing this, this 6-tap filter has tap coefficients {1, -5, 20, 20, -5, 1}, and for pixels lined up on a horizontal or vertical line on the reference picture, When the pixel value of the pixel at the i-th (i: integer) position is expressed as a [i], the pixel value of the interpolation pixel at the (k + 1/2) -th (k: integer) position is as follows: Ask for. First, the intermediate pixel value “b” of the interpolated pixel is obtained according to (Equation 1), and further, normalization and saturation processing are performed according to (Equation 2), and the pixel value “ c ".

図8は、参照ピクチャの画素、即ち整数精度の画素、1/2精度の内挿画素、及び、1/4精度の内挿画素の位置関係を示す図である(文献1:Figure 8−4)。同図において、円で囲まれた画素A〜Uは、整数精度の画素であり、四角で囲まれた画素b、h、j、m、s、aa〜hhは、1/2精度の画素であり、残りの四角で囲まれた画素a、c、d、e、f、g、i、k、n、p、q、rは、1/4精度の画素である。   FIG. 8 is a diagram showing the positional relationship between reference picture pixels, that is, integer precision pixels, half precision interpolation pixels, and quarter precision interpolation pixels (Reference 1: FIG. 8-4). ). In the same figure, pixels A to U surrounded by circles are pixels of integer precision, and pixels b, h, j, m, s, and aa to hh surrounded by squares are pixels of 1/2 precision. The pixels a, c, d, e, f, g, i, k, n, p, q, and r surrounded by the remaining squares are 1/4 precision pixels.

このとき、画素b、sの画素値は、それぞれの画素が位置する水平方向のライン上に並ぶ画素の画素値に対して、上述した6タップフィルタ処理を行うことで求められる。画素h、mの画素値は、それぞれの画素が位置する垂直方向のライン上に並ぶ画素の画素値に対して、上述した6タップフィルタ処理を行うことで求められる。また、画素jの画素値は、水平方向の6タップフィルタ処理により求められた6個の画素aa、bb、b、s、gg、hhの画素値に対して、垂直方向の6タップフィルタ処理を行うことで求められる。または、画素jの画素値は、フィルタ方向の順序を逆にして、垂直方向の6タップフィルタ処理により求められた6個の画素cc、dd、h、m、ee、ffの画素値に対して、水平方向の6タップフィルタを行うことでも求めることができる。   At this time, the pixel values of the pixels b and s are obtained by performing the above-described 6-tap filter processing on the pixel values of the pixels arranged on the horizontal line where the respective pixels are located. The pixel values of the pixels h and m are obtained by performing the above-described 6-tap filter processing on the pixel values of the pixels arranged on the vertical line where the respective pixels are located. The pixel value of the pixel j is obtained by subjecting the pixel values of the six pixels aa, bb, b, s, gg, and hh obtained by the horizontal six-tap filter processing to vertical six-tap filter processing. Required by doing. Alternatively, the pixel value of the pixel j is reversed with respect to the pixel values of the six pixels cc, dd, h, m, ee, and ff obtained by the 6-tap filter process in the vertical direction by reversing the order of the filter direction. It can also be obtained by performing a horizontal 6-tap filter.

1/4精度の画素の画素値は、隣接する1/2精度の画素或いは整数精度の画素の2つの画素値の平均より定められる。例として、画素aの画素値は、整数精度の画素Gの画素値と1/2精度の画素bの画素値との平均で求められ、画素eの画素値は、1/2精度の画素bの画素値と1/2精度の画素hの画素値との平均で求められ、画素fの画素値は、1/2精度の画素bの画素値と1/2精度の画素jの画素値との平均により求められる。   The pixel value of a ¼ precision pixel is determined from the average of two pixel values of adjacent ½ precision pixels or integer precision pixels. As an example, the pixel value of the pixel a is obtained by averaging the pixel value of the integer precision pixel G and the pixel value of the half precision pixel b, and the pixel value of the pixel e is the half precision pixel b. The pixel value of the pixel f is calculated by averaging the pixel value of the pixel h and the pixel value of the pixel h of the half precision. The average is obtained.

上述したような6タップフィルタによる内挿処理によって予測ピクチャを生成する場合、ある一つの内挿画素の画素値を求めるために、相当量の処理を必要とする。例えば、内挿画素が画素f、i、j、k、qの何れかであると、36個の整数精度の画素の画素値を対象に演算が行われる。そして、このような内挿処理は、予測ブロックに含まれる画素数分だけ必要であり、更にピクチャ間予測を行うブロック全てが対象となるため、この動き補償処理は、動画像の符号化処理または復号処理において膨大な演算量となる。   When a predicted picture is generated by interpolation processing using the 6-tap filter as described above, a considerable amount of processing is required to obtain the pixel value of one interpolation pixel. For example, if the interpolated pixel is one of the pixels f, i, j, k, and q, the calculation is performed on the pixel values of 36 integer precision pixels. Such interpolation processing is required for the number of pixels included in the prediction block, and all the blocks that perform inter-picture prediction are targets. Therefore, this motion compensation processing is performed by moving image encoding processing or In the decoding process, the calculation amount is enormous.

図9は、上述した6タップフィルタによって内挿画素の画素値を求める従来の画素内挿方法の一例を示すフローチャートである。以下、図9に示す従来の画素内挿方法について説明する。   FIG. 9 is a flowchart illustrating an example of a conventional pixel interpolation method for obtaining a pixel value of an interpolation pixel using the above-described 6-tap filter. Hereinafter, the conventional pixel interpolation method shown in FIG. 9 will be described.

ステップS0において画素内挿処理が開始されると、ステップS1において、変数「m」と変数「k」に初期値が与えられる。ここで、変数「k」は、参照ピクチャを構成する画素の画素値を格納した配列変数aから、対称となる参照画素の画素値を読み出すためのインデックスである。上述の図8との対応では、例えば、内挿画素bの画素値を求める場合については、変数「k」は、整数精度の画素Jを示している。変数「m」は、求める内挿画素の予測ブロック内の位置を示すインデックスである。変数「i」は、参照画素の画素値を読出す基準点を示すインデックスである。そして、それは、始めに求める内挿画素の左上に位置する整数画素を示し、図8上では、画素Gを示す。   When the pixel interpolation process is started in step S0, initial values are given to the variable “m” and the variable “k” in step S1. Here, the variable “k” is an index for reading the pixel value of the symmetric reference pixel from the array variable a that stores the pixel value of the pixel constituting the reference picture. In correspondence with FIG. 8 described above, for example, in the case of obtaining the pixel value of the interpolated pixel b, the variable “k” indicates the pixel J with integer precision. The variable “m” is an index indicating the position in the prediction block of the interpolated pixel to be obtained. The variable “i” is an index indicating a reference point for reading the pixel value of the reference pixel. And it shows the integer pixel located in the upper left of the interpolation pixel calculated | required initially, and shows the pixel G on FIG.

ステップS2において、参照範囲の端から5個の参照画素の画素値を読み出す。この処理は、始めの内挿画素の画素値を求める準備段階である。   In step S2, pixel values of five reference pixels are read from the end of the reference range. This process is a preparation stage for obtaining the pixel value of the first interpolated pixel.

ステップS3において、変数「k」に位置する参照画素の画素値を読み出す。   In step S3, the pixel value of the reference pixel located at the variable “k” is read.

ステップS4において、(数1)の演算を行い、内挿画素の中間画素値「b」を求める。   In step S4, the calculation of (Equation 1) is performed to obtain the intermediate pixel value “b” of the interpolated pixel.

ステップS5において、(数2)に従って、中間画素値「b」の規格化と飽和処理を行ない、内挿画素の画素値「c」を求める。規格化は、(数1)で求まった中間画素値「b
」を値「32」で割る。関数Clip(x)は、変数「x」が0〜255の範囲を超えた場合に、0〜255の範囲に抑える(クリップする)関数である。
In step S5, normalization and saturation processing of the intermediate pixel value “b” is performed according to (Equation 2) to obtain the pixel value “c” of the interpolated pixel. The normalization is the intermediate pixel value “b” obtained by (Equation 1).
Is divided by the value “32”. The function Clip (x) is a function that suppresses (clips) a range of 0 to 255 when the variable “x” exceeds the range of 0 to 255.

ステップS6において、ステップS5において求まった内挿画素の画素値「b」を出力する。   In step S6, the pixel value “b” of the interpolated pixel obtained in step S5 is output.

ステップS7において、次のループに備え、変数「m」と変数「k」をそれぞれ値「1」だけ増分する。   In step S7, the variable “m” and the variable “k” are respectively incremented by the value “1” in preparation for the next loop.

ステップS8において、生成された内挿画素の個数が規定の数「N」に達したかを判定する。判定結果が「No」(規定の数「N」に達していない)の場合は、制御をステップS3に戻し、ステップS3〜ステップS8を繰り返す。判定結果が「Yes」(規定の数「N」に達している)の場合は、制御をステップS9に移し、一連の画素内挿処理を終了する。   In step S8, it is determined whether the number of generated interpolation pixels has reached a prescribed number “N”. If the determination result is “No” (the specified number “N” has not been reached), the control is returned to step S3, and steps S3 to S8 are repeated. If the determination result is “Yes” (the predetermined number “N” has been reached), the control is moved to step S9, and the series of pixel interpolation processing is terminated.

上述の通り、図9のステップS3〜ステップS8から成るループ処理を1回処理する毎に1つの内挿画素の画素値が求められる。   As described above, the pixel value of one interpolated pixel is obtained every time the loop process including steps S3 to S8 in FIG. 9 is performed once.

図10は、従来の、6タップフィルタによる画素内挿装置のブロック図を示す。図10は、文献2(日本国特開平7−15734号公報)が開示するタップフィルタの構成を基に、上述した内挿処理に用いる6タップフィルタを構成したものである。図10に示すように、従来の画素内挿装置は、レジスタ(図中では、「R」と略記)1〜6、乗算部(同じく、「M」と略記)7〜10、加算部(同じく、「+」と略記)11、12、及び、クリッパー13を備える。レジスタ1〜6は、入力参照画素の画素値「a[k]」を入力とするシフトレジスタを構成している。   FIG. 10 shows a block diagram of a conventional pixel interpolation device using a 6-tap filter. FIG. 10 shows a 6-tap filter used for the interpolation processing described above, based on the configuration of the tap filter disclosed in Document 2 (Japanese Patent Laid-Open No. 7-15734). As shown in FIG. 10, the conventional pixel interpolation device includes registers (abbreviated as “R” in the drawing) 1 to 6, multiplication units (also abbreviated as “M”) 7 to 10, and addition units (also the same). , Abbreviated as “+”) 11, 12 and a clipper 13. The registers 1 to 6 constitute a shift register that receives the pixel value “a [k]” of the input reference pixel.

図10に示す従来の画素内挿装置の動作を以下に説明する。   The operation of the conventional pixel interpolation device shown in FIG. 10 will be described below.

レジスタ1〜6より成るシフトレジスタは、図中に示されないシフト制御信号によりシフト操作が行われ、入力される参照画素の画素値「a[k]」が順に受け渡されることで、各レジスタに連続する6個の参照画素の画素値が保持される。乗算部7〜10は、レジスタ2〜5に格納されている夫々の参照画素の画素値と、図中に示した所定の係数(乗算部7と乗算部10は、係数「−5」、乗算部8と乗算部9は、係数「20」)との乗算を行い、それぞれの積を求める。加算部11は、レジスタ1の値と、レジスタ6の値と、乗算部7〜10の積の値との加算を行い、総和を求める。加算部12は、加算部11で求めた総和に定数「16」を加算し、クリッパー13は、加算結果に対して、飽和処理を行い、内挿画素の画素値「c」を出力する。これにより、シフト制御信号に従って順々に参照画素の画素値が入力されることにより、連続する内挿画素の画素値「c」が、上述した(数1)と(数2)で示される6タップフィルタ処理によって求められる。   The shift register composed of the registers 1 to 6 is shifted by a shift control signal not shown in the drawing, and the pixel value “a [k]” of the input reference pixel is sequentially transferred to each register. Pixel values of six consecutive reference pixels are held. The multipliers 7 to 10 are the pixel values of the respective reference pixels stored in the registers 2 to 5 and the predetermined coefficient shown in the figure (the multiplier 7 and the multiplier 10 are multiplied by the coefficient “−5”. The unit 8 and the multiplication unit 9 perform multiplication with the coefficient “20”) to obtain respective products. The adder 11 adds the value of the register 1, the value of the register 6, and the product of the multipliers 7 to 10 to obtain a sum. The adder 12 adds a constant “16” to the sum obtained by the adder 11, and the clipper 13 performs a saturation process on the addition result and outputs a pixel value “c” of the interpolated pixel. As a result, the pixel value of the reference pixel is sequentially input in accordance with the shift control signal, so that the pixel value “c” of the consecutive interpolated pixels is expressed by the above-described (Equation 1) and (Equation 2). It is obtained by tap filter processing.

ここで、乗算部7から10は、乗数が所定の定数であることから、ビットシフト、加算、及び、符号反転で構成することができ、通常の乗算器よりも回路規模を小さくしている。   Here, the multipliers 7 to 10 can be configured by bit shift, addition, and sign inversion because the multiplier is a predetermined constant, and the circuit scale is smaller than that of a normal multiplier.

以上説明した、従来の画素内挿方法を適用した画素内挿装置においては、その演算量は、参照画素の画素値に係らず一定であり、画素値を考慮した演算量削減は行っておらず、ソフトウェア処理においての処理の高速化、画素内挿装置においての消費電力削減について一定の限界が存在していた。   In the pixel interpolation device to which the conventional pixel interpolation method described above is applied, the calculation amount is constant regardless of the pixel value of the reference pixel, and the calculation amount is not reduced considering the pixel value. There are certain limitations on the speeding up of software processing and the reduction of power consumption in pixel interpolation devices.

また、高速化の手法として、文献3(日本国特開200−190948号公報)が開示するように、乗算結果を保持するルックアップテーブルを用いることにより、演算負荷を低減する試みも成されているが、この手法では、ルックアップテーブルを設けることにより、回路規模が増大するという課題が存在する。 Further, as a method of speeding, as Document 3 (Japanese Patent 200 2 -190 948 JP) is disclosed, by using a look-up table for holding a multiplication result, even made an attempt to reduce the computational load However, in this method, there is a problem that the circuit scale increases by providing a lookup table.

以上説明したように、従来の画素内挿方法及び画素内挿装置においては、次の課題に対して十分に対応できない。   As described above, the conventional pixel interpolation method and pixel interpolation device cannot sufficiently cope with the following problems.

すなわち、動画像の高画質化のための、高精細化およびフレームレート増加の要求に答えるためには、単位時間当たりに処理する画素数を増さなければならないが、従来技術では、処理速度に一定の限界があり、動き補償の高速化が困難である。   In other words, in order to respond to the demand for higher definition and increased frame rate for higher quality of moving images, the number of pixels processed per unit time must be increased. There is a certain limit and it is difficult to speed up motion compensation.

また、このような画素内挿処理を伴う動画像の符号化・復号技術が、携帯電話などの携帯機器に利用される場合においては、容量の限られた電池より電源供給を受けるため、消費電力の低減も重要な課題である。
特開平7−15734号公報 特開2002−190948号公報 Joint Video Team (JVT) of ISO/IEC MPEG & ITU−T VCEG; ”Draft ITU−T Recommendation and Final Draft International Standard of Joint Video Specification (ITU−T Rec. H.264|ISO/IEC 14496−10 AVC)”、8.4.2.2節
In addition, when such a moving image encoding / decoding technique involving pixel interpolation processing is used in a mobile device such as a mobile phone, power is supplied from a battery with limited capacity. Reduction is also an important issue.
JP 7-15734 A JP 2002-190948 A Joint Video Team (JVT) of ISO / IEC MPEG & ITU-T VCEG; ”, 8.4.2.2

そこで本発明は、画素内挿処理の高速化、及び、低消費電力化を可能とする画像内挿方法及び画素内挿装置を提供することを目的とする。   SUMMARY OF THE INVENTION An object of the present invention is to provide an image interpolation method and a pixel interpolation device that enable high-speed pixel interpolation processing and low power consumption.

第1の発明に係る画素内挿方法は、タップフィルタ処理による画素内挿方法であって、2つの参照画素からなる隣接画素対の画素値の和を求める加算ステップと、隣接画素対の画素値の差を求める減算ステップと、画素値の差の絶対値が特定値以下であるかを判定する判定ステップと、画素値の和の値に第1の係数を掛けて第1の積を求める第1の乗算ステップとを含む。判定ステップにおいて、画素値の差の絶対値が特定値を超えると判定された場合は、画素値の差の値に複数の第2の係数を掛けて複数の第2の積を求める第2の乗算ステップと、連続する複数の内挿画素のそれぞれに対応して設けられた、複数のレジスタのそれぞれの値に対して、第1の積と複数の第2の積とを加算または減算して、複数の内挿画素のそれぞれの内挿画素値となる値を累積加算する第1の加減算ステップをさらに含む。判定ステップにおいて、画素値の差の絶対値が特定値以下であると判定された場合は、複数のレジスタのうちの対応するレジスタの値に対して、第1の積を加算または減算して、複数の内挿画素のそれぞれの内挿画素値となる値を累積加算する第2の加減算ステップをさらに含む。 The pixel interpolation method according to the first aspect of the present invention is a pixel interpolation method by tap filter processing, in which an addition step for obtaining a sum of pixel values of an adjacent pixel pair composed of two reference pixels and a pixel value of the adjacent pixel pair A subtraction step for obtaining a difference between the pixel values, a determination step for determining whether the absolute value of the difference between the pixel values is equal to or less than a specific value, and a first product for multiplying the sum of the pixel values by a first coefficient to obtain a first product. 1 multiplication step. In the determination step, when it is determined that the absolute value of the pixel value difference exceeds the specific value, the second value is obtained by multiplying the difference value of the pixel value by a plurality of second coefficients to obtain a plurality of second products. A first step and a plurality of second products are added to or subtracted from each value of a plurality of registers provided corresponding to each of a plurality of consecutive interpolation pixels. The method further includes a first addition / subtraction step of accumulatively adding values to be the interpolation pixel values of the plurality of interpolation pixels. In the determination step, when it is determined that the absolute value of the difference between the pixel values is equal to or less than the specific value, the first product is added to or subtracted from the corresponding register value of the plurality of registers, It further includes a second addition / subtraction step of accumulating and adding values that are the interpolation pixel values of the plurality of interpolation pixels.

この構成によれば、隣接画素対の画素値の差の絶対値がある特定値以下である場合は、これらの隣接画素の画素値の差に関係する第2の乗算ステップの処理と、レジスタに対する第2の積の加算または減算の処理を省略する、画素内挿方法を提供できる。従って、画素内挿処理を、省略した処理の分だけ高速に実行できる。   According to this configuration, when the absolute value of the difference between the pixel values of the adjacent pixel pair is equal to or smaller than a specific value, the processing of the second multiplication step related to the difference between the pixel values of these adjacent pixels and the register It is possible to provide a pixel interpolation method that omits the addition or subtraction process of the second product. Accordingly, the pixel interpolation process can be executed at high speed by the omitted process.

第2の発明に係る画素内挿方法では、加算ステップと、減算ステップと、判定ステップと、第1の乗算ステップと、第2の乗算ステップと、第1の加減算ステップと、第2の加減
算ステップとを、隣接画素対と異なる複数の隣接画素対に対して繰返し実行し、複数の内挿画素のそれぞれの内挿画素値を得る。
In the pixel interpolation method according to the second invention, an addition step, a subtraction step, a determination step, a first multiplication step, a second multiplication step, a first addition / subtraction step, and a second addition / subtraction step Are repeatedly executed for a plurality of adjacent pixel pairs different from the adjacent pixel pair to obtain respective interpolation pixel values of the plurality of interpolation pixels.

この構成によれば、ブロック内の複数の内挿画素に対して、それぞれの画素値を一連の処理によって求めることができる。   According to this configuration, each pixel value can be obtained by a series of processes for a plurality of interpolated pixels in the block.

第3の発明に係る画素内挿方法では、特定値は、隣接画素対のそれぞれの画素値を2進表示した時の最下位ビットが示す値以下である。 In the pixel interpolation method according to the third aspect of the invention , the specific value is less than or equal to the value indicated by the least significant bit when each pixel value of the adjacent pixel pair is displayed in binary.

この構成によれば、隣接画素対の画素値の差の絶対値が、値「0」あるいは、画素値を2進表示した時の最下位ビットが示す値以下の時に、これらの隣接画素の画素値の差に関係する第2の乗算ステップの処理と、レジスタに対する第2の積の加算または減算の処理を省略する、画素内挿方法を提供できる。   According to this configuration, when the absolute value of the difference between the pixel values of the adjacent pixel pair is equal to or less than the value “0” or the value indicated by the least significant bit when the pixel value is displayed in binary, the pixels of these adjacent pixels It is possible to provide a pixel interpolation method that omits the processing of the second multiplication step related to the value difference and the processing of adding or subtracting the second product to the register.

第4の発明に係る画素内挿方法では、第1の係数と複数の第2の係数は2の冪乗の係数であって、第1の乗算ステップでは、画素値の和の値を第1の係数の冪指数分だけビットシフトし、第2の乗算ステップでは、画素値の差の値を複数の第2の係数のそれぞれの冪指数分だけビットシフトする。 In the pixel interpolation method according to the fourth aspect of the present invention , the first coefficient and the plurality of second coefficients are powers of 2. In the first multiplication step, the sum of the pixel values is set to the first value. In the second multiplication step, the difference value of the pixel values is bit-shifted by the power exponent of each of the plurality of second coefficients.

この構成によれば、通常の乗算器よりも高速に乗算演算を実行できる。   According to this configuration, the multiplication operation can be executed faster than a normal multiplier.

第5の発明に係る画素内挿方法では、タップフィルタ処理におけるタップ係数は、{1、−5、20、20、−5、1}で与えられ、タップ係数による演算を、
b[k]=((a[k−2]−a[k−1])−4*(a[k−1]−a[k])+16*(a[k]+a[k+1])+4*(a[k+1]−a[k+2])−(a[k+2]−a[k+3]))/32
の式に基づいて行う。
In the pixel interpolation method according to the fifth aspect of the present invention, the tap coefficient in the tap filter processing is given by {1, -5, 20, 20, -5, 1},
b [k] = ((a [k-2] -a [k-1])-4 * (a [k-1] -a [k]) + 16 * (a [k] + a [k + 1]) + 4 * (A [k + 1] -a [k + 2])-(a [k + 2] -a [k + 3])) / 32
Based on the formula of

この構成によれば、H.264|MPEG−4 AVCに準拠した画素内挿処理を実行できる。   According to this configuration, the H.264 H.264 | MPEG-4 AVC compliant pixel interpolation processing can be executed.

第6の発明に係る画素内挿方法では、画素値a[k]を読み出す第1のステップと、画素値a[k]と第1のレジスタに記憶されている隣接画素の画素値a[k−1]との差と和とを求め、差の値を第2のレジスタに格納し、和の値を4ビット左シフトして第3のレジスタに加える第2のステップと、差の絶対値が特定値以下であるかを判定する第3のステップとを含み、第3のステップにおいて、差の絶対値が特定値を超えると判定された場合、第4のレジスタの値から第2のレジスタの値を減じる第4のステップと、第2のレジスタの値を2ビット左シフトした値を第5のレジスタに加え、第6のレジスタから減じる第5のステップと、k番目の位置の画素の内挿画素値として、第4のレジスタの値を読み出し、画素値a[k]を第1のレジスタへ格納する第6のステップをさらに含むループ処理を行い、第3のステップにおいて、差の絶対値が特定値以下であると判定された場合、第6のステップを含むループ処理を行う In the pixel interpolation method according to the sixth aspect of the present invention, the first step of reading the pixel value a [k], the pixel value a [k] and the pixel value a [k] of the adjacent pixel stored in the first register −1], the difference value is stored in the second register, the sum value is shifted left by 4 bits and added to the third register, and the absolute value of the difference A third step of determining whether or not is less than or equal to a specific value, and in the third step, if it is determined that the absolute value of the difference exceeds the specific value, the second register is changed from the value of the fourth register A fifth step of subtracting the value of the second register, a value obtained by shifting the value of the second register left by 2 bits to the fifth register, a fifth step of subtracting from the sixth register, and a pixel of the kth position As the interpolated pixel value, the value of the fourth register is read, and the pixel value a [k] is set to the first value. Loops through further comprising a sixth step of storing the register, in a third step, when the absolute value of the difference is determined to be less than a specific value, it performs a loop process including a sixth step of.

この構成によれば、H.264|MPEG−4 AVCに準拠し、タップ係数が、{1、−5、20、20、−5、1}で与えられた画素内挿処理を効率よく、かつ簡単に実行できる。   According to this configuration, the H.264 In accordance with the H.264 | MPEG-4 AVC, it is possible to efficiently and easily execute the pixel interpolation process in which the tap coefficients are given by {1, -5, 20, 20, -5, 1}.

第7の発明に係る画素内挿装置は、2つの画素からなる隣接画素対の画素値の和を求める加算部と、隣接画素対の画素値の差を求める減算部と、画素値の差の絶対値が特定値以下であるかを判定する判定部と、複数のレジスタと、画素値の和の値に所定の係数を掛ける第1の乗算部と、画素値の差の値に所定の係数を掛ける第2の乗算部と、減算部が求めた画素値の差の値または第1の乗算部と第2の乗算部が求めた乗算結果を、複数のレジスタのそれぞれのレジスタの値に対して、加算または減算して、それぞれのレジスタの後段のレジスタへ渡す、複数の加減算部を備える。判定部が、画素値の差の絶対値が特定値以下であると判定した場合は、判定部は、画素値の差の絶対値が特定値以下であると判定された隣接画素対に係る演算を実行しないように、第2の乗算部と複数の加減算部を制御する。 According to a seventh aspect of the present invention, there is provided a pixel interpolation device, an adder that calculates a sum of pixel values of an adjacent pixel pair composed of two pixels, a subtractor that calculates a difference between pixel values of adjacent pixel pairs, A determination unit that determines whether the absolute value is equal to or less than a specific value, a plurality of registers, a first multiplication unit that multiplies a sum of pixel values by a predetermined coefficient, and a predetermined coefficient for a difference value of the pixel values A difference value between pixel values obtained by the second multiplication unit and the subtraction unit or multiplication results obtained by the first multiplication unit and the second multiplication unit with respect to the respective register values of the plurality of registers. In addition, a plurality of addition / subtraction units that add or subtract and pass to each subsequent register of each register are provided. When the determination unit determines that the absolute value of the pixel value difference is equal to or less than the specific value, the determination unit performs an operation related to the adjacent pixel pair that is determined to have the absolute value of the pixel value difference equal to or less than the specific value. The second multiplication unit and the plurality of addition / subtraction units are controlled so as not to execute.

この構成によれば、隣接画素対の画素値の差の絶対値がある特定値以下である場合は、これらの隣接画素の画素値の差に関係する第2の乗算部の乗算処理、及び、複数の加減算部の加減算処理を省略する、画素内挿装置を提供できる。従って、この構成による画素内挿装置を用いれば、演算量の削減に伴い、消費電力を低く抑えつつ、動き補償における予測ピクチャの生成の高速化に行える。   According to this configuration, when the absolute value of the difference between the pixel values of the adjacent pixel pair is equal to or less than a specific value, the multiplication process of the second multiplication unit related to the difference between the pixel values of these adjacent pixels, and It is possible to provide a pixel interpolation device that omits addition / subtraction processing of a plurality of addition / subtraction units. Therefore, by using the pixel interpolation device having this configuration, it is possible to increase the speed of generation of a predicted picture in motion compensation while reducing power consumption as the amount of calculation is reduced.

本発明によれば、電力消費を低減しつつ、処理速度の向上を図った画素内挿方法及び画素内挿装置を実現でき、この画素内挿装置は、動画像の予測符号化における動き補償等の用途、あるいは、画像の拡大または縮小時の画素生成等の用途にも応用できる。   According to the present invention, it is possible to realize a pixel interpolation method and a pixel interpolation device that improve the processing speed while reducing power consumption. This pixel interpolation device can perform motion compensation in predictive coding of moving images. The present invention can also be applied to applications such as pixel generation during image enlargement or reduction.

次に、図面を参照しながら、本発明の実施の形態を説明する。   Next, embodiments of the present invention will be described with reference to the drawings.

(実施の形態1)
図1は、本発明の実施の形態1における画素内挿方法のフローチャートである。
図1に示すフローチャートは、本形態の画素内挿方法の一例である。図2は、本発明の実施の形態1における画素内挿方法を説明する説明図である。
(Embodiment 1)
FIG. 1 is a flowchart of a pixel interpolation method according to Embodiment 1 of the present invention.
The flowchart shown in FIG. 1 is an example of the pixel interpolation method of this embodiment. FIG. 2 is an explanatory diagram for explaining a pixel interpolation method according to Embodiment 1 of the present invention.

先ず、本発明者が本形態の画素内挿方法を考案するに至った、基本的事項を説明する。   First, the basic matters that led the inventors to devise the pixel interpolation method of this embodiment will be described.

本形態の画素内挿方法によって求められる内挿画素の画素値は、参照ピクチャの画素の画素値に対して、タップ係数{1、−5、20、20、−5、1}を有する6タップフィルタによるフィルタ処理を行うことによって求められる。これは、参照ピクチャの水平方向あるいは垂直方向のある一つのライン上の画素について、k番目の位置にある整数精度の画素の画素値をa[k]としたとき、(k)番目の画素と(k+1)番目の画素の間の位置(k+1/2)にある1/2精度の内挿画素の画素値「c」は、(数1)によって中間画素値「b」を求め、その値を(数2)にしたがって、規格化と飽和処理することによって求められることを示している。   The pixel value of the interpolation pixel obtained by the pixel interpolation method of the present embodiment is 6 taps having tap coefficients {1, -5, 20, 20, -5, 1} with respect to the pixel value of the pixel of the reference picture. It is calculated | required by performing the filter process by a filter. This is because, with respect to pixels on one line in the horizontal direction or vertical direction of the reference picture, when the pixel value of an integer-precision pixel at the kth position is a [k], The pixel value “c” of the half-precision interpolated pixel located at the position (k + 1/2) between the (k + 1) -th pixels is obtained as an intermediate pixel value “b” by (Equation 1), It shows that it is obtained by normalization and saturation processing according to (Equation 2).

(数1)の右辺は、(数3)に示すように、隣接する参照画素の画素値の差である、(a[k−2]−a[k−1])、(a[k−1]−a[k])、(a[k+1]−a[k+2])、(a[k+2]−a[k+3])と、隣接する参照画素の画素値の和である(a[k]+a[k+1])を持つ項の和の形式に置き換えることができる。   As shown in (Expression 3), the right side of (Expression 1) is the difference between the pixel values of adjacent reference pixels (a [k−2] −a [k−1]), (a [k− 1] −a [k]), (a [k + 1] −a [k + 2]), (a [k + 2] −a [k + 3]) and the sum of the pixel values of adjacent reference pixels (a [k] + A [k + 1]) can be replaced with the sum form of terms.

さらに、(数3)の形式に置き換えたことで、隣接画素の画素値の差に対する乗算の係数は、それぞれ、係数「1」、「−4」、「4」、「−1」となり、隣接画素の画素値の和に対する乗算の係数は、係数「16」となる。この結果、係数「4」、「16」による乗算は、それぞれが2の2乗、2の4乗であることから、それぞれ2ビットと4ビットの左ビットシフト演算に置き換えることができる。従って、(数3)は、(数4)に書き換えられる。   Furthermore, by replacing with the form of (Equation 3), the coefficients of multiplication with respect to the difference between the pixel values of adjacent pixels are coefficients “1”, “−4”, “4”, and “−1”, respectively. The coefficient of multiplication for the sum of the pixel values of the pixels is the coefficient “16”. As a result, the multiplications by the coefficients “4” and “16” are 2 2 and 2 4, respectively, and can be replaced with 2-bit and 4-bit left bit shift operations, respectively. Therefore, (Equation 3) is rewritten to (Equation 4).

ここで、演算子「<<」は、左ビットシフト演算を示している。   Here, the operator “<<” indicates a left bit shift operation.

さらに、(数2)の式中の値「32」による除算は、値「32」が2の5乗であることから、5ビットの右ビットシフト演算に置き換えることができる。従って、(数2)は、(数5)ように書き換えられる。   Further, the division by the value “32” in the equation (Equation 2) can be replaced with a 5-bit right bit shift operation since the value “32” is 2 to the fifth power. Therefore, (Equation 2) is rewritten as (Equation 5).

ここで、演算子「>>」は、右ビットシフト演算を示している。   Here, the operator “>>” indicates a right bit shift operation.

この結果、(数4)で求まった中間画素値「b」を用いて、(数5)により、内挿画素の画素値「c」が求まる。   As a result, the pixel value “c” of the interpolated pixel is obtained by (Equation 5) using the intermediate pixel value “b” obtained by (Equation 4).

このように、内挿画素の画素値を求める(数1)と(数2)を、(数4)と(数5)の形式に変換することにより、係数による乗算部分と除算部分が、それぞれビットシフト演算1回で済むことから、演算を軽くすることが可能である。   In this way, by converting (Equation 1) and (Equation 2) to obtain the pixel value of the interpolated pixel into the form of (Equation 4) and (Equation 5), the multiplication part and the division part by the coefficient are respectively Since only one bit shift operation is required, the operation can be lightened.

以上の考察の結果、本形態の画素内挿方法では、演算項が隣接画素の画素値の差と和から成る(数4)の形式に基づいて、画素内挿の処理が進められる。   As a result of the above considerations, in the pixel interpolation method of the present embodiment, the pixel interpolation process proceeds based on the form of (Expression 4) in which the calculation term is composed of the difference and sum of the pixel values of adjacent pixels.

以下、図1と図2を参照して、本形態の画素内挿方法を説明する。   Hereinafter, the pixel interpolation method of this embodiment will be described with reference to FIGS. 1 and 2.

図2に示す表において、表中の値は(数3)の右辺の各項の係数を表し、行は参照する隣接画素の画素値の組みを表し、列は求める内挿画素の中間画素値を表している。   In the table shown in FIG. 2, the values in the table represent the coefficients of the respective terms on the right side of (Equation 3), the rows represent combinations of pixel values of adjacent pixels to be referenced, and the columns represent intermediate pixel values of the interpolated pixels to be obtained. Represents.

内挿画素の画素値の計算は、求める内挿画素の画素値の属する列に沿って行われる。先ず、表中の係数「16」の演算の場合は、その係数と同じ行に属する隣接画素の2つの画素値の和との積を求める。係数「16」以外の係数「1」、「−4」、「4」、「−1」の演算の場合は、それぞれの係数と同じ行に属する隣接画素の2つの画素値の差との積を求める。続いて、これらの積を列方向に積算することで、内挿画素の中間画素値「b」が求められる。   The calculation of the pixel value of the interpolated pixel is performed along the column to which the pixel value of the interpolated pixel to be obtained belongs. First, in the case of the calculation of the coefficient “16” in the table, the product of the coefficient and the sum of two pixel values of adjacent pixels belonging to the same row is obtained. In the case of calculation of coefficients “1”, “−4”, “4”, and “−1” other than the coefficient “16”, the product of each coefficient and the difference between two pixel values of adjacent pixels belonging to the same row Ask for. Subsequently, an intermediate pixel value “b” of the interpolated pixel is obtained by integrating these products in the column direction.

一例を挙げると、内挿画素の中間画素値b[m+3]について、列を上から順番に見て行き、初めの係数「1」の演算では、値「a[k−2]−a[k−1]」が与えられ、次の係数「−4」の演算では、値「−4*(a[k−1]−a[k])」が加算され、係数「16」の演算では、値「16*(a[k]+a[k+1])」が加算され、係数「4」
の演算では、値「4*(a[k+1]−a[k+2])」が加算され、係数「−1」の演算では、値「−(a[k+2]−a[k+3])」が加算される。以上の演算から求められる結果は、(数3)と同一になる。
As an example, for the intermediate pixel value b [m + 3] of the interpolated pixel, the column is viewed in order from the top, and in the first calculation of the coefficient “1”, the value “a [k−2] −a [k −1] ”, the value“ −4 * (a [k−1] −a [k]) ”is added in the next calculation of the coefficient“ −4 ”, and in the calculation of the coefficient“ 16 ”, The value “16 * (a [k] + a [k + 1])” is added to the coefficient “4”.
In the calculation of “4 * (a [k + 1] −a [k + 2])”, the value “− (a [k + 2] −a [k + 3])” is added in the calculation of the coefficient “−1”. Is done. The result obtained from the above calculation is the same as (Equation 3).

図1に示す本形態の画素内挿方法のフローチャートにおいて、フローは、ステップS13からステップS24までを一連の処理とするループ構造を有し、このループ一回の処理が、図2に示す表の一行分の処理に相当している。   In the flowchart of the pixel interpolation method of the present embodiment shown in FIG. 1, the flow has a loop structure in which a series of processes from step S13 to step S24 is performed, and this one-time process is shown in the table of FIG. This corresponds to one line of processing.

例えば、図2の表において、隣接画素対をなす2つの画素、すなわち、位置「k−1」の画素の画素値a[k−1]と位置「k」の画素の画素値a[k]が属する行(表中の破線で囲まれた行)の処理を例に説明すると、以下のようになる。すなわち、位置「k」の画素の画素値a[k]を読み出し、すでに読み出している位置「k−1」の画素の画素値a[k−1]との差分(a[k−1]−a[k])を求め、中間画素値b[m]に対してこの差分を減じ、中間画素値b[m+1]に対してこの差分の4倍の値を加え、中間画素値b[m+2]に対して位置「k−1」の画素と位置「k」の画素の両画素値の和(a[k−1]+a[k])の16倍の値を加え、中間画素値b[m+3]に対して上記の差分の4倍の値を減じ、中間画素値b[m+4]に対して上記の差分を加える。   For example, in the table of FIG. 2, the pixel value a [k−1] of the pixel at the position “k−1” and the pixel value a [k] of the pixel at the position “k” are formed as two pixels forming an adjacent pixel pair. An example of the processing of a row to which the symbol belongs (a row surrounded by a broken line in the table) is as follows. That is, the pixel value a [k] of the pixel at the position “k” is read out, and the difference (a [k−1] −) from the pixel value a [k−1] of the pixel at the position “k−1” that has already been read out. a [k]), the difference is subtracted from the intermediate pixel value b [m], and a value four times the difference is added to the intermediate pixel value b [m + 1] to obtain the intermediate pixel value b [m + 2]. 16 times the sum (a [k−1] + a [k]) of both pixel values of the pixel at the position “k−1” and the pixel at the position “k” is added to the intermediate pixel value b [m + 3 ] Is subtracted by four times the above difference, and the above difference is added to the intermediate pixel value b [m + 4].

以上説明した処理を、図1を参照して、さらに詳しく述べる。   The processing described above will be described in more detail with reference to FIG.

図1のステップS10において、画素内挿処理が始まる。   In step S10 of FIG. 1, pixel interpolation processing starts.

ステップS11において、変数「k」と変数「m」に初期値が与えられる。   In step S11, initial values are given to the variable “k” and the variable “m”.

ステップS12において、プロローグ処理としてループ処理開始前の処理を行う。   In step S12, processing before the start of loop processing is performed as prolog processing.

ステップS13において、位置「k」の画素の画素値a[k]を読み出す。ここで、位置「k」の画素に隣接する位置「k−1」の画素の画素値a[k−1]は、前ループの処理で既に読み出されており、その値が保持されている。或いは、この処理が第1回目のループ処理の場合には、画素値a[k−1]は、ステップS12のプロローグ処理で既に読み出されており、その値が保持されている。   In step S13, the pixel value a [k] of the pixel at the position “k” is read out. Here, the pixel value a [k−1] of the pixel at the position “k−1” adjacent to the pixel at the position “k” has already been read out by the processing of the previous loop, and the value is retained. . Alternatively, when this processing is the first loop processing, the pixel value a [k−1] has already been read out by the prologue processing in step S12, and the value is held.

ステップS14において、画素値a[k−1]と画素値a[k]の和を4ビット左シフトした値(即ち、16倍した値)を中間画素値b[m+2]に加える。これは、図2に示す表中の破線で囲まれた行の係数「16」に関する処理に相当する。   In step S14, a value obtained by shifting the sum of the pixel value a [k−1] and the pixel value a [k] by 4 bits to the left (that is, a value multiplied by 16) is added to the intermediate pixel value b [m + 2]. This corresponds to the processing related to the coefficient “16” in the row surrounded by the broken line in the table shown in FIG.

ステップS15において、画素値a[k−1]と画素値a[k]の差(a[k−1]−a[k])を求め、中間画素値b[m+4]を置換する。これは、図2に示す表中の破線で囲まれた行の係数「1」に関する処理に相当する。   In step S15, a difference (a [k-1] -a [k]) between the pixel value a [k-1] and the pixel value a [k] is obtained, and the intermediate pixel value b [m + 4] is replaced. This corresponds to the processing related to the coefficient “1” in the row surrounded by the broken line in the table shown in FIG.

ステップS16において、隣接画素の画素値の差の絶対値(|a[k−1]−a[k]|)(すなわち、|b[m+4]|)が特定値「b0」以下であるかどうかを判定する。   Whether or not the absolute value (| a [k−1] −a [k] |) (that is, | b [m + 4] |) of the difference between the pixel values of adjacent pixels is equal to or less than the specific value “b0” in step S16 Determine.

ステップS16の判定結果が、「Yes」(差は特定値以下)の場合は、ステップS17からステップS20の処理をスキップして、制御をステップS21に移す。判定結果が、「No」(差は特定値を超える)の場合は、制御をステップS17に移す。   If the determination result in step S16 is “Yes” (difference is equal to or less than a specific value), the process from step S17 to step S20 is skipped, and the control is transferred to step S21. If the determination result is “No” (the difference exceeds a specific value), the control is moved to step S17.

ステップS17において、中間画素値b[m]から隣接画素の画素値の差(a[k−1]−a[k])(すなわち、b[m+4])を減じ、これにより内挿画素の中間画素値b[m]が定まる。これは、図2に示す表中の破線で囲まれた行の係数「−1」に関する処理に相当する。   In step S17, the difference (a [k-1] -a [k]) (that is, b [m + 4]) of the pixel values of adjacent pixels is subtracted from the intermediate pixel value b [m], thereby the intermediate pixel value is interpolated. Pixel value b [m] is determined. This corresponds to the processing related to the coefficient “−1” in the row surrounded by the broken line in the table shown in FIG.

ステップS18において、レジスタrに隣接画素の画素値の差を2ビット左シフトした値、即ち4倍した値を格納する。   In step S18, a value obtained by shifting the difference between the pixel values of adjacent pixels by 2 bits to the left, that is, a value multiplied by 4 is stored in the register r.

ステップS19において、中間画素値b[m+1]へレジスタrの値を加える。これは、図2に示す表中の破線で囲まれた行の係数「4」に関する処理に相当する。   In step S19, the value of the register r is added to the intermediate pixel value b [m + 1]. This corresponds to the processing related to the coefficient “4” in the row surrounded by the broken line in the table shown in FIG.

ステップS20において、中間画素値b[m+3]からレジスタrの値を減じる。これは、図2に示す表中の破線で囲まれた行の係数「−4」に関する処理に相当する。   In step S20, the value of the register r is subtracted from the intermediate pixel value b [m + 3]. This corresponds to the processing related to the coefficient “−4” in the row surrounded by the broken line in the table shown in FIG.

以上のステップS13からステップS20の処理により、図2に示す表中の破線で囲まれた行に属する処理が行われたことになる。   Through the processes from step S13 to step S20, the process belonging to the line surrounded by the broken line in the table shown in FIG. 2 is performed.

ステップS21において、中間画素値b[m]の規格化処理と、飽和処理を行い、画素値c[m]を得る。   In step S21, normalization processing and saturation processing of the intermediate pixel value b [m] are performed to obtain a pixel value c [m].

ステップS22において、画素値c[m]を出力する。   In step S22, the pixel value c [m] is output.

ステップS23において、次のループに備え、変数「m」と変数「k」をそれぞれ値「1」だけ増分する。   In step S23, the variable “m” and the variable “k” are respectively incremented by the value “1” in preparation for the next loop.

ステップS24において、一連のループ処理が終了したかどうかを判定する。判定結果が「No」(ループ処理が未終了)の場合は、制御をステップS13に戻し、ステップS13からステップS24までのループ処理を繰り返す。判定結果が「Yes」(ループ処理が終了)の場合は、制御をステップ25に進める。   In step S24, it is determined whether a series of loop processing has been completed. If the determination result is “No” (loop processing is not completed), the control is returned to step S13, and the loop processing from step S13 to step S24 is repeated. If the determination result is “Yes” (the loop process ends), the control proceeds to step 25.

ステップS25において、エピローグ処理として、残された処理を行い、ステップS26に移って、一連の画素内挿処理を終了する。   In step S25, the remaining process is performed as the epilogue process, the process proceeds to step S26, and the series of pixel interpolation processes is terminated.

以上説明したように、本形態の画素内挿方法では、隣接画素の画素値の差分の絶対値がある特定値以下である場合は、この差分に関する項の演算が行われないように、図1のステップS17からステップS20の処理をスキップする。この結果、画素内挿処理に必用な演算量が削減され、画素内挿処理の高速化が可能となる。更に、演算量が削減されることにより演算に要する電力が低減される効果も期待される。   As described above, in the pixel interpolation method of the present embodiment, when the absolute value of the difference between the pixel values of adjacent pixels is equal to or smaller than a specific value, the calculation of the term relating to this difference is not performed. Steps S17 to S20 are skipped. As a result, the amount of calculation necessary for the pixel interpolation process is reduced, and the pixel interpolation process can be speeded up. Furthermore, an effect of reducing the power required for calculation by reducing the amount of calculation is also expected.

特定値「b0」は、例えば、処理する画素の画素値を2進表示した時の最下位ビットが示す値とする。あるいは、ゼロに近い値、すなわち、ノイズレベルの値を特定値「b0」として設定すればよい。   The specific value “b0” is, for example, a value indicated by the least significant bit when the pixel value of the pixel to be processed is displayed in binary. Alternatively, a value close to zero, that is, a noise level value may be set as the specific value “b0”.

あるいは、簡単に、特定値b0=0として、ステップS16において、差(a[k−1]−a[k])がゼロかどうかを判定しても良い。   Alternatively, the specific value b0 = 0 may be simply set, and in step S16, it may be determined whether the difference (a [k−1] −a [k]) is zero.

本形態の画素内挿方法を動画像圧縮符号化に適用した場合、動画像圧縮符号化の性質上、低いビットレートにおいては、画像の高周波成分が除かれるため隣接画素の画素値の差分がゼロになる隣接画素の組合せが多く発生し、上述したスキップ処理の効果がより顕著になることが期待できる。   When the pixel interpolation method of this embodiment is applied to moving image compression coding, the difference between the pixel values of adjacent pixels is zero because the high frequency components of the image are removed at low bit rates due to the nature of moving image compression coding. It can be expected that there are many combinations of adjacent pixels, and the effect of the skip processing described above becomes more remarkable.

さらに、本形態の画素内挿方法では、内挿画素の画素値を求めるにあたって、1回のループ処理によって、一つの画素の画素値を読出し、一つの隣接画素の画素値との差と和を
求め、その差と和に関する演算を行う。そして、ループ処理を繰り返すことによって、連続した内挿画素の画素値を、重複した演算を行うことなく、効率的に求めている。従って、本形態の画素内挿方法は、内挿画素の画素値を求めるために、(数3)あるいは(数4)を毎回計算する従来技術の場合と比較して、重複した計算を回避しているために、きわめて効率的であり、その結果、画素内挿処理の高速化を実現できる。
Furthermore, in the pixel interpolation method of this embodiment, when obtaining the pixel value of the interpolated pixel, the pixel value of one pixel is read out by a single loop process, and the difference and sum of the pixel values of one adjacent pixel are calculated. Find the difference and sum. Then, by repeating the loop processing, the pixel values of consecutive interpolated pixels are efficiently obtained without performing overlapping calculations. Therefore, the pixel interpolation method according to the present embodiment avoids redundant calculation as compared with the conventional technique in which (Equation 3) or (Equation 4) is calculated every time in order to obtain the pixel value of the interpolation pixel. Therefore, it is extremely efficient, and as a result, the pixel interpolation process can be speeded up.

ここで、特に注意を喚起したいことは、上述した本形態の画素内挿方法の効果は、単に、(数1)を(数3)あるいは(数4)の形に変換しただけで得られるものではなく、図1のフローチャートに従って実施される、本形態の画素内挿方法による画素内挿処理の構成によって、初めて得られるものであるという点である。   Here, what we want to call attention to is that the effect of the above-described pixel interpolation method of the present embodiment can be obtained by simply converting (Equation 1) into (Equation 3) or (Equation 4). Instead, it is obtained for the first time by the configuration of the pixel interpolation processing according to the pixel interpolation method of the present embodiment, which is performed according to the flowchart of FIG.

また、(数3)の各項の係数は2の冪乗であり、各乗算は、(数4)に示されるように、ビットシフト演算に置き換えて処理できることも、本形態の画素内挿方法が高速化処理を実現していることに、寄与している。   In addition, the coefficient of each term of (Equation 3) is a power of 2, and each multiplication can be processed by replacing with a bit shift operation as shown in (Equation 4). Contributes to realizing high-speed processing.

なお、図1に示したフローチャートは、本発明の実施における一例であり、フローの制御構造や各処理ステップの順序などは、図1に限定されるものでなく、(数3)あるいは(数4)に基づいた処理に従って、適宜変更されてもよい。   The flow chart shown in FIG. 1 is an example in the implementation of the present invention, and the flow control structure and the order of each processing step are not limited to those in FIG. ) May be changed as appropriate according to the processing based on.

(実施の形態2)
図3は、本発明の実施の形態2における画素内挿装置のブロック図である。本形態の画素内挿装置は、本発明の実施の形態1で述べた本発明の画素内挿方法を具体的に実行する。
(Embodiment 2)
FIG. 3 is a block diagram of a pixel interpolation apparatus according to Embodiment 2 of the present invention. The pixel interpolation device of this embodiment specifically executes the pixel interpolation method of the present invention described in the first embodiment of the present invention.

図3に示すように、本形態の画素内挿装置は、レジスタ11〜16、加算器21〜27、ビットシフタ31〜33、セレクタ41〜43、比較器51、クリッパー61、及び、定数部71〜72を備える。なお、図3においては、レジスタは記号「R」、加算器は記号「+」、ビットシフタは記号「BS」、セレクタは記号「SEL」、比較器は記号「C」と略記している。   As shown in FIG. 3, the pixel interpolation device of this embodiment includes registers 11 to 16, adders 21 to 27, bit shifters 31 to 33, selectors 41 to 43, a comparator 51, a clipper 61, and constant units 71 to 71. 72. In FIG. 3, the register is abbreviated as “R”, the adder as “+”, the bit shifter as “BS”, the selector as “SEL”, and the comparator as “C”.

以下に、本形態の画素内挿装置の動作を説明する。   The operation of the pixel interpolation device of this embodiment will be described below.

図3において、レジスタ11〜16は、図中に示されていない制御信号により、そのデータの取り込みが制御さる。複数の参照画素の内、位置「k」にある画素の画素値a[k]も、制御信号に合わせ、レジスタ11に入力される。すなわち、レジスタ11には、参照画素の配列の順に従って、制御信号のサイクル毎に一画素ずつ、それぞれの画素値が、画素値a[k−5]、a[k−4]、a[k−3]、a[k−2]・・・の順に入力される。したがって、レジスタ11とレジスタ12には、隣接する画素の画素値が、それぞれ格納されており、加算器21によって、隣接画素の画素値の差が求められ、加算器22によって、隣接画素の画素値の和が求められる。(加算器21は、減算器として機能している。加算器23、加算器26についても同様である。)
以下、制御信号のあるサイクルで、レジスタ11に画素値a[k+3]が保持されている場合について説明する。
3, registers 11 to 16, the control signal not shown in the figure, the uptake of the data that are controlled. The pixel value a [k] of the pixel at the position “k” among the plurality of reference pixels is also input to the register 11 in accordance with the control signal. That is, the register 11 stores pixel values a [k−5], a [k−4], and a [k] for each pixel of the control signal according to the reference pixel arrangement order. -3], a [k-2]... Accordingly, the pixel values of the adjacent pixels are stored in the register 11 and the register 12, respectively, the difference between the pixel values of the adjacent pixels is obtained by the adder 21, and the pixel value of the adjacent pixel is obtained by the adder 22. The sum of is required. (The adder 21 functions as a subtractor. The same applies to the adder 23 and the adder 26.)
Hereinafter, a case where the pixel value a [k + 3] is held in the register 11 in a certain cycle of the control signal will be described.

この時、レジスタ11とレジスタ12には、画素値a[k+3]とa[k+2]がそれぞれ格納されている。加算器21から、隣接画素の画素値の差(a[k+2]−a[k+3])が出力され、加算器22から、隣接画素の画素値の和(a[k+2]+a[k+3])が出力される。   At this time, pixel values a [k + 3] and a [k + 2] are stored in the registers 11 and 12, respectively. A difference (a [k + 2] −a [k + 3]) between adjacent pixel values is output from the adder 21, and a sum (a [k + 2] + a [k + 3]) of adjacent pixel values is output from the adder 22. Is output.

比較器51は、加算器21から出力された画素値の差の絶対値(|a[k+2]−a[k+3]|)を、定数部71に設定されている定数「b0」と比較し、差の絶対値が定数「b0」以下であるかどうかを示す信号を出力している。比較器51が出力している信号が、差の絶対値が定数「b0」を超えていることを示している時は、セレクタ41、42、43は、それぞれ、加算器23、25、26の出力を選択している。   The comparator 51 compares the absolute value (| a [k + 2] −a [k + 3] |) of the difference between the pixel values output from the adder 21 with a constant “b0” set in the constant unit 71. A signal indicating whether or not the absolute value of the difference is equal to or smaller than a constant “b0” is output. When the signal output from the comparator 51 indicates that the absolute value of the difference exceeds the constant “b0”, the selectors 41, 42, and 43 are connected to the adders 23, 25, and 26, respectively. Output is selected.

ビットシフタ31は、加算器21から出力された画素値の差を左2ビットシフト(即ち4倍)し、ビットシフタ32は、加算器22から出力された画素値の和を左4ビットシフト(即ち16倍)して出力している。   The bit shifter 31 shifts the difference between the pixel values output from the adder 21 by 2 bits to the left (that is, 4 times), and the bit shifter 32 shifts the sum of the pixel values output from the adder 22 by 4 bits to the left (that is, 16). Output).

レジスタ13には、1サイクル前の隣接画素の画素値の差(a[k+1]−a[k+2])が格納されており、この値からビットシフタ31の出力を加算器23で減算することで、(数6)が求められ、セレクタ41から出力される。   The register 13 stores the pixel value difference (a [k + 1] −a [k + 2]) of the adjacent pixels one cycle before, and the adder 23 subtracts the output of the bit shifter 31 from this value. (Expression 6) is obtained and output from the selector 41.

レジスタ14には、1サイクル前の加算器23の出力(数7)が格納されており、   The register 14 stores the output (formula 7) of the adder 23 one cycle before,

この値とビットシフタ32の出力とを加算器24で加算することで、(数8)が求められる。 By adding this value and the output of the bit shifter 32 by the adder 24, (Equation 8) is obtained.

レジスタ15には、1サイクル前の加算器24の出力(数9)が格納されており、   The register 15 stores the output (Equation 9) of the adder 24 one cycle before,

この値とビットシフタ31の出力とを加算器25で加算することで、(数10)が求めら、セレクタ42から出力される。 This value and by adding in the adder 25 and the output of the bit shifter 31, are prompted the (number 10), is output from the selector 42.

レジスタ16には、1サイクル前のセレクタ42の出力(数11)が格納されており、   The register 16 stores the output (Equation 11) of the selector 42 one cycle before,

この値から加算器21が出力している画素値の差を加算器26で減算することで、(数1)が求められる。これは(数3)の右辺と一致しており、内挿画素の中間画素値b[m]としてセレクタ43から出力される。 By subtracting the difference between the pixel values output from the adder 21 from this value by the adder 26, (Equation 1) is obtained. This coincides with the right side of (Equation 3), and is output from the selector 43 as the intermediate pixel value b [m] of the interpolated pixel.

セレクタ43から出力された中間画素値b[m]に定数部72に設定されている定数「16」を加算器27で加算し、その結果をビットシフタ33で5ビット右シフトし(すなわち、定数「16」で割り)、さらにその結果を、クリッパー61で飽和処理して、内挿画素の画素値c[m]((数5)の値)が求められる。   A constant “16” set in the constant unit 72 is added to the intermediate pixel value b [m] output from the selector 43 by the adder 27, and the result is right-shifted by 5 bits by the bit shifter 33 (that is, the constant “ Then, the result is saturated by the clipper 61, and the pixel value c [m] (value of (Equation 5)) of the interpolated pixel is obtained.

以上の一連の処理において、比較器51が出力している信号が、隣接画素の画素値の差の絶対値が定数「b0」以下であることを示している時は、セレクタ41、42、43は、それぞれ、レジスタ13、15、16の出力を選択し、加算器23、25、26と、ビットシフタ31は、演算を行わない。   In the series of processes described above, when the signal output from the comparator 51 indicates that the absolute value of the difference between adjacent pixel values is equal to or less than the constant “b0”, the selectors 41, 42, 43 Select the outputs of the registers 13, 15 and 16, respectively, and the adders 23, 25 and 26 and the bit shifter 31 do not perform an operation.

以上説明したように、本形態の画素内挿装置は、隣接画素の画素値の差分の絶対値が特定値「b0」以下であったとき、加算器23、25、26と、ビットシフタ31における演算を行わないため、これらの演算器での演算に伴う電力消費を削減できる。   As described above, the pixel interpolation device according to the present embodiment performs operations in the adders 23, 25, and 26 and the bit shifter 31 when the absolute value of the difference between the pixel values of adjacent pixels is equal to or less than the specific value “b0”. Therefore, it is possible to reduce the power consumption associated with the calculation in these calculators.

また、画素値の内挿のための6タップフィルタ処理を(数3)の形式にすることにより、(数3)の各項の係数が2の冪乗である係数「4」、「16」となり、乗算演算をそれぞれ左2ビット、左4ビットのビットシフタ一つで実行することが可能となる。さらに、内挿画素の中間画素値の規格化においても、除算の分母が2の冪乗である係数「32」であるため、除算演算を右5ビットのビットシフタ一つで実行することが可能となる。このように、本形態の画素内挿装置では、乗算演算と除算演算をビットシフタで実行できるため、画素内挿装置の回路規模の削減が可能となっている。   Further, by converting the 6-tap filter processing for interpolation of pixel values into the form of (Equation 3), the coefficients “4” and “16” in which the coefficients of the terms of (Equation 3) are powers of 2 Thus, the multiplication operation can be executed by one bit shifter of 2 bits left and 4 bits left respectively. Further, in the standardization of the intermediate pixel value of the interpolated pixel, since the division denominator is a coefficient “32” that is a power of 2, it is possible to execute the division operation with one right 5 bit bit shifter. Become. As described above, in the pixel interpolation device according to this embodiment, the multiplication operation and the division operation can be performed by the bit shifter, so that the circuit scale of the pixel interpolation device can be reduced.

(実施の形態3)
図4は、本発明の実施の形態3における画素内挿装置のブロック図である。本形態の画素内挿装置は、8ビット構成の画素値が2個パックされた、16ビット構成の画像データを一度に処理する画素内挿装置である。
(Embodiment 3)
FIG. 4 is a block diagram of a pixel interpolation apparatus according to Embodiment 3 of the present invention. The pixel interpolation device of this embodiment is a pixel interpolation device that processes 16-bit configuration image data, in which two 8-bit configuration pixel values are packed.

本形態の画素内挿装置は、基本的には、図3に示した本発明の実施の形態2の画素内挿装置を並列に配置し、共通する部分を割愛した構成となっている。すなわち、本形態の画素内挿装置は、奇数番目の内挿画素の画素値を求める上部と、偶数番目の内挿画素の画素値を求める下部と、その他の共通部分を含む。上部は、レジスタ11、14a、16a、加算器21a〜27a、ビットシフタ31a〜33a、セレクタ41a〜43a、比較器51a、クリッパー61a、及び、定数部72aを備え、下部は、レジスタ13b、15b、加算器21b〜27b、ビットシフタ31b〜33b、セレクタ41b〜43b、比較器51b、クリッパー61b、及び、定数部72bを備え、共通部分は、定数部71を備える。   The pixel interpolation device according to the present embodiment basically has a configuration in which the pixel interpolation device according to the second embodiment of the present invention shown in FIG. 3 is arranged in parallel and common portions are omitted. That is, the pixel interpolation device of the present embodiment includes an upper part for obtaining the pixel value of the odd-numbered interpolation pixel, a lower part for obtaining the pixel value of the even-numbered interpolation pixel, and other common parts. The upper part includes registers 11, 14a and 16a, adders 21a to 27a, bit shifters 31a to 33a, selectors 41a to 43a, a comparator 51a, a clipper 61a, and a constant part 72a, and the lower part includes registers 13b and 15b and an addition. 21b to 27b, bit shifters 31b to 33b, selectors 41b to 43b, a comparator 51b, a clipper 61b, and a constant part 72b, and a common part includes a constant part 71.

なお、図4においては、レジスタは記号「R」、加算器は記号「+」、ビットシフタは記号「BS」、セレクタは記号「SEL」、比較器は記号「C」と略記している。   In FIG. 4, the register is abbreviated as “R”, the adder as “+”, the bit shifter as “BS”, the selector as “SEL”, and the comparator as “C”.

図5は、本発明の実施の形態3におけるパックされた2つの画素値の配置図である。図5に例示した16ビット構成の画像データは、その上位8ビットに偶数番目の画素の画素値a_evenを格納し、下位8ビットに奇数番目の画素の画素値a_oddを格納している。なお、パックされた2つの画素値の配置は、図5と異なっていても良い。 Figure 5 is a Ru layout der two pixel values that are packed in a third embodiment of the present invention. Image data of the illustrated 16-bit configuration in FIG. 5, stores the pixel values a_even the even-numbered pixels in the upper 8 bits and the pixel value a_odd the odd-numbered pixels in the lower 8 bits store. Note that the arrangement of the two packed pixel values may be different from that in FIG.

図4を参照して、本形態の画素内挿装置の動作の概略を、以下に説明する。   With reference to FIG. 4, an outline of the operation of the pixel interpolation device of this embodiment will be described below.

入力端子91aには、図5に示す画像データの上位画素データである画素値a[2k]が入力され、入力端子91bには、画像データの下位画素データである画素値a[2k+1]が入力される。出力端子99aには、奇数番目の内挿画素の画素値c[2m+1]が出力され、出力端子99bには、偶数番目の内挿画素の画素値c[2m]が出力される。   The pixel value a [2k], which is the upper pixel data of the image data shown in FIG. 5, is input to the input terminal 91a, and the pixel value a [2k + 1], which is the lower pixel data of the image data, is input to the input terminal 91b. Is done. The pixel value c [2m + 1] of the odd-numbered interpolated pixel is output to the output terminal 99a, and the pixel value c [2m] of the even-numbered interpolated pixel is output to the output terminal 99b.

本形態の画素内挿装置では、制御信号のサイクル毎に2画素値をパックした16ビットの画像データが1個ずつ入力される。すなわち、サイクル毎に、入力端子91aには、奇数番目の画素値が、画素値a[2k−3]、a[2k−1]、a[2k+1]、a[2k+3]・・・の順に入力され、入力端子91bには、偶数番目の画素値が、画素値a[2k−2]、a[2k]、a[2k+2]、a[2k+4]・・・の順に入力される。   In the pixel interpolation device of this embodiment, 16-bit image data in which two pixel values are packed is input for each control signal cycle. That is, for each cycle, odd-numbered pixel values are input to the input terminal 91a in the order of pixel values a [2k-3], a [2k-1], a [2k + 1], a [2k + 3]. The even-numbered pixel values are input to the input terminal 91b in the order of pixel values a [2k−2], a [2k], a [2k + 2], a [2k + 4].

以下、制御信号のあるサイクルで、入力端子91aに画素値a[2k+2]が入力され、入力端子91bに画素値a[2k+3]が入力され、レジスタ11に1サイクル前の画素値a[2k+1]が保持されている場合について説明する。   Hereinafter, in a certain cycle of the control signal, the pixel value a [2k + 2] is input to the input terminal 91a, the pixel value a [2k + 3] is input to the input terminal 91b, and the pixel value a [2k + 1] one cycle before is input to the register 11. The case where is held will be described.

この時、加算器21aによって、隣接画素の画素値の差(a[2k+1]−a[2k+2])が求められ、加算器22aによって、隣接画素の画素値の和(a[2k+1]+a[2k+2])が求められ、加算器21bによって、隣接画素の画素値の差(a[2k+2]−a[2k+3])が求められ、加算器22bによって、隣接画素の画素値の和(a[2k+2]+a[2k+3])が求められる。   At this time, the difference (a [2k + 1] −a [2k + 2]) between adjacent pixel values is obtained by the adder 21a, and the sum (a [2k + 1] + a [2k + 2] of adjacent pixel values is obtained by the adder 22a. ]) Is obtained, and the adder 21b obtains the difference (a [2k + 2] −a [2k + 3]) of the pixel values of the adjacent pixels, and the adder 22b obtains the sum of the pixel values of the adjacent pixels (a [2k + 2] + A [2k + 3]).

加算器21a、21b、22a、22bより後段に位置する、ビットシフタ、加算器、レジスタ、クリッパーは、本発明の実施の形態2の画素内挿装置と、ほぼ同様の動作をする。したがって、それらの動作の説明は省略する。   The bit shifters, adders, registers, and clippers located after the adders 21a, 21b, 22a, and 22b operate in substantially the same manner as the pixel interpolation device according to the second embodiment of the present invention. Therefore, description of those operations is omitted.

この結果、セレクタ43aは、奇数番目の内挿画素の中間画素値b[2m+1]として、(数13)の値を出力し、セレクタ43bは、偶数番目の内挿画素の中間画素値b[2m]として、(数14)の値を出力する。   As a result, the selector 43a outputs the value of (Equation 13) as the intermediate pixel value b [2m + 1] of the odd-numbered interpolation pixel, and the selector 43b outputs the intermediate pixel value b [2m of the even-numbered interpolation pixel. ], The value of (Expression 14) is output.

セレクタ43aから出力された(数13)の中間画素値と、セレクタ43bから出力された(数14)の中間画素値は、それぞれの後段で、(数5)に従った、規格化処理と飽和処理が施される。最終的に、出力端子99aには、奇数番目の内挿画素の画素値c[2m+1]が出力され、出力端子99bには、偶数番目の内挿画素の画素値c[2m]が出力される。   The intermediate pixel value of (Equation 13) output from the selector 43a and the intermediate pixel value of (Equation 14) output from the selector 43b are normalized and saturated in accordance with (Equation 5) in the subsequent stage. Processing is performed. Finally, the pixel value c [2m + 1] of the odd-numbered interpolation pixel is output to the output terminal 99a, and the pixel value c [2m] of the even-numbered interpolation pixel is output to the output terminal 99b. .

上述した一連の処理において、比較器51aが出力している信号が、隣接画素の画素値の差の絶対値が定数「b0」超であることを示している時は、セレクタ41bは加算器23bの出力を選択し、セレクタ42bは加算器25bの出力を選択し、セレクタ43aは加算器26aの出力を選択する。また、比較器51bが出力している信号が、隣接画素の画素値の差の絶対値が定数「b0」超であることを示している時は、セレクタ41aは加算器23aの出力を選択し、セレクタ42aは加算器25aの出力を選択し、セレクタ43bは加算器26bの出力を選択する。   In the series of processes described above, when the signal output from the comparator 51a indicates that the absolute value of the difference between the pixel values of adjacent pixels exceeds the constant “b0”, the selector 41b adds the adder 23b. The selector 42b selects the output of the adder 25b, and the selector 43a selects the output of the adder 26a. When the signal output from the comparator 51b indicates that the absolute value of the difference between the pixel values of adjacent pixels exceeds a constant “b0”, the selector 41a selects the output of the adder 23a. The selector 42a selects the output of the adder 25a, and the selector 43b selects the output of the adder 26b.

一方、比較器51aが出力している信号が、隣接画素の画素値の差の絶対値が定数「b0」以下であることを示している時は、セレクタ41bはレジスタ13bの出力を選択し、セレクタ42bはレジスタ15bの出力を選択し、セレクタ43aはレジスタ16aの出力を選択する。そして、ビットシフタ31a、加算器23b、加算器25b、及び、加算器26aは、演算を行わない。   On the other hand, when the signal output from the comparator 51a indicates that the absolute value of the difference between the pixel values of adjacent pixels is equal to or less than the constant “b0”, the selector 41b selects the output of the register 13b, The selector 42b selects the output of the register 15b, and the selector 43a selects the output of the register 16a. The bit shifter 31a, the adder 23b, the adder 25b, and the adder 26a do not perform calculations.

また、比較器51bが出力している信号が、隣接画素の画素値の差の絶対値が定数「b0」以下であることを示している時は、セレクタ41aは加算器21aの出力を選択し、セレクタ42aは加算器24aの出力を選択し、セレクタ43bはセレクタ42bの出力を選択する。そして、ビットシフタ31b、加算器23a、加算器25a、及び、加算器26bは、演算を行わない。   When the signal output from the comparator 51b indicates that the absolute value of the difference between adjacent pixel values is equal to or less than the constant “b0”, the selector 41a selects the output of the adder 21a. The selector 42a selects the output of the adder 24a, and the selector 43b selects the output of the selector 42b. The bit shifter 31b, the adder 23a, the adder 25a, and the adder 26b do not perform calculations.

以上説明したように、本形態の画素内挿装置は、隣接画素の画素値の差の絶対値が特定値「b0」以下であったとき、その差の演算に関係する演算器の演算を行わないため、それらの演算に伴う電力消費を削減できる。   As described above, when the absolute value of the difference between the pixel values of adjacent pixels is equal to or less than the specific value “b0”, the pixel interpolation device according to the present embodiment performs the operation of the arithmetic unit related to the difference calculation. Therefore, power consumption associated with these calculations can be reduced.

本形態の画素内挿装置が、本発明の実施の形態2の画素内挿装置が享受する特徴を、等しく享受できることは、以上の説明から明らかであろう。   It will be apparent from the above description that the pixel interpolation device of the present embodiment can equally enjoy the features that the pixel interpolation device of Embodiment 2 of the present invention enjoys.

また、本形態の画素内挿装置を2並列構造から4並列構造に拡張すれば、8ビット構成の画素値が4個パックされた、32ビット構成の画動データを入力して、4個の内挿画素に対する画素内挿処理を一度に処理できる画素内挿装置を容易に実現できる。   Also, if the pixel interpolation device of this embodiment is expanded from a 2-parallel structure to a 4-parallel structure, 4 bits of 8-bit pixel values packed into 32-bit image data are input. It is possible to easily realize a pixel interpolation device that can perform pixel interpolation processing on an interpolation pixel at a time.

なお、上述した本発明の実施の形態1〜実施の形態3においては、H.264符号化規格の6タップフィルタによる内挿画素の生成に沿って説明を行ったが、本発明は、H.264符号化規格の内挿画素の生成に限るものでなく、他のタップフィルタ処理による内挿画素の生成、動き補償に対しても適応可能であり、上述した効果を等しく有するものである。   In the first to third embodiments of the present invention described above, the H.264 standard. The description has been given along with the generation of the interpolation pixel by the 6-tap filter of the H.264 encoding standard. The present invention is not limited to the generation of interpolated pixels according to the H.264 coding standard, but can also be applied to the generation of interpolated pixels by other tap filter processing and motion compensation, and has the same effects as described above.

(実施の形態4)
図6は、本発明の実施の形態4における動画像符号化装置のブロック図である。図6に示す本形態の動画像符号化装置100は、減算器110、直交変換・量子化部120、可変長符号化部130、逆量子化・逆直交変換部140、加算器150、ループ内フィルタ160、フレームバッファ170、及び、動き補償器180を備え、動き補償器180は、予測画像生成器181と画素内挿部182を有する。
(Embodiment 4)
FIG. 6 is a block diagram of a moving picture coding apparatus according to Embodiment 4 of the present invention. The moving picture encoding apparatus 100 of this embodiment shown in FIG. 6 includes a subtractor 110, an orthogonal transform / quantization unit 120, a variable length encoding unit 130, an inverse quantization / inverse orthogonal transform unit 140, an adder 150, an in-loop A filter 160, a frame buffer 170, and a motion compensator 180 are provided, and the motion compensator 180 includes a prediction image generator 181 and a pixel interpolation unit 182.

ただし、図6においては、本形態の動画像符号化装置100のピクチャ間予測符号化に関する処理ブロックのみを示し、ピクチャ内予測符号化に関する処理ブロックなどは示していない。   However, in FIG. 6, only processing blocks related to inter-picture prediction encoding of the moving picture encoding apparatus 100 of the present embodiment are shown, and processing blocks related to intra-picture prediction encoding are not shown.

本形態の動画像符号化装置100が備える画素内挿部182は、本発明の実施の形態2の画素内挿装置または実施の形態3の画素内挿装置である。   The pixel interpolation unit 182 included in the video encoding device 100 of the present embodiment is the pixel interpolation device of the second embodiment or the pixel interpolation device of the third embodiment of the present invention.

以下に、本形態の動画像符号化装置100の動作を説明する。   Below, operation | movement of the moving image encoder 100 of this form is demonstrated.

入力端子101から入力された原画像は、減算器110により、動き補償器180から出力された予測画像との差が演算され、残差が直交変換・量子化部120に出力される。   The difference between the original image input from the input terminal 101 and the predicted image output from the motion compensator 180 is calculated by the subtractor 110, and the residual is output to the orthogonal transform / quantization unit 120.

直交変換・量子化部120は、減算器110が出力した残差に対して、直交変換(例えば、離散コサイン変換)を行い、得られた係数を量子化し、量子化変換係数を出力する。   The orthogonal transform / quantization unit 120 performs orthogonal transform (for example, discrete cosine transform) on the residual output from the subtractor 110, quantizes the obtained coefficient, and outputs a quantized transform coefficient.

可変長符号化部130は、直交変換・量子化部120が出力した量子化変換係数を可変長符号化し、符号化画像データとして、出力端子109に出力する。   The variable length encoding unit 130 performs variable length encoding on the quantized transform coefficient output from the orthogonal transform / quantization unit 120 and outputs the result to the output terminal 109 as encoded image data.

同時に、逆量子化・逆直交変換部140は、量子化変換係数を逆量子化・逆直交変換して、復元された残差を得る。加算器150は、復元された残差を動き補償器180から出力された予測画像に加算し、再構成画像を復元する。   At the same time, the inverse quantization / inverse orthogonal transform unit 140 performs inverse quantization / inverse orthogonal transform on the quantized transform coefficient to obtain a restored residual. The adder 150 adds the restored residual to the predicted image output from the motion compensator 180 to restore the reconstructed image.

再構成画像は、ループ内フィルタ160でブロックノイズが除去されフレームバッファ170に復号画像として格納される。   The reconstructed image is stored in the frame buffer 170 as a decoded image after the block noise is removed by the in-loop filter 160.

動き補償器180は、フレームバッファ170より、参照画像として復号済みの画像を読み出し、図示していない動きベクトルの情報に基づき、画素内挿部182での演算を行い、内挿画素を求め、予測画像生成器181で、動き補償された予測画像を生成する。   The motion compensator 180 reads out a decoded image as a reference image from the frame buffer 170, performs a calculation in the pixel interpolation unit 182 based on motion vector information (not shown), obtains an interpolation pixel, and performs prediction. The image generator 181 generates a motion-compensated predicted image.

本形態の動画像符号化装置100では、入力された原画像を可変長符号化して符号化画像データを出力するまでの処理において、動き補償器180における処理、なかんずく、画素内挿部182における画素内挿処理が、全体に占める割合が大きい。したがって、画素内挿部182に、本発明の実施の形態2の画素内挿装置または実施の形態3の画素内挿装置を用いることにより、高速の画素内挿処理が可能となり、動き補償器180の動き補償処理を高速に行えるようになる。その結果、高速処理可能な、動画像符号化装置100を実現できる。さらに、この動画像符号化装置100は、画素内挿部182が無駄な演算を行わないように構成されているため、消費電力が少ないという特徴を有することになる。   In the moving picture coding apparatus 100 according to the present embodiment, the process in the motion compensator 180, in particular, the pixel in the pixel interpolation unit 182 in the process until the input original image is variable-length coded and the coded image data is output. The ratio of interpolation processing to the whole is large. Therefore, by using the pixel interpolation device according to the second embodiment or the pixel interpolation device according to the third embodiment of the present invention as the pixel interpolation unit 182, high-speed pixel interpolation processing can be performed, and the motion compensator 180. Motion compensation processing can be performed at high speed. As a result, the moving picture coding apparatus 100 capable of high-speed processing can be realized. Furthermore, the moving image encoding apparatus 100 is configured such that the pixel interpolation unit 182 does not perform useless calculations, and thus has a feature of low power consumption.

本形態の動画像符号化装置100は、入力された原画像を、H.264に準拠して、可変長符号化画像データに、効率よく符号化できる。   The moving image encoding apparatus 100 according to the present embodiment converts an input original image into an H.264 format. In accordance with H.264, variable length encoded image data can be efficiently encoded.

なお、本形態の動画像符号化装置100は、H.264符号化規格の可変長符号化に限るものでなく、他のタップフィルタ処理を用いることにより、他の符号化規格に準拠する可変長符号化に対しても適応可能である。   Note that the moving picture encoding apparatus 100 according to the present embodiment is an H.264 format. The present invention is not limited to the variable length coding of the H.264 coding standard, and can be applied to variable length coding based on other coding standards by using other tap filter processing.

(実施の形態5)
図7は、本発明の実施の形態5における動画像復号装置のブロック図である。図7において、 図6と同様な構成要素については、同一の符号を付すことにより、説明を省略す
る。
(Embodiment 5)
FIG. 7 is a block diagram of a moving picture decoding apparatus according to Embodiment 5 of the present invention. In FIG. 7, the same components as those in FIG. 6 are denoted by the same reference numerals, and the description thereof is omitted.

図7に示す本形態の動画像復号装置200は、可変長復号部210、逆量子化・逆直交変換部140、加算器150、ループ内フィルタ160、フレームバッファ170、及び、動き補償器180を備え、動き補償器180は、予測画像生成器181と画素内挿部182を有する。   7 includes a variable length decoding unit 210, an inverse quantization / inverse orthogonal transform unit 140, an adder 150, an in-loop filter 160, a frame buffer 170, and a motion compensator 180. The motion compensator 180 includes a prediction image generator 181 and a pixel interpolation unit 182.

ただし、図7においては、本形態の動画像復号装置200の処理ブロックの内、ピクチ
ャ間予測符号化された画像データの復号に関する処理ブロックのみを示し、ピクチャ内予測符号化された画像データの復号に関する処理ブロックなどは示していない。
However, FIG. 7 shows only processing blocks related to decoding of inter-picture predictive-coded image data among the processing blocks of the moving picture decoding apparatus 200 of the present embodiment, and decoding of intra-picture predictive-coded image data. The processing block concerning is not shown.

本形態の動画像復号装置200が備える画素内挿部182は、本発明の実施の形態2の画素内挿装置または実施の形態3の画素内挿装置である。   The pixel interpolation unit 182 included in the moving picture decoding apparatus 200 according to the present embodiment is the pixel interpolation apparatus according to the second embodiment or the pixel interpolation apparatus according to the third embodiment of the present invention.

以下に、本形態の動画像復号装置200の動作を説明する。   Hereinafter, the operation of the moving picture decoding apparatus 200 according to this embodiment will be described.

入力端子201に入力された可変長符号化画像データは、可変長復号部210によって、量子化変換係数に復号され、逆量子化・逆直交変換部140に出力される。   The variable length encoded image data input to the input terminal 201 is decoded into a quantized transform coefficient by the variable length decoding unit 210 and output to the inverse quantization / inverse orthogonal transform unit 140.

逆量子化・逆直交変換部140は、可変長復号部210が復号した量子化変換係数を、逆量子化・逆直交変換処理して、残差を得る。   The inverse quantization / inverse orthogonal transform unit 140 performs an inverse quantization / inverse orthogonal transform process on the quantized transform coefficient decoded by the variable length decoding unit 210 to obtain a residual.

加算器150は、この残差と動き補償器180が出力した予測画像とを加算して、再構成画像を得る。   The adder 150 adds the residual and the predicted image output from the motion compensator 180 to obtain a reconstructed image.

再構成画像は、ループ内フィルタ160により、ブロックノイズ除去が施され、復号画像としてフレームバッファ170に一旦格納され、出力端子209に出力される。   The reconstructed image is subjected to block noise removal by the in-loop filter 160, temporarily stored in the frame buffer 170 as a decoded image, and output to the output terminal 209.

動き補償器180は、フレームバッファ170より、参照画像として、復号済み画像を読み出し、図示しいていない動きベクトル情報に基づき、画素内挿部182での演算を行い、内挿画素を求め、予測画像生成器181で、動き補償された予測画像を生成する。   The motion compensator 180 reads a decoded image as a reference image from the frame buffer 170, performs a calculation in the pixel interpolation unit 182 based on motion vector information not shown, obtains an interpolation pixel, and obtains a predicted image A generator 181 generates a motion-compensated predicted image.

本形態の動画像復号装置200では、入力された可変長符号化画像データを復号して復号画像を出力するまでの処理において、動き補償器180における処理、なかんずく、画素内挿部182における画素内挿処理が、全体に占める割合が大きい。したがって、画素内挿部182に、本発明の実施の形態2の画素内挿装置または実施の形態3の画素内挿装置を用いることにより、高速の画素内挿処理が可能となり、動き補償器180の動き補償処理を高速に行えるようになる。その結果、高速処理可能な、動画像復号装置200を実現できる。さらに、この動画像復号装置200は、画素内挿部182が無駄な演算を行わないように構成されているため、消費電力が少ないという特徴を有することになる。   In the moving picture decoding apparatus 200 according to the present embodiment, in the process from decoding the input variable length encoded image data to outputting the decoded image, the process in the motion compensator 180, in particular, the pixel interpolation in the pixel interpolation unit 182 is performed. The ratio of the insertion process to the whole is large. Therefore, by using the pixel interpolation device according to the second embodiment or the pixel interpolation device according to the third embodiment of the present invention as the pixel interpolation unit 182, high-speed pixel interpolation processing can be performed, and the motion compensator 180. Motion compensation processing can be performed at high speed. As a result, the moving picture decoding apparatus 200 capable of high-speed processing can be realized. Furthermore, the moving picture decoding apparatus 200 is configured such that the pixel interpolation unit 182 does not perform useless calculations, and thus has a feature of low power consumption.

本形態の動画像復号装置200は、H.264に準拠して符号化された、可変長符号化画像データを、効率よく復号できる。   The moving picture decoding apparatus 200 of the present embodiment is an H.264 standard. It is possible to efficiently decode variable-length encoded image data encoded according to H.264.

なお、本形態の動画像復号装置200は、H.264符号化規格の可変長符号化画像データの復号に限るものでなく、他のタップフィルタ処理を用いることにより、他の符号化規格に準拠して可変長符号化された画像データの復号に対しても適応可能である。   Note that the moving picture decoding apparatus 200 according to the present embodiment is an H.264 format. The present invention is not limited to decoding variable-length encoded image data of the H.264 encoding standard, but by using other tap filter processing, decoding of variable-length encoded image data in accordance with other encoding standards Even adaptation is possible.

本発明に係わる画素内挿方法は、例えば、カメラつき携帯電話等、動画像の高速処理が要求される動画像処理装置とその応用分野において利用できる。   The pixel interpolation method according to the present invention can be used in a moving image processing apparatus that requires high-speed processing of moving images, such as a mobile phone with a camera, and its application field.

図1は、本発明の実施の形態1における画素内挿方法のフローチャートである。FIG. 1 is a flowchart of a pixel interpolation method according to Embodiment 1 of the present invention. 本発明の実施の形態1における画素内挿方法を説明する説明図である。It is explanatory drawing explaining the pixel interpolation method in Embodiment 1 of this invention. 本発明の実施の形態2における画素内挿装置のブロック図である。It is a block diagram of the pixel interpolation apparatus in Embodiment 2 of this invention. 本発明の実施の形態3における画素内挿装置のブロック図である。It is a block diagram of the pixel interpolation apparatus in Embodiment 3 of this invention. 本発明の実施の形態3におけるパックされた2つの画素値の配置図である。It is an arrangement diagram of two packed pixel values in the third embodiment of the present invention. 本発明の実施の形態4における動画像符号化装置のブロック図である。It is a block diagram of the moving image encoder in Embodiment 4 of this invention. 本発明の実施の形態5における動画像復号装置のブロック図である。It is a block diagram of the moving image decoding apparatus in Embodiment 5 of this invention. 整数精度の画素、1/2精度の内挿画素、及び、1/4精度の内挿画素の位置関係を示す図である。It is a figure which shows the positional relationship of the pixel of integer precision, the interpolation pixel of 1/2 precision, and the interpolation pixel of 1/4 precision. 6タップフィルタによって内挿画素の画素値を求める従来の画素内挿方法の一例を示すフローチャートである。It is a flowchart which shows an example of the conventional pixel interpolation method which calculates | requires the pixel value of an interpolation pixel by 6 tap filter. 従来の、6タップフィルタによる画素内挿装置のブロック図である。It is a block diagram of the conventional pixel interpolation apparatus by a 6 tap filter.

Claims (5)

タップフィルタ処理による画素内挿方法であって、
2つの参照画素からなる隣接画素対の画素値の和を求める加算ステップと、
前記隣接画素対の画素値の差を求める減算ステップと、
前記画素値の差の絶対値が特定値以下であるかを判定する判定ステップと、
前記画素値の和の値に、第1の内挿画素に対応する第1の係数を掛けて第1の積を求める第1の乗算ステップとを含み、
前記判定ステップにおいて、前記画素値の差の絶対値が特定値を超えると判定された場合は、
前記画素値の差の値に、第2の内挿画素に対応する第2の係数を掛けて第2の積を求める第2の乗算ステップと、
前記第1の内挿画素に対応する第1のレジスタに、前記第1の積を累積加算するとともに、前記第2の内挿画素に対応する第2のレジスタに、前記第2の積を累積加算する第1の累積加算ステップとを実行し、
前記判定ステップにおいて、前記画素値の差の絶対値が特定値以下であると判定された場合は、
前記第1のレジスタに、前記第1の積を累積加算する第2の累積加算ステップを実行する、画素内挿方法。
A pixel interpolation method by tap filter processing,
An adding step for obtaining a sum of pixel values of an adjacent pixel pair composed of two reference pixels;
A subtraction step for obtaining a difference between pixel values of the adjacent pixel pairs;
A determination step of determining whether an absolute value of the difference between the pixel values is equal to or less than a specific value;
A first multiplication step of multiplying the sum of the pixel values by a first coefficient corresponding to a first interpolated pixel to obtain a first product,
In the determination step, when it is determined that the absolute value of the difference between the pixel values exceeds a specific value,
A second multiplication step of multiplying the difference value of the pixel values by a second coefficient corresponding to a second interpolation pixel to obtain a second product;
The first product is accumulated and added to a first register corresponding to the first interpolation pixel, and the second product is accumulated to a second register corresponding to the second interpolation pixel. Performing a first cumulative addition step of adding,
In the determination step, when it is determined that the absolute value of the difference between the pixel values is not more than a specific value,
A pixel interpolation method for executing a second cumulative addition step of cumulatively adding the first product to the first register.
前記加算ステップと、前記減算ステップと、前記判定ステップと、前記第1の乗算ステップと、前記第2の乗算ステップと、前記第1の累積加算ステップと、前記第2の累積加算ステップとを、前記隣接画素対と異なる複数の隣接画素対に対して繰返し実行する、請求の範囲第1項記載の画素内挿方法。The addition step, the subtraction step, the determination step, the first multiplication step, the second multiplication step, the first cumulative addition step, and the second cumulative addition step, The pixel interpolation method according to claim 1, wherein the pixel interpolation method is repeatedly executed for a plurality of adjacent pixel pairs different from the adjacent pixel pairs. 前記特定値は、前記隣接画素対のそれぞれの画素値を2進表示した時の最下位ビットが示す値以下である請求の範囲第1項記載の画素内挿方法。The pixel interpolation method according to claim 1, wherein the specific value is equal to or less than a value indicated by a least significant bit when each pixel value of the adjacent pixel pair is displayed in binary. 前記第1の係数と前記第2の係数は2の冪乗の係数であって、
前記第1の乗算ステップでは、前記画素値の和の値を前記第1の係数の冪指数分だけビットシフトし、
前記第2の乗算ステップでは、前記画素値の差の値を前記第2の係数の冪指数分だけビットシフトする、請求の範囲第1項記載の画素内挿方法
The first coefficient and the second coefficient are powers of 2, and
In the first multiplication step, the sum of the pixel values is bit-shifted by a power exponent of the first coefficient,
2. The pixel interpolation method according to claim 1, wherein, in the second multiplication step, the difference value of the pixel values is bit-shifted by an exponent of the second coefficient .
2つの画素からなる隣接画素対の画素値の和を求める加算部と、
前記隣接画素対の画素値の差を求める減算部と、
前記画素値の差の絶対値が特定値以下であるかを判定する判定部と、
第1の内挿画素に対応する第1のレジスタと、
第2の内挿画素に対応する第2のレジスタと、
前記画素値の和の値に、前記第1の内挿画素に対応する第1の係数を掛ける第1の乗算部と、
前記画素値の差の値に、前記第2の内挿画素に対応する第2の係数を掛ける第2の乗算部と、
前記判定部が、前記画素値の差の絶対値が前記特定値を超えると判定した場合、前記第1のレジスタに、前記第1の積を累積加算するとともに、前記第2のレジスタに、前記第2の積を累積加算する第1の累積加算部と、
前記判定部が、前記画素値の差の絶対値が前記特定値以下であると判定した場合、前記第1のレジスタに、前記第1の積を累積加算する第2の累積加算部とを備える、画素内挿装置。
An adder for calculating the sum of pixel values of adjacent pixel pairs composed of two pixels;
A subtraction unit for obtaining a difference between pixel values of the adjacent pixel pair;
A determination unit for determining whether an absolute value of the difference between the pixel values is equal to or less than a specific value;
A first register corresponding to the first interpolated pixel;
A second register corresponding to the second interpolated pixel;
A first multiplier that multiplies the sum of the pixel values by a first coefficient corresponding to the first interpolated pixel;
A second multiplier that multiplies the difference value of the pixel values by a second coefficient corresponding to the second interpolation pixel;
When the determination unit determines that the absolute value of the difference between the pixel values exceeds the specific value, the first product is cumulatively added to the first register, and the second register is A first cumulative adder that cumulatively adds a second product;
When the determination unit determines that the absolute value of the difference between the pixel values is equal to or less than the specific value, the first register includes a second cumulative addition unit that cumulatively adds the first product. , Pixel interpolation device.
JP2007535161A 2005-02-25 2006-02-17 Image interpolation method and pixel interpolation device Expired - Fee Related JP4847460B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007535161A JP4847460B2 (en) 2005-02-25 2006-02-17 Image interpolation method and pixel interpolation device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2005050421 2005-02-25
JP2005050421 2005-02-25
PCT/JP2006/303363 WO2006090811A2 (en) 2005-02-25 2006-02-17 Pixel interpolating method and device
JP2007535161A JP4847460B2 (en) 2005-02-25 2006-02-17 Image interpolation method and pixel interpolation device

Publications (2)

Publication Number Publication Date
JP2008532335A JP2008532335A (en) 2008-08-14
JP4847460B2 true JP4847460B2 (en) 2011-12-28

Family

ID=36695052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007535161A Expired - Fee Related JP4847460B2 (en) 2005-02-25 2006-02-17 Image interpolation method and pixel interpolation device

Country Status (4)

Country Link
EP (1) EP1851718A2 (en)
JP (1) JP4847460B2 (en)
CN (1) CN101128846B (en)
WO (1) WO2006090811A2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5353560B2 (en) * 2009-08-25 2013-11-27 富士通株式会社 Image processing circuit and image encoding apparatus
JP5287624B2 (en) * 2009-09-14 2013-09-11 富士通株式会社 Image processing circuit and image encoding apparatus
CN109460205B (en) * 2018-11-06 2021-09-10 沈阳天眼智云信息科技有限公司 Data curve generation and display method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0715734A (en) * 1993-06-25 1995-01-17 Sony Corp Signal processing circuit for solid-state image pickup element
JP2002190948A (en) * 2000-12-21 2002-07-05 Fuji Xerox Co Ltd Picture processor and picture processing method
WO2004006558A2 (en) * 2002-07-09 2004-01-15 Nokia Corporation Method and system for selecting interpolation filter type in video coding
JP2004140676A (en) * 2002-10-18 2004-05-13 Sony Corp Signal processor, and its method and its program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5257355A (en) * 1986-10-01 1993-10-26 Just Systems Corporation Method and apparatus for generating non-linearly interpolated data in a data stream

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0715734A (en) * 1993-06-25 1995-01-17 Sony Corp Signal processing circuit for solid-state image pickup element
JP2002190948A (en) * 2000-12-21 2002-07-05 Fuji Xerox Co Ltd Picture processor and picture processing method
WO2004006558A2 (en) * 2002-07-09 2004-01-15 Nokia Corporation Method and system for selecting interpolation filter type in video coding
JP2004140676A (en) * 2002-10-18 2004-05-13 Sony Corp Signal processor, and its method and its program

Also Published As

Publication number Publication date
JP2008532335A (en) 2008-08-14
EP1851718A2 (en) 2007-11-07
CN101128846B (en) 2010-11-10
WO2006090811A3 (en) 2006-10-19
WO2006090811A2 (en) 2006-08-31
CN101128846A (en) 2008-02-20

Similar Documents

Publication Publication Date Title
US7941006B2 (en) Pixel interpolating method and device
KR100982156B1 (en) Reduction of errors during computation of inverse discrete cosine transform
US8625916B2 (en) Method and apparatus for image encoding and image decoding
CN103650490B (en) For the method and apparatus of motion compensated prediction
CN102804779A (en) Image processing device and method
JP2008306711A (en) Efficient encoding/decoding of sequence of data frames
RU2439682C2 (en) Reduction of errors during calculation of reverse discrete cosine conversion
JP4704333B2 (en) Image encoding device, image decoding device, and integrated circuit used in the same
JP4847460B2 (en) Image interpolation method and pixel interpolation device
JPWO2007072644A1 (en) Two-dimensional filter arithmetic apparatus and method
US8514947B2 (en) Semiconductor device and signal processing method
US8364741B2 (en) Motion-compensating device with booth multiplier that reduces power consumption without increasing the circuit size
JP5323252B2 (en) Video encoding method, decoding method, encoding device, and decoding device
JP5086271B2 (en) Apparatus and method for converting coding coefficient of video signal
CN105453566B (en) Data encoding and data decoding
JP5195674B2 (en) Image encoding device
EP2953365B1 (en) Moving image coding device
US7630436B2 (en) Video predictive decoding method and apparatus
JP5353560B2 (en) Image processing circuit and image encoding apparatus
TW202339506A (en) Method and apparatuses for video encoding
JP6867763B2 (en) Encoding device and program
JP2013243743A (en) Moving image coding method, decoding method, coding device, and decoding device
JP5287624B2 (en) Image processing circuit and image encoding apparatus
JP4155102B2 (en) Pixel value calculation device, moving image encoding device, and moving image decoding device
KR20100130934A (en) Calculation device for high speed processing image data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110428

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110620

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110720

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110829

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111013

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

Free format text: PAYMENT UNTIL: 20141021

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4847460

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees