JP2015130616A - Image encoding device and program, image decoding device and program, and image encoding system - Google Patents

Image encoding device and program, image decoding device and program, and image encoding system Download PDF

Info

Publication number
JP2015130616A
JP2015130616A JP2014001709A JP2014001709A JP2015130616A JP 2015130616 A JP2015130616 A JP 2015130616A JP 2014001709 A JP2014001709 A JP 2014001709A JP 2014001709 A JP2014001709 A JP 2014001709A JP 2015130616 A JP2015130616 A JP 2015130616A
Authority
JP
Japan
Prior art keywords
image
block boundary
boundary strength
deblocking filter
decoded image
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
JP2014001709A
Other languages
Japanese (ja)
Inventor
貴明 畠中
Takaaki Hatanaka
貴明 畠中
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2014001709A priority Critical patent/JP2015130616A/en
Publication of JP2015130616A publication Critical patent/JP2015130616A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image encoding device and an image decoding device capable of improving the quality of a local decoded image or a decoded image by properly executing deblocking filtering.SOLUTION: The image encoding device and the image decoding device each comprises: means which acquires a conspicuousness map and a quantization parameter expressing how much human being momentarily pays attention to each section of the local decoded image or the decoded image; and means which, on the basis of the magnitude of the acquired conspicuousness map and quantization parameter, reviews a block boundary strength calculated once and applies the result to deblocking filtering on the local decoded image or decoded image.

Description

本発明は、画像符号化装置及びプログラム、画像復号装置及びプログラム、並びに、画像符号化システムに関し、特に、デブロッキングフィルタを利用する画像符号化方式に適用し得るものである。   The present invention relates to an image encoding device and program, an image decoding device and program, and an image encoding system, and is particularly applicable to an image encoding method using a deblocking filter.

近年、インターネットの普及に伴い動画像をストリーミング配信する需要が高まっている。動画像のストリームにおいて、動画像の圧縮符号化により復号画像の限られた帯域における主観評価での品質劣化が課題となっている。   In recent years, with the spread of the Internet, there is an increasing demand for streaming distribution of moving images. In a moving image stream, quality degradation due to subjective evaluation in a limited band of a decoded image due to compression encoding of the moving image is a problem.

非特許文献1では、主に、ブロック境界に発生する不自然な色変化などであるブロックノイズを軽減するためにデブロッキングフィルタのオンオフが選択できるようになっている。   In Non-Patent Document 1, on / off of a deblocking filter can be selected mainly to reduce block noise such as an unnatural color change that occurs at a block boundary.

デブロッキングフィルタを適用した、非特許文献1に記載のストリーム符号化プロセス及びストリーム復号プロセスを簡単に説明する。   A stream encoding process and a stream decoding process described in Non-Patent Document 1 to which a deblocking filter is applied will be briefly described.

まず、ストリーム符号化プロセスを説明する。入力画像と、存在するならば参照画像(蓄積されたデブロッキングフィルタ処理後のローカルデコード画像)を用いて予測方法を決定し、決定した予測方法から予測画像を生成し、入力画像から予測画像を減算して残差情報を生成する。残差情報から係数情報(例えば直交変換係数)を生成した後に符号化(量子化)し、符号化情報と上述した予測画像からデブロッキングフィルタ処理前のローカルデコード画像(局部復号画像)を生成する。予測情報を参照しながら、デブロッキングフィルタ処理前のローカルデコード画像に対して、デブロッキングフィルタ処理を実施し、処理後のローカルデコード画像を、次の予測画像の生成に供するために蓄積する。予測情報及び符号化情報をストリームデータへ変換する。   First, the stream encoding process will be described. A prediction method is determined using an input image and a reference image (stored local decoded image after deblocking filter processing) if present, a prediction image is generated from the determined prediction method, and a prediction image is generated from the input image. Subtract to generate residual information. Coefficient information (for example, orthogonal transform coefficient) is generated from the residual information and then encoded (quantized), and a local decoded image (local decoded image) before deblocking filter processing is generated from the encoded information and the predicted image described above. . The deblocking filter process is performed on the local decoded image before the deblocking filter process while referring to the prediction information, and the local decoded image after the process is stored for generation of the next predicted image. Prediction information and encoding information are converted into stream data.

次に、ストリーム復号プロセスを説明する。入力されたストリームデータから予測情報を取り出し、得られた予測情報と、存在するならば参照画像(蓄積されたデブロッキングフィルタ処理後のデコード画像)を用いて予測画像を生成する。また、入力されたストリームデータから符号化情報を取り出して係数情報に戻し、得られた係数情報から残差情報を算出し、入力されたストリームデータから得られた予測画像に加算してデブロッキングフィルタ処理前のデコード画像を生成する。予測情報を参照しながら、デブロッキングフィルタ処理前のデコード画像に対して、デブロッキングフィルタ処理を実施し、フィルタ処理後のデコード画像を、次の予測画像の生成に供するために蓄積すると共に、表示、保存、送信、印刷等の出力動作を行う。   Next, the stream decoding process will be described. Prediction information is extracted from the input stream data, and a prediction image is generated using the obtained prediction information and a reference image (decoded image after accumulated deblocking filter processing) if present. In addition, the encoding information is extracted from the input stream data and returned to the coefficient information, the residual information is calculated from the obtained coefficient information, and added to the predicted image obtained from the input stream data to be deblocking filtered A decoded image before processing is generated. While referring to the prediction information, the deblocking filter process is performed on the decoded image before the deblocking filter process, and the decoded image after the filter process is stored and used for generation of the next predicted image. , Save, send, print and other output operations.

特開2007−12047JP2007-12047A 特開2011−39778JP2011-39778 特表2007−515009Special table 2007-515209 特表2010−506315Special table 2010-506315

ITU−U H.264/AVCITU-U H.I. H.264 / AVC Laurent Itti,Christof Koch,Ernst Niebur,“A Model of Saliency−Based Visual Attention for Rapid Scene Analysis,” IEEE Transactions on Pattern Analysis and Machine Intelligence,Vol.20,No.11,pp.1254−1259,1998年11月Laurent Itti, Christof Koch, Ernst Niebur, “A Model of Salientity-Based Visual Attention for Rapid Scenario Analysis,” IEEE Transactons Int. 20, no. 11, pp. 1254-1259, November 1998

しかしながら、非特許文献1の記載技術には以下のような課題が存在する。   However, the technique described in Non-Patent Document 1 has the following problems.

非特許文献1の記載技術において、デブロッキングフィルタの強度を規定するブロック境界強度(Bs;Boundary Strength)は、境界を含むマクロブロックの予測情報や量子化パラメータが適用されて決定される。   In the technology described in Non-Patent Document 1, block boundary strength (Bs; Boundary Strength) that defines the strength of a deblocking filter is determined by applying prediction information and quantization parameters of a macroblock including the boundary.

このようにブロック境界強度の決定には実際の画素値を使用しないため、ブロック境界が実際に量子化誤差によるブロックノイズを有しているかを判定する精度が低く、ブロックノイズが弱いブロック境界に強いフィルタリングを行ってノイズでない成分を消してしまったり、逆に、ブロックノイズが強いブロック境界に弱いフィルタリングしか実行せずに歪が目立つままにしてしまったりすることも生じていた。   As described above, since the actual pixel value is not used to determine the block boundary strength, the accuracy of determining whether the block boundary actually has block noise due to the quantization error is low, and the block boundary is strong against the block boundary having weak block noise. In some cases, filtering is performed to remove non-noise components, and conversely, only weak filtering is performed on block boundaries where block noise is strong, and distortion is left conspicuous.

そのため、デブロッキングフィルタ処理を適切に実行し、ローカルデコード画像若しくはデコード画像の品質を高めることができる画像符号化装置及びプログラム、画像復号装置及びプログラム、並びに、画像符号化システムが望まれている。   Therefore, an image encoding device and program, an image decoding device and program, and an image encoding system that can appropriately execute deblocking filter processing and improve the quality of a local decoded image or decoded image are desired.

第1の本発明は、動画像の符号化時に生じるブロック境界の主観歪を減少させるデブロッキングフィルタを備え、ローカルデコード画像をデブロッキングフィルタ処理する画像符号化装置において、(1)人間がローカルデコード画像の各部に対して瞬間的に注目する度合いを表す顕著性マップ、及び、量子化ステップサイズに所定関数に従って対応する量子化パラメータの少なくとも一方が該当する補正判断用情報を取得する補正判断用情報取得手段と、(2)取得された補正判断用情報の大きさに基づいて、上記デブロッキングフィルタが決定したブロック境界強度を見直して、ローカルデコード画像に対するデブロッキングフィルタリングに適用させるブロック境界強度補正手段とを有することを特徴とする。   A first aspect of the present invention is an image encoding apparatus that includes a deblocking filter that reduces subjective distortion of a block boundary that occurs during encoding of a moving image, and that performs a deblocking filtering process on a local decoded image. Correction judgment information for acquiring correction judgment information corresponding to at least one of a quantization parameter corresponding to a quantization step size according to a predetermined function, and a saliency map indicating a degree of instantaneous attention to each part of an image And (2) a block boundary strength correcting unit that reviews the block boundary strength determined by the deblocking filter based on the size of the acquired correction determination information and applies the deblocking filtering to the local decoded image. It is characterized by having.

第2の本発明は、対向する画像符号化装置における動画像の符号化時に生じるブロック境界の主観歪を減少させるデブロッキングフィルタを備え、デコード画像をデブロッキングフィルタ処理する画像復号装置において、(1)人間がデコード画像の各部に対して瞬間的に注目する度合いを表す顕著性マップ、及び、量子化ステップサイズに所定関数に従って対応する量子化パラメータの少なくとも一方が該当する補正判断用情報を取得する補正判断用情報取得手段と、(2)取得された補正判断用情報の大きさに基づいて、上記デブロッキングフィルタが決定したブロック境界強度を見直して、デコード画像に対するデブロッキングフィルタリングに適用させるブロック境界強度補正手段とを有することを特徴とする。   According to a second aspect of the present invention, there is provided an image decoding apparatus including a deblocking filter that reduces subjective distortion of a block boundary that occurs during encoding of a moving image in an opposing image encoding apparatus, and that performs a deblocking filter process on a decoded image (1 ) Acquisition of correction determination information corresponding to at least one of a saliency map representing the degree of instantaneous attention to each part of the decoded image and a quantization step size corresponding to a quantization step size according to a predetermined function Correction determination information acquisition means; and (2) a block boundary to be applied to deblocking filtering for a decoded image by revising the block boundary strength determined by the deblocking filter based on the size of the acquired correction determination information. Strength correction means.

第3の本発明は、動画像を符号化する画像符号化装置と、復号により動画像を復元する画像復号装置とが対向する画像符号化システムにおいて、上記画像符号化装置として、第1の本発明の画像符号化装置を適用すると共に、上記画像復号装置として、第2の本発明の画像復号装置を適用したことを特徴とする。   According to a third aspect of the present invention, there is provided an image encoding system in which an image encoding device that encodes a moving image and an image decoding device that restores a moving image by decoding are opposed to each other. The image coding apparatus according to the present invention is applied, and the image decoding apparatus according to the second aspect of the present invention is applied as the image decoding apparatus.

第4の本発明の画像符号化プログラムは、動画像の符号化時に生じるブロック境界の主観歪を減少させるデブロッキングフィルタを備え、ローカルデコード画像をデブロッキングフィルタ処理する画像符号化装置に搭載されたコンピュータを、(1)人間がローカルデコード画像の各部に対して瞬間的に注目する度合いを表す顕著性マップ、及び、量子化ステップサイズに所定関数に従って対応する量子化パラメータの少なくとも一方が該当する補正判断用情報を取得する補正判断用情報取得手段と、(2)取得された補正判断用情報の大きさに基づいて、上記デブロッキングフィルタが決定したブロック境界強度を見直して、ローカルデコード画像に対するデブロッキングフィルタリングに適用させるブロック境界強度補正手段として機能させることを特徴とする。   An image encoding program according to a fourth aspect of the present invention includes a deblocking filter that reduces subjective distortion at a block boundary that occurs during encoding of a moving image, and is mounted on an image encoding apparatus that performs deblocking filtering on a locally decoded image. The computer corresponds to (1) a saliency map representing the degree of human instantaneous attention to each part of the local decoded image, and a correction corresponding to at least one of quantization parameters corresponding to the quantization step size according to a predetermined function. Correction determination information acquisition means for acquiring determination information; and (2) revising the block boundary strength determined by the deblocking filter based on the size of the acquired correction determination information, Functions as block boundary strength correction means applied to blocking filtering And characterized in that.

第5の本発明の画像復号プログラムは、対向する画像符号化装置における動画像の符号化時に生じるブロック境界の主観歪を減少させるデブロッキングフィルタを備え、デコード画像をデブロッキングフィルタ処理する画像復号装置に搭載されるコンピュータを、(1)人間がデコード画像の各部に対して瞬間的に注目する度合いを表す顕著性マップ、及び、量子化ステップサイズに所定関数に従って対応する量子化パラメータの少なくとも一方が該当する補正判断用情報を取得する補正判断用情報取得手段と、(2)取得された補正判断用情報の大きさに基づいて、上記デブロッキングフィルタが決定したブロック境界強度を見直して、デコード画像に対するデブロッキングフィルタリングに適用させるブロック境界強度補正手段として機能させることを特徴とする。   An image decoding program according to a fifth aspect of the present invention includes a deblocking filter that reduces subjective distortion at a block boundary that occurs when a moving image is encoded in an opposing image encoding device, and that performs a deblocking filter process on the decoded image (1) At least one of a saliency map indicating the degree of human attention to each part of the decoded image instantaneously and a quantization parameter corresponding to the quantization step size according to a predetermined function Correction determination information acquisition means for acquiring corresponding correction determination information; (2) based on the size of the acquired correction determination information, the block boundary strength determined by the deblocking filter is reviewed, and the decoded image As a block boundary strength correction means applied to deblocking filtering for Characterized in that to.

本発明によれば、デブロッキングフィルタ処理を適切に実行し、ローカルデコード画像若しくはデコード画像の品質を高めることができる画像符号化装置及びプログラム、画像復号装置及びプログラム、並びに、画像符号化システムを提供できる。   According to the present invention, there are provided an image encoding device and program, an image decoding device and program, and an image encoding system capable of appropriately executing deblocking filter processing and improving the quality of a local decoded image or decoded image. it can.

第1の実施形態の画像符号化装置の詳細構成を示すブロック図である。It is a block diagram which shows the detailed structure of the image coding apparatus of 1st Embodiment. 第1の実施形態の画像復号装置の詳細構成を示すブロック図である。It is a block diagram which shows the detailed structure of the image decoding apparatus of 1st Embodiment. 第1の実施形態の画像符号化装置におけるデブロッキングフィルタ本体が実行するブロック境界強度の見直し処理を示すフローチャートである。It is a flowchart which shows the review process of the block boundary strength which the deblocking filter main body in the image coding apparatus of 1st Embodiment performs.

(A)第1の実施形態
以下、本発明による画像符号化装置及びプログラム、画像復号装置及びプログラム、並びに、画像符号化システムの第1の実施形態を、図面を参照しながら詳述する。
(A) First Embodiment Hereinafter, a first embodiment of an image encoding device and program, an image decoding device and program, and an image encoding system according to the present invention will be described in detail with reference to the drawings.

ここで、第1の実施形態の画像符号化装置と第1の実施形態の画像復号装置とにより、第1の実施形態の画像符号化システムが構成されている。また、第1の実施形態の画像符号化方式は、H.264/AVCに準拠しているものである。   Here, the image coding apparatus according to the first embodiment is configured by the image coding apparatus according to the first embodiment and the image decoding apparatus according to the first embodiment. In addition, the image encoding method of the first embodiment is H.264. H.264 / AVC.

(A−1)第1の実施形態で導入した技術
第1の実施形態では、上述した課題を解決するために、デブロッキングフィルタに係るブロック境界強度を、顕著性マップ(saliency map)を利用して補正することとした。
(A-1) Technology introduced in the first embodiment In the first embodiment, in order to solve the above-described problem, the block boundary strength related to the deblocking filter is used by using a saliency map. To correct it.

画像処理分野において、ボトムアップ型注意を客観的指標値として算出する方法が研究されている。ここで、ボトムアップ型注意とは、観測者(人や動物)が特に目的もなく周囲を見渡す状態に発生する、色や輝度といった入力画像が持つ特徴に依存した視線運動のプロセスをいう。ボトムアップ型注意で得られた指標値は、例えば、ロボットが物体への接近を瞬時に検出する技術(特許文献1参照)や、視覚コンテンツの評価技術(特許文献2参照)に利用されている。   In the field of image processing, a method for calculating bottom-up type attention as an objective index value has been studied. Here, bottom-up attention refers to a process of eye movement that depends on the characteristics of an input image such as color and brightness, which occurs when an observer (person or animal) looks around without any particular purpose. The index value obtained by bottom-up attention is used, for example, in a technique in which a robot instantaneously detects an approach to an object (see Patent Document 1) and a visual content evaluation technique (see Patent Document 2). .

ボトムアップ型注意による視線移動をモデル化した研究として、非特許文献2に記載の顕著性マップモデルが存在する。顕著性マップモデルは、入力画像における領域ごとに目立ちやすさ、すなわち、視覚シーンにおける顕著さの空間分布を算出するものであり、顕著さの空間分布に基づいて視線移動を予測するモデルである。顕著性マップモデルにおける顕著性マップの算出方法は、入力画像中の点や領域に対して人間が瞬間的に注目する度合い、すなわち、顕著性の高さを数値化した顕著性値を算出する方法として適用できる。   Non-patent document 2 discloses a saliency map model as a study that models gaze movement by bottom-up attention. The saliency map model is a model that calculates the spatial distribution of saliency in a visual scene for each area in the input image, and predicts eye movement based on the spatial distribution of saliency. The calculation method of the saliency map in the saliency map model is a method of calculating a saliency value obtained by quantifying the degree to which a person instantaneously pays attention to a point or region in an input image, that is, the level of saliency. As applicable.

目の網膜にある網膜神経節細胞の中に受容野(Receptive Field)と呼ばれる領域があり、この受容野に光による刺激を受けると、その情報が脳に伝達される。受容野は、中央にある円形の部分(center)とその周辺領域(surround)との2つで構成されており、受容野における仕組みを応用し、非特許文献2の著者は、Centerとsurroundとの刺激により信号が強くなる箇所(注意を引く場所)を数値化するようなモデルを構築して顕著性マップとした。   There is a region called a receptive field in the retinal ganglion cells in the retina of the eye, and when this receptive field is stimulated by light, the information is transmitted to the brain. The receptive field is composed of a circular center in the center (surround) and its surrounding area (surround). By applying the mechanism in the receptive field, the authors of Non-Patent Document 2 are Center and surround A saliency map was constructed by constructing a model that digitizes the place where the signal becomes strong due to the stimulus (place where attention is drawn).

このような顕著性マップは、人間の視覚特性を良くモデル化しているため、ブロックノイズを精度良く検知することが期待できる。そこで、第1の実施形態においては、デブロッキングフィルタに係るブロック境界強度を、顕著性マップを利用して補正する(見直す)こととし、ブロックノイズを一段と抑圧しようとした。   Since such a saliency map models human visual characteristics well, it can be expected to detect block noise with high accuracy. Therefore, in the first embodiment, the block boundary strength related to the deblocking filter is corrected (reviewed) using the saliency map to further suppress the block noise.

(A−2)第1の実施形態の構成
図1は、第1の実施形態の画像符号化装置の詳細構成を示すブロック図である。ここで、第1の実施形態の画像符号化装置をハードウェアで構成することも可能であり、また、CPUが実行するソフトウェア(画像符号化プログラム)とCPUとで実現することも可能であるが、いずれの実現方法を採用した場合であっても、機能的には図1で表すことができる。
(A-2) Configuration of First Embodiment FIG. 1 is a block diagram illustrating a detailed configuration of an image encoding device according to the first embodiment. Here, the image encoding device of the first embodiment can be configured by hardware, and can also be realized by software (image encoding program) executed by the CPU and the CPU. Whichever implementation method is employed, it can be functionally represented in FIG.

図1において、第1の実施形態に係る画像符号化装置10は、画像入力部11、予測残差算出部12、残差符号化部13、デブロッキングフィルタ部14、参照画像蓄積部15及び送信部16を有する。デブロッキングフィルタ部14は、顕著性マップ算出部17及びデブロッキングフィルタ本体18を有する。   In FIG. 1, an image encoding device 10 according to the first embodiment includes an image input unit 11, a prediction residual calculation unit 12, a residual encoding unit 13, a deblocking filter unit 14, a reference image storage unit 15, and a transmission. Part 16. The deblocking filter unit 14 includes a saliency map calculation unit 17 and a deblocking filter body 18.

画像入力部11は、動画像を構成する入力された画像を取込み、予測残差算出部12に与えるものである。   The image input unit 11 takes in an input image constituting a moving image and gives it to the prediction residual calculation unit 12.

予測残差算出部12は、入力画像と、参照画像蓄積部15に参照画像が存在する場合には参照画像(後述するローカルデコード画像)とを用いて予測方法(例えば、画面内予測符号化、画面間予測符号化や、量子化パラメータ等)を決定し、決定した予測方法に従い、入力画像及び又は参照画像から予測画像を生成し、入力画像から予測画像を減算して残差情報を生成するものである。予測残差算出部12は、処理時には適宜、入力画像をマクロブロックやブロックに分割する。予測残差算出部12は、残差符号化部13には予測画像及び残差情報を与え、デブロッキングフィルタ部14には予測情報と残差情報を与え、送信部16には予測情報を与えるものである。   The prediction residual calculation unit 12 uses the input image and a reference image (a local decoded image described later) when a reference image exists in the reference image storage unit 15, for example, a prediction method (for example, intra prediction encoding, Inter-screen predictive coding, quantization parameters, etc.) are determined, a predicted image is generated from the input image and / or reference image according to the determined prediction method, and residual information is generated by subtracting the predicted image from the input image Is. The prediction residual calculation unit 12 appropriately divides the input image into macroblocks and blocks at the time of processing. The prediction residual calculation unit 12 gives a prediction image and residual information to the residual encoding unit 13, gives prediction information and residual information to the deblocking filter unit 14, and gives prediction information to the transmission unit 16. Is.

残差符号化部13は、残差情報から係数情報(例えば、直交変換係数)を生成した後に符号化(量子化)し、得られた符号化情報を送信部16に与えるものである。また、残差符号化部13は、予測画像と符号化情報からローカルデコード画像を生成し、デブロッキングフィルタ部14内の顕著性マップ算出部17及びデブロッキングフィルタ本体18に与えるものである。   The residual encoding unit 13 generates coefficient information (for example, an orthogonal transform coefficient) from the residual information, encodes (quantizes) it, and gives the obtained encoded information to the transmission unit 16. The residual encoding unit 13 generates a local decoded image from the predicted image and the encoded information, and supplies the local decoded image to the saliency map calculating unit 17 and the deblocking filter main body 18 in the deblocking filter unit 14.

デブロッキングフィルタ部14は、残差符号化部13が生成したローカルデコード画像に対して、顕著性マップを利用したデブロッキングフィルタ処理を施し、このフィルタ処理後のローカルデコード画像を参照画像蓄積部15に与えるものである。   The deblocking filter unit 14 performs a deblocking filter process using the saliency map on the local decoded image generated by the residual encoding unit 13, and uses the local decoded image after the filter process as a reference image storage unit 15. It is something to give to.

参照画像蓄積部15は、デブロッキングフィルタ部14から与えられたフィルタ処理後のローカルデコード画像を、次の入力画像に対する予測画像を生成する際に参照される参照画像として蓄積するものである。なお、予測画像の生成方法によっては、参照画像蓄積部15は、時間軸上の位置が異なる複数のフィルタ処理後のローカルデコード画像を蓄積するものであっても良い。   The reference image accumulation unit 15 accumulates the filtered local decoded image given from the deblocking filter unit 14 as a reference image that is referred to when a predicted image for the next input image is generated. Note that, depending on the predicted image generation method, the reference image storage unit 15 may store a plurality of filtered local decoded images having different positions on the time axis.

送信部16は、入力画像に係る符号化情報や予測情報等を多重し、送信するシーケンスを形成し、広義の送信処理(ネットワークへの送信や記録媒体への記録など)を行うものである。   The transmission unit 16 multiplexes encoded information and prediction information related to an input image, forms a transmission sequence, and performs transmission processing in a broad sense (such as transmission to a network or recording on a recording medium).

第1の実施形態のデブロッキングフィルタ部14は、上述したように、顕著性マップを利用する点が、従来の画像符号化装置のものと異なっている。   As described above, the deblocking filter unit 14 of the first embodiment is different from that of the conventional image encoding device in that the saliency map is used.

デブロッキングフィルタ部14の顕著性マップ算出部17は、残差符号化部13が予測画像に対して符号化情報を適用して局部復号して得たローカルデコード画像を用いて、顕著性マップを算出し、得られた顕著性マップをデブロッキングフィルタ本体18に与えるものである。顕著性マップ算出部17による顕著性マップの算出方法の詳述は避けるが、例えば、特許文献2〜特許文献4、非特許文献2のいずれかに記載の算出方法を適用することができる。   The saliency map calculation unit 17 of the deblocking filter unit 14 calculates a saliency map using the local decoded image obtained by local decoding obtained by applying the encoding information to the prediction image by the residual encoding unit 13. The calculated saliency map is given to the deblocking filter main body 18. Although detailed description of the calculation method of the saliency map by the saliency map calculation unit 17 is avoided, for example, the calculation method described in any of Patent Documents 2 to 4 and Non-Patent Document 2 can be applied.

デブロッキングフィルタ部14のデブロッキングフィルタ本体18は、予測情報とローカルデコード画像(フィルタ処理前のローカルデコード画像)から、ブロック境界強度Bsを一旦得た後、顕著性マップに応じて、ブロック境界強度Bsを見直し、見直したブロック境界強度Bsを参照してローカルデコード画像にデブロッキングフィルタ処理を施して、フィルタ処理後のローカルデコード画像を得て参照画像蓄積部15に与えるものである。顕著性マップに応じてブロック境界強度Bsを見直す方法については、後述する動作説明の項で明らかにする。   The deblocking filter main body 18 of the deblocking filter unit 14 once obtains the block boundary strength Bs from the prediction information and the local decoded image (local decoded image before filter processing), and then according to the saliency map, Bs is reviewed, and the deblocking filter processing is performed on the local decoded image with reference to the revised block boundary strength Bs, and the local decoded image after the filtering process is obtained and given to the reference image storage unit 15. A method of reviewing the block boundary strength Bs in accordance with the saliency map will be clarified in the description of the operation described later.

図2は、第1の実施形態の画像復号装置の詳細構成を示すブロック図である。ここで、第1の実施形態の画像復号装置をハードウェアで構成することも可能であり、また、CPUが実行するソフトウェア(画像復号プログラム)とCPUとで実現することも可能であるが、いずれの実現方法を採用した場合であっても、機能的には図2で表すことができる。   FIG. 2 is a block diagram illustrating a detailed configuration of the image decoding apparatus according to the first embodiment. Here, the image decoding apparatus according to the first embodiment can be configured by hardware, and can also be realized by software (image decoding program) executed by the CPU and the CPU. Even if the realization method is adopted, it can be functionally represented in FIG.

図2において、第1の実施形態に係る画像復号装置20は、ストリーム入力部21、予測画像生成部22、残差算出部23、デブロッキングフィルタ部24、参照画像蓄積部25及び画像出力部26を有する。デブロッキングフィルタ部24は、顕著性マップ算出部27及びデブロッキングフィルタ本体28を有する。   2, the image decoding apparatus 20 according to the first embodiment includes a stream input unit 21, a predicted image generation unit 22, a residual calculation unit 23, a deblocking filter unit 24, a reference image storage unit 25, and an image output unit 26. Have The deblocking filter unit 24 includes a saliency map calculation unit 27 and a deblocking filter main body 28.

ストリーム入力部21は、入力されたストリームから予測情報及び符号化情報(量子化されている係数情報)を取り出し、予測情報を予測画像生成部22に与え、係数情報を残差算出部23に与えるものである。   The stream input unit 21 extracts prediction information and encoding information (quantized coefficient information) from the input stream, provides the prediction information to the prediction image generation unit 22, and provides the coefficient information to the residual calculation unit 23. Is.

予測画像生成部22は、予測情報と、参照画像蓄積部25に参照画像が存在する場合には参照画像とを用いて予測画像を生成し、残差算出部23及びデブロッキングフィルタ部24に与えるものである。   The predicted image generation unit 22 generates a predicted image using the prediction information and the reference image when the reference image is present in the reference image storage unit 25, and gives the predicted image to the residual calculation unit 23 and the deblocking filter unit 24. Is.

残差算出部23は、符号化情報(量子化されている係数情報)から残差情報を復元した後に予測画像に加算してデコード画像を生成し、デブロッキングフィルタ部24に与えるものである。   The residual calculation unit 23 restores the residual information from the encoded information (quantized coefficient information), adds the residual information to the predicted image, generates a decoded image, and supplies the decoded image to the deblocking filter unit 24.

デブロッキングフィルタ部24は、残差算出部2が生成したデコード画像に対して、顕著性マップを利用したデブロッキングフィルタ処理を施し、このフィルタ処理後のデコード画像を参照画像蓄積部25及び画像出力部26に与えるものである。   The deblocking filter unit 24 performs a deblocking filter process using the saliency map on the decoded image generated by the residual calculation unit 2, and the decoded image after the filter process is output to the reference image storage unit 25 and the image output. This is given to the unit 26.

参照画像蓄積部25は、デブロッキングフィルタ部24から与えられたフィルタ処理後のデコード画像を、次の入力ストリームに対する予測画像を生成する際に参照される参照画像として蓄積するものである。   The reference image accumulating unit 25 accumulates the decoded image after the filtering process given from the deblocking filter unit 24 as a reference image that is referred to when generating a predicted image for the next input stream.

画像出力部26は、デブロッキングフィルタ部24から与えられたフィルタ処理後のデコード画像を出力処理するものである。画像出力部26は、例えば、表示したり、記録媒体に記録したりする。   The image output unit 26 performs an output process on the decoded image after the filter process given from the deblocking filter unit 24. The image output unit 26 displays, for example, or records on a recording medium.

デブロッキングフィルタ部24の顕著性マップ算出部27は、残差算出部23が得たデコード画像(フィルタ前のデコード画像)を用いて、顕著性マップを算出し、得られた顕著性マップをデブロッキングフィルタ本体28に与えるものである。顕著性マップ算出部27による顕著性マップの算出方法も、画像符号化装置10における顕著性マップ算出部17による顕著性マップの算出方法と同様である。   The saliency map calculation unit 27 of the deblocking filter unit 24 calculates a saliency map using the decoded image (pre-filter decoded image) obtained by the residual calculation unit 23, and deciphers the obtained saliency map. This is given to the blocking filter main body 28. The calculation method of the saliency map by the saliency map calculation unit 27 is the same as the calculation method of the saliency map by the saliency map calculation unit 17 in the image encoding device 10.

デブロッキングフィルタ部24のデブロッキングフィルタ本体28は、予測情報とデコード画像(フィルタ処理前のデコード画像)から、ブロック境界強度Bsを一旦得た後、顕著性マップに応じて、ブロック境界強度Bsを見直し、見直したブロック境界強度Bsを参照してデコード画像にデブロッキングフィルタ処理を施して、フィルタ処理後のデコード画像を得て参照画像蓄積部25及び画像出力部26に与えるものである。顕著性マップに応じてブロック境界強度Bsを見直す方法も、画像符号化装置10におけるデブロッキングフィルタ本体18による見直し方法と同様である。   The deblocking filter main body 28 of the deblocking filter unit 24 once obtains the block boundary strength Bs from the prediction information and the decoded image (decoded image before filter processing), and then calculates the block boundary strength Bs according to the saliency map. The decoded block image is subjected to deblocking filter processing with reference to the reviewed and reviewed block boundary strength Bs, and the decoded image after the filter processing is obtained and supplied to the reference image storage unit 25 and the image output unit 26. The method of reviewing the block boundary strength Bs according to the saliency map is the same as the review method by the deblocking filter main body 18 in the image encoding device 10.

(A−3)第1の実施形態の動作
次に、第1の実施形態に係る画像符号化装置10の動作を説明する。
(A-3) Operation of the First Embodiment Next, the operation of the image encoding device 10 according to the first embodiment will be described.

動画像を構成する1枚の画像が画像符号化装置10に入力されると、その入力画像が画像入力部11から予測残差算出部12に与えられ、予測残差算出部12において、入力画像と参照画像とが適宜用いられて予測方法が決定される。さらに、予測残差算出部12において、決定された予測方法に従い、入力画像及び又は参照画像から予測画像が生成された後、入力画像から予測画像が減算されて残差情報が生成される。残差符号化部13において、残差情報に対する変換処理によって係数情報が生成された後、係数情報は量子化パラメータに対応する量子化ステップで量子化(符号化)され、得られた符号化情報が送信部16に与えられる。また、残差符号化部13において、予測画像と符号化情報からローカルデコード画像が生成(復元)され、デブロッキングフィルタ部14内の顕著性マップ算出部17及びデブロッキングフィルタ本体18に与えられる。送信部16においては、入力画像に係る符号化情報や予測情報等が併せられて、送信するシーケンスが形成されて送信される。   When one image constituting a moving image is input to the image encoding device 10, the input image is given from the image input unit 11 to the prediction residual calculation unit 12, and the prediction residual calculation unit 12 inputs the input image. And the reference image are appropriately used to determine the prediction method. Further, the prediction residual calculation unit 12 generates a prediction image from the input image and / or the reference image according to the determined prediction method, and then subtracts the prediction image from the input image to generate residual information. After the coefficient information is generated by transform processing on the residual information in the residual encoding unit 13, the coefficient information is quantized (encoded) in a quantization step corresponding to the quantization parameter, and the obtained encoded information is obtained. Is given to the transmitter 16. Further, in the residual encoding unit 13, a local decoded image is generated (restored) from the predicted image and the encoded information, and is provided to the saliency map calculating unit 17 and the deblocking filter main body 18 in the deblocking filter unit 14. In the transmission unit 16, encoded information and prediction information related to the input image are combined and a transmission sequence is formed and transmitted.

デブロッキングフィルタ部14においては、顕著性マップ算出部17によって、局部復号されて得られたローカルデコード画像が用いられて、顕著性マップが算出され、デブロッキングフィルタ本体18に与えられる。そして、デブロッキングフィルタ本体18によって、予測情報とローカルデコード画像から、ブロック境界強度Bsが一旦定められた後、顕著性マップに応じて、ブロック境界強度Bsが見直され、見直されたブロック境界強度Bsが参照されてローカルデコード画像にデブロッキングフィルタ処理が施される。フィルタ処理後のローカルデコード画像は、参照画像蓄積部15に与えられて格納される。   In the deblocking filter unit 14, a saliency map is calculated by using the local decoded image obtained by local decoding by the saliency map calculation unit 17, and is provided to the deblocking filter main body 18. Then, after the block boundary strength Bs is once determined from the prediction information and the local decoded image by the deblocking filter body 18, the block boundary strength Bs is reviewed according to the saliency map, and the reviewed block boundary strength Bs. And the deblocking filter process is performed on the local decoded image. The local decoded image after the filter processing is given to the reference image storage unit 15 and stored therein.

デブロッキングフィルタ本体18におけるブロック境界強度Bsの見直し方法は、以下の通りである。図3は、見直し方法による処理を示すフローチャートである。   The method for reviewing the block boundary strength Bs in the deblocking filter body 18 is as follows. FIG. 3 is a flowchart showing processing by the review method.

デブロッキングフィルタ本体18は、処理対象の縦横4×4画素のブロックに含まれる全ての画素(ピクセル)の顕著性マップの合計値(以下、合計顕著性マップ値と呼ぶ)Tmapを算出する(ステップS100)。   The deblocking filter main body 18 calculates a total value (hereinafter referred to as a total saliency map value) Tmap of all the pixels (pixels) included in the vertical and horizontal 4 × 4 pixel block to be processed (step Smap). S100).

次に、デブロッキングフィルタ本体18は、合計顕著性マップ値Tsmapを予め設定されている閾値sと比較すると共に、処理対象の4×4ブロックを含むマクロブロックの量子化パラメータQPを予め設定されている閾値tと比較し、処理対象の4×4ブロックを分類する(ステップS101)。   Next, the deblocking filter body 18 compares the total saliency map value Tsmap with a preset threshold s, and the quantization parameter QP of the macroblock including the 4 × 4 block to be processed is set in advance. Compared with the threshold value t, the 4 × 4 block to be processed is classified (step S101).

合計顕著性マップ値Tsmapが大きいことは、処理対象の4×4ブロックが、人間が意識することなく注意が向く領域に属していることを意味しており、目立ちやすさの観点から周囲との相違が大きいことを表している。量子化ステップサイズと所定の関数関係がある量子化パラメータQPは、マクロブロックにおける残差情報のダイナミックレンジを反映しており、量子化パラメータQPが大きいことは残差情報のダイナミックレンジが大きく前画像との変化が大きいマクロブロックであることを表している。   When the total saliency map value Tsmap is large, it means that the 4 × 4 block to be processed belongs to an area to which attention is directed without being conscious of human beings. It represents a big difference. The quantization parameter QP having a predetermined functional relationship with the quantization step size reflects the dynamic range of the residual information in the macroblock, and a large quantization parameter QP means that the dynamic range of the residual information is large and the previous image is large. This indicates that the macro block has a large change.

この第1の実施形態では、合計顕著性マップ値Tsmapが閾値sより大きく、かつ、量子化パラメータQPが閾値tより大きい場合には、処理対象の4×4ブロックは高ノイズブロックであると判定する。また、合計顕著性マップ値Tsmapが閾値sより小さく、かつ、量子化パラメータQPが閾値tより小さい場合には、処理対象の4×4ブロックは低ノイズブロックであると判定する。さらに、合計顕著性マップ値Tsmap及び量子化パラメータQPの組が、上述した2つの場合に該当しない場合には、処理対象の4×4ブロックは通常ブロックであると判定する。   In the first embodiment, when the total saliency map value Tsmap is greater than the threshold s and the quantization parameter QP is greater than the threshold t, it is determined that the 4 × 4 block to be processed is a high noise block. To do. When the total saliency map value Tsmap is smaller than the threshold s and the quantization parameter QP is smaller than the threshold t, it is determined that the 4 × 4 block to be processed is a low noise block. Furthermore, when the set of the total saliency map value Tsmap and the quantization parameter QP does not correspond to the two cases described above, it is determined that the 4 × 4 block to be processed is a normal block.

デブロッキングフィルタ本体18は、処理対象の4×4ブロックを通常ブロックと判定した場合には、ブロック境界強度Bsの値は補正しないで維持させる(ステップS102)。   When the deblocking filter main body 18 determines that the 4 × 4 block to be processed is a normal block, the deblocking filter main body 18 maintains the value of the block boundary strength Bs without correction (step S102).

デブロッキングフィルタ本体18は、処理対象の4×4ブロックを高ノイズブロックと判定した場合には、デブロッキングフィルタリングを強めるために、ブロック境界強度Bsの値を1インクリメントした後(ステップS103)、補正後のブロック境界強度Bsが上限値である4を超えたか否かを判別し(ステップS104)、越えた場合には、補正後のブロック境界強度Bsを上限値である4にする(ステップS105)。   When the deblocking filter main body 18 determines that the 4 × 4 block to be processed is a high noise block, the deblocking filter main body 18 increments the value of the block boundary strength Bs by 1 in order to strengthen the deblocking filtering (step S103), and then corrects it. It is determined whether or not the subsequent block boundary strength Bs has exceeded the upper limit of 4 (step S104), and if it has exceeded, the corrected block boundary strength Bs is set to the upper limit of 4 (step S105). .

デブロッキングフィルタ本体18は、処理対象の4×4ブロックを低ノイズブロックと判定した場合には、デブロッキングフィルタリングを弱めるために、ブロック境界強度Bsの値を1デクリメントした後(ステップS106)、補正後のブロック境界強度Bsが下限値である0を下回ったか否かを判別し(ステップS107)、下回った場合には、補正後のブロック境界強度Bsを下限値である0にする(ステップS108)。   If the deblocking filter body 18 determines that the 4 × 4 block to be processed is a low noise block, the deblocking filter main body 18 decrements the value of the block boundary strength Bs by 1 in order to weaken the deblocking filtering (step S106), and then corrects it. It is determined whether or not the subsequent block boundary strength Bs is below the lower limit value of 0 (step S107), and if it is lower, the corrected block boundary strength Bs is set to the lower limit value of 0 (step S108). .

以上のようにして見直された(補正された)ブロック境界強度Bsを適用して、デブロッキングフィルタ処理が実行される。   The deblocking filter process is executed by applying the block boundary strength Bs reviewed (corrected) as described above.

次に、第1の実施形態に係る画像復号装置20の動作を説明する。   Next, the operation of the image decoding device 20 according to the first embodiment will be described.

第1の実施形態に係る画像復号装置20に、第1の実施形態に係る画像符号化装置10が送信したシーケンスが到来すると、そのシーケンスがストリーム入力部21に入力される。ストリーム入力部21において、入力されたストリームから予測情報及び符号化情報(量子化されている係数情報)が取り出され、予測情報は予測画像生成部22に与えられ、係数情報は残差算出部23に与えられる。これにより、予測画像生成部22において、予測情報と、参照画像蓄積部25に参照画像が存在する場合には参照画像とが用いられて予測画像が生成され、残差算出部23及びデブロッキングフィルタ部24に与えられ、残差算出部23において、符号化情報から残差情報を復元した後に予測画像に加算されてデコード画像が生成され、デブロッキングフィルタ部24に与えられる。   When the sequence transmitted by the image encoding device 10 according to the first embodiment arrives at the image decoding device 20 according to the first embodiment, the sequence is input to the stream input unit 21. In the stream input unit 21, prediction information and encoding information (quantized coefficient information) are extracted from the input stream, the prediction information is given to the prediction image generation unit 22, and the coefficient information is the residual calculation unit 23. Given to. As a result, the prediction image generation unit 22 generates a prediction image using the prediction information and the reference image when the reference image is present in the reference image storage unit 25, and the residual calculation unit 23 and the deblocking filter The residual calculation unit 23 restores the residual information from the encoded information, adds the residual information to the predicted image, generates a decoded image, and supplies the decoded image to the deblocking filter unit 24.

デブロッキングフィルタ部24内の顕著性マップ算出部27において、画像符号化装置10における顕著性マップ算出部17と同様にして、デコード画像が適用されて顕著性マップが算出されてデブロッキングフィルタ本体28に与えられる。そして、デブロッキングフィルタ本体28において、予測情報とデコード画像から、ブロック境界強度Bsが一旦決定された後、顕著性マップに応じて、ブロック境界強度Bsが見直され、見直されたブロック境界強度Bsが参照されてデコード画像にデブロッキングフィルタ処理が施される。ここでの見直し方法は、画像符号化装置10におけるデブロッキングフィルタ本体18による見直し方法と同様である。   In the saliency map calculation unit 27 in the deblocking filter unit 24, the saliency map is calculated by applying the decoded image in the same manner as the saliency map calculation unit 17 in the image encoding device 10, and the deblocking filter main body 28. Given to. In the deblocking filter main body 28, after the block boundary strength Bs is once determined from the prediction information and the decoded image, the block boundary strength Bs is reviewed according to the saliency map, and the reviewed block boundary strength Bs is obtained. The decoded image is referred to and subjected to deblocking filter processing. The review method here is the same as the review method by the deblocking filter main body 18 in the image encoding device 10.

デブロッキングフィルタ処理後のデコード画像は、参照画像蓄積部25及び画像出力部26に与えられる。参照画像蓄積部25において、デブロッキングフィルタ処理後のデコード画像は、次のストリームに対する予測画像を生成する際に参照される参照画像として蓄積される。また、画像出力部26から、デブロッキングフィルタ処理後のデコード画像が出力処理される。   The decoded image after the deblocking filter processing is given to the reference image storage unit 25 and the image output unit 26. In the reference image storage unit 25, the decoded image after the deblocking filter processing is stored as a reference image that is referred to when a predicted image for the next stream is generated. Also, the decoded image after the deblocking filter process is output from the image output unit 26.

(A−4)第1の実施形態の効果
第1の実施形態によれば、顕著性マップと量子化パラメータを用いて、ノイズを有している可能性が高いブロック境界であることやノイズを有している可能性が低いブロック境界であることを高い確度で判定でき、その判定結果から、デブロッキングフィルタが適用するブロック境界強度を補正するようにしたので、デブロッキングフィルタ処理が適切に実行されて、参照画像の品質向上によって、ローカルデコード画像やデコード画像の品質を高めることができる。
(A-4) Effect of First Embodiment According to the first embodiment, a block boundary that has a high possibility of having noise or noise is detected using a saliency map and a quantization parameter. Since it is possible to determine with high accuracy that the block boundary is unlikely to have, the block boundary strength applied by the deblocking filter is corrected based on the determination result, so the deblocking filter processing is executed properly. Thus, the quality of the local decoded image and the decoded image can be improved by improving the quality of the reference image.

画像符号化装置においては、参照画像から、不自然な境界画素値変化によって追加される高周波成分が取り除かれるため、符号化効率を向上させることができる。   In the image coding apparatus, since high frequency components added due to unnatural boundary pixel value changes are removed from the reference image, coding efficiency can be improved.

また、画像符号化装置及び画像復号装置において、デブロッキングフィルタ処理前のローカルデコード画像やでコード画像に対して同様の顕著性マップの算出方法を用いるため、画像符号化装置及び画像復号装置で同様の顕著性マップが算出可能であり、ローカルデコード画像及びデコード画像として同様の内容を得ることができる。   In the image encoding device and the image decoding device, the same saliency map calculation method is used for the local decoded image and the code image before the deblocking filter processing, and thus the same applies to the image encoding device and the image decoding device. The saliency map can be calculated, and the same contents can be obtained as the local decoded image and the decoded image.

(B)他の実施形態
本発明は、上述した第1の実施形態に限定されるものではなく、以下に例示するような種々の変形実施形態を挙げることができる。
(B) Other Embodiments The present invention is not limited to the above-described first embodiment, and various modified embodiments exemplified below can be given.

第1の実施形態では、ブロック境界強度Bsの見直し時に、ブロック境界強度Bsを1インクリメント若しくは1デクリメントする場合を示したが、変更幅は1に限定されず2以上であっても良い。この場合において、合成顕著性マップ値用の閾値や量子化パラメータ用の閾値の少なくとも一方を複数設け、変更幅を1にする場合や2にする場合など、場合分けを多様にするようにしても良い。さらに、例えば、ブロック境界強度Bsを増大させる場合は+2で、ブロック境界強度Bsを減少させる場合は−1にするように、変更方向で変更幅を変えるようにしても良い。   In the first embodiment, the block boundary strength Bs is incremented by 1 or decremented by 1 when the block boundary strength Bs is reviewed. However, the change width is not limited to 1 and may be 2 or more. In this case, at least one of a threshold value for the composite saliency map value and a threshold value for the quantization parameter is provided, and the case classification may be varied, for example, when the change width is set to 1 or 2. good. Furthermore, the change width may be changed in the change direction, for example, +2 when the block boundary strength Bs is increased and −1 when the block boundary strength Bs is decreased.

また、ブロック境界強度Bsの変更を、変更幅だけ増減する相対的な方法ではなく、変更後のブロック境界強度Bsとして予め定められている値に変更するようにしても良い。例えば、合成顕著性マップ値が属する範囲と量子化パラメータが属する範囲の組み合わせに対応させてブロック境界強度Bsを記述したテーブルを用意しておき、一旦定めたブロック境界強度Bsを変更することを要する場合に、テーブルを参照して、新たなブロック境界強度Bsを求めるようにしても良い。   Further, the change of the block boundary strength Bs may be changed to a value determined in advance as the changed block boundary strength Bs, instead of a relative method of increasing or decreasing the change width. For example, it is necessary to prepare a table in which the block boundary strength Bs is described in association with the combination of the range to which the combined saliency map value belongs and the range to which the quantization parameter belongs, and to change the block boundary strength Bs once determined. In this case, a new block boundary strength Bs may be obtained by referring to the table.

第1の実施形態では、変更したブロック境界強度Bsが0〜4の範囲外の場合にその範囲内に戻す場合を示したが、戻すことなく、デブロッキングフィルタ処理を行うようにしても良い。例えば、ブロック境界強度Bsが5の場合用のFIRフィルタ等を定めておいて、ブロック境界強度Bsが5の場合には、それ用のFIRフィルタを適用してフィルタリングを行うようにしても良く、また、ブロック境界強度Bsが−1の場合には0に戻すことなく、フィルタリングなしと扱うようにしても良い。   In the first embodiment, the case where the changed block boundary strength Bs is outside the range of 0 to 4 has been shown to be returned to the range. However, the deblocking filter process may be performed without returning. For example, an FIR filter or the like for the case where the block boundary strength Bs is 5 may be determined, and if the block boundary strength Bs is 5, the FIR filter for that may be applied to perform filtering. Further, when the block boundary strength Bs is −1, it may be handled that there is no filtering without returning to 0.

第1の実施形態では、合成顕著性マップ値用の閾値sはブロック境界強度Bsを増大させる場合にも減少させる場合にも機能する閾値であったが、増大させるか否かを判別する閾値suと、減少させるか否かを判別する閾値sdが異なる値であっても良い。量子化パラメータ用の閾値についても、同様な変形例を挙げることができる。   In the first embodiment, the threshold value s for the combined saliency map value is a threshold value that functions both when the block boundary strength Bs is increased and when it is decreased. The threshold value sd for determining whether or not to decrease may be different values. A similar modification can be given for the threshold value for the quantization parameter.

第1の実施形態では、合計顕著性マップと比較する閾値sが予め定められた値であってが、動的に設定するようにしても良い。例えば、処理対象の4×4ブロックが属するマクロブロックがイントラマクロブロックの場合とインターマクロブロックの場合とで閾値sとして異なる値を適用するようにしても良い。   In the first embodiment, the threshold value s to be compared with the total saliency map is a predetermined value, but may be set dynamically. For example, different values may be applied as the threshold s depending on whether the macro block to which the 4 × 4 block to be processed belongs is an intra macro block or an inter macro block.

同様に、量子化パラメータQPと比較する閾値tも、処理対象の4×4ブロックが属するマクロブロックがイントラマクロブロックの場合とインターマクロブロックの場合とで異なる値を適用するようにしても良い。   Similarly, the threshold t to be compared with the quantization parameter QP may be different depending on whether the macro block to which the 4 × 4 block to be processed belongs is an intra macro block or an inter macro block.

第1の実施形態では、ブロック境界強度Bsの見直しで増大も減少も避ける場合を示したが、見直しでは増大だけをさせるようにしても良い。   In the first embodiment, the case where the increase or decrease in the review of the block boundary strength Bs is avoided has been described. However, only the increase may be performed in the review.

第1の実施形態では、ブロック境界強度Bsの見直しを行うブロックの大きさが縦横4×4画素である場合を示したが、他の大きさを、ブロック境界強度Bsの見直しを行うブロックの大きさとするようにしても良い。例えば、8×8ブロックや8×16ブロックを適用しても良く、また、形状も矩形に限定されるものではない。   In the first embodiment, the case where the block size for reviewing the block boundary strength Bs is 4 × 4 pixels in the vertical and horizontal directions. However, other sizes may be used for the block size for reviewing the block boundary strength Bs. You may make it. For example, an 8 × 8 block or an 8 × 16 block may be applied, and the shape is not limited to a rectangle.

第1の実施形態では、画像符号化装置と画像復号装置とで予め固定された顕著性マップ値の算出方法を用いる場合を示したが、複数の顕著性マップ値の算出方法を適用可能とし、選択できるようにしても良い。例えば、画像符号化装置が利用者等の操作に応じて算出方法を選択し、選択した算出方法の情報をストリームに含めて復号装置へ通知するようにしても良い。画像符号化装置を搭載した通信装置と画像復号装置を搭載した通信装置が、パラメータ等を整合させるために行うネゴシエーションの際に適用する算出方法を調整するようにしても良い。   In the first embodiment, the case where the calculation method of the saliency map value fixed in advance by the image encoding device and the image decoding device is shown, but a plurality of saliency map value calculation methods can be applied, You may make it selectable. For example, the image encoding device may select a calculation method according to an operation of a user or the like, and include information on the selected calculation method in a stream and notify the decoding device. The calculation method applied in the negotiation performed in order to match the parameters and the like may be adjusted between the communication device including the image encoding device and the communication device including the image decoding device.

第1の実施形態では、ブロック境界強度Bsの見直しを、合成顕著性マップ値及び量子化パラメータの両者を適用して行うものを示したが、少なくとも一方を適用して見直すものであっても良い。   In the first embodiment, the block boundary strength Bs is reviewed by applying both the combined saliency map value and the quantization parameter. However, the block boundary strength Bs may be reviewed by applying at least one of them. .

第1の実施形態では、画像符号化装置及び画像復号装置の双方が、ブロック境界強度Bsの見直し機能を備えた場合を示したが、画像符号化装置及び画像復号装置の少なくとも一方だけが備えていても良い。   In the first embodiment, the case where both the image encoding device and the image decoding device have the function of reviewing the block boundary strength Bs is shown, but only at least one of the image encoding device and the image decoding device is provided. May be.

第1の実施形態は、H.264/AVCに準拠した画像符号化装置及び画像復号装置を示したが、MPEG−H HEVC/H.265などのような同様のフィルタを持つ画像符号化方式に準拠した装置に対しても、本発明を適用することができる。   The first embodiment is described in H.264. An image encoding device and an image decoding device compliant with H.264 / AVC have been shown, but MPEG-H HEVC / H. The present invention can also be applied to an apparatus that complies with an image coding system having a similar filter such as H.265.

10…画像符号化装置、
11…画像入力部、12…予測残差算出部、13…残差符号化部、14…デブロッキングフィルタ部、15…参照画像蓄積部、16…送信部、17…顕著性マップ算出部、18…デブロッキングフィルタ本体、
20…画像復号装置、
21…ストリーム入力部、22…予測画像生成部、23…残差算出部、24…デブロッキングフィルタ部、25…参照画像蓄積部、26…画像出力部、27…顕著性マップ算出部、28…デブロッキングフィルタ本体。
10: Image encoding device,
DESCRIPTION OF SYMBOLS 11 ... Image input part, 12 ... Prediction residual calculation part, 13 ... Residual encoding part, 14 ... Deblocking filter part, 15 ... Reference image storage part, 16 ... Transmission part, 17 ... Saliency map calculation part, 18 ... deblocking filter body,
20 Image decoding device,
DESCRIPTION OF SYMBOLS 21 ... Stream input part, 22 ... Predictive image generation part, 23 ... Residual calculation part, 24 ... Deblocking filter part, 25 ... Reference image storage part, 26 ... Image output part, 27 ... Saliency map calculation part, 28 ... Deblocking filter body.

Claims (10)

動画像の符号化時に生じるブロック境界の主観歪を減少させるデブロッキングフィルタを備え、ローカルデコード画像をデブロッキングフィルタ処理する画像符号化装置において、
人間がローカルデコード画像の各部に対して瞬間的に注目する度合いを表す顕著性マップ、及び、量子化ステップサイズに所定関数に従って対応する量子化パラメータの少なくとも一方が該当する補正判断用情報を取得する補正判断用情報取得手段と、
取得された補正判断用情報の大きさに基づいて、上記デブロッキングフィルタが決定したブロック境界強度を見直して、ローカルデコード画像に対するデブロッキングフィルタリングに適用させるブロック境界強度補正手段と
を有することを特徴とする画像符号化装置。
In an image encoding device that includes a deblocking filter that reduces subjective distortion of a block boundary that occurs during encoding of a moving image, and that performs deblocking filtering on a local decoded image,
Acquire saliency map indicating the degree of human instantaneous attention to each part of the local decoded image, and correction determination information corresponding to at least one of quantization parameters corresponding to a quantization step size according to a predetermined function Correction determination information acquisition means;
Block boundary strength correction means for revising the block boundary strength determined by the deblocking filter based on the size of the acquired correction determination information and applying the block boundary strength to the local decoding image. An image encoding device.
上記ブロック境界強度補正手段は、取得された補正判断用情報の大きさが、処理対象のブロック境界がノイズを有する可能性が高いと判断する大きさの場合に、ブロック境界強度を上方修正させてローカルデコード画像に対するデブロッキングフィルタリングに適用させることを特徴とする請求項1に記載の画像符号化装置。   The block boundary strength correction unit corrects the block boundary strength upward when the size of the acquired correction determination information is large enough to determine that the block boundary to be processed is likely to have noise. The image coding apparatus according to claim 1, wherein the image coding apparatus is applied to deblocking filtering for a local decoded image. 上記ブロック境界強度補正手段は、取得された補正判断用情報の大きさが、処理対象のブロック境界がノイズを有する可能性が低いと判断する大きさの場合に、ブロック境界強度を下方修正させてローカルデコード画像に対するデブロッキングフィルタリングに適用させることを特徴とする請求項1又は2に記載の画像符号化装置。   The block boundary strength correction unit corrects the block boundary strength downward when the size of the acquired correction determination information is large enough to determine that the block boundary to be processed is less likely to have noise. The image coding apparatus according to claim 1, wherein the image coding apparatus is applied to deblocking filtering for a local decoded image. 対向する画像符号化装置における動画像の符号化時に生じるブロック境界の主観歪を減少させるデブロッキングフィルタを備え、デコード画像をデブロッキングフィルタ処理する画像復号装置において、
人間がデコード画像の各部に対して瞬間的に注目する度合いを表す顕著性マップ、及び、量子化ステップサイズに所定関数に従って対応する量子化パラメータの少なくとも一方が該当する補正判断用情報を取得する補正判断用情報取得手段と、
取得された補正判断用情報の大きさに基づいて、上記デブロッキングフィルタが決定したブロック境界強度を見直して、デコード画像に対するデブロッキングフィルタリングに適用させるブロック境界強度補正手段と
を有することを特徴とする画像復号装置。
In an image decoding apparatus that includes a deblocking filter that reduces subjective distortion of a block boundary that occurs during encoding of a moving image in an opposing image encoding apparatus, and that performs a deblocking filter process on a decoded image,
Correction for acquiring correction judgment information corresponding to at least one of a saliency map representing the degree of instantaneous attention to each part of a decoded image and a quantization step size corresponding to a quantization step size according to a predetermined function Information acquisition means for determination;
Block boundary strength correction means for reviewing the block boundary strength determined by the deblocking filter based on the size of the acquired correction determination information and applying the block boundary strength to the deblocking filtering on the decoded image. Image decoding device.
上記ブロック境界強度補正手段は、取得された補正判断用情報の大きさが、処理対象のブロック境界がノイズを有する可能性が高いと判断する大きさの場合に、ブロック境界強度を上方修正させてデコード画像に対するデブロッキングフィルタリングに適用させることを特徴とする請求項4に記載の画像復号装置。   The block boundary strength correction unit corrects the block boundary strength upward when the size of the acquired correction determination information is large enough to determine that the block boundary to be processed is likely to have noise. The image decoding apparatus according to claim 4, wherein the image decoding apparatus is applied to deblocking filtering on a decoded image. 上記ブロック境界強度補正手段は、取得された補正判断用情報の大きさが、処理対象のブロック境界がノイズを有する可能性が低いと判断する大きさの場合に、ブロック境界強度を下方修正させてデコード画像に対するデブロッキングフィルタリングに適用させることを特徴とする請求項4又は5に記載の画像復号装置。   The block boundary strength correction unit corrects the block boundary strength downward when the size of the acquired correction determination information is large enough to determine that the block boundary to be processed is less likely to have noise. 6. The image decoding apparatus according to claim 4, wherein the image decoding apparatus is applied to deblocking filtering for a decoded image. 動画像を符号化する画像符号化装置と、復号により動画像を復元する画像復号装置とが対向する画像符号化システムにおいて、
上記画像符号化装置として、請求項1に記載の画像符号化装置を適用すると共に、上記画像復号装置として、請求項4に記載の画像復号装置を適用したことを特徴とする画像符号化システム。
In an image encoding system in which an image encoding device that encodes a moving image and an image decoding device that restores the moving image by decoding are opposed to each other,
An image coding system according to claim 1, wherein the image coding device according to claim 1 is applied as the image coding device, and the image decoding device according to claim 4 is applied as the image decoding device.
上記画像符号化装置の補正判断用情報取得手段が顕著性マップを算出するものであり、及び、上記画像復号装置の補正判断用情報取得手段が顕著性マップを算出するものであり、顕著性マップの算出方法が、上記画像符号化装置及び上記画像復号装置で同一であることを特徴とする請求項7に記載の画像符号化システム。   The correction determination information acquisition unit of the image encoding device calculates a saliency map, and the correction determination information acquisition unit of the image decoding device calculates a saliency map. The image encoding system according to claim 7, wherein the calculation method is the same for the image encoding device and the image decoding device. 動画像の符号化時に生じるブロック境界の主観歪を減少させるデブロッキングフィルタを備え、ローカルデコード画像をデブロッキングフィルタ処理する画像符号化装置に搭載されたコンピュータを、
人間がローカルデコード画像の各部に対して瞬間的に注目する度合いを表す顕著性マップ、及び、量子化ステップサイズに所定関数に従って対応する量子化パラメータの少なくとも一方が該当する補正判断用情報を取得する補正判断用情報取得手段と、
取得された補正判断用情報の大きさに基づいて、上記デブロッキングフィルタが決定したブロック境界強度を見直して、ローカルデコード画像に対するデブロッキングフィルタリングに適用させるブロック境界強度補正手段と
して機能させることを特徴とする画像符号化プログラム。
A computer mounted on an image encoding device that includes a deblocking filter that reduces subjective distortion at a block boundary that occurs during encoding of a moving image, and that performs deblocking filtering on a local decoded image,
Acquire saliency map indicating the degree of human instantaneous attention to each part of the local decoded image, and correction determination information corresponding to at least one of quantization parameters corresponding to a quantization step size according to a predetermined function Correction determination information acquisition means;
Based on the size of the obtained correction determination information, the block boundary strength determined by the deblocking filter is reviewed to function as a block boundary strength correction unit that is applied to deblocking filtering for a local decoded image. A characteristic image encoding program.
対向する画像符号化装置における動画像の符号化時に生じるブロック境界の主観歪を減少させるデブロッキングフィルタを備え、デコード画像をデブロッキングフィルタ処理する画像復号装置に搭載されるコンピュータを、
人間がデコード画像の各部に対して瞬間的に注目する度合いを表す顕著性マップ、及び、量子化ステップサイズに所定関数に従って対応する量子化パラメータの少なくとも一方が該当する補正判断用情報を取得する補正判断用情報取得手段と、
取得された補正判断用情報の大きさに基づいて、上記デブロッキングフィルタが決定したブロック境界強度を見直して、デコード画像に対するデブロッキングフィルタリングに適用させるブロック境界強度補正手段と
して機能させることを特徴とする画像復号プログラム。
A computer mounted in an image decoding device that includes a deblocking filter that reduces subjective distortion of a block boundary that occurs when encoding a moving image in an opposing image encoding device, and that performs a deblocking filter process on a decoded image,
Correction for acquiring correction judgment information corresponding to at least one of a saliency map representing the degree of instantaneous attention to each part of a decoded image and a quantization step size corresponding to a quantization step size according to a predetermined function Information acquisition means for determination;
The block boundary strength determined by the deblocking filter is reviewed based on the size of the acquired correction determination information, and the block boundary strength correction means is applied to the deblocking filtering for the decoded image. An image decoding program.
JP2014001709A 2014-01-08 2014-01-08 Image encoding device and program, image decoding device and program, and image encoding system Pending JP2015130616A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014001709A JP2015130616A (en) 2014-01-08 2014-01-08 Image encoding device and program, image decoding device and program, and image encoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014001709A JP2015130616A (en) 2014-01-08 2014-01-08 Image encoding device and program, image decoding device and program, and image encoding system

Publications (1)

Publication Number Publication Date
JP2015130616A true JP2015130616A (en) 2015-07-16

Family

ID=53761053

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014001709A Pending JP2015130616A (en) 2014-01-08 2014-01-08 Image encoding device and program, image decoding device and program, and image encoding system

Country Status (1)

Country Link
JP (1) JP2015130616A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108401149A (en) * 2018-02-13 2018-08-14 天津大学 Stereo-picture Comfort Evaluation based on multiscale space theory and non-significant administrative division map
CN113435233A (en) * 2020-03-23 2021-09-24 北京金山云网络技术有限公司 Pornographic image identification method and system and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108401149A (en) * 2018-02-13 2018-08-14 天津大学 Stereo-picture Comfort Evaluation based on multiscale space theory and non-significant administrative division map
CN113435233A (en) * 2020-03-23 2021-09-24 北京金山云网络技术有限公司 Pornographic image identification method and system and electronic equipment
CN113435233B (en) * 2020-03-23 2024-03-05 北京金山云网络技术有限公司 Pornographic image recognition method and system and electronic equipment

Similar Documents

Publication Publication Date Title
US10708623B2 (en) In loop chroma deblocking filter
US9967556B2 (en) Video coding method using at least evaluated visual quality and related video coding apparatus
RU2696311C1 (en) Video motion compensation device and method with selectable interpolation filter
US10820008B2 (en) Apparatus and method for video motion compensation
KR102274319B1 (en) Method and apparatus for encoding and decoding image and recording medium thereof and system for processing image
RU2696552C1 (en) Method and device for video coding
KR102287414B1 (en) Low Complexity Mixed Domain Cooperative In-Loop Filter for Lossy Video Coding
US9438912B2 (en) Video encoding/decoding methods, video encoding/decoding apparatuses, and programs therefor
US20110069752A1 (en) Moving image encoding/decoding method and apparatus with filtering function considering edges
JP4189358B2 (en) Image coding apparatus and method
Wennersten et al. Bilateral filtering for video coding
KR101818900B1 (en) Inter-layer prediction for signals with enhanced dynamic range
JP2018500806A (en) Method and apparatus for performing graph-based conversion using generalized graph parameters
JP2015130616A (en) Image encoding device and program, image decoding device and program, and image encoding system
JP2006067302A (en) Apparatus, method, and program for image encoding
US8369423B2 (en) Method and device for coding
CN104919806A (en) Image processing device and method
JP5913929B2 (en) Moving picture coding apparatus, control method therefor, and computer program
JP2015104061A (en) Dynamic image encoding device and dynamic image decoding device
US9438914B2 (en) Encoding apparatus and encoding method
JP6200220B2 (en) Image processing apparatus, encoding apparatus, decoding apparatus, and program
JP2015080024A (en) Moving picture decoder, program, and method
JP2014110509A (en) Image encoding device and image encoding method
US20200413105A1 (en) Metric driven adaptive processing for video encoders
CN113766239B (en) Method and system for data processing