JP2009010763A - Image processing apparatus and method - Google Patents
Image processing apparatus and method Download PDFInfo
- Publication number
- JP2009010763A JP2009010763A JP2007171048A JP2007171048A JP2009010763A JP 2009010763 A JP2009010763 A JP 2009010763A JP 2007171048 A JP2007171048 A JP 2007171048A JP 2007171048 A JP2007171048 A JP 2007171048A JP 2009010763 A JP2009010763 A JP 2009010763A
- Authority
- JP
- Japan
- Prior art keywords
- image signal
- encoding
- image
- difficulty level
- level information
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、第1の符号化方式で符号化された画像信号を復号して、復号した画像信号を第1の符号化方式と異なる第2の符号化方式の画像信号に変換する画像処理装置、及び、画像処理方法に関するものである。 The present invention decodes an image signal encoded by the first encoding method, and converts the decoded image signal into an image signal of a second encoding method different from the first encoding method. And an image processing method.
近年、動画像データをデジタルデータとして取り扱い、その際、効率の高い情報の伝送や蓄積を目的とし、動画像情報特有の冗長性を利用して、離散コサイン変換等の直交変換処理と動き補償処理により画像信号を圧縮するMPEG(Moving Picture Expert Group)等の符号化方式に準拠した装置が、放送局などの情報配信、及び、一般家庭における情報受信の双方において普及しつつある。 In recent years, moving image data has been handled as digital data. At that time, orthogonal transformation processing such as discrete cosine transformation and motion compensation processing have been performed for the purpose of efficient transmission and storage of information. An apparatus that complies with an encoding scheme such as MPEG (Moving Picture Expert Group) that compresses an image signal by means of an information signal is becoming widespread in both information distribution such as broadcasting stations and information reception in general homes.
特に、MPEG2方式(ISO/IEC13818−2)は、汎用動画像符号化方式として定義されており、また、飛び越し走査画像及び順次走査画像の双方、並びに、標準解像度画像及び高精細画像を網羅しており、プロフェッショナル用途及びコンシューマ用途の広範なアプリケーションに現在広く用いられている。 In particular, the MPEG2 system (ISO / IEC13818-2) is defined as a general-purpose moving image encoding system, and covers both interlaced scanning images and progressive scanning images, as well as standard resolution images and high-definition images. And is now widely used in a wide range of professional and consumer applications.
MPEG2方式では、例えば720×480の画サイズの標準解像度の飛び越し走査画像であれば4〜8[Mbps]のビットレートを割り当て、1920×1080の画サイズの高解像度の飛び越し走査画像であれば18〜22[Mbps]のビットレートを割り当てることによって、画質が良好に保たれた状態で画像信号を符号化することができる。 In the MPEG2 system, for example, a bit rate of 4 to 8 [Mbps] is assigned for a standard resolution interlaced scan image with a picture size of 720 × 480, and 18 for a high resolution interlaced scan image with a picture size of 1920 × 1080. By assigning a bit rate of ˜22 [Mbps], it is possible to encode an image signal while maintaining good image quality.
また、MPEG2方式は、主に放送用など高画質の状態で符号化する画像信号を対象としていたが、MPEG1方式に対して、低いビットレート、すなわちより高圧縮率の符号化方式には対応していなかった。このような高圧縮率の符号化方式に対応した符号化方式として、MPEG4方式の標準化が行われた。この画像符号化方式に関しては、1998年12月にISO/IEC14496−2として、この規格が国際標準方式として承認された。 In addition, the MPEG2 system was mainly intended for image signals encoded in a high-quality state such as for broadcasting. However, the MPEG2 system is compatible with an encoding system with a lower bit rate, that is, a higher compression rate than the MPEG1 system. It wasn't. As an encoding method corresponding to such a high compression rate encoding method, standardization of the MPEG4 method was performed. With regard to this image coding system, this standard was approved as an international standard system in December 1998 as ISO / IEC 14496-2.
以上のようなMPEG方式よりもさらに圧縮効率の高い画像符号化方式として、JVT(Joint Video Team)と呼ばれる符号化方式が提案されている。 As an image encoding method with higher compression efficiency than the MPEG method as described above, an encoding method called JVT (Joint Video Team) has been proposed.
ところで、従来デジタル放送に用いられている動画像符号化方式は、主にMPEG方式である。このようなデジタル放送を記録保存してその後再生できるようにする、いわゆるデジタルビデオレコーダなどの画像処理装置には、より高画質で長時間の記録を行えるように、MPEG方式で送られてきた画像信号を一旦復号して、より高圧縮率を実現できるJVT方式などの符号化方式によって再符号化するものがある。 By the way, the moving picture encoding method conventionally used for digital broadcasting is mainly the MPEG method. An image processing apparatus such as a so-called digital video recorder that records and stores such digital broadcasts and can subsequently reproduce the images is sent in the MPEG format so that it can be recorded for a long time with higher image quality. There is one in which a signal is once decoded and re-encoded by an encoding method such as a JVT method capable of realizing a higher compression rate.
このような再符号化の対象となる画像信号、すなわちMPEG方式で送られてきた画像信号の復号画像には、MPEG方式による画像信号を符号化するときに発生してしまうブロックノイズなどの画質劣化が含まれている。このため、再符号化処理を行う画像処理装置では、このような画質劣化が含まれた画像信号を直接JVT方式によって再符号化処理を施そうとすると、その劣化部分を再現するために余計な情報量が割かれ、圧縮効率が悪くなるだけでなく、劣化がより強調されてしまう場合があり得る。 For such an image signal to be re-encoded, that is, a decoded image of an image signal sent by the MPEG method, image quality degradation such as block noise that occurs when the image signal by the MPEG method is encoded. It is included. For this reason, in an image processing apparatus that performs re-encoding processing, if an image signal including such image quality deterioration is directly subjected to re-encoding processing by the JVT method, it is unnecessary to reproduce the deteriorated portion. There is a possibility that not only the amount of information is broken and the compression efficiency is deteriorated, but also deterioration is more emphasized.
このような画質劣化を低減するため、画像信号の再符号化処理を行う画像処理装置には、復号処理を施した画像信号に対して、MPEG方式などによる符号化処理を行ったときに含まれる画質劣化を弱めるため、例えばローパスフィルタ処理を施す場合がある。ここで、画像処理装置は、画像信号に対して、一様の強度でローパスフィルタ処理を施すと、符号化処理が比較的易しく画質劣化がほとんど生じていない画像領域まで必要以上にぼかしてしまうこととなるため必ずしも望ましくない。 In order to reduce such image quality degradation, an image processing apparatus that performs re-encoding processing of an image signal is included when encoding processing using an MPEG method or the like is performed on an image signal subjected to decoding processing. In order to weaken image quality deterioration, for example, low-pass filter processing may be performed. Here, if the image processing apparatus performs low-pass filter processing with a uniform intensity on the image signal, the encoding process is relatively easy, and an image region in which image quality degradation hardly occurs is unnecessarily blurred. Therefore, it is not always desirable.
そのため、再符号化処理には、画質劣化の度合いに応じてフィルタ処理の強度を制御することが、上述した画質劣化を低減するのに有効となる。具体的に、画像処理装置は、たとえ復号画像信号にほとんど画質劣化が見られないときでも、再符号化処理時に符号化が易しい部分と難しい部分とを判断し、易しい部分をなるべくフィルタ処理を施さずに、難しい部分の高域周波数成分のみを除去することができれば、より効率の良い再符号化が可能となる。一般的に、符号化の難しい部分は、動きの激しい部分であったり、絵柄が複雑だったりする場合が多いため、上述したようなローパスフィルタなどで画像信号の高域周波数成分を除去したとしても、視覚特性上画質劣化が分かりにくいからである。 Therefore, in the re-encoding process, controlling the strength of the filter process according to the degree of image quality deterioration is effective in reducing the image quality deterioration described above. Specifically, the image processing apparatus determines a part that is easy to encode and a part that is difficult to encode at the time of re-encoding processing even when there is almost no deterioration in image quality in the decoded image signal, and performs filtering processing on the easy part as much as possible. Without removing only the difficult high-frequency components, the re-encoding can be performed more efficiently. In general, the difficult part to encode is a part with a lot of movement or a complicated pattern, so even if the high-frequency component of the image signal is removed by the low-pass filter as described above. This is because image quality deterioration is difficult to understand due to visual characteristics.
従来の画像処理装置では、再符号化処理の前段として、画像信号に対して復号処理を施すときに得られる符号化情報に基づいて、符号化するときの難しさの度合いを評価して、フィルタ処理の強度を制御している。 In the conventional image processing apparatus, as the pre-stage of the re-encoding process, the degree of difficulty in encoding is evaluated based on the encoding information obtained when the decoding process is performed on the image signal, and the filter The intensity of processing is controlled.
また、特許文献1においては、画像信号を復号するときに得られるサブデータに基づいて、復号された画像信号を復号する情報処理装置が記載されている。
しかしながら、MPEG方式で符号化することが難しい画像が、JVT方式で符号化することが難しい画像になるという関係は必ずしも成立しない。例えば、画面がフェードイン又はフェードアウトするような画像信号は、MPEG方式によって符号化することは難しいが、フェード用に特化した符号化処理モードを有するJVT方式によって符号化することは比較的容易である。このように、復号処理で得られた符号化の難しさを示す情報は、再符号化処理における符号化の難しさと一致しない場合がある。 However, the relationship that an image that is difficult to encode using the MPEG method becomes an image that is difficult to encode using the JVT method does not necessarily hold. For example, an image signal whose screen fades in or out is difficult to encode by the MPEG method, but it is relatively easy to encode by the JVT method having an encoding processing mode specialized for fading. is there. As described above, the information indicating the difficulty of encoding obtained by the decoding process may not coincide with the difficulty of encoding in the re-encoding process.
本発明は、このような実情に鑑みて提案されたものであり、再符号化するときに画質劣化を低減するために復号された画像信号に対して施すフィルタ処理の強度を適切に制御することによって、再符号化処理後の画像信号の画質をより良好に保ちつつ高圧縮率を実現する画像処理装置、及び、画像処理方法を提供することを目的とする。 The present invention has been proposed in view of such circumstances, and appropriately controls the strength of filter processing applied to a decoded image signal in order to reduce image quality degradation when re-encoding. Accordingly, an object of the present invention is to provide an image processing apparatus and an image processing method that realize a high compression rate while maintaining better image quality of the image signal after the re-encoding process.
上述した課題を解決するための手段として、本発明に係る画像処理装置は、第1の符号化方式で符号化された画像信号を入力する入力手段と、上記入力手段により入力された画像信号から上記第1の符号化方式で画像信号を符号化する難しさを示す第1の難易度情報を抽出するとともに、該画像信号を該第1の符号化方式に基づいて復号する復号手段と、上記復号手段により復号された画像信号にフィルタ処理を施すフィルタ処理手段と、上記フィルタ処理手段がフィルタ処理を施した画像信号から、上記第1の符号化方式と異なる第2の符号化方式で画像信号を符号化する難しさを示す第2の難易度情報を抽出するとともに、該画像信号を該第2の符号化方式に基づいて符号化して出力する符号化手段と、上記復号手段が抽出した第1の難易度情報と、上記符号化手段が抽出した第2の難易度情報とに応じて、上記フィルタ処理手段が画像信号に施すフィルタ処理の強度を制御する制御手段とを備える。 As means for solving the above-described problems, an image processing apparatus according to the present invention includes an input means for inputting an image signal encoded by the first encoding method, and an image signal input by the input means. Decoding means for extracting first difficulty level information indicating difficulty in encoding an image signal by the first encoding method, and decoding the image signal based on the first encoding method; A filter processing unit that performs a filtering process on the image signal decoded by the decoding unit, and an image signal that has a second encoding scheme different from the first encoding scheme, from the image signal that has been subjected to the filtering process by the filter processing unit. The second difficulty level information indicating the difficulty of encoding the image signal, the encoding means for encoding and outputting the image signal based on the second encoding method, and the decoding means extracted by the decoding means 1 difficulty Comprising a degree information, in accordance with the second difficulty information extracted by the above encoding means, said filtering means and control means for controlling the intensity of the filtering process applied to the image signal.
また、本発明に係る画像処理方法は、第1の符号化方式で符号化された画像信号を入力する入力工程と、上記入力工程により入力された画像信号から上記第1の符号化方式で画像信号を符号化する難しさを示す第1の難易度情報を抽出するとともに、該画像信号を該第1の符号化方式に基づいて復号する復号工程と、上記復号工程により復号された画像信号にフィルタ処理を施すフィルタ処理工程と、上記フィルタ処理工程によりフィルタ処理を施した画像信号から、上記第1の符号化方式と異なる第2の符号化方式で画像信号を符号化する難しさを示す第2の難易度情報を抽出するとともに、該画像信号を該第2の符号化方式に基づいて符号化して出力する符号化工程と、上記復号工程で抽出される第1の難易度情報と、上記符号化工程で抽出される第2の難易度情報とに応じて、上記フィルタ処理工程が画像信号に施すフィルタ処理の強度を制御する制御工程とを有する。 The image processing method according to the present invention includes an input step of inputting an image signal encoded by the first encoding method, and an image by the first encoding method from the image signal input by the input step. Extracting first difficulty level information indicating difficulty in encoding a signal, decoding the image signal based on the first encoding method, and decoding the image signal into the image signal decoded by the decoding step A filter processing step for performing filter processing, and a second encoding method indicating difficulty in encoding an image signal by a second encoding method different from the first encoding method from the image signal subjected to the filter processing by the filter processing step. 2 difficulty level information is extracted, the image signal is encoded based on the second encoding method and output, the first difficulty level information extracted in the decoding step, and In the encoding process Depending on the second difficulty information issued, the filtering step and a control step of controlling the intensity of the filtering process applied to the image signal.
本発明では、画像信号を復号するときに抽出される第1の符号化方式で画像信号を符号化する難しさを示す第1の難易度と、画像信号を符号化するときに抽出される第2の符号化方式で画像信号を符号化する難しさを示す第2の難易度とに応じて、画像信号に施すフィルタ処理の強度を制御するので、復号された画像信号を再符号化するときに画質劣化を低減するために施すフィルタ処理の強度を適切に制御することができるので、画質を良好に保ちつつ高圧縮率が実現できるように画像信号を第2の符号化方式に符号化することができる。
In the present invention, the first difficulty level indicating the difficulty of encoding the image signal by the first encoding method extracted when decoding the image signal, and the first difficulty level extracted when encoding the image signal. When the reencoding of the decoded image signal is performed because the strength of the filter processing applied to the image signal is controlled according to the second difficulty level indicating the difficulty of encoding the image signal by the
本発明が適用された画像処理装置は、第1の符号化方式で符号化された画像信号を復号して、第1の符号化方式と異なる第2の符号化方式の画像信号に変換する、いわゆる再符号化処理を行う画像処理装置である。以下では、図1に示すような第1の実施形態に係る画像処理装置1を用いて、本発明を実施するための最良の形態について説明する。
An image processing apparatus to which the present invention is applied decodes an image signal encoded by the first encoding method, and converts the image signal into an image signal of a second encoding method different from the first encoding method. This is an image processing apparatus that performs so-called re-encoding processing. Hereinafter, the best mode for carrying out the present invention will be described using the
この画像処理装置1は、例えばデジタル放送波がデジタルチューナによって復調されたMPEG方式の符号化データをベースバンドビデオ信号に復号して、復号したベースバンド信号を、DVDや、BD(Blu-ray Disc)や、HDDVD(High-Definition Digital Versatile Disc)などの高密度記録媒体の記録用データとして、MPEG方式よりも圧縮効率の高いAVC方式の符号化データに変換する処理を行う装置である。
The
具体的に、画像処理装置1は、図1に示すように、外部から入力したMPEG2方式などの第1の符号化方式の画像信号を復号してベースバンドビデオ信号などの復号された画像信号を出力する復号処理部10と、復号された画像信号をMPEG2方式よりも圧縮効率の高いAVC方式などの第2の符号化方式の画像信号に符号化する符号化処理部11と、復号処理部10で復号された画像信号に含まれるブロック歪みノイズなどを低減する処理を行うフィルタ処理部121と、フィルタ処理部121の動作特性を制御するフィルタ制御部122と、再符号化処理が施された画像信号のビットストリームのビットレートをユーザによる操作入力により設定するユーザインタフェース123とを備える。
Specifically, as shown in FIG. 1, the
本実施形態に係る画像処理装置1は、後述するように復号処理部10で画像信号を復号するときに抽出される第1の符号化方式に係る情報と、符号化処理部11で復号された画像信号を符号化するときに抽出される第2の符号化方式に係る情報とに応じて、フィルタ制御部122がフィルタ処理部121の動作特性を制御することにより、画質を良好に保ちつつ高圧縮率が実現できるように、画像信号を第2の符号化方式で符号化するものである。
As will be described later, the
フィルタ制御部122の具体的な処理に関する説明に先立ち、復号処理部10及び符号化処理部11の構成と動作について説明する。
Prior to description regarding specific processing of the
復号処理部10は、バッファ101と、可逆復号部102と、逆量子化部103と、逆直交変換部104と、加算器105と、画面並べ替え部106と、フレームメモリ107と、動き補償部108とを備える。
The
バッファ101は、外部から第1の符号化方式で符号化された画像信号を入力して、入力した画像信号を一時的に記憶して、他の復号処理を行う処理部との同期を図って、順次記憶した画像信号を可逆復号部102に供給する。
The
可逆復号部102は、バッファ101から供給される画像信号に対して、第1の符号化方式に基づいて、可変長復号化や算術復号化などの処理を施して、量子化された直交変換係数を逆量子化部103に供給する。
The
また、可逆復号部102は、第1の符号化方式で符号化された画像信号がインター符号化されたフレーム画像データのとき、このフレーム画像データのヘッダ部に格納された動きベクトルを復号することにより抽出し、抽出した動きベクトルを動き補償部108に供給する。
In addition, the
逆量子化部103は、可逆復号部102から供給される量子化された直交変換係数に対して逆量子化処理を施して、この直交変換係数を逆直交変換部104に供給する。
The
逆直交変換部104は、逆量子化部103で生成された直交変換係数に対して逆離散コサイン変換や逆カルーネン・レーベ変換などの逆直交変換処理を施して、復号されたフレーム画像データを加算器105に供給する。
The inverse
加算器105は、フレーム画像データがインター符号化されているとき、逆直交変換部104から供給されるフレーム画像データに、後述する動き補償部108によって生成された予測フレーム画像データを加算して、画面並べ替え部106及びフレームメモリ107に供給する。なお、フレーム画像データがイントラ符号化されているとき、加算器105は、上述した加算処理を行わずに逆直交変換部104から供給されたフレーム画像データを画面並べ替え部106に供給する。
When the frame image data is inter-coded, the
画面並べ替え部106は、逆直交変換部104から供給されるフレーム画像データを時間軸方向に並び換える。そして、画面並べ替え部106は、時間軸方向に並び換えたフレーム画像データをベースバンドビデオ信号としてフィルタ処理部121に供給する。
The
フレームメモリ107は、逆直交変換部104から供給されたフレーム画像データを、インター符号化されたフレーム画像データを復号するための参照フレーム画像データとして記憶する。
The
動き補償部108は、処理対象のフレーム画像データがインター符号化されているとき、可逆復号部102から供給される動きベクトルと、フレームメモリ107に記憶された参照フレーム画像データとに応じて、予測フレーム画像データを生成して加算器105に供給する。
When the frame image data to be processed is inter-coded, the
以上のような構成を有する復号処理部10では、外部から入力した符号化データをベースバンドビデオ信号に復号して、復号したベースバンドビデオ信号をフィルタ処理部121に供給する。さらに、本実施形態に係る復号処理部10では、可逆復号部102が、可逆復号処理時において、フレーム画像データのマクロブロックのヘッダ部に格納された量子化値と発生ビット量を、第1の符号化方式で画像信号を符号化する難しさを示す第1の難易度として抽出してフィルタ制御部122に供給する。また、可逆復号部102は、上述した第1の難易度に加えて、画像信号の前後のフレームにシーンチェンジがあるかを示すシーンチェンジ情報と、インター符号化されたフレーム画像データに含まれる動きベクトル情報とを抽出してフィルタ制御部122に供給する。
The
また、符号化処理部11は、復号処理部10によって画像信号が復号される第1の符号化方式に対して、第2の符号化方式の符号化データに変換する処理を行うため、画面並べ替え部109と、減算器110と、直交変換部111と、量子化部112と、可逆符号化部113と、バッファ114と、逆量子化部115と、逆直交変換部116と、フレームメモリ117と、動きベクトル生成部118と、動き補償部119と、レート制御部120とを備える。
In addition, the
画面並べ替え部109は、後述するフィルタ処理部121から供給される画像信号を構成する各フレーム画像データを、第2の符号化方式に係る画像圧縮情報のGOP(Group of Picture)構造に応じてフレーム画像データを並べ替えて減算器110に供給する。また、画面並べ替え部109は、減算器110に供給するフレーム画像データにインター符号化処理を施すとき、このフレーム画像データを動きベクトル生成部118に供給する。
The
減算器110は、フレーム画像データにインター符号化処理を施すとき、このフレーム画像データと、後述する動き補償部119から供給される予測フレーム画像データとの差分を示す画像データを算出して、算出した画像データを直交変換部111に供給する。なお、フレーム画像データにイントラ符号化処理を施すとき、減算器110は、画面並べ替え部109から供給されるフレーム画像データに上述した差分処理を施さない。
The
直交変換部111は、減算器110から供給されるフレーム画像データに対して、離散コサイン変換やカルーネン・レーベ変換などの直交変換処理を施して、直交変換係数を量子化部112に供給する。
The
量子化部112は、後述するレート制御部120からの制御命令に応じた量子化値で、直交変換部111から供給される直交変換係数を量子化して、量子化された直交変換係数を可逆符号化部113及び逆量子化部115に供給する。
The
可逆符号化部113は、後述する動きベクトル生成部118から供給される動きベクトルに対して可変長符号化や算術符号化などの可逆符号化処理を施す。そして、可逆符号化部113は、量子化部112から供給される量子化された直交変換係数からなる符号化データのヘッダ部に、上述した可逆符号化処理が施された動きベクトルを格納して、この符号化データをバッファ114に供給する。
The
バッファ114は、可逆符号化部113から供給される符号化データを記憶して、記憶した符号化データを連続したビットストリームとなる画像信号として外部へ出力する。また、バッファ114は、外部へ出力するビットストリームのビットレートに関する情報をレート制御部120に供給する。
The
逆量子化部115は、量子化部112から供給される量子化された直交変換係数に対して逆量子化処理を施し、逆量子化された直交変換係数を逆直交変換部116に供給する。
The
逆直交変換部116は、逆量子化部115から供給される直交変換係数に対して逆直交変換処理を施し、復号したフレーム画像データをフレームメモリ117に供給する。
The inverse
フレームメモリ117は、逆直交変換部116から供給される復号したフレーム画像データを参照フレーム画像データとして記憶する。
The
動きベクトル生成部118は、画面並べ替え部106から供給されるフレーム画像データから動きベクトルを生成して、生成した動きベクトルを可逆符号化部113及び動き補償部119に供給する。
The motion
動き補償部119は、動きベクトル生成部118で生成された動きベクトルと、フレームメモリ117に記憶された参照フレーム画像データとに応じて、予測フレーム画像データを生成して、生成した予測フレーム画像データを減算器110に供給する。
The
レート制御部120は、バッファ114から供給されるビットレート情報と、ユーザインタフェース123から供給される設定ビットレート情報とに応じて符号化データのビットレートを制御するため、量子化部112で直交変換係数を量子化する量子化値を設定する。
The
以上のような構成からなる符号化処理部11では、第1の符号化方式と第2の符号化方式とが互いに異なれば具体的な方式に限定されないが、特に第1の符号化方式よりも圧縮効率の高い符号化方式を第2の符号化方式として再符号化処理を画像信号に施し、DVDなどの記憶媒体に記憶することによって、記憶領域を有効に利用してより高画質の画像信号を記憶媒体に記憶させることができる。
The
さらに、符号化処理部11は、量子化部112が直交変換係数を量子化するときの量子化値と、可逆符号化部113が生成する符号化データの発生ビット量とに関する情報を、第2の符号化方式で画像信号を符号化する難しさを示す第2の難易度としてフィルタ制御部122に供給する。
Further, the
次に、復号処理部10で復号されたベースバンドビデオ信号などの画像信号に対して、フィルタ処理を施すフィルタ処理部121と、このフィルタ処理部121の動作特性を制御するフィルタ制御部122とに係る構成について、図2及び図3を参照して説明する。
Next, a
フィルタ処理部121は、第1の符号化方式で符号化された画像信号に含まれるブロックノイズ、フレームノイズや、モスキートノイズなどを低減するため、具体的には、復号された画像信号に対して高域周波数成分を除去する処理を施すため、図3に示すように、画像信号の高域周波数成分を抽出するハイパスフィルタ121aと、ハイパスフィルタ121aで抽出した高域周波数成分の画像信号のゲインを調整するゲイン調整部121bと、入力した画像信号からゲイン調整部121bでゲインを調整した画像信号を加算する加算器121cとを備える。
Specifically, the
ハイパスフィルタ121aは、復号処理部10から供給される画像信号から、高域周波数成分を抽出する処理を行う。具体的に、ハイパスフィルタ121aは、画像信号を構成するフレーム画像データの注目画素の画素値と注目画素の隣接画素の画素値とから、加重平均演算をすることにより、各フレーム画像データの高域周波数成分を抽出する。そして、ハイパスフィルタ121aは、高域周波数成分を抽出した画像信号をゲイン調整部121bに供給する。
The high pass filter 121a performs a process of extracting a high frequency component from the image signal supplied from the
ゲイン調整部121bは、例えば図4に示すように、各画素の画素値が大きくなるのに伴って負の値に単調に減少するように、ハイパスフィルタ121aから供給される画像信号のゲインを調節する。すなわち、ゲイン調整部121bは、高域周波数成分の画素値を反転させた画像信号を生成する。そして、ゲイン調整部121bは、上述したようにゲインを調整した画像信号を加算器121cに供給する。
For example, as shown in FIG. 4, the
加算器121cは、復号処理部10から供給された画像信号と、ゲイン調整部121bから供給される画像信号とを加算する。ここで、復号処理部10から供給された画像信号は、高域周波数成分の画素値を反転させた画像信号が加算される。よって、加算器121cは、高域周波数成分が除去された画像信号を出力する。そして、加算器121cは、加算処理を施した画像信号を符号化処理部11に供給する。
The
以上のような構成からなるフィルタ処理部121では、後述するフィルタ制御部122からの制御命令に従って、例えば図5に示すように1つのフレーム画像データを4×4の合計16個の画像領域に分割して、画像領域毎に、ハイパスフィルタ121aの特性とゲイン調整部121bのゲイン特性とをフィルタ係数を決定することによりフィルタ処理の強度を制御して、上述したような画像信号から高域周波数成分を除去する処理を行う。
The
このように複数の画像領域に分割するのは、1つの画面内において符号化の難易度や絵柄の複雑さが一様ではなく、画像領域毎に適した強度のフィルタ処理を施す必要があるからである。 Dividing into a plurality of image areas in this way is because the degree of difficulty in encoding and the complexity of the pattern are not uniform within one screen, and it is necessary to perform filter processing with an intensity suitable for each image area. It is.
ここで、隣接する画像領域のフィルタ処理の強度の差が大きいとフィルタ処理を施した画像信号に境界線が見えてしまう可能性がある。そこで、フィルタ処理部121は、各画像領域の境界部分に図5の点線及び斜線で示される平滑化処理を施す平滑化領域を設けて、この平滑化領域のフィルタ処理の強度を隣接画像領域のフィルタ処理の強度を用いて、境界線を視覚的に見えにくくする平滑化処理を施す。
Here, if the difference in the intensity of the filter processing between adjacent image regions is large, there is a possibility that a boundary line is seen in the image signal subjected to the filter processing. Therefore, the
フィルタ処理部121は、図5に示すような各画像領域の境界部分の縦方向と横方向とにそれぞれ1段の平滑化領域を設ける場合に限らず、例えば、図6に示すように、各画像領域の境界部分の縦方向と横方向とにそれぞれ2段階で強度の異なる平滑化領域を設けて、フィルタ処理を行うようにしてもよい。
The
図6に示すような平滑化領域を設けたとき、フィルタ処理部121は、注目画像領域Aを合計9個に分割した部分毎にフィルタ強度を平滑化する。ここで、注目画像領域Aは、図7に示すように、右方向に画像領域Bと隣接し、下方向に画像領域Cと隣接し、右斜め下方向に画像領域Dと隣接しているものとする。また、各画像領域には、垂直方向の境界線を中心軸とした第1の平滑化領域X1と、垂直方向の境界線を中心軸として第1の平滑化領域X1よりも水平方向の幅が広く第1の平滑化領域X1を除いた第2の平滑化領域X2とが設けられているものとする。さらに、各画像領域には、水平方向の境界線を中心軸とした第3の平滑化領域Y1と、水平方向の境界線を中心軸として第3の平滑化領域Y1よりも垂直方向に幅が広く第3の平滑化領域Y1を除いた第4の平滑化領域Y2とが設けられているものとする。
When a smoothing region as shown in FIG. 6 is provided, the
注目画像領域Aは、平滑化処理を施さない部分A0と、平滑化処理を施す合計8つの部分A1〜A8とに分けられる。部分A1は、第2の平滑化領域X2にだけ該当する部分である。部分A2は、第1の平滑化領域X1にだけ該当する部分である。部分A3は、第4の平滑化領域Y2にだけ該当する部分である。部分A4は、第2の平滑化領域X2と第4の平滑化領域Y2との重複部分である。部分A5は、第1の平滑化領域X1と第4の平滑化領域Y2との重複部分である。部分A6は、第3の平滑化領域Y1にだけ該当する部分である。部分A7は、第2の平滑化領域X2と第3の平滑化領域Y1との重複部分である。部分A8は、第1の平滑化領域X1と第3の平滑化領域Y1との重複部分である。 The target image area A is divided into a part A0 that is not subjected to the smoothing process and a total of eight parts A1 to A8 that are subjected to the smoothing process. The portion A1 is a portion corresponding only to the second smoothing region X2. The portion A2 is a portion corresponding only to the first smoothing region X1. The portion A3 is a portion corresponding only to the fourth smoothing region Y2. The portion A4 is an overlapping portion between the second smoothing region X2 and the fourth smoothing region Y2. The portion A5 is an overlapping portion between the first smoothing region X1 and the fourth smoothing region Y2. The portion A6 is a portion corresponding only to the third smoothing region Y1. The portion A7 is an overlapping portion between the second smoothing region X2 and the third smoothing region Y1. The portion A8 is an overlapping portion between the first smoothing region X1 and the third smoothing region Y1.
フィルタ処理部121は、後述するフィルタ制御部122によって設定された画像領域A、B、C、Dのフィルタ処理の強度がそれぞれS(A)、S(B)、S(C)、S(D)のとき、注目画像領域Aを構成する各部分A0〜A8のフィルタ処理の強度S(A0)〜A(A8)を下記式(1)〜(9)により算出する。
The
S(A0)=S(A) ・・・式(1)
S(A1)=(3×S(A)+S(B))/4 ・・・式(2)
S(A2)=(S(A)+S(B))/2 ・・・式(3)
S(A3)=(3×S(A)+S(C))/4 ・・・式(4)
S(A4)=(9×S(A)+3×S(B)+3×S(C)+S(D))/16 ・・・式(5)
S(A5)=(3×S(A)+3×S(B)+S(C)+S(D))/8 ・・・式(6)
S(A6)=(S(A)+S(C))/2 ・・・式(7)
S(A7)=(3×S(A)+S(B)+3×S(C)+S(D))/8 ・・・式(8)
S(A8)=(S(A)+S(B)+S(C)+S(D))/4 ・・・式(9)
S (A0) = S (A) (1)
S (A1) = (3 × S (A) + S (B)) / 4 Formula (2)
S (A2) = (S (A) + S (B)) / 2 Formula (3)
S (A3) = (3 × S (A) + S (C)) / 4 Formula (4)
S (A4) = (9 × S (A) + 3 × S (B) + 3 × S (C) + S (D)) / 16 Equation (5)
S (A5) = (3 × S (A) + 3 × S (B) + S (C) + S (D)) / 8 (8)
S (A6) = (S (A) + S (C)) / 2 Formula (7)
S (A7) = (3 × S (A) + S (B) + 3 × S (C) + S (D)) / 8 (8)
S (A8) = (S (A) + S (B) + S (C) + S (D)) / 4 (9)
このようにして、フィルタ処理部121は、注目画像領域のフィルタ処理の強度と、この注目画像領域に隣接する画像領域のフィルタ処理の強度とを用いて、上述した加重平均値を算出することによりフィルタ処理の強度を平滑化して、隣接する画像領域の境界線を見えにくくすることができる。
In this way, the
また、同じ位置に属する画像領域のフィルタ処理の強度を、例えば1フレーム毎に変化させるなど時間軸方向に急激に変化させることは、画質劣化を招くことにより望ましくない。よって、フィルタ処理部121は、同じ位置に属する画像領域のフィルタ処理の強度を、例えば時間軸方向に連続した複数フレーム分の平均値とする。このように時間軸方向にフィルタ処理の強度を平滑化することで、フィルタ処理部121は、フィルタ処理の強度を急激に変化させないようにして、フィルタ処理を施した画像信号の画質劣化を低減することができる。
In addition, it is not desirable to change the strength of the filtering process of image regions belonging to the same position in the time axis direction suddenly, for example, every frame, because it causes image quality deterioration. Therefore, the
以上のような構成からなるフィルタ処理部121の動作特性を制御するフィルタ制御部122は、具体的に、ハイパスフィルタ121aの特性とゲイン調整部121bのゲイン特性を決定するフィルタ係数を算出する。すなわち、フィルタ制御部122は、フィルタ処理部121が行う画像信号の高域周波数成分を除去する強度を制御するため、メモリ122aと、メモリ122bと、重み係数設定部122cと、乗算器122dと、乗算器122eと、加算器122fと、フィルタ係数算出部122gとを備える。
Specifically, the
メモリ122aには、復号処理部10から供給される第1の難易度に係る情報が記憶される。具体的に、フィルタ制御部122は、画像領域毎に、量子化値と発生ビット量との乗算値の総和を算出して、この算出値を各画像領域の第1の難易度としてメモリ122aに記憶させる。フィルタ制御部122は、メモリ122aに記憶させた第1の難易度を画像領域毎に乗算器122dに順次供給する。
Information related to the first difficulty level supplied from the
メモリ122bには、符号化処理部11から供給される第2の難易度に係る情報が記憶される。具体的に、フィルタ制御部122は、画像領域毎に、量子化値と発生ビット量との乗算値の総和を算出して、この算出値を各画像領域の第2の難易度としてメモリ122bに記憶させる。フィルタ制御部122は、メモリ122bに記憶させた第2の難易度を画像領域毎に乗算器122eに順次供給する。
Information relating to the second difficulty level supplied from the
重み係数設定部122cは、復号処理部10から供給される動きベクトルに応じて、後述する乗算器122dで第1の難易度に乗算する第1の重み係数αと、後述する乗算器122eで第2の難易度に乗算する第2の重み係数βとを設定する。
The weighting factor setting unit 122c, according to the motion vector supplied from the
具体的に、重み係数設定部122cでは、動きベクトル情報から、上述した画像領域毎に動きベクトルの平均値や分散値を算出する。そして、重み係数設定部122cは、算出した画像領域内の動きの大きさに応じて0から1まで単調増加する値を第1の重み係数αとして設定し、画像領域内の動きの大きさに応じて1から0まで単調減少する値を第2の重み係数βとして設定する。ここで、第2の重み係数βの値は、1−αである。 Specifically, the weight coefficient setting unit 122c calculates an average value and a variance value of motion vectors for each image area described above from the motion vector information. Then, the weighting factor setting unit 122c sets, as the first weighting factor α, a value that monotonically increases from 0 to 1 according to the calculated magnitude of motion in the image area, and sets the magnitude of motion in the image area. Accordingly, a value that monotonously decreases from 1 to 0 is set as the second weighting coefficient β. Here, the value of the second weighting coefficient β is 1−α.
このようにして、重み係数設定部122cは、動きが大きい画像領域に対して第1の重み係数αを第2の重み係数βよりも大きく設定し、動きが小さい画像領域に対して第1の重み係数αを第2の重み係数βよりも小さく設定する。そして、重み係数設定部122cは、第1の重み係数αを乗算器122dに、第2の重み係数βを乗算器122eにそれぞれ供給する。
In this way, the weighting factor setting unit 122c sets the first weighting factor α to be larger than the second weighting factor β for the image region with large motion, and sets the first weighting factor α for the image region with small motion. The weighting factor α is set smaller than the second weighting factor β. The weighting factor setting unit 122c supplies the first weighting factor α to the multiplier 122d and the second weighting factor β to the
乗算器122dは、メモリ122aから供給される第1の難易度と、重み係数設定部122cから供給される第1の重み係数αとを乗算して加算器122fに供給する。 The multiplier 122d multiplies the first difficulty level supplied from the memory 122a by the first weighting factor α supplied from the weighting factor setting unit 122c and supplies the result to the adder 122f.
乗算器122eは、メモリ122bから供給される第2の難易度と、重み係数設定部122cから供給される第1の重み係数βとを乗算して加算器122fに供給する。
The
加算器122fは、乗算器122dから供給される乗算値と、乗算器122eから供給される乗算値とを加算して、重み付け処理が施された符号化難易度としてフィルタ係数算出部122gに供給する。
The adder 122f adds the multiplication value supplied from the multiplier 122d and the multiplication value supplied from the
フィルタ係数算出部122gは、加算器122fから供給される符号化難易度と、ユーザインタフェース123から供給される設定ビットレートとに応じて、例えば次のようにしてフィルタ処理部121の特性を制御するためのフィルタ係数を算出する。
The filter coefficient calculation unit 122g controls the characteristics of the
すなわち、フィルタ係数算出部122gは、予めレジスタなどの内部メモリに、図8に示すような、符号化難易度と設定ビットレートとフィルタ強度との対応関係を示すテーブルを記憶しておき、このテーブルを参照して得られるフィルタ強度に応じてフィルタ処理部121のフィルタ係数を算出する。
That is, the filter coefficient calculation unit 122g stores in advance an internal memory such as a register such as a table showing the correspondence relationship between the encoding difficulty level, the set bit rate, and the filter strength as shown in FIG. The filter coefficient of the
このテーブルは、符号化難易度を難易度の低い値から0〜20の21段階に割り当て、設定ビットレートを低い値から再符号化モードEP、LP、SP、XPに割り当てたものである。ここで再符号化モードEPは、他のモードに対して低画質であるが、再符号化した画像信号を記憶媒体に記憶するときに長時間記憶可能なモードである。また、再符号化モードXPは、他のモードに対して高画質であるが記録可能時間が短いモードである。 In this table, the encoding difficulty level is assigned to 21 levels from 0 to 20 from the low difficulty level, and the set bit rate is assigned to the re-encoding modes EP, LP, SP, and XP from the low value. Here, the re-encoding mode EP is a mode in which the image quality is lower than that of the other modes, but can be stored for a long time when the re-encoded image signal is stored in the storage medium. In addition, the re-encoding mode XP is a mode that has higher image quality than other modes but has a short recordable time.
フィルタ係数算出部122gは、上述したテーブルに対して、21分割した符号化難易度度と、4つの各再符号化モードに対応する合計84通りの条件毎に、強度が弱いものから0〜6に分けたフィルタ強度を設定して、予めレジスタなどの内部メモリに記憶する。フィルタ係数算出部122gは、適切な強度となるようにフィルタ処理部121のフィルタ係数を算出するため、図8に示すように、各再符号化モードに対応する設定ビットレートの値が高くなるのに伴ってフィルタ強度の値を小さくするようにし、符号化難易度の値が大きくなるのに伴ってフィルタ強度の値を大きくするように、テーブルを設定する。なお、フィルタ係数算出部122gは、上述したように、各再符号化モードに対応する設定ビットレートの値が高くなるのに伴ってフィルタ強度の値を小さくするようにし、符号化難易度の値が大きくなるのに伴ってフィルタ強度の値を大きくするように設定したテーブルであれば、図8に示すものに限定されない。
The filter coefficient calculation unit 122g performs 0 to 6 from the weakest intensity for each of 84 conditions corresponding to the four levels of encoding difficulty and the four re-encoding modes for the above-described table. Are set in advance and stored in an internal memory such as a register in advance. Since the filter coefficient calculation unit 122g calculates the filter coefficient of the
このようなテーブルを有するフィルタ係数算出部122gは、加算器122fから供給される符号化難易度と、ユーザインタフェース123から供給される設定ビットレートに対応する再符号化モードから、このテーブルで対応付けられたフィルタ強度を参照してフィルタ係数を算出して、フィルタ処理部121に供給する。
The filter coefficient calculation unit 122g having such a table associates with this table from the encoding difficulty level supplied from the adder 122f and the re-encoding mode corresponding to the set bit rate supplied from the
以上のような構成からなるフィルタ制御部122では、図9に示すようなフローチャートに従って、フィルタ制御部122のフィルタ係数を算出する。
The
ステップS1において、フィルタ制御部122は、復号処理部10から供給されるシーンチェンジ情報D1に基づいて、復号処理部10から供給される画像信号のストリームにシーンチェンジがあるか否かを判断する。ここで、フィルタ制御部122は、シーンチェンジがないときステップS2に進み、シーンチェンジがあるときステップS4に進む。
In step S <b> 1, the
ステップS2において、フィルタ制御部122は、復号処理部10から供給される動きベクトル情報に応じて、重み係数設定部122cにより第1の重み係数α及び第2の重み係数βを設定する。
In step S2, the
ステップS3において、フィルタ制御部122は、乗算器122dにより、ステップS2で設定した第1の重み係数αとメモリ122aに記憶された第1の難易度D3とを乗算し、乗算器122eにより、ステップS2で設定した第2の重み係数βとメモリ122bに記憶された第2の難易度D4とを乗算し、これら2つの乗算値を加算器122fにより加算した値を、符号化難易度として算出して、ステップS6に進む。
In step S3, the
ステップS4において、フィルタ制御部122は、重み係数設定部122cにより第1の重み係数αの値を1に、第2の重み係数βの値を0にそれぞれ設定する。そして、フィルタ制御部122は、ステップS5の処理工程に進む。
In step S4, the
ステップS5において、フィルタ制御部122は、乗算器122dにより、ステップS4で設定した第1の重み係数αとメモリ122aに記憶された第1の難易度D3とを乗算し、乗算器122eにより、ステップS4で設定した第2の重み係数βとメモリ122bに記憶された第2の難易度D4とを乗算し、これら2つの乗算値を加算器122fにより加算した値を、符号化難易度として算出する。ここで、フィルタ制御部122は、第1の重み係数αの値を1に、第2の重み係数βの値を0にそれぞれ設定しているので、メモリ122aに記憶された第1の難易度D1を重み付け処理を施した符号化難易度として算出してステップS6に進む。
In step S5, the
ステップS6において、フィルタ制御部122は、フィルタ係数算出部122gにより、ステップ3又はステップS5において算出された符号化難易度から上述したように0〜21刻みで量子化した符号化難易度を設定してステップS7に進む。
In step S6, the
ステップS7において、フィルタ制御部122は、フィルタ係数算出部122gにより、ステップS6で設定した符号化難易度と、ユーザインタフェース123から供給される設定ビットレートD5に対応する符号化モードとを用いて、テーブルを参照することによりフィルタ強度を選択する。そしてフィルタ制御部122は、フィルタ係数算出部122gにより、選択したフィルタ強度に応じたフィルタ係数D6を算出してフィルタ処理部121に供給して、本処理工程を終了する。
In step S7, the
以上のような処理工程により、フィルタ制御部122は、復号処理部10が画像信号を復号するときに抽出される第1の符号化方式で画像信号を符号化する難しさを示す第1の難易度と、符号化処理部11が画像信号を符号化するときに抽出される第2の符号化方式で画像信号を符号化する難しさを示す第2の難易度とに応じて、フィルタ処理部121が画像信号に施すフィルタ処理の強度を制御するので、以下の理由によりフィルタ処理部121のフィルタ係数を適切に決定することができる。
Through the processing steps as described above, the
第1の理由は、一般的に、時間軸方向に動きが少ない画像、すなわち、動きベクトルの値が小さい画像に対しては、第2の符号化方式で符号化する難しさの度合いが変化しないので、第1の難易度よりも第2の符号化方式と対応関係にある第2の難易度を用いてフィルタ強度を制御することが望ましいからである。また、第2の理由は、シーンチェンジや動きベクトルの値が大きい画像領域などの時間軸方向に動きが大きい画像に対しては、第2の難易度が過去に符号化処理を行ったときの符号化の難しさを示す値なので、現在処理対象の画像領域の動き情報と対応関係が精度良くとれている第1の難易度を用いてフィルタ強度を制御することが望ましいからである。 The first reason is that, generally, the degree of difficulty of encoding with the second encoding method does not change for an image with little motion in the time axis direction, that is, an image with a small motion vector value. Therefore, it is desirable to control the filter strength using the second difficulty level that has a correspondence relationship with the second encoding method rather than the first difficulty level. The second reason is that when the second difficulty level has been subjected to encoding processing in the past for an image having a large motion in the time axis direction such as an image region having a large scene change or motion vector value. This is because it is a value indicating the difficulty of encoding, and it is desirable to control the filter strength using the first difficulty level in which the correspondence relationship with the motion information of the image region currently being processed is accurately taken.
このような特性に注目して、フィルタ制御部122は、ステップS1の判断処理においてシーンチェンジがあるとき第1の難易度のみを用いてフィルタ強度を制御する。また、シーンチェンジがないとき、フィルタ制御部122は、ステップS2及びステップS3により、動きベクトル情報に基づく画像領域の動きの大きさに応じて、第1の難易度と第2の難易度とを加重平均した値を符号化難易度として用いてフィルタ強度を制御する。
Paying attention to such characteristics, the
なお、フィルタ制御部122は、上述した加重平均演算で得られる符号化難易度を用いてフィルタ強度を制御する場合に限定されず、例えば、次のようにしてフィルタ強度を制御するようにしてもよい。
The
すなわち、フィルタ制御部122は、各画像領域の第1の難易度の変化を過去数フレーム分に亘って検出して、この検出結果により第1の難易度の変化が所定の閾値より小さいとき、第1の難易度のみ用いてフィルタ強度を制御するというようにしてもよい。また、フィルタ制御部122は、各画像領域の第2の難易度の変化を過去数フレーム分に亘って検出して、この検出結果により第2の難易度の変化が所定の閾値より大きいとき、第2の難易度のみを用いてフィルタ強度を制御するというようにしてもよい。
That is, the
以上のようにして、フィルタ制御部122は、復号処理部10が画像信号を復号するときに抽出される動きベクトル情報と、第1の難易度と、第2の難易度とに応じて、上述したように画像信号に対して施すフィルタ処理の強度を適切に制御することができるので、画質を良好に保ちつつ高圧縮率が実現できるように画像信号を第2の符号化方式に符号化することができる。
As described above, the
また、フィルタ制御部122は、ステップS7において、フィルタ係数算出部122gが、ユーザインタフェース123から供給される設定ビットレートに応じて、フィルタ強度を制御する。具体的に、フィルタ係数算出部122gは、例えば再符号化モードXPのようにビットレートが比較的高いとき圧縮率を低くすることができるので、予め内部メモリに記憶しているテーブルを参照して相対的に強度の低いフィルタ強度を選択する。また、フィルタ係数算出部122gは、例えば再符号化モードEPのようにビットレートが比較的低いときより圧縮率を高くするために、予め内部メモリに記憶しているテーブルを参照して相対的に強度の高いフィルタ強度を選択する。このような処理をフィルタ係数算出部122gが行うことによって、フィルタ制御部122は、ユーザによって設定される再符号化モードに応じて画質を良好に保ちつつ高圧縮率が実現できるように画像信号を第2の符号化方式に符号化することができる。
In step S7, the
また、上述した画像処理装置1では、復号処理部10が画像信号を復号するときに得られる動きベクトルを用いてフィルタ強度を制御していたが、図10に示すような第2の実施形態として、符号化処理部11の動きベクトル生成部118が生成する動きベクトルをフィルタ制御部122に供給して、符号化処理部11で画像信号を符号化するときに得られる動きベクトルを用いてフィルタ強度を制御するようにしてもよい。
In the
具体的に、この第2の実施形態に係るフィルタ制御部122は、符号化処理部11から供給される動きベクトルに応じて、第1の難易度と第2の難易度とを加重平均した値を符号化難易度として用いてフィルタ強度を制御する。
Specifically, the
また、上述した第1及び第2の実施形態に係る画像処理装置1は、フィルタ制御部122が動きベクトル情報に応じてフィルタ強度を設定する処理を行うが、図11に示すような第3の実施形態として、復号処理部10又は符号化処理部11から動きベクトルをフィルタ制御部122に供給せずに、フィルタ制御部122が、復号処理部10から供給される第1の難易度及び符号化処理部11から供給される第2の難易度のみを用いてフィルタ強度を制御するようにしてもよい。
In the
この第3の実施形態に係るフィルタ制御部122は、例えば次のようにして、第1の難易度と第2の難易度とからフィルタ強度を制御する。
The
すなわち、フィルタ制御部122は、各画像領域の第1の難易度の変化を過去数フレーム分に亘って検出して、この検出結果により第1の難易度の変化が所定の閾値より小さいとき、第1の難易度のみ用いてフィルタ強度を制御する。また、フィルタ制御部122は、各画像領域の第2の難易度の変化を過去数フレーム分に亘って検出して、この検出結果により第2の難易度の変化が所定の閾値より大きいとき、第2の難易度のみ用いてフィルタ強度を制御する。
That is, the
なお、フィルタ制御部122は、上述したように、閾値に応じた判断結果によって第1の難易度又は第2の難易度のみを用いてフィルタ強度を制御する場合に限定されるものではなく、例えば、第1の難易度及び第2の難易度の過去数フレーム分の変化に応じて、第1の難易度と第2の難易度とを加重平均演算した値である符号化難易度を用いてフィルタ強度を設定するようにしてもよい。
Note that, as described above, the
以上のような処理工程により、フィルタ制御部122は、復号処理部10が画像信号を復号するときに抽出される第1の符号化方式で画像信号を符号化する難しさを示す第1の難易度と、符号化処理部11が画像信号を符号化するときに抽出される第2の符号化方式で画像信号を符号化する難しさを示す第2の難易度とに応じて、フィルタ処理部121が画像信号に施すフィルタ処理の強度を制御するので、以下の理由により、再符号化処理によって生じる画質劣化を抑制しつつ高圧縮率の画像信号を第2の符号化方式に符号化することができる。
Through the processing steps as described above, the
第1の理由は、一般的に時間軸方向に動きが少ない画像に対しては、第2の符号化方式で符号化する難しさの度合いが変化しないので、第1の難易度よりも第2の符号化方式と対応関係にある第2の難易度を用いてフィルタ強度を制御することが望ましいからである。また、第2の理由は、シーンチェンジや動きベクトルの値が大きい画像領域などの時間軸方向に動きが大きい画像に対しては、第2の難易度が過去に符号化処理を行ったときの符号化の難しさを示す値なので、現在処理対象の画像領域の動き情報と対応関係が精度良くとれている第1の難易度を用いてフィルタ強度を制御することが望ましいからである。 The first reason is that, for an image that generally has little movement in the time axis direction, the degree of difficulty of encoding with the second encoding method does not change, so the second difficulty level is higher than the first difficulty level. This is because it is desirable to control the filter strength using the second difficulty level corresponding to the encoding method. The second reason is that when the second difficulty level has been subjected to encoding processing in the past for an image having a large motion in the time axis direction such as an image region having a large scene change or motion vector value. This is because it is a value indicating the difficulty of encoding, and it is desirable to control the filter strength using the first difficulty level in which the correspondence relationship with the motion information of the image region currently being processed is accurately taken.
また、上述した第1から第3の実施形態に係る画像処理装置1は、少なくとも第1の難易度及び第2の難易度とを用いてフィルタ強度を制御するものであるが、図12に示すような第4の実施形態に係る画像処理装置1は、外部から入力した第1の符号化方式で符号化されている画像信号を記憶装置に一旦記憶して、その後再符号化処理を行う装置である。
The
具体的に、第4の実施形態に係る画像処理装置1は、上述した第1の実施形態に係る画像処理装置1の構成に加えて、入力画像記憶部131と、難易度情報抽出部132と、難易度情報記憶部133と、ビットレート算出部134とを備える。
Specifically, the
入力画像記憶部131は、例えばハードディスク等の記憶媒体からなり、外部から入力した第1の符号化方式で符号化された画像信号を記憶して、記憶した画像信号をバッファ101に供給する。
The input
難易度情報抽出部132は、外部から入力した第1の符号化方式で符号化された画像信号のヘッダ情報を解析して、量子化値とマクロブロック単位の発生ビット量と第1の難易度情報として抽出して、難易度情報記憶部133に供給する。
The difficulty level
難易度情報記憶部133は、難易度情報抽出部132から供給される第1の難易度に係る情報を、画像領域毎に、入力画像記憶部131に記憶されている画像信号と対応付けて記憶する。そして、難易度情報記憶部133は、入力画像記憶部131がバッファ101に供給する画像信号に対応する第1の難易度をフィルタ制御部122及びビットレート算出部134に供給する。このように第4の実施形態に係る画像処理装置1では、再符号化処理時において、復号処理部10からフィルタ制御部122に第1の難易度に係る情報を供給することなく、予め第1の難易度に係る情報を記憶した難易度情報記憶部133からフィルタ制御部122に第1の難易度に係る情報を供給することができる。
The difficulty level
ビットレート算出部134は、難易度情報記憶部133から第1の難易度に係る情報として供給される量子化値とマクロブロック単位の発生ビット量とから再符号化に適したビットレートを算出して、ユーザインタフェース123に供給する。具体的に、ビットレート算出部134では、量子化値とマクロブロック単位の発生ビット量とを乗算してフレーム毎にこの乗算値の総和を算出して各フレーム毎の最適ビットレート情報を算出する。
The bit rate calculation unit 134 calculates a bit rate suitable for re-encoding from the quantization value supplied as information related to the first difficulty level from the difficulty level
ユーザインタフェース123に供給されたビットレート情報は、ユーザに再符号化を行う最適なビットレートとして、表示装置などにより提示される。そして、ユーザインタフェース123では、ユーザに提示されたビットレート情報に応じてユーザによって設定ビットレートが設定され、設定ビットレートがレート制御部120に供給される。
The bit rate information supplied to the
このように第4の実施形態に係る画像処理装置1では、最適ビットレート情報をユーザに提示して、ユーザの好みに応じてより最適なビットレートを設定することができる。例えば、画像処理装置1では、画質劣化よりも長時間の記憶媒体への記録を望むユーザに対して、ユーザインタフェース123により、最適ビットレートよりも低いビットレートを設定ビットレートとして符号化処理部11を制御することができる。また、画像処理装置1では、記憶媒体への記録時間よりも画質の劣化をできるだけ抑えることを望むユーザに対して、ユーザインタフェース123により、最適ビットレートよりも高いビットレートを設定ビットレートとして符号化処理部11を制御することができる。
As described above, the
なお、ビットレート算出部134によって算出される最適ビットレート情報は、ユーザインタフェース123を介さずに符号化処理部11のレート制御部120に供給されるようにしてもよい。
Note that the optimum bit rate information calculated by the bit rate calculation unit 134 may be supplied to the
以上のような構成を有する第4の実施形態に係る画像処理装置1では、フィルタ制御部122がフィルタ強度を制御するのに用いる第1の難易度に係る情報を利用して、再符号化に適したビットレートを算出することができる。このような再符号化に適したビットレートを用いることによって、画像処理装置1では、再符号化処理によって生じる画質劣化を抑制しつつ高圧縮率の画像信号を第2の符号化方式に符号化することができる。さらに、このようにして符号化された画像信号を記録媒体に記録するときには、単位記憶領域に対してより長時間画像信号を記憶することができ、効率よく記憶領域を利用することができる。
In the
次に、本発明に係る画像処理装置を、画像信号を複数の伝送媒体を介して伝送する通信システム2に適用した実施形態について説明する。
Next, an embodiment in which the image processing apparatus according to the present invention is applied to a
通信システム2は、図13に示すように、符号化装置201と、伝送媒体202と、本発明が適用された符号化方式変換装置203と、伝送媒体204と、復号装置205とから構成される。
As illustrated in FIG. 13, the
符号化装置201は、ベースバンドビデオ信号を第1の符号化方式で符号化した画像信号を伝送媒体202を介して、符号化方式変換装置203に供給する。
The
具体的に、符号化装置201は、図14に示すように、A/D変換部301と、画面並べ替え部302と、減算器303と、直交変換部304と、量子化部305と、可逆符号化部306と、バッファ307と、逆量子化部308と、逆直交変換部309と、フレームメモリ310と、動きベクトル生成部311と、動き補償部312と、レート制御部313とを備える。
Specifically, as illustrated in FIG. 14, the
A/D変換部301は、伝送対象のアナログソースの画像信号をデジタル信号の画像信号に変換して、画面並べ替え部302に供給する。
The A /
画面並べ替え部302は、A/D変換部301から供給される画像信号を第1の符号化方式に係る画像圧縮情報のGOP構造に応じてフレーム画像データを並べ替えて減算器303に供給する。
The
減算器303は、フレーム画像データにインター符号化処理を施すとき、このフレーム画像データと、後述する動き補償部312から供給される予測フレーム画像データとの差分を示す画像データを算出して、算出した画像データを直交変換部304に供給する。なお、フレーム画像データにイントラ符号化処理を施すとき、減算器303は、画面並べ替え部302から供給されるフレーム画像データに上述した差分処理を施さない。
The
直交変換部304は、減算器303から供給されるフレーム画像データに対して、離散コサイン変換やカルーネン・レーベ変換などの直交変換処理を施して、直交変換係数を量子化部305に供給する。
The
量子化部305は、後述するレート制御部313から供給される制御命令に応じた量子化値で、直交変換部304から供給される直交変換係数を量子化して、量子化された直交変換係数を可逆符号化部306及び逆量子化部308に供給する。
The
可逆符号化部306は、後述する動きベクトル生成部311から供給される動きベクトルに対して可変長符号化や算術符号化などの可逆符号化処理を施す。そして、可逆符号化部306は、量子化部305から供給される量子化された直交変換係数からなる符号化データのヘッダ部に、上述した可逆符号化処理が施された動きベクトルを格納して、この符号化データをバッファ307に供給する。
The
バッファ307は、可逆符号化部306から供給される符号化データを記憶して、記憶した符号化データを連続したビットストリームとなる画像信号として外部へ出力する。また、バッファ307は、外部へ出力するビットストリームのビットレートに関する情報をレート制御部313に供給する。
The
逆量子化部308は、量子化部305から供給される量子化された直交変換係数に対して逆量子化処理を施して、逆量子化された直交変換係数を逆直交変換部309に供給する。
The
逆直交変換部309は、逆量子化部308から供給される直交変換係数に対して逆直交変換処理を施して、復号したフレーム画像データをフレームメモリ310に供給する。
The inverse
フレームメモリ310は、逆直交変換部309から供給される復号したフレーム画像データを参照フレーム画像データとして記憶する。
The
動きベクトル生成部311は、画面並べ替え部302から供給されるフレーム画像データから動きベクトルを生成して、生成した動きベクトルを可逆符号化部306及び動き補償部312に供給する。
The motion
動き補償部312は、動きベクトル生成部311で生成された動きベクトルと、フレームメモリ310に記憶された参照フレーム画像データとに応じて、予測フレーム画像データを生成して、生成した予測フレーム画像データを減算器303に供給する。
The
レート制御部313は、バッファ307から供給されるビットレート情報に応じて符号化データのビットレートを制御するため、量子化部305で直交変換係数を量子化する量子化値を制御する。
The
また、伝送媒体202は、衛星放送波、ケーブルTV網、電話回線網、携帯電話回線網などの放送媒体や通信媒体に加えて、光ディスク、磁気ディスク、及び半導体メモリなどの記憶媒体であってもよい。
Further, the
符号化方式変換装置203は、伝送媒体202から伝送されてくる第1の符号化方式で符号化された画像信号をベースバンドビデオ信号に復号する復号装置203aと、復号装置203aで復号された画像信号にフィルタ処理を施すフィルタ装置203bと、フィルタ装置203bでフィルタ処理を施したベースバンドビデオ信号を第2の符号化方式で符号化して伝送媒体204へ出力する符号化装置203cとを備える。
The encoding
符号化方式変換装置203の具体的な構成に係る説明は、上述した第1から第4の実施形態に係る画像処理装置1の構成のいずれかと同様なので省略する。
The description related to the specific configuration of the encoding
伝送媒体204は、衛星放送波、ケーブルTV網、電話回線網、及び携帯電話回線網などの放送媒体や通信媒体に加えて、光ディスク、磁気ディスク、及び半導体メモリなどの記憶媒体であってもよい。
The
復号装置205は、伝送媒体204から伝送されてくる第2の符号化方式で符号化された画像信号を復号して、復号したベースバンドビデオ信号を例えば表示装置に表示するものである。
The
具体的に、復号装置205は、図15に示すように、バッファ401と、可逆復号部402と、逆量子化部403と、逆直交変換部404と、加算器405と、画面並べ替え部406と、D/A変換部407と、フレームメモリ408と、動き補償部409とを備える。
Specifically, as illustrated in FIG. 15, the
バッファ401は、第2の符号化方式で符号化された画像信号を一時的に記憶して、他の復号処理を行う処理部との同期を図って、順次記憶した画像信号を可逆復号部402に供給する。
The
可逆復号部402は、バッファ401から供給される画像信号に対して、第2の符号化方式に基づいて、可変長復号化や算術復号化などの処理を施して、量子化された直交変換係数を逆量子化部403に供給する。
The
また、可逆復号部402は、第2の符号化方式で符号化された画像信号がインター符号化されたフレーム画像データのとき、このフレーム画像データのヘッダ部に格納された動きベクトルを復号して、復号した動きベクトルを動き補償部409に供給する。
In addition, when the image signal encoded by the second encoding method is inter-encoded frame image data, the
逆量子化部403は、可逆復号部402から供給される量子化された直交変換係数に対して逆量子化処理を施して、この直交変換係数を逆直交変換部404に供給する。
The
逆直交変換部404は、逆量子化部403で生成された直交変換係数に対して逆離散コサイン変換や逆カルーネン・レーベ変換などの逆直交変換処理を施して、復号されたフレーム画像データを加算器405に供給する。
The inverse
加算器405は、フレーム画像データがインター符号化されているとき、逆直交変換部404から供給されるフレーム画像データに、後述する動き補償部409によって生成された予測フレーム画像データを加算して、画面並べ替え部406及びフレームメモリ408に供給する。なお、フレーム画像データがイントラ符号化されているとき、加算器405は、上述した加算処理を行わずに逆直交変換部404から供給されたフレーム画像データを画面並べ替え部406に供給する。
When the frame image data is inter-coded, the
画面並べ替え部406は、逆直交変換部404から供給されるフレーム画像データを時間軸方向に並び換える。そして、画面並べ替え部406は、時間軸方向に並び換えたフレーム画像データをベースバンドビデオ信号としてD/A変換部407に供給する。
The
D/A変換部407は、ベースバンドビデオ信号をデジタル信号からアナログ信号に変換して、表示装置などに出力する。
The D /
フレームメモリ408は、逆直交変換部404から供給されたフレーム画像データを、インター符号化されたフレーム画像データを復号するための参照フレーム画像データとして記憶する。
The
動き補償部409は、処理対象のフレーム画像データがインター符号化されているとき、可逆復号部402から供給される動きベクトルと、フレームメモリ408に記憶された参照フレーム画像データとに応じて、予測フレーム画像データを生成して加算器405に供給する。
When the frame image data to be processed is inter-coded, the
以上のような構成からなる通信システム2では、特に伝送媒体202から伝送されてくる第1の符号化方式で符号化された画像信号を、符号化方式変換装置203によって、画質を良好に保ちつつ高圧縮率が実現できるように画像信号を第2の符号化方式に変換した画像信号を伝送媒体204に出力することができるので、より高画質でより高い伝送効率で画像信号を伝送することができる。
In the
1 画像処理装置、2 通信システム、10 復号処理部、11 符号化処理部、101、114、307、401 バッファ、102、402 可逆復号部、103、115、308、403 逆量子化部、104、116、309、404 逆直交変換部、105、121c、122f、405 加算器、106、109、302、406 画面並べ替え部、107、117、310、408 フレームメモリ、108、119、312、409 動き補償部、110、303 減算器、111、304 直交変換部、112、305 量子化部、113、306 可逆符号化部、118、311 動きベクトル生成部、120、313 レート制御部、121 フィルタ処理部、121a ハイパスフィルタ、121b ゲイン調整部、122 フィルタ制御部、122a、122b メモリ、122c 重み係数設定部、122d、122e 乗算器、122g フィルタ係数算出部、123 ユーザインタフェース、131 入力画像記憶部、132 難易度情報抽出部、133 難易度情報記憶部、134 ビットレート算出部、201、203c 符号化装置、202、204 伝送媒体、203 符号化方式変換装置、203a、205 復号装置、203b フィルタ装置、301 A/D変換部、407 D/A変換部、 DESCRIPTION OF SYMBOLS 1 Image processing apparatus, 2 Communication system, 10 Decoding processing part, 11 Encoding processing part, 101, 114, 307, 401 Buffer, 102, 402 Lossless decoding part, 103, 115, 308, 403 Inverse quantization part, 104, 116, 309, 404 Inverse orthogonal transform unit, 105, 121c, 122f, 405 Adder, 106, 109, 302, 406 Screen rearrangement unit, 107, 117, 310, 408 Frame memory, 108, 119, 312, 409 Motion Compensation unit, 110, 303 Subtractor, 111, 304 Orthogonal transformation unit, 112, 305 Quantization unit, 113, 306 Lossless encoding unit, 118, 311 Motion vector generation unit, 120, 313 Rate control unit, 121 Filter processing unit 121a high-pass filter, 121b gain adjustment unit, 122f Control unit, 122a, 122b memory, 122c weight coefficient setting unit, 122d, 122e multiplier, 122g filter coefficient calculation unit, 123 user interface, 131 input image storage unit, 132 difficulty level information extraction unit, 133 difficulty level information storage unit , 134 Bit rate calculation unit, 201, 203c Encoding device, 202, 204 Transmission medium, 203 Coding method conversion device, 203a, 205 Decoding device, 203b Filter device, 301 A / D conversion unit, 407 D / A conversion unit ,
Claims (9)
上記入力手段により入力された画像信号から上記第1の符号化方式で画像信号を符号化する難しさを示す第1の難易度情報を抽出するとともに、該画像信号を該第1の符号化方式に基づいて復号する復号手段と、
上記復号手段により復号された画像信号にフィルタ処理を施すフィルタ処理手段と、
上記フィルタ処理手段がフィルタ処理を施した画像信号から、上記第1の符号化方式と異なる第2の符号化方式で画像信号を符号化する難しさを示す第2の難易度情報を抽出するとともに、該画像信号を該第2の符号化方式に基づいて符号化して出力する符号化手段と、
上記復号手段が抽出した第1の難易度情報と、上記符号化手段が抽出した第2の難易度情報とに応じて、上記フィルタ処理手段が画像信号に施すフィルタ処理の強度を制御する制御手段とを備える画像処理装置。 Input means for inputting an image signal encoded by the first encoding method;
First difficulty level information indicating the difficulty of encoding the image signal by the first encoding method is extracted from the image signal input by the input means, and the image signal is converted to the first encoding method. Decoding means for decoding based on
Filter processing means for performing filter processing on the image signal decoded by the decoding means;
The second difficulty level information indicating the difficulty of encoding the image signal by the second encoding method different from the first encoding method is extracted from the image signal subjected to the filter processing by the filter processing means. Encoding means for encoding and outputting the image signal based on the second encoding method;
Control means for controlling the strength of the filter processing applied to the image signal by the filter processing means in accordance with the first difficulty level information extracted by the decoding means and the second difficulty level information extracted by the encoding means. An image processing apparatus comprising:
上記フィルタ処理手段は、上記復号手段で復号された画像信号の上記各画像領域に、該各画像領域毎に設定された強度のフィルタ処理を施し、
上記符号化手段は、上記フィルタ処理手段によりフィルタ処理を施した画像信号の画像を上記画像領域に分割して、分割した各画像領域毎の上記第2の難易度情報を抽出するとともに、該画像信号を該第2の符号化方式に基づいて符号化し、
上記制御手段は、上記復号手段が抽出した上記各画像領域に対応する上記第1の難易度情報と、上記符号化手段が抽出した上記各画像領域に対応する上記第2の難易度情報とに応じて、上記画像領域毎に上記フィルタ処理手段が施すフィルタ処理の強度を制御することを特徴とする請求項1記載の画像処理装置。 The decoding unit divides the image of the image signal input by the input unit into predetermined image areas, extracts the first difficulty level information for each divided image area, and extracts the image signal from the first image area. Decoding based on the encoding scheme of 1,
The filter processing means performs a filter process of intensity set for each image area on each image area of the image signal decoded by the decoding means,
The encoding means divides the image of the image signal filtered by the filter processing means into the image areas, extracts the second difficulty level information for each divided image area, and Encoding a signal based on the second encoding scheme;
The control means includes the first difficulty level information corresponding to each image area extracted by the decoding means and the second difficulty level information corresponding to each image area extracted by the encoding means. The image processing apparatus according to claim 1, wherein the intensity of the filter processing performed by the filter processing unit is controlled for each image region.
上記制御手段は、上記復号手段が抽出した第1の難易度情報と、上記符号化手段が抽出した第2の難易度情報と、該復号手段が抽出した動きベクトルとに応じて、上記フィルタ処理手段が画像信号に施すフィルタ処理の強度を制御することを特徴とする請求項1記載の画像処理装置。 The decoding means extracts the first difficulty level information and the motion vector from the image signal input by the input means, and decodes the image signal based on the first encoding method;
The control means performs the filtering process according to the first difficulty level information extracted by the decoding means, the second difficulty level information extracted by the encoding means, and the motion vector extracted by the decoding means. 2. The image processing apparatus according to claim 1, wherein the intensity of the filtering process applied to the image signal by the means is controlled.
上記制御手段は、上記復号手段が抽出した第1の難易度情報と、上記符号化手段が抽出した第2の難易度情報と、該符号化手段が抽出した動きベクトルとに応じて、上記フィルタ処理手段が画像信号に施すフィルタ処理の強度を制御することを特徴とする請求項1記載の画像処理装置。 The encoding means extracts the second difficulty level information and a motion vector from the image signal filtered by the filter processing means, and extracts the image signal based on the second encoding method. Encoding,
The control means includes the filter according to the first difficulty level information extracted by the decoding means, the second difficulty level information extracted by the encoding means, and the motion vector extracted by the encoding means. 2. The image processing apparatus according to claim 1, wherein the processing means controls the strength of the filter processing applied to the image signal.
上記制御手段は、上記復号手段が抽出した第1の難易度情報と、上記符号化手段が抽出した第2の難易度情報と、上記ビットレート設定手段で設定されたビットレートとに応じて、上記フィルタ処理手段が画像信号に施すフィルタ処理の強度を制御することを特徴とする請求項1記載の画像処理装置。 Bit rate setting means for setting the bit rate of the image signal encoded by the encoding means,
In accordance with the first difficulty level information extracted by the decoding means, the second difficulty level information extracted by the encoding means, and the bit rate set by the bit rate setting means, 2. The image processing apparatus according to claim 1, wherein the filter processing means controls the strength of the filter processing applied to the image signal.
上記入力手段により入力された画像信号から、該画像信号の量子化値と単位データ当たりの発生ビット量とを上記第1の難易度情報として抽出する抽出手段と、
上記第1の記憶手段に記憶された画像信号と対応付けて、上記抽出手段により抽出された上記第1の難易度情報を記憶する第2の記憶手段と、
上記第2の記憶手段に上記第1の難易度情報として記憶されている量子化値と発生ビット量に応じてビットレートを算出するビットレート算出手段とを更に備え、
上記ビットレート設定手段は、上記ビットレート算出手段により算出されたビットレートを上記符号化手段によって符号化される画像信号のビットレートに設定することを特徴とする請求項6記載の画像処理装置。 A first storage means for storing the image signal input by the input means and reading the stored image signal to the decoding means;
Extraction means for extracting the quantized value of the image signal and the generated bit amount per unit data as the first difficulty level information from the image signal input by the input means;
Second storage means for storing the first difficulty level information extracted by the extraction means in association with the image signal stored in the first storage means;
A bit rate calculating means for calculating a bit rate according to the quantization value stored as the first difficulty level information in the second storage means and the generated bit amount;
7. The image processing apparatus according to claim 6, wherein the bit rate setting means sets the bit rate calculated by the bit rate calculating means to a bit rate of an image signal encoded by the encoding means.
上記入力手段により入力された画像信号から、該画像信号の量子化値と単位データ当たりの発生ビット量とを上記第1の難易度情報として抽出する抽出手段と、
上記第1の記憶手段に記憶された画像信号と対応付けて、上記抽出手段により抽出された上記第1の難易度情報を記憶する第2の記憶手段と、
上記第2の記憶手段に上記第1の難易度情報として記憶されている量子化値と発生ビット量に応じて上記符号化手段が符号化するときに適したビットレートを算出するビットレート算出手段とを更に備え、
上記ビットレート設定手段は、上記ビットレート算出手段により算出されたビットレートを提示し、提示されたビットレートに応じて上記符号化手段によって符号化される画像信号のビットレートを設定することを特徴とする請求項6記載の画像処理装置。 A first storage means for storing the image signal input by the input means and reading the stored image signal to the decoding means;
Extraction means for extracting the quantized value of the image signal and the generated bit amount per unit data as the first difficulty level information from the image signal input by the input means;
Second storage means for storing the first difficulty level information extracted by the extraction means in association with the image signal stored in the first storage means;
Bit rate calculating means for calculating a bit rate suitable for encoding by the encoding means in accordance with the quantization value stored as the first difficulty level information and the generated bit amount in the second storage means And further comprising
The bit rate setting means presents the bit rate calculated by the bit rate calculation means, and sets the bit rate of the image signal encoded by the encoding means according to the presented bit rate. The image processing apparatus according to claim 6.
上記入力工程により入力された画像信号から上記第1の符号化方式で画像信号を符号化する難しさを示す第1の難易度情報を抽出するとともに、該画像信号を該第1の符号化方式に基づいて復号する復号工程と、
上記復号工程により復号された画像信号にフィルタ処理を施すフィルタ処理工程と、
上記フィルタ処理工程によりフィルタ処理を施した画像信号から、上記第1の符号化方式と異なる第2の符号化方式で画像信号を符号化する難しさを示す第2の難易度情報を抽出するとともに、該画像信号を該第2の符号化方式に基づいて符号化して出力する符号化工程と、
上記復号工程で抽出される第1の難易度情報と、上記符号化工程で抽出される第2の難易度情報とに応じて、上記フィルタ処理工程で画像信号に施すフィルタ処理の強度を制御する制御工程とを有する画像処理方法。 An input step of inputting an image signal encoded by the first encoding method;
First difficulty level information indicating the difficulty of encoding the image signal by the first encoding method is extracted from the image signal input by the input step, and the image signal is extracted from the first encoding method. A decoding step for decoding based on:
A filter processing step of performing filter processing on the image signal decoded by the decoding step;
While extracting the second difficulty level information indicating the difficulty of encoding the image signal by the second encoding method different from the first encoding method from the image signal subjected to the filtering process by the filtering process step An encoding step of encoding and outputting the image signal based on the second encoding method;
The intensity of the filter processing applied to the image signal in the filter processing step is controlled according to the first difficulty level information extracted in the decoding step and the second difficulty level information extracted in the encoding step. An image processing method including a control step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007171048A JP2009010763A (en) | 2007-06-28 | 2007-06-28 | Image processing apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007171048A JP2009010763A (en) | 2007-06-28 | 2007-06-28 | Image processing apparatus and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009010763A true JP2009010763A (en) | 2009-01-15 |
Family
ID=40325381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007171048A Withdrawn JP2009010763A (en) | 2007-06-28 | 2007-06-28 | Image processing apparatus and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009010763A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014116890A (en) * | 2012-12-12 | 2014-06-26 | Mitsubishi Electric Corp | Image encoding device |
CN113542739A (en) * | 2021-07-15 | 2021-10-22 | Oppo广东移动通信有限公司 | Image encoding method and apparatus, image decoding method and apparatus, medium, and device |
-
2007
- 2007-06-28 JP JP2007171048A patent/JP2009010763A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014116890A (en) * | 2012-12-12 | 2014-06-26 | Mitsubishi Electric Corp | Image encoding device |
CN113542739A (en) * | 2021-07-15 | 2021-10-22 | Oppo广东移动通信有限公司 | Image encoding method and apparatus, image decoding method and apparatus, medium, and device |
CN113542739B (en) * | 2021-07-15 | 2023-10-20 | Oppo广东移动通信有限公司 | Image encoding method and device, image decoding method and device, medium and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11328452B2 (en) | Image processing device and method | |
RU2680349C1 (en) | Images processing device and images processing method | |
US10666945B2 (en) | Image processing device and image processing method for decoding a block of an image | |
KR102005209B1 (en) | Image processor and image processing method | |
JP4867497B2 (en) | Information processing apparatus and method, decoding apparatus and method, program, and information processing system | |
WO2011125729A1 (en) | Image processing device and image processing method | |
WO2011018965A1 (en) | Image processing device and method | |
US20030219160A1 (en) | Method of adaptively encoding and decoding motion image and apparatus therefor | |
US20120243611A1 (en) | Image processing apparatus and method as well as program | |
JP2006025077A (en) | Encoder, encoding method, program therefor, and recording medium recording program therefor | |
WO2012098790A1 (en) | Image processing device and image processing method | |
WO2012063878A1 (en) | Image processing device, and image processing method | |
WO2011125866A1 (en) | Image processing device and method | |
WO2012050021A1 (en) | Image processing device and method | |
JP2004518338A (en) | Method and system for enhancing the sharpness of an encoded video | |
JP2007336468A (en) | Re-encoding apparatus, re-encoding method and program | |
JP2009010763A (en) | Image processing apparatus and method | |
US20120314966A1 (en) | Image coding apparatus, image decoding apparatus, image coding method, image decoding method, and program | |
JP2006197186A (en) | Image encoding device and battery driving decoder | |
WO2011162299A1 (en) | Information processing device and information processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20100907 |