JP2013162395A - Image coding method, image coding device, and image coding program - Google Patents

Image coding method, image coding device, and image coding program Download PDF

Info

Publication number
JP2013162395A
JP2013162395A JP2012024037A JP2012024037A JP2013162395A JP 2013162395 A JP2013162395 A JP 2013162395A JP 2012024037 A JP2012024037 A JP 2012024037A JP 2012024037 A JP2012024037 A JP 2012024037A JP 2013162395 A JP2013162395 A JP 2013162395A
Authority
JP
Japan
Prior art keywords
divided
feature amount
encoding
image
quadtree
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012024037A
Other languages
Japanese (ja)
Other versions
JP5779116B2 (en
Inventor
Daisuke Kobayashi
大祐 小林
Takayasu Nitta
高庸 新田
Mitsuro Ikeda
充郎 池田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2012024037A priority Critical patent/JP5779116B2/en
Publication of JP2013162395A publication Critical patent/JP2013162395A/en
Application granted granted Critical
Publication of JP5779116B2 publication Critical patent/JP5779116B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image coding method which can cut back the amount of arithmetic operation when a target region to be coded is quadtree-divided and image coding is executed for each of divided smaller regions.SOLUTION: In an image coding method, an image is divided into a plurality of rectangles and those rectangles are further divided into smaller regions before being coded. The image coding method includes: a feature quantity calculation step of calculating feature quantity in a predetermined region of the image; a quadtree division step in which a target region to be coded is divided by quadtree on the basis of feature quantity in the predetermined region of the image which was calculated in the feature quantity calculation step with regard to the target region to be coded, and for each of the divided regions obtained by the quadtree division, determination is made of divided subregions which are further divided recursively by quadtree on the basis of the feature quantity calculated in the feature quantity calculation; and a coding step in which coding processing is performed for each of divided regions determined.

Description

本発明は、画像を小矩形に分割して符号化を行う画像符号化方法、画像符号化装置及び画像符号化プログラムに関する。   The present invention relates to an image encoding method, an image encoding apparatus, and an image encoding program that perform encoding by dividing an image into small rectangles.

ITU−T標準動画像符号化方式であるH.264方式に次ぐ次世代のITU−T標準化技術として、HEVC(High Efficiency Video Coding、高効率動画像圧縮符号化)方式がある。H.264方式およびHEVC方式では、入力とする映像フレームを小矩形に分割して符号化処理を行なっており、この矩形領域をH.264方式ではマクロブロック、HEVCではLargest Coding Unit(以下、LCUと称する)と呼ぶ。HEVC方式では更に、LCUを四分木分割することで符号化対象領域Coding Unit(以下、CUと称する)を規定し、このCU単位で符号化を行なっている。また、H.264方式やHEVC方式では、既に符号化された周辺画素を利用して、符号化対象画素データの予測信号を生成する予測符号化方式を採用している。   ITU-T standard video coding system, H.264. As a next generation ITU-T standardization technology next to the H.264 system, there is a HEVC (High Efficiency Video Coding) system. H. In the H.264 system and the HEVC system, an input video frame is divided into small rectangles and an encoding process is performed. In the H.264 system, it is called a macroblock, and in HEVC, it is called a Large Coding Unit (hereinafter referred to as LCU). In the HEVC system, an LCU is further divided into quadtrees to define an encoding target area Coding Unit (hereinafter referred to as CU), and encoding is performed in units of CUs. H. In the H.264 method and the HEVC method, a predictive coding method that generates a prediction signal of encoding target pixel data using already encoded peripheral pixels is employed.

図5に、HEVC方式で採用している四分木分割に基づく取りうるCUの一例を示す。図5は、符号化対象領域の四分木分割例を示す図である。図5において、64×64画素の領域がLCUであり、さらに分割された各領域がCUに相当する。図5に示すように、HEVC方式では64×64画素、32×32画素、16×16画素、8×8画素の4つのCUサイズを規定し、この中から適したCUを選択して符号化処理を行うことで、H.264よりも符号化効率を格段に向上させている。   FIG. 5 shows an example of a CU that can be taken based on the quadtree division adopted in the HEVC method. FIG. 5 is a diagram illustrating an example of quadtree division of the encoding target region. In FIG. 5, a 64 × 64 pixel area is an LCU, and each divided area corresponds to a CU. As shown in FIG. 5, in the HEVC method, four CU sizes of 64 × 64 pixels, 32 × 32 pixels, 16 × 16 pixels, and 8 × 8 pixels are defined, and an appropriate CU is selected and encoded. By performing the processing, Compared to H.264, the encoding efficiency is significantly improved.

符号化対象領域を四分木分割する処理(例えば、非特許文献1参照)について図6を参照して説明する。図6は、符号化対象領域を四分木分割する処理動作を示すフローチャートである。図6に示すように、符号化対象領域を四分木分割を繰り返しながら全ての取りうるCUサイズを選択し(ステップS41)、選択したCUサイズにより予測処理を行った(ステップS42)後に、符号化対象領域の四分木分割形状を決定し、この四分木分割形状に基づき、CUサイズと予測モードを決定する(ステップS43)。   A process (for example, see Non-Patent Document 1) for dividing the encoding target area into a quadtree will be described with reference to FIG. FIG. 6 is a flowchart showing a processing operation for dividing the encoding target area into quadtrees. As shown in FIG. 6, all possible CU sizes are selected while repeating quadtree partitioning on the encoding target region (step S41), and prediction processing is performed using the selected CU size (step S42). The quadtree split shape of the conversion target area is determined, and the CU size and the prediction mode are determined based on the quadtree split shape (step S43).

K. McCann, S. Sekiguci, B. Bross, W.-J. Han, “HM4: High Efficiency Video Coding (HEVC) Test Model 4 Encoder Description," JCTVC-F802, Oct. 2011.K. McCann, S. Sekiguci, B. Bross, W.-J. Han, “HM4: High Efficiency Video Coding (HEVC) Test Model 4 Encoder Description,” JCTVC-F802, Oct. 2011.

しかしながら、符号化対象領域の四分木分割数の増加は、符号化効率を向上できる反面、適切な四分木分割形状決定のために要する演算量が増加するという問題がある。非特許文献1の従来技術では、符号化を行うときには、符号化対象小矩形において、予め与えられた四分木分割数に基づいて、全てのCUサイズで予測処理を行なっている。このときの、小矩形の大きさと予測処理演算量の関係を図7に示す。図7は、小矩形の大きさと予測処理演算量の関係を示す図である。図7に示すように、LCUサイズ、分割数が大きくなるにつれて、予測処理に要する演算量が大きくなっている。図中の数値は演算量を表す値であり、従来法におけるイントラ予測処理演算量(4×4画素の予測ブロックサイズでイントラ予測処理を行うときの演算量を1とする)である。   However, an increase in the number of quadtree divisions in the encoding target area can improve coding efficiency, but there is a problem that the amount of computation required for determining an appropriate quadtree division shape increases. In the prior art of Non-Patent Document 1, when encoding is performed, prediction processing is performed for all CU sizes based on a predetermined number of quadtree divisions in a small rectangle to be encoded. FIG. 7 shows the relationship between the size of the small rectangle and the prediction processing calculation amount at this time. FIG. 7 is a diagram illustrating the relationship between the size of the small rectangle and the amount of prediction processing calculation. As shown in FIG. 7, as the LCU size and the number of divisions increase, the amount of calculation required for the prediction process increases. The numerical value in the figure is a value representing the amount of calculation, and is the amount of intra prediction processing calculation in the conventional method (the amount of calculation when intra prediction processing is performed with a prediction block size of 4 × 4 pixels is 1).

本発明は、このような事情に鑑みてなされたもので、符号化対象領域を四分木分割し、得られた小領域毎に画像符号化を行う際に、演算量を削減することができる画像符号化方法、画像符号化装置及び画像符号化プログラムを提供することを目的とする。   The present invention has been made in view of such circumstances, and can reduce the amount of calculation when the encoding target area is divided into quadtrees and image encoding is performed for each obtained small area. An object is to provide an image encoding method, an image encoding device, and an image encoding program.

本発明は、画像を複数の矩形に分割し、該矩形を更に小さな領域に分割して符号化する画像符号化方法であって、前記画像の所定領域の特徴量を算出する特徴量算出ステップと、符号化対象領域について前記特徴量算出ステップによって算出した前記特徴量に基づき、前記符号化対象領域を四分木で分割し、該分割によって得られた分割領域それぞれについて前記特徴量算出ステップによって算出した前記特徴量に基づいて再帰的にさらに四分木で分割した分割領域を決定する四分木分割ステップと、決定された前記分割領域それぞれの符号化処理を行う符号化ステップとを有することを特徴とする。   The present invention is an image encoding method that divides an image into a plurality of rectangles, divides the rectangles into smaller regions and encodes them, and calculates a feature amount of a predetermined region of the image. Based on the feature amount calculated by the feature amount calculation step for the encoding target region, the encoding target region is divided by a quadtree, and each divided region obtained by the division is calculated by the feature amount calculation step. A quadtree partitioning step for recursively determining a divided region further divided by a quadtree based on the feature amount, and an encoding step for performing an encoding process for each of the determined divided regions. Features.

本発明は、前記特徴量算出ステップにおいては、前記特徴量として前記符号化対象領域の複雑度を算出し、前記四分木分割ステップにおいては、前記符号化対象領域の複雑度と予め設定されたしきい値との比較を行い、前記複雑度が前記しきい値より高い前記符号化対象領域または前記分割領域の四分木分割を行うことを特徴とする。   In the feature amount calculating step, the complexity of the encoding target region is calculated as the feature amount in the feature amount calculating step, and the complexity of the encoding target region is preset in the quadtree dividing step. Comparison with a threshold value is performed, and quadtree division is performed on the encoding target region or the divided region whose complexity is higher than the threshold value.

本発明は、前記複雑度は、前記分割領域における平均値と分散値に基づいて算出することを特徴とする。   The present invention is characterized in that the complexity is calculated based on an average value and a variance value in the divided area.

本発明は、画像を複数の矩形に分割し、該矩形を更に小さな領域に分割して符号化する画像符号化装置であって、前記画像の所定領域の特徴量を算出する特徴量算出手段と、符号化対象領域について前記特徴量算出手段によって算出した前記特徴量に基づき、前記符号化対象領域を四分木で分割し、該分割によって得られた分割領域それぞれについて前記特徴量算出手段によって算出した前記特徴量に基づいて再帰的にさらに四分木で分割した分割領域を決定する四分木分割手段と、決定された前記分割領域それぞれの符号化処理を行う符号化手段とを備えることを特徴とする。   The present invention is an image encoding apparatus that divides an image into a plurality of rectangles, divides the rectangle into smaller regions and encodes the image, and includes a feature amount calculation unit that calculates a feature amount of a predetermined region of the image. Then, based on the feature amount calculated by the feature amount calculation unit for the encoding target region, the encoding target region is divided by a quadtree, and each divided region obtained by the division is calculated by the feature amount calculation unit. A quadtree dividing means that recursively further divides the divided area by a quadtree based on the feature amount, and an encoding means that performs an encoding process for each of the determined divided areas. Features.

本発明は、画像を複数の矩形に分割し、該矩形を更に小さな領域に分割して符号化する画像符号化装置上のコンピュータに、前記画像の所定領域の特徴量を算出する特徴量算出ステップと、符号化対象領域について前記特徴量算出ステップによって算出した前記特徴量に基づき、前記符号化対象領域を四分木で分割し、該分割によって得られた分割領域それぞれについて前記特徴量算出ステップによって算出した前記特徴量に基づいて再帰的にさらに四分木で分割した分割領域を決定する四分木分割ステップと、決定された前記分割領域それぞれの符号化処理を行う符号化ステップとを行わせることを特徴とする。   According to the present invention, a feature amount calculating step of calculating a feature amount of a predetermined region of the image is performed on a computer on an image encoding device that divides the image into a plurality of rectangles and divides the rectangle into smaller regions and encodes them. Then, based on the feature amount calculated by the feature amount calculation step for the encoding target region, the encoding target region is divided by a quadtree, and for each divided region obtained by the division, the feature amount calculation step Based on the calculated feature amount, a quadtree partitioning step for recursively determining a divided region further divided by a quadtree, and an encoding step for performing an encoding process for each of the determined divided regions are performed. It is characterized by that.

本発明によれば、原画像の符号化対象領域の特徴量に基づいて、画質を損なわずに事前にCUサイズを決定することができる。このため、符号化を行う際に、予測処理を行わずにCUサイズを決定することができるため、符号化に関わる演算量を削減することができるという効果が得られる。   According to the present invention, the CU size can be determined in advance without impairing the image quality based on the feature amount of the encoding target area of the original image. For this reason, when encoding is performed, the CU size can be determined without performing a prediction process, so that the amount of calculation related to encoding can be reduced.

本発明の一実施形態の構成を示すブロック図である。It is a block diagram which shows the structure of one Embodiment of this invention. 図1に示す画像符号化装置1の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the image coding apparatus 1 shown in FIG. 図1に示す画像符号化装置1の処理動作の詳細を示すフローチャートである。It is a flowchart which shows the detail of the processing operation of the image coding apparatus 1 shown in FIG. 符号化対象領域の分割の模式図である。It is a schematic diagram of the division | segmentation of an encoding object area | region. 符号化対象領域の四分木分割例を示す説明図である。It is explanatory drawing which shows the quadtree division | segmentation example of an encoding object area | region. 従来技術による符号化対象領域を四分木分割する処理動作を示すフローチャートである。It is a flowchart which shows the processing operation which divides the encoding object area | region by a prior art into quadtree. 従来技術による小矩形の大きさと予測処理演算量の関係を示す図である。It is a figure which shows the relationship between the magnitude | size of the small rectangle by a prior art, and the amount of prediction processing calculations.

以下、図面を参照して、本発明の一実施形態による画像符号化装置を説明する。図1は同実施形態の構成を示すブロック図である。以下の説明においては、用いる符号化方式がHEVC画面内予測符号化方式であるものとして説明する。図1に示すように、画像符号化装置1は、画面内予測符号化部2を含むものである。さらに、画面内予測符号化部2は、符号化前に符号化処理サイズを決定する符号化処理サイズ決定部3を含む。符号化処理サイズ決定部3は、符号化処理を行う前に原画像から符号化対象領域内の複雑度を算出する符号化領域内複雑度算出部4と、算出した複雑度に応じて符号化対象領域を四分木分割するか否かを判定する符号化領域内複雑度判定部5と、符号化領域内複雑度判定部5の結果を元にCUを分割するか否かの比較対象となるしきい値設定部6と、符号化領域内複雑度判定部の結果からCUの四分木分割形状を決定する四分木分割形状決定部7と、四分木分割形状決定部7の結果に基づいて画面内符号化を行う符号化処理部8を含む。   Hereinafter, an image encoding device according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the embodiment. In the following description, it is assumed that the encoding method to be used is the HEVC intra-screen predictive encoding method. As shown in FIG. 1, the image encoding device 1 includes an intra-screen prediction encoding unit 2. Furthermore, the intra prediction encoding unit 2 includes an encoding process size determining unit 3 that determines an encoding process size before encoding. The encoding process size determination unit 3 calculates the complexity in the encoding target area from the original image before performing the encoding process, and encodes according to the calculated complexity. A comparison target of whether or not to divide a CU based on the result of the in-coding region complexity determination unit 5 that determines whether or not to divide the target region into quadtrees and the in-coding region complexity determination unit 5 Result of the quadtree split shape determining unit 7 for determining the quadtree split shape of the CU from the result of the threshold value setting unit 6 and the coding area complexity determination unit, and the result of the quadtree split shape determining unit 7 Includes an encoding processing unit 8 that performs intra-screen encoding.

次に、図2を参照して、図1に示す画像符号化装置の動作を説明する。図2は、図1に示す画像符号化装置の動作を示すフローチャートである。まず、符号化領域内複雑度算出部4は、符号化対象領域の複雑度合いを算出する(ステップS1)。符号化対象領域の複雑度合いは、領域内の画素値の平均や分散に基づいて決定する。図4は、符号化対象領域の分割の模式図である。符号化領域内複雑度算出部4は、サイズが2N×2N画素の符号化対象領域を図4に示すN×Nの4つのサブブロックに分割し、それぞれの領域をsCU_{n}(n=0..3)とする。   Next, the operation of the image encoding device shown in FIG. 1 will be described with reference to FIG. FIG. 2 is a flowchart showing the operation of the image encoding device shown in FIG. First, the in-coding region complexity calculation unit 4 calculates the degree of complexity of the encoding target region (step S1). The degree of complexity of the encoding target region is determined based on the average or variance of pixel values in the region. FIG. 4 is a schematic diagram of the division of the encoding target area. The in-coding region complexity calculation unit 4 divides the encoding target region having a size of 2N × 2N pixels into four sub-blocks of N × N shown in FIG. 4 and sCU_ {n} (n = 0.3).

次に、符号化領域内複雑度算出部4は、sCU_{n}内の画素値をI_{n}(i,j)とし、I_{n}(i,j)のsCU_{n}内での平均値をave(I_{n})とする。続いて、算出した4つの平均値ave(I_{n})について、それらの分散var(ave(I_{n}))を計算する。   Next, the in-coding region complexity calculation unit 4 sets the pixel value in sCU_ {n} to I_ {n} (i, j), and within sCU_ {n} of I_ {n} (i, j). Is the average value of ave (I_ {n}). Subsequently, for the calculated four average values ave (I_ {n}), a variance var (ave (I_ {n})) thereof is calculated.

つまり、var(ave(I_{n}))
=var(ave(I_{0}),ave(I_{1}),ave(I_{2}),ave(I_{3}))
=(Σ_{n=0}^{3}(ave(ave(I_{0}),ave(I_{1}),ave(I_{2}),ave(I_{3}))−ave(I_{n}))^2)/(4−1)
を計算する。ここで、「^」はべき乗の演算を表す。
That is, var (ave (I_ {n}))
= Var (ave (I_ {0}), ave (I_ {1}), ave (I_ {2}), ave (I_ {3}))
= (Σ_ {n = 0} ^ {3} (ave (ave (I_ {0}), ave (I_ {1}), ave (I_ {2}), ave (I_ {3})) − ave ( I_ {n})) ^ 2) / (4-1)
Calculate Here, “^” represents a power operation.

次に、符号化領域内複雑度判定部5は、符号化領域内複雑度算出部4が算出した複雑度合いと、しきい値設定部6により予め設定したしきい値THとの比較結果に基づいて、符号化対象領域を四分木分割するか否かの判定を行う(ステップS2)。この判定の結果、四分木分割形状決定部7は、var(ave(I_n))≧THであれば、2N×2Nの符号化処理サイズをN×Nに分割すると決定し、var(ave(I_n))<THならば、符号化処理サイズは2N×2Nのままと決定する。   Next, the in-coding region complexity determination unit 5 is based on a comparison result between the complexity degree calculated by the in-coding region complexity calculation unit 4 and the threshold value TH preset by the threshold value setting unit 6. Then, it is determined whether or not the encoding target area is to be divided into quadtrees (step S2). As a result of this determination, the quadtree split shape determination unit 7 determines that the 2N × 2N encoding processing size is split into N × N if var (ave (I_n)) ≧ TH, and var (ave (ave ( If I_n)) <TH, it is determined that the encoding processing size remains 2N × 2N.

次に、符号化処理部8は、四分木分割形状決定部7が決定した符号化対象領域の四分木分割形状に基づいて、符号化対象領域の符号化処理を行う(ステップS3)。ここでは、符号化対象領域を四分木分割した後の各小領域毎に1度のみ符号化処理を行う。   Next, the encoding processing unit 8 performs encoding processing of the encoding target region based on the quadtree dividing shape of the encoding target region determined by the quadtree dividing shape determination unit 7 (step S3). Here, the encoding process is performed only once for each small area after the encoding target area is divided into quadtrees.

次に、図3を参照して、図1に示す画像符号化装置1の処理動作の詳細を説明する。図3は、図1に示す画像符号化装置1の処理動作の詳細を示すフローチャートである。ここでは、符号化対象領域であるCUのサイズを64×64画素、32×32画素、16×16画素、8×8画素とし、符号化対象領域の四分木分割数を3としたときの動作を説明する。   Next, details of the processing operation of the image encoding device 1 shown in FIG. 1 will be described with reference to FIG. FIG. 3 is a flowchart showing details of the processing operation of the image encoding device 1 shown in FIG. Here, the size of the CU that is the encoding target area is 64 × 64 pixels, 32 × 32 pixels, 16 × 16 pixels, and 8 × 8 pixels, and the number of quadtree divisions in the encoding target area is 3. The operation will be described.

まず、符号化領域内複雑度算出部4は、LCUサイズである64×64画素において、前述した計算方法により複雑度の算出を行う(ステップS11)。続いて、符号化領域内複雑度判定部5は、前述した処理動作に基づきCU=64×64での複雑度の判定を行う(ステップS12)。そして、CUを分割する場合には、ステップS13の処理に進み、CUを分割しない場合には、ステップS22の処理に進む。   First, the in-coding region complexity calculation unit 4 calculates the complexity by the above-described calculation method in the LCU size of 64 × 64 pixels (step S11). Subsequently, the in-coding region complexity determination unit 5 determines the complexity at CU = 64 × 64 based on the processing operation described above (step S12). And when dividing | segmenting CU, it progresses to the process of step S13, and when not dividing | segmenting CU, it progresses to the process of step S22.

次に、四分木分割形状決定部7は、CUを32×32画素のブロックに分割し、4つのサブブロックを得る(ステップS13)。続いて、分割した4つのサブブロック毎に(ステップS14)、再び複雑度算出を行い(ステップS15)、再び複雑度判定を行う(ステップS16)。   Next, the quadtree partition shape determination unit 7 divides the CU into blocks of 32 × 32 pixels to obtain four sub blocks (step S13). Subsequently, for each of the four divided sub-blocks (step S14), complexity calculation is performed again (step S15), and complexity determination is performed again (step S16).

ステップS16における複雑度判定の結果、CUを分割する場合には、ステップS17の処理に進み、CUを分割しない場合には、次のサブブロックについての処理を行う。4つのサブブロックの処理が終了したら、ステップS22の処理に進む。   If the CU is divided as a result of the complexity determination in step S16, the process proceeds to step S17. If the CU is not divided, the process for the next sub-block is performed. When the processing of the four sub-blocks is completed, the process proceeds to step S22.

次に、32×32画素のCUを16×16画素のブロックに分割し、4つのサブブロックを得る(ステップS17)。続いて、分割した4つのサブブロック毎に(ステップS18)、再び複雑度算出を行い(ステップS19)、再び複雑度判定を行う(ステップS20)。   Next, the 32 × 32 pixel CU is divided into 16 × 16 pixel blocks to obtain four sub-blocks (step S17). Subsequently, for each of the four divided sub-blocks (step S18), complexity calculation is performed again (step S19), and complexity determination is performed again (step S20).

ステップS20における複雑度判定の結果、CUを分割する場合には、ステップS21の処理に進み、CUを分割しない場合には、次のサブブロックについての処理を行う。4つのサブブロックの処理が終了したら、ステップS14の処理に戻る。   As a result of the complexity determination in step S20, if the CU is divided, the process proceeds to step S21. If the CU is not divided, the process for the next sub-block is performed. When the processing of the four sub-blocks is completed, the process returns to step S14.

次に、16×16画素のCUを8×8画素のブロックに分割し、4つのサブブロックを得る(ステップS21)。その後、ステップS18の処理に戻る。   Next, the 16 × 16 pixel CU is divided into 8 × 8 pixel blocks to obtain four sub-blocks (step S21). Thereafter, the process returns to step S18.

以上の処理動作により、CUが64×64画素から8×8画素までの分割が行われ、CU分割の組み合わせが決定し(ステップS22)、得られたCUサイズでのみ符号化を行う(ステップS23)。   Through the above processing operation, the CU is divided from 64 × 64 pixels to 8 × 8 pixels, a combination of CU divisions is determined (step S22), and encoding is performed only with the obtained CU size (step S23). ).

なお、前述した説明においては、特徴量として領域内の複雑度を用いたが、他の特徴量を算出して四分木分割形状を決定するようにしてもよい。   In the above description, the complexity in the region is used as the feature quantity, but other feature quantities may be calculated to determine the quadtree division shape.

このように、符号化対象領域を四分木により小領域に分割し、各小領域毎に符号化を行う符号化方式において、符号化前にCUサイズを決定することによって余分な符号化処理を行わなくて済むようになり、結果として符号化処理に要する演算量を削減できるようになる。また、符号化対象領域を実際に符号化すること無しに、CUサイズの決定を行うことができるようになる。   In this way, in the encoding method in which the encoding target area is divided into small areas by a quadtree and encoding is performed for each small area, an extra encoding process is performed by determining the CU size before encoding. As a result, the amount of computation required for the encoding process can be reduced. Further, the CU size can be determined without actually encoding the encoding target area.

以上説明したように、本実施形態では、符号化を行う際に、従来法のように全てのCUサイズで符号化を行ったのちに一つに絞り込むのではなく、はじめにCUサイズを設定するようにした。これを実現するために、符号化対象領域の複雑度合いを算出する手段と、その算出した複雑度合いによって符号化対象領域を分割する手段と、それによる当該符号化対象領域のCUサイズの組み合わせを決定する手段と、決定されたCUサイズによって動画像の符号化を行う手段を備えるようにした。これにより、動画像を小矩形に分割して符号化を行う際に、符号化対象領域の複雑度に基づく処理を用いることで、小矩形への分割形状決定処理に必要な演算量の削減を実現することができる。   As described above, in the present embodiment, when encoding is performed, the CU size is set first, instead of narrowing down to one after encoding with all the CU sizes as in the conventional method. I made it. In order to realize this, a combination of a means for calculating the complexity of the encoding target area, a means for dividing the encoding target area based on the calculated complexity, and a combination of the CU sizes of the encoding target area is determined. And means for encoding a moving picture according to the determined CU size. As a result, when the video is divided into small rectangles and encoded, processing based on the complexity of the region to be encoded is used, thereby reducing the amount of computation required for the process of determining the divided shape into small rectangles. Can be realized.

なお、図2における処理部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより画像符号化処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータシステム」は、ホームページ提供環境(あるいは表示環境)を備えたWWWシステムも含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。   2 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read by a computer system and executed, thereby executing image coding processing. May be performed. Here, the “computer system” includes an OS and hardware such as peripheral devices. The “computer system” includes a WWW system having a homepage providing environment (or display environment). The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Further, the “computer-readable recording medium” refers to a volatile memory (RAM) in a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In addition, those holding programs for a certain period of time are also included.

また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであってもよい。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。   The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, what is called a difference file (difference program) may be sufficient.

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

符号化を行う際に、全てのCUサイズで符号化を行ったのちに一つに絞り込むのではなく、はじめにCUサイズを設定することにより演算量を低減することが不可欠な用途に適用できる。   When encoding is performed, it is possible to apply to an application in which it is indispensable to reduce the amount of calculation by setting the CU size first, instead of narrowing down to one after encoding with all CU sizes.

1…画像符号化装置、2…画面内符号化部、3…符号化処理サイズ決定部、4…符号化領域内複雑度算出部、5…符号化領域内複雑度判定部、6…しきい値設定部、7…四分木分割形状決定部、8…符号化処理部   DESCRIPTION OF SYMBOLS 1 ... Image coding apparatus, 2 ... In-screen encoding part, 3 ... Encoding process size determination part, 4 ... Encoding area complexity calculation part, 5 ... Encoding area complexity determination part, 6 ... Threshold Value setting unit, 7 ... Quadtree division shape determining unit, 8 ... Coding processing unit

Claims (5)

画像を複数の矩形に分割し、該矩形を更に小さな領域に分割して符号化する画像符号化方法であって、
前記画像の所定領域の特徴量を算出する特徴量算出ステップと、
符号化対象領域について前記特徴量算出ステップによって算出した前記特徴量に基づき、前記符号化対象領域を四分木で分割し、該分割によって得られた分割領域それぞれについて前記特徴量算出ステップによって算出した前記特徴量に基づいて再帰的にさらに四分木で分割した分割領域を決定する四分木分割ステップと、
決定された前記分割領域それぞれの符号化処理を行う符号化ステップと
を有することを特徴とする画像符号化方法。
An image encoding method that divides an image into a plurality of rectangles, divides the rectangles into smaller regions, and encodes them.
A feature amount calculating step for calculating a feature amount of a predetermined area of the image;
Based on the feature amount calculated by the feature amount calculation step for the encoding target region, the encoding target region is divided by a quadtree, and each of the divided regions obtained by the division is calculated by the feature amount calculation step. A quadtree dividing step for recursively determining a divided region further divided by a quadtree based on the feature amount;
An image encoding method comprising: an encoding step for performing an encoding process for each of the determined divided regions.
前記特徴量算出ステップにおいては、前記特徴量として前記符号化対象領域の複雑度を算出し、
前記四分木分割ステップにおいては、前記符号化対象領域の複雑度と予め設定されたしきい値との比較を行い、前記複雑度が前記しきい値より高い前記符号化対象領域または前記分割領域の四分木分割を行うことを特徴とする請求項1に記載の画像符号化方法。
In the feature amount calculating step, the complexity of the encoding target region is calculated as the feature amount,
In the quadtree partitioning step, the complexity of the encoding target region is compared with a preset threshold value, and the encoding target region or the split region whose complexity is higher than the threshold value The image encoding method according to claim 1, wherein quadtree partitioning is performed.
前記複雑度は、前記分割領域における平均値と分散値に基づいて算出することを特徴とする請求項2に記載の画像符号化方法。   The image encoding method according to claim 2, wherein the complexity is calculated based on an average value and a variance value in the divided region. 画像を複数の矩形に分割し、該矩形を更に小さな領域に分割して符号化する画像符号化装置であって、
前記画像の所定領域の特徴量を算出する特徴量算出手段と、
符号化対象領域について前記特徴量算出手段によって算出した前記特徴量に基づき、前記符号化対象領域を四分木で分割し、該分割によって得られた分割領域それぞれについて前記特徴量算出手段によって算出した前記特徴量に基づいて再帰的にさらに四分木で分割した分割領域を決定する四分木分割手段と、
決定された前記分割領域それぞれの符号化処理を行う符号化手段と
を備えることを特徴とする画像符号化装置。
An image encoding device that divides an image into a plurality of rectangles, divides the rectangle into smaller regions, and encodes the image.
Feature amount calculating means for calculating a feature amount of a predetermined area of the image;
Based on the feature amount calculated by the feature amount calculation unit for the encoding target region, the encoding target region is divided by a quadtree, and each divided region obtained by the division is calculated by the feature amount calculation unit. A quadtree dividing means for recursively determining a divided region further divided by a quadtree based on the feature amount;
An image coding apparatus comprising: coding means for performing coding processing on each of the determined divided areas.
画像を複数の矩形に分割し、該矩形を更に小さな領域に分割して符号化する画像符号化装置上のコンピュータに、
前記画像の所定領域の特徴量を算出する特徴量算出ステップと、
符号化対象領域について前記特徴量算出ステップによって算出した前記特徴量に基づき、前記符号化対象領域を四分木で分割し、該分割によって得られた分割領域それぞれについて前記特徴量算出ステップによって算出した前記特徴量に基づいて再帰的にさらに四分木で分割した分割領域を決定する四分木分割ステップと、
決定された前記分割領域それぞれの符号化処理を行う符号化ステップと
を行わせることを特徴とする画像符号化プログラム。
A computer on an image encoding device that divides an image into a plurality of rectangles, divides the rectangles into smaller regions and encodes them,
A feature amount calculating step for calculating a feature amount of a predetermined area of the image;
Based on the feature amount calculated by the feature amount calculation step for the encoding target region, the encoding target region is divided by a quadtree, and each of the divided regions obtained by the division is calculated by the feature amount calculation step. A quadtree dividing step for recursively determining a divided region further divided by a quadtree based on the feature amount;
An image encoding program that performs an encoding step of performing an encoding process on each of the determined divided areas.
JP2012024037A 2012-02-07 2012-02-07 Image coding method, image coding apparatus, and image coding program Active JP5779116B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012024037A JP5779116B2 (en) 2012-02-07 2012-02-07 Image coding method, image coding apparatus, and image coding program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012024037A JP5779116B2 (en) 2012-02-07 2012-02-07 Image coding method, image coding apparatus, and image coding program

Publications (2)

Publication Number Publication Date
JP2013162395A true JP2013162395A (en) 2013-08-19
JP5779116B2 JP5779116B2 (en) 2015-09-16

Family

ID=49174296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012024037A Active JP5779116B2 (en) 2012-02-07 2012-02-07 Image coding method, image coding apparatus, and image coding program

Country Status (1)

Country Link
JP (1) JP5779116B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014099851A (en) * 2012-11-13 2014-05-29 Hon Hai Precision Industry Co Ltd Image division system and image division method
JP2014099850A (en) * 2012-11-13 2014-05-29 Hon Hai Precision Industry Co Ltd Image division system and image division method
JP2014099852A (en) * 2012-11-13 2014-05-29 Hon Hai Precision Industry Co Ltd Image division system and image division method
JP2015109586A (en) * 2013-12-05 2015-06-11 Nttエレクトロニクス株式会社 Encoder and block size selection method
CN104853220A (en) * 2015-05-18 2015-08-19 武汉随锐亿山科技有限公司 HEVC coding quadtree recursive decoding method
JP2016213615A (en) * 2015-05-01 2016-12-15 富士通株式会社 Video encoder, video encoding method and computer program for video encoding

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11164305A (en) * 1997-04-24 1999-06-18 Mitsubishi Electric Corp Moving image coding method, moving image coder and moving image decoder
JP2009246540A (en) * 2008-03-28 2009-10-22 Ibex Technology Co Ltd Encoding device, encoding method, and encoding program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11164305A (en) * 1997-04-24 1999-06-18 Mitsubishi Electric Corp Moving image coding method, moving image coder and moving image decoder
JP2009246540A (en) * 2008-03-28 2009-10-22 Ibex Technology Co Ltd Encoding device, encoding method, and encoding program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014099851A (en) * 2012-11-13 2014-05-29 Hon Hai Precision Industry Co Ltd Image division system and image division method
JP2014099850A (en) * 2012-11-13 2014-05-29 Hon Hai Precision Industry Co Ltd Image division system and image division method
JP2014099852A (en) * 2012-11-13 2014-05-29 Hon Hai Precision Industry Co Ltd Image division system and image division method
JP2015109586A (en) * 2013-12-05 2015-06-11 Nttエレクトロニクス株式会社 Encoder and block size selection method
JP2016213615A (en) * 2015-05-01 2016-12-15 富士通株式会社 Video encoder, video encoding method and computer program for video encoding
CN104853220A (en) * 2015-05-18 2015-08-19 武汉随锐亿山科技有限公司 HEVC coding quadtree recursive decoding method
CN104853220B (en) * 2015-05-18 2017-08-25 武汉随锐亿山科技有限公司 A kind of HEVC encodes the recursion interpretation method of quaternary tree

Also Published As

Publication number Publication date
JP5779116B2 (en) 2015-09-16

Similar Documents

Publication Publication Date Title
TWI666926B (en) Block partitioning using tree structures
US20200260117A1 (en) Methods and Apparatuses for Coding and Decoding Depth Map
JP5779116B2 (en) Image coding method, image coding apparatus, and image coding program
JP7024106B2 (en) High speed DST-7
EP3643069B1 (en) Effective encoding for screen data
EP3509305A1 (en) Intra-prediction video coding method and device
US20210281842A1 (en) Method and apparatus for processing video
US20180199058A1 (en) Video encoding and decoding method and device
JP2022524916A (en) Shape-adaptive discrete cosine transform for geometric division with adaptive number regions
JP2018533273A5 (en)
JP2013123201A (en) Image encoder, image encoding method, program, image decoder, image decoding method and program
CN111316642A (en) Method and apparatus for signaling image coding and decoding partition information
JP2014146988A (en) Dynamic image encoder
WO2024078066A1 (en) Video decoding method and apparatus, video encoding method and apparatus, storage medium, and device
JP6194334B2 (en) Video encoding apparatus, video encoding method, and video encoding program
TWI510050B (en) Quantization control method and apparatus, and quantization control program
CN115442617A (en) Video processing method and device based on video coding
JP5809574B2 (en) Encoding method, decoding method, encoding device, decoding device, encoding program, and decoding program
WO2021057464A1 (en) Video processing method and apparatus, and storage medium and electronic device
JP2014112748A (en) Image coding device and image decoding device
CN111885378B (en) Multimedia data encoding method, apparatus, device and medium
JP2019205010A (en) Encoding device, image interpolation system, and encoding program
JP7310919B2 (en) Filter generation method, filter generation device and program
CN110662060B (en) Video encoding method and apparatus, video decoding method and apparatus, and storage medium
JP6854716B2 (en) Image processing device, image processing method

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20130606

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20130802

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141007

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150310

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150710

R150 Certificate of patent or registration of utility model

Ref document number: 5779116

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150