JP6864557B2 - Encoding device, decoding device, and program - Google Patents

Encoding device, decoding device, and program Download PDF

Info

Publication number
JP6864557B2
JP6864557B2 JP2017102924A JP2017102924A JP6864557B2 JP 6864557 B2 JP6864557 B2 JP 6864557B2 JP 2017102924 A JP2017102924 A JP 2017102924A JP 2017102924 A JP2017102924 A JP 2017102924A JP 6864557 B2 JP6864557 B2 JP 6864557B2
Authority
JP
Japan
Prior art keywords
image
unit
reduced image
frequency
frequency component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017102924A
Other languages
Japanese (ja)
Other versions
JP2018198402A (en
Inventor
康孝 松尾
康孝 松尾
境田 慎一
慎一 境田
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.)
Japan Broadcasting Corp
Original Assignee
Japan Broadcasting 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 Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2017102924A priority Critical patent/JP6864557B2/en
Publication of JP2018198402A publication Critical patent/JP2018198402A/en
Application granted granted Critical
Publication of JP6864557B2 publication Critical patent/JP6864557B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

本発明は、符号化装置、復号装置、及びそれらのプログラムに関する。 The present invention relates to a coding device, a decoding device, and a program thereof.

従来、入力画像を縮小した後に、符号化及び復号し、復号した縮小画像を超解像処理して復元する技術が知られている。例えば、特許文献1には、縮小後に符号化・復号した映像を、フレーム間動きベクトルを用いて高解像度化する装置が開示されている。 Conventionally, there is known a technique in which an input image is reduced, then encoded and decoded, and the decoded reduced image is subjected to super-resolution processing to be restored. For example, Patent Document 1 discloses an apparatus for increasing the resolution of a video encoded / decoded after reduction by using an inter-frame motion vector.

また、特許文献2には、データ圧縮を行いつつ、不自然さを感じさせないテクスチャの表現方法を提供する装置が開示されている。具体的には、入力信号を2つの周波数領域のサブバンドに分離して、低周波成分は従来の符号化装置によって符号化し、高周波成分は代表的なテクスチャパラメータを計算するために分析され、計算したテクスチャパラメータを復号側に送信する。そして、復号側で低周波成分を復号し、高周波成分は不自然ではないテクスチャと置き換る。 Further, Patent Document 2 discloses a device that provides a method of expressing a texture that does not make an unnatural feeling while compressing data. Specifically, the input signal is separated into subbands in two frequency domains, the low frequency components are encoded by a conventional coding device, and the high frequency components are analyzed and calculated to calculate typical texture parameters. The texture parameter is sent to the decoding side. Then, the decoding side decodes the low frequency component and replaces the high frequency component with a texture that is not unnatural.

特許第4876048号公報Japanese Patent No. 4876048 国際公開第2008/066025号International Publication No. 2008/066025

しかし、特許文献1に記載の装置においては、動いていない箇所では高解像度化が難しく、また、復号映像のフレーム間動きベクトルを用いて高解像度化することもできるが、高画質な高解像度化を行うには符号化側で入力映像のフレーム間動きベクトルを求めてこれを復号側へ伝送する必要がある、という課題がある。 However, in the apparatus described in Patent Document 1, it is difficult to increase the resolution in a non-moving part, and it is possible to increase the resolution by using the inter-frame motion vector of the decoded video, but the image quality is increased. There is a problem that it is necessary for the coding side to obtain the inter-frame motion vector of the input video and transmit it to the decoding side.

また、特許文献2に記載の装置においては、高周波成分のテクスチャパラメータを伝送する必要があり、また、復号側にテクスチャパラメータに基づく高周波成分のデータベースを用意しておく必要がある、という課題がある。 Further, the apparatus described in Patent Document 2 has a problem that it is necessary to transmit the texture parameter of the high frequency component and it is necessary to prepare a database of the high frequency component based on the texture parameter on the decoding side. ..

かかる事情に鑑みてなされた本発明の目的は、上記課題を解決し、入力画像を縮小して符号化効率を向上させるとともに、縮小処理及び符号化処理により失われた高周波成分を高画質に超解像復元することが可能な映像符号化装置、映像復号装置、及びプログラムを提供することにある。 An object of the present invention made in view of such circumstances is to solve the above problems, reduce the input image to improve the coding efficiency, and superimpose the high frequency component lost by the reduction process and the coding process in high image quality. It is an object of the present invention to provide a video coding device, a video decoding device, and a program capable of resolving and restoring.

上記課題を解決するため、本発明に係る符号化装置は、入力画像を縮小した後に符号化する符号化装置であって、入力画像に対して周波数分解処理を行って縮小画像を生成する縮小画像生成部と、前記縮小画像に対して量子化処理を行って量子化係数を生成する圧縮部と、前記量子化係数に対して伸張処理を行って縮小画像を復元し、復元縮小画像として出力する伸張部と、前記復元縮小画像に対して周波数分解処理して高周波成分画像を生成し、該高周波成分画像のうち、パワー値が第1の閾値以上となる周波数帯域を使用帯域として決定する使用帯域決定部と、前記量子化係数及び前記使用帯域を示す使用帯域情報を符号化したビットストリームを生成する符号化部と、を備えることを特徴とする。 In order to solve the above problems, the coding device according to the present invention is a coding device that encodes after reducing the input image, and is a reduced image that performs frequency decomposition processing on the input image to generate a reduced image. A generation unit, a compression unit that performs quantization processing on the reduced image to generate a quantization coefficient, and a compression unit that performs decompression processing on the quantization coefficient to restore the reduced image and output it as a restored reduced image. The stretched portion and the restored / reduced image are subjected to frequency decomposition processing to generate a high-frequency component image, and the frequency band in which the power value is equal to or higher than the first threshold value is determined as the used band in the high-frequency component image. It is characterized by including a determination unit and a coding unit that generates a bit stream in which the quantization coefficient and the usage band information indicating the usage band are encoded.

さらに、本発明に係る符号化装置において、前記縮小画像生成部は、前記入力画像に対してn階ウェーブレット分解処理を行って低周波成分画像を生成し、該低周波成分画像の各画素値を整数化して前記縮小画像とし、前記使用帯域決定部は、前記復元縮小画像に対してm階ウェーブレット分解処理を行って前記高周波成分画像を生成することを特徴とする。 Further, in the coding apparatus according to the present invention, the reduced image generation unit performs n-th order wavelet decomposition processing on the input image to generate a low frequency component image, and generates each pixel value of the low frequency component image. The reduced image is converted into an integer, and the band used determination unit is characterized in that the restored and reduced image is subjected to m-th order wavelet decomposition processing to generate the high frequency component image.

さらに、本発明に係る符号化装置において、前記使用帯域決定部は、前記nの値が所定値以上である場合には、前記高周波成分画像のうち、前記パワー値が前記第1の閾値以上であり、且つ周波数が第2の閾値以下となる周波数帯域を前記使用帯域として決定することを特徴とする。 Further, in the coding apparatus according to the present invention, when the value of n is equal to or higher than a predetermined value, the power value of the high frequency component image is equal to or higher than the first threshold value. It is characterized in that a frequency band that is present and whose frequency is equal to or lower than the second threshold value is determined as the band to be used.

さらに、本発明に係る符号化装置において、前記使用帯域決定部は、前記nの値が大きいほど、前記第2の閾値を小さくすることを特徴とする。 Further, in the coding apparatus according to the present invention, the band used determining unit is characterized in that the larger the value of n, the smaller the second threshold value.

また、上記課題を解決するため、本発明に係る復号装置は、縮小された縮小画像を復元した後に超解像処理する復号装置であって、前記縮小画像の量子化係数と、超解像処理で使用する使用帯域を示す使用帯域情報とを取得する取得部と、前記量子化係数を逆量子化処理して前記縮小画像を復元し、復元縮小画像として出力する縮小画像復元部と、前記復元縮小画像に対して周波数分解処理して、前記使用帯域の高周波成分画像を生成し、該高周波成分画像を前記復元縮小画像の高周波成分に割り付けることにより超解像画像を生成する超解像復元部と、を備えることを特徴とする。 Further, in order to solve the above problems, the decoding device according to the present invention is a decoding device that performs super-resolution processing after restoring a reduced reduced image, and has a quantization coefficient of the reduced image and super-resolution processing. An acquisition unit that acquires used band information indicating the used band used in the above, a reduced image restoration unit that restores the reduced image by dequantizing the quantization coefficient and outputs it as a restored reduced image, and the restoration. A super-resolution restoration unit that generates a super-resolution image by performing frequency decomposition processing on a reduced image to generate a high-frequency component image of the used band and allocating the high-frequency component image to the high-frequency component of the restored reduced image. It is characterized by having.

また、上記課題を解決するため、本発明に係る復号装置は、縮小された縮小画像を復元した後に超解像処理する復号装置であって、前記縮小画像の量子化係数を取得する取得部と、前記量子化係数を逆量子化処理して前記縮小画像を復元し、復元縮小画像として出力する縮小画像復元部と、前記復元縮小画像に対して周波数分解処理して高周波成分画像を生成し、該高周波成分画像のうち、パワー値が第1の閾値以上となる周波数帯域を使用帯域として決定する使用帯域決定部と、前記復元縮小画像を周波数分解処理して、前記使用帯域の高周波成分画像を生成し、該高周波成分画像を前記縮小画像の高周波成分に割り付けることにより超解像画像を生成する超解像復元部と、を備えること特徴とする。 Further, in order to solve the above problems, the decoding device according to the present invention is a decoding device that performs super-resolution processing after restoring a reduced reduced image, and includes an acquisition unit that acquires a quantization coefficient of the reduced image. A reduced image restoration unit that reverse-quantizes the quantization coefficient to restore the reduced image and outputs it as a restored reduced image, and a frequency decomposition process on the restored reduced image to generate a high-frequency component image. Among the high-frequency component images, a frequency band in which the power value is equal to or higher than the first threshold value is determined as the used band, and the restored and reduced image is frequency-resolved to obtain a high-frequency component image of the used band. It is characterized by including a super-resolution restoration unit that generates a super-resolution image by generating and allocating the high-frequency component image to the high-frequency component of the reduced image.

さらに、本発明に係る復号装置において、前記超解像復元部は、前記復元縮小画像に対してウェーブレット分解処理を行って前記使用帯域を含む周波数分解画像を生成する周波数分解部と、前記復元縮小画像と、前記周波数分解画像の低周波成分画像との間で類似するブロックの位置関係を示す位置合わせ情報を生成する位置合わせ部と、前記位置合わせ情報に従って、前記復元縮小画像の高周波成分として、前記周波数分解画像の高周波成分画像を割り付けて超解像高周波成分画像を生成する超解像高周波成分割付部と、前記復元縮小画像を低周波成分とし、前記超解像高周波成分画像を高周波成分として周波数再構成処理して前記超解像画像を生成する周波数再構成部と、を備えること特徴とする。 Further, in the decoding device according to the present invention, the super-resolution restoration unit includes a frequency decomposition unit that performs wavelet decomposition processing on the restoration / reduction image to generate a frequency decomposition image including the band used, and the restoration / reduction unit. An alignment unit that generates alignment information indicating the positional relationship of similar blocks between the image and the low-frequency component image of the frequency-resolved image, and as a high-frequency component of the restored and reduced image according to the alignment information. The super-resolution high-frequency component image that allocates the high-frequency component image of the frequency-resolved image to generate the super-resolution high-frequency component image, the restored and reduced image as the low-frequency component, and the super-resolution high-frequency component image as the high-frequency component It is characterized by including a frequency reconstruction unit that performs frequency reconstruction processing to generate the super-resolution image.

また、上記課題を解決するため、本発明に係るプログラムは、コンピュータを、上記符号化装置として機能させることを特徴とする。 Further, in order to solve the above problems, the program according to the present invention is characterized in that the computer functions as the coding device.

また、上記課題を解決するため、本発明に係るプログラムは、コンピュータを、上記復号装置として機能させることを特徴とする。 Further, in order to solve the above problems, the program according to the present invention is characterized in that the computer functions as the decoding device.

本発明によれば、符号化側において、入力画像を縮小するため、符号化効率を向上させることができる。また、復号側において、符号化側の縮小処理及び符号化処理により失われた高周波成分を、高画質に超解像復元することができる。 According to the present invention, since the input image is reduced on the coding side, the coding efficiency can be improved. Further, on the decoding side, the high frequency component lost by the reduction processing and the coding processing on the coding side can be super-resolution restored with high image quality.

本発明の第1の実施形態に係る符号化装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the coding apparatus which concerns on 1st Embodiment of this invention. 本発明の第1の実施形態に係る符号化装置における縮小画像生成部の処理例を示す図である。It is a figure which shows the processing example of the reduced image generation part in the coding apparatus which concerns on 1st Embodiment of this invention. 本発明の第2の実施形態に係る復号装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the decoding apparatus which concerns on 2nd Embodiment of this invention. 本発明の第2の実施形態に係る復号装置における超解像復元部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the super-resolution restoration part in the decoding apparatus which concerns on 2nd Embodiment of this invention. 本発明の第2の実施形態に係る復号装置における位置合わせ部の処理の概要を示す図である。It is a figure which shows the outline of the processing of the alignment part in the decoding apparatus which concerns on 2nd Embodiment of this invention. 本発明の第2の実施形態に係る復号装置における超解像高周波成分割付部の処理の概要を示す図である。It is a figure which shows the outline of the processing of the super-resolution high-frequency division attachment part in the decoding apparatus which concerns on 2nd Embodiment of this invention. 本発明の第2の実施形態に係る復号装置における周波数再構成部の処理の概要を示す図である。It is a figure which shows the outline of the process of the frequency reconstruction part in the decoding apparatus which concerns on 2nd Embodiment of this invention. 本発明の第1の実施形態に係る符号化装置の変形例の構成例を示すブロック図である。It is a block diagram which shows the structural example of the modification of the coding apparatus which concerns on 1st Embodiment of this invention. 本発明の第2の実施形態に係る復号装置の変形例の構成例を示すブロック図である。It is a block diagram which shows the structural example of the modification of the decoding apparatus which concerns on 2nd Embodiment of this invention.

以下、本発明の実施形態について、図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

(符号化装置)
図1は、本発明の第1の実施形態に係る符号化装置1の構成例を示すブロック図である。符号化装置1は、入力画像を縮小した後に符号化し、ビットストリームを生成して外部に出力する。図1に示す例では、符号化装置1は、縮小画像生成部10と、圧縮部20と、伸張部30と、使用帯域決定部40と、エントロピー符号化部50とを備える。
(Encoding device)
FIG. 1 is a block diagram showing a configuration example of the coding device 1 according to the first embodiment of the present invention. The coding device 1 reduces the input image, encodes it, generates a bit stream, and outputs the bit stream to the outside. In the example shown in FIG. 1, the coding device 1 includes a reduced image generation unit 10, a compression unit 20, a decompression unit 30, a band usage determination unit 40, and an entropy coding unit 50.

縮小画像生成部10は、入力画像に対して周波数分解(多重解像度分解)処理を行って低周波成分を四捨五入などにより整数化し、縮小画像として生成し、圧縮部20に出力する。縮小率は伝送容量に応じて適宜決定可能である。縮小画像生成部10は、周波数分解として、ウェーブレット分解を用いることができる。n階ウェーブレット分解をした場合には、入力画像の低周波成分画像LLが生成される。ここで、添え字のnは分解階数を意味する。 The reduced image generation unit 10 performs frequency decomposition (multi-resolution decomposition) processing on the input image to convert low frequency components into integers by rounding or the like, generates them as reduced images, and outputs them to the compression unit 20. The reduction ratio can be appropriately determined according to the transmission capacity. The reduced image generation unit 10 can use wavelet decomposition as the frequency decomposition. When the nth-order wavelet decomposition is performed, a low-frequency component image LL n of the input image is generated. Here, the subscript n means the decomposition rank.

図2は、縮小画像生成部10の処理例を示す図である。図2では、入力画像に対する1階ウェーブレット分解処理を示している。低周波成分画像LLの各画素値を四捨五入などにより整数化して縮小画像とする。高周波成分画像LH,HL,HHは使用されないため、縮小画像生成部10から出力しない。図2の例では分解階数n=1であるため、水平方向及び垂直方向の縮小率がともに1/2の縮小画像が生成される。 FIG. 2 is a diagram showing a processing example of the reduced image generation unit 10. FIG. 2 shows the first-order wavelet decomposition processing for the input image. Each pixel value of the low-frequency component image LL 1 is converted into an integer by rounding or the like to obtain a reduced image. Since the high-frequency component images LH 1 , HL 1 , and HH 1 are not used, they are not output from the reduced image generation unit 10. In the example of FIG. 2, since the decomposition rank n = 1, a reduced image having a reduction ratio of 1/2 in both the horizontal direction and the vertical direction is generated.

圧縮部20は、縮小画像生成部10により生成された縮小画像に対して量子化処理を行って量子化係数を生成し、伸張部30及びエントロピー符号化部50に出力する。圧縮部20の処理は、JPEG2000、AVC/H.264、HEVC/H.265などの既知の方式により行う。 The compression unit 20 performs a quantization process on the reduced image generated by the reduced image generation unit 10 to generate a quantization coefficient, and outputs the quantization coefficient to the decompression unit 30 and the entropy coding unit 50. The processing of the compression unit 20 is performed by a known method such as JPEG2000, AVC / H.264, HEVC / H.265 and the like.

圧縮部20は、例えば図1に示すように、ブロック分割部21と、減算部22と、変換部23と、量子化部24と、予測部25とを備える。 As shown in FIG. 1, for example, the compression unit 20 includes a block division unit 21, a subtraction unit 22, a conversion unit 23, a quantization unit 24, and a prediction unit 25.

ブロック分割部21は、縮小画像生成部10により生成された縮小画像を複数のブロックに分割し、ブロック画像を減算部22、及び予測部25に出力する。ブロックのサイズは可変サイズであってもよく、例えば32×32画素、16×16画素、8×8画素、又は4×4画素とする。 The block division unit 21 divides the reduced image generated by the reduced image generation unit 10 into a plurality of blocks, and outputs the block image to the subtraction unit 22 and the prediction unit 25. The size of the block may be variable, for example 32 × 32 pixels, 16 × 16 pixels, 8 × 8 pixels, or 4 × 4 pixels.

減算部22は、ブロック分割部21により生成されたブロック画像の各画素値から、後述する予測部25から入力された予測画像の各画素値を減算して残差ブロック画像を生成し、変換部23に出力する。 The subtraction unit 22 generates a residual block image by subtracting each pixel value of the prediction image input from the prediction unit 25, which will be described later, from each pixel value of the block image generated by the block division unit 21 to generate a conversion unit. Output to 23.

変換部23は、減算部22から入力された残差ブロック画像に対して直交変換などの変換処理を行って二次元変換処理された変換係数を算出し、ブロックごとの変換係数を量子化部24に出力する。 The conversion unit 23 performs conversion processing such as orthogonal transformation on the residual block image input from the subtraction unit 22, calculates the conversion coefficient subjected to the two-dimensional conversion processing, and calculates the conversion coefficient for each block in the quantization unit 24. Output to.

量子化部24は、変換部23から入力されたブロックごとの変換係数を量子化ステップで除算して量子化することにより量子化係数を生成し、伸張部30及びエントロピー符号化部50に出力する。 The quantization unit 24 generates a quantization coefficient by dividing the conversion coefficient for each block input from the conversion unit 23 in the quantization step and quantizes it, and outputs the quantization coefficient to the expansion unit 30 and the entropy coding unit 50. ..

予測部25は、後述する記憶部34に記憶された復元縮小画像を参照してイントラ予測又はインター予測を行って予測画像を生成し、減算部22に出力する。また、イントラ予測を行った場合には選択したイントラ予測モードを示す予測情報をエントロピー符号化部50に出力し、インター予測を行った場合には動きベクトルを示す予測情報をエントロピー符号化部50に出力する。 The prediction unit 25 performs intra-prediction or inter-prediction with reference to the restored and reduced image stored in the storage unit 34, which will be described later, generates a prediction image, and outputs the prediction image to the subtraction unit 22. Further, when the intra prediction is performed, the prediction information indicating the selected intra prediction mode is output to the entropy coding unit 50, and when the inter prediction is performed, the prediction information indicating the motion vector is output to the entropy coding unit 50. Output.

伸張部30は、圧縮部20により生成された量子化係数に対して伸張処理を行って縮小画像を復元し、復元縮小画像として使用帯域決定部40に出力する。伸張部30の処理は、JPEG2000、AVC/H.264、HEVC/H.265などの既知の方式により行う。 The decompression unit 30 performs decompression processing on the quantization coefficient generated by the compression unit 20 to restore the reduced image, and outputs the restored and reduced image to the used band determination unit 40. The stretching portion 30 is processed by a known method such as JPEG2000, AVC / H.264, HEVC / H.265 and the like.

伸張部30は、例えば図1に示すように、逆量子化部31と、逆変換部32と、加算部33と、記憶部34とを備える。 As shown in FIG. 1, for example, the stretching unit 30 includes an inverse quantization unit 31, an inverse conversion unit 32, an addition unit 33, and a storage unit 34.

逆量子化部31は、量子化部24から入力された量子化係数に対して、量子化ステップを乗ずることによりブロックごとの変換係数を復元し、逆変換部32に出力する。 The inverse quantization unit 31 restores the conversion coefficient for each block by multiplying the quantization coefficient input from the quantization unit 24 by a quantization step, and outputs the conversion coefficient to the inverse conversion unit 32.

逆変換部32は、逆量子化部31から入力された変換係数に対して、変換部23で行った変換の逆変換を行って残差ブロック画像を復元し、加算部33に出力する。例えば、変換部23が離散コサイン変換を行った場合には、逆変換部32は逆離散コサイン変換を行う。 The inverse transformation unit 32 performs the inverse transformation of the transformation performed by the conversion unit 23 with respect to the conversion coefficient input from the inverse quantization unit 31, restores the residual block image, and outputs the residual block image to the addition unit 33. For example, when the conversion unit 23 performs the discrete cosine transform, the inverse transform unit 32 performs the inverse discrete cosine transform.

加算部33は、逆変換部32から入力された残差ブロック画像と、予測部25から入力された予測画像の各画素値とを加算して復元縮小画像をブロック単位で生成し、記憶部34に出力する。 The addition unit 33 adds the residual block image input from the inverse conversion unit 32 and each pixel value of the prediction image input from the prediction unit 25 to generate a restored reduced image in block units, and stores the storage unit 34. Output to.

使用帯域決定部40は、復元縮小画像に対して周波数分解処理し、高周波成分画像を生成する。使用帯域決定部40は、周波数分解として、ウェーブレット分解を用いることができる。本実施形態では、m階ウェーブレット分解処理して高周波成分画像LH,HL,HH(k=1〜m)を生成する。そして、使用帯域決定部40は、高周波成分画像LH,HL,HHから、後述する復号装置における超解像処理で使用される帯域である使用帯域αを決定し、使用帯域αを示す使用帯域情報をエントロピー符号化部50に出力する。 The band used determination unit 40 performs frequency decomposition processing on the restored and reduced image to generate a high frequency component image. The used band determination unit 40 can use wavelet decomposition as the frequency decomposition. In the present embodiment, the m-th order wavelet decomposition processing is performed to generate high-frequency component images LH k , HL k , and HH k (k = 1 to m). Then, the used band determining unit 40 determines the used band α, which is the band used in the super-resolution processing in the decoding apparatus described later, from the high-frequency component images LH k , HL k , and HH k, and indicates the used band α. The used band information is output to the entropy coding unit 50.

使用帯域決定部40による使用帯域決定方法について、以下に説明する。第1の使用帯域決定方法では、高周波成分画像LH,HL,HHのうち、パワー値が閾値P以上となる周波数帯域を使用帯域αと決定する。パワー値は、例えばRMS(Root Mean Square)値とする。高周波成分画像LH,HL,HHのパワー値のいずれかが閾値P以上であれば、該高周波成分画像LH,HL,HHの周波数帯域全てを使用帯域αとしてもよい。例えば、分解階数m=5で、高周波成分画像LHとHLのパワー値が閾値以上であれば、高周波成分画像LH,HL,HH,LH,HL,HHの周波数帯域を使用帯域αと決定する。この場合、使用帯域αを分解階数で示すことも可能なので、α=3,4としてもよい。 The method of determining the used band by the used band determining unit 40 will be described below. In the first method for determining the used band, the frequency band in which the power value is equal to or higher than the threshold value P is determined as the used band α among the high frequency component images LH k , HL k , and HH k. The power value is, for example, an RMS (Root Mean Square) value. If any of the power values of the high-frequency component images LH k , HL k , and HH k is equal to or higher than the threshold value P, all the frequency bands of the high-frequency component images LH k , HL k , and HH k may be used as the band α. For example, if the decomposition rank m = 5 and the power values of the high-frequency component images LH 3 and HL 4 are equal to or higher than the threshold value, the frequency bands of the high-frequency component images LH 3 , HL 3 , HH 3 , LH 4 , HL 4 , and HH 4 are used. Is determined as the used band α. In this case, since the used band α can be indicated by the decomposition rank, α = 3 or 4 may be set.

次に、第2の使用帯域決定方法では、縮小画像生成部10におけるウェーブレット分解の分解階数nが所定値x(例えば、x=2)以上である場合には、パワー値が閾値P以上であり、且つ周波数が閾値F以下となる周波数帯域を使用帯域αと決定する。この理由は、縮小画像生成部10におけるウェーブレット分解の分解階数nが大きくなると縮小画像に折り返しひずみが生じる。この場合に、復号側で、復元した縮小画像を再度n階ウェーブレット分解して超解像処理するときに高周波成分を使用帯域とすると、画像が劣化するおそれがあるからである。 Next, in the second used band determination method, when the decomposition order n of the wavelet decomposition in the reduced image generation unit 10 is a predetermined value x (for example, x = 2) or more, the power value is the threshold value P or more. The frequency band in which the frequency is equal to or lower than the threshold value F is determined as the used band α. The reason for this is that when the decomposition rank n of the wavelet decomposition in the reduced image generation unit 10 becomes large, the reduced image is distorted by folding back. In this case, if the high frequency component is used as the band when the restored reduced image is decomposed into the nth-order wavelet again and the super-resolution processing is performed on the decoding side, the image may be deteriorated.

さらに、第3の使用帯域決定方法では、第2の使用帯域決定方法において、分解階数nが大きいほど閾値Fを小さくする。分解階数が大きいほど、生成される画像の周波数帯域は低くなるため、具体的には、使用帯域を(n+1)階以上の高周波成分画像から決定するようにしてもよい。例えば、第2の使用帯域決定方法で例示したように分解階数m=5で、LHとHLのRMS値が閾値P以上であった場合に、n=3であるときには、高周波成分画像LH,HL,HHの周波数帯域を使用帯域αと決定する。 Further, in the third used band determining method, in the second used band determining method, the larger the decomposition rank n, the smaller the threshold value F. The larger the decomposition order, the lower the frequency band of the generated image. Therefore, specifically, the band to be used may be determined from the high frequency component image of the (n + 1) order or higher. For example, when the decomposition order m = 5 and the RMS values of LH 3 and HL 4 are equal to or higher than the threshold value P as illustrated in the second method for determining the band to be used, and n = 3, the high frequency component image LH The frequency bands of 4 , HL 4 , and HH 4 are determined as the used band α.

エントロピー符号化部50は、量子化部24から入力された量子化係数、予測部25から入力された予測情報、及び使用帯域決定部40から入力された使用帯域情報に対してエントロピー符号化を行い、データ圧縮を行ってビットストリームを生成し、符号化装置1の外部に出力する。 The entropy coding unit 50 performs entropy coding on the quantization coefficient input from the quantization unit 24, the prediction information input from the prediction unit 25, and the usage band information input from the usage band determination unit 40. , Data compression is performed to generate a bit stream, and the data is output to the outside of the encoding device 1.

ここで、上述した符号化装置1として機能させるためにコンピュータを好適に用いることができ、そのようなコンピュータは、符号化装置1の各機能を実現する処理内容を記述したプログラムを該コンピュータの記憶部に格納しておき、該コンピュータのCPUによってこのプログラムを読み出して実行させることで実現することができる。なお、このプログラムは、コンピュータ読取り可能な記録媒体に記録可能である。 Here, a computer can be preferably used to function as the coding device 1 described above, and such a computer stores a program describing processing contents for realizing each function of the coding device 1 in the computer. It can be realized by storing it in a unit and reading and executing this program by the CPU of the computer. This program can be recorded on a computer-readable recording medium.

上述したように、本発明に係る符号化装置及びそのプログラムは、入力画像を縮小した縮小画像を生成するとともに、縮小画像を復元した復元縮小画像の解析を行い、復号側の超解像処理に使用する使用帯域を決定する。これにより、余分な情報(高周波成分のテクスチャパラメータなど)を別途復号側に伝送する必要がなくなり、符号化効率を向上させることが可能となる。 As described above, the coding apparatus and its program according to the present invention generate a reduced image obtained by reducing the input image, analyze the restored reduced image obtained by restoring the reduced image, and perform super-resolution processing on the decoding side. Determine the band to use. As a result, it is not necessary to separately transmit extra information (texture parameters of high frequency components, etc.) to the decoding side, and it is possible to improve the coding efficiency.

(復号装置)
次に、復号装置について説明する。図3は、本発明の第2の実施形態に係る復号装置3の構成例を示すブロック図である。
(Decoding device)
Next, the decoding device will be described. FIG. 3 is a block diagram showing a configuration example of the decoding device 3 according to the second embodiment of the present invention.

復号装置3は、符号化装置1からビットストリームを取得し、縮小された縮小画像を復号した後に超解像処理し、縮小画像よりも解像度の高い超解像画像を生成する。図3に示す例では、復号装置3は、エントロピー復号部(取得部)60と、縮小画像復元部70と、超解像復元部80とを備える。 The decoding device 3 acquires a bit stream from the coding device 1, decodes the reduced reduced image, and then performs super-resolution processing to generate a super-resolution image having a resolution higher than that of the reduced image. In the example shown in FIG. 3, the decoding device 3 includes an entropy decoding unit (acquisition unit) 60, a reduced image restoration unit 70, and a super-resolution restoration unit 80.

エントロピー復号部60は、符号化装置1のエントロピー符号化部50と対をなし、エントロピー符号化部50で符号化されたビットストリームを復号し、縮小画像の量子化係数、予測処理に必要な情報である予測情報、及び超解像処理に必要な情報である使用帯域情報を取得する。そして、量子化係数を逆量子化部71に出力し、予測情報を予測部75に出力し、使用帯域情報を超解像復元部80に出力する。 The entropy decoding unit 60 pairs with the entropy coding unit 50 of the coding device 1, decodes the bit stream encoded by the entropy coding unit 50, and obtains the quantization coefficient of the reduced image and information necessary for prediction processing. The prediction information, which is, and the used band information, which is the information necessary for the super-resolution processing, are acquired. Then, the quantization coefficient is output to the inverse quantization unit 71, the prediction information is output to the prediction unit 75, and the used band information is output to the super-resolution restoration unit 80.

縮小画像復元部70は、エントロピー復号部60により復号された、縮小画像の量子化係数を入力し、逆量子化処理して縮小画像を復元し、復元縮小画像として超解像復元部80に出力する。図3に示す例では、縮小画像復元部70は、逆量子化部71と、逆変換部72と、加算部73と、記憶部74と、予測部75とを備える。 The reduced image restoration unit 70 inputs the quantization coefficient of the reduced image decoded by the entropy decoding unit 60, performs dequantization processing to restore the reduced image, and outputs the restored reduced image to the super-resolution restoration unit 80. To do. In the example shown in FIG. 3, the reduced image restoration unit 70 includes an inverse quantization unit 71, an inverse conversion unit 72, an addition unit 73, a storage unit 74, and a prediction unit 75.

逆量子化部71は、エントロピー復号部60から入力された量子化係数に量子化ステップを乗算してブロックごとの変換係数を復元し、逆変換部72に出力する。なお、量子化ステップは符号化装置1から取得してもよいし、予め符号化装置1と共通の量子化テーブルを有していてもよい。 The inverse quantization unit 71 multiplies the quantization coefficient input from the entropy decoding unit 60 by the quantization step to restore the conversion coefficient for each block, and outputs the conversion coefficient to the inverse conversion unit 72. The quantization step may be acquired from the coding device 1, or may have a common quantization table with the coding device 1 in advance.

逆変換部72は、逆量子化部71から入力された変換係数に対して逆変換を行って残差ブロック画像を復元し、加算部73に出力する。逆変換は、符号化装置1の逆変換部32と同じ処理である。 The inverse transformation unit 72 performs inverse transformation on the conversion coefficient input from the inverse quantization unit 71 to restore the residual block image, and outputs the residual block image to the addition unit 73. The inverse transformation is the same process as the inverse transformation unit 32 of the coding apparatus 1.

加算部73は、逆変換部72から入力された残差ブロック画像と、予測部75から入力された予測画像の各画素値とを加算し、復元縮小画像をブロック単位で生成し、記憶部74、及び超解像復元部80に出力する。 The addition unit 73 adds the residual block image input from the inverse conversion unit 72 and each pixel value of the prediction image input from the prediction unit 75, generates a restored reduced image in block units, and stores the storage unit 74. , And output to the super-resolution restoration unit 80.

記憶部74は、加算部73から入力された復号ブロック画像を記憶する。 The storage unit 74 stores the decoding block image input from the addition unit 73.

予測部75は、記憶部74に記憶された復元縮小画像を参照し、エントロピー復号部60から入力された予測情報に従って予測処理を行って予測画像を生成し、加算部73に出力する。 The prediction unit 75 refers to the restored and reduced image stored in the storage unit 74, performs prediction processing according to the prediction information input from the entropy decoding unit 60, generates a prediction image, and outputs the prediction image to the addition unit 73.

超解像復元部80は、縮小画像復元部70により復元された縮小画像(復元縮小画像)を、周波数分解処理する。その際に、エントロピー復号部60により復号された使用帯域情報が示す使用帯域αの高周波成分画像を生成し、該高周波成分画像を復元縮小画像の高周波成分に割り付けることにより超解像画像を生成し、復号装置3の外部に出力する。 The super-resolution restoration unit 80 performs frequency decomposition processing on the reduced image (restored and reduced image) restored by the reduced image restoration unit 70. At that time, a high-frequency component image of the used band α indicated by the used band information decoded by the entropy decoding unit 60 is generated, and the high-frequency component image is assigned to the high-frequency component of the restored reduced image to generate a super-resolution image. , Output to the outside of the decoding device 3.

図4は、超解像復元部80の構成例を示すブロック図である。図4に示す例では、超解像復元部80は、周波数分解部81と、位置合わせ部82と、超解像高周波成分割付部83と、周波数再構成部84とを備える。 FIG. 4 is a block diagram showing a configuration example of the super-resolution restoration unit 80. In the example shown in FIG. 4, the super-resolution restoration unit 80 includes a frequency decomposition unit 81, an alignment unit 82, a super-resolution high-frequency generation / division attachment unit 83, and a frequency reconstruction unit 84.

周波数分解部81は、エントロピー復号部60から使用帯域αを取得する。そして、復元縮小画像に対して周波数分解(多重解像度分解)処理を行って使用帯域αを含む周波数分解画像を生成し、位置合わせ部82に出力する。周波数分解部81は、周波数分解処理として、ウェーブレット分解処理を行うことができる。以下の説明では、αが分解階数を示しているものとする。周波数分解画像は、縮小画像の低周波成分画像LLαと、縮小画像の高周波成分画像である水平高周波成分画像LHα、垂直高周波成分画像HLα、及び対角高周波成分画像HHαとからなる。 The frequency decomposition unit 81 acquires the used band α from the entropy decoding unit 60. Then, the restored reduced image is subjected to frequency decomposition (multi-resolution decomposition) processing to generate a frequency-resolved image including the used band α, and is output to the alignment unit 82. The frequency decomposition unit 81 can perform a wavelet decomposition process as the frequency decomposition process. In the following description, it is assumed that α indicates the decomposition rank. The frequency-resolved image includes a low-frequency component image LL α of the reduced image, a horizontal high-frequency component image LH α which is a high-frequency component image of the reduced image, a vertical high-frequency component image HL α , and a diagonal high-frequency component image HH α .

位置合わせ部82は、復元縮小画像と低周波成分画像LLαとの間で対応する位置関係を示す位置合わせ情報(レジストレーション情報)を生成し、超解像高周波成分割付部83に出力する。 The alignment unit 82 generates alignment information (registration information) indicating the corresponding positional relationship between the restored reduced image and the low-frequency component image LL α, and outputs the alignment information (registration information) to the super-resolution high-frequency segmentation unit 83.

図5は、位置合わせ部82における位置合わせ処理の概要を示す図である。位置合わせ部82は、例えば復元縮小画像を基準フレームとし、低周波成分画像LLαを参照フレームとして、両フレーム間でブロックマッチングを行い、探索範囲内で類似度(相関性)の最も高いブロックの位置関係を示す位置合わせ情報を生成する。図5ではα=1としているが、αは複数であってもよい。ブロックマッチングは、絶対値誤差和(SAD;Sum of Absolute Difference)、二乗誤差和(SSD;Sum of Squared Difference)などの評価関数を用いて、既知の手法により行われる。また、ブロックマッチングは、例えば式(1)に示すパラボラフィッティング関数を用いた補間処理により、小数画素精度で行う。なお、SAD又はSSDの評価関数値が閾値を超えた場合は、位置合わせ情報として採用しないようにしてもよい。 FIG. 5 is a diagram showing an outline of the alignment process in the alignment unit 82. The alignment unit 82 performs block matching between both frames, for example, using the restored and reduced image as a reference frame and the low-frequency component image LL α as a reference frame, and the block having the highest degree of similarity (correlation) within the search range. Generates alignment information that indicates the positional relationship. Although α = 1 in FIG. 5, α may be plural. Block matching is performed by a known method using evaluation functions such as sum of absolute error (SAD) and sum of squared error (SSD). Further, the block matching is performed with a decimal pixel accuracy by, for example, interpolation processing using the parabolic fitting function shown in the equation (1). If the evaluation function value of SAD or SSD exceeds the threshold value, it may not be adopted as the alignment information.

Figure 0006864557
Figure 0006864557

ここで、探索位置における画素位置をxとしたとき、SSD(x)は、画素位置におけるSSD値を表し、より具体的には、SSD(0)は中心位置(SSD値を最小とする位置)におけるSSD値、SSD(−1)は中心位置から−x方向又は−y方向の隣接画素の位置におけるSSD値、SSD(1)は中心位置から+x方向又は+y方向の隣接画素の位置におけるSSD値を表す。式(1)から、水平又は垂直方向の小数画素精度の画素位置(小数画素位置)をそれぞれ算出することができる。 Here, when the pixel position at the search position is x, the SSD (x) represents the SSD value at the pixel position, and more specifically, the SSD (0) is the center position (the position where the SSD value is minimized). SSD (-1) is the SSD value at the position of the adjacent pixel in the −x direction or −y direction from the center position, and SSD (1) is the SSD value at the position of the adjacent pixel in the + x direction or + y direction from the center position. Represents. From the equation (1), the pixel positions (decimal pixel positions) with the decimal pixel accuracy in the horizontal or vertical direction can be calculated respectively.

超解像高周波成分割付部83は、位置合わせ部82により生成された位置合わせ情報に従って、超解像高周波成分画像の高周波成分として、周波数分解部81により生成された高周波成分画像LHα,HLα,HHαを割り付けて超解像高周波成分画像を生成し、周波数再構成部84に出力する。 The super-resolution high-frequency segmentation section 83 uses the high-frequency component images LH α and HL α generated by the frequency-resolving section 81 as high-frequency components of the super-resolution high-frequency component image according to the alignment information generated by the alignment section 82. , HH α is assigned to generate a super-resolution high-frequency component image, which is output to the frequency reconstruction unit 84.

図6は、超解像高周波成分割付部83の処理の概要を示す図である。超解像高周波成分割付部83は、位置合わせ情報に従って、高周波成分画像LHα,HLα,HHαを、超解像水平成分画像、超解像垂直成分画像、及び超解像対角成分画像に割り付ける。ここで、高周波成分画像LHα,HLα,HHαを割り付ける際には、低周波成分画像LLα内の同じ位相位置の位置合わせ情報に従うこととする。これは、復元縮小画像内のブロックAが低周波成分画像LLα内のブロックBに類似していれば、未知の超解像水平成分画像、超解像垂直成分画像、超解像対角成分画像内における、ブロックAと同じ位相位置のブロックは、高周波成分LHα,HLα,HHα内における、ブロックBと同じ位相位置のブロックとそれぞれ類似する可能性が高いためである。 FIG. 6 is a diagram showing an outline of processing of the super-resolution high-frequency segmentation section 83. The super-resolution high-frequency segmentation section 83 converts the high-frequency component images LH α , HL α , and HH α into super-resolution horizontal component images, super-resolution vertical component images, and super-resolution diagonal component images according to the alignment information. Allocate to. Here, when allocating the high-frequency component images LH α , HL α , and HH α , it is assumed that the alignment information of the same phase position in the low-frequency component image LL α is followed. This means that if block A in the restored reduced image is similar to block B in the low frequency component image LL α , then an unknown super-resolution horizontal component image, super-resolution vertical component image, and super-resolution diagonal component. This is because the block having the same phase position as the block A in the image is likely to be similar to the block having the same phase position as the block B in the high frequency components LH α , HL α , and HH α.

超解像高周波成分割付部83は、水平、垂直、対角超解像成分として割り付ける候補が複数存在する場合には、それらの値を平均するか、最大事後確率(Maximum a posteriori;MAP)再構成を行い、未知の値を推定する。MAP再構成の詳細については、例えば、E. Levitan and G. Herman: “A maximum a posteriori probability expectation maximization algorithm for image reconstruction in emission tomography”, IEEE Transactions on Medical Imaging, vol. 6, no. 3, pp. 185-192, Sep. 1987.を参照されたい。また、その他の方法として、ML法や、割り付けられた画素の距離に応じた重み付けにより、超解像高周波成分画像を推定してもよい。 When there are multiple candidates to be assigned as horizontal, vertical, and diagonal super-resolution components, the super-resolution high-frequency segmentation section 83 averages those values or re-maximum a posteriori (MAP). Configure and estimate unknown values. For more information on MAP reconstruction, see, for example, E. Levitan and G. Herman: “A maximum a posteriori probability expectation maximization algorithm for image reconstruction in emission tomography”, IEEE Transactions on Medical Imaging, vol. 6, no. 3, pp. . 185-192, Sep. 1987. Further, as another method, the super-resolution high-frequency component image may be estimated by the ML method or the weighting according to the distance of the allocated pixels.

周波数再構成部84は、縮小画像復元部70により生成された復元縮小画像を低周波成分とし、超解像高周波成分割付部83により割り付けられた超解像高周波成分画像を高周波成分として、周波数再構成処理して超解像画像を生成し、外部に出力する。なお、周波数分解部81が周波数分解処理としてウェーブレット分解処理を行った場合には、周波数再構成部84は、同じウェーブレットを用いてウェーブレット再構成処理を行う。 The frequency reconstruction unit 84 uses the restored and reduced image generated by the reduced image restoration unit 70 as a low frequency component, and the super-resolution high frequency component image allocated by the super-resolution high-frequency segmentation unit 83 as a high-frequency component, and frequency-reconstructs the frequency. The composition process is performed to generate a super-resolution image, which is output to the outside. When the frequency decomposition unit 81 performs the wavelet decomposition processing as the frequency decomposition processing, the frequency reconstruction unit 84 performs the wavelet reconstruction processing using the same wavelet.

図7は、周波数再構成部84の処理の概要を示す図である。符号化装置で1階ウェーブレット分解処理が行われていた場合には、周波数再構成部84は、図7に示すように1階ウェーブレット再構成処理を行うことで、縮小画像に対して水平方向の画素数を2倍、垂直方向の画素数を2倍とし、符号化装置1に入力された入力画像と同じサイズ(解像度)の超解像画像を生成する。 FIG. 7 is a diagram showing an outline of processing of the frequency reconstruction unit 84. When the first-order wavelet decomposition processing is performed by the encoding device, the frequency reconstruction unit 84 performs the first-order wavelet reconstruction processing as shown in FIG. 7 to perform the first-order wavelet reconstruction processing in the horizontal direction with respect to the reduced image. The number of pixels is doubled and the number of pixels in the vertical direction is doubled to generate a super-resolution image having the same size (resolution) as the input image input to the encoding device 1.

ここで、上述した復号装置3として機能させるためにコンピュータを好適に用いることができ、そのようなコンピュータは、復号装置3の各機能を実現する処理内容を記述したプログラムを該コンピュータの記憶部に格納しておき、該コンピュータのCPUによってこのプログラムを読み出して実行させることで実現することができる。なお、このプログラムは、コンピュータ読取り可能な記録媒体に記録可能である。 Here, a computer can be preferably used to function as the decoding device 3 described above, and such a computer stores a program describing processing contents for realizing each function of the decoding device 3 in the storage unit of the computer. This can be realized by storing the program and reading and executing this program by the CPU of the computer. This program can be recorded on a computer-readable recording medium.

上述したように、本発明に係る復号装置及びそのプログラムは、超解像処理で使用する使用帯域情報を符号化側から取得し、復元縮小画像を周波数分解処理して、使用帯域情報に基づく高周波成分画像を生成し、該高周波成分画像を前記復元縮小画像の高周波成分に割り付けることにより超解像画像を生成する。これにより、復号側で高周波成分のデータベースを用意することなく、符号化側の縮小処理及び符号化処理により失われた高周波成分を高画質に超解像復元することができる。また、符号化側の縮小率と復号側の拡大率を逆数とすることにより、符号化側の入力画像の解像度を変えずに高周波成分を付加した超解像画像を復元することができる。 As described above, the decoding device and its program according to the present invention acquire the used band information used in the super-resolution processing from the coding side, perform frequency decomposition processing on the restored reduced image, and perform high frequency based on the used band information. A super-resolution image is generated by generating a component image and allocating the high-frequency component image to the high-frequency component of the restored and reduced image. As a result, it is possible to perform super-resolution restoration of high-frequency components lost by the reduction processing and coding processing on the coding side with high image quality without preparing a database of high-frequency components on the decoding side. Further, by setting the reduction ratio on the coding side and the enlargement ratio on the decoding side as reciprocals, it is possible to restore a super-resolution image to which a high-frequency component is added without changing the resolution of the input image on the coding side.

(変形例)
次に、上述の符号化装置1及び復号装置3の変形例について説明する。上述の実施形態では、符号化側で使用帯域αを決定したが、変形例では復号側で使用帯域αを決定する。
(Modification example)
Next, a modification of the above-mentioned coding device 1 and decoding device 3 will be described. In the above-described embodiment, the used band α is determined on the coding side, but in the modified example, the used band α is determined on the decoding side.

図8は、符号化装置1の変形例である符号化装置2の構成例を示すブロック図である。図9は、復号装置3の変形例である復号装置4の構成例を示すブロック図である。符号化装置2が使用帯域決定部40を備えない代わりに、復号装置4が使用帯域決定部40を備える。 FIG. 8 is a block diagram showing a configuration example of the coding device 2 which is a modification of the coding device 1. FIG. 9 is a block diagram showing a configuration example of the decoding device 4, which is a modification of the decoding device 3. Instead of the coding device 2 not including the used band determining unit 40, the decoding device 4 includes the used band determining unit 40.

復号装置4は、符号化装置2からビットストリームを取得し、縮小された縮小画像を復号した後に超解像処理し、縮小画像よりも解像度の高い超解像画像を生成する。 The decoding device 4 acquires a bit stream from the coding device 2, decodes the reduced reduced image, and then performs super-resolution processing to generate a super-resolution image having a resolution higher than that of the reduced image.

復号装置4の縮小画像復元部70は、復号装置3と同様に、符号化装置2により生成された、縮小画像のビットストリームを入力し、復号して縮小画像を復元する。そして、復元縮小画像を使用帯域決定部40及び超解像復元部80に出力する。 Similar to the decoding device 3, the reduced image restoration unit 70 of the decoding device 4 inputs a bit stream of the reduced image generated by the coding device 2 and decodes the reduced image to restore the reduced image. Then, the restored reduced image is output to the used band determination unit 40 and the super-resolution restoration unit 80.

復号装置4の使用帯域決定部40は、縮小画像復元部70により復元された復元縮小画像に対して周波数分解処理し、高周波成分画像のパワー値(例えば、RMS値)を計算する。そして、パワー値に基づいて使用帯域αを決定し、超解像復元部80に出力する。使用帯域αの決定方法は、上述した符号化装置1における使用帯域決定部40と同様であるため、説明を省略する。 The band used determination unit 40 of the decoding device 4 performs frequency decomposition processing on the restored and reduced image restored by the reduced image restoration unit 70, and calculates the power value (for example, RMS value) of the high frequency component image. Then, the band α used is determined based on the power value, and the band α is output to the super-resolution restoration unit 80. Since the method of determining the used band α is the same as that of the used band determining unit 40 in the coding apparatus 1 described above, the description thereof will be omitted.

復号装置4の超解像復元部80は、縮小画像復元部70により復元された復元縮小画像と、使用帯域決定部40により決定された使用帯域αとを用いて、復号装置3と同様に、超解像画像を生成する。 The super-resolution restoration unit 80 of the decoding device 4 uses the restored and reduced image restored by the reduced image restoration unit 70 and the used band α determined by the used band determining unit 40 in the same manner as the decoding device 3. Generate a super-resolution image.

ここで、上述した符号化装置2又は復号装置4として機能させるためにコンピュータを好適に用いることができ、そのようなコンピュータは、符号化装置2又は復号装置4の各機能を実現する処理内容を記述したプログラムを該コンピュータの記憶部に格納しておき、該コンピュータのCPUによってこのプログラムを読み出して実行させることで実現することができる。なお、このプログラムは、コンピュータ読取り可能な記録媒体に記録可能である。 Here, a computer can be preferably used to function as the coding device 2 or the decoding device 4 described above, and such a computer can perform processing contents for realizing each function of the coding device 2 or the decoding device 4. It can be realized by storing the described program in the storage unit of the computer and reading and executing this program by the CPU of the computer. This program can be recorded on a computer-readable recording medium.

変形例では、符号化側が使用帯域情報を出力しない場合でも、復号側で復元縮小画像を解析して超解像処理に使用する使用帯域を決定することにより、高精度な超解像復元を実現することができる。 In the modified example, even if the encoding side does not output the used bandwidth information, the decoding side analyzes the restored and reduced image to determine the used bandwidth used for the super-resolution processing, thereby realizing highly accurate super-resolution restoration. can do.

上述の実施形態は代表的な例として説明したが、本発明の趣旨及び範囲内で、多くの変更及び置換ができることは当業者に明らかである。したがって、本発明は、上述の実施形態によって制限するものと解するべきではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。例えば、実施形態の構成図に記載の複数の構成ブロックを1つに組み合わせたり、あるいは1つの構成ブロックを分割したりすることが可能である。 Although the above embodiments have been described as typical examples, it will be apparent to those skilled in the art that many modifications and substitutions can be made within the spirit and scope of the present invention. Therefore, the present invention should not be construed as being limited by the above-described embodiments, and various modifications and modifications can be made without departing from the scope of claims. For example, it is possible to combine a plurality of constituent blocks described in the configuration diagram of the embodiment into one, or to divide one constituent block.

また、プログラムは、コンピュータ読取り可能媒体に記録されていてもよい。コンピュータ読取り可能媒体を用いれば、コンピュータにインストールすることが可能である。ここで、プログラムが記録されたコンピュータ読取り可能媒体は、非一過性の記録媒体であってもよい。非一過性の記録媒体は、特に限定されるものではないが、例えば、CD−ROMやDVD−ROMなどの記録媒体であってもよい。 The program may also be recorded on a computer-readable medium. It can be installed on a computer using a computer-readable medium. Here, the computer-readable medium on which the program is recorded may be a non-transient recording medium. The non-transient recording medium is not particularly limited, but may be, for example, a recording medium such as a CD-ROM or a DVD-ROM.

1,2 符号化装置
3,4 復号装置
10 縮小画像生成部
20 圧縮部
21 ブロック分割部
22 減算部
23 変換部
24 量子化部
25 予測部
30 伸張部
31 逆量子化部
32 逆変換部
33 加算部
34 記憶部
40 使用帯域決定部
50 エントロピー符号化部
60 エントロピー復号部(取得部)
70 縮小画像復元部
71 逆量子化部
72 逆変換部
73 加算部
74 記憶部
75 予測部
80 超解像復元部
81 周波数分解部
82 位置合わせ部
83 超解像高周波成分割付部
84 周波数再構成部
1, 2, Encoding device 3, 4 Decoding device 10 Reduced image generation unit 20 Compression unit 21 Block division unit 22 Subtraction unit 23 Conversion unit 24 Quantization unit 25 Prediction unit 30 Decompression unit 31 Inverse quantization unit 32 Inverse conversion unit 33 Addition Unit 34 Storage unit 40 Bandwidth determination unit 50 Entropy coding unit 60 Entropy decoding unit (acquisition unit)
70 Reduced Photo Recovery Unit 71 Inverse Quantization Unit 72 Inverse Transformation Unit 73 Addition Unit 74 Storage Unit 75 Prediction Unit 80 Super-Resolution Restoration Unit 81 Frequency Decomposition Unit 82 Alignment Unit 83 Super-Resolution High Frequency Generation Division 84 Frequency Reconstruction Unit

Claims (9)

入力画像を縮小した後に符号化する符号化装置であって、
入力画像に対して周波数分解処理を行って縮小画像を生成する縮小画像生成部と、
前記縮小画像に対して量子化処理を行って量子化係数を生成する圧縮部と、
前記量子化係数に対して伸張処理を行って縮小画像を復元し、復元縮小画像として出力する伸張部と、
前記復元縮小画像に対して周波数分解処理して高周波成分画像を生成し、該高周波成分画像のうち、パワー値が第1の閾値以上となる周波数帯域を使用帯域として決定する使用帯域決定部と、
前記量子化係数及び前記使用帯域を示す使用帯域情報を符号化したビットストリームを生成する符号化部と、
を備えることを特徴とする符号化装置。
A coding device that encodes an input image after it has been reduced.
A reduced image generator that generates a reduced image by performing frequency decomposition processing on the input image,
A compression unit that performs quantization processing on the reduced image to generate a quantization coefficient,
A decompression unit that restores a reduced image by performing decompression processing on the quantization coefficient and outputs it as a restored reduced image.
A frequency band determining unit that generates a high frequency component image by performing frequency decomposition processing on the restored reduced image and determines a frequency band in which the power value is equal to or higher than the first threshold value as a used band among the high frequency component images.
A coding unit that generates a bit stream that encodes the quantization coefficient and the used band information indicating the used band, and
A coding device comprising.
前記縮小画像生成部は、前記入力画像に対してn階ウェーブレット分解処理を行って低周波成分画像を生成し、該低周波成分画像の各画素値を整数化して前記縮小画像とし、
前記使用帯域決定部は、前記復元縮小画像に対してm階ウェーブレット分解処理を行って前記高周波成分画像を生成することを特徴とする、請求項1に記載の符号化装置。
The reduced image generation unit generates a low-frequency component image by performing n-th order wavelet decomposition processing on the input image, and digitizes each pixel value of the low-frequency component image to obtain the reduced image.
The coding apparatus according to claim 1, wherein the band used determining unit performs m-th order wavelet decomposition processing on the restored and reduced image to generate the high-frequency component image.
前記使用帯域決定部は、前記nの値が所定値以上である場合には、前記高周波成分画像のうち、前記パワー値が前記第1の閾値以上であり、且つ周波数が第2の閾値以下となる周波数帯域を前記使用帯域として決定することを特徴とする、請求項2に記載の符号化装置。 When the value of n is equal to or greater than a predetermined value, the band used determining unit determines that the power value is equal to or greater than the first threshold value and the frequency is equal to or less than the second threshold value in the high frequency component image. The coding apparatus according to claim 2, wherein the frequency band is determined as the band to be used. 前記使用帯域決定部は、前記nの値が大きいほど、前記第2の閾値を小さくすることを特徴とする、請求項3に記載の符号化装置。 The coding apparatus according to claim 3, wherein the used band determining unit reduces the second threshold value as the value of n increases. 縮小された縮小画像を復元した後に超解像処理する復号装置であって、
前記縮小画像の量子化係数と、超解像処理で使用する使用帯域を示す使用帯域情報とを取得する取得部と、
前記量子化係数を逆量子化処理して前記縮小画像を復元し、復元縮小画像として出力する縮小画像復元部と、
前記復元縮小画像に対して周波数分解処理して、前記使用帯域の高周波成分画像を生成し、該高周波成分画像を前記復元縮小画像の高周波成分に割り付けることにより超解像画像を生成する超解像復元部と、
を備えることを特徴とする復号装置。
A decoding device that performs super-resolution processing after restoring a reduced image.
An acquisition unit that acquires the quantization coefficient of the reduced image and the used band information indicating the used band used in the super-resolution processing.
A reduced image restoration unit that reverse-quantizes the quantization coefficient to restore the reduced image and outputs it as a restored reduced image.
The restored reduced image is subjected to frequency decomposition processing to generate a high frequency component image of the band used, and the high frequency component image is assigned to the high frequency component of the restored reduced image to generate a super resolution image. Restoration part and
A decoding device comprising.
縮小された縮小画像を復元した後に超解像処理する復号装置であって、
前記縮小画像の量子化係数を取得する取得部と、
前記量子化係数を逆量子化処理して前記縮小画像を復元し、復元縮小画像として出力する縮小画像復元部と、
前記復元縮小画像に対して周波数分解処理して高周波成分画像を生成し、該高周波成分画像のうち、パワー値が第1の閾値以上となる周波数帯域を使用帯域として決定する使用帯域決定部と、
前記復元縮小画像を周波数分解処理して、前記使用帯域の高周波成分画像を生成し、該高周波成分画像を前記縮小画像の高周波成分に割り付けることにより超解像画像を生成する超解像復元部と、
を備えること特徴とする復号装置。
A decoding device that performs super-resolution processing after restoring a reduced image.
An acquisition unit that acquires the quantization coefficient of the reduced image, and
A reduced image restoration unit that reverse-quantizes the quantization coefficient to restore the reduced image and outputs it as a restored reduced image.
A frequency band determining unit that generates a high frequency component image by performing frequency decomposition processing on the restored reduced image and determines a frequency band in which the power value is equal to or higher than the first threshold value as a used band among the high frequency component images.
A super-resolution restoration unit that generates a super-resolution image by frequency-resolving the restored and reduced image to generate a high-frequency component image of the band used, and allocating the high-frequency component image to the high-frequency component of the reduced image. ,
A decoding device characterized by the above.
前記超解像復元部は、
前記復元縮小画像に対してウェーブレット分解処理を行って前記使用帯域を含む周波数分解画像を生成する周波数分解部と、
前記復元縮小画像と、前記周波数分解画像の低周波成分画像との間で類似するブロックの位置関係を示す位置合わせ情報を生成する位置合わせ部と、
前記位置合わせ情報に従って、前記復元縮小画像の高周波成分として、前記周波数分解画像の高周波成分画像を割り付けて超解像高周波成分画像を生成する超解像高周波成分割付部と、
前記復元縮小画像を低周波成分とし、前記超解像高周波成分画像を高周波成分として周波数再構成処理して前記超解像画像を生成する周波数再構成部と、
を備えること特徴とする、請求項5又は6に記載の復号装置。
The super-resolution restoration unit
A frequency decomposition unit that performs wavelet decomposition processing on the restored reduced image to generate a frequency decomposition image including the band used.
An alignment unit that generates alignment information indicating the positional relationship of similar blocks between the restored reduced image and the low-frequency component image of the frequency-resolved image.
According to the alignment information, as the high-frequency component of the restored / reduced image, the high-frequency component image of the frequency-resolved image is assigned to generate a super-resolution high-frequency component image.
A frequency reconstruction unit that generates the super-resolution image by frequency-reconstructing the restored and reduced image as a low-frequency component and the super-resolution high-frequency component image as a high-frequency component.
The decoding apparatus according to claim 5 or 6, wherein the decoding apparatus is provided with.
コンピュータを、請求項1から4のいずれか一項に記載の符号化装置として機能させるためのプログラム。 A program for causing a computer to function as the coding device according to any one of claims 1 to 4. コンピュータを、請求項5から7のいずれか一項に記載の復号装置として機能させるためのプログラム。
A program for causing a computer to function as the decoding device according to any one of claims 5 to 7.
JP2017102924A 2017-05-24 2017-05-24 Encoding device, decoding device, and program Active JP6864557B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017102924A JP6864557B2 (en) 2017-05-24 2017-05-24 Encoding device, decoding device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017102924A JP6864557B2 (en) 2017-05-24 2017-05-24 Encoding device, decoding device, and program

Publications (2)

Publication Number Publication Date
JP2018198402A JP2018198402A (en) 2018-12-13
JP6864557B2 true JP6864557B2 (en) 2021-04-28

Family

ID=64663738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017102924A Active JP6864557B2 (en) 2017-05-24 2017-05-24 Encoding device, decoding device, and program

Country Status (1)

Country Link
JP (1) JP6864557B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7352364B2 (en) * 2019-03-22 2023-09-28 日本放送協会 Video encoding device, video decoding device and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5514132B2 (en) * 2011-02-07 2014-06-04 日本放送協会 Image reduction device, image enlargement device, and program thereof
JP6462372B2 (en) * 2015-01-21 2019-01-30 日本放送協会 Super-resolution device and program

Also Published As

Publication number Publication date
JP2018198402A (en) 2018-12-13

Similar Documents

Publication Publication Date Title
JP5727873B2 (en) Motion vector detection device, encoding device, and program thereof
JP4844741B2 (en) Moving picture coding apparatus and moving picture decoding apparatus, method and program thereof
CN110383331B (en) Non-locally adaptive loop filter processing
WO2014105385A1 (en) Anamorphic stretch image compression
US20070160298A1 (en) Image encoder, image decoder, image encoding method, and image decoding method
JP6042899B2 (en) Video encoding method and device, video decoding method and device, program and recording medium thereof
JP2005524352A (en) Scalable wavelet-based coding using motion compensated temporal filtering based on multiple reference frames
US8594189B1 (en) Apparatus and method for coding video using consistent regions and resolution scaling
Tomar et al. Lossless image compression using differential pulse code modulation and its application
CN112789857A (en) Transform for signal enhancement coding
US8855198B2 (en) Moving picture encoding method, moving picture decoding method, moving picture encoding device, moving picture decoding device, and computer program
JP6864557B2 (en) Encoding device, decoding device, and program
Sridhar A review of the effective techniques of compression in medical image processing
KR20200104843A (en) Apparatus and method for encoding and decoding to image of ultra high definition resoutltion
JP5004877B2 (en) Image encoder, image decoder, image encoding method, image decoding method, and program
JP6269137B2 (en) Moving picture decoding apparatus and program
JP6823492B2 (en) Super-resolution complementary post-filter device and program
JP5363581B2 (en) Video decoding method and video encoding method
JP6564315B2 (en) Encoding device, decoding device, and program
JP2005524354A (en) Wavelet-based coding with motion-compensated temporal filtering based on multiple reference frames
JP2007151062A (en) Image encoding device, image decoding device and image processing system
US8526746B1 (en) Near lossless data compression method using nonuniform sampling
JP6388476B2 (en) Encoding apparatus and program
JP2019208090A (en) Video encoding device, video decoding device, and program
Jayanthi et al. Multi Wavelet Based Image Compression for Tele-Medical Applications

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200331

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210222

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210309

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210402

R150 Certificate of patent or registration of utility model

Ref document number: 6864557

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250