JP5924700B2 - Deblocking filtering control - Google Patents

Deblocking filtering control Download PDF

Info

Publication number
JP5924700B2
JP5924700B2 JP2013556574A JP2013556574A JP5924700B2 JP 5924700 B2 JP5924700 B2 JP 5924700B2 JP 2013556574 A JP2013556574 A JP 2013556574A JP 2013556574 A JP2013556574 A JP 2013556574A JP 5924700 B2 JP5924700 B2 JP 5924700B2
Authority
JP
Japan
Prior art keywords
pixels
pixel
block
line
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013556574A
Other languages
Japanese (ja)
Other versions
JP2014511632A (en
JP2014511632A5 (en
Inventor
アンドレイ ノルキン,
アンドレイ ノルキン,
ケネト アンデション,
ケネト アンデション,
リキャルド フェーバリ,
リキャルド フェーバリ,
Original Assignee
テレフオンアクチーボラゲット エルエム エリクソン(パブル)
テレフオンアクチーボラゲット エルエム エリクソン(パブル)
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=45496239&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP5924700(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by テレフオンアクチーボラゲット エルエム エリクソン(パブル), テレフオンアクチーボラゲット エルエム エリクソン(パブル) filed Critical テレフオンアクチーボラゲット エルエム エリクソン(パブル)
Publication of JP2014511632A publication Critical patent/JP2014511632A/en
Publication of JP2014511632A5 publication Critical patent/JP2014511632A5/ja
Application granted granted Critical
Publication of JP5924700B2 publication Critical patent/JP5924700B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/14Coding unit complexity, e.g. amount of activity or edge presence estimation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop

Description

本実施形態は、一般的には、フィルタリング制御に係わり、詳しくは、映像フレーム内のブロック境界を越えるデブロッキング・フィルタリングの制御に関する。   The present embodiment generally relates to filtering control, and more particularly to control of deblocking filtering across block boundaries in a video frame.

デブロッキング・フィルタは、ブロッキング・アーティファクトを減らすために映像符号化標準で使用される。ブロッキング・アーティファクトは、元の映像フレームが相対的に独立に処理されるブロックに分割されるので現れる。ブロッキング・アーティファクトは、例えば、様々なブロックのイントラ予測、量子化効果及び動き補償に起因して現れる可能性がある。デブロッキングの2つの特有の変形が後述される。   Deblocking filters are used in video coding standards to reduce blocking artifacts. Blocking artifacts appear because the original video frame is divided into blocks that are processed relatively independently. Blocking artifacts can appear due to, for example, intra prediction of various blocks, quantization effects, and motion compensation. Two specific variants of deblocking are described below.

H.264のような最新式映像符号化では、予測及び残差再構成の後で、しかし、後続のフレームを符号化又は復号化するときに後で参照するための再構成物の記憶の前に、ループフィルタとも称されるデブロッキング・フィルタが存在する。デブロッキング・フィルタリングは、フィルタ決定、フィルタリング演算、クリッピング機能及び画素値の変更のようないくつかのステップで構成される。境界をフィルタ処理すべきか否かの決定は、いくつかの条件の評価に基づいて行われる。フィルタ決定は、マクロブロック(MB)タイプ、近傍ブロック間の動きベクトル(MV)差分、近傍ブロックが残差を符号化したか否か、及び、現在の及び/又は近傍ブロックの局所構造に依存する。   H. In modern video coding such as H.264, after prediction and residual reconstruction, but before storing the reconstruction for later reference when encoding or decoding subsequent frames, There is a deblocking filter, also called a loop filter. Deblocking filtering consists of several steps such as filter determination, filtering operation, clipping function and pixel value change. The decision whether to filter the boundary is made based on the evaluation of several conditions. Filter decisions depend on macroblock (MB) type, motion vector (MV) difference between neighboring blocks, whether neighboring blocks encoded residuals, and current and / or local structure of neighboring blocks .

画素のフィルタリングの量は、とりわけ、ブロックボーダー又は境界に相対的なこの画素の位置、及び、残差符号化のため使用される量子化パラメータ(QP)値に依存する。   The amount of pixel filtering depends on, among other things, the location of this pixel relative to the block border or boundary and the quantization parameter (QP) value used for residual encoding.

フィルタ決定は、3つの画素差分を閾値と比較することに基づいている。閾値は、量子化パラメータ(QP)に適応している。例えば、a、b、c及びdが現在のブロック内の画素からなる行の中の画素の画素値を表し、e、f、g及びhが近傍ブロック内の画素からなる対応する行の中の対応する画素の画素値を表すとすると、

abcd|efgh

からなる垂直ブロック境界を仮定する。以下の条件が満たされる場合、フィルタ決定は肯定的であり、例えば、thr1及びthr2がQPに基づいて適応しているとき、abs(d−e)<thr1、abs(c−d)<thr2、及びabs(e−f)<thr2である。
The filter decision is based on comparing the three pixel differences with a threshold. The threshold is adapted to the quantization parameter (QP). For example, a, b, c and d represent the pixel values of the pixels in the row consisting of pixels in the current block, and e, f, g and h are in the corresponding row consisting of pixels in the neighboring block. Given the pixel value of the corresponding pixel,

abcd | efgh

Assume a vertical block boundary consisting of The filter decision is affirmative if the following conditions are met, for example, when thr1 and thr2 are adapted based on QP, abs (d−e) <thr1, abs (cd) <thr2, And abs (ef) <thr2.

H.264には、2つのフィルタリングモードがある。標準フィルタリングと称される第1のフィルタリングモードでは、フィルタリングは、フィルタリングが現在値を変化させる際に用いるdelta値を使って記述され得る。ブロック境界に最も近接している画素に対するフィルタリングは、d’=d+delta及びe’=e−deltaであり、deltaは、QPにより制約される値に対する閾値±thr3にクリッピングされる。それによって、低QPのときより多くのフィルタリングが高QPに対して許容される。クリッピングは、thr3がフィルタ強度を制御するとき、delta_clipped=max(−thr3,min(thr3,delta))として記述され得る。より大きいthr3の値は、フィルタリングがより強いこと、即ち、より強い低域通過フィルタリング効果が発生することがあることを意味する。   H. H.264 has two filtering modes. In a first filtering mode, referred to as standard filtering, filtering can be described using the delta value that is used when filtering changes the current value. The filtering for the pixel closest to the block boundary is d '= d + delta and e' = e-delta, and delta is clipped to the threshold ± thr3 for values constrained by QP. Thereby, more filtering is allowed for high QP than for low QP. Clipping may be described as delta_clipped = max (−thr3, min (thr3, delta)) when thr3 controls the filter strength. A larger value of thr3 means that filtering is stronger, that is, a stronger low-pass filtering effect may occur.

フィルタ強度は、以下の2つの条件、例えば、abs(b−d)<thr2及びabs(e−g)<thr2のうちのいずれかが成立した場合にも増加させられる可能性がある。フィルタ強度は、デルタをあまりクリッピングしないことにより、例えば、より多くの変動を可能にさせることにより適応させられる。   The filter strength may be increased even when one of the following two conditions is satisfied, for example, abs (b−d) <thr2 and abs (eg−g) <thr2. The filter strength is adapted by not clipping the delta too much, for example by allowing more variation.

強いフィルタリングと称される第2のフィルタリングモードは、以下の条件abs(d−e)<thr1/4が満たされるとき、イントラ・マクロブロック境界だけのため適用される。   A second filtering mode, referred to as strong filtering, is applied only for intra macroblock boundaries when the following condition abs (d−e) <thr 1/4 is satisfied.

H.264におけるデブロッキング・フィルタリングのより多くの情報のため、List他著、「Adaptive Deblocking Filter」、IEEE Transactions on Circuits and Systems for Video Technology、vol.13、no.7、2003年7月を参照する。   H. For more information on deblocking filtering in H.264, see List et al., “Adaptive Deblocking Filter”, IEEE Transactions on Circuits and Systems for Video Technology, vol. 13, no. 7, Refer to July 2003.

HEVC(高効率映像符号化)仕様案“Test Model under Considerration”、ITUT SG16 WP3ドキュメント、JCTVC−B205、第6.5章 ループ内フィルタプロセスでは、デブロッキング・フィルタは、H.264とは異なった働きをする。フィルタリングは、境界の側のブロックのうちの少なくとも1つがイントラであるか、若しくは、非零係数を有する場合、又は、ブロックの動きベクトル成分の間の差分が1整数画素以上である場合に実行される。例えば、i=0・・・7、j=0・・・3に対し、pjが現在のブロック内の行番号iの画素番号jの画素値を表し、qjが近傍ブロック内の行番号iの画素番号jの画素値を表すとすると、垂直ブロック境界が

p3p2p1p0|q0q1q2q3

であるブロックの間のボーダーをフィルタリングするとき、βがQPに依存するとして、以下の条件:

d=|p2−2×p1+p0|+|q2−2×q1+q0|+|p2−2×p1+p0|+|q2−2×q1+q0|<β

がさらに満たされるべきである。前述のHEVC仕様では、βの表が存在し、βはQPと共に増加する。
HEVC (High Efficiency Video Coding) Specification Proposal “Test Model under Consideration”, ITUT SG16 WP3 Document, JCTVC-B205, Chapter 6.5 In the in-loop filter process, the deblocking filter is H.264. It works differently from H.264. Filtering is performed if at least one of the blocks on the boundary side is intra or has non-zero coefficients, or if the difference between the motion vector components of the block is greater than one integer pixel. The For example, for i = 0... 7 and j = 0... 3, pj i represents the pixel value of pixel number j of row number i in the current block, and qj i is the row number in the neighboring block. If the pixel value of pixel number j of i is represented, the vertical block boundary is

p3 i p2 i p1 i p0 i | q0 i q1 i q2 i q3 i

When filtering the borders between blocks that are β as QP dependent, the following conditions:

d = | p2 2 −2 × p1 2 + p0 2 | + | q2 2 −2 × q1 2 + q0 2 | + | p2 5 −2 × p1 5 + p0 5 | + | q2 5 −2 × q1 5 + q0 5 | < β

Should be satisfied further. In the above-mentioned HEVC specification, there is a table of β, and β increases with QP.

条件が満たされ、フィルタリングが現在のブロックと近傍ブロックとの間で行われる場合、弱フィルタリング及び強フィルタリングとそれぞれ称される2種類のフィルタリングのうちの一方が実行される。強フィルタリングと弱フィルタリングとの間の選択は、以下の条件に依存してライン毎に別個に行われる。各ラインi=0・・・7に対し、強フィルタリングは、t及びβがQPに依存し、>>が右シフト演算子を表すとすると、以下の全ての条件:

d<(β>>2)
(|p3−p0|+|q0−q3|)<(β>>3)
|p0−q0|<((5×t+1)>>1)

が真である場合に実行され、そうではない場合、弱フィルタリグが実行される。
If the condition is met and filtering is performed between the current block and neighboring blocks, one of two types of filtering, referred to as weak filtering and strong filtering, respectively, is performed. The choice between strong filtering and weak filtering is done separately for each line depending on the following conditions: For each line i = 0... 7, strong filtering means that t c and β depend on QP and if >> represents a right shift operator, all of the following conditions:

d <(β >> 2)
(| P3 i −p0 i | + | q0 i −q3 i |) <(β >> 3)
| P0 i −q0 i | <((5 × t c +1) >> 1)

If is true, a weak filter rig is performed otherwise.

弱フィルタリングは、上記条件に基づいて実行される。実際のフィルタリングは、オフセット(Δ)を計算し、このオフセットを元の画素値に加算し、合計を0〜255のレンジにあるフィルタ処理された出力画素値にクリッピングすることにより働く:

Δ=Clip(−t,t,(13×(q0−p0)+4×(q1−p1)−5×(q2−p2)+16)>>5))
p0=Clip0−255(p0+Δ)
q0=Clip0−255(q0−Δ)
p1=Clip0−255(p1+Δ/2)
q0=Clip0−255(q1−Δ/2)

ここで、クリップ関数Clip(A,B,x)は、x<Aであるならば、Clip(A,B,x)=Aであり、x>Bであるならば、Clip(A,B,x)=Bであり、A≦x≦Bであるならば、Clip(A,B,x)=xとして定義され、Clip0−255(x)は、Clip(0,255,x)として定義される。
Weak filtering is performed based on the above conditions. The actual filtering works by calculating an offset (Δ), adding this offset to the original pixel value, and clipping the sum to the filtered output pixel value in the range 0-255:

Δ = Clip (−t c , t c , (13 × (q0 i −p0 i ) + 4 × (q1 i −p1 i ) −5 × (q2 i −p2 i ) +16) >> 5))
p0 i = Clip 0-255 (p0 i + Δ)
q0 i = Clip 0-255 (q0 i -Δ)
p1 i = Clip 0-255 (p1 i + Δ / 2)
q0 i = Clip 0-255 (q1 i −Δ / 2)

Here, the clip function Clip (A, B, x) is Clip (A, B, x) = A if x <A, and Clip (A, B, x) if x> B. If x) = B and A ≦ x ≦ B, then Clip (A, B, x) = x is defined, and Clip 0-255 (x) is defined as Clip (0, 255, x). Is done.

強フィルタリングモードは、以下の演算のステップ:

p0=Clip0−255((p2+2×p1+2×p0+2×q0+q1+4)>>3)
q0=Clip0−255((p1+2×p0+2×q0+2×q1+q2+4)>>3)
p1=Clip0−255((p2+p1+p0+q0+2)>>2)
q1=Clip0−255((p0+q0+q1+q2+2)>>2)
p2=Clip0−255((2×p3+3×p2+p1+p0+q0+4)>>3)
q2=Clip0−255((p0+q0+q1+3×q2+2×q3+4)>>3)

により実行される。
The strong filtering mode has the following calculation steps:

p0 i = Clip 0-255 ((p2 i + 2 × p1 i + 2 × p0 i + 2 × q0 i + q1 i +4) >> 3)
q0 i = Clip 0-255 ((p1 i + 2 × p0 i + 2 × q0 i + 2 × q1 i + q2 i +4) >> 3)
p1 i = Clip 0-255 ((p2 i + p1 i + p0 i + q0 i +2) >> 2)
q1 i = Clip 0-255 ((p0 i + q0 i + q1 i + q2 i +2) >> 2)
p2 i = Clip 0-255 ((2 × p3 i + 3 × p2 i + p1 i + p0 i + q0 i +4) >> 3)
q2 i = Clip 0-255 ((p0 i + q0 i + q1 i + 3 × q2 i + 2 × q3 i +4) >> 3)

It is executed by.

HEVCによるデブロッキング・フィルタリング決定は、ある特定のブロックに対するブロック境界を越える不正確なデブロッキング・フィルタリングを引き起こす可能性がある。詳しくは、様々なレベルの局所構造を有する近傍ブロックは、HEVCでは、ブロックのうちの1つを過度にフィルタリングし、それによって、ブロック内の局所構造を抑制し、フィルタで取り除くことにより、不正確に取り扱われる可能性がある。   HEVC deblocking filtering decisions can cause inaccurate deblocking filtering across block boundaries for a particular block. Specifically, neighboring blocks with various levels of local structure are inaccurate in HEVC by over-filtering one of the blocks, thereby suppressing and filtering out local structures in the block. May be handled.

List他著、「Adaptive Deblocking Filter」、IEEE Transactions on Circuits and Systems for Video Technology、vol.13、no.7、2003年7月List et al., “Adaptive Deblocking Filter”, IEEE Transactions on Circuits and Systems for Video Technology, vol. 13, no. 7, July 2003 HEVC(高効率映像符号化)仕様案“Test Model under Consideration”、ITU−T SG16 WP3ドキュメント、JCTVC−B205、第6.5章 ループ内フィルタプロセスHEVC (High Efficient Video Coding) Specification Proposal “Test Model underification”, ITU-T SG16 WP3 Document, JCTVC-B205, Chapter 6.5 In-Loop Filter Process

ブロック境界でブロッキング・アーティファクトを低減するために使用されることが可能であり、かつ、前述の欠点がない効率的なデブロッキング・フィルタリング制御の必要性がある。   There is a need for an efficient deblocking filtering control that can be used to reduce blocking artifacts at block boundaries and does not have the aforementioned drawbacks.

効率的なデブロッキング・フィルタリング制御を提供することは、一般的な目的である。   It is a general goal to provide efficient deblocking filtering control.

ブロック境界を越えて非対称のフィルタリング決定を提供することは、特有の目的である。   Providing asymmetric filtering decisions across block boundaries is a particular goal.

実施形態の態様は、各画素がそれぞれの画素値を有する映像フレーム内の複数の画素からなるブロックに適用できるフィルタリング制御の方法に関係する。この方法は、p0がこのブロック内の画素からなる第1のラインの中で、映像フレーム内の複数の画素からなる近傍ブロックへのブロック境界に最も近接している画素の画素値を表し、p1が画素からなる第1のラインの中で、ブロック境界に2番目に近接している画素の画素値を表し、p2が画素からなる第1のラインの中で、ブロック境界に3番目に近接している画素の画素値を表すとすると、少なくとも|p2−2p1+p0|に基づいてブロックに対する第1のフィルタ決定値を計算するステップを備える。この方法は、q0が近傍ブロック内の画素からなる対応する第1のラインの中で、ブロック境界に最も近接している近傍ブロック内の画素の画素値を表し、q1が画素からなる対応する第1のラインの中で、ブロック境界に2番目に近接している近傍ブロックの画素の画素値を表し、q2が画素からなる対応する第1のラインの中で、ブロック境界に3番目に近接している近傍ブロック内の画素の画素値を表すとすると、少なくとも|q2−2q1+q0|に基づいてブロックに対する第2のフィルタ決定値を計算するステップをさらに備える。第1のフィルタ決定値は、ブロック境界に対してフィルタ処理すべきブロック内の画素からなるラインの中の画素の個数を判定するために使用され、第2のフィルタ決定値は、ブロック境界に対してフィルタ処理すべき近傍ブロック内の画素からなる対応するラインの中の画素の個数を判定するために同様に使用される。 An aspect of the embodiment relates to a filtering control method that can be applied to a block including a plurality of pixels in a video frame in which each pixel has a respective pixel value. In this method, p0 i represents the pixel value of the pixel closest to the block boundary to the neighboring block consisting of a plurality of pixels in the video frame in the first line consisting of the pixels in this block; p1 i represents the pixel value of the second closest pixel to the block boundary in the first line of pixels, and p2 i is the third pixel in the block boundary of the first line of pixels. The first filter decision value for the block is calculated based on at least | p2 i -2p1 i + p0 i |. In this method, q0 i represents the pixel value of the pixel in the neighboring block closest to the block boundary in the corresponding first line consisting of the pixels in the neighboring block, and q1 i represents the correspondence consisting of the pixel. Represents the pixel value of the pixel in the neighboring block that is second closest to the block boundary, and q2 i is the third pixel at the block boundary in the corresponding first line of pixels. The second filter decision value for the block is further calculated based on at least | q2 i -2q1 i + q0 i |. The first filter decision value is used to determine the number of pixels in the line of pixels in the block to be filtered with respect to the block boundary, and the second filter decision value is relative to the block boundary. Similarly, it is used to determine the number of pixels in the corresponding line of pixels in neighboring blocks to be filtered.

実施形態の別の態様は、p0がこのブロック内の画素からなる第1のラインの中で、映像フレーム内の複数の画素からなる近傍ブロックへのブロック境界に最も近接している画素の画素値を表し、p1が画素からなる第1のラインの中で、ブロック境界に2番目に近接している画素の画素値を表し、p2が画素からなる第1のラインの中で、ブロック境界に3番目に近接している画素の画素値を表すとすると、少なくとも|p2−2p1+p0|に基づいて映像フレーム内の複数の画素からなるブロックに対する第1のフィルタ決定値を計算するように構成されている第1の決定値計算器を備えるフィルタリング制御装置を規定する。フィルタリング制御装置は、q0が近傍ブロック内の画素からなる対応する第1のラインの中で、ブロック境界に最も近接している近傍ブロック内の画素の画素値を表し、q1が画素からなる対応する第1のラインの中で、ブロック境界に2番目に近接している近傍ブロックの画素の画素値を表し、q2が画素からなる対応する第1のラインの中で、ブロック境界に3番目に近接している近傍ブロック内の画素の画素値を表すとすると、少なくとも|q2−2q1+q0|に基づいてブロックに対する第2のフィルタ決定値を計算するように構成されている第2の決定値計算器をさらに備える。第1の画素判定器は、第1の決定値計算器により計算された第1のフィルタ決定値に基づいてブロック境界に対してフィルタ処理すべきブロック内の画素からなるラインの中の画素の個数を判定するように構成されている。フィルタリング制御装置は、第2の決定値計算器により計算された第2のフィルタ決定値に基づいてブロック境界に対してフィルタ処理すべき近傍ブロック内の画素からなる対応するラインの中の画素の個数を判定するように構成されている第2の画素判定器をさらに備える。 Another aspect of the embodiment is that a pixel of a pixel whose p0 i is closest to a block boundary to a neighboring block composed of a plurality of pixels in a video frame in a first line composed of pixels in this block. P1 i represents the pixel value of the pixel second closest to the block boundary in the first line of pixels, and p2 i represents the block in the first line of pixels. If the pixel value of the pixel closest to the boundary is expressed, the first filter determination value for the block composed of a plurality of pixels in the video frame is calculated based on at least | p2 i -2p1 i + p0 i | A filtering control device comprising a first decision value calculator configured to do is defined. In the filtering control device, q0 i represents the pixel value of the pixel in the neighboring block closest to the block boundary in the corresponding first line consisting of the pixels in the neighboring block, and q1 i consists of the pixel. In the corresponding first line, the pixel value of the pixel in the neighboring block that is second closest to the block boundary is represented, and q2 i is 3 in the block boundary in the corresponding first line of pixels. The second filter decision value for the block is calculated based on at least | q2 i -2q1 i + q0 i | if the pixel value of the pixel in the nearest neighboring block is represented. And 2 decision value calculators. The first pixel determination unit is configured to determine the number of pixels in a line including pixels in a block to be filtered with respect to a block boundary based on the first filter determination value calculated by the first determination value calculator. Is configured to determine. The filtering control apparatus counts the number of pixels in a corresponding line including pixels in neighboring blocks to be filtered with respect to the block boundary based on the second filter determination value calculated by the second determination value calculator. A second pixel determiner configured to determine.

実施形態のさらなる態様は、前述された通りのフィルタリング制御装置を備える符号化器と、前述された通りのフィルタリング制御装置を備える復号化器とに関係する。さらに別の態様は、映像フレームを記憶するように構成されているメモリと、映像フレームをメモリに記憶される符号化された映像フレームに符号化するため前述された通りのフィルタリング制御装置付きの符号化器とを備えるユーザ機器を規定する。さらなる態様は、符号化された映像フレームを記憶するように構成されているメモリと、符号化された映像フレームを復号化された映像フレームに復号化するため前述された通りのフィルタリング制御装置付きの復号化器とを備えるユーザ機器を規定する。ユーザ機器のメディアプレーヤーは、復号化された映像フレームをディスプレイに表示可能な映像データ表現にするように構成されている。   A further aspect of the embodiment relates to an encoder comprising a filtering controller as described above and a decoder comprising a filtering controller as described above. Yet another aspect is a memory configured to store a video frame and a code with a filtering controller as described above for encoding the video frame into an encoded video frame stored in the memory. A user equipment comprising a generator. A further aspect comprises a memory configured to store an encoded video frame and a filtering controller as described above for decoding the encoded video frame into a decoded video frame. A user equipment comprising a decoder is defined. The media player of the user equipment is configured to render the decoded video frame into video data representation that can be displayed on the display.

さらに別の態様は、各画素がそれぞれの画素値を有する映像フレーム内の複数の画素からなるブロックのフィルタリング制御のためのコンピュータプログラムに関係する。コンピュータプログラムは、コンピュータ上で動くとき、p0がこのブロック内の画素からなる第1のラインの中で、映像フレーム内の複数の画素からなる近傍ブロックへのブロック境界に最も近接している画素の画素値を表し、p1が画素からなる第1のラインの中で、ブロック境界に2番目に近接している画素の画素値を表し、p2が画素からなる第1のラインの中で、ブロック境界に3番目に近接している画素の画素値を表すとすると、コンピュータに、少なくとも|p2−2p1+p0|に基づいてブロックに対する第1のフィルタ決定値を計算させるコード手段を備える。コンピュータは、q0が近傍ブロック内の画素からなる対応する第1のラインの中で、ブロック境界に最も近接している近傍ブロック内の画素の画素値を表し、q1が画素からなる対応する第1のラインの中で、ブロック境界に2番目に近接している近傍ブロックの画素の画素値を表し、q2が画素からなる対応する第1のラインの中で、ブロック境界に3番目に近接している近傍ブロック内の画素の画素値を表すとすると、コンピュータに、少なくとも|q2−2q1+q0|に基づいてブロックに対する第2のフィルタ決定値を計算させるコード手段をさらに備える。コンピュータプログラムは、コンピュータに、第1のフィルタ決定値に基づいてブロック境界に対してフィルタ処理すべきブロック内の画素からなるラインの中の画素の個数を判定させ、第2のフィルタ決定値に基づいてブロック境界に対してフィルタ処理すべき近傍ブロック内の画素からなる対応するラインの中の画素の個数を判定させるコード手段を備える。 Yet another aspect relates to a computer program for filtering control of a block consisting of a plurality of pixels in a video frame in which each pixel has a respective pixel value. When the computer program runs on the computer, the pixel whose p0 i is closest to the block boundary to the neighboring block consisting of a plurality of pixels in the video frame in the first line consisting of the pixels in this block In the first line consisting of pixels, p1 i represents the pixel value of the second closest pixel to the block boundary, and p2 i in the first line consisting of pixels If the pixel value of the pixel closest to the block boundary is represented, the code means for causing the computer to calculate the first filter decision value for the block based on at least | p2 i -2p1 i + p0 i | Prepare. The computer in the first line q0 i corresponding consists pixels in neighboring blocks represent pixel values of pixels neighboring block that is closest to the block boundary, the corresponding q1 i is composed of pixels In the first line, the pixel value of the pixel in the neighboring block that is second closest to the block boundary is represented, and q2 i is third in the block boundary in the corresponding first line of pixels. Assuming that the pixel values of pixels in neighboring blocks that are close to each other are expressed, the computer further includes code means for calculating a second filter decision value for the block based on at least | q2 i -2q1 i + q0 i |. The computer program causes the computer to determine the number of pixels in a line composed of pixels in the block to be filtered with respect to the block boundary based on the first filter determination value, and based on the second filter determination value Code means for determining the number of pixels in the corresponding line made up of pixels in neighboring blocks to be filtered with respect to the block boundary.

実施形態は、ブロック境界の両側の構造に適応するようにデブロッキング・フィルタリングを制御する非対称のデブロッキング決定を実現する。この非対称の決定は、ブロック境界の一方側に適用されるフィルタリングの量がブロック境界のもう一方側に適用されるフィルタリングの量と異なる可能性があり、従って、局所構造へのさらなる適応を行うことを意味する。これは、客観的及び主観的な映像品質を改善する。   Embodiments implement asymmetric deblocking decisions that control deblocking filtering to accommodate structures on both sides of the block boundary. This asymmetry determination can cause the amount of filtering applied to one side of the block boundary to differ from the amount of filtering applied to the other side of the block boundary, thus making further adaptation to the local structure. Means. This improves objective and subjective video quality.

発明は、発明のさらなる目的及び利点と一緒に、添付図面と共に挙げられた以下の説明を参照することにより最もよく理解されることがある。   The invention, together with further objects and advantages of the invention, may be best understood by referring to the following description, taken in conjunction with the accompanying drawings.

実施形態によるフィルタリング制御の方法のフローチャートである。It is a flowchart of the method of the filtering control by embodiment. 近傍ブロックとデブロッキング・フィルタリングがされ得るブロック境界との実施形態を示した図である。FIG. 6 illustrates an embodiment of neighboring blocks and block boundaries that can be deblocked and filtered. 近傍ブロックとデブロッキング・フィルタリングがされ得るブロック境界との実施形態を示した図である。FIG. 6 illustrates an embodiment of neighboring blocks and block boundaries that can be deblocked and filtered. 実施形態による図1における方法の付加的な選択可能なステップを示したフローチャートである。FIG. 2 is a flowchart illustrating additional selectable steps of the method in FIG. 1 according to an embodiment. 図1における判定ステップの実施形態を示したフローチャートである。It is the flowchart which showed embodiment of the determination step in FIG. 別の実施形態による図1における方法の付加的な選択可能なステップを示したフローチャートである。FIG. 6 is a flow chart illustrating additional selectable steps of the method in FIG. 1 according to another embodiment. 図1における方法の付加的な選択可能なステップと図1における判定ステップの実施形態を示したフローチャートである。2 is a flow chart illustrating an embodiment of additional selectable steps of the method in FIG. 1 and the determining step in FIG. 実施形態による図1における方法の付加的な選択可能なステップを示したフローチャートである。FIG. 2 is a flowchart illustrating additional selectable steps of the method in FIG. 1 according to an embodiment. フィルタリング制御装置の実施形態の概略ブロック図である。It is a schematic block diagram of embodiment of a filtering control apparatus. フィルタリング制御装置の別の実施形態の概略ブロック図である。It is a schematic block diagram of another embodiment of a filtering control apparatus. フィルタリング制御装置のさらなる実施形態の概略ブロック図である。FIG. 3 is a schematic block diagram of a further embodiment of a filtering control device. フィルタリング制御装置のさらに別の実施形態の概略ブロック図である。It is a schematic block diagram of another embodiment of a filtering control apparatus. 実施形態によるコンピュータ内でのフィルタリング制御装置のソフトウェア実装の概略ブロック図である。It is a schematic block diagram of the software implementation of the filtering control apparatus in the computer by embodiment. 実施形態による符号化器の概略ブロック図である。It is a schematic block diagram of the encoder by embodiment. 実施形態による復号化器の概略ブロック図である。FIG. 3 is a schematic block diagram of a decoder according to an embodiment. 実施形態によるユーザ機器の概略ブロック図である。It is a schematic block diagram of the user equipment by embodiment. 別の実施形態によるユーザ機器の概略ブロック図である。FIG. 6 is a schematic block diagram of a user equipment according to another embodiment. 実施形態によるネットワーク装置を備える通信ネットワークの一部分の概略図である。1 is a schematic diagram of a portion of a communication network comprising a network device according to an embodiment.

図面全体を通じて、同じ符号が類似又は対応する要素に使用される。   Throughout the drawings, the same reference numerals are used for similar or corresponding elements.

実施形態は、一般に、映像フレーム内のブロック境界を越えるフィルタリング制御及びデブロッキング・フィルタリングの制御に関係する。実施形態のフィルタリング制御は、ブロック境界によって分離された画素からなるブロックに対して独立したフィルタリング決定を行うことによりブロック境界に関する非対称のデブロッキング決定を提供する。これは、デブロッキング・フィルタリングが様々なレベルの局所構造を有する近傍ブロックを取り扱うことが可能であり、それによって、特有のデブロッキング・フィルタリングを各ブロックでこの各ブロックの局所構造に基づいて適応させることを意味する。   Embodiments generally relate to filtering control and deblocking filtering control across block boundaries in a video frame. The filtering control of the embodiment provides an asymmetric deblocking decision with respect to block boundaries by making independent filtering decisions on blocks of pixels separated by block boundaries. This allows deblocking filtering to handle neighboring blocks with various levels of local structure, thereby adapting the specific deblocking filtering in each block based on the local structure of each block Means that.

技術的によく知られているように、映像フレームは、様々な利用可能なイントラ符号化モード及びインター符号化モードに応じて符号化及び復号化される画素からなる重なりのないブロックに分割される。一般に、映像フレームは、16×16画素からなる重なりのないマクロブロックに分割される。このようなマクロブロックは、次に、様々なサイズ、例えば、4×4又は8×8画素からなるより小規模なブロックに分割される可能性がある。しかし、実施形態によれば、4×8、8×4、8×16又は16×8のような矩形ブロックも考えられる。実施形態は、マクロブロック又はより一層大規模な画素からなるブロックを含む何らかのこのような画素からなるブロックに適用され得る。   As is well known in the art, a video frame is divided into non-overlapping blocks of pixels that are encoded and decoded according to various available intra and inter coding modes. . In general, a video frame is divided into 16 × 16 pixel non-overlapping macroblocks. Such a macroblock may then be divided into smaller blocks of various sizes, eg 4 × 4 or 8 × 8 pixels. However, according to the embodiment, rectangular blocks such as 4 × 8, 8 × 4, 8 × 16 or 16 × 8 are also conceivable. Embodiments can be applied to blocks of any such pixels, including macroblocks or blocks of larger pixels.

新たに出現する高効率映像符号化(HEVC)標準では、符号化単位(CU)、予測単位(PU)及び変換単位(TU)が使用される。予測単位は、符号化単位の内部に定義され、イントラ又はインター予測モードを含む。変換単位は、符号化単位の内部に定義され、最大変換サイズは、32×32画素であり、最小サイズは、4×4画素である。CUサイズは、現在のところ、64×64画素(最大)から8×8画素(最小)まで変化している。このようにして、最大CUは、フレームの局所特性に依存する「粒度」を使ってより小さいCU群に分割され得る。即ち、最大CUは、様々なサイズのより小さいCU群に分割され得る。実施形態は、このような符号化単位と共に使用されることも可能であり、これらの符号化単位は、本書で使用されているように「画素からなるブロック」という表現により網羅されているとみなされる。   In the emerging high efficiency video coding (HEVC) standard, a coding unit (CU), a prediction unit (PU) and a transform unit (TU) are used. The prediction unit is defined inside the coding unit and includes an intra or inter prediction mode. The transform unit is defined inside the coding unit, the maximum transform size is 32 × 32 pixels, and the minimum size is 4 × 4 pixels. The CU size currently varies from 64 × 64 pixels (maximum) to 8 × 8 pixels (minimum). In this way, the maximum CU can be divided into smaller CUs using a “granularity” that depends on the local characteristics of the frame. That is, the maximum CU can be divided into smaller CU groups of various sizes. Embodiments can also be used with such coding units, and these coding units are considered to be covered by the expression “block of pixels” as used herein. It is.

ブロック内の各画素は、それぞれの画素値を有する。映像フレームは、一般に、色値が画素に割り当てられ、色値は明確な色形式で表現されている。よく用いられる色形式のうちの1つは、画素毎に赤成分、緑成分及び青成分を使用するようなその他の形式が存在するが、画素毎に1つの輝度成分と2つの色成分とを使用する。   Each pixel in the block has a respective pixel value. In a video frame, generally, color values are assigned to pixels, and the color values are expressed in a clear color format. One commonly used color format is one that uses a red, green, and blue component for each pixel, but one luminance component and two color components for each pixel. use.

従来的に、輝度成分フィルタリング及び色差成分フィルタリングは、別々に行われ、可能であれば、様々なフィルタリング決定及び様々なデブロッキング・フィルタを利用する。しかし、輝度フィルタリング決定がH.264の場合と同様に色差フィルタリングで使用されることが可能である。実施形態は、輝度成分、色差成分、又は、輝度成分及び色差成分の両方のためフィルタリング制御に適用され得る。特有の実施形態では、実施形態は、輝度又は色差フィルタリングを制御するために適用される。輝度のような1つの成分に対するフィルタリング決定、又は、フィルタリング決定の一部分は、その結果、色差のようなその他の成分に対するフィルタリング決定を行うときに使用され得る。   Traditionally, luminance component filtering and chrominance component filtering are performed separately, utilizing different filtering decisions and different deblocking filters if possible. However, the luminance filtering decision is H.264. As with H.264, it can be used in color difference filtering. Embodiments can be applied to filtering control for luminance components, chrominance components, or both luminance and chrominance components. In a specific embodiment, the embodiment is applied to control luminance or chrominance filtering. A filtering decision for one component, such as luminance, or a portion of the filtering decision can then be used when making a filtering decision for other components, such as color differences.

デブロッキング・フィルタリングは、近傍ブロック間の境界、エッジ又はボーダーを越えて実施される。その結果として、このような境界は、映像フレーム内で横並びに存在する2つの近傍ブロック10、20の間の垂直境界1である可能性があり、図2Aを参照されたい。代替的に、境界は、映像フレーム内で一方のブロック10がもう一方のブロック20の上方に位置付けられている2つの近傍ブロック10、20の間の水平境界1であり、図2Bを参照されたい。特有の実施形態では、垂直境界は、最初に幾何学的順序で最も左の境界から始まり、右手側に向かって境界を進みながら、フィルタ処理される。次に、水平境界が幾何学的順序で上端の境界から始まり、下端に向かって進みながら、フィルタ処理される。実施形態は、しかし、この特有のフィルタリング順序に限定されることなく、実際には、どのような予め定められた順序にも適用され得る。特有の実施形態では、映像フレームのエッジにある境界は、好ましくは、フィルタ処理されず、その結果、デブロッキング・フィルタリングから除外される。   Deblocking filtering is performed across boundaries, edges or borders between neighboring blocks. As a result, such a boundary may be a vertical boundary 1 between two neighboring blocks 10, 20 that lie side by side in the video frame, see FIG. 2A. Alternatively, the boundary is a horizontal boundary 1 between two neighboring blocks 10, 20 where one block 10 is positioned above the other block 20 in the video frame, see FIG. 2B . In a specific embodiment, the vertical boundary is filtered starting with the leftmost boundary first in geometric order and moving the boundary toward the right hand side. Next, the horizontal boundary is filtered in geometric order starting from the top boundary and moving toward the bottom. Embodiments, however, are not limited to this specific filtering order, but may actually be applied to any predetermined order. In a specific embodiment, the boundaries at the edges of the video frame are preferably not filtered and consequently excluded from deblocking filtering.

図1は、実施形態による映像フレーム内の複数の画素からなるブロックに適用可能であるフィルタリング制御の方法のフローチャートである。図1の方法は、一般に、ステップS1で始まり、ここで、p0がブロック10内の画素11、13、15、17からなる第1ラインの中で、映像フレーム内の複数の画素21、23、25、27からなる近傍ブロック20へのブロック境界1に最も近接している画素11の画素値を表し、p1が画素11、13、15、17からなる第1のライン12の中で、ブロック境界1に2番目に近接している画素13の画素値を表し、p2が画素11、13、15、17からなる第1のライン12の中で、ブロック境界10に3番目に近接している画素15の画素値を表すとすると、第1のフィルタ決定値が少なくとも|p2−2p1+p0|に基づいて計算される。 FIG. 1 is a flowchart of a filtering control method applicable to a block composed of a plurality of pixels in a video frame according to an embodiment. The method of FIG. 1 generally begins at step S1, where p0 i is a plurality of pixels 21, 23 in a video frame in a first line consisting of pixels 11, 13, 15, 17 in block 10. , 25, 27 represents the pixel value of the pixel 11 closest to the block boundary 1 to the neighboring block 20, and p1 i is in the first line 12 consisting of the pixels 11, 13, 15, 17 Represents the pixel value of the pixel 13 that is second closest to the block boundary 1, and p2 i is third closest to the block boundary 10 in the first line 12 consisting of the pixels 11, 13, 15, and 17. If the pixel value of the pixel 15 is represented, the first filter determination value is calculated based on at least | p2 i -2p1 i + p0 i |.

ステップS2は、少なくとも|q2−2q1+q0|に基づいてブロックに対する第2のフィルタ決定値を同様に計算し、ここで、q0は、近傍ブロック20内の画素21、23、25、27からなる対応する第1のライン22の中で、ブロック境界1に最も近接している近傍ブロック20内の画素21の画素値を表し、q1は、画素21、23、25、27からなる対応する第1のライン22の中で、ブロック境界1に2番目に近接している近傍ブロック20の画素23の画素値を表し、q2は、画素21、23、25、27からなる対応する第1のライン22の中で、ブロック境界1に3番目に近接している近傍ブロック20内の画素25の画素値を表す。 Step S2 similarly calculates a second filter decision value for the block based on at least | q2 i -2q1 i + q0 i |, where q0 i is the pixel 21, 23, 25, 27 represents the pixel value of the pixel 21 in the neighboring block 20 closest to the block boundary 1 in the corresponding first line 22 composed of 27, and q1 i is composed of the pixels 21, 23, 25, and 27. In the corresponding first line 22, the pixel value of the pixel 23 of the neighboring block 20 that is second closest to the block boundary 1 is represented, and q2 i corresponds to the corresponding pixel 21, 23, 25, 27. In the first line 22, the pixel value of the pixel 25 in the neighboring block 20 that is the third closest to the block boundary 1 is represented.

ブロック10内の画素11、13、15、17からなる第1のライン12と、近傍ブロック20内の画素21、23、25、27からなる対応する第1のライン22とは、垂直境界1の上に広がる同じ画素からなる水平ライン、即ち、画素からなる行に属する、図2Aを参照されたい、又は、水平境界1の上に広がる同じ画素からなる垂直ライン、即ち、画素の列に属する、図2Bを参照されたい。それ故に、画素11、13、15、17からなる第1のライン12と、画素21、23、25、27からなる対応する第1のライン22とは、ブロック10と近傍ブロック20との間のブロック境界1に垂直である。さらに、ブロック10内の画素11、13、15、17からなる第1のライン12と、近傍ブロック20内の画素21、23、25、27からなる対応する第1のライン22とは、同じライン番号を有する。例えば、ブロック10及び近傍ブロック20がそれぞれ、8本のような、行又は列番号i=0・・・N−1を有するN本の画素からなる行又は列を備える場合、画素11、13、15、17からなる第1のライン10は、ブロック10においてライン番号iを有し、画素21、23、25、27からなる対応する第1のライン20は、近傍ブロック20において同様にライン番号iを有する。このようにして、ブロック内の画素11、13、15、17からなる第1のライン12と、近傍ブロック20内の画素21、23、25、27からなる対応する第1のライン22とは、ブロック境界1に関して対向するラインである。   The first line 12 composed of the pixels 11, 13, 15, and 17 in the block 10 and the corresponding first line 22 composed of the pixels 21, 23, 25, and 27 in the neighboring block 20 are on the vertical boundary 1. The horizontal line consisting of the same pixels extending above, i.e. belonging to a row consisting of pixels, see Fig. 2A, or the vertical line consisting of the same pixels extending above the horizontal boundary 1, i.e. belonging to a column of pixels, See FIG. 2B. Therefore, the first line 12 composed of the pixels 11, 13, 15, 17 and the corresponding first line 22 composed of the pixels 21, 23, 25, 27 are between the block 10 and the neighboring block 20. It is perpendicular to block boundary 1. Further, the first line 12 including the pixels 11, 13, 15, and 17 in the block 10 and the corresponding first line 22 including the pixels 21, 23, 25, and 27 in the neighboring block 20 are the same line. Have a number. For example, if block 10 and neighboring block 20 each comprise a row or column of N pixels having row or column numbers i = 0... N−1, such as 8 pixels 11, 13, The first line 10 consisting of 15 and 17 has the line number i in the block 10, and the corresponding first line 20 consisting of the pixels 21, 23, 25 and 27 is similarly line number i in the neighboring block 20. Have Thus, the first line 12 composed of the pixels 11, 13, 15, and 17 in the block and the corresponding first line 22 composed of the pixels 21, 23, 25, and 27 in the neighboring block 20 are: These are the opposing lines with respect to block boundary 1.

実施形態によれば、「画素からなるライン」及び「画素からなる対応するライン」は、図2Aのように垂直ブロック境界の場合には「画素からなる行」及び「画素からなる対応する行」を表し、図2Bのように水平ブロック境界の場合には「画素からなる列」及び「画素からなる対応する列」を表す。   According to the embodiment, the “line consisting of pixels” and the “corresponding line consisting of pixels” are “rows consisting of pixels” and “corresponding rows consisting of pixels” in the case of a vertical block boundary as shown in FIG. 2A. In the case of a horizontal block boundary as shown in FIG. 2B, “columns composed of pixels” and “corresponding columns composed of pixels” are represented.

画素11、13、15、17からなる第1のライン12及び画素21、23、25、27からなる対応するライン22は、それぞれブロック10及び近傍ブロック20内の所定のラインである可能性がある。このように、画素11、13、15、17からなる第1のライン12及び画素21、23、25、27からなる対応するライン22は、フィルタリング制御が適用される各ブロック境界1に関して所定の、かつ、固定のライン番号iを有する。代替的に、画素11、13、15、17からなる第1のライン12及び画素21、23、25、27からなる対応する第1のライン22は、それぞれ現在のライン及び現在の対応するラインを表す可能性があり、このことは本書でさらに説明される。   The first line 12 composed of the pixels 11, 13, 15, and 17 and the corresponding line 22 composed of the pixels 21, 23, 25, and 27 may be predetermined lines in the block 10 and the neighboring block 20, respectively. . Thus, the first line 12 consisting of the pixels 11, 13, 15, 17 and the corresponding line 22 consisting of the pixels 21, 23, 25, 27 are predetermined for each block boundary 1 to which the filtering control is applied, And it has a fixed line number i. Alternatively, the first line 12 consisting of pixels 11, 13, 15, 17 and the corresponding first line 22 consisting of pixels 21, 23, 25, 27 are the current line and the current corresponding line, respectively. This is described further in this document.

ステップS1における第1のフィルタ決定値の計算とステップS2における第2のフィルタ決定値の計算とは、どんな順序でも直列に実行されることが可能であり、即ち、ステップS1がステップS2に先行するか、若しくは、ステップS2がステップS1に先行し、又は、少なくとも部分的に並列する。これらの2つのステップS1、S2の結果は、かくして、ブロック10内の画素値に基づいて計算された第1の決定値及びブロック10に対してブロック境界1の反対側にある近傍ブロック20内の画素値に基づいて計算された第2のフィルタ決定値である。より好ましくは、第1の決定値の計算は、ブロック10内の画素値だけに基づいて、従って、近傍ブロック20内のいずれの画素値にも基づくことなく実行される。同様に、第2のフィルタ決定値は、好ましくは、近傍ブロック20内の画素値だけに基づいて、従って、ブロック10内のいずれの画素値にも基づくことなく実行される。   The calculation of the first filter decision value in step S1 and the calculation of the second filter decision value in step S2 can be performed in series in any order, ie step S1 precedes step S2. Alternatively, step S2 precedes step S1, or at least partially parallel. The result of these two steps S1, S2 is thus the first decision value calculated based on the pixel values in block 10 and the neighboring block 20 on the opposite side of block boundary 1 relative to block 10 This is a second filter determination value calculated based on the pixel value. More preferably, the calculation of the first decision value is performed based solely on the pixel values in block 10 and thus not based on any pixel values in neighboring block 20. Similarly, the second filter decision value is preferably performed based on only the pixel values in the neighboring block 20, and thus not based on any pixel values in the block 10.

ステップS1において計算された第1のフィルタ決定値は、その後、ブロック境界1に対してフィルタ処理すべきブロック10内の画素11、13、15、17のライン12の中の画素の個数を判定するためにステップS3において使用される。第2のフィルタ決定値は、ブロック境界1に対してフィルタ処理すべき近傍ブロック20内の画素21、23、25、27からなる対応するライン22の中の画素の個数を判定するためにステップS4において同様に使用される。このようにして、別個のフィルタ決定値がブロック境界1の上に広がる画素の行若しくは列のどちらの側若しくはどちらの部分に対しても計算され、それぞれのフィルタ決定がそれぞれの側若しくは部分に対して計算された特有のフィルタ決定値に基づいてそれぞれの側若しくは部分に対して採用される。   The first filter decision value calculated in step S1 then determines the number of pixels in the line 12 of the pixels 11, 13, 15, 17 in the block 10 to be filtered with respect to the block boundary 1. Is used in step S3. The second filter decision value is used to determine the number of pixels in the corresponding line 22 consisting of the pixels 21, 23, 25, 27 in the neighboring block 20 to be filtered with respect to the block boundary 1 in step S4. In the same way. In this way, separate filter decision values are calculated for either or both portions of the row or column of pixels that extend over the block boundary 1, and each filter decision is for each side or portion. Is adopted for each side or part based on the specific filter decision value calculated in the above.

これは、単一又は1組のフィルタ決定値が画素からなるライン及び画素からなる対応するラインに対して計算され、このフィルタ決定値又はフィルタ決定値の組がブロック境界の両側でフィルタ処理すべき画素の個数を決定するために使用される従来技術と比較されるべきである。このようにして、従来技術では、ブロック内のマッチングする画素からなるラインに対して行われた場合と同じ個数の画素が近傍ブロック内の画素からなる対応するラインに対して常にフィルタ処理される。   This is a single or set of filter decision values calculated for a line of pixels and a corresponding line of pixels, and this filter decision value or set of filter decision values should be filtered on both sides of the block boundary It should be compared with the prior art used to determine the number of pixels. In this way, in the prior art, the same number of pixels is always filtered for the corresponding line of pixels in the neighboring block as performed for the line of matching pixels in the block.

本実施形態は、その代わりに、ブロック10内の画素11、13、15、17のライン12に対する別個のフィルタ決定と、近傍ブロック20内の画素21、23、25、27からなる対応するライン22に対する別の様々なフィルタ決定とを行うことにより、非対称のフィルタリング制御及びデブロッキング・フィルタリングを可能にする。これは、特有の第1及び第2のフィルタ決定値に基づいて、デブロッキング・フィルタリング及び修正のため選択された画素21、23、25、27からなる対応するライン22の中の画素の個数と異なるか、又は、同数である画素11、13、15、17からなるライン12の中の画素の個数がデブロッキング・フィルタリング及び修正に対して選択され得ることを意味する。   This embodiment instead has a separate filter decision for line 12 of pixels 11, 13, 15, 17 in block 10 and a corresponding line 22 consisting of pixels 21, 23, 25, 27 in neighboring block 20. Making a variety of different filter decisions for allows asymmetric filtering control and deblocking filtering. This is based on the specific first and second filter decision values and the number of pixels in the corresponding line 22 consisting of the pixels 21, 23, 25, 27 selected for deblocking filtering and correction. This means that the number of pixels in the line 12 consisting of different or equal numbers of pixels 11, 13, 15, 17 can be selected for deblocking filtering and correction.

一般に、本書では、pXは、ブロック10内のライン番号yを有する画素からなるラインの中のブロック境界1に相対的な画素番号Xの画素値を表す。同様に、qXは、近傍ブロック20内のライン番号yを有する画素からなる対応するラインの中のブロック境界1に相対的な画素番号Xの画素値を表す。 In general, in this document, pX y represents the pixel value of pixel number X relative to block boundary 1 in a line consisting of pixels having line number y in block 10. Similarly, qX y represents the pixel value of pixel number X relative to block boundary 1 in the corresponding line consisting of pixels having line number y in neighboring block 20.

ステップS3及びS4は、どんな順序でも直列に、又は、少なくとも部分的に並列に実行されることが可能である。   Steps S3 and S4 can be performed in any order in series or at least partially in parallel.

第1の実施形態では、ステップS1及びS2は、ブロック10と近傍ブロック20との間の所与のブロック境界1に対して1回実行されることが可能であり、それによって、ブロック10内の画素11、13、15、17からなる全てのライン12、及び、近傍ブロック20内の画素21、23、25、27からなる対応する全てのライン22にそれぞれ適用できる第1のフィルタ決定値及び第2のフィルタ決定値を計算する。このようなアプローチでは、同じ第1の個数の画素が、好ましくは、ブロック境界1に関してブロック10内の画素11、13、15、17からなる各ライン12の中でフィルタ処理され、修正され、ここで、この第1の個数は、ステップS1において計算された第1のフィルタ決定値に基づいて判定される。同様に、同じ第2の個数の画素が、好ましくは、ブロック境界1に関して近傍ブロック20内の画素21、23、25、27からなる1つずつの対応するライン22の中でフィルタ処理され、修正され、ここで、この第2の個数は、ステップS2において計算された第2のフィルタ決定値に基づいて判定される。   In the first embodiment, steps S1 and S2 can be performed once for a given block boundary 1 between block 10 and neighboring block 20, so that in block 10 The first filter decision value and the first filter decision value that can be applied to all the lines 12 composed of the pixels 11, 13, 15, 17 and all the corresponding lines 22 composed of the pixels 21, 23, 25, 27 in the neighboring block 20, respectively. 2. Calculate the filter decision value of 2. In such an approach, the same first number of pixels is preferably filtered and modified in each line 12 consisting of pixels 11, 13, 15, 17 in block 10 with respect to block boundary 1, where Thus, the first number is determined based on the first filter determination value calculated in step S1. Similarly, the same second number of pixels is preferably filtered and corrected in one corresponding line 22 consisting of pixels 21, 23, 25, 27 in neighboring block 20 with respect to block boundary 1 Here, the second number is determined based on the second filter determination value calculated in step S2.

代替的に、第2の実施形態では、第1のフィルタ決定値及び第2のフィルタ決定値は、ブロック10内の画素11、13、15、17からなるライン12のサブセット及び近傍ブロック20内の画素21、23、25、27からなる対応するライン22の対応するサブセットに適用できる。例えば、フィルタ決定値のペアは、ブロック内の画素11、13、15、17からなる最初の4本のライン12と、近傍ブロック20内の画素21、23、25、27からなる最初の4本の対応するライン22とのため使用されることが可能であり、フィルタ決定値の別のペアは、ブロック内の画素11、13、15、17からなる残りの4本のライン12と、近傍ブロック20内の画素21、23、25、27からなる残りの4本の対応するライン22とのため使用される。   Alternatively, in the second embodiment, the first filter decision value and the second filter decision value are a subset of the line 12 consisting of the pixels 11, 13, 15, 17 in the block 10 and in the neighboring block 20. Applicable to a corresponding subset of the corresponding line 22 consisting of pixels 21, 23, 25, 27. For example, the filter decision value pair includes the first four lines 12 including the pixels 11, 13, 15, and 17 in the block and the first four lines including the pixels 21, 23, 25, and 27 in the neighboring block 20. And another pair of filter decision values can be used for the remaining four lines 12 consisting of pixels 11, 13, 15, 17 in the block, and neighboring blocks. Used for the remaining four corresponding lines 22 consisting of the pixels 21, 23, 25, 27 in 20.

第3の実施形態では、ステップS1における計算は、ブロック10内の画素11、13、15、17からなるライン12毎に実行され、ステップS3における別個の判定が次に画素11、13、15、17からなるこのようなライン12毎に実行される。このような場合、ステップS2における計算は、近傍ブロック20内の画素21、23、25、27からなる対応するライン22毎に同様に実行され、ステップS4における別個の判定は、画素21、23、25、27からなるこのような対応するライン22毎に実行される。   In the third embodiment, the calculation in step S1 is performed for each line 12 consisting of pixels 11, 13, 15, 17 in block 10, and a separate determination in step S3 is then performed for pixels 11, 13, 15, It is executed for every 17 lines 12 such as this. In such a case, the calculation in step S2 is similarly performed for each corresponding line 22 composed of pixels 21, 23, 25, and 27 in the neighboring block 20, and the separate determination in step S4 is performed for pixels 21, 23, It is executed for each such corresponding line 22 consisting of 25, 27.

このようにして、第3の実施形態では、ステップS3は、ステップS1において計算された第1のフィルタ決定値に基づいてブロック境界1に対してフィルタ処理すべきブロック10内の画素11、13、15、17からなる第1のライン12の中の画素の個数を決定するステップを備える。ステップS4は、ステップS2において計算された第2のフィルタ決定値に基づいてブロック境界1に対してフィルタ処理すべき近傍ブロック20内の画素21、23、25、27からなる対応する第1のライン22の中の画素の個数を決定するステップを備える。   In this manner, in the third embodiment, step S3 includes the pixels 11, 13, 13 in the block 10 to be filtered with respect to the block boundary 1 based on the first filter determination value calculated in step S1. Determining the number of pixels in the first line 12 comprising 15 and 17. Step S4 is a corresponding first line comprising pixels 21, 23, 25, 27 in the neighboring block 20 to be filtered for block boundary 1 based on the second filter decision value calculated in step S2. Determining the number of pixels in 22.

以下の部分は、どのようにして第3の実施形態がブロック境界1を横断するライン(行又は列)毎に別々に適用されるかを説明する。本例では、第1のフィルタ決定値は、
pi=|p2−2p1+p0
として定義され、第2のフィルタ決定値は、
qi=|q2−2q1+q0
として定義される。この方法は、その結果、以下を備える:

●ブロック境界を横断する各ラインiに対して、dpiを計算し、dqiを計算する。
●dpi<thr1である場合、
○現在のブロック10のラインiの標準フィルタリングを行う、例えば、ブロックボーダー又は境界からの2個の画素をフィルタ処理し、修正する。
●そうではない場合、即ち、dpi≧thr1である場合、
○現在のブロック10のラインiのブロックボーダー又は境界からの第2の画素をフィルタ処理しない、又は、現在のブロック10のラインi上の画素を全くフィルタ処理しない。
●dqi<thr2である場合、
○近傍ブロック20のラインiの標準フィルタリングを行い、例えば、ブロックボーダー又は境界1からの2個の画素をフィルタ処理し、修正する。
●そうではない場合、即ち、dqi≧thr2である場合、
○近傍ブロック20のラインiのブロックボーダー又は境界1からの第2の画素をフィルタ処理しない、又は、近傍ブロック20のラインi上の画素を全くフィルタ処理しない。
The following part explains how the third embodiment is applied separately for each line (row or column) crossing the block boundary 1. In this example, the first filter decision value is
d pi = | p2 i -2p1 i + p0 i |
And the second filter decision value is
d qi = | q2 i -2q1 i + q0 i |
Is defined as This method consequently comprises:

Calculate d pi and d qi for each line i that crosses the block boundary.
If d pi <thr1,
O Perform standard filtering on line i of the current block 10, eg filter and modify two pixels from the block border or boundary.
If not, i.e. d pi ≥ thr1,
O Do not filter the second pixel from the block border or boundary of line i of current block 10 or do not filter the pixels on line i of current block 10 at all.
If d qi <thr2,
Perform standard filtering of line i of neighboring block 20, filter and correct for example two pixels from block border or boundary 1.
If not, i.e. d qi ≥ thr2,
O Do not filter the second pixel from the block border or boundary 1 of line i of neighboring block 20, or do not filter the pixels on line i of neighboring block 20 at all.

上記例により示されるように、図1における方法の第3の実施形態は、別個の第1及び第2のフィルタ決定値を計算し、その結果、ブロック境界1に対しては、ブロック10及び近傍ブロック20内の各行又は列に対してフィルタ処理すべき画素の個数の別個の決定を行うことが可能である。このように、第3の実施形態では、第1及び第2のフィルタ決定値は、ラインに固有のフィルタ決定値であり、即ち、ブロック10内の画素11、13、15、17からなる各ライン12に対して、及び、近傍ブロック20内の画素21、23、25、27からなる対応する各ライン22に対して計算される。   As shown by the above example, the third embodiment of the method in FIG. 1 computes separate first and second filter decision values, so that for block boundary 1, block 10 and the neighborhood A separate determination of the number of pixels to be filtered for each row or column in block 20 can be made. As described above, in the third embodiment, the first and second filter determination values are filter determination values specific to the line, that is, each line including the pixels 11, 13, 15, and 17 in the block 10. 12 and for each corresponding line 22 consisting of pixels 21, 23, 25, 27 in the neighboring block 20.

第1の実施形態では、ブロックに固有のフィルタ決定値が使用される。かくして、このような場合、単一の第1のフィルタ決定値がブロック境界1についてはブロック10に対して計算され、特有のブロック境界1に関してブロック10内の画素11、13、15、17からなる全てのライン12に適用することが可能である。同様に、単一の第2のフィルタ決定値がブロック境界1については近傍ブロック20に対して計算され、特有のブロック境界1に関して近傍ブロック20内の画素21、23、25、27からなる全ての対応するライン22に適用することが可能である。   In the first embodiment, block specific filter decision values are used. Thus, in such a case, a single first filter decision value is calculated for block boundary 1 for block 10 and consists of pixels 11, 13, 15, 17 in block 10 for specific block boundary 1 It can be applied to all lines 12. Similarly, a single second filter decision value is calculated for neighboring block 20 for block boundary 1 and all of the pixels 21, 23, 25, 27 in neighboring block 20 for particular block boundary 1 It is possible to apply to the corresponding line 22.

第1の実施形態の第1の例は、|p2−2p1+p0|+|p2−2p1+p0|として第1のフィルタ決定値を計算するステップを含み、ここで、p0は、画素からなる第1のラインの中で、ブロック境界1に最も近接している画素の画素値を表し、p1は、画素からなる第1のラインの中で、ブロック境界1に2番目に近接している画素の画素値を表し、p2は、画素からなる第1のラインの中で、ブロック境界1に3番目に近接している画素の画素値を表し、p0は、ブロック10内の画素からなる第2のラインの中で、ブロック境界1に最も近接している画素の画素値を表し、p1は、画素からなる第2のラインの中で、ブロック境界1に2番目に近接している画素の画素値を表し、p2は、画素からなる第2のラインの中で、ブロック境界1に3番目に近接している画素の画素値を表す。 The first example of the first embodiment includes calculating a first filter decision value as | p2 2 −2p1 2 + p0 2 | + | p2 5 −2p1 5 + p0 5 |, where p0 2 Represents the pixel value of the pixel closest to the block boundary 1 in the first line of pixels, and p12 is the second value on the block boundary 1 in the first line of pixels. It represents a pixel value of a pixel in proximity to, p2 2, within the first line of pixels represents the pixel values of pixels that are close to the third block boundary 1, p0 5 is block 10 represents the pixel value of the pixel closest to the block boundary 1 in the second line of pixels within 10, and p1 5 is 2 at the block boundary 1 in the second line of pixels. represents a pixel value of a pixel in proximity to the second, p2 5 is Among the second line consisting of hydrogen, representing pixel values of pixels that are close to the third block boundary 1.

第2のフィルタ決定値は、次に、好ましくは、|q2−2q1+q0|+|q2−2q1+q0|として計算され、ここで、q0は、画素からなる対応する第1のラインの中で、ブロック境界1に最も近接している近傍ブロック20内の画素の画素値を表し、q1は、画素からなる対応する第1のラインの中で、ブロック境界1に2番目に近接している近傍ブロック20の画素の画素値を表し、q2は、画素からなる対応する第1のラインの中で、ブロック境界1に3番目に近接している近傍ブロック20内の画素の画素値を表し、q0は、近傍ブロック20内の画素からなる対応する第2のラインの中で、ブロック境界1に最も近接している近傍ブロック20内の画素の画素値を表し、q1は、画素からなる対応する第2のラインの中で、ブロック境界1に2番目に近接している近傍ブロック20の画素の画素値を表し、q2は、画素からなる対応する第2のラインの中で、ブロック境界1に3番目に近接している近傍ブロック20内の画素の画素値を表す。 The second filter decision value is then preferably calculated as | q2 2 −2q1 2 + q0 2 | + | q2 5 −2q1 5 + q0 5 |, where q0 2 corresponds to the corresponding second number of pixels. 1 represents the pixel value of the pixel in the neighboring block 20 that is closest to the block boundary 1, and q12 is 2 to the block boundary 1 in the corresponding first line of pixels. It represents a pixel value of a pixel around the block 20 in proximity to the second, q2 2, within the first line corresponding of pixels, around the block 20 in proximity to the third block boundary 1 Q0 5 represents the pixel value of the pixel in the neighboring block 20 that is closest to the block boundary 1 in the corresponding second line of pixels in the neighboring block 20; q1 5 is, whether the pixel In a second line corresponding consisting represents a pixel value of a pixel around the block 20 in proximity to the second block boundary 1, q2 5, within the second line corresponding of pixels, The pixel value of the pixel in the neighboring block 20 that is the third closest to the block boundary 1 is represented.

第1のフィルタ決定値は、その結果、フィルタ処理すべき画素の個数を判定するときにブロック10内の画素11、13、15、17からなる全てのライン12のため使用され、第2のフィルタ決定値は、フィルタ処理すべき画素の個数を決定するときに近傍ブロック20内の画素21、23、25、27からなる全ての対応するライン22のため使用される。   The first filter decision value is then used for all lines 12 consisting of pixels 11, 13, 15, 17 in block 10 when determining the number of pixels to be filtered, and the second filter The determined value is used for all the corresponding lines 22 consisting of the pixels 21, 23, 25, 27 in the neighboring block 20 when determining the number of pixels to be filtered.

第1の実施形態のこの第1の例では、画素からなる第1のラインは、ラインi=2に対応し、対応する第1のラインは、対応するラインi=2に対応し、画素からなる第2のラインは、ラインi=5に対応し、第2の対応するラインは、対応するラインi=5に対応する。この場合、ブロック10は、好ましくは、8本のラインからなり、近傍ブロック20は、好ましくは、同様に、8本のラインからなり、即ち、i=0〜7である。   In this first example of the first embodiment, the first line of pixels corresponds to line i = 2, the corresponding first line corresponds to the corresponding line i = 2, and from the pixel This second line corresponds to line i = 5, and the second corresponding line corresponds to corresponding line i = 5. In this case, the block 10 preferably consists of 8 lines, and the neighboring block 20 preferably likewise consists of 8 lines, i.e. i = 0-7.

以下の部分は、第1の実施形態の実装例を示す。本実装例では、第1のフィルタ決定値は、d=|p2−2p1+p0|+|p2−2p1+p0|として定義され、第2のフィルタ決定値は、d=|q2−2q1+q0|+|q2−2q1+q0|として定義される。

●dを計算し、dを計算する。
●d<thr1である場合、
○現在のブロック10の標準フィルタリングを行う、例えば、ブロックボーダー又は境界からの2個の画素をフィルタ処理し、修正する。
●そうではない場合、即ち、d≧thr1である場合、
○ブロックボーダー又は境界1からの第2の画素をフィルタ処理しない、又は、画素を全くフィルタ処理しない。
●d<thr2である場合、
○近傍ブロック20の標準フィルタリングを行い、例えば、ブロックボーダー又は境界1からの2個の画素をフィルタ処理し、修正する。
●そうではない場合、即ち、d≧thr2である場合、
○ブロックボーダー又は境界1からの第2の画素をフィルタ処理しない、又は、画素を全くフィルタ処理しない。
The following part shows an implementation example of the first embodiment. In this implementation example, the first filter decision value is defined as d p = | p2 2 −2p1 2 + p0 2 | + | p2 5 −2p1 5 + p0 5 |, and the second filter decision value is d q = | Q2 2 −2q1 2 + q0 2 | + | q2 5 −2q1 5 + q0 5 |

● Calculate the d p, to calculate the d q.
If d p <thr1,
O Perform standard filtering of the current block 10, eg filter and modify two pixels from the block border or boundary.
● Otherwise, that is, when d p ≧ thr1,
O Do not filter the second pixel from the block border or boundary 1, or do not filter the pixel at all.
If d q <thr2,
Perform standard filtering of neighboring blocks 20, for example, filter and correct two pixels from block border or boundary 1.
If not, i.e. d q ≥ thr2,
O Do not filter the second pixel from the block border or boundary 1, or do not filter the pixel at all.

第1の実施形態の第2の例では、第1のフィルタ決定値は、ラインi=2及びラインi=5の代わりにラインi=3及びラインi=4の中の画素値に基づいてブロックに固有のフィルタ決定値として計算される。近傍ブロック20内の対応するラインi=3及びi=4は、好ましくは、その結果、第2のフィルタ決定値を計算するため使用される。第1のフィルタ決定値は、その結果、|p2−2p1+p0|+|p2−2p1+p0|として計算される可能性があり、第2のフィルタ決定値は、|q2−2q1+q0|+|q2−2q1+q0|として計算され、ここで、p0は、画素からなる第1のラインの中で、ブロック境界1に最も近接している画素の画素値を表し、p1は、画素からなる第1のラインの中で、ブロック境界1に2番目に近接している画素の画素値を表し、p2は、画素からなる第1のラインの中で、ブロック境界1に3番目に近接している画素の画素値を表し、p0は、ブロック10内の画素からなる第2のラインの中で、ブロック境界1に最も近接している画素の画素値を表し、p1は、画素からなる第2のラインの中で、ブロック境界1に2番目に近接している画素の画素値を表し、p2は、画素からなる第2のラインの中で、ブロック境界1に3番目に近接している画素の画素値を表し、q0は、画素からなる対応する第1のラインの中で、ブロック境界1に最も近接している近傍ブロック20内の画素の画素値を表し、q1は、画素からなる対応する第1のラインの中で、ブロック境界1に2番目に近接している近傍ブロック20の画素の画素値を表し、q2は、画素からなる対応する第1のラインの中で、ブロック境界1に3番目に近接している近傍ブロック20内の画素の画素値を表し、q0は、近傍ブロック20内の画素からなる対応する第2のラインの中で、ブロック境界1に最も近接している近傍ブロック20内の画素の画素値を表し、q1は、画素からなる対応する第2のラインの中で、ブロック境界1に2番目に近接している近傍ブロック20の画素の画素値を表し、q2は、画素からなる対応する第2のラインの中で、ブロック境界1に3番目に近接している近傍ブロック20内の画素の画素値を表す。 In the second example of the first embodiment, the first filter decision value is blocked based on the pixel values in line i = 3 and line i = 4 instead of line i = 2 and line i = 5. It is calculated as a filter decision value specific to. The corresponding lines i = 3 and i = 4 in the neighborhood block 20 are preferably used as a result to calculate the second filter decision value. The first filter decision value may then be calculated as | p2 3 -2p1 3 + p0 3 | + | p2 4 -2p1 4 + p0 4 |, where the second filter decision value is | q2 3 -2q1 3 + q0 3 | + | q2 4 -2q1 4 + q0 4 |, where p0 3 is the pixel of the pixel closest to block boundary 1 in the first line of pixels P1 3 represents the pixel value of the pixel that is second closest to the block boundary 1 in the first line of pixels, and p2 3 represents the value in the first line of pixels. in represents the pixel values of pixels that are close to the third block boundary 1, p0 4 is in the second line of pixels in the block 10, the pixels that are closest to the block boundary 1 It represents a pixel value, p1 4 from pixel That in the second line represents the pixel values of pixels that are close to the second block boundary 1, p2 4 is in the second line of pixels, close to the third block boundary 1 Q0 3 represents the pixel value of the pixel in the neighboring block 20 closest to the block boundary 1 in the corresponding first line of pixels, and q1 3 , within the first line corresponding of pixels represent pixel values of pixels around the block 20 in proximity to the second block boundary 1, q2 3 is a first line corresponding of pixels among represent pixel values of the pixels in neighboring blocks 20 which are close to the third block boundary 1, q0 4 is in the second line corresponding consisting pixels in neighboring blocks 20, block Neighboring block closest to boundary 1 Represents the pixel values of the pixels in 0, q1 4 is in the second line corresponding of pixels represent pixel values of pixels around the block 20 in proximity to the second block boundary 1, q2 4 represents the pixel value of the pixel in the neighboring block 20 that is third closest to the block boundary 1 in the corresponding second line of pixels.

第2の実施形態では、第1のフィルタ決定値及び第2のフィルタ決定値は、画素からなる4本のライン及び画素からなる4本の対応するラインのグループに対して計算される。この第2の実施形態は、ブロック及び近傍ブロックがそれぞれ4×4画素のサイズを有する場合に適当である可能性がある。さらに、第2の実施形態は、8×8画素のような画素からなるより大きいブロックのため使用される可能性もある。後者の場合、フィルタ決定のペアは、最初の4本のライン画素及び画素からなる最初の4本の対応するラインに対して計算され、フィルタ決定の別のペアは、画素からなる残りの4本のライン及び画素からなる残りの4本の対応するラインに対して計算される。   In the second embodiment, the first filter decision value and the second filter decision value are calculated for a group of four lines of pixels and four corresponding lines of pixels. This second embodiment may be appropriate when the blocks and neighboring blocks each have a size of 4 × 4 pixels. Furthermore, the second embodiment may be used for larger blocks of pixels such as 8x8 pixels. In the latter case, a filter decision pair is calculated for the first four line pixels and the first four corresponding lines of pixels, and another pair of filter decisions is the remaining four pixels. For the remaining four corresponding lines of pixels and pixels.

第2の実施形態の第1の例は、|p2−2p1+p0|+|p2−2p1+p0|として第1のフィルタ決定値を計算し、|q2−2q1+q0|+|q2−2q1+q0|として第2のフィルタ決定値を計算する。この場合、画素からなるライン及び画素からなる対応するラインは、ライン番号i=0からライン番号i=3まで続く可能性がある。図2A及び2Bに示されるようにi=0〜7のような画素からなるより大規模なブロックに対し、第1のフィルタ決定値及び第2のフィルタ決定値の第1のペアは、|p2−2p1+p0|+|p2−2p1+p0|及び|q2−2q1+q0|+|q2−2q1+q0|として計算される。フィルタ決定値のこの第1のペアは、画素からなる最初の4本のラインと画素からなる最初の4本の対応するライン、即ち、i=0〜3に適用可能である。第1のフィルタ決定値及び第2のフィルタ決定値の第2のペアは、その結果、|p2−2p1+p0|+|p2−2p1+p0|及び|q2−2q1+q0|+|q2−2q1+q0|として計算される。フィルタ決定値の第2のペアは、その結果、画素からなる4本の最後のラインと画素からなる4本の最後の対応するライン、即ち、i=4〜7に適用可能である。 In the first example of the second embodiment, the first filter determination value is calculated as | p2 0 −2p1 0 + p0 0 | + | p2 3 −2p1 3 + p0 3 |, and | q2 0 −2q1 0 + q0 0 The second filter determination value is calculated as | + | q2 3 −2q1 3 + q0 3 |. In this case, the line consisting of pixels and the corresponding line consisting of pixels may continue from line number i = 0 to line number i = 3. For larger blocks of pixels such as i = 0-7 as shown in FIGS. 2A and 2B, the first pair of first filter decision value and second filter decision value is | p2 0 −2p1 0 + p0 0 | + | p2 3 −2p1 3 + p0 3 | and | q2 0 −2q1 0 + q0 0 | + | q2 3 −2q1 3 + q0 3 | This first pair of filter decision values is applicable to the first four lines of pixels and the first four corresponding lines of pixels, i = 0-3. The second pair of the first filter decision value and the second filter decision value results in | p2 4 -2p1 4 + p0 4 | + | p2 7 -2p1 7 + p0 7 | and | q2 4 -2q1 4 + q0 4 | + | q2 7 -2q1 7 + q0 7 | The second pair of filter decision values is consequently applicable to the four last lines of pixels and the four last corresponding lines of pixels, i = 4-7.

第2の実施形態の第2の例は、|p2−2p1+p0|+|p2−2p1+p0|として第1のフィルタ決定値を計算し、|q2−2q1+q0|+|q2−2q1+q0|として第2のフィルタ決定値を計算する。この場合、画素からなるライン及び画素からなる対応するラインは、ライン番号i=0からライン番号i=3まで続く可能性がある。図2A及び2Bに示されるようにi=0〜7のような画素からなるより大規模なブロックに対し、第1のフィルタ決定値及び第2のフィルタ決定値の第1のペアは、|p2−2p1+p0|+|p2−2p1+p0|及び|q2−2q1+q0|+|q2−2q1+q0|として計算される。フィルタ決定値のこの第1のペアは、画素からなる最初の4本のラインと画素からなる最初の4本の対応するライン、即ち、i=0〜3に適用可能である。第1のフィルタ決定値及び第2のフィルタ決定値の第2のペアは、その結果、|p2−2p1+p0|+|p2−2p1+p0|及び|q2−2q1+q0|+|q2−2q1+q0|として計算される。フィルタ決定値の第2のペアは、その結果、画素からなる4本の最後のラインと画素からなる4本の最後の対応するライン、即ち、i=4〜7に適用可能である。 In the second example of the second embodiment, the first filter determination value is calculated as | p2 1 −2p1 1 + p0 1 | + | p2 2 −2p1 2 + p0 2 |, and | q2 1 −2q1 1 + q0 1 The second filter decision value is calculated as | + | q2 2 −2q1 2 + q0 2 |. In this case, the line consisting of pixels and the corresponding line consisting of pixels may continue from line number i = 0 to line number i = 3. For larger blocks of pixels such as i = 0-7 as shown in FIGS. 2A and 2B, the first pair of first filter decision value and second filter decision value is | p2 1 −2p1 1 + p0 1 | + | p2 2 −2p1 2 + p0 2 | and | q2 1 −2q1 1 + q0 1 | + | q2 2 −2q1 2 + q0 2 | This first pair of filter decision values is applicable to the first four lines of pixels and the first four corresponding lines of pixels, i = 0-3. The second pair of first and second filter decision values results in | p2 5 -2p1 5 + p0 5 | + | p2 6 -2p1 6 + p0 6 | and | q2 5 -2q1 5 + q0 5 | + | q2 6 -2q1 6 + q0 6 | The second pair of filter decision values is consequently applicable to the four last lines of pixels and the four last corresponding lines of pixels, i = 4-7.

第2の実施形態のこの概念は、第1のフィルタ決定値がブロック内の画素からなるラインのサブセットに存在する画素の画素値に基づいて計算され、第2のフィルタ決定値が近傍ブロック内の画素からなる対応するラインのサブセットに存在する画素の画素値に基づいて計算される場合に拡張され得る。このようにして、第2の実施形態のこの一般的概念では、第1のフィルタ決定値は、|p2−2p1+p0|+|p2−2p1+p0|として計算される可能性があり、ここで、i、jは、区間0からN−1における異なるライン番号を表現し、Nは、ブロック及び近傍ブロック内の画素からなるラインの総数を表し、i≠jである。第2のフィルタ決定値は、その結果、好ましくは、|q2−2q1+q0|+|q2−2q1+q0|として計算される。この概念は、当然ながら、画素からなるライン又は画素からなる対応するラインのうちの3本以上を格納するサブセットを用いて拡張され得る。 This concept of the second embodiment is that the first filter decision value is calculated based on the pixel values of the pixels present in the subset of lines consisting of the pixels in the block, and the second filter decision value is calculated in the neighboring block. It can be extended if it is calculated based on the pixel values of the pixels present in the corresponding subset of lines of pixels. Thus, in this general concept of the second embodiment, the first filter decision value may be calculated as | p2 i −2p1 i + p0 i | + | p2 j −2p1 j + p0 j |. Here, i and j represent different line numbers in the sections 0 to N−1, and N represents the total number of lines composed of pixels in the block and neighboring blocks, where i ≠ j. The second filter decision value is therefore preferably calculated as | q2 i −2q1 i + q0 i | + | q2 j −2q1 j + q0 j |. This concept can, of course, be extended with a subset that stores three or more of the lines of pixels or the corresponding lines of pixels.

第1又は第3の実施形態の関連例では、第1のフィルタ決定値は、

Figure 0005924700
として計算され、第2のフィルタ決定値は、
Figure 0005924700
として計算される。
Figure 0005924700
は、異なるラインに固有の重みを表現する。この概念は、画素からなる3本以上のラインと画素からなる2本以上の対応するラインとを用いる場合にさらに拡張され得る。特有の例では、ブロック又は近傍ブロックの中央により近接している画素からなるライン又は画素からなる対応するラインは、その結果、ブロック又は近傍ブロックのエッジのうちの1つにより近接しているライン若しくは画素、又は、画素からなる対応するラインと比べるとかなり大きい重みが割り当てられる可能性がある。 In the related example of the first or third embodiment, the first filter determination value is
Figure 0005924700
And the second filter decision value is
Figure 0005924700
Is calculated as
Figure 0005924700
Represents a unique weight for different lines. This concept can be further extended when using three or more lines of pixels and two or more corresponding lines of pixels. In a specific example, a line consisting of pixels closer to the center of a block or a neighboring block or a corresponding line consisting of pixels results in a line closer to one of the edges of the block or neighboring block or Significantly higher weights can be assigned compared to pixels or corresponding lines of pixels.

第4の実施形態では、ブロックに固有のフィルタ決定値及びラインに固有のフィルタ決定値の組み合わせがブロック内の画素からなるライン及び近傍ブロック内の画素からなる対応するラインに対してフィルタ処理すべき画素の個数を判定するために使用される。図3は、このような実施形態を概略的に示す。この方法は、第3のフィルタ決定値が|p2−2p1+p0|+|p2−2p1+p0|として計算されるステップS10で始まり、ここで、p0は、ブロック10内の画素からなる第2のラインの中で、ブロック境界1に最も近接している画素の画素値を表し、p1は、画素からなる第2のラインの中で、ブロック境界1に2番目に近接している画素の画素値を表し、p2は、画素からなる第2のラインの中で、ブロック境界1に3番目に近接している画素の画素値を表し、p0は、ブロック10内の画素からなる第3のラインの中で、ブロック境界1に最も近接している画素の画素値を表し、p1は、画素からなる第3のラインの中で、ブロック境界1に2番目に近接している画素の画素値を表し、p2は、画素からなる第3のラインの中で、ブロック境界1に3番目に近接している画素の画素値を表す。画素からなる第2のラインは、好ましくは、ブロック10内のライン番号2に対応し、画素からなる第3のラインは、好ましくは、ブロック10内のライン番号5に対応する。図2A及び2Bを参照されたい。 In the fourth embodiment, a combination of a filter determination value specific to a block and a filter determination value specific to a line should be filtered for a line made up of pixels in the block and a corresponding line made up of pixels in a neighboring block. Used to determine the number of pixels. FIG. 3 schematically illustrates such an embodiment. The method begins at step S10 where the third filter decision value is calculated as | p2 2 −2p1 2 + p0 2 | + | p2 5 −2p1 5 + p0 5 |, where p0 2 Represents the pixel value of the pixel closest to block boundary 1 in the second line of pixels, and p12 is the second closest to block boundary 1 in the second line of pixels to and represents a pixel value of the pixel, p2 2, within the second line of pixels represents the pixel values of pixels that are close to the third block boundary 1, p0 5 is block 10 Represents the pixel value of the pixel closest to the block boundary 1 in the third line of pixels, and p1 5 is second in the block boundary 1 in the third line of pixels. Represents the pixel value of adjacent pixels, 2-5, in the third line of pixels, representing pixel values of pixels that are close to the third block boundary 1. The second line of pixels preferably corresponds to line number 2 in the block 10 and the third line of pixels preferably corresponds to line number 5 in the block 10. See Figures 2A and 2B.

次のステップS11は、第4のフィルタ決定値を|q2−2q1+q0|+|q2−2q1+q0|として計算し、ここで、q0は、近傍ブロック20内の画素からなる対応する第2のラインの中で、ブロック境界1に最も近接している近傍ブロック20内の画素の画素値を表し、q1は、画素からなる対応する第2のラインの中で、ブロック境界1に2番目に近接している近傍ブロック20の画素の画素値を表し、q2は、画素からなる対応する第2のラインの中で、ブロック境界1に3番目に近接している近傍ブロック20内の画素の画素値を表し、q0は、近傍ブロック20内の画素からなる対応する第3のラインの中で、ブロック境界1に最も近接している近傍ブロック20内の画素の画素値を表し、q1は、画素からなる対応する第3のラインの中で、ブロック境界20に2番目に近接している近傍ブロック20の画素の画素値を表し、q2は、画素からなる対応する第3のラインの中で、ブロック境界1に3番目に近接している近傍ブロック20内の画素の画素値を表す。画素からなる第2の対応するラインは、好ましくは、近傍ブロック20内のライン番号2に対応し、画素からなる第3の対応するラインは、好ましくは、近傍ブロック20内のライン番号5に対応する。図2A及び2Bを参照されたい。 The next step S11 calculates the fourth filter decision value as | q2 2 −2q1 2 + q0 2 | + | q2 5 −2q1 5 + q0 5 |, where q0 2 is calculated from the pixels in the neighboring block 20. made in the corresponding second line represents the pixel values of the pixels in neighboring blocks 20 closest to the block boundary 1, q1 2, within the second line corresponding of pixels, block represents a pixel value of a pixel around the block 20 in proximity to the second-boundary 1, q2 2, within the second line corresponding of pixels, near in proximity to the third block boundary 1 The pixel value of the pixel in the block 20 is represented by q0 5 , the pixel of the pixel in the neighboring block 20 closest to the block boundary 1 in the corresponding third line composed of the pixels in the neighboring block 20. Represents a value , Q1 5 represent the pixel value of the pixel in the neighboring block 20 that is second closest to the block boundary 20 in the corresponding third line of pixels, and q2 5 represents the corresponding second line of pixels. Among the three lines, the pixel value of the pixel in the neighboring block 20 that is the third closest to the block boundary 1 is represented. The second corresponding line of pixels preferably corresponds to line number 2 in the neighboring block 20, and the third corresponding line of pixels preferably corresponds to line number 5 in the neighboring block 20. To do. See Figures 2A and 2B.

ステップS10及びS11は、どんな順序でも直列に、又は、少なくとも部分的に並列に実行されることが可能である。   Steps S10 and S11 can be performed in any order in series or at least partially in parallel.

次のステップS12は、ステップS10で計算された第3のフィルタ決定値を第3の閾値(T)と比較する。第3のフィルタ決定値が第3の閾値未満である場合、この方法は、図1のステップS1とその後にステップS3とに続く。従って、このような場合、それぞれのラインに固有の、又は、第1のフィルタ決定値は、ブロック10内のラインi毎に計算され、ここで、iは、好ましくは、0から7までである。この第1のフィルタ決定値は、その結果、図1のステップS1において|p2−2p1+p0|として計算される。図1のステップS3は、ステップS1において画素からなるラインiに対して計算された第1のフィルタ決定値に基づいてブロック境界1に対してフィルタ処理すべきブロック10内の画素からなるラインiの中の画素の個数を判定する。この手順は、ブロック10内の画素からなるライン毎に実行される。このようにして、図2A又は2Bに示されるようなブロック10を使って、ステップS1及びS3は、8回実行されることになる。この方法は、その後、図3のステップS13に続く。同様に、第3のフィルタ決定値がステップS12において第3の閾値未満ではない場合、この方法は、ステップS13に続く。 In the next step S12, the third filter determination value calculated in step S10 is compared with the third threshold value (T 3 ). If the third filter decision value is less than the third threshold value, the method continues to step S1 in FIG. 1 followed by step S3. Thus, in such a case, a unique or first filter decision value for each line is calculated for each line i in the block 10, where i is preferably from 0 to 7. . As a result, this first filter decision value is calculated as | p2 i -2p1 i + p0 i | in step S1 of FIG. Step S3 in FIG. 1 is for the line i consisting of pixels in the block 10 to be filtered with respect to the block boundary 1 based on the first filter decision value calculated for the line i consisting of pixels in step S1. The number of pixels inside is determined. This procedure is executed for each line of pixels in the block 10. In this way, using the block 10 as shown in FIG. 2A or 2B, steps S1 and S3 are executed eight times. The method then continues to step S13 of FIG. Similarly, if the third filter decision value is not less than the third threshold in step S12, the method continues to step S13.

ステップS13は、ステップS11で計算された第4のフィルタ決定値を第4の閾値(T)と比較する。第4のフィルタ決定値が第4の閾値未満である場合、この方法は、図1のステップS2及びS4に続く。それぞれのラインに固有の、又は、第2のフィルタ決定値は、近傍ブロック20内の対応するラインi毎に図1のステップS2において|q2−2q1+q0|として計算される。図3のステップS4は、ステップS2において画素からなる対応するラインiに対して計算された第2のフィルタ決定値に基づいてブロック境界1に対してフィルタ処理すべき近傍ブロック20内の画素からなる対応するラインiの中の画素の個数を判定する。この手順は、近傍ブロック20内の画素からなる対応するライン毎に実行される。この方法は、その後、終了する。同様に、第4のフィルタ決定値がステップS13において第4の閾値未満ではない場合、この方法は、終了する。 In step S13, the fourth filter determination value calculated in step S11 is compared with a fourth threshold value (T 4 ). If the fourth filter decision value is less than the fourth threshold, the method continues to steps S2 and S4 of FIG. A unique or second filter decision value for each line is calculated as | q2 i -2q1 i + q0 i | for each corresponding line i in the neighborhood block 20 in step S2 of FIG. Step S4 in FIG. 3 consists of pixels in the neighboring block 20 to be filtered for block boundary 1 based on the second filter decision value calculated for the corresponding line i consisting of pixels in step S2. The number of pixels in the corresponding line i is determined. This procedure is executed for each corresponding line of pixels in the neighborhood block 20. The method then ends. Similarly, if the fourth filter decision value is not less than the fourth threshold in step S13, the method ends.

ステップS12、S1及びS3により形成されるループは、ステップS13、S2及びS4により形成されるループに対してどのような順序でも順次に、又は、少なくとも部分的に並列に実行され得る。
The loop formed by steps S12, S1 and S3 can be executed in any order sequentially or at least partially in parallel with the loop formed by steps S13, S2 and S4.

この第4の実施形態の例では、ブロックベースの非対称フィルタ決定とラインベースの非対称フィルタ決定との組み合わせが使用される。本例では、第3のフィルタ決定値は、d=|p2−2p1+p0|+|p2−2p1+p0|として計算され、第4のフィルタ決定値は、d=|q2−2q1+q0|+|q2−2q1+q0|として計算される。ラインに固有のフィルタ決定値、即ち、第1及び第2のフィルタ決定値は、ライン及び対応するライン番号iに対してそれぞれdpi=|p2−2p1+p0|及びdqi=|q2−2q1+q0|として計算される。

●dを計算し、dを計算する。
●d<thr1である場合、
○ラインi毎に
■ラインiに対するdpiを計算する。
■dpi<thr1である場合、
●現在のブロック10内のラインi、例えば、ブロックボーダー又は境界1からの2個の画素の標準フィルタリングを行う。
■そうではない場合、即ち、dpi≧thr1である場合、
●現在のブロック10のラインiのブロックボーダー又は境界1からの第2の画素をフィルタ処理しない、又は、現在のブロック10のラインi上の画素を全くフィルタ処理しない。
●そうではない場合、即ち、d≧thr1である場合、
○ブロックボーダー又は境界1からの第2の画素をフィルタ処理しない、又は、画素を全くフィルタ処理しない。
●d<thr2である場合、
○ラインi毎に
■ラインiに対するdqiを計算する。
■dqi<thr2である場合、
●近傍ブロック20内のラインi、例えば、ブロックボーダー又は境界1からの2個の画素の標準フィルタリングを実行する。
■そうではない場合、即ち、dqi≧thr2である場合、
●近傍ブロック20のラインiのブロックボーダー又は境界1からの第2の画素をフィルタ処理しない、又は、近傍ブロック20のラインi上の画素を全くフィルタ処理しない。
●そうではない場合、即ち、d≧thr2である場合、
○ブロックボーダー又は境界1からの第2の画素をフィルタ処理しない、又は、画素を全くフィルタ処理しない。
In the fourth embodiment example, a combination of block-based asymmetric filter determination and line-based asymmetric filter determination is used. In this example, the third filter decision value is calculated as d p = | p2 2 -2p1 2 + p0 2 | + | p2 5 -2p1 5 + p0 5 |, and the fourth filter decision value is d q = | q2 2 −2q1 2 + q0 2 | + | q2 5 −2q1 5 + q0 5 | The line specific filter decision values, i.e. the first and second filter decision values, are d pi = | p2 i -2p1 i + p0 i | and d qi = | q2 for the line and the corresponding line number i, respectively. i −2q1 i + q0 i |

● Calculate the d p, to calculate the d q.
If d p <thr1,
○ For each line i (1) Calculate d pi for line i.
When d pi <thr1,
Perform standard filtering of the two pixels from line i in the current block 10, for example, the block border or boundary 1.
■ Otherwise, that is, when d pi ≥ thr1
Do not filter the second pixel from the block border or boundary 1 of line i of current block 10 or do not filter the pixels on line i of current block 10 at all.
● Otherwise, that is, when d p ≧ thr1,
O Do not filter the second pixel from the block border or boundary 1, or do not filter the pixel at all.
If d q <thr2,
○ For each line i (1) Calculate d qi for line i.
When d qi <thr2,
Perform standard filtering of two pixels from a line i in the neighborhood block 20, for example, a block border or boundary 1.
■ Otherwise, that is, when d qi ≧ thr2
Do not filter the second pixel from the block border or boundary 1 of line i of neighboring block 20 or do not filter the pixels on line i of neighboring block 20 at all.
If not, i.e. d q ≥ thr2,
O Do not filter the second pixel from the block border or boundary 1, or do not filter the pixel at all.

上記開示された例では、第3のフィルタ決定値及び第1のフィルタ決定値を比較するときに同じ閾値、即ち、thr1が使用され、そして、第4のフィルタ決定値及び第2のフィルタ決定値を比較するときに同じ閾値、即ち、thr2が使用されている。代替的なアプローチでは、第3の閾値は、第3のフィルタ決定値のため使用され、第1の閾値は、第1のフィルタ決定値のため使用され、第4の閾値は、第4のフィルタ決定値のため使用され、第2の閾値は、第2のフィルタ決定値のため使用される。特有の実施形態では、第3の閾値及び第4の閾値は等しく、第1の閾値及び第2の閾値は等しい。   In the example disclosed above, the same threshold, ie thr1, is used when comparing the third filter decision value and the first filter decision value, and the fourth filter decision value and the second filter decision value. The same threshold, ie thr2, is used when comparing. In an alternative approach, the third threshold is used for the third filter decision value, the first threshold is used for the first filter decision value, and the fourth threshold is the fourth filter value. A second threshold is used for the decision value and a second threshold is used for the second filter decision value. In a specific embodiment, the third threshold and the fourth threshold are equal, and the first threshold and the second threshold are equal.

図4は、図1の判定ステップS3及びS4の特有の実施形態を示すフローチャートである。この方法は、図1におけるステップS2から続く。次のステップS20は、図1のステップS1で計算された第1のフィルタ決定値(d)を第1の閾値(T)と比較する。第1のフィルタ決定値が第1の閾値未満である場合、この方法は、ステップS20からステップS21に続く。ステップS21は、ブロック境界1に対してブロック10内の画素11、13、15、17からなるライン12の中の2個の画素をフィルタ処理することを判定する。これらの2個の画素は、好ましくは、画素11、13、15、17からなるライン12の中で、ブロック境界1に最も近接している画素11、及び、ブロック境界1に2番目に近接している画素13である。しかし、第1のフィルタ決定値がステップS20において第1の閾値未満ではない場合、この方法は、その代わりにステップS22に続く。ステップS22の第1の実施形態は、ブロック境界1に対してブロック10内の画素11、13、15、17からなるライン12の中の1個の画素をフィルタ処理することを判定する。この画素11は、好ましくは、画素11、13、15、17からなるライン12の中でブロック境界1に最も近接している画素11である。ステップS22の第2の実施形態は、ブロック境界1に対してブロック10内の画素11、13、15、17からなるライン12の中の画素をフィルタ処理しないことを判定する。 FIG. 4 is a flowchart showing a specific embodiment of the determination steps S3 and S4 of FIG. This method continues from step S2 in FIG. In the next step S20, the first filter determination value (d p ) calculated in step S1 in FIG. 1 is compared with the first threshold value (T 1 ). If the first filter decision value is less than the first threshold, the method continues from step S20 to step S21. In step S21, it is determined that two pixels in the line 12 including the pixels 11, 13, 15, and 17 in the block 10 are filtered with respect to the block boundary 1. These two pixels are preferably the second closest to the block 11 and the pixel 11 closest to the block boundary 1 in the line 12 comprising the pixels 11, 13, 15, 17. This is the pixel 13. However, if the first filter decision value is not less than the first threshold in step S20, the method instead continues to step S22. The first embodiment of step S22 determines to filter one pixel in the line 12 consisting of the pixels 11, 13, 15, 17 in the block 10 with respect to the block boundary 1. The pixel 11 is preferably the pixel 11 closest to the block boundary 1 in the line 12 including the pixels 11, 13, 15, and 17. The second embodiment of step S22 determines not to filter the pixels in the line 12 composed of the pixels 11, 13, 15, and 17 in the block 10 with respect to the block boundary 1.

ステップS23からS25は、近傍ブロック20内の画素21、23、25、27からなる対応するライン22に対する対応する判定を実行する。このようにして、ステップS23は、図1のステップS2で計算された第2のフィルタ決定値(d)を第2閾値(T)と比較する。第2のフィルタ決定値が第2の閾値未満である場合、この方法は、ステップS24に続く。ステップS24は、ブロック境界1に対して近傍ブロック20内の画素21、23、25、27からなる対応するライン22の中の2個の画素をフィルタ処理することを判定する。これらの2個の画素21、23は、好ましくは、画素21、23、25からなる対応するライン22の中で、ブロック境界1に最も近接している画素21、及び、ブロック境界1に2番目に近接している画素23である。第2のフィルタ決定値が第2の閾値未満ではない場合、この方法は、代わりにステップS23からステップS25に続く。ステップS25の第1の実施形態は、ブロック境界1に対して近傍ブロック20内の画素21、23、25、27からなる対応するライン22の中で1個の画素をフィルタ処理することを判定する。この画素21は、好ましくは、画素21、23、25、27からなる対応するライン22の中で、ブロック境界1に最も近接している画素21である。ステップS25の第2の実施形態は、ブロック境界1に対して近傍ブロック内の画素21、23、25、27からなる対応するライン22の中の画素をフィルタ処理しないことを判定する。 Steps S <b> 23 to S <b> 25 execute a corresponding determination on the corresponding line 22 including the pixels 21, 23, 25, and 27 in the neighboring block 20. In this way, Step S23 compares the second filter determination value (d q ) calculated in Step S2 of FIG. 1 with the second threshold value (T 2 ). If the second filter decision value is less than the second threshold, the method continues to step S24. In step S24, it is determined that two pixels in the corresponding line 22 including the pixels 21, 23, 25, and 27 in the neighboring block 20 with respect to the block boundary 1 are to be filtered. These two pixels 21, 23 are preferably the pixel 21 closest to block boundary 1 and the second to block boundary 1 in the corresponding line 22 consisting of pixels 21, 23, 25. This is a pixel 23 close to. If the second filter decision value is not less than the second threshold, the method instead continues from step S23 to step S25. The first embodiment of step S25 determines to filter one pixel in the corresponding line 22 consisting of the pixels 21, 23, 25, 27 in the neighboring block 20 with respect to the block boundary 1. . This pixel 21 is preferably the pixel 21 closest to the block boundary 1 in the corresponding line 22 composed of the pixels 21, 23, 25, 27. The second embodiment of step S25 determines not to filter the pixels in the corresponding line 22 composed of the pixels 21, 23, 25, 27 in the neighboring block with respect to the block boundary 1.

ステップS20、S21及びS22は、ステップS23、S24及びS25より前に、より後に、又は、少なくとも部分的に並列に実行され得る。   Steps S20, S21 and S22 may be performed before, after or at least partially in parallel with steps S23, S24 and S25.

この概念は、1個のフィルタ決定値当たり2個以上の閾値を使用することにより拡張され得る。例えば、d<Tである場合、2個の画素が画素11、13、15、17からなるライン12の中でフィルタ処理され、T≦d<T’である場合、1個の画素が画素11、13、15、17からなるライン12の中でフィルタ処理され、d≧T’である場合、画素11、13、15、17からなるライン12の中で画素はフィルタ処理されない。この場合、T<T’である。同様に、d<Tである場合、2個の画素が画素21、23、25、27からなる対応するライン22の中でフィルタ処理され、T≦d<T’である場合、1個の画素が画素21、23、25、27からなる対応するライン22の中でフィルタ処理され、d≧T’である場合、画素21、23、25、27からなる対応するライン22の中で画素はフィルタ処理されない。この場合、T<T’である。 This concept can be extended by using more than one threshold per filter decision value. For example, if d p <T 1 , two pixels are filtered in the line 12 consisting of the pixels 11, 13, 15, 17, and if T 1 ≦ d p <T 1 ′, one pixel Are filtered in the line 12 consisting of the pixels 11, 13, 15, 17 and if d p ≧ T 1 ′, the pixel is filtered in the line 12 consisting of the pixels 11, 13, 15, 17 Not processed. In this case, T 1 <T 1 ′. Similarly, when d q <T 2 , two pixels are filtered in the corresponding line 22 consisting of pixels 21, 23, 25, 27, and T 2 ≦ d q <T 2 ′. If one pixel is filtered in the corresponding line 22 consisting of pixels 21, 23, 25, 27 and d q ≧ T 2 ′, the corresponding line consisting of pixels 21, 23, 25, 27 Pixels in 22 are not filtered. In this case, T 2 <T 2 ′.

このように、一般的な態様では、第1又は第2のフィルタ決定値がゼロに接近するほど、より大きい第1又は第2のフィルタ決定値と比べると、画素からなるライン又は対応するラインの中のより多くの画素をフィルタリングし、そして、もしかすると修正することにより、より多くのフィルタリングが画素からなる特有のライン又は対応するラインに適用されるべきである。これは、ゼロ又は小さい第1又は第2のフィルタ決定値が全く又は殆ど構造を暗示することなく、むしろ、映像フレーム内にかなり均一なエリアを暗示することを意味する。同様に、大きい第1又は第2のフィルタ決定値は、一般に、映像フレーム内のエリア内の局所構造を反映し、この局所構造は、抑制される若しくはフィルタで取り除かれるべきではない。   Thus, in a general aspect, the closer the first or second filter decision value is to zero, the more the first or second filter decision value is compared to the line of pixels or the corresponding line. By filtering and possibly modifying more pixels in it, more filtering should be applied to a specific line of pixels or a corresponding line. This means that a zero or small first or second filter decision value implies no or little structure, but rather implies a fairly uniform area within the video frame. Similarly, a large first or second filter decision value generally reflects a local structure within an area in the video frame, and this local structure should not be suppressed or filtered out.

本実施形態は、ブロックボーダーからの第2の画素のフィルタリングが従来技術のHEVC解決策と比べるとあまり頻繁に行われない可能性があるので、デブロッキング・フィルタリングとの関連において計算的複雑性を減少させる。   This embodiment reduces the computational complexity in the context of deblocking filtering because the filtering of the second pixel from the block border may not be performed as often as compared to the prior art HEVC solution. Decrease.

前述され、様々なフィルタ決定値を比較するために使用された閾値は、好ましくは、ブロック又は近傍ブロックに割り当てられた量子化パラメータ(QP)に依存する。図5は、このようなアプローチを概略的に示す。この方法は、ステップS30で開始し、ここで、第1のフィルタ決定値が比較される(図4のステップS20を参照)第1の閾値がブロック10に関連付けられた量子化パラメータに基づいて判定される。同様に、ステップS31は、近傍ブロック20に関連付けられた量子化パラメータ及び/又はブロック10に関連付けられた量子化パラメータに基づいて、第2のフィルタ決定値が比較される(図4のステップ23を参照)第2の閾値を決定する。   The threshold described above and used to compare the various filter decision values preferably depends on the quantization parameter (QP) assigned to the block or neighboring block. FIG. 5 schematically illustrates such an approach. The method starts at step S30, where the first filter decision values are compared (see step S20 in FIG. 4) and the first threshold is determined based on the quantization parameter associated with block 10. Is done. Similarly, step S31 compares the second filter decision values based on the quantization parameter associated with the neighboring block 20 and / or the quantization parameter associated with the block 10 (step 23 in FIG. See: Determine second threshold.

例えば、T及びTは、ブロック10又は近傍ブロック20のQP値から判定されるパラメータβに基づいて判定される。特有の実施形態では、パラメータβは、QP値に基づいて表から読み取られる。以下の表1を参照されたい。

Figure 0005924700
For example, T 1 and T 2 are determined based on the parameter β determined from the QP value of the block 10 or the neighboring block 20. In a specific embodiment, the parameter β is read from the table based on the QP value. See Table 1 below.
Figure 0005924700

特定の実施形態では、T=T=β/6又はT=T=(β+β>>1)>>3である。実施形態の別の変形として、閾値は、別個の表から読み取られることが可能であり、即ち、T=function(QP)、T=function(QP)である。さらに、前述の第3及び第4の閾値は、好ましくは、ブロック及び近傍ブロックにそれぞれ関連付けられた量子化パラメータに基づいて判定される。 In certain embodiments, T 1 = T 2 = β / 6 or T 1 = T 2 = (β + β >> 1) >> 3. As another variation of the embodiment, the threshold can be read from a separate table, ie T 1 = function (QP), T 2 = function (QP). Further, the third and fourth thresholds are preferably determined based on quantization parameters associated with the block and neighboring blocks, respectively.

図6は、実施形態のフィルタリング制御がフィルタリングプロセスとの関連においてどのように使用され得るかを示すフローチャートである。この方法は、ステップS40で開始し、ここで、第1のオフセット又はデルタ値Δが
(9×(q0−p0)−3×(q1−p1))/16
に基づいて計算され、ここで、p0は、画素11、13、15、17からなるライン12の中で、ブロック境界1に最も近接している画素11の画素値を表し、p1は、画素11、13、15、17からなるライン12の中で、ブロック境界1に2番目に近接している画素13の画素値を表し、q0は、画素21、23、25、27からなる対応するライン22の中で、ブロック境界1に最も近接している近傍ブロック20内の画素21の画素値を表し、q1は、画素21、23、25、27からなる対応するライン22の中で、ブロック境界1に2番目に近接している近傍ブロック20の画素23の画素値を表す。
FIG. 6 is a flow chart illustrating how the filtering control of the embodiment may be used in the context of a filtering process. The method starts at step S40, where the first offset or delta value Δ is (9 × (q0 j −p0 j ) −3 × (q1 j −p1 j )) / 16.
Where p0 j represents the pixel value of the pixel 11 closest to the block boundary 1 in the line 12 consisting of pixels 11, 13, 15 and 17, and p1 j is among the lines 12 of pixels 11, 13, 15, 17, represents the pixel value of the pixel 13 which is adjacent to the second block boundary 1, q0 j the corresponding comprising pixels 21, 23 Represents the pixel value of the pixel 21 in the neighboring block 20 closest to the block boundary 1, and q1 j is the corresponding line 22 composed of the pixels 21, 23, 25, and 27. , Represents the pixel value of the pixel 23 of the neighboring block 20 that is second closest to the block boundary 1.

この第1のオフセットは、第1のオフセットを画素値に加算することにより、即ち、p0’=p0+Δにより、画素11、13、15、17からなるライン12の中でブロック境界1に最も近接している画素11の画素値を修正するためにステップS41で使用される。ステップS41は、画素値から第1のオフセットを減算することにより、即ち、q0’=q0−Δにより、画素21、23、25、27からなる対応するライン22の中でブロック境界1に最も近接している画素21の画素値をさらに修正する。この方法は、次に、第1のフィルタ決定値(d)及び第2のフィルタ決定値(d)が計算される図1のステップS1及びS2に続く。次のステップS42は、第1のフィルタ決定値を第1の閾値(T)と比較する。このステップS42は、図4のステップS20に対応する。第1のフィルタ決定値が閾値未満である場合、この方法は、ステップS43に続く。 This first offset is obtained by adding the first offset to the pixel value, i.e., p0 ′ j = p0 j + Δ, so that the block boundary 1 in the line 12 consisting of the pixels 11, 13, 15 and 17 is obtained. Used in step S41 to correct the pixel value of the closest pixel 11. In step S41, by subtracting the first offset from the pixel value, that is, q0 ′ j = q0 j −Δ, the block boundary 1 in the corresponding line 22 composed of the pixels 21, 23, 25, 27 is obtained. The pixel value of the closest pixel 21 is further corrected. The method then continues to steps S1 and S2 of FIG. 1 where a first filter decision value (d p ) and a second filter decision value (d q ) are calculated. The next step S42 compares the first filter decision value with the first threshold value (T 1 ). This step S42 corresponds to step S20 in FIG. If the first filter decision value is less than the threshold, the method continues to step S43.

ステップS43は、
(p0+p2−2p1+2Δ)/4
に基づいて第2のオフセット又はデルタ値Δを計算し、ここで、p2は、画素11、13、15、17からなるライン12の中で、ブロック境界1に3番目に近接している画素15の画素値を表す。第2のオフセットは、その後、第2のオフセットを画素値に加算することにより、即ち、p1’=p1+Δにより、画素11、13、15、17からなるライン12の中でブロック境界1に2番目に近接している画素13の画素値を修正するためにステップS44で使用される。
Step S43
(P0 j + p2 j -2p1 j + 2Δ) / 4
To calculate a second offset or delta value Δ p , where p 2 j is third closest to block boundary 1 in line 12 consisting of pixels 11, 13, 15, 17. The pixel value of the pixel 15 is represented. The second offset is then obtained by adding the second offset to the pixel value, i.e., p1 ′ j = p1 j + Δp , so that the block boundary within the line 12 consisting of pixels 11, 13, 15, 17 Used in step S44 to modify the pixel value of the pixel 13 that is second closest to 1.

この方法は、その後、ステップS45に続く。この方法は、第1のフィルタ決定値が第1の閾値未満ではない場合、図6においてステップS42からステップS45に同様に続く。   The method then continues to step S45. This method continues similarly from step S42 to step S45 in FIG. 6 if the first filter decision value is not less than the first threshold.

ステップS45は、第2のフィルタ決定値を第2の閾値(T)と比較する。このステップS45は、図4のステップS23に対応する。第2のフィルタ決定値が第2の閾値未満である場合、この方法は、ステップS46に続く。ステップS46は、
(q0+q2−2q1−2Δ)/4
に基づいて第3のオフセットΔを計算し、ここで、q2は、画素21、23、25、27からなる対応するライン22の中で、ブロック境界1に3番目に近接している近傍ブロック20内の画素25の画素値を表す。第3のオフセットは、第3のオフセットを画素値に加算することにより、即ち、q1’=q1+Δにより、画素21、23、25、27からなる対応するライン22の中で、ブロック境界1に2番目に近接している画素23の画素値を修正するためにステップS47で使用される。
A step S45 compares the second filter decision value with the second threshold value (T 2 ). This step S45 corresponds to step S23 in FIG. If the second filter decision value is less than the second threshold, the method continues to step S46. Step S46
(Q0 j + q2 j -2q1 j -2Δ) / 4
To calculate a third offset Δ q , where q 2 j is the neighborhood closest to block boundary 1 in the corresponding line 22 consisting of pixels 21, 23, 25, 27. The pixel value of the pixel 25 in the block 20 is represented. Third offset by adding the third offset to the pixel value, i.e., by q1 'j = q1 j + Δ q, in the corresponding line 22 of pixels 21, 23, block Used in step S47 to modify the pixel value of pixel 23 that is second closest to boundary 1.

ステップS42、S43及びS44は、どんな順序でも直列に、又は、ステップS45、S46及びS47と少なくとも部分的に並列に実行されることが可能である。   Steps S42, S43 and S44 may be performed in any order in series or at least partially in parallel with steps S45, S46 and S47.

上記において、第1、第2及び第3のオフセットは、画素値の特有の方程式に基づいて計算される。これは、第1のオフセットが
(9×(q0−p0)−3×(q1−p1))/16
の関数として計算され、第2のオフセットが
(p0+p2−2p1+2Δ)/4
の関数として計算され、第3のオフセットが
(q0+q2−2q1−2Δ)/4
の関数として計算されることを意味する。様々なこのような関数が考えられ、ステップS40、S43及びS46で使用され得る。このような関数は、従って、オフセットの計算がハードウェアで効率的に実行されるように定義されることが可能である。このような場合、除算を含まないこと、及び/又は、オフセットが整数値であるように関数を定義しないことが一般的に好ましい。実施形態では、(X+8)>>4がX/16の整数表現として使用され、ここで、>>は、右シフト演算を表す。このように、特定の実施形態では、ステップS40は、
(9×(q0−p0)−3×(q1−p1)+8)>>4
に基づくように、かつ、好ましくは、一致するように第1のオフセットを計算する。第2及び第3のオフセットの対応する整数表現は、
(((p0+p2+1)>>1)−p1+Δ)>>1
及び
(((q0+q2+1)>>1)−q1−Δ)>>1
とすることができる。
In the above, the first, second and third offsets are calculated based on a specific equation for pixel values. This is because the first offset is (9 × (q0 j −p0 j ) −3 × (q1 j −p1 j )) / 16
And the second offset is (p0 j + p2 j -2p1 j + 2Δ) / 4
And the third offset is (q0 j + q2 j -2q1 j -2Δ) / 4
It is calculated as a function of. Various such functions are conceivable and can be used in steps S40, S43 and S46. Such a function can therefore be defined so that the calculation of the offset is performed efficiently in hardware. In such cases, it is generally preferred not to include division and / or not define the function such that the offset is an integer value. In an embodiment, (X + 8) >> 4 is used as an integer representation of X / 16, where >> represents a right shift operation. Thus, in certain embodiments, step S40 is
(9 × (q0 j −p0 j ) −3 × (q1 j −p1 j ) +8) >> 4
And, preferably, the first offset is calculated to match. The corresponding integer representation of the second and third offsets is
(((P0 j + p2 j +1) >> 1) −p1 j + Δ) >> 1
And (((q0 j + q2 j +1) >> 1) -q1 j -Δ) >> 1
It can be.

例として、デブロッキングの結果として修正された画素値は、以下のように計算される。本例では、第1のフィルタ決定値は、d=|p2−2p1+p0|+|p2−2p1+p0|として定義され、第2のフィルタ決定値は、d=|q2−2q1+q0|+|q2−2q1+q0|として定義される。

●Δ=(9×(q0−p0)−3×(q1−p1))/16
●p’=p+Δ
●q’=q−Δ
●d<thrPである場合、
○Δ=(p0+p2−2p1+2Δ)/4
○p’=p+Δ
●d<thrQである場合、
○Δ=(q0+q2−2q1−2Δ)/4
○q’=q+Δ
As an example, pixel values modified as a result of deblocking are calculated as follows: In this example, the first filter decision value is defined as d p = | p2 2 -2p1 2 + p0 2 | + | p2 5 -2p1 5 + p0 5 |, and the second filter decision value is d q = | q2 2 −2q1 2 + q0 2 | + | q2 5 −2q1 5 + q0 5 |

Δ = (9 × (q0−p0) −3 × (q1−p1)) / 16
● p ′ 0 = p 0 + Δ
Q ′ 0 = q 0 −Δ
If d p <thrP,
○ Δ p = (p0 + p2-2p1 + 2Δ) / 4
○ p ′ 1 = p 1 + Δ p
If d q <thrQ,
○ Δ q = (q0 + q2-2q1-2Δ) / 4
○ q ′ 1 = q 1 + Δ q

プログラミング言語による上記例の計算の正確な式は、以下のテキストのように見える可能性がある。ここで、Clip3関数は、2個の最初の関数引数の間のレンジへの出力値のクリッピングである。

Int xCalcDP(Pel* piSrc, Int iOffset)

return abs(piSrc[−iOffset*3]−2*piSrc[−iOffiset*2]+piSrc[−iOffset]);


Int xCalcDQ(Pel* piSrc, Int iOffset)

return abs(piSrc[0]−2*piSrc[iOffset]+piSrc[iOffset*2]);


Int iDP=xCalcDP(piTmpSrc+iSrcstep*(iIdx*uiPelsInPart+iBlkIdx*DEBLOCK_SMALLEST_BLOCK+2), iOffset)+xCalcDP(piTmpSrc+iSrcStep*(iIdx*uiPelsInpart+iBlkIdx*DEBLOCK_SMALLEST_BLOCK+5), iOffset);

Int iDQ=xCalcDQ(piTmpSrc+iSrcstep*(iIdx*uiPelsInPart+iBlkIdx*DEBLOCK_SMALLEST_BLOCK+2), iOffset)+xCalcDQ(piTmpSrc+iSrcStep*(iIdx*uiPelsInpart+iBlkIdx*DEBLOCK_SMALLEST_BLOCK+5), iOffset);

Int iSideThreshold=iBeta/6;

Bool bFilterP=(iDP<iSideThreshold);
Bool bFilterQ=(iDQ<iSideThreshold);

delta=(9*(m4−m3)−3*(m5−m2)+8)>>4;

if (abs(delta)<iThrCut)

Int tc2=tc>>1;

delta=Clip3(−tc, tc, delta);
piSrc[−iOffset]=Clip((m3+delta));
piSrc[0]=Clip((m4−delta));

if (bFilterP)

Int delta1=Clip3(−tc2, tc2, ((((m1+m3+1)>>1)−m2+delta)>>1));
piSrc[−iOffset*2]=Clip((m2+delta1));

if (bFilterQ)


Int delta2=Clip3(−tc2, tc2, ((((m6+m4+1)>>1)−m5−delta)>>1));
piSrc[iOffset*2]=Clip((m5+delta2));


The exact formula for the above example calculation in a programming language may look like the following text: Here, the Clip3 function is a clipping of the output value to the range between the two first function arguments.

Int xCalcDP (Pel * piSrc, Int iOffset)
{
return abs (piSrc [-iOffset * 3] -2 * piSrc [-iOffset * 2] + piSrc [-iOffset]);
}

Int xCalcDQ (Pel * piSrc, Int iOffset)
{
return abs (piSrc [0] -2 * piSrc [iOffset] + piSrc [iOffset * 2]);
}

Int iDP = xCalcDP (piTmpSrc + iSrcstep * (iIdx * uiPelsInPart + iBlkIdx * DEBLOCK_SMALLEST_BLOCK + 2), iOffset) + xCalcDP (piTmpSrc + iSrcStep * (iIdx * uiPelsInpart + iBlkIdx * DEBLOCK_SMALLEST_BLOCK + 5), iOffset);

Int iDQ = xCalcDQ (piTmpSrc + iSrcstep * (iIdx * uiPelsInPart + iBlkIdx * DEBLOCK_SMALLEST_BLOCK + 2), iOffset) + xCalcDQ (piTmpSrc + iSrcStep * (iIdx * uiPelsInpart + iBlkIdx * DEBLOCK_SMALLEST_BLOCK + 5), iOffset);

Int iSideThreshold = iBeta / 6;

Bool bFilterP = (iDP <iSideThreshold);
Bool bFilterQ = (iDQ <iSideThreshold);

delta = (9 * (m4-m3) -3 * (m5-m2) +8) >>4;

if (abs (delta) <iThrCut)
{
Int tc2 = tc >>1;

delta = Clip3 (−tc, tc, delta);
piSrc [-iOffset] = Clip ((m3 + delta));
piSrc [0] = Clip ((m4-delta));

if (bFilterP)
{
Int delta1 = Clip3 (−tc2, tc2, ((((m1 + m3 + 1) >> 1) −m2 + delta) >>1));
piSrc [-iOffset * 2] = Clip ((m2 + delta1));
}
if (bFilterQ)
{
{
Int delta2 = Clip3 (−tc2, tc2, ((((m6 + m4 + 1) >> 1) −m5-delta) >>1));
piSrc [iOffset * 2] = Clip ((m5 + delta2));
}
}

図7は、図1における方法の付加的な選択可能なステップを示したフローチャートである。この方法は、図1におけるステップS2から続く。次のステップS50は、第1の決定値と第2の決定値との合計を閾値(T)と比較する。合計が閾値未満ではない場合、この方法は終了する。かくして、このような場合、フィルタリングは、特有のブロック境界1に関してブロック10及び近傍ブロック20に全く適用されない。ブロック10及び近傍ブロック20は、その結果、フィルタで取り除かれるべきではない多数の局所構造を備える。しかし、合計が閾値未満である場合、この方法は、図1におけるステップS3及びS4に続き、ここで、フィルタ処理すべき画素の個数の判定が第1のフィルタ決定値(ステップS3)又は第2のフィルタ決定値(ステップS4)に基づいて実行される。   FIG. 7 is a flowchart illustrating additional selectable steps of the method in FIG. This method continues from step S2 in FIG. The next step S50 compares the sum of the first determined value and the second determined value with a threshold value (T). If the sum is not less than the threshold, the method ends. Thus, in such a case, no filtering is applied to block 10 and neighboring block 20 with respect to the specific block boundary 1. Block 10 and neighboring block 20 consequently comprise a number of local structures that should not be filtered out. However, if the sum is less than the threshold, the method continues with steps S3 and S4 in FIG. 1, where the determination of the number of pixels to be filtered is determined by the first filter decision value (step S3) or the second. This is executed based on the determined filter value (step S4).

本実施形態は、第1及び第2のフィルタ決定に対する値がブロック境界を少しでもフィルタ処理すべきか否かを決定するためさらに使用されるので、多くの追加的な計算を必要としないという利点を有する。   This embodiment has the advantage that it does not require a lot of additional computation since the values for the first and second filter decisions are further used to determine if any block boundaries should be filtered. Have.

本書に開示された実施形態は、ブロック境界の両側で構造に適応するようにデブロッキング・フィルタリングを制御する非対称のデブロッキング決定を実現する。非対称の決定は、ブロック境界の一方側に適用されるフィルタリングの量がブロック境界のもう一方側に適用されるフィルタリングの量と異なることが可能であり、よって、局所構造へのさらなる適応を行うことを意味する。これは、客観的及び主観的な映像品質を改善する。   The embodiments disclosed herein implement asymmetric deblocking decisions that control deblocking filtering to accommodate the structure on both sides of the block boundary. The asymmetry determination allows the amount of filtering applied to one side of the block boundary to be different from the amount of filtering applied to the other side of the block boundary, thus making further adaptation to the local structure Means. This improves objective and subjective video quality.

図8は、フィルタリング制御装置100の実施形態の概略ブロック図である。フィルタリング制御装置100は、少なくとも|p2−2p1+p0|に基づいて映像フレーム内のブロック10に対する第1のフィルタ決定値を計算するように構成されている第1の決定値計算器110を備える。フィルタリング制御装置100は、|q2−2q1+q0|に基づいてブロック10に対する第2の異なるフィルタ決定値を計算するように構成されている第2の決定値計算器120をさらに備える。 FIG. 8 is a schematic block diagram of an embodiment of the filtering control apparatus 100. The filtering controller 100 includes a first decision value calculator 110 configured to calculate a first filter decision value for the block 10 in the video frame based at least on | p2 i -2p1 i + p0 i |. Prepare. The filtering controller 100 further comprises a second decision value calculator 120 configured to calculate a second different filter decision value for the block 10 based on | q2 i -2q1 i + q0 i |.

第1の画素判定器130又は第1の画素判定ユニット若しくはプロセッサは、第1の決定値計算器110により計算された第1のフィルタ決定値に基づいて、ブロック境界1に対してフィルタ処理すべきブロック10内の画素11、13、15、17からなるライン12の中の画素の個数を判定するように構成されている。第2の画素判定器140又は第2の画素判定ユニット若しくはプロセッサは、第2の決定値計算器120により計算された第2のフィルタ決定値に基づいて、ブロック境界に対してフィルタ処理すべき映像フレームの近傍ブロック20内の画素21、23、25、27からなる対応するライン22の中の画素の個数を判定するためにフィルタリング制御装置100に設けられている。   The first pixel decision unit 130 or the first pixel decision unit or processor should filter the block boundary 1 based on the first filter decision value calculated by the first decision value calculator 110 The number of pixels in the line 12 composed of the pixels 11, 13, 15, and 17 in the block 10 is determined. The second pixel determination unit 140 or the second pixel determination unit or processor uses the second filter determination value calculated by the second determination value calculator 120 to perform an image to be filtered with respect to the block boundary. The filtering control device 100 is provided to determine the number of pixels in the corresponding line 22 composed of the pixels 21, 23, 25, and 27 in the neighborhood block 20 of the frame.

実施形態では、第1の画素判定器130は、画素11、13、15、17からなる第1のライン12に対し第1の決定値計算器110により計算された第1のフィルタ決定値に基づいて、ブロック境界1に対してフィルタ処理すべきブロック10内の画素11、13、15、17からなる第1のライン12の中の画素の個数を判定するように構成されている。第2の画素判定器140は、画素21、23、25、27からなる対応する第1のライン22に対し第2の決定値計算器120により計算された第2のフィルタ決定値に基づいて、ブロック境界1に対してフィルタ処理すべき近傍ブロック20内の画素21、23、25、27からなる対応する第1のライン22の中の画素の個数を同様に判定する。   In the embodiment, the first pixel determination unit 130 is based on the first filter determination value calculated by the first determination value calculator 110 for the first line 12 including the pixels 11, 13, 15, and 17. Thus, the number of pixels in the first line 12 made up of the pixels 11, 13, 15, and 17 in the block 10 to be filtered with respect to the block boundary 1 is determined. The second pixel determination unit 140 is based on the second filter determination value calculated by the second determination value calculator 120 for the corresponding first line 22 including the pixels 21, 23, 25, and 27. The number of pixels in the corresponding first line 22 composed of the pixels 21, 23, 25, 27 in the neighboring block 20 to be filtered with respect to the block boundary 1 is similarly determined.

別の実施形態では、第1の決定値計算器110は、|p2−2p1+p0|+|p2−2p1+p0|として第1のフィルタ決定値を計算するように構成され、第2の決定値計算器120は、|q2−2q1+q0|+|q2−2q1+q0|として第2のフィルタ決定値を計算するように構成されている。 In another embodiment, the first decision value calculator 110 is configured to calculate the first filter decision value as | p2 2 −2p1 2 + p0 2 | + | p2 5 −2p1 5 + p0 5 | The second determined value calculator 120 is configured to calculate the second filter determined value as | q2 2 −2q1 2 + q0 2 | + | q2 5 −2q1 5 + q0 5 |.

さらに別の実施形態では、第1の決定値計算器110は、|p2−2p1+p0|+|p2−2p1+p0|として第1のペアの中の第1のフィルタ決定値を計算するように構成され、第2の決定値計算器120は、|q2−2q1+q0|+|q2−2q1+q0|として第1のペアの中の第2のフィルタ決定値を計算するように構成されている。第1のフィルタ決定値計算器110は、|p2−2p1+p0|+|p2−2p1+p0|として第2のペアの中の第1のフィルタ決定値を計算するようにさらに構成され、第2のフィルタ決定値計算器120は、|q2−2q1+q0|+|q2−2q1+q0|として第2のペアの中の第2のフィルタ決定値を計算するようにさらに構成されている。 In yet another embodiment, the first decision value calculator 110 uses the first filter decision value in the first pair as | p2 0 -2p1 0 + p0 0 | + | p2 3 -2p1 3 + p0 3 |. And the second decision value calculator 120 determines the second filter decision in the first pair as | q2 0 -2q1 0 + q0 0 | + | q2 3 -2q1 3 + q0 3 | Configured to calculate a value. The first filter decision value calculator 110 is further configured to calculate the first filter decision value in the second pair as | p2 4 −2p1 4 + p0 4 | + | p2 7 −2p1 7 + p0 7 |. Configured, the second filter decision value calculator 120 calculates the second filter decision value in the second pair as | q2 4 −2q1 4 + q0 4 | + | q2 7 −2q1 7 + q0 7 | It is further configured as follows.

図9は、フィルタリング制御装置100の別の実施形態の概略ブロック図である。フィルタリング制御装置100は、本実施形態では、第1の決定値計算器110に加えて、第2の決定値計算器120と、第1の画素判定器130と、第2の画素判定器140と、第3の決定値計算器150とを備える。第3の決定値計算器150は、その結果、|p2−2p1+p0|+|p2−2p1+p0|として第3のフィルタ決定値を計算するように構成されている。第4の決定値計算器160は、さらにフィルタリング制御装置100内に実装され、|q2−2q1+q0|+|q2−2q1+q0|として第4のフィルタ決定値を計算するように構成されている。 FIG. 9 is a schematic block diagram of another embodiment of the filtering control apparatus 100. In the present embodiment, the filtering control apparatus 100 includes, in addition to the first determined value calculator 110, a second determined value calculator 120, a first pixel determiner 130, and a second pixel determiner 140. And a third determined value calculator 150. As a result, the third decision value calculator 150 is configured to calculate the third filter decision value as | p2 2 −2p1 2 + p0 2 | + | p2 5 −2p1 5 + p0 5 |. The fourth decision value calculator 160 is further implemented in the filtering control apparatus 100 so as to calculate the fourth filter decision value as | q2 2 −2q1 2 + q0 2 | + | q2 5 −2q1 5 + q0 5 |. It is configured.

本実施形態では、第1のフィルタ決定値計算器110は、第3の決定値計算器150により計算された第3のフィルタ決定値が第3の閾値未満である場合、第1のフィルタ決定値を計算するように構成されている。第3の決定値が第3の閾値未満である場合、第1の決定値計算器110は、|p2−2p1+p0|としてブロック10内の画素11、13、15、17からなる各ラインi 12に対する第1の閾値を計算する。第1の画素判定器130は、その後、第3のフィルタ決定値が第3の閾値未満であるか否かと、ブロック10内の画素11、13、15、17からなるラインi 12毎に、画素11、13、15、17からなるラインi 12に対し第1の決定値計算器110により計算された第1のフィルタ決定値に基づいて、ブロック境界1に対してフィルタ処理すべきブロック10内の画素11、13、15、17からなるラインi 12の中の画素の個数とを判定する。 In the present embodiment, the first filter decision value calculator 110, when the third filter decision value calculated by the third decision value calculator 150 is less than the third threshold value, Is configured to calculate If the third decision value is less than the third threshold, the first decision value calculator 110 sets each of the pixels 11, 13, 15, and 17 in the block 10 as | p2 i -2p1 i + p0 i |. Calculate a first threshold for line i12. Thereafter, the first pixel determination unit 130 determines whether or not the third filter determination value is less than the third threshold value, and determines whether the pixel i for each line i 12 including the pixels 11, 13, 15, and 17 in the block 10. Based on the first filter decision value calculated by the first decision value calculator 110 for the line i 12 consisting of 11, 13, 15, 17 in the block 10 to be filtered with respect to the block boundary 1 The number of pixels in the line i 12 composed of the pixels 11, 13, 15, and 17 is determined.

第2の決定値計算器120は、好ましくは、第4のフィルタ決定値と第4の閾値との間の比較に反応する。このように、第4の決定値計算器160により計算された第4のフィルタ決定値が第4の閾値未満である場合、第2の決定値計算器120は、近傍ブロック20内の画素21、23、25、27からなる対応するラインi 22毎に|q2−2q1+q0|として第2のフィルタ決定値を計算する。第2の画素判定器240は、第4のフィルタ決定値が第4の閾値未満であるか否かと、近傍ブロック20内の画素21、23、25、27からなる対応するラインi 22毎に、画素21、23、25、27からなる対応するラインi 22に対し計算された第2のフィルタ決定値に基づいて、ブロック境界1に対してフィルタ処理すべき近傍ブロック20内の画素21、23、25、27からなる対応するラインi 22の中の画素の個数とを判定する。 The second determined value calculator 120 is preferably responsive to the comparison between the fourth filter determined value and the fourth threshold. Thus, when the fourth filter decision value calculated by the fourth decision value calculator 160 is less than the fourth threshold value, the second decision value calculator 120 determines whether the pixel 21 in the neighboring block 20, For each corresponding line i 22 consisting of 23, 25, 27, the second filter decision value is calculated as | q2 i -2q1 i + q0 i |. The second pixel determination unit 240 determines whether or not the fourth filter determination value is less than the fourth threshold value, and for each corresponding line i 22 composed of the pixels 21, 23, 25, and 27 in the neighboring block 20. Based on the second filter decision value calculated for the corresponding line i 22 consisting of pixels 21, 23, 25, 27, the pixels 21, 23, The number of pixels in the corresponding line i 22 consisting of 25 and 27 is determined.

図10は、フィルタリング制御装置100のさらなる実施形態の概略ブロック図である。図8に示された実施形態のユニット110〜140に加えて、フィルタリグ制御装置100は、第1の決定値計算器110により計算された第1のフィルタ決定値を第1の閾値と比較するように構成されている第1の比較器180を備える。第2の比較器182は、第2の決定値計算器120により計算された第2のフィルタ決定値を第2の閾値と比較するように同様に構成されている。   FIG. 10 is a schematic block diagram of a further embodiment of the filtering control apparatus 100. In addition to the units 110-140 of the embodiment shown in FIG. 8, the filter rig control device 100 compares the first filter decision value calculated by the first decision value calculator 110 with a first threshold value. The first comparator 180 is configured as described above. The second comparator 182 is similarly configured to compare the second filter decision value calculated by the second decision value calculator 120 with a second threshold value.

本実施形態では、第1の画素判定器130は、第1のフィルタ決定値が第1の比較器180により判定されるように第1の閾値未満である場合、ブロック境界1に対してブロック10内の画素11、13、15、17からなるライン12の中の2個の画素をフィルタ処理することを判定するように構成されている。しかし、第1のフィルタ決定値が第1の閾値未満ではない場合、第1の画素判定器130は、代わりに、ブロック境界1に対してブロック10内の画素11、13、15、17からなるライン12の中の1個の画素をフィルタ処理することを判定するように構成されている。代替的に、第1の画素判定器130は、代わりに、ブロック境界1に対してブロック10内の画素11、13、15、17からなるライン12の中で画素をフィルタ処理しないことを判定するように構成されている。   In the present embodiment, the first pixel determiner 130 determines that the block 10 for the block boundary 1 when the first filter decision value is less than the first threshold as determined by the first comparator 180. It is configured to determine that two pixels in the line 12 including the pixels 11, 13, 15, and 17 are to be filtered. However, if the first filter decision value is not less than the first threshold, the first pixel determiner 130 instead consists of the pixels 11, 13, 15, 17 in the block 10 with respect to the block boundary 1 It is configured to determine to filter one pixel in line 12. Alternatively, the first pixel determiner 130 instead determines not to filter the pixels in the line 12 consisting of the pixels 11, 13, 15, 17 in the block 10 with respect to the block boundary 1. It is configured as follows.

第2の画素判定器140は、第2のフィルタ決定値が第2の比較器182により判定されるように第2の閾値未満である場合、ブロック境界1に対して近傍ブロック20内の画素21、23、25、27からなる対応するライン22の中の2個の画素をフィルタ処理することを判定するように構成されている。しかし、第2のフィルタ決定値が第2の閾値未満ではない場合、第2の画素判定器140は、代わりに、ブロック境界1に対して近傍ブロック20内の画素21、23、25、27からなる対応するライン22の中の1個の画素をフィルタ処理することを判定するように構成されている。代替的に、第2の画素判定器140は、代わりに、ブロック境界1に対して近傍ブロック20内の画素21、23、25、27からなる対応するライン22の中で画素をフィルタ処理しないことを判定するように構成されている。   The second pixel determination unit 140 determines that the pixel 21 in the neighboring block 20 with respect to the block boundary 1 when the second filter determination value is less than the second threshold as determined by the second comparator 182. , 23, 25, 27 are configured to determine to filter two pixels in the corresponding line 22. However, if the second filter decision value is not less than the second threshold value, the second pixel determination unit 140 instead uses the pixels 21, 23, 25, and 27 in the neighboring block 20 with respect to the block boundary 1. Is configured to determine to filter one pixel in the corresponding line 22. Alternatively, the second pixel determiner 140 instead does not filter the pixels in the corresponding line 22 consisting of the pixels 21, 23, 25, 27 in the neighboring block 20 with respect to the block boundary 1. Is configured to determine.

実施形態では、図10のフィルタリング制御装置100は、
(9×(q0−p0)−3×(q1−p1))/16
に基づいて第1のオフセットを計算するように構成されている第1のオフセット計算器181を備える。フィルタリング制御装置100の第1の画素修正器190は、第1のオフセットを画素11の画素値に加算することにより、画素11、13、15、17からなるライン12の中で、ブロック境界1に最も近接している画素11の画素値を修正するように構成されている。第2の画素値修正器192は、第1のオフセットを画素21の画素値から減算することにより、画素21、23、25、27からなる対応するライン12の中で、ブロック境界1に最も近接している画素21の画素値を修正するように構成されている。
In the embodiment, the filtering control apparatus 100 of FIG.
(9 × (q0 j −p0 j ) −3 × (q1 j −p1 j )) / 16
A first offset calculator 181 configured to calculate a first offset based on The first pixel corrector 190 of the filtering control device 100 adds the first offset to the pixel value of the pixel 11, and thereby the block boundary 1 in the line 12 including the pixels 11, 13, 15, and 17 is added. The pixel value of the closest pixel 11 is configured to be corrected. The second pixel value corrector 192 subtracts the first offset from the pixel value of the pixel 21 so that it is closest to the block boundary 1 in the corresponding line 12 consisting of the pixels 21, 23, 25, 27. The pixel value of the pixel 21 is modified.

第2のオフセット計算器183は、好ましくは、第1のフィルタ決定値が第1の比較器180により判定されるように第1の閾値未満である場合、第2のオフセットを計算するためにフィルタリング制御装置100に実装される。第2のオフセットは、このとき、
(p0+p2−2p1+2Δ)/4
に基づいて計算される。第3の画素修正器194は、第1のフィルタ決定値が第1の閾値未満である場合に作動される。このような場合、第3の画素修正器194は、第2のオフセットを画素13の画素値に加算することにより、画素11、13、15、17からなるライン12の中で、ブロック境界1に2番目に近接している画素13の画素値を修正するように構成されている。
The second offset calculator 183 is preferably filtered to calculate a second offset if the first filter decision value is less than the first threshold as determined by the first comparator 180. It is mounted on the control device 100. The second offset is then
(P0 j + p2 j -2p1 j + 2Δ) / 4
Calculated based on The third pixel modifier 194 is activated when the first filter decision value is less than the first threshold. In such a case, the third pixel corrector 194 adds the second offset to the pixel value of the pixel 13 so that the line boundary 12 in the pixel 11, 13, 15, and 17 becomes the block boundary 1. The pixel value of the pixel 13 closest to the second pixel is corrected.

第3のオフセット計算器185は、第2のフィルタ決定値が第2の比較器182により判定されるように第2の閾値未満である場合、
(q0+q2−2q1−2Δ)/4
に基づいて第3のオフセットを計算するように構成されている。第2のフィルタ決定値が第2の閾値未満である場合、フィルタリング制御装置100の第4の画素修正器196は、第3のオフセットを画素23の画素値に加算することにより、画素21、23、25、27からなる対応するライン22の中で、ブロック境界1に2番目に近接している画素23の画素値を修正するように構成されている。
The third offset calculator 185 is when the second filter decision value is less than the second threshold as determined by the second comparator 182;
(Q0 j + q2 j -2q1 j -2Δ) / 4
Is configured to calculate a third offset based on. When the second filter determination value is less than the second threshold value, the fourth pixel corrector 196 of the filtering control apparatus 100 adds the third offset to the pixel value of the pixel 23, whereby the pixels 21, 23 are added. , 25 and 27, the pixel value of the pixel 23 that is second closest to the block boundary 1 is corrected.

図9及び10に関連して前述されたフィルタリング制御装置100の実施形態は、フィルタ決定値をそれぞれの閾値と比較する。実施形態では、このような閾値は、特有のブロック境界1に対してフィルタリング制御装置100により計算される。フィルタリング制御装置100は、従って、好ましくは、ブロック10に関連付けられた量子化パラメータに基づいて、図10において第1の比較器180により使用される第1の閾値と、図9においてフィルタリング制御装置100により使用される第3の閾値とを判定するように構成されている閾値判定器170又は閾値判定プロセッサ若しくはユニットを備える。同様に、閾値判定器170は、同様に好ましくは、近傍ブロック20に関連付けられた量子化パラメータに基づいて、図10において第2の比較器182により使用される第2の閾値と、図9においてフィルタリング制御装置100により使用される第4の閾値とを判定する。   The embodiment of the filtering control apparatus 100 described above in connection with FIGS. 9 and 10 compares the filter decision values with respective threshold values. In an embodiment, such a threshold is calculated by the filtering controller 100 for the specific block boundary 1. The filtering controller 100 therefore preferably uses the first threshold used by the first comparator 180 in FIG. 10 and the filtering controller 100 in FIG. 9 based on the quantization parameter associated with the block 10. Comprises a threshold determiner 170 or a threshold determination processor or unit configured to determine a third threshold used by. Similarly, threshold determiner 170 preferably also uses the second threshold used by second comparator 182 in FIG. 10 based on the quantization parameter associated with neighboring block 20, and in FIG. The fourth threshold value used by the filtering control device 100 is determined.

図11は、フィルタリング制御装置100のさらに別の実施形態の概略ブロック図である。図8に示された実施形態のユニット110〜140に加えて、フィルタリング制御装置100は、本実施形態では、第1のフィルタ決定値と第2のフィルタ決定値との合計を閾値と比較するように構成されている第3の比較器184を備える。この合計が閾値以上である場合、フィルタリングは、特有のブロック境界1に関してブロック10及び近傍ブロック20に適用されるべきではないので、第1及び第2の画素判定器130、140は、フィルタ処理すべき画素の個数を少しも判定しないであろう。しかし、合計が閾値未満である場合、第1及び第2の画素判定器130、140は、それぞれ第1又は第2のフィルタ決定値に基づいてフィルタ処理すべき画素の個数を判定するために作動される。   FIG. 11 is a schematic block diagram of still another embodiment of the filtering control apparatus 100. In addition to the units 110 to 140 of the embodiment shown in FIG. 8, the filtering control apparatus 100 in this embodiment is configured to compare the sum of the first filter determination value and the second filter determination value with a threshold value. Is provided with a third comparator 184. If this sum is greater than or equal to the threshold, the first and second pixel determiners 130, 140 filter because the filtering should not be applied to the block 10 and the neighboring block 20 with respect to the specific block boundary 1. It will not determine any number of power pixels. However, if the sum is less than the threshold value, the first and second pixel determiners 130 and 140 operate to determine the number of pixels to be filtered based on the first or second filter decision value, respectively. Is done.

図8〜11において前述され、開示されたフィルタリング制御装置100の実施形態は、組み合わされる可能性がある。例えば、図9の第3の値計算器150及び第4の値計算器160は、図10又は11に開示された実施形態のいずれかで実装され得る。同様に、図11の第3の比較器184は、図9又は10に開示された実施形態のいずれかで実装され得る。   The embodiments of the filtering control device 100 previously described and disclosed in FIGS. 8-11 may be combined. For example, the third value calculator 150 and the fourth value calculator 160 of FIG. 9 may be implemented in any of the embodiments disclosed in FIG. Similarly, the third comparator 184 of FIG. 11 may be implemented in any of the embodiments disclosed in FIG. 9 or 10.

図8〜11に関連して開示されたそれぞれのユニット110〜196は、フィルタリング制御装置100において物理的に別個のユニット110〜196として開示されているが、全ては、ASIC(特定用途向け集積回路)のような専用回路でもよく、ユニット110〜196の一部又は全部が汎用プロセッサの上で動くコンピュータ・プログラム・モジュールとして実装されるフィルタリング制御装置100の代替的な実施形態が考えられる。このような実施形態は、図12に開示される。   Each of the units 110-196 disclosed in connection with FIGS. 8-11 are disclosed as physically separate units 110-196 in the filtering controller 100, but all are ASIC (application specific integrated circuits). An alternative embodiment of the filtering controller 100 is conceivable in which some or all of the units 110-196 are implemented as computer program modules that run on a general purpose processor. Such an embodiment is disclosed in FIG.

図12は、DSP(デジタル信号プロセッサ)又はCPU(中央処理ユニット)のような処理ユニット72を有するコンピュータ70の実施形態を概略的に示す。処理ユニット72は、本書に記載された方法の様々なステップを実行する単一のユニット又は複数のユニットである可能性がある。コンピュータ70は、記録若しくは生成された映像フレーム又は符号化された映像フレームを受け取り、符号化された映像フレーム又は復号化された映像データを出力する入力/出力(I/O)ユニット71をさらに備える。I/Oユニット71は、図12では単一のユニットとして示されているが、同様に、別個の入力ユニット及び別個の出力ユニットの形式である可能性がある。   FIG. 12 schematically illustrates an embodiment of a computer 70 having a processing unit 72 such as a DSP (Digital Signal Processor) or CPU (Central Processing Unit). The processing unit 72 may be a single unit or multiple units that perform the various steps of the methods described herein. The computer 70 further includes an input / output (I / O) unit 71 that receives the recorded or generated video frame or the encoded video frame and outputs the encoded video frame or the decoded video data. . Although the I / O unit 71 is shown as a single unit in FIG. 12, it may likewise be in the form of a separate input unit and a separate output unit.

さらに、コンピュータ70は、例えば、EEPROM(電気的消去可能プログラマブル・リード・オンリー・メモリ)、フラッシュメモリ、又はディスクドライブのような不揮発性メモリの形をした少なくとも1つのコンピュータ・プログラム・プロダクト73を備える。コンピュータ・プログラム・プロダクト73は、処理ユニット72のようなコンピュータ70により動かされた又は実行されたとき、コンピュータ70に図1に関連して前述された方法のステップを実行させるコード手段を備えるコンピュータプログラム74を備える。従って、実施形態では、コンピュータプログラム74におけるコード手段は、ブロックに対する第1のフィルタ決定値を計算する第1の決定値計算(DVC)モジュール310と、ブロックに対する第2のフィルタ決定値を計算する第2の画素値計算モジュール320と、画素11、13、15、17からなるライン12の中でフィルタ処理すべき画素の個数を判定する第1の画素判定(PD)モジュール330と、画素21、23、25、27からなる対応するライン22の中でフィルタ処理すべき画素の個数を判定する第2の画素判定モジュール340と、を備える。これらのモジュール310〜340は、処理ユニット72上で動くとき、図1のフローチャートのステップを原則的に実行する。このようにして、様々なモジュール310〜340が処理ユニット72上で動かされるとき、これらは、図8〜11の対応するユニット110〜140に対応する。   Furthermore, the computer 70 comprises at least one computer program product 73 in the form of a non-volatile memory such as, for example, an EEPROM (electrically erasable programmable read only memory), a flash memory, or a disk drive. . The computer program product 73 comprises a computer means comprising code means that, when run or executed by a computer 70, such as the processing unit 72, causes the computer 70 to perform the steps of the method described above in connection with FIG. 74. Accordingly, in an embodiment, the code means in the computer program 74 includes a first decision value calculation (DVC) module 310 for calculating a first filter decision value for the block and a second filter decision value for the block. 2 pixel value calculation module 320, first pixel determination (PD) module 330 that determines the number of pixels to be filtered in line 12 consisting of pixels 11, 13, 15, and 17, and pixels 21 and 23 , 25, 27, and a second pixel determination module 340 that determines the number of pixels to be filtered in the corresponding line 22. These modules 310-340, in principle, perform the steps of the flowchart of FIG. In this way, when the various modules 310-340 are moved on the processing unit 72, these correspond to the corresponding units 110-140 of FIGS.

コンピュータプログラム74は、図9から11における対応するユニット150〜196の動作を実行するために、第3の決定値計算モジュール、第4の決定値計算モジュール、閾値判定モジュール、第1の比較モジュール、第2の比較モジュール、第3の比較モジュール、第1のオフセット計算モジュール、第2のオフセット計算モジュール、第3のオフセット計算モジュール、第1の画素修正モジュール、第2の画素修正モジューと、第3の画素修正モジュール、及び/又は、第4の画素修正モジュールをさらに備えることがある。   The computer program 74 performs a third decision value calculation module, a fourth decision value calculation module, a threshold determination module, a first comparison module, in order to execute the operations of the corresponding units 150 to 196 in FIGS. A second comparison module, a third comparison module, a first offset calculation module, a second offset calculation module, a third offset calculation module, a first pixel correction module, a second pixel correction module, and a third The pixel correction module and / or the fourth pixel correction module may be further included.

図12のコンピュータ70は、ユーザ機器である、又は、ユーザ機器内に存在する可能性がある。このような場合、ユーザ機器は、映像データを表示するディスプレイをさらに備える、又は、ディスプレイに接続されていることがある。   The computer 70 of FIG. 12 may be user equipment or may exist in the user equipment. In such a case, the user equipment may further include or be connected to a display that displays video data.

図8〜11のフィルタリング制御装置は、好ましくは、映像符号化で使用される。これは、機能し、その結果、好ましくは、映像符号化器及び映像復号化器の両方に実装される。映像復号化器は、好ましくは、ハードウェアで実施される可能性があるが、ソフトウェアで実装される可能性もある。同じことが映像符号化器についても成り立つ。   The filtering control devices of FIGS. 8 to 11 are preferably used in video coding. This works and, as a result, is preferably implemented in both the video encoder and video decoder. The video decoder is preferably implemented in hardware, but may also be implemented in software. The same is true for the video encoder.

図13は、実施形態による映像シーケンスの映像フレーム内の画素からなるブロックを符号化する符号化器40の概略ブロック図である。   FIG. 13 is a schematic block diagram of an encoder 40 that encodes a block of pixels in a video frame of a video sequence according to the embodiment.

画素からなる現在のブロックは、同じフレーム又は前のフレーム内の既に供給された画素からなるブロックから、動き推定器50により動き推定を実行することにより予測される。動き推定の結果は、インター予測の場合、参照ブロックに関連付けられた動き又は変位ベクトルである。動きベクトルは、画素からなるブロックのインター予測を出力する動き補償器50により利用される。   A current block of pixels is predicted by performing motion estimation by the motion estimator 50 from a block of already supplied pixels in the same frame or previous frame. The result of motion estimation is the motion or displacement vector associated with the reference block in the case of inter prediction. The motion vector is used by a motion compensator 50 that outputs inter prediction of a block of pixels.

イントラ予測器49は、画素からなる現在のブロックのイントラ予測を計算する。動き推定器/補償器50、及び、イントラ予測器49からの出力は、画素からなる現在のブロックに対するイントラ予測又はインター予測のいずれかを選択する選択器51に入力される。選択器51からの出力は、画素からなる現在のブロックの画素値をさらに受け取る加算器41の形式である誤差計算器に入力される。加算器41は、画素からなるブロックとこれの予測との間の画素値の差分として残差誤差を計算し、出力する。   The intra predictor 49 calculates the intra prediction for the current block of pixels. The outputs from the motion estimator / compensator 50 and the intra predictor 49 are input to a selector 51 that selects either intra prediction or inter prediction for the current block of pixels. The output from the selector 51 is input to an error calculator in the form of an adder 41 that further receives the pixel values of the current block of pixels. The adder 41 calculates and outputs a residual error as a difference in pixel value between the block composed of pixels and the prediction thereof.

誤差は、離散コサイン変換などにより、変換器42において変換され、量子化器43により量子化され、エントロピー符号化器などによる符号化器44における符号化が後に続けられる。インター符号化では、同様に推定された動きベクトルが画素からなる現在のブロックの符号化表現を生成する符号化器44に送り込まれる。   The error is converted by the converter 42 by discrete cosine transform or the like, quantized by the quantizer 43, and subsequently encoded by the encoder 44 by an entropy encoder or the like. In inter-coding, similarly estimated motion vectors are fed into an encoder 44 that generates an encoded representation of the current block of pixels.

画素からなる現在のブロックに対する変換され、量子化された残差誤差は、元の残差誤差を取り出すために、逆量子化器45及び逆変換器46にさらに供給される。この誤差は、画素からなる次のブロックの予測及び符号化に使用され得る画素からなる参照ブロックを作成するために、動き補償器50から出力されたブロック予測に、又は、イントラ予測49に加算器47によって加算される。この新しい参照ブロックは、ブロッキング・アーティファクトを減らすため参照ブロックに適用される何らかのデブロッキング・フィルタリングを制御するために実施形態によるフィルタリング制御装置100により最初に処理される。処理された新しい参照ブロックが、次に、フレームバッファ48に一時的に記憶され、新しい参照ブロックは、このフレームバッファでイントラ予測器49及び動き推定器/補償器50から利用可能である。   The transformed and quantized residual error for the current block of pixels is further supplied to an inverse quantizer 45 and an inverse transformer 46 to extract the original residual error. This error is added to the block prediction output from motion compensator 50 or to intra prediction 49 to create a reference block of pixels that can be used to predict and encode the next block of pixels. 47 is added. This new reference block is first processed by the filtering controller 100 according to the embodiment to control any deblocking filtering applied to the reference block to reduce blocking artifacts. The processed new reference block is then temporarily stored in the frame buffer 48, and the new reference block is available from the intra predictor 49 and motion estimator / compensator 50 in this frame buffer.

図14は、実施形態によるフィルタリング制御装置100を備える復号化器60の対応する概略ブロック図である。復号化器60は、変換され、量子化された残差誤差の組を取得するために画素からなるブロックの符号化表現を復号化するエントロピー復号化器のような復号化器61を備える。これらの残差誤差は、残差誤差の組を取得するために、逆量子化器62において逆量子化され、逆変換器63により逆変換される。   FIG. 14 is a corresponding schematic block diagram of a decoder 60 comprising a filtering control device 100 according to an embodiment. The decoder 60 comprises a decoder 61, such as an entropy decoder, that decodes an encoded representation of a block of pixels to obtain a transformed and quantized residual error set. These residual errors are inversely quantized by the inverse quantizer 62 and inversely transformed by the inverse transformer 63 in order to obtain a set of residual errors.

これらの残差誤差は、加算器64において、画素からなる参照ブロックの画素値に加算される。参照ブロックは、インター予測が実行されるか、又は、イントラ予測が実行されるかに依存して動き推定器/補償器67又はイントラ予測器66により判定される。選択器68が、それによって、加算器64と動き推定器/補償器67及びイントラ予測器66とに相互接続されている。加算器64から出力された、結果として得られる復号化された画素からなるブロックは、ブロッキング・アーティファクトを減らすため適用される何らかのデブロッキング・フィルタを制御するために実施形態によるフィルタリング制御装置100に入力される。フィルタ処理された画素からなるブロックは、復号化器60から出力され、さらに好ましくは一時的にフレームバッファ65に供給され、復号化されるべき後続の画素からなるブロックに対する画素からなる参照ブロックとして使用され得る。フレームバッファ65は、それによって、記憶された画素からなるブロックが動き推定器/補償器67で利用可能にするために動き推定器/補償器67に接続されている。   These residual errors are added in the adder 64 to the pixel value of the reference block made up of pixels. The reference block is determined by the motion estimator / compensator 67 or the intra predictor 66 depending on whether inter prediction is performed or intra prediction is performed. Selector 68 is thereby interconnected to summer 64 and motion estimator / compensator 67 and intra predictor 66. The resulting block of decoded pixels output from adder 64 is input to filtering controller 100 according to an embodiment to control any deblocking filter applied to reduce blocking artifacts. Is done. A block of filtered pixels is output from the decoder 60 and more preferably temporarily supplied to the frame buffer 65 and used as a reference block of pixels for the subsequent block of pixels to be decoded. Can be done. The frame buffer 65 is thereby connected to the motion estimator / compensator 67 to make a block of stored pixels available to the motion estimator / compensator 67.

加算器64からの出力は、好ましくは、フィルタ処理されていない画素からなる参照ブロックとして使用されるようにイントラ予測器66にも入力される。   The output from adder 64 is also preferably input to intra predictor 66 for use as a reference block of unfiltered pixels.

図13及び14に開示された実施形態では、フィルタリング制御装置100は、いわゆるループ内フィルタリングの形式でデブロッキング・フィルタリングを制御する。復号化器60での代替的な実装では、フィルタリング制御装置100は、いわゆる処理後フィルタリングを実行するように配置構成されている。このような場合、フィルタリング制御装置100は、加算器64、フレームバッファ65、イントラ予測器66、動き推定器/補償器67、及び選択器68によって形成されるループの外側で出力フレームを操作する。デブロッキング無しのフィルタリング及びフィルタリング制御が、その結果、典型的に符号化器で行われる。   In the embodiment disclosed in FIGS. 13 and 14, the filtering control apparatus 100 controls deblocking filtering in the form of so-called in-loop filtering. In an alternative implementation at the decoder 60, the filtering control device 100 is arranged to perform so-called post-processing filtering. In such a case, the filtering controller 100 operates the output frame outside the loop formed by the adder 64, the frame buffer 65, the intra predictor 66, the motion estimator / compensator 67, and the selector 68. As a result, filtering and filtering control without deblocking is typically performed at the encoder.

図15は、フィルタリグ制御装置付きの復号化器60を収容するユーザ機器又はメディア端末80の概略ブロック図である。ユーザ機器80は、符号化された映像フレームの符号化された映像ストリームを操作し、それによって、映像フレームを復号化し、映像データを利用できるようにするメディア復号化機能を有するどんな装置でもよい。このような装置の非限定的な例は、携帯電話機及びその他の携帯型メディアプレーヤー、タブレット、デスクトップ、ノートブック、パーソナル・ビデオ・レコーダ、マルチメディアプレーヤー、映像ストリーミングサーバ、セット・トップ・ボックス、TV、コンピュータ、復号化器、ゲームコンソールなどを含む。ユーザ機器80は、符号化された映像フレームを記憶するように構成されているメモリ84を備える。これらの符号化された映像フレームは、ユーザ機器80自体により生成されている可能性がある。代替的に、符号化された映像フレームは、その他の装置により生成され、ユーザ機器80に無線送信又は有線送信される。ユーザ機器80は、その結果、データ転送を実現するためにトランシーバ(送信機及び受信機)又は入出力ポート82を備える。   FIG. 15 is a schematic block diagram of a user equipment or media terminal 80 that houses a decoder 60 with a filter control device. User equipment 80 may be any device having a media decoding function that manipulates the encoded video stream of the encoded video frames, thereby decoding the video frames and making the video data available. Non-limiting examples of such devices include mobile phones and other portable media players, tablets, desktops, notebooks, personal video recorders, multimedia players, video streaming servers, set top boxes, TVs Computer, decoder, game console, etc. User equipment 80 includes a memory 84 configured to store encoded video frames. These encoded video frames may have been generated by the user equipment 80 itself. Alternatively, the encoded video frame is generated by another device and transmitted to the user equipment 80 by wireless transmission or wired transmission. As a result, the user equipment 80 includes transceivers (transmitters and receivers) or input / output ports 82 to implement data transfer.

符号化された映像フレームは、メモリ84から、図14に示された復号化器のような復号化器60に運ばれる。復号化器60は、実施形態によるフィルタリング制御装置100を備える。復号化器60は、その結果、符号化された映像フレームを復号化された映像フレームに復号化する。復号化された映像フレームは、復号化された映像フレームをユーザ機器80の、又は、ユーザ機器80に接続されているディスプレイ又はスクリーン88に表示可能な映像データ表現にするように構成されているメディアプレーヤー86に供給される。   The encoded video frame is carried from the memory 84 to a decoder 60 such as the decoder shown in FIG. The decoder 60 includes the filtering control device 100 according to the embodiment. As a result, the decoder 60 decodes the encoded video frame into a decoded video frame. The decoded video frame is a medium configured to turn the decoded video frame into a video data representation that can be displayed on the user device 80 or a display or screen 88 connected to the user device 80. Supplied to the player 86.

図15において、ユーザ機器80は、復号化器60及びメディアプレーヤー86を共に備え、復号化器60がメディアプレーヤー86の一部として実装されているように示されている。しかし、これは、ユーザ機器80についての実装実施例の単なる例示であり、非限定的な例として捉えられるべきである。さらに、復号化器60及びメディアプレーヤー86が2つの物理的に分離した装置に設けられ、本書で使用されるようなユーザ機器80の範囲に含まれる分散型実装が考えられる。ディスプレイ88は、実際のデータ処理が行われるユーザ機器80に接続されている別個の装置として同様に設けられる可能性がある。   In FIG. 15, user equipment 80 includes both a decoder 60 and a media player 86, and the decoder 60 is shown as being implemented as part of the media player 86. However, this is merely an example of an implementation for user equipment 80 and should be taken as a non-limiting example. Further, a distributed implementation is contemplated in which the decoder 60 and media player 86 are provided in two physically separate devices and are within the scope of the user equipment 80 as used herein. Display 88 may be similarly provided as a separate device connected to user equipment 80 where actual data processing is performed.

図16は、図13の符号化器のような、実施形態によるフィルタリング制御装置を備える符号化器を供えるユーザ機器80の別の実施形態を示す。符号化器40は、その結果、I/Oユニット82により受信された、及び/又は、ユーザ機器80自体により生成された映像フレームを符号化するために構成されている。後者の場合、ユーザ機器80は、好ましくは、例えば、(ビデオ)カメラの形をしている、又は、(ビデオ)カメラに接続されているメディアエンジン又はレコーダを備える。ユーザ機器80は、場合によっては、復号化器及び実施形態によるフィルタリング制御装置付きのメディアプレーヤー86のようなメディアプレーヤー86と、ディスプレイ88とをさらに備えることがある。   FIG. 16 shows another embodiment of user equipment 80 that provides an encoder with a filtering controller according to an embodiment, such as the encoder of FIG. Encoder 40 is thus configured to encode video frames received by I / O unit 82 and / or generated by user equipment 80 itself. In the latter case, the user equipment 80 preferably comprises a media engine or recorder, for example in the form of a (video) camera or connected to a (video) camera. The user equipment 80 may further comprise a media player 86, such as a media player 86 with a decoder and filtering controller according to embodiments, and a display 88, as the case may be.

図17に示されるように、図13及び14に示されるような符号化器40及び/又は復号化器60は、送信ユニット34と受信ユーザ機器36との間の通信ネットワーク32内のネットワークノードである、又は、ネットワークノードに属しているネットワーク装置30で実装されることがある。このようなネットワーク装置30は、例えば、受信ユーザ機器36が送信ユニット34により送信された映像符号化標準ではなく別の映像符号化標準の能力だけをもつか、又は、別の映像符号化標準を優先することが確立されている場合、1つの映像符号化標準による映像を別の映像符号化標準に変換する装置でもよい。ネットワーク装置30は、無線ベースネットワークのような通信ネットワーク32内の無線基地局、Node−B、又はいずれかのその他のネットワークノードの形をしていること、又は、含まれていることが可能である。   As shown in FIG. 17, an encoder 40 and / or decoder 60 as shown in FIGS. 13 and 14 is a network node in the communication network 32 between the transmitting unit 34 and the receiving user equipment 36. It may be implemented by a network device 30 that is or belongs to a network node. Such a network device 30 has, for example, only the capability of another video coding standard, not the video coding standard transmitted by the transmission unit 34, by the receiving user equipment 36, or another video coding standard. In the case where priority is established, an apparatus for converting a video according to one video coding standard into another video coding standard may be used. The network device 30 may be in the form of or included in a radio base station, Node-B, or any other network node in a communication network 32 such as a radio base network. is there.

前述の実施形態は、本発明のいくつかの例示として理解されるべきである。種々の変形、組み合わせ及び変更が本発明の範囲から逸脱することなく実施形態に対してなされてもよいことが当業者により理解されるであろう。詳しくは、様々な実施形態における様々な部分的解決策は、技術的に可能である場合、その他の構成に組み合わされることが可能である。しかし、本発明の範囲は、請求項により定められる。   The foregoing embodiments are to be understood as some illustrations of the invention. It will be appreciated by those skilled in the art that various modifications, combinations and changes may be made to the embodiments without departing from the scope of the invention. Specifically, the various partial solutions in the various embodiments can be combined with other configurations where technically possible. However, the scope of the invention is defined by the claims.

Claims (15)

各画素(11、13、15、17)がそれぞれの画素値を有する映像フレーム内の複数の画素(11、13、15、17)からなるブロック(10)に適用できるフィルタリング制御の方法であって、
p0が前記ブロック(10)内の画素(11、13、15、17)からなる第1のライン(12)の中で、前記映像フレーム内の複数の画素(21、23、25、27)からなる近傍ブロック(20)へのブロック境界(1)に最も近接している画素(11)の画素値を表し、p1が画素(11、13、15、17)からなる前記第1のライン(12)の中で、前記ブロック境界(1)に2番目に近接している画素(13)の画素値を表し、p2が画素(11、13、15、17)からなる前記第1のライン(12)の中で、前記ブロック境界(1)に3番目に近接している画素(15)の画素値を表すとすると、
|p2−2p1+p0
に基づいて、画素値p2、p1、およびp0のみを使用して、前記ブロック(10)に対する第1のフィルタ決定値を計算するステップ(S1)と、
q0が前記近傍ブロック(20)内の画素(21、23、25、27)からなる対応する第1のライン(22)の中で、前記ブロック境界(1)に最も近接している前記近傍ブロック(20)内の画素(21)の画素値を表し、q1が画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で、前記ブロック境界(1)に2番目に近接している前記近傍ブロック(20)の画素(23)の画素値を表し、q2が画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で、前記ブロック境界(1)に3番目に近接している前記近傍ブロック(20)内の画素(25)の画素値を表すとすると、
|q2−2q1+q0
に基づいて、画素値q2、q1、およびq0のみを使用して、前記近傍ブロック(20)に対する第2のフィルタ決定値を計算するステップ(S2)と、
前記第1のフィルタ決定値と第1の閾値の比較(S20)に基づいて前記ブロック境界(1)に対してフィルタ処理すべき前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の画素の個数を判定するステップ(S3)と、
前記第2のフィルタ決定値と第2の閾値の比較(S23)に基づいて前記ブロック境界(1)に対してフィルタ処理すべき前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(22)の中の画素の個数を判定するステップ(S4)と、
を備え
前記第1のフィルタ決定値を計算するステップ(S1)は、p0 が複数の画素からなる前記第1のラインの中で、前記ブロック境界(1)に最も近接している前記画素の前記画素値を表し、p1 が複数の画素からなる前記第1のラインの中で、前記ブロック境界(1)に2番目に近接している前記画素の前記画素値を表し、p2 が複数の画素からなる前記第1のラインの中で、前記ブロック境界(1)に3番目に近接している前記画素の前記画素値を表し、p0 が前記ブロック(10)内の複数の画素からなる第2のラインの中で、前記ブロック境界(1)に最も近接している画素の画素値を表し、p1 が複数の画素からなる前記第2のラインの中で、前記ブロック境界(1)に2番目に近接している画素の画素値を表し、p2 が複数の画素からなる前記第2のラインの中で、前記ブロック境界(1)に3番目に近接している画素の画素値を表すとすると、
|p2 −2p1 +p0 |+|p2 −2p1 +p0
として前記第1のフィルタ決定値を計算するステップ(S1)を備え、
前記第2のフィルタ決定値を計算するステップ(S2)は、q0 が複数の画素からなる前記対応する第1のラインの中で、前記ブロック境界(1)に最も近接している前記近傍ブロック(20)内の前記画素の前記画素値を表し、q1 が複数の画素からなる前記対応する第1のラインの中で、前記ブロック境界(1)に2番目に近接している前記近傍ブロック(20)の前記画素の前記画素値を表し、q2 が複数の画素からなる前記対応する第1のラインの中で、前記ブロック境界(1)に3番目に近接している前記近傍ブロック(20)内の前記画素の前記画素値を表し、q0 が前記近傍ブロック(20)内の複数の画素からなる対応する第2のラインの中で、前記ブロック境界(1)に最も近接している前記近傍ブロック(20)内の画素の画素値を表し、q1 が複数の画素からなる前記対応する第2のラインの中で、前記ブロック境界(1)に2番目に近接している前記近傍ブロック(20)の画素の画素値を表し、q2 が複数の画素からなる前記対応する第2のラインの中で、前記ブロック境界(1)に3番目に近接している前記近傍ブロック(20)内の画素の画素値を表すとすると、
|q2 −2q1 +q0 |+|q2 −2q1 +q0
として前記第2のフィルタ決定値を計算するステップ(S2)を備える、
法。
A filtering control method applicable to a block (10) comprising a plurality of pixels (11, 13, 15, 17) in a video frame in which each pixel (11, 13, 15, 17) has a respective pixel value. ,
p0 i is a plurality of pixels (21, 23, 25, 27) in the video frame in the first line (12) consisting of pixels (11, 13, 15, 17) in the block (10). Represents the pixel value of the pixel (11) closest to the block boundary (1) to the neighboring block (20) consisting of the first line, where p1 i is composed of the pixels (11, 13, 15, 17) In (12), the pixel value of the pixel (13) that is second closest to the block boundary (1) is represented, and p2 i is composed of the pixels (11, 13, 15, 17). If the pixel value of the pixel (15) third closest to the block boundary (1) in the line (12) is represented,
| P2 i -2p1 i + p0 i |
(S1) calculating a first filter decision value for the block (10) using only the pixel values p2 i , p1 i , and p0 i based on
The neighborhood where q0 i is closest to the block boundary (1) in the corresponding first line (22) consisting of the pixels (21, 23, 25, 27) in the neighborhood block (20) The pixel value of the pixel (21) in the block (20) is represented, and q1 i is the block boundary (1) in the corresponding first line (22) including the pixels (21, 23, 25, 27). ) Represents the pixel value of the pixel (23) of the neighboring block (20) that is second closest, and q2 i is the corresponding first line (22) consisting of the pixels (21, 23, 25, 27). ) Represents the pixel value of the pixel (25) in the neighboring block (20) that is third closest to the block boundary (1).
| Q2 i -2q1 i + q0 i |
(S2) calculating a second filter decision value for the neighboring block (20) using only the pixel values q2 i , q1 i , and q0 i based on
Pixels (11, 13, 15, 17) in the block (10) to be filtered with respect to the block boundary (1) based on the comparison (S20) between the first filter decision value and the first threshold value Determining (S3) the number of pixels in the first line (12) comprising:
The pixels (21, 23, 25, 27 in the neighboring block (20) to be filtered with respect to the block boundary (1) based on the comparison between the second filter decision value and the second threshold value (S23). A step (S4) of determining the number of pixels in the corresponding first line (22) consisting of:
Equipped with a,
The step (S1) of calculating the first filter determination value includes the pixel of the pixel closest to the block boundary (1) in the first line in which p0 0 is composed of a plurality of pixels. P1 0 represents the pixel value of the pixel second closest to the block boundary (1) in the first line composed of a plurality of pixels, and p2 0 represents a plurality of pixels Represents the pixel value of the pixel that is third closest to the block boundary (1) in the first line consisting of: p0 3 is the number of pixels in the block (10). 2 represents the pixel value of the pixel closest to the block boundary (1), and p1 3 represents the block boundary (1) in the second line composed of a plurality of pixels. Represents the pixel value of the second closest pixel, p 3 is in the second line comprising a plurality of pixels, when representing pixel values of pixels that are close to the third to the block boundary (1),
| P2 0 -2p1 0 + p0 0 | + | p2 3 -2p1 3 + p0 3 |
A step (S1) of calculating the first filter decision value as
The step (S2) of calculating the second filter decision value includes the neighboring block closest to the block boundary (1) in the corresponding first line in which q0 0 is composed of a plurality of pixels. represents the pixel value of the pixel in the (20), q1 0 is in the first line of the corresponding a plurality of pixels, the neighboring block which is close to the second to the block boundary (1) represents the pixel value of the pixel of (20), q2 0 is in the first line of the corresponding a plurality of pixels, said block the neighboring blocks in proximity to the third to the boundary (1) ( represents the pixel value of the pixel in the 20), in the second line corresponding q0 3 consists of a plurality of pixels of the neighboring blocks (20), closest to the block boundary (1) The neighboring block (2 0) represents the pixel values of the pixels in, q1 3 is in the second line the corresponding a plurality of pixels, said block boundary (1) to the neighboring blocks in proximity to the second (20) The pixel in the neighboring block (20) that is third closest to the block boundary (1) in the corresponding second line consisting of a plurality of pixels is represented by the pixel value of q2 3 If the pixel value of
| Q2 0 -2q1 0 + q0 0 | + | q2 3 -2q1 3 + q0 3 |
A step (S2) of calculating the second filter decision value as
METHODS.
フィルタ処理すべき前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の画素の個数を判定するステップ(S3)は、
前記第1のフィルタ決定値を第1の閾値と比較するステップ(S20)と、
前記第1のフィルタ決定値が前記第1の閾値未満である場合、前記ブロック境界(1)に対して前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の2個の画素をフィルタ処理することを判定するステップ(S21)と、
前記第1のフィルタ決定値が前記第1の閾値以上である場合、前記ブロック境界(1)に対して前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の1個の画素をフィルタ処理することを判定するステップ(S22)と、
を備え、
フィルタ処理すべき前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(22)の中の画素の個数を判定するステップ(S4)は、
前記第2のフィルタ決定値を第2閾値と比較するステップ(S23)と、
前記第2のフィルタ決定値が前記第2の閾値未満である場合、前記ブロック境界(1)に対して前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(22)の中の2個の画素をフィルタ処理することを判定するステップ(S24)と、
前記第2のフィルタ決定値が前記第2の閾値以上である場合、前記ブロック境界(1)に対して前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で1個の画素をフィルタ処理することを判定するステップ(S25)と、
を備える、請求項1に記載の方法。
The step (S3) of determining the number of pixels in the first line (12) consisting of the pixels (11, 13, 15, 17) in the block (10) to be filtered,
Comparing the first filter decision value with a first threshold value (S20);
If the first filter decision value is less than the first threshold, the first filter comprising pixels (11, 13, 15, 17) in the block (10) with respect to the block boundary (1) Determining to filter two pixels in line (12) (S21);
When the first filter determination value is greater than or equal to the first threshold value, the first filter comprising the pixels (11, 13, 15, 17) in the block (10) with respect to the block boundary (1) Determining (S22) to filter one pixel in the line (12);
With
The step (S4) of determining the number of pixels in the corresponding first line (22) consisting of the pixels (21, 23, 25, 27) in the neighboring block (20) to be filtered,
Comparing the second filter decision value with a second threshold value (S23);
If the second filter decision value is less than the second threshold, the corresponding consisting of pixels (21, 23, 25, 27) in the neighboring block (20) with respect to the block boundary (1) Determining to filter two pixels in the first line (22) (S24);
If the second filter decision value is greater than or equal to the second threshold, the corresponding consisting of pixels (21, 23, 25, 27) in the neighboring block (20) with respect to the block boundary (1) Determining to filter one pixel in the first line (22) (S25);
The method of claim 1, comprising :
フィルタ処理すべき前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の画素の個数を判定するステップ(S3)は、
前記第1のフィルタ決定値を第1の閾値と比較するステップ(S20)と、
前記第1のフィルタ決定値が前記第1の閾値未満である場合、前記ブロック境界(1)に対して前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の2個の画素をフィルタ処理することを判定するステップ(S21)と、
前記第1のフィルタ決定値が前記第1の閾値以上である場合、前記ブロック境界(1)に対して前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の画素をフィルタ処理しないことを判定するステップ(S22)と、
を備え、
フィルタ処理すべき前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(22)の中の画素の個数を判定するステップ(S4)は、
前記第2のフィルタ決定値を第2閾値と比較するステップ(S23)と、
前記第2のフィルタ決定値が前記第2の閾値未満である場合、前記ブロック境界(1)に対して前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(22)の中の2個の画素をフィルタ処理することを判定するステップ(S24)と、
前記第2のフィルタ決定値が前記第2の閾値以上である場合、前記ブロック境界(1)に対して前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(22)の中の画素をフィルタ処理しないことを決定するステップ(S25)と、
を備える、請求項1に記載の方法。
The step (S3) of determining the number of pixels in the first line (12) consisting of the pixels (11, 13, 15, 17) in the block (10) to be filtered,
Comparing the first filter decision value with a first threshold value (S20);
If the first filter decision value is less than the first threshold, the first filter comprising pixels (11, 13, 15, 17) in the block (10) with respect to the block boundary (1) Determining to filter two pixels in line (12) (S21);
When the first filter determination value is greater than or equal to the first threshold value, the first filter comprising the pixels (11, 13, 15, 17) in the block (10) with respect to the block boundary (1) Determining not to filter the pixels in line (12) (S22);
With
The step (S4) of determining the number of pixels in the corresponding first line (22) consisting of the pixels (21, 23, 25, 27) in the neighboring block (20) to be filtered,
Comparing the second filter decision value with a second threshold value (S23);
If the second filter decision value is less than the second threshold, the corresponding consisting of pixels (21, 23, 25, 27) in the neighboring block (20) with respect to the block boundary (1) Determining to filter two pixels in the first line (22) (S24);
If the second filter decision value is greater than or equal to the second threshold, the corresponding consisting of pixels (21, 23, 25, 27) in the neighboring block (20) with respect to the block boundary (1) Determining (S25) not to filter the pixels in the first line (22);
The method of claim 1, comprising :
p0が映像フレーム内の複数の画素(11、13、15、17)からなるブロック(10)内の画素(11、13、15、17)からなる第1のライン(12)の中で、前記映像フレーム内の複数の画素(21、23、25、27)からなる近傍ブロック(20)へのブロック境界(1)に最も近接している画素(11)の画素値を表し、p1が画素(11、13、15、17)からなる前記第1のライン(12)の中で、前記ブロック境界(1)に2番目に近接している画素(13)の画素値を表し、p2が画素(11、13、15、17)からなる前記第1のライン(12)の中で、前記ブロック境界(1)に3番目に近接している画素(15)の画素値を表すとすると、
|p2−2p1+p0
に基づいて、画素値p2、p1、およびp0のみを使用して、前記ブロック(10)に対する第1のフィルタ決定値を計算するように構成されている第1の決定値計算器(110)と、
q0が前記近傍ブロック(20)内の画素(21、23、25、27)からなる対応する第1のライン(22)の中で、前記ブロック境界(1)に最も近接している前記近傍ブロック(20)内の画素(21)の画素値を表し、q1が画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で、前記ブロック境界(1)に2番目に近接している前記近傍ブロック(20)の画素(23)の画素値を表し、q2が画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で、前記ブロック境界(1)に3番目に近接している前記近傍ブロック(20)内の画素(25)の画素値を表すとすると、
|q2−2q1+q0
に基づいて、画素値q2、q1、およびq0のみを使用して、前記近傍ブロック(20)に対する第2のフィルタ決定値を計算するように構成されている第2の決定値計算器(120)と、
前記第1の決定値計算器(110)により計算された前記第1のフィルタ決定値に基づいて前記ブロック境界(1)に対してフィルタ処理すべき前記ブロック(10)内の画素(11、13、15、17)からなる第1のライン(12)の中の画素の個数を判定するように構成されている第1の画素判定器(130)と、
前記第2の決定値計算器(120)により計算された前記第2のフィルタ決定値に基づいて前記ブロック境界(1)に対してフィルタ処理すべき前記近傍ブロック(20)内の画素(21、23、25、27)からなる対応する第1のライン(22)の中の画素の個数を判定するように構成されている第2の画素判定器(140)と、 前記第1の決定値計算器(110)により計算された前記第1のフィルタ決定値を第1の閾値と比較するように構成されている第1の比較器(180)と、
前記第2の決定値計算器(120)により計算された前記第2のフィルタ決定値を第2の閾値と比較するように構成されている第2の比較器(182)と、

前記第1の決定値計算器(110)は、p0複数の画素からなる前記第1のラインの中で、前記ブロック境界(1)に最も近接している前記画素の前記画素値を表し、p1複数の画素からなる前記第1のラインの中で、前記ブロック境界(1)に2番目に近接している前記画素の前記画素値を表し、p2複数の画素からなる前記第1のラインの中で、前記ブロック境界(1)に3番目に近接している前記画素の前記画素値を表し、p0が前記ブロック(10)内の複数の画素からなる第2のラインの中で、前記ブロック境界(1)に最も近接している画素の画素値を表し、p1複数の画素からなる前記第2のラインの中で、前記ブロック境界(1)に2番目に近接している画素の画素値を表し、p2複数の画素からなる前記第2のラインの中で、前記ブロック境界(1)に3番目に近接している画素の画素値を表すとすると、
|p2−2p1+p0|+|p2−2p1+p0
として前記第1のフィルタ決定値を計算するように構成され、
前記第2の決定値計算器(120)は、q0複数の画素からなる前記対応する第1のラインの中で、前記ブロック境界(1)に最も近接している前記近傍ブロック(20)内の前記画素の前記画素値を表し、q1複数の画素からなる前記対応する第1のラインの中で、前記ブロック境界(1)に2番目に近接している前記近傍ブロック(20)の前記画素の前記画素値を表し、q2複数の画素からなる前記対応する第1のラインの中で、前記ブロック境界(1)に3番目に近接している前記近傍ブロック(20)内の前記画素の前記画素値を表し、q0が前記近傍ブロック(20)内の複数の画素からなる対応する第2のラインの中で、前記ブロック境界(1)に最も近接している前記近傍ブロック(20)内の画素の画素値を表し、q1複数の画素からなる前記対応する第2のラインの中で、前記ブロック境界(1)に2番目に近接している前記近傍ブロック(20)の画素の画素値を表し、q2複数の画素からなる前記対応する第2のラインの中で、前記ブロック境界(1)に3番目に近接している前記近傍ブロック(20)内の画素の画素値を表すとすると、
|q2−2q1+q0|+|q2−2q1+q0
として前記第2のフィルタ決定値を計算するように構成されている、
フィルタリング制御装置(100)
In a first line (12) consisting of pixels (11, 13, 15, 17) in a block (10) consisting of a plurality of pixels (11, 13, 15, 17) in a video frame, p0 i The pixel value of the pixel (11) closest to the block boundary (1) to the neighboring block (20) composed of a plurality of pixels (21, 23, 25, 27) in the video frame is represented, and p1 i is Represents the pixel value of the pixel (13) second closest to the block boundary (1) in the first line (12) consisting of pixels (11, 13, 15, 17), and p2 i Represents the pixel value of the pixel (15) third closest to the block boundary (1) in the first line (12) composed of pixels (11, 13, 15, 17). ,
| P2 i -2p1 i + p0 i |
Based on a first decision value calculator configured to calculate a first filter decision value for the block (10) using only the pixel values p2 i , p1 i , and p0 i 110)
The neighborhood where q0 i is closest to the block boundary (1) in the corresponding first line (22) consisting of the pixels (21, 23, 25, 27) in the neighborhood block (20) The pixel value of the pixel (21) in the block (20) is represented, and q1 i is the block boundary (1) in the corresponding first line (22) including the pixels (21, 23, 25, 27). ) Represents the pixel value of the pixel (23) of the neighboring block (20) that is second closest, and q2 i is the corresponding first line (22) consisting of the pixels (21, 23, 25, 27). ) Represents the pixel value of the pixel (25) in the neighboring block (20) that is third closest to the block boundary (1).
| Q2 i -2q1 i + q0 i |
A second decision value calculator configured to calculate a second filter decision value for the neighboring block (20) using only the pixel values q2 i , q1 i , and q0 i based on (120),
The pixels (11, 13) in the block (10) to be filtered with respect to the block boundary (1) based on the first filter decision value calculated by the first decision value calculator (110). , 15, 17) a first pixel determiner (130) configured to determine the number of pixels in the first line (12) comprising:
Pixels (21, 21) in the neighboring block (20) to be filtered with respect to the block boundary (1) based on the second filter decision value calculated by the second decision value calculator (120). A second pixel determiner (140) configured to determine the number of pixels in the corresponding first line (22) comprising 23, 25, 27); A first comparator (180) configured to compare the first filter decision value calculated by the first decision value calculator (110) with a first threshold;
A second comparator (182) configured to compare the second filter decision value calculated by the second decision value calculator (120) with a second threshold;
Bei to give a,
The first decision value calculator (110) represents the pixel value of the pixel closest to the block boundary (1) in the first line having p0 0 of a plurality of pixels. , P1 0 represents the pixel value of the pixel second closest to the block boundary (1) in the first line composed of a plurality of pixels, and p2 0 represents the pixel composed of a plurality of pixels. in the first line, the represents the pixel value of the pixel that is adjacent to the third block boundary (1), p0 3 is a second line comprising a plurality of pixels of the block (10) Represents the pixel value of the pixel closest to the block boundary (1), and p1 3 is the second to the block boundary (1) in the second line composed of a plurality of pixels. It represents a pixel value of a pixel in proximity, p2 3 Do plurality of pixels Among consisting of the second line, when representing pixel values of pixels that are close to the third to the block boundary (1),
| P2 0 -2p1 0 + p0 0 | + | p2 3 -2p1 3 + p0 3 |
Is configured to calculate the first filter decision value as
The second determined value calculator (120) includes the neighboring block (20) closest to the block boundary (1) in the corresponding first line in which q0 0 includes a plurality of pixels. represents the pixel value of the pixel in the, q1 0 is in the first line of the corresponding a plurality of pixels, said block boundary (1) to the neighboring blocks in proximity to the second (20) represent the pixel values of the pixel, q2 0 is in the first line of the corresponding a plurality of pixels, said block boundary (1) to the neighboring blocks in proximity to the third (20) The pixel value of the pixel in the neighborhood, and q0 3 is the neighborhood closest to the block boundary (1) in the corresponding second line comprising a plurality of pixels in the neighborhood block (20) Pixel of pixel in block (20) Q1 3 represents the pixel value of the pixel in the neighboring block (20) that is second closest to the block boundary (1) in the corresponding second line composed of a plurality of pixels. , Q2 3 represent the pixel value of the pixel in the neighboring block (20) third closest to the block boundary (1) in the corresponding second line composed of a plurality of pixels. ,
| Q2 0 -2q1 0 + q0 0 | + | q2 3 -2q1 3 + q0 3 |
Is configured to calculate the second filter decision value as
Filtering control device (100) .
前記第1の画素判定器(130)は、i)前記第1のフィルタ決定値が前記第1の比較器(180)により判定されるように前記第1の閾値未満である場合、前記ブロック境界(1)に対して前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の2個の画素をフィルタ処理することを判定し、ii)前記第1のフィルタ決定値が前記第1の比較器(180)により判定されるように前記第1の閾値以上である場合、前記ブロック境界(1)に対して前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の1個の画素をフィルタ処理することを判定するように構成され、
前記第2の画素判定器(140)は、i)前記第2のフィルタ決定値が前記第2の比較器(182)により判定されるように前記第2の閾値未満である場合、前記ブロック境界(1)に対して前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(22)の中の2個の画素をフィルタ処理することを判定し、ii)前記第2のフィルタ決定値が前記第2の比較器(182)により判定されるように前記第2の閾値以上である場合、前記ブロック境界(1)に対して前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(22)の中の1個の画素をフィルタ処理することを判定するように構成されている、
請求項に記載の装置。
The first pixel determiner (130) is: i) if the first filter decision value is less than the first threshold as determined by the first comparator (180), the block boundary Determine (2) that two pixels in the first line (12) consisting of the pixels (11, 13, 15, 17) in the block (10) are to be filtered, and ii ) If the first filter decision value is greater than or equal to the first threshold as determined by the first comparator (180), then the block boundary (1) is within the block (10) Configured to determine to filter one pixel in the first line (12) of pixels (11, 13, 15, 17);
The second pixel determiner (140) is: i) if the second filter decision value is less than the second threshold as determined by the second comparator (182), the block boundary It is determined that the two pixels in the corresponding first line (22) composed of the pixels (21, 23, 25, 27) in the neighboring block (20) are filtered with respect to (1). And ii) if the second filter decision value is greater than or equal to the second threshold as determined by the second comparator (182), the neighboring block (1) with respect to the block boundary (1) 20) is configured to determine to filter one pixel in the corresponding first line (22) consisting of the pixels (21, 23, 25, 27) in
The apparatus according to claim 4 .
前記第1の決定値計算器(110)により計算された前記第1のフィルタ決定値を第1の閾値と比較するように構成されている第1の比較器(180)と、
前記第2の決定値計算器(120)により計算された前記第2のフィルタ決定値を第2の閾値と比較するように構成されている第2の比較器(182)と、
をさらに備え、
前記第1の画素判定器(130)は、i)前記第1のフィルタ決定値が前記第1の比較器(180)により判定されるように前記第1の閾値未満である場合、前記ブロック境界(1)に対して前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の2個の画素をフィルタ処理することを判定し、ii)前記第1のフィルタ決定値が前記第1の比較器(180)により判定されるように前記第1の閾値以上である場合、前記ブロック境界(1)に対して前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の画素をフィルタ処理しないことを判定するように構成され、
前記第2の画素判定器(140)は、i)前記第2のフィルタ決定値が前記第2の比較器(182)により判定されるように前記第2の閾値未満である場合、前記ブロック境界(1)に対して前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(22)の中の2個の画素をフィルタ処理することを判定し、ii)前記第2のフィルタ決定値が前記第2の比較器(182)により判定されるように前記第2の閾値以上である場合、前記ブロック境界(1)に対して前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(22)の中の画素をフィルタ処理しないことを判定するように構成されている、
請求項4または5に記載の装置。
A first comparator (180) configured to compare the first filter decision value calculated by the first decision value calculator (110) with a first threshold;
A second comparator (182) configured to compare the second filter decision value calculated by the second decision value calculator (120) with a second threshold;
Further comprising
The first pixel determiner (130) is: i) if the first filter decision value is less than the first threshold as determined by the first comparator (180), the block boundary Determine (2) that two pixels in the first line (12) consisting of the pixels (11, 13, 15, 17) in the block (10) are to be filtered, and ii ) If the first filter decision value is greater than or equal to the first threshold as determined by the first comparator (180), then the block boundary (1) is within the block (10) Configured to determine not to filter pixels in the first line (12) of pixels (11, 13, 15, 17);
The second pixel determiner (140) is: i) if the second filter decision value is less than the second threshold as determined by the second comparator (182), the block boundary It is determined that the two pixels in the corresponding first line (22) composed of the pixels (21, 23, 25, 27) in the neighboring block (20) are filtered with respect to (1). And ii) if the second filter decision value is greater than or equal to the second threshold as determined by the second comparator (182), the neighboring block (1) with respect to the block boundary (1) 20) configured to determine not to filter the pixels in the corresponding first line (22) consisting of the pixels (21, 23, 25, 27) in
Apparatus according to claim 4 or 5 .
i)ブロック(10)に関連付けられた量子化パラメータに基づいて前記第1の閾値を判定し、ii)前記近傍ブロック(20)に関連付けられた量子化パラメータに基づいて前記第2の閾値を判定するように構成されている閾値判定器(170)をさらに備える、請求項からのいずれか一項に記載の装置。 i) determining the first threshold based on a quantization parameter associated with the block (10); ii) determining the second threshold based on a quantization parameter associated with the neighboring block (20). The apparatus according to any one of claims 4 to 6 , further comprising a threshold determiner (170) configured to: p0が画素(11、13、15、17)からなる前記第1のライン(12)の中で、前記ブロック境界(1)に最も近接している画素(11)の画素値を表し、p1が画素(11、13、15、17)からなる前記第1のライン(12)の中で、前記ブロック境界(1)に2番目に近接している画素(13)の画素値を表し、q0が画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で、前記ブロック境界(1)に最も近接している前記近傍ブロック(20)内の画素(21)の画素値を表し、q1が画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で、前記ブロック境界(1)に2番目に近接している前記近傍ブロック(20)の画素(23)の画素値を表すとすると、
(9×(q0−p0)−3×(q1−p1))/16
に基づいて第1のオフセットΔを計算するように構成されている第1のオフセット計算器(181)と、
前記第1のオフセット計算器(181)により計算された前記第1のオフセットを画素(11、13、15、17)からなる前記第1のライン(12)の中で前記ブロック境界(1)に最も近接している前記画素(11)の前記画素値に加算することにより、画素(11、13、15、17)からなる前記第1のライン(12)の中で前記ブロック境界(1)に最も近接している前記画素(11)の前記画素値を修正するように構成されている第1の画素修正器(190)と、
前記第1のオフセット計算器(181)により計算された前記第1のオフセットを画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で前記ブロック境界(1)に最も近接している前記近傍ブロック(20)内の前記画素(21)の前記画素値から減算することにより、画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で前記ブロック境界(1)に最も近接している前記近傍ブロック(20)内の前記画素(21)の前記画素値を修正するように構成されている第2の画素修正器(192)と、
前記第1のフィルタ決定値が前記第1の比較器(180)により判定されるように前記第1の閾値未満である場合、p2が画素(11、13、15、17)からなる前記第1のライン(12)の中で、前記ブロック境界(1)に3番目に近接している画素(15)の画素値を表すとすると、
(p0+p2−2p1+2Δ)/4
に基づいて第2のオフセットを計算するように構成されている第2のオフセット計算器(183)と、
前記第1のフィルタ決定値が前記第1の比較器(180)により判定されるように前記第1の閾値未満である場合、前記第2のオフセット計算器(183)により計算された前記第2のオフセットを画素(11、13、15、17)からなる前記第1のライン(12)の中で前記ブロック境界(1)に2番目に近接している前記画素(13)の前記画素値に加算することにより、画素(11、13、15、17)からなる前記第1のライン(12)の中で前記ブロック境界(1)に2番目に近接している前記画素(13)の前記画素値を修正するように構成されている第3の画素修正器(194)と、
前記第2のフィルタ決定値が前記第2の比較器(182)により判定されるように前記第2の閾値未満である場合、q2が画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で、前記ブロック境界(1)に3番目に近接している前記近傍ブロック(20)内の画素(25)の画素値を表すとすると、
(q0+q2−2q1−2Δ)/4
に基づいて第3のオフセットを計算するように構成されている第3のオフセット計算器(185)と、
前記第2のフィルタ決定値が前記第2の比較器(182)により判定されるように前記第2の閾値未満である場合、前記第3のオフセット計算器(185)により計算された前記第3のオフセットを画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で前記ブロック境界(1)に2番目に近接している前記近傍ブロック(20)内の前記画素(23)の前記画素値に加算することにより、画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で前記ブロック境界(1)に2番目に近接している前記近傍ブロック(20)内の前記画素(23)の前記画素値を修正するように構成されている第4の画素修正器(196)と、
をさらに備える、請求項からのいずれか一項に記載の装置。
p0 j represents the pixel value of the pixel (11) closest to the block boundary (1) in the first line (12) comprising the pixels (11, 13, 15, 17), and p1 j represents the pixel value of the pixel (13) second closest to the block boundary (1) in the first line (12) comprising pixels (11, 13, 15, 17); Pixels in the neighboring block (20) closest to the block boundary (1) in the corresponding first line (22) where q0 j is a pixel (21, 23, 25, 27) Represents the pixel value of (21), and q1 i is second closest to the block boundary (1) in the corresponding first line (22) consisting of pixels (21, 23, 25, 27). It is assumed that the pixel value of the pixel (23) of the neighboring block (20) is Then
(9 × (q0 j −p0 j ) −3 × (q1 j −p1 j )) / 16
A first offset calculator (181) configured to calculate a first offset Δ based on
The first offset calculated by the first offset calculator (181) is applied to the block boundary (1) in the first line (12) consisting of pixels (11, 13, 15, 17). By adding to the pixel value of the pixel (11) that is closest to the block boundary (1) in the first line (12) consisting of pixels (11, 13, 15, 17) A first pixel corrector (190) configured to correct the pixel value of the closest pixel (11);
The first offset calculated by the first offset calculator (181) is used as the block boundary (1) in the corresponding first line (22) consisting of pixels (21, 23, 25, 27). ) Is subtracted from the pixel value of the pixel (21) in the neighboring block (20) that is closest to the corresponding first line of pixels (21, 23, 25, 27) ( 22) a second pixel modifier (22) configured to modify the pixel value of the pixel (21) in the neighboring block (20) closest to the block boundary (1). 192),
If the first filter decision value is less than the first threshold value as determined by the first comparator (180), the second value of p2 j consisting of pixels (11, 13, 15, 17). If the pixel value of the pixel (15) that is the third closest to the block boundary (1) in the line (12) of 1 is represented,
(P0 j + p2 j -2p1 j + 2Δ) / 4
A second offset calculator (183) configured to calculate a second offset based on
If the first filter decision value is less than the first threshold as determined by the first comparator (180), the second calculated by the second offset calculator (183). To the pixel value of the pixel (13) that is second closest to the block boundary (1) in the first line (12) comprising pixels (11, 13, 15, 17). The pixel of the pixel (13) that is second closest to the block boundary (1) in the first line (12) consisting of pixels (11, 13, 15, 17) by adding A third pixel corrector (194) configured to correct the value;
If the second filter decision value is less than the second threshold as determined by the second comparator (182), the correspondence q2 j consists of pixels (21, 23, 25, 27) In the first line (22) that represents the pixel value of the pixel (25) in the neighboring block (20) that is third closest to the block boundary (1),
(Q0 j + q2 j -2q1 j -2Δ) / 4
A third offset calculator (185) configured to calculate a third offset based on
If the second filter decision value is less than the second threshold as determined by the second comparator (182), the third offset calculated by the third offset calculator (185). In the neighboring block (20) that is second closest to the block boundary (1) in the corresponding first line (22) consisting of pixels (21, 23, 25, 27). By adding to the pixel value of the pixel (23), the block boundary (1) is second in the corresponding first line (22) consisting of pixels (21, 23, 25, 27). A fourth pixel corrector (196) configured to correct the pixel value of the pixel (23) in the neighboring block (20) in proximity;
The apparatus according to any one of claims 4 to 7 , further comprising:
前記第1のフィルタ決定値と前記第2のフィルタ決定値との合計を閾値と比較するように構成されている第3の比較器(184)をさらに備え、
前記第1の画素判定器(130)は、前記第1のフィルタ決定値と前記第2のフィルタ決定値との合計が前記第3の比較器(184)により判定されるように前記閾値未満である場合、前記第1の決定値計算器(110)により計算された前記第1のフィルタ決定値に基づいて前記ブロック境界(1)に対してフィルタ処理すべき前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の画素の個数を判定するように構成され、
前記第2の画素判定器(140)は、前記第1のフィルタ決定値と前記第2のフィルタ決定値との合計が前記第3の比較器(184)により判定されるように前記閾値未満である場合、前記第2の決定値計算器(120)により計算された前記第2のフィルタ決定値に基づいて前記ブロック境界(1)に対してフィルタ処理すべき前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(22)の中の画素の個数を判定するように構成されている、
請求項からのいずれか一項に記載の装置。
A third comparator (184) configured to compare a sum of the first filter decision value and the second filter decision value with a threshold;
The first pixel determiner (130) is less than the threshold so that a sum of the first filter determined value and the second filter determined value is determined by the third comparator (184). If there are pixels in the block (10) to be filtered with respect to the block boundary (1) based on the first filter decision value calculated by the first decision value calculator (110) 11, 13, 15, 17) configured to determine the number of pixels in the first line (12) comprising:
The second pixel determiner (140) is less than the threshold so that a sum of the first filter determined value and the second filter determined value is determined by the third comparator (184). If there are, pixels in the neighboring block (20) to be filtered with respect to the block boundary (1) based on the second filter decision value calculated by the second decision value calculator (120) Configured to determine the number of pixels in the corresponding first line (22) comprising (21, 23, 25, 27);
Apparatus according to any one of claims 4 to 8 .
請求項からのいずれか一項に記載のフィルタリング制御装置(100)を備える符号化器(40)。 An encoder (40) comprising the filtering control device (100) according to any one of claims 4 to 9 . 映像フレームを記憶するように構成されているメモリ(84)と、
前記映像フレームを符号化された映像フレームに符号化するように構成されている請求項10に記載の符号化器(40)と、
を備え、前記メモリ(84)は前記符号化された映像フレームを記憶するようにさらに構成されている、ユーザ機器(80)。
A memory (84) configured to store video frames;
An encoder (40) according to claim 10 , configured to encode the video frame into an encoded video frame;
The user equipment (80), wherein the memory (84) is further configured to store the encoded video frame.
請求項からのいずれか一項に記載のフィルタリング制御装置(100)を備える復号化器(60)。 Decoder (60) comprising a filtering control device (100) according to any one of claims 4 to 9 . 符号化された映像フレームを記憶するように構成されているメモリ(84)と、
前記符号化された映像フレームを復号化された映像フレームに復号化するように構成されている請求項12に記載の復号化器(60)と、
前記復号化された映像フレームをディスプレイ(88)に表示可能な映像データ表現にするように構成されているメディアプレーヤー(86)と、
を備えるユーザ機器(80)。
A memory (84) configured to store encoded video frames;
The decoder (60) according to claim 12 , configured to decode the encoded video frame into a decoded video frame;
A media player (86) configured to render the decoded video frame into a video data representation that can be displayed on a display (88);
User equipment (80) comprising:
各画素(11、13、15、17)がそれぞれの画素値を有する映像フレーム内の複数の画素(11、13、15、17)からなるブロック(10)のフィルタリング制御のためのコンピュータプログラム(74)であって、前記コンピュータプログラムは、コンピュータ(70)上で動くとき、前記コンピュータ(70)に、
p0が前記ブロック(10)内の画素(11、13、15、17)からなる第1のライン(12)の中で、前記映像フレーム内の複数の画素(21、23、25、27)からなる近傍ブロック(20)へのブロック境界(1)に最も近接している画素(11)の画素値を表し、p1が画素(11、13、15、17)からなる前記第1のライン(12)の中で、前記ブロック境界(1)に2番目に近接している画素(13)の画素値を表し、p2が画素(11、13、15、17)からなる前記第1のライン(12)の中で、前記ブロック境界(1)に3番目に近接している画素(15)の画素値を表すとすると、
|p2−2p1+p0
に基づいて、画素値p2、p1、およびp0のみを使用して、前記ブロック(10)に対する第1のフィルタ決定値を計算させ、
q0が前記近傍ブロック(20)内の画素(21、23、25、27)からなる対応する第1のライン(22)の中で、前記ブロック境界(1)に最も近接している前記近傍ブロック(20)内の画素(21)の画素値を表し、q1が画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で、前記ブロック境界(1)に2番目に近接している前記近傍ブロック(20)の画素(23)の画素値を表し、q2が画素(21、23、25、27)からなる前記対応する第1のライン(22)の中で、前記ブロック境界(1)に3番目に近接している前記近傍ブロック(20)内の画素(25)の画素値を表すとすると、
|q2−2q1+q0
に基づいて、画素値q2、q1、およびq0のみを使用して、前記近傍ブロック(20)に対する第2のフィルタ決定値を計算させ、
前記第1のフィルタ決定値に基づいて前記ブロック境界(1)に対してフィルタ処理すべき前記ブロック(10)内の画素(11、13、15、17)からなる第1のライン(12)の中の画素の個数を判定させ、
前記第2のフィルタ決定値に基づいて前記ブロック境界(1)に対してフィルタ処理すべき前記近傍ブロック(20)内の画素(21、23、25、27)からなる対応する第1のライン(22)の中の画素の個数を判定させるコード手段を備え、
フィルタ処理すべき前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の画素の個数の判定は、前記第1のフィルタ決定値と第1の閾値の比較(S20)に基づいて前記ブロック境界(1)に対してフィルタ処理すべき前記ブロック(10)内の画素(11、13、15、17)からなる前記第1のライン(12)の中の画素の個数を判定するステップを備え、
フィルタ処理すべき前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(12)の中の画素の個数の判定は、前記第2のフィルタ決定値と第2の閾値の比較(S23)に基づいて前記ブロック境界(1)に対してフィルタ処理すべき前記近傍ブロック(20)内の画素(21、23、25、27)からなる前記対応する第1のライン(22)の中の画素の個数を判定するステップを備え
前記第1のフィルタ決定値を計算するステップ(S1)は、p0 が複数の画素からなる前記第1のラインの中で、前記ブロック境界(1)に最も近接している前記画素の前記画素値を表し、p1 が複数の画素からなる前記第1のラインの中で、前記ブロック境界(1)に2番目に近接している前記画素の前記画素値を表し、p2 が複数の画素からなる前記第1のラインの中で、前記ブロック境界(1)に3番目に近接している前記画素の前記画素値を表し、p0 が前記ブロック(10)内の複数の画素からなる第2のラインの中で、前記ブロック境界(1)に最も近接している画素の画素値を表し、p1 が複数の画素からなる前記第2のラインの中で、前記ブロック境界(1)に2番目に近接している画素の画素値を表し、p2 が複数の画素からなる前記第2のラインの中で、前記ブロック境界(1)に3番目に近接している画素の画素値を表すとすると、
|p2 −2p1 +p0 |+|p2 −2p1 +p0
として前記第1のフィルタ決定値を計算するステップ(S1)を備え、
前記第2のフィルタ決定値を計算するステップ(S2)は、q0 が複数の画素からなる前記対応する第1のラインの中で、前記ブロック境界(1)に最も近接している前記近傍ブロック(20)内の前記画素の前記画素値を表し、q1 が複数の画素からなる前記対応する第1のラインの中で、前記ブロック境界(1)に2番目に近接している前記近傍ブロック(20)の前記画素の前記画素値を表し、q2 が複数の画素からなる前記対応する第1のラインの中で、前記ブロック境界(1)に3番目に近接している前記近傍ブロック(20)内の前記画素の前記画素値を表し、q0 が前記近傍ブロック(20)内の複数の画素からなる対応する第2のラインの中で、前記ブロック境界(1)に最も近接している前記近傍ブロック(20)内の画素の画素値を表し、q1 が複数の画素からなる前記対応する第2のラインの中で、前記ブロック境界(1)に2番目に近接している前記近傍ブロック(20)の画素の画素値を表し、q2 が複数の画素からなる前記対応する第2のラインの中で、前記ブロック境界(1)に3番目に近接している前記近傍ブロック(20)内の画素の画素値を表すとすると、
|q2 −2q1 +q0 |+|q2 −2q1 +q0
として前記第2のフィルタ決定値を計算するステップ(S2)を備える、
コンピュータプログラム(74)。
A computer program (74) for filtering control of a block (10) comprising a plurality of pixels (11, 13, 15, 17) in a video frame in which each pixel (11, 13, 15, 17) has a respective pixel value. And when the computer program runs on the computer (70), the computer program (70)
p0 i is a plurality of pixels (21, 23, 25, 27) in the video frame in the first line (12) consisting of pixels (11, 13, 15, 17) in the block (10). Represents the pixel value of the pixel (11) closest to the block boundary (1) to the neighboring block (20) consisting of the first line, where p1 i is composed of the pixels (11, 13, 15, 17) In (12), the pixel value of the pixel (13) that is second closest to the block boundary (1) is represented, and p2 i is composed of the pixels (11, 13, 15, 17). In the line (12), if it represents the pixel value of the pixel ( 15 ) third closest to the block boundary (1),
| P2 i -2p1 i + p0 i |
To calculate a first filter decision value for the block (10) using only the pixel values p2 i , p1 i , and p0 i ,
The neighborhood where q0 i is closest to the block boundary (1) in the corresponding first line (22) consisting of the pixels (21, 23, 25, 27) in the neighborhood block (20) The pixel value of the pixel (21) in the block (20) is represented, and q1 i is the block boundary (1) in the corresponding first line (22) including the pixels (21, 23, 25, 27). ) Represents the pixel value of the pixel (23) of the neighboring block (20) that is second closest, and q2 i is the corresponding first line (22) consisting of the pixels (21, 23, 25, 27). ) Represents the pixel value of the pixel ( 25 ) in the neighboring block (20) that is third closest to the block boundary (1),
| Q2 i -2q1 i + q0 i |
To calculate a second filter decision value for the neighboring block (20) using only pixel values q2 i , q1 i , and q0 i ,
Based on the first filter decision value, the first line (12) of pixels (11, 13, 15, 17) in the block (10) to be filtered with respect to the block boundary (1) Let me determine the number of pixels inside,
A corresponding first line (21, 23, 25, 27) consisting of pixels (21, 23, 25, 27) in the neighboring block (20) to be filtered with respect to the block boundary (1) based on the second filter decision value. 22) comprising code means for determining the number of pixels in
The number of pixels in the first line (12) consisting of the pixels (11, 13, 15, 17) in the block (10) to be filtered is determined by the first filter determination value and the first filter determination value. The first line (12) consisting of the pixels (11, 13, 15, 17) in the block (10) to be filtered with respect to the block boundary (1) based on the comparison of the threshold values of 1 (S20) And determining the number of pixels in
The determination of the number of pixels in the corresponding first line (12) consisting of the pixels (21, 23, 25, 27) in the neighboring block (20) to be filtered is determined by the second filter decision. The corresponding consisting of the pixels (21, 23, 25, 27) in the neighboring block (20) to be filtered with respect to the block boundary (1) based on the comparison of the value and the second threshold (S23) Determining the number of pixels in the first line (22) ;
The step (S1) of calculating the first filter determination value includes the pixel of the pixel closest to the block boundary (1) in the first line in which p0 0 is composed of a plurality of pixels. P1 0 represents the pixel value of the pixel second closest to the block boundary (1) in the first line composed of a plurality of pixels, and p2 0 represents a plurality of pixels Represents the pixel value of the pixel that is third closest to the block boundary (1) in the first line consisting of: p0 3 is the number of pixels in the block (10). 2 represents the pixel value of the pixel closest to the block boundary (1), and p1 3 represents the block boundary (1) in the second line composed of a plurality of pixels. Represents the pixel value of the second closest pixel, p 3 is in the second line comprising a plurality of pixels, when representing pixel values of pixels that are close to the third to the block boundary (1),
| P2 0 -2p1 0 + p0 0 | + | p2 3 -2p1 3 + p0 3 |
A step (S1) of calculating the first filter decision value as
The step (S2) of calculating the second filter decision value includes the neighboring block closest to the block boundary (1) in the corresponding first line in which q0 0 is composed of a plurality of pixels. represents the pixel value of the pixel in the (20), q1 0 is in the first line of the corresponding a plurality of pixels, the neighboring block which is close to the second to the block boundary (1) represents the pixel value of the pixel of (20), q2 0 is in the first line of the corresponding a plurality of pixels, said block the neighboring blocks in proximity to the third to the boundary (1) ( represents the pixel value of the pixel in the 20), in the second line corresponding q0 3 consists of a plurality of pixels of the neighboring blocks (20), closest to the block boundary (1) The neighboring block (2 0) represents the pixel values of the pixels in, q1 3 is in the second line the corresponding a plurality of pixels, said block boundary (1) to the neighboring blocks in proximity to the second (20) The pixel in the neighboring block (20) that is third closest to the block boundary (1) in the corresponding second line consisting of a plurality of pixels is represented by the pixel value of q2 3 If the pixel value of
| Q2 0 -2q1 0 + q0 0 | + | q2 3 -2q1 3 + q0 3 |
A step (S2) of calculating the second filter decision value as
Computer program (74).
求項14に記載のコンピュータプログラム(74)を記憶したコンピュータ読み取り可能な記憶媒体(73)。 Motomeko 14 computer-readable storage medium storing a computer program (74) according to (73).
JP2013556574A 2011-03-01 2011-12-16 Deblocking filtering control Active JP5924700B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US201161447862P 2011-03-01 2011-03-01
US61/447,862 2011-03-01
PCT/SE2011/051526 WO2012118421A1 (en) 2011-03-01 2011-12-16 Deblocking filtering control

Publications (3)

Publication Number Publication Date
JP2014511632A JP2014511632A (en) 2014-05-15
JP2014511632A5 JP2014511632A5 (en) 2015-09-03
JP5924700B2 true JP5924700B2 (en) 2016-05-25

Family

ID=45496239

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013556574A Active JP5924700B2 (en) 2011-03-01 2011-12-16 Deblocking filtering control

Country Status (11)

Country Link
US (6) US9641841B2 (en)
EP (2) EP3001682B1 (en)
JP (1) JP5924700B2 (en)
KR (1) KR101584420B1 (en)
CN (1) CN103430537B (en)
AU (1) AU2011361032C1 (en)
DK (2) DK2681913T3 (en)
ES (2) ES2562009T3 (en)
PL (1) PL3001682T3 (en)
PT (1) PT3001682T (en)
WO (1) WO2012118421A1 (en)

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9413477B2 (en) * 2010-05-10 2016-08-09 Microsoft Technology Licensing, Llc Screen detector
PL3001682T3 (en) 2011-03-01 2017-07-31 Telefonaktiebolaget Lm Ericsson (Publ) Deblocking filtering control
US20120230423A1 (en) * 2011-03-10 2012-09-13 Esenlik Semih Line memory reduction for video coding and decoding
US8767824B2 (en) * 2011-07-11 2014-07-01 Sharp Kabushiki Kaisha Video decoder parallelization for tiles
CN103718556B (en) * 2011-07-22 2017-06-16 Sk电信有限公司 Using the encoding/decoding device and method of flexible de-blocking filter
KR102032000B1 (en) * 2011-11-04 2019-10-14 선 페이턴트 트러스트 Deblocking filtering with modified image block boundary strength derivation
KR20140053448A (en) * 2012-10-25 2014-05-08 에스케이텔레콤 주식회사 Method and appartus for deblocking filtering first-view image using encoding information of second-view iamge in steroscopic image
US9906790B2 (en) * 2014-03-14 2018-02-27 Qualcomm Incorporated Deblock filtering using pixel distance
US9924175B2 (en) * 2014-06-11 2018-03-20 Qualcomm Incorporated Determining application of deblocking filtering to palette coded blocks in video coding
US10136141B2 (en) 2014-06-11 2018-11-20 Qualcomm Incorporated Determining quantization parameter (QP) values and delta QP values for palette coded blocks in video coding
CN105992011B (en) * 2015-02-26 2019-04-09 扬智科技股份有限公司 The calculation method and device of loop filtering
KR102437742B1 (en) 2016-08-21 2022-08-29 엘지전자 주식회사 Video encoding/decoding method and apparatus therefor
CN106604039B (en) * 2016-12-28 2020-07-31 北京奇艺世纪科技有限公司 Filtering method and device
CN114449267A (en) * 2016-12-28 2022-05-06 索尼公司 Image processing apparatus, image processing method, and program
EP3609182A4 (en) * 2017-04-06 2020-04-08 Panasonic Intellectual Property Corporation of America Encoding device, decoding device, encoding method, and decoding method
JP6831005B2 (en) * 2017-04-06 2021-02-17 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Encoding device, decoding device, coding method and decoding method
CN114071139B (en) 2017-04-06 2023-12-12 松下电器(美国)知识产权公司 Decoding device and encoding device
TW201842781A (en) * 2017-04-06 2018-12-01 美商松下電器(美國)知識產權公司 Encoding device, decoding device, encoding method, and decoding method
TW201842768A (en) 2017-04-06 2018-12-01 美商松下電器(美國)知識產權公司 Encoding device, decoding device, encoding method, and decoding method
TWI774750B (en) * 2017-04-06 2022-08-21 美商松下電器(美國)知識產權公司 Encoding device, decoding device, encoding method, and decoding method
TW201842782A (en) * 2017-04-06 2018-12-01 美商松下電器(美國)知識產權公司 Encoding device, decoding device, encoding method, and decoding method
JP6902094B2 (en) 2017-04-06 2021-07-14 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Coding device and decoding device
EP3739887A4 (en) * 2018-01-08 2021-10-06 Samsung Electronics Co., Ltd. Encoding method and apparatus therefor, and decoding method and apparatus therefor
JP7293460B2 (en) 2018-03-28 2023-06-19 華為技術有限公司 Image processing device and method for performing efficient deblocking
JP7087101B2 (en) * 2018-03-28 2022-06-20 華為技術有限公司 Image processing devices and methods for performing efficient deblocking
CA3109201A1 (en) 2018-08-10 2020-02-13 Huawei Technologies Co., Ltd. Apparatus and method for performing deblocking
US11245896B1 (en) * 2021-02-26 2022-02-08 Realtek Semiconductor Corporation Deblocking filter level decision method

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5492133A (en) * 1977-12-29 1979-07-21 Fujitsu Ltd Image data filtering system
US7227901B2 (en) * 2002-11-21 2007-06-05 Ub Video Inc. Low-complexity deblocking filter
EP1507415A3 (en) * 2003-07-16 2005-05-04 Samsung Electronics Co., Ltd. Video encoding/decoding apparatus and method for color image
JP2005123732A (en) 2003-10-14 2005-05-12 Matsushita Electric Ind Co Ltd Apparatus and method for deblocking filter processing
US7430336B2 (en) * 2004-05-06 2008-09-30 Qualcomm Incorporated Method and apparatus for image enhancement for low bit rate video compression
NO322722B1 (en) * 2004-10-13 2006-12-04 Tandberg Telecom As Video encoding method by reducing block artifacts
US8503521B2 (en) * 2007-01-16 2013-08-06 Chih-Ta Star SUNG Method of digital video reference frame compression
CN101321276B (en) * 2007-06-10 2012-06-20 华为技术有限公司 Method and apparatus for removing block effect
US20090285308A1 (en) * 2008-05-14 2009-11-19 Harmonic Inc. Deblocking algorithm for coded video
US8761538B2 (en) * 2008-12-10 2014-06-24 Nvidia Corporation Measurement-based and scalable deblock filtering of image data
BR112013006832A2 (en) * 2010-09-28 2017-05-23 Samsung Electronics Co Ltd adaptive filtering method, and adaptive filtering apparatus
PL3001682T3 (en) * 2011-03-01 2017-07-31 Telefonaktiebolaget Lm Ericsson (Publ) Deblocking filtering control

Also Published As

Publication number Publication date
CN103430537B (en) 2016-10-12
EP3001682A1 (en) 2016-03-30
US20180213262A1 (en) 2018-07-26
US20220014794A1 (en) 2022-01-13
EP2681913A1 (en) 2014-01-08
US9955188B2 (en) 2018-04-24
EP3001682B1 (en) 2017-03-01
CN103430537A (en) 2013-12-04
AU2011361032A1 (en) 2013-09-12
AU2011361032B2 (en) 2014-10-02
DK2681913T3 (en) 2016-02-29
WO2012118421A1 (en) 2012-09-07
US20230156237A1 (en) 2023-05-18
US11134277B2 (en) 2021-09-28
KR20130139341A (en) 2013-12-20
PT3001682T (en) 2017-05-18
PL3001682T3 (en) 2017-07-31
EP2681913B1 (en) 2015-11-25
JP2014511632A (en) 2014-05-15
US20170272781A1 (en) 2017-09-21
US20200244999A1 (en) 2020-07-30
DK3001682T3 (en) 2017-06-06
ES2562009T3 (en) 2016-03-02
KR101584420B1 (en) 2016-01-22
US20130329814A1 (en) 2013-12-12
US9641841B2 (en) 2017-05-02
US10623780B2 (en) 2020-04-14
US11575945B2 (en) 2023-02-07
AU2011361032C1 (en) 2015-04-09
ES2627285T3 (en) 2017-07-27

Similar Documents

Publication Publication Date Title
JP5924700B2 (en) Deblocking filtering control
JP6096342B2 (en) Method for reducing blocking artifacts, encoder, decoder, user equipment, network device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141117

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150714

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160216

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160412

R150 Certificate of patent or registration of utility model

Ref document number: 5924700

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250