JP6517609B2 - Encoding method and encoding program - Google Patents
Encoding method and encoding program Download PDFInfo
- Publication number
- JP6517609B2 JP6517609B2 JP2015139855A JP2015139855A JP6517609B2 JP 6517609 B2 JP6517609 B2 JP 6517609B2 JP 2015139855 A JP2015139855 A JP 2015139855A JP 2015139855 A JP2015139855 A JP 2015139855A JP 6517609 B2 JP6517609 B2 JP 6517609B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- frame
- encoding
- score
- block
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
本発明は、符号化方法及び符号化プログラムに関する。 The present invention relates to an encoding method and an encoding program.
近年、ブロードバンドサービスの普及に伴い、ネットワークを介して動画像のコンテンツを視聴することが容易になった。動画像のコンテンツを視聴することが容易になったことによって、ネットワーク上のデータの半分以上が動画像のデータになるとも言われている。 In recent years, with the spread of broadband services, it has become easier to view moving image content via a network. It is also said that more than half of the data on the network becomes moving image data because it has become easier to view moving image content.
また、視野角360度となるように全天周画像を表示することによって、視聴者に高臨場感を与える画像サービスがある。動画像は、複数のフレーム(静止画)を含む。全天周画像では、フレーム同士が空間的な連続性を持つよう隣接して表示される。すなわち、全天周画像では、フレームにおける端が他のフレームにおける端と隣接するように表示される。例えば、全天周画像では、フレームにおける右端が他のフレームにおける左端と隣接するように表示される。例えば、全天周画像では、フレームにおける上端が他のフレームにおける下端と隣接するように表示される。 In addition, there is an image service which gives the viewer a high sense of reality by displaying the whole sky image so as to have a viewing angle of 360 degrees. The moving image includes a plurality of frames (still images). In the whole sky image, the frames are displayed adjacent to each other so as to have spatial continuity. That is, in the full sky image, the end of the frame is displayed adjacent to the end of the other frame. For example, in the full sky image, the right end of the frame is displayed adjacent to the left end of another frame. For example, in the full sky image, the upper end of a frame is displayed adjacent to the lower end of another frame.
また、動画圧縮規格の一つであるH.263では、画面外参照などの非制限動き補償技術が採用されている(非特許文献1参照)。 In addition, in H.263, which is one of moving image compression standards, non-restricted motion compensation technology such as out-of-screen reference is adopted (see Non-Patent Document 1).
従来の符号化装置は、画像が空間的な連続性を持つよう隣接して表示される場合、画像の符号化の効率を向上させることができないという問題がある。 The conventional encoding device has a problem that it is not possible to improve the efficiency of image coding when the images are displayed adjacent to each other with spatial continuity.
上記事情に鑑み、本発明は、画像が空間的な連続性を持つよう隣接して表示される場合、画像の符号化の効率を向上させることが可能である符号化方法及び符号化プログラムを提供することを目的としている。 In view of the above circumstances, the present invention provides an encoding method and an encoding program that can improve the efficiency of image encoding when the images are displayed adjacent to each other with spatial continuity. The purpose is to
本発明の一態様は、符号化装置における符号化方法であって、符号化する対象の画像を取得するステップと、予め定められた要素に応じて、前記画像において行方向又は列方向に定められた複数の領域に評点を定めるステップと、前記画像がイントラフレームに符号化される場合、前記画像において前記評点が相対的に高い前記領域であるか否かに応じて前記領域を再配置し、前記領域が再配置された前記画像を符号化するステップと、を有する符号化方法である。 One aspect of the present invention is a coding method in a coding device, which is determined in a row direction or a column direction in the image according to a step of acquiring an image to be coded and a predetermined element. Defining a score in a plurality of regions, and repositioning the region according to whether the region is relatively high in the image if the image is encoded into an intra frame, And D. encoding the image in which the region has been rearranged.
本発明の一態様は、上記の符号化方法であって、前記画像がインターフレームに符号化される場合、前記画像において互いに正対する端の前記領域同士を動き探索の範囲とし、前記動き探索の結果に基づいて前記画像を符号化するステップと、を更に有する符号化方法である。 One embodiment of the present invention is the encoding method described above, wherein, when the image is encoded in an inter frame, the areas of the ends facing each other in the image are defined as a motion search range, and the motion search And D. encoding the image based on the result.
本発明の一態様は、上記の符号化方法をコンピュータに実行させるための符号化プログラムである。 One aspect of the present invention is an encoding program for causing a computer to execute the above encoding method.
本発明により、動画像が空間的な連続性を持つよう隣接して表示される場合、動画像のフレームの符号化の効率を向上させることが可能となる。 According to the present invention, it is possible to improve the coding efficiency of frames of a moving image when the moving image is displayed adjacent to each other with spatial continuity.
本発明の実施形態について、図面を参照して詳細に説明する。
(第1の実施形態)
図1は、符号化装置10の構成の例を示す図である。符号化装置10は、前処理部11と、記憶部12と、符号化部13と、出力部14とを備える。前処理部11と、符号化部13と、出力部14との一部または全部は、例えば、CPU(Central Processing Unit)等のプロセッサが、メモリに記憶されたプログラムを実行することにより機能するソフトウェア機能部である。また、これらの機能部のうち一部または全部は、LSI(Large Scale Integration)やASIC(Application Specific Integrated Circuit)等のハードウェア機能部であってもよい。
Embodiments of the present invention will be described in detail with reference to the drawings.
First Embodiment
FIG. 1 is a diagram showing an example of the configuration of the
前処理部11は、全天周画像であって、符号化する対象のフレーム(原画像)を取得する。画像は、静止画でもよいし、動画像でもよい。符号化の規格は、特定の規格に限定されない。例えば、静止画は、JPEG(Joint Photographic Experts Group)規格に基づいて符号化されてもよい。例えば、動画像は、MPEG(Moving Picture Experts Group)規格やH.264規格に基づいて符号化されてもよい。
The preprocessing
以下では、前処理部11は、一例として動画像を取得する。動画像は、複数のフレーム(静止画)を含む。全天周画像では、フレーム同士が空間的な連続性を持つよう隣接して表示される。すなわち、全天周画像では、フレームにおける端が他のフレームにおける端と隣接するように表示される。前処理部11は、符号化する対象のフレームを含む動画像に前処理を施す。前処理部11は、前処理を施した動画像を符号化部13に転送する。
In the following, the
前処理部11は、符号化する対象のフレームを、符号化部13が符号化し易いフレームに加工する。符号化し易いフレームとは、例えば、画像の冗長性が高いフレームである。符号化部13は、画像の冗長性を利用した符号化処理をフレーム(原画像)に施すことによって、符号化の効率を向上させることができる。
The preprocessing
以下、符号化されるフレームの単位領域を「ブロック」という。以下、フレームにおいて一方向に配置されている複数のブロックを「ブロックライン」という。 Hereinafter, a unit area of a frame to be encoded is referred to as a "block". Hereinafter, a plurality of blocks arranged in one direction in the frame will be referred to as "block lines".
前処理部11は、フレームにおいて行方向又は列方向に、複数のブロックラインを定める。前処理部11は、行方向又は列方向に複数のブロックラインが予め定められたフレームを取得してもよい。前処理部11は、ブロックラインにおける画像の要素に基づく評点を、ブロックラインに定める。画像の要素は、例えば、画像のアクティビティである。アクティビティとは、例えば、画素値としてのテクスチャの複雑さ又は平坦さである。例えば、前処理部11は、ブロックラインにおけるテクスチャが複雑であるほど、高い評点をブロックラインに定める。すなわち、前処理部11は、ブロックラインにおけるテクスチャが平坦であるほど、低い評点をブロックラインに定める。
The preprocessing
また、画像の要素は、例えば、画像にグラデーションが存在するか否かによって表現される。例えば、前処理部11は、グラデーションが存在するブロックラインには、グラデーションが存在しないブロックラインによりも高い評点を定める。画像の要素は、例えば、画素値としての輝度によって表現される。例えば、前処理部11は、輝度の高い領域が存在するブロックラインには、輝度の高い領域が存在しないブロックラインによりも高い評点を定める。
Further, the elements of the image are expressed, for example, by whether or not gradation exists in the image. For example, the
前処理部11は、フレームにおいて、第1のブロックライン、第2のブロックライン、第3のブロックラインがこの順で並んでいる場合に、第1条件から第3条件の全てを満たす第2のブロックラインを検出する。なお、前処理部11は、第1条件から第3条件の少なくとも一つを満たす第2のブロックラインを検出してもよい。
When the first block line, the second block line, and the third block line are lined up in this order in the frame, the
第1条件は、第1のブロックラインの評点と第2のブロックラインの評点との差が閾値以下であることである。第2条件は、第3のブロックラインの評点と第2のブロックラインの評点との差が閾値以上であることである。第3条件は、第1のブロックラインの評点と第3のブロックラインの評点との差が、他のブロックライン同士の評点の差と比較して、フレームにおいて最も大きいことである。 The first condition is that the difference between the score of the first block line and the score of the second block line is equal to or less than a threshold. The second condition is that the difference between the score of the third block line and the score of the second block line is equal to or greater than the threshold. The third condition is that the difference between the score of the first block line and the score of the third block line is the largest in the frame as compared to the difference of the scores of other block lines.
図2は、第1の実施形態における、列方向のブロックラインの再配置の例を示す図である。図2では、符号化する対象のフレームは、列方向のブロックライン1a〜6aから構成されている。図2では、一例として、ブロックライン2aの評点とブロックライン3aの評点との差は、閾値以下である。ブロックライン3aの評点とブロックライン4aの評点との差は、閾値以上である。ブロックライン2aの評点とブロックライン4aの評点との差は、他のブロックライン同士の評点の差と比較して、フレームにおいて最も大きい。
FIG. 2 is a diagram showing an example of rearrangement of block lines in the column direction in the first embodiment. In FIG. 2, the frame to be encoded is composed of
前処理部11は、検出された第2のブロックラインとの評点の差が小さい第1のブロックラインと、検出された第2のブロックラインとを切り離す。図2では、前処理部11は、ブロックライン2aとブロックライン3aとを切り離す。前処理部11は、ブロックライン群と他のブロックライン群とを切り離してもよい。図2では、前処理部11は、ブロックライン2aとブロックライン3aとを切り離す場合、ブロックライン1a及び2aと、ブロックライン3a〜6aとを切り離す。
The preprocessing
前処理部11は、切り離されたブロックラインを他のブロックラインに接合することによって、ブロックライン群をフレームにおいて再配置する。前処理部11は、評点が高いブロックライン同士を接合することによって、評点が高いブロックライン同士を隣接させる。図2では、前処理部11は、ブロックライン1aとブロックライン4a〜6aとを、フレームの端以外で隣接させて配置する。符号化部13は、評点が高いブロックライン同士が隣接しているフレームに、画像の冗長性を利用した符号化処理を施すことによって、符号化の効率を向上させることができる。
The preprocessing
前処理部11は、評点が低いブロックラインをフレームの端に再配置する。前処理部11は、評点が低い複数のブロックラインをフレームの両端に再配置してもよい。図2では、前処理部11は、ブロックライン2aをフレームの右端に配置する。前処理部11は、ブロックライン3aをフレームの左端に配置する。全天周画像では、フレームの左端のブロックと他のフレームの右端のブロックとに空間的な連続性があるため、画像の冗長性が高い。符号化部13は、評点が低い複数のブロックラインが両端に配置されているフレームに、画像の冗長性を利用した符号化処理を施すことによって、符号化の効率を向上させることができる。
The preprocessing
図3は、第1の実施形態における、行方向のブロックラインの再配置の例を示す図である。図3では、符号化する対象のフレームは、行方向のブロックライン1b〜6bから構成されている。図3では、一例として、ブロックライン4bの評点とブロックライン5bの評点との差は、閾値以下である。ブロックライン5bの評点とブロックライン6bの評点との差は、閾値以上である。ブロックライン4bの評点とブロックライン6bの評点との差は、他のブロックライン同士の評点の差と比較して、フレームにおいて最も大きい。 FIG. 3 is a diagram showing an example of rearrangement of block lines in the row direction in the first embodiment. In FIG. 3, the frame to be encoded is composed of block lines 1b to 6b in the row direction. In FIG. 3, as an example, the difference between the score of the block line 4b and the score of the block line 5b is equal to or less than the threshold. The difference between the score of block line 5b and the score of block line 6b is equal to or greater than the threshold. The difference between the score of block line 4b and the score of block line 6b is the largest in the frame as compared to the difference of the scores of other block lines.
前処理部11は、検出された第2のブロックラインとの評点の差が小さい第1のブロックラインと、検出された第2のブロックラインとを切り離す。図3では、前処理部11は、ブロックライン4bとブロックライン5bとを切り離す。前処理部11は、ブロックライン群と他のブロックライン群とを切り離してもよい。図3では、前処理部11は、ブロックライン4bとブロックライン5bとを切り離す場合、ブロックライン1b〜4bと、ブロックライン5b及び6bとを切り離す。
The preprocessing
前処理部11は、切り離されたブロックラインを他のブロックラインに接合することによって、ブロックライン群をフレームにおいて再配置する。前処理部11は、評点が高いブロックライン同士を接合することによって、評点が高いブロックライン同士を隣接させる。図3では、前処理部11は、ブロックライン6bとブロックライン1b〜3bとを、フレームの端以外で隣接させて配置する。符号化部13は、評点が高いブロックライン同士が隣接しているフレームに、画像の冗長性を利用した符号化処理を施すことによって、符号化の効率を向上させることができる。
The preprocessing
前処理部11は、評点が低いブロックラインをフレームの端に再配置する。前処理部11は、評点が低い複数のブロックラインをフレームの両端に再配置してもよい。図3では、前処理部11は、ブロックライン1bをフレームの下端に配置する。前処理部11は、ブロックライン5bをフレームの上端に配置する。全天周画像では、フレームの下端のブロックと他のフレームの上端のブロックとに空間的な連続性があるため、画像の冗長性が高い。符号化部13は、評点が低い複数のブロックラインが両端(互いに正対する端)に配置されているフレームに、画像の冗長性を利用した符号化処理を施すことによって、符号化の効率を向上させることができる。
The preprocessing
記憶部12は、例えば、ROM(Read Only Memory)、フラッシュメモリ、HDD(Hard Disk Drive)などの不揮発性の記憶媒体(非一時的な記録媒体)を有する。記憶部12は、例えば、RAM(Random Access Memory)やレジスタなどの揮発性の記憶媒体を有していてもよい。記憶部12は、例えば、ソフトウェア機能部を機能させるためのプログラムを記憶してもよい。記憶部12は、例えば、符号化処理に用いられるパラメータを記憶してもよい。記憶部12は、例えば、前処理に用いられるパラメータを記憶してもよい。記憶部12は、閾値を記憶してもよい。
The
符号化部13は、前処理が施された複数のフレームを含む動画像を、前処理部11から取得する。符号化部13は、前処理が施された複数のフレームを符号化する。第1の実施形態では、符号化部13は、イントラ符号化によってフレームを符号化する。符号化部13は、例えば、符号化プログラムを実行することによってフレームを符号化する。符号化部13は、符号化したフレームを出力部14に送信する。符号化部13は、符号化したフレームを記憶部12に記憶させてもよい。
The
出力部14は、符号化されたフレームを表示装置に出力する。表示装置は、符号化されたフレームを復号し、復号したフレームを含む動画像を全天周画像として表示する。すなわち、出力部14は、複数のフレームが隣接して表示されるように、表示装置に動画像を出力する。
The
図4は、前処理の手順の例を示すフローチャートである。図4に示すステップS103〜ステップS106は、列方向のブロックラインと、行方向のブロックラインとの少なくとも一方について実行される。 FIG. 4 is a flowchart showing an example of the procedure of pre-processing. Steps S <b> 103 to S <b> 106 illustrated in FIG. 4 are performed for at least one of block lines in the column direction and block lines in the row direction.
前処理部11は、符号化する対象のフレーム(原画像)を取得する(ステップS101)。前処理部11は、取得したフレームが空間的な連続性を持つよう隣接して表示されるフレームであるか否かを判定する。すなわち、前処理部11は、取得したフレームが全天周画像であるか否かを判定する(ステップS102)。
The preprocessing
取得したフレームが全天周画像でない場合(ステップS102:No)、前処理部11は、ステップS107に処理を進める。取得したフレームが全天周画像である場合(ステップS102:Yes)、前処理部11は、要素に基づく評点をブロックラインごとに決定する(ステップS103)。前処理部11は、第1条件から第3条件を満たすブロックラインを検出したか否かを判定する(ステップS104)。
If the acquired frame is not a full sky image (step S102: No), the preprocessing
第1条件から第3条件を満たすブロックラインを検出していない場合(ステップS104:No)、前処理部11は、ステップS107に処理を進める。第1条件から第3条件を満たすブロックラインを検出した場合(ステップS104:Yes)、前処理部11は、検出されたブロックラインの評点との差が小さい評点が定められたブロックラインと、検出されたブロックラインとを切り離す(ステップS105)。前処理部11は、検出されたブロックラインの評点との差が小さい評点が定められたブロックラインを、フレームの端に配置する(ステップS106)。符号化部13は、前処理部11から送信された動画像のフレームを、イントラ符号化によって符号化する(ステップS107)。
When the block line satisfying the first condition to the third condition is not detected (step S104: No), the preprocessing
なお、復号されたフレームには、符号化前に再配置されたブロックラインを再配置される前の元の配置に戻す処理が施されてもよい。 The decoded frame may be subjected to processing for restoring the block line rearranged before encoding to the original arrangement before rearrangement.
以上のように、第1の実施形態の符号化方法は、符号化装置10における符号化方法であって、符号化する対象の画像(フレーム)を取得するステップと、予め定められた要素に応じて、画像において行方向又は列方向に定められた複数の領域(ブロックライン)に評点を定めるステップと、画像がイントラフレームに符号化される場合、画像において評点が相対的に高い領域であるか否かに応じて領域を再配置し、領域が再配置された画像を符号化するステップとを有する。
As described above, the encoding method according to the first embodiment is the encoding method in the
これによって、第1の実施形態の符号化装置10は、画像が空間的な連続性を持つよう隣接して表示される場合、画像の符号化の効率を向上させることが可能である。
This enables the
(第2の実施形態)
第2の実施形態では、符号化部13がインター符号化によってフレームを符号化する点が、第1の実施形態と相違する。第2の実施形態では、第1の実施形態との相違点についてのみ説明する。
Second Embodiment
The second embodiment is different from the first embodiment in that the
全天周画像では、フレーム同士が空間的な連続性を持つよう隣接して表示される。すなわち、全天周画像では、フレームにおける端が他のフレームにおける端と隣接するように表示される。符号化部13は、フレームにおいて互いに正対する端のブロックライン同士を、動き探索範囲とする。また、符号化部13は、フレームにおいて互いに正対する端のブロックラインの一方を、動き探索範囲としてもよい。また、符号化部13は、フレームにおいて互いに正対する端のブロックラインの一方を含む範囲を、動き探索範囲としてもよい。第2の実施形態では、符号化部13は、インター符号化によってフレームを符号化する。
In the whole sky image, the frames are displayed adjacent to each other so as to have spatial continuity. That is, in the full sky image, the end of the frame is displayed adjacent to the end of the other frame. The
図5は、第2の実施形態における、前処理の手順の例を示すフローチャートである。前処理部11は、符号化する対象のフレーム(原画像)を取得する(ステップS201)。前処理部11は、取得したフレームが空間的な連続性を持つよう隣接して表示されるフレームであるか否かを判定する。すなわち、前処理部11は、取得したフレームが全天周画像であるか否かを判定する(ステップS202)。
FIG. 5 is a flowchart showing an example of the procedure of pre-processing in the second embodiment. The preprocessing
取得したフレームが全天周画像でない場合(ステップS202:No)、前処理部11は、ステップS204に処理を進める。取得したフレームが全天周画像である場合(ステップS202:Yes)、符号化部13は、フレームにおいて互いに正対する端のブロックライン同士を、動き探索範囲とする(ステップS203)。符号化部13は、前処理部11から送信された動画像のフレームを、インター符号化によって符号化する(ステップS204)。
When the acquired frame is not a full sky image (step S202: No), the preprocessing
以上のように、第2の実施形態の符号化方法は、符号化装置10における符号化方法であって、画像がインターフレームに符号化される場合、画像(フレーム)において互いに正対する端の領域(ブロックライン)同士を動き探索の範囲とし、動き探索の結果に基づいて画像を符号化するステップを有する。符号化部13は、画像において互いに正対する端の領域の一方を、動き探索範囲としてもよい。また、符号化部13は、画像において互いに正対する端の領域の一方を含む範囲を、動き探索範囲としてもよい。
As described above, the encoding method according to the second embodiment is the encoding method in the
これによって、第2の実施形態の符号化装置10は、画像が空間的な連続性を持つよう隣接して表示される場合、画像の符号化の効率をより向上させることが可能である。
By this, the
(第3の実施形態)
第3の実施形態では、符号化する対象がインターフレーム(予測フレーム)でない場合に前処理部11が前処理を実行する点が、第1の実施形態と相違する。第3の実施形態では、第1の実施形態との相違点についてのみ説明する。
Third Embodiment
The third embodiment is different from the first embodiment in that the
前処理部11は、イントラフレームと、イントラフレームに続くインターフレームとに前処理を施す。前処理部11は、動画像のストリームがClosed GOP(Group Of Pictures)構造を有する場合、GOP単位で複数のフレームに前処理を施す。前処理部11は、動画像のストリームがOpen GOP(Group Of Pictures)構造を有する場合、シーン単位で複数のフレームに前処理を施す。
The preprocessing
符号化部13は、前処理部11が前処理を施した動画像のイントラフレームを、イントラ符号化によって符号化する。符号化部13は、前処理部11が前処理を施していない動画像のインターフレームを、インター符号化によって符号化する。
The
図6は、第3の実施形態における、前処理の手順の例を示すフローチャートである。図6に示すステップS303〜ステップS306は、列方向のブロックラインと、行方向のブロックラインとの少なくとも一方について実行される。 FIG. 6 is a flowchart showing an example of the procedure of pre-processing in the third embodiment. Steps S <b> 303 to S <b> 306 illustrated in FIG. 6 are performed for at least one of block lines in the column direction and block lines in the row direction.
前処理部11は、符号化する対象のフレーム(原画像)を取得する(ステップS301)。前処理部11は、符号化する対象がインターフレーム又はイントラフレームのいずれに符号化されるかを判定する(ステップS302)。符号化する対象がイントラフレームに符号化される場合(ステップS302:No)、前処理部11は、要素に基づく評点をブロックラインごとに決定する(ステップS303)。前処理部11は、第1条件から第3条件を満たすブロックラインを検出したか否かを判定する(ステップS304)。
The preprocessing
第1条件から第3条件を満たすブロックラインを検出していない場合(ステップS304:No)、前処理部11は、ステップS308に処理を進める。第1条件から第3条件を満たすブロックラインを検出した場合(ステップS304:Yes)、前処理部11は、検出されたブロックラインの評点との差が小さい評点が定められたブロックラインと、検出されたブロックラインとを切り離す(ステップS305)。前処理部11は、検出されたブロックラインの評点との差が小さい評点が定められたブロックラインを、フレームの端に配置する(ステップS306)。
When the block line satisfying the first condition to the third condition is not detected (step S304: No), the preprocessing
符号化する対象がインターフレームに符号化される場合(ステップS302:Yes)、符号化部13は、フレームにおいて互いに正対する端のブロックライン同士を、動き探索範囲とする(ステップS307)。符号化部13は、前処理部11から送信された動画像のフレームを、イントラ符号化又はインター符号化によって符号化する(ステップS308)。
When the target to be encoded is encoded into the inter frame (step S302: Yes), the
以上のように、第3の実施形態の符号化方法は、符号化装置10における符号化方法であって、符号化する対象の画像(フレーム)を取得するステップと、予め定められた要素に応じて、画像において行方向又は列方向に定められた複数の領域(ブロックライン)に評点を定めるステップと、画像がイントラフレームに符号化される場合、画像において評点が相対的に高い領域であるか否かに応じて領域を再配置し、領域が再配置された画像を符号化するステップとを有する。第3の実施形態の符号化方法は、符号化装置10における符号化方法であって、符号化装置10における符号化方法であって、画像がインターフレームに符号化される場合、画像(フレーム)において互いに正対する端の領域(ブロックライン)同士を動き探索の範囲とし、動き探索の結果に基づいて画像を符号化するステップを有する。符号化部13は、画像において互いに正対する端の領域の一方を、動き探索範囲としてもよい。また、符号化部13は、画像において互いに正対する端の領域の一方を含む範囲を、動き探索範囲としてもよい。
As described above, the encoding method according to the third embodiment is the encoding method in the
これによって、第3の実施形態の符号化装置10は、画像が空間的な連続性を持つよう隣接して表示される場合、画像の符号化の効率をより向上させることが可能である。
This enables the
(第4の実施形態)
第4の実施形態では、符号化部13がインターフレームをイントラ符号化又はインター符号化によって符号化する点が、第3の実施形態と相違する。第4の実施形態では、第3の実施形態との相違点についてのみ説明する。
Fourth Embodiment
The fourth embodiment is different from the third embodiment in that the
図7は、第4の実施形態における、前処理の手順の例を示すフローチャートである。図7に示すステップS403〜ステップS406は、列方向のブロックラインと、行方向のブロックラインとの少なくとも一方について実行される。第3の実施形態では、インターフレームを符号化する処理が細分化されている。 FIG. 7 is a flowchart showing an example of the procedure of pre-processing in the fourth embodiment. Steps S <b> 403 to S <b> 406 illustrated in FIG. 7 are performed for at least one of block lines in the column direction and block lines in the row direction. In the third embodiment, the process of encoding an inter frame is subdivided.
前処理部11は、符号化する対象のフレーム(原画像)を取得する(ステップS401)。前処理部11は、符号化する対象がインターフレーム又はイントラフレームのいずれに符号化されるかを判定する(ステップS402)。符号化する対象がイントラフレームに符号化される場合(ステップS402:No)、前処理部11は、要素に基づく評点をブロックラインごとに決定する(ステップS403)。前処理部11は、第1条件から第3条件を満たすブロックラインを検出したか否かを判定する(ステップS404)。
The preprocessing
第1条件から第3条件を満たすブロックラインを検出していない場合(ステップS404:No)、前処理部11は、ステップS409に処理を進める。第1条件から第3条件を満たすブロックラインを検出した場合(ステップS404:Yes)、前処理部11は、検出されたブロックラインの評点との差が小さい評点が定められたブロックラインと、検出されたブロックラインとを切り離す(ステップS405)。前処理部11は、検出されたブロックラインの評点との差が小さい評点が定められたブロックラインを、フレームの端に配置する(ステップS406)。
When the block line satisfying the first condition to the third condition is not detected (step S404: No), the preprocessing
符号化する対象がインターフレームに符号化される場合(ステップS402:Yes)、符号化部13は、符号化する対象のブロックがインター符号化する対象のブロックであるか否かを判定する(ステップS407)。符号化する対象のブロックがイントラ符号化する対象のブロックである場合(ステップS407:No)、符号化部13は、ステップS409に処理を進める。
When an object to be encoded is encoded into an inter frame (step S402: Yes), the
符号化する対象のブロックがインター符号化する対象のブロックである場合(ステップS407:Yes)、符号化部13は、フレームにおいて互いに正対する端のブロックライン同士を、動き探索範囲とする(ステップS408)。符号化部13は、前処理部11から送信された動画像のフレームを、イントラ符号化又はインター符号化によって符号化する(ステップS409)。
If the block to be encoded is a block to be inter encoded (step S407: Yes), the
以上のように、第4の実施形態の符号化方法は、符号化装置10における符号化方法であって、符号化する対象のブロックがインター符号化する対象のブロックである場合、フレームにおいて互いに正対する端のブロックライン同士を、動き探索範囲とするステップを有する。
As described above, the encoding method of the fourth embodiment is the encoding method in the
これによって、第4の実施形態の符号化装置10は、画像が空間的な連続性を持つよう隣接して表示される場合、画像の符号化の効率をより向上させることが可能である。
This enables the
上述した実施形態における符号化装置の少なくとも一部をコンピュータで実現するようにしてもよい。その場合、この機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよく、FPGA(Field Programmable Gate Array)等のプログラマブルロジックデバイスを用いて実現されるものであってもよい。 At least a part of the encoding device in the above-described embodiment may be realized by a computer. In that case, a program for realizing this function may be recorded in a computer readable recording medium, and the program recorded in the recording medium may be read and executed by a computer system. Here, the “computer system” includes an OS and hardware such as peripheral devices. The term "computer-readable recording medium" refers to a storage medium such as a flexible disk, a magneto-optical disk, a ROM, a portable medium such as a ROM or a CD-ROM, or a hard disk built in a computer system. Furthermore, “computer-readable recording medium” dynamically holds a program for a short time, like a communication line in the case of transmitting a program via a network such as the Internet or a communication line such as a telephone line. It may also include one that holds a program for a certain period of time, such as volatile memory in a computer system that becomes a server or a client in that case. Further, the program may be for realizing a part of the functions described above, or may be realized in combination with the program already recorded in the computer system. It may be realized using a programmable logic device such as an FPGA (Field Programmable Gate Array).
以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design and the like within the scope of the present invention.
1a…ブロックライン、2a…ブロックライン、3a…ブロックライン、4a…ブロックライン、5a…ブロックライン、1b…ブロックライン、2b…ブロックライン、3b…ブロックライン、4b…ブロックライン、5b…ブロックライン、10…符号化装置、11…前処理部、12…記憶部、13…符号化部、14…出力部
DESCRIPTION OF
Claims (3)
符号化する対象の画像を取得するステップと、
前記画像において行方向又は列方向に定められた領域ごとに、前記領域のテクスチャが複雑であるほど高い又は前記領域にグラデーションが存在すれば高い評点を定めるステップと、
前記画像がイントラフレームに符号化される場合、前記評点に基づいて、前記領域を再配置し、前記領域が再配置された前記画像を符号化するステップと、
を有し、
前記符号化するステップにおいて、前記画像における、第1の領域、第2の領域、第3の領域がこの順で並んでいる場合、前記第1の領域の評点と前記第2の領域との評点との差が所定値以下であることを第1条件とし、前記第3の領域の評点と前記第2の領域の評点との差が所定値以上であることを第2条件とし、前記第1の領域の評点と前記第3の領域の評点との差が、前記画像における他の領域同士の評点の差と比較して最も大きいことを第3条件として、前記第1条件から前記第3条件のうち少なくとも1つを満たす前記第2の領域を検出し、検出された前記第2の領域と前記第1の領域とを切り離して、切り離された領域群を他の領域群と接合するように前記領域を再配置する
符号化方法。 A coding method in the coding device,
Obtaining an image to be encoded;
Defining, for each region defined in a row direction or a column direction in the image, the higher the texture of the region is complex, or the higher the score if gradation is present in the region;
If the image is encoded into an intra frame, rearranging the region and encoding the image with the rearranged region based on the score;
I have a,
In the encoding step, when the first area, the second area, and the third area in the image are arranged in this order, the score of the first area and the score of the second area And the difference between the score of the third area and the score of the second area are equal to or greater than a predetermined value as a second condition. From the first condition to the third condition, where the third condition is that the difference between the score of the third region and the score of the third region is the largest as compared to the difference of the scores of the other regions in the image. To detect the second region satisfying at least one of the above, and separating the detected second region and the first region to join the separated region group to another region group. An encoding method for rearranging the area .
前記全天周画像がインターフレームに符号化される場合、前記全天周画像のフレームの両端の前記領域同士を動き探索の範囲とし、前記動き探索の結果に基づいて前記画像を符号化するステップと、
を更に有する請求項1に記載の符号化方法。 The image is an all-around image,
When the whole sky image is encoded into an inter frame, the areas at both ends of the frame of the whole sky image are set as a motion search range, and the image is coded based on the result of the motion search. When,
The encoding method according to claim 1 , further comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015139855A JP6517609B2 (en) | 2015-07-13 | 2015-07-13 | Encoding method and encoding program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015139855A JP6517609B2 (en) | 2015-07-13 | 2015-07-13 | Encoding method and encoding program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017022606A JP2017022606A (en) | 2017-01-26 |
JP6517609B2 true JP6517609B2 (en) | 2019-05-22 |
Family
ID=57888518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015139855A Active JP6517609B2 (en) | 2015-07-13 | 2015-07-13 | Encoding method and encoding program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6517609B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019161410A (en) * | 2018-03-12 | 2019-09-19 | キヤノン株式会社 | Image encoding device, and control method and program therefor |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100732958B1 (en) * | 2004-08-13 | 2007-06-27 | 경희대학교 산학협력단 | Method and apparatus for encoding and decoding icosahedron panorama image |
KR100688383B1 (en) * | 2004-08-13 | 2007-03-02 | 경희대학교 산학협력단 | Motion estimation and compensation for panorama image |
JP5573349B2 (en) * | 2010-05-17 | 2014-08-20 | パナソニック株式会社 | Panorama development image photographing system and method |
-
2015
- 2015-07-13 JP JP2015139855A patent/JP6517609B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2017022606A (en) | 2017-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2760909C1 (en) | Encoding method | |
TWI536811B (en) | Method and system for image processing, decoding method, encoder and decoder | |
WO2019134442A1 (en) | Method and apparatus for encoding and decoding video image | |
US11825128B2 (en) | Method and apparatus for dynamic point cloud partition packing | |
TWI655862B (en) | Video encoding or decoding method and device | |
US11516484B2 (en) | Transform-based image coding method, and apparatus therefor | |
US10506256B2 (en) | Intra-prediction edge filtering | |
US20190236400A1 (en) | Image processing method and apparatus | |
US20190268608A1 (en) | Motion compensating prediction method and device | |
WO2019157717A1 (en) | Motion compensation method and device, and computer system | |
JP2015019152A (en) | Device, method and program for image coding, and device, method and program for image decoding | |
BR122021019687B1 (en) | Image decoding/coding method performed by a decoding/coding apparatus, decoding/coding apparatus for decoding/coding image, data transmission method and apparatus comprising a bit stream for an image and readable digital storage media by computer non-transient | |
JP2022515850A (en) | Methods, appliances and computer programs for decoding using an integrated position-dependent predictive combination process | |
BR112017010007B1 (en) | APPARATUS ADAPTED FOR GENERATING A SET OF TRANSFORMATE COEFFICIENTS, METHOD FOR GENERATING A SET OF TRANSFORMATE COEFFICIENTS, APPARATUS ADAPTED FOR DECODING A BLOCK OF A FRAME, AND METHOD FOR RECONSTRUCTING A BLOCK OF A FRAME | |
JP2024019644A (en) | Methods, devices and programs for video coding | |
JP2022512089A (en) | Improved most probable mode list generation method | |
JP6517609B2 (en) | Encoding method and encoding program | |
US20150016511A1 (en) | Image compression apparatus and method | |
JP2022504379A (en) | Intra mode selection in intra prediction | |
WO2019127100A1 (en) | Video coding method, device, and computer system | |
US9554131B1 (en) | Multi-slice/tile encoder with overlapping spatial sections | |
US9219926B2 (en) | Image encoding apparatus, image encoding method and program, image decoding apparatus, image decoding method and program | |
CN116171574A (en) | Complexity reduction for 32-point and 64-point LGTs | |
KR102011431B1 (en) | Method and apparatus for parallel processing image | |
CN112135151A (en) | Video decoding method, system, computer device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170830 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180531 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180703 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180903 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190205 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190404 |
|
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: 20190416 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190418 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6517609 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |