JP6388476B2 - Encoding apparatus and program - Google Patents
Encoding apparatus and program Download PDFInfo
- Publication number
- JP6388476B2 JP6388476B2 JP2014007883A JP2014007883A JP6388476B2 JP 6388476 B2 JP6388476 B2 JP 6388476B2 JP 2014007883 A JP2014007883 A JP 2014007883A JP 2014007883 A JP2014007883 A JP 2014007883A JP 6388476 B2 JP6388476 B2 JP 6388476B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- unit
- space
- gradation
- tone
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000009467 reduction Effects 0.000 claims description 56
- 238000013139 quantization Methods 0.000 claims description 31
- 238000000034 method Methods 0.000 claims description 20
- 238000000354 decomposition reaction Methods 0.000 claims description 15
- 238000005457 optimization Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 7
- 238000007493 shaping process Methods 0.000 claims description 7
- 230000002146 bilateral effect Effects 0.000 claims description 5
- 238000001914 filtration Methods 0.000 claims description 4
- 238000005520 cutting process Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 12
- 238000005286 illumination Methods 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 239000000470 constituent Substances 0.000 description 2
- 230000006837 decompression Effects 0.000 description 2
- 238000011946 reduction process Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 230000003796 beauty Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
本発明は、原画像を解像度及び階調数を削減した後に符号化する符号化装置及びプログラムに関する。 The present invention relates to an encoding apparatus and a program for encoding an original image after reducing the resolution and the number of gradations.
従来、AVC/H.264方式やHEVC/H.265方式などにより、画像を符号化する技術が知られている。近年では、表示装置の高精細化が進んでおり、いわゆる8Kシステムと呼ばれるスーパーハイビジョン(SHV)のような超高精細映像では、従来のハイビジョン(HV)映像の16倍の高解像度を有する。そこで、さらに符号化効率を高めるために、従来の符号化を行う前段で、解像度や階調数を削減することが検討されている。 Conventionally, AVC / H. H.264 system and HEVC / H. A technique for encoding an image by a H.265 system or the like is known. In recent years, display devices have become higher definition, and an ultra-high definition video such as a super high vision (SHV) called a so-called 8K system has 16 times higher resolution than a conventional high vision (HV) video. Therefore, in order to further increase the encoding efficiency, it has been studied to reduce the resolution and the number of gradations before the conventional encoding.
一方、画像を空間方向に空間超解像処理して元の画像よりも解像度の高い画像を生成する空間超解像技術が知られている。例えば、被写体の照明方程式パラメータを推定し、推定した照明方程式パラメータについて高解像度化を行い、高解像度化された照明方程式パラメータを合成して高解像度画像を生成し、その際、推定した照明方程式パラメータの推定精度が所定の精度を満たさない画素が存在するときは、高解像度化した照明方程式パラメータをフィードバックして、再度、照明方程式パラメータの推定を行うことにより、被写体の画像を高解像度化する技術が知られている(例えば、特許文献1参照)。 On the other hand, a spatial super-resolution technique for generating an image having a higher resolution than the original image by performing spatial super-resolution processing on the image in the spatial direction is known. For example, the illumination equation parameter of the subject is estimated, the resolution of the estimated illumination equation parameter is increased, and a high-resolution image is generated by synthesizing the increased illumination equation parameter. At that time, the estimated illumination equation parameter When there is a pixel whose estimation accuracy does not satisfy the predetermined accuracy, a technique for increasing the resolution of the image of the subject by feeding back the illumination equation parameter having a higher resolution and estimating the illumination equation parameter again Is known (see, for example, Patent Document 1).
また、画像を階調方向に補間処理して元の画像よりも階調数の多い画像を生成する階調補間装置が知られている。例えば、処理対象画素の印字濃度に対して複数の閾値と補間演算誤差を設定し、処理対象画素とその隣接する画素の持つ補間演算誤差の平均との総和を複数の閾値と比較し、その最も近い値の閾値を実行閾値として用いるなどして中間階調を補間する技術が知られている(例えば、特許文献2参照)。 There is also known a gradation interpolation device that generates an image having a larger number of gradations than the original image by performing interpolation processing on the image in the gradation direction. For example, a plurality of threshold values and interpolation calculation errors are set for the print density of the processing target pixel, and the sum of the processing target pixel and the average of interpolation calculation errors of adjacent pixels is compared with the plurality of threshold values. A technique for interpolating intermediate gradations by using a near threshold value as an execution threshold is known (for example, see Patent Document 2).
原画像を解像度及び階調数を削減した後に符号化することで圧縮率を高めることができる。しかし、従来、解像度削減処理及び階調削減処理は原画像に応じて最適化されているわけではないため、符号化効率及び符号化精度を更に向上させる余地があった。 The compression rate can be increased by encoding the original image after reducing the resolution and the number of gradations. However, since the resolution reduction process and the gradation reduction process have not been optimized according to the original image, there is room for further improvement in encoding efficiency and encoding accuracy.
かかる事情に鑑みてなされた本発明の目的は、画像を効率的且つ高精度に符号化することができる符号化装置及びプログラムを提供することにある。 An object of the present invention has been made in view of such circumstances is to provide a code KaSo 置及 beauty program image can Rukoto the sign turn into efficiently and highly accurately.
上記課題を解決するため、本発明に係る符号化装置は、原画像の解像度及び階調数を削減した空間・階調削減画像を符号化した符号化信号を出力する符号化装置であって、原画像の階調数を削減した階調削減画像を生成する階調削減部と、複数の画像縮小パラメータを用いて前記階調削減画像の解像度を削減した複数の空間・階調削減画像を生成する空間縮小部と、前記複数の空間・階調削減画像をそれぞれ符号化して複数の符号化信号を生成するとともに、該複数の符号化信号をそれぞれ局部復号した複数の局部復号画像を生成する符号化・局部復号部と、前記複数の局部復号画像をそれぞれ解像度及び階調数が原画像と等しくなるように復元した複数の空間・階調復元画像を生成する空間・階調復元部と、前記複数の空間・階調復元画像と原画像とを比較し、前記複数の画像縮小パラメータのうち、誤差が最小となる空間・階調復元画像の生成に用いられた画像縮小パラメータを最適パラメータと決定するパラメータ最適化部と、を備え、前記符号化・局部復号部は、前記最適パラメータを用いて生成された空間・階調削減画像を符号化した符号化信号を出力し、前記空間・階調復元部は、前記局部復号画像を前記原画像と等しい階調数に再量子化した再量子化画像を生成する再量子化部と、前記再量子化画像を周波数分解して高周波帯域成分を生成する周波数分解部と、前記再量子化画像及び前記高周波帯域成分をフィルタ処理により階調補間して、再量子化整形画像及び高周波帯域整形成分を生成する階調補間部と、前記再量子化整形画像を低周波帯域成分とし前記高周波帯域整形成分を高周波帯域成分として周波数再構成して、前記空間・階調復元画像を生成する周波数再構成部と、を備えることを特徴とする。 In order to solve the above problems, an encoding apparatus according to the present invention is an encoding apparatus that outputs an encoded signal obtained by encoding a space / tone-reduced image in which the resolution and the number of gradations of an original image are reduced, A tone reduction unit that generates a tone-reduced image in which the number of tones of the original image is reduced, and a plurality of space / tone-reduced images in which the resolution of the tone-reduced image is reduced using a plurality of image reduction parameters. A space reduction unit that encodes each of the plurality of space / gradation-reduced images to generate a plurality of encoded signals, and a code that generates a plurality of locally decoded images by locally decoding the plurality of encoded signals, respectively. A local / decoding unit, and a space / tone restoration unit for generating a plurality of spatial / grayscale restored images obtained by restoring the local decoded images so that the resolution and the number of gradations are equal to the original image, Multiple spatial and gradation restoration images A parameter optimization unit that compares an original image and determines, among the plurality of image reduction parameters, an image reduction parameter that is used to generate a space / tone restoration image that minimizes an error as an optimum parameter; The encoding / local decoding unit outputs an encoded signal obtained by encoding the space / gradation reduced image generated using the optimal parameter, and the space / gradation restoring unit outputs the local decoded image. A requantization unit that generates a requantized image requantized to the same number of gradations as the original image, a frequency decomposition unit that generates a high-frequency band component by frequency resolving the requantized image, and the requantization A gradation interpolator for generating a requantized shaped image and a high-frequency band shaped component by performing gradation interpolation on the quantized image and the high-frequency band component by filtering, and the high-frequency band component using the requantized shaped image as a low-frequency band component And frequency reconstructing the frequency shaping components as a high frequency band component, and frequency reconstruction unit for generating the spatial and gray level restored image, and wherein the Rukoto equipped with.
さらに、本発明に係る符号化装置において、前記階調削減部は、前記原画像のヒストグラムに基づいて量子化テーブルを生成し、該量子化テーブルを用いて階調数を削減することを特徴とする。 Moreover, in the coding apparatus according to the present invention, the gradation reduction unit generates a quantization table based on the histogram of the original image, the Rukoto lessen cutting the number of gradations using a quantization table Features.
さらに、本発明に係る符号化装置において、前記周波数分解部は、ウェーブレット分解して前記高周波帯域成分を生成し、前記階調補間部は、バイラテラルフィルタを用いて前記フィルタ処理を行うことを特徴とする。 Furthermore, in the encoding device according to the present invention, the frequency decomposing unit generates a high-frequency band component by performing wavelet decomposition, and the gradation interpolating unit performs the filtering process using a bilateral filter. And
また、上記課題を解決するため、本発明に係るプログラムは、コンピュータを、上記符号化装置として機能させることを特徴とする。 In order to solve the above problems, the program according to the present invention, a computer, characterized in that to function in the above code KaSo location.
本発明によれば、画像を効率的且つ高精度に符号化/復号することができるようになる。 According to the present invention, an image can be encoded / decoded efficiently and with high accuracy.
図1は、本発明に係る符号化装置の処理概要を説明する図である。ただし、図1に示す解像度及び階調は一例であり、この値に限られるものではない。 FIG. 1 is a diagram for explaining an outline of processing of an encoding apparatus according to the present invention. However, the resolution and gradation shown in FIG. 1 are examples, and are not limited to these values.
図1に示す例では、まず「解像度8K×4K、階調12bit」の原画像の解像度及び階調数を削減し、「解像度4K×2K、階調8bit」の複数の空間・階調削減画像を生成する。次に、各空間・階調削減画像を符号化して複数の符号化信号を生成するとともに、各空間・階調削減画像を局部復号して複数の空間・階調復号画像を生成する。次に、各空間・階調復号画像を原画像と同じ「解像度8K×4K、階調12bit」に復元した複数の空間・階調復元画像を生成する。そして、原画像と複数の空間・階調復元画像とを比較し、誤差が最小となる空間・階調復元画像の生成に用いたパラメータを最適化パラメータとして外部に出力する。また、最適化パラメータを用いて生成した符号化信号を外部に出力する。
In the example shown in FIG. 1, first, the resolution and the number of gradations of the original image having “resolution 8K × 4K,
以下、本発明の実施形態について、詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail.
[符号化装置]
図2は、本発明の一実施形態に係る符号化装置の構成例を示すブロック図である。図2に示す例では、符号化装置1は、階調削減部10と、空間縮小部20と、符号化・局部復号部30と、空間・階調復元部40と、パラメータ最適化部50とを備える。
[Encoding device]
FIG. 2 is a block diagram illustrating a configuration example of an encoding device according to an embodiment of the present invention. In the example illustrated in FIG. 2, the
階調削減部10は、原画像を入力し、原画像の階調数を削減した階調削減画像を生成し、空間縮小部20に出力する。最も単純な方法としては、階調数を12bitから8bitに削減する場合には、画素値を1/16倍する。あるいは、階調変換前の画素値と階調変換後の画素値とを対応付けた量子化テーブルを有する場合には、量子化テーブルに基づいて画素値を変換する。また、階調削減部10は、複数の階調削減パラメータ(量子化テーブル)を用いて複数の階調削減画像を生成し、空間縮小部20に出力してもよい。
The
階調削減部10は、原画像のヒストグラムに基づいて量子化テーブルを生成し、該量子化テーブルを用いて階調数を削減してもよい。ヒストグラムを考慮することにより、原画像に応じた階調削減を行うことができる。
The
図3は階調削減部10の構成例を示すブロック図である。図3に示す例では、階調削減部10は、ヒストグラム検出部11と、量子化テーブル生成部12と、量子化部13とを備える。
FIG. 3 is a block diagram illustrating a configuration example of the
ヒストグラム検出部11は、原画像の各画素値を検出してヒストグラムを生成し、量子化テーブル生成部12に出力する。
The
量子化テーブル生成部12は、ヒストグラム検出部11により生成されたヒストグラムの頻度をカウントし、階調削減後の画素値の頻度が均等になるように階調削減前の画素値及び階調削減後の画素値を対応付けた量子化テーブルを生成し、量子化部13、空間・階調復元部40、及び外部に出力する。
The quantization
量子化部13は、量子化テーブル生成部12により生成された量子化テーブルに基づいて原画像の階調数を削減し、階調削減画像を空間縮小部20に出力する。階調削減後の画素値の頻度を均等化しようとすると、階調削減後の画素値が1つに定まらない場合も考えられる。例えば、図3に示すように階調削減前の画素値「4」に対して階調削減後の画素値が「0」と「1」をとり得る場合、頻度が均等となるように所定の確率で「0」と「1」を振り分けてもよいし、周辺の画素値から誤差の少ないと推定されるほうを選択してもよい。
The
空間縮小部20は、複数の画像縮小パラメータを用いて、階調削減部10により生成された階調削減画像の解像度を削減した複数の空間・階調削減画像(空間・階調削減画像群)を生成し、符号化・局部復号部30に出力する。例えば、空間縮小部20は、複数のフィルタを用いて階調削減画像を周波数分解(例えば、ウェーブレット分解)し、低周波帯域成分を整数化して出力することにより、空間・階調削減画像群を生成することができる。
The
符号化・局部復号部30は、空間縮小部20により生成された空間・階調削減画像群を既知の方式で符号化し、複数の符号化信号(符号化信号群)を生成する。例えば、符号化装置1に静止画が入力される場合にはJPEG2000方式などにより符号化し、符号化装置1に動画が入力される場合にはAVC/H.264方式やHEVC/H.265方式などにより符号化する。そして、符号化信号群のうち、後述するパラメータ最適化部50から入力される最適パラメータを用いて生成された空間・階調削減画像を符号化した符号化信号を外部に出力する。
The encoding /
また、符号化・局部復号部30は、符号化信号群をそれぞれ局部復号した複数の局部復号画像(局部復号画像群)を生成し、空間・階調復元部40に出力する。例えば、動き推定、離散コサイン変換、及び量子化処理した画像を符号化して符号化信号を生成した場合には、該画像を逆量子化処理、逆離散コサイン変換、及び動き補償して符号化信号の局部復号画像を生成する。
Also, the encoding /
空間・階調復元部40は、符号化・局部復号部30により生成された局部復号画像群の解像度及び階調数が原画像と等しくなるように復元した複数の空間・階調復元画像(空間・階調復元画像群)を生成し、パラメータ最適化部50に出力する。解像度の復元は、Lanczos法などの線形フィルタ拡大や、周波数分解(例えば、ウェーブレット分解)を用いた超解像処理により行うことができる。階調の復元は、最も単純な方法としては、階調数を8bitから12bitに再量子化する場合には、例えば画素値を単純に16倍する。あるいは、階調削減部10により量子化テーブルが生成される場合には、該量子化テーブルの逆テーブルを用いて階調を復元する。空間・階調復元部40のより好適な構成については後述する。
The space /
パラメータ最適化部50は、空間・階調復元部40により生成された空間・階調復元画像群と原画像とを比較し、誤差が最小となる空間・階調復元画像の生成に用いられた画像縮小パラメータを最適パラメータとして符号化・局部復号部30に出力する。ここで、誤差は、原画像と複数の空間・階調復元画像の差の絶対値の和、差の絶対値の積、又は差の二乗和など、種々の演算方法によって定めることができる。なお、階調削減部10にて複数の階調削減パラメータを用いて階調削減を行った場合には、誤差が最小となる空間・階調復元画像の生成に用いられた階調削減パラメータも最適パラメータに含める。また、パラメータ最適化部50は、最適パラメータ及び空間・階調復元部40で用いるフィルタの情報を含むパラメータを外部に出力する。
The
[空間・階調復元部]
次に、空間・階調復元部40の好適な構成について詳細に説明する。図4は、空間・階調復元部40の構成例を示すブロック図である。図4に示す例では、空間・階調復元部40は、再量子化部41と、空間超解像・階調補間部42とを備える。空間・階調復元部40は、複数の局部復号画像をそれぞれ処理して複数の空間・階調復元画像を生成するが、各画像に対する処理は同じであるため、以下では1つの局部復号画像から1つの空間・階調復元画像を生成する処理について説明する。
[Space and gradation restoration part]
Next, a preferred configuration of the space /
図5は、空間・階調復元部40の処理概要を説明する図である。ただし、図5に示す解像度及び階調は一例であり、この値に限られるものではない。
FIG. 5 is a diagram for explaining the processing outline of the space /
再量子化部41は、局部復号画像を原画像と等しい階調数に再量子化した再量子化画像を生成し、空間超解像・階調補間部42に出力する。例えば、図5に示すように階調数を8bitから12bitに再量子化する場合には、単純な方法としては画素値を16倍する。あるいは、変換前の画素値と変換後の画素値とを対応付けた量子化テーブルが階調削減部10から入力される場合には、量子化テーブルを用いて(量子化テーブルを逆テーブルにして)画素値を変換する。
The
空間超解像・階調補間部42は、図5に示すように、再量子化部41により生成された「解像度4K×2K、階調12bit」の再量子化画像を、原画像と等しい解像度に空間超解像するとともにフィルタを用いて同時に階調補間し、「解像度8K×4K、階調12bit」の空間・階調復元画像を生成する。空間超解像・階調補間部42は、周波数分解部421と、階調補間部422と、周波数再構成部423とを備える。
As shown in FIG. 5, the spatial super-resolution /
周波数分解部421は、再量子化部41により生成された再量子化画像をデシメーション無しで(つまり、周波数帯域成分の画像サイズの縮小を行わずに)周波数分解(例えば、ウェーブレット分解)し、再量子化画像の空間標本化周波数を超える高周波帯域成分を階調補間部422に出力する。
The
階調補間部422は、再量子化部41により生成された再量子化画像、及び周波数分解部421により生成された高周波帯域成分に波形整形用のフィルタを適用して再量子化整形画像、及び高周波帯域整形成分を生成し、周波数再構成部423に出力する。フィルタ処理を行うことにより、同時に階調補間を行うことができる。階調補間部422で用いるフィルタとして、例えば、原画像の撮影時における光学的な劣化過程を模擬した低域通過フィルタである点拡がり関数(PSF:Point spread function)のフィルタ、ガウシアン関数のフィルタ、Lanczosフィルタなどを用いることができる。
The
あるいは、階調補間部422で用いる低域通過フィルタとして、バイラテラルフィルタを用いることができる。バイラテラルフィルタは、画像はエッジ領域以外では階調が滑らかに変化すると仮定し、エッジを保持しながら低域通過フィルタ処理を行うフィルタである。バイラテラルフィルタを用いて波形整形及び階調補間を同時に行うことで、標本化と量子化間の高い相関を利用した空間超解像・階調補間が可能となる。例えば、輝度変化が少ない平坦な空間領域では、空間高周波帯域のパワーが低く輝度値が滑らかに変化するように作用する。また、輝度変化が大きいエッジ領域では、空間高周波帯域のパワーが高く輝度値が大きく変化するように作用する。
Alternatively, a bilateral filter can be used as the low-pass filter used in the
周波数再構成部423は、階調補間部422により生成された再量子化整形画像を空間低周波帯域とし、階調補間部422により生成された高周波帯域整形成分を空間高周波帯域成分として、周波数再構成(例えば、ウェーブレット再構成)し、空間・階調復元画像を生成し、出力する。
The
図6は、空間超解像・階調補間部42の動作例を説明する図であり、空間超解像処理により解像度を縦横それぞれ2倍にする例を示している。まず、周波数分解部421により、再量子化画像Sを周波数分解する(ステップS101)。ここでは、周波数分解としてデシメーション無しの1階離散ウェーブレット分解を行っている。LLは低周波帯域成分であり、LHは水平方向高周波帯域成分であり、HLは垂直方向高周波帯域成分であり、HHは斜め方向高周波帯域成分である。低周波帯域成分LLを除くLH、HL、及びHHを高周波帯域成分とする。
FIG. 6 is a diagram for explaining an example of the operation of the spatial super-resolution /
次に、階調補間部422により、再量子化画像S及び高周波帯域成分LH,HL,HHに波形整形用のフィルタを適用し、再量子化整形画像S’、及び高周波帯域整形成分LH’,HL’,HH’を生成する(ステップS102)。
Next, the
次に、周波数再構成部423により、再量子化整形画像S’を空間低周波帯域とし、高周波帯域整形成分LH’,HL’,HH’を空間高周波帯域成分として配置する(ステップS103)。そして、周波数再構成部423により、ステップS103にて配置した周波帯域成分をウェーブレット再構成し、空間・階調復元画像を生成する(ステップS104)。
Next, the
なお、上述した符号化装置1として機能させるためにコンピュータを用いることができ、そのようなコンピュータは、符号化装置1の各機能を実現する処理内容を記述したプログラムを該コンピュータの記憶部に格納しておき、該コンピュータのCPUによってこのプログラムを読み出して実行させることで実現することができる。なお、このプログラムは、コンピュータ読取り可能な記録媒体に記録することができる。
A computer can be used to function as the
以上説明したように、本発明に係る符号化装置又はそのプログラムによれば、原画像の階調数及び解像度を削減した空間・階調削減画像群を生成し、該空間・階調削減画像群をそれぞれ符号化して符号化信号群を生成するとともに、該符号化信号群をそれぞれ局部復号した局部復号画像群を生成する。次に、局部復号画像群をそれぞれ解像度及び階調数が原画像と等しくなるように復元した空間・階調復元画像群を生成する。そして、空間・階調復元画像群と原画像とを比較し、誤差が最小となる空間・階調復元画像の生成に用いられたパラメータを決定し、最終的に該パラメータを用いて生成された空間・階調削減画像を符号化した符号化信号を出力する。このため、効率的且つ高精度な符号化信号を得ることができる。 As described above, according to the encoding device or the program thereof according to the present invention, a space / tone reduction image group in which the number of gradations and resolution of the original image are reduced is generated, and the space / tone reduction image group is generated. Are encoded to generate an encoded signal group, and a local decoded image group is generated by locally decoding the encoded signal group. Next, a spatial and gradation restored image group is generated by restoring the local decoded image group so that the resolution and the number of gradations are the same as those of the original image. Then, the space / tone restoration image group is compared with the original image, the parameter used to generate the space / tone restoration image that minimizes the error is determined, and the parameter is finally generated using the parameter. An encoded signal obtained by encoding the space / tone-reduced image is output. For this reason, an efficient and highly accurate encoded signal can be obtained.
局部復号画像群をそれぞれ解像度及び階調数が原画像と等しくなるように復元して空間・階調復元画像群を生成する際には、空間超解像処理及び階調補間処理を同時に行うのが好適である。これにより、標本化と量子化間の高い相関を利用することができ、より効率的且つ高精度な符号化信号を得ることができる。 When the local decoded image group is restored so that the resolution and the number of gradations are the same as those of the original image and the spatial / gradation restored image group is generated, the spatial super-resolution processing and the gradation interpolation processing are performed simultaneously. Is preferred. Thereby, a high correlation between sampling and quantization can be used, and a more efficient and highly accurate encoded signal can be obtained.
[復号装置]
次に、符号化装置1により生成された符号化信号を復号する復号装置について説明する。図7は、本発明の一実施形態に係る復号装置の構成例を示すブロック図である。図7に示す例では、復号装置2は、復号部60と、空間・階調復元部40とを備える。
[Decoding device]
Next, a decoding device that decodes the encoded signal generated by the
復号部60は、符号化装置1により生成された符号化信号を、符号化方式に対応する方式により復号して復号画像(つまり、符号化装置1により原画像の解像度及び階調数が削減された空間・階調削減画像)を生成し、空間・階調復元部40に出力する。
The
復号装置2の空間・階調復元部40は、符号化装置1の空間・階調復元部40と同じ構成とする。ただし、符号化装置1の空間・階調復元部40は局部復号画像群を入力して処理するのに対し、復号装置2の空間・階調復元部40は、復号部60により生成された復号画像を入力して処理する。
The space /
つまり、空間・階調復元部40は、復号部60により生成された復号画像の解像度及び階調数が原画像と等しくなるように復元した空間・階調復元画像を生成し、外部に出力する。より詳細には、空間・階調復元部40は、まず復号画像を原画像と等しい階調数に再量子化した再量子化画像を生成する。符号化装置1において量子化テーブルを用いて階調削減を行った場合には、符号化装置1から入力される量子化テーブルを用いて(量子化テーブルを逆テーブルにして)、復号画像を原画像と等しい階調数に再量子化した再量子化画像を生成する。そして、符号化装置1から入力されるパラメータを用いて、再量子化画像を原画像と等しい解像度に空間超解像するとともに、フィルタ処理により階調補間して、空間・階調復元画像を生成する。
That is, the space /
なお、上述した復号装置2として機能させるためにコンピュータを用いることができ、そのようなコンピュータは、復号装置2の各機能を実現する処理内容を記述したプログラムを該コンピュータの記憶部に格納しておき、該コンピュータのCPUによってこのプログラムを読み出して実行させることで実現することができる。なお、このプログラムは、コンピュータ読取り可能な記録媒体に記録することができる。
A computer can be used to function as the
以上説明したように、本発明に係る復号装置又はそのプログラムによれば、原画像の解像度及び階調数を削減した空間・階調削減画像を符号化した符号化信号を復号して復号画像(空間・階調削減画像)を生成する。そして、原画像の解像度及び階調数を削減した際のパラメータを用いて、復号画像を解像度及び階調数が原画像と等しくなるように復元した空間・階調復元画像を生成する。このため、符号化信号を復号して、原画像との誤差が少ない高精度な復元画像を得ることができる。 As described above, according to the decoding apparatus or the program thereof according to the present invention, the encoded image obtained by encoding the space / tone-reduced image in which the resolution and the number of gradations of the original image are reduced is decoded and the decoded image ( Spatial / tone-reduced images) are generated. Then, using the parameters when the resolution and the number of gradations of the original image are reduced, a space / gradation restoration image is generated by restoring the decoded image so that the resolution and the number of gradations are equal to those of the original image. Therefore, it is possible to decode the encoded signal and obtain a highly accurate restored image with little error from the original image.
上述の実施形態は、代表的な例として説明したが、本発明の趣旨及び範囲内で、多くの変更及び置換ができることは当業者に明らかである。したがって、本発明は上述の実施形態によって制限するものと解するべきではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。例えば、実施形態に記載の複数の構成ブロックを1つに組み合わせたり、あるいは1つの構成ブロックを分割したりすることが可能である。 Although the above embodiments have been described as representative examples, it will be apparent to those skilled in the art that many changes and substitutions can be made within the spirit and scope of the invention. Therefore, the present invention should not be construed as being limited by the above-described embodiments, and various modifications and changes can be made without departing from the scope of the claims. For example, a plurality of constituent blocks described in the embodiments can be combined into one, or one constituent block can be divided.
このように、本発明は原画像を符号化/復号する任意の用途に有用である。 Thus, the present invention is useful for any application for encoding / decoding an original image.
1 符号化装置
2 復号装置
10 階調削減部
20 空間縮小部
30 符号化・局部復号部
40 空間・階調復元部
50 パラメータ最適化部
60 復号部
40 空間・階調復元部
41 再量子化部
42 空間超解像・階調補間部
421 周波数分解部
422 階調補間部
423 周波数再構成部
DESCRIPTION OF
Claims (4)
原画像の階調数を削減した階調削減画像を生成する階調削減部と、
複数の画像縮小パラメータを用いて前記階調削減画像の解像度を削減した複数の空間・階調削減画像を生成する空間縮小部と、
前記複数の空間・階調削減画像をそれぞれ符号化して複数の符号化信号を生成するとともに、該複数の符号化信号をそれぞれ局部復号した複数の局部復号画像を生成する符号化・局部復号部と、
前記複数の局部復号画像をそれぞれ解像度及び階調数が原画像と等しくなるように復元した複数の空間・階調復元画像を生成する空間・階調復元部と、
前記複数の空間・階調復元画像と原画像とを比較し、前記複数の画像縮小パラメータのうち、誤差が最小となる空間・階調復元画像の生成に用いられた画像縮小パラメータを最適パラメータと決定するパラメータ最適化部と、を備え、
前記符号化・局部復号部は、前記最適パラメータを用いて生成された空間・階調削減画像を符号化した符号化信号を出力し、
前記空間・階調復元部は、
前記局部復号画像を前記原画像と等しい階調数に再量子化した再量子化画像を生成する再量子化部と、
前記再量子化画像を周波数分解して高周波帯域成分を生成する周波数分解部と、
前記再量子化画像及び前記高周波帯域成分をフィルタ処理により階調補間して、再量子化整形画像及び高周波帯域整形成分を生成する階調補間部と、
前記再量子化整形画像を低周波帯域成分とし前記高周波帯域整形成分を高周波帯域成分として周波数再構成して、前記空間・階調復元画像を生成する周波数再構成部と、を備えることを特徴とする符号化装置。 An encoding apparatus that outputs an encoded signal obtained by encoding a space / tone-reduced image in which the resolution and the number of gradations of an original image are reduced,
A gradation reduction unit that generates a gradation-reduced image in which the number of gradations of the original image is reduced;
A space reduction unit that generates a plurality of space / gradation-reduced images in which the resolution of the gradation-reduced image is reduced using a plurality of image reduction parameters;
An encoding / local decoding unit that generates a plurality of encoded signals by encoding each of the plurality of space / gradation-reduced images, and generates a plurality of locally decoded images obtained by locally decoding the plurality of encoded signals, respectively ,
A space / tone restoration unit that generates a plurality of space / tone restoration images obtained by restoring the plurality of local decoded images so that the resolution and the number of gradations are equal to those of the original image;
The plurality of space / tone restoration images and the original image are compared, and among the plurality of image reduction parameters, the image reduction parameter used to generate the space / tone restoration image with the smallest error is used as the optimum parameter. A parameter optimization unit for determining,
The encoding / local decoding unit outputs an encoded signal obtained by encoding the space / tone-reduced image generated using the optimum parameter ,
The space / tone restoration unit
A requantization unit that generates a requantized image obtained by requantizing the locally decoded image to the same number of gradations as the original image;
A frequency resolving unit that generates a high frequency band component by frequency resolving the requantized image;
A gradation interpolation unit that performs gradation interpolation on the requantized image and the high-frequency band component by filtering, and generates a re-quantized shaped image and a high-frequency band shaped component;
Wherein Rukoto and a frequency reconstruction unit which performs frequency reconstruction, to generate the space-gradation restored image as a high-frequency band component of the requantization shaping image and the low frequency band component the high frequency band shaping component An encoding device.
前記階調補間部は、バイラテラルフィルタを用いて前記フィルタ処理を行うことを特徴とする、請求項1又は2に記載の符号化装置。 The frequency resolving unit generates the high frequency band component by wavelet decomposition,
The tone interpolation unit, and performing the filtering process using the bilateral filter, the encoding apparatus according to claim 1 or 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014007883A JP6388476B2 (en) | 2014-01-20 | 2014-01-20 | Encoding apparatus and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014007883A JP6388476B2 (en) | 2014-01-20 | 2014-01-20 | Encoding apparatus and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015138995A JP2015138995A (en) | 2015-07-30 |
JP6388476B2 true JP6388476B2 (en) | 2018-09-12 |
Family
ID=53769762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014007883A Active JP6388476B2 (en) | 2014-01-20 | 2014-01-20 | Encoding apparatus and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6388476B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7129326B2 (en) * | 2018-12-14 | 2022-09-01 | キヤノン株式会社 | IMAGING DEVICE, CONTROL METHOD AND PROGRAM THEREOF |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5452337B2 (en) * | 2010-04-21 | 2014-03-26 | 日本放送協会 | Image coding apparatus and program |
JP2013029953A (en) * | 2011-07-28 | 2013-02-07 | Sony Corp | Image processing device and method |
-
2014
- 2014-01-20 JP JP2014007883A patent/JP6388476B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015138995A (en) | 2015-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7289671B2 (en) | Data processing apparatus and method and recording medium | |
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 | |
JP2020528246A (en) | Image processing methods, devices, and systems | |
US10812790B2 (en) | Data processing apparatus and data processing method | |
JP5140638B2 (en) | Spatial downsampling processing device, spatial upsampling processing device, encoding device, decoding device, and program | |
CN112789857A (en) | Transform for signal enhancement coding | |
US20070133680A1 (en) | Method of and apparatus for coding moving picture, and method of and apparatus for decoding moving picture | |
JP2014146988A (en) | Dynamic image encoder | |
CN116762338A (en) | Video encoding using preprocessing | |
JP6276596B2 (en) | Spatial super-resolution / tone interpolation device and program | |
JP5717548B2 (en) | Super-resolution auxiliary information generation device, encoding device, decoding device, and programs thereof | |
JP6388476B2 (en) | Encoding apparatus and program | |
JP6792360B2 (en) | Image coding device and image decoding device and their control methods and programs | |
JP6864557B2 (en) | Encoding device, decoding device, and program | |
JP2016076758A (en) | Reproducer, encoder, and reproduction method | |
JP6823492B2 (en) | Super-resolution complementary post-filter device and program | |
JP6611562B2 (en) | Image processing apparatus, image processing method, and program | |
JPH09307897A (en) | Image data compression processing method | |
JP6163022B2 (en) | Encoding apparatus and program | |
JP2009267492A (en) | Video image hierarchy encoding apparatus, video image hierarchy encoding method, video image hierarchy encoding program, video image hierarchy decoding apparatus, video image hierarchy decoding method, and video image hierarchy decoding program | |
JP2024055176A (en) | Reduction device and program | |
JP2023109087A (en) | Reduction device and program | |
JP2023122317A (en) | Reducing apparatus and program | |
JP4231386B2 (en) | Resolution scalable decoding method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161128 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180109 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180307 |
|
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: 20180724 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180814 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6388476 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |