JP2011139356A - Display device, display method, program, and record medium - Google Patents

Display device, display method, program, and record medium Download PDF

Info

Publication number
JP2011139356A
JP2011139356A JP2009298757A JP2009298757A JP2011139356A JP 2011139356 A JP2011139356 A JP 2011139356A JP 2009298757 A JP2009298757 A JP 2009298757A JP 2009298757 A JP2009298757 A JP 2009298757A JP 2011139356 A JP2011139356 A JP 2011139356A
Authority
JP
Japan
Prior art keywords
unit
area
display device
region
deblocking filter
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.)
Pending
Application number
JP2009298757A
Other languages
Japanese (ja)
Inventor
Naohiro Hojo
直大 北城
Kohei Ueno
耕平 植野
Toshihiko Osada
俊彦 長田
Hiromasa Yamaguchi
寛正 山口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2009298757A priority Critical patent/JP2011139356A/en
Publication of JP2011139356A publication Critical patent/JP2011139356A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem that it is difficult for a user to recognize the validity of filtering processing using a de-blocking filter. <P>SOLUTION: In a display device 100 for displaying a decoding image in which block distortion is decreased by a de-blocking filter 505, the display device includes an area specifying part 506 for specifying an area which is an area on the decoding image composed of a plurality of blocks, and maximum in a reduction rate of block distortion by the de-blocking filter and a back end 40 for highlighting the area specified by the specifying means in a display module 4. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、符号化データを復号し、復号画像を表示する表示装置に関する。また、そのような表示装置を用いて画像を表示する表示方法に関する。   The present invention relates to a display device that decodes encoded data and displays a decoded image. The present invention also relates to a display method for displaying an image using such a display device.

符号化された画像データを復号するために復号装置が用いられている。一般に、非可逆圧縮方式を用いて符号化された符号化データを復号する場合には、符号化ノイズが発生する。特に、ブロック単位で符号・復号処理を行う方式においては、ブロック境界にブロックノイズが発生し易い。   A decoding device is used to decode the encoded image data. In general, when decoding encoded data encoded using a lossy compression method, encoding noise is generated. In particular, in a method of performing coding / decoding processing in units of blocks, block noise is likely to occur at block boundaries.

符号化ノイズを除去するための手段として、低域通過フィルタが知られている。例えば、特許文献1には、量子化スケールコードに基づき通過帯域を適応的に変化させた低域通過フィルタを備えた映像信号復号化装置が開示されている。しかしながら、一般に、低域通過フィルタは、フィルタリング処理後の画像がボケるという問題を招来する。   A low-pass filter is known as means for removing coding noise. For example, Patent Document 1 discloses a video signal decoding apparatus including a low-pass filter whose passband is adaptively changed based on a quantization scale code. However, in general, a low-pass filter causes a problem that an image after filtering processing is blurred.

一方、非特許文献1および非特許文献2に記載されたH264.AVC規格においては、復号装置にデブロッキングフィルタが導入され、ブロックノイズがより生じやすい箇所により強いフィルタ処理を施すという適応的フィルタリング処理が行われる。上記デブロッキングフィルタによれば、上記低域通過フィルタのように、画像がボケるという問題を招来することなく、ブロックノイズを除去することができる。   On the other hand, as described in Non-Patent Document 1 and Non-Patent Document 2, H264. In the AVC standard, a deblocking filter is introduced into a decoding device, and an adaptive filtering process is performed in which a stronger filter process is performed on a portion where block noise is more likely to occur. According to the deblocking filter, it is possible to remove block noise without causing the problem of blurring of the image unlike the low-pass filter.

特開平8−84342(平成8年(1996)3月26日公開)JP-A-8-84342 (published March 26, 1996)

ITU−T Recommendation H.264 “Advanced video coding for generic audiovisual services”,03/2005ITU-T Recommendation H. H.264 “Advanced Video Coding for Generic Audiovisual Services”, 03/2005 改訂版H.264/AVC教科書,株式会社インプレスコミュニケーションズ,2006Revised version H.264 / AVC textbook, Impress Communications, Inc., 2006

しかしながら、従来の表示装置においては、デブロッキングフィルタによるフィルタリング処理の有効性をユーザが即座に認識することは困難であるという問題がある。   However, the conventional display device has a problem that it is difficult for the user to immediately recognize the effectiveness of the filtering process by the deblocking filter.

本発明は上記の問題に鑑みてなされたものであり、その目的は、上記デブロッキングフィルタによるフィルタリング処理の効果が大きい領域を特定し、当該領域を強調表示することによって、デブロッキングフィルタによるフィルタリング処理の効果をユーザに認識せしめることができる表示装置を実現することにある。   The present invention has been made in view of the above problems, and its object is to specify a region where the effect of the filtering process by the deblocking filter is large, and to highlight the region, thereby performing the filtering process by the deblocking filter. It is to realize a display device that allows the user to recognize the effect of the above.

上記の問題を解決するために、本発明に係る表示装置は、デブロッキングフィルタによりブロック歪みが低減された復号画像を表示する表示装置において、複数のブロックからなる上記復号画像上の領域であって、上記デブロッキングフィルタによるブロック歪みの低減率が最大となる領域を特定する特定手段と、上記特定手段によって特定された領域を
表示部に強調表示する強調表示手段と、を備えていることを特徴としている。
In order to solve the above problem, a display device according to the present invention is a display device that displays a decoded image in which block distortion is reduced by a deblocking filter, and is an area on the decoded image that includes a plurality of blocks. And a specifying unit that specifies a region where the reduction rate of block distortion by the deblocking filter is maximized, and a highlighting unit that highlights the region specified by the specifying unit on a display unit. It is said.

上記のように構成された本発明に係る表示装置は、複数のブロックからなる上記復号画像上の領域であって、上記デブロッキングフィルタによるブロック歪みの低減率が最大となる領域を特定する特定手段を備えているため、各フレームに対して、上記デブロッキングフィルタによるブロック歪みの低減率が最大となる領域、すなわち、デブロッキングフィルタによるフィルタリング処理の効果が最も大きい領域を特定することができる。また、本発明に係る表示装置は、上記特定手段によって特定された領域を表示部に強調表示する強調表示手段を備えているため、デブロッキングフィルタによるブロック歪みの低減効果が最も大きい領域を強調表示することによって、デブロッキングフィルタによるフィルタリング処理の効果をユーザに認識せしめることができる。   The display device according to the present invention configured as described above is a specifying unit that specifies a region on the decoded image including a plurality of blocks, in which a reduction rate of block distortion by the deblocking filter is maximized. Therefore, for each frame, it is possible to identify a region where the reduction rate of the block distortion by the deblocking filter is maximized, that is, a region where the effect of the filtering process by the deblocking filter is the largest. In addition, since the display device according to the present invention includes highlighting means for highlighting the area specified by the specifying means on the display unit, the area having the greatest effect of reducing block distortion by the deblocking filter is highlighted. By doing so, the effect of the filtering process by the deblocking filter can be recognized by the user.

また、本発明に係る表示装置は、上記復号画像上の各領域におけるブロック歪みの低減率を、該領域に含まれるブロック境界に隣接している画素についての、上記デブロッキングフィルタを作用させる前後の画素値の差に基づいて算出する算出手段を更に備え、上記特定手段は、上記算出手段により算出されたブロック歪みの低減率が最大となる領域を特定する、ことが好ましい。   Further, the display device according to the present invention can reduce the block distortion reduction rate in each area on the decoded image before and after applying the deblocking filter to pixels adjacent to the block boundary included in the area. It is preferable that calculation means for calculating based on a difference between pixel values is further provided, and the specifying means specifies an area where the reduction rate of the block distortion calculated by the calculating means is maximized.

一般に、ブロック歪みは、ブロックの境界において顕著に現れる。   In general, block distortion appears prominently at block boundaries.

上記の構成によれば、上記復号画像上の各領域におけるブロック歪みの低減率を、該領域に含まれるブロック境界に隣接している画素についての、上記デブロッキングフィルタを作用させる前後の画素値の差に基づいて算出することができる。したがって、上記の構成によれば、上記ブロック歪みの低減率を適切に算出することができるという更なる効果を奏する。したがって、上記の構成によれば、デブロッキングフィルタによるフィルタリング処理の効果をユーザに効果的に認識せしめることができる。   According to the above configuration, the reduction rate of the block distortion in each region on the decoded image is determined based on the pixel value before and after the deblocking filter is applied to the pixel adjacent to the block boundary included in the region. It can be calculated based on the difference. Therefore, according to said structure, there exists the further effect that the reduction rate of the said block distortion can be calculated appropriately. Therefore, according to said structure, a user can be made to recognize effectively the effect of the filtering process by a deblocking filter.

また、本発明に係る表示装置においては、上記算出手段は、該領域に含まれるブロック境界を介して隣接している画素対のうち一方の画素についての、上記デブロッキングフィルタを作用させる前後の画素値の差の絶対値と、該画素対のうち他の一方の画素についての、上記デブロッキングフィルタを作用させる前後の画素値の差の絶対値との平均をとることによって当該画素対に対する差分絶対値を算出し、該領域に含まれる複数の上記画素対のそれぞれに対する上記差分絶対値の平均に基づいて上記復号画像上の各領域におけるブロック歪みの低減率を算出する、ことが好ましい。   Moreover, in the display device according to the present invention, the calculation means includes pixels before and after applying the deblocking filter to one pixel of a pair of pixels adjacent to each other via a block boundary included in the region. By taking the average of the absolute value of the difference between the values and the absolute value of the difference between the pixel values before and after applying the deblocking filter for the other one of the pixel pairs, the absolute difference It is preferable to calculate a value and calculate a block distortion reduction rate in each region on the decoded image based on an average of the absolute difference values for each of the plurality of pixel pairs included in the region.

上記の構成によれば、該領域に含まれるブロック境界を介して隣接している画素対のうち一方の画素についての、上記デブロッキングフィルタを作用させる前後の画素値の差の絶対値と、該画素対のうち他の一方の画素についての、上記デブロッキングフィルタを作用させる前後の画素値の差の絶対値との平均をとることによって当該画素対に対する差分絶対値を算出し、上記差分絶対値に基づいて、上記ブロック歪みの低減率を算出することができる。したがって、上記画素対のうち一方の画素についての、上記デブロッキングフィルタを作用させる前後の画素値の差の絶対値のみに基づいて算出する場合に比べて、上記ブロック歪みの低減率をより適切に算出することができる。   According to the above configuration, the absolute value of the difference between the pixel values before and after applying the deblocking filter for one pixel of the pixel pairs adjacent via the block boundary included in the region, The difference absolute value for the pixel pair is calculated by taking the average of the difference between the pixel values before and after the deblocking filter is applied to the other pixel of the pixel pair, and calculating the difference absolute value Based on the above, the reduction rate of the block distortion can be calculated. Therefore, the reduction rate of the block distortion is more appropriately compared with the case of calculating based on only the absolute value of the difference between the pixel values before and after the deblocking filter is applied to one pixel of the pixel pair. Can be calculated.

また、上記の構成によれば、該領域に含まれる複数の上記画素対のそれぞれに対する上記差分絶対値の平均に基づいて上記復号画像上の各領域におけるブロック歪みの低減率を算出することができる。したがって、上記差分絶対値のばらつきが大きい場合であっても、上記ブロック歪みの低減率をより適切に算出することができる。   Further, according to the above configuration, it is possible to calculate a block distortion reduction rate in each region on the decoded image based on the average of the absolute difference values for each of the plurality of pixel pairs included in the region. . Therefore, even when the variation of the difference absolute value is large, the block distortion reduction rate can be calculated more appropriately.

したがって、上記の構成によれば、上記差分絶対値のばらつきが大きい場合であっても
、デブロッキングフィルタによるフィルタリング処理の効果をユーザにより効果的に認識せしめることができるという更なる効果を奏する。
Therefore, according to said structure, even if it is a case where the dispersion | variation in the said difference absolute value is large, there exists the further effect that the effect of the filtering process by a deblocking filter can be recognized more effectively by a user.

また、本発明に係る表示装置は、上記復号画像上の各領域におけるブロック歪みの低減率を、該領域に含まれるブロックに関連付けられたパラメータであって、上記デブロッキングフィルタによるデブロッキング処理のオンオフを制御するパラメータに基づいて算出する算出手段を更に備え、上記特定手段は、上記算出手段により算出されたブロック歪みの低減率が最大となる領域を特定する、ことが好ましい。   In the display device according to the present invention, the reduction rate of block distortion in each region on the decoded image is a parameter associated with the block included in the region, and the on / off of the deblocking process by the deblocking filter is performed. It is preferable that calculation means is further provided for calculating based on a parameter for controlling the calculation, and the specifying means specifies a region where the reduction rate of the block distortion calculated by the calculation means is maximized.

一般に、デブロッキングフィルタによるデブロッキング処理のオンオフを制御するパラメータと、上記デブロッキングフィルタを作用させる前後の画素値の差との間には、相関が存在する。   In general, there is a correlation between a parameter for controlling on / off of deblocking processing by the deblocking filter and a difference between pixel values before and after the deblocking filter is operated.

上記の構成によれば、上記復号画像上の各領域におけるブロック歪みの低減率を、該領域に含まれるブロックに関連付けられたパラメータであって、上記デブロッキングフィルタによるデブロッキング処理のオンオフを制御するパラメータに基づいて算出する算出手段を更に備えているため、上記ブロック歪みの低減率を適切に算出することができる。また、上記デブロッキングフィルタを作用させる前後の画素値を参照する代わりに、上記パラメータを参照することによって、上記ブロック歪みの低減率を算出することができるので、上記ブロック歪みの低減率を算出する際の計算量を削減することができるという更なる効果を奏する。   According to the above configuration, the block distortion reduction rate in each area on the decoded image is a parameter associated with the block included in the area, and controls on / off of the deblocking process by the deblocking filter. Since a calculation means for calculating based on the parameter is further provided, the block distortion reduction rate can be appropriately calculated. Further, since the reduction rate of the block distortion can be calculated by referring to the parameter instead of referring to the pixel values before and after the deblocking filter is operated, the reduction rate of the block distortion is calculated. There is a further effect that the amount of calculation can be reduced.

したがって、上記の構成によれば、上記ブロック歪みの低減率を算出する際の計算量を削減しつつ、デブロッキングフィルタによるフィルタリング処理の効果をユーザに効果的に認識せしめることができるという更なる効果を奏する。   Therefore, according to said structure, the further effect of being able to make a user recognize the effect of the filtering process by a deblocking filter effectively, reducing the calculation amount at the time of calculating the reduction rate of the said block distortion. Play.

また、本発明に係る表示装置においては、上記算出手段は、該領域に含まれる複数のブロックのそれぞれに関連付けられた上記パラメータの平均に基づいて上記復号画像上の各領域におけるブロック歪みの低減率を算出する、ことが好ましい。   Further, in the display device according to the present invention, the calculation means is a block distortion reduction rate in each region on the decoded image based on an average of the parameters associated with each of a plurality of blocks included in the region. Is preferably calculated.

上記の構成によれば、上記算出手段は、該領域に含まれる複数のブロックのそれぞれに関連付けられた上記パラメータの平均に基づいて上記復号画像上の各領域におけるブロック歪みの低減率を算出することができるため、上記パラメータのばらつきが大きい場合であっても、上記ブロック歪みの低減率を適切に算出することができる。   According to the above configuration, the calculating unit calculates a block distortion reduction rate in each region on the decoded image based on an average of the parameters associated with each of a plurality of blocks included in the region. Therefore, even when the variation in the parameters is large, the reduction rate of the block distortion can be calculated appropriately.

したがって、上記の構成によれば、上記差分絶対値のばらつきが大きい場合であっても、デブロッキングフィルタによるフィルタリング処理の効果をユーザにより効果的に認識せしめることができるという更なる効果を奏する。   Therefore, according to said structure, even if it is a case where the dispersion | variation in the said difference absolute value is large, there exists the further effect that the effect of the filtering process by a deblocking filter can be recognized more effectively by a user.

また、本発明に係る表示装置においては、上記強調表示手段は、上記特定手段によって特定された領域を上記表示部に拡大表示する、ことが好ましい。   In the display device according to the present invention, it is preferable that the highlighting means enlarges and displays the area specified by the specifying means on the display unit.

上記の構成によれば、上記特定手段によって特定された領域を上記表示部に拡大表示することができるので、デブロッキングフィルタによるフィルタリング処理の効果をユーザにより効果的に認識せしめることができるという更なる効果を奏する。   According to said structure, since the area | region identified by the said identification means can be expanded and displayed on the said display part, the effect of the filtering process by a deblocking filter can be recognized more effectively by a user. There is an effect.

また、本発明に係る表示装置においては、上記強調表示手段は、連続する複数のフレームのそれぞれについて、上記特定手段によって特定された領域を抽出したのち当該領域をメモリに格納し、当該連続する複数のフレームのそれぞれについての当該領域を所定の時間間隔ごとに上記表示部に順次拡大表示する、ことが好ましい。   Further, in the display device according to the present invention, the highlighting means extracts the area specified by the specifying means for each of a plurality of consecutive frames, stores the area in a memory, and then stores the continuous plurality of frames. It is preferable that the area for each of the frames is sequentially enlarged and displayed on the display unit at predetermined time intervals.

上記の構成によれば、上記強調表示手段は、連続する複数のフレームのそれぞれについて、上記特定手段によって特定された領域を抽出したのち当該領域をメモリに格納し、当該連続する複数のフレームのそれぞれについての当該領域を所定の時間間隔ごとに上記表示部に順次拡大表示する、すなわち、当該連続する複数のフレームのそれぞれについての拡大された当該領域をスローモーション表示することができるので、デブロッキングフィルタによるフィルタリング処理の効果をユーザにより効果的に認識せしめることができるという更なる効果を奏する。   According to the above configuration, the highlighting means extracts the area specified by the specifying means for each of a plurality of consecutive frames, stores the area in the memory, and stores each of the plurality of consecutive frames. The area of the image is sequentially enlarged and displayed on the display unit at predetermined time intervals, that is, the enlarged area of each of the plurality of consecutive frames can be displayed in slow motion. There is a further effect that the effect of the filtering process by can be recognized more effectively by the user.

また、本発明に係る表示装置においては、上記強調表示手段は、各フレームについて、上記特定手段によって特定された領域と共に、上記デブロッキングフィルタを作用させる前の該領域を上記表示部に表示する、ことが好ましい。   Further, in the display device according to the present invention, the highlighting means displays the area before the deblocking filter is actuated on the display unit together with the area specified by the specifying means for each frame. It is preferable.

上記の構成によれば、上記強調表示手段は、各フレームについて、上記特定手段によって特定された領域と共に、上記デブロッキングフィルタを作用させる前の該領域を上記表示部に表示することができる。したがって、ユーザは、デブロッキングフィルタによるフィルタリング処理後の該領域と、フィルタリング処理前の該領域とを比較することによって、当該フィルタリング処理の効果を認識することができる。   According to said structure, the said highlight display means can display this area | region before making the said deblocking filter act with respect to each flame | frame with the area | region specified by the said specific means. Therefore, the user can recognize the effect of the filtering process by comparing the area after the filtering process by the deblocking filter and the area before the filtering process.

したがって、上記の構成によれば、デブロッキングフィルタによるフィルタリング処理の効果をユーザにより効果的に認識せしめることができるという更なる効果を奏する。   Therefore, according to said structure, there exists the further effect that the effect of the filtering process by a deblocking filter can be recognized more effectively by a user.

また、コンピュータを本発明に係る上記の表示装置として動作させるプログラムであって、上記コンピュータを上記表示装置が備えている各手段として機能させるためのプログラム、および、上記プログラムを記録しているコンピュータ読取り可能な記録媒体も本発明の範疇に含まれる。   Further, a program for causing a computer to operate as the display device according to the present invention, the program for causing the computer to function as each means included in the display device, and a computer reading that records the program Possible recording media are also included in the scope of the present invention.

また、本発明に係る表示方法は、デブロッキングフィルタによりブロック歪みが低減された復号画像を表示する表示方法において、複数のブロックからなる上記復号画像上の領域であって、上記デブロッキングフィルタによるブロック歪みの低減率が最大となる領域を特定する特定ステップと、上記特定手段によって特定された領域を表示部に強調表示する強調表示ステップと、を含んでいることを特徴としている。   The display method according to the present invention is a display method for displaying a decoded image in which block distortion has been reduced by a deblocking filter, wherein the display method is an area on the decoded image composed of a plurality of blocks, and the block by the deblocking filter The method includes a specifying step of specifying a region where the distortion reduction rate is maximized, and a highlighting step of highlighting the region specified by the specifying unit on the display unit.

本発明に係る上記の方法によれば、上記の表示装置と同様の効果を奏する。   According to the above method of the present invention, the same effect as the above display device can be obtained.

以上のように、本発明に係る表示装置は、デブロッキングフィルタによりブロック歪みが低減された復号画像を表示する表示装置において、複数のブロックからなる上記復号画像上の領域であって、上記デブロッキングフィルタによるブロック歪みの低減率が最大となる領域を特定する特定手段と、上記特定手段によって特定された領域を表示部に強調表示する強調表示手段と、を備えている。   As described above, the display device according to the present invention is a display device that displays a decoded image in which block distortion has been reduced by a deblocking filter. Specific means for specifying a region where the reduction rate of the block distortion by the filter is maximized, and highlighting means for highlighting the region specified by the specifying means on the display unit are provided.

上記の構成によれば、上記デブロッキングフィルタによるフィルタリング処理の効果が大きい領域を特定し、当該領域を強調表示することによって、デブロッキングフィルタによるフィルタリング処理の効果をユーザに認識せしめることができる表示装置を実現することができる。   According to said structure, the display apparatus which can make a user recognize the effect of the filtering process by a deblocking filter by specifying the area | region where the effect of the filtering process by the said deblocking filter is large, and highlighting the said area | region Can be realized.

実施形態に係る表示装置の構成を示すブロック図である。It is a block diagram which shows the structure of the display apparatus which concerns on embodiment. 実施形態に係る表示装置におけるデコーダ部の構成を示すブロック図である。It is a block diagram which shows the structure of the decoder part in the display apparatus which concerns on embodiment. 実施形態に係る表示装置におけるデブロッキングフィルタによるデブロッキング処理を説明するためのものであって、(a)は、マクロブロックを構成するブロックの配置を示す図であって、(b)は、デブロッキング処理前の画素値を示す図であり、(c)は、デブロッキング処理後の画素値を示す図である。It is for demonstrating the deblocking process by the deblocking filter in the display apparatus which concerns on embodiment, Comprising: (a) is a figure which shows arrangement | positioning of the block which comprises a macroblock, (b) is a deblocking process. It is a figure which shows the pixel value before a blocking process, (c) is a figure which shows the pixel value after a deblocking process. 実施形態に係る表示装置におけるデブロッキングフィルタによるデブロッキング処理を説明するためのものであって、量子化パラメータと閾値α、および、閾値βとの関係を示すグラフである。It is a graph for demonstrating the deblocking process by the deblocking filter in the display apparatus which concerns on embodiment, Comprising: It is a graph which shows the relationship between a quantization parameter, threshold value (alpha), and threshold value (beta). 実施形態に係る表示装置におけるデブロッキングフィルタによるデブロッキング処理をより一般的に説明するためのものであって、(a)は、ある水平走査線によって画定される画素の画素値であって、デブロッキング処理前の画素値を示す図であり、(b)は、デブロッキング処理後の画素値を示す図である。FIG. 2 is a diagram for explaining more generally the deblocking process by the deblocking filter in the display device according to the embodiment, in which (a) is a pixel value of a pixel defined by a certain horizontal scanning line, and It is a figure which shows the pixel value before a blocking process, (b) is a figure which shows the pixel value after a deblocking process. 実施形態に係る表示装置におけるデブロッキングフィルタによるデブロッキング処理をより一般的に説明するためのものであって、(a)は、ある垂直走査線によって画定される画素の画素値であって、デブロッキング処理前の画素値を示す図であり、(b)は、デブロッキング処理後の画素値を示す図である。FIG. 2 is a diagram for more generally explaining the deblocking process by the deblocking filter in the display device according to the embodiment, in which (a) is a pixel value of a pixel defined by a certain vertical scanning line, and It is a figure which shows the pixel value before a blocking process, (b) is a figure which shows the pixel value after a deblocking process. 実施形態に係る表示装置における領域特定部による処理を説明するためのものであって、領域特定部による処理の対象となる符号化データの表す画像の一例を示す図である。It is a figure for demonstrating the process by the area | region specific part in the display apparatus which concerns on embodiment, Comprising: It is a figure which shows an example of the image which the encoding data used as the object of the process by an area | region specific part represents. 実施形態に係る表示装置における領域特定部による処理を説明するためのものであって、(a)は、領域特定部が算出する水平方向の平均補正値をブロック境界の水平位置ごとに示すグラフであり、(b)は、領域特定部が算出する垂直方向の補正値の絶対値の平均値をブロック境界の垂直位置ごとに示すグラフである。It is for demonstrating the process by the area | region specific part in the display apparatus which concerns on embodiment, Comprising: (a) is a graph which shows the horizontal direction average correction value which an area | region specific part calculates for every horizontal position of a block boundary. And (b) is a graph showing an average value of absolute values of correction values in the vertical direction calculated by the area specifying unit for each vertical position of the block boundary. 実施形態に係る表示装置における領域特定部による処理を説明するためのものであって、(a)は、領域特定部が算出する水平方向の補正値の絶対値の平均値の移動平均をブロック境界の水平位置ごとに示すグラフであり、(b)は、領域特定部が算出する垂直方向の移動平均をブロック境界の垂直位置ごとに示すグラフである。FIG. 6 is a diagram for explaining processing by the area specifying unit in the display device according to the embodiment, in which (a) represents a moving average of average values of absolute values of horizontal correction values calculated by the area specifying unit as block boundaries; (B) is a graph showing the moving average in the vertical direction calculated by the area specifying unit for each vertical position of the block boundary. 実施形態に係る表示装置における領域特定部による処理を説明するためのものであって、連続する複数のフレームにおけるフレーム内の全ブロック境界で累積した水平方向の補正値の絶対値の平均値、および、他の特定のブロック境界に対する垂直方向の補正値の絶対値の平均値を示すグラフである。For explaining the processing by the area specifying unit in the display device according to the embodiment, the average value of the absolute value of the horizontal correction value accumulated at all block boundaries in a frame in a plurality of consecutive frames, and FIG. 11 is a graph showing an average value of absolute values of correction values in the vertical direction with respect to other specific block boundaries; 実施形態に係る表示装置における領域特定部による処理を説明するためのものであって、(a)は、領域特定部によって、フレームごとに特定された水平位置を、連続する複数のフレームに対して表したグラフであり、(b)は、領域特定部によって、フレームごとに特定された垂直位置を、連続する複数のフレームに対して表したグラフである。It is for demonstrating the process by the area | region specific | specification part in the display apparatus which concerns on embodiment, Comprising: (a) is the horizontal position specified for every flame | frame by the area | region specific part with respect to a several continuous flame | frame. (B) is a graph showing the vertical position specified for each frame by the region specifying unit for a plurality of consecutive frames. 実施形態に係る表示装置における表示モジュールに表示される映像の一例を示す図である。It is a figure which shows an example of the image | video displayed on the display module in the display apparatus which concerns on embodiment. 実施形態に係る表示装置における表示モジュールに表示される映像の他の例を示す図である。It is a figure which shows the other example of the image | video displayed on the display module in the display apparatus which concerns on embodiment. 実施形態の変形例に係る表示装置におけるメモリ部に格納される映像データが表す画像の一例を示す図である。It is a figure which shows an example of the image which the video data stored in the memory part in the display apparatus which concerns on the modification of embodiment represents.

実施形態に係る表示装置100の構成について図1を参照して説明する。図1は、本実施形態に係る表示装置100の構成を示すブロック図である。   A configuration of the display device 100 according to the embodiment will be described with reference to FIG. FIG. 1 is a block diagram illustrating a configuration of a display device 100 according to the present embodiment.

以下では、図1を参照して、表示装置100の構成について概略的に説明する。   Below, with reference to FIG. 1, the structure of the display apparatus 100 is demonstrated roughly.

図1に示すように、表示装置100は、デジタルチューナ1、ネットワーク端子2、入
力端子3、フロントエンド部30、バックエンド部40、メモリ部50、OSD(On Screen Display)部53、および、表示モジュール4を備えている。
As shown in FIG. 1, the display device 100 includes a digital tuner 1, a network terminal 2, an input terminal 3, a front end unit 30, a back end unit 40, a memory unit 50, an OSD (On Screen Display) unit 53, and a display. A module 4 is provided.

図1に示すように、フロントエンド部30は、ストリーム処理部31、デコーダ部32、映像キャプチャ部33、および、映像選択部34を備えている。   As shown in FIG. 1, the front end unit 30 includes a stream processing unit 31, a decoder unit 32, a video capture unit 33, and a video selection unit 34.

また、図1に示すように、バックエンド部40は、第1スケーラ部41、第2スケーラ部42、第1画質補正部43、第2画質補正部44、重ね合わせ部45、および、制御部46を備えている。   As shown in FIG. 1, the back end unit 40 includes a first scaler unit 41, a second scaler unit 42, a first image quality correction unit 43, a second image quality correction unit 44, an overlay unit 45, and a control unit. 46 is provided.

また、メモリ部50は、第1メモリ領域51、および、第2メモリ領域52を備えている。   The memory unit 50 includes a first memory area 51 and a second memory area 52.

制御部46には、図示しないユーザ指示入力部を介して、ユーザからの指示が入力される。制御部46は、ユーザからの指示に従って、表示装置100の各部に対して指示信号を出力する。例えば、制御部46は、ユーザから1画面表示指示を受けた場合には、表示装置100の各部に対して、1画面表示指示信号を出力し、ユーザから2画面表示指示を受けた場合には、表示装置100の各部に対して、2画面表示指示信号を出力する。   An instruction from a user is input to the control unit 46 via a user instruction input unit (not shown). The control unit 46 outputs an instruction signal to each unit of the display device 100 in accordance with an instruction from the user. For example, when receiving a one-screen display instruction from the user, the control unit 46 outputs a one-screen display instruction signal to each unit of the display device 100, and when receiving a two-screen display instruction from the user. A two-screen display instruction signal is output to each part of the display device 100.

デジタルチューナ1は、図示しないアンテナを介して、地上波デジタル放送信号、BSデジタル放送信号、または、CSデジタル放送信号などのデジタル放送信号を受信し、選局および復調を行い、ストリームデータ#1として出力する。ストリームデータ#1は、例えば、MPEG−TS(Transport Stream)である。また、ストリームデータ#1は、所定の符号化方式にて符号化されているデータである。   The digital tuner 1 receives a digital broadcast signal such as a terrestrial digital broadcast signal, a BS digital broadcast signal, or a CS digital broadcast signal via an antenna (not shown), selects and demodulates the digital broadcast signal as stream data # 1 Output. The stream data # 1 is, for example, MPEG-TS (Transport Stream). Further, the stream data # 1 is data encoded by a predetermined encoding method.

一方、ネットワーク端子2は、Ethernet(登録商標)規格のLAN(Local Area Network)を介して、IP放送、または、外部機器からの出力を受け、ストリームデータ#2として出力する。ストリームデータ#2は、例えば、MPEG−TS、または、H.264−TSである。また、ストリームデータ#2は、所定の符号化方式にて符号化されているデータである。   On the other hand, the network terminal 2 receives an output from an IP broadcast or an external device via an Ethernet (registered trademark) standard LAN (Local Area Network), and outputs it as stream data # 2. The stream data # 2 is, for example, MPEG-TS or H.264. 264-TS. Stream data # 2 is data encoded by a predetermined encoding method.

ストリーム処理部31は、ストリームデータ#1またはストリームデータ#2に含まれる符号化された映像・音声データであるPES(Packetized Elementary Stream)を抽出し、符号化データ#31として出力する。また、ストリーム処理部31は、ストリームデータ#1またはストリームデータ#2に含まれるSI(Service Information)データを抽出する。当該SIデータは、EPG(電子番組表)を表示するために用いられる。また、ストリームデータ#1がスクランブル化されたストリームデータである場合には、ストリーム処理部31は、ストリームデータ#1のデスクランブル、すなわち、スクランブルの解除を行った後、PESを抽出し、符号化データ#31として出力する。ストリームデータ#2についても同様である。   The stream processing unit 31 extracts PES (Packetized Elementary Stream), which is encoded video / audio data included in the stream data # 1 or the stream data # 2, and outputs it as encoded data # 31. In addition, the stream processing unit 31 extracts SI (Service Information) data included in the stream data # 1 or the stream data # 2. The SI data is used to display an EPG (electronic program guide). Also, when the stream data # 1 is scrambled stream data, the stream processing unit 31 performs descrambling of the stream data # 1, that is, descrambling, and then extracts and encodes the PES. Output as data # 31. The same applies to stream data # 2.

デコーダ部32は、符号化データ#31の復号を行い、復号済データ#32として出力する。また、デコーダ部32は、後述する2系統処理指示信号を受けた場合には、復号済データ#32に加えて、復号済データ#32’を出力する。デコーダ部32の構成ついては後述するため、ここでは説明を省略する。   The decoder unit 32 decodes the encoded data # 31 and outputs it as decoded data # 32. Further, when receiving a two-system processing instruction signal described later, the decoder unit 32 outputs decoded data # 32 'in addition to the decoded data # 32. Since the configuration of the decoder unit 32 will be described later, the description thereof is omitted here.

一方で、入力端子3は、外部から入力されるコンポジット映像信号、S映像信号、または、コンポーネント映像信号等のアナログ映像信号を受け、映像キャプチャ部33に供給する。また、入力端子3は、外部機器によって復号された復号済のデジタル映像信号を受け、映像キャプチャ部33に供給する。また、入力端子3は、アナログ放送信号を受信し
た外部チューナから出力されるコンポジット映像信号を受け、映像キャプチャ部33に供給する。
On the other hand, the input terminal 3 receives an analog video signal such as a composite video signal, an S video signal, or a component video signal input from the outside, and supplies the analog video signal to the video capture unit 33. The input terminal 3 receives the decoded digital video signal decoded by the external device and supplies it to the video capture unit 33. The input terminal 3 receives a composite video signal output from an external tuner that has received an analog broadcast signal, and supplies the composite video signal to the video capture unit 33.

映像キャプチャ部33は、入力端子3から供給される各種の映像信号に固有のキャプチャ方法に従って当該各種の映像信号を取り込み、所定のフォーマットの映像データに変換する。当該所定のフォーマットの映像データは、フォーマット済データ#33として出力される。   The video capture unit 33 captures the various video signals according to a capture method specific to the various video signals supplied from the input terminal 3, and converts the video signals into video data of a predetermined format. The video data of the predetermined format is output as formatted data # 33.

映像選択部34は、制御部46からの指示に従って、復号済データ#32、復号済データ#32’、または、フォーマット済データ#33のうち、何れか1つ、もしくは2つを選択し、メモリ部50に出力する。具体的には、映像選択部34は、制御部46から1画面表示指示信号を受けた場合には、復号済データ#32、復号済データ#32’、または、フォーマット済データ#33のうち、何れか1つを選択し、第1メモリ領域51に格納する。また、映像選択部34は、制御部46から2画面表示指示信号を受けた場合には、復号済データ#32、復号済データ#32’、または、フォーマット済データ#33のうち、何れか2つを選択し、選択したデータのそれぞれを、第1メモリ領域51、および、第2メモリ領域に格納する。   The video selection unit 34 selects either one or two of the decoded data # 32, the decoded data # 32 ′, or the formatted data # 33 according to the instruction from the control unit 46, and the memory To the unit 50. Specifically, when the video selection unit 34 receives a one-screen display instruction signal from the control unit 46, the video selection unit 34 includes the decoded data # 32, the decoded data # 32 ′, or the formatted data # 33. Either one is selected and stored in the first memory area 51. In addition, when receiving a two-screen display instruction signal from the control unit 46, the video selection unit 34 selects any one of the decoded data # 32, the decoded data # 32 ′, and the formatted data # 33. Each of the selected data is stored in the first memory area 51 and the second memory area.

第1スケーラ部41は、第1メモリ領域51に格納されている映像データ#51を読み出し、制御部46からの指示に基づき、映像データ#51の表す映像サイズに応じた所定の解像度変換処理を行い、第1のスケール変換済データ#41を生成する。具体的には、第1スケーラ部41は、制御部46から1画面表示指示信号を受けた場合には、映像データ#51の表す映像が表示モジュール4の表示部のサイズと同じサイズとなるように解像度変換処理を行い、第1のスケール変換済データ#41を生成する。また、第1スケーラ部41は、制御部46から2画面表示指示信号を受けた場合には、映像データ#51の表す映像が表示モジュール4の表示部の縦横半分のサイズとなるように解像度変換処理を行い、第1のスケール変換済データ#41を生成する。なお、映像データ#51は、上述の処理を通じて第1メモリ領域51に格納された復号済データ#32、復号済データ#32’、または、フォーマット済データ#33の何れかに対応している。   The first scaler unit 41 reads the video data # 51 stored in the first memory area 51, and performs a predetermined resolution conversion process according to the video size represented by the video data # 51 based on an instruction from the control unit 46. To generate first scale-converted data # 41. Specifically, when the first scaler unit 41 receives a one-screen display instruction signal from the control unit 46, the video represented by the video data # 51 has the same size as the display unit of the display module 4. The resolution conversion process is performed to generate first scale-converted data # 41. In addition, when the first scaler unit 41 receives a two-screen display instruction signal from the control unit 46, the first scaler unit 41 converts the resolution so that the video represented by the video data # 51 is half the size of the display unit of the display module 4. Processing is performed to generate first scale-converted data # 41. Note that the video data # 51 corresponds to any of the decoded data # 32, the decoded data # 32 ', or the formatted data # 33 stored in the first memory area 51 through the above-described processing.

同様に、第2スケーラ部42は、第2メモリ領域52に格納されている映像データ#52を読み出し、制御部46からの指示に基づき、映像データ#52の表す映像サイズに応じた所定の解像度変換処理を行い、第2のスケール変換済データ#42を生成する。具体的には、第2スケーラ部42は、制御部46から2画面表示指示信号を受けた場合には、映像データ#52の表す映像が表示モジュール4の表示部の縦横半分のサイズとなるように解像度変換処理を行い、第2のスケール変換済データ#42を生成する。なお、映像データ#52は、上述の処理を通じて第2メモリ領域52に格納された復号済データ#32、復号済データ#32’、または、フォーマット済データ#33の何れかに対応している。   Similarly, the second scaler unit 42 reads the video data # 52 stored in the second memory area 52, and, based on an instruction from the control unit 46, has a predetermined resolution corresponding to the video size represented by the video data # 52. Conversion processing is performed to generate second scale-converted data # 42. Specifically, when the second scaler unit 42 receives a two-screen display instruction signal from the control unit 46, the video represented by the video data # 52 is half the size of the display unit of the display module 4. The resolution conversion process is performed to generate second scale-converted data # 42. Note that the video data # 52 corresponds to any of the decoded data # 32, the decoded data # 32 ', or the formatted data # 33 stored in the second memory area 52 through the above-described processing.

第1画質補正部43は、第1のスケール変換済データ#41に対し、所定の画質補正処理を行い、第1の補正後データ#43を生成する。   The first image quality correction unit 43 performs a predetermined image quality correction process on the first scale-converted data # 41 to generate first corrected data # 43.

同様に、第2画質補正部44は、第2のスケール変換済データ#42に対し、所定の画質補正処理を行い、第2の補正後データ#44を生成する。   Similarly, the second image quality correction unit 44 performs a predetermined image quality correction process on the second scale-converted data # 42 to generate second corrected data # 44.

なお、上記所定の画質補正処理の具体例としては、空間的LPF、または、フレーム間LPF等を用いた高周波成分の除去処理が挙げられる。また、上記所定の画質補正処理の他の具体例としては、エッジ強調などの画質補正処理が挙げられる。   A specific example of the predetermined image quality correction process is a high-frequency component removal process using a spatial LPF, an inter-frame LPF, or the like. Another specific example of the predetermined image quality correction processing is image quality correction processing such as edge enhancement.

重ね合わせ部45は、第1の補正後データ#43、第2の補正後データ#44、および、OSD部53から供給されるOSD画像データ#53を組み合わせ、表示映像データ#45を生成し出力する。   The superposition unit 45 combines the first corrected data # 43, the second corrected data # 44, and the OSD image data # 53 supplied from the OSD unit 53 to generate and output display video data # 45. To do.

表示モジュール4は、自身が備えている表示部に、表示映像データ#45の表す映像を表示する。   The display module 4 displays the video represented by the display video data # 45 on the display unit included in the display module 4.

なお、上記の説明では、映像選択部34は、復号済データ#32、復号済データ#32’、または、フォーマット済データ#33をメモリ部50に対して出力する場合を例に挙げたが、本発明はこれによって限定されるものではない。映像選択部34は、復号済データ#32、復号済データ#32’、または、フォーマット済データ#33を第1スケータ部41、および、第2スケーラ部42に対して直接出力するような構成としてもよい。また、上記の説明では、バックエンド部40が、第1スケーラ部41、および、第2スケーラ部42を備える場合を例に挙げたが、本発明はこれによって限定されるものではない。例えば、バックエンド部40が第1画質補正部43、および、第2画質補正部44を備えておらず、第1のスケール変換済データ#41、および、第2のスケール変換済データ#42が、直接、重ね合わせ部45に入力されるような構成としてもよい。   In the above description, the video selection unit 34 has exemplified the case where the decoded data # 32, the decoded data # 32 ′, or the formatted data # 33 is output to the memory unit 50. The present invention is not limited thereby. The video selection unit 34 is configured to directly output the decoded data # 32, the decoded data # 32 ′, or the formatted data # 33 to the first skater unit 41 and the second scaler unit 42. Also good. In the above description, the back end unit 40 includes the first scaler unit 41 and the second scaler unit 42 as an example, but the present invention is not limited thereto. For example, the back end unit 40 does not include the first image quality correction unit 43 and the second image quality correction unit 44, and the first scale-converted data # 41 and the second scale-converted data # 42 are Alternatively, a configuration may be adopted in which the data is directly input to the overlapping unit 45.

以上が、表示装置100の構成の概略である。以下では、デコーダ部32、および、制御部46について、より詳細に説明する。   The above is the outline of the configuration of the display device 100. Hereinafter, the decoder unit 32 and the control unit 46 will be described in more detail.

まず、デコーダ部32の構成について、図2を参照して説明する。   First, the configuration of the decoder unit 32 will be described with reference to FIG.

図2は、表示装置100におけるデコーダ部32の構成を示すブロック図である。   FIG. 2 is a block diagram illustrating a configuration of the decoder unit 32 in the display device 100.

図2に示すように、デコーダ部32は、可変長復号部501、逆量子化部502、逆DCT部503、動き補償部504、デブロッキングフィルタ505、および、領域特定部506を備えている。   As illustrated in FIG. 2, the decoder unit 32 includes a variable length decoding unit 501, an inverse quantization unit 502, an inverse DCT unit 503, a motion compensation unit 504, a deblocking filter 505, and a region specifying unit 506.

可変長復号部501には、符号化データ#31が、マクロブロック単位で入力される。当該マクロブロックとは、符号化データ#31が生成される際の符号化の単位であり、デコーダ部32における復号の単位でもある。また、マクロブロックは、1または複数のブロックから構成されている。   The variable length decoding unit 501 receives encoded data # 31 in units of macroblocks. The macroblock is a unit of encoding when the encoded data # 31 is generated, and is also a unit of decoding in the decoder unit 32. The macro block is composed of one or a plurality of blocks.

可変長復号部501は、符号化データ#31に対し可変長復号処理を行う。符号化データ#31は、複数の情報が多重化されたデータであり、可変長復号部501は、当該可変長復号処理を行うことによって、符号化データ#31から、マクロブロックを構成するブロックごとに、量子化DCT(Discrete Cosine Transform)係数、量子化パラメータQP(Quantization Parameter)、予測動作切り替え情報、符号化モード情報、および、動きベクトル情報などを抽出する。   The variable length decoding unit 501 performs variable length decoding processing on the encoded data # 31. The encoded data # 31 is data in which a plurality of pieces of information are multiplexed, and the variable length decoding unit 501 performs the variable length decoding process so that each block constituting the macroblock is encoded from the encoded data # 31. In addition, a quantized DCT (Discrete Cosine Transform) coefficient, a quantization parameter QP (Quantization Parameter), prediction motion switching information, coding mode information, motion vector information, and the like are extracted.

また、可変長復号部501は、逆量子化部502、動き補償部504、デブロッキングフィルタ505、領域特定部506に対して、それぞれ、第1の復号情報#501a、第2の復号情報#501b、第3の復号情報#501c、および、第4の復号情報#501dを出力する。   In addition, the variable length decoding unit 501 provides first decoding information # 501a and second decoding information # 501b to the inverse quantization unit 502, motion compensation unit 504, deblocking filter 505, and region specifying unit 506, respectively. The third decoding information # 501c and the fourth decoding information # 501d are output.

ここで、第1の復号情報#501aは、量子化DCT係数、および、量子化パラメータQPを含んでおり、第2の復号情報#501bは、予測動作切り替え情報、符号化モード情報、および、動きベクトル情報を含んでおり、第3の復号情報#501cは、符号化モード情報、量子化パラメータQP、および、動きベクトル情報を含んでおり、第4の復号
情報#501dは、符号化モード情報、および、量子化パラメータQPを含んでいる。
Here, the first decoding information # 501a includes a quantized DCT coefficient and a quantization parameter QP, and the second decoding information # 501b includes prediction operation switching information, coding mode information, and motion Vector information is included, third decoding information # 501c includes encoding mode information, quantization parameter QP, and motion vector information, and fourth decoding information # 501d includes encoding mode information, And a quantization parameter QP.

なお、上記の予測動作切り替え情報は、符号化データ#31が、画面内予測モード(イントラ予測モード)を用いて符号化されたデータであるのか、または、画面間予測モード(インター予測モード)を用いて符号化されたデータであるのかを示す情報である。   Note that the prediction operation switching information described above is whether the encoded data # 31 is data encoded using the intra prediction mode (intra prediction mode) or the inter prediction mode (inter prediction mode). This is information indicating whether the data is encoded using the data.

逆量子化部502は、第1の復号情報#501aに含まれる量子化パラメータQPを用いて、同じく第1の復号情報#501aに含まれる量子化DCT係数をブロック単位で逆量子化する。また、逆量子化部502は、当該逆量子化を行うことによって得られたDCT係数#502を逆DCT部503に対して出力する。   The inverse quantization unit 502 uses the quantization parameter QP included in the first decoded information # 501a to inversely quantize the quantized DCT coefficient included in the first decoded information # 501a in units of blocks. Further, the inverse quantization unit 502 outputs the DCT coefficient # 502 obtained by performing the inverse quantization to the inverse DCT unit 503.

逆DCT部503は、DCT係数#502に対して上記ブロック単位で逆離散コサイン変換処理を行う。また、逆DCT部503は、当該逆離散コサイン変換処理によって得られた残差データ#503を動き補償部504に対して出力する。   The inverse DCT unit 503 performs an inverse discrete cosine transform process on the DCT coefficient # 502 for each block. Further, the inverse DCT unit 503 outputs the residual data # 503 obtained by the inverse discrete cosine transform process to the motion compensation unit 504.

動き補償部504は、残差データ#503と、当該残差データ#503が入力される前に入力された残差データによって生成された予測画像データとを加算し、フレーム復号画像データ#504を生成する。フレーム復号画像データ#504は、デブロッキングフィルタ505に対して出力される。   The motion compensation unit 504 adds the residual data # 503 and the predicted image data generated by the residual data input before the residual data # 503 is input, and generates frame decoded image data # 504. Generate. The frame decoded image data # 504 is output to the deblocking filter 505.

なお、動き補償部504は、第1の復号情報#501aに含まれる予測動作切り換え情報が画面間予測モードを示している場合には、第1の復号情報#501aに含まれる動きベクトル情報を用いた動き補償を行うことによって、上記予測画像データを生成し、第1の復号情報#501aに含まれる予測動作切り換え情報が画面内予測モードを示している場合には、予測対象であるブロックに隣接するブロックであって、既に復号されたブロック内の画素値に基づいて上記予測画像データを生成する。   Note that the motion compensation unit 504 uses the motion vector information included in the first decoding information # 501a when the prediction operation switching information included in the first decoding information # 501a indicates the inter-screen prediction mode. The prediction image data is generated by performing the motion compensation, and when the prediction operation switching information included in the first decoding information # 501a indicates the intra prediction mode, it is adjacent to the block to be predicted. The predicted image data is generated on the basis of the pixel values in the already decoded block.

(デブロッキングフィルタ505)
続いて、デブロッキングフィルタ505について説明する。デブロッキングフィルタ505は、概略的には、フレーム復号画像データ#504におけるブロック境界、またはマクロブロック境界を介して互いに隣接する画素の画素値の差が予め定められた閾値よりも小さい場合に、フレーム復号画像データ#504における当該ブロック境界、またはマクロブロック境界に対してデブロッキング処理を施す。また、当該デブロッキング処理の強度は、第3の復号情報#501cに含まれる符号化モード情報、量子化パラメータQP、および、動きベクトル情報に応じて段階的に設定されている。
(Deblocking filter 505)
Next, the deblocking filter 505 will be described. In general, the deblocking filter 505 performs frame processing when a difference between pixel values of pixels adjacent to each other via a block boundary or macroblock boundary in the frame decoded image data # 504 is smaller than a predetermined threshold value. Deblocking processing is performed on the block boundary or the macroblock boundary in the decoded image data # 504. Further, the strength of the deblocking process is set in stages according to the coding mode information, the quantization parameter QP, and the motion vector information included in the third decoding information # 501c.

以下では、図3を参照して、デブロッキングフィルタ505におけるデブロッキング処理の一例について具体的に説明する。   Below, with reference to FIG. 3, an example of the deblocking process in the deblocking filter 505 is demonstrated concretely.

図3(a)は、デブロッキング処理の対象となるマクロブロックMBの構成を示す図である。図3(a)に示すように、以下では、マクロブロックMBのサイズが16×16画素であり、マクロブロックMBは、サイズが4×4画素である16個のブロックが含まれているものとして説明を行うが、本発明はこれに限定されるものではない。すなわち、マクロブロックのサイズが16×16画素以外のサイズである場合やブロックのサイズが4×4画素以外のサイズである場合であっても、本発明を適用することができる。   FIG. 3A is a diagram illustrating a configuration of a macroblock MB that is a target of deblocking processing. As shown in FIG. 3A, in the following, it is assumed that the size of the macroblock MB is 16 × 16 pixels, and the macroblock MB includes 16 blocks having a size of 4 × 4 pixels. Although described, the present invention is not limited to this. That is, the present invention can be applied even when the size of the macroblock is a size other than 16 × 16 pixels or when the size of the block is a size other than 4 × 4 pixels.

また、以下では、上記ブロックのうち、主に、図3(a)に示すブロックPの最上列の4画素と、ブロックQの最上列の4画素とから構成される同一直線状に配置された8画素に対するデブロッキング処理を例に挙げ説明を行う。また、以下では、主に、水平走査方向(以下、水平方向と呼ぶ)に対するデブロッキング処理について説明するが、デブロッ
キングフィルタ505は、水平走査方向と垂直な方向(以下、垂直方向と呼ぶ)、に沿ったデブロッキング処理も同様に行う。
In the following, among the blocks, the blocks are arranged in the same straight line mainly composed of the uppermost four pixels of the block P shown in FIG. 3A and the uppermost four pixels of the block Q. A description will be given by taking a deblocking process for 8 pixels as an example. In the following, deblocking processing in the horizontal scanning direction (hereinafter referred to as the horizontal direction) will be mainly described. However, the deblocking filter 505 is a direction perpendicular to the horizontal scanning direction (hereinafter referred to as the vertical direction). The deblocking process along is performed in the same manner.

図3(b)は、デブロッキング処理前における上記8画素の画素値を示す図であり、図3(c)は、デブロッキング処理後における上記8画素の画素値を示す図である。   FIG. 3B is a diagram illustrating the pixel values of the eight pixels before the deblocking process, and FIG. 3C is a diagram illustrating the pixel values of the eight pixels after the deblocking process.

まず、図3(b)に示すように、ブロックPの最上列の4画素を左から順に画素P3、画素P2、画素P1、画素P0と呼ぶことにする。また、図3(b)に示すように、画素P0〜P3の画素値は、それぞれ、画素値p0〜p3である。同様に、図3(b)に示すように、ブロックQの最上列の4画素を左から順に画素Q0、画素Q1、画素Q2、画素Q3と呼ぶことにする。また、図3(b)に示すように、画素Q0〜Q3の画素値は、それぞれ、画素値q0〜q3である。また、図3(b)に示すように、画素P0、および、画素Q0は、ブロックの境界を介して互いに隣接する画素である。   First, as shown in FIG. 3B, the four pixels in the uppermost column of the block P are referred to as a pixel P3, a pixel P2, a pixel P1, and a pixel P0 in order from the left. As shown in FIG. 3B, the pixel values of the pixels P0 to P3 are pixel values p0 to p3, respectively. Similarly, as shown in FIG. 3B, the four pixels in the uppermost column of the block Q are referred to as a pixel Q0, a pixel Q1, a pixel Q2, and a pixel Q3 in order from the left. As shown in FIG. 3B, the pixel values of the pixels Q0 to Q3 are pixel values q0 to q3, respectively. As shown in FIG. 3B, the pixel P0 and the pixel Q0 are pixels adjacent to each other via a block boundary.

また、図3(c)に示すように、デブロッキング処理後における画素P0〜P3、および、画素Q0〜Q3の画素値は、それぞれ、画素値p0’〜p3’、および、画素値q0’〜q3’である。   Further, as shown in FIG. 3C, the pixel values of the pixels P0 to P3 and the pixels Q0 to Q3 after the deblocking process are respectively the pixel values p0 ′ to p3 ′ and the pixel values q0 ′ to q3 ′.

デブロッキングフィルタ505は、上記8画素に対して、ブロック境界強度(Bs値:Boundary Strength)を決定する。具体的には、デブロッキングフィルタ505は、以下の(1)〜(5)のようにBs値を決定する。   The deblocking filter 505 determines a block boundary strength (Bs value: Boundary Strength) for the eight pixels. Specifically, the deblocking filter 505 determines the Bs value as in the following (1) to (5).

(1)画素P0〜P3、または、画素Q0〜Q3のうち少なくとも一方が、イントラ(画面内)マクロブロックに属し、なおかつ、マクロブロックMBの境界に位置する場合には、Bs=4とする。ここで、イントラマクロブロックとは、画面内予測を用いて符号化されたマクロブロックのことを指す(以下同様)。   (1) When at least one of the pixels P0 to P3 or the pixels Q0 to Q3 belongs to an intra (in-screen) macroblock and is located at the boundary of the macroblock MB, Bs = 4. Here, an intra macroblock refers to a macroblock encoded using intra prediction (the same applies hereinafter).

(2)画素P0〜P3、または、画素Q0〜Q3のうちいずれか一方が、イントラマクロブロックに属するが、マクロブロックMBの境界には位置しない場合には、Bs=3とする。   (2) If any one of the pixels P0 to P3 or the pixels Q0 to Q3 belongs to the intra macroblock but is not located at the boundary of the macroblock MB, Bs = 3.

(3)画素P0〜P3、および、画素Q0〜Q3の何れもイントラマクロブロックに属するものではなく、なおかつ、画素P0〜P3または画素Q0〜Q3のうちどちらか一方が直交変換係数を持つ場合には、Bs=2とする。ここで、直交変換係数とは、例えば、上述の量子化DCT係数のことであるが、本発明はこれに限定されるものではない。すなわち、符号化データ#31にアダマール変換係数などの量子化DCT変換係数以外の変換係数が含まれているような場合には、上記直交変換係数は、それらの変換係数を含むものとする(以下同様)。   (3) When none of the pixels P0 to P3 and the pixels Q0 to Q3 belong to an intra macroblock, and either one of the pixels P0 to P3 or the pixels Q0 to Q3 has an orthogonal transform coefficient Is assumed to be Bs = 2. Here, the orthogonal transform coefficient is, for example, the above-described quantized DCT coefficient, but the present invention is not limited to this. That is, when the encoded data # 31 includes transform coefficients other than quantized DCT transform coefficients such as Hadamard transform coefficients, the orthogonal transform coefficients include those transform coefficients (the same applies hereinafter). .

(4)画素P0〜P3および画素Q0〜Q3の何れもイントラマクロブロックに属するものではなく、なおかつ、画素P0〜P3および画素Q0〜Q3の何れも直交変換係数を持たないが、参照ピクチャが異なるか、参照ピクチャの枚数が異なるか、または、動きベクトルの値が異なる場合には、Bs=1とする。ここで、上記参照ピクチャとは、画面間予測を用いた符号化において参照されるピクチャのことを指す(以下同様)。また、上記動きベクトルの値とは、上述した動きベクトル情報に含まれる動きベクトルであって、処理対象のブロックに割り付けられた動きベクトルの値のことを指す(以下同様)。   (4) None of the pixels P0 to P3 and the pixels Q0 to Q3 belong to the intra macroblock, and none of the pixels P0 to P3 and the pixels Q0 to Q3 have orthogonal transform coefficients, but the reference pictures are different. If the number of reference pictures is different or the value of the motion vector is different, Bs = 1. Here, the reference picture refers to a picture that is referred to in encoding using inter-picture prediction (the same applies hereinafter). The value of the motion vector refers to a motion vector included in the motion vector information described above and assigned to the block to be processed (the same applies hereinafter).

(5)画素P0〜P3および画素Q0〜Q3の何れもイントラマクロブロックに属するものではなく、なおかつ、画素P0〜P3および画素Q0〜Q3の何れも直交変換係数を持たず、参照ピクチャも、動きベクトルの値も同一である場合には、Bs=0とする。   (5) None of the pixels P0 to P3 and the pixels Q0 to Q3 belong to the intra macroblock, and none of the pixels P0 to P3 and the pixels Q0 to Q3 have an orthogonal transform coefficient, and the reference picture also moves. If the vector values are also the same, Bs = 0.

デブロッキングフィルタ505は、上記のように決定されたBsの値が大きければ大きいほど、上記画素P0〜P3および画素Q0〜Q3に対して、強いデブロッキング処理を行う。すなわち、デブロッキングフィルタ505は、上記画素P0〜P3と画素Q0〜Q3と境界がマクロブロックの境界であるか否か、あるいは画面内予測を行っているか否か、等の条件に応じてフィルタ強度を変えることにより、各々のブロック境界に適したデブロッキング処理を実行する。   The deblocking filter 505 performs stronger deblocking processing on the pixels P0 to P3 and the pixels Q0 to Q3 as the value of Bs determined as described above is larger. That is, the deblocking filter 505 determines the filter strength according to conditions such as whether or not the boundary between the pixels P0 to P3 and the pixels Q0 to Q3 is a macroblock boundary or whether intra prediction is performed. By changing, deblocking processing suitable for each block boundary is executed.

また、デブロッキングフィルタ505は、以下の条件(6)および(7)が成立する場合にのみ、デブロッキング処理を行う。   The deblocking filter 505 performs the deblocking process only when the following conditions (6) and (7) are satisfied.

(6)Bs>0
(7)|p0−q0|<α、かつ、|p1−p0|<β、かつ、|q1−q0|<β
ここで、閾値α、および、閾値βは、上述した量子化パラメータQPの値に応じて、その値が定められる。図4は、閾値α、および、閾値βと量子化パラメータQPとの関係の具体例を示すグラフである。図4の縦軸は、αまたはβを表し、図4の横軸は、量子化パラメータQPの値を示している。
(6) Bs> 0
(7) | p0-q0 | <α and | p1-p0 | <β and | q1-q0 | <β
Here, the threshold value α and the threshold value β are determined according to the value of the quantization parameter QP described above. FIG. 4 is a graph showing a specific example of the threshold α and the relationship between the threshold β and the quantization parameter QP. The vertical axis in FIG. 4 represents α or β, and the horizontal axis in FIG. 4 represents the value of the quantization parameter QP.

また、閾値α、および、閾値βは、何れもビットストリーム中のパラメータを変更することにより、ユーザの所望するオフセットを与えることが可能である。   In addition, the threshold value α and the threshold value β can both give an offset desired by the user by changing a parameter in the bit stream.

以下では、デブロッキングフィルタ505におけるデブロッキング処理の具体例を挙げる。   Below, the specific example of the deblocking process in the deblocking filter 505 is given.

(8)Bs<4の場合には、入力をp1、p0、q0、q1として、以下の4タップFIR(Finite Impulse Response Filter)フィルタによって、p0’とq0’の値が生成される。   (8) When Bs <4, the input is p1, p0, q0, q1, and the values of p0 ′ and q0 ′ are generated by the following 4-tap FIR (Finite Impulse Response Filter) filter.

Δ=Clip[−tc、tc、{(q0−p0)<<2+(p1−q1)+4}/8]
p0’=p0+Δ
q0’=q0−Δ
ここで、Clip[a、b、c]は、aの範囲がa≦c≦bとなるようにクリップ処理を行うことを表しており、tcは、|p2−p0|、|q2−q0|、および、βの値に応じて決定される。
Δ = Clip [−tc, tc, {(q0−p0) << 2+ (p1−q1) +4} / 8]
p0 ′ = p0 + Δ
q0 ′ = q0−Δ
Here, Clip [a, b, c] represents that clip processing is performed so that the range of a satisfies a ≦ c ≦ b, and tc is | p2-p0 |, | q2-q0 | , And the value of β.

また、|p2−p0|が閾値βよりも小さい場合には、入力をp2、p1、p0、q1として、以下の4タップFIRフィルタによって、p1’の値が生成される。   If | p2-p0 | is smaller than the threshold value β, the input is p2, p1, p0, q1, and the value of p1 ′ is generated by the following 4-tap FIR filter.

p1’=p1+Clip[−tc0、tc0、p2+{(p0+q0+1)―(p1×2)}/2]
ここで、tc0の値は、Bsおよび量子化パラメータQPに応じて決定される。
p1 ′ = p1 + Clip [−tc0, tc0, p2 + {(p0 + q0 + 1) − (p1 × 2)} / 2]
Here, the value of tc0 is determined according to Bs and the quantization parameter QP.

同様に、|q2−q0|が閾値βよりも小さい場合には、入力をp2、p1、p0、q1として、以下の4タップFIRフィルタによって、q1’の値が生成される。   Similarly, when | q2−q0 | is smaller than the threshold value β, the values of q1 ′ are generated by the following 4-tap FIR filter with inputs p2, p1, p0, and q1.

q1’=q1+Clip[q2+{(q0+p0+1)―(q1×2)}/2、−tc0、tc0]
(9)Bs=4の場合
(9−1)|p2−p0|<β、かつ、|p0−q0|<α/4+2の場合
p0’=(p2+2×p1+2×p0+2×q0+q1)/8
p1’=(p2+p1+p0+q1)/4
p2’=(2×p3+3×p2+p1+p0+q0)/8
(9−2)それ以外の場合
p0’=(2×p1+p0+q0)/4
なお、q0’、q1’、q2’に対しては、上記(9−1)、および、(9−2)において、pi⇔qi(i=0,1,2,3)、pi’⇔qi’の置き換えを行うことにより求めることができる。
q1 ′ = q1 + Clip [q2 + {(q0 + p0 + 1) − (q1 × 2)} / 2, −tc0, tc0]
(9) When Bs = 4 (9-1) When | p2-p0 | <β and | p0-q0 | <α / 4 + 2 p0 ′ = (p2 + 2 × p1 + 2 × p0 + 2 × q0 + q1) / 8
p1 ′ = (p2 + p1 + p0 + q1) / 4
p2 ′ = (2 × p3 + 3 × p2 + p1 + p0 + q0) / 8
(9-2) Otherwise p0 ′ = (2 × p1 + p0 + q0) / 4
For q0 ′, q1 ′, and q2 ′, in the above (9-1) and (9-2), pipqi (i = 0, 1, 2, 3), pi′⇔qi It can be obtained by replacing '.

このように、デブロッキングフィルタ505は、互いに隣接するブロックごとに、当該ブロックに属する画素の画素値pi、qiを入力値として、デブロッキング処理を行い、デブロッキング処理後の画素値pi’、qi’を算出し、当該デブロッキング処理後の画素値に基づいて、復号済データ#32を生成する。   As described above, the deblocking filter 505 performs the deblocking process for each block adjacent to each other using the pixel values pi and qi of the pixels belonging to the block as input values, and the pixel values pi ′ and qi after the deblocking process. 'Is calculated, and decoded data # 32 is generated based on the pixel value after the deblocking process.

ここで、上記(8)および(9)の何れの場合であっても、算出された画素値p0’とp0との差によって定められる補正値Δpxは、
Δpx=p0’−p0
であり、また、上記(8)および(9)の何れの場合であっても、算出された画素値p0’とp0との差によって定められる補正値Δqxは、
Δqx=q0’−q0
である。本実施形態においては、デブロッキングフィルタ505は、画素P0、および、画素Q0に対する補正値の絶対値|Δpx|、および、補正値の絶対値|Δqx|を領域特定部506に対して出力する。
Here, in any of the cases (8) and (9), the correction value Δpx determined by the difference between the calculated pixel values p0 ′ and p0 is:
Δpx = p0′−p0
Further, in any of the cases (8) and (9), the correction value Δqx determined by the difference between the calculated pixel values p0 ′ and p0 is
Δqx = q0′−q0
It is. In the present embodiment, the deblocking filter 505 outputs the absolute value | Δpx | of the correction value for the pixel P0 and the pixel Q0 and the absolute value | Δqx | of the correction value to the region specifying unit 506.

なお、本発明は、上述したデブロッキング処理の具体例に限定されるものではない。すなわち、デブロッキングフィルタ505は、上述したデブロッキング処理以外のフィルタリング処理を行った場合であっても、当該フィルタリング処理を施す前の画素値p0、q0と当該フィルタリング処理を施した後の画素値p0’、q0’とから上記のように補正値の絶対値|Δpx|、および、|Δqx|を算出し、領域特定部506に対して出力する。   In addition, this invention is not limited to the specific example of the deblocking process mentioned above. That is, even if the deblocking filter 505 performs a filtering process other than the deblocking process described above, the pixel values p0 and q0 before the filtering process and the pixel value p0 after the filtering process are performed. The absolute values | Δpx | and | Δqx | of the correction values are calculated from “, q0” as described above and output to the region specifying unit 506.

また、デブロッキングフィルタ505は、当該フィルタリング処理、および、上記補正値の絶対値|Δpx|および上記補正値の絶対値|Δqx|の算出を、ブロックの境界を介して互いに隣接する全ての画素に対して行い、算出された補正値の絶対値を領域特定部506に対して出力する。   Further, the deblocking filter 505 performs the filtering process and the calculation of the absolute value | Δpx | of the correction value and the absolute value | Δqx | of the correction value to all the pixels adjacent to each other through the block boundary. The absolute value of the calculated correction value is output to the area specifying unit 506.

また、デブロッキングフィルタ505は、垂直方向に沿ったデブロッキング処理も同様に行い、ブロックの境界を介して隣接する画素のデブロッキング処理前の画素値と、デブロッキング処理後の画素値とから、上記補正値の絶対値|Δpx|および補正値の絶対値|Δqx|と同様に、補正値の絶対値|Δpy|および補正値の絶対値|Δqy|を算出し、領域特定部506に対して出力する。   In addition, the deblocking filter 505 performs the deblocking process along the vertical direction in the same manner, and the pixel value before the deblocking process and the pixel value after the deblocking process of the adjacent pixels via the block boundary are obtained. Similar to the absolute value | Δpx | of the correction value and the absolute value | Δqx | of the correction value, the absolute value | Δpy | of the correction value and the absolute value | Δqy | of the correction value are calculated. Output.

以下では、デブロッキングフィルタ505における補正値の算出、および、割り付けについて、参照する図面を換えてより一般的に説明する。   Hereinafter, calculation and allocation of correction values in the deblocking filter 505 will be described more generally with reference to different drawings.

図5(a)〜(b)は、n番目の水平走査線によって画定される画素であって、当該n番目の水平走査線と垂直に交わるブロック境界を介して互いに隣接する画素を示す図である。   FIGS. 5A to 5B are diagrams illustrating pixels that are defined by the nth horizontal scanning line and that are adjacent to each other via a block boundary that intersects the nth horizontal scanning line vertically. is there.

図5(a)に示すように、ブロックBm(1≦m≦M、Mは、n番目の水平走査線によ
って画定される画素が属するブロックの総数)に属する画素P0,m,n、および、ブロック
Bm+1に属する画素Q0m+1,nは、ブロックBmとブロックBm+1との境界BRmを介して互
いに隣接している。また、画素P0,m,n、および、画素Q0,m,nのデブロッキング処理前の画素値をそれぞれ、p0,m,n、および、q0,m,nと表す。
As shown in FIG. 5A, the pixels P0, m, n belonging to the block Bm (1 ≦ m ≦ M, M is the total number of blocks to which the pixels defined by the nth horizontal scanning line belong), and Pixels Q0m + 1, n belonging to the block Bm + 1 are adjacent to each other via a boundary BRm between the block Bm and the block Bm + 1. In addition, pixel values before deblocking processing of the pixels P0, m, n and the pixels Q0, m, n are expressed as p0, m, n and q0, m, n, respectively.

また、図5(b)に示すように、画素P0,m,n、および、画素Q0,m,nのデブロッキング処理後の画素値をそれぞれ、p0’,m,n、および、q0’,m,nと表す。   Further, as shown in FIG. 5B, the pixel values after deblocking processing of the pixels P0, m, n and Q0, m, n are respectively represented by p0 ′, m, n and q0 ′, Expressed as m, n.

デブロッキングフィルタ505は、p0’,m,nを、前述の(1)〜(9)によって算出し、画素P0,m,nに割り付ける。また、デブロッキングフィルタ505は、q0’,m,nを、前述の(1)〜(9)によって算出し、画素Q0,m,nに割り付ける。   The deblocking filter 505 calculates p0 ', m, n according to the above (1) to (9) and assigns it to the pixel P0, m, n. The deblocking filter 505 calculates q0 ', m, n according to the above (1) to (9) and assigns it to the pixel Q0, m, n.

換言すれば、デブロッキングフィルタ505は、任意の水平走査線が画定する画素であって、当該任意の水平走査線と垂直に交わるブロック境界を介して互いに隣接するすべての画素に対して、上記p0’,m,n、および、q0’,m,nを算出し割り付ける。また、デブロッキングフィルタ505は、補正値Δpx,m,n(1≦m≦M、1≦n≦N、Nは水平走査線の総数)を
Δpx,m,n=p0’,m,n−p0,m,n
によって算出し、その絶対値を領域特定部506に対して出力する。また、デブロッキングフィルタ505は、補正値Δqx,m,n(1≦m≦M、1≦n≦N)を
Δqx,m,n=q0’,m,n−q0,m,n
によって算出し、その絶対値を領域特定部506に対して出力する。
In other words, the deblocking filter 505 applies the p0 to all pixels that are defined by an arbitrary horizontal scanning line and that are adjacent to each other through a block boundary perpendicular to the arbitrary horizontal scanning line. ', m, n and q0', m, n are calculated and assigned. Further, the deblocking filter 505 generates a correction value Δpx, m, n (1 ≦ m ≦ M, 1 ≦ n ≦ N, N is the total number of horizontal scanning lines) Δpx, m, n = p0 ′, m, n− p0, m, n
And the absolute value is output to the area specifying unit 506. Further, the deblocking filter 505 sets the correction value Δqx, m, n (1 ≦ m ≦ M, 1 ≦ n ≦ N) to Δqx, m, n = q0 ′, m, n−q0, m, n.
And the absolute value is output to the area specifying unit 506.

図6(a)〜(b)は、t番目の垂直走査線によって画定される画素であって、当該t番目の垂直走査線と垂直に交わるブロック境界を介して互いに隣接する画素を示す図である。   FIGS. 6A to 6B are diagrams illustrating pixels that are defined by the t-th vertical scanning line and that are adjacent to each other via a block boundary that intersects the t-th vertical scanning line perpendicularly. is there.

図6(a)に示すように、ブロックB’s(1≦s≦S、Sは、t番目の垂直走査線に
よって画定される画素が属するブロックの総数)に属する画素V0,s,t、および、ブロックB’s+1に属する画素W0s+1,tは、ブロックB’sとブロックB’s+1との境界BR’s
を介して互いに隣接している。また、画素V0,s,t、および、画素W0,s,tのデブロッキング処理前の画素値をそれぞれ、v0,s,t、および、w0,s,tと表す。
As shown in FIG. 6A, the pixels V0, s, t belonging to the block B ′s (1 ≦ s ≦ S, S is the total number of blocks to which the pixels defined by the t-th vertical scanning line belong), and The pixel W0s + 1, t belonging to the block B's + 1 is a boundary BR's between the block B's and the block B's + 1.
Are adjacent to each other. In addition, pixel values before deblocking processing of the pixels V0, s, t and the pixels W0, s, t are represented as v0, s, t and w0, s, t, respectively.

また、図5(b)に示すように、画素V0,s,t、および、画素W0,s,tのデブロッキング処理後の画素値をそれぞれ、v0’,s,t、および、w0’,s,tと表す。   Further, as shown in FIG. 5B, the pixel values after deblocking processing of the pixels V0, s, t and the pixels W0, s, t are respectively v0 ′, s, t, and w0 ′, Expressed as s, t.

デブロッキングフィルタ505は、v0’,s,tを、前述の(1)〜(9)によって算出し、画素V0,s,tに割り付ける。また、デブロッキングフィルタ505は、w0’,s,tを、前述の(1)〜(9)によって算出し、画素W0,s,tに割り付ける。   The deblocking filter 505 calculates v0 ', s, t according to the above (1) to (9) and assigns it to the pixel V0, s, t. Further, the deblocking filter 505 calculates w0 ', s, t according to the above (1) to (9) and assigns it to the pixel W0, s, t.

換言すれば、デブロッキングフィルタ505は、任意の垂直走査線が画定する画素であって、当該任意の垂直走査線と垂直に交わるブロック境界を介して互いに隣接するすべての画素に対して、上記v0’,s,t、および、w0’,s,tを算出し割り付ける。また、デブロッキングフィルタ505は、補正値Δpy,s,t(1≦s≦S、1≦t≦T、Tは垂直走
査線の総数)を
Δpys,t=v0’,s,t−v0,s,t
によって算出し、その絶対値を領域特定部506に対して出力する。また、デブロッキングフィルタ505は、補正値Δqy,s,t(1≦s≦S、1≦t≦T)を
Δqys,t=w0’,s,t−w0,s,t
によって算出し、その絶対値を領域特定部506に対して出力する。
In other words, the deblocking filter 505 applies the above v0 to all pixels that are defined by an arbitrary vertical scanning line and that are adjacent to each other through a block boundary perpendicular to the arbitrary vertical scanning line. ', s, t and w0', s, t are calculated and assigned. Further, the deblocking filter 505 converts the correction value Δpy, s, t (1 ≦ s ≦ S, 1 ≦ t ≦ T, T is the total number of vertical scanning lines) into Δpys, t = v0 ′, s, t−v0, s, t
And the absolute value is output to the area specifying unit 506. Further, the deblocking filter 505 converts the correction value Δqy, s, t (1 ≦ s ≦ S, 1 ≦ t ≦ T) into Δqys, t = w0 ′, s, t−w0, s, t.
And the absolute value is output to the area specifying unit 506.

また、デブロッキングフィルタ505は、自身に入力される全てのフレームに対して上記補正値の絶対値を算出し、領域特定部506に対して出力する。   Further, the deblocking filter 505 calculates the absolute value of the correction value for all frames input to the deblocking filter 505 and outputs the absolute value to the region specifying unit 506.

(領域特定部506)
続いて、領域特定部506について説明する。
(Area specifying unit 506)
Next, the area specifying unit 506 will be described.

領域特定部506は、デブロッキングフィルタ505におけるデブロッキング処理の効果がより顕著である領域を特定するための手段である。換言すれば、領域特定部506は、デブロッキングフィルタ505においてデブロッキング処理が施される前のブロックの画素値と、デブロッキングフィルタ505においてデブロッキング処理が施された後のブロックの画素値とに基づいて、デブロッキング処理の効果がより顕著である領域を特定する。   The area specifying unit 506 is a means for specifying an area where the effect of the deblocking process in the deblocking filter 505 is more remarkable. In other words, the region specifying unit 506 converts the pixel value of the block before the deblocking process is performed in the deblocking filter 505 and the pixel value of the block after the deblocking process is performed in the deblocking filter 505. Based on this, an area where the effect of the deblocking process is more remarkable is identified.

以下では、領域特定部506について、図7〜図11を参照して説明する。   Hereinafter, the region specifying unit 506 will be described with reference to FIGS.

まず、デコーダ部32が、図7に示すような映像を表す符号化データ#31の復号を行っている場合を例にとり説明を行う。   First, the case where the decoder unit 32 is decoding encoded data # 31 representing video as shown in FIG. 7 will be described as an example.

図7は、静止した背景上を雲が右上から左下に素早く通り過ぎるCG映像であって、画面中央部には静止したテロップが重ね合わされている。図7における矢印は、雲の動く方向を示している。図7に示す雲のように動きのある部分においては、映像が複雑に変化するため、ブロックノイズが顕著になる傾向がある。   FIG. 7 is a CG image in which a cloud quickly passes over a stationary background from the upper right to the lower left, and a stationary telop is superimposed on the center of the screen. The arrows in FIG. 7 indicate the moving direction of the clouds. In a moving part such as a cloud shown in FIG. 7, since the video changes in a complicated manner, the block noise tends to be remarkable.

領域特定部506は、まず、デブロッキングフィルタ505から入力される補正値の絶対値|Δpx,m,n|(1≦m≦M、1≦n≦N)と補正値の絶対値|Δqx,m+1,n|との(補正値の絶対値の)平均値Ax,n,mを
Ax,n,m=(|Δpx,m,n|+|Δqx,m+1,n|)/2
によって算出し、ブロック境界BRmにおける補正値の絶対値とする。
First, the region specifying unit 506 first calculates the absolute value | Δpx, m, n | (1 ≦ m ≦ M, 1 ≦ n ≦ N) of the correction value input from the deblocking filter 505 and the absolute value | Δqx, The average value Ax, n, m (of the absolute value of the correction value) with m + 1, n | is Ax, n, m = (| Δpx, m, n | + | Δqx, m + 1, n |) / 2
To obtain the absolute value of the correction value at the block boundary BRm.

また、領域特定部506は、デブロッキングフィルタ505から入力される補正値の絶対値|Δpy,s,t|(1≦s≦S、1≦t≦T)と、補正値の絶対値|Δqy,s+1,t|との(補正値の絶対値の)平均値Ay,s,tを
Ay,s,t=(|Δpy,s,t|+|Δqy,s+1,t|)/2
によって算出し、ブロック境界BR’sにおける補正値の絶対値とする。
The region specifying unit 506 also outputs the absolute value | Δpy, s, t | (1 ≦ s ≦ S, 1 ≦ t ≦ T) of the correction value input from the deblocking filter 505 and the absolute value | Δqy of the correction value. , s + 1, t | is the average value Ay, s, t (of the absolute value of the correction value) Ay, s, t = (| Δpy, s, t | + | Δqy, s + 1, t |) / 2
To obtain the absolute value of the correction value at the block boundary BR's.

換言すれば、領域特定部506は、任意の水平走査線が画定する画素であって、当該任意の水平走査線に垂直に交わるブロック境界を介して互いに隣接する画素における補正値の絶対値を、当該互いに隣接する画素ごとに平均することによって、上記(補正値の絶対
値の)平均値Ax,n,m(1≦m≦M、1≦n≦N)を算出し、当該ブロック境界における
補正値の絶対値とする。また、領域特定部506は、任意の垂直走査線が画定する画素であって、当該任意の垂直走査線に垂直に交わるブロック境界を介して互いに隣接する画素における補正値の絶対値を、当該互いに隣接する画素ごとに平均することによって、上記(補正値の絶対値の)平均値Ay,s,t(1≦s≦S、1≦t≦T)を算出し、当該ブロック境界における補正値の絶対値とする。
In other words, the area specifying unit 506 determines the absolute value of the correction value in a pixel defined by an arbitrary horizontal scanning line and adjacent to each other via a block boundary perpendicularly intersecting the arbitrary horizontal scanning line. The average value Ax, n, m (1 ≦ m ≦ M, 1 ≦ n ≦ N) (the absolute value of the correction value) is calculated by averaging the pixels adjacent to each other, and correction at the block boundary is performed. The absolute value. Further, the region specifying unit 506 is a pixel defined by an arbitrary vertical scanning line, and calculates the absolute value of the correction value in pixels adjacent to each other via a block boundary perpendicular to the arbitrary vertical scanning line. The average value Ay, s, t (1 ≦ s ≦ S, 1 ≦ t ≦ T) (the absolute value of the correction value) is calculated by averaging each adjacent pixel, and the correction value at the block boundary is calculated. Absolute value.

なお、一般に、上記補正値の絶対値の平均値がより大きいブロック境界においては、ブロックノイズがより大きい。   In general, block noise is larger at block boundaries where the average of the absolute values of the correction values is larger.

また、領域特定部506は、補正値の絶対値|Δpx,m,n|(1≦m≦M、1≦n≦N)、補正値の絶対値|Δqx,m,n|、補正値の絶対値|Δpy,s,t|(1≦s≦S、1≦
t≦T)、および、補正値の絶対値|Δqy,s,t|を内部メモリに格納しておくことが好ましい。また、領域特定部506は、上記補正値の絶対値に加えて、または、上記補正値の絶対値に代えて、補正値の絶対値の平均値Ax,n,m、および、補正値の絶対値の平均値Ay,s,tを内部メモリに格納するような構成としてもよい。
The area specifying unit 506 also includes the absolute value | Δpx, m, n | (1 ≦ m ≦ M, 1 ≦ n ≦ N) of the correction value, the absolute value | Δqx, m, n | Absolute value | Δpy, s, t | (1 ≦ s ≦ S, 1 ≦
t ≦ T) and the absolute value | Δqy, s, t | of the correction value are preferably stored in the internal memory. In addition to the absolute value of the correction value, or in place of the absolute value of the correction value, the area specifying unit 506 calculates the average value Ax, n, m of the absolute value of the correction value and the absolute value of the correction value. The average value Ay, s, t of the values may be stored in the internal memory.

図8(a)は、領域特定部506が算出する補正値の絶対値の平均値Ax,m,nをブロック境界の位置ごとに示すグラフであり、縦軸は、当該補正値の絶対値の平均値Ax,m,nの値を表し、横軸は、図7におけるA−A’に沿った、当該ブロック境界の画面上の水平方向の位置を表している。   FIG. 8A is a graph showing the average value Ax, m, n of the absolute value of the correction value calculated by the area specifying unit 506 for each block boundary position, and the vertical axis indicates the absolute value of the correction value. The average value Ax, m, n is represented, and the horizontal axis represents the horizontal position of the block boundary on the screen along AA ′ in FIG.

図8(a)に示すように、画面上の水平方向の中央部においては、補正値の絶対値の平均値Ax,m,nの値は、その他の領域に比べて小さくなっている。これは、図7に示すように、画面上の中央部に静止したテロップが表示されていることに対応している。また、図8(a)に示すように、上記中央部以外の領域においては、補正値の絶対値の平均値Ax,m,nの値がより大きくなっている。これは、上記中央部以外の領域には、動きのある雲が表示されていることに対応する。   As shown in FIG. 8A, the average value Ax, m, n of the absolute value of the correction value is smaller in the central portion in the horizontal direction on the screen than in the other areas. This corresponds to the fact that a stationary telop is displayed at the center of the screen as shown in FIG. Further, as shown in FIG. 8A, in the region other than the central portion, the average value Ax, m, n of the absolute value of the correction value is larger. This corresponds to the fact that a moving cloud is displayed in a region other than the central portion.

同様に、図8(b)は、領域特定部506が算出する補正値の絶対値の平均値Ay,s,tをブロック境界の位置ごとに示すグラフであり、縦軸は、当該補正値の絶対値の平均値Ay,s,tの値を表し、横軸は、図7におけるB−B’に沿った、当該ブロック境界の画面上の垂直方向の位置を表している。   Similarly, FIG. 8B is a graph showing the average value Ay, s, t of the absolute value of the correction value calculated by the area specifying unit 506 for each position of the block boundary, and the vertical axis indicates the correction value. The absolute value average value Ay, s, t is represented, and the horizontal axis represents the position of the block boundary in the vertical direction along the line BB ′ in FIG.

また、領域特定部506は、ブロック境界BRmに割り付けられた補正値の絶対値の平
均値Ax,m,nの水平方向に沿った移動平均を算出する。具体的には、例えば、領域特定部506は、移動平均MAx,m,nを
MAx,m,n=ΣAx,k,n×(1/R)
によって算出する。ここで、Σは、n番目の水平走査線が交差するブロック境界であって、m番目のブロック境界BRmを含む複数のブロック境界からなるブロック境界群に関す
る和を表し、Rは、当該ブロック境界群に含まれるブロック境界の数を表している。また、上記添え字kは、上記ブロック境界群に属するブロック境界を識別する添え字であり、上記ブロック境界群に含まれるブロック境界の数は、予め定められているものとする。
The area specifying unit 506 calculates a moving average along the horizontal direction of the average value Ax, m, n of the absolute value of the correction value assigned to the block boundary BRm. Specifically, for example, the region specifying unit 506 calculates the moving average MAx, m, n as MAx, m, n = ΣAx, k, n × (1 / R).
Calculated by Here, Σ represents a block boundary at which the nth horizontal scanning line intersects, and represents a sum related to a block boundary group including a plurality of block boundaries including the mth block boundary BRm, and R represents the block boundary group. Represents the number of block boundaries included in. The subscript k is a subscript for identifying a block boundary belonging to the block boundary group, and the number of block boundaries included in the block boundary group is predetermined.

なお、上記ブロック境界群の具体的な要素としては、例えば、ブロック境界BRmを中
心とした水平方向に予め定められた範囲に含まれるブロック境界をとればよい。例えば、ブロック境界BRmを中心として、水平方向に予め定められた範囲に含まれるブロック境
界が、ブロック境界BRm-2、BRm-1、BRm、BRm+1、BRm+2である場合には、上記
移動平均MAx,m,nは、
MAx,m,n=(Ax,m-2,n+Ax,m-1,n+Ax,m,n+Ax,m+1,n+Ax,m+2,n)/5
によって算出することができる。
As specific elements of the block boundary group, for example, a block boundary included in a predetermined range in the horizontal direction around the block boundary BRm may be taken. For example, when the block boundaries included in a predetermined range in the horizontal direction around the block boundary BRm are the block boundaries BRm-2, BRm-1, BRm, BRm + 1, BRm + 2, The moving average MAX, m, n is
MAx, m, n = (Ax, m-2, n + Ax, m-1, n + Ax, m, n + Ax, m + 1, n + Ax, m + 2, n) / 5
Can be calculated.

また、領域特定部506は、上記移動平均MAx,m,nを、全てのmに対して算出し、当該移動平均MAx,m,nの値が最大となるmの値を特定する。換言すれば、領域特定部506は、補正値の絶対値の平均値Ax,m,nの水平方向に沿った移動平均を算出し、当該移動平均の値が最大となる水平方向の位置を特定する。   The area specifying unit 506 calculates the moving average MAx, m, n for all m, and specifies the value of m that maximizes the value of the moving average MAx, m, n. In other words, the area specifying unit 506 calculates the moving average along the horizontal direction of the average value Ax, m, n of the absolute value of the correction value, and specifies the horizontal position where the moving average value is maximum. To do.

同様に、領域特定部506は、ブロック境界BR’sに割り付けられた補正値の絶対値
の平均値Ay,s,tの垂直方向に沿った移動平均を算出する。具体的には、領域特定部506は、移動平均MAx,m,nを
MAy,s,t=ΣAy,u,t×(1/R’)
によって算出する。ここで、Σは、t番目の垂直走査線が交差するブロック境界であって
、s番目のブロック境界BR’sを含む複数のブロック境界からなるブロック境界群に関
する和を表し、R’は、当該ブロック境界群に含まれるブロック境界の数を表している。また、上記添え字uは、上記ブロック境界群に属するブロック境界を識別する添え字であり、上記ブロック境界群に含まれるブロック境界の数は、予め定められているものとする。
Similarly, the area specifying unit 506 calculates a moving average along the vertical direction of the average value Ay, s, t of the absolute value of the correction value assigned to the block boundary BR ′s. Specifically, the area specifying unit 506 calculates the moving average MAx, m, n as MAy, s, t = ΣAy, u, t × (1 / R ′).
Calculated by Here, Σ represents a block boundary at which the t-th vertical scanning line intersects, and represents a sum related to a block boundary group including a plurality of block boundaries including the s-th block boundary BR ′s, and R ′ represents the block boundary. This represents the number of block boundaries included in the group. The subscript u is a subscript for identifying a block boundary belonging to the block boundary group, and the number of block boundaries included in the block boundary group is predetermined.

また、領域特定部506は、上記移動平均MAy,s,tを、全てのsに対して算出し、当
該移動平均MAy,s,tの値が最大となるsの値を特定する。換言すれば、領域特定部50
6は、補正値の絶対値の平均値Ay,s,tの垂直方向に沿った移動平均を算出し、当該移動平均の値が最大となる垂直方向の位置を特定する。すなわち、領域特定部506は、デブロッキングフィルタ505によるブロック歪みの低減率が最大となる領域((X0、Y0)を中心とした水平方向の長さがSxであり垂直方向の長さがSyである領域)を特定する。
The area specifying unit 506 calculates the moving average MAy, s, t for all s, and specifies the value of s that maximizes the value of the moving average MAy, s, t. In other words, the area specifying unit 50
6 calculates the moving average along the vertical direction of the average value Ay, s, t of the absolute value of the correction value, and specifies the position in the vertical direction where the moving average value is maximum. That is, the region specifying unit 506 has a horizontal length Sx and a vertical length Sy centered on a region ((X0, Y0)) where the reduction rate of block distortion by the deblocking filter 505 is maximum. A certain area).

なお、上記の例では、移動平均として、単純平均をとる場合について説明したが、本発明はこれに限定されるものではない。すなわち、上記移動平均として、単純平均に代えて加重平均をとってもよいし、その他の平均演算を用いてもよい。   In the above example, the case where a simple average is taken as the moving average has been described, but the present invention is not limited to this. That is, as the moving average, a weighted average may be used instead of the simple average, or another average calculation may be used.

図9(a)は、領域特定部506によって算出された移動平均MAx,m,nであって、水平方向の長さが予め定められた長さSxである範囲に対してとられた移動平均の値を示すグラフである。図9(a)の縦軸は、移動平均MAx,m,nの値を表しており、横軸は、図7におけるA−A’に沿った、当該ブロック境界の画面上の水平方向の位置を表している。図9(a)に示すように、領域特定部506は、移動平均MAx,m,nの値が最も大きくなる画面上の水平位置X0を特定する。   FIG. 9A shows the moving average MAx, m, n calculated by the area specifying unit 506 and the moving average taken for a range in which the horizontal length is a predetermined length Sx. It is a graph which shows the value of. The vertical axis in FIG. 9A represents the value of the moving average MAx, m, n, and the horizontal axis represents the horizontal position on the screen of the block boundary along AA ′ in FIG. Represents. As shown in FIG. 9A, the area specifying unit 506 specifies the horizontal position X0 on the screen where the value of the moving average MAx, m, n is the largest.

同様に、図9(b)は、領域特定部506によって算出された移動平均MAy,s,tであって、垂直方向の長さが予め定められた長さSyである範囲に対してとられた移動平均の値を示すグラフである。図9(b)の縦軸は、移動平均MAy,s,tの値を表しており、横軸は、図7におけるB−B’に沿った、当該ブロック境界の画面上の垂直方向の位置を表している。図9(b)に示すように、領域特定部506は、移動平均MAy,s,tの値が最も大きくなる画面上の垂直位置Y0を特定する。   Similarly, FIG. 9B is taken with respect to a range in which the moving average MAy, s, t calculated by the region specifying unit 506 and the vertical length is a predetermined length Sy. It is a graph which shows the value of the moving average. The vertical axis in FIG. 9B represents the value of the moving average MAy, s, t, and the horizontal axis represents the position of the block boundary in the vertical direction along the line BB ′ in FIG. Represents. As shown in FIG. 9B, the area specifying unit 506 specifies the vertical position Y0 on the screen where the value of the moving average MAy, s, t is the largest.

画面上の水平位置X0を中心とした長さSxである範囲において、ブロックノイズがより顕著であり、画面上の垂直位置Y0を中心とした長さSyである範囲において、ブロックノイズがより顕著である。   Block noise is more prominent in the range of the length Sx centered on the horizontal position X0 on the screen, and block noise is more prominent in the range of the length Sy centered on the vertical position Y0 on the screen. is there.

すなわち、図7に示す映像においては、(X0、Y0)を中心とした水平方向の長さがSxであり垂直方向の長さがSyである領域R(以下、特定領域Rと呼ぶ)においてブロックノイズがより顕著である。換言すれば、上記の特定領域Rにおいて、デブロッキングフィルタ505におけるデブロッキング処理の効果がより顕著に現れる。   In other words, in the video shown in FIG. 7, a block is generated in a region R (hereinafter referred to as a specific region R) in which the horizontal length around (X0, Y0) is Sx and the vertical length is Sy. Noise is more pronounced. In other words, in the specific region R, the effect of the deblocking process in the deblocking filter 505 appears more significantly.

領域特定部506は、上記水平位置X0、上記垂直位置Y0、長さSx、および、長さSyの情報を含む情報である特定領域情報#506を、フレームごとに制御部46に対して出力する。   The area specifying unit 506 outputs specific area information # 506, which includes information on the horizontal position X0, the vertical position Y0, the length Sx, and the length Sy, to the control unit 46 for each frame. .

また、上記の説明においては、領域特定部506は、水平方向、および、垂直方向に対してそれぞれ独立に移動平均の値が最大になる位置を特定するとしたが、本発明はこれに限定されるものではない。例えば、領域特定部506は、移動平均MAx,m,nと移動平均MAy,s,tの和が最大となる位置を特定してもよいし、その他の方法によって位置を特定してもよい。   In the above description, the region specifying unit 506 specifies the position where the moving average value is maximized independently in the horizontal direction and the vertical direction, but the present invention is limited to this. It is not a thing. For example, the region specifying unit 506 may specify the position where the sum of the moving average MAx, m, n and the moving average MAy, s, t is maximum, or may specify the position by other methods.

また、領域特定部506は、移動平均をとらずに、補正値の絶対値の平均値Ax,n,mと補正値の絶対値の平均値Ay,s,tのそれぞれの値が最大となる位置を特定し、当該位置を表す情報を制御部46に出力してもよいし、補正値の絶対値の平均値Ax,n,mと補正値の絶対値の平均値Ay,s,tの和が最大となる位置を特定し、当該位置を表す情報を制御部46に出力してもよい。   In addition, the area specifying unit 506 maximizes the average value Ax, n, m of the absolute value of the correction value and the average value Ay, s, t of the absolute value of the correction value without taking the moving average. The position may be specified and information indicating the position may be output to the control unit 46, or the average value Ax, n, m of the absolute value of the correction value and the average value Ay, s, t of the absolute value of the correction value A position where the sum is maximum may be specified, and information representing the position may be output to the control unit 46.

また、領域特定部506は、上述した移動平均をとる代わりに、上記補正値の絶対値の平均値のセットを周波数変換し、高周波成分を除去することによって、上記補正値の絶対値の平均値を平滑化し、平滑化した補正値の絶対値の平均値が最大となる点を特定し、当該位置を表す情報を制御部46に出力してもよい。   Further, instead of taking the moving average described above, the region specifying unit 506 performs frequency conversion on the set of absolute values of the correction values and removes high frequency components, thereby removing the average value of the absolute values of the correction values. May be specified, the point where the average value of the absolute values of the smoothed correction values is maximized may be specified, and information indicating the position may be output to the control unit 46.

また、上記の長さSx、および、Syの値は、予め定められていてもよいし、補正値の絶対値の平均値Ax,m,n(1≦m≦M)、および、補正値の絶対値の平均値Ay,s,t(1≦s≦S)の分布の広がりに応じて定めてもよい。例えば、補正値の絶対値の平均値Ax,m,n(1≦m≦M)の分布の広がりがより大きい場合には、Sxの値をより大きくとり、補正値の絶対値の平均値Ay,s,t(1≦s≦S)の分布の広がりがより大きい場合には、Syの値をより大きくよってもよい。   The values of the lengths Sx and Sy may be determined in advance, or the average value Ax, m, n (1 ≦ m ≦ M) of the absolute value of the correction value and the correction value You may determine according to the breadth of distribution of the average value Ay, s, t (1 <= s <= S) of absolute value. For example, when the spread of the distribution of the average value Ax, m, n (1 ≦ m ≦ M) of the absolute value of the correction value is larger, the value of Sx is made larger and the average value Ay of the absolute value of the correction value , s, t (1 ≦ s ≦ S) may be larger when the spread of the distribution is larger.

また、領域特定部506は、補正値の絶対値の平均値Ax,m,n、および、補正値の絶対値の平均値Ay,s,tに代えて、複数のフレームに関する補正値の絶対値の平均値Ax,m,nの平均、および、複数のフレームに関する補正値の絶対値の平均値Ay,s,tの平均を用いてもよい。具体的には、領域特定部506は、補正値の絶対値の平均値Ax,m,nの数十フレームに対する平均、および、補正値の絶対値の平均値Ay,s,t当該数十フレームに対する平均を用いてもよい。   In addition, the area specifying unit 506 replaces the average value Ax, m, n of the absolute value of the correction value and the average value Ay, s, t of the absolute value of the correction value with the absolute value of the correction value regarding a plurality of frames. The average value Ax, m, n of the average value and the average value Ay, s, t of the absolute values of the correction values for a plurality of frames may be used. Specifically, the area specifying unit 506 calculates the average of the absolute value Ax, m, n of the correction value with respect to several tens frames and the average value Ay, s, t of the absolute value of the correction value. An average for may be used.

また、領域特定部506は、補正値の絶対値の平均値Ax,m,n、および、補正値の絶対値の平均値Ay,s,tの値が、予め定められた閾値以上であるときに、上記水平位置X0、上記垂直位置Y0、長さSx、および、長さSyを、制御部46に対して出力することが好ましい。   The area specifying unit 506 also determines that the average value Ax, m, n of the absolute value of the correction value and the average value Ay, s, t of the absolute value of the correction value are equal to or greater than a predetermined threshold value. In addition, the horizontal position X0, the vertical position Y0, the length Sx, and the length Sy are preferably output to the control unit 46.

図10は、連続する複数のフレームにおける特定のブロック境界に対する補正値の絶対値の平均値Ax,m,n、および、補正値の絶対値の平均値Ay,s,tを示すグラフである。図10の縦軸は、補正値の絶対値の平均値Ax,m,n、および、補正値の絶対値の平均値Ay,s,tの大きさを表しており、横軸は、フレーム番号を表している。また、図10の丸印は、補正値の絶対値の平均値Ax,m,nを表しており、図10の三角印は、補正値の絶対値の平均値Ay,s,tを表している。なお、フレーム番号は、表示されるフレームの順番で割り当てられているため、図10は、補正値の絶対値の平均値Ax,m,n、および、補正値の絶対値の平均値Ay,s,tの時間変化を表すグラフであると解釈することもできる。   FIG. 10 is a graph showing an average value Ax, m, n of absolute values of correction values and an average value Ay, s, t of absolute values of correction values for a specific block boundary in a plurality of consecutive frames. The vertical axis in FIG. 10 represents the average value Ax, m, n of the absolute value of the correction value and the average value Ay, s, t of the absolute value of the correction value, and the horizontal axis represents the frame number. Represents. 10 represents the average value Ax, m, n of the absolute value of the correction value, and the triangle mark of FIG. 10 represents the average value Ay, s, t of the absolute value of the correction value. Yes. Since the frame numbers are assigned in the order of the frames to be displayed, FIG. 10 shows the average value Ax, m, n of the absolute value of the correction value and the average value Ay, s of the absolute value of the correction value. , t can be interpreted as a graph representing the time change of t.

領域特定部506は、例えば、補正値の絶対値の平均値Ax,m,nの大きさが図10に示す閾値Th1以上である場合に、補正値の絶対値の平均値Ax,m,n、補正値の絶対値の平均値Ay,s,t、Sx、および、Syを出力するようにしてもよいし、補正値の絶対値の平均値Ay,s,tが図10に示す閾値Th2以上である場合に、補正値の絶対値の平均値Ax,m,n、補正値の絶対値の平均値Ay,s,t、Sx、および、Syを出力するようにしてもよい。   For example, when the average value Ax, m, n of the absolute value of the correction value is equal to or larger than the threshold value Th1 shown in FIG. 10, the region specifying unit 506 calculates the average value Ax, m, n of the absolute value of the correction value. The average value Ay, s, t, Sx and Sy of the absolute value of the correction value may be output, or the average value Ay, s, t of the absolute value of the correction value is a threshold value Th2 shown in FIG. In the above case, the average value Ax, m, n of the absolute value of the correction value and the average value Ay, s, t, Sx, and Sy of the absolute value of the correction value may be output.

図10に示す期間Tは、補正値の絶対値の平均値Ax,m,n、および、補正値の絶対値の平均値Ay,s,tが、それぞれ、閾値Th1、および、閾値Th2以上である期間を示している。   In the period T shown in FIG. 10, the average value Ax, m, n of the absolute value of the correction value and the average value Ay, s, t of the absolute value of the correction value are greater than or equal to the threshold value Th1 and the threshold value Th2, respectively. It shows a certain period.

図11(a)は、領域特定部506によって、フレームごとに特定された水平位置X0を、連続する複数のフレームに対して表したグラフである。図11(a)の縦軸は、各々のフレームに対して特定された水平位置X0を示しており、横軸は、各々のフレームのフレーム番号を示している。   FIG. 11A is a graph showing the horizontal position X0 specified for each frame by the region specifying unit 506 with respect to a plurality of continuous frames. In FIG. 11A, the vertical axis indicates the horizontal position X0 specified for each frame, and the horizontal axis indicates the frame number of each frame.

同様に、図11(b)は、領域特定部506によって、フレームごとに特定された垂直位置Y0を、連続する複数のフレームに対して表したグラフである。図11(b)の縦軸は、各々のフレームに対して特定された垂直位置Y0を示しており、横軸は、各々のフレームのフレーム番号を示している。   Similarly, FIG. 11B is a graph showing the vertical position Y0 specified for each frame by the region specifying unit 506 for a plurality of consecutive frames. In FIG. 11B, the vertical axis indicates the vertical position Y0 specified for each frame, and the horizontal axis indicates the frame number of each frame.

図11(a)、および、図11(b)に示す期間Tは、図10に示す期間Tと同一の期間である。図11(a)、および、図11(b)に示すように、期間Tにおいて、水平位置X0、および、垂直位置Y0は、いずれも、他の期間に比べて変動がより小さい。   A period T shown in FIGS. 11A and 11B is the same period as the period T shown in FIG. As shown in FIGS. 11A and 11B, in the period T, the horizontal position X0 and the vertical position Y0 are less varied than in other periods.

このように、領域特定部506は、補正値の絶対値の平均値Ax,m,n、または、補正値の絶対値の平均値Ay,s,tの値が予め定められた閾値以上である場合に、補正値の絶対値の平均値Ax,m,n、Ay,s,t、Sx、および、Syを出力することが好ましい。このような構成をとることによって、より変動の少ない水平位置X0、および、垂直位置Y0を出力することができる。換言すれば、位置変動のより少ない上記特定領域Rを表示モジュール4に表示することができる。これによって、ユーザの見やすいデモ映像を表示することができる。   As described above, the area specifying unit 506 has the average value Ax, m, n of the absolute value of the correction value or the average value Ay, s, t of the absolute value of the correction value equal to or greater than a predetermined threshold value. In this case, it is preferable to output average values Ax, m, n, Ay, s, t, Sx, and Sy of absolute values of correction values. By adopting such a configuration, it is possible to output the horizontal position X0 and the vertical position Y0 with less fluctuation. In other words, the specific region R with less positional fluctuation can be displayed on the display module 4. This makes it possible to display a demo video that is easy for the user to see.

また、上記の説明では、領域特定部506は、ブロック境界BRmに割り付けられた平
均補正値の絶対値の平均値Ax,m,nの水平方向に沿った移動平均を算出するとしたが、本発明はこれに限られるものではない。すなわち、領域特定部506は、補正値の絶対値|Δpx,m,n|の水平方向の沿った移動平均を算出し、当該移動平均の値が最大であるブロック境界BRmを特定するような構成としてもよい。また、領域特定部506は、補正値
の絶対値|Δqx,m,n|の水平方向の沿った移動平均を算出し、当該移動平均の値が最大であるブロック境界BRmを特定するような構成としてもよい。同様に、領域特定部50
6は、補正値の絶対値|Δpy,s,t|の垂直方向の沿った移動平均を算出し、当該移動平均の値が最大であるブロック境界BR’sを特定するような構成としてもよい。また、領
域特定部506は、補正値の絶対値|Δqy,s,t|の垂直方向の沿った移動平均を算出し、当該移動平均の値が最大であるブロック境界BR’sを特定するような構成としてもよ
い。
In the above description, the region specifying unit 506 calculates the moving average along the horizontal direction of the average value Ax, m, n of the absolute value of the average correction value assigned to the block boundary BRm. Is not limited to this. That is, the region specifying unit 506 calculates a moving average along the horizontal direction of the absolute value | Δpx, m, n | of the correction value, and specifies the block boundary BRm having the maximum moving average value. It is good. The region specifying unit 506 calculates a moving average along the horizontal direction of the absolute value | Δqx, m, n | of the correction value, and specifies the block boundary BRm having the maximum moving average value. It is good. Similarly, the area specifying unit 50
6 may be configured such that a moving average along the vertical direction of the absolute value | Δpy, s, t | of the correction value is calculated, and the block boundary BR ′s having the maximum moving average value is specified. Further, the region specifying unit 506 calculates a moving average along the vertical direction of the absolute value | Δqy, s, t | of the correction value, and specifies a block boundary BR ′s having the maximum moving average value. It is good.

(デモモードにおける表示装置100の動作)
以下では、ユーザからデモモードの表示が指示された場合の表示装置100の動作の流れについて説明する。なお、デモモードとは、ユーザからの指示に基づき、表示装置100におけるデブロッキングフィルタ505によるフィルタリング処理の効果を強調して表示するモードのことを指す。表示パネル1は、エンドユーザがリモコンを介してデモモードを指示してもよいし、店頭において、デモモード用のB−CASカードが挿入された場合にデモモードを表示するような構成としてもよい。
(Operation of Display Device 100 in Demo Mode)
Below, the flow of operation of the display device 100 when the display of the demo mode is instructed by the user will be described. Note that the demo mode refers to a mode in which the effect of filtering processing by the deblocking filter 505 in the display device 100 is emphasized and displayed based on an instruction from the user. The display panel 1 may be configured such that the end user instructs the demo mode via the remote controller, or displays the demo mode when a B-CAS card for demo mode is inserted at the store. .

制御部46は、ユーザからデモモード表示指示を受けると、デコーダ部32に対して2系統処理指示信号#46aを出力すると共に、映像選択部34に対して、映像選択情報#46b、および、表示位置情報#46cを出力する。   When receiving a demonstration mode display instruction from the user, the control unit 46 outputs a two-system processing instruction signal # 46a to the decoder unit 32, and outputs video selection information # 46b and display to the video selection unit 34. Position information # 46c is output.

ここで、映像選択情報#46bとは、映像選択部34に対して入力される復号済データ#32または復号済データ#32’のうち、いずれの復号済データを第1メモリ領域51
に格納し、残りのもう一つの復号済データを第2メモリ領域52に格納するべきかを示す情報である。なお、第1メモリ領域51または第2メモリ領域52に格納されるフレームは全てのフレームであってもよいし、特定の一部のフレームであってもよい。また、表示位置情報#46cとは、映像選択部が出力するデータが表す映像のどの一部の領域を切り取ってメモリ部50に書き込むのかを示す情報である。
Here, the video selection information # 46b refers to any decoded data of the decoded data # 32 or the decoded data # 32 ′ input to the video selection unit 34 in the first memory area 51.
Stored in the second memory area 52, and the remaining other decoded data should be stored in the second memory area 52. The frames stored in the first memory area 51 or the second memory area 52 may be all frames or a specific part of the frames. The display position information # 46c is information indicating which part of the video represented by the data output from the video selection unit is to be cut out and written into the memory unit 50.

デコーダ部32は、2系統処理指示信号#46aを受けると、符号化データ#31に対して、デブロッキングフィルタ505におけるデブロッキング処理を施した復号済データ#32と、デブロッキングフィルタ505におけるデブロッキング処理を施していない復号済データ#32’とを映像選択部34に対して出力する。   Upon receiving the two-system processing instruction signal # 46a, the decoder unit 32 receives the decoded data # 32 obtained by performing the deblocking process in the deblocking filter 505 on the encoded data # 31, and the deblocking in the deblocking filter 505. The decoded data # 32 ′ that has not been processed is output to the video selection unit.

また、デコーダ部32は、2系統処理指示信号#46aを受けると、領域特定部506によって特定された上記水平位置X0、上記垂直位置Y0、長さSx、および、長さSyの情報を含む情報である特定領域情報#506を、制御部46に対して出力する。   In addition, when the decoder unit 32 receives the two-system processing instruction signal # 46a, the information including the information on the horizontal position X0, the vertical position Y0, the length Sx, and the length Sy specified by the region specifying unit 506 is provided. The specific area information # 506 is output to the control unit 46.

制御部46は、デコーダ部32から供給される上記水平位置X0、上記垂直位置Y0、長さSx、および、長さSyの情報を含む領域情報#46dをスケーラ部41、スケーラ部42、および、OSD部53に対して出力する。   The control unit 46 converts the area information # 46d including the horizontal position X0, the vertical position Y0, the length Sx, and the length Sy information supplied from the decoder unit 32 into a scaler unit 41, a scaler unit 42, and Output to the OSD unit 53.

一方で、映像選択部34は、映像選択情報#46bおよび、表示位置情報#46cに基づき、復号済データ#32を第1メモリ領域51に格納し、復号済データ#32’を第2メモリ領域52に格納する。   On the other hand, the video selection unit 34 stores the decoded data # 32 in the first memory area 51 and the decoded data # 32 ′ in the second memory area based on the video selection information # 46b and the display position information # 46c. 52.

第1スケーラ部41は、第1メモリ領域51に格納されている映像データ#51を読み出し、所定の映像サイズへと変換する。変換された映像は、第1のスケール変換済データ#41として出力される。なお、上記映像データ#51は、上記復号済データ#32に対応している。   The first scaler unit 41 reads the video data # 51 stored in the first memory area 51 and converts it to a predetermined video size. The converted video is output as first scale-converted data # 41. The video data # 51 corresponds to the decoded data # 32.

同様に、第2スケーラ部42は、第2メモリ領域52に格納されている映像データ#52を読み出し、所定の映像サイズへと変換する。変換された映像は、第2のスケール変換済データ#42として出力される。なお、上記映像データ#52は、上記復号済データ#32’に対応している。   Similarly, the second scaler unit 42 reads the video data # 52 stored in the second memory area 52 and converts it to a predetermined video size. The converted video is output as second scale-converted data # 42. The video data # 52 corresponds to the decoded data # 32 '.

第1画質補正部43は、スケール変換済データ#41に対し、所定の画質補正処理を行い、第1の補正後データ#43を生成する。第1の補正後データ#43は、重ね合わせ部45に対して出力される。   The first image quality correction unit 43 performs a predetermined image quality correction process on the scale-converted data # 41 to generate first corrected data # 43. The first post-correction data # 43 is output to the overlay unit 45.

同様に、第2画質補正部44は、スケール変換済データ#42に対し、所定の画質補正処理を行い、第2の補正後データ#44を生成する。第2の補正後データ#44は、重ね合わせ部45に対して出力される。   Similarly, the second image quality correction unit 44 performs predetermined image quality correction processing on the scale-converted data # 42 to generate second corrected data # 44. The second post-correction data # 44 is output to the overlay unit 45.

一方で、OSD部53は、(X0、Y0)を中心とした水平方向の長さがSxであり垂直方向の長さがSyである特定領域Rの境界線を示す画像を生成する。OSD部53は、当該境界線を示す画像を含むOSD画像データ#53を重ね合わせ部45に対して出力する。   On the other hand, the OSD unit 53 generates an image indicating the boundary line of the specific region R having a horizontal length of Sx and a vertical length of Sy centered on (X0, Y0). The OSD unit 53 outputs OSD image data # 53 including an image indicating the boundary line to the overlay unit 45.

重ね合わせ部45は、第1の補正後データ#43、第2の補正後データ#44、および、OSD部53から供給されるOSD画像データ#53をフレームごとに組み合わせ、表示映像データ#45を生成し、フレームごとに出力する。   The superimposing unit 45 combines the first corrected data # 43, the second corrected data # 44, and the OSD image data # 53 supplied from the OSD unit 53 for each frame, and displays the display video data # 45. Generate and output every frame.

表示モジュール4は、自身が備えている表示部に、表示映像データ#45の表す映像を表示する。   The display module 4 displays the video represented by the display video data # 45 on the display unit included in the display module 4.

図12は、表示モジュール4に表示される映像の一例を示す図である。図12に示すように、表示モジュール4の左半面には、デブロッキング処理が施された映像が表示され、表示モジュール4の右半面には、デブロッキング処理が施されていない映像が表示される。また、領域特定部506にて特定された特定領域Rは、OSD部53によって生成された点線により枠囲みされている。   FIG. 12 is a diagram illustrating an example of an image displayed on the display module 4. As shown in FIG. 12, an image that has been subjected to deblocking processing is displayed on the left half surface of the display module 4, and an image that has not been subjected to deblocking processing is displayed on the right half surface of the display module 4. . Further, the specific area R specified by the area specifying unit 506 is surrounded by a dotted line generated by the OSD unit 53.

このような表示を行うことで、ユーザは、デブロッキング処理の効果が顕著である領域を視認することができる。   By performing such display, the user can visually recognize an area where the effect of the deblocking process is remarkable.

図13、表示モジュール4に表示される映像の他の例を示す図である。図13に示すように、表示装置100は、図12において枠囲みされた特定領域Rを拡大して表示する。   FIG. 13 is a diagram illustrating another example of the video displayed on the display module 4. As shown in FIG. 13, the display device 100 enlarges and displays the specific region R surrounded by the frame in FIG. 12.

図13のような表示を行うには、例えば、第1スケーラ部41が、映像データ#51の示す映像から特定領域Rを切り出し、所定の映像サイズへと変換したのち、第1のスケール変換済データ#41として出力し、第2スケーラ部42が、映像データ#52の示す映像から特定領域Rを切り出し、所定の映像サイズへと変換したのち、第2のスケール変換済データ#41として出力するような構成とすればよい。   In order to perform the display as shown in FIG. 13, for example, the first scaler 41 cuts out the specific area R from the video indicated by the video data # 51, converts it to a predetermined video size, and then performs the first scale conversion. The second scaler section 42 cuts out the specific area R from the video indicated by the video data # 52, converts it to a predetermined video size, and outputs it as the second scale-converted data # 41. Such a configuration may be adopted.

図13のような表示を行うことによって、ユーザは、デブロッキング処理の効果を明確に視認することができる。   By performing the display as shown in FIG. 13, the user can clearly see the effect of the deblocking process.

以上のように、本実施形態に係る表示装置100は、デブロッキングフィルタ505によりブロック歪みが低減された復号画像を表示する表示装置において、複数のブロックからなる上記復号画像上の領域であって、上記デブロッキングフィルタによるブロック歪みの低減率が最大となる領域を特定する特定手段(領域特定部506)と、上記特定手段によって特定された領域を表示部(表示モジュール4)に強調表示する強調表示手段(バックエンド部40)と、を備えている。   As described above, the display device 100 according to the present embodiment is a region on the decoded image including a plurality of blocks in the display device that displays the decoded image in which the block distortion is reduced by the deblocking filter 505. A specifying unit (region specifying unit 506) that specifies a region where the reduction rate of block distortion by the deblocking filter is maximized, and a highlight display that highlights the region specified by the specifying unit on the display unit (display module 4). Means (back end unit 40).

上記のように構成された本実施形態に係る表示装置100は、複数のブロックからなる上記復号画像上の領域であって、上記デブロッキングフィルタ505によるブロック歪みの低減率が最大となる領域を特定する特定手段(領域特定部506)を備えているため、各フレームに対して、上記デブロッキングフィルタ505によるブロック歪みの低減率が最大となる領域、すなわち、デブロッキングフィルタ505によるフィルタリング処理の効果が最も大きい領域を特定することができる。また、本実施形態に係る表示装置100は、上記特定手段(領域特定部506)によって特定された領域を表示部(表示モジュール4)に強調表示する強調表示手段(バックエンド部40)を備えているため、デブロッキングフィルタによるブロック歪みの低減効果が最も大きい領域を強調表示することによって、デブロッキングフィルタ505によるフィルタリング処理の効果をユーザに認識せしめることができる。   The display device 100 according to the present embodiment configured as described above specifies an area on the decoded image including a plurality of blocks, in which the reduction rate of the block distortion by the deblocking filter 505 is maximized. Since the specifying means (area specifying unit 506) is provided, the effect of the filtering process by the deblocking filter 505, that is, the area where the reduction rate of the block distortion by the deblocking filter 505 is maximized for each frame is provided. The largest area can be identified. In addition, the display device 100 according to the present embodiment includes a highlighting display unit (back end unit 40) that highlights the region specified by the specifying unit (region specifying unit 506) on the display unit (display module 4). Therefore, by highlighting the area where the effect of reducing the block distortion by the deblocking filter is highlighted, the effect of the filtering process by the deblocking filter 505 can be recognized by the user.

なお、本実施形態に係る表示装置10は、ブロック歪みの低減率が最大となる領域を拡大表示することによって強調するものであるが、ブロック歪みの低減率が最大となる領域を強調表示する方法はこれに限定されない。例えば、ブロック歪みの低減率が最大となる領域を枠で囲んだり、ブロック歪みの低減率が最大となる領域以外の領域のマスクしたりすることによって、ブロック歪みの低減率が最大となる領域を強調してもよい。   Note that the display device 10 according to the present embodiment emphasizes by enlarging and displaying the region where the block distortion reduction rate is maximized, but the method of highlighting the region where the block distortion reduction rate is maximized is displayed. Is not limited to this. For example, by enclosing an area where the block distortion reduction rate is maximized with a frame or by masking an area other than the area where the block distortion reduction rate is maximized, an area where the block distortion reduction rate is maximized is selected. It may be emphasized.

また、以上のように、本実施形態に係る表示装置100は、上記復号画像上の各領域に
おけるブロック歪みの低減率を、該領域に含まれるブロック境界に隣接している画素についての、上記デブロッキングフィルタ505を作用させる前後の画素値の差に基づいて算出する算出手段(領域特定部506)を更に備え、上記特定手段(領域特定部506)は、上記算出手段(領域特定部506)により算出されたブロック歪みの低減率が最大となる領域(特定領域R)を特定する。
Further, as described above, the display device 100 according to the present embodiment determines the reduction rate of the block distortion in each area on the decoded image with respect to the pixel adjacent to the block boundary included in the area. The image processing apparatus further includes a calculation unit (region specifying unit 506) that calculates based on a difference between pixel values before and after the blocking filter 505 is applied, and the specifying unit (region specifying unit 506) uses the calculation unit (region specifying unit 506). An area (specific area R) in which the calculated reduction rate of block distortion is maximized is specified.

一般に、ブロック歪みは、ブロックの境界において顕著に現れる。   In general, block distortion appears prominently at block boundaries.

上記の構成によれば、上記復号画像上の各領域におけるブロック歪みの低減率を、該領域に含まれるブロック境界に隣接している画素についての、上記デブロッキングフィルタ505を作用させる前後の画素値の差に基づいて算出することができる。したがって、上記の構成によれば、上記ブロック歪みの低減率を適切に算出することができる。したがって、上記の構成によれば、デブロッキングフィルタ505によるフィルタリング処理の効果をユーザに効果的に認識せしめることができる。   According to said structure, the pixel distortion value before and behind making the said deblocking filter 505 operate | move about the pixel which adjoins the block boundary contained in this area | region about the block distortion reduction rate in the said decoded image. Can be calculated based on the difference. Therefore, according to the above configuration, the reduction rate of the block distortion can be calculated appropriately. Therefore, according to said structure, the effect of the filtering process by the deblocking filter 505 can be recognized to a user effectively.

また、以上のように、本実施形態に係る表示装置100においては、上記算出手段(領域特定部506)は、該領域に含まれるブロック境界BRmを介して隣接している画素対
のうち一方の画素P0,m,nについての、上記デブロッキングフィルタ505を作用させる前後の画素値の差の絶対値|Δpx,m,n|と、該画素対のうち他の一方の画素Q0,m+1,nについての、上記デブロッキングフィルタ505を作用させる前後の画素値の差の絶対値|Δqx,m+1,n|との平均Ax,n,m=(|Δpx,m,n|+|Δqx,m+1,n|)/2をとることによって当該画素対に対する差分絶対値Ax,n,mを算出し、該領域に含まれる複数の上記画素対のそれぞれに対する上記差分絶対値の平均に基づいて上記復号画像上の各領域におけるブロック歪みの低減率を算出する。
In addition, as described above, in the display device 100 according to the present embodiment, the calculation unit (region specifying unit 506) includes one of the pixel pairs adjacent to each other via the block boundary BRm included in the region. The absolute value | Δpx, m, n | of the difference between the pixel values before and after the deblocking filter 505 is applied to the pixel P0, m, n and the other pixel Q0, m + 1 of the pixel pair , n, the average Ax, n, m = (| Δpx, m, n | + |) of the absolute value | Δqx, m + 1, n | before and after the deblocking filter 505 is applied Δqx, m + 1, n |) / 2 is calculated to calculate the absolute difference value Ax, n, m for the pixel pair, and the average of the absolute difference values for each of the plurality of pixel pairs included in the region The block distortion reduction rate in each area on the decoded image is calculated based on the above.

上記の構成によれば、上記画素対のうち一方の画素についての、上記デブロッキングフィルタ505を作用させる前後の画素値の差の絶対値のみに基づいて算出する場合に比べて、上記ブロック歪みの低減率をより適切に算出することができる。   According to the above configuration, the block distortion of the pixel pair is compared with the case of calculating based on only the absolute value of the difference between the pixel values before and after the deblocking filter 505 is applied to one pixel of the pixel pair. The reduction rate can be calculated more appropriately.

また、上記の構成によれば、該領域に含まれる複数の上記画素対のそれぞれに対する上記差分絶対値の平均に基づいて上記復号画像上の各領域におけるブロック歪みの低減率を算出することができる。したがって、上記差分絶対値のばらつきが大きい場合であっても、上記ブロック歪みの低減率をより適切に算出することができる。   Further, according to the above configuration, it is possible to calculate a block distortion reduction rate in each region on the decoded image based on the average of the absolute difference values for each of the plurality of pixel pairs included in the region. . Therefore, even when the variation of the difference absolute value is large, the block distortion reduction rate can be calculated more appropriately.

したがって、上記の構成によれば、上記差分絶対値のばらつきが大きい場合であっても、デブロッキングフィルタ505によるフィルタリング処理の効果をユーザにより効果的に認識せしめることができる。   Therefore, according to said structure, even if it is a case where the dispersion | variation in the said difference absolute value is large, the effect of the filtering process by the deblocking filter 505 can be recognized more effectively by a user.

また、以上のように、本実施形態に係る表示装置100においては、上記強調表示手段(バックエンド部40)は、上記特定手段(領域特定部506)によって特定された領域(特定領域R)を上記表示部(表示モジュール4)に拡大表示する。   Further, as described above, in the display device 100 according to the present embodiment, the highlighting unit (back end unit 40) identifies the region (specific region R) specified by the specifying unit (region specifying unit 506). An enlarged display is performed on the display unit (display module 4).

上記の構成によれば、上記特定手段(領域特定部506)によって特定された領域を拡大表示することができるので、デブロッキングフィルタによるフィルタリング処理の効果をユーザにより効果的に認識せしめることができる。   According to said structure, since the area | region specified by the said specific means (area | region specific | specification part 506) can be expanded and displayed, the effect of the filtering process by a deblocking filter can be recognized effectively by a user.

また、以上のように、本実施形態に係る表示装置100においては、上記強調表示手段(バックエンド部40)は、各フレームについて、上記特定手段(領域特定部506)によって特定された領域(特定領域R)と共に、上記デブロッキングフィルタ505を作用させる前の該領域を上記表示部(表示モジュール4)に表示する。   Further, as described above, in the display device 100 according to the present embodiment, the highlighting means (back end unit 40) performs the region (specification) specified by the specifying unit (region specifying unit 506) for each frame. Along with the region R), the region before the deblocking filter 505 is operated is displayed on the display unit (display module 4).

上記の構成によれば、ユーザは、デブロッキングフィルタ505によるフィルタリング処理後の該領域と、フィルタリング処理前の該領域とを比較することによって、当該フィルタリング処理の効果を認識することができる。   According to said structure, the user can recognize the effect of the said filtering process by comparing this area | region after the filtering process by the deblocking filter 505, and this area | region before a filtering process.

したがって、上記の構成によれば、デブロッキングフィルタ505によるフィルタリング処理の効果をユーザにより効果的に認識せしめることができるという更なる効果を奏する。   Therefore, according to said structure, there exists the further effect that the effect of the filtering process by the deblocking filter 505 can be recognized more effectively by a user.

(変形例1)
上記の説明では、デブロッキングフィルタ505は、補正値の絶対値|Δpy,s,t|、および、補正値の絶対値|Δqy,s,t|を算出し、領域特定部506は、上記補正値の絶対値に基づいて、特定領域Rを特定するものとしたが、本発明はこれに限られるものではない。本発明に係る表示装置は、可変長復号部501で得られる量子化パラメータQPや符号化モード情報などの一次的なデコード情報に基づいて特定領域Rを特定するような構成としてもよい。
(Modification 1)
In the above description, the deblocking filter 505 calculates the absolute value | Δpy, s, t | of the correction value and the absolute value | Δqy, s, t | of the correction value, and the region specifying unit 506 Although the specific region R is specified based on the absolute value of the value, the present invention is not limited to this. The display device according to the present invention may be configured to identify the specific region R based on primary decoding information such as the quantization parameter QP and the coding mode information obtained by the variable length decoding unit 501.

例えば、デブロッキングフィルタ505は、補正値の絶対値|Δpy,s,t|、および、補正値の絶対値|Δqy,s,t|に代えて、ブロックごとに上記量子化パラメータQPの値に応じて決定された上記閾値α、および、上記閾値βを領域特定部506に対して出力し、領域特定部506は、上記閾値α、および、上記閾値βに基づいて、特定領域Rを特定するような構成としてもよい。   For example, the deblocking filter 505 replaces the absolute value | Δpy, s, t | of the correction value and the absolute value | Δqy, s, t | of the correction value with the value of the quantization parameter QP for each block. The threshold value α and the threshold value β determined accordingly are output to the region specifying unit 506, and the region specifying unit 506 specifies the specific region R based on the threshold value α and the threshold value β. It is good also as such a structure.

以下では、本実施形態の第1の変形例について説明する。   Below, the 1st modification of this embodiment is demonstrated.

上記条件(6)および(7)において説明したように、デブロッキングフィルタ505は、Bs値が正であり、かつ、ブロック境界を介して互いに隣接する画素の画素値の差の絶対値が閾値α未満であり、かつ、当該互いに隣接する画素の一方の画素の画素値と、当該一方の画素の一辺であって、上記ブロック境界に接している辺の対辺に接している画素の画素値との差の絶対値が閾値β未満であり、かつ、当該互いに隣接する画素の他の一方の画素の画素値と、当該他の一方の画素の一辺であって、上記ブロック境界に接している辺の対辺に接している画素の画素値との差の絶対値が閾値β未満である場合にデブロッキング処理を行う。   As described in the above conditions (6) and (7), the deblocking filter 505 has a positive Bs value and the absolute value of the difference between the pixel values of pixels adjacent to each other via the block boundary is the threshold value α. And the pixel value of one of the adjacent pixels and the pixel value of a pixel that is on one side of the one pixel and that is in contact with the opposite side of the side that is in contact with the block boundary. The absolute value of the difference is less than the threshold value β, and the pixel value of the other pixel adjacent to each other and one side of the other pixel that is in contact with the block boundary The deblocking process is performed when the absolute value of the difference between the pixel value of the pixel in contact with the opposite side is less than the threshold value β.

したがって、一般に、閾値αの値がより大きい場合には、ブロック境界を介して互いに隣接する画素の画素値の差がより大きい場合であっても、デブロッキング処理の対象となり得る。したがって、閾値αの値がより大きい場合には、デブロッキング処理前の画素値と、デブロッキング処理後の画素値との差の絶対値は、より大きくなる傾向がある。すなわち、閾値αの値がより大きい場合には、デブロッキングフィルタ505によるデブロッキング処理の効果がより顕著に現れる傾向がある。閾値βについてもほぼ同様である。   Therefore, in general, when the value of the threshold value α is larger, even if the difference between the pixel values of pixels adjacent to each other via the block boundary is larger, it can be a target of deblocking processing. Therefore, when the threshold value α is larger, the absolute value of the difference between the pixel value before the deblocking process and the pixel value after the deblocking process tends to be larger. That is, when the value of the threshold α is larger, the effect of the deblocking process by the deblocking filter 505 tends to appear more remarkably. The same applies to the threshold value β.

本変形例における領域特定部506は、デブロッキングフィルタ505から入力される上記閾値αが最も大きいブロックを特定し、当該ブロックの水平位置を上記水平位置X0に設定し、当該ブロックの垂直位置を上記垂直位置Y0に設定する。また、長さSx、および、長さSyを、それぞれ、上記閾値αの水平方向の分布の広がり、および、上記閾値βの垂直方向の分布の広がりに応じて決定する。   The area specifying unit 506 in this modification example specifies a block having the largest threshold value α input from the deblocking filter 505, sets the horizontal position of the block to the horizontal position X0, and sets the vertical position of the block to the above-described vertical position. Set to vertical position Y0. Further, the length Sx and the length Sy are determined in accordance with the spread of the horizontal distribution of the threshold value α and the spread of the vertical distribution of the threshold value β, respectively.

なお、領域特定部506は、閾値αのセットに対して、上述したような移動平均をとった後の閾値αが最も大きくなるブロックを特定してもよい。   Note that the area specifying unit 506 may specify a block having the largest threshold α after taking the moving average as described above for the set of threshold α.

また、本変形例における領域特定部506は、上記閾値αに代えて、上記閾値βを用いてもよいし、上記閾値αと上記閾値βとの和を用いてもよい。   In addition, the area specifying unit 506 in this modification may use the threshold β instead of the threshold α, or may use the sum of the threshold α and the threshold β.

領域特定部506は、上記のように設定された水平位置X0、垂直位置Y0、長さSx、および、長さSyを含む情報である特定領域情報#506を制御部46に対して出力する。   The area specifying unit 506 outputs specific area information # 506, which is information including the horizontal position X0, the vertical position Y0, the length Sx, and the length Sy set as described above, to the control unit 46.

デブロッキングフィルタ505、および、領域特定部506以外の構成は、すでに説明した構成と同様である。   Configurations other than the deblocking filter 505 and the region specifying unit 506 are the same as those already described.

本変形例においては、デブロッキングフィルタ505は、補正値Δpy,s,t、および、補正値Δqy,s,tを算出する必要がないため、デブロッキングフィルタ505の構成をより簡単なものとすることができる。   In this modification, the deblocking filter 505 does not need to calculate the correction value Δpy, s, t and the correction value Δqy, s, t, and thus the configuration of the deblocking filter 505 is simplified. be able to.

以上のように、本変形例に係る表示装置は、上記復号画像上の各領域におけるブロック歪みの低減率を、該領域に含まれるブロックに関連付けられたパラメータであって、上記デブロッキングフィルタによるデブロッキング処理のオンオフを制御するパラメータ(上記閾値α、および、上記閾値β)に基づいて算出する算出手段(領域特定部506)を更に備え、上記特定手段(領域特定部506)は、上記算出手段(領域特定部506)により算出されたブロック歪みの低減率が最大となる領域を特定する。   As described above, the display device according to the present modified example is a parameter associated with the block included in the area, and the deblocking filter by the deblocking filter determines the block distortion reduction rate in each area on the decoded image. The image processing apparatus further includes a calculation unit (region specifying unit 506) that calculates based on parameters (the threshold value α and the threshold value β) that control ON / OFF of the blocking process, and the specifying unit (region specifying unit 506) includes the calculation unit. The region where the block distortion reduction rate calculated by (region specifying unit 506) is maximized is specified.

一般に、デブロッキングフィルタによるデブロッキング処理のオンオフを制御するパラメータ(上記閾値α、および、上記閾値β)と、上記デブロッキングフィルタを作用させる前後の画素値の差との間には、相関が存在する。   In general, there is a correlation between a parameter for controlling on / off of deblocking processing by the deblocking filter (the threshold α and the threshold β) and a difference between pixel values before and after the deblocking filter is operated. To do.

上記の構成によれば、上記ブロック歪みの低減率を適切に算出することができる。また、上記デブロッキングフィルタ505を作用させる前後の画素値を参照する代わりに、上記パラメータを参照することによって、上記ブロック歪みの低減率を算出することができるので、上記ブロック歪みの低減率を算出する際の計算量を削減することができる。   According to said structure, the reduction rate of the said block distortion can be calculated appropriately. Further, since the reduction rate of the block distortion can be calculated by referring to the parameter instead of referring to the pixel values before and after the deblocking filter 505 is operated, the reduction rate of the block distortion is calculated. This can reduce the amount of calculation.

したがって、上記の構成によれば、上記ブロック歪みの低減率を算出する際の計算量を削減しつつ、デブロッキングフィルタ505によるフィルタリング処理の効果をユーザに効果的に認識せしめることができる。   Therefore, according to the above configuration, it is possible to make the user effectively recognize the effect of the filtering process by the deblocking filter 505 while reducing the amount of calculation when calculating the reduction rate of the block distortion.

また、以上のように、本変形例に係る表示装置においては、上記算出手段(領域特定部506)は、該領域に含まれる複数のブロックのそれぞれに関連付けられた上記パラメータ(上記閾値α、および、上記閾値β)の平均に基づいて上記復号画像上の各領域におけるブロック歪みの低減率を算出する。   Further, as described above, in the display device according to the present modification, the calculation unit (region specifying unit 506) is configured to associate the parameter (the threshold α and the threshold α) associated with each of a plurality of blocks included in the region. The block distortion reduction rate in each region on the decoded image is calculated based on the average of the threshold values β).

上記の構成によれば、上記パラメータのばらつきが大きい場合であっても、上記ブロック歪みの低減率を適切に算出することができる。   According to the above configuration, the reduction rate of the block distortion can be appropriately calculated even when the variation in the parameters is large.

したがって、上記の構成によれば、上記差分絶対値のばらつきが大きい場合であっても、デブロッキングフィルタ505によるフィルタリング処理の効果をユーザにより効果的に認識せしめることができる。   Therefore, according to said structure, even if it is a case where the dispersion | variation in the said difference absolute value is large, the effect of the filtering process by the deblocking filter 505 can be recognized more effectively by a user.

(変形例2)
上記の説明では、図12に示すように、領域特定部506によって特定された領域以外の領域も表示モジュール4に表示される構成について説明を行ったが、本発明はこれに限定されるものではない。以下では、本実施形態の第2の変形例について図14を参照して
説明する。
(Modification 2)
In the above description, as shown in FIG. 12, a configuration has been described in which a region other than the region specified by the region specifying unit 506 is also displayed on the display module 4, but the present invention is not limited to this. Absent. Below, the 2nd modification of this embodiment is demonstrated with reference to FIG.

本変形例においては、制御部46は、映像選択部34に対して、映像選択情報#46b、および、表示位置情報#46cに加えて、表示範囲情報を出力する。ここで表示範囲情報とは、制御部46に入力される特定領域情報#506とほぼ同様の情報であり、特定領域Rの水平位置X0、垂直位置Y0、長さSx、および、長さSyを含む情報である。   In this modification, the control unit 46 outputs display range information to the video selection unit 34 in addition to the video selection information # 46b and the display position information # 46c. Here, the display range information is substantially the same information as the specific area information # 506 input to the control unit 46, and the horizontal position X0, the vertical position Y0, the length Sx, and the length Sy of the specific area R are set. It is information to include.

映像選択部34は、当該表示範囲位置情報に基づき、復号済データ#32が表す複数のフレームから、特定領域Rに含まれる範囲のみを抽出し、順次第1メモリ領域51に格納する。また、映像選択部34は、当該表示範囲位置情報に基づき、復号済データ#32’が表す複数のフレームから、特定領域Rに含まれる範囲のみを抽出し、順次第2メモリ領域52に順次格納する。   The video selection unit 34 extracts only the range included in the specific region R from the plurality of frames represented by the decoded data # 32 based on the display range position information, and sequentially stores the range in the first memory region 51. Further, the video selection unit 34 extracts only the range included in the specific region R from the plurality of frames represented by the decoded data # 32 ′ based on the display range position information, and sequentially stores it in the second memory region 52. To do.

本変形例においては、このように、特定領域R以外の領域を第1メモリ領域、および、第2メモリ領域に格納しない構成とすることによって、第1メモリ領域および第2メモリ領域のメモリ容量をより有効に活用することができる。   In this modification, the memory capacity of the first memory area and the second memory area is reduced by storing the areas other than the specific area R in the first memory area and the second memory area as described above. It can be used more effectively.

図14は、第1メモリ領域51に格納された映像データ#51が表す画像の一例を示す図である。図14に示すように、本変形例においては、連続する18枚のフレームから特定領域Rが抽出され、第1メモリ領域51格納される。また、本変形例に係る表示装置は、上記18フレーム分の特定領域Rを並べて表示するような構成としてもよいし、上記18フレーム分の特定領域Rを所定の時間的間隔ごとに順次表示することによって、スローモーション表示するような構成としてもよい。   FIG. 14 is a diagram illustrating an example of an image represented by the video data # 51 stored in the first memory area 51. As shown in FIG. 14, in this modification, the specific area R is extracted from 18 consecutive frames and stored in the first memory area 51. The display device according to this modification may be configured to display the specific areas R for 18 frames side by side, or sequentially display the specific areas R for 18 frames at predetermined time intervals. Depending on the situation, it may be configured to display slow motion.

本変形例に係る表示装置によれば、ユーザに対し、デブロッキングフィルタ505におけるデブロッキング処理の効果をより明確に認識せしめることができる。   According to the display device according to this modification, the effect of the deblocking process in the deblocking filter 505 can be recognized more clearly by the user.

以上のように、本変形例に係る表示装置においては、上記強調表示手段(バックエンド部40)は、連続する複数のフレームのそれぞれについて、上記特定手段によって特定された領域を抽出したのち当該領域をメモリ50に格納し、当該連続する複数のフレームのそれぞれについての当該領域を所定の時間間隔ごとに上記表示部(表示モジュール4)に順次拡大表示する。   As described above, in the display device according to this modification, the highlighting means (back end unit 40) extracts the area specified by the specifying means for each of a plurality of continuous frames, and then extracts the area. Are stored in the memory 50, and the region for each of the plurality of consecutive frames is sequentially enlarged and displayed on the display unit (display module 4) at predetermined time intervals.

上記の構成によれば、当該連続する複数のフレームのそれぞれについての拡大された当該領域をスローモーション表示することができるので、デブロッキングフィルタによるフィルタリング処理の効果をユーザにより効果的に認識せしめることができる。   According to said structure, since the said area | region expanded about each of the said several continuous flame | frame can be displayed in slow motion, the effect of the filtering process by a deblocking filter can be recognized effectively by a user. it can.

(プログラムおよび記録媒体)
最後に、表示装置100の制御部46およびデコーダ部32に含まれる各ブロックは、ハードウェアロジックによって構成すればよい。または、次のように、CPU(Central Processing Unit)を用いてソフトウェアによって実現してもよい。
(Program and recording medium)
Finally, each block included in the control unit 46 and the decoder unit 32 of the display device 100 may be configured by hardware logic. Alternatively, it may be realized by software using a CPU (Central Processing Unit) as follows.

すなわち、制御部46およびデコーダ部32は、各機能を実現するプログラムの命令を実行するCPU、このプログラムを格納したROM(Read Only Memory)、上記プログラムを実行可能な形式に展開するRAM(Random Access Memory)、および、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)を備えている。この構成により、本発明の目的は、所定の記録媒体によっても達成できる。   That is, the control unit 46 and the decoder unit 32 include a CPU that executes instructions of a program that realizes each function, a ROM (Read Only Memory) that stores the program, and a RAM (Random Access) that expands the program into an executable format. Memory) and a storage device (recording medium) such as a memory for storing the program and various data. With this configuration, the object of the present invention can also be achieved by a predetermined recording medium.

この記録媒体は、上述した機能を実現するソフトウェアである制御部46およびデコーダ部32のプログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録していればよい。制御部46およびデコーダ部32に、この記録媒体を供給する。これにより、コンピュータとしての制御部46およびデコーダ部32(またはCPUやMPU)が、供給された記録媒体に記録されているプログラムコードを読み出し、実行すればよい。   This recording medium only needs to record the program code (execution format program, intermediate code program, source program) of the program of the control unit 46 and the decoder unit 32, which is software that realizes the above-described functions, in a computer-readable manner. . The recording medium is supplied to the control unit 46 and the decoder unit 32. Thus, the control unit 46 and the decoder unit 32 (or CPU or MPU) as a computer may read and execute the program code recorded on the supplied recording medium.

プログラムコードを制御部46およびデコーダ部32に供給する記録媒体は、特定の構造または種類のものに限定されない。すなわちこの記録媒体は、たとえば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などとすることができる。   The recording medium that supplies the program code to the control unit 46 and the decoder unit 32 is not limited to a specific structure or type. That is, the recording medium includes, for example, a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and an optical disk such as a CD-ROM / MO / MD / DVD / CD-R. System, a card system such as an IC card (including a memory card) / optical card, or a semiconductor memory system such as a mask ROM / EPROM / EEPROM / flash ROM.

また、表示装置100を通信ネットワークと接続可能に構成しても、本発明の目的を達成できる。この場合、上記のプログラムコードを、通信ネットワークを介して表示装置100に供給する。この通信ネットワークは表示装置100にプログラムコードを供給できるものであればよく、特定の種類または形態に限定されない。たとえばインターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(Virtual Private Network)、電話回線網、移動体通信網、衛星通信網等であればよい。   Further, even if the display device 100 is configured to be connectable to a communication network, the object of the present invention can be achieved. In this case, the program code is supplied to the display device 100 via the communication network. The communication network is not limited to a specific type or form as long as it can supply the program code to the display device 100. For example, it may be the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication network, and the like.

この通信ネットワークを構成する伝送媒体も、プログラムコードを伝送可能な任意の媒体であればよく、特定の構成または種類のものに限定されない。たとえばIEEE1394、USB(Universal Serial Bus)、電力線搬送、ケーブルTV回線、電話線、ADSL(Asymmetric Digital Subscriber Line)回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   The transmission medium constituting the communication network may be any medium that can transmit the program code, and is not limited to a specific configuration or type. For example, wired communication such as IEEE 1394, USB (Universal Serial Bus), power line carrier, cable TV line, telephone line, ADSL (Asymmetric Digital Subscriber Line) line, infrared rays such as IrDA and remote control, Bluetooth (registered trademark), 802.11 It can also be used by radio such as radio, HDR, mobile phone network, satellite line, terrestrial digital network. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention.

本発明は、符号化データを復号し、復号画像を表示する表示装置に好適に適用することができる。   The present invention can be suitably applied to a display device that decodes encoded data and displays a decoded image.

100 表示装置
4 表示モジュール(表示部)
31 ストリーム処理部
32 デコーダ部
505 デブロッキングフィルタ
506 領域特定部(特定手段)
33 映像キャプチャ部
34 映像選択部
40 バックエンド部(強調表示手段)
41 第1スケーラ部
42 第2スケーラ部
43 第1画質補正部
44 第2画質補正部
45 重ね合わせ部
46 制御部
50 メモリ部(メモリ)
100 Display device 4 Display module (display unit)
31 Stream processing unit 32 Decoder unit 505 Deblocking filter 506 Area specifying unit (specifying means)
33 Video capture unit 34 Video selection unit 40 Back end unit (highlighting display means)
41 first scaler unit 42 second scaler unit 43 first image quality correction unit 44 second image quality correction unit 45 superposition unit 46 control unit 50 memory unit (memory)

Claims (11)

デブロッキングフィルタによりブロック歪みが低減された復号画像を表示する表示装置において、
複数のブロックからなる上記復号画像上の領域であって、上記デブロッキングフィルタによるブロック歪みの低減率が最大となる領域を特定する特定手段と、
上記特定手段によって特定された領域を表示部に強調表示する強調表示手段と、を備えていることを特徴とする表示装置。
In a display device that displays a decoded image in which block distortion is reduced by a deblocking filter,
A specifying unit for specifying a region on the decoded image including a plurality of blocks and having a maximum reduction rate of block distortion by the deblocking filter;
A display device comprising: highlighting means for highlighting an area specified by the specifying means on a display unit.
上記復号画像上の各領域におけるブロック歪みの低減率を、該領域に含まれるブロック境界に隣接している画素についての、上記デブロッキングフィルタを作用させる前後の画素値の差に基づいて算出する算出手段を更に備え、
上記特定手段は、上記算出手段により算出されたブロック歪みの低減率が最大となる領域を特定する、
ことを特徴とする請求項1に記載の表示装置。
Calculation for calculating a reduction rate of block distortion in each area on the decoded image based on a difference between pixel values before and after the deblocking filter is applied to pixels adjacent to a block boundary included in the area Further comprising means,
The specifying means specifies an area where the reduction rate of the block distortion calculated by the calculating means is maximized;
The display device according to claim 1.
上記算出手段は、
該領域に含まれるブロック境界を介して隣接している画素対のうち一方の画素についての、上記デブロッキングフィルタを作用させる前後の画素値の差の絶対値と、該画素対のうち他の一方の画素についての、上記デブロッキングフィルタを作用させる前後の画素値の差の絶対値との平均をとることによって当該画素対に対する差分絶対値を算出し、
該領域に含まれる複数の上記画素対のそれぞれに対する上記差分絶対値の平均に基づいて上記復号画像上の各領域におけるブロック歪みの低減率を算出する、
ことを特徴とする請求項2に記載の表示装置。
The calculation means is
The absolute value of the difference between the pixel values before and after applying the deblocking filter for one pixel of the pixel pairs adjacent via the block boundary included in the region, and the other one of the pixel pairs The absolute value of the difference for the pixel pair is calculated by taking the average of the absolute value of the difference between the pixel values before and after applying the deblocking filter for the pixel of
Calculating a reduction rate of block distortion in each region on the decoded image based on an average of the absolute difference values for each of the plurality of pixel pairs included in the region;
The display device according to claim 2.
上記復号画像上の各領域におけるブロック歪みの低減率を、該領域に含まれるブロックに関連付けられたパラメータであって、上記デブロッキングフィルタによるデブロッキング処理のオンオフを制御するパラメータに基づいて算出する算出手段を更に備え、
上記特定手段は、上記算出手段により算出されたブロック歪みの低減率が最大となる領域を特定する、
ことを特徴とする請求項1に記載の表示装置。
Calculation for calculating a reduction rate of block distortion in each region on the decoded image based on a parameter associated with a block included in the region and controlling on / off of the deblocking process by the deblocking filter Further comprising means,
The specifying means specifies an area where the reduction rate of the block distortion calculated by the calculating means is maximized;
The display device according to claim 1.
上記算出手段は、該領域に含まれる複数のブロックのそれぞれに関連付けられた上記パラメータの平均に基づいて上記復号画像上の各領域におけるブロック歪みの低減率を算出する、
ことを特徴とする請求項4に記載の表示装置。
The calculation means calculates a reduction rate of block distortion in each region on the decoded image based on an average of the parameters associated with each of a plurality of blocks included in the region.
The display device according to claim 4.
上記強調表示手段は、上記特定手段によって特定された領域を上記表示部に拡大表示する、
ことを特徴とする請求項1から5の何れか1項に記載の表示装置。
The highlighting means enlarges and displays the area specified by the specifying means on the display unit.
The display device according to claim 1, wherein the display device is a display device.
上記強調表示手段は、連続する複数のフレームのそれぞれについて、上記特定手段によって特定された領域を抽出したのち当該領域をメモリに格納し、当該連続する複数のフレームのそれぞれについての当該領域を所定の時間間隔ごとに上記表示部に順次拡大表示する、
ことを特徴とする請求項1から5に記載の表示装置。
The highlighting means extracts the area specified by the specifying means for each of a plurality of consecutive frames, stores the area in a memory, and sets the area for each of the plurality of consecutive frames to a predetermined value. Sequentially enlarged and displayed on the display unit at each time interval,
The display device according to claim 1, wherein:
上記強調表示手段は、各フレームについて、上記特定手段によって特定された領域と共に、上記デブロッキングフィルタを作用させる前の該領域を上記表示部に表示する、
ことを特徴とする請求項1から7の何れか1項に記載の表示装置。
The highlighting means displays the area before the deblocking filter is acted on the display unit together with the area specified by the specifying means for each frame.
The display device according to claim 1, wherein the display device is a display device.
コンピュータを請求項1から8の何れか1項に記載の表示装置として動作させるプログラムであって、上記コンピュータを上記表示装置が備えている各手段として機能させるためのプログラム。   A program for causing a computer to operate as the display device according to any one of claims 1 to 8, wherein the program causes the computer to function as each unit included in the display device. 請求項9に記載のプログラムを記録しているコンピュータ読取り可能な記録媒体。   A computer-readable recording medium in which the program according to claim 9 is recorded. デブロッキングフィルタによりブロック歪みが低減された復号画像を表示する表示方法において、
複数のブロックからなる上記復号画像上の領域であって、上記デブロッキングフィルタによるブロック歪みの低減率が最大となる領域を特定する特定ステップと、
上記特定ステップにて特定された領域を表示部に強調表示する強調表示ステップと、を含んでいることを特徴とする表示方法。
In a display method for displaying a decoded image in which block distortion is reduced by a deblocking filter,
A specifying step for specifying an area on the decoded image including a plurality of blocks, in which the reduction rate of block distortion by the deblocking filter is maximized;
And a highlighting step of highlighting the region identified in the identifying step on the display unit.
JP2009298757A 2009-12-28 2009-12-28 Display device, display method, program, and record medium Pending JP2011139356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009298757A JP2011139356A (en) 2009-12-28 2009-12-28 Display device, display method, program, and record medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009298757A JP2011139356A (en) 2009-12-28 2009-12-28 Display device, display method, program, and record medium

Publications (1)

Publication Number Publication Date
JP2011139356A true JP2011139356A (en) 2011-07-14

Family

ID=44350318

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009298757A Pending JP2011139356A (en) 2009-12-28 2009-12-28 Display device, display method, program, and record medium

Country Status (1)

Country Link
JP (1) JP2011139356A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847823A (en) * 2016-04-05 2016-08-10 北京佳讯飞鸿电气股份有限公司 Method for reducing use of memory bandwidth during video decoding
JP2016163172A (en) * 2015-03-02 2016-09-05 キヤノン株式会社 Image processing device, photographing device, image processing method, image processing program, and recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016163172A (en) * 2015-03-02 2016-09-05 キヤノン株式会社 Image processing device, photographing device, image processing method, image processing program, and recording medium
CN105847823A (en) * 2016-04-05 2016-08-10 北京佳讯飞鸿电气股份有限公司 Method for reducing use of memory bandwidth during video decoding
CN105847823B (en) * 2016-04-05 2018-12-11 北京佳讯飞鸿电气股份有限公司 A method of memory bandwidth, which is reduced, in video decoding uses

Similar Documents

Publication Publication Date Title
KR101938316B1 (en) Image processing device and method, and learning device and method
KR101879890B1 (en) Image processing device, image processing method and recording medium
KR101868651B1 (en) Image processing device, image processing method and recording medium
US9008449B2 (en) Image processing apparatus and method
WO2011018965A1 (en) Image processing device and method
JP5884313B2 (en) Image processing apparatus, image processing method, program, and recording medium
US6865229B1 (en) Method and apparatus for reducing the “blocky picture” effect in MPEG decoded images
JP5137687B2 (en) Decoding device, decoding method, and program
JP4762352B1 (en) Image processing apparatus and image processing method
WO2007148619A1 (en) Dynamic image decoding device, decoded image recording device, and their method and program
US20150304672A1 (en) Image processing device and method
JP2011139356A (en) Display device, display method, program, and record medium
JP2008177648A (en) Motion picture data decoding device and program
JP6217826B2 (en) Image processing apparatus and image processing method
JP2012004890A (en) Video signal output device, and video signal output method
JP2005197879A (en) Video signal coding apparatus
WO2014122708A1 (en) Screen encoding device, screen decoding device, and screen encoding and transmission system
JP2005260989A (en) Image processing apparatus and image processing method
JP2005312072A (en) Video signal decoding apparatus
JP2014082603A (en) Image processor
JP2011199379A (en) Moving image display method determination device