JP6163022B2 - Encoding apparatus and program - Google Patents

Encoding apparatus and program Download PDF

Info

Publication number
JP6163022B2
JP6163022B2 JP2013120080A JP2013120080A JP6163022B2 JP 6163022 B2 JP6163022 B2 JP 6163022B2 JP 2013120080 A JP2013120080 A JP 2013120080A JP 2013120080 A JP2013120080 A JP 2013120080A JP 6163022 B2 JP6163022 B2 JP 6163022B2
Authority
JP
Japan
Prior art keywords
gradation
image
unit
space
reduction
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
JP2013120080A
Other languages
Japanese (ja)
Other versions
JP2014239301A (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 JP2013120080A priority Critical patent/JP6163022B2/en
Publication of JP2014239301A publication Critical patent/JP2014239301A/en
Application granted granted Critical
Publication of JP6163022B2 publication Critical patent/JP6163022B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Description

本発明は、原画像に対して階調削減処理及び空間縮小処理を行った空間・階調削減画像を符号化して出力する符号化装置及びプログラムに関する。   The present invention relates to an encoding apparatus and a program for encoding and outputting a space / tone reduction image obtained by performing gradation reduction processing and space reduction processing on an original image.

従来、原画像の空間縮小処理を行う技術や、原画像の階調削減処理を行う技術が知られている。空間縮小処理は、例えば画素の単純間引きやウェーブレット分解などにより行うことができる。階調削減処理は、例えば階調数の単純削減やLloyd-Max法などにより行うことができる。Lloyd-Max法とは、画像の階調値(輝度値)ごとの度数を示すヒストグラムを調べ、階調削減を行う際に、度数が高い階調値ほど多くの階調を割り当てるようにする手法である(非特許文献1及び2参照)。   Conventionally, a technique for performing space reduction processing of an original image and a technique for performing gradation reduction processing of an original image are known. Spatial reduction processing can be performed by, for example, simple pixel thinning or wavelet decomposition. The gradation reduction process can be performed by, for example, simple reduction of the number of gradations or the Lloyd-Max method. The Lloyd-Max method is a method of examining the histogram showing the frequency for each tone value (luminance value) of the image and assigning more tones as the tone value has a higher frequency when performing tone reduction. (See Non-Patent Documents 1 and 2).

また、画像を空間方向に拡大又は超解像処理して元の画像よりも解像度の高い画像を生成する技術が知られている。例えば、被写体の照明方程式パラメータを推定し、推定した照明方程式パラメータについて高解像度化を行い、高解像度化された照明方程式パラメータを合成して高解像度画像を生成し、その際、推定した照明方程式パラメータの推定精度が所定の精度を満たさない画素が存在するときは、高解像度化した照明方程式パラメータをフィードバックして、再度、照明方程式パラメータの推定を行うことにより、被写体の画像を高解像度化する技術が知られている(特許文献1参照)。   In addition, a technique for generating an image having a higher resolution than the original image by enlarging or super-resolution processing 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 Patent Document 1).

また、画像の中間階調値を補間して元の画像よりも階調数の多い画像を生成する技術が知られている。例えば、処理対象画素の印字濃度に対して複数の閾値と補間演算誤差を設定し、処理対象画素とその隣接する画素の持つ補間演算誤差の平均との総和を複数の閾値と比較し、その最も近い値の閾値を実行閾値として用いるなどして中間階調を補間する技術が知られている(特許文献2参照)。   There is also known a technique for generating an image having more gradations than the original image by interpolating the intermediate gradation values of the image. 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 using a close threshold value as an execution threshold is known (see Patent Document 2).

特許第4139853号公報Japanese Patent No. 4139533 特開平4−18855号公報Japanese Patent Laid-Open No. 4-18855

S.P.Lloyd, “Least squares quantization in PCM”, IEEE Trans. Information Theory, vol.IT-28, pp.129-136, March 1982S.P.Lloyd, “Least squares quantization in PCM”, IEEE Trans. Information Theory, vol.IT-28, pp.129-136, March 1982 J.Max, “Quantizing for minimum distortion”, IEEE Trans. Information Theory, vol.IT-7, pp.7-12, March 1960J. Max, “Quantizing for minimum distortion”, IEEE Trans. Information Theory, vol.IT-7, pp.7-12, March 1960

原画像を空間縮小処理及び階調削減処理してから符号化することにより、ビットレートを大幅に低減することができる。しかし、画像に対して空間縮小処理及び階調削減処理を行うには、空間縮小処理と階調削減処理とを別々に適用する必要があった。このため、空間縮小処理と階調削減処理とを一元的に最適化することはできず、両方の処理を同時に高精度に処理することが困難であった。   By encoding the original image after performing spatial reduction processing and gradation reduction processing, the bit rate can be greatly reduced. However, in order to perform space reduction processing and gradation reduction processing on an image, it is necessary to separately apply space reduction processing and gradation reduction processing. For this reason, the space reduction process and the gradation reduction process cannot be optimized in a unified manner, and it has been difficult to perform both processes simultaneously with high accuracy.

また、画像に対して空間拡大処理及び階調補間処理を行うには、空間拡大処理と階調補間処理とを別々に適用する必要があった。このため、空間拡大処理と階調補間処理とを一元的に最適化することはできず、両方の処理を同時に高精度に処理することが困難であった。   In addition, in order to perform space enlargement processing and gradation interpolation processing on an image, it is necessary to separately apply space expansion processing and gradation interpolation processing. For this reason, the space enlargement process and the gradation interpolation process cannot be optimized in a unified manner, and it has been difficult to perform both processes simultaneously with high accuracy.

かかる事情に鑑みてなされた本発明の目的は、原画像に対して階調削減処理及び空間縮小処理を行った空間・階調削減画像を符号化して出力する符号化装置及びプログラムにおいて、パラメータを一元的に最適化し、高画質かつ高圧縮な符号化を実現することにある。   An object of the present invention made in view of such circumstances is to provide parameters in an encoding apparatus and a program for encoding and outputting a space / tone-reduced image obtained by performing gradation reduction processing and space reduction processing on an original image. The aim is to realize a high-quality and high-compression encoding that is optimized centrally.

上記課題を解決するため、本発明に係る符号化装置は、原画像に対して階調削減処理及び空間縮小処理を行った空間・階調削減画像を符号化して出力する符号化装置であって、原画像をj個(j≧1)のパラメータを用いて階調削減処理してj枚の階調削減画像を生成する階調削減部と、前記階調削減画像をk個(k≧1)のパラメータを用いて空間縮小処理してj×k枚の空間・階調削減画像を生成する空間縮小部と、前記j×k枚の空間・階調削減画像を符号化してj×k種類の符号化信号を生成する符号化部と、前記j×k種類の符号化信号を局部復号してj×k枚の局部復号画像を生成する局部復号部と、前記j×k枚の局部復号画像をそれぞれl個(l≧1)のパラメータを用いて空間拡大処理してj×k×l枚の空間拡大画像を生成する空間拡大部と、前記j×k×l枚の空間拡大画像をそれぞれm個(m≧1)のパラメータを用いて階調補間処理してj×k×l×m(但し、j×k×l×m≧2)枚の空間・階調復元画像を生成する階調補間部と、前記j×k×l×m枚の空間・階調復元画像を前記原画像と比較して、最も劣化の少ない空間・階調復元画像を決定し、前記j×k種類の符号化信号のうち該最も劣化の少ない空間・階調復元画像に対応する符号化信号を出力する最適化部と、を備え、前記階調削減部は、前記原画像を空間方向に周波数分解して、最も周波数が高い帯域成分である空間最高周波数帯域成分、及び最も周波数が低い帯域成分である空間最低周波数帯域成分を含む複数の空間周波数帯域成分を生成する周波数分解部と、前記原画像の前記空間最高周波数帯域成分のパワーの割合とj個の雑音閾値とを比較して、該パワーの割合が前記雑音閾値を超え且つ孤立している要素を除去したj枚の雑音除去画像を生成するか、又は前記原画像の前記空間最低周波数帯域成分のパワーの割合とj個のグラデーション閾値とを比較して、該パワーの割合が前記グラデーション閾値を超える領域のみからなるj枚のグラデーション画像を生成する画像生成部と、前記雑音除去画像又は前記原画像のヒストグラムに対して、前記グラデーション画像の階調値の度数が高くなるように重み付けしたヒストグラムを訓練データとして用いるLloyd-Max法により、前記j枚の階調削減画像を生成する階調決定部と、を備え、前記雑音閾値又は前記グラデーション閾値は、空間縮小率又は階調削減率と対応付けた対応表に基づいて決定され、前記対応表は、前記空間縮小率が高くなるほど、前記雑音閾値又は前記グラデーション閾値が小さくなるように対応付けているか、あるいは、前記階調削減率が高くなるほど、前記雑音閾値又は前記グラデーション閾値が大きくなるように対応付けていることを特徴とする。 In order to solve the above problems, an encoding apparatus according to the present invention is an encoding apparatus that encodes and outputs a space / gradation-reduced image obtained by performing gradation reduction processing and space reduction processing on an original image. , A gradation reduction unit that performs gradation reduction processing of the original image using j (j ≧ 1) parameters to generate j gradation reduction images, and k gradation reduction images (k ≧ 1) ) And a space reduction unit that generates j × k space / tone-reduced images by performing space reduction processing, and j × k types of the j × k space / tone-reduced images encoded. A coding unit that generates a coded signal, a local decoding unit that locally decodes the j × k types of coded signals to generate j × k local decoded images, and the j × k local decoding Each image is subjected to space expansion processing using l (l ≧ 1) parameters to generate j × k × l space expansion images. And j × k × l × m (where j × k), and the above-described space expansion image and j × k × l space expansion images are subjected to gradation interpolation processing using m (m ≧ 1) parameters. × 1 × m ≧ 2) gradation interpolating unit for generating space / tone restored images, and comparing the j × k × 1 × m space / tone restored images with the original image, An optimization unit that determines a space / gradation restored image with less degradation and outputs an encoded signal corresponding to the least degraded space / gradation restored image among the j × k types of coded signals; The gradation reduction unit frequency-resolves the original image in a spatial direction to obtain a highest spatial frequency band component that is a highest frequency band component and a lowest spatial frequency band component that is a lowest frequency band component. A frequency resolving unit for generating a plurality of spatial frequency band components, and the highest spatial frequency band of the original image The power ratio of the component is compared with the j noise thresholds to generate j noise-removed images in which the power ratio exceeds the noise threshold and the isolated elements are removed, or the original An image generation unit that compares the power ratio of the lowest spatial frequency band component of the image with j gradation threshold values and generates j gradation images including only regions where the power ratio exceeds the gradation threshold value; The j tone reduction is performed by the Lloyd-Max method using, as training data, a histogram weighted so as to increase the frequency of the gradation value of the gradation image with respect to the histogram of the noise-removed image or the original image. A gradation determination unit that generates an image, and the noise threshold value or the gradation threshold value is based on a correspondence table associated with a space reduction rate or a gradation reduction rate. The correspondence table associates such that the noise threshold or the gradation threshold decreases as the spatial reduction ratio increases, or the noise threshold or the gradation decreases as the gradation reduction ratio increases. characterized that you have correspondence to the gradation threshold is increased.

さらに、本発明に係る符号化装置において、前記空間縮小部は、k種類の縮小劣化過程を模擬したフィルタ又はウェーブレットフィルタを用いて空間縮小処理することを特徴とする。   Furthermore, in the encoding device according to the present invention, the space reduction unit performs space reduction processing using a filter or wavelet filter that simulates k kinds of reduction degradation processes.

さらに、本発明に係る符号化装置において、前記空間拡大部は、前記局部復号画像を前記原画像の解像度以上のl種類の解像度に空間拡大処理し、前記階調補間部は、前記空間拡大画像を、階調数が前記原画像の階調数となるように階調補間処理するとともに、解像度が前記原画像の解像度となるように空間縮小処理することを特徴とする。   Further, in the encoding device according to the present invention, the space enlargement unit performs space enlargement processing of the local decoded image to l kinds of resolutions equal to or higher than the resolution of the original image, and the tone interpolation unit includes the space enlargement image. Are subjected to gradation interpolation processing so that the number of gradations becomes the number of gradations of the original image, and space reduction processing is performed so that the resolution becomes the resolution of the original image.

さらに、本発明に係る符号化装置において、前記空間拡大部は、ウェーブレット変換を用いて前記局部復号画像を水平方向及び垂直方向に各2倍の超解像処理を再帰的に行うことにより前記l種類の解像度に空間拡大処理することを特徴とする。   Furthermore, in the encoding device according to the present invention, the space enlarging unit recursively performs the super-resolution processing of the local decoded image twice each in the horizontal direction and the vertical direction by using wavelet transform. It is characterized by spatial expansion processing to various resolutions.

さらに、本発明に係る符号化装置において、前記階調補間部は、前記空間拡大画像の階調数を前記原画像の階調数に拡大し、m種類の縮小劣化過程を模擬したフィルタを用いて畳み込むことにより中間階調を補間し、その後、解像度が前記原画像の解像度となるように縮小処理することを特徴とする。   Furthermore, in the encoding device according to the present invention, the gradation interpolation unit uses a filter that simulates m kinds of reduction degradation processes by expanding the number of gradations of the spatially enlarged image to the number of gradations of the original image. The halftone is interpolated by convolution, and then reduced so that the resolution becomes the resolution of the original image.

さらに、本発明に係る符号化装置において、前記最適化部は、前記j×k×l×m枚の空間・階調復元画像と前記原画像とのPSNR値又はSSIM値を算出し、該PSNR値又はSSIM値が最小となる空間・階調復元画像を前記最も劣化の少ない空間・階調復元画像として決定することを特徴とする。   Furthermore, in the encoding device according to the present invention, the optimization unit calculates a PSNR value or an SSIM value between the j × k × l × m space / tone restoration images and the original image, and the PSNR The space / tone restoration image having the smallest value or SSIM value is determined as the space / tone restoration image with the least deterioration.

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

本発明によれば、高画質を維持しつつ、符号化信号のビットレートを大幅に低減することができるようになる。   According to the present invention, it is possible to significantly reduce the bit rate of an encoded signal while maintaining high image quality.

本発明に係る符号化装置の概要を説明する図である。It is a figure explaining the outline | summary of the encoding apparatus which concerns on this invention. 本発明の第1の実施形態に係る符号化装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the encoding apparatus which concerns on the 1st Embodiment of this invention. 本発明の第2の実施形態に係る符号化装置における階調削減部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the gradation reduction part in the encoding apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る符号化装置における周波数分解部の処理を説明する図である。It is a figure explaining the process of the frequency decomposition part in the encoding apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る符号化装置における雑音除去画像生成部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the noise removal image generation part in the encoding apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る符号化装置における孤立点検出部による孤立点判定処理を説明する図である。It is a figure explaining the isolated point determination process by the isolated point detection part in the encoding apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る符号化装置におけるグラデーション画像生成部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the gradation image generation part in the encoding apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る符号化装置における階調削減初期情報生成部の第1の構成例を示すブロック図である。It is a block diagram which shows the 1st structural example of the gradation reduction initial information generation part in the encoding apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る符号化装置における階調削減初期情報生成部の第2の構成例を示すブロック図である。It is a block diagram which shows the 2nd structural example of the gradation reduction initial information generation part in the encoding apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る符号化装置における階調削減初期情報生成部の第3の構成例を示すブロック図である。It is a block diagram which shows the 3rd structural example of the gradation reduction initial information generation part in the encoding apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施形態に係る符号化装置における階調削減部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the gradation reduction part in the encoding apparatus which concerns on the 3rd Embodiment of this invention. 本発明の第4の実施形態に係る符号化装置における空間拡大部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the space expansion part in the encoding apparatus which concerns on the 4th Embodiment of this invention. 本発明の第4の実施形態に係る符号化装置における階調補間部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the gradation interpolation part in the encoding apparatus which concerns on the 4th Embodiment of this invention.

まず、本発明の概要について説明する。以下の説明において、画像の階調数を削減(階調削減処理)し、且つ解像度(標本化周波数)を縮小(空間縮小処理)することを「空間・階調削減処理」といい、空間・階調削減処理された画像のことを「空間・階調削減画像」という。また、画像の解像度を拡大(空間拡大処理)し、且つ画像の階調数を拡大(階調補間処理)することを「空間・階調復元処理」といい、空間・階調復元処理された画像のことを「空間・階調復元画像」という。   First, an outline of the present invention will be described. In the following description, reducing the number of gradations of an image (gradation reduction processing) and reducing the resolution (sampling frequency) (spatial reduction processing) is called “space / gradation reduction processing”. An image that has been subjected to gradation reduction processing is referred to as a “space / gradation reduction image”. Enlarging the resolution of the image (spatial enlarging process) and enlarging the number of gradations of the image (gradation interpolation process) is called “space / gradation restoration process”. The image is called a “space / gradation restored image”.

図1は、本発明に係る符号化装置の処理の概要を説明する図である。図1に示す例では、「8K×4K解像度、10bit階調」の原画像から「4K×2K解像度、8bit階調」の空間・階調削減画像を生成し、この空間・階調削減画像の最適な符号化信号を生成する際の処理概要を示している。本発明に係る符号化装置は、原画像をまず空間・階調削減処理して「4K×2K解像度、8bit階調」の複数の空間・階調削減画像を生成し、この複数の階調削減画像を符号化して符号化信号を作成する。   FIG. 1 is a diagram for explaining the outline of the processing of the encoding apparatus according to the present invention. In the example shown in FIG. 1, a space / tone-reduced image of “4K × 2K resolution, 8-bit gradation” is generated from an original image of “8K × 4K resolution, 10-bit gradation”. The process outline | summary at the time of producing | generating an optimal encoding signal is shown. The encoding apparatus according to the present invention first performs space / gradation reduction processing on an original image to generate a plurality of space / gradation-reduced images of “4K × 2K resolution, 8-bit gradation”. An encoded signal is generated by encoding an image.

次に、最適な符号化信号を決定するために、符号化信号を局部復号して「4K×2K解像度、8bit階調」の局部復号画像を生成する。さらに、局部復号画像を空間・階調復元処理して「8K×4K解像度、10bit階調」の空間・階調復元画像を複数生成する。そして、原画像を基準として、空間・階調削減処理及び空間・階調復元処理に用いたパラメータを一元的に最適化し、最適なパラメータを最適補助情報として選択する。最後に、最適補助情報、及び該最適補助情報に対応する符号化信号を復号側へ出力する。   Next, in order to determine the optimum encoded signal, the encoded signal is locally decoded to generate a locally decoded image of “4K × 2K resolution, 8 bit gradation”. Furthermore, the local decoded image is subjected to space / gradation restoration processing to generate a plurality of “8K × 4K resolution, 10-bit gradation” space / gradation restored images. Then, using the original image as a reference, the parameters used for the space / tone reduction processing and the space / tone restoration processing are optimized in an integrated manner, and the optimum parameters are selected as the optimum auxiliary information. Finally, the optimal auxiliary information and the encoded signal corresponding to the optimal auxiliary information are output to the decoding side.

以下、本発明の実施形態について、詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail.

(第1の実施形態)
図2は、本発明の第1の実施形態に係る符号化装置の構成例を示すブロック図である。図2に示す例では、符号化装置1は、空間・階調削減部10と、符号化部20と、局部復号部30と、空間・階調復元部40と、最適化部50とを備える。
(First embodiment)
FIG. 2 is a block diagram illustrating a configuration example of the encoding device according to the first embodiment of the present invention. In the example illustrated in FIG. 2, the encoding device 1 includes a space / gradation reduction unit 10, an encoding unit 20, a local decoding unit 30, a space / gradation restoration unit 40, and an optimization unit 50. .

空間・階調削減部10は、原画像を階調削減処理して階調を削減するとともに、空間縮小処理して解像度を縮小し、1以上の空間・階調削減画像を生成し、符号化部20に出力する。空間・階調削減部10は、空間・階調削減画像を1以上生成するために、j個(j≧1)のパラメータを用いて階調削減処理するとともに、k個(k≧1)のパラメータを用いて空間縮小処理し、その結果j×k枚の空間・階調削減画像を生成する。空間・階調削減部10は、階調削減部11と、空間縮小部12とを備える。   The space / gradation reduction unit 10 performs gradation reduction processing on the original image to reduce gradation, reduces the resolution by space reduction processing, generates one or more space / tone reduction images, and encodes them. To the unit 20. The space / gradation reduction unit 10 performs gradation reduction processing using j (j ≧ 1) parameters and generates k (k ≧ 1) in order to generate one or more space / gradation reduction images. Spatial reduction processing is performed using the parameters, and as a result, j × k space / tone-reduced images are generated. The space / gradation reduction unit 10 includes a gradation reduction unit 11 and a space reduction unit 12.

階調削減部11は、原画像をj個のパラメータを用いて階調削減処理して、j枚の階調削減画像を生成し、空間縮小部12に出力する。階調削減処理は、既知の手法である階調数の単純削減やLloyd-Max法などにより行う。   The gradation reduction unit 11 performs gradation reduction processing on the original image using j parameters, generates j gradation reduction images, and outputs them to the space reduction unit 12. The gradation reduction process is performed by a known technique such as simple reduction of the number of gradations or the Lloyd-Max method.

例えばn種類のルックアップテーブルを参照することにより階調削減処理を行う場合には、j=nとなる。階調削減部11は、階調削減処理に用いたパラメータに関する情報を補助情報として最適化部50に出力する。   For example, when gradation reduction processing is performed by referring to n types of lookup tables, j = n. The gradation reduction unit 11 outputs information regarding parameters used for the gradation reduction process to the optimization unit 50 as auxiliary information.

空間縮小部12は、階調削減部11により生成されたj枚の階調削減画像を、それぞれk個のパラメータを用いて空間縮小処理して、j×k枚の空間・階調削減画像を生成する。空間縮小処理は、既知の手法である画素の単純間引きやウェーブレット分解などにより行う。   The space reduction unit 12 performs space reduction processing on the j gradation-reduced images generated by the gradation reduction unit 11 using k parameters, respectively, so that j × k space / gradation reduction images are obtained. Generate. Spatial reduction processing is performed by known methods such as simple pixel thinning or wavelet decomposition.

また、空間縮小部12は、階調削減部11により生成されたj枚の階調削減画像をそれぞれ平滑化処理した後、画素を単純間引きしてもよい。平滑化は、解像度の縮小劣化過程(ぼやけ)を模擬したフィルタを用いて階調拡大画像を畳み込むことで処理する。解像度の縮小劣化過程を模擬したフィルタとして、例えば、点拡がり関数(PSF:Point spread function)又はガウシアン関数を用いることができる。   In addition, the space reduction unit 12 may simply thin out pixels after smoothing each of the j number of gradation-reduced images generated by the gradation reduction unit 11. The smoothing process is performed by convolving the gradation-enlarged image using a filter that simulates the resolution degradation process (blurring). For example, a point spread function (PSF) or a Gaussian function can be used as a filter that simulates the resolution degradation process of the resolution.

例えばn種類のフィルタを用いて空間縮小処理を行う場合には、k=nとなる。空間縮小部12は、階調削減処理に用いたパラメータに関する情報を補助情報として最適化部50に出力する。平滑化処理を行う場合には、用いた関数のタップ数、分散値、及びゲイン情報を補助情報とする。   For example, when the space reduction process is performed using n types of filters, k = n. The space reduction unit 12 outputs information on the parameters used for the gradation reduction process to the optimization unit 50 as auxiliary information. When performing the smoothing process, the number of taps of the used function, the variance value, and the gain information are used as auxiliary information.

符号化部20は、空間・階調削減部10により生成された1以上(j×k)の空間・階調削減画像をそれぞれ符号化して1以上の符号化信号を生成し、局部復号部30に出力する。符号化は、AVC/H.264やHEVC/H.265などの既知の方式により行われる。   The encoding unit 20 encodes one or more (j × k) space / gradation-reduced images generated by the space / gradation reduction unit 10 to generate one or more encoded signals, and the local decoding unit 30 Output to. Encoding is performed by a known method such as AVC / H.264 or HEVC / H.265.

局部復号部30は、符号化部20により生成された1以上(j×k)の符号化信号をそれぞれ局部復号して1以上の局部復号画像を生成し、空間・階調復元部40に出力する。局部復号は、符号化と同じAVC/H.264やHEVC/H.265などの既知の方式により行われる。   The local decoding unit 30 locally decodes one or more (j × k) encoded signals generated by the encoding unit 20 to generate one or more local decoded images, and outputs them to the space / gradation restoration unit 40 To do. The local decoding is performed by a known method such as AVC / H.264 and HEVC / H.265, which is the same as the encoding.

空間・階調復元部40は、局部復号部30により生成された1以上(j×k)の局部復号画像をそれぞれ空間拡大処理及び階調補間処理し、原画像と同じ解像度及び階調数を有する空間・階調復元画像を複数枚生成し、最適化部50に出力する。空間・階調復元部40は、j×k枚の局部復号画像に対し、l個(l≧1)のパラメータを用いて空間拡大処理するとともに、m個(m≧1)のパラメータを用いて階調補間処理し、その結果j×k×l×m(但し、j×k×l×m≧2)枚の空間・階調復元画像を生成する。空間・階調復元部40は、空間拡大部41と、階調補間部42とを備える。   The space / gradation restoration unit 40 performs spatial expansion processing and gradation interpolation processing on one or more (j × k) local decoded images generated by the local decoding unit 30 to obtain the same resolution and number of gradations as the original image. A plurality of space / tone restoration images are generated and output to the optimization unit 50. The space / gradation restoration unit 40 performs space expansion processing on the j × k local decoded images using l (l ≧ 1) parameters and uses m (m ≧ 1) parameters. Gradation interpolation processing is performed, and as a result, j × k × l × m (where j × k × l × m ≧ 2) space / gradation restoration images are generated. The space / tone restoration unit 40 includes a space enlargement unit 41 and a tone interpolation unit 42.

空間拡大部41は、局部復号部30により生成されたj×k枚の局部復号画像を、それぞれl個のパラメータを用いて原画像の解像度まで空間拡大処理してj×k×l枚の空間拡大画像を生成し、階調補間部42に出力する。空間拡大処理は、既知の手法であるbi-cubic、Lanczos-3などの線形フィルタやウェーブレットフィルタを用いて行われる。   The space enlarging unit 41 performs space enlarging processing on the j × k local decoded images generated by the local decoding unit 30 to the resolution of the original image using l parameters, respectively, to obtain j × k × l space. An enlarged image is generated and output to the gradation interpolation unit 42. Spatial expansion processing is performed using known methods such as bi-cubic and Lanczos-3 linear filters and wavelet filters.

例えばn種類のフィルタを用いて空間拡大処理を行う場合には、l=nとなる。空間拡大部41は、空間拡大処理に用いたパラメータに関する情報を補助情報として最適化部50に出力する。   For example, when the space expansion process is performed using n types of filters, l = n. The space enlarging unit 41 outputs information on parameters used for the space enlarging process to the optimization unit 50 as auxiliary information.

階調補間部42は、空間拡大部41により生成されたj×k×l枚の空間拡大画像を、それぞれm個のパラメータを用いて原画像の階調数まで階調補間処理してj×k×l×m枚の空間・階調復元画像を生成する。階調補間処理は、既知の手法である階調数の単純拡大により行われる。   The gradation interpolation unit 42 performs gradation interpolation on the j × k × l space expansion images generated by the space expansion unit 41 up to the number of gradations of the original image using m parameters, respectively. k × l × m space / tone restoration images are generated. The gradation interpolation process is performed by simple enlargement of the number of gradations, which is a known method.

例えばn種類のルックアップテーブルを参照することにより階調補間処理を行う場合には、m=nとなる。階調補間部42は、階調補間処理に用いたパラメータに関する情報を補助情報として最適化部50に出力する。   For example, when the gradation interpolation process is performed by referring to n types of lookup tables, m = n. The gradation interpolation unit 42 outputs information on parameters used for the gradation interpolation process to the optimization unit 50 as auxiliary information.

最適化部50は、空間・階調復元部40により生成された複数の空間・階調復元画像から、原画像と比較して最も劣化の少ない(最も差分の少ない)空間・階調復元画像を決定し、該空間・階調復元画像に対応する符号化信号を出力する。   The optimization unit 50 selects a space / tone restoration image having the least deterioration (smallest difference) from the plurality of space / tone restoration images generated by the space / tone restoration unit 40 compared to the original image. Then, an encoded signal corresponding to the space / tone restored image is output.

例えば、原画像と空間階調復元画像との差分は、原画像を基準としたPSNR(Peak Signal to Noise Ratio)値で計算することができる。PSNRは、画像の最大階調数をMAX(例えば8bit深度画像の場合は256)とすると、式(1)により算出される。式(1)における平均二乗誤差MSEは、水平m画素、垂直nラインの基準画像Iと評価画像Kにおいて、式(2)により求まる。   For example, the difference between the original image and the spatial tone restoration image can be calculated by a PSNR (Peak Signal to Noise Ratio) value based on the original image. The PSNR is calculated by Expression (1) when the maximum number of gradations of the image is MAX (for example, 256 for an 8-bit depth image). The mean square error MSE in Expression (1) is obtained by Expression (2) in the reference image I and the evaluation image K of horizontal m pixels and vertical n lines.

Figure 0006163022
Figure 0006163022

また、最適化部50は、PSNRによる評価の他に、視覚特性を考慮してPSNRよりも人間の主観画質評価結果に近いといわれるSSIM(Structural Similarity)値で計算してもよい。SSIMは、基準画像及び評価画像の平均μ,μ、分散σ ,σ 、共分散2σxyを用いて、式(3)により算出される。式(3)におけるC,Cは式(4)により算出される。ここで、K,Kは定数であり、通常0.01,0.03が使われる。また、Lは画像のダイナミックレンジであり、通常8bit深度画像では255が使われる。 In addition to the evaluation by PSNR, the optimization unit 50 may calculate a SSIM (Structural Similarity) value that is said to be closer to the human subjective image quality evaluation result than the PSNR in consideration of visual characteristics. The SSIM is calculated by Expression (3) using the average μ 1 , μ 2 , variance σ x 2 , σ y 2 , and covariance 2σ xy of the reference image and the evaluation image. C 1 and C 2 in equation (3) are calculated by equation (4). Here, K 1 and K 2 are constants, and usually 0.01 and 0.03 are used. L is the dynamic range of the image, and 255 is normally used for an 8-bit depth image.

Figure 0006163022
Figure 0006163022

また、最適化部50は、空間・階調削減部10及び空間・階調復元部40により生成された補助情報を入力し、決定した局部復号画像に対応する補助情報を、最適補助情報として出力する。最適補助情報を出力することにより、該最適補助情報及び符号化信号を用いて、原画像を復元することができるようになる。なお、符号化部20により生成された複数の符号化信号と、空間・階調削減部10及び空間・階調復元部40により生成された補助情報を最適化部50に直接入力させるのではなく、いったん記憶部(図示せず)に記憶し、決定した局部復号画像に対応する符号化信号及び補助情報を記憶部から取得するようにしてもよい。   Further, the optimization unit 50 receives the auxiliary information generated by the space / gradation reduction unit 10 and the space / tone restoration unit 40, and outputs the auxiliary information corresponding to the determined local decoded image as the optimal auxiliary information. To do. By outputting the optimum auxiliary information, the original image can be restored using the optimum auxiliary information and the encoded signal. The plurality of encoded signals generated by the encoding unit 20 and the auxiliary information generated by the space / gradation reduction unit 10 and the space / gradation restoration unit 40 are not directly input to the optimization unit 50. The encoded signal and auxiliary information corresponding to the determined local decoded image may be acquired from the storage unit once stored in the storage unit (not shown).

以上説明したように、符号化装置1は、階調削減部11により原画像をj個のパラメータを用いて階調削減処理してj枚の階調削減画像を生成するとともに、空間縮小部12により階調削減画像をk個のパラメータを用いて空間縮小処理してj×k枚の空間・階調削減画像を生成する。そして、符号化部20によりj×k枚の空間・階調削減画像を符号化してj×k種類の符号化信号を生成し、局部復号部30によりj×k種類の符号化信号を局部復号してj×k枚の局部復号画像を生成する。続いて、空間拡大部41によりj×k枚の局部復号画像をそれぞれl個のパラメータを用いて空間拡大処理してj×k×l枚の空間拡大画像を生成するとともに、階調補間部42によりj×k×l枚の空間拡大画像をそれぞれm個のパラメータを用いて階調補間処理してj×k×l×m枚の空間・階調復元画像を生成する。最後に、最適化部50によりj×k×l×m枚の空間・階調復元画像を前記原画像と比較して、最も劣化の少ない空間・階調復元画像を決定し、j×k種類の符号化信号のうち該最も劣化の少ない空間・階調復元画像に対応する符号化信号を出力する。このため、符号化装置1によれば、空間縮小処理、階調削減処理、空間拡大処理、及び階調補間処理を一元的に最適化することができ、高画質を維持しつつ、符号化信号のビットレートを大幅に低減することができるようになる。   As described above, in the encoding device 1, the gradation reduction unit 11 performs gradation reduction processing on the original image using j parameters to generate j gradation-reduced images, and the space reduction unit 12 Thus, the tone reduction image is subjected to space reduction processing using k parameters to generate j × k space / tone reduction images. Then, the encoding unit 20 generates j × k types of encoded signals by encoding the j × k space / gradation-reduced images, and the local decoding unit 30 locally decodes the j × k types of encoded signals. Then, j × k locally decoded images are generated. Subsequently, the space enlargement unit 41 performs space enlargement processing on each of the j × k local decoded images using l parameters to generate j × k × l space enlargement images, and the tone interpolation unit 42. Thus, j × k × l spatially enlarged images are subjected to gradation interpolation processing using m parameters, respectively, to generate j × k × l × m spatial / tone restored images. Finally, the optimization unit 50 compares the j × k × l × m space / gradation restored images with the original image to determine the least degraded space / tone restored image, and j × k types The encoded signal corresponding to the least degraded space / gradation restored image is output. Therefore, according to the encoding device 1, the space reduction process, the gradation reduction process, the space expansion process, and the gradation interpolation process can be optimized in a unified manner, and the encoded signal is maintained while maintaining high image quality. The bit rate can be greatly reduced.

(第2の実施形態)
次に、本発明の第2の実施形態について説明する。第2の実施形態では、第1の実施形態と異なる手法により階調削減処理を行う。階調削減処理は、階調数の単純削減では画像劣化が大きい。また、Lloyd-Max法では度数が高い階調値に多くの階調を割り当てて階調削減を行うため、原画像と階調削減画像との誤差を最小化するという観点からは最適な階調削減方法といえるが、視覚的かつ信号処理の観点からは最適な階調削減とはいえない。なぜなら、Lloyd-Max法では例えば雑音が支配的な階調値においても、その度数が高ければ多くの階調を割り当てて階調削減を行ってしまうからである。そこで、第2の実施形態では、雑音、グラデーション、又は双方を考慮して階調削減処理を行う。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. In the second embodiment, gradation reduction processing is performed by a method different from that in the first embodiment. In the gradation reduction process, image degradation is large when the number of gradations is simply reduced. In addition, since the Lloyd-Max method assigns a large number of gradations to gradation values with high frequency and performs gradation reduction, it is optimal from the viewpoint of minimizing the error between the original image and the gradation-reduced image. Although it can be said to be a reduction method, it cannot be said to be an optimum gradation reduction from the viewpoint of visual and signal processing. This is because, in the Lloyd-Max method, for example, even in a gradation value where noise is dominant, if the frequency is high, gradation is reduced by assigning many gradations. Therefore, in the second embodiment, gradation reduction processing is performed in consideration of noise, gradation, or both.

第2の実施形態に係る符号化装置2の概略構成は図2に示したとおりであり、階調削減処理のみ異なる。そこで、以下は、符号化装置2における階調削減部11の処理内容についてのみ説明する。   The schematic configuration of the encoding device 2 according to the second embodiment is as shown in FIG. 2, and only the gradation reduction process is different. Therefore, only the processing content of the gradation reduction unit 11 in the encoding device 2 will be described below.

図3は、符号化装置2における階調削減部11の構成例を示すブロック図である。図3に示す例では、階調削減部11は、周波数分解部111と、雑音閾値決定部112と、雑音除去画像生成部113と、グラデーション閾値決定部114と、グラデーション画像生成部115と、階調削減初期情報生成部116と、階調決定部117とを備える。ここでは、雑音及びグラデーションの双方を考慮する場合について説明するが、雑音閾値決定部112及び雑音除去画像生成部113を備えないで原画像のグラデーションのみを考慮するようにしてもよく、また、グラデーション閾値決定部114及びグラデーション画像生成部115を備えないで原画像の雑音のみを考慮するようにしてもよい。   FIG. 3 is a block diagram illustrating a configuration example of the gradation reduction unit 11 in the encoding device 2. In the example illustrated in FIG. 3, the gradation reduction unit 11 includes a frequency decomposition unit 111, a noise threshold determination unit 112, a noise removal image generation unit 113, a gradation threshold determination unit 114, a gradation image generation unit 115, A tone reduction initial information generation unit 116 and a tone determination unit 117 are provided. Here, a case where both noise and gradation are considered will be described. However, only the gradation of the original image may be considered without including the noise threshold value determination unit 112 and the noise-removed image generation unit 113. Only the noise of the original image may be considered without providing the threshold value determination unit 114 and the gradation image generation unit 115.

周波数分解部111は、原画像を周波数分解(例えば、ウェーブレットパケット分解)して、複数の周波数帯域成分を生成し、雑音閾値決定部112及び雑音除去画像生成部113に出力する。周波数帯域成分を解析することにより、後述するように雑音閾値及びグラデーション閾値を決定する。以下では、説明の便宜上、周波数分解成分のように周波数帯域毎に分解された画像を構成する最小単位を「要素」と称し、原画像のように周波数分解されていない画像を構成する最小単位を「画素」と称して、両者を区別することとする。   The frequency decomposition unit 111 performs frequency decomposition (for example, wavelet packet decomposition) on the original image, generates a plurality of frequency band components, and outputs them to the noise threshold value determination unit 112 and the noise-removed image generation unit 113. By analyzing the frequency band components, the noise threshold value and the gradation threshold value are determined as will be described later. Hereinafter, for convenience of explanation, a minimum unit constituting an image decomposed for each frequency band such as a frequency resolution component is referred to as an “element”, and a minimum unit constituting an image not frequency-resolved like an original image is referred to as “element”. These are referred to as “pixels” to distinguish them.

図4は、周波数分解部111による空間方向の周波数分解処理を説明する図である。図4では、原画像を空間方向に2階ウェーブレットパケット分解した場合の分解図を示しており、太線は1階ウェーブレットパケット分解の各周波数帯域を示している。図4に示すウェーブレットパケット分解の例では、低周波側、高周波側を空間方向に均等に周波数分解している。この分解図では空間周波数成分を、水平方向においては右側ほど高周波成分とし、垂直方向においては下側ほど高周波成分としている。よって、図4に示すように、左上は空間最低周波数帯域成分(周波数分解部111により生成された複数の周波数分解成分のうち最も周波数が低い帯域成分)となり、右下は空間最高周波数帯域成分(周波数分解部111により生成された複数の周波数分解成分のうち最も周波数が高い帯域成分)となる。なお、空間方向に加えて時間方向に周波数分解を行ってもよい。   FIG. 4 is a diagram for explaining frequency resolution processing in the spatial direction by the frequency resolution unit 111. FIG. 4 shows an exploded view when the original image is subjected to the second-order wavelet packet decomposition in the spatial direction, and the thick line indicates each frequency band of the first-order wavelet packet decomposition. In the example of wavelet packet decomposition shown in FIG. 4, frequency decomposition is performed equally on the low frequency side and the high frequency side in the spatial direction. In this exploded view, the spatial frequency component is a higher frequency component on the right side in the horizontal direction and a higher frequency component on the lower side in the vertical direction. Therefore, as shown in FIG. 4, the upper left is the lowest spatial frequency band component (the lowest frequency component among the plurality of frequency resolved components generated by the frequency resolving unit 111), and the lower right is the highest spatial frequency band component ( (The band component having the highest frequency among the plurality of frequency resolution components generated by the frequency resolution unit 111). Note that frequency decomposition may be performed in the time direction in addition to the spatial direction.

図4では説明の便宜上、デシメーション有りでウェーブレットパケット分解を行った場合の分解図を示しているが、後述する孤立点検出部1131にて原画像の画素単位で孤立点(雑音)を除去することができるようにするために、周波数分解部111はデシメーション無し(すなわち、周波数帯域成分の画像サイズの縮小無し)で周波数分解を行い、生成される各周波数帯域成分の画像サイズを同一としてもよい。   For the convenience of explanation, FIG. 4 shows an exploded view when wavelet packet decomposition is performed with decimation, but an isolated point (noise) is removed in pixel units of the original image by an isolated point detection unit 1131 described later. Therefore, the frequency decomposition unit 111 may perform frequency decomposition without decimation (that is, without reducing the image size of the frequency band component), and the generated image size of each frequency band component may be the same.

雑音閾値決定部112は、周波数分解部111により生成された周波数分解成分の全帯域成分に対する空間最高周波数帯域成分のパワーの割合(以下、「空間最高周波数帯域成分の割合」という)を、各要素位置について算出する。そして、雑音閾値決定部112は、空間最高周波数帯域成分の割合の平均値を基準として、複数の空間最高周波数帯域成分の割合を雑音閾値として決定し、雑音除去画像生成部113に出力する。例えば、0%から、空間最高周波数帯域成分の割合の平均値までをa等分した複数の値を雑音閾値として決定する。この場合、空間最高周波数帯域成分の割合の平均値が10%、a=5とすると、2%、4%、6%、8%、10%が雑音閾値となる。雑音閾値決定部112により決定された雑音閾値は、補助情報(パラメータ情報)として最適化部50に出力される。   The noise threshold value determination unit 112 determines the ratio of the power of the highest spatial frequency band component to the entire band component of the frequency decomposition component generated by the frequency decomposition unit 111 (hereinafter referred to as “the ratio of the highest spatial frequency band component”) for each element. Calculate for position. Then, the noise threshold determination unit 112 determines the ratio of the plurality of spatial highest frequency band components as the noise threshold with reference to the average value of the ratio of the highest spatial frequency band component, and outputs the determined noise threshold to the noise removal image generation unit 113. For example, a plurality of values obtained by equally dividing a range from 0% to the average value of the ratio of the highest spatial frequency band component are determined as the noise threshold. In this case, if the average value of the ratio of the highest spatial frequency band component is 10% and a = 5, 2%, 4%, 6%, 8%, and 10% are noise threshold values. The noise threshold value determined by the noise threshold value determination unit 112 is output to the optimization unit 50 as auxiliary information (parameter information).

雑音除去画像生成部113は、周波数分解部111により生成された周波数帯域成分、及び雑音閾値決定部112により決定された雑音閾値を用いて原画像の孤立点を検出し、該孤立点を雑音とみなす。そして、原画像から雑音が除去された雑音除去画像を生成し、階調削減初期情報生成部116に出力する。   The noise-removed image generation unit 113 detects an isolated point of the original image using the frequency band component generated by the frequency decomposition unit 111 and the noise threshold value determined by the noise threshold value determination unit 112, and determines the isolated point as noise. I reckon. Then, a noise-removed image from which noise has been removed from the original image is generated and output to the gradation reduction initial information generating unit 116.

図5は、雑音除去画像生成部113の構成例を示すブロック図である。図5に示すように、雑音除去画像生成部113は、孤立点検出部1131と、再構成部1132とを備える。   FIG. 5 is a block diagram illustrating a configuration example of the noise removal image generation unit 113. As illustrated in FIG. 5, the noise removal image generation unit 113 includes an isolated point detection unit 1131 and a reconstruction unit 1132.

孤立点検出部1131は、周波数分解部111により生成された周波数帯域成分を解析して原画像の孤立点を検出する。具体的には、孤立点検出部1131は、空間最高周波数帯域成分の割合を各要素位置について算出する。そして、孤立点検出部1131は、雑音閾値決定部112により決定された複数の雑音閾値のうちの1つを選択し、算出した空間最高周波数帯域成分の割合が選択した雑音閾値Thを超える要素の値を1とし、雑音閾値Th以下の要素の値を0とする2値化画像Bを生成する。 The isolated point detection unit 1131 analyzes the frequency band component generated by the frequency resolution unit 111 and detects an isolated point of the original image. Specifically, the isolated point detection unit 1131 calculates the ratio of the highest spatial frequency band component for each element position. Then, the isolated point detection unit 1131 selects one of a plurality of noise threshold determined by the noise threshold value determination unit 112, exceeds a noise threshold value Th 1 for the ratio of the calculated spatial highest frequency band component has been selected element A binarized image B having a value of 1 as 1 and a value of an element equal to or less than the noise threshold Th 1 as 0 is generated.

孤立点検出部1131は、2値化画像Bの要素値が1である要素について、該要素を中心とする所定の判定領域内の要素値の合計値と、所定の閾値Thとを比較する。2値化画像Bの判定領域内の要素値の合計値が閾値Thを超える場合には、当該要素は孤立点要素ではないと判定し、2値化画像Bの判定領域内の要素値の合計値が閾値Th以下である場合には、当該要素を孤立点要素と判定し、孤立点要素に対応する原画像の画素を孤立点と判定する。 The isolated point detection unit 1131 compares the total value of the element values in a predetermined determination region centered on the element with the element value of 1 in the binarized image B with a predetermined threshold Th 2. . If the sum of the element value of the determination area of the binarized image B exceeds the threshold Th 2 is the element is determined not to be an isolated point element, the element value of the determination area of the binarized image B If the total value is the threshold value Th 2 or less determines it determines the element an isolated point element, a pixel of the original image corresponding to the isolated point elements as isolated point.

図6は、孤立点検出部1131による孤立点判定処理を説明する図である。図6に示す例では、判定領域は3×3要素である。閾値Thを1とすると、2値化画像Bの要素値が1となる要素素の周囲の8要素の要素値が0であるときのみ、2値化画像Bの要素値が1である要素を孤立要素とみなす。よって、閾値Th=1の場合、図中の要素P1は孤立点要素であると判定され、要素P2と要素P3は孤立点要素と判定されない。 FIG. 6 is a diagram for explaining isolated point determination processing by the isolated point detection unit 1131. In the example shown in FIG. 6, the determination area is 3 × 3 elements. When the threshold Th 2 is 1, an element whose element value of the binarized image B is 1 only when the element values of the 8 elements around the element element whose element value of the binarized image B is 1 are 0 Is considered an isolated element. Therefore, when the threshold Th 2 = 1, the element P1 in the figure is determined to be an isolated point element, and the elements P2 and P3 are not determined to be isolated point elements.

そして、孤立点検出部1131は、各周波数帯域成分について、孤立点要素であると判定した要素位置の要素値を0とし、再構成部1132に出力する。ただし、直流成分に雑音が含まれる場合には孤立点要素として検出されないおそれがあるため、直流成分を有する空間最低周波数帯域成分については階調値を変更しないようにするのが好適である。   Then, the isolated point detection unit 1131 sets the element value of the element position determined to be an isolated point element to 0 for each frequency band component, and outputs it to the reconstruction unit 1132. However, if the DC component contains noise, it may not be detected as an isolated point element, so it is preferable not to change the gradation value for the lowest spatial frequency band component having a DC component.

再構成部1132は、孤立点検出部1131から入力される孤立点検出後の周波数帯域成分を用いて再構成処理を行い、雑音除去画像を生成し、階調削減初期情報生成部116に出力する。例えば、周波数分解部111においてn階ウェーブレットパケット分解を行って周波数帯域成分を生成していた場合には、孤立点検出後の周波数帯域成分をn階ウェーブレットパケット再構成する。   The reconstruction unit 1132 performs reconstruction processing using the frequency band component after detection of isolated points input from the isolated point detection unit 1131, generates a noise-removed image, and outputs the noise reduction image to the gradation reduction initial information generation unit 116. . For example, when the frequency decomposition unit 111 performs n-th order wavelet packet decomposition to generate a frequency band component, the frequency band component after detection of the isolated point is reconfigured to the nth-order wavelet packet.

グラデーション閾値決定部114は、周波数分解部111により生成された周波数分解成分の全帯域成分に対する空間最低周波数帯域成分のパワーの割合(以下、「空間最低周波数帯域成分の割合」という)を、各要素位置について算出する。そして、グラデーション閾値決定部114は、空間最低周波数帯域成分の割合の平均値を基準として、複数の空間最低周波数帯域成分の割合をグラデーション閾値として決定し、グラデーション画像生成部115に出力する。例えば、空間最低周波数帯域成分の割合の平均値から100%までをb等分した複数の値をグラデーション閾値として決定する。この場合、空間最低周波数帯域成分の割合平均値が90%、b=5とすると、90%、92%、94%、96%、98%がグラデーション閾値となる。グラデーション閾値決定部114により決定されたグラデーション閾値は、補助情報として最適化部50に出力される。   The gradation threshold value determining unit 114 determines the ratio of the power of the lowest spatial frequency band component to the entire band component of the frequency resolved component generated by the frequency resolving unit 111 (hereinafter referred to as “ratio of the lowest spatial frequency band component”) for each element. Calculate for position. Then, the gradation threshold determination unit 114 determines the ratio of the plurality of spatial minimum frequency band components as the gradation threshold with reference to the average value of the ratios of the spatial minimum frequency band components, and outputs the gradation threshold to the gradation image generation unit 115. For example, a plurality of values obtained by equally dividing 100% from the average value of the ratio of the lowest spatial frequency band components into b are determined as gradation threshold values. In this case, assuming that the ratio average value of the lowest spatial frequency band component is 90% and b = 5, 90%, 92%, 94%, 96%, and 98% are gradation threshold values. The gradation threshold value determined by the gradation threshold value determination unit 114 is output to the optimization unit 50 as auxiliary information.

グラデーション画像生成部115は、周波数分解部111により生成された周波数帯域成分、及びグラデーション閾値決定部114により決定されたグラデーション閾値を用いて原画像のグラデーション領域を検出し、該グラデーション領域のみからなるグラデーション画像を生成する。そして、グラデーション画像を階調削減初期情報生成部116に出力する。   The gradation image generation unit 115 detects the gradation region of the original image using the frequency band component generated by the frequency decomposition unit 111 and the gradation threshold value determined by the gradation threshold value determination unit 114, and the gradation composed only of the gradation region Generate an image. Then, the gradation image is output to the gradation reduction initial information generation unit 116.

図7は、グラデーション画像生成部115の構成例を示すブロック図である。図7に示すように、グラデーション画像生成部115は、グラデーション領域検出部1151と、再構成部1152とを備える。   FIG. 7 is a block diagram illustrating a configuration example of the gradation image generation unit 115. As shown in FIG. 7, the gradation image generation unit 115 includes a gradation area detection unit 1151 and a reconstruction unit 1152.

グラデーション領域検出部1151は、周波数分解部111により生成された周波数帯域成分を解析して原画像のグラデーション領域を検出する。具体的には、グラデーション領域検出部1151は、空間最低周波数帯域成分の割合を各要素位置について算出する。そして、グラデーション領域検出部1151は、グラデーション閾値決定部114により決定された複数のグラデーション閾値のうちの1つを選択し、算出した空間最低周波数帯域成分の割合が選択したグラデーション閾値を超える領域をグラデーション領域と決定する。そして、グラデーション領域のみからなる画像を、再構成部1152に出力する。   The gradation area detection unit 1151 analyzes the frequency band component generated by the frequency decomposition unit 111 and detects the gradation area of the original image. Specifically, the gradation area detection unit 1151 calculates the ratio of the lowest spatial frequency band component for each element position. Then, the gradation area detection unit 1151 selects one of a plurality of gradation threshold values determined by the gradation threshold value determination unit 114, and determines an area in which the calculated spatial minimum frequency band component ratio exceeds the selected gradation threshold value. Determine the area. Then, an image including only the gradation area is output to the reconstruction unit 1152.

再構成部1152は、グラデーション領域検出部1151から入力されるグラデーション領域検出後の周波数帯域成分を用いて再構成処理を行い、グラデーション画像を生成し、階調削減初期情報生成部116に出力する。例えば、周波数分解部111においてn階ウェーブレットパケット分解を行って周波数帯域成分を生成していた場合には、グラデーション領域検出後の周波数帯域成分をn階ウェーブレット再構成する。   The reconstruction unit 1152 performs reconstruction processing using the frequency band component after gradation region detection input from the gradation region detection unit 1151, generates a gradation image, and outputs the gradation image to the gradation reduction initial information generation unit 116. For example, in the case where the frequency decomposition unit 111 has performed n-th order wavelet packet decomposition to generate frequency band components, the frequency band components after gradation region detection are reconfigured to the n-th order wavelet.

階調削減初期情報生成部116は、雑音除去画像生成部113により生成された雑音除去画像、及びグラデーション画像生成部115により生成されたグラデーション画像に基づいて訓練データを生成するとともに、階調削減率(階調削減ビット数)に基づく階調変換テーブルを生成する。そして、訓練データ及び階調変換テーブルを階調決定部117に出力する。   The gradation reduction initial information generation unit 116 generates training data based on the noise-removed image generated by the noise-removed image generation unit 113 and the gradation image generated by the gradation image generation unit 115, and the gradation reduction rate A gradation conversion table based on (the number of gradation reduction bits) is generated. Then, the training data and the gradation conversion table are output to the gradation determining unit 117.

図8は、階調削減初期情報生成部116の構成例を示すブロック図である。図8に示すように、階調削減初期情報生成部116は、ヒストグラム生成部1161と、重み付け部1162と、階調変換テーブル生成部1163とを備える。   FIG. 8 is a block diagram illustrating a configuration example of the gradation reduction initial information generation unit 116. As illustrated in FIG. 8, the gradation reduction initial information generation unit 116 includes a histogram generation unit 1161, a weighting unit 1162, and a gradation conversion table generation unit 1163.

ヒストグラム生成部1161は、雑音除去画像生成部113により生成された雑音除去画像について階調値ごとの度数を示すヒストグラムを訓練データとして生成し、階調決定部117に出力する。   The histogram generation unit 1161 generates, as training data, a histogram indicating the frequency for each gradation value for the noise-removed image generated by the noise-removed image generation unit 113, and outputs the training data to the gradation determination unit 117.

重み付け部1162は、グラデーション画像生成部115により生成されたグラデーション画像の階調値を検出し、ヒストグラム生成部1161により生成された雑音除去画像のヒストグラムに対して、グラデーション画像の階調値の度数が高くなるように重み付けする。そして、重み付けしたヒストグラムを訓練データとして階調決定部117に出力する。例えば、グラデーション画像の階調値の度数を、所定の1を超える値(例えば、1.2)を乗じた値に変更する。なお、度数の高いグラデーション画像の階調値ほど重みを大きくするようにしてもよい。重み付けしたヒストグラムを訓練データとすることにより、階調決定部117にて階調削減を行う際に、グラデーション領域に、より多くの階調を割り当てることができる。   The weighting unit 1162 detects the gradation value of the gradation image generated by the gradation image generation unit 115, and the frequency of the gradation value of the gradation image is determined with respect to the histogram of the noise-removed image generated by the histogram generation unit 1161. Weight to be higher. Then, the weighted histogram is output to the gradation determination unit 117 as training data. For example, the frequency of the gradation value of the gradation image is changed to a value obtained by multiplying a predetermined value exceeding 1 (for example, 1.2). Note that the weight may be increased as the gradation value of the gradation image having a higher frequency. By using the weighted histogram as training data, more gradations can be assigned to the gradation area when the gradation determination unit 117 performs gradation reduction.

階調変換テーブル生成部1163は、階調削減率に応じて階調変換テーブルを生成し、階調決定部117に出力する。階調変換テーブルは、原画像の色深度がnビット(階調数2)、階調削減ビット数がmビットの場合、nビットを(n−m)ビットに線形変換する階調変換テーブルである。 The gradation conversion table generation unit 1163 generates a gradation conversion table according to the gradation reduction rate and outputs the gradation conversion table to the gradation determination unit 117. The gradation conversion table is a gradation conversion table that linearly converts n bits into (nm) bits when the color depth of the original image is n bits (number of gradations 2 n ) and the number of gradation reduction bits is m bits. It is.

図9は、階調削減部10がグラデーション閾値決定部114及びグラデーション画像生成部115を備えない場合の階調削減初期情報生成部116の構成例を示すブロック図である。この場合、ヒストグラム生成部1161は、雑音除去画像生成部113により生成された雑音除去画像について階調値ごとの度数を示すヒストグラムを訓練データとして生成する。階調変換テーブル生成部1163は、階調削減率に応じて階調変換テーブルを生成する。   FIG. 9 is a block diagram illustrating a configuration example of the gradation reduction initial information generation unit 116 when the gradation reduction unit 10 does not include the gradation threshold value determination unit 114 and the gradation image generation unit 115. In this case, the histogram generation unit 1161 generates, as training data, a histogram indicating the frequency for each gradation value for the noise-removed image generated by the noise-removed image generation unit 113. The gradation conversion table generation unit 1163 generates a gradation conversion table according to the gradation reduction rate.

図10は、階調削減部10が雑音閾値決定部112及び雑音除去画像生成部113を備えない場合の階調削減初期情報生成部116の構成例を示すブロック図である。この場合、ヒストグラム生成部1161は、原画像について階調値ごとの度数を示すヒストグラムを生成し、重み付け部1162に出力する。重み付け部1162は、グラデーション画像生成部115により生成されたグラデーション画像の階調値を検出し、ヒストグラム生成部1161により生成された原画像のヒストグラムに対して、グラデーション画像の度数が高くなるように重み付けし、重み付けしたヒストグラムを訓練データとする。階調変換テーブル生成部1163は、階調削減率に応じて階調変換テーブルを生成する。   FIG. 10 is a block diagram illustrating a configuration example of the gradation reduction initial information generation unit 116 when the gradation reduction unit 10 does not include the noise threshold value determination unit 112 and the noise-removed image generation unit 113. In this case, the histogram generation unit 1161 generates a histogram indicating the frequency for each gradation value for the original image, and outputs the histogram to the weighting unit 1162. The weighting unit 1162 detects the gradation value of the gradation image generated by the gradation image generation unit 115 and performs weighting so that the frequency of the gradation image is higher than the histogram of the original image generated by the histogram generation unit 1161. The weighted histogram is used as training data. The gradation conversion table generation unit 1163 generates a gradation conversion table according to the gradation reduction rate.

階調決定部117は、階調削減初期情報生成部116により生成された訓練データ及び階調変換テーブルを初期値として用いるLloyd-Max法により、原画像の階調を削減した階調削減画像を生成する。階調決定部117は、訓練データの度数に応じて各階調の量子化ステップを決定して階調削減画像を生成した後、階調削減画像を逆階調変換して原画像と同じ階調数の画像を生成する。そして、原画像と逆階調変換した画像との差分値が所定の閾値以下となるまで、訓練データ、及び階調変換テーブルを更新し、階調削減処理を繰り返し行う。Lloyd-Max法によれば、度数の高い階調ほど量子化ステップを小さくするため、原画像と階調削減画像との誤差を小さくすることができる。   The gradation determination unit 117 generates a gradation-reduced image in which the gradation of the original image is reduced by the Lloyd-Max method using the training data generated by the gradation reduction initial information generation unit 116 and the gradation conversion table as initial values. Generate. The gradation determining unit 117 determines the quantization step of each gradation according to the frequency of the training data and generates a gradation reduced image, and then performs inverse gradation conversion on the gradation reduced image to obtain the same gradation as the original image. Generate a number of images. Then, the training data and the gradation conversion table are updated and the gradation reduction process is repeated until the difference value between the original image and the image obtained by inverse gradation conversion is equal to or less than a predetermined threshold. According to the Lloyd-Max method, since the quantization step is reduced as the frequency becomes higher, the error between the original image and the gradation-reduced image can be reduced.

また、階調決定部117は、生成した階調削減部を元の階調数に復元するための逆量子化テーブルを生成し、補助情報として最適化部50に出力する。ここで、逆量子化テーブルとは、階調削減画像を生成した際の階調変換テーブルの入力値を出力値とし、階調変換テーブルの出力値を入力値としたテーブルである。   Also, the gradation determination unit 117 generates an inverse quantization table for restoring the generated gradation reduction unit to the original number of gradations, and outputs it to the optimization unit 50 as auxiliary information. Here, the inverse quantization table is a table in which the input value of the gradation conversion table when the gradation-reduced image is generated is the output value, and the output value of the gradation conversion table is the input value.

雑音除去画像生成部113は、雑音閾値決定部112により決定された雑音閾値ごとに雑音除去画像を生成する。また、グラデーション画像生成部115は、グラデーション閾値決定部114により決定されたグラデーション閾値ごとにグラデーション画像を生成する。よって、雑音閾値決定部112により決定された雑音閾値がa個、グラデーション閾値決定部114により決定されたグラデーション閾値がb個の場合には、階調削減初期情報生成部116によりa×b種類の訓練データが生成され、階調決定部117によりa×b種類の階調削減画像(階調削減画像群)が生成される。   The noise-removed image generation unit 113 generates a noise-removed image for each noise threshold determined by the noise threshold determination unit 112. In addition, the gradation image generation unit 115 generates a gradation image for each gradation threshold value determined by the gradation threshold value determination unit 114. Therefore, when the number of noise threshold values determined by the noise threshold value determination unit 112 is a and the number of gradation threshold values determined by the gradation threshold value determination unit 114 is b, the gradation reduction initial information generation unit 116 selects a × b types of noise threshold values. Training data is generated, and the gradation determination unit 117 generates a × b types of gradation-reduced images (gradation-reduced image group).

以上説明したように、符号化装置2においては、前記階調削減部10は、j個の雑音閾値を用いて、原画像から孤立点を除去したj枚の雑音除去画像を生成するか、又はj個のグラデーション閾値を用いて、原画像のグラデーション領域のみからなるj枚のグラデーション画像を生成する画像生成部(雑音除去画像生成部113又はグラデーション画像生成部115)と、雑音除去画像又は原画像のヒストグラムに対して、グラデーション画像の階調値の度数が高くなるように重み付けしたヒストグラムを訓練データとして用いるLloyd-Max法により、原画像の階調を削減したj枚の階調削減画像を生成する階調決定部117と、を備える。このように、雑音又はグラデーションを考慮して階調変換することにより、視覚的かつ信号処理的に優れ、画像ごとに最適化された階調削減を行うことができ、実施例1の符号化装置1に比べて更に高精度な符号化信号を生成することができる。また、空間縮小前に階調削減を行うことで、不要な雑音成分が折り返し成分として空間削減画像に含まれるのを防止することができる。   As described above, in the encoding device 2, the gradation reduction unit 10 generates j noise-removed images obtained by removing isolated points from the original image using j noise thresholds, or An image generation unit (noise removal image generation unit 113 or gradation image generation unit 115) that generates j gradation images including only gradation regions of the original image using j gradation threshold values, and a noise removal image or original image Using the Lloyd-Max method, which uses a histogram weighted so that the frequency of the gradation value of the gradation image is higher than the histogram of the image as training data, j gradation-reduced images with reduced gradation of the original image are generated And a gradation determination unit 117 for performing. In this way, by performing tone conversion in consideration of noise or gradation, it is possible to perform tone reduction that is excellent in visual and signal processing and optimized for each image. Compared to 1, it is possible to generate an encoded signal with higher accuracy. Further, by performing gradation reduction before space reduction, it is possible to prevent unnecessary noise components from being included in the space-reduced image as aliasing components.

なお、雑音及びグラデーションの双方を考慮する場合には、雑音除去画像生成部113によりa個の雑音閾値を用いて、原画像から孤立点を除去したa枚の雑音除去画像を生成し、b個のグラデーション閾値を用いて、原画像のグラデーション領域のみからなるb枚のグラデーション画像を生成し、階調決定部117によりj=a×b枚の階調削減画像を生成する。   When considering both noise and gradation, the noise-removed image generation unit 113 generates a noise-removed image in which isolated points are removed from the original image using a noise threshold value, and b pieces. The gradation threshold value is used to generate b gradation images including only the gradation area of the original image, and the gradation determination unit 117 generates j = a × b gradation reduced images.

(第3の実施形態)
次に、第2の実施形態の階調削減処理の変形例について、第3の実施形態として説明する。第2の実施形態では原画像を解析して閾値を決定したが、第3の実施形態では空間縮小率及び/又は階調削減率から閾値を決定する。第3の実施形態に係る符号化装置3の概略構成は図2に示したとおりであり、階調削減処理のみ異なる。そこで、以下は、符号化装置3における階調削減部11の処理内容についてのみ説明する。
(Third embodiment)
Next, a modification of the gradation reduction process of the second embodiment will be described as a third embodiment. In the second embodiment, the threshold value is determined by analyzing the original image. In the third embodiment, the threshold value is determined from the space reduction ratio and / or the gradation reduction ratio. The schematic configuration of the encoding device 3 according to the third embodiment is as shown in FIG. 2, and only the gradation reduction process is different. Therefore, only the processing content of the gradation reduction unit 11 in the encoding device 3 will be described below.

図11は、本発明の第3の実施形態に係る符号化装置3における階調削減部の構成を示すブロック図である。図11に示す例では、階調削減部11は、階調削減閾値決定部118と、周波数分解部111と、雑音除去画像生成部113と、グラデーション画像生成部115と、階調削減初期情報生成部116と、階調決定部117とを備える。ここでは、雑音及びグラデーションの双方を考慮する場合について説明するが、雑音閾値決定部112及び雑音除去画像生成部113を備えないで原画像のグラデーションのみを考慮するようにしてもよく、また、グラデーション閾値決定部114及びグラデーション画像生成部115を備えないで原画像の雑音のみを考慮するようにしてもよい。   FIG. 11 is a block diagram showing a configuration of a gradation reducing unit in the encoding apparatus 3 according to the third embodiment of the present invention. In the example illustrated in FIG. 11, the gradation reduction unit 11 includes a gradation reduction threshold determination unit 118, a frequency decomposition unit 111, a noise removal image generation unit 113, a gradation image generation unit 115, and gradation reduction initial information generation. Unit 116 and gradation determination unit 117. Here, a case where both noise and gradation are considered will be described. However, only the gradation of the original image may be considered without including the noise threshold value determination unit 112 and the noise-removed image generation unit 113. Only the noise of the original image may be considered without providing the threshold value determination unit 114 and the gradation image generation unit 115.

階調削減閾値決定部118は、空間縮小率及び/又は階調削減率に基づいて、雑音閾値及び/又はグラデーション閾値を決定する。ここでは、空間縮小率及び階調削減率に基づいて、雑音閾値及びグラデーション閾値を決定する場合について説明する。階調削減閾値決定部118は、決定した雑音閾値を雑音除去画像生成部113に出力し、決定したグラデーション閾値をグラデーション画像生成部115に出力する。   The gradation reduction threshold determination unit 118 determines a noise threshold and / or a gradation threshold based on the space reduction ratio and / or the gradation reduction ratio. Here, a case where the noise threshold value and the gradation threshold value are determined based on the space reduction rate and the gradation reduction rate will be described. The gradation reduction threshold value determination unit 118 outputs the determined noise threshold value to the noise-removed image generation unit 113, and outputs the determined gradation threshold value to the gradation image generation unit 115.

階調削減閾値決定部118は、空間縮小率及び階調削減率と、雑音閾値及びグラデーション閾値とを対応付けた対応表を予め有する。対応表の例を表1に示す。空間縮小率と、雑音閾値及びグラデーション閾値との関係については、空間縮小率が高くなるほど、雑音閾値及びグラデーション閾値を小さくする。空間縮小率が高い場合は、雑音成分の折り返しによる影響は少なく、またグラデーション領域検出を高い精度で行う必要はないためである。また、階調削減率と、雑音閾値及びグラデーション閾値との関係については、階調削減率が高くなるほど、雑音閾値及びグラデーション閾値を大きくするのが好適である。階調削減率が高い場合は、雑音に階調を割り当てないように雑音除去閾値を高く設定する必要があり、また疑似輪郭防止のためにグラデーション領域検出閾値を高く設定する必要があるからである。つまり、表1では、N<N<N<N、G<G<G<Gとする。 The gradation reduction threshold value determination unit 118 has a correspondence table that associates the space reduction ratio and gradation reduction ratio with the noise threshold value and the gradation threshold value in advance. An example of the correspondence table is shown in Table 1. Regarding the relationship between the spatial reduction ratio, the noise threshold value, and the gradation threshold value, the noise threshold value and the gradation threshold value are decreased as the spatial reduction ratio increases. This is because when the space reduction ratio is high, the influence of the aliasing of the noise component is small, and it is not necessary to detect the gradation area with high accuracy. As for the relationship between the gradation reduction rate, the noise threshold value, and the gradation threshold value, it is preferable to increase the noise threshold value and the gradation threshold value as the gradation reduction rate increases. This is because when the gradation reduction rate is high, it is necessary to set a high noise removal threshold so that gradation is not assigned to noise, and it is necessary to set a high gradation area detection threshold to prevent false contours. . That is, in Table 1, it is assumed that N 1 <N 2 <N 3 <N 4 and G 1 <G 2 <G 3 <G 4 .

Figure 0006163022
Figure 0006163022

表1の対応表を用いて雑音閾値及びグラデーション閾値を決定する場合、空間縮小処理に対する重みα、及び階調削減処理に対する重みβを用いるのが好適である。例えば、空間縮小率が1/2、階調削減率が1/8の場合に表1を用いて雑音閾値N及びグラデーション閾値Gを求めると、N=(αN+βN)/2、G=(αG+βG)/2となる。空間縮小処理の精度を重視する場合はαに大きな重みを与え、階調削減処理の精度を重視する場合はβに大きな重みを与える。なお、雑音閾値及びグラデーション閾値の組を複数組選択するようにしてもよい。 When the noise threshold value and the gradation threshold value are determined using the correspondence table of Table 1, it is preferable to use the weight α for the space reduction process and the weight β for the gradation reduction process. For example, when the space reduction ratio is 1/2 and the gradation reduction ratio is 1/8, the noise threshold value N and the gradation threshold value G are obtained using Table 1, N = (αN 4 + βN 3 ) / 2, G = (ΑG 4 + βG 3 ) / 2. When importance is attached to the accuracy of the space reduction process, a large weight is given to α, and when importance is attached to the accuracy of the gradation reduction process, a large weight is assigned to β. A plurality of sets of noise threshold values and gradation threshold values may be selected.

雑音除去画像生成部113は、周波数分解部111により生成された周波数帯域成分、及び階調削減閾値決定部118により決定された雑音閾値を用いて原画像の孤立点を検出し、該孤立点を雑音とみなす。そして、原画像から雑音が除去された雑音除去画像を生成し、階調削減初期情報生成部116に出力する。   The noise removal image generation unit 113 detects an isolated point of the original image using the frequency band component generated by the frequency decomposition unit 111 and the noise threshold value determined by the gradation reduction threshold value determination unit 118, and detects the isolated point. Consider it noise. Then, a noise-removed image from which noise has been removed from the original image is generated and output to the gradation reduction initial information generating unit 116.

グラデーション画像生成部115は、周波数分解部111により生成された周波数帯域成分、及び階調削減閾値決定部118により決定されたグラデーション閾値を用いて原画像のグラデーション領域を検出し、該グラデーション領域のみからなるグラデーション画像を生成する。そして、グラデーション画像を階調削減初期情報生成部116に出力する。   The gradation image generation unit 115 detects the gradation region of the original image using the frequency band component generated by the frequency decomposition unit 111 and the gradation threshold value determined by the gradation reduction threshold value determination unit 118, and only from the gradation region. Generate a gradient image. Then, the gradation image is output to the gradation reduction initial information generation unit 116.

階調削減初期情報生成部116は、雑音除去画像生成部113により生成された雑音除去画像、及びグラデーション画像生成部115により生成されたグラデーション画像に基づいて訓練データを生成するとともに、階調削減率に基づく階調変換テーブルを生成する。そして、訓練データ及び階調変換テーブルを階調決定部117に出力する。   The gradation reduction initial information generation unit 116 generates training data based on the noise-removed image generated by the noise-removed image generation unit 113 and the gradation image generated by the gradation image generation unit 115, and the gradation reduction rate A gradation conversion table based on is generated. Then, the training data and the gradation conversion table are output to the gradation determining unit 117.

階調決定部117は、階調削減初期情報生成部116により生成された訓練データ及び階調変換テーブルを初期値として用いるLloyd-Max法により、原画像の階調を削減した階調削減画像を生成する。   The gradation determination unit 117 generates a gradation-reduced image in which the gradation of the original image is reduced by the Lloyd-Max method using the training data generated by the gradation reduction initial information generation unit 116 and the gradation conversion table as initial values. Generate.

以上説明したように、符号化装置3は、雑音閾値又は前記グラデーション閾値を、該閾値と、空間縮小率又は階調削減率とを対応付けた対応表に基づいて決定する。このため、符号化装置3によれば、第2の実施形態の符号化装置2と同様の効果に加え、雑音閾値又は前記グラデーション閾値を迅速に決定して処理時間を短縮することができるようになる。   As described above, the encoding device 3 determines the noise threshold value or the gradation threshold value based on the correspondence table in which the threshold value is associated with the space reduction rate or the gradation reduction rate. For this reason, according to the encoding device 3, in addition to the same effects as those of the encoding device 2 of the second embodiment, it is possible to quickly determine the noise threshold value or the gradation threshold value to shorten the processing time. Become.

(第4の実施形態)
次に、第4の実施形態について説明する。第4の実施形態では、第1の実施形態と異なる手法により空間・階調復元処理を行う。第4の実施形態に係る符号化装置4の概略構成は図2に示したとおりである。そこで、以下は、符号化装置4における空間・階調復元部40の処理内容についてのみ説明する。
(Fourth embodiment)
Next, a fourth embodiment will be described. In the fourth embodiment, space / gradation restoration processing is performed by a method different from that of the first embodiment. The schematic configuration of the encoding device 4 according to the fourth embodiment is as shown in FIG. Therefore, only the processing contents of the space / tone restoration unit 40 in the encoding device 4 will be described below.

局所復号画像を無限に高い解像度(標本化周波数)まで空間超解像(オーバーサンプリング)処理を行い、これを原画像の解像度まで縮小する時に階値補間処理を行えば、理想的な空間・階調復元処理となる。しかしこれは不可能なため、第4の実施形態では原画像の解像度以上の解像度まで局所復号画像を空間超解像処理して、これを原画像の解像度まで縮小する際に階調補間処理を行う。   If spatial super-resolution (oversampling) processing is performed on a locally decoded image to an infinitely high resolution (sampling frequency), and scale interpolation processing is performed when reducing this to the resolution of the original image, an ideal space / floor It is a key restoration process. However, since this is not possible, in the fourth embodiment, the spatial decoding process is performed on the local decoded image to a resolution higher than the resolution of the original image, and the gradation interpolation process is performed when reducing the resolution to the resolution of the original image. Do.

符号化装置4における空間拡大部41は、局部復号部30により生成されたj×k枚の局部復号画像を、それぞれ原画像の解像度以上のl種類の解像度まで空間超解像処理(空間オーバーサンプリング処理)して、原画像の解像度以上の解像度を有するj×k×l枚の空間拡大画像を生成し、階調補間部42に出力する。   The space enlarging unit 41 in the encoding device 4 performs spatial super-resolution processing (spatial oversampling) on the j × k locally decoded images generated by the local decoding unit 30 up to l types of resolutions that are higher than the resolution of the original image. Process) to generate j × k × l spatially enlarged images having a resolution equal to or higher than the resolution of the original image, and outputs the generated image to the gradation interpolation unit 42.

図12は、第4の実施形態に係る符号化装置4における空間拡大部41の構成例を示すブロック図である。図12に示す例では、空間拡大部41は、オーバーサンプリング値決定部411と、オーバーサンプリング部412とを備える。   FIG. 12 is a block diagram illustrating a configuration example of the space expanding unit 41 in the encoding device 4 according to the fourth embodiment. In the example illustrated in FIG. 12, the space enlargement unit 41 includes an oversampling value determination unit 411 and an oversampling unit 412.

オーバーサンプリング値決定部411は、空間拡大画像の解像度を示す空間オーバーサンプリング値を決定し、オーバーサンプリング部412に出力する。空間オーバーサンプリング値は、例えば、階調補間部42で階調数を△bit増加させる場合、水平方向及び垂直方向ともに原画像の解像度の2(△+1)倍までの解像度とする。例えば局部復号画像の解像度及び階調数を「4K×2K、8bit」とし、原画像の解像度及び階調数を「8K×4K、10bit」とすると、階調数を2bit増加させるため、空間オーバーサンプリング値は水平方向及び垂直方向ともに原画像の解像度の2倍、4倍、8倍となる。 The oversampling value determination unit 411 determines a spatial oversampling value indicating the resolution of the spatially enlarged image, and outputs the spatial oversampling value to the oversampling unit 412. For example, when the gradation interpolation unit 42 increases the number of gradations by Δbit, the spatial oversampling value has a resolution up to 2 (Δ + 1) times the resolution of the original image in both the horizontal and vertical directions. For example, if the resolution and the number of gradations of the locally decoded image are “4K × 2K, 8 bits” and the resolution and the number of gradations of the original image are “8K × 4K, 10 bits”, the number of gradations is increased by 2 bits. Sampling values are twice, four times, and eight times the resolution of the original image in both the horizontal and vertical directions.

なお、空間オーバーサンプリング値の最大値は原画像の解像度の2(△+1)倍に限定されるものではない。また、空間オーバーサンプリング値が示す解像度が原画像の解像度と同一であってもよく、その場合には、後述する空間縮小処理は行わないこととなる。また、オーバーサンプリング値決定部411を設けずに、ユーザが空間オーバーサンプリング値を直接設定するようにしてもよい。 Note that the maximum value of the spatial oversampling value is not limited to 2 (Δ + 1) times the resolution of the original image. Further, the resolution indicated by the spatial oversampling value may be the same as the resolution of the original image, and in that case, the spatial reduction process described later is not performed. Further, the user may directly set the spatial oversampling value without providing the oversampling value determination unit 411.

オーバーサンプリング部412は、局部復号部30により生成された局部復号画像を、空間オーバーサンプリング値によって指定されたl種類の解像度まで空間オーバーサンプリング処理し、空間拡大画像を生成する。空間オーバーサンプリング処理を行う際には、局部復号画像を一気に高解像度にするのではなく、例えばウェーブレット変換を用いて水平方向・垂直方向各2倍の超解像処理を再帰的に行うことにより、空間拡大画像を生成するのが好適である。これにより原画像の折り返し成分を利用した高精度なオーバーサンプリングを行えるとともに、エッジのギザギザ感を抑制することができる。なお、ウェーブレット超解像処理については、例えば特開2011−234116号公報を参照されたい。   The oversampling unit 412 performs a spatial oversampling process on the local decoded image generated by the local decoding unit 30 up to l types of resolutions specified by the spatial oversampling value, and generates a spatially enlarged image. When performing spatial oversampling processing, instead of making the locally decoded image high resolution at once, for example, by recursively performing super-resolution processing twice each in the horizontal direction and the vertical direction using wavelet transform, It is preferable to generate a spatially enlarged image. As a result, highly accurate oversampling using the aliasing component of the original image can be performed, and the jaggedness of the edges can be suppressed. For wavelet super-resolution processing, see, for example, Japanese Patent Application Laid-Open No. 2011-234116.

符号化装置4における階調補間部42は、空間拡大部41により生成された空間拡大画像を階調数が原画像の階調数となるように階調補間処理を行うともに、原画像の解像度まで空間縮小処理を行って空間・階調復元画像を出力する。   The gradation interpolation unit 42 in the encoding device 4 performs gradation interpolation processing on the space expansion image generated by the space expansion unit 41 so that the number of gradations becomes the number of gradations of the original image, and also the resolution of the original image. The space reduction processing is performed until the space / tone restoration image is output.

図13は、第4の実施形態に係る符号化装置4における階調補間部42の構成例を示すブロック図である。図13に示す例では、階調補間部42は、空間拡大画像階調補間部421と、空間縮小部422とを備える。   FIG. 13 is a block diagram illustrating a configuration example of the gradation interpolation unit 42 in the encoding device 4 according to the fourth embodiment. In the example illustrated in FIG. 13, the tone interpolation unit 42 includes a space enlargement image tone interpolation unit 421 and a space reduction unit 422.

空間拡大画像階調補間部421は、空間拡大画像の階調数を原画像の階調数まで△bit増加させる場合、まず、単純に全画素の階調値を2倍に線形拡大した階調拡大画像を生成する。例えば△=2の場合、空間拡大画像内の各画素の階調値xを4xとする。 When increasing the number of gradations of the spatially expanded image to the number of gradations of the original image, the spatially expanded image gradation interpolating unit 421 firstly simply calculates the gradation value obtained by linearly expanding the gradation values of all the pixels by 2 Δ times. Generate a scaled image. For example, when Δ = 2, the gradation value x of each pixel in the spatially enlarged image is 4x.

次に、空間拡大画像階調補間部421は、階調拡大画像を平滑化処理して階調復元画像を生成し、空間縮小部422に出力する。具体的には、空間拡大画像階調補間部421は、解像度の縮小劣化過程(ぼやけ)を模擬したm種類のフィルタを用いて階調拡大画像を畳み込むことにより平滑化処理し、中間階調値を補間する。解像度の縮小劣化過程を模擬した関数として、例えば、点拡がり関数(PSF)又はガウシアン関数を用いることができる。また、空間拡大画像階調補間部421は、平滑化処理の代わりに、バイキュービック法、バイリニア法などにより階調拡大画像の中間階調値を補間してもよい。   Next, the space expansion image gradation interpolation unit 421 generates a gradation restored image by smoothing the gradation expansion image, and outputs the image to the space reduction unit 422. Specifically, the space expansion image gradation interpolating unit 421 performs smoothing processing by convolving the gradation expansion image using m types of filters simulating the resolution degradation process (blurring) of the resolution, and generates an intermediate gradation value. Is interpolated. For example, a point spread function (PSF) or a Gaussian function can be used as a function simulating the resolution degradation process. Further, the spatial enlarged image gradation interpolation unit 421 may interpolate intermediate gradation values of the gradation enlarged image by a bicubic method, a bilinear method or the like instead of the smoothing process.

空間縮小部422は、空間拡大画像階調補間部421により生成された階調復元画像を原画像の解像度になるように空間縮小処理することで空間・階調復元画像を生成し、最適化部50に出力する。空間縮小処理は、単純間引きにより行ってもよいし、空間拡大画像階調補間部421により生成された階調超解像画像を原画像の解像度になるようウェーブレット分解し、その空間低周波数成分を空間・階調復元画像としてもよい。   The space reduction unit 422 generates a space / tone restoration image by performing space reduction processing on the tone restoration image generated by the space enlargement image tone interpolation unit 421 so as to have the resolution of the original image. Output to 50. The space reduction processing may be performed by simple thinning, or the wavelet decomposition is performed so that the gradation super-resolution image generated by the space enlargement image gradation interpolation unit 421 has the resolution of the original image, and the spatial low-frequency component is obtained. It may be a space / tone restoration image.

以上説明したように、符号化装置4は、空間拡大部41により、局部復号画像を原画像の解像度以上のl種類の解像度に空間拡大処理した後、階調補間部42により、空間拡大画像を、階調数が原画像の階調数となるように階調補間処理するとともに、解像度が原画像の解像度となるように空間縮小処理する。このため、符号化装置4によれば、実施例1の符号化装置1に比べて更に高精度な空間・階調復元画像を生成することができる。   As described above, the encoding device 4 performs spatial expansion processing on the local decoded image to l kinds of resolutions equal to or higher than the resolution of the original image by the spatial expansion unit 41, and then converts the spatial expansion image by the gradation interpolation unit 42. The gradation interpolation processing is performed so that the number of gradations becomes the number of gradations of the original image, and the space reduction processing is performed so that the resolution becomes the resolution of the original image. For this reason, according to the encoding device 4, it is possible to generate a space / tone restored image with higher accuracy than the encoding device 1 of the first embodiment.

また、空間拡大部41は、ウェーブレット変換を用いて局部復号画像を水平方向及び垂直方向に各2倍の超解像処理を再帰的に行うことにより生成するのが好適である。これにより、折り返し成分を利用した高精度なオーバーサンプリングを行えるとともに、エッジのギザギザ感を抑制することができる。   Moreover, it is preferable that the space enlarging unit 41 generates a locally decoded image by recursively performing double super-resolution processing in the horizontal direction and the vertical direction using wavelet transform. As a result, highly accurate oversampling using the aliasing component can be performed, and the jaggedness of the edges can be suppressed.

また、階調補間部42は、空間拡大画像の階調を原画像の階調数に拡大し、m種類の縮小劣化過程を模擬したフィルタを用いて畳み込むことにより中間階調を補間し、その後、解像度が前記原画像の解像度となるように縮小処理するのが好適である。これにより、高精度に中間階調値を補間することができる。   Further, the gradation interpolating unit 42 interpolates the intermediate gradation by enlarging the gradation of the spatially enlarged image to the number of gradations of the original image and convolving with a filter simulating m kinds of reduction degradation processes, and thereafter It is preferable that the reduction processing is performed so that the resolution becomes the resolution of the original image. Thereby, it is possible to interpolate intermediate gradation values with high accuracy.

なお、上述した符号化装置1,2,3,4として機能させるためにコンピュータを用いることができ、そのようなコンピュータは、符号化装置1,2,3,4の各機能を実現する処理内容を記述したプログラムを当該コンピュータの記憶部に格納しておき、当該コンピュータのCPUによってこのプログラムを読み出して実行させることで実現することができる。なお、このプログラムは、コンピュータ読取り可能な記録媒体に記録することができる。   In addition, a computer can be used to function as the above-described encoding devices 1, 2, 3, and 4, and such a computer performs processing contents for realizing each function of the encoding devices 1, 2, 3, and 4. Is stored in a storage unit of the computer, and the program is read and executed by the CPU of the computer. This program can be recorded on a computer-readable recording medium.

上述の実施形態は、代表的な例として説明したが、本発明の趣旨及び範囲内で、多くの変更及び置換ができることは当業者に明らかである。したがって、本発明は上述の実施形態によって制限するものと解するべきではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。例えば、実施形態に記載の複数の構成ブロックを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.

このように、本発明は原画像の階調削減処理及び空間縮小処理を行って空間・階調削減画像を生成する任意の用途に有用である。   As described above, the present invention is useful for any application for generating a space / gradation reduced image by performing gradation reduction processing and space reduction processing of an original image.

1,2,3,4 符号化装置
10 空間・階調削減部
11 階調削減部
12 空間縮小部
20 符号化部
30 局部復号部
40 空間・階調復元部
41 空間拡大部
42 階調補間部
50 最適化部
111 周波数分解部
112 雑音閾値決定部
113 雑音除去画像生成部
114 グラデーション閾値決定部
115 グラデーション画像生成部
116 階調削減初期情報生成部
117 階調決定部
118 階調削減閾値決定部
411 オーバーサンプリング値決定部
412 オーバーサンプリング部
421 空間拡大画像階調補間部
422 空間縮小部
1131 孤立点検出部
1132 再構成部
1151 グラデーション領域検出部
1152 再構成部
1161 ヒストグラム生成部
1162 重み付け部
1163 階調変換テーブル生成部
1, 2, 3, 4 Encoding Device 10 Spatial / Tone Reduction Unit 11 Tone Reduction Unit 12 Spatial Reduction Unit 20 Coding Unit 30 Local Decoding Unit 40 Spatial / Tone Restoration Unit 41 Spatial Expansion Unit 42 Tone Interpolation Unit 50 optimization unit 111 frequency decomposition unit 112 noise threshold determination unit 113 noise removal image generation unit 114 gradation threshold determination unit 115 gradation image generation unit 116 gradation reduction initial information generation unit 117 gradation determination unit 118 gradation reduction threshold determination unit 411 Oversampling value determination unit 412 Oversampling unit 421 Spatial enlargement image gradation interpolation unit 422 Spatial reduction unit 1131 Isolated point detection unit 1132 Reconstruction unit 1151 Gradation area detection unit 1152 Reconstruction unit 1161 Histogram generation unit 1162 Weighting unit 1163 Gradation conversion Table generator

Claims (7)

原画像に対して階調削減処理及び空間縮小処理を行った空間・階調削減画像を符号化して出力する符号化装置であって、
原画像をj個(j≧1)のパラメータを用いて階調削減処理してj枚の階調削減画像を生成する階調削減部と、
前記階調削減画像をk個(k≧1)のパラメータを用いて空間縮小処理してj×k枚の空間・階調削減画像を生成する空間縮小部と、
前記j×k枚の空間・階調削減画像を符号化してj×k種類の符号化信号を生成する符号化部と、
前記j×k種類の符号化信号を局部復号してj×k枚の局部復号画像を生成する局部復号部と、
前記j×k枚の局部復号画像をそれぞれl個(l≧1)のパラメータを用いて空間拡大処理してj×k×l枚の空間拡大画像を生成する空間拡大部と、
前記j×k×l枚の空間拡大画像をそれぞれm個(m≧1)のパラメータを用いて階調補間処理してj×k×l×m(但し、j×k×l×m≧2)枚の空間・階調復元画像を生成する階調補間部と、
前記j×k×l×m枚の空間・階調復元画像を前記原画像と比較して、最も劣化の少ない空間・階調復元画像を決定し、前記j×k種類の符号化信号のうち該最も劣化の少ない空間・階調復元画像に対応する符号化信号を出力する最適化部と、
を備え
前記階調削減部は、
前記原画像を空間方向に周波数分解して、最も周波数が高い帯域成分である空間最高周波数帯域成分、及び最も周波数が低い帯域成分である空間最低周波数帯域成分を含む複数の空間周波数帯域成分を生成する周波数分解部と、
前記原画像の前記空間最高周波数帯域成分のパワーの割合とj個の雑音閾値とを比較して、該パワーの割合が前記雑音閾値を超え且つ孤立している要素を除去したj枚の雑音除去画像を生成するか、又は前記原画像の前記空間最低周波数帯域成分のパワーの割合とj個のグラデーション閾値とを比較して、該パワーの割合が前記グラデーション閾値を超える領域のみからなるj枚のグラデーション画像を生成する画像生成部と、
前記雑音除去画像又は前記原画像のヒストグラムに対して、前記グラデーション画像の階調値の度数が高くなるように重み付けしたヒストグラムを訓練データとして用いるLloyd-Max法により、前記j枚の階調削減画像を生成する階調決定部と、
を備え、
前記雑音閾値又は前記グラデーション閾値は、空間縮小率又は階調削減率と対応付けた対応表に基づいて決定され、
前記対応表は、前記空間縮小率が高くなるほど、前記雑音閾値又は前記グラデーション閾値が小さくなるように対応付けているか、あるいは、前記階調削減率が高くなるほど、前記雑音閾値又は前記グラデーション閾値が大きくなるように対応付けていることを特徴とする符号化装置。
An encoding device that encodes and outputs a space / gradation-reduced image obtained by performing gradation reduction processing and space reduction processing on an original image,
A gradation reduction unit that performs gradation reduction processing on the original image using j (j ≧ 1) parameters to generate j gradation-reduced images;
A space reduction unit that generates a j × k space / gradation reduction image by subjecting the gradation reduction image to a space reduction process using k (k ≧ 1) parameters;
An encoding unit that encodes the j × k space / gradation-reduced images to generate j × k types of encoded signals;
A local decoding unit for locally decoding the j × k types of encoded signals to generate j × k local decoded images;
A spatial expansion unit that generates a spatial expansion image of j × k × l by performing spatial expansion processing on each of the j × k local decoded images using l (l ≧ 1) parameters;
J × k × l × m (where j × k × l × m ≧ 2) is obtained by performing tone interpolation processing on each of the j × k × l spatially enlarged images using m (m ≧ 1) parameters. ) A tone interpolation unit for generating a single space / tone restoration image;
The j × k × l × m space / tone restoration images are compared with the original image to determine a space / tone restoration image with the least deterioration, and among the j × k types of encoded signals An optimization unit that outputs an encoded signal corresponding to the least degraded space / gradation restoration image;
Equipped with a,
The gradation reduction unit
The original image is frequency-resolved in the spatial direction to generate a plurality of spatial frequency band components including the highest spatial frequency band component that is the highest frequency band component and the lowest spatial frequency band component that is the lowest frequency band component. A frequency resolving unit to perform,
Comparing the power ratio of the highest spatial frequency band component of the original image with j noise thresholds, j noise removals in which the power ratio exceeds the noise threshold and isolated elements are removed An image is generated or the ratio of power of the lowest spatial frequency band component of the original image is compared with j gradation thresholds, and j powers consisting of only regions where the power ratio exceeds the gradation threshold An image generation unit for generating a gradation image;
According to the Lloyd-Max method using as a training data a histogram weighted so as to increase the frequency of the gradation value of the gradation image with respect to the histogram of the noise-removed image or the original image, the j gradation-reduced images. A gradation determining unit for generating
With
The noise threshold or the gradation threshold is determined based on a correspondence table associated with a space reduction rate or a gradation reduction rate,
The correspondence table associates such that the noise threshold or the gradation threshold decreases as the spatial reduction ratio increases, or the noise threshold or the gradation threshold increases as the gradation reduction ratio increases. so as to correspond have coding apparatus according to claim Rukoto.
前記空間縮小部は、k種類の縮小劣化過程を模擬したフィルタ又はウェーブレットフィルタを用いて空間縮小処理することを特徴とする、請求項1に記載の符号化装置。 The encoding apparatus according to claim 1, wherein the space reduction unit performs space reduction processing using a filter or wavelet filter that simulates k kinds of reduction degradation processes. 前記空間拡大部は、前記局部復号画像を前記原画像の解像度以上のl種類の解像度に空間拡大処理し、
前記階調補間部は、前記空間拡大画像を、階調数が前記原画像の階調数となるように階調補間処理するとともに、解像度が前記原画像の解像度となるように空間縮小処理することを特徴とする、請求項1又は2に記載の符号化装置。
The space enlarging unit performs a space enlarging process on the local decoded image to l kinds of resolutions higher than the resolution of the original image,
The gradation interpolation unit performs gradation interpolation processing on the spatially enlarged image so that the number of gradations becomes the number of gradations of the original image, and also performs space reduction processing so that the resolution becomes the resolution of the original image. wherein the encoding apparatus according to claim 1 or 2.
前記空間拡大部は、ウェーブレット変換を用いて前記局部復号画像を水平方向及び垂直方向に各2倍の超解像処理を再帰的に行うことにより前記l種類の解像度に空間拡大処理することを特徴とする、請求項に記載の符号化装置。 The space enlarging unit performs a space enlarging process to the l kinds of resolutions by recursively performing the super-resolution processing of the local decoded image twice each in the horizontal direction and the vertical direction using wavelet transform. The encoding device according to claim 3 . 前記階調補間部は、前記空間拡大画像の階調数を前記原画像の階調数に拡大し、m種類の縮小劣化過程を模擬したフィルタを用いて畳み込むことにより中間階調を補間し、その後、解像度が前記原画像の解像度となるように縮小処理することを特徴とする、請求項に記載の符号化装置。 The gradation interpolation unit expands the number of gradations of the spatially enlarged image to the number of gradations of the original image, and interpolates intermediate gradations by convolution with a filter that simulates m kinds of reduction degradation processes, 5. The encoding apparatus according to claim 4 , wherein after that, the reduction processing is performed so that the resolution becomes the resolution of the original image. 前記最適化部は、前記j×k×l×m枚の空間・階調復元画像と前記原画像とのPSNR値又はSSIM値を算出し、該PSNR値又はSSIM値が最小となる空間・階調復元画像を前記最も劣化の少ない空間・階調復元画像として決定することを特徴とする、請求項1からのいずれか一項に記載の符号化装置。 The optimization unit calculates a PSNR value or SSIM value between the j × k × l × m space / gradation restoration images and the original image, and a space / scale where the PSNR value or SSIM value is minimized. tone and determines as a restored image the most degraded little space tone restored image encoding apparatus according to any one of claims 1 to 5. コンピュータを、請求項1からのいずれか一項に記載の符号化装置として機能させるためのプログラム。 The program for functioning a computer as an encoding apparatus as described in any one of Claims 1-6 .
JP2013120080A 2013-06-06 2013-06-06 Encoding apparatus and program Active JP6163022B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013120080A JP6163022B2 (en) 2013-06-06 2013-06-06 Encoding apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013120080A JP6163022B2 (en) 2013-06-06 2013-06-06 Encoding apparatus and program

Publications (2)

Publication Number Publication Date
JP2014239301A JP2014239301A (en) 2014-12-18
JP6163022B2 true JP6163022B2 (en) 2017-07-12

Family

ID=52136154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013120080A Active JP6163022B2 (en) 2013-06-06 2013-06-06 Encoding apparatus and program

Country Status (1)

Country Link
JP (1) JP6163022B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5452337B2 (en) * 2010-04-21 2014-03-26 日本放送協会 Image coding apparatus and program
WO2012124591A1 (en) * 2011-03-15 2012-09-20 シャープ株式会社 Signal processing device, control program, and integrated circuit

Also Published As

Publication number Publication date
JP2014239301A (en) 2014-12-18

Similar Documents

Publication Publication Date Title
JP5921794B1 (en) Method and apparatus for interpolating video using asymmetric interpolation filter
US20070036450A1 (en) Data processing apparatus and method and recording medium
JP5727873B2 (en) Motion vector detection device, encoding device, and program thereof
JP5140638B2 (en) Spatial downsampling processing device, spatial upsampling processing device, encoding device, decoding device, and program
Harikrishna et al. Satellite image resolution enhancement using dwt technique
JP4889403B2 (en) Image encoding apparatus and decoding apparatus using TV method
JP6276596B2 (en) Spatial super-resolution / tone interpolation device and program
JP6174903B2 (en) Spatial / gradation super-resolution device and program
JP2007181186A (en) Adaptive resolution conversion apparatus for input image and resolution conversion method
JP6163022B2 (en) Encoding apparatus and program
JP3743077B2 (en) Image signal conversion apparatus and method
JP6388476B2 (en) Encoding apparatus and program
JP6190170B2 (en) Space / gradation reduction apparatus and program
JP5255116B2 (en) Interlaced image encoding method, encoding apparatus, and encoding program
JP5878785B2 (en) Gradation reduction apparatus and program
JPH08322041A (en) Block distortion eliminator
JP5934031B2 (en) Gradation reduction apparatus and program
JP3775180B2 (en) Image processing method and apparatus
JP7419044B2 (en) Encoding device, imaging device, control method, and program
JP6030896B2 (en) Gradation reduction apparatus and program
JP6101009B2 (en) Gradation reduction coding apparatus, gradation restoration decoding apparatus, and programs thereof
Kulthe et al. High Quality Color Image Compression using DWT and Multi-level Block Partition Encoding-Decoding Technique
JP2019205137A (en) Bandwidth limiting device and program
Temizel Wavelet Domain Image Resolution Enhancement Methods
JPH10294942A (en) Image data encoding device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160425

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170228

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170426

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170616

R150 Certificate of patent or registration of utility model

Ref document number: 6163022

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250